@celldl/viewer 0.20260731.0 → 0.20260731.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as pr from "vue";
2
- import { watch as xr, computed as Ea, toValue as Qr, unref as oi, defineComponent as ai, ref as bt, onMounted as li, nextTick as Sa, reactive as Ta, h as Bt, getCurrentInstance as Ia, shallowRef as Ra, onUnmounted as Aa, isRef as dt, isReactive as ji, isVNode as Na, createApp as Di, openBlock as Ca, createElementBlock as Oa } from "vue";
2
+ import { watch as xr, computed as Ea, toValue as Qr, unref as si, defineComponent as oi, ref as bt, onMounted as ai, nextTick as Sa, reactive as Ta, h as Bt, getCurrentInstance as Ia, shallowRef as Ra, onUnmounted as Aa, isRef as dt, isReactive as Li, isVNode as Na, createApp as ji, openBlock as Ca, createElementBlock as Oa } from "vue";
3
3
  const Pa = typeof window < "u" && typeof document < "u";
4
4
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
5
5
  const La = Object.prototype.toString, ja = (r) => La.call(r) === "[object Object]";
@@ -28,7 +28,7 @@ function $a(...r) {
28
28
  return [
29
29
  (n = (i = t.value) === null || i === void 0 ? void 0 : i.map((s) => Ma(s))) !== null && n !== void 0 ? n : [Ba].filter((s) => s != null),
30
30
  hn(Qr(t.value ? r[1] : r[0])),
31
- hn(oi(t.value ? r[2] : r[1])),
31
+ hn(si(t.value ? r[2] : r[1])),
32
32
  Qr(t.value ? r[3] : r[2])
33
33
  ];
34
34
  }, ([n, i, s, a], o, f) => {
@@ -39,9 +39,9 @@ function $a(...r) {
39
39
  });
40
40
  }, { flush: "post" });
41
41
  }
42
- var $e = "top", Ge = "bottom", Ve = "right", Fe = "left", ui = "auto", Nr = [$e, Ge, Ve, Fe], Ut = "start", Er = "end", Fa = "clippingParents", po = "viewport", Zt = "popper", ka = "reference", Bi = /* @__PURE__ */ Nr.reduce(function(r, e) {
42
+ var $e = "top", Ge = "bottom", Ve = "right", Fe = "left", li = "auto", Nr = [$e, Ge, Ve, Fe], Ut = "start", Er = "end", Fa = "clippingParents", po = "viewport", Zt = "popper", ka = "reference", Di = /* @__PURE__ */ Nr.reduce(function(r, e) {
43
43
  return r.concat([e + "-" + Ut, e + "-" + Er]);
44
- }, []), go = /* @__PURE__ */ [].concat(Nr, [ui]).reduce(function(r, e) {
44
+ }, []), go = /* @__PURE__ */ [].concat(Nr, [li]).reduce(function(r, e) {
45
45
  return r.concat([e, e + "-" + Ut, e + "-" + Er]);
46
46
  }, []), Ua = "beforeRead", qa = "read", Wa = "afterRead", Ga = "beforeMain", Va = "main", Ha = "afterMain", Qa = "beforeWrite", za = "write", Xa = "afterWrite", Ya = [Ua, qa, Wa, Ga, Va, Ha, Qa, za, Xa];
47
47
  function Ze(r) {
@@ -134,7 +134,7 @@ function Gt(r, e) {
134
134
  y: t.top / i
135
135
  };
136
136
  }
137
- function fi(r) {
137
+ function ui(r) {
138
138
  var e = Gt(r), t = r.offsetWidth, n = r.offsetHeight;
139
139
  return Math.abs(e.width - t) <= 1 && (t = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
140
140
  x: r.offsetLeft,
@@ -181,7 +181,7 @@ function Zr(r) {
181
181
  mt(r)
182
182
  );
183
183
  }
184
- function Mi(r) {
184
+ function Bi(r) {
185
185
  return !We(r) || // https://github.com/popperjs/popper-core/issues/837
186
186
  Je(r).position === "fixed" ? null : r.offsetParent;
187
187
  }
@@ -201,11 +201,11 @@ function el(r) {
201
201
  return null;
202
202
  }
203
203
  function Cr(r) {
204
- for (var e = ze(r), t = Mi(r); t && Ja(t) && Je(t).position === "static"; )
205
- t = Mi(t);
204
+ for (var e = ze(r), t = Bi(r); t && Ja(t) && Je(t).position === "static"; )
205
+ t = Bi(t);
206
206
  return t && (Ze(t) === "html" || Ze(t) === "body" && Je(t).position === "static") ? e : t || el(r) || e;
207
207
  }
208
- function ci(r) {
208
+ function fi(r) {
209
209
  return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
210
210
  }
211
211
  function br(r, e, t) {
@@ -237,9 +237,9 @@ var rl = function(e, t) {
237
237
  })) : e, wo(typeof e != "number" ? e : vo(e, Nr));
238
238
  };
239
239
  function nl(r) {
240
- var e, t = r.state, n = r.name, i = r.options, s = t.elements.arrow, a = t.modifiersData.popperOffsets, o = Ke(t.placement), f = ci(o), g = [Fe, Ve].indexOf(o) >= 0, c = g ? "height" : "width";
240
+ var e, t = r.state, n = r.name, i = r.options, s = t.elements.arrow, a = t.modifiersData.popperOffsets, o = Ke(t.placement), f = fi(o), g = [Fe, Ve].indexOf(o) >= 0, c = g ? "height" : "width";
241
241
  if (!(!s || !a)) {
242
- var m = rl(i.padding, t), I = fi(s), v = f === "y" ? $e : Fe, d = f === "y" ? Ge : Ve, y = t.rects.reference[c] + t.rects.reference[f] - a[f] - t.rects.popper[c], w = a[f] - t.rects.reference[f], p = Cr(s), _ = p ? f === "y" ? p.clientHeight || 0 : p.clientWidth || 0 : 0, S = y / 2 - w / 2, h = m[v], T = _ - I[c] - m[d], O = _ / 2 - I[c] / 2 + S, L = br(h, O, T), j = f;
242
+ var m = rl(i.padding, t), I = ui(s), v = f === "y" ? $e : Fe, d = f === "y" ? Ge : Ve, y = t.rects.reference[c] + t.rects.reference[f] - a[f] - t.rects.popper[c], w = a[f] - t.rects.reference[f], p = Cr(s), _ = p ? f === "y" ? p.clientHeight || 0 : p.clientWidth || 0 : 0, S = y / 2 - w / 2, h = m[v], T = _ - I[c] - m[d], O = _ / 2 - I[c] / 2 + S, L = br(h, O, T), j = f;
243
243
  t.modifiersData[n] = (e = {}, e[j] = L, e.centerOffset = L - O, e);
244
244
  }
245
245
  }
@@ -272,7 +272,7 @@ function al(r) {
272
272
  y: Wt(t * i) / i || 0
273
273
  };
274
274
  }
275
- function $i(r) {
275
+ function Mi(r) {
276
276
  var e, t = r.popper, n = r.popperRect, i = r.placement, s = r.variation, a = r.offsets, o = r.position, f = r.gpuAcceleration, g = r.adaptive, c = r.roundOffsets, m = r.isFixed, I = c === !0 ? al(a) : typeof c == "function" ? c(a) : a, v = I.x, d = v === void 0 ? 0 : v, y = I.y, w = y === void 0 ? 0 : y, p = a.hasOwnProperty("x"), _ = a.hasOwnProperty("y"), S = Fe, h = $e, T = window;
277
277
  if (g) {
278
278
  var O = Cr(t), L = "clientHeight", j = "clientWidth";
@@ -311,12 +311,12 @@ function ll(r) {
311
311
  gpuAcceleration: i,
312
312
  isFixed: e.options.strategy === "fixed"
313
313
  };
314
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, $i(Object.assign({}, g, {
314
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Mi(Object.assign({}, g, {
315
315
  offsets: e.modifiersData.popperOffsets,
316
316
  position: e.options.strategy,
317
317
  adaptive: a,
318
318
  roundOffsets: f
319
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, $i(Object.assign({}, g, {
319
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Mi(Object.assign({}, g, {
320
320
  offsets: e.modifiersData.arrow,
321
321
  position: "absolute",
322
322
  adaptive: !1,
@@ -367,32 +367,32 @@ var hl = {
367
367
  start: "end",
368
368
  end: "start"
369
369
  };
370
- function Fi(r) {
370
+ function $i(r) {
371
371
  return r.replace(/start|end/g, function(e) {
372
372
  return hl[e];
373
373
  });
374
374
  }
375
- function di(r) {
375
+ function ci(r) {
376
376
  var e = ze(r), t = e.pageXOffset, n = e.pageYOffset;
377
377
  return {
378
378
  scrollLeft: t,
379
379
  scrollTop: n
380
380
  };
381
381
  }
382
- function hi(r) {
383
- return Gt(mt(r)).left + di(r).scrollLeft;
382
+ function di(r) {
383
+ return Gt(mt(r)).left + ci(r).scrollLeft;
384
384
  }
385
385
  function pl(r) {
386
386
  var e = ze(r), t = mt(r), n = e.visualViewport, i = t.clientWidth, s = t.clientHeight, a = 0, o = 0;
387
387
  return n && (i = n.width, s = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (a = n.offsetLeft, o = n.offsetTop)), {
388
388
  width: i,
389
389
  height: s,
390
- x: a + hi(r),
390
+ x: a + di(r),
391
391
  y: o
392
392
  };
393
393
  }
394
394
  function gl(r) {
395
- var e, t = mt(r), n = di(r), i = (e = r.ownerDocument) == null ? void 0 : e.body, s = Ot(t.scrollWidth, t.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = Ot(t.scrollHeight, t.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), o = -n.scrollLeft + hi(r), f = -n.scrollTop;
395
+ var e, t = mt(r), n = ci(r), i = (e = r.ownerDocument) == null ? void 0 : e.body, s = Ot(t.scrollWidth, t.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = Ot(t.scrollHeight, t.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), o = -n.scrollLeft + di(r), f = -n.scrollTop;
396
396
  return Je(i || t).direction === "rtl" && (o += Ot(t.clientWidth, i ? i.clientWidth : 0) - s), {
397
397
  width: s,
398
398
  height: a,
@@ -400,23 +400,23 @@ function gl(r) {
400
400
  y: f
401
401
  };
402
402
  }
403
- function pi(r) {
403
+ function hi(r) {
404
404
  var e = Je(r), t = e.overflow, n = e.overflowX, i = e.overflowY;
405
405
  return /auto|scroll|overlay|hidden/.test(t + i + n);
406
406
  }
407
407
  function xo(r) {
408
- return ["html", "body", "#document"].indexOf(Ze(r)) >= 0 ? r.ownerDocument.body : We(r) && pi(r) ? r : xo(Zr(r));
408
+ return ["html", "body", "#document"].indexOf(Ze(r)) >= 0 ? r.ownerDocument.body : We(r) && hi(r) ? r : xo(Zr(r));
409
409
  }
410
410
  function yr(r, e) {
411
411
  var t;
412
412
  e === void 0 && (e = []);
413
- var n = xo(r), i = n === ((t = r.ownerDocument) == null ? void 0 : t.body), s = ze(n), a = i ? [s].concat(s.visualViewport || [], pi(n) ? n : []) : n, o = e.concat(a);
413
+ var n = xo(r), i = n === ((t = r.ownerDocument) == null ? void 0 : t.body), s = ze(n), a = i ? [s].concat(s.visualViewport || [], hi(n) ? n : []) : n, o = e.concat(a);
414
414
  return i ? o : (
415
415
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
416
416
  o.concat(yr(Zr(a)))
417
417
  );
418
418
  }
419
- function Jn(r) {
419
+ function Zn(r) {
420
420
  return Object.assign({}, r, {
421
421
  left: r.x,
422
422
  top: r.y,
@@ -428,8 +428,8 @@ function bl(r) {
428
428
  var e = Gt(r);
429
429
  return e.top = e.top + r.clientTop, e.left = e.left + r.clientLeft, e.bottom = e.top + r.clientHeight, e.right = e.left + r.clientWidth, e.width = r.clientWidth, e.height = r.clientHeight, e.x = e.left, e.y = e.top, e;
430
430
  }
431
- function ki(r, e) {
432
- return e === po ? Jn(pl(r)) : qt(e) ? bl(e) : Jn(gl(mt(r)));
431
+ function Fi(r, e) {
432
+ return e === po ? Zn(pl(r)) : qt(e) ? bl(e) : Zn(gl(mt(r)));
433
433
  }
434
434
  function yl(r) {
435
435
  var e = yr(Zr(r)), t = ["absolute", "fixed"].indexOf(Je(r).position) >= 0, n = t && We(r) ? Cr(r) : r;
@@ -439,9 +439,9 @@ function yl(r) {
439
439
  }
440
440
  function _l(r, e, t) {
441
441
  var n = e === "clippingParents" ? yl(r) : [].concat(e), i = [].concat(n, [t]), s = i[0], a = i.reduce(function(o, f) {
442
- var g = ki(r, f);
442
+ var g = Fi(r, f);
443
443
  return o.top = Ot(g.top, o.top), o.right = Yr(g.right, o.right), o.bottom = Yr(g.bottom, o.bottom), o.left = Ot(g.left, o.left), o;
444
- }, ki(r, s));
444
+ }, Fi(r, s));
445
445
  return a.width = a.right - a.left, a.height = a.bottom - a.top, a.x = a.left, a.y = a.top, a;
446
446
  }
447
447
  function Eo(r) {
@@ -477,7 +477,7 @@ function Eo(r) {
477
477
  y: e.y
478
478
  };
479
479
  }
480
- var g = i ? ci(i) : null;
480
+ var g = i ? fi(i) : null;
481
481
  if (g != null) {
482
482
  var c = g === "y" ? "height" : "width";
483
483
  switch (s) {
@@ -497,7 +497,7 @@ function Sr(r, e) {
497
497
  reference: h,
498
498
  element: p,
499
499
  placement: i
500
- }), O = Jn(Object.assign({}, p, T)), L = c === Zt ? O : h, j = {
500
+ }), O = Zn(Object.assign({}, p, T)), L = c === Zt ? O : h, j = {
501
501
  top: S.top - L.top + y.top,
502
502
  bottom: L.bottom - S.bottom + y.bottom,
503
503
  left: S.left - L.left + y.left,
@@ -514,7 +514,7 @@ function Sr(r, e) {
514
514
  }
515
515
  function ml(r, e) {
516
516
  e === void 0 && (e = {});
517
- var t = e, n = t.placement, i = t.boundary, s = t.rootBoundary, a = t.padding, o = t.flipVariations, f = t.allowedAutoPlacements, g = f === void 0 ? go : f, c = Vt(n), m = c ? o ? Bi : Bi.filter(function(d) {
517
+ var t = e, n = t.placement, i = t.boundary, s = t.rootBoundary, a = t.padding, o = t.flipVariations, f = t.allowedAutoPlacements, g = f === void 0 ? go : f, c = Vt(n), m = c ? o ? Di : Di.filter(function(d) {
518
518
  return Vt(d) === c;
519
519
  }) : Nr, I = m.filter(function(d) {
520
520
  return g.indexOf(d) >= 0;
@@ -533,16 +533,16 @@ function ml(r, e) {
533
533
  });
534
534
  }
535
535
  function wl(r) {
536
- if (Ke(r) === ui)
536
+ if (Ke(r) === li)
537
537
  return [];
538
538
  var e = zr(r);
539
- return [Fi(r), e, Fi(e)];
539
+ return [$i(r), e, $i(e)];
540
540
  }
541
541
  function vl(r) {
542
542
  var e = r.state, t = r.options, n = r.name;
543
543
  if (!e.modifiersData[n]._skip) {
544
544
  for (var i = t.mainAxis, s = i === void 0 ? !0 : i, a = t.altAxis, o = a === void 0 ? !0 : a, f = t.fallbackPlacements, g = t.padding, c = t.boundary, m = t.rootBoundary, I = t.altBoundary, v = t.flipVariations, d = v === void 0 ? !0 : v, y = t.allowedAutoPlacements, w = e.options.placement, p = Ke(w), _ = p === w, S = f || (_ || !d ? [zr(w)] : wl(w)), h = [w].concat(S).reduce(function(fe, he) {
545
- return fe.concat(Ke(he) === ui ? ml(e, {
545
+ return fe.concat(Ke(he) === li ? ml(e, {
546
546
  placement: he,
547
547
  boundary: c,
548
548
  rootBoundary: m,
@@ -596,7 +596,7 @@ var xl = {
596
596
  _skip: !1
597
597
  }
598
598
  };
599
- function Ui(r, e, t) {
599
+ function ki(r, e, t) {
600
600
  return t === void 0 && (t = {
601
601
  x: 0,
602
602
  y: 0
@@ -607,7 +607,7 @@ function Ui(r, e, t) {
607
607
  left: r.left - e.width - t.x
608
608
  };
609
609
  }
610
- function qi(r) {
610
+ function Ui(r) {
611
611
  return [$e, Ve, Ge, Fe].some(function(e) {
612
612
  return r[e] >= 0;
613
613
  });
@@ -617,7 +617,7 @@ function El(r) {
617
617
  elementContext: "reference"
618
618
  }), o = Sr(e, {
619
619
  altBoundary: !0
620
- }), f = Ui(a, n), g = Ui(o, i, s), c = qi(f), m = qi(g);
620
+ }), f = ki(a, n), g = ki(o, i, s), c = Ui(f), m = Ui(g);
621
621
  e.modifiersData[t] = {
622
622
  referenceClippingOffsets: f,
623
623
  popperEscapeOffsets: g,
@@ -684,7 +684,7 @@ function Ol(r) {
684
684
  rootBoundary: g,
685
685
  padding: m,
686
686
  altBoundary: c
687
- }), p = Ke(e.placement), _ = Vt(e.placement), S = !_, h = ci(p), T = Cl(h), O = e.modifiersData.popperOffsets, L = e.rects.reference, j = e.rects.popper, re = typeof y == "function" ? y(Object.assign({}, e.rects, {
687
+ }), p = Ke(e.placement), _ = Vt(e.placement), S = !_, h = fi(p), T = Cl(h), O = e.modifiersData.popperOffsets, L = e.rects.reference, j = e.rects.popper, re = typeof y == "function" ? y(Object.assign({}, e.rects, {
688
688
  placement: e.placement
689
689
  })) : y, D = typeof re == "number" ? {
690
690
  mainAxis: re,
@@ -698,7 +698,7 @@ function Ol(r) {
698
698
  };
699
699
  if (O) {
700
700
  if (s) {
701
- var M, ee = h === "y" ? $e : Fe, le = h === "y" ? Ge : Ve, ue = h === "y" ? "height" : "width", me = O[h], G = me + w[ee], ce = me - w[le], A = v ? -j[ue] / 2 : 0, W = _ === Ut ? L[ue] : j[ue], Z = _ === Ut ? -j[ue] : -L[ue], Q = e.elements.arrow, fe = v && Q ? fi(Q) : {
701
+ var M, ee = h === "y" ? $e : Fe, le = h === "y" ? Ge : Ve, ue = h === "y" ? "height" : "width", me = O[h], G = me + w[ee], ce = me - w[le], A = v ? -j[ue] / 2 : 0, W = _ === Ut ? L[ue] : j[ue], Z = _ === Ut ? -j[ue] : -L[ue], Q = e.elements.arrow, fe = v && Q ? ui(Q) : {
702
702
  width: 0,
703
703
  height: 0
704
704
  }, he = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : mo(), xe = he[ee], we = he[le], U = br(0, L[ue], fe[ue]), z = S ? L[ue] / 2 - A - U - xe - D.mainAxis : W - U - xe - D.mainAxis, oe = S ? -L[ue] / 2 + A + U + we + D.mainAxis : Z + U + we + D.mainAxis, ye = e.elements.arrow && Cr(e.elements.arrow), be = ye ? h === "y" ? ye.clientTop || 0 : ye.clientLeft || 0 : 0, C = (M = $?.[h]) != null ? M : 0, B = me + z - C - be, q = me + oe - C, ne = br(v ? Yr(G, B) : G, me, v ? Ot(ce, q) : ce);
@@ -725,7 +725,7 @@ function Ll(r) {
725
725
  };
726
726
  }
727
727
  function jl(r) {
728
- return r === ze(r) || !We(r) ? di(r) : Ll(r);
728
+ return r === ze(r) || !We(r) ? ci(r) : Ll(r);
729
729
  }
730
730
  function Dl(r) {
731
731
  var e = r.getBoundingClientRect(), t = Wt(e.width) / r.offsetWidth || 1, n = Wt(e.height) / r.offsetHeight || 1;
@@ -741,7 +741,7 @@ function Bl(r, e, t) {
741
741
  y: 0
742
742
  };
743
743
  return (n || !n && !t) && ((Ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
744
- pi(s)) && (o = jl(e)), We(e) ? (f = Gt(e, !0), f.x += e.clientLeft, f.y += e.clientTop) : s && (f.x = hi(s))), {
744
+ hi(s)) && (o = jl(e)), We(e) ? (f = Gt(e, !0), f.x += e.clientLeft, f.y += e.clientTop) : s && (f.x = di(s))), {
745
745
  x: a.left + o.scrollLeft - f.x,
746
746
  y: a.top + o.scrollTop - f.y,
747
747
  width: a.width,
@@ -797,12 +797,12 @@ function kl(r) {
797
797
  return e[t];
798
798
  });
799
799
  }
800
- var Wi = {
800
+ var qi = {
801
801
  placement: "bottom",
802
802
  modifiers: [],
803
803
  strategy: "absolute"
804
804
  };
805
- function Gi() {
805
+ function Wi() {
806
806
  for (var r = arguments.length, e = new Array(r), t = 0; t < r; t++)
807
807
  e[t] = arguments[t];
808
808
  return !e.some(function(n) {
@@ -811,13 +811,13 @@ function Gi() {
811
811
  }
812
812
  function Ul(r) {
813
813
  r === void 0 && (r = {});
814
- var e = r, t = e.defaultModifiers, n = t === void 0 ? [] : t, i = e.defaultOptions, s = i === void 0 ? Wi : i;
814
+ var e = r, t = e.defaultModifiers, n = t === void 0 ? [] : t, i = e.defaultOptions, s = i === void 0 ? qi : i;
815
815
  return function(o, f, g) {
816
816
  g === void 0 && (g = s);
817
817
  var c = {
818
818
  placement: "bottom",
819
819
  orderedModifiers: [],
820
- options: Object.assign({}, Wi, s),
820
+ options: Object.assign({}, qi, s),
821
821
  modifiersData: {},
822
822
  elements: {
823
823
  reference: o,
@@ -846,10 +846,10 @@ function Ul(r) {
846
846
  forceUpdate: function() {
847
847
  if (!I) {
848
848
  var p = c.elements, _ = p.reference, S = p.popper;
849
- if (Gi(_, S)) {
849
+ if (Wi(_, S)) {
850
850
  c.rects = {
851
851
  reference: Bl(_, Cr(S), c.options.strategy === "fixed"),
852
- popper: fi(S)
852
+ popper: ui(S)
853
853
  }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(D) {
854
854
  return c.modifiersData[D.name] = Object.assign({}, D.data);
855
855
  });
@@ -880,7 +880,7 @@ function Ul(r) {
880
880
  y(), I = !0;
881
881
  }
882
882
  };
883
- if (!Gi(o, f))
883
+ if (!Wi(o, f))
884
884
  return v;
885
885
  v.setOptions(g).then(function(w) {
886
886
  !I && g.onFirstUpdate && g.onFirstUpdate(w);
@@ -923,14 +923,14 @@ function pn(r, e, t) {
923
923
  }
924
924
  return r;
925
925
  }
926
- function gi(r, e) {
926
+ function pi(r, e) {
927
927
  var t = {}.toString.call(r);
928
928
  return t.indexOf("[object") === 0 && t.indexOf(e + "]") > -1;
929
929
  }
930
930
  function No(r, e) {
931
931
  return typeof r == "function" ? r.apply(void 0, e) : r;
932
932
  }
933
- function Vi(r, e) {
933
+ function Gi(r, e) {
934
934
  if (e === 0)
935
935
  return r;
936
936
  var t;
@@ -952,7 +952,7 @@ function Hl(r) {
952
952
  function Rt(r) {
953
953
  return [].concat(r);
954
954
  }
955
- function Hi(r, e) {
955
+ function Vi(r, e) {
956
956
  r.indexOf(e) === -1 && r.push(e);
957
957
  }
958
958
  function Ql(r) {
@@ -966,7 +966,7 @@ function Co(r) {
966
966
  function Ht(r) {
967
967
  return [].slice.call(r);
968
968
  }
969
- function Qi(r) {
969
+ function Hi(r) {
970
970
  return Object.keys(r).reduce(function(e, t) {
971
971
  return r[t] !== void 0 && (e[t] = r[t]), e;
972
972
  }, {});
@@ -976,14 +976,14 @@ function Pt() {
976
976
  }
977
977
  function Jr(r) {
978
978
  return ["Element", "Fragment"].some(function(e) {
979
- return gi(r, e);
979
+ return pi(r, e);
980
980
  });
981
981
  }
982
982
  function zl(r) {
983
- return gi(r, "NodeList");
983
+ return pi(r, "NodeList");
984
984
  }
985
- function bi(r) {
986
- return gi(r, "MouseEvent");
985
+ function gi(r) {
986
+ return pi(r, "MouseEvent");
987
987
  }
988
988
  function Xl(r) {
989
989
  return !!(r && r._tippy && r._tippy.reference === r);
@@ -1021,7 +1021,7 @@ function bn(r, e, t) {
1021
1021
  r[n](i, t);
1022
1022
  });
1023
1023
  }
1024
- function zi(r, e) {
1024
+ function Qi(r, e) {
1025
1025
  for (var t = e; t; ) {
1026
1026
  var n;
1027
1027
  if (r.contains(t))
@@ -1032,13 +1032,13 @@ function zi(r, e) {
1032
1032
  }
1033
1033
  var Ye = {
1034
1034
  isTouch: !1
1035
- }, Xi = 0;
1035
+ }, zi = 0;
1036
1036
  function Zl() {
1037
1037
  Ye.isTouch || (Ye.isTouch = !0, window.performance && document.addEventListener("mousemove", Po));
1038
1038
  }
1039
1039
  function Po() {
1040
1040
  var r = performance.now();
1041
- r - Xi < 20 && (Ye.isTouch = !1, document.removeEventListener("mousemove", Po)), Xi = r;
1041
+ r - zi < 20 && (Ye.isTouch = !1, document.removeEventListener("mousemove", Po)), zi = r;
1042
1042
  }
1043
1043
  function Jl() {
1044
1044
  var r = document.activeElement;
@@ -1152,7 +1152,7 @@ function au(r, e) {
1152
1152
  }, {});
1153
1153
  return n;
1154
1154
  }
1155
- function Yi(r, e) {
1155
+ function Xi(r, e) {
1156
1156
  var t = Object.assign({}, e, {
1157
1157
  content: No(e.content, [r])
1158
1158
  }, e.ignoreAttributes ? {} : au(r, e.plugins));
@@ -1164,15 +1164,15 @@ function Yi(r, e) {
1164
1164
  var lu = function() {
1165
1165
  return "innerHTML";
1166
1166
  };
1167
- function ei(r, e) {
1167
+ function Jn(r, e) {
1168
1168
  r[lu()] = e;
1169
1169
  }
1170
- function Ki(r) {
1170
+ function Yi(r) {
1171
1171
  var e = Pt();
1172
- return r === !0 ? e.className = Io : (e.className = Ro, Jr(r) ? e.appendChild(r) : ei(e, r)), e;
1172
+ return r === !0 ? e.className = Io : (e.className = Ro, Jr(r) ? e.appendChild(r) : Jn(e, r)), e;
1173
1173
  }
1174
- function Zi(r, e) {
1175
- Jr(e.content) ? (ei(r, ""), r.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? ei(r, e.content) : r.textContent = e.content);
1174
+ function Ki(r, e) {
1175
+ Jr(e.content) ? (Jn(r, ""), r.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Jn(r, e.content) : r.textContent = e.content);
1176
1176
  }
1177
1177
  function Kr(r) {
1178
1178
  var e = r.firstElementChild, t = Ht(e.children);
@@ -1193,10 +1193,10 @@ function jo(r) {
1193
1193
  var e = Pt(), t = Pt();
1194
1194
  t.className = Gl, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
1195
1195
  var n = Pt();
1196
- n.className = So, n.setAttribute("data-state", "hidden"), Zi(n, r.props), e.appendChild(t), t.appendChild(n), i(r.props, r.props);
1196
+ n.className = So, n.setAttribute("data-state", "hidden"), Ki(n, r.props), e.appendChild(t), t.appendChild(n), i(r.props, r.props);
1197
1197
  function i(s, a) {
1198
1198
  var o = Kr(e), f = o.box, g = o.content, c = o.arrow;
1199
- a.theme ? f.setAttribute("data-theme", a.theme) : f.removeAttribute("data-theme"), typeof a.animation == "string" ? f.setAttribute("data-animation", a.animation) : f.removeAttribute("data-animation"), a.inertia ? f.setAttribute("data-inertia", "") : f.removeAttribute("data-inertia"), f.style.maxWidth = typeof a.maxWidth == "number" ? a.maxWidth + "px" : a.maxWidth, a.role ? f.setAttribute("role", a.role) : f.removeAttribute("role"), (s.content !== a.content || s.allowHTML !== a.allowHTML) && Zi(g, r.props), a.arrow ? c ? s.arrow !== a.arrow && (f.removeChild(c), f.appendChild(Ki(a.arrow))) : f.appendChild(Ki(a.arrow)) : c && f.removeChild(c);
1199
+ a.theme ? f.setAttribute("data-theme", a.theme) : f.removeAttribute("data-theme"), typeof a.animation == "string" ? f.setAttribute("data-animation", a.animation) : f.removeAttribute("data-animation"), a.inertia ? f.setAttribute("data-inertia", "") : f.removeAttribute("data-inertia"), f.style.maxWidth = typeof a.maxWidth == "number" ? a.maxWidth + "px" : a.maxWidth, a.role ? f.setAttribute("role", a.role) : f.removeAttribute("role"), (s.content !== a.content || s.allowHTML !== a.allowHTML) && Ki(g, r.props), a.arrow ? c ? s.arrow !== a.arrow && (f.removeChild(c), f.appendChild(Yi(a.arrow))) : f.appendChild(Yi(a.arrow)) : c && f.removeChild(c);
1200
1200
  }
1201
1201
  return {
1202
1202
  popper: e,
@@ -1206,7 +1206,7 @@ function jo(r) {
1206
1206
  jo.$$tippy = !0;
1207
1207
  var uu = 1, Dr = [], yn = [];
1208
1208
  function fu(r, e) {
1209
- var t = Yi(r, Object.assign({}, He, Lo(Qi(e)))), n, i, s, a = !1, o = !1, f = !1, g = !1, c, m, I, v = [], d = Vi(B, t.interactiveDebounce), y, w = uu++, p = null, _ = Ql(t.plugins), S = {
1209
+ var t = Xi(r, Object.assign({}, He, Lo(Hi(e)))), n, i, s, a = !1, o = !1, f = !1, g = !1, c, m, I, v = [], d = Gi(B, t.interactiveDebounce), y, w = uu++, p = null, _ = Ql(t.plugins), S = {
1210
1210
  // Is the instance currently enabled?
1211
1211
  isEnabled: !0,
1212
1212
  // Is the tippy currently showing and not transitioning out?
@@ -1316,9 +1316,9 @@ function fu(r, e) {
1316
1316
  function Z(F) {
1317
1317
  if (!(Ye.isTouch && (f || F.type === "mousedown"))) {
1318
1318
  var se = F.composedPath && F.composedPath()[0] || F.target;
1319
- if (!(h.props.interactive && zi(O, se))) {
1319
+ if (!(h.props.interactive && Qi(O, se))) {
1320
1320
  if (Rt(h.props.triggerTarget || r).some(function(de) {
1321
- return zi(de, se);
1321
+ return Qi(de, se);
1322
1322
  })) {
1323
1323
  if (Ye.isTouch || h.state.isVisible && h.props.trigger.indexOf("click") >= 0)
1324
1324
  return;
@@ -1403,7 +1403,7 @@ function fu(r, e) {
1403
1403
  var se, de = !1;
1404
1404
  if (!(!h.state.isEnabled || J(F) || o)) {
1405
1405
  var ve = ((se = c) == null ? void 0 : se.type) === "focus";
1406
- c = F, y = F.currentTarget, A(), !h.state.isVisible && bi(F) && Dr.forEach(function(pe) {
1406
+ c = F, y = F.currentTarget, A(), !h.state.isVisible && gi(F) && Dr.forEach(function(pe) {
1407
1407
  return pe(F);
1408
1408
  }), F.type === "click" && (h.props.trigger.indexOf("mouseenter") < 0 || a) && h.props.hideOnClick !== !1 && h.state.isVisible ? de = !0 : V(F), F.type === "click" && (a = !de), de && !ve && Ee(F);
1409
1409
  }
@@ -1538,10 +1538,10 @@ function fu(r, e) {
1538
1538
  function b(F) {
1539
1539
  if (!h.state.isDestroyed) {
1540
1540
  G("onBeforeUpdate", [h, F]), be();
1541
- var se = h.props, de = Yi(r, Object.assign({}, se, Qi(F), {
1541
+ var se = h.props, de = Xi(r, Object.assign({}, se, Hi(F), {
1542
1542
  ignoreAttributes: !0
1543
1543
  }));
1544
- h.props = de, ye(), se.interactiveDebounce !== de.interactiveDebounce && (W(), d = Vi(B, de.interactiveDebounce)), se.triggerTarget && !de.triggerTarget ? Rt(se.triggerTarget).forEach(function(ve) {
1544
+ h.props = de, ye(), se.interactiveDebounce !== de.interactiveDebounce && (W(), d = Gi(B, de.interactiveDebounce)), se.triggerTarget && !de.triggerTarget ? Rt(se.triggerTarget).forEach(function(ve) {
1545
1545
  ve.removeAttribute("aria-expanded");
1546
1546
  }) : de.triggerTarget && r.removeAttribute("aria-expanded"), A(), me(), L && L(se, de), h.popperInstance && (te(), K().forEach(function(ve) {
1547
1547
  requestAnimationFrame(ve._tippy.popperInstance.forceUpdate);
@@ -1567,7 +1567,7 @@ function fu(r, e) {
1567
1567
  var Yt = le(), ct = Yt.box, rt = Yt.content;
1568
1568
  gn([ct, rt], pe), Tr([ct, rt], "visible");
1569
1569
  }
1570
- ce(), A(), Hi(yn, h), (tt = h.popperInstance) == null || tt.forceUpdate(), G("onMount", [h]), h.props.animation && H() && U(pe, function() {
1570
+ ce(), A(), Vi(yn, h), (tt = h.popperInstance) == null || tt.forceUpdate(), G("onMount", [h]), h.props.animation && H() && U(pe, function() {
1571
1571
  h.state.isShown = !0, G("onShown", [h]);
1572
1572
  });
1573
1573
  }
@@ -1585,7 +1585,7 @@ function fu(r, e) {
1585
1585
  }
1586
1586
  }
1587
1587
  function N(F) {
1588
- ee().addEventListener("mousemove", d), Hi(Dr, d), d(F);
1588
+ ee().addEventListener("mousemove", d), Vi(Dr, d), d(F);
1589
1589
  }
1590
1590
  function k() {
1591
1591
  h.state.isVisible && h.hide(), h.state.isMounted && (P(), K().forEach(function(F) {
@@ -1773,13 +1773,13 @@ function pu() {
1773
1773
  var r = Pt();
1774
1774
  return r.className = To, Tr([r], "hidden"), r;
1775
1775
  }
1776
- var ti = {
1776
+ var ei = {
1777
1777
  clientX: 0,
1778
1778
  clientY: 0
1779
1779
  }, Br = [];
1780
1780
  function Do(r) {
1781
1781
  var e = r.clientX, t = r.clientY;
1782
- ti = {
1782
+ ei = {
1783
1783
  clientX: e,
1784
1784
  clientY: t
1785
1785
  };
@@ -1852,10 +1852,10 @@ var yu = {
1852
1852
  i || _ !== void 0 && o.followCursor !== _ && (d(), _ ? (v(), e.state.isMounted && !s && !f() && g()) : (c(), m()));
1853
1853
  },
1854
1854
  onMount: function() {
1855
- e.props.followCursor && !s && (a && (I(ti), a = !1), f() || g());
1855
+ e.props.followCursor && !s && (a && (I(ei), a = !1), f() || g());
1856
1856
  },
1857
1857
  onTrigger: function(w, p) {
1858
- bi(p) && (ti = {
1858
+ gi(p) && (ei = {
1859
1859
  clientX: p.clientX,
1860
1860
  clientY: p.clientY
1861
1861
  }), s = p.type === "focus";
@@ -1912,7 +1912,7 @@ var mu = {
1912
1912
  onCreate: m,
1913
1913
  onAfterUpdate: m,
1914
1914
  onTrigger: function(v, d) {
1915
- if (bi(d)) {
1915
+ if (gi(d)) {
1916
1916
  var y = Ht(e.reference.getClientRects()), w = y.find(function(_) {
1917
1917
  return _.left - 2 <= d.clientX && _.right + 2 >= d.clientX && _.top - 2 <= d.clientY && _.bottom + 2 >= d.clientY;
1918
1918
  }), p = y.indexOf(w);
@@ -1979,7 +1979,7 @@ var vu = {
1979
1979
  var a = null, o = null;
1980
1980
  function f() {
1981
1981
  var g = s("reference") ? i().getBoundingClientRect() : null, c = s("popper") ? n.getBoundingClientRect() : null;
1982
- (g && Ji(a, g) || c && Ji(o, c)) && e.popperInstance && e.popperInstance.update(), a = g, o = c, e.state.isMounted && requestAnimationFrame(f);
1982
+ (g && Zi(a, g) || c && Zi(o, c)) && e.popperInstance && e.popperInstance.update(), a = g, o = c, e.state.isMounted && requestAnimationFrame(f);
1983
1983
  }
1984
1984
  return {
1985
1985
  onMount: function() {
@@ -1988,7 +1988,7 @@ var vu = {
1988
1988
  };
1989
1989
  }
1990
1990
  };
1991
- function Ji(r, e) {
1991
+ function Zi(r, e) {
1992
1992
  return r && e ? r.top !== e.top || r.right !== e.right || r.bottom !== e.bottom || r.left !== e.left : !0;
1993
1993
  }
1994
1994
  _e.setDefaultProps({
@@ -2002,7 +2002,7 @@ _e.setDefaultProps({
2002
2002
  }
2003
2003
  });
2004
2004
  const xu = (r) => r instanceof Object && "$" in r && "$el" in r;
2005
- function yi(r, e = {}, t = { mount: !0, appName: "Tippy" }) {
2005
+ function bi(r, e = {}, t = { mount: !0, appName: "Tippy" }) {
2006
2006
  t = Object.assign({ mount: !0, appName: "Tippy" }, t);
2007
2007
  const n = Ia(), i = bt(), s = bt({
2008
2008
  isEnabled: !1,
@@ -2014,16 +2014,16 @@ function yi(r, e = {}, t = { mount: !0, appName: "Tippy" }) {
2014
2014
  let o = null;
2015
2015
  const f = () => o || (o = document.createDocumentFragment(), o), g = (L) => {
2016
2016
  let j, re = dt(L) ? L.value : L;
2017
- return Na(re) ? (a.value || (a.value = Di({
2017
+ return Na(re) ? (a.value || (a.value = ji({
2018
2018
  name: t.appName,
2019
2019
  setup: () => () => dt(L) ? L.value : L
2020
- }), n && Object.assign(a.value._context, n.appContext), a.value.mount(f())), j = () => f()) : typeof re == "object" ? (a.value || (a.value = Di({
2020
+ }), n && Object.assign(a.value._context, n.appContext), a.value.mount(f())), j = () => f()) : typeof re == "object" ? (a.value || (a.value = ji({
2021
2021
  name: t.appName,
2022
2022
  setup: () => () => Bt(dt(L) ? L.value : L)
2023
2023
  }), n && Object.assign(a.value._context, n.appContext), a.value.mount(f())), j = () => f()) : j = re, j;
2024
2024
  }, c = (L) => {
2025
2025
  let j = {};
2026
- return dt(L) ? j = L.value || {} : ji(L) ? j = { ...L } : j = { ...L }, j.content && (j.content = g(j.content)), j.triggerTarget && (j.triggerTarget = dt(j.triggerTarget) ? j.triggerTarget.value : j.triggerTarget), (!j.plugins || !Array.isArray(j.plugins)) && (j.plugins = []), j.plugins = j.plugins.filter((re) => re.name !== "vueTippyReactiveState"), j.plugins.push({
2026
+ return dt(L) ? j = L.value || {} : Li(L) ? j = { ...L } : j = { ...L }, j.content && (j.content = g(j.content)), j.triggerTarget && (j.triggerTarget = dt(j.triggerTarget) ? j.triggerTarget.value : j.triggerTarget), (!j.plugins || !Array.isArray(j.plugins)) && (j.plugins = []), j.plugins = j.plugins.filter((re) => re.name !== "vueTippyReactiveState"), j.plugins.push({
2027
2027
  name: "vueTippyReactiveState",
2028
2028
  fn: () => ({
2029
2029
  onCreate() {
@@ -2100,13 +2100,13 @@ function yi(r, e = {}, t = { mount: !0, appName: "Tippy" }) {
2100
2100
  mount: T,
2101
2101
  state: s
2102
2102
  };
2103
- return t.mount && (n ? n.isMounted ? T() : li(T) : T()), n && Aa(() => {
2103
+ return t.mount && (n ? n.isMounted ? T() : ai(T) : T()), n && Aa(() => {
2104
2104
  y();
2105
- }), dt(e) || ji(e) ? xr(e, m, { immediate: !1 }) : dt(e.content) && xr(e.content, I, { immediate: !1 }), O;
2105
+ }), dt(e) || Li(e) ? xr(e, m, { immediate: !1 }) : dt(e.content) && xr(e.content, I, { immediate: !1 }), O;
2106
2106
  }
2107
2107
  function Eu(r, e) {
2108
2108
  const t = bt();
2109
- return li(() => {
2109
+ return ai(() => {
2110
2110
  const i = (Array.isArray(r) ? r.map((s) => s.value) : typeof r == "function" ? r() : r.value).map((s) => s instanceof Element ? s._tippy : s).filter(Boolean);
2111
2111
  t.value = du(i, e ? { allowHTML: !0, ...e } : { allowHTML: !0 });
2112
2112
  }), {
@@ -2114,14 +2114,14 @@ function Eu(r, e) {
2114
2114
  };
2115
2115
  }
2116
2116
  function Su(r) {
2117
- return typeof r == "function" ? r() : oi(r);
2117
+ return typeof r == "function" ? r() : si(r);
2118
2118
  }
2119
2119
  function Tu(r) {
2120
2120
  var e, t;
2121
2121
  const n = Su(r);
2122
2122
  return (t = (e = n) === null || e === void 0 ? void 0 : e.$el) !== null && t !== void 0 ? t : n;
2123
2123
  }
2124
- const Iu = ai({
2124
+ const Iu = oi({
2125
2125
  props: {
2126
2126
  to: {
2127
2127
  type: [String, Function]
@@ -2197,14 +2197,14 @@ const Iu = ai({
2197
2197
  let v = i.value;
2198
2198
  return v || (v = i.value = s.value.parentElement), v;
2199
2199
  } : (typeof r.to == "string" || r.to instanceof String) && (g = () => document.querySelector(r.to)));
2200
- const c = yi(g, f());
2200
+ const c = bi(g, f());
2201
2201
  let m = e.content;
2202
- !m && r.to === "parent" && (m = e.default), li(() => {
2202
+ !m && r.to === "parent" && (m = e.default), ai(() => {
2203
2203
  o.value = !0, Sa(() => {
2204
2204
  m && c.setContent(() => a.value);
2205
2205
  });
2206
2206
  }), xr(c.state, () => {
2207
- t("state", oi(c.state));
2207
+ t("state", si(c.state));
2208
2208
  }, { immediate: !0, deep: !0 }), xr(() => r, () => {
2209
2209
  c.setProps(f()), m && c.setContent(() => a.value);
2210
2210
  }, { deep: !0 });
@@ -2260,21 +2260,21 @@ const Iu = ai({
2260
2260
  "touch",
2261
2261
  "touchHold"
2262
2262
  ];
2263
- let ri = {};
2263
+ let ti = {};
2264
2264
  Object.keys(_e.defaultProps).forEach((r) => {
2265
- Ru.includes(r) ? ri[r] = {
2265
+ Ru.includes(r) ? ti[r] = {
2266
2266
  type: Boolean,
2267
2267
  default: function() {
2268
2268
  return _e.defaultProps[r];
2269
2269
  }
2270
- } : ri[r] = {
2270
+ } : ti[r] = {
2271
2271
  default: function() {
2272
2272
  return _e.defaultProps[r];
2273
2273
  }
2274
2274
  };
2275
2275
  });
2276
- const Au = ai({
2277
- props: ri,
2276
+ const Au = oi({
2277
+ props: ti,
2278
2278
  setup(r) {
2279
2279
  const e = bt([]), { singleton: t } = Eu(e, r);
2280
2280
  return { instances: e, singleton: t };
@@ -2306,7 +2306,7 @@ const Au = ai({
2306
2306
  }), t.props && t.props.onTippyMount && (n.onMount = function(...o) {
2307
2307
  var f;
2308
2308
  return (f = t.props) === null || f === void 0 ? void 0 : f.onTippyMount(...o);
2309
- }), r.getAttribute("title") && !n.content && (n.content = r.getAttribute("title"), r.removeAttribute("title")), r.getAttribute("content") && !n.content && (n.content = r.getAttribute("content")), yi(r, n);
2309
+ }), r.getAttribute("title") && !n.content && (n.content = r.getAttribute("title"), r.removeAttribute("title")), r.getAttribute("content") && !n.content && (n.content = r.getAttribute("content")), bi(r, n);
2310
2310
  },
2311
2311
  unmounted(r) {
2312
2312
  r.$tippy ? r.$tippy.destroy() : r._tippy && r._tippy.destroy();
@@ -2348,10 +2348,10 @@ function Pu(r) {
2348
2348
  });
2349
2349
  }), t;
2350
2350
  }
2351
- var ht = {}, Mr = {}, _n = {}, Jt = {}, es;
2351
+ var ht = {}, Mr = {}, _n = {}, Jt = {}, Ji;
2352
2352
  function Lu() {
2353
- if (es) return Jt;
2354
- es = 1, Jt.byteLength = o, Jt.toByteArray = g, Jt.fromByteArray = I;
2353
+ if (Ji) return Jt;
2354
+ Ji = 1, Jt.byteLength = o, Jt.toByteArray = g, Jt.fromByteArray = I;
2355
2355
  for (var r = [], e = [], t = typeof Uint8Array < "u" ? Uint8Array : Array, n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", i = 0, s = n.length; i < s; ++i)
2356
2356
  r[i] = n[i], e[n.charCodeAt(i)] = i;
2357
2357
  e[45] = 62, e[95] = 63;
@@ -2397,9 +2397,9 @@ function Lu() {
2397
2397
  return Jt;
2398
2398
  }
2399
2399
  var $r = {};
2400
- var ts;
2400
+ var es;
2401
2401
  function ju() {
2402
- return ts || (ts = 1, $r.read = function(r, e, t, n, i) {
2402
+ return es || (es = 1, $r.read = function(r, e, t, n, i) {
2403
2403
  var s, a, o = i * 8 - n - 1, f = (1 << o) - 1, g = f >> 1, c = -7, m = t ? i - 1 : 0, I = t ? -1 : 1, v = r[e + m];
2404
2404
  for (m += I, s = v & (1 << -c) - 1, v >>= -c, c += o; c > 0; s = s * 256 + r[e + m], m += I, c -= 8)
2405
2405
  ;
@@ -2422,9 +2422,9 @@ function ju() {
2422
2422
  r[t + v - d] |= y * 128;
2423
2423
  }), $r;
2424
2424
  }
2425
- var rs;
2425
+ var ts;
2426
2426
  function ut() {
2427
- return rs || (rs = 1, (function(r) {
2427
+ return ts || (ts = 1, (function(r) {
2428
2428
  const e = Lu(), t = ju(), n = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
2429
2429
  r.Buffer = o, r.SlowBuffer = _, r.INSPECT_MAX_BYTES = 50;
2430
2430
  const i = 2147483647;
@@ -3390,7 +3390,7 @@ const er = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", tr = "http://www.w3.or
3390
3390
  implies: `${Fr}log#implies`,
3391
3391
  isImpliedBy: `${Fr}log#isImpliedBy`
3392
3392
  }
3393
- }, { xsd: kr } = Pe, Bu = /\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g, ns = {
3393
+ }, { xsd: kr } = Pe, Bu = /\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g, rs = {
3394
3394
  "\\": "\\",
3395
3395
  "'": "'",
3396
3396
  '"': '"',
@@ -3430,7 +3430,7 @@ const er = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", tr = "http://www.w3.or
3430
3430
  _whitespace: !0,
3431
3431
  _endOfFile: !0
3432
3432
  }, Fu = /$0^/;
3433
- class _i {
3433
+ class yi {
3434
3434
  constructor(e) {
3435
3435
  if (this._iri = /^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/, this._unescapedIri = /^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/, this._simpleQuotedString = /^"([^"\\\r\n]*)"(?=[^"])/, this._simpleApostropheString = /^'([^'\\\r\n]*)'(?=[^'])/, this._langcode = /^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i, this._prefix = /^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/, this._prefixed = /^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/, this._variable = /^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/, this._blank = /^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/, this._number = /^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/, this._boolean = /^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/, this._keyword = /^@[a-z]+(?=[\s#<:])/i, this._sparqlKeyword = /^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i, this._shortPredicates = /^a(?=[\s#()\[\]\{\}"'<>])/, this._newline = /^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/, this._comment = /#([^\n\r]*)/, this._whitespace = /^[ \t]+/, this._endOfFile = /^(?:#[^\n\r]*)?$/, e = e || {}, this._isImpliedBy = e.isImpliedBy, this._lineMode = !!e.lineMode) {
3436
3436
  this._n3Mode = !1;
@@ -3596,7 +3596,7 @@ class _i {
3596
3596
  let f = Number.parseInt(a, 16);
3597
3597
  return f <= 65535 ? String.fromCharCode(Number.parseInt(a, 16)) : String.fromCharCode(55296 + ((f -= 65536) >> 10), 56320 + (f & 1023));
3598
3598
  }
3599
- return o in ns ? ns[o] : (t = !0, "");
3599
+ return o in rs ? rs[o] : (t = !0, "");
3600
3600
  });
3601
3601
  return t ? null : n;
3602
3602
  }
@@ -3664,8 +3664,8 @@ const Qe = {
3664
3664
  variable: ko,
3665
3665
  literal: Fo,
3666
3666
  defaultGraph: qu,
3667
- quad: ni,
3668
- triple: ni,
3667
+ quad: ri,
3668
+ triple: ri,
3669
3669
  fromTerm: gr,
3670
3670
  fromQuad: Uo
3671
3671
  };
@@ -3738,7 +3738,7 @@ let en = class extends Ue {
3738
3738
  datatype: { termType: "NamedNode", value: this.datatypeString }
3739
3739
  };
3740
3740
  }
3741
- }, mi = class extends Ue {
3741
+ }, _i = class extends Ue {
3742
3742
  constructor(e) {
3743
3743
  super(`_:${e}`);
3744
3744
  }
@@ -3750,7 +3750,7 @@ let en = class extends Ue {
3750
3750
  get value() {
3751
3751
  return this.id.substr(2);
3752
3752
  }
3753
- }, wi = class extends Ue {
3753
+ }, mi = class extends Ue {
3754
3754
  constructor(e) {
3755
3755
  super(`?${e}`);
3756
3756
  }
@@ -3762,7 +3762,7 @@ let en = class extends Ue {
3762
3762
  get value() {
3763
3763
  return this.id.substr(1);
3764
3764
  }
3765
- }, vi = class extends Ue {
3765
+ }, wi = class extends Ue {
3766
3766
  constructor() {
3767
3767
  return super(""), zt || this;
3768
3768
  }
@@ -3775,7 +3775,7 @@ let en = class extends Ue {
3775
3775
  return this === e || !!e && this.termType === e.termType;
3776
3776
  }
3777
3777
  };
3778
- zt = new vi();
3778
+ zt = new wi();
3779
3779
  function Nt(r, e, t) {
3780
3780
  if (e = e || Qe, !r)
3781
3781
  return e.defaultGraph();
@@ -3876,7 +3876,7 @@ function Mo(r) {
3876
3876
  return new en(r);
3877
3877
  }
3878
3878
  function $o(r) {
3879
- return new mi(r || `n3-${Uu++}`);
3879
+ return new _i(r || `n3-${Uu++}`);
3880
3880
  }
3881
3881
  function Fo(r, e) {
3882
3882
  if (typeof e == "string")
@@ -3885,12 +3885,12 @@ function Fo(r, e) {
3885
3885
  return t === "" && (typeof r == "boolean" ? t = At.boolean : typeof r == "number" && (Number.isFinite(r) ? t = Number.isInteger(r) ? At.integer : At.double : (t = At.double, Number.isNaN(r) || (r = r > 0 ? "INF" : "-INF")))), t === "" || t === At.string ? new kt(`"${r}"`) : new kt(`"${r}"^^${t}`);
3886
3886
  }
3887
3887
  function ko(r) {
3888
- return new wi(r);
3888
+ return new mi(r);
3889
3889
  }
3890
3890
  function qu() {
3891
3891
  return zt;
3892
3892
  }
3893
- function ni(r, e, t, n) {
3893
+ function ri(r, e, t, n) {
3894
3894
  return new Qt(r, e, t, n);
3895
3895
  }
3896
3896
  function gr(r) {
@@ -3918,19 +3918,19 @@ function Uo(r) {
3918
3918
  return r;
3919
3919
  if (r.termType !== "Quad")
3920
3920
  throw new Error(`Unexpected termType: ${r.termType}`);
3921
- return ni(gr(r.subject), gr(r.predicate), gr(r.object), gr(r.graph));
3921
+ return ri(gr(r.subject), gr(r.predicate), gr(r.object), gr(r.graph));
3922
3922
  }
3923
- let is = 0;
3923
+ let ns = 0;
3924
3924
  class tn {
3925
3925
  constructor(e) {
3926
3926
  this._contextStack = [], this._graph = null, e = e || {}, this._setBase(e.baseIRI), e.factory && qo(this, e.factory);
3927
3927
  const t = typeof e.format == "string" ? e.format.match(/\w*$/)[0].toLowerCase() : "", n = /turtle/.test(t), i = /trig/.test(t), s = /triple/.test(t), a = /quad/.test(t), o = this._n3Mode = /n3/.test(t), f = s || a;
3928
- (this._supportsNamedGraphs = !(n || o)) || (this._readPredicateOrNamedGraph = this._readPredicate), this._supportsQuads = !(n || i || s || o), this._isImpliedBy = e.isImpliedBy, this._supportsRDFStar = t === "" || /star|\*$/.test(t), f && (this._resolveRelativeIRI = (g) => null), this._blankNodePrefix = typeof e.blankNodePrefix != "string" ? "" : e.blankNodePrefix.replace(/^(?!_:)/, "_:"), this._lexer = e.lexer || new _i({ lineMode: f, n3: o, isImpliedBy: this._isImpliedBy }), this._explicitQuantifiers = !!e.explicitQuantifiers;
3928
+ (this._supportsNamedGraphs = !(n || o)) || (this._readPredicateOrNamedGraph = this._readPredicate), this._supportsQuads = !(n || i || s || o), this._isImpliedBy = e.isImpliedBy, this._supportsRDFStar = t === "" || /star|\*$/.test(t), f && (this._resolveRelativeIRI = (g) => null), this._blankNodePrefix = typeof e.blankNodePrefix != "string" ? "" : e.blankNodePrefix.replace(/^(?!_:)/, "_:"), this._lexer = e.lexer || new yi({ lineMode: f, n3: o, isImpliedBy: this._isImpliedBy }), this._explicitQuantifiers = !!e.explicitQuantifiers;
3929
3929
  }
3930
3930
  // ## Static class methods
3931
3931
  // ### `_resetBlankNodePrefix` restarts blank node prefix identification
3932
3932
  static _resetBlankNodePrefix() {
3933
- is = 0;
3933
+ ns = 0;
3934
3934
  }
3935
3935
  // ## Private methods
3936
3936
  // ### `_setBase` sets the base IRI to resolve relative IRIs
@@ -4553,7 +4553,7 @@ class tn {
4553
4553
  // ### `parse` parses the N3 input and emits each parsed quad through the onQuad callback.
4554
4554
  parse(e, t, n) {
4555
4555
  let i, s, a;
4556
- if (t && (t.onQuad || t.onPrefix || t.onComment) ? (i = t.onQuad, s = t.onPrefix, a = t.onComment) : (i = t, s = n), this._readCallback = this._readInTopContext, this._sparqlStyle = !1, this._prefixes = /* @__PURE__ */ Object.create(null), this._prefixes._ = this._blankNodePrefix ? this._blankNodePrefix.substr(2) : `b${is++}_`, this._prefixCallback = s || Ur, this._inversePredicate = !1, this._quantified = /* @__PURE__ */ Object.create(null), !i) {
4556
+ if (t && (t.onQuad || t.onPrefix || t.onComment) ? (i = t.onQuad, s = t.onPrefix, a = t.onComment) : (i = t, s = n), this._readCallback = this._readInTopContext, this._sparqlStyle = !1, this._prefixes = /* @__PURE__ */ Object.create(null), this._prefixes._ = this._blankNodePrefix ? this._blankNodePrefix.substr(2) : `b${ns++}_`, this._prefixCallback = s || Ur, this._inversePredicate = !1, this._quantified = /* @__PURE__ */ Object.create(null), !i) {
4557
4557
  const f = [];
4558
4558
  let g;
4559
4559
  if (this._callback = (c, m) => {
@@ -4634,7 +4634,7 @@ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4634
4634
  function Xr(r) {
4635
4635
  return r.replace(/[\]\/\(\)\*\+\?\.\\\$]/g, "\\$&");
4636
4636
  }
4637
- const Yu = /^:?[^:?#]*(?:[?#]|$)|^file:|^[^:]*:\/*[^?#]+?\/(?:\.\.?(?:\/|$)|\/)/i, Ku = /^(?:(?:[^/?#]{3,}|\.?[^/?#.]\.?)(?:\/[^/?#]{3,}|\.?[^/?#.]\.?)*\/?)?(?:[?#]|$)/, ss = "./", Zu = "../", mn = "?", os = "#";
4637
+ const Yu = /^:?[^:?#]*(?:[?#]|$)|^file:|^[^:]*:\/*[^?#]+?\/(?:\.\.?(?:\/|$)|\/)/i, Ku = /^(?:(?:[^/?#]{3,}|\.?[^/?#.]\.?)(?:\/[^/?#]{3,}|\.?[^/?#.]\.?)*\/?)?(?:[?#]|$)/, is = "./", Zu = "../", mn = "?", ss = "#";
4638
4638
  class Or {
4639
4639
  constructor(e) {
4640
4640
  this.base = e, this._baseLength = 0, this._baseMatcher = null, this._pathReplacements = new Array(e.length + 1);
@@ -4650,10 +4650,10 @@ class Or {
4650
4650
  const e = /^[^:]*:\/*/.exec(this.base)[0], t = ["^", Xr(e)], n = [], i = [], s = /[^/?#]*([/?#])/y;
4651
4651
  let a, o = 0, f = 0, g = s.lastIndex = e.length;
4652
4652
  for (; !o && !f && (a = s.exec(this.base)); )
4653
- a[1] === os ? f = s.lastIndex - 1 : (t.push(Xr(a[0]), "(?:"), n.push(")?"), a[1] !== mn ? i.push(g = s.lastIndex) : (o = g = s.lastIndex, f = this.base.indexOf(os, o), this._pathReplacements[o] = mn));
4653
+ a[1] === ss ? f = s.lastIndex - 1 : (t.push(Xr(a[0]), "(?:"), n.push(")?"), a[1] !== mn ? i.push(g = s.lastIndex) : (o = g = s.lastIndex, f = this.base.indexOf(ss, o), this._pathReplacements[o] = mn));
4654
4654
  for (let c = 0; c < i.length; c++)
4655
4655
  this._pathReplacements[i[c]] = Zu.repeat(i.length - c - 1);
4656
- return this._pathReplacements[i[i.length - 1]] = ss, this._baseLength = f > 0 ? f : this.base.length, t.push(
4656
+ return this._pathReplacements[i[i.length - 1]] = is, this._baseLength = f > 0 ? f : this.base.length, t.push(
4657
4657
  Xr(this.base.substring(g, this._baseLength)),
4658
4658
  o ? "(?:#|$)" : "(?:[?#]|$)"
4659
4659
  ), this._baseMatcher = new RegExp([...t, ...n].join(""));
@@ -4668,12 +4668,12 @@ class Or {
4668
4668
  const i = this._pathReplacements[n];
4669
4669
  if (i) {
4670
4670
  const s = e.substring(n);
4671
- return i !== mn && !Ku.test(s) ? e : i === ss && /^[^?#]/.test(s) ? s : i + s;
4671
+ return i !== mn && !Ku.test(s) ? e : i === is && /^[^?#]/.test(s) ? s : i + s;
4672
4672
  }
4673
4673
  return e.substring(n - 1);
4674
4674
  }
4675
4675
  }
4676
- const rr = Qe.defaultGraph(), { rdf: Ju, xsd: Dt } = Pe, as = /["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/, ls = /["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g, ef = {
4676
+ const rr = Qe.defaultGraph(), { rdf: Ju, xsd: Dt } = Pe, os = /["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/, as = /["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g, ef = {
4677
4677
  "\\": "\\\\",
4678
4678
  '"': '\\"',
4679
4679
  " ": "\\t",
@@ -4755,14 +4755,14 @@ class Pr {
4755
4755
  if (e.termType !== "NamedNode")
4756
4756
  return this._lists && e.value in this._lists && (e = this.list(this._lists[e.value])), "id" in e ? e.id : `_:${e.value}`;
4757
4757
  let t = e.value;
4758
- this._baseIri && (t = this._baseIri.toRelative(t)), as.test(t) && (t = t.replace(ls, us));
4758
+ this._baseIri && (t = this._baseIri.toRelative(t)), os.test(t) && (t = t.replace(as, ls));
4759
4759
  const n = this._prefixRegex.exec(t);
4760
4760
  return n ? n[1] ? this._prefixIRIs[n[1]] + n[2] : t : `<${t}>`;
4761
4761
  }
4762
4762
  // ### `_encodeLiteral` represents a literal
4763
4763
  _encodeLiteral(e) {
4764
4764
  let t = e.value;
4765
- if (as.test(t) && (t = t.replace(ls, us)), e.language)
4765
+ if (os.test(t) && (t = t.replace(as, ls)), e.language)
4766
4766
  return `"${t}"@${e.language}`;
4767
4767
  if (this._lineMode) {
4768
4768
  if (e.datatype.value === Dt.string)
@@ -4895,14 +4895,14 @@ class Pr {
4895
4895
  t && t();
4896
4896
  }
4897
4897
  }
4898
- function us(r) {
4898
+ function ls(r) {
4899
4899
  let e = ef[r];
4900
4900
  return e === void 0 && (r.length === 1 ? (e = r.charCodeAt(0).toString(16), e = "\\u0000".substr(0, 6 - e.length) + e) : (e = ((r.charCodeAt(0) - 55296) * 1024 + r.charCodeAt(1) + 9216).toString(16), e = "\\U00000000".substr(0, 10 - e.length) + e)), e;
4901
4901
  }
4902
- var wn = { exports: {} }, vn = { exports: {} }, xn, fs;
4902
+ var wn = { exports: {} }, vn = { exports: {} }, xn, us;
4903
4903
  function Ie() {
4904
- if (fs) return xn;
4905
- fs = 1;
4904
+ if (us) return xn;
4905
+ us = 1;
4906
4906
  class r extends Error {
4907
4907
  constructor(t) {
4908
4908
  if (!Array.isArray(t))
@@ -5014,9 +5014,9 @@ function Ie() {
5014
5014
  Uint8Array
5015
5015
  }, xn;
5016
5016
  }
5017
- var En = { exports: {} }, Sn, cs;
5017
+ var En = { exports: {} }, Sn, fs;
5018
5018
  function Vo() {
5019
- return cs || (cs = 1, Sn = {
5019
+ return fs || (fs = 1, Sn = {
5020
5020
  format(r, ...e) {
5021
5021
  return r.replace(/%([sdifj])/g, function(...[t, n]) {
5022
5022
  const i = e.shift();
@@ -5045,10 +5045,10 @@ function Vo() {
5045
5045
  }
5046
5046
  }), Sn;
5047
5047
  }
5048
- var Tn, ds;
5048
+ var Tn, cs;
5049
5049
  function De() {
5050
- if (ds) return Tn;
5051
- ds = 1;
5050
+ if (cs) return Tn;
5051
+ cs = 1;
5052
5052
  const { format: r, inspect: e } = Vo(), { AggregateError: t } = Ie(), n = globalThis.AggregateError || t, i = /* @__PURE__ */ Symbol("kIsNodeError"), s = [
5053
5053
  "string",
5054
5054
  "function",
@@ -5275,20 +5275,20 @@ function De() {
5275
5275
  codes: f
5276
5276
  }, Tn;
5277
5277
  }
5278
- var ir = { exports: {} }, hs;
5278
+ var ir = { exports: {} }, ds;
5279
5279
  function Rr() {
5280
- if (hs) return ir.exports;
5281
- hs = 1;
5280
+ if (ds) return ir.exports;
5281
+ ds = 1;
5282
5282
  const { AbortController: r, AbortSignal: e } = typeof self < "u" ? self : typeof window < "u" ? window : (
5283
5283
  /* otherwise */
5284
5284
  void 0
5285
5285
  );
5286
5286
  return ir.exports = r, ir.exports.AbortSignal = e, ir.exports.default = r, ir.exports;
5287
5287
  }
5288
- var qr = { exports: {} }, ps;
5288
+ var qr = { exports: {} }, hs;
5289
5289
  function rn() {
5290
- if (ps) return qr.exports;
5291
- ps = 1;
5290
+ if (hs) return qr.exports;
5291
+ hs = 1;
5292
5292
  var r = typeof Reflect == "object" ? Reflect : null, e = r && typeof r.apply == "function" ? r.apply : function(T, O, L) {
5293
5293
  return Function.prototype.apply.call(T, O, L);
5294
5294
  }, t;
@@ -5497,9 +5497,9 @@ function rn() {
5497
5497
  }
5498
5498
  return qr.exports;
5499
5499
  }
5500
- var gs;
5500
+ var ps;
5501
5501
  function ke() {
5502
- return gs || (gs = 1, (function(r) {
5502
+ return ps || (ps = 1, (function(r) {
5503
5503
  const e = ut(), { format: t, inspect: n } = Vo(), {
5504
5504
  codes: { ERR_INVALID_ARG_TYPE: i }
5505
5505
  } = De(), { kResistStopPropagation: s, AggregateError: a, SymbolDispose: o } = Ie(), f = globalThis.AbortSignal || Rr().AbortSignal, g = globalThis.AbortController || Rr().AbortController, c = Object.getPrototypeOf(async function() {
@@ -5596,10 +5596,10 @@ function ke() {
5596
5596
  }, r.exports.promisify.custom = /* @__PURE__ */ Symbol.for("nodejs.util.promisify.custom");
5597
5597
  })(En)), En.exports;
5598
5598
  }
5599
- var Wr = {}, In, bs;
5599
+ var Wr = {}, In, gs;
5600
5600
  function Lr() {
5601
- if (bs) return In;
5602
- bs = 1;
5601
+ if (gs) return In;
5602
+ gs = 1;
5603
5603
  const {
5604
5604
  ArrayIsArray: r,
5605
5605
  ArrayPrototypeIncludes: e,
@@ -5805,10 +5805,10 @@ function Lr() {
5805
5805
  validateLinkHeaderValue: te
5806
5806
  }, In;
5807
5807
  }
5808
- var Gr = { exports: {} }, Rn = { exports: {} }, ys;
5808
+ var Gr = { exports: {} }, Rn = { exports: {} }, bs;
5809
5809
  function Lt() {
5810
- if (ys) return Rn.exports;
5811
- ys = 1;
5810
+ if (bs) return Rn.exports;
5811
+ bs = 1;
5812
5812
  var r = Rn.exports = {}, e, t;
5813
5813
  function n() {
5814
5814
  throw new Error("setTimeout has not been defined");
@@ -5901,10 +5901,10 @@ function Lt() {
5901
5901
  return 0;
5902
5902
  }, Rn.exports;
5903
5903
  }
5904
- var An, _s;
5904
+ var An, ys;
5905
5905
  function ft() {
5906
- if (_s) return An;
5907
- _s = 1;
5906
+ if (ys) return An;
5907
+ ys = 1;
5908
5908
  const { SymbolAsyncIterator: r, SymbolIterator: e, SymbolFor: t } = Ie(), n = t("nodejs.stream.destroyed"), i = t("nodejs.stream.errored"), s = t("nodejs.stream.readable"), a = t("nodejs.stream.writable"), o = t("nodejs.stream.disturbed"), f = t("nodejs.webstream.isClosedPromise"), g = t("nodejs.webstream.controllerErrorFunction");
5909
5909
  function c(A, W = !1) {
5910
5910
  var Z;
@@ -6047,10 +6047,10 @@ function ft() {
6047
6047
  isTransformStream: w
6048
6048
  }, An;
6049
6049
  }
6050
- var ms;
6050
+ var _s;
6051
6051
  function wt() {
6052
- if (ms) return Gr.exports;
6053
- ms = 1;
6052
+ if (_s) return Gr.exports;
6053
+ _s = 1;
6054
6054
  const r = Lt(), { AbortError: e, codes: t } = De(), { ERR_INVALID_ARG_TYPE: n, ERR_STREAM_PREMATURE_CLOSE: i } = t, { kEmptyObject: s, once: a } = ke(), { validateAbortSignal: o, validateFunction: f, validateObject: g, validateBoolean: c } = Lr(), { Promise: m, PromisePrototypeThen: I, SymbolDispose: v } = Ie(), {
6055
6055
  isClosed: d,
6056
6056
  isReadable: y,
@@ -6173,10 +6173,10 @@ function wt() {
6173
6173
  }
6174
6174
  return Gr.exports = le, Gr.exports.finished = me, Gr.exports;
6175
6175
  }
6176
- var Nn, ws;
6176
+ var Nn, ms;
6177
6177
  function Xt() {
6178
- if (ws) return Nn;
6179
- ws = 1;
6178
+ if (ms) return Nn;
6179
+ ms = 1;
6180
6180
  const r = Lt(), {
6181
6181
  aggregateTwoErrors: e,
6182
6182
  codes: { ERR_MULTIPLE_CALLBACK: t },
@@ -6275,10 +6275,10 @@ function Xt() {
6275
6275
  errorOrDestroy: _
6276
6276
  }, Nn;
6277
6277
  }
6278
- var Cn, vs;
6279
- function xi() {
6280
- if (vs) return Cn;
6281
- vs = 1;
6278
+ var Cn, ws;
6279
+ function vi() {
6280
+ if (ws) return Cn;
6281
+ ws = 1;
6282
6282
  const { ArrayIsArray: r, ObjectSetPrototypeOf: e } = Ie(), { EventEmitter: t } = rn();
6283
6283
  function n(s) {
6284
6284
  t.call(this, s);
@@ -6318,9 +6318,9 @@ function xi() {
6318
6318
  prependListener: i
6319
6319
  }, Cn;
6320
6320
  }
6321
- var On = { exports: {} }, xs;
6321
+ var On = { exports: {} }, vs;
6322
6322
  function nn() {
6323
- return xs || (xs = 1, (function(r) {
6323
+ return vs || (vs = 1, (function(r) {
6324
6324
  const { SymbolDispose: e } = Ie(), { AbortError: t, codes: n } = De(), { isNodeStream: i, isWebStream: s, kControllerErrorFunction: a } = ft(), o = wt(), { ERR_INVALID_ARG_TYPE: f } = n;
6325
6325
  let g;
6326
6326
  const c = (m, I) => {
@@ -6358,10 +6358,10 @@ function nn() {
6358
6358
  };
6359
6359
  })(On)), On.exports;
6360
6360
  }
6361
- var Pn, Es;
6361
+ var Pn, xs;
6362
6362
  function tf() {
6363
- if (Es) return Pn;
6364
- Es = 1;
6363
+ if (xs) return Pn;
6364
+ xs = 1;
6365
6365
  const { StringPrototypeSlice: r, SymbolIterator: e, TypedArrayPrototypeSet: t, Uint8Array: n } = Ie(), { Buffer: i } = ut(), { inspect: s } = ke();
6366
6366
  return Pn = class {
6367
6367
  constructor() {
@@ -6462,10 +6462,10 @@ function tf() {
6462
6462
  }
6463
6463
  }, Pn;
6464
6464
  }
6465
- var Ln, Ss;
6465
+ var Ln, Es;
6466
6466
  function sn() {
6467
- if (Ss) return Ln;
6468
- Ss = 1;
6467
+ if (Es) return Ln;
6468
+ Es = 1;
6469
6469
  const { MathFloor: r, NumberIsInteger: e } = Ie(), { validateInteger: t } = Lr(), { ERR_INVALID_ARG_VALUE: n } = De().codes;
6470
6470
  let i = 16 * 1024, s = 16;
6471
6471
  function a(c, m, I) {
@@ -6495,9 +6495,9 @@ function sn() {
6495
6495
  }, Ln;
6496
6496
  }
6497
6497
  var jn = {}, Vr = { exports: {} };
6498
- var Ts;
6498
+ var Ss;
6499
6499
  function rf() {
6500
- return Ts || (Ts = 1, (function(r, e) {
6500
+ return Ss || (Ss = 1, (function(r, e) {
6501
6501
  var t = ut(), n = t.Buffer;
6502
6502
  function i(a, o) {
6503
6503
  for (var f in a)
@@ -6527,10 +6527,10 @@ function rf() {
6527
6527
  };
6528
6528
  })(Vr, Vr.exports)), Vr.exports;
6529
6529
  }
6530
- var Is;
6530
+ var Ts;
6531
6531
  function nf() {
6532
- if (Is) return jn;
6533
- Is = 1;
6532
+ if (Ts) return jn;
6533
+ Ts = 1;
6534
6534
  var r = rf().Buffer, e = r.isEncoding || function(p) {
6535
6535
  switch (p = "" + p, p && p.toLowerCase()) {
6536
6536
  case "hex":
@@ -6685,10 +6685,10 @@ function nf() {
6685
6685
  }
6686
6686
  return jn;
6687
6687
  }
6688
- var Dn, Rs;
6688
+ var Dn, Is;
6689
6689
  function Ho() {
6690
- if (Rs) return Dn;
6691
- Rs = 1;
6690
+ if (Is) return Dn;
6691
+ Is = 1;
6692
6692
  const r = Lt(), { PromisePrototypeThen: e, SymbolAsyncIterator: t, SymbolIterator: n } = Ie(), { Buffer: i } = ut(), { ERR_INVALID_ARG_TYPE: s, ERR_STREAM_NULL_VALUES: a } = De().codes;
6693
6693
  function o(f, g, c) {
6694
6694
  let m;
@@ -6760,10 +6760,10 @@ function Ho() {
6760
6760
  }
6761
6761
  return Dn = o, Dn;
6762
6762
  }
6763
- var Bn, As;
6763
+ var Bn, Rs;
6764
6764
  function on() {
6765
- if (As) return Bn;
6766
- As = 1;
6765
+ if (Rs) return Bn;
6766
+ Rs = 1;
6767
6767
  const r = Lt(), {
6768
6768
  ArrayPrototypeIndexOf: e,
6769
6769
  NumberIsInteger: t,
@@ -6779,7 +6779,7 @@ function on() {
6779
6779
  Symbol: I
6780
6780
  } = Ie();
6781
6781
  Bn = V, V.ReadableState = K;
6782
- const { EventEmitter: v } = rn(), { Stream: d, prependListener: y } = xi(), { Buffer: w } = ut(), { addAbortSignal: p } = nn(), _ = wt();
6782
+ const { EventEmitter: v } = rn(), { Stream: d, prependListener: y } = vi(), { Buffer: w } = ut(), { addAbortSignal: p } = nn(), _ = wt();
6783
6783
  let S = ke().debuglog("stream", (x) => {
6784
6784
  S = x;
6785
6785
  });
@@ -6971,26 +6971,26 @@ function on() {
6971
6971
  }, V.prototype.pipe = function(x, R) {
6972
6972
  const ie = this, ae = this._readableState;
6973
6973
  ae.pipes.length === 1 && (ae.multiAwaitDrain || (ae.multiAwaitDrain = !0, ae.awaitDrainWriters = new g(ae.awaitDrainWriters ? [ae.awaitDrainWriters] : []))), ae.pipes.push(x), S("pipe count=%d opts=%j", ae.pipes.length, R);
6974
- const Le = (!R || R.end !== !1) && x !== r.stdout && x !== r.stderr ? Ci : Kt;
6974
+ const Le = (!R || R.end !== !1) && x !== r.stdout && x !== r.stderr ? Ni : Kt;
6975
6975
  ae.endEmitted ? r.nextTick(Le) : ie.once("end", Le), x.on("unpipe", qe);
6976
6976
  function qe(xt, nt) {
6977
6977
  S("onunpipe"), xt === ie && nt && nt.hasUnpiped === !1 && (nt.hasUnpiped = !0, xa());
6978
6978
  }
6979
- function Ci() {
6979
+ function Ni() {
6980
6980
  S("onend"), x.end();
6981
6981
  }
6982
- let vt, Oi = !1;
6982
+ let vt, Ci = !1;
6983
6983
  function xa() {
6984
- S("cleanup"), x.removeListener("close", cn), x.removeListener("finish", dn), vt && x.removeListener("drain", vt), x.removeListener("error", fn), x.removeListener("unpipe", qe), ie.removeListener("end", Ci), ie.removeListener("end", Kt), ie.removeListener("data", Li), Oi = !0, vt && ae.awaitDrainWriters && (!x._writableState || x._writableState.needDrain) && vt();
6984
+ S("cleanup"), x.removeListener("close", cn), x.removeListener("finish", dn), vt && x.removeListener("drain", vt), x.removeListener("error", fn), x.removeListener("unpipe", qe), ie.removeListener("end", Ni), ie.removeListener("end", Kt), ie.removeListener("data", Pi), Ci = !0, vt && ae.awaitDrainWriters && (!x._writableState || x._writableState.needDrain) && vt();
6985
6985
  }
6986
- function Pi() {
6987
- Oi || (ae.pipes.length === 1 && ae.pipes[0] === x ? (S("false write response, pause", 0), ae.awaitDrainWriters = x, ae.multiAwaitDrain = !1) : ae.pipes.length > 1 && ae.pipes.includes(x) && (S("false write response, pause", ae.awaitDrainWriters.size), ae.awaitDrainWriters.add(x)), ie.pause()), vt || (vt = Y(ie, x), x.on("drain", vt));
6986
+ function Oi() {
6987
+ Ci || (ae.pipes.length === 1 && ae.pipes[0] === x ? (S("false write response, pause", 0), ae.awaitDrainWriters = x, ae.multiAwaitDrain = !1) : ae.pipes.length > 1 && ae.pipes.includes(x) && (S("false write response, pause", ae.awaitDrainWriters.size), ae.awaitDrainWriters.add(x)), ie.pause()), vt || (vt = Y(ie, x), x.on("drain", vt));
6988
6988
  }
6989
- ie.on("data", Li);
6990
- function Li(xt) {
6989
+ ie.on("data", Pi);
6990
+ function Pi(xt) {
6991
6991
  S("ondata");
6992
6992
  const nt = x.write(xt);
6993
- S("dest.write", nt), nt === !1 && Pi();
6993
+ S("dest.write", nt), nt === !1 && Oi();
6994
6994
  }
6995
6995
  function fn(xt) {
6996
6996
  if (S("onerror", xt), Kt(), x.removeListener("error", fn), x.listenerCount("error") === 0) {
@@ -7010,7 +7010,7 @@ function on() {
7010
7010
  function Kt() {
7011
7011
  S("unpipe"), ie.unpipe(x);
7012
7012
  }
7013
- return x.emit("pipe", ie), x.writableNeedDrain === !0 ? Pi() : ae.flowing || (S("pipe resume"), ie.resume()), x;
7013
+ return x.emit("pipe", ie), x.writableNeedDrain === !0 ? Oi() : ae.flowing || (S("pipe resume"), ie.resume()), x;
7014
7014
  };
7015
7015
  function Y(x, R) {
7016
7016
  return function() {
@@ -7301,10 +7301,10 @@ function on() {
7301
7301
  }).wrap(x);
7302
7302
  }, Bn;
7303
7303
  }
7304
- var Mn, Ns;
7305
- function Ei() {
7306
- if (Ns) return Mn;
7307
- Ns = 1;
7304
+ var Mn, As;
7305
+ function xi() {
7306
+ if (As) return Mn;
7307
+ As = 1;
7308
7308
  const r = Lt(), {
7309
7309
  ArrayPrototypeSlice: e,
7310
7310
  Error: t,
@@ -7317,7 +7317,7 @@ function Ei() {
7317
7317
  SymbolHasInstance: g
7318
7318
  } = Ie();
7319
7319
  Mn = le, le.WritableState = M;
7320
- const { EventEmitter: c } = rn(), m = xi().Stream, { Buffer: I } = ut(), v = Xt(), { addAbortSignal: d } = nn(), { getHighWaterMark: y, getDefaultHighWaterMark: w } = sn(), {
7320
+ const { EventEmitter: c } = rn(), m = vi().Stream, { Buffer: I } = ut(), v = Xt(), { addAbortSignal: d } = nn(), { getHighWaterMark: y, getDefaultHighWaterMark: w } = sn(), {
7321
7321
  ERR_INVALID_ARG_TYPE: p,
7322
7322
  ERR_METHOD_NOT_IMPLEMENTED: _,
7323
7323
  ERR_MULTIPLE_CALLBACK: S,
@@ -7660,10 +7660,10 @@ function Ei() {
7660
7660
  return be().newWritableStreamFromStreamWritable(C);
7661
7661
  }, Mn;
7662
7662
  }
7663
- var $n, Cs;
7663
+ var $n, Ns;
7664
7664
  function sf() {
7665
- if (Cs) return $n;
7666
- Cs = 1;
7665
+ if (Ns) return $n;
7666
+ Ns = 1;
7667
7667
  const r = Lt(), e = ut(), {
7668
7668
  isReadable: t,
7669
7669
  isWritable: n,
@@ -7677,7 +7677,7 @@ function sf() {
7677
7677
  } = ft(), m = wt(), {
7678
7678
  AbortError: I,
7679
7679
  codes: { ERR_INVALID_ARG_TYPE: v, ERR_INVALID_RETURN_VALUE: d }
7680
- } = De(), { destroyer: y } = Xt(), w = lt(), p = on(), _ = Ei(), { createDeferredPromise: S } = ke(), h = Ho(), T = globalThis.Blob || e.Blob, O = typeof T < "u" ? function(M) {
7680
+ } = De(), { destroyer: y } = Xt(), w = lt(), p = on(), _ = xi(), { createDeferredPromise: S } = ke(), h = Ho(), T = globalThis.Blob || e.Blob, O = typeof T < "u" ? function(M) {
7681
7681
  return M instanceof T;
7682
7682
  } : function(M) {
7683
7683
  return !1;
@@ -7902,10 +7902,10 @@ function sf() {
7902
7902
  }
7903
7903
  return $n;
7904
7904
  }
7905
- var Fn, Os;
7905
+ var Fn, Cs;
7906
7906
  function lt() {
7907
- if (Os) return Fn;
7908
- Os = 1;
7907
+ if (Cs) return Fn;
7908
+ Cs = 1;
7909
7909
  const {
7910
7910
  ObjectDefineProperties: r,
7911
7911
  ObjectGetOwnPropertyDescriptor: e,
@@ -7913,7 +7913,7 @@ function lt() {
7913
7913
  ObjectSetPrototypeOf: n
7914
7914
  } = Ie();
7915
7915
  Fn = a;
7916
- const i = on(), s = Ei();
7916
+ const i = on(), s = xi();
7917
7917
  n(a.prototype, i.prototype), n(a, i);
7918
7918
  {
7919
7919
  const c = t(s.prototype);
@@ -7987,10 +7987,10 @@ function lt() {
7987
7987
  return g || (g = sf()), g(c, "body");
7988
7988
  }, Fn;
7989
7989
  }
7990
- var kn, Ps;
7990
+ var kn, Os;
7991
7991
  function Qo() {
7992
- if (Ps) return kn;
7993
- Ps = 1;
7992
+ if (Os) return kn;
7993
+ Os = 1;
7994
7994
  const { ObjectSetPrototypeOf: r, Symbol: e } = Ie();
7995
7995
  kn = a;
7996
7996
  const { ERR_METHOD_NOT_IMPLEMENTED: t } = De().codes, n = lt(), { getHighWaterMark: i } = sn();
@@ -8042,10 +8042,10 @@ function Qo() {
8042
8042
  }
8043
8043
  }, kn;
8044
8044
  }
8045
- var Un, Ls;
8045
+ var Un, Ps;
8046
8046
  function zo() {
8047
- if (Ls) return Un;
8048
- Ls = 1;
8047
+ if (Ps) return Un;
8048
+ Ps = 1;
8049
8049
  const { ObjectSetPrototypeOf: r } = Ie();
8050
8050
  Un = t;
8051
8051
  const e = Qo();
@@ -8058,10 +8058,10 @@ function zo() {
8058
8058
  s(null, n);
8059
8059
  }, Un;
8060
8060
  }
8061
- var qn, js;
8062
- function Si() {
8063
- if (js) return qn;
8064
- js = 1;
8061
+ var qn, Ls;
8062
+ function Ei() {
8063
+ if (Ls) return qn;
8064
+ Ls = 1;
8065
8065
  const r = Lt(), { ArrayIsArray: e, Promise: t, SymbolAsyncIterator: n, SymbolDispose: i } = Ie(), s = wt(), { once: a } = ke(), o = Xt(), f = lt(), {
8066
8066
  aggregateTwoErrors: g,
8067
8067
  codes: {
@@ -8342,11 +8342,11 @@ function Si() {
8342
8342
  pipeline: A
8343
8343
  }, qn;
8344
8344
  }
8345
- var Wn, Ds;
8345
+ var Wn, js;
8346
8346
  function Xo() {
8347
- if (Ds) return Wn;
8348
- Ds = 1;
8349
- const { pipeline: r } = Si(), e = lt(), { destroyer: t } = Xt(), {
8347
+ if (js) return Wn;
8348
+ js = 1;
8349
+ const { pipeline: r } = Ei(), e = lt(), { destroyer: t } = Xt(), {
8350
8350
  isNodeStream: n,
8351
8351
  isReadable: i,
8352
8352
  isWritable: s,
@@ -8468,10 +8468,10 @@ function Xo() {
8468
8468
  }, T;
8469
8469
  }, Wn;
8470
8470
  }
8471
- var Bs;
8471
+ var Ds;
8472
8472
  function of() {
8473
- if (Bs) return Wr;
8474
- Bs = 1;
8473
+ if (Ds) return Wr;
8474
+ Ds = 1;
8475
8475
  const r = globalThis.AbortController || Rr().AbortController, {
8476
8476
  codes: { ERR_INVALID_ARG_VALUE: e, ERR_INVALID_ARG_TYPE: t, ERR_MISSING_ARGS: n, ERR_OUT_OF_RANGE: i },
8477
8477
  AbortError: s
@@ -8724,11 +8724,11 @@ function of() {
8724
8724
  find: G
8725
8725
  }, Wr;
8726
8726
  }
8727
- var Gn, Ms;
8727
+ var Gn, Bs;
8728
8728
  function Yo() {
8729
- if (Ms) return Gn;
8730
- Ms = 1;
8731
- const { ArrayPrototypePop: r, Promise: e } = Ie(), { isIterable: t, isNodeStream: n, isWebStream: i } = ft(), { pipelineImpl: s } = Si(), { finished: a } = wt();
8729
+ if (Bs) return Gn;
8730
+ Bs = 1;
8731
+ const { ArrayPrototypePop: r, Promise: e } = Ie(), { isIterable: t, isNodeStream: n, isWebStream: i } = ft(), { pipelineImpl: s } = Ei(), { finished: a } = wt();
8732
8732
  Ko();
8733
8733
  function o(...f) {
8734
8734
  return new e((g, c) => {
@@ -8755,15 +8755,15 @@ function Yo() {
8755
8755
  pipeline: o
8756
8756
  }, Gn;
8757
8757
  }
8758
- var $s;
8758
+ var Ms;
8759
8759
  function Ko() {
8760
- if ($s) return vn.exports;
8761
- $s = 1;
8760
+ if (Ms) return vn.exports;
8761
+ Ms = 1;
8762
8762
  const { Buffer: r } = ut(), { ObjectDefineProperty: e, ObjectKeys: t, ReflectApply: n } = Ie(), {
8763
8763
  promisify: { custom: i }
8764
8764
  } = ke(), { streamReturningOperators: s, promiseReturningOperators: a } = of(), {
8765
8765
  codes: { ERR_ILLEGAL_CONSTRUCTOR: o }
8766
- } = De(), f = Xo(), { setDefaultHighWaterMark: g, getDefaultHighWaterMark: c } = sn(), { pipeline: m } = Si(), { destroyer: I } = Xt(), v = wt(), d = Yo(), y = ft(), w = vn.exports = xi().Stream;
8766
+ } = De(), f = Xo(), { setDefaultHighWaterMark: g, getDefaultHighWaterMark: c } = sn(), { pipeline: m } = Ei(), { destroyer: I } = Xt(), v = wt(), d = Yo(), y = ft(), w = vn.exports = vi().Stream;
8767
8767
  w.isDestroyed = y.isDestroyed, w.isDisturbed = y.isDisturbed, w.isErrored = y.isErrored, w.isReadable = y.isReadable, w.isWritable = y.isWritable, w.Readable = on();
8768
8768
  for (const _ of t(s)) {
8769
8769
  let h = function(...T) {
@@ -8807,7 +8807,7 @@ function Ko() {
8807
8807
  writable: !0
8808
8808
  });
8809
8809
  }
8810
- w.Writable = Ei(), w.Duplex = lt(), w.Transform = Qo(), w.PassThrough = zo(), w.pipeline = m;
8810
+ w.Writable = xi(), w.Duplex = lt(), w.Transform = Qo(), w.PassThrough = zo(), w.pipeline = m;
8811
8811
  const { addAbortSignal: p } = nn();
8812
8812
  return w.addAbortSignal = p, w.finished = v, w.destroy = I, w.compose = f, w.setDefaultHighWaterMark = g, w.getDefaultHighWaterMark = c, e(w, "promises", {
8813
8813
  __proto__: null,
@@ -8834,9 +8834,9 @@ function Ko() {
8834
8834
  return r.from(S.buffer, S.byteOffset, S.byteLength);
8835
8835
  }, vn.exports;
8836
8836
  }
8837
- var Fs;
8837
+ var $s;
8838
8838
  function af() {
8839
- return Fs || (Fs = 1, (function(r) {
8839
+ return $s || ($s = 1, (function(r) {
8840
8840
  const e = Ko(), t = Yo(), n = e.Readable.destroy;
8841
8841
  r.exports = e.Readable, r.exports._uint8ArrayToBuffer = e._uint8ArrayToBuffer, r.exports._isUint8Array = e._isUint8Array, r.exports.isDisturbed = e.isDisturbed, r.exports.isErrored = e.isErrored, r.exports.isReadable = e.isReadable, r.exports.Readable = e.Readable, r.exports.Writable = e.Writable, r.exports.Duplex = e.Duplex, r.exports.Transform = e.Transform, r.exports.PassThrough = e.PassThrough, r.exports.addAbortSignal = e.addAbortSignal, r.exports.finished = e.finished, r.exports.destroy = e.destroy, r.exports.destroy = n, r.exports.pipeline = e.pipeline, r.exports.compose = e.compose, Object.defineProperty(e, "promises", {
8842
8842
  configurable: !0,
@@ -8882,7 +8882,7 @@ function Jo(r, e, t = 4) {
8882
8882
  }
8883
8883
  return n;
8884
8884
  }
8885
- class Ti {
8885
+ class Si {
8886
8886
  constructor(e = {}) {
8887
8887
  this._id = 1, this._ids = /* @__PURE__ */ Object.create(null), this._ids[""] = 1, this._entities = /* @__PURE__ */ Object.create(null), this._entities[1] = "", this._blankNodeIndex = 0, this._factory = e.factory || Qe;
8888
8888
  }
@@ -8924,7 +8924,7 @@ class Ti {
8924
8924
  }
8925
8925
  class je {
8926
8926
  constructor(e, t) {
8927
- this._size = 0, this._graphs = /* @__PURE__ */ Object.create(null), !t && e && !e[0] && typeof e.match != "function" && (t = e, e = null), t = t || {}, this._factory = t.factory || Qe, this._entityIndex = t.entityIndex || new Ti({ factory: this._factory }), this._entities = this._entityIndex._entities, this._termFromId = this._entityIndex._termFromId.bind(this._entityIndex), this._termToNumericId = this._entityIndex._termToNumericId.bind(this._entityIndex), this._termToNewNumericId = this._entityIndex._termToNewNumericId.bind(this._entityIndex), e && this.addAll(e);
8927
+ this._size = 0, this._graphs = /* @__PURE__ */ Object.create(null), !t && e && !e[0] && typeof e.match != "function" && (t = e, e = null), t = t || {}, this._factory = t.factory || Qe, this._entityIndex = t.entityIndex || new Si({ factory: this._factory }), this._entities = this._entityIndex._entities, this._termFromId = this._entityIndex._termFromId.bind(this._entityIndex), this._termToNumericId = this._entityIndex._termToNumericId.bind(this._entityIndex), this._termToNewNumericId = this._entityIndex._termToNewNumericId.bind(this._entityIndex), e && this.addAll(e);
8928
8928
  }
8929
8929
  // ## Public properties
8930
8930
  // ### `size` returns the number of quads in the store
@@ -9687,7 +9687,7 @@ class ra {
9687
9687
  const f = /* @__PURE__ */ new Set(), g = [];
9688
9688
  a.subject.value = a.subject.value || 1, a.object.value = a.object.value || 1, a.predicate.value = a.predicate.value || 1;
9689
9689
  for (let c = 0; c < i.premise.length; c++)
9690
- c !== s && g.push(ks(i.premise[c], f));
9690
+ c !== s && g.push(Fs(i.premise[c], f));
9691
9691
  (o.next = o.next || []).push({
9692
9692
  premise: g,
9693
9693
  conclusion: i.conclusion,
@@ -9703,7 +9703,7 @@ class ra {
9703
9703
  }
9704
9704
  for (const n of e) {
9705
9705
  const i = /* @__PURE__ */ new Set();
9706
- n.premise = n.premise.map((s) => ks(s, i));
9706
+ n.premise = n.premise.map((s) => Fs(s, i));
9707
9707
  }
9708
9708
  const t = this._store._getGraphs();
9709
9709
  for (const n in t)
@@ -9711,7 +9711,7 @@ class ra {
9711
9711
  this._store._size = null;
9712
9712
  }
9713
9713
  }
9714
- function ks({ subject: r, predicate: e, object: t }, n) {
9714
+ function Fs({ subject: r, predicate: e, object: t }, n) {
9715
9715
  const i = r.value || n.has(r) || (n.add(r), !1), s = e.value || n.has(e) || (n.add(e), !1), a = t.value || n.has(t) || (n.add(t), !1);
9716
9716
  return !i && s ? { content: "predicates", value: [e, t, r] } : a ? { content: "objects", value: [t, r, e] } : { content: "subjects", value: [r, e, t] };
9717
9717
  }
@@ -9794,12 +9794,12 @@ class ia extends an.Transform {
9794
9794
  }
9795
9795
  }
9796
9796
  const lf = {
9797
- Lexer: _i,
9797
+ Lexer: yi,
9798
9798
  Parser: tn,
9799
9799
  Writer: Pr,
9800
9800
  Store: je,
9801
9801
  StoreFactory: ea,
9802
- EntityIndex: Ti,
9802
+ EntityIndex: Si,
9803
9803
  StreamParser: na,
9804
9804
  StreamWriter: ia,
9805
9805
  Util: Go,
@@ -9809,9 +9809,9 @@ const lf = {
9809
9809
  Term: Ue,
9810
9810
  NamedNode: en,
9811
9811
  Literal: kt,
9812
- BlankNode: mi,
9813
- Variable: wi,
9814
- DefaultGraph: vi,
9812
+ BlankNode: _i,
9813
+ Variable: mi,
9814
+ DefaultGraph: wi,
9815
9815
  Quad: Qt,
9816
9816
  Triple: Qt,
9817
9817
  termFromId: Nt,
@@ -9819,11 +9819,11 @@ const lf = {
9819
9819
  }, uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9820
9820
  __proto__: null,
9821
9821
  BaseIRI: Or,
9822
- BlankNode: mi,
9822
+ BlankNode: _i,
9823
9823
  DataFactory: Qe,
9824
- DefaultGraph: vi,
9825
- EntityIndex: Ti,
9826
- Lexer: _i,
9824
+ DefaultGraph: wi,
9825
+ EntityIndex: Si,
9826
+ Lexer: yi,
9827
9827
  Literal: kt,
9828
9828
  NamedNode: en,
9829
9829
  Parser: tn,
@@ -9836,17 +9836,17 @@ const lf = {
9836
9836
  Term: Ue,
9837
9837
  Triple: Qt,
9838
9838
  Util: Go,
9839
- Variable: wi,
9839
+ Variable: mi,
9840
9840
  Writer: Pr,
9841
9841
  default: lf,
9842
9842
  getRulesFromDataset: ta,
9843
9843
  termFromId: Nt,
9844
9844
  termToId: yt
9845
9845
  }, Symbol.toStringTag, { value: "Module" })), sa = /* @__PURE__ */ Pu(uf);
9846
- var Us;
9846
+ var ks;
9847
9847
  function ff() {
9848
- if (Us) return Mr;
9849
- Us = 1, Object.defineProperty(Mr, "__esModule", { value: !0 });
9848
+ if (ks) return Mr;
9849
+ ks = 1, Object.defineProperty(Mr, "__esModule", { value: !0 });
9850
9850
  const r = sa;
9851
9851
  class e extends r.Store {
9852
9852
  getQuadsOnce(n, i, s, a) {
@@ -9859,10 +9859,10 @@ function ff() {
9859
9859
  }
9860
9860
  return Mr.default = e, Mr;
9861
9861
  }
9862
- var Et = {}, Qn = {}, Oe = {}, St = {}, sr = {}, qs;
9862
+ var Et = {}, Qn = {}, Oe = {}, St = {}, sr = {}, Us;
9863
9863
  function oa() {
9864
- if (qs) return sr;
9865
- qs = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.BlankNode = void 0;
9864
+ if (Us) return sr;
9865
+ Us = 1, Object.defineProperty(sr, "__esModule", { value: !0 }), sr.BlankNode = void 0;
9866
9866
  let r = class {
9867
9867
  constructor(t) {
9868
9868
  this.termType = "BlankNode", this.value = t;
@@ -9873,10 +9873,10 @@ function oa() {
9873
9873
  };
9874
9874
  return sr.BlankNode = r, sr;
9875
9875
  }
9876
- var or = {}, ar = {}, Ws;
9876
+ var or = {}, ar = {}, qs;
9877
9877
  function aa() {
9878
- if (Ws) return ar;
9879
- Ws = 1, Object.defineProperty(ar, "__esModule", { value: !0 }), ar.DefaultGraph = void 0;
9878
+ if (qs) return ar;
9879
+ qs = 1, Object.defineProperty(ar, "__esModule", { value: !0 }), ar.DefaultGraph = void 0;
9880
9880
  let r = class {
9881
9881
  constructor() {
9882
9882
  this.termType = "DefaultGraph", this.value = "";
@@ -9887,10 +9887,10 @@ function aa() {
9887
9887
  };
9888
9888
  return ar.DefaultGraph = r, r.INSTANCE = new r(), ar;
9889
9889
  }
9890
- var lr = {}, ur = {}, Gs;
9891
- function Ii() {
9892
- if (Gs) return ur;
9893
- Gs = 1, Object.defineProperty(ur, "__esModule", { value: !0 }), ur.NamedNode = void 0;
9890
+ var lr = {}, ur = {}, Ws;
9891
+ function Ti() {
9892
+ if (Ws) return ur;
9893
+ Ws = 1, Object.defineProperty(ur, "__esModule", { value: !0 }), ur.NamedNode = void 0;
9894
9894
  let r = class {
9895
9895
  constructor(t) {
9896
9896
  this.termType = "NamedNode", this.value = t;
@@ -9901,14 +9901,14 @@ function Ii() {
9901
9901
  };
9902
9902
  return ur.NamedNode = r, ur;
9903
9903
  }
9904
- var Vs;
9904
+ var Gs;
9905
9905
  function la() {
9906
- if (Vs) return lr;
9907
- Vs = 1, Object.defineProperty(lr, "__esModule", { value: !0 }), lr.Literal = void 0;
9908
- const r = Ii();
9909
- let e = class ii {
9906
+ if (Gs) return lr;
9907
+ Gs = 1, Object.defineProperty(lr, "__esModule", { value: !0 }), lr.Literal = void 0;
9908
+ const r = Ti();
9909
+ let e = class ni {
9910
9910
  constructor(n, i) {
9911
- this.termType = "Literal", this.value = n, typeof i == "string" ? (this.language = i, this.datatype = ii.RDF_LANGUAGE_STRING) : i ? (this.language = "", this.datatype = i) : (this.language = "", this.datatype = ii.XSD_STRING);
9911
+ this.termType = "Literal", this.value = n, typeof i == "string" ? (this.language = i, this.datatype = ni.RDF_LANGUAGE_STRING) : i ? (this.language = "", this.datatype = i) : (this.language = "", this.datatype = ni.XSD_STRING);
9912
9912
  }
9913
9913
  equals(n) {
9914
9914
  return !!n && n.termType === "Literal" && n.value === this.value && n.language === this.language && this.datatype.equals(n.datatype);
@@ -9916,10 +9916,10 @@ function la() {
9916
9916
  };
9917
9917
  return lr.Literal = e, e.RDF_LANGUAGE_STRING = new r.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"), e.XSD_STRING = new r.NamedNode("http://www.w3.org/2001/XMLSchema#string"), lr;
9918
9918
  }
9919
- var fr = {}, Hs;
9919
+ var fr = {}, Vs;
9920
9920
  function ua() {
9921
- if (Hs) return fr;
9922
- Hs = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.Quad = void 0;
9921
+ if (Vs) return fr;
9922
+ Vs = 1, Object.defineProperty(fr, "__esModule", { value: !0 }), fr.Quad = void 0;
9923
9923
  let r = class {
9924
9924
  constructor(t, n, i, s) {
9925
9925
  this.termType = "Quad", this.value = "", this.subject = t, this.predicate = n, this.object = i, this.graph = s;
@@ -9930,10 +9930,10 @@ function ua() {
9930
9930
  };
9931
9931
  return fr.Quad = r, fr;
9932
9932
  }
9933
- var cr = {}, Qs;
9933
+ var cr = {}, Hs;
9934
9934
  function fa() {
9935
- if (Qs) return cr;
9936
- Qs = 1, Object.defineProperty(cr, "__esModule", { value: !0 }), cr.Variable = void 0;
9935
+ if (Hs) return cr;
9936
+ Hs = 1, Object.defineProperty(cr, "__esModule", { value: !0 }), cr.Variable = void 0;
9937
9937
  let r = class {
9938
9938
  constructor(t) {
9939
9939
  this.termType = "Variable", this.value = t;
@@ -9944,11 +9944,11 @@ function fa() {
9944
9944
  };
9945
9945
  return cr.Variable = r, cr;
9946
9946
  }
9947
- var zs;
9947
+ var Qs;
9948
9948
  function cf() {
9949
- if (zs) return or;
9950
- zs = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.DataFactory = void 0;
9951
- const r = oa(), e = aa(), t = la(), n = Ii(), i = ua(), s = fa();
9949
+ if (Qs) return or;
9950
+ Qs = 1, Object.defineProperty(or, "__esModule", { value: !0 }), or.DataFactory = void 0;
9951
+ const r = oa(), e = aa(), t = la(), n = Ti(), i = ua(), s = fa();
9952
9952
  let a = 0, o = class {
9953
9953
  constructor(g) {
9954
9954
  this.blankNodeCounter = 0, g = g || {}, this.blankNodePrefix = g.blankNodePrefix || `df_${a++}_`;
@@ -10048,9 +10048,9 @@ function cf() {
10048
10048
  };
10049
10049
  return or.DataFactory = o, or;
10050
10050
  }
10051
- var Xs;
10051
+ var zs;
10052
10052
  function df() {
10053
- return Xs || (Xs = 1, (function(r) {
10053
+ return zs || (zs = 1, (function(r) {
10054
10054
  var e = St && St.__createBinding || (Object.create ? (function(n, i, s, a) {
10055
10055
  a === void 0 && (a = s);
10056
10056
  var o = Object.getOwnPropertyDescriptor(i, s);
@@ -10062,13 +10062,13 @@ function df() {
10062
10062
  })), t = St && St.__exportStar || function(n, i) {
10063
10063
  for (var s in n) s !== "default" && !Object.prototype.hasOwnProperty.call(i, s) && e(i, n, s);
10064
10064
  };
10065
- Object.defineProperty(r, "__esModule", { value: !0 }), t(oa(), r), t(cf(), r), t(aa(), r), t(la(), r), t(Ii(), r), t(ua(), r), t(fa(), r);
10065
+ Object.defineProperty(r, "__esModule", { value: !0 }), t(oa(), r), t(cf(), r), t(aa(), r), t(la(), r), t(Ti(), r), t(ua(), r), t(fa(), r);
10066
10066
  })(St)), St;
10067
10067
  }
10068
- var Ys;
10068
+ var Xs;
10069
10069
  function hf() {
10070
- if (Ys) return Oe;
10071
- Ys = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.stringQuadToQuad = Oe.quadToStringQuad = Oe.stringToTerm = Oe.getLiteralLanguage = Oe.getLiteralType = Oe.getLiteralValue = Oe.termToString = void 0;
10070
+ if (Xs) return Oe;
10071
+ Xs = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.stringQuadToQuad = Oe.quadToStringQuad = Oe.stringToTerm = Oe.getLiteralLanguage = Oe.getLiteralType = Oe.getLiteralValue = Oe.termToString = void 0;
10072
10072
  const r = df(), e = new r.DataFactory();
10073
10073
  function t(d) {
10074
10074
  if (d)
@@ -10193,9 +10193,9 @@ function hf() {
10193
10193
  }
10194
10194
  return Oe;
10195
10195
  }
10196
- var Ks;
10196
+ var Ys;
10197
10197
  function pf() {
10198
- return Ks || (Ks = 1, (function(r) {
10198
+ return Ys || (Ys = 1, (function(r) {
10199
10199
  Object.defineProperty(r, "__esModule", { value: !0 }), r.termToString = r.stringToTerm = r.stringQuadToQuad = r.quadToStringQuad = r.getLiteralValue = r.getLiteralType = r.getLiteralLanguage = void 0;
10200
10200
  const e = hf();
10201
10201
  Object.defineProperty(r, "getLiteralLanguage", { enumerable: !0, get: function() {
@@ -10215,10 +10215,10 @@ function pf() {
10215
10215
  } });
10216
10216
  })(Qn)), Qn;
10217
10217
  }
10218
- var dr = {}, Zs;
10218
+ var dr = {}, Ks;
10219
10219
  function gf() {
10220
- if (Zs) return dr;
10221
- Zs = 1, Object.defineProperty(dr, "__esModule", { value: !0 }), dr.escapeStringRDF = n, dr.escapeIRI = i;
10220
+ if (Ks) return dr;
10221
+ Ks = 1, Object.defineProperty(dr, "__esModule", { value: !0 }), dr.escapeStringRDF = n, dr.escapeIRI = i;
10222
10222
  const r = /* @__PURE__ */ new Map([
10223
10223
  ["\\", "\\\\"],
10224
10224
  ['"', '\\"'],
@@ -10250,10 +10250,10 @@ function gf() {
10250
10250
  }
10251
10251
  return dr;
10252
10252
  }
10253
- var Js;
10253
+ var Zs;
10254
10254
  function bf() {
10255
- if (Js) return Et;
10256
- Js = 1;
10255
+ if (Zs) return Et;
10256
+ Zs = 1;
10257
10257
  var r = Et && Et.__awaiter || function(g, c, m, I) {
10258
10258
  function v(d) {
10259
10259
  return d instanceof m ? d : new m(function(y) {
@@ -10484,10 +10484,10 @@ function bf() {
10484
10484
  }
10485
10485
  return Et.TTLWriter = f, Et;
10486
10486
  }
10487
- var Hr = {}, eo;
10487
+ var Hr = {}, Js;
10488
10488
  function yf() {
10489
- if (eo) return Hr;
10490
- eo = 1, Object.defineProperty(Hr, "__esModule", { value: !0 });
10489
+ if (Js) return Hr;
10490
+ Js = 1, Object.defineProperty(Hr, "__esModule", { value: !0 });
10491
10491
  class r {
10492
10492
  constructor(t) {
10493
10493
  this.indents = 0, this.compact = !1, this.write = t.write, this.end = t.end, this.compact = t.compact || !1;
@@ -10508,10 +10508,10 @@ function yf() {
10508
10508
  }
10509
10509
  return Hr.default = r, Hr;
10510
10510
  }
10511
- var to;
10511
+ var eo;
10512
10512
  function _f() {
10513
- if (to) return ht;
10514
- to = 1;
10513
+ if (eo) return ht;
10514
+ eo = 1;
10515
10515
  var r = ht && ht.__awaiter || function(a, o, f, g) {
10516
10516
  function c(m) {
10517
10517
  return m instanceof f ? m : new f(function(I) {
@@ -10581,7 +10581,7 @@ const ca = 16, wf = ca / 2, da = 2.54, vf = 10 * da, xf = 72, Ef = 6, hr = 96, S
10581
10581
  ["ex", wf]
10582
10582
  // ex/pt depends on current font size
10583
10583
  ]), Tf = /(.*)(em|ex|px|in|cm|mm|pt|pc|%)/;
10584
- function ro(r) {
10584
+ function to(r) {
10585
10585
  if (typeof r != "string")
10586
10586
  return r;
10587
10587
  const e = r.match(Tf);
@@ -10642,16 +10642,16 @@ const pa = "http://celldl.org/ontologies/celldl#", Of = "https://bg-rdf.org/onto
10642
10642
  }, ya = Object.assign({}, Ff, ba);
10643
10643
  Object.entries(ya).map((r) => `PREFIX ${r[0]}: <${r[1]}>`).join(`
10644
10644
  `);
10645
- class Ri {
10645
+ class Ii {
10646
10646
  #e;
10647
10647
  constructor(e) {
10648
10648
  this.#e = e;
10649
10649
  }
10650
10650
  uri(e) {
10651
- return Ai(this.#e + (e || ""));
10651
+ return Ri(this.#e + (e || ""));
10652
10652
  }
10653
10653
  }
10654
- const It = new Ri(pa), it = new Ri(ga);
10654
+ const It = new Ii(pa), it = new Ii(ga);
10655
10655
  new Map(Object.entries(ya));
10656
10656
  class kf {
10657
10657
  addMetadataPropertiesForSubject(e, t) {
@@ -10744,13 +10744,13 @@ function $t(r) {
10744
10744
  return e.length < 2 && (e = r.value.split("/")), e.length > 1 ? e.at(-1) : "";
10745
10745
  }), r;
10746
10746
  }
10747
- function Ai(r) {
10747
+ function Ri(r) {
10748
10748
  return $t(globalThis.oxigraph.namedNode(r));
10749
10749
  }
10750
10750
  function ot(r) {
10751
10751
  return !!r.termType && r.termType === "NamedNode";
10752
10752
  }
10753
- function no(r) {
10753
+ function ro(r) {
10754
10754
  return {
10755
10755
  graph: $t(r.graph),
10756
10756
  object: $t(r.object),
@@ -10771,7 +10771,7 @@ class qf extends kf {
10771
10771
  }
10772
10772
  add(e, t, n, i = null) {
10773
10773
  const s = globalThis.oxigraph.quad(e, t, n, i || globalThis.oxigraph.defaultGraph());
10774
- return this.#e.add(s), no(s);
10774
+ return this.#e.add(s), ro(s);
10775
10775
  }
10776
10776
  contains(e = null, t = null, n = null, i = null) {
10777
10777
  return this.#e.match(e, t, n, i || globalThis.oxigraph.defaultGraph()).length > 0;
@@ -10828,7 +10828,7 @@ class qf extends kf {
10828
10828
  return [];
10829
10829
  }
10830
10830
  statementsMatching(e = null, t = null, n = null, i = null) {
10831
- return this.#e.match(e, t, n, i || globalThis.oxigraph.defaultGraph()).map((a) => no(a));
10831
+ return this.#e.match(e, t, n, i || globalThis.oxigraph.defaultGraph()).map((a) => ro(a));
10832
10832
  }
10833
10833
  subjectsOfType(e) {
10834
10834
  return this.query(`PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
@@ -10883,7 +10883,7 @@ class Ct extends Map {
10883
10883
  }
10884
10884
  *predicateValues() {
10885
10885
  for (const [e, t] of super.entries())
10886
- yield [Ai(e), t];
10886
+ yield [Ri(e), t];
10887
10887
  }
10888
10888
  setProperty(e, t, n = !1) {
10889
10889
  e.equals(it.uri("type")) && ot(t) && this.#e.add(t.uri);
@@ -10905,7 +10905,7 @@ class Ct extends Map {
10905
10905
  this.set(i, t);
10906
10906
  }
10907
10907
  }
10908
- const wr = 1e-4, io = wr * wr;
10908
+ const wr = 1e-4, no = wr * wr;
10909
10909
  class Te {
10910
10910
  x;
10911
10911
  y;
@@ -10970,10 +10970,10 @@ class Me {
10970
10970
  return Math.sqrt((e.x - t.x) ** 2 + (e.y - t.y) ** 2);
10971
10971
  }
10972
10972
  static equals(e, t) {
10973
- return (e.x - t.x) ** 2 + (e.y - t.y) ** 2 <= io;
10973
+ return (e.x - t.x) ** 2 + (e.y - t.y) ** 2 <= no;
10974
10974
  }
10975
10975
  static isZero(e) {
10976
- return e.x ** 2 + e.y ** 2 <= io;
10976
+ return e.x ** 2 + e.y ** 2 <= no;
10977
10977
  }
10978
10978
  static scalarScale(e, t) {
10979
10979
  return new Te(t * e.x, t * e.y);
@@ -11188,7 +11188,7 @@ class at {
11188
11188
  return `RP: (${vr(this.x)}, ${vr(this.y)})`;
11189
11189
  }
11190
11190
  }
11191
- class so extends at {
11191
+ class io extends at {
11192
11192
  constructor(e, t) {
11193
11193
  super(e, t);
11194
11194
  }
@@ -11237,10 +11237,10 @@ class ln {
11237
11237
  }
11238
11238
  class Vf extends ln {
11239
11239
  constructor(e) {
11240
- super(new so(new Ft(e[0]), new Ft(e[1])), new so(new Ft(e[2]), new Ft(e[3])));
11240
+ super(new io(new Ft(e[0]), new Ft(e[1])), new io(new Ft(e[2]), new Ft(e[3])));
11241
11241
  }
11242
11242
  }
11243
- const Hf = "#456", Qf = "#334155", zf = 2, oo = 3;
11243
+ const Hf = "#456", Qf = "#334155", zf = 2, so = 3;
11244
11244
  function _a(r, e) {
11245
11245
  return Array.isArray(e) ? [
11246
11246
  r.a * e[0] + r.c * e[1] + r.e,
@@ -11468,7 +11468,7 @@ class tc {
11468
11468
  #c() {
11469
11469
  const e = this.svgBounds(!0);
11470
11470
  this.#l = new Te(e.right - e.left, e.bottom - e.top), this.#t ? (this.#i = this.#t.subtract(this.#l.scale(this.#r)), this.#e = new _t(this.#i.x, this.#i.y, this.#i.x + this.#l.x, this.#i.y + this.#l.y)) : (this.#i = new Te(e.left, e.top), this.#e = e, this.#t = this.#l.scale(this.#r).add(this.#i));
11471
- const t = this.#l.scale(this.#r).scalarScale(-1), n = zf / 2 - oo / 2;
11471
+ const t = this.#l.scale(this.#r).scalarScale(-1), n = zf / 2 - so / 2;
11472
11472
  this.#n = [
11473
11473
  t.add(this.#l).add({ x: n, y: n }),
11474
11474
  t.add({ x: this.#l.x, y: 0 }).add({ x: n, y: -n }),
@@ -11482,7 +11482,7 @@ class tc {
11482
11482
  e.dataset.centreX && (this.#r = new Te(+e.dataset.centreX, +e.dataset.centreY));
11483
11483
  }
11484
11484
  if (this.#c(), this.#u.tagName === "g" && !this.#u.classList.contains(Ne.Connection) && this.#u.firstElementChild !== null) {
11485
- const e = (this.#u.classList.contains(Ne.Compartment) ? _t.fromSvg(this.#u.firstChild) : _t.fromSvg(this.#u)).expand(oo / 2);
11485
+ const e = (this.#u.classList.contains(Ne.Compartment) ? _t.fromSvg(this.#u.firstChild) : _t.fromSvg(this.#u)).expand(so / 2);
11486
11486
  if (this.#u.firstElementChild.tagName === "svg") {
11487
11487
  const i = this.#u.firstElementChild;
11488
11488
  i.setAttribute("x", `${e.topLeft.x}px`), i.setAttribute("y", `${e.topLeft.y}px`), i.setAttribute("width", `${e.width}px`), i.setAttribute("height", `${e.height}px`);
@@ -11599,7 +11599,7 @@ class va extends wa {
11599
11599
  new rc(this, e);
11600
11600
  }
11601
11601
  }
11602
- class ao extends va {
11602
+ class oo extends va {
11603
11603
  static celldlClassName = Ne.Annotation;
11604
11604
  static celldlType = "Annotation";
11605
11605
  }
@@ -11609,11 +11609,11 @@ class un extends va {
11609
11609
  return !0;
11610
11610
  }
11611
11611
  }
11612
- class si extends un {
11612
+ class ii extends un {
11613
11613
  static celldlClassName = Ne.Component;
11614
11614
  static celldlType = "Component";
11615
11615
  }
11616
- class nc extends si {
11616
+ class nc extends ii {
11617
11617
  static celldlClassName = Ne.Conduit;
11618
11618
  static celldlType = "Conduit";
11619
11619
  }
@@ -11621,11 +11621,11 @@ class ic extends un {
11621
11621
  static celldlClassName = Ne.Compartment;
11622
11622
  static celldlType = "Compartment";
11623
11623
  }
11624
- class lo extends wa {
11624
+ class ao extends wa {
11625
11625
  static celldlClassName = Ne.Connection;
11626
11626
  static celldlType = "Connection";
11627
11627
  }
11628
- class uo extends un {
11628
+ class lo extends un {
11629
11629
  static celldlClassName = Ne.Interface;
11630
11630
  static celldlType = "Interface";
11631
11631
  #e = [];
@@ -11633,12 +11633,12 @@ class uo extends un {
11633
11633
  return `${super.toString()} External: ${this.#e.map((e) => e.id).join(", ")}`;
11634
11634
  }
11635
11635
  }
11636
- class fo extends un {
11636
+ class uo extends un {
11637
11637
  static celldlClassName = Ne.UnconnectedPort;
11638
11638
  static celldlType = "UnconnectedPort";
11639
11639
  }
11640
- const sc = "celldl-rdf-metadata", co = "file://tmp/viewing.celldl";
11641
- class Zn {
11640
+ const sc = "celldl-rdf-metadata", fo = "file://tmp/viewing.celldl";
11641
+ class co {
11642
11642
  #e = null;
11643
11643
  #t = new qf();
11644
11644
  #r;
@@ -11647,7 +11647,7 @@ class Zn {
11647
11647
  #s = /* @__PURE__ */ new Map();
11648
11648
  #a = /* @__PURE__ */ new Map();
11649
11649
  constructor(e, t = "", n = {}, i = void 0) {
11650
- if (this.#r = e, this.#n = Ai(co), this.#o = new Ri(`${co}#`), t !== "") {
11650
+ if (this.#r = e, this.#n = Ri(fo), this.#o = new Ii(`${fo}#`), t !== "") {
11651
11651
  this.#l(t), this.#u();
11652
11652
  const s = i ? i.tooltip : void 0;
11653
11653
  for (const a of this.#a.values())
@@ -11691,7 +11691,7 @@ class Zn {
11691
11691
  #l(e) {
11692
11692
  const i = new DOMParser().parseFromString(e, "image/svg+xml").firstElementChild;
11693
11693
  if (i.hasAttribute("width") && i.hasAttribute("height")) {
11694
- const a = ro(i.getAttribute("width")), o = ro(i.getAttribute("height"));
11694
+ const a = to(i.getAttribute("width")), o = to(i.getAttribute("height"));
11695
11695
  a !== null && o !== null && (i.attributes.removeNamedItem("width"), i.attributes.removeNamedItem("height"), i.hasAttribute("viewBox") || i.setAttribute("viewBox", `0 0 ${a} ${o}`));
11696
11696
  }
11697
11697
  const s = i.querySelectorAll(`path[stroke="${Qf}"]`);
@@ -11734,13 +11734,13 @@ class Zn {
11734
11734
  }
11735
11735
  }
11736
11736
  #p() {
11737
- this.#c(It.uri("Annotation"), ao);
11737
+ this.#c(It.uri("Annotation"), oo);
11738
11738
  }
11739
11739
  #g() {
11740
- this.#c(It.uri("Component"), si), this.#c(It.uri("UnconnectedPort"), fo);
11740
+ this.#c(It.uri("Component"), ii), this.#c(It.uri("UnconnectedPort"), uo);
11741
11741
  }
11742
11742
  #m() {
11743
- this.#c(It.uri("Connector"), uo);
11743
+ this.#c(It.uri("Connector"), lo);
11744
11744
  }
11745
11745
  #b() {
11746
11746
  this.#c(It.uri("Conduit"), nc);
@@ -11753,14 +11753,14 @@ class Zn {
11753
11753
  return null;
11754
11754
  }
11755
11755
  #y() {
11756
- this.#c(It.uri("Connection"), lo);
11756
+ this.#c(It.uri("Connection"), ao);
11757
11757
  }
11758
11758
  #w() {
11759
11759
  const e = this.#e.querySelectorAll("*[id]");
11760
11760
  for (let t = 0; t < e.length; ++t) {
11761
11761
  const n = e[t];
11762
11762
  if (!this.#a.has(n.id)) {
11763
- const i = n.classList.contains("celldl-Annotation") ? ao : n.classList.contains("celldl-Compartment") ? ic : n.classList.contains("celldl-Component") ? si : n.classList.contains("celldl-Connection") ? lo : n.classList.contains("celldl-InterfacePort") ? uo : n.classList.contains("celldl-Unconnected") ? fo : null;
11763
+ const i = n.classList.contains("celldl-Annotation") ? oo : n.classList.contains("celldl-Compartment") ? ic : n.classList.contains("celldl-Component") ? ii : n.classList.contains("celldl-Connection") ? ao : n.classList.contains("celldl-InterfacePort") ? lo : n.classList.contains("celldl-Unconnected") ? uo : null;
11764
11764
  if (i !== null) {
11765
11765
  const s = new i(this.makeUri(n.id), {}, this);
11766
11766
  s.assignSvgElement(n), this.#d(s);
@@ -11861,7 +11861,7 @@ function ho(r) {
11861
11861
  return r.id;
11862
11862
  }
11863
11863
  const lc = "svg-panel";
11864
- class Ni {
11864
+ class Ai {
11865
11865
  static instance = null;
11866
11866
  #e = null;
11867
11867
  #t = null;
@@ -11876,11 +11876,11 @@ class Ni {
11876
11876
  #f;
11877
11877
  #h = "";
11878
11878
  constructor() {
11879
- Ni.instance = this;
11879
+ Ai.instance = this;
11880
11880
  }
11881
11881
  mount(e) {
11882
11882
  this.#e = e, this.#o = new oc(this.#e);
11883
- const { tippy: t } = yi(this.#e, {
11883
+ const { tippy: t } = bi(this.#e, {
11884
11884
  content: "",
11885
11885
  animation: "none",
11886
11886
  duration: [0, 0],
@@ -11991,8 +11991,8 @@ class Ni {
11991
11991
  }
11992
11992
  }
11993
11993
  }
11994
- const Ec = /* @__PURE__ */ ai({
11995
- __name: "CellDLViewer",
11994
+ const Ec = /* @__PURE__ */ oi({
11995
+ __name: "WrappedViewer",
11996
11996
  props: {
11997
11997
  annotations: {},
11998
11998
  celldlData: {},
@@ -12005,24 +12005,26 @@ const Ec = /* @__PURE__ */ ai({
12005
12005
  n && n.appContext.app.use(Cu);
12006
12006
  const i = pr.ref(null);
12007
12007
  let s;
12008
- const a = new Ni(), o = e;
12008
+ const a = new Ai(), o = e, f = async () => {
12009
+ if (t.celldlData === "")
12010
+ s = new co(a), await s.viewModel();
12011
+ else
12012
+ try {
12013
+ s = new co(a, t.celldlData, t.annotations, t.options), await s.viewModel();
12014
+ } catch (g) {
12015
+ o("error", `Invalid CellDL file... (${g})`);
12016
+ }
12017
+ };
12009
12018
  return pr.watch(
12010
12019
  () => t.celldlData,
12011
12020
  async () => {
12012
- if (t.celldlData === "")
12013
- s = new Zn(a), await s.viewModel();
12014
- else
12015
- try {
12016
- s = new Zn(a, t.celldlData, t.annotations, t.options), await s.viewModel();
12017
- } catch (f) {
12018
- o("error", `Invalid CellDL file... (${f})`);
12019
- }
12021
+ await f();
12020
12022
  }
12021
12023
  ), pr.onMounted(async () => {
12022
- i.value && (a.mount(i.value), s = new Zn(a), await s.viewModel());
12023
- }), $a(document, "viewer-event", (f) => {
12024
- o("event", f.detail);
12025
- }), (f, g) => (Ca(), Oa("div", {
12024
+ i.value && (a.mount(i.value), await f());
12025
+ }), $a(document, "viewer-event", (g) => {
12026
+ o("event", g.detail);
12027
+ }), (g, c) => (Ca(), Oa("div", {
12026
12028
  ref_key: "svgContent",
12027
12029
  ref: i
12028
12030
  }, null, 512));
@@ -12031,4 +12033,4 @@ const Ec = /* @__PURE__ */ ai({
12031
12033
  export {
12032
12034
  Ec as default
12033
12035
  };
12034
- //# sourceMappingURL=CellDLViewer-VYbEXBgZ.js.map
12036
+ //# sourceMappingURL=WrappedViewer-cgZteVYv.js.map