@sdeverywhere/check-ui-shell 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +230 -228
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -5,9 +5,9 @@ import Va from "fuzzysort";
5
5
  import { faCloud as Pa } from "@fortawesome/free-regular-svg-icons";
6
6
  import zr, { assertNever as vr } from "assert-never";
7
7
  import La from "copy-text-to-clipboard";
8
- import { Chart as Ui } from "chart.js";
9
- const Wi = !1;
10
- var pr = Array.isArray, Na = Array.prototype.indexOf, js = Array.from, Wr = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, Yi = Object.getOwnPropertyDescriptors, qa = Object.prototype, Fa = Array.prototype, Gs = Object.getPrototypeOf, bi = Object.isExtensible;
8
+ import { Chart as Wi } from "chart.js";
9
+ const Ui = !1;
10
+ var pr = Array.isArray, Na = Array.prototype.indexOf, js = Array.from, Ur = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, Yi = Object.getOwnPropertyDescriptors, qa = Object.prototype, Fa = Array.prototype, Gs = Object.getPrototypeOf, bi = Object.isExtensible;
11
11
  function wr(t) {
12
12
  return typeof t == "function";
13
13
  }
@@ -26,7 +26,7 @@ function Hi() {
26
26
  });
27
27
  return { promise: r, resolve: t, reject: e };
28
28
  }
29
- const nt = 2, Us = 4, as = 8, Wt = 16, $t = 32, Yt = 64, Ws = 128, ft = 256, Hr = 512, Ze = 1024, ct = 2048, It = 4096, gt = 8192, Ht = 16384, Ys = 32768, Er = 65536, wi = 1 << 17, Aa = 1 << 18, hr = 1 << 19, Xi = 1 << 20, Is = 1 << 21, os = 1 << 22, Kt = 1 << 23, xt = Symbol("$state"), Zi = Symbol("legacy props"), Ba = Symbol(""), kr = new class extends Error {
29
+ const nt = 2, Ws = 4, as = 8, Ut = 16, $t = 32, Yt = 64, Us = 128, ft = 256, Hr = 512, Ze = 1024, ct = 2048, It = 4096, gt = 8192, Ht = 16384, Ys = 32768, Er = 65536, wi = 1 << 17, Aa = 1 << 18, hr = 1 << 19, Xi = 1 << 20, Is = 1 << 21, os = 1 << 22, Kt = 1 << 23, xt = Symbol("$state"), Zi = Symbol("legacy props"), Ba = Symbol(""), kr = new class extends Error {
30
30
  name = "StaleReactionError";
31
31
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
32
32
  }();
@@ -42,10 +42,10 @@ function ja(t) {
42
42
  function Ga() {
43
43
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
44
44
  }
45
- function Ua(t) {
45
+ function Wa(t) {
46
46
  throw new Error("https://svelte.dev/e/effect_orphan");
47
47
  }
48
- function Wa() {
48
+ function Ua() {
49
49
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
50
50
  }
51
51
  function Ya(t) {
@@ -63,7 +63,7 @@ function Za() {
63
63
  function Ja() {
64
64
  throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
65
65
  }
66
- const ls = 1, cs = 2, Qi = 4, Qa = 8, eo = 16, to = 1, ro = 2, en = 4, so = 8, io = 16, tn = 1, no = 2, Ue = Symbol(), ao = "http://www.w3.org/1999/xhtml", oo = "@attach";
66
+ const ls = 1, cs = 2, Qi = 4, Qa = 8, eo = 16, to = 1, ro = 2, en = 4, so = 8, io = 16, tn = 1, no = 2, We = Symbol(), ao = "http://www.w3.org/1999/xhtml", oo = "@attach";
67
67
  function lo() {
68
68
  console.warn("https://svelte.dev/e/select_multiple_invalid_value");
69
69
  }
@@ -141,7 +141,7 @@ function an(t) {
141
141
  if (e === null)
142
142
  return _e.f |= Kt, t;
143
143
  if ((e.f & Ys) === 0) {
144
- if ((e.f & Ws) === 0)
144
+ if ((e.f & Us) === 0)
145
145
  throw !e.parent && t instanceof Error && on(t), t;
146
146
  e.b.error(t);
147
147
  } else
@@ -149,7 +149,7 @@ function an(t) {
149
149
  }
150
150
  function dr(t, e) {
151
151
  for (; e !== null; ) {
152
- if ((e.f & Ws) !== 0)
152
+ if ((e.f & Us) !== 0)
153
153
  try {
154
154
  e.b.error(t);
155
155
  return;
@@ -162,14 +162,14 @@ function dr(t, e) {
162
162
  }
163
163
  function on(t) {
164
164
  const e = mo.get(t);
165
- e && (Wr(t, "message", {
165
+ e && (Ur(t, "message", {
166
166
  value: e.message
167
- }), Wr(t, "stack", {
167
+ }), Ur(t, "stack", {
168
168
  value: e.stack
169
169
  }));
170
170
  }
171
171
  const Br = /* @__PURE__ */ new Set();
172
- let Ne = null, Ur = null, Ds = /* @__PURE__ */ new Set(), _t = [], ds = null, Ts = !1, Sr = !1;
172
+ let Ne = null, Wr = null, Ds = /* @__PURE__ */ new Set(), _t = [], ds = null, Ts = !1, Sr = !1;
173
173
  class ut {
174
174
  /**
175
175
  * The current values of any sources that are updated in this batch
@@ -243,14 +243,14 @@ class ut {
243
243
  * @param {Effect[]} root_effects
244
244
  */
245
245
  process(e) {
246
- _t = [], Ur = null;
246
+ _t = [], Wr = null;
247
247
  var r = ut.apply(this);
248
248
  for (const i of e)
249
249
  this.#u(i);
250
250
  if (this.#n === 0) {
251
251
  this.#f();
252
252
  var s = this.#i, n = this.#s;
253
- this.#i = [], this.#s = [], this.#r = [], Ur = this, Ne = null, _i(s), _i(n), this.#a?.resolve();
253
+ this.#i = [], this.#s = [], this.#r = [], Wr = this, Ne = null, _i(s), _i(n), this.#a?.resolve();
254
254
  } else
255
255
  this.#l(this.#i), this.#l(this.#s), this.#l(this.#r);
256
256
  r();
@@ -268,7 +268,7 @@ class ut {
268
268
  for (var r = e.first; r !== null; ) {
269
269
  var s = r.f, n = (s & ($t | Yt)) !== 0, i = n && (s & Ze) !== 0, a = i || (s & gt) !== 0 || this.skipped_effects.has(r);
270
270
  if (!a && r.fn !== null) {
271
- n ? r.f ^= Ze : (s & Us) !== 0 ? this.#s.push(r) : (s & Ze) === 0 && ((s & os) !== 0 && r.b?.is_pending() ? this.#c.push(r) : Nr(r) && ((r.f & Wt) !== 0 && this.#r.push(r), ur(r)));
271
+ n ? r.f ^= Ze : (s & Ws) !== 0 ? this.#s.push(r) : (s & Ze) === 0 && ((s & os) !== 0 && r.b?.is_pending() ? this.#c.push(r) : Nr(r) && ((r.f & Ut) !== 0 && this.#r.push(r), ur(r)));
272
272
  var c = r.first;
273
273
  if (c !== null) {
274
274
  r = c;
@@ -301,7 +301,7 @@ class ut {
301
301
  Ne = this;
302
302
  }
303
303
  deactivate() {
304
- Ne = null, Ur = null;
304
+ Ne = null, Wr = null;
305
305
  for (const e of Ds)
306
306
  if (Ds.delete(e), e(), Ne !== null)
307
307
  break;
@@ -420,7 +420,7 @@ function ln() {
420
420
  }
421
421
  function bo() {
422
422
  try {
423
- Wa();
423
+ Ua();
424
424
  } catch (t) {
425
425
  dr(t, ds);
426
426
  }
@@ -448,7 +448,7 @@ function cn(t) {
448
448
  (r & nt) !== 0 ? cn(
449
449
  /** @type {Derived} */
450
450
  e
451
- ) : (r & (os | Wt)) !== 0 && (Qe(e, ct), Ot(
451
+ ) : (r & (os | Ut)) !== 0 && (Qe(e, ct), Ot(
452
452
  /** @type {Effect} */
453
453
  e
454
454
  ));
@@ -458,7 +458,7 @@ function Ot(t) {
458
458
  for (var e = ds = t; e.parent !== null; ) {
459
459
  e = e.parent;
460
460
  var r = e.f;
461
- if (Ts && e === ve && (r & Wt) !== 0)
461
+ if (Ts && e === ve && (r & Ut) !== 0)
462
462
  return;
463
463
  if ((r & (Yt | $t)) !== 0) {
464
464
  if ((r & Ze) === 0) return;
@@ -477,7 +477,7 @@ function wo(t) {
477
477
  })));
478
478
  };
479
479
  }
480
- var _o = Er | hr | Ws;
480
+ var _o = Er | hr | Us;
481
481
  function xo(t, e, r) {
482
482
  new yo(t, e, r);
483
483
  }
@@ -727,7 +727,7 @@ function Vr(t) {
727
727
  rv: 0,
728
728
  v: (
729
729
  /** @type {V} */
730
- Ue
730
+ We
731
731
  ),
732
732
  wv: 0,
733
733
  parent: r ?? ve,
@@ -750,7 +750,7 @@ function Mo(t, e) {
750
750
  void 0
751
751
  ), i = Vt(
752
752
  /** @type {V} */
753
- Ue
753
+ We
754
754
  ), a = !_e, c = /* @__PURE__ */ new Map();
755
755
  return No(() => {
756
756
  var o = Hi();
@@ -863,7 +863,7 @@ function Co(t, e) {
863
863
  function V(t, e, r = !1) {
864
864
  _e !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
865
865
  // to ensure we error if state is set inside an inspect effect
866
- (!mt || (_e.f & wi) !== 0) && gr() && (_e.f & (nt | Wt | os | wi)) !== 0 && !Rt?.includes(t) && Za();
866
+ (!mt || (_e.f & wi) !== 0) && gr() && (_e.f & (nt | Ut | os | wi)) !== 0 && !Rt?.includes(t) && Za();
867
867
  let s = r ? Mt(e) : e;
868
868
  return jt(t, s);
869
869
  }
@@ -897,7 +897,7 @@ function pn(t, e) {
897
897
  /** @type {Derived} */
898
898
  a,
899
899
  It
900
- ) : o && ((c & Wt) !== 0 && Lt !== null && Lt.push(
900
+ ) : o && ((c & Ut) !== 0 && Lt !== null && Lt.push(
901
901
  /** @type {Effect} */
902
902
  a
903
903
  ), Ot(
@@ -940,11 +940,11 @@ function Mt(t) {
940
940
  var l = r.get(o);
941
941
  if (l === void 0) {
942
942
  if (o in c) {
943
- const d = a(() => /* @__PURE__ */ je(Ue));
943
+ const d = a(() => /* @__PURE__ */ je(We));
944
944
  r.set(o, d), Mr(n);
945
945
  }
946
946
  } else
947
- V(l, Ue), Mr(n);
947
+ V(l, We), Mr(n);
948
948
  return !0;
949
949
  },
950
950
  get(c, o, l) {
@@ -952,11 +952,11 @@ function Mt(t) {
952
952
  return t;
953
953
  var d = r.get(o), u = o in c;
954
954
  if (d === void 0 && (!u || Tt(c, o)?.writable) && (d = a(() => {
955
- var m = Mt(u ? c[o] : Ue), p = /* @__PURE__ */ je(m);
955
+ var m = Mt(u ? c[o] : We), p = /* @__PURE__ */ je(m);
956
956
  return p;
957
957
  }), r.set(o, d)), d !== void 0) {
958
958
  var v = f(d);
959
- return v === Ue ? void 0 : v;
959
+ return v === We ? void 0 : v;
960
960
  }
961
961
  return Reflect.get(c, o, l);
962
962
  },
@@ -967,7 +967,7 @@ function Mt(t) {
967
967
  d && (l.value = f(d));
968
968
  } else if (l === void 0) {
969
969
  var u = r.get(o), v = u?.v;
970
- if (u !== void 0 && v !== Ue)
970
+ if (u !== void 0 && v !== We)
971
971
  return {
972
972
  enumerable: !0,
973
973
  configurable: !0,
@@ -980,14 +980,14 @@ function Mt(t) {
980
980
  has(c, o) {
981
981
  if (o === xt)
982
982
  return !0;
983
- var l = r.get(o), d = l !== void 0 && l.v !== Ue || Reflect.has(c, o);
983
+ var l = r.get(o), d = l !== void 0 && l.v !== We || Reflect.has(c, o);
984
984
  if (l !== void 0 || ve !== null && (!d || Tt(c, o)?.writable)) {
985
985
  l === void 0 && (l = a(() => {
986
- var v = d ? Mt(c[o]) : Ue, m = /* @__PURE__ */ je(v);
986
+ var v = d ? Mt(c[o]) : We, m = /* @__PURE__ */ je(v);
987
987
  return m;
988
988
  }), r.set(o, l));
989
989
  var u = f(l);
990
- if (u === Ue)
990
+ if (u === We)
991
991
  return !1;
992
992
  }
993
993
  return d;
@@ -998,12 +998,12 @@ function Mt(t) {
998
998
  for (var m = l; m < /** @type {Source<number>} */
999
999
  u.v; m += 1) {
1000
1000
  var p = r.get(m + "");
1001
- p !== void 0 ? V(p, Ue) : m in c && (p = a(() => /* @__PURE__ */ je(Ue)), r.set(m + "", p));
1001
+ p !== void 0 ? V(p, We) : m in c && (p = a(() => /* @__PURE__ */ je(We)), r.set(m + "", p));
1002
1002
  }
1003
1003
  if (u === void 0)
1004
1004
  (!v || Tt(c, o)?.writable) && (u = a(() => /* @__PURE__ */ je(void 0)), V(u, Mt(l)), r.set(o, u));
1005
1005
  else {
1006
- v = u.v !== Ue;
1006
+ v = u.v !== We;
1007
1007
  var h = a(() => Mt(l));
1008
1008
  V(u, h);
1009
1009
  }
@@ -1024,10 +1024,10 @@ function Mt(t) {
1024
1024
  f(n);
1025
1025
  var o = Reflect.ownKeys(c).filter((u) => {
1026
1026
  var v = r.get(u);
1027
- return v === void 0 || v.v !== Ue;
1027
+ return v === void 0 || v.v !== We;
1028
1028
  });
1029
1029
  for (var [l, d] of r)
1030
- d.v !== Ue && !(l in c) && o.push(l);
1030
+ d.v !== We && !(l in c) && o.push(l);
1031
1031
  return o;
1032
1032
  },
1033
1033
  setPrototypeOf() {
@@ -1138,7 +1138,7 @@ function fs(t, e, r, s = r) {
1138
1138
  } : t.__on_r = () => s(!0), zo();
1139
1139
  }
1140
1140
  function bn(t) {
1141
- ve === null && _e === null && Ua(), _e !== null && (_e.f & ft) !== 0 && ve === null && Ga(), Qt && ja();
1141
+ ve === null && _e === null && Wa(), _e !== null && (_e.f & ft) !== 0 && ve === null && Ga(), Qt && ja();
1142
1142
  }
1143
1143
  function Eo(t, e) {
1144
1144
  var r = e.last;
@@ -1208,7 +1208,7 @@ function Xr(t) {
1208
1208
  return wn(t);
1209
1209
  }
1210
1210
  function wn(t) {
1211
- return St(Us | Xi, t, !1);
1211
+ return St(Ws | Xi, t, !1);
1212
1212
  }
1213
1213
  function Po(t) {
1214
1214
  return bn(), St(as | Xi, t, !0);
@@ -1223,9 +1223,9 @@ function Lo(t) {
1223
1223
  });
1224
1224
  }
1225
1225
  function Ct(t) {
1226
- return St(Us, t, !1);
1226
+ return St(Ws, t, !1);
1227
1227
  }
1228
- function We(t, e) {
1228
+ function Ue(t, e) {
1229
1229
  var r = (
1230
1230
  /** @type {ComponentContextLegacy} */
1231
1231
  qe
@@ -1259,7 +1259,7 @@ function G(t, e = [], r = []) {
1259
1259
  });
1260
1260
  }
1261
1261
  function Jt(t, e = 0) {
1262
- var r = St(Wt | e, t, !0);
1262
+ var r = St(Ut | e, t, !0);
1263
1263
  return r;
1264
1264
  }
1265
1265
  function tt(t, e = !0) {
@@ -1533,11 +1533,11 @@ function ur(t) {
1533
1533
  var r = ve, s = ar;
1534
1534
  ve = t, ar = !0;
1535
1535
  try {
1536
- (e & Wt) !== 0 ? qo(t) : xn(t), _n(t);
1536
+ (e & Ut) !== 0 ? qo(t) : xn(t), _n(t);
1537
1537
  var n = Tn(t);
1538
1538
  t.teardown = typeof n == "function" ? n : null, t.wv = $n;
1539
1539
  var i;
1540
- Wi && vo && (t.f & ct) !== 0 && t.deps;
1540
+ Ui && vo && (t.f & ct) !== 0 && t.deps;
1541
1541
  } finally {
1542
1542
  ar = s, ve = r;
1543
1543
  }
@@ -1585,7 +1585,7 @@ function f(t) {
1585
1585
  return t.v;
1586
1586
  }
1587
1587
  function zn(t) {
1588
- if (t.v === Ue) return !0;
1588
+ if (t.v === We) return !0;
1589
1589
  if (t.deps === null) return !1;
1590
1590
  for (const e of t.deps)
1591
1591
  if (zt.has(e) || (e.f & nt) !== 0 && zn(
@@ -1669,10 +1669,10 @@ const Go = [
1669
1669
  "touchmove",
1670
1670
  "touchstart"
1671
1671
  ];
1672
- function Uo(t) {
1672
+ function Wo(t) {
1673
1673
  return Go.includes(t);
1674
1674
  }
1675
- const Wo = {
1675
+ const Uo = {
1676
1676
  // no `class: 'className'` because we handle that separately
1677
1677
  formnovalidate: "formNoValidate",
1678
1678
  ismap: "isMap",
@@ -1688,7 +1688,7 @@ const Wo = {
1688
1688
  disableremoteplayback: "disableRemotePlayback"
1689
1689
  };
1690
1690
  function Yo(t) {
1691
- return t = t.toLowerCase(), Wo[t] ?? t;
1691
+ return t = t.toLowerCase(), Uo[t] ?? t;
1692
1692
  }
1693
1693
  const Ho = ["touchstart", "touchmove"];
1694
1694
  function Xo(t) {
@@ -1744,7 +1744,7 @@ function yr(t) {
1744
1744
  }
1745
1745
  if (i = /** @type {Element} */
1746
1746
  n[a] || t.target, i !== e) {
1747
- Wr(t, "currentTarget", {
1747
+ Ur(t, "currentTarget", {
1748
1748
  configurable: !0,
1749
1749
  get() {
1750
1750
  return i || r;
@@ -1940,7 +1940,7 @@ function Qo(t, { target: e, anchor: r, props: s = {}, events: n, context: i, int
1940
1940
  }
1941
1941
  let el = /* @__PURE__ */ new WeakMap();
1942
1942
  function N(t, e, r = !1) {
1943
- var s = t, n = null, i = null, a = Ue, c = r ? Er : 0, o = !1;
1943
+ var s = t, n = null, i = null, a = We, c = r ? Er : 0, o = !1;
1944
1944
  const l = (m, p = !0) => {
1945
1945
  o = !0, v(p, m);
1946
1946
  };
@@ -1970,7 +1970,7 @@ function N(t, e, r = !1) {
1970
1970
  }, c);
1971
1971
  }
1972
1972
  function tl(t, e, r) {
1973
- var s = t, n = Ue, i, a, c = null, o = gr() ? fo : Hs;
1973
+ var s = t, n = We, i, a, c = null, o = gr() ? fo : Hs;
1974
1974
  function l() {
1975
1975
  i && At(i), c !== null && (c.lastChild.remove(), s.before(c), c = null), i = a;
1976
1976
  }
@@ -2496,7 +2496,7 @@ function cl(t, e, r, s, n = !1, i = !1) {
2496
2496
  if (h === "on") {
2497
2497
  const S = {}, w = "$$" + $;
2498
2498
  let y = $.slice(2);
2499
- var b = Uo(y);
2499
+ var b = Wo(y);
2500
2500
  if (jo(y) && (y = y.slice(0, -7), S.capture = !0), !b && p) {
2501
2501
  if (C != null) continue;
2502
2502
  t.removeEventListener(y, l[w], S), l[w] = null;
@@ -2547,7 +2547,7 @@ function cl(t, e, r, s, n = !1, i = !1) {
2547
2547
  }
2548
2548
  } else
2549
2549
  t.removeAttribute($);
2550
- else x || v.includes(k) && (c || typeof C != "string") ? (t[k] = C, k in a && (a[k] = Ue)) : typeof C != "function" && yt(t, k, C);
2550
+ else x || v.includes(k) && (c || typeof C != "string") ? (t[k] = C, k in a && (a[k] = We)) : typeof C != "function" && yt(t, k, C);
2551
2551
  }
2552
2552
  }
2553
2553
  }
@@ -2634,7 +2634,7 @@ function ii(t, e, r = e) {
2634
2634
  if (t === document.activeElement) {
2635
2635
  var i = (
2636
2636
  /** @type {Batch} */
2637
- Ur ?? Ne
2637
+ Wr ?? Ne
2638
2638
  );
2639
2639
  if (s.has(i))
2640
2640
  return;
@@ -2856,7 +2856,7 @@ function Ye() {
2856
2856
  vs(() => {
2857
2857
  for (var r in t)
2858
2858
  t[r].unsubscribe();
2859
- Wr(t, Ns, {
2859
+ Ur(t, Ns, {
2860
2860
  enumerable: !1,
2861
2861
  value: !0
2862
2862
  });
@@ -3136,7 +3136,7 @@ function yl(t, e) {
3136
3136
  return !b || !u[b] ? v : `#${u[b]}`;
3137
3137
  }), d;
3138
3138
  }
3139
- We(() => E(i()), () => {
3139
+ Ue(() => E(i()), () => {
3140
3140
  V(n, a(i()));
3141
3141
  }), st();
3142
3142
  var c = xl(), o = g(c);
@@ -3258,7 +3258,7 @@ function nr(t, e) {
3258
3258
  let P = C();
3259
3259
  return P === 1 ? D.length === 0 ? "" : D : (D !== "" && !D.endsWith(";") && (D += "; "), `${D}font-size: ${P}em`);
3260
3260
  }
3261
- We(
3261
+ Ue(
3262
3262
  () => (E(i()), E(m()), E(c())),
3263
3263
  () => {
3264
3264
  V(a, $(i())), m(), c(), V(h, y()), V(b, I()), V(k, z()), V(x, S());
@@ -3426,7 +3426,7 @@ function hs(t, e) {
3426
3426
  }
3427
3427
  br(() => (window.addEventListener("keydown", l), () => {
3428
3428
  window.removeEventListener("keydown", l);
3429
- })), We(() => E(s()), () => {
3429
+ })), Ue(() => E(s()), () => {
3430
3430
  s() ? (V(i, { x: s().clientX, y: s().clientY + 6 }), V(a, !0)) : V(a, !1);
3431
3431
  }), st(), $e();
3432
3432
  var d = ge(), u = X(d);
@@ -3520,12 +3520,12 @@ function jl(t, e) {
3520
3520
  t.key === "Enter" && (t.preventDefault(), e());
3521
3521
  }
3522
3522
  var Gl = /* @__PURE__ */ T('<div class="bundle-copy-dialog-form svelte-sgftfs"><label for="bundle-name-input" class="bundle-copy-dialog-label svelte-sgftfs">Bundle name</label> <input id="bundle-name-input" type="text" class="bundle-copy-dialog-input svelte-sgftfs" aria-label="Bundle name"/> <div class="bundle-copy-dialog-actions svelte-sgftfs"><!> <!></div></div>');
3523
- const Ul = {
3523
+ const Wl = {
3524
3524
  hash: "svelte-sgftfs",
3525
3525
  code: ".bundle-copy-dialog-form.svelte-sgftfs {display:flex;flex-direction:column;gap:1rem;}.bundle-copy-dialog-label.svelte-sgftfs {font-weight:700;color:var(--text-color-primary);}.bundle-copy-dialog-input.svelte-sgftfs {flex:1;padding:0.5rem;background-color:var(--input-bg);border:1px solid var(--border-color-normal);border-radius:var(--input-border-radius);color:var(--text-color-primary);font-family:inherit;font-size:inherit;}.bundle-copy-dialog-input.svelte-sgftfs:focus {outline:none;border-color:var(--border-color-focused);box-shadow:0 0 0 1px var(--border-color-focused);}.bundle-copy-dialog-actions.svelte-sgftfs {display:flex;justify-content:flex-end;gap:1rem;margin-top:0.5rem;}"
3526
3526
  };
3527
- function Wl(t, e) {
3528
- ce(e, !0), fe(t, Ul);
3527
+ function Ul(t, e) {
3528
+ ce(e, !0), fe(t, Wl);
3529
3529
  let r = H(e, "open", 15, !1), s = /* @__PURE__ */ je(Mt(e.initialName));
3530
3530
  function n() {
3531
3531
  e.onSave?.(e.srcBundle, f(s)), r(!1);
@@ -3581,43 +3581,43 @@ function ac(t, e) {
3581
3581
  ce(e, !0), fe(t, nc);
3582
3582
  let r = /* @__PURE__ */ ht(() => e.side === "left" ? e.bundleManager.activeBundleUrlL : e.bundleManager.activeBundleUrlR), s = /* @__PURE__ */ ht(() => e.bundleManager.bundles), n = /* @__PURE__ */ ht(() => e.bundleManager.loading), i = /* @__PURE__ */ ht(() => e.bundleManager.error), a = /* @__PURE__ */ je(""), c = /* @__PURE__ */ je("date"), o = /* @__PURE__ */ je("desc"), l = /* @__PURE__ */ je(void 0), d = /* @__PURE__ */ je(Mt([])), u = /* @__PURE__ */ je(void 0), v = /* @__PURE__ */ je(!1), m = /* @__PURE__ */ je("");
3583
3583
  const p = /* @__PURE__ */ ht(() => {
3584
- let U = [...f(s)];
3584
+ let W = [...f(s)];
3585
3585
  if (f(a)) {
3586
3586
  const ee = f(s).map((ie) => ({
3587
3587
  bundle: ie,
3588
3588
  name: ie.remote?.name || ie.local?.name || ""
3589
3589
  }));
3590
- U = Va.go(f(a), ee, { keys: ["name"], threshold: -1e4 }).map((ie) => ie.obj.bundle);
3590
+ W = Va.go(f(a), ee, { keys: ["name"], threshold: -1e4 }).map((ie) => ie.obj.bundle);
3591
3591
  }
3592
- return U.sort((ee, re) => {
3592
+ return W.sort((ee, re) => {
3593
3593
  const ie = f(o) === "asc" ? 1 : -1;
3594
3594
  if (f(c) === "date") {
3595
- const K = ee.remote?.lastModified || ee.local?.lastModified || "", W = re.remote?.lastModified || re.local?.lastModified || "";
3596
- return ie * (new Date(K).getTime() - new Date(W).getTime());
3595
+ const K = ee.remote?.lastModified || ee.local?.lastModified || "", U = re.remote?.lastModified || re.local?.lastModified || "";
3596
+ return ie * (new Date(K).getTime() - new Date(U).getTime());
3597
3597
  } else {
3598
- const K = ee.remote?.name || ee.local?.name || "", W = re.remote?.name || re.local?.name || "";
3599
- return ie * K.localeCompare(W);
3598
+ const K = ee.remote?.name || ee.local?.name || "", U = re.remote?.name || re.local?.name || "";
3599
+ return ie * K.localeCompare(U);
3600
3600
  }
3601
3601
  });
3602
3602
  });
3603
3603
  br(() => {
3604
3604
  e.bundleManager.load();
3605
3605
  });
3606
- function h(U) {
3607
- f(c) === U ? V(o, f(o) === "asc" ? "desc" : "asc", !0) : (V(c, U, !0), V(o, "desc"));
3606
+ function h(W) {
3607
+ f(c) === W ? V(o, f(o) === "asc" ? "desc" : "asc", !0) : (V(c, W, !0), V(o, "desc"));
3608
3608
  }
3609
- function b(U) {
3610
- const ee = new Date(U), re = ee.toLocaleDateString(void 0, { day: "numeric", month: "numeric", year: "numeric" }), ie = ee.toLocaleTimeString(void 0, { hour12: !0, hour: "numeric", minute: "2-digit" });
3609
+ function b(W) {
3610
+ const ee = new Date(W), re = ee.toLocaleDateString(void 0, { day: "numeric", month: "numeric", year: "numeric" }), ie = ee.toLocaleTimeString(void 0, { hour12: !0, hour: "numeric", minute: "2-digit" });
3611
3611
  return `${re} at ${ie}`;
3612
3612
  }
3613
3613
  function k() {
3614
3614
  e.bundleManager.load();
3615
3615
  }
3616
- function x(U, ee) {
3617
- U.preventDefault(), V(l, U, !0), V(u, ee, !0), ee.remote ? V(d, [{ key: "save-to-local", displayText: "Save to Local" }], !0) : ee.local && V(d, [{ key: "save-copy", displayText: "Save Copy..." }], !0);
3616
+ function x(W, ee) {
3617
+ W.preventDefault(), V(l, W, !0), V(u, ee, !0), ee.remote ? V(d, [{ key: "save-to-local", displayText: "Save to Local" }], !0) : ee.local && V(d, [{ key: "save-copy", displayText: "Save Copy..." }], !0);
3618
3618
  }
3619
- function $(U) {
3620
- const ee = U.detail;
3619
+ function $(W) {
3620
+ const ee = W.detail;
3621
3621
  if (ee === "save-to-local" && f(u))
3622
3622
  e.bundleManager.downloadBundle(f(u));
3623
3623
  else if (ee === "save-copy" && f(u)) {
@@ -3626,8 +3626,8 @@ function ac(t, e) {
3626
3626
  }
3627
3627
  V(l, void 0);
3628
3628
  }
3629
- function C(U, ee) {
3630
- e.bundleManager.copyBundle(U, ee);
3629
+ function C(W, ee) {
3630
+ e.bundleManager.copyBundle(W, ee);
3631
3631
  }
3632
3632
  function S() {
3633
3633
  V(l, void 0);
@@ -3636,38 +3636,38 @@ function ac(t, e) {
3636
3636
  q.__click = [Yl, h];
3637
3637
  var A = R(g(q));
3638
3638
  {
3639
- var F = (U) => {
3639
+ var F = (W) => {
3640
3640
  var ee = Hl(), re = g(ee);
3641
- G(() => j(re, f(o) === "asc" ? "↑" : "↓")), M(U, ee);
3641
+ G(() => j(re, f(o) === "asc" ? "↑" : "↓")), M(W, ee);
3642
3642
  };
3643
- N(A, (U) => {
3644
- f(c) === "name" && U(F);
3643
+ N(A, (W) => {
3644
+ f(c) === "name" && W(F);
3645
3645
  });
3646
3646
  }
3647
3647
  var Y = R(q, 2);
3648
3648
  Y.__click = [Xl, h];
3649
3649
  var J = R(g(Y));
3650
3650
  {
3651
- var ae = (U) => {
3651
+ var ae = (W) => {
3652
3652
  var ee = Zl(), re = g(ee);
3653
- G(() => j(re, f(o) === "asc" ? "↑" : "↓")), M(U, ee);
3653
+ G(() => j(re, f(o) === "asc" ? "↑" : "↓")), M(W, ee);
3654
3654
  };
3655
- N(J, (U) => {
3656
- f(c) === "date" && U(ae);
3655
+ N(J, (W) => {
3656
+ f(c) === "date" && W(ae);
3657
3657
  });
3658
3658
  }
3659
3659
  var pe = R(L, 2), B = g(pe);
3660
3660
  {
3661
- var O = (U) => {
3661
+ var O = (W) => {
3662
3662
  var ee = Jl();
3663
- M(U, ee);
3664
- }, ne = (U) => {
3663
+ M(W, ee);
3664
+ }, ne = (W) => {
3665
3665
  var ee = ge(), re = X(ee);
3666
3666
  {
3667
- var ie = (W) => {
3667
+ var ie = (U) => {
3668
3668
  var te = Ql();
3669
- M(W, te);
3670
- }, K = (W) => {
3669
+ M(U, te);
3670
+ }, K = (U) => {
3671
3671
  var te = ge(), De = X(te);
3672
3672
  Ie(De, 17, () => f(p), Ee, (Ke, he) => {
3673
3673
  const Ae = /* @__PURE__ */ ht(() => f(he).remote?.url === f(r) || f(he).local?.url === f(r));
@@ -3694,49 +3694,49 @@ function ac(t, e) {
3694
3694
  () => b(f(he).remote?.lastModified || f(he).local?.lastModified || "")
3695
3695
  ]
3696
3696
  ), M(Ke, Me);
3697
- }), M(W, te);
3697
+ }), M(U, te);
3698
3698
  };
3699
3699
  N(
3700
3700
  re,
3701
- (W) => {
3702
- f(s).length === 0 ? W(ie) : W(K, !1);
3701
+ (U) => {
3702
+ f(s).length === 0 ? U(ie) : U(K, !1);
3703
3703
  },
3704
3704
  !0
3705
3705
  );
3706
3706
  }
3707
- M(U, ee);
3707
+ M(W, ee);
3708
3708
  };
3709
- N(B, (U) => {
3710
- f(i) || f(n) ? U(O) : U(ne, !1);
3709
+ N(B, (W) => {
3710
+ f(i) || f(n) ? W(O) : W(ne, !1);
3711
3711
  });
3712
3712
  }
3713
3713
  var se = R(P, 2), ue = g(se), Se = g(ue);
3714
3714
  {
3715
- var Re = (U) => {
3715
+ var Re = (W) => {
3716
3716
  var ee = or("Loading...");
3717
- M(U, ee);
3718
- }, Le = (U) => {
3717
+ M(W, ee);
3718
+ }, Le = (W) => {
3719
3719
  var ee = ge(), re = X(ee);
3720
3720
  {
3721
- var ie = (W) => {
3721
+ var ie = (U) => {
3722
3722
  var te = or();
3723
- G(() => j(te, f(i))), M(W, te);
3724
- }, K = (W) => {
3723
+ G(() => j(te, f(i))), M(U, te);
3724
+ }, K = (U) => {
3725
3725
  var te = or();
3726
- G(() => j(te, `${f(s).length ?? ""} ${f(s).length === 1 ? "bundle" : "bundles"}`)), M(W, te);
3726
+ G(() => j(te, `${f(s).length ?? ""} ${f(s).length === 1 ? "bundle" : "bundles"}`)), M(U, te);
3727
3727
  };
3728
3728
  N(
3729
3729
  re,
3730
- (W) => {
3731
- f(i) ? W(ie) : W(K, !1);
3730
+ (U) => {
3731
+ f(i) ? U(ie) : U(K, !1);
3732
3732
  },
3733
3733
  !0
3734
3734
  );
3735
3735
  }
3736
- M(U, ee);
3736
+ M(W, ee);
3737
3737
  };
3738
- N(Se, (U) => {
3739
- f(n) ? U(Re) : U(Le, !1);
3738
+ N(Se, (W) => {
3739
+ f(n) ? W(Re) : W(Le, !1);
3740
3740
  });
3741
3741
  }
3742
3742
  var Ce = R(ue, 2);
@@ -3748,8 +3748,8 @@ function ac(t, e) {
3748
3748
  });
3749
3749
  var Pe = R(y, 2);
3750
3750
  {
3751
- var be = (U) => {
3752
- hs(U, {
3751
+ var be = (W) => {
3752
+ hs(W, {
3753
3753
  get items() {
3754
3754
  return f(d);
3755
3755
  },
@@ -3762,12 +3762,12 @@ function ac(t, e) {
3762
3762
  }
3763
3763
  });
3764
3764
  };
3765
- N(Pe, (U) => {
3766
- f(l) && U(be);
3765
+ N(Pe, (W) => {
3766
+ f(l) && W(be);
3767
3767
  });
3768
3768
  }
3769
3769
  var ke = R(Pe, 2);
3770
- Wl(ke, {
3770
+ Ul(ke, {
3771
3771
  get srcBundle() {
3772
3772
  return f(u);
3773
3773
  },
@@ -3778,10 +3778,10 @@ function ac(t, e) {
3778
3778
  get open() {
3779
3779
  return f(v);
3780
3780
  },
3781
- set open(U) {
3782
- V(v, U, !0);
3781
+ set open(W) {
3782
+ V(v, W, !0);
3783
3783
  }
3784
- }), G(() => Ve(y, 1, `bundle-selector ${e.side ?? ""}`, "svelte-zzpifv")), ii(D, () => f(a), (U) => V(a, U)), M(t, w), de();
3784
+ }), G(() => Ve(y, 1, `bundle-selector ${e.side ?? ""}`, "svelte-zzpifv")), ii(D, () => f(a), (W) => V(a, W)), M(t, w), de();
3785
3785
  }
3786
3786
  Pt(["click", "contextmenu", "keydown"]);
3787
3787
  var oc = /* @__PURE__ */ T('<div class="bundle-selector-popover svelte-1sz9kyj"><div class="bundle-selector-popover-header svelte-1sz9kyj"><div class="bundle-selector-popover-header-title svelte-1sz9kyj">Select Bundle</div> <!></div> <!></div>');
@@ -3893,7 +3893,7 @@ function rs(t, e) {
3893
3893
  zr(h.kind);
3894
3894
  }
3895
3895
  }
3896
- We(
3896
+ Ue(
3897
3897
  () => (f(c), f(o), E(i()), f(l)),
3898
3898
  () => {
3899
3899
  (f(c) !== f(o) || i().requestKey !== f(l)?.requestKey) && (f(l)?.clearData(), V(o, f(c)), V(l, i()), kt(V(a, i().content), "$content", s), f(c) && i().requestData());
@@ -3993,7 +3993,7 @@ function rs(t, e) {
3993
3993
  M(t, u), de(), n();
3994
3994
  }
3995
3995
  let kc = 1;
3996
- class Un {
3996
+ class Wn {
3997
3997
  constructor(e, r, s, n, i) {
3998
3998
  this.dataCoordinator = r, this.bundle = s, this.scenario = n, this.graphSpec = i, this.dataRequested = !1, this.dataLoaded = !1;
3999
3999
  const a = s === "right" ? e.bundleR : e.bundleL;
@@ -4047,12 +4047,12 @@ function ci(t, e) {
4047
4047
  return r + 1;
4048
4048
  return e.length + 1;
4049
4049
  }
4050
- function Wn(t) {
4050
+ function Un(t) {
4051
4051
  return t === void 0 ? !0 : t.some(
4052
4052
  (e, r) => r > 0 && r < t.length - 1 && e > 0
4053
4053
  );
4054
4054
  }
4055
- function Ut(t, e) {
4055
+ function Wt(t, e) {
4056
4056
  return `<span class="dataset-color-${e === "left" ? 0 : 1}">${t}</span>`;
4057
4057
  }
4058
4058
  function lr(t) {
@@ -4083,12 +4083,13 @@ class Yn {
4083
4083
  "right",
4084
4084
  this.scenario.specR,
4085
4085
  e,
4086
+ void 0,
4086
4087
  (s, n) => {
4087
4088
  if (!this.dataRequested)
4088
4089
  return;
4089
4090
  const i = this.scenario.settings.kind === "all-inputs-settings" && this.scenario.settings.position === "at-default", a = this.baselineTestSummary?.md ?? 0, c = this.baselineTestSummary?.ad ?? 0, o = Mc(this.scenario.key, this.datasetKey, s, n), l = ba(o, a, c), d = (F) => {
4090
4091
  const Y = this.comparisonConfig, J = F === "left" ? Y.bundleL.name : Y.bundleR.name;
4091
- return `Data only defined in ${Ut(J, F)}`;
4092
+ return `Data only defined in ${Wt(J, F)}`;
4092
4093
  }, u = o.diffReport;
4093
4094
  let v, m, p, h;
4094
4095
  switch (u.validity) {
@@ -4262,7 +4263,7 @@ function Tr(t, e, r, s, n, i, a, c, o) {
4262
4263
  function Rc(t) {
4263
4264
  const e = t.comparisonConfig, r = t.dataCoordinator, s = e.bundleL.modelSpec, n = e.bundleR.modelSpec;
4264
4265
  function i(o, l, d) {
4265
- return new Un(e, r, d, o, l);
4266
+ return new Wn(e, r, d, o, l);
4266
4267
  }
4267
4268
  const a = e.datasets.getContextGraphIdsForDataset(t.datasetKey, t.scenario), c = [];
4268
4269
  for (const o of a) {
@@ -4301,7 +4302,7 @@ const zi = "#444", jr = "Roboto Condensed", Ei = 14, Vi = "#777", Pi = "rgba(0,
4301
4302
  e.restore();
4302
4303
  }
4303
4304
  };
4304
- Ui.pluginService.register(Cc);
4305
+ Wi.pluginService.register(Cc);
4305
4306
  class $c {
4306
4307
  constructor(e, r) {
4307
4308
  this.canvas = e, this.viewModel = r, this.chart = Ic(e, r);
@@ -4381,7 +4382,7 @@ function Ic(t, e) {
4381
4382
  for (const d of e.plots)
4382
4383
  i(d);
4383
4384
  const a = e.xMin, c = e.xMax, o = a === 1990, l = c !== void 0 ? c : n;
4384
- return s("hidden-y-min", l, e.yMin), s("hidden-y-max", l, e.yMax), new Ui(t, {
4385
+ return s("hidden-y-min", l, e.yMin), s("hidden-y-max", l, e.yMax), new Wi(t, {
4385
4386
  type: "line",
4386
4387
  data: {
4387
4388
  datasets: r
@@ -4470,7 +4471,7 @@ function ms(t, e) {
4470
4471
  }
4471
4472
  br(() => (a(), () => {
4472
4473
  f(n)?.destroy(), V(n, void 0);
4473
- })), We(
4474
+ })), Ue(
4474
4475
  () => (f(n), E(r()), f(i)),
4475
4476
  () => {
4476
4477
  f(n) && r().key !== f(i) && a();
@@ -4529,7 +4530,7 @@ function Hn(t, e) {
4529
4530
  function b(w) {
4530
4531
  return w != null ? `${w.toFixed(2)}` : "n/a";
4531
4532
  }
4532
- We(
4533
+ Ue(
4533
4534
  () => (f(c), f(o), E(i()), f(l)),
4534
4535
  () => {
4535
4536
  (f(c) !== f(o) || i().requestKey !== f(l)?.requestKey) && (f(l)?.clearData(), V(o, f(c)), V(l, i()), kt(V(a, i().content), "$content", s), f(c) && i().requestData());
@@ -4586,20 +4587,20 @@ function Hn(t, e) {
4586
4587
  Te(be, () => (r(), _(() => h(r()))));
4587
4588
  var ke = R(Ce, 2);
4588
4589
  {
4589
- var U = (ie) => {
4590
- var K = Pc(), W = R(g(K), 2), te = g(W);
4590
+ var W = (ie) => {
4591
+ var K = Pc(), U = R(g(K), 2), te = g(U);
4591
4592
  G((De) => j(te, De), [
4592
4593
  () => (r(), _(() => b(r().maxDiffRelativeToBaseline)))
4593
4594
  ]), M(ie, K);
4594
4595
  };
4595
4596
  N(ke, (ie) => {
4596
- E(i()), _(() => i().sortMode === "max-diff-relative") && ie(U);
4597
+ E(i()), _(() => i().sortMode === "max-diff-relative") && ie(W);
4597
4598
  });
4598
4599
  }
4599
4600
  var ee = R(ke, 2);
4600
4601
  {
4601
4602
  var re = (ie) => {
4602
- var K = Lc(), W = R(g(K), 2), te = g(W);
4603
+ var K = Lc(), U = R(g(K), 2), te = g(U);
4603
4604
  G((De) => j(te, De), [
4604
4605
  () => (r(), _(() => b(r().avgDiffRelativeToBaseline)))
4605
4606
  ]), M(ie, K);
@@ -4648,7 +4649,7 @@ function Hn(t, e) {
4648
4649
  $$legacy: !0
4649
4650
  }), M(t, k), de(), n();
4650
4651
  }
4651
- var Ac = /* @__PURE__ */ T('<div class="subtitle svelte-p46ums"><!></div>'), Bc = /* @__PURE__ */ T('<div class="title-row svelte-p46ums"><div class="title svelte-p46ums"><!></div> <!></div>'), Oc = /* @__PURE__ */ T('<div class="spacer-fixed svelte-p46ums"></div>'), jc = /* @__PURE__ */ T("<!> <div><!></div>", 1), Gc = /* @__PURE__ */ T('<div class="context-graph-row svelte-p46ums"><!> <div class="context-graph-spacer svelte-p46ums"></div> <!></div>'), Uc = /* @__PURE__ */ T('<div class="context-graphs-container svelte-p46ums"><div></div> <div class="context-graphs-column svelte-p46ums"><!></div></div>'), Wc = /* @__PURE__ */ T('<div class="detail-row svelte-p46ums"><!> <div class="boxes svelte-p46ums"></div> <!></div>');
4652
+ var Ac = /* @__PURE__ */ T('<div class="subtitle svelte-p46ums"><!></div>'), Bc = /* @__PURE__ */ T('<div class="title-row svelte-p46ums"><div class="title svelte-p46ums"><!></div> <!></div>'), Oc = /* @__PURE__ */ T('<div class="spacer-fixed svelte-p46ums"></div>'), jc = /* @__PURE__ */ T("<!> <div><!></div>", 1), Gc = /* @__PURE__ */ T('<div class="context-graph-row svelte-p46ums"><!> <div class="context-graph-spacer svelte-p46ums"></div> <!></div>'), Wc = /* @__PURE__ */ T('<div class="context-graphs-container svelte-p46ums"><div></div> <div class="context-graphs-column svelte-p46ums"><!></div></div>'), Uc = /* @__PURE__ */ T('<div class="detail-row svelte-p46ums"><!> <div class="boxes svelte-p46ums"></div> <!></div>');
4652
4653
  const Yc = {
4653
4654
  hash: "svelte-p46ums",
4654
4655
  code: ".detail-row.svelte-p46ums {display:flex;flex-direction:column;}.title-row.svelte-p46ums {align-items:baseline;margin-bottom:0.5rem;}.title.svelte-p46ums {margin-right:0.8rem;font-size:1.5em;font-weight:700;}.subtitle.svelte-p46ums {font-size:1.3em;color:#aaa;}.subtitle.svelte-p46ums .subtitle-sep {color:#666;}.boxes.svelte-p46ums {display:flex;flex-direction:row;}.box-container.dimmed.svelte-p46ums {opacity:0.2;}.spacer-fixed.svelte-p46ums {min-width:1.5rem;}.context-graphs-container.svelte-p46ums {display:inline-flex;flex-direction:row;margin-top:1rem;padding:0 1rem;background-color:#555;}.context-graphs-column.svelte-p46ums {display:inline-flex;flex-direction:column;}.context-graph-row.svelte-p46ums {display:flex;flex-direction:row;width:77.5rem;margin:1rem 0;}.context-graph-spacer.svelte-p46ums {min-width:1.5rem;}"
@@ -4673,10 +4674,10 @@ function Li(t, e) {
4673
4674
  function l(b) {
4674
4675
  return b === void 0 ? 0 : r().boxes.length > 0 ? (b + 0.5) / r().boxes.length * 100 : 0;
4675
4676
  }
4676
- We(() => E(r()), () => {
4677
+ Ue(() => E(r()), () => {
4677
4678
  r() && (V(s, void 0), V(n, void 0));
4678
4679
  }), st(), $e();
4679
- var d = Wc(), u = g(d);
4680
+ var d = Uc(), u = g(d);
4680
4681
  {
4681
4682
  var v = (b) => {
4682
4683
  var k = Bc(), x = g(k), $ = g(x);
@@ -4733,7 +4734,7 @@ function Li(t, e) {
4733
4734
  var p = R(m, 2);
4734
4735
  {
4735
4736
  var h = (b) => {
4736
- var k = Uc(), x = g(k), $ = R(x, 2), C = g($);
4737
+ var k = Wc(), x = g(k), $ = R(x, 2), C = g($);
4737
4738
  {
4738
4739
  var S = (w) => {
4739
4740
  var y = ge(), I = X(y);
@@ -4970,24 +4971,24 @@ function Cd(t, e) {
4970
4971
  switch (K) {
4971
4972
  case "detail-previous":
4972
4973
  case "detail-next": {
4973
- let W;
4974
+ let U;
4974
4975
  switch (a().kind) {
4975
4976
  case "freeform-view":
4976
4977
  case "scenario-view":
4977
- W = "views";
4978
+ U = "views";
4978
4979
  break;
4979
4980
  case "scenario":
4980
- W = "by-scenario";
4981
+ U = "by-scenario";
4981
4982
  break;
4982
4983
  case "dataset":
4983
- W = "by-dataset";
4984
+ U = "by-dataset";
4984
4985
  break;
4985
4986
  default:
4986
4987
  zr(a().kind);
4987
4988
  }
4988
4989
  k("command", {
4989
4990
  cmd: K === "detail-previous" ? "show-comparison-detail-for-previous" : "show-comparison-detail-for-next",
4990
- kind: W,
4991
+ kind: U,
4991
4992
  summaryRowKey: a().summaryRowKey
4992
4993
  });
4993
4994
  break;
@@ -4998,11 +4999,11 @@ function Cd(t, e) {
4998
4999
  }
4999
5000
  }
5000
5001
  function $(K) {
5001
- const W = K.detail?.kind;
5002
- switch (W) {
5002
+ const U = K.detail?.kind;
5003
+ switch (U) {
5003
5004
  case "box":
5004
5005
  case "row": {
5005
- const te = K.detail.itemKey, De = ze(a().pinnedItemState.getPinned(te)), Ke = De ? "Unpin" : "Pin", he = W === "row" ? "Row" : f(c);
5006
+ const te = K.detail.itemKey, De = ze(a().pinnedItemState.getPinned(te)), Ke = De ? "Unpin" : "Pin", he = U === "row" ? "Row" : f(c);
5006
5007
  if (v = te, m = K.detail.scenario, V(p, [
5007
5008
  { key: "toggle-item-pinned", displayText: `${Ke} ${he}` }
5008
5009
  ]), De) {
@@ -5025,13 +5026,13 @@ function Cd(t, e) {
5025
5026
  }
5026
5027
  function S(K) {
5027
5028
  V(h, void 0);
5028
- const W = v, te = K.detail;
5029
+ const U = v, te = K.detail;
5029
5030
  switch (te) {
5030
5031
  case "toggle-item-pinned":
5031
- a().pinnedItemState.toggleItemPinned(W);
5032
+ a().pinnedItemState.toggleItemPinned(U);
5032
5033
  break;
5033
5034
  case "move-item-to-top":
5034
- a().pinnedItemState.moveItemToTop(W);
5035
+ a().pinnedItemState.moveItemToTop(U);
5035
5036
  break;
5036
5037
  case "show-trace-view":
5037
5038
  k("command", {
@@ -5053,7 +5054,7 @@ function Cd(t, e) {
5053
5054
  }
5054
5055
  br(() => {
5055
5056
  f(u).focus();
5056
- }), We(
5057
+ }), Ue(
5057
5058
  () => (E(a()), f(c), f(u)),
5058
5059
  () => {
5059
5060
  if (a()) {
@@ -5095,8 +5096,8 @@ function Cd(t, e) {
5095
5096
  var z = g(I), D = g(z), P = g(D), L = g(P);
5096
5097
  {
5097
5098
  var q = (K) => {
5098
- var W = fd(), te = g(W);
5099
- Te(te, () => (E(a()), _(() => a().pretitle))), M(K, W);
5099
+ var U = fd(), te = g(U);
5100
+ Te(te, () => (E(a()), _(() => a().pretitle))), M(K, U);
5100
5101
  };
5101
5102
  N(L, (K) => {
5102
5103
  E(a()), _(() => a().pretitle) && K(q);
@@ -5107,8 +5108,8 @@ function Cd(t, e) {
5107
5108
  var J = R(F, 2);
5108
5109
  {
5109
5110
  var ae = (K) => {
5110
- var W = vd(), te = g(W);
5111
- Te(te, () => (E(a()), _(() => a().subtitle))), M(K, W);
5111
+ var U = vd(), te = g(U);
5112
+ Te(te, () => (E(a()), _(() => a().subtitle))), M(K, U);
5112
5113
  };
5113
5114
  N(J, (K) => {
5114
5115
  E(a()), _(() => a().subtitle) && K(ae);
@@ -5117,8 +5118,8 @@ function Cd(t, e) {
5117
5118
  var pe = R(J, 2);
5118
5119
  {
5119
5120
  var B = (K) => {
5120
- var W = pd(), te = g(W);
5121
- Te(te, () => (E(a()), _(() => a().annotations))), M(K, W);
5121
+ var U = pd(), te = g(U);
5122
+ Te(te, () => (E(a()), _(() => a().annotations))), M(K, U);
5122
5123
  };
5123
5124
  N(pe, (K) => {
5124
5125
  E(a()), _(() => a().annotations) && K(B);
@@ -5127,7 +5128,7 @@ function Cd(t, e) {
5127
5128
  var O = R(P, 4), ne = g(O), se = R(ne, 4), ue = R(D, 2);
5128
5129
  {
5129
5130
  var Se = (K) => {
5130
- var W = md(), te = g(W), De = g(te), Ke = R(te, 2);
5131
+ var U = md(), te = g(U), De = g(te), Ke = R(te, 2);
5131
5132
  Ie(
5132
5133
  Ke,
5133
5134
  5,
@@ -5137,7 +5138,7 @@ function Cd(t, e) {
5137
5138
  var Me = hd(), Fe = g(Me);
5138
5139
  Te(Fe, () => f(Ae)), M(he, Me);
5139
5140
  }
5140
- ), G(() => j(De, (E(a()), _(() => a().relatedListHeader)))), M(K, W);
5141
+ ), G(() => j(De, (E(a()), _(() => a().relatedListHeader)))), M(K, U);
5141
5142
  };
5142
5143
  N(ue, (K) => {
5143
5144
  f(b), E(a()), _(() => f(b) && a().relatedItems.length > 0) && K(Se);
@@ -5146,7 +5147,7 @@ function Cd(t, e) {
5146
5147
  var Re = R(z, 2), Le = g(Re), Ce = g(Le);
5147
5148
  {
5148
5149
  var Pe = (K) => {
5149
- var W = _d(), te = X(W);
5150
+ var U = _d(), te = X(U);
5150
5151
  Ie(
5151
5152
  te,
5152
5153
  1,
@@ -5183,7 +5184,7 @@ function Cd(t, e) {
5183
5184
  r(), _(() => r().length === 0) && he(Ke);
5184
5185
  });
5185
5186
  }
5186
- M(K, W);
5187
+ M(K, U);
5187
5188
  };
5188
5189
  N(Ce, (K) => {
5189
5190
  E(a()), _(() => a().graphSections.length > 0) && K(Pe);
@@ -5192,7 +5193,7 @@ function Cd(t, e) {
5192
5193
  var be = R(Ce, 2);
5193
5194
  {
5194
5195
  var ke = (K) => {
5195
- var W = yd(), te = X(W), De = g(te), Ke = R(te, 2);
5196
+ var U = yd(), te = X(U), De = g(te), Ke = R(te, 2);
5196
5197
  Ie(Ke, 1, r, Ee, (he, Ae) => {
5197
5198
  var Me = xd(), Fe = g(Me);
5198
5199
  Li(Fe, {
@@ -5201,28 +5202,28 @@ function Cd(t, e) {
5201
5202
  },
5202
5203
  $$events: { "show-context-menu": $ }
5203
5204
  }), M(he, Me);
5204
- }), G(() => j(De, `Pinned ${f(o) ?? ""}`)), M(K, W);
5205
+ }), G(() => j(De, `Pinned ${f(o) ?? ""}`)), M(K, U);
5205
5206
  };
5206
5207
  N(be, (K) => {
5207
5208
  r(), _(() => r().length > 0) && K(ke);
5208
5209
  });
5209
5210
  }
5210
- var U = R(be, 2);
5211
+ var W = R(be, 2);
5211
5212
  {
5212
5213
  var ee = (K) => {
5213
- var W = kd(), te = g(W);
5214
- G(() => j(te, `All ${f(o) ?? ""}`)), M(K, W);
5214
+ var U = kd(), te = g(U);
5215
+ G(() => j(te, `All ${f(o) ?? ""}`)), M(K, U);
5215
5216
  };
5216
- N(U, (K) => {
5217
+ N(W, (K) => {
5217
5218
  r(), _(() => r().length > 0) && K(ee);
5218
5219
  });
5219
5220
  }
5220
- var re = R(U, 2);
5221
- Ie(re, 1, s, Ee, (K, W) => {
5221
+ var re = R(W, 2);
5222
+ Ie(re, 1, s, Ee, (K, U) => {
5222
5223
  var te = Sd(), De = g(te);
5223
5224
  Li(De, {
5224
5225
  get viewModel() {
5225
- return f(W);
5226
+ return f(U);
5226
5227
  },
5227
5228
  $$events: { "show-context-menu": $ }
5228
5229
  }), M(K, te);
@@ -5405,26 +5406,26 @@ function Bd(t, e) {
5405
5406
  ), M(t, n), de();
5406
5407
  }
5407
5408
  Pt(["click"]);
5408
- var Od = /* @__PURE__ */ T('<div class="freeform-item-subtitle"><!></div>'), jd = /* @__PURE__ */ T('<div class="freeform-item-title-row no-selection"><div class="freeform-item-title svelte-gipzah"><!></div> <!></div>'), Gd = /* @__PURE__ */ T('<div class="freeform-item-content"><div class="freeform-item-graph-container"><!></div></div>'), Ud = /* @__PURE__ */ T('<div class="freeform-item svelte-gipzah"><!> <div class="freeform-item-content-container"><!></div></div>');
5409
- const Wd = {
5409
+ var Od = /* @__PURE__ */ T('<div class="freeform-item-subtitle"><!></div>'), jd = /* @__PURE__ */ T('<div class="freeform-item-title-row no-selection"><div class="freeform-item-title svelte-gipzah"><!></div> <!></div>'), Gd = /* @__PURE__ */ T('<div class="freeform-item-content"><div class="freeform-item-graph-container"><!></div></div>'), Wd = /* @__PURE__ */ T('<div class="freeform-item svelte-gipzah"><!> <div class="freeform-item-content-container"><!></div></div>');
5410
+ const Ud = {
5410
5411
  hash: "svelte-gipzah",
5411
5412
  code: ".freeform-item.svelte-gipzah {display:flex;flex-direction:column;width:240px;height:200px;min-height:200px;border:solid 0.5px red;}.freeform-item-title.svelte-gipzah {font-size:10px;color:#fff;}"
5412
5413
  };
5413
5414
  function Yd(t, e) {
5414
- ce(e, !1), fe(t, Wd);
5415
+ ce(e, !1), fe(t, Ud);
5415
5416
  const r = () => le(f(a), "$content", s), [s, n] = Ye();
5416
5417
  let i = H(e, "viewModel", 8), a = /* @__PURE__ */ Z(i().content), c = /* @__PURE__ */ Z(!1), o = /* @__PURE__ */ Z(f(c)), l = /* @__PURE__ */ Z();
5417
5418
  const d = pt();
5418
5419
  function u() {
5419
5420
  d("toggle");
5420
5421
  }
5421
- We(
5422
+ Ue(
5422
5423
  () => (f(c), f(o), E(i()), f(l)),
5423
5424
  () => {
5424
5425
  (f(c) !== f(o) || i().requestKey !== f(l)?.requestKey) && (f(l)?.clearData(), V(o, f(c)), V(l, i()), kt(V(a, i().content), "$content", s), f(c) && i().requestData());
5425
5426
  }
5426
5427
  ), st(), $e();
5427
- var v = Ud(), m = g(v);
5428
+ var v = Wd(), m = g(v);
5428
5429
  {
5429
5430
  var p = (k) => {
5430
5431
  var x = jd(), $ = g(x), C = g($);
@@ -5561,12 +5562,12 @@ function cu(t, e) {
5561
5562
  Te(Pe, () => (n(), _(() => n()[0])));
5562
5563
  var be = R(Ce, 2), ke = g(be);
5563
5564
  Te(ke, () => (n(), _(() => n()[1])));
5564
- var U = R(be, 2), ee = g(U);
5565
+ var W = R(be, 2), ee = g(W);
5565
5566
  Te(ee, () => (n(), _(() => n()[2])));
5566
- var re = R(U, 2), ie = g(re);
5567
+ var re = R(W, 2), ie = g(re);
5567
5568
  Te(ie, () => (n(), _(() => n()[3])));
5568
- var K = R(re, 2), W = g(K);
5569
- Te(W, () => (n(), _(() => n()[4])));
5569
+ var K = R(re, 2), U = g(K);
5570
+ Te(U, () => (n(), _(() => n()[4])));
5570
5571
  var te = R(Le, 4), De = g(te);
5571
5572
  {
5572
5573
  var Ke = (Me) => {
@@ -5625,13 +5626,13 @@ function cu(t, e) {
5625
5626
  Ie(
5626
5627
  K,
5627
5628
  4,
5628
- () => _(() => Array.from({ length: Math.floor(navigator.hardwareConcurrency / 2) }, (W, te) => te + 1)),
5629
+ () => _(() => Array.from({ length: Math.floor(navigator.hardwareConcurrency / 2) }, (U, te) => te + 1)),
5629
5630
  Ee,
5630
- (W, te) => {
5631
+ (U, te) => {
5631
5632
  var De = iu(), Ke = g(De), he = {};
5632
5633
  G(() => {
5633
5634
  ri(De, te === r()), j(Ke, te), he !== (he = te) && (De.value = (De.__value = te) ?? "");
5634
- }), M(W, De);
5635
+ }), M(U, De);
5635
5636
  }
5636
5637
  ), me("change", K, I), M(re, ie);
5637
5638
  };
@@ -5652,7 +5653,7 @@ function cu(t, e) {
5652
5653
  Ce.value = Ce.__value = "max-diff-relative";
5653
5654
  var Pe = R(Ce);
5654
5655
  Pe.value = Pe.__value = "avg-diff-relative";
5655
- var be = R(Se, 4), ke = R(be, 8), U = R(ke, 2), ee = g(U);
5656
+ var be = R(Se, 4), ke = R(be, 8), W = R(ke, 2), ee = g(W);
5656
5657
  G((re) => j(ee, re), [() => (o(), _(() => `${o().toFixed(1)}x`))]), Kn(Se, a, (re) => ir(k, re)), jn(be, c, (re) => ir(b, re)), ii(ke, o, (re) => ir(h, re)), M(O, ne);
5657
5658
  };
5658
5659
  N(pe, (O) => {
@@ -5762,7 +5763,7 @@ function yu(t, e) {
5762
5763
  ce(e, !1), fe(t, xu);
5763
5764
  const r = () => le(f(a), "$content", s), [s, n] = Ye();
5764
5765
  let i = H(e, "viewModel", 8), a = /* @__PURE__ */ Z(i().content), c = /* @__PURE__ */ Z(!1), o = /* @__PURE__ */ Z(f(c)), l = /* @__PURE__ */ Z();
5765
- We(
5766
+ Ue(
5766
5767
  () => (f(c), f(o), E(i()), f(l)),
5767
5768
  () => {
5768
5769
  (f(c) !== f(o) || i().baseRequestKey !== f(l)?.baseRequestKey) && (f(l)?.clearData(), V(o, f(c)), V(l, i()), kt(V(a, i().content), "$content", s), f(c) && i().requestData());
@@ -5810,9 +5811,9 @@ function Xn(t, e) {
5810
5811
  function u(x) {
5811
5812
  o().scenarioReport?.checkScenario?.spec && (x.preventDefault(), l()?.(x, o()));
5812
5813
  }
5813
- We(() => E(o()), () => {
5814
+ Ue(() => E(o()), () => {
5814
5815
  kt(V(a, o().childRows), "$childRows", n);
5815
- }), We(() => E(o()), () => {
5816
+ }), Ue(() => E(o()), () => {
5816
5817
  kt(V(c, o().expanded), "$expanded", n);
5817
5818
  }), st(), $e();
5818
5819
  var v = Mu(), m = X(v), p = g(m), h = g(p);
@@ -6026,13 +6027,13 @@ function Au(t, e) {
6026
6027
  }
6027
6028
  }), M(t, d), de();
6028
6029
  }
6029
- var Bu = /* @__PURE__ */ T('<div class="bar striped svelte-st0o1s"></div>'), Ou = /* @__PURE__ */ T('<div class="bar bucket-bg-0 svelte-st0o1s"></div> <div class="bar bucket-bg-1 svelte-st0o1s"></div> <div class="bar bucket-bg-2 svelte-st0o1s"></div> <div class="bar bucket-bg-3 svelte-st0o1s"></div> <div class="bar bucket-bg-4 svelte-st0o1s"></div> <div class="bar bucket-bg-5 svelte-st0o1s"></div>', 1), ju = /* @__PURE__ */ T('<div class="subtitle svelte-st0o1s"><!></div>'), Gu = /* @__PURE__ */ T('<div class="annotations svelte-st0o1s"><!></div>'), Uu = /* @__PURE__ */ T('<div class="summary-row svelte-st0o1s"><div class="bar-container svelte-st0o1s"><!></div> <div class="title-container svelte-st0o1s"><div class="title-part svelte-st0o1s"><div class="title svelte-st0o1s"><!></div> <!> <!></div></div></div>');
6030
- const Wu = {
6030
+ var Bu = /* @__PURE__ */ T('<div class="bar striped svelte-st0o1s"></div>'), Ou = /* @__PURE__ */ T('<div class="bar bucket-bg-0 svelte-st0o1s"></div> <div class="bar bucket-bg-1 svelte-st0o1s"></div> <div class="bar bucket-bg-2 svelte-st0o1s"></div> <div class="bar bucket-bg-3 svelte-st0o1s"></div> <div class="bar bucket-bg-4 svelte-st0o1s"></div> <div class="bar bucket-bg-5 svelte-st0o1s"></div>', 1), ju = /* @__PURE__ */ T('<div class="subtitle svelte-st0o1s"><!></div>'), Gu = /* @__PURE__ */ T('<div class="annotations svelte-st0o1s"><!></div>'), Wu = /* @__PURE__ */ T('<div class="summary-row svelte-st0o1s"><div class="bar-container svelte-st0o1s"><!></div> <div class="title-container svelte-st0o1s"><div class="title-part svelte-st0o1s"><div class="title svelte-st0o1s"><!></div> <!> <!></div></div></div>');
6031
+ const Uu = {
6031
6032
  hash: "svelte-st0o1s",
6032
6033
  code: ".summary-row.svelte-st0o1s {display:flex;flex-direction:row;flex:0 0 auto;align-items:flex-end;margin:0.2rem 0;opacity:0.8;}.summary-row.svelte-st0o1s:hover {opacity:1;}.bar-container.svelte-st0o1s {display:flex;flex-direction:row;width:15rem;height:0.8rem;margin-bottom:0.25rem;cursor:pointer;}.bar.svelte-st0o1s {height:0.8rem;}.bar.striped.svelte-st0o1s {width:100%;background:repeating-linear-gradient(-45deg, goldenrod, goldenrod 0.4rem, darkgoldenrod 0.4rem, darkgoldenrod 1rem);}.title-container.svelte-st0o1s {display:flex;flex-direction:column;margin-left:0.8rem;}.title-part.svelte-st0o1s {display:flex;flex-direction:row;align-items:baseline;}.title.svelte-st0o1s {color:#fff;cursor:pointer;}.subtitle.svelte-st0o1s {font-size:0.8em;margin-left:0.6rem;color:#aaa;cursor:pointer;}.annotations.svelte-st0o1s {font-size:0.8em;margin-left:0.3rem;color:#aaa;}.annotations.svelte-st0o1s .annotation {margin:0 0.3rem;padding:0.1rem 0.3rem;background-color:#1c1c1c;border:0.5px solid #555;border-radius:0.4rem;}"
6033
6034
  };
6034
6035
  function Yu(t, e) {
6035
- ce(e, !1), fe(t, Wu);
6036
+ ce(e, !1), fe(t, Uu);
6036
6037
  let r = H(e, "viewModel", 8);
6037
6038
  const s = r().diffPercentByBucket, n = pt();
6038
6039
  function i() {
@@ -6046,7 +6047,7 @@ function Yu(t, e) {
6046
6047
  });
6047
6048
  }
6048
6049
  $e();
6049
- var c = Uu(), o = g(c), l = g(o);
6050
+ var c = Wu(), o = g(c), l = g(o);
6050
6051
  {
6051
6052
  var d = (C) => {
6052
6053
  var S = Bu();
@@ -6189,7 +6190,7 @@ function Ms(t, e) {
6189
6190
  break;
6190
6191
  }
6191
6192
  }
6192
- We(() => E(a()), () => {
6193
+ Ue(() => E(a()), () => {
6193
6194
  kt(V(i, a().sections), "$sections", s);
6194
6195
  }), st(), $e();
6195
6196
  var p = ef(), h = g(p);
@@ -6237,7 +6238,7 @@ function Rs(t, e) {
6237
6238
  var o = sf(), l = X(o), d = g(l), u = R(l, 2), v = g(u), m = g(v), p = g(m), h = R(u, 2), b = g(h), k = g(b), x = g(k), $ = R(h, 2), C = g($), S = g(C), w = g(S), y = R(S, 2), I = g(y), z = R($, 2), D = g(z), P = g(D), L = g(P), q = R(P, 2), A = g(q), F = R(z, 2), Y = g(F), J = g(Y), ae = g(J), pe = R(J, 2), B = g(pe), O = R(F, 2), ne = g(O), se = g(ne), ue = g(se), Se = R(O, 2), Re = g(Se), Le = g(Re), Ce = g(Le), Pe = R(Se, 2);
6238
6239
  {
6239
6240
  var be = (ke) => {
6240
- var U = rf(), ee = g(U);
6241
+ var W = rf(), ee = g(W);
6241
6242
  Fs(ee, {
6242
6243
  get viewModel() {
6243
6244
  return E(r()), _(() => r().dotPlot);
@@ -6245,7 +6246,7 @@ function Rs(t, e) {
6245
6246
  get colorClass() {
6246
6247
  return i;
6247
6248
  }
6248
- }), me("click", U, c), M(ke, U);
6249
+ }), me("click", W, c), M(ke, W);
6249
6250
  };
6250
6251
  N(Pe, (ke) => {
6251
6252
  E(r()), _(() => r().dotPlot) && ke(be);
@@ -6597,7 +6598,7 @@ function Tf(t, e) {
6597
6598
  ce(e, !1), fe(t, Df);
6598
6599
  const r = () => le(f(o), "$content", s), [s, n] = Ye();
6599
6600
  let i = H(e, "viewModel", 8, void 0), a = H(e, "x", 8, 0), c = H(e, "y", 8, 0), o = /* @__PURE__ */ Z(i().content), l = /* @__PURE__ */ Z();
6600
- We(() => (E(i()), f(l)), () => {
6601
+ Ue(() => (E(i()), f(l)), () => {
6601
6602
  i()?.requestKey !== f(l)?.requestKey && (f(l)?.clearData(), V(l, i()), kt(V(o, i().content), "$content", s), i().requestData());
6602
6603
  }), st(), $e();
6603
6604
  var d = If(), u = g(d), v = g(u), m = g(v), p = R(u, 2), h = g(p), b = R(g(h), 2), k = g(b), x = R(h, 2), $ = R(g(x), 2), C = g($), S = R(x, 2), w = R(g(S), 2), y = g(w), I = R(p, 2), z = g(I);
@@ -6710,19 +6711,19 @@ function Ff(t, e) {
6710
6711
  }
6711
6712
  }
6712
6713
  let Le = /* @__PURE__ */ Z(void 0);
6713
- We(() => (f(A), f(q), E(h())), () => {
6714
+ Ue(() => (f(A), f(q), E(h())), () => {
6714
6715
  if (f(A) && f(A)[0]) {
6715
6716
  const Q = f(A)[0], oe = new FileReader();
6716
6717
  oe.onload = () => {
6717
6718
  V(q, oe.result), h().datText.set(f(q));
6718
6719
  }, oe.readAsText(Q);
6719
6720
  }
6720
- }), We(
6721
+ }), Ue(
6721
6722
  () => (r(), s(), n(), i(), a(), E(h())),
6722
6723
  () => {
6723
6724
  r() && (s() || n()) && i() && a() && h().run();
6724
6725
  }
6725
- ), We(
6726
+ ), Ue(
6726
6727
  () => (c(), E(h()), f(Le)),
6727
6728
  () => {
6728
6729
  if (c()) {
@@ -6751,7 +6752,7 @@ function Ff(t, e) {
6751
6752
  },
6752
6753
  ariaLabel: "Source 1"
6753
6754
  });
6754
- var U = R(ke, 2);
6755
+ var W = R(ke, 2);
6755
6756
  {
6756
6757
  var ee = (Q) => {
6757
6758
  var oe = zf(), ye = R(X(oe), 2);
@@ -6765,11 +6766,11 @@ function Ff(t, e) {
6765
6766
  ariaLabel: "Scenario 1"
6766
6767
  }), M(Q, oe);
6767
6768
  };
6768
- N(U, (Q) => {
6769
+ N(W, (Q) => {
6769
6770
  r() === "dat" ? Q(ee) : Q(re, !1);
6770
6771
  });
6771
6772
  }
6772
- var ie = R(U, 4);
6773
+ var ie = R(W, 4);
6773
6774
  Gr(ie, {
6774
6775
  get viewModel() {
6775
6776
  return k;
@@ -6783,7 +6784,7 @@ function Ff(t, e) {
6783
6784
  },
6784
6785
  ariaLabel: "Scenario 2"
6785
6786
  });
6786
- var W = R(be, 2), te = g(W), De = g(te), Ke = R(Pe, 2), he = g(Ke);
6787
+ var U = R(be, 2), te = g(U), De = g(te), Ke = R(Pe, 2), he = g(Ke);
6787
6788
  {
6788
6789
  var Ae = (Q) => {
6789
6790
  var oe = Vf(), ye = g(oe);
@@ -6851,13 +6852,13 @@ function Ff(t, e) {
6851
6852
  }
6852
6853
  jn(De, d, (Q) => ir(D, Q)), me("keydown", Ce, ue), M(t, Ce), de(), p();
6853
6854
  }
6854
- var Kf = /* @__PURE__ */ T('<div class="loading-container svelte-1nkjba2"></div>'), Af = /* @__PURE__ */ T('<div class="error-message svelte-1nkjba2"> </div>'), Bf = /* @__PURE__ */ T('<div class="progress"> </div>'), Of = /* @__PURE__ */ T('<div class="progress-container svelte-1nkjba2"><!></div>'), jf = /* @__PURE__ */ T('<div class="popover-overlay svelte-1nkjba2"><div class="popover-container bundle-selector-popover-container svelte-1nkjba2"><!></div></div>'), Gf = /* @__PURE__ */ T('<div class="popover-overlay svelte-1nkjba2"><div class="popover-container filter-popover-container svelte-1nkjba2"><!></div></div>'), Uf = /* @__PURE__ */ T('<div class="app-container svelte-1nkjba2"><!> <!> <!> <!></div>');
6855
- const Wf = {
6855
+ var Kf = /* @__PURE__ */ T('<div class="loading-container svelte-1nkjba2"></div>'), Af = /* @__PURE__ */ T('<div class="error-message svelte-1nkjba2"> </div>'), Bf = /* @__PURE__ */ T('<div class="progress"> </div>'), Of = /* @__PURE__ */ T('<div class="progress-container svelte-1nkjba2"><!></div>'), jf = /* @__PURE__ */ T('<div class="popover-overlay svelte-1nkjba2"><div class="popover-container bundle-selector-popover-container svelte-1nkjba2"><!></div></div>'), Gf = /* @__PURE__ */ T('<div class="popover-overlay svelte-1nkjba2"><div class="popover-container filter-popover-container svelte-1nkjba2"><!></div></div>'), Wf = /* @__PURE__ */ T('<div class="app-container svelte-1nkjba2"><!> <!> <!> <!></div>');
6856
+ const Uf = {
6856
6857
  hash: "svelte-1nkjba2",
6857
6858
  code: ".app-container.svelte-1nkjba2 {position:relative;display:flex;flex-direction:column;flex:1;}.loading-container.svelte-1nkjba2 {display:flex;flex-direction:column;flex:1 1 auto;align-items:center;justify-content:center;}.progress-container.svelte-1nkjba2 {display:flex;height:100vh;align-items:center;justify-content:center;font-size:2em;}.error-message.svelte-1nkjba2 {max-width:80%;text-align:center;color:red;font-size:1em;white-space:pre-wrap;}.popover-overlay.svelte-1nkjba2 {position:absolute;top:0;left:0;width:100%;max-width:min(100%, 100vw);bottom:0;background-color:rgba(0, 0, 0, 0.4);z-index:1000;pointer-events:none;}.popover-container.svelte-1nkjba2 {position:absolute;top:26px;width:500px;height:min(100% - 60px, 600px);background-color:var(--panel-bg);border:1px solid var(--panel-border);border-radius:12px;box-shadow:0 4px 8px rgba(0, 0, 0, 0.5);pointer-events:auto;overflow:hidden;}.bundle-selector-popover-container.svelte-1nkjba2 {left:calc(50% - 250px);width:500px;height:min(100% - 60px, 500px);}.filter-popover-container.svelte-1nkjba2 {right:24px;width:500px;height:min(100% - 60px, 600px);}"
6858
6859
  };
6859
6860
  function Yf(t, e) {
6860
- ce(e, !1), fe(t, Wf);
6861
+ ce(e, !1), fe(t, Uf);
6861
6862
  const r = () => le(m, "$zoom", a), s = () => le(d, "$checksInProgress", a), n = () => le(v, "$errorMessage", a), i = () => le(u, "$progress", a), [a, c] = Ye(), o = /* @__PURE__ */ Z();
6862
6863
  let l = H(e, "viewModel", 8);
6863
6864
  const d = l().checksInProgress, u = l().progress, v = l().errorMessage, m = l().headerViewModel.zoom;
@@ -6966,9 +6967,9 @@ function Yf(t, e) {
6966
6967
  break;
6967
6968
  }
6968
6969
  }
6969
- We(() => r(), () => {
6970
+ Ue(() => r(), () => {
6970
6971
  V(o, `--graph-zoom: ${r()}`);
6971
- }), We(() => (f(w), E(l())), () => {
6972
+ }), Ue(() => (f(w), E(l())), () => {
6972
6973
  f(w) && (V(y, !0), l().runTestSuite());
6973
6974
  }), st(), $e();
6974
6975
  var Y = ge();
@@ -6995,7 +6996,7 @@ function Yf(t, e) {
6995
6996
  var O = Kf();
6996
6997
  M(B, O);
6997
6998
  }, pe = (B) => {
6998
- var O = Uf(), ne = g(O);
6999
+ var O = Wf(), ne = g(O);
6999
7000
  cu(ne, {
7000
7001
  get viewModel() {
7001
7002
  return E(l()), _(() => l().headerViewModel);
@@ -7005,22 +7006,22 @@ function Yf(t, e) {
7005
7006
  var se = R(ne, 2);
7006
7007
  {
7007
7008
  var ue = (be) => {
7008
- var ke = Of(), U = g(ke);
7009
+ var ke = Of(), W = g(ke);
7009
7010
  {
7010
7011
  var ee = (ie) => {
7011
- var K = Af(), W = g(K);
7012
- G(() => j(W, n())), M(ie, K);
7012
+ var K = Af(), U = g(K);
7013
+ G(() => j(U, n())), M(ie, K);
7013
7014
  }, re = (ie) => {
7014
- var K = Bf(), W = g(K);
7015
- G(() => j(W, i())), M(ie, K);
7015
+ var K = Bf(), U = g(K);
7016
+ G(() => j(U, i())), M(ie, K);
7016
7017
  };
7017
- N(U, (ie) => {
7018
+ N(W, (ie) => {
7018
7019
  n() ? ie(ee) : ie(re, !1);
7019
7020
  });
7020
7021
  }
7021
7022
  M(be, ke);
7022
7023
  }, Se = (be) => {
7023
- var ke = ge(), U = X(ke);
7024
+ var ke = ge(), W = X(ke);
7024
7025
  {
7025
7026
  var ee = (ie) => {
7026
7027
  Cd(ie, {
@@ -7030,7 +7031,7 @@ function Yf(t, e) {
7030
7031
  $$events: { command: A }
7031
7032
  });
7032
7033
  }, re = (ie) => {
7033
- var K = ge(), W = X(K);
7034
+ var K = ge(), U = X(K);
7034
7035
  {
7035
7036
  var te = (Ke) => {
7036
7037
  Zd(Ke, {
@@ -7088,7 +7089,7 @@ function Yf(t, e) {
7088
7089
  M(Ke, he);
7089
7090
  };
7090
7091
  N(
7091
- W,
7092
+ U,
7092
7093
  (Ke) => {
7093
7094
  f(x) === "freeform" ? Ke(te) : Ke(De, !1);
7094
7095
  },
@@ -7098,7 +7099,7 @@ function Yf(t, e) {
7098
7099
  M(ie, K);
7099
7100
  };
7100
7101
  N(
7101
- U,
7102
+ W,
7102
7103
  (ie) => {
7103
7104
  f(x) === "comparison-detail" ? ie(ee) : ie(re, !1);
7104
7105
  },
@@ -7114,7 +7115,7 @@ function Yf(t, e) {
7114
7115
  var Re = R(se, 2);
7115
7116
  {
7116
7117
  var Le = (be) => {
7117
- var ke = jf(), U = g(ke), ee = g(U);
7118
+ var ke = jf(), W = g(ke), ee = g(W);
7118
7119
  cc(ee, {
7119
7120
  get bundleManager() {
7120
7121
  return E(l()), _(() => l().bundleManager);
@@ -7135,7 +7136,7 @@ function Yf(t, e) {
7135
7136
  var Ce = R(Re, 2);
7136
7137
  {
7137
7138
  var Pe = (be) => {
7138
- var ke = Gf(), U = g(ke), ee = g(U);
7139
+ var ke = Gf(), W = g(ke), ee = g(W);
7139
7140
  Bd(ee, {
7140
7141
  get viewModel() {
7141
7142
  return E(l()), _(() => l().filterPopoverViewModel);
@@ -7276,7 +7277,7 @@ function Jf() {
7276
7277
  }
7277
7278
  function Zn(t, e, r) {
7278
7279
  const s = [];
7279
- return t.outputVarL && t.outputVarR ? t.outputVarR.varName !== t.outputVarL.varName && s.push(qt("warn", `variable renamed, previously '${t.outputVarL.varName}'`)) : t.outputVarL !== void 0 ? s.push(qt("warn", `variable only defined in ${Ut(e, "left")}`)) : t.outputVarR !== void 0 && s.push(qt("warn", `variable only defined in ${Ut(r, "right")}`)), s;
7280
+ return t.outputVarL && t.outputVarR ? t.outputVarR.varName !== t.outputVarL.varName && s.push(qt("warn", `variable renamed, previously '${t.outputVarL.varName}'`)) : t.outputVarL !== void 0 ? s.push(qt("warn", `variable only defined in ${Wt(e, "left")}`)) : t.outputVarR !== void 0 && s.push(qt("warn", `variable only defined in ${Wt(r, "right")}`)), s;
7280
7281
  }
7281
7282
  function Jn(t, e, r) {
7282
7283
  const s = [];
@@ -7311,11 +7312,11 @@ function Jn(t, e, r) {
7311
7312
  ].filter((u) => u !== void 0).join("; ");
7312
7313
  }
7313
7314
  if (n.length > 0 && s.push(qt("err", `invalid scenario: ${o(n)}`)), i.length > 0) {
7314
- const l = `scenario not valid in ${Ut(e, "left")}`;
7315
+ const l = `scenario not valid in ${Wt(e, "left")}`;
7315
7316
  s.push(qt("warn", `${l}: ${o(i)}`));
7316
7317
  }
7317
7318
  if (a.length > 0) {
7318
- const l = `scenario not valid in ${Ut(r, "right")}`;
7319
+ const l = `scenario not valid in ${Wt(r, "right")}`;
7319
7320
  s.push(qt("warn", `${l}: ${o(a)}`));
7320
7321
  }
7321
7322
  return t.settings.settingsDiffer === !0 && s.push(qt("warn", "input settings differ between the two models")), s;
@@ -7379,7 +7380,7 @@ function Qn(t, e) {
7379
7380
  }
7380
7381
  }
7381
7382
  function ea(t, e, r, s, n) {
7382
- const a = "max-diff", c = (h, b) => new Un(t, e, b, r, h), o = t.bundleL.modelSpec.graphSpecs?.find((h) => h.id === s), l = t.bundleR.modelSpec.graphSpecs?.find((h) => h.id === s), d = c(o, "left"), u = c(l, "right"), v = /* @__PURE__ */ new Set();
7383
+ const a = "max-diff", c = (h, b) => new Wn(t, e, b, r, h), o = t.bundleL.modelSpec.graphSpecs?.find((h) => h.id === s), l = t.bundleR.modelSpec.graphSpecs?.find((h) => h.id === s), d = c(o, "left"), u = c(l, "right"), v = /* @__PURE__ */ new Set();
7383
7384
  if (o)
7384
7385
  for (const h of o.datasets)
7385
7386
  v.add(h.datasetKey);
@@ -8250,7 +8251,7 @@ class hv {
8250
8251
  */
8251
8252
  requestDataset(e, r, s) {
8252
8253
  const n = `${this.baseRequestKey}::${e}`;
8253
- this.requestKeys.push(n), this.dataCoordinator.requestDataset(n, r, s, (i) => {
8254
+ this.requestKeys.push(n), this.dataCoordinator.requestDataset(n, r, s, void 0, (i) => {
8254
8255
  this.dataRequested && (this.resolvedDataKeys.push(e), this.resolvedData.set(e, lr(i)), this.processResponses());
8255
8256
  });
8256
8257
  }
@@ -8697,7 +8698,7 @@ function Iv(t, e, r) {
8697
8698
  function aa(t, e, r, s, n, i) {
8698
8699
  if (e.length === 0)
8699
8700
  return;
8700
- const a = e.map((d) => Iv(d, r, s)), c = a.filter((d) => Wn(d.diffPercentByBucket)).length;
8701
+ const a = e.map((d) => Iv(d, r, s)), c = a.filter((d) => Un(d.diffPercentByBucket)).length;
8701
8702
  let o;
8702
8703
  switch (i) {
8703
8704
  case "collapsed":
@@ -8759,7 +8760,7 @@ function Dv(t, e) {
8759
8760
  d,
8760
8761
  c
8761
8762
  );
8762
- return Wn(p.diffPercentByBucket) && o++, p;
8763
+ return Un(p.diffPercentByBucket) && o++, p;
8763
8764
  }
8764
8765
  case "unresolved-view": {
8765
8766
  o++;
@@ -8795,7 +8796,7 @@ function Dv(t, e) {
8795
8796
  return new Mv(s, n);
8796
8797
  }
8797
8798
  function Tv(t, e, r) {
8798
- const s = t.bundleL.name, n = t.bundleR.name, i = Ut(s, "left"), a = Ut(n, "right");
8799
+ const s = t.bundleL.name, n = t.bundleR.name, i = Wt(s, "left"), a = Wt(n, "right");
8799
8800
  function c(d, u, v, m) {
8800
8801
  const p = aa("by-scenario", u, s, n, v, m);
8801
8802
  p && d.push(p);
@@ -9233,6 +9234,7 @@ class Ov {
9233
9234
  r,
9234
9235
  this.scenarioSpecR,
9235
9236
  s,
9237
+ void 0,
9236
9238
  (n, i) => {
9237
9239
  if (!this.dataRequested)
9238
9240
  return;
@@ -9370,7 +9372,7 @@ class jv {
9370
9372
  const n = 0, i = this.comparisonConfig.bundleR.modelSpec;
9371
9373
  Ma(i, {
9372
9374
  onComplete: (c) => {
9373
- const o = Uv(i, c, n);
9375
+ const o = Wv(i, c, n);
9374
9376
  if (this.writableGroups.set(o), o.length === 0) {
9375
9377
  let l = "No comparisons were performed.";
9376
9378
  e === "dat" ? l += " Check that the DAT file is valid." : l += " Check that the bundle is configured correctly.", this.writableStatusMessage.set(l);
@@ -9427,7 +9429,7 @@ class jv {
9427
9429
  function Gv(t, e, r, s, n) {
9428
9430
  return new jv(t, e, r, s, n);
9429
9431
  }
9430
- function Uv(t, e, r) {
9432
+ function Wv(t, e, r) {
9431
9433
  const s = t.implVars || /* @__PURE__ */ new Map(), n = t.implVarGroups || [];
9432
9434
  if (s.size === 0 || n.length === 0)
9433
9435
  return console.error("ERROR: No impl vars or groups defined in model spec; trace report will be empty"), [];
@@ -9541,7 +9543,7 @@ function $s(t, e, r) {
9541
9543
  const n = t === 0 ? "Scenario 1" : "Scenario 2";
9542
9544
  return new As(e, r, n);
9543
9545
  }
9544
- class Wv {
9546
+ class Uv {
9545
9547
  /**
9546
9548
  * @param appModel The app model.
9547
9549
  * @param bundleManager The bundle manager. This will only be defined in local
@@ -9788,7 +9790,7 @@ class Yv {
9788
9790
  const [a, c] = s.replace("https://", "").split("@");
9789
9791
  r.Authorization = "Basic " + btoa(a), s = `https://${c}`, e = "include";
9790
9792
  }
9791
- s += `?cb=${Date.now()}`;
9793
+ s.startsWith("data:") || (s += `?cb=${Date.now()}`);
9792
9794
  const n = await fetch(s, { headers: r, credentials: e });
9793
9795
  if (!n.ok)
9794
9796
  throw new Error(`Failed to fetch remote bundles: ${n.statusText}`);
@@ -9833,7 +9835,7 @@ function ip(t, e) {
9833
9835
  wl(t).then((n) => {
9834
9836
  let i;
9835
9837
  e?.bundleSelectorConfig && (i = new Yv(e.bundleSelectorConfig));
9836
- const a = new Wv(n, i, e?.suiteSummary);
9838
+ const a = new Uv(n, i, e?.suiteSummary);
9837
9839
  Jo(Hf, {
9838
9840
  target: s,
9839
9841
  props: {