@milaboratories/milaboratories.pool-explorer.model 1.0.39 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -3948,13 +3948,13 @@
3948
3948
  quotelessJson,
3949
3949
  ZodError
3950
3950
  });
3951
- var $ = Object.defineProperty;
3952
- var D = (n2, e, t) => e in n2 ? $(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
3951
+ var I$1 = Object.defineProperty;
3952
+ var D = (n2, e, t) => e in n2 ? I$1(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
3953
3953
  var l$1 = (n2, e, t) => D(n2, typeof e != "symbol" ? e + "" : e, t);
3954
3954
  function w(n2) {
3955
3955
  throw new Error("Unexpected object: " + n2);
3956
3956
  }
3957
- function pn(n2) {
3957
+ function yn(n2) {
3958
3958
  if (!n2 || typeof n2 != "object")
3959
3959
  return false;
3960
3960
  const e = n2;
@@ -3971,7 +3971,7 @@
3971
3971
  return false;
3972
3972
  }
3973
3973
  }
3974
- function ln(n2, e) {
3974
+ function hn(n2, e) {
3975
3975
  if (n2 !== void 0)
3976
3976
  switch (n2.type) {
3977
3977
  case "Json":
@@ -4016,10 +4016,10 @@
4016
4016
  return false;
4017
4017
  }
4018
4018
  }
4019
- function yn(n2) {
4019
+ function gn(n2) {
4020
4020
  return F$1(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
4021
4021
  }
4022
- function hn(n2) {
4022
+ function bn(n2) {
4023
4023
  switch (n2.type) {
4024
4024
  case "Json": {
4025
4025
  const e = Object.entries(n2.data).map(([t, r]) => ({ key: JSON.parse(t), value: r }));
@@ -4047,7 +4047,7 @@
4047
4047
  }
4048
4048
  }
4049
4049
  }
4050
- function gn(n2) {
4050
+ function wn(n2) {
4051
4051
  switch (n2.type) {
4052
4052
  case "Json": {
4053
4053
  const e = {};
@@ -4088,7 +4088,7 @@
4088
4088
  function C(n2) {
4089
4089
  return n2.map(p$1);
4090
4090
  }
4091
- function Jn(n2) {
4091
+ function $n(n2) {
4092
4092
  return De(p$1(n2));
4093
4093
  }
4094
4094
  function z$1(n2, e) {
@@ -4101,7 +4101,7 @@
4101
4101
  function X(n2, e) {
4102
4102
  return n2.name === e.name && z$1(n2.domain, e.domain);
4103
4103
  }
4104
- function On(n2, e) {
4104
+ function In(n2, e) {
4105
4105
  return { ...n2, src: h(n2.src, e) };
4106
4106
  }
4107
4107
  function h(n2, e) {
@@ -4136,7 +4136,7 @@
4136
4136
  w(n2);
4137
4137
  }
4138
4138
  }
4139
- function G$1(n2) {
4139
+ function G(n2) {
4140
4140
  return De(n2);
4141
4141
  }
4142
4142
  function x(n2) {
@@ -4145,7 +4145,7 @@
4145
4145
  function A(n2, e) {
4146
4146
  return JSON.stringify([n2, e]);
4147
4147
  }
4148
- class $n {
4148
+ class Ln {
4149
4149
  /**
4150
4150
  * Creates a new anchor context from a set of anchor column specifications
4151
4151
  * @param anchors Record of anchor column specifications indexed by anchor ID
@@ -4236,10 +4236,10 @@
4236
4236
  * @returns A canonicalized string representation of the anchored column identifier
4237
4237
  */
4238
4238
  deriveS(e, t) {
4239
- return G$1(this.derive(e, t));
4239
+ return G(this.derive(e, t));
4240
4240
  }
4241
4241
  }
4242
- function Dn(n2, e, t) {
4242
+ function Vn(n2, e, t) {
4243
4243
  const r = { ...e }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? false;
4244
4244
  if (r.domainAnchor !== void 0) {
4245
4245
  const s2 = n2[r.domainAnchor];
@@ -4266,10 +4266,10 @@
4266
4266
  }
4267
4267
  r.domain = s2;
4268
4268
  }
4269
- return r.axes && (r.axes = r.axes.map((s2) => Q$1(n2, s2))), r;
4269
+ return r.axes && (r.axes = r.axes.map((s2) => Q(n2, s2))), r;
4270
4270
  }
4271
- function Q$1(n2, e) {
4272
- if (!Y(e))
4271
+ function Q(n2, e) {
4272
+ if (!Y$1(e))
4273
4273
  return e;
4274
4274
  const t = e.anchor, r = n2[t];
4275
4275
  if (!r)
@@ -4295,26 +4295,26 @@
4295
4295
  }
4296
4296
  throw new Error("Unsupported axis reference type");
4297
4297
  }
4298
- function Y(n2) {
4298
+ function Y$1(n2) {
4299
4299
  return typeof n2 == "object" && "anchor" in n2;
4300
4300
  }
4301
4301
  function f$1(n2) {
4302
4302
  return n2.kind === "PColumn";
4303
4303
  }
4304
- function Z(n2) {
4304
+ function Z$1(n2) {
4305
4305
  return f$1(n2.spec);
4306
4306
  }
4307
- function jn(n2) {
4308
- if (!Z(n2)) throw new Error(`not a PColumn (kind = ${n2.spec.kind})`);
4307
+ function Un(n2) {
4308
+ if (!Z$1(n2)) throw new Error(`not a PColumn (kind = ${n2.spec.kind})`);
4309
4309
  return n2;
4310
4310
  }
4311
- function Fn(n2, e) {
4311
+ function Kn(n2, e) {
4312
4312
  return n2 === void 0 ? void 0 : {
4313
4313
  ...n2,
4314
4314
  data: e(n2.data)
4315
4315
  };
4316
4316
  }
4317
- function Un(n2) {
4317
+ function Rn(n2) {
4318
4318
  const e = /* @__PURE__ */ new Map(), t = (r) => {
4319
4319
  switch (r.type) {
4320
4320
  case "column":
@@ -4403,10 +4403,10 @@
4403
4403
  }
4404
4404
  return true;
4405
4405
  }
4406
- function Kn(n2) {
4406
+ function vn(n2) {
4407
4407
  return Array.isArray(n2) ? (e) => n2.some((t) => f$1(e) && N(e, t)) : (e) => f$1(e) && N(e, n2);
4408
4408
  }
4409
- function Rn(n2) {
4409
+ function _n(n2) {
4410
4410
  const e = {
4411
4411
  kind: n2.kind,
4412
4412
  name: n2.name
@@ -4421,10 +4421,10 @@
4421
4421
  }).describe(
4422
4422
  "Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees."
4423
4423
  ).readonly();
4424
- function Mn(n2) {
4424
+ function Hn(n2) {
4425
4425
  return typeof n2 == "object" && n2 !== null && "__isRef" in n2 && n2.__isRef === true && "blockId" in n2 && "name" in n2;
4426
4426
  }
4427
- function Hn(n2, e = true) {
4427
+ function Wn(n2, e = true) {
4428
4428
  if (e)
4429
4429
  return {
4430
4430
  ...n2,
@@ -4435,7 +4435,7 @@
4435
4435
  return r;
4436
4436
  }
4437
4437
  }
4438
- function Wn(n2, e) {
4438
+ function Xn(n2, e) {
4439
4439
  return n2.ok ? { ok: true, value: e(n2.value) } : n2;
4440
4440
  }
4441
4441
  const sn = 24;
@@ -4495,33 +4495,33 @@
4495
4495
  var ze = Object.defineProperty;
4496
4496
  var Ye = (t, e, n2) => e in t ? ze(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
4497
4497
  var F = (t, e, n2) => Ye(t, typeof e != "symbol" ? e + "" : e, n2);
4498
- function ne(t) {
4498
+ function re(t) {
4499
4499
  return { type: "Immediate", value: t };
4500
4500
  }
4501
- function ct() {
4501
+ function ft() {
4502
4502
  return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
4503
4503
  }
4504
- function Oe(t) {
4504
+ function Re(t) {
4505
4505
  if (t && typeof globalThis.getPlatforma == "function")
4506
4506
  return globalThis.getPlatforma(t);
4507
4507
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
4508
4508
  throw new Error("Can't get platforma instance.");
4509
4509
  }
4510
- function dt() {
4510
+ function ht() {
4511
4511
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4512
4512
  }
4513
4513
  function f() {
4514
4514
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4515
4515
  throw new Error("Not in config rendering context");
4516
4516
  }
4517
- function G(t, e) {
4518
- const n2 = dt();
4517
+ function H(t, e) {
4518
+ const n2 = ht();
4519
4519
  if (n2 === void 0) return false;
4520
4520
  if (t in n2.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
4521
4521
  return n2.callbackRegistry[t] = e, true;
4522
4522
  }
4523
4523
  const ue = /* @__PURE__ */ new Map();
4524
- function pt(t, e) {
4524
+ function gt(t, e) {
4525
4525
  t in f().callbackRegistry || (f().callbackRegistry[t] = (n2) => {
4526
4526
  for (const r of ue.get(t))
4527
4527
  r(n2);
@@ -4531,7 +4531,7 @@
4531
4531
  constructor(e, n2 = (r) => r) {
4532
4532
  F(this, "isResolved", false);
4533
4533
  F(this, "resolvedValue");
4534
- this.handle = e, this.postProcess = n2, pt(e, (r) => {
4534
+ this.handle = e, this.postProcess = n2, gt(e, (r) => {
4535
4535
  this.resolvedValue = n2(r), this.isResolved = true;
4536
4536
  });
4537
4537
  }
@@ -4548,7 +4548,7 @@
4548
4548
  return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
4549
4549
  }
4550
4550
  }
4551
- function pe(t, e) {
4551
+ function de(t, e) {
4552
4552
  return t === void 0 ? void 0 : e(t);
4553
4553
  }
4554
4554
  class E {
@@ -4590,7 +4590,7 @@
4590
4590
  ...this.resolvePath,
4591
4591
  ...n2.map((i) => typeof i == "string" ? i : i.field)
4592
4592
  ];
4593
- return pe(
4593
+ return de(
4594
4594
  f().resolveWithCommon(this.handle, e, ...n2),
4595
4595
  (i) => new E(i, r)
4596
4596
  );
@@ -4612,7 +4612,7 @@
4612
4612
  }
4613
4613
  getError() {
4614
4614
  const e = [...this.resolvePath, "error"];
4615
- return pe(
4615
+ return de(
4616
4616
  f().getError(this.handle),
4617
4617
  (n2) => new E(n2, e)
4618
4618
  );
@@ -4654,7 +4654,7 @@
4654
4654
  getPColumns(e = false, n2 = "") {
4655
4655
  const r = this.parsePObjectCollection(e, n2);
4656
4656
  return r === void 0 ? void 0 : Object.entries(r).map(([, s2]) => {
4657
- if (!Z(s2)) throw new Error(`not a PColumn (kind = ${s2.spec.kind})`);
4657
+ if (!Z$1(s2)) throw new Error(`not a PColumn (kind = ${s2.spec.kind})`);
4658
4658
  return s2;
4659
4659
  });
4660
4660
  }
@@ -4672,20 +4672,20 @@
4672
4672
  const i = {};
4673
4673
  for (const [s2, o] of Object.entries(r)) {
4674
4674
  const a = [...this.resolvePath, s2];
4675
- i[s2] = Fn(o, (l2) => new E(l2, a));
4675
+ i[s2] = Kn(o, (l2) => new E(l2, a));
4676
4676
  }
4677
4677
  return i;
4678
4678
  }
4679
- getFileContentAsBase64() {
4680
- return new I(f().getBlobContentAsBase64(this.handle));
4679
+ getFileContentAsBase64(e) {
4680
+ return new I(f().getBlobContentAsBase64(this.handle, e));
4681
4681
  }
4682
- getFileContentAsString() {
4683
- return new I(f().getBlobContentAsString(this.handle));
4682
+ getFileContentAsString(e) {
4683
+ return new I(f().getBlobContentAsString(this.handle, e));
4684
4684
  }
4685
- getFileContentAsJson() {
4685
+ getFileContentAsJson(e) {
4686
4686
  return new I(
4687
- f().getBlobContentAsString(this.handle)
4688
- ).mapDefined((e) => JSON.parse(e));
4687
+ f().getBlobContentAsString(this.handle, e)
4688
+ ).mapDefined((n2) => JSON.parse(n2));
4689
4689
  }
4690
4690
  /**
4691
4691
  * @deprecated use getFileContentAsBase64
@@ -4768,76 +4768,76 @@
4768
4768
  let l2 = (r === "Input" ? this.listInputFields() : r === "Output" ? this.listOutputFields() : this.listDynamicFields()).map(
4769
4769
  (u2) => [u2, this.resolve({ field: u2, assertFieldType: r })]
4770
4770
  );
4771
- return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, p2]) => o(u2, p2));
4771
+ return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, d]) => o(u2, d));
4772
4772
  }
4773
4773
  }
4774
- const Re = "staging", ke = "main";
4775
- const gt = "pl7.app/label", mt = "pl7.app/trace", yt = z$2.object({
4774
+ const Oe = "staging", ke = "main";
4775
+ const vt = "pl7.app/label", bt = "pl7.app/trace", wt = z$2.object({
4776
4776
  type: z$2.string(),
4777
4777
  importance: z$2.number().optional(),
4778
4778
  id: z$2.string().optional(),
4779
4779
  label: z$2.string()
4780
- }), vt = z$2.array(yt), bt = 1e-3, wt = "__LABEL__", Ce = "__LABEL__@1";
4780
+ }), At = z$2.array(wt), xt = 1e-3, Pt = "__LABEL__", Ce = "__LABEL__@1";
4781
4781
  function Ve(t, e, n2 = {}) {
4782
4782
  const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((g) => {
4783
- var S, R;
4783
+ var S, O;
4784
4784
  const m2 = e(g);
4785
- let c2, y, d;
4786
- "spec" in m2 && typeof m2.spec == "object" ? (c2 = m2.spec, y = m2.prefixTrace, d = m2.suffixTrace) : c2 = m2;
4787
- const b = (S = c2.annotations) == null ? void 0 : S[gt], A2 = (R = c2.annotations) == null ? void 0 : R[mt], v = (A2 ? vt.safeParse(JSON.parse(A2)).data : void 0) ?? [], P = [
4788
- ...y ?? [],
4789
- ...v,
4790
- ...d ?? []
4785
+ let c2, v, b;
4786
+ "spec" in m2 && typeof m2.spec == "object" ? (c2 = m2.spec, v = m2.prefixTrace, b = m2.suffixTrace) : c2 = m2;
4787
+ const p2 = (S = c2.annotations) == null ? void 0 : S[vt], A2 = (O = c2.annotations) == null ? void 0 : O[bt], x2 = (A2 ? At.safeParse(JSON.parse(A2)).data : void 0) ?? [], y = [
4788
+ ...v ?? [],
4789
+ ...x2,
4790
+ ...b ?? []
4791
4791
  ];
4792
- if (b !== void 0) {
4793
- const D2 = { label: b, type: wt, importance: -2 };
4794
- n2.addLabelAsSuffix ? P.push(D2) : P.splice(0, 0, D2);
4795
- }
4796
- const x2 = [], T = /* @__PURE__ */ new Map();
4797
- for (let D2 = P.length - 1; D2 >= 0; --D2) {
4798
- const { type: M } = P[D2], j = P[D2].importance ?? 0, $2 = (T.get(M) ?? 0) + 1;
4799
- T.set(M, $2);
4800
- const k2 = `${M}@${$2}`;
4792
+ if (p2 !== void 0) {
4793
+ const D2 = { label: p2, type: Pt, importance: -2 };
4794
+ n2.addLabelAsSuffix ? y.push(D2) : y.splice(0, 0, D2);
4795
+ }
4796
+ const P = [], T = /* @__PURE__ */ new Map();
4797
+ for (let D2 = y.length - 1; D2 >= 0; --D2) {
4798
+ const { type: W } = y[D2], j = y[D2].importance ?? 0, $ = (T.get(W) ?? 0) + 1;
4799
+ T.set(W, $);
4800
+ const k2 = `${W}@${$}`;
4801
4801
  s2.set(k2, (s2.get(k2) ?? 0) + 1), r.set(
4802
4802
  k2,
4803
4803
  Math.max(
4804
4804
  r.get(k2) ?? Number.NEGATIVE_INFINITY,
4805
- j - (P.length - D2) * bt
4805
+ j - (y.length - D2) * xt
4806
4806
  )
4807
- ), x2.push({ ...P[D2], fullType: k2, occurrenceIndex: $2 });
4807
+ ), P.push({ ...y[D2], fullType: k2, occurrenceIndex: $ });
4808
4808
  }
4809
- return x2.reverse(), {
4809
+ return P.reverse(), {
4810
4810
  value: g,
4811
4811
  spec: c2,
4812
- label: b,
4813
- fullTrace: x2
4812
+ label: p2,
4813
+ fullTrace: P
4814
4814
  };
4815
4815
  }), a = [], l2 = [], u2 = [...r];
4816
4816
  u2.sort(([, g], [, m2]) => m2 - g);
4817
4817
  for (const [g] of u2)
4818
4818
  g.endsWith("@1") || s2.get(g) === t.length ? a.push(g) : l2.push(g);
4819
- const p2 = (g, m2 = false) => {
4819
+ const d = (g, m2 = false) => {
4820
4820
  const c2 = [];
4821
- for (let y = 0; y < o.length; y++) {
4822
- const d = o[y], b = d.fullTrace.filter((P) => g.has(P.fullType) || i && i.has(P.type));
4823
- if (b.length === 0)
4821
+ for (let v = 0; v < o.length; v++) {
4822
+ const b = o[v], p2 = b.fullTrace.filter((y) => g.has(y.fullType) || i && i.has(y.type));
4823
+ if (p2.length === 0)
4824
4824
  if (m2)
4825
4825
  c2.push({
4826
4826
  label: "Unlabeled",
4827
- value: d.value
4827
+ value: b.value
4828
4828
  });
4829
4829
  else return;
4830
- const A2 = b.map((P) => P.label), v = n2.separator ?? " / ";
4830
+ const A2 = p2.map((y) => y.label), x2 = n2.separator ?? " / ";
4831
4831
  c2.push({
4832
- label: A2.join(v),
4833
- value: d.value
4832
+ label: A2.join(x2),
4833
+ value: b.value
4834
4834
  });
4835
4835
  }
4836
4836
  return c2;
4837
4837
  };
4838
4838
  if (a.length === 0) {
4839
4839
  if (l2.length !== 0) throw new Error("Non-empty secondary types list while main types list is empty.");
4840
- return p2(new Set(Ce), true);
4840
+ return d(new Set(Ce), true);
4841
4841
  }
4842
4842
  let h2 = 0, w2 = -1;
4843
4843
  for (; h2 < a.length; ) {
@@ -4845,13 +4845,13 @@
4845
4845
  n2.includeNativeLabel && g.add(Ce);
4846
4846
  for (let c2 = 0; c2 < h2; ++c2) g.add(a[c2]);
4847
4847
  w2 >= 0 && g.add(a[w2]);
4848
- const m2 = p2(g);
4848
+ const m2 = d(g);
4849
4849
  if (m2 !== void 0 && new Set(m2.map((c2) => c2.label)).size === t.length) return m2;
4850
4850
  w2++, w2 >= a.length && (h2++, w2 = h2);
4851
4851
  }
4852
- return p2(/* @__PURE__ */ new Set([...a, ...l2]), true);
4852
+ return d(/* @__PURE__ */ new Set([...a, ...l2]), true);
4853
4853
  }
4854
- const Q = "PColumnData/", se = Q + "ResourceMap", oe = Q + "Partitioned/ResourceMap", H = Q + "JsonPartitioned", B = Q + "BinaryPartitioned", Ke = Q + "Partitioned/", ae = Ke + "JsonPartitioned", q = Ke + "BinaryPartitioned";
4854
+ const Z = "PColumnData/", se = Z + "ResourceMap", oe = Z + "Partitioned/ResourceMap", q = Z + "JsonPartitioned", B = Z + "BinaryPartitioned", Ke = Z + "Partitioned/", ae = Ke + "JsonPartitioned", z = Ke + "BinaryPartitioned";
4855
4855
  const he = (t) => {
4856
4856
  if (t.endsWith(".index"))
4857
4857
  return { baseKey: t.substring(0, t.length - 6), type: "index" };
@@ -4859,7 +4859,7 @@
4859
4859
  return { baseKey: t.substring(0, t.length - 7), type: "values" };
4860
4860
  throw new Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
4861
4861
  };
4862
- function At(t) {
4862
+ function Ct(t) {
4863
4863
  if (!t) return;
4864
4864
  const e = t.resourceType.name, n2 = t.getDataAsJson(), r = [];
4865
4865
  let i = 0;
@@ -4870,18 +4870,18 @@
4870
4870
  case oe:
4871
4871
  i = n2.partitionKeyLength + n2.keyLength;
4872
4872
  break;
4873
- case H:
4873
+ case q:
4874
4874
  case B:
4875
4875
  i = n2.partitionKeyLength;
4876
4876
  break;
4877
- case q:
4877
+ case z:
4878
4878
  case ae:
4879
4879
  i = n2.superPartitionKeyLength + n2.partitionKeyLength;
4880
4880
  break;
4881
4881
  }
4882
4882
  switch (e) {
4883
4883
  case se:
4884
- case H:
4884
+ case q:
4885
4885
  case B:
4886
4886
  for (let s2 of t.listInputFields()) {
4887
4887
  e === B && (s2 = he(s2).baseKey);
@@ -4890,13 +4890,13 @@
4890
4890
  }
4891
4891
  break;
4892
4892
  case oe:
4893
- case q:
4893
+ case z:
4894
4894
  case ae:
4895
4895
  for (const s2 of t.listInputFields()) {
4896
4896
  const o = [...JSON.parse(s2)], a = t.resolve({ field: s2, assertFieldType: "Input" });
4897
4897
  if (a !== void 0)
4898
4898
  for (let l2 of a.listInputFields()) {
4899
- e === q && (l2 = he(l2).baseKey);
4899
+ e === z && (l2 = he(l2).baseKey);
4900
4900
  const u2 = [...o, ...JSON.parse(l2)];
4901
4901
  r.push(u2);
4902
4902
  }
@@ -4905,7 +4905,7 @@
4905
4905
  }
4906
4906
  return { data: r, keyLength: i };
4907
4907
  }
4908
- function xt(t) {
4908
+ function St(t) {
4909
4909
  if (t.type !== "JsonPartitioned" && t.type !== "BinaryPartitioned")
4910
4910
  throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${t.type}`);
4911
4911
  const { parts: e, partitionKeyLength: n2 } = t, r = [];
@@ -4924,11 +4924,11 @@
4924
4924
  }
4925
4925
  return r.map((i) => Array.from(i.values()));
4926
4926
  }
4927
- function Pt(t) {
4927
+ function _t(t) {
4928
4928
  if (t === void 0) return;
4929
4929
  if (F$1(t))
4930
- return xt(t);
4931
- const e = At(t);
4930
+ return St(t);
4931
+ const e = Ct(t);
4932
4932
  if (!e) return;
4933
4933
  const { data: n2, keyLength: r } = e, i = [];
4934
4934
  for (let s2 = 0; s2 < r; ++s2)
@@ -4944,13 +4944,13 @@
4944
4944
  function ge(t, e = []) {
4945
4945
  if (t === void 0 || !t.getIsReadyOrError()) return;
4946
4946
  const n2 = t.resourceType.name, r = t.getDataAsJson();
4947
- if (e.length > 0 && (n2 === ae || n2 === q))
4947
+ if (e.length > 0 && (n2 === ae || n2 === z))
4948
4948
  throw new Error(`Unexpected nested super-partitioned resource: ${n2}`);
4949
4949
  switch (n2) {
4950
4950
  case se:
4951
4951
  case oe:
4952
4952
  throw new Error(`Only data columns are supported, got: ${n2}`);
4953
- case H: {
4953
+ case q: {
4954
4954
  if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
4955
4955
  throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
4956
4956
  const i = [];
@@ -5000,8 +5000,8 @@
5000
5000
  for (const o of t.listInputFields()) {
5001
5001
  const a = t.resolve({ field: o, assertFieldType: "Input" });
5002
5002
  if (a === void 0) return;
5003
- if (a.resourceType.name !== H)
5004
- throw new Error(`Expected ${H} inside ${n2}, but got ${a.resourceType.name}`);
5003
+ if (a.resourceType.name !== q)
5004
+ throw new Error(`Expected ${q} inside ${n2}, but got ${a.resourceType.name}`);
5005
5005
  const l2 = ge(a, JSON.parse(o));
5006
5006
  if (l2 === void 0) return;
5007
5007
  if (l2.type !== "JsonPartitioned")
@@ -5014,7 +5014,7 @@
5014
5014
  parts: s2
5015
5015
  };
5016
5016
  }
5017
- case q: {
5017
+ case z: {
5018
5018
  if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
5019
5019
  throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${n2}`);
5020
5020
  const i = r.superPartitionKeyLength + r.partitionKeyLength, s2 = [];
@@ -5039,15 +5039,15 @@
5039
5039
  throw new Error(`Unknown resource type: ${n2}`);
5040
5040
  }
5041
5041
  }
5042
- function Ct(t) {
5042
+ function It(t) {
5043
5043
  if (t !== void 0) {
5044
5044
  if (F$1(t)) return t;
5045
- if (pn(t)) return hn(t);
5045
+ if (yn(t)) return bn(t);
5046
5046
  if (t instanceof E) return ge(t);
5047
5047
  throw new Error(`Unexpected input type: ${typeof t}`);
5048
5048
  }
5049
5049
  }
5050
- function St(t, e) {
5050
+ function Tt(t, e) {
5051
5051
  const n2 = [...e].sort((s2, o) => o[0] - s2[0]);
5052
5052
  if (t.type === "JsonPartitioned" || t.type === "BinaryPartitioned") {
5053
5053
  const { partitionKeyLength: s2 } = t;
@@ -5107,29 +5107,29 @@
5107
5107
  }
5108
5108
  }
5109
5109
  }
5110
- class _t {
5110
+ class Lt {
5111
5111
  constructor(e) {
5112
5112
  this.columns = e;
5113
5113
  }
5114
5114
  selectColumns(e) {
5115
- const n2 = typeof e == "function" ? e : Kn(e);
5115
+ const n2 = typeof e == "function" ? e : vn(e);
5116
5116
  return this.columns.filter((r) => n2(r.spec));
5117
5117
  }
5118
5118
  }
5119
- function It(t) {
5119
+ function Et(t) {
5120
5120
  if (t)
5121
5121
  return t.map((e) => ({
5122
- type: `split:${Jn(e.axisId)}`,
5122
+ type: `split:${$n(e.axisId)}`,
5123
5123
  label: e.label,
5124
5124
  importance: 1e6
5125
5125
  // High importance for split filters in labels
5126
5126
  }));
5127
5127
  }
5128
- function Tt(t) {
5128
+ function Dt(t) {
5129
5129
  if (t)
5130
5130
  return t.map((e) => [e.axisIdx, e.value]);
5131
5131
  }
5132
- function Lt(t, e) {
5132
+ function Ft(t, e) {
5133
5133
  if (!e || e.length === 0) return t;
5134
5134
  const n2 = [...e].sort((r, i) => r[0] - i[0]);
5135
5135
  return De({ id: t, axisFilters: n2 });
@@ -5139,7 +5139,7 @@
5139
5139
  const e = t, n2 = e.domain && typeof e.domain == "object" && Object.values(e.domain).some((i) => typeof i == "object" && i !== null && "anchor" in i), r = e.axes && Array.isArray(e.axes) && e.axes.some((i) => typeof i == "object" && i !== null && "anchor" in i);
5140
5140
  return !!e.domainAnchor || n2 || r;
5141
5141
  }
5142
- function Et(t) {
5142
+ function Rt(t) {
5143
5143
  if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
5144
5144
  return [];
5145
5145
  const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
@@ -5150,7 +5150,7 @@
5150
5150
  class me {
5151
5151
  constructor() {
5152
5152
  F(this, "defaultProviderStore", []);
5153
- F(this, "providers", [new _t(this.defaultProviderStore)]);
5153
+ F(this, "providers", [new Lt(this.defaultProviderStore)]);
5154
5154
  F(this, "axisLabelProviders", []);
5155
5155
  }
5156
5156
  addColumnProvider(e) {
@@ -5179,94 +5179,94 @@
5179
5179
  };
5180
5180
  let u2 = () => false;
5181
5181
  if (a) {
5182
- const c2 = (Array.isArray(a) ? a : [a]).map((y) => {
5183
- if (Se(y)) {
5182
+ const c2 = (Array.isArray(a) ? a : [a]).map((v) => {
5183
+ if (Se(v)) {
5184
5184
  if (!r)
5185
5185
  throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
5186
- return Kn(Dn(r.anchors, y, n2));
5186
+ return vn(Vn(r.anchors, v, n2));
5187
5187
  } else
5188
- return Kn(y);
5188
+ return vn(v);
5189
5189
  });
5190
- u2 = (y) => c2.some((d) => d(y));
5190
+ u2 = (v) => c2.some((b) => b(v));
5191
5191
  }
5192
- const p2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], h2 = [], w2 = /* @__PURE__ */ new Set();
5193
- for (const c2 of p2) {
5194
- const y = Se(c2);
5195
- let d;
5196
- if (y) {
5192
+ const d = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], h2 = [], w2 = /* @__PURE__ */ new Set();
5193
+ for (const c2 of d) {
5194
+ const v = Se(c2);
5195
+ let b;
5196
+ if (v) {
5197
5197
  if (!r)
5198
5198
  throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
5199
- d = Dn(r.anchors, c2, n2);
5199
+ b = Vn(r.anchors, c2, n2);
5200
5200
  } else
5201
- d = c2;
5202
- const b = /* @__PURE__ */ new Set(), A2 = [];
5203
- for (const x2 of this.providers) {
5204
- const T = x2.selectColumns(d);
5201
+ b = c2;
5202
+ const p2 = /* @__PURE__ */ new Set(), A2 = [];
5203
+ for (const P of this.providers) {
5204
+ const T = P.selectColumns(b);
5205
5205
  for (const S of T) {
5206
5206
  if (u2(S.spec)) continue;
5207
- if (b.has(S.id))
5208
- throw new Error(`Duplicate column id ${S.id} in provider ${x2.constructor.name}`);
5209
- const R = Rn(S.spec);
5210
- w2.has(R) || (b.add(S.id), w2.add(R), A2.push(S));
5207
+ if (p2.has(S.id))
5208
+ throw new Error(`Duplicate column id ${S.id} in provider ${P.constructor.name}`);
5209
+ const O = _n(S.spec);
5210
+ w2.has(O) || (p2.add(S.id), w2.add(O), A2.push(S));
5211
5211
  }
5212
5212
  }
5213
5213
  if (A2.length === 0) continue;
5214
- const v = Et(c2), P = v.length > 0;
5215
- for (const x2 of A2) {
5216
- if (!f$1(x2.spec)) continue;
5217
- const T = x2.spec;
5218
- if (P) {
5219
- const S = Ct(x2.data);
5214
+ const x2 = Rt(c2), y = x2.length > 0;
5215
+ for (const P of A2) {
5216
+ if (!f$1(P.spec)) continue;
5217
+ const T = P.spec;
5218
+ if (y) {
5219
+ const S = It(P.data);
5220
5220
  if (!S) {
5221
5221
  if (s2) continue;
5222
5222
  return;
5223
5223
  }
5224
- if (!yn(S))
5225
- throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${x2.id}`);
5226
- const R = Pt(S), D2 = v[v.length - 1];
5224
+ if (!gn(S))
5225
+ throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${P.id}`);
5226
+ const O = _t(S), D2 = x2[x2.length - 1];
5227
5227
  if (D2 >= S.partitionKeyLength)
5228
5228
  throw new Error(`Not enough partition keys (${S.partitionKeyLength}) for requested split axes (max index ${D2}) in column ${T.name}`);
5229
- const M = v.map((_) => this.findLabels(p$1(T.axesSpec[_]))), j = [], $2 = (_, W) => {
5230
- if (W >= v.length) {
5229
+ const W = x2.map((_) => this.findLabels(p$1(T.axesSpec[_]))), j = [], $ = (_, G2) => {
5230
+ if (G2 >= x2.length) {
5231
5231
  if (j.push([..._]), j.length > 1e4)
5232
5232
  throw new Error("Too many key combinations, aborting.");
5233
5233
  return;
5234
5234
  }
5235
- const V = v[W];
5236
- if (V >= R.length)
5237
- throw new Error(`Axis index ${V} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${x2.id}`);
5238
- const J = R[V];
5235
+ const V = x2[G2];
5236
+ if (V >= O.length)
5237
+ throw new Error(`Axis index ${V} out of bounds for unique keys array (length ${O.length}) during split key generation for column ${P.id}`);
5238
+ const J = O[V];
5239
5239
  if (!J || J.length === 0) {
5240
5240
  j.length = 0;
5241
5241
  return;
5242
5242
  }
5243
- for (const Z2 of J)
5244
- _.push(Z2), $2(_, W + 1), _.pop();
5243
+ for (const ee of J)
5244
+ _.push(ee), $(_, G2 + 1), _.pop();
5245
5245
  };
5246
- if ($2([], 0), j.length === 0)
5246
+ if ($([], 0), j.length === 0)
5247
5247
  continue;
5248
- const k2 = [...T.axesSpec], We = v.map((_) => _);
5249
- for (let _ = v.length - 1; _ >= 0; _--)
5250
- k2.splice(v[_], 1);
5248
+ const k2 = [...T.axesSpec], We = x2.map((_) => _);
5249
+ for (let _ = x2.length - 1; _ >= 0; _--)
5250
+ k2.splice(x2[_], 1);
5251
5251
  const Ge = { ...T, axesSpec: k2 };
5252
5252
  for (const _ of j) {
5253
- const W = _.map((V, J) => {
5254
- const Z2 = We[J], He = p$1(T.axesSpec[Z2]), le = M[J], qe = (le == null ? void 0 : le[V]) ?? String(V);
5255
- return { axisIdx: Z2, axisId: He, value: V, label: qe };
5253
+ const G2 = _.map((V, J) => {
5254
+ const ee = We[J], He = p$1(T.axesSpec[ee]), le = W[J], qe = (le == null ? void 0 : le[V]) ?? String(V);
5255
+ return { axisIdx: ee, axisId: He, value: V, label: qe };
5256
5256
  });
5257
5257
  h2.push({
5258
5258
  type: "split",
5259
- originalColumn: x2,
5259
+ originalColumn: P,
5260
5260
  spec: T,
5261
5261
  adjustedSpec: Ge,
5262
5262
  dataEntries: S,
5263
- axisFilters: W
5263
+ axisFilters: G2
5264
5264
  });
5265
5265
  }
5266
5266
  } else
5267
5267
  h2.push({
5268
5268
  type: "direct",
5269
- originalColumn: x2,
5269
+ originalColumn: P,
5270
5270
  spec: T,
5271
5271
  adjustedSpec: T
5272
5272
  });
@@ -5277,26 +5277,26 @@
5277
5277
  h2,
5278
5278
  (c2) => ({
5279
5279
  spec: c2.spec,
5280
- suffixTrace: c2.type === "split" ? It(c2.axisFilters) : void 0
5280
+ suffixTrace: c2.type === "split" ? Et(c2.axisFilters) : void 0
5281
5281
  }),
5282
5282
  l2
5283
5283
  ), m2 = [];
5284
- for (const { value: c2, label: y } of g) {
5285
- const { originalColumn: d, spec: b } = c2, A2 = c2.type === "split" ? c2.axisFilters : void 0, v = Tt(A2);
5286
- let P;
5287
- r ? P = r.deriveS(b, v) : P = Lt(d.id, v);
5288
- let x2 = { ...c2.adjustedSpec };
5289
- o && (x2 = {
5290
- ...x2,
5284
+ for (const { value: c2, label: v } of g) {
5285
+ const { originalColumn: b, spec: p2 } = c2, A2 = c2.type === "split" ? c2.axisFilters : void 0, x2 = Dt(A2);
5286
+ let y;
5287
+ r ? y = r.deriveS(p2, x2) : y = Ft(b.id, x2);
5288
+ let P = { ...c2.adjustedSpec };
5289
+ o && (P = {
5290
+ ...P,
5291
5291
  annotations: {
5292
- ...x2.annotations ?? {},
5293
- "pl7.app/label": y
5292
+ ...P.annotations ?? {},
5293
+ "pl7.app/label": v
5294
5294
  }
5295
5295
  }), m2.push({
5296
- id: P,
5297
- spec: x2,
5298
- data: () => c2.type === "split" ? gn(St(c2.dataEntries, v)) : c2.originalColumn.data,
5299
- label: y
5296
+ id: y,
5297
+ spec: P,
5298
+ data: () => c2.type === "split" ? wn(Tt(c2.dataEntries, x2)) : c2.originalColumn.data,
5299
+ label: v
5300
5300
  });
5301
5301
  }
5302
5302
  return m2;
@@ -5332,9 +5332,9 @@
5332
5332
  return true;
5333
5333
  }
5334
5334
  function _e(t) {
5335
- return Fn(t, (e) => e instanceof E ? e.handle : pn(e) ? ln(e, (n2) => n2.handle) : e);
5335
+ return Kn(t, (e) => e instanceof E ? e.handle : yn(e) ? hn(e, (n2) => n2.handle) : e);
5336
5336
  }
5337
- class Dt {
5337
+ class Ot {
5338
5338
  constructor() {
5339
5339
  F(this, "ctx", f());
5340
5340
  }
@@ -5345,28 +5345,28 @@
5345
5345
  return this.ctx.calculateOptions(e);
5346
5346
  }
5347
5347
  getOptions(e, n2) {
5348
- const r = typeof e == "function" ? e : Kn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5348
+ const r = typeof e == "function" ? e : vn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5349
5349
  let s2 = {}, o = false;
5350
5350
  return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Ve(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5351
- ref: Hn(a, o),
5351
+ ref: Wn(a, o),
5352
5352
  label: l2
5353
5353
  })) : i.map(({ ref: a, obj: l2 }) => ({
5354
- ref: Hn(a, o),
5354
+ ref: Wn(a, o),
5355
5355
  label: s2(l2, a)
5356
5356
  }));
5357
5357
  }
5358
5358
  resolveAnchorCtx(e) {
5359
- if (e instanceof $n) return e;
5359
+ if (e instanceof Ln) return e;
5360
5360
  const n2 = {};
5361
5361
  for (const [r, i] of Object.entries(e))
5362
- if (Mn(i)) {
5362
+ if (Hn(i)) {
5363
5363
  const s2 = this.getPColumnSpecByRef(i);
5364
5364
  if (!s2)
5365
5365
  return;
5366
5366
  n2[r] = s2;
5367
5367
  } else
5368
5368
  n2[r] = i;
5369
- return new $n(n2);
5369
+ return new Ln(n2);
5370
5370
  }
5371
5371
  /**
5372
5372
  * Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
@@ -5459,7 +5459,7 @@
5459
5459
  ref: n2.ref,
5460
5460
  obj: {
5461
5461
  ...n2.obj,
5462
- data: Wn(
5462
+ data: Xn(
5463
5463
  n2.obj.data,
5464
5464
  (r) => new E(r, [n2.ref.blockId, n2.ref.name])
5465
5465
  )
@@ -5488,7 +5488,7 @@
5488
5488
  )) == null ? void 0 : r.obj;
5489
5489
  const n2 = this.ctx.getDataFromResultPoolByRef(e.blockId, e.name);
5490
5490
  if (n2)
5491
- return Fn(
5491
+ return Kn(
5492
5492
  n2,
5493
5493
  (i) => new E(i, [e.blockId, e.name])
5494
5494
  );
@@ -5501,7 +5501,7 @@
5501
5501
  getPColumnByRef(e) {
5502
5502
  const n2 = this.getDataByRef(e);
5503
5503
  if (n2)
5504
- return jn(n2);
5504
+ return Un(n2);
5505
5505
  }
5506
5506
  /**
5507
5507
  * Returns spec associated with the ref ensuring that it is a p-column spec.
@@ -5551,7 +5551,7 @@
5551
5551
  findLabels(e) {
5552
5552
  const n2 = this.getData();
5553
5553
  for (const r of n2.entries) {
5554
- if (!Z(r.obj)) continue;
5554
+ if (!Z$1(r.obj)) continue;
5555
5555
  const i = r.obj.spec;
5556
5556
  if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && ce(e.domain, i.axesSpec[0].domain)) {
5557
5557
  if (r.obj.data.resourceType.name !== "PColumnData/Json")
@@ -5572,7 +5572,7 @@
5572
5572
  * @returns An array of PColumn objects matching the selectors. Data is loaded on first access.
5573
5573
  */
5574
5574
  selectColumns(e) {
5575
- const n2 = typeof e == "function" ? e : Kn(e);
5575
+ const n2 = typeof e == "function" ? e : vn(e);
5576
5576
  return this.getSpecs().entries.filter(({ obj: i }) => f$1(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
5577
5577
  const o = s2;
5578
5578
  let a = null;
@@ -5603,13 +5603,13 @@
5603
5603
  return r;
5604
5604
  }
5605
5605
  }
5606
- class ee {
5606
+ class te {
5607
5607
  constructor() {
5608
5608
  F(this, "ctx");
5609
5609
  F(this, "args");
5610
5610
  F(this, "uiState");
5611
5611
  F(this, "_activeArgsCache");
5612
- F(this, "resultPool", new Dt());
5612
+ F(this, "resultPool", new Ot());
5613
5613
  this.ctx = f(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
5614
5614
  }
5615
5615
  /**
@@ -5626,13 +5626,13 @@
5626
5626
  // return this.ctx.featureFlags;
5627
5627
  // }
5628
5628
  getNamedAccessor(e) {
5629
- return pe(
5629
+ return de(
5630
5630
  this.ctx.getAccessorHandleByName(e),
5631
5631
  (n2) => new E(n2, [e])
5632
5632
  );
5633
5633
  }
5634
5634
  get prerun() {
5635
- return this.getNamedAccessor(Re);
5635
+ return this.getNamedAccessor(Oe);
5636
5636
  }
5637
5637
  get outputs() {
5638
5638
  return this.getNamedAccessor(ke);
@@ -5647,7 +5647,7 @@
5647
5647
  }
5648
5648
  verifyInlineAndExplicitColumnsSupport(e) {
5649
5649
  var i;
5650
- const n2 = e.some((s2) => !(s2.data instanceof E) || pn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5650
+ const n2 = e.some((s2) => !(s2.data instanceof E) || yn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5651
5651
  if (n2 && !r) throw Error("Inline or explicit columns not supported");
5652
5652
  }
5653
5653
  // TODO remove all non-PColumn fields
@@ -5665,8 +5665,8 @@
5665
5665
  },
5666
5666
  filters: e.filters ?? [],
5667
5667
  sorting: e.sorting ?? []
5668
- } : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Un(n2.src)), this.ctx.createPTable(
5669
- On(n2, (r) => _e(r))
5668
+ } : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Rn(n2.src)), this.ctx.createPTable(
5669
+ In(n2, (r) => _e(r))
5670
5670
  );
5671
5671
  }
5672
5672
  /** @deprecated scheduled for removal from SDK */
@@ -5677,13 +5677,13 @@
5677
5677
  return this.ctx.getCurrentUnstableMarker();
5678
5678
  }
5679
5679
  }
5680
- const z = "1.30.26";
5681
- function Ft(t) {
5680
+ const Y = "1.31.6";
5681
+ function kt(t) {
5682
5682
  return t.__renderLambda === true;
5683
5683
  }
5684
- function de(t) {
5684
+ function pe(t) {
5685
5685
  if (t !== void 0)
5686
- return Ft(t) ? t.handle : t;
5686
+ return kt(t) ? t.handle : t;
5687
5687
  }
5688
5688
  class L {
5689
5689
  constructor(e, n2, r, i, s2, o, a, l2) {
@@ -5695,8 +5695,8 @@
5695
5695
  void 0,
5696
5696
  {},
5697
5697
  {},
5698
- ne(true),
5699
- ne([]),
5698
+ re(true),
5699
+ re([]),
5700
5700
  void 0,
5701
5701
  void 0
5702
5702
  );
@@ -5704,7 +5704,7 @@
5704
5704
  output(e, n2, r = {}) {
5705
5705
  if (typeof n2 == "function") {
5706
5706
  const i = `output#${e}`;
5707
- return G(i, () => n2(new ee())), new L(
5707
+ return H(i, () => n2(new te())), new L(
5708
5708
  this._renderingMode,
5709
5709
  this._initialArgs,
5710
5710
  this._initialUiState,
@@ -5741,7 +5741,7 @@
5741
5741
  return this.output(e, n2, { retentive: true });
5742
5742
  }
5743
5743
  argsValid(e) {
5744
- return typeof e == "function" ? (G("inputsValid", () => e(new ee())), new L(
5744
+ return typeof e == "function" ? (H("inputsValid", () => e(new te())), new L(
5745
5745
  this._renderingMode,
5746
5746
  this._initialArgs,
5747
5747
  this._initialUiState,
@@ -5765,7 +5765,7 @@
5765
5765
  );
5766
5766
  }
5767
5767
  sections(e) {
5768
- return Array.isArray(e) ? this.sections(ne(e)) : typeof e == "function" ? (G("sections", () => e(new ee())), new L(
5768
+ return Array.isArray(e) ? this.sections(re(e)) : typeof e == "function" ? (H("sections", () => e(new te())), new L(
5769
5769
  this._renderingMode,
5770
5770
  this._initialArgs,
5771
5771
  this._initialUiState,
@@ -5787,7 +5787,7 @@
5787
5787
  }
5788
5788
  /** Sets a rendering function to derive block title, shown for the block in the left blocks-overview panel. */
5789
5789
  title(e) {
5790
- return G("title", () => e(new ee())), new L(
5790
+ return H("title", () => e(new te())), new L(
5791
5791
  this._renderingMode,
5792
5792
  this._initialArgs,
5793
5793
  this._initialUiState,
@@ -5845,7 +5845,7 @@
5845
5845
  * Influences dependency graph construction.
5846
5846
  */
5847
5847
  enriches(e) {
5848
- return G("enrichmentTargets", e), new L(
5848
+ return H("enrichmentTargets", e), new L(
5849
5849
  this._renderingMode,
5850
5850
  this._initialArgs,
5851
5851
  this._initialUiState,
@@ -5863,7 +5863,7 @@
5863
5863
  if (this._initialArgs === void 0) throw new Error("Initial arguments not set.");
5864
5864
  const e = {
5865
5865
  v3: {
5866
- sdkVersion: z,
5866
+ sdkVersion: Y,
5867
5867
  renderingMode: this._renderingMode,
5868
5868
  initialArgs: this._initialArgs,
5869
5869
  initialUiState: this._initialUiState,
@@ -5874,16 +5874,16 @@
5874
5874
  enrichmentTargets: this._enrichmentTargets
5875
5875
  },
5876
5876
  // fields below are added to allow previous desktop versions read generated configs
5877
- sdkVersion: z,
5877
+ sdkVersion: Y,
5878
5878
  renderingMode: this._renderingMode,
5879
5879
  initialArgs: this._initialArgs,
5880
- inputsValid: de(this._inputsValid),
5881
- sections: de(this._sections),
5880
+ inputsValid: pe(this._inputsValid),
5881
+ sections: pe(this._sections),
5882
5882
  outputs: Object.fromEntries(
5883
- Object.entries(this._outputs).map(([n2, r]) => [n2, de(r)])
5883
+ Object.entries(this._outputs).map(([n2, r]) => [n2, pe(r)])
5884
5884
  )
5885
5885
  };
5886
- return ct() ? Oe({ sdkVersion: z }) : { config: e };
5886
+ return ft() ? Re({ sdkVersion: Y }) : { config: e };
5887
5887
  }
5888
5888
  }
5889
5889
  const platforma = L.create("Heavy").withArgs({ titleArg: "The title" }).output("allSpecs", (ctx) => ctx.resultPool.getSpecs()).sections((ctx) => {