@autoafleveren/ui 1.8.3 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.js CHANGED
@@ -1381,7 +1381,7 @@ function n7(e) {
1381
1381
  x[y] = Se, U[y] = Se - H;
1382
1382
  }
1383
1383
  if (s) {
1384
- var ke, be = y === "x" ? Jn : Qn, Ue = y === "x" ? vr : gr, xe = x[C], We = C === "y" ? "height" : "width", Be = xe + b[be], ne = xe - b[Ue], pe = [Jn, Qn].indexOf(g) !== -1, Ie = (ke = Y?.[C]) != null ? ke : 0, wt = pe ? Be : xe - A[We] - R[We] - Ie + D.altAxis, Pt = pe ? xe + A[We] + R[We] - Ie - D.altAxis : ne, Ne = p && pe ? TS(wt, xe, Pt) : js(p ? wt : Be, xe, p ? Pt : ne);
1384
+ var ke, be = y === "x" ? Jn : Qn, Ue = y === "x" ? vr : gr, xe = x[C], We = C === "y" ? "height" : "width", Be = xe + b[be], ne = xe - b[Ue], pe = [Jn, Qn].indexOf(g) !== -1, Ie = (ke = Y?.[C]) != null ? ke : 0, wt = pe ? Be : xe - A[We] - R[We] - Ie + D.altAxis, Mt = pe ? xe + A[We] + R[We] - Ie - D.altAxis : ne, Ne = p && pe ? TS(wt, xe, Mt) : js(p ? wt : Be, xe, p ? Mt : ne);
1385
1385
  x[C] = Ne, U[C] = Ne - xe;
1386
1386
  }
1387
1387
  t.modifiersData[r] = U;
@@ -1904,9 +1904,9 @@ function $7(e, t) {
1904
1904
  plugins: T,
1905
1905
  // methods
1906
1906
  clearDelayTimeouts: wt,
1907
- setProps: Pt,
1907
+ setProps: Mt,
1908
1908
  setContent: Ne,
1909
- show: Mt,
1909
+ show: It,
1910
1910
  hide: cn,
1911
1911
  hideWithInteractivity: er,
1912
1912
  enable: pe,
@@ -2124,8 +2124,8 @@ function $7(e, t) {
2124
2124
  enabled: !0,
2125
2125
  phase: "beforeWrite",
2126
2126
  requires: ["computeStyles"],
2127
- fn: function(Et) {
2128
- var Dt = Et.state;
2127
+ fn: function(At) {
2128
+ var Dt = At.state;
2129
2129
  if (U()) {
2130
2130
  var gn = N(), fn = gn.box;
2131
2131
  ["placement", "reference-hidden", "escaped"].forEach(function(Mn) {
@@ -2211,7 +2211,7 @@ function $7(e, t) {
2211
2211
  function wt() {
2212
2212
  clearTimeout(r), clearTimeout(a), cancelAnimationFrame(o);
2213
2213
  }
2214
- function Pt(ue) {
2214
+ function Mt(ue) {
2215
2215
  if (!y.state.isDestroyed) {
2216
2216
  te("onBeforeUpdate", [y, ue]), je();
2217
2217
  var $e = y.props, Fe = Yv(e, Object.assign({}, $e, Wv(ue), {
@@ -2229,7 +2229,7 @@ function $7(e, t) {
2229
2229
  content: ue
2230
2230
  });
2231
2231
  }
2232
- function Mt() {
2232
+ function It() {
2233
2233
  var ue = y.state.isVisible, $e = y.state.isDestroyed, Fe = !y.state.isEnabled, lt = Vr.isTouch && !y.props.touch, ee = Dd(y.props.duration, 0, Ir.duration);
2234
2234
  if (!(ue || $e || Fe || lt) && !B().hasAttribute("disabled") && (te("onShow", [y], !1), y.props.onShow(y) !== !1)) {
2235
2235
  if (y.state.isVisible = !0, U() && (x.style.visibility = "visible"), H(), Z(), y.state.isMounted || (x.style.transition = "none"), U()) {
@@ -2240,8 +2240,8 @@ function $7(e, t) {
2240
2240
  var Ae;
2241
2241
  if (!(!y.state.isVisible || u)) {
2242
2242
  if (u = !0, x.offsetHeight, x.style.transition = y.props.moveTransition, U() && y.props.animation) {
2243
- var ze = N(), Et = ze.box, Dt = ze.content;
2244
- Nd([Et, Dt], ee), ll([Et, Dt], "visible");
2243
+ var ze = N(), At = ze.box, Dt = ze.content;
2244
+ Nd([At, Dt], ee), ll([At, Dt], "visible");
2245
2245
  }
2246
2246
  W(), se(), Uv(Bd, y), (Ae = y.popperInstance) == null || Ae.forceUpdate(), te("onMount", [y]), y.props.animation && U() && re(ee, function() {
2247
2247
  y.state.isShown = !0, te("onShown", [y]);
@@ -10446,7 +10446,7 @@ class vP extends x4 {
10446
10446
  return n.timestampIsSet ? t : Rt(t, fP(t, this.context));
10447
10447
  }
10448
10448
  }
10449
- class Tt {
10449
+ class Et {
10450
10450
  run(t, n, r, a) {
10451
10451
  const o = this.parse(t, n, r, a);
10452
10452
  return o ? {
@@ -10464,7 +10464,7 @@ class Tt {
10464
10464
  return !0;
10465
10465
  }
10466
10466
  }
10467
- class gP extends Tt {
10467
+ class gP extends Et {
10468
10468
  priority = 140;
10469
10469
  parse(t, n, r) {
10470
10470
  switch (n) {
@@ -10622,7 +10622,7 @@ function T4(e, t) {
10622
10622
  function E4(e) {
10623
10623
  return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
10624
10624
  }
10625
- class yP extends Tt {
10625
+ class yP extends Et {
10626
10626
  priority = 130;
10627
10627
  incompatibleTokens = ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"];
10628
10628
  parse(t, n, r) {
@@ -10660,7 +10660,7 @@ class yP extends Tt {
10660
10660
  return t.setFullYear(o, 0, 1), t.setHours(0, 0, 0, 0), t;
10661
10661
  }
10662
10662
  }
10663
- class bP extends Tt {
10663
+ class bP extends Et {
10664
10664
  priority = 130;
10665
10665
  parse(t, n, r) {
10666
10666
  const a = (o) => ({
@@ -10716,7 +10716,7 @@ class bP extends Tt {
10716
10716
  "T"
10717
10717
  ];
10718
10718
  }
10719
- class wP extends Tt {
10719
+ class wP extends Et {
10720
10720
  priority = 130;
10721
10721
  parse(t, n) {
10722
10722
  return sc(n === "R" ? 4 : n.length, t);
@@ -10743,7 +10743,7 @@ class wP extends Tt {
10743
10743
  "T"
10744
10744
  ];
10745
10745
  }
10746
- class _P extends Tt {
10746
+ class _P extends Et {
10747
10747
  priority = 130;
10748
10748
  parse(t, n) {
10749
10749
  return sc(n === "u" ? 4 : n.length, t);
@@ -10753,7 +10753,7 @@ class _P extends Tt {
10753
10753
  }
10754
10754
  incompatibleTokens = ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"];
10755
10755
  }
10756
- class SP extends Tt {
10756
+ class SP extends Et {
10757
10757
  priority = 120;
10758
10758
  parse(t, n, r) {
10759
10759
  switch (n) {
@@ -10817,7 +10817,7 @@ class SP extends Tt {
10817
10817
  "T"
10818
10818
  ];
10819
10819
  }
10820
- class kP extends Tt {
10820
+ class kP extends Et {
10821
10821
  priority = 120;
10822
10822
  parse(t, n, r) {
10823
10823
  switch (n) {
@@ -10881,7 +10881,7 @@ class kP extends Tt {
10881
10881
  "T"
10882
10882
  ];
10883
10883
  }
10884
- class xP extends Tt {
10884
+ class xP extends Et {
10885
10885
  incompatibleTokens = [
10886
10886
  "Y",
10887
10887
  "R",
@@ -10946,7 +10946,7 @@ class xP extends Tt {
10946
10946
  return t.setMonth(r, 1), t.setHours(0, 0, 0, 0), t;
10947
10947
  }
10948
10948
  }
10949
- class CP extends Tt {
10949
+ class CP extends Et {
10950
10950
  priority = 110;
10951
10951
  parse(t, n, r) {
10952
10952
  const a = (o) => o - 1;
@@ -11015,7 +11015,7 @@ function TP(e, t, n) {
11015
11015
  const r = tt(e, n?.in), a = Rh(r, n) - t;
11016
11016
  return r.setDate(r.getDate() - a * 7), tt(r, n?.in);
11017
11017
  }
11018
- class EP extends Tt {
11018
+ class EP extends Et {
11019
11019
  priority = 100;
11020
11020
  parse(t, n, r) {
11021
11021
  switch (n) {
@@ -11053,7 +11053,7 @@ function AP(e, t, n) {
11053
11053
  const r = tt(e, n?.in), a = Oh(r, n) - t;
11054
11054
  return r.setDate(r.getDate() - a * 7), r;
11055
11055
  }
11056
- class PP extends Tt {
11056
+ class PP extends Et {
11057
11057
  priority = 100;
11058
11058
  parse(t, n, r) {
11059
11059
  switch (n) {
@@ -11102,7 +11102,7 @@ const MP = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], IP = [
11102
11102
  30,
11103
11103
  31
11104
11104
  ];
11105
- class OP extends Tt {
11105
+ class OP extends Et {
11106
11106
  priority = 90;
11107
11107
  subPriority = 1;
11108
11108
  parse(t, n, r) {
@@ -11137,7 +11137,7 @@ class OP extends Tt {
11137
11137
  "T"
11138
11138
  ];
11139
11139
  }
11140
- class LP extends Tt {
11140
+ class LP extends Et {
11141
11141
  priority = 90;
11142
11142
  subpriority = 1;
11143
11143
  parse(t, n, r) {
@@ -11180,7 +11180,7 @@ function Dh(e, t, n) {
11180
11180
  const r = li(), a = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, o = tt(e, n?.in), i = o.getDay(), l = (t % 7 + 7) % 7, u = 7 - a, c = t < 0 || t > 6 ? t - (i + u) % 7 : (l + u) % 7 - (i + u) % 7;
11181
11181
  return fr(o, c, n);
11182
11182
  }
11183
- class RP extends Tt {
11183
+ class RP extends Et {
11184
11184
  priority = 90;
11185
11185
  parse(t, n, r) {
11186
11186
  switch (n) {
@@ -11218,7 +11218,7 @@ class RP extends Tt {
11218
11218
  }
11219
11219
  incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
11220
11220
  }
11221
- class $P extends Tt {
11221
+ class $P extends Et {
11222
11222
  priority = 90;
11223
11223
  parse(t, n, r, a) {
11224
11224
  const o = (i) => {
@@ -11286,7 +11286,7 @@ class $P extends Tt {
11286
11286
  "T"
11287
11287
  ];
11288
11288
  }
11289
- class DP extends Tt {
11289
+ class DP extends Et {
11290
11290
  priority = 90;
11291
11291
  parse(t, n, r, a) {
11292
11292
  const o = (i) => {
@@ -11358,7 +11358,7 @@ function NP(e, t, n) {
11358
11358
  const r = tt(e, n?.in), a = dP(r, n), o = t - a;
11359
11359
  return fr(r, o, n);
11360
11360
  }
11361
- class zP extends Tt {
11361
+ class zP extends Et {
11362
11362
  priority = 90;
11363
11363
  parse(t, n, r) {
11364
11364
  const a = (o) => o === 0 ? 7 : o;
@@ -11451,7 +11451,7 @@ class zP extends Tt {
11451
11451
  "T"
11452
11452
  ];
11453
11453
  }
11454
- class BP extends Tt {
11454
+ class BP extends Et {
11455
11455
  priority = 80;
11456
11456
  parse(t, n, r) {
11457
11457
  switch (n) {
@@ -11489,7 +11489,7 @@ class BP extends Tt {
11489
11489
  }
11490
11490
  incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
11491
11491
  }
11492
- class FP extends Tt {
11492
+ class FP extends Et {
11493
11493
  priority = 80;
11494
11494
  parse(t, n, r) {
11495
11495
  switch (n) {
@@ -11527,7 +11527,7 @@ class FP extends Tt {
11527
11527
  }
11528
11528
  incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
11529
11529
  }
11530
- class jP extends Tt {
11530
+ class jP extends Et {
11531
11531
  priority = 80;
11532
11532
  parse(t, n, r) {
11533
11533
  switch (n) {
@@ -11565,7 +11565,7 @@ class jP extends Tt {
11565
11565
  }
11566
11566
  incompatibleTokens = ["a", "b", "t", "T"];
11567
11567
  }
11568
- class HP extends Tt {
11568
+ class HP extends Et {
11569
11569
  priority = 70;
11570
11570
  parse(t, n, r) {
11571
11571
  switch (n) {
@@ -11586,7 +11586,7 @@ class HP extends Tt {
11586
11586
  }
11587
11587
  incompatibleTokens = ["H", "K", "k", "t", "T"];
11588
11588
  }
11589
- class UP extends Tt {
11589
+ class UP extends Et {
11590
11590
  priority = 70;
11591
11591
  parse(t, n, r) {
11592
11592
  switch (n) {
@@ -11606,7 +11606,7 @@ class UP extends Tt {
11606
11606
  }
11607
11607
  incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
11608
11608
  }
11609
- class WP extends Tt {
11609
+ class WP extends Et {
11610
11610
  priority = 70;
11611
11611
  parse(t, n, r) {
11612
11612
  switch (n) {
@@ -11626,7 +11626,7 @@ class WP extends Tt {
11626
11626
  }
11627
11627
  incompatibleTokens = ["h", "H", "k", "t", "T"];
11628
11628
  }
11629
- class VP extends Tt {
11629
+ class VP extends Et {
11630
11630
  priority = 70;
11631
11631
  parse(t, n, r) {
11632
11632
  switch (n) {
@@ -11647,7 +11647,7 @@ class VP extends Tt {
11647
11647
  }
11648
11648
  incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
11649
11649
  }
11650
- class qP extends Tt {
11650
+ class qP extends Et {
11651
11651
  priority = 60;
11652
11652
  parse(t, n, r) {
11653
11653
  switch (n) {
@@ -11667,7 +11667,7 @@ class qP extends Tt {
11667
11667
  }
11668
11668
  incompatibleTokens = ["t", "T"];
11669
11669
  }
11670
- class YP extends Tt {
11670
+ class YP extends Et {
11671
11671
  priority = 50;
11672
11672
  parse(t, n, r) {
11673
11673
  switch (n) {
@@ -11687,7 +11687,7 @@ class YP extends Tt {
11687
11687
  }
11688
11688
  incompatibleTokens = ["t", "T"];
11689
11689
  }
11690
- class GP extends Tt {
11690
+ class GP extends Et {
11691
11691
  priority = 30;
11692
11692
  parse(t, n) {
11693
11693
  const r = (a) => Math.trunc(a * Math.pow(10, -n.length + 3));
@@ -11698,7 +11698,7 @@ class GP extends Tt {
11698
11698
  }
11699
11699
  incompatibleTokens = ["t", "T"];
11700
11700
  }
11701
- class KP extends Tt {
11701
+ class KP extends Et {
11702
11702
  priority = 10;
11703
11703
  parse(t, n) {
11704
11704
  switch (n) {
@@ -11732,7 +11732,7 @@ class KP extends Tt {
11732
11732
  }
11733
11733
  incompatibleTokens = ["t", "T", "x"];
11734
11734
  }
11735
- class XP extends Tt {
11735
+ class XP extends Et {
11736
11736
  priority = 10;
11737
11737
  parse(t, n) {
11738
11738
  switch (n) {
@@ -11766,7 +11766,7 @@ class XP extends Tt {
11766
11766
  }
11767
11767
  incompatibleTokens = ["t", "T", "X"];
11768
11768
  }
11769
- class JP extends Tt {
11769
+ class JP extends Et {
11770
11770
  priority = 40;
11771
11771
  parse(t) {
11772
11772
  return C4(t);
@@ -11776,7 +11776,7 @@ class JP extends Tt {
11776
11776
  }
11777
11777
  incompatibleTokens = "*";
11778
11778
  }
11779
- class QP extends Tt {
11779
+ class QP extends Et {
11780
11780
  priority = 20;
11781
11781
  parse(t) {
11782
11782
  return C4(t);
@@ -15179,9 +15179,9 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15179
15179
  }
15180
15180
  }, be = (ee, ge, Oe, Je) => {
15181
15181
  if (e.sixWeeks && ee.length < 6) {
15182
- const fe = 6 - ee.length, Ae = (ge.getDay() + 7 - Je) % 7, ze = 6 - (Oe.getDay() + 7 - Je) % 7, [Et, Dt] = ke(Ae, ze);
15182
+ const fe = 6 - ee.length, Ae = (ge.getDay() + 7 - Je) % 7, ze = 6 - (Oe.getDay() + 7 - Je) % 7, [At, Dt] = ke(Ae, ze);
15183
15183
  for (let gn = 1; gn <= fe; gn++)
15184
- if (Dt ? !!(gn % 2) == Et : Et) {
15184
+ if (Dt ? !!(gn % 2) == At : At) {
15185
15185
  const fn = ee[0].days[0], Mn = Ue(fr(fn.value, -7), ht(ge));
15186
15186
  ee.unshift({ days: Mn });
15187
15187
  } else {
@@ -15203,16 +15203,16 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15203
15203
  }
15204
15204
  return Je;
15205
15205
  }, xe = (ee, ge) => {
15206
- const Oe = [], Je = new Date(ge, ee), fe = new Date(ge, ee + 1, 0), Ae = e.weekStart, ze = Nr(Je, { weekStartsOn: Ae }), Et = (Dt) => {
15206
+ const Oe = [], Je = new Date(ge, ee), fe = new Date(ge, ee + 1, 0), Ae = e.weekStart, ze = Nr(Je, { weekStartsOn: Ae }), At = (Dt) => {
15207
15207
  const gn = Ue(Dt, ee);
15208
15208
  if (Oe.push({ days: gn }), !Oe[Oe.length - 1].days.some(
15209
15209
  (fn) => mt(Sn(fn.value), Sn(fe))
15210
15210
  )) {
15211
15211
  const fn = fr(Dt, 7);
15212
- Et(fn);
15212
+ At(fn);
15213
15213
  }
15214
15214
  };
15215
- return Et(ze), be(Oe, Je, fe, Ae);
15215
+ return At(ze), be(Oe, Je, fe, Ae);
15216
15216
  }, We = (ee) => {
15217
15217
  const ge = Ja(Ce(ee.value), c.hours, c.minutes, Ne());
15218
15218
  t("date-update", ge), T.value.enabled ? Yh(ge, l, T.value.limit) : l.value = ge, r(), Nt().then(() => {
@@ -15239,11 +15239,11 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15239
15239
  if (Be(ee.value) || !x(ee.value, l.value, m.value.fixedStart ? 0 : 1))
15240
15240
  return t("invalid-date", ee.value);
15241
15241
  a.value = X4(Ce(ee.value), l, t, m);
15242
- }, Pt = (ee, ge) => {
15242
+ }, Mt = (ee, ge) => {
15243
15243
  if (ne(), m.value.autoRange) return pe(ee, ge);
15244
15244
  if (m.value.fixedStart || m.value.fixedEnd) return wt(ee);
15245
15245
  a.value[0] ? x(Ce(ee.value), l.value) && !Be(ee.value) ? en(Ce(ee.value), Ce(a.value[0])) ? (a.value.unshift(Ce(ee.value)), t("range-end", a.value[0])) : (a.value[1] = Ce(ee.value), t("range-end", a.value[1])) : (e.autoApply && t("auto-apply-invalid", ee.value), t("invalid-date", ee.value)) : (a.value[0] = Ce(ee.value), t("range-start", a.value[0]));
15246
- }, Ne = (ee = !0) => e.enableSeconds ? Array.isArray(c.seconds) ? ee ? c.seconds[0] : c.seconds[1] : c.seconds : 0, Mt = (ee) => {
15246
+ }, Ne = (ee = !0) => e.enableSeconds ? Array.isArray(c.seconds) ? ee ? c.seconds[0] : c.seconds[1] : c.seconds : 0, It = (ee) => {
15247
15247
  a.value[ee] = Ja(
15248
15248
  a.value[ee],
15249
15249
  c.hours[ee],
@@ -15254,11 +15254,11 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15254
15254
  var ee, ge;
15255
15255
  a.value[0] && a.value[1] && +((ee = a.value) == null ? void 0 : ee[0]) > +((ge = a.value) == null ? void 0 : ge[1]) && (a.value.reverse(), t("range-start", a.value[0]), t("range-end", a.value[1]));
15256
15256
  }, er = () => {
15257
- a.value.length && (a.value[0] && !a.value[1] ? Mt(0) : (Mt(0), Mt(1), r()), cn(), l.value = a.value.slice(), Qc(a.value, t, e.autoApply, e.modelAuto));
15257
+ a.value.length && (a.value[0] && !a.value[1] ? It(0) : (It(0), It(1), r()), cn(), l.value = a.value.slice(), Qc(a.value, t, e.autoApply, e.modelAuto));
15258
15258
  }, dn = (ee, ge = !1) => {
15259
15259
  if (y(ee.value) || !ee.current && e.hideOffsetDates) return t("invalid-date", ee.value);
15260
15260
  if (i.value = JSON.parse(JSON.stringify(ee)), !m.value.enabled) return We(ee);
15261
- Z0(c.hours) && Z0(c.minutes) && !T.value.enabled && (Pt(ee, ge), er());
15261
+ Z0(c.hours) && Z0(c.minutes) && !T.value.enabled && (Mt(ee, ge), er());
15262
15262
  }, kn = (ee, ge) => {
15263
15263
  var Oe;
15264
15264
  O(ee, ge.month, ge.year, !0), f.value.count && !f.value.solo && Ye(ee), t("update-month-year", { instance: ee, month: ge.month, year: ge.year }), n(f.value.solo ? ee : void 0);
@@ -15852,8 +15852,8 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15852
15852
  var pe, Ie, wt;
15853
15853
  (pe = C.value) == null || pe.toggleTimePicker(!1, !1), (Ie = C.value) == null || Ie.toggleMonthPicker(!1, !1, ne), (wt = C.value) == null || wt.toggleYearPicker(!1, !1, ne);
15854
15854
  }, _e = (ne, pe = 0) => {
15855
- var Ie, wt, Pt;
15856
- return ne === "month" ? (Ie = C.value) == null ? void 0 : Ie.toggleMonthPicker(!1, !0, pe) : ne === "year" ? (wt = C.value) == null ? void 0 : wt.toggleYearPicker(!1, !0, pe) : ne === "time" ? (Pt = C.value) == null ? void 0 : Pt.toggleTimePicker(!0, !1) : he(pe);
15855
+ var Ie, wt, Mt;
15856
+ return ne === "month" ? (Ie = C.value) == null ? void 0 : Ie.toggleMonthPicker(!1, !0, pe) : ne === "year" ? (wt = C.value) == null ? void 0 : wt.toggleYearPicker(!1, !0, pe) : ne === "time" ? (Mt = C.value) == null ? void 0 : Mt.toggleTimePicker(!0, !1) : he(pe);
15857
15857
  }, z = (ne, ...pe) => {
15858
15858
  var Ie, wt;
15859
15859
  (Ie = C.value) != null && Ie[ne] && ((wt = C.value) == null || wt[ne](...pe));
@@ -15902,7 +15902,7 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15902
15902
  (pe = (ne = C.value) == null ? void 0 : ne.setStartTime) == null || pe.call(ne);
15903
15903
  }
15904
15904
  }), (ne, pe) => {
15905
- var Ie, wt, Pt;
15905
+ var Ie, wt, Mt;
15906
15906
  return E(), $("div", {
15907
15907
  id: ne.uid ? `dp-menu-${ne.uid}` : void 0,
15908
15908
  ref_key: "dpMenuRef",
@@ -15936,7 +15936,7 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15936
15936
  ref: S,
15937
15937
  class: oe({
15938
15938
  dp__menu_content_wrapper: ((wt = ne.presetDates) == null ? void 0 : wt.length) || !!ne.$slots["left-sidebar"] || !!ne.$slots["right-sidebar"],
15939
- "dp--menu-content-wrapper-collapsed": e.collapse && (((Pt = ne.presetDates) == null ? void 0 : Pt.length) || !!ne.$slots["left-sidebar"] || !!ne.$slots["right-sidebar"])
15939
+ "dp--menu-content-wrapper-collapsed": e.collapse && (((Mt = ne.presetDates) == null ? void 0 : Mt.length) || !!ne.$slots["left-sidebar"] || !!ne.$slots["right-sidebar"])
15940
15940
  }),
15941
15941
  "data-dp-mobile": w(b),
15942
15942
  style: on({ "--dp-menu-width": `${T.value}px` })
@@ -15949,7 +15949,7 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
15949
15949
  class: oe({ "dp--preset-dates-collapsed": e.collapse, "dp--preset-dates": !0 }),
15950
15950
  "data-dp-mobile": w(b)
15951
15951
  }, [
15952
- (E(!0), $(De, null, Ze(ne.presetDates, (Ne, Mt) => (E(), $(De, { key: Mt }, [
15952
+ (E(!0), $(De, null, Ze(ne.presetDates, (Ne, It) => (E(), $(De, { key: It }, [
15953
15953
  Ne.slot ? ae(ne.$slots, Ne.slot, {
15954
15954
  key: 0,
15955
15955
  presetDate: ke,
@@ -16001,7 +16001,7 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
16001
16001
  onOverlayToggle: pe[14] || (pe[14] = (Ne) => ne.$emit("overlay-toggle", Ne)),
16002
16002
  "onUpdate:internalModelValue": pe[15] || (pe[15] = (Ne) => ne.$emit("update:internal-model-value", Ne))
16003
16003
  }), Yt({ _: 2 }, [
16004
- Ze(K.value, (Ne, Mt) => ({
16004
+ Ze(K.value, (Ne, It) => ({
16005
16005
  name: Ne,
16006
16006
  fn: de((cn) => [
16007
16007
  ae(ne.$slots, Ne, yt(sn({ ...cn })))
@@ -16029,7 +16029,7 @@ const mp = (e, t) => e?.querySelector(`[data-dp-element="${t}"]`), N4 = (e, t) =
16029
16029
  onInvalidSelect: pe[18] || (pe[18] = (Ne) => ne.$emit("invalid-select")),
16030
16030
  onSelectNow: Se
16031
16031
  }), Yt({ _: 2 }, [
16032
- Ze(w(q), (Ne, Mt) => ({
16032
+ Ze(w(q), (Ne, It) => ({
16033
16033
  name: Ne,
16034
16034
  fn: de((cn) => [
16035
16035
  ae(ne.$slots, Ne, yt(sn({ ...cn })))
@@ -16866,35 +16866,35 @@ const ZI = ({
16866
16866
  var fe, Ae;
16867
16867
  return ((Ae = (fe = d.value) == null ? void 0 : fe.$el) == null ? void 0 : Ae.getBoundingClientRect()) ?? { width: 0, left: 0, right: 0 };
16868
16868
  }, ke = () => {
16869
- i.value && (D.value.closeOnScroll ? Mt() : me());
16869
+ i.value && (D.value.closeOnScroll ? It() : me());
16870
16870
  }, be = () => {
16871
16871
  var fe;
16872
16872
  i.value && me();
16873
16873
  const Ae = ((fe = c.value) == null ? void 0 : fe.$el.getBoundingClientRect().width) ?? 0;
16874
16874
  b.value = document.body.offsetWidth <= Ae;
16875
16875
  }, Ue = (fe) => {
16876
- fe.key === "Tab" && !M.value.enabled && !a.teleport && D.value.tabOutClosesMenu && (p.value.contains(document.activeElement) || Mt()), v.value = fe.shiftKey;
16876
+ fe.key === "Tab" && !M.value.enabled && !a.teleport && D.value.tabOutClosesMenu && (p.value.contains(document.activeElement) || It()), v.value = fe.shiftKey;
16877
16877
  }, xe = (fe) => {
16878
16878
  v.value = fe.shiftKey;
16879
16879
  }, We = () => {
16880
16880
  !a.disabled && !a.readonly && (K(O, e1, a), me(!1), i.value = !0, i.value && r("open"), i.value || Ne(), P(a.modelValue));
16881
16881
  }, Be = () => {
16882
16882
  var fe, Ae;
16883
- Z.value = "", Ne(), (fe = c.value) == null || fe.onValueCleared(), (Ae = d.value) == null || Ae.setParsedDate(null), r("update:model-value", null), r("update:model-timezone-value", null), r("cleared"), D.value.closeOnClearValue && Mt();
16883
+ Z.value = "", Ne(), (fe = c.value) == null || fe.onValueCleared(), (Ae = d.value) == null || Ae.setParsedDate(null), r("update:model-value", null), r("update:model-timezone-value", null), r("cleared"), D.value.closeOnClearValue && It();
16884
16884
  }, ne = () => {
16885
16885
  const fe = G.value;
16886
16886
  return !fe || !Array.isArray(fe) && C(fe) ? !0 : Array.isArray(fe) ? U.value.enabled || fe.length === 2 && C(fe[0]) && C(fe[1]) ? !0 : Y.value.partialRange && !a.timePicker ? C(fe[0]) : !1 : !1;
16887
16887
  }, pe = () => {
16888
- Ye() && ne() ? (re(), Mt()) : r("invalid-select", G.value);
16888
+ Ye() && ne() ? (re(), It()) : r("invalid-select", G.value);
16889
16889
  }, Ie = (fe) => {
16890
- wt(), re(), D.value.closeOnAutoApply && !fe && Mt();
16890
+ wt(), re(), D.value.closeOnAutoApply && !fe && It();
16891
16891
  }, wt = () => {
16892
16892
  d.value && R.value.enabled && d.value.setParsedDate(G.value);
16893
- }, Pt = (fe = !1) => {
16893
+ }, Mt = (fe = !1) => {
16894
16894
  a.autoApply && x(G.value) && ne() && (Y.value.enabled && Array.isArray(G.value) ? (Y.value.partialRange || G.value.length === 2) && Ie(fe) : Ie(fe));
16895
16895
  }, Ne = () => {
16896
16896
  R.value.enabled || (G.value = null);
16897
- }, Mt = (fe = !1) => {
16897
+ }, It = (fe = !1) => {
16898
16898
  var Ae, ze;
16899
16899
  fe && G.value && D.value.setDateOnMenuClose && pe(), M.value.enabled || (i.value && (i.value = !1, Q.value = !1, T(!1), S(!1), y(), r("closed"), Z.value && P(s.value)), Ne(), r("blur"), (ze = (Ae = c.value) == null ? void 0 : Ae.$el) == null || ze.remove());
16900
16900
  }, cn = (fe, Ae, ze = !1) => {
@@ -16902,13 +16902,13 @@ const ZI = ({
16902
16902
  G.value = null;
16903
16903
  return;
16904
16904
  }
16905
- const Et = Array.isArray(fe) ? !fe.some((gn) => !C(gn)) : C(fe), Dt = x(fe);
16906
- Et && Dt ? (g.value = !0, G.value = fe, Ae ? (m.value = ze, pe(), r("text-submit")) : a.autoApply && Pt(), Nt().then(() => {
16905
+ const At = Array.isArray(fe) ? !fe.some((gn) => !C(gn)) : C(fe), Dt = x(fe);
16906
+ At && Dt ? (g.value = !0, G.value = fe, Ae ? (m.value = ze, pe(), r("text-submit")) : a.autoApply && Mt(), Nt().then(() => {
16907
16907
  g.value = !1;
16908
16908
  })) : r("invalid-date", fe);
16909
16909
  }, er = () => {
16910
16910
  a.autoApply && x(G.value) && re(), wt();
16911
- }, dn = () => i.value ? Mt() : We(), kn = (fe) => {
16911
+ }, dn = () => i.value ? It() : We(), kn = (fe) => {
16912
16912
  G.value = fe;
16913
16913
  }, ue = () => {
16914
16914
  R.value.enabled && (f.value = !0, ye()), r("focus");
@@ -16928,7 +16928,7 @@ const ZI = ({
16928
16928
  }, ee = (fe, Ae) => {
16929
16929
  var ze;
16930
16930
  (ze = c.value) == null || ze.switchView(fe, Ae);
16931
- }, ge = (fe, Ae) => D.value.onClickOutside ? D.value.onClickOutside(fe, Ae) : Mt(!0), Oe = (fe = 0) => {
16931
+ }, ge = (fe, Ae) => D.value.onClickOutside ? D.value.onClickOutside(fe, Ae) : It(!0), Oe = (fe = 0) => {
16932
16932
  var Ae;
16933
16933
  (Ae = c.value) == null || Ae.handleFlow(fe);
16934
16934
  }, Je = () => u;
@@ -16937,7 +16937,7 @@ const ZI = ({
16937
16937
  d,
16938
16938
  (fe) => ge(ne, fe)
16939
16939
  ), t({
16940
- closeMenu: Mt,
16940
+ closeMenu: It,
16941
16941
  selectDate: pe,
16942
16942
  clearValue: Be,
16943
16943
  openMenu: We,
@@ -16972,13 +16972,13 @@ const ZI = ({
16972
16972
  onSetEmptyDate: w(re),
16973
16973
  onSelectDate: pe,
16974
16974
  onToggle: dn,
16975
- onClose: Mt,
16975
+ onClose: It,
16976
16976
  onFocus: ue,
16977
16977
  onBlur: $e,
16978
16978
  onRealBlur: Ae[1] || (Ae[1] = (ze) => f.value = !1),
16979
16979
  onTextInput: Ae[2] || (Ae[2] = (ze) => fe.$emit("text-input", ze))
16980
16980
  }), Yt({ _: 2 }, [
16981
- Ze(w(te), (ze, Et) => ({
16981
+ Ze(w(te), (ze, At) => ({
16982
16982
  name: ze,
16983
16983
  fn: de((Dt) => [
16984
16984
  ae(fe.$slots, ze, yt(sn(Dt)))
@@ -17012,9 +17012,9 @@ const ZI = ({
17012
17012
  collapse: b.value,
17013
17013
  "get-input-rect": Se,
17014
17014
  "is-text-input-date": g.value,
17015
- onClosePicker: Mt,
17015
+ onClosePicker: It,
17016
17016
  onSelectDate: pe,
17017
- onAutoApply: Pt,
17017
+ onAutoApply: Mt,
17018
17018
  onTimeUpdate: er,
17019
17019
  onFlowStep: Ae[4] || (Ae[4] = (ze) => fe.$emit("flow-step", ze)),
17020
17020
  onUpdateMonthYear: Ae[5] || (Ae[5] = (ze) => fe.$emit("update-month-year", ze)),
@@ -17034,7 +17034,7 @@ const ZI = ({
17034
17034
  onOverlayToggle: Ae[18] || (Ae[18] = (ze) => fe.$emit("overlay-toggle", ze)),
17035
17035
  onMenuBlur: Ae[19] || (Ae[19] = (ze) => fe.$emit("blur"))
17036
17036
  }), Yt({ _: 2 }, [
17037
- Ze(w(H), (ze, Et) => ({
17037
+ Ze(w(H), (ze, At) => ({
17038
17038
  name: ze,
17039
17039
  fn: de((Dt) => [
17040
17040
  ae(fe.$slots, ze, yt(sn({ ...Dt })))
@@ -17854,7 +17854,7 @@ function nL(e, t, n) {
17854
17854
  }), wt = F(() => {
17855
17855
  let ie = Ie.value;
17856
17856
  return N.value && (ie = ie.reverse()), $e.value.length && (ie = $e.value.concat(ie)), Ua(ie);
17857
- }), Pt = F(() => {
17857
+ }), Mt = F(() => {
17858
17858
  let ie = wt.value;
17859
17859
  return We.value > 0 && (ie = ie.slice(0, We.value)), ie;
17860
17860
  }), Ne = F(() => {
@@ -17867,7 +17867,7 @@ function nL(e, t, n) {
17867
17867
  [H.value]: [...ke.value],
17868
17868
  __CREATE__: !0
17869
17869
  }), ie.concat(Pe);
17870
- }), Mt = F(() => {
17870
+ }), It = F(() => {
17871
17871
  let ie = [...Ne.value].map((Pe) => ({ ...Pe }));
17872
17872
  return $e.value.length && (ie[0] && ie[0].__CREATE__ ? ie[0][H.value] = [...$e.value, ...ie[0][H.value]] : ie = [{
17873
17873
  [R.value]: " ",
@@ -17877,7 +17877,7 @@ function nL(e, t, n) {
17877
17877
  }), cn = F(() => {
17878
17878
  if (!I.value)
17879
17879
  return [];
17880
- let ie = Mt.value;
17880
+ let ie = It.value;
17881
17881
  return zt((ie || /* istanbul ignore next */
17882
17882
  []).map((Pe, pt) => {
17883
17883
  const Ht = Vn(Pe[H.value]);
@@ -17897,7 +17897,7 @@ function nL(e, t, n) {
17897
17897
  case "tags":
17898
17898
  return !Wr(Z.value) && Z.value.length > 0;
17899
17899
  }
17900
- }), dn = F(() => p.value !== void 0 ? p.value(Z.value, K) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), kn = Jt(() => !Ie.value.length && !Ue.value && !$e.value.length), ue = Jt(() => Ie.value.length > 0 && Pt.value.length == 0 && (P.value && I.value || !I.value)), $e = F(() => ne.value === !1 || !P.value ? [] : In(P.value) !== -1 ? [] : [{
17900
+ }), dn = F(() => p.value !== void 0 ? p.value(Z.value, K) : Z.value && Z.value.length > 1 ? `${Z.value.length} options selected` : "1 option selected"), kn = Jt(() => !Ie.value.length && !Ue.value && !$e.value.length), ue = Jt(() => Ie.value.length > 0 && Mt.value.length == 0 && (P.value && I.value || !I.value)), $e = F(() => ne.value === !1 || !P.value ? [] : In(P.value) !== -1 ? [] : [{
17901
17901
  [x.value]: P.value,
17902
17902
  [Fe.value[0]]: P.value,
17903
17903
  [c.value]: P.value,
@@ -17942,7 +17942,7 @@ function nL(e, t, n) {
17942
17942
  fe(ie);
17943
17943
  }, ze = () => {
17944
17944
  ye(lt.value), t.emit("clear", K);
17945
- }, Et = (ie) => {
17945
+ }, At = (ie) => {
17946
17946
  if (ie.group !== void 0)
17947
17947
  return a.value === "single" ? !1 : vi(ie[H.value]) && ie[H.value].length;
17948
17948
  switch (a.value) {
@@ -17954,7 +17954,7 @@ function nL(e, t, n) {
17954
17954
  }
17955
17955
  }, Dt = (ie) => ie[Q.value] === !0, gn = () => D === void 0 || D.value === -1 || !er.value && D.value > 0 ? !1 : Z.value.length >= D.value, fn = (ie) => {
17956
17956
  if (!Dt(ie)) {
17957
- if (se.value && !Et(ie) && ie.__CREATE__ && (ie = { ...ie }, delete ie.__CREATE__, ie = se.value(ie, K), ie instanceof Promise)) {
17957
+ if (se.value && !At(ie) && ie.__CREATE__ && (ie = { ...ie }, delete ie.__CREATE__, ie = se.value(ie, K), ie instanceof Promise)) {
17958
17958
  Ue.value = !0, ie.then((Pe) => {
17959
17959
  Ue.value = !1, Mn(Pe);
17960
17960
  });
@@ -17965,14 +17965,14 @@ function nL(e, t, n) {
17965
17965
  }, Mn = (ie) => {
17966
17966
  switch (ie.__CREATE__ && (ie = { ...ie }, delete ie.__CREATE__), a.value) {
17967
17967
  case "single":
17968
- if (ie && Et(ie)) {
17968
+ if (ie && At(ie)) {
17969
17969
  M.value && Oe(ie), B.value && (je(), z());
17970
17970
  return;
17971
17971
  }
17972
17972
  ie && _r(ie), C.value && re(), U.value && (je(), z()), ie && ge(ie);
17973
17973
  break;
17974
17974
  case "multiple":
17975
- if (ie && Et(ie)) {
17975
+ if (ie && At(ie)) {
17976
17976
  Oe(ie), B.value && (je(), z());
17977
17977
  return;
17978
17978
  }
@@ -17983,7 +17983,7 @@ function nL(e, t, n) {
17983
17983
  ie && (_r(ie), ge(ie)), C.value && re(), s.value && je(), U.value && z();
17984
17984
  break;
17985
17985
  case "tags":
17986
- if (ie && Et(ie)) {
17986
+ if (ie && At(ie)) {
17987
17987
  Oe(ie), B.value && (je(), z());
17988
17988
  return;
17989
17989
  }
@@ -18010,8 +18010,8 @@ function nL(e, t, n) {
18010
18010
  }, _r = (ie) => {
18011
18011
  He(ie[x.value]) === void 0 && ne.value && (t.emit("tag", ie[x.value], K), t.emit("option", ie[x.value], K), t.emit("create", ie[x.value], K), pe.value && nn(ie), re());
18012
18012
  }, Ms = () => {
18013
- a.value !== "single" && ge(Pt.value.filter((ie) => !ie.disabled && !Et(ie)));
18014
- }, mi = (ie) => ie.find((Pe) => !Et(Pe) && !Pe[Q.value]) === void 0, vi = (ie) => ie.find((Pe) => !Et(Pe)) === void 0, He = (ie) => Ie.value[Ie.value.map((Pe) => String(Pe[x.value])).indexOf(String(ie))], In = (ie) => Ie.value.findIndex((Pe) => Fe.value.some((pt) => (parseInt(Pe[pt]) == Pe[pt] ? parseInt(Pe[pt]) : Pe[pt]) === (parseInt(ie) == ie ? parseInt(ie) : ie))), Ve = (ie) => ["tags", "multiple"].indexOf(a.value) !== -1 && s.value && Et(ie), nn = (ie) => {
18013
+ a.value !== "single" && ge(Mt.value.filter((ie) => !ie.disabled && !At(ie)));
18014
+ }, mi = (ie) => ie.find((Pe) => !At(Pe) && !Pe[Q.value]) === void 0, vi = (ie) => ie.find((Pe) => !At(Pe)) === void 0, He = (ie) => Ie.value[Ie.value.map((Pe) => String(Pe[x.value])).indexOf(String(ie))], In = (ie) => Ie.value.findIndex((Pe) => Fe.value.some((pt) => (parseInt(Pe[pt]) == Pe[pt] ? parseInt(Pe[pt]) : Pe[pt]) === (parseInt(ie) == ie ? parseInt(ie) : ie))), Ve = (ie) => ["tags", "multiple"].indexOf(a.value) !== -1 && s.value && At(ie), nn = (ie) => {
18015
18015
  ke.value.push(ie);
18016
18016
  }, zt = (ie) => te.value ? ie.filter(
18017
18017
  (Pe) => P.value ? Pe.__VISIBLE__.length : Pe[H.value].length
@@ -18071,7 +18071,7 @@ function nL(e, t, n) {
18071
18071
  xe.value = et(P, (ie) => {
18072
18072
  ie.length < T.value || !ie && T.value !== 0 || (Ue.value = !0, y.value && (be.value = []), setTimeout(() => {
18073
18073
  ie == P.value && r.value(P.value, K).then((Pe) => {
18074
- (ie == P.value || !P.value) && (be.value = Pe, Ye.value = Pt.value.filter((pt) => pt[Q.value] !== !0)[0] || null, Ue.value = !1);
18074
+ (ie == P.value || !P.value) && (be.value = Pe, Ye.value = Mt.value.filter((pt) => pt[Q.value] !== !0)[0] || null, Ue.value = !1);
18075
18075
  }).catch(
18076
18076
  /* istanbul ignore next */
18077
18077
  (Pe) => {
@@ -18106,8 +18106,8 @@ function nL(e, t, n) {
18106
18106
  }), {
18107
18107
  resolvedOptions: Be,
18108
18108
  pfo: wt,
18109
- fo: Pt,
18110
- filteredOptions: Pt,
18109
+ fo: Mt,
18110
+ filteredOptions: Mt,
18111
18111
  hasSelected: er,
18112
18112
  multipleLabelText: dn,
18113
18113
  eo: Ie,
@@ -18126,7 +18126,7 @@ function nL(e, t, n) {
18126
18126
  remove: fe,
18127
18127
  selectAll: Ms,
18128
18128
  clear: ze,
18129
- isSelected: Et,
18129
+ isSelected: At,
18130
18130
  isDisabled: Dt,
18131
18131
  isMax: gn,
18132
18132
  getOption: He,
@@ -18920,7 +18920,7 @@ function JL(e) {
18920
18920
  x[y] = Se, U[y] = Se - H;
18921
18921
  }
18922
18922
  if (s) {
18923
- var ke, be = y === "x" ? Rr : xa, Ue = y === "x" ? da : oo, xe = x[C], We = C === "y" ? "height" : "width", Be = xe + b[be], ne = xe - b[Ue], pe = [Rr, xa].indexOf(g) !== -1, Ie = (ke = Y?.[C]) != null ? ke : 0, wt = pe ? Be : xe - A[We] - R[We] - Ie + D.altAxis, Pt = pe ? xe + A[We] + R[We] - Ie - D.altAxis : ne, Ne = p && pe ? XL(wt, xe, Pt) : Bu(p ? wt : Be, xe, p ? Pt : ne);
18923
+ var ke, be = y === "x" ? Rr : xa, Ue = y === "x" ? da : oo, xe = x[C], We = C === "y" ? "height" : "width", Be = xe + b[be], ne = xe - b[Ue], pe = [Rr, xa].indexOf(g) !== -1, Ie = (ke = Y?.[C]) != null ? ke : 0, wt = pe ? Be : xe - A[We] - R[We] - Ie + D.altAxis, Mt = pe ? xe + A[We] + R[We] - Ie - D.altAxis : ne, Ne = p && pe ? XL(wt, xe, Mt) : Bu(p ? wt : Be, xe, p ? Mt : ne);
18924
18924
  x[C] = Ne, U[C] = Ne - xe;
18925
18925
  }
18926
18926
  t.modifiersData[r] = U;
@@ -21932,9 +21932,9 @@ const bD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), wD = ["id"], _D = [
21932
21932
  rowsPerPageRef: Ie,
21933
21933
  updateRowsPerPage: wt
21934
21934
  } = hD(he, A, U, R), {
21935
- totalItems: Pt,
21935
+ totalItems: Mt,
21936
21936
  selectItemsComputed: Ne,
21937
- totalItemsLength: Mt,
21937
+ totalItemsLength: It,
21938
21938
  toggleSelectAll: cn,
21939
21939
  toggleSelectItem: er
21940
21940
  } = gD(be, c, he, T, S, M, D, Y, x, n), {
@@ -21946,13 +21946,13 @@ const bD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), wD = ["id"], _D = [
21946
21946
  prevPage: lt,
21947
21947
  updatePage: ee,
21948
21948
  updateCurrentPaginationNumber: ge
21949
- } = pD(l, he, y, Mt, Ie, U, z), {
21949
+ } = pD(l, he, y, It, Ie, U, z), {
21950
21950
  currentPageFirstIndex: Oe,
21951
21951
  currentPageLastIndex: Je,
21952
21952
  multipleSelectStatus: fe,
21953
21953
  pageItems: Ae
21954
- } = fD(dn, je, he, T, Ie, Ne, B, Pt, Mt), ze = F(() => dn.value === 0 ? 0 : (dn.value - 1) * Ie.value), {
21955
- expandingItemIndexList: Et,
21954
+ } = fD(dn, je, he, T, Ie, Ne, B, Mt, It), ze = F(() => dn.value === 0 ? 0 : (dn.value - 1) * Ie.value), {
21955
+ expandingItemIndexList: At,
21956
21956
  updateExpandingItemIndexList: Dt,
21957
21957
  clearExpandingItemIndexList: gn
21958
21958
  } = uD(Ae, ze, n), {
@@ -21985,12 +21985,12 @@ const bD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), wD = ["id"], _D = [
21985
21985
  gn();
21986
21986
  }, { deep: !0 }), et(Ae, (He) => {
21987
21987
  n("updatePageItems", He);
21988
- }, { deep: !0 }), et(Pt, (He) => {
21988
+ }, { deep: !0 }), et(Mt, (He) => {
21989
21989
  n("updateTotalItems", He);
21990
21990
  }, { deep: !0 }), t({
21991
21991
  currentPageFirstIndex: Oe,
21992
21992
  currentPageLastIndex: Je,
21993
- clientItemsLength: Mt,
21993
+ clientItemsLength: It,
21994
21994
  maxPaginationNumber: kn,
21995
21995
  currentPaginationNumber: dn,
21996
21996
  isLastPage: ue,
@@ -22103,7 +22103,7 @@ const bD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), wD = ["id"], _D = [
22103
22103
  }, [
22104
22104
  w(K)[`item-${zt}`] ? ae(He.$slots, `item-${zt}`, yt(ot({ key: 0 }, Ve)), void 0, !0) : w(K)[`item-${zt.toLowerCase()}`] ? ae(He.$slots, `item-${zt.toLowerCase()}`, yt(ot({ key: 1 }, Ve)), void 0, !0) : zt === "expand" ? (E(), $("i", {
22105
22105
  key: 2,
22106
- class: oe(["expand-icon", { expanding: w(Et).includes(w(ze) + nn) }])
22106
+ class: oe(["expand-icon", { expanding: w(At).includes(w(ze) + nn) }])
22107
22107
  }, null, 2)) : zt === "checkbox" ? (E(), ce(L$, {
22108
22108
  key: 3,
22109
22109
  checked: Ve[zt],
@@ -22113,7 +22113,7 @@ const bD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), wD = ["id"], _D = [
22113
22113
  ], 64))
22114
22114
  ], 14, CD))), 128))
22115
22115
  ], 42, xD),
22116
- w(P) && w(Et).includes(nn + w(ze)) ? (E(), $("tr", {
22116
+ w(P) && w(At).includes(nn + w(ze)) ? (E(), $("tr", {
22117
22117
  key: 0,
22118
22118
  class: oe([
22119
22119
  { "even-row": (nn + 1) % 2 === 0 },
@@ -22168,7 +22168,7 @@ const bD = (e) => (vs("data-v-32683533"), e = e(), gs(), e), wD = ["id"], _D = [
22168
22168
  "rows-items": w(pe)
22169
22169
  }, null, 8, ["modelValue", "rows-items"])
22170
22170
  ])),
22171
- j("div", LD, Te(`${w(Oe)}–${w(Je)}`) + " " + Te(w(W)) + " " + Te(w(Mt)), 1),
22171
+ j("div", LD, Te(`${w(Oe)}–${w(Je)}`) + " " + Te(w(W)) + " " + Te(w(It)), 1),
22172
22172
  w(Z) ? ae(He.$slots, "pagination", yt(ot({ key: 1 }, {
22173
22173
  isFirstPage: w($e),
22174
22174
  isLastPage: w(ue),
@@ -22338,9 +22338,9 @@ const $D = { class: "relative z-50 w-full rounded-2xl bg-white px-4 py-3 shadow-
22338
22338
  function y(C, x, A) {
22339
22339
  r.onContextMenu?.(C, x, A) !== !1 && s.open(C, x, { confirmed: A });
22340
22340
  }
22341
- return t({ dataTableInstance: f }), i.onResetSelection.value = (C) => {
22341
+ return t({ dataTableInstance: f }), r.actionBarSelection && (i.onResetSelection.value = (C) => {
22342
22342
  r?.modelValue !== void 0 && (d.value = C);
22343
- }, (C, x) => (E(), $("div", {
22343
+ }), (C, x) => (E(), $("div", {
22344
22344
  class: oe([{ "app-table-without-selection": r?.modelValue === void 0 }, "app-data-table-wrapper"])
22345
22345
  }, [
22346
22346
  Ee(w(pb), ot({
@@ -26194,10 +26194,10 @@ function Qz() {
26194
26194
  if (V.receivers.remove(Le), V.loading[h]) {
26195
26195
  var ut = V.loading[h];
26196
26196
  delete V.loading[h];
26197
- for (var Ct = function(pn) {
26197
+ for (var Tt = function(pn) {
26198
26198
  pn || ve.cleanup();
26199
- }, It = 0; It < ut.length; It++)
26200
- ut[It](qe, Ct);
26199
+ }, Ot = 0; Ot < ut.length; Ot++)
26200
+ ut[Ot](qe, Tt);
26201
26201
  }
26202
26202
  });
26203
26203
  ve.send(Le);
@@ -26557,14 +26557,14 @@ function Qz() {
26557
26557
  var ve = k.nextAuthCallbackID.toString();
26558
26558
  k.nextAuthCallbackID++;
26559
26559
  var Le = k.getDocument(), qe = Le.createElement("script");
26560
- k.auth_callbacks[ve] = function(It) {
26561
- V(null, It);
26560
+ k.auth_callbacks[ve] = function(Ot) {
26561
+ V(null, Ot);
26562
26562
  };
26563
26563
  var ut = "Pusher.auth_callbacks['" + ve + "']";
26564
26564
  qe.src = _.endpoint + "?callback=" + encodeURIComponent(ut) + "&" + h;
26565
- var Ct = Le.getElementsByTagName("head")[0] || Le.documentElement;
26566
- Ct.insertBefore(qe, Ct.firstChild);
26567
- }, Pt = wt;
26565
+ var Tt = Le.getElementsByTagName("head")[0] || Le.documentElement;
26566
+ Tt.insertBefore(qe, Tt.firstChild);
26567
+ }, Mt = wt;
26568
26568
  class Ne {
26569
26569
  constructor(h) {
26570
26570
  this.src = h;
@@ -26585,7 +26585,7 @@ function Qz() {
26585
26585
  this.script && (this.script.onload = this.script.onerror = null, this.script.onreadystatechange = null), this.script && this.script.parentNode && this.script.parentNode.removeChild(this.script), this.errorScript && this.errorScript.parentNode && this.errorScript.parentNode.removeChild(this.errorScript), this.script = null, this.errorScript = null;
26586
26586
  }
26587
26587
  }
26588
- class Mt {
26588
+ class It {
26589
26589
  constructor(h, _) {
26590
26590
  this.url = h, this.data = _;
26591
26591
  }
@@ -26601,8 +26601,8 @@ function Qz() {
26601
26601
  }
26602
26602
  var cn = function(k, h) {
26603
26603
  return function(_, L) {
26604
- var V = "http" + (h ? "s" : "") + "://", ve = V + (k.host || k.options.host) + k.options.path, Le = ct.createJSONPRequest(ve, _), qe = ct.ScriptReceivers.create(function(ut, Ct) {
26605
- i.remove(qe), Le.cleanup(), Ct && Ct.host && (k.host = Ct.host), L && L(ut, Ct);
26604
+ var V = "http" + (h ? "s" : "") + "://", ve = V + (k.host || k.options.host) + k.options.path, Le = ct.createJSONPRequest(ve, _), qe = ct.ScriptReceivers.create(function(ut, Tt) {
26605
+ i.remove(qe), Le.cleanup(), Tt && Tt.host && (k.host = Tt.host), L && L(ut, Tt);
26606
26606
  });
26607
26607
  Le.send(qe);
26608
26608
  };
@@ -26814,7 +26814,7 @@ function Qz() {
26814
26814
  isInitialized: function() {
26815
26815
  return !0;
26816
26816
  }
26817
- }, Et = G({
26817
+ }, At = G({
26818
26818
  getSocket: function(k) {
26819
26819
  return ct.HTTPFactory.createStreamingSocket(k);
26820
26820
  }
@@ -26826,7 +26826,7 @@ function Qz() {
26826
26826
  isSupported: function() {
26827
26827
  return ct.isXHRSupported();
26828
26828
  }
26829
- }, fn = new fe(G({}, Et, gn)), Mn = new fe(G({}, Dt, gn)), xo = {
26829
+ }, fn = new fe(G({}, At, gn)), Mn = new fe(G({}, Dt, gn)), xo = {
26830
26830
  ws: Ae,
26831
26831
  xhr_streaming: fn,
26832
26832
  xhr_polling: Mn
@@ -26859,7 +26859,7 @@ function Qz() {
26859
26859
  var h = ct.isXDRSupported(k.useTLS);
26860
26860
  return h;
26861
26861
  }
26862
- }, vi = new fe(G({}, Et, mi)), He = new fe(G({}, Dt, mi));
26862
+ }, vi = new fe(G({}, At, mi)), He = new fe(G({}, Dt, mi));
26863
26863
  _r.xdr_streaming = vi, _r.xdr_polling = He, _r.sockjs = Ms;
26864
26864
  var In = _r;
26865
26865
  class Ve extends Oe {
@@ -26887,12 +26887,12 @@ function Qz() {
26887
26887
  });
26888
26888
  var ve = this.transport.createConnection(h, _, L, V), Le = null, qe = function() {
26889
26889
  ve.unbind("open", qe), ve.bind("closed", ut), Le = Z.now();
26890
- }, ut = (Ct) => {
26891
- if (ve.unbind("closed", ut), Ct.code === 1002 || Ct.code === 1003)
26890
+ }, ut = (Tt) => {
26891
+ if (ve.unbind("closed", ut), Tt.code === 1002 || Tt.code === 1003)
26892
26892
  this.manager.reportDeath();
26893
- else if (!Ct.wasClean && Le) {
26894
- var It = Z.now() - Le;
26895
- It < 2 * this.maxPingDelay && (this.manager.reportDeath(), this.pingDelay = Math.max(It / 2, this.minPingDelay));
26893
+ else if (!Tt.wasClean && Le) {
26894
+ var Ot = Z.now() - Le;
26895
+ Ot < 2 * this.maxPingDelay && (this.manager.reportDeath(), this.pingDelay = Math.max(Ot / 2, this.minPingDelay));
26896
26896
  }
26897
26897
  };
26898
26898
  return ve.bind("open", qe), ve;
@@ -27181,24 +27181,24 @@ function Qz() {
27181
27181
  });
27182
27182
  }
27183
27183
  return new (_ || (_ = Promise))(function(ve, Le) {
27184
- function qe(It) {
27184
+ function qe(Ot) {
27185
27185
  try {
27186
- Ct(L.next(It));
27186
+ Tt(L.next(Ot));
27187
27187
  } catch (pn) {
27188
27188
  Le(pn);
27189
27189
  }
27190
27190
  }
27191
- function ut(It) {
27191
+ function ut(Ot) {
27192
27192
  try {
27193
- Ct(L.throw(It));
27193
+ Tt(L.throw(Ot));
27194
27194
  } catch (pn) {
27195
27195
  Le(pn);
27196
27196
  }
27197
27197
  }
27198
- function Ct(It) {
27199
- It.done ? ve(It.value) : V(It.value).then(qe, ut);
27198
+ function Tt(Ot) {
27199
+ Ot.done ? ve(Ot.value) : V(Ot.value).then(qe, ut);
27200
27200
  }
27201
- Ct((L = L.apply(k, h || [])).next());
27201
+ Tt((L = L.apply(k, h || [])).next());
27202
27202
  });
27203
27203
  };
27204
27204
  class Pe extends Wa {
@@ -27580,8 +27580,8 @@ function Qz() {
27580
27580
  return be(this.strategies, Z.method("isSupported"));
27581
27581
  }
27582
27582
  connect(h, _) {
27583
- var L = this.strategies, V = 0, ve = this.timeout, Le = null, qe = (ut, Ct) => {
27584
- Ct ? _(null, Ct) : (V = V + 1, this.loop && (V = V % L.length), V < L.length ? (ve && (ve = ve * 2, this.timeoutLimit && (ve = Math.min(ve, this.timeoutLimit))), Le = this.tryStrategy(L[V], h, { timeout: ve, failFast: this.failFast }, qe)) : _(!0));
27583
+ var L = this.strategies, V = 0, ve = this.timeout, Le = null, qe = (ut, Tt) => {
27584
+ Tt ? _(null, Tt) : (V = V + 1, this.loop && (V = V % L.length), V < L.length ? (ve && (ve = ve * 2, this.timeoutLimit && (ve = Math.min(ve, this.timeoutLimit))), Le = this.tryStrategy(L[V], h, { timeout: ve, failFast: this.failFast }, qe)) : _(!0));
27585
27585
  };
27586
27586
  return Le = this.tryStrategy(L[V], h, { timeout: ve, failFast: this.failFast }, qe), {
27587
27587
  abort: function() {
@@ -27672,15 +27672,15 @@ function Qz() {
27672
27672
  failFast: !0
27673
27673
  }))) : ve++);
27674
27674
  }
27675
- var ut = Z.now(), Ct = Le.pop().connect(h, function It(pn, au) {
27676
- pn ? (pv(L), Le.length > 0 ? (ut = Z.now(), Ct = Le.pop().connect(h, It)) : _(pn)) : (C_(L, au.transport.name, Z.now() - ut, ve), _(null, au));
27675
+ var ut = Z.now(), Tt = Le.pop().connect(h, function Ot(pn, au) {
27676
+ pn ? (pv(L), Le.length > 0 ? (ut = Z.now(), Tt = Le.pop().connect(h, Ot)) : _(pn)) : (C_(L, au.transport.name, Z.now() - ut, ve), _(null, au));
27677
27677
  });
27678
27678
  return {
27679
27679
  abort: function() {
27680
- Ct.abort();
27680
+ Tt.abort();
27681
27681
  },
27682
- forceMinPriority: function(It) {
27683
- h = It, Ct && Ct.forceMinPriority(It);
27682
+ forceMinPriority: function(Ot) {
27683
+ h = Ot, Tt && Tt.forceMinPriority(Ot);
27684
27684
  }
27685
27685
  };
27686
27686
  }
@@ -27794,14 +27794,14 @@ function Qz() {
27794
27794
  loop: !0,
27795
27795
  timeout: 15e3,
27796
27796
  timeoutLimit: 6e4
27797
- }, Ct = new fv({
27797
+ }, Tt = new fv({
27798
27798
  minPingDelay: 1e4,
27799
27799
  maxPingDelay: k.activityTimeout
27800
- }), It = new fv({
27800
+ }), Ot = new fv({
27801
27801
  lives: 2,
27802
27802
  minPingDelay: 1e4,
27803
27803
  maxPingDelay: k.activityTimeout
27804
- }), pn = V("ws", "ws", 3, ve, Ct), au = V("wss", "ws", 3, Le, Ct), _8 = V("sockjs", "sockjs", 1, qe), yv = V("xhr_streaming", "xhr_streaming", 1, qe, It), S8 = V("xdr_streaming", "xdr_streaming", 1, qe, It), bv = V("xhr_polling", "xhr_polling", 1, qe), k8 = V("xdr_polling", "xdr_polling", 1, qe), wv = new Co([pn], ut), x8 = new Co([au], ut), C8 = new Co([_8], ut), _v = new Co([
27804
+ }), pn = V("ws", "ws", 3, ve, Tt), au = V("wss", "ws", 3, Le, Tt), _8 = V("sockjs", "sockjs", 1, qe), yv = V("xhr_streaming", "xhr_streaming", 1, qe, Ot), S8 = V("xdr_streaming", "xdr_streaming", 1, qe, Ot), bv = V("xhr_polling", "xhr_polling", 1, qe), k8 = V("xdr_polling", "xdr_polling", 1, qe), wv = new Co([pn], ut), x8 = new Co([au], ut), C8 = new Co([_8], ut), _v = new Co([
27805
27805
  new Ls(Rs(yv), yv, S8)
27806
27806
  ], ut), Sv = new Co([
27807
27807
  new Ls(Rs(bv), bv, k8)
@@ -28092,7 +28092,7 @@ function Qz() {
28092
28092
  return this.getDocument().location.protocol;
28093
28093
  },
28094
28094
  getAuthorizers() {
28095
- return { ajax: D, jsonp: Pt };
28095
+ return { ajax: D, jsonp: Mt };
28096
28096
  },
28097
28097
  onDocumentBody(k) {
28098
28098
  document.body ? k() : setTimeout(() => {
@@ -28100,7 +28100,7 @@ function Qz() {
28100
28100
  }, 0);
28101
28101
  },
28102
28102
  createJSONPRequest(k, h) {
28103
- return new Mt(k, h);
28103
+ return new It(k, h);
28104
28104
  },
28105
28105
  createScriptRequest(k) {
28106
28106
  return new Ne(k);
@@ -28216,20 +28216,20 @@ function Qz() {
28216
28216
  V.unbind("initialized", Le), V.connect();
28217
28217
  }, qe = function() {
28218
28218
  ve = ga.createHandshake(V, function(pn) {
28219
- L = !0, It(), _(null, pn);
28219
+ L = !0, Ot(), _(null, pn);
28220
28220
  });
28221
28221
  }, ut = function(pn) {
28222
- It(), _(pn);
28223
- }, Ct = function() {
28224
- It();
28222
+ Ot(), _(pn);
28223
+ }, Tt = function() {
28224
+ Ot();
28225
28225
  var pn;
28226
28226
  pn = ne(V), _(new y(pn));
28227
- }, It = function() {
28228
- V.unbind("initialized", Le), V.unbind("open", qe), V.unbind("error", ut), V.unbind("closed", Ct);
28227
+ }, Ot = function() {
28228
+ V.unbind("initialized", Le), V.unbind("open", qe), V.unbind("error", ut), V.unbind("closed", Tt);
28229
28229
  };
28230
- return V.bind("initialized", Le), V.bind("open", qe), V.bind("error", ut), V.bind("closed", Ct), V.initialize(), {
28230
+ return V.bind("initialized", Le), V.bind("open", qe), V.bind("error", ut), V.bind("closed", Tt), V.initialize(), {
28231
28231
  abort: () => {
28232
- L || (It(), ve ? ve.close() : V.close());
28232
+ L || (Ot(), ve ? ve.close() : V.close());
28233
28233
  },
28234
28234
  forceMinPriority: (pn) => {
28235
28235
  L || this.priority < pn && (ve ? ve.close() : V.close());
@@ -28605,23 +28605,29 @@ function eB(e) {
28605
28605
  });
28606
28606
  } };
28607
28607
  }
28608
- const Ot = {
28608
+ const _t = {
28609
28609
  listeners: X([]),
28610
28610
  echo: null,
28611
- key: null,
28612
- authorizer: null,
28613
28611
  emitter: eB(),
28614
- casters: X([])
28612
+ casters: {},
28613
+ /**
28614
+ * Tracks which Echo listeners are already registered.
28615
+ */
28616
+ subscriptions: /* @__PURE__ */ new Set(),
28617
+ /**
28618
+ * Maps original handler -> wrapped handler.
28619
+ */
28620
+ wrappedHandlers: /* @__PURE__ */ new WeakMap()
28615
28621
  };
28616
28622
  function tB(e = "unique") {
28617
- return Ot.listeners.value.some((t) => t.name === e) || Ot.listeners.value?.push({
28623
+ let t = _t.listeners.value.find((n) => n.name === e);
28624
+ return t || (t = {
28618
28625
  name: e,
28619
- // @ts-expect-error refs unwrapped
28620
- isListening: X(!1)
28621
- }), Ot.listeners.value.find((t) => t.name === e);
28626
+ isListening: !1
28627
+ }, _t.listeners.value.push(t)), t;
28622
28628
  }
28623
28629
  function nB(e, t) {
28624
- Ot.echo = new Jz({
28630
+ _t.echo = new Jz({
28625
28631
  broadcaster: "pusher",
28626
28632
  client: Zz.ConnectionManager,
28627
28633
  key: e,
@@ -28635,59 +28641,64 @@ function nB(e, t) {
28635
28641
  function nee(e = null) {
28636
28642
  const t = tB(e ?? void 0);
28637
28643
  function n(l) {
28638
- if (Ot.echo === null)
28644
+ if (!_t.echo)
28639
28645
  throw new Error("Echo is not initialized");
28640
- return Ot.casters[l] = Ot.echo.join(l), Ot.casters[l];
28646
+ return _t.casters[l] || (_t.casters[l] = _t.echo.join(l)), _t.casters[l];
28641
28647
  }
28642
- function r(l, u, c) {
28643
- if (Ot.echo === null)
28648
+ function r(l) {
28649
+ if (!_t.echo)
28644
28650
  throw new Error("Echo is not initialized");
28645
- const d = c ?? Object.keys(Ot.casters)[0];
28651
+ _t.echo.leave(l), delete _t.casters[l];
28652
+ }
28653
+ function a(l, u, c) {
28654
+ const d = c ?? Object.keys(_t.casters)[0];
28646
28655
  try {
28647
- Ot.casters[d]?.whisper?.(l, u);
28656
+ _t.casters[d]?.whisper?.(l, u);
28648
28657
  } catch {
28649
28658
  }
28650
28659
  }
28651
- function a(l, u, c) {
28652
- if (Ot.echo === null)
28653
- throw new Error("Echo is not initialized");
28654
- const d = c ?? Object.keys(Ot.casters)[0];
28655
- if (typeof Ot.casters[d]?.listenForWhisper == "function") {
28656
- Ot.casters[d]?.listenForWhisper?.(l, u);
28660
+ function o(l, u, c) {
28661
+ const d = c ?? Object.keys(_t.casters)[0];
28662
+ if (typeof _t.casters[d]?.listenForWhisper == "function") {
28663
+ _t.casters[d].listenForWhisper?.(l, u);
28657
28664
  return;
28658
28665
  }
28659
28666
  throw new Error(`Nothing to whisper to on this channel ${l}-${d}`);
28660
28667
  }
28661
- function o(l) {
28662
- if (Ot.echo === null)
28663
- throw new Error("Echo is not initialized");
28664
- Ot.echo.leave(l), delete Ot.casters[l];
28665
- }
28666
28668
  function i(l, u, c, d = !0, f = !1) {
28667
- if (Ot.echo === null)
28669
+ if (!_t.echo)
28668
28670
  throw new Error("Echo is not initialized");
28669
- const p = `${l}.${u}`, m = Ot.emitter.all.has(p);
28670
- t && (t.isListening = !0), !(m && f) && (m || (d ? Ot.echo.private(l) : Ot.echo.channel(l)).listen(`.${u}`, (b) => {
28671
- Ot.emitter.emit(p, b);
28672
- }), Ot.emitter.on(p, async (v) => {
28673
- const b = await c(v) ?? !1;
28674
- t && (t.isListening = !1), b && s(l, u);
28671
+ const p = `${l}.${u}`;
28672
+ t.isListening = !0, _t.subscriptions.has(p) || (_t.subscriptions.add(p), (d ? _t.echo.private(l) : _t.echo.channel(l)).listen(`.${u}`, (b) => {
28673
+ _t.emitter.emit(p, b);
28675
28674
  }));
28675
+ const m = async (v) => {
28676
+ const b = await c(v) ?? !1;
28677
+ t.isListening = !1, b && s(l, u, c);
28678
+ };
28679
+ _t.wrappedHandlers.set(c, m), _t.emitter.on(p, m);
28676
28680
  }
28677
- function s(l, u) {
28678
- if (Ot.echo === null)
28681
+ function s(l, u, c) {
28682
+ if (!_t.echo)
28679
28683
  throw new Error("Echo is not initialized");
28680
- Ot.emitter.off(`${l}.${u}`), Ot.emitter.all.delete(`${l}.${u}`), Ot.echo.leave(l), t.isListening = !1;
28684
+ const d = `${l}.${u}`;
28685
+ if (c) {
28686
+ const p = _t.wrappedHandlers.get(c);
28687
+ p && (_t.emitter.off(d, p), _t.wrappedHandlers.delete(c));
28688
+ } else
28689
+ _t.emitter.off(d);
28690
+ const f = _t.emitter.all.get(d);
28691
+ (!f || f.length === 0) && (_t.subscriptions.delete(d), _t.emitter.all.delete(d), _t.echo.leave(l)), t.isListening = !1;
28681
28692
  }
28682
28693
  return {
28683
28694
  on: i,
28684
28695
  off: s,
28685
28696
  join: n,
28686
- leave: o,
28687
- whisper: r,
28688
- listen: a,
28697
+ leave: r,
28698
+ whisper: a,
28699
+ listen: o,
28689
28700
  listener: t,
28690
- state: Ot
28701
+ state: _t
28691
28702
  };
28692
28703
  }
28693
28704
  const Nb = "app-context-menu-active-row", Ao = {
@@ -31350,15 +31361,15 @@ Bl(PH);
31350
31361
  Bl(IH);
31351
31362
  Bl($H);
31352
31363
  Bl(NH);
31353
- const Ke = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, kt = globalThis, qo = "9.43.0";
31364
+ const Ke = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, xt = globalThis, qo = "9.43.0";
31354
31365
  function ci() {
31355
- return dd(kt), kt;
31366
+ return dd(xt), xt;
31356
31367
  }
31357
31368
  function dd(e) {
31358
31369
  const t = e.__SENTRY__ = e.__SENTRY__ || {};
31359
31370
  return t.version = t.version || qo, t[qo] = t[qo] || {};
31360
31371
  }
31361
- function Fl(e, t, n = kt) {
31372
+ function Fl(e, t, n = xt) {
31362
31373
  const r = n.__SENTRY__ = n.__SENTRY__ || {}, a = r[qo] = r[qo] || {};
31363
31374
  return a[e] || (a[e] = t());
31364
31375
  }
@@ -31372,9 +31383,9 @@ const zH = [
31372
31383
  "trace"
31373
31384
  ], BH = "Sentry Logger ", bc = {};
31374
31385
  function Ha(e) {
31375
- if (!("console" in kt))
31386
+ if (!("console" in xt))
31376
31387
  return e();
31377
- const t = kt.console, n = {}, r = Object.keys(bc);
31388
+ const t = xt.console, n = {}, r = Object.keys(bc);
31378
31389
  r.forEach((a) => {
31379
31390
  const o = bc[a];
31380
31391
  n[a] = t[a], t[a] = o;
@@ -31407,7 +31418,7 @@ function WH(...e) {
31407
31418
  }
31408
31419
  function Em(e, ...t) {
31409
31420
  Ke && V3() && Ha(() => {
31410
- kt.console[e](`${BH}[${e}]:`, ...t);
31421
+ xt.console[e](`${BH}[${e}]:`, ...t);
31411
31422
  });
31412
31423
  }
31413
31424
  function Am() {
@@ -31525,7 +31536,7 @@ function G3(e) {
31525
31536
  So(t, e), ko(t, YH);
31526
31537
  }
31527
31538
  function YH() {
31528
- bf = kt.onerror, kt.onerror = function(e, t, n, r, a) {
31539
+ bf = xt.onerror, xt.onerror = function(e, t, n, r, a) {
31529
31540
  return mr("error", {
31530
31541
  column: r,
31531
31542
  error: a,
@@ -31533,7 +31544,7 @@ function YH() {
31533
31544
  msg: e,
31534
31545
  url: t
31535
31546
  }), bf ? bf.apply(this, arguments) : !1;
31536
- }, kt.onerror.__SENTRY_INSTRUMENTED__ = !0;
31547
+ }, xt.onerror.__SENTRY_INSTRUMENTED__ = !0;
31537
31548
  }
31538
31549
  let wf = null;
31539
31550
  function K3(e) {
@@ -31541,9 +31552,9 @@ function K3(e) {
31541
31552
  So(t, e), ko(t, GH);
31542
31553
  }
31543
31554
  function GH() {
31544
- wf = kt.onunhandledrejection, kt.onunhandledrejection = function(e) {
31555
+ wf = xt.onunhandledrejection, xt.onunhandledrejection = function(e) {
31545
31556
  return mr("unhandledrejection", e), wf ? wf.apply(this, arguments) : !0;
31546
- }, kt.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
31557
+ }, xt.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
31547
31558
  }
31548
31559
  const X3 = Object.prototype.toString;
31549
31560
  function Pm(e) {
@@ -31609,7 +31620,7 @@ function Q3(e) {
31609
31620
  function Z3(e) {
31610
31621
  return typeof Request < "u" && $a(e, Request);
31611
31622
  }
31612
- const Im = kt, ZH = 80;
31623
+ const Im = xt, ZH = 80;
31613
31624
  function yr(e, t = {}) {
31614
31625
  if (!e)
31615
31626
  return "<unknown>";
@@ -31794,7 +31805,7 @@ function nU(e, t = 40) {
31794
31805
  return "";
31795
31806
  }
31796
31807
  function rU() {
31797
- const e = kt;
31808
+ const e = xt;
31798
31809
  return e.crypto || e.msCrypto;
31799
31810
  }
31800
31811
  function sr(e = rU()) {
@@ -31860,7 +31871,7 @@ function di() {
31860
31871
  return Date.now() / aw;
31861
31872
  }
31862
31873
  function oU() {
31863
- const { performance: e } = kt;
31874
+ const { performance: e } = xt;
31864
31875
  if (!e?.now || !e.timeOrigin)
31865
31876
  return di;
31866
31877
  const t = e.timeOrigin;
@@ -31872,7 +31883,7 @@ function vn() {
31872
31883
  }
31873
31884
  let _f;
31874
31885
  function iU() {
31875
- const { performance: e } = kt;
31886
+ const { performance: e } = xt;
31876
31887
  if (!e?.now)
31877
31888
  return [void 0, "none"];
31878
31889
  const t = 3600 * 1e3, n = e.now(), r = Date.now(), a = e.timeOrigin ? Math.abs(e.timeOrigin + n - r) : t, o = a < t, i = e.timing?.navigationStart, l = typeof i == "number" ? Math.abs(i + n - r) : t, u = l < t;
@@ -32391,7 +32402,7 @@ function xs(e) {
32391
32402
  const t = dd(e);
32392
32403
  return t.acs ? t.acs : vU();
32393
32404
  }
32394
- function At() {
32405
+ function Pt() {
32395
32406
  const e = ci();
32396
32407
  return xs(e).getCurrentScope();
32397
32408
  }
@@ -32411,7 +32422,7 @@ function pd(...e) {
32411
32422
  return n.withScope(e[0]);
32412
32423
  }
32413
32424
  function bt() {
32414
- return At().getClient();
32425
+ return Pt().getClient();
32415
32426
  }
32416
32427
  function yU(e) {
32417
32428
  const t = e.getPropagationContext(), { traceId: n, parentSpanId: r, propagationSpanId: a } = t, o = {
@@ -32587,7 +32598,7 @@ function MU(e, t) {
32587
32598
  const pw = 0, Dm = 1;
32588
32599
  let q1 = !1;
32589
32600
  function IU(e) {
32590
- const { spanId: t, traceId: n } = e.spanContext(), { data: r, op: a, parent_span_id: o, status: i, origin: s, links: l } = St(e);
32601
+ const { spanId: t, traceId: n } = e.spanContext(), { data: r, op: a, parent_span_id: o, status: i, origin: s, links: l } = kt(e);
32591
32602
  return {
32592
32603
  parent_span_id: o,
32593
32604
  span_id: t,
@@ -32600,7 +32611,7 @@ function IU(e) {
32600
32611
  };
32601
32612
  }
32602
32613
  function OU(e) {
32603
- const { spanId: t, traceId: n, isRemote: r } = e.spanContext(), a = r ? t : St(e).parent_span_id, o = kc(e).scope, i = r ? o?.getPropagationContext().propagationSpanId || Ul() : t;
32614
+ const { spanId: t, traceId: n, isRemote: r } = e.spanContext(), a = r ? t : kt(e).parent_span_id, o = kc(e).scope, i = r ? o?.getPropagationContext().propagationSpanId || Ul() : t;
32604
32615
  return {
32605
32616
  parent_span_id: a,
32606
32617
  span_id: i,
@@ -32627,7 +32638,7 @@ function Yo(e) {
32627
32638
  function Y1(e) {
32628
32639
  return e > 9999999999 ? e / 1e3 : e;
32629
32640
  }
32630
- function St(e) {
32641
+ function kt(e) {
32631
32642
  if ($U(e))
32632
32643
  return e.getSpanJSON();
32633
32644
  const { spanId: t, traceId: n } = e.spanContext();
@@ -32695,7 +32706,7 @@ function En(e) {
32695
32706
  }
32696
32707
  function Pn() {
32697
32708
  const e = ci(), t = xs(e);
32698
- return t.getActiveSpan ? t.getActiveSpan() : _c(At());
32709
+ return t.getActiveSpan ? t.getActiveSpan() : _c(Pt());
32699
32710
  }
32700
32711
  function Op() {
32701
32712
  q1 || (Ha(() => {
@@ -32799,7 +32810,7 @@ function za(e) {
32799
32810
  const t = bt();
32800
32811
  if (!t)
32801
32812
  return {};
32802
- const n = En(e), r = St(n), a = r.data, o = n.spanContext().traceState, i = o?.get("sentry.sample_rate") ?? a[Lm] ?? a[ow];
32813
+ const n = En(e), r = kt(n), a = r.data, o = n.spanContext().traceState, i = o?.get("sentry.sample_rate") ?? a[Lm] ?? a[ow];
32803
32814
  function s(m) {
32804
32815
  return (typeof i == "number" || typeof i == "string") && (m.sample_rate = `${i}`), m;
32805
32816
  }
@@ -32987,7 +32998,7 @@ function K1(e, t) {
32987
32998
  return !1;
32988
32999
  }
32989
33000
  function Rp(e) {
32990
- const t = dd(kt);
33001
+ const t = dd(xt);
32991
33002
  return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
32992
33003
  }
32993
33004
  function JU(e) {
@@ -33104,9 +33115,9 @@ function oW(e, t) {
33104
33115
  ...n(r) && { trace: r },
33105
33116
  ...!!o && a && { dsn: ql(a) }
33106
33117
  }, s = t?.getOptions().beforeSendSpan, l = s ? (c) => {
33107
- const d = St(c), f = s(d);
33118
+ const d = kt(c), f = s(d);
33108
33119
  return f || (Op(), d);
33109
- } : St, u = [];
33120
+ } : kt, u = [];
33110
33121
  for (const c of e) {
33111
33122
  const d = l(c);
33112
33123
  d && u.push(ZU(d));
@@ -33115,9 +33126,9 @@ function oW(e, t) {
33115
33126
  }
33116
33127
  function iW(e) {
33117
33128
  if (!Ke) return;
33118
- const { description: t = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = St(e), { spanId: a } = e.spanContext(), o = fi(e), i = En(e), s = i === e, l = `[Tracing] Starting ${o ? "sampled" : "unsampled"} ${s ? "root " : ""}span`, u = [`op: ${n}`, `name: ${t}`, `ID: ${a}`];
33129
+ const { description: t = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = kt(e), { spanId: a } = e.spanContext(), o = fi(e), i = En(e), s = i === e, l = `[Tracing] Starting ${o ? "sampled" : "unsampled"} ${s ? "root " : ""}span`, u = [`op: ${n}`, `name: ${t}`, `ID: ${a}`];
33119
33130
  if (r && u.push(`parent ID: ${r}`), !s) {
33120
- const { op: c, description: d } = St(i);
33131
+ const { op: c, description: d } = kt(i);
33121
33132
  u.push(`root ID: ${i.spanContext().spanId}`), c && u.push(`root op: ${c}`), d && u.push(`root description: ${d}`);
33122
33133
  }
33123
33134
  Re.log(`${l}
@@ -33126,7 +33137,7 @@ function iW(e) {
33126
33137
  }
33127
33138
  function sW(e) {
33128
33139
  if (!Ke) return;
33129
- const { description: t = "< unknown name >", op: n = "< unknown op >" } = St(e), { spanId: r } = e.spanContext(), o = En(e) === e, i = `[Tracing] Finishing "${n}" ${o ? "root " : ""}span "${t}" with ID ${r}`;
33140
+ const { description: t = "< unknown name >", op: n = "< unknown op >" } = kt(e), { spanId: r } = e.spanContext(), o = En(e) === e, i = `[Tracing] Finishing "${n}" ${o ? "root " : ""}span "${t}" with ID ${r}`;
33130
33141
  Re.log(i);
33131
33142
  }
33132
33143
  function lW(e, t, n, r = Pn()) {
@@ -33292,19 +33303,19 @@ class hd {
33292
33303
  return;
33293
33304
  }
33294
33305
  const r = this._convertSpanToTransaction();
33295
- r && (kc(this).scope || At()).captureEvent(r);
33306
+ r && (kc(this).scope || Pt()).captureEvent(r);
33296
33307
  }
33297
33308
  /**
33298
33309
  * Finish the transaction & prepare the event to send to Sentry.
33299
33310
  */
33300
33311
  _convertSpanToTransaction() {
33301
- if (!eg(St(this)))
33312
+ if (!eg(kt(this)))
33302
33313
  return;
33303
33314
  this._name || (Ke && Re.warn("Transaction has no name, falling back to `<unlabeled transaction>`."), this._name = "<unlabeled transaction>");
33304
33315
  const { scope: t, isolationScope: n } = kc(this), r = t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;
33305
33316
  if (this._sampled !== !0)
33306
33317
  return;
33307
- const o = Uu(this).filter((c) => c !== this && !uW(c)).map((c) => St(c)).filter(eg), i = this._attributes[Xn];
33318
+ const o = Uu(this).filter((c) => c !== this && !uW(c)).map((c) => kt(c)).filter(eg), i = this._attributes[Xn];
33308
33319
  delete this._attributes[W1], o.forEach((c) => {
33309
33320
  delete c.data[W1];
33310
33321
  });
@@ -33410,7 +33421,7 @@ function hW(e, t) {
33410
33421
  return n.startSpan(e, t);
33411
33422
  const r = Cw(e), { forceTransaction: a, parentSpan: o, scope: i } = e, s = i?.clone();
33412
33423
  return pd(s, () => vW(o)(() => {
33413
- const u = At(), c = Tw(u, o), f = e.onlyIfParent && !c ? new co() : xw({
33424
+ const u = Pt(), c = Tw(u, o), f = e.onlyIfParent && !c ? new co() : xw({
33414
33425
  parentSpan: c,
33415
33426
  spanArguments: r,
33416
33427
  forceTransaction: a,
@@ -33419,7 +33430,7 @@ function hW(e, t) {
33419
33430
  return ls(u, f), dW(
33420
33431
  () => t(f),
33421
33432
  () => {
33422
- const { status: p } = St(f);
33433
+ const { status: p } = kt(f);
33423
33434
  f.isRecording() && (!p || p === "ok") && f.setStatus({ code: yn, message: "internal_error" });
33424
33435
  },
33425
33436
  () => {
@@ -33434,7 +33445,7 @@ function fo(e) {
33434
33445
  return t.startInactiveSpan(e);
33435
33446
  const n = Cw(e), { forceTransaction: r, parentSpan: a } = e;
33436
33447
  return (e.scope ? (i) => pd(e.scope, i) : a !== void 0 ? (i) => Bm(a, i) : (i) => i())(() => {
33437
- const i = At(), s = Tw(i, a);
33448
+ const i = Pt(), s = Tw(i, a);
33438
33449
  return e.onlyIfParent && !s ? new co() : xw({
33439
33450
  parentSpan: s,
33440
33451
  spanArguments: n,
@@ -33588,7 +33599,7 @@ function Ew(e, t = {}) {
33588
33599
  };
33589
33600
  return Wu(x, A), x;
33590
33601
  }
33591
- const p = At(), m = Pn(), v = _W(e);
33602
+ const p = Pt(), m = Pn(), v = _W(e);
33592
33603
  v.end = new Proxy(v.end, {
33593
33604
  apply(x, A, R) {
33594
33605
  if (d && d(v), A instanceof co)
@@ -33596,7 +33607,7 @@ function Ew(e, t = {}) {
33596
33607
  const [M, ...D] = R, Y = M || vn(), U = Yo(Y), B = Uu(v).filter((te) => te !== v);
33597
33608
  if (!B.length)
33598
33609
  return C(U), Reflect.apply(x, A, [U, ...D]);
33599
- const I = B.map((te) => St(te).timestamp).filter((te) => !!te), N = I.length ? Math.max(...I) : void 0, O = St(v).start_timestamp, H = Math.min(
33610
+ const I = B.map((te) => kt(te).timestamp).filter((te) => !!te), N = I.length ? Math.max(...I) : void 0, O = kt(v).start_timestamp, H = Math.min(
33600
33611
  O ? O + u / 1e3 : 1 / 0,
33601
33612
  Math.max(O || -1 / 0, Math.min(U, N || 1 / 0))
33602
33613
  );
@@ -33629,7 +33640,7 @@ function Ew(e, t = {}) {
33629
33640
  }
33630
33641
  function C(x) {
33631
33642
  r = !0, n.clear(), s.forEach((U) => U()), ls(p, m);
33632
- const A = St(v), { start_timestamp: R } = A;
33643
+ const A = kt(v), { start_timestamp: R } = A;
33633
33644
  if (!R)
33634
33645
  return;
33635
33646
  A.data[Sc] || v.setAttribute(Sc, o), Re.log(`[Tracing] Idle span "${A.op}" finished`);
@@ -33637,7 +33648,7 @@ function Ew(e, t = {}) {
33637
33648
  let Y = 0;
33638
33649
  D.forEach((U) => {
33639
33650
  U.isRecording() && (U.setStatus({ code: yn, message: "cancelled" }), U.end(x), Ke && Re.log("[Tracing] Cancelling span since span ended early", JSON.stringify(U, void 0, 2)));
33640
- const B = St(U), { timestamp: I = 0, start_timestamp: N = 0 } = B, O = N <= x, H = (u + l) / 1e3, te = I - N <= H;
33651
+ const B = kt(U), { timestamp: I = 0, start_timestamp: N = 0 } = B, O = N <= x, H = (u + l) / 1e3, te = I - N <= H;
33641
33652
  if (Ke) {
33642
33653
  const W = JSON.stringify(U, void 0, 2);
33643
33654
  O ? te || Re.log("[Tracing] Discarding span since it finished after idle span final timeout", W) : Re.log("[Tracing] Discarding span since it happened after idle span was finished", W);
@@ -33647,7 +33658,7 @@ function Ew(e, t = {}) {
33647
33658
  }
33648
33659
  return s.push(
33649
33660
  f.on("spanStart", (x) => {
33650
- if (r || x === v || St(x).timestamp || x instanceof hd && x.isStandaloneSpan())
33661
+ if (r || x === v || kt(x).timestamp || x instanceof hd && x.isStandaloneSpan())
33651
33662
  return;
33652
33663
  Uu(v).includes(x) && S(x.spanContext().spanId);
33653
33664
  })
@@ -33665,7 +33676,7 @@ function Ew(e, t = {}) {
33665
33676
  }
33666
33677
  function _W(e) {
33667
33678
  const t = fo(e);
33668
- return ls(At(), t), Ke && Re.log("[Tracing] Started span is an idle span"), t;
33679
+ return ls(Pt(), t), Ke && Re.log("[Tracing] Started span is an idle span"), t;
33669
33680
  }
33670
33681
  const Sf = 0, ng = 1, rg = 2;
33671
33682
  function Ba(e) {
@@ -33823,7 +33834,7 @@ function TW(e, t) {
33823
33834
  dynamicSamplingContext: za(t),
33824
33835
  ...e.sdkProcessingMetadata
33825
33836
  };
33826
- const n = En(t), r = St(n).description;
33837
+ const n = En(t), r = kt(n).description;
33827
33838
  r && !e.transaction && e.type === "transaction" && (e.transaction = r);
33828
33839
  }
33829
33840
  function EW(e, t) {
@@ -33831,7 +33842,7 @@ function EW(e, t) {
33831
33842
  }
33832
33843
  let _u, og, Su;
33833
33844
  function AW(e) {
33834
- const t = kt._sentryDebugIds;
33845
+ const t = xt._sentryDebugIds;
33835
33846
  if (!t)
33836
33847
  return {};
33837
33848
  const n = Object.keys(t);
@@ -33973,10 +33984,10 @@ function zW(e) {
33973
33984
  return Object.keys(e).some((t) => NW.includes(t));
33974
33985
  }
33975
33986
  function md(e, t) {
33976
- return At().captureException(e, $W(t));
33987
+ return Pt().captureException(e, $W(t));
33977
33988
  }
33978
33989
  function Pw(e, t) {
33979
- return At().captureEvent(e, t);
33990
+ return Pt().captureEvent(e, t);
33980
33991
  }
33981
33992
  function BW(e, t) {
33982
33993
  ma().setContext(e, t);
@@ -33989,7 +34000,7 @@ function jW(e) {
33989
34000
  ma().addEventProcessor(e);
33990
34001
  }
33991
34002
  function ig(e) {
33992
- const t = ma(), n = At(), { userAgent: r } = kt.navigator || {}, a = sU({
34003
+ const t = ma(), n = Pt(), { userAgent: r } = xt.navigator || {}, a = sU({
33993
34004
  user: n.getUser() || t.getUser(),
33994
34005
  ...r && { userAgent: r },
33995
34006
  ...e
@@ -33997,7 +34008,7 @@ function ig(e) {
33997
34008
  return o?.status === "ok" && ss(o, { status: "exited" }), Mw(), t.setSession(a), a;
33998
34009
  }
33999
34010
  function Mw() {
34000
- const e = ma(), n = At().getSession() || e.getSession();
34011
+ const e = ma(), n = Pt().getSession() || e.getSession();
34001
34012
  n && lU(n), Iw(), e.setSession();
34002
34013
  }
34003
34014
  function Iw() {
@@ -34497,7 +34508,7 @@ class ZW {
34497
34508
  * @param hint
34498
34509
  * @param scope
34499
34510
  */
34500
- _captureEvent(t, n = {}, r = At(), a = ma()) {
34511
+ _captureEvent(t, n = {}, r = Pt(), a = ma()) {
34501
34512
  return Ke && Dp(t) && Re.log(`Captured error event \`${Lw(t)[0] || "<unknown>"}\``), this._processEvent(t, n, r, a).then(
34502
34513
  (o) => o.event_id,
34503
34514
  (o) => {
@@ -34701,12 +34712,12 @@ function Nw() {
34701
34712
  function oV(e, t) {
34702
34713
  t.debug === !0 && (Ke ? Re.enable() : Ha(() => {
34703
34714
  console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
34704
- })), At().update(t.initialScope);
34715
+ })), Pt().update(t.initialScope);
34705
34716
  const r = new e(t);
34706
34717
  return iV(r), r.init(), r;
34707
34718
  }
34708
34719
  function iV(e) {
34709
- At().setClient(e);
34720
+ Pt().setClient(e);
34710
34721
  }
34711
34722
  const zw = Symbol.for("SentryBufferFullError");
34712
34723
  function sV(e) {
@@ -34858,7 +34869,7 @@ function Hw(e = {}) {
34858
34869
  const n = ci(), r = xs(n);
34859
34870
  if (r.getTraceData)
34860
34871
  return r.getTraceData(e);
34861
- const a = e.scope || At(), o = e.span || Pn(), i = o ? LU(o) : yV(a), s = o ? za(o) : ww(t, a), l = CU(s);
34872
+ const a = e.scope || Pt(), o = e.span || Pn(), i = o ? LU(o) : yV(a), s = o ? za(o) : ww(t, a), l = CU(s);
34862
34873
  return dw.test(i) ? {
34863
34874
  "sentry-trace": i,
34864
34875
  baggage: l
@@ -35117,10 +35128,10 @@ function DV(e) {
35117
35128
  So(t, e), ko(t, NV);
35118
35129
  }
35119
35130
  function NV() {
35120
- "console" in kt && zH.forEach(function(e) {
35121
- e in kt.console && Kn(kt.console, e, function(t) {
35131
+ "console" in xt && zH.forEach(function(e) {
35132
+ e in xt.console && Kn(xt.console, e, function(t) {
35122
35133
  return bc[e] = t, function(...n) {
35123
- mr("console", { args: n, level: e }), bc[e]?.apply(kt.console, n);
35134
+ mr("console", { args: n, level: e }), bc[e]?.apply(xt.console, n);
35124
35135
  };
35125
35136
  });
35126
35137
  });
@@ -35332,7 +35343,7 @@ function Gw(e) {
35332
35343
  if (e !== void 0)
35333
35344
  return e >= 400 && e < 500 ? "warning" : e >= 500 ? "error" : void 0;
35334
35345
  }
35335
- const gl = kt;
35346
+ const gl = xt;
35336
35347
  function ZV() {
35337
35348
  return "history" in gl && !!gl.history;
35338
35349
  }
@@ -35375,7 +35386,7 @@ function nq(e) {
35375
35386
  So(t, e), ko(t, () => Xw(aq));
35376
35387
  }
35377
35388
  function Xw(e, t = !1) {
35378
- t && !tq() || Kn(kt, "fetch", function(n) {
35389
+ t && !tq() || Kn(xt, "fetch", function(n) {
35379
35390
  return function(...r) {
35380
35391
  const a = new Error(), { method: o, url: i } = oq(r), s = {
35381
35392
  args: r,
@@ -35390,7 +35401,7 @@ function Xw(e, t = !1) {
35390
35401
  };
35391
35402
  return e || mr("fetch", {
35392
35403
  ...s
35393
- }), n.apply(kt, r).then(
35404
+ }), n.apply(xt, r).then(
35394
35405
  async (l) => (e ? e(l) : mr("fetch", {
35395
35406
  ...s,
35396
35407
  endTimestamp: vn() * 1e3,
@@ -35502,9 +35513,9 @@ function Sg() {
35502
35513
  return typeof window < "u" && (!uq() || cq());
35503
35514
  }
35504
35515
  function cq() {
35505
- return kt.process?.type === "renderer";
35516
+ return xt.process?.type === "renderer";
35506
35517
  }
35507
- const xt = kt;
35518
+ const Ct = xt;
35508
35519
  let Fp = 0;
35509
35520
  function Jw() {
35510
35521
  return Fp > 0;
@@ -35559,7 +35570,7 @@ function cs(e, t = {}) {
35559
35570
  return r;
35560
35571
  }
35561
35572
  function jm() {
35562
- const e = ks(), { referrer: t } = xt.document || {}, { userAgent: n } = xt.navigator || {}, r = {
35573
+ const e = ks(), { referrer: t } = Ct.document || {}, { userAgent: n } = Ct.navigator || {}, r = {
35563
35574
  ...t && { Referer: t },
35564
35575
  ...n && { "User-Agent": n }
35565
35576
  };
@@ -35708,11 +35719,11 @@ class xq extends ZW {
35708
35719
  * @param options Configuration options for this SDK.
35709
35720
  */
35710
35721
  constructor(t) {
35711
- const n = Cq(t), r = xt.SENTRY_SDK_SOURCE || lq();
35722
+ const n = Cq(t), r = Ct.SENTRY_SDK_SOURCE || lq();
35712
35723
  jw(n, "browser", ["browser"], r), super(n);
35713
35724
  const { sendDefaultPii: a, sendClientReports: o, enableLogs: i, _experiments: s } = this._options, l = i ?? s?.enableLogs;
35714
- xt.document && (o || l) && xt.document.addEventListener("visibilitychange", () => {
35715
- xt.document.visibilityState === "hidden" && (o && this._flushOutcomes(), l && xf(this));
35725
+ Ct.document && (o || l) && Ct.document.addEventListener("visibilitychange", () => {
35726
+ Ct.document.visibilityState === "hidden" && (o && this._flushOutcomes(), l && xf(this));
35716
35727
  }), l && (this.on("flush", () => {
35717
35728
  xf(this);
35718
35729
  }), this.on("afterCaptureLog", () => {
@@ -35742,7 +35753,7 @@ class xq extends ZW {
35742
35753
  }
35743
35754
  function Cq(e) {
35744
35755
  return {
35745
- release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : xt.SENTRY_RELEASE?.id,
35756
+ release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : Ct.SENTRY_RELEASE?.id,
35746
35757
  // This supports the variable that sentry-webpack-plugin injects
35747
35758
  sendClientReports: !0,
35748
35759
  // We default this to true, as it is the safer scenario
@@ -35750,7 +35761,7 @@ function Cq(e) {
35750
35761
  ...e
35751
35762
  };
35752
35763
  }
35753
- const ds = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, dt = kt, Tq = (e, t) => e > t[1] ? "poor" : e > t[0] ? "needs-improvement" : "good", Ts = (e, t, n, r) => {
35764
+ const ds = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, dt = xt, Tq = (e, t) => e > t[1] ? "poor" : e > t[0] ? "needs-improvement" : "good", Ts = (e, t, n, r) => {
35754
35765
  let a, o;
35755
35766
  return (i) => {
35756
35767
  t.value >= 0 && (i || r) && (o = t.value - (a ?? 0), (o || a === void 0) && (a = t.value, t.delta = o, t.rating = Tq(t.value, n), e(t)));
@@ -36145,7 +36156,7 @@ function Pf(e) {
36145
36156
  return typeof e == "number" && isFinite(e);
36146
36157
  }
36147
36158
  function Fa(e, t, n, { ...r }) {
36148
- const a = St(e).start_timestamp;
36159
+ const a = kt(e).start_timestamp;
36149
36160
  return a && a > t && typeof e.updateStartTime == "function" && e.updateStartTime(t), Bm(e, () => {
36150
36161
  const o = fo({
36151
36162
  startTime: t,
@@ -36158,7 +36169,7 @@ function Gm(e) {
36158
36169
  const t = bt();
36159
36170
  if (!t)
36160
36171
  return;
36161
- const { name: n, transaction: r, attributes: a, startTime: o } = e, { release: i, environment: s, sendDefaultPii: l } = t.getOptions(), c = t.getIntegrationByName("Replay")?.getReplayId(), d = At(), f = d.getUser(), p = f !== void 0 ? f.email || f.id || f.ip_address : void 0;
36172
+ const { name: n, transaction: r, attributes: a, startTime: o } = e, { release: i, environment: s, sendDefaultPii: l } = t.getOptions(), c = t.getIntegrationByName("Replay")?.getReplayId(), d = Pt(), f = d.getUser(), p = f !== void 0 ? f.email || f.id || f.ip_address : void 0;
36162
36173
  let m;
36163
36174
  try {
36164
36175
  m = d.getScopeData().contexts.profile.profile_id;
@@ -36244,7 +36255,7 @@ function nY(e) {
36244
36255
  }
36245
36256
  function rY(e, t, n, r) {
36246
36257
  ds && Re.log(`Sending CLS span (${e})`);
36247
- const a = qt((Wn() || 0) + (t?.startTime || 0)), o = At().getScopeData().transactionName, i = t ? yr(t.sources[0]?.node) : "Layout shift", s = {
36258
+ const a = qt((Wn() || 0) + (t?.startTime || 0)), o = Pt().getScopeData().transactionName, i = t ? yr(t.sources[0]?.node) : "Layout shift", s = {
36248
36259
  [Gt]: "auto.http.browser.cls",
36249
36260
  [Da]: "ui.webvital.cls",
36250
36261
  [Cs]: t?.duration || 0,
@@ -36281,7 +36292,7 @@ function aY(e) {
36281
36292
  }
36282
36293
  function oY(e, t, n, r) {
36283
36294
  ds && Re.log(`Sending LCP span (${e})`);
36284
- const a = qt((Wn() || 0) + (t?.startTime || 0)), o = At().getScopeData().transactionName, i = t ? yr(t.element) : "Largest contentful paint", s = {
36295
+ const a = qt((Wn() || 0) + (t?.startTime || 0)), o = Pt().getScopeData().transactionName, i = t ? yr(t.element) : "Largest contentful paint", s = {
36285
36296
  [Gt]: "auto.http.browser.lcp",
36286
36297
  [Da]: "ui.webvital.lcp",
36287
36298
  [Cs]: 0,
@@ -36326,7 +36337,7 @@ function lY() {
36326
36337
  const t = Pn();
36327
36338
  if (!t)
36328
36339
  return;
36329
- const { op: n, start_timestamp: r } = St(t);
36340
+ const { op: n, start_timestamp: r } = kt(t);
36330
36341
  for (const a of e) {
36331
36342
  const o = qt(Wn() + a.startTime), i = qt(a.duration);
36332
36343
  n === "navigation" && r && o < r || Fa(t, o, o + i, {
@@ -36346,7 +36357,7 @@ function uY() {
36346
36357
  for (const r of t.getEntries()) {
36347
36358
  if (!r.scripts[0])
36348
36359
  continue;
36349
- const a = qt(Wn() + r.startTime), { start_timestamp: o, op: i } = St(n);
36360
+ const a = qt(Wn() + r.startTime), { start_timestamp: o, op: i } = kt(n);
36350
36361
  if (i === "navigation" && o && a < o)
36351
36362
  continue;
36352
36363
  const s = qt(r.duration), l = {
@@ -36409,7 +36420,7 @@ function mY(e, t) {
36409
36420
  const n = bd(), r = Wn();
36410
36421
  if (!n?.getEntries || !r)
36411
36422
  return;
36412
- const a = qt(r), o = n.getEntries(), { op: i, start_timestamp: s } = St(e);
36423
+ const a = qt(r), o = n.getEntries(), { op: i, start_timestamp: s } = kt(e);
36413
36424
  if (o.slice(kg).forEach((l) => {
36414
36425
  const u = qt(l.startTime), c = qt(
36415
36426
  // Inexplicably, Chrome sometimes emits a negative duration. We need to work around this.
@@ -36589,7 +36600,7 @@ function CY() {
36589
36600
  };
36590
36601
  }
36591
36602
  const TY = ({ entries: e }) => {
36592
- const t = Pn(), n = t ? En(t) : void 0, r = n ? St(n).description : At().getScopeData().transactionName;
36603
+ const t = Pn(), n = t ? En(t) : void 0, r = n ? kt(n).description : Pt().getScopeData().transactionName;
36593
36604
  e.forEach((a) => {
36594
36605
  const o = a;
36595
36606
  if (!o.identifier)
@@ -36908,7 +36919,7 @@ const BY = ({ metric: e }) => {
36908
36919
  const n = e.entries.find((m) => m.duration === e.value && Eg[m.name]);
36909
36920
  if (!n)
36910
36921
  return;
36911
- const { interactionId: r } = n, a = Eg[n.name], o = qt(Wn() + n.startTime), i = Pn(), s = i ? En(i) : void 0, u = (r != null ? Gu.get(r) : void 0) || s, c = u ? St(u).description : At().getScopeData().transactionName, d = yr(n.target), f = {
36922
+ const { interactionId: r } = n, a = Eg[n.name], o = qt(Wn() + n.startTime), i = Pn(), s = i ? En(i) : void 0, u = (r != null ? Gu.get(r) : void 0) || s, c = u ? kt(u).description : Pt().getScopeData().transactionName, d = yr(n.target), f = {
36912
36923
  [Gt]: "auto.http.browser.inp",
36913
36924
  [Da]: `ui.interaction.${a}`,
36914
36925
  [Cs]: n.duration
@@ -37175,7 +37186,7 @@ function uG(e) {
37175
37186
  if (bt() !== e)
37176
37187
  return;
37177
37188
  let r = n.from, a = n.to;
37178
- const o = Ko(xt.location.href);
37189
+ const o = Ko(Ct.location.href);
37179
37190
  let i = r ? Ko(r) : void 0;
37180
37191
  const s = Ko(a);
37181
37192
  i?.path || (i = o), o.protocol === s.protocol && o.host === s.host && (a = s.relative), o.protocol === i.protocol && o.host === i.host && (r = i.relative), ho({
@@ -37237,7 +37248,7 @@ const dG = [
37237
37248
  // TODO: This currently only works for the first client this is setup
37238
37249
  // We may want to adjust this to check for client etc.
37239
37250
  setupOnce() {
37240
- t.setTimeout && Kn(xt, "setTimeout", Ag), t.setInterval && Kn(xt, "setInterval", Ag), t.requestAnimationFrame && Kn(xt, "requestAnimationFrame", mG), t.XMLHttpRequest && "XMLHttpRequest" in xt && Kn(XMLHttpRequest.prototype, "send", vG);
37251
+ t.setTimeout && Kn(Ct, "setTimeout", Ag), t.setInterval && Kn(Ct, "setInterval", Ag), t.requestAnimationFrame && Kn(Ct, "requestAnimationFrame", mG), t.XMLHttpRequest && "XMLHttpRequest" in Ct && Kn(XMLHttpRequest.prototype, "send", vG);
37241
37252
  const n = t.eventTarget;
37242
37253
  n && (Array.isArray(n) ? n : dG).forEach((a) => gG(a, t));
37243
37254
  }
@@ -37292,7 +37303,7 @@ function vG(e) {
37292
37303
  };
37293
37304
  }
37294
37305
  function gG(e, t) {
37295
- const r = xt[e]?.prototype;
37306
+ const r = Ct[e]?.prototype;
37296
37307
  r?.hasOwnProperty?.("addEventListener") && (Kn(r, "addEventListener", function(a) {
37297
37308
  return function(o, i, s) {
37298
37309
  try {
@@ -37345,7 +37356,7 @@ function bG(e, t, n) {
37345
37356
  const wG = () => ({
37346
37357
  name: "BrowserSession",
37347
37358
  setupOnce() {
37348
- if (typeof xt.document > "u") {
37359
+ if (typeof Ct.document > "u") {
37349
37360
  br && Re.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
37350
37361
  return;
37351
37362
  }
@@ -37451,7 +37462,7 @@ function S6() {
37451
37462
  const PG = () => ({
37452
37463
  name: "HttpContext",
37453
37464
  preprocessEvent(e) {
37454
- if (!xt.navigator && !xt.location && !xt.document)
37465
+ if (!Ct.navigator && !Ct.location && !Ct.document)
37455
37466
  return;
37456
37467
  const t = jm(), n = {
37457
37468
  ...t.headers,
@@ -37489,13 +37500,13 @@ function $G() {
37489
37500
  }), !0) : !1;
37490
37501
  }
37491
37502
  function DG() {
37492
- if (typeof xt.window > "u")
37503
+ if (typeof Ct.window > "u")
37493
37504
  return !1;
37494
- const e = xt;
37505
+ const e = Ct;
37495
37506
  if (e.nw || !(e.chrome || e.browser)?.runtime?.id)
37496
37507
  return !1;
37497
37508
  const n = ks(), r = ["chrome-extension", "moz-extension", "ms-browser-extension", "safari-web-extension"];
37498
- return !(xt === xt.top && r.some((o) => n.startsWith(`${o}://`)));
37509
+ return !(Ct === Ct.top && r.some((o) => n.startsWith(`${o}://`)));
37499
37510
  }
37500
37511
  function k6(e) {
37501
37512
  return [
@@ -37525,7 +37536,7 @@ function NG(e = {}) {
37525
37536
  };
37526
37537
  return oV(xq, n);
37527
37538
  }
37528
- const Ft = kt, Km = "sentryReplaySession", zG = "replay_event", Xm = "Unable to send Replay", BG = 3e5, FG = 9e5, jG = 5e3, HG = 5500, UG = 6e4, WG = 5e3, VG = 3, Mg = 15e4, Au = 5e3, qG = 3e3, YG = 300, Jm = 2e7, GG = 4999, KG = 15e3, Ig = 36e5;
37539
+ const Ft = xt, Km = "sentryReplaySession", zG = "replay_event", Xm = "Unable to send Replay", BG = 3e5, FG = 9e5, jG = 5e3, HG = 5500, UG = 6e4, WG = 5e3, VG = 3, Mg = 15e4, Au = 5e3, qG = 3e3, YG = 300, Jm = 2e7, GG = 4999, KG = 15e3, Ig = 36e5;
37529
37540
  var XG = Object.defineProperty, JG = (e, t, n) => t in e ? XG(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Og = (e, t, n) => JG(e, typeof t != "symbol" ? t + "" : t, n), _n = /* @__PURE__ */ ((e) => (e[e.Document = 0] = "Document", e[e.DocumentType = 1] = "DocumentType", e[e.Element = 2] = "Element", e[e.Text = 3] = "Text", e[e.CDATA = 4] = "CDATA", e[e.Comment = 5] = "Comment", e))(_n || {});
37530
37541
  function QG(e) {
37531
37542
  return e.nodeType === e.ELEMENT_NODE;
@@ -39223,7 +39234,7 @@ function BK(e) {
39223
39234
  function FK() {
39224
39235
  el = void 0;
39225
39236
  }
39226
- const _t = (e) => el ? (...n) => {
39237
+ const St = (e) => el ? (...n) => {
39227
39238
  try {
39228
39239
  return e(...n);
39229
39240
  } catch (r) {
@@ -39260,7 +39271,7 @@ function W6(e, t) {
39260
39271
  const a = window?.Zone?.__symbol__?.("MutationObserver");
39261
39272
  a && window[a] && (r = window[a]);
39262
39273
  const o = new r(
39263
- _t((i) => {
39274
+ St((i) => {
39264
39275
  e.onMutation && e.onMutation(i) === !1 || n.processMutations.bind(n)(i);
39265
39276
  })
39266
39277
  );
@@ -39285,7 +39296,7 @@ function jK({
39285
39296
  const a = typeof t.mousemove == "number" ? t.mousemove : 50, o = typeof t.mousemoveCallback == "number" ? t.mousemoveCallback : 500;
39286
39297
  let i = [], s;
39287
39298
  const l = wl(
39288
- _t(
39299
+ St(
39289
39300
  (d) => {
39290
39301
  const f = Date.now() - s;
39291
39302
  e(
@@ -39295,9 +39306,9 @@ function jK({
39295
39306
  }
39296
39307
  ),
39297
39308
  o
39298
- ), u = _t(
39309
+ ), u = St(
39299
39310
  wl(
39300
- _t((d) => {
39311
+ St((d) => {
39301
39312
  const f = Jl(d), { clientX: p, clientY: m } = Kp(d) ? d.changedTouches[0] : d;
39302
39313
  s || (s = Rc()), i.push({
39303
39314
  x: p,
@@ -39318,7 +39329,7 @@ function jK({
39318
39329
  jn("touchmove", u, n),
39319
39330
  jn("drag", u, n)
39320
39331
  ];
39321
- return _t(() => {
39332
+ return St(() => {
39322
39333
  c.forEach((d) => d());
39323
39334
  });
39324
39335
  }
@@ -39360,7 +39371,7 @@ function HK({
39360
39371
  if (!b)
39361
39372
  return;
39362
39373
  const g = n.getId(p), { clientX: T, clientY: S } = b;
39363
- _t(e)({
39374
+ St(e)({
39364
39375
  type: Bn[v],
39365
39376
  id: g,
39366
39377
  x: T,
@@ -39387,7 +39398,7 @@ function HK({
39387
39398
  return;
39388
39399
  }
39389
39400
  l.push(jn(f, p, t));
39390
- }), _t(() => {
39401
+ }), St(() => {
39391
39402
  l.forEach((d) => d());
39392
39403
  });
39393
39404
  }
@@ -39400,9 +39411,9 @@ function V6({
39400
39411
  unblockSelector: o,
39401
39412
  sampling: i
39402
39413
  }) {
39403
- const s = _t(
39414
+ const s = St(
39404
39415
  wl(
39405
- _t((l) => {
39416
+ St((l) => {
39406
39417
  const u = Jl(l);
39407
39418
  if (!u || tr(
39408
39419
  u,
@@ -39434,9 +39445,9 @@ function V6({
39434
39445
  }
39435
39446
  function UK({ viewportResizeCb: e }, { win: t }) {
39436
39447
  let n = -1, r = -1;
39437
- const a = _t(
39448
+ const a = St(
39438
39449
  wl(
39439
- _t(() => {
39450
+ St(() => {
39440
39451
  const o = $6(), i = D6();
39441
39452
  (n !== o || r !== i) && (e({
39442
39453
  width: Number(i),
@@ -39526,14 +39537,14 @@ function VK({
39526
39537
  if (!M || M.text !== R.text || M.isChecked !== R.isChecked) {
39527
39538
  Ug.set(A, R);
39528
39539
  const D = n.getId(A);
39529
- _t(e)({
39540
+ St(e)({
39530
39541
  ...R,
39531
39542
  id: D
39532
39543
  });
39533
39544
  }
39534
39545
  }
39535
39546
  const S = (c.input === "last" ? ["change"] : ["input", "change"]).map(
39536
- (A) => jn(A, _t(b), t)
39547
+ (A) => jn(A, St(b), t)
39537
39548
  ), y = t.defaultView;
39538
39549
  if (!y)
39539
39550
  return () => {
@@ -39558,7 +39569,7 @@ function VK({
39558
39569
  A[1],
39559
39570
  {
39560
39571
  set() {
39561
- _t(b)({
39572
+ St(b)({
39562
39573
  target: this,
39563
39574
  isTrusted: !1
39564
39575
  // userTriggered to false as this could well be programmatic
@@ -39569,7 +39580,7 @@ function VK({
39569
39580
  y
39570
39581
  )
39571
39582
  )
39572
- ), _t(() => {
39583
+ ), St(() => {
39573
39584
  S.forEach((A) => A());
39574
39585
  });
39575
39586
  }
@@ -39602,7 +39613,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39602
39613
  };
39603
39614
  const a = r.CSSStyleSheet.prototype.insertRule;
39604
39615
  r.CSSStyleSheet.prototype.insertRule = new Proxy(a, {
39605
- apply: _t(
39616
+ apply: St(
39606
39617
  (c, d, f) => {
39607
39618
  const [p, m] = f, { id: v, styleId: b } = Ya(
39608
39619
  d,
@@ -39619,7 +39630,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39619
39630
  });
39620
39631
  const o = r.CSSStyleSheet.prototype.deleteRule;
39621
39632
  r.CSSStyleSheet.prototype.deleteRule = new Proxy(o, {
39622
- apply: _t(
39633
+ apply: St(
39623
39634
  (c, d, f) => {
39624
39635
  const [p] = f, { id: m, styleId: v } = Ya(
39625
39636
  d,
@@ -39636,7 +39647,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39636
39647
  });
39637
39648
  let i;
39638
39649
  r.CSSStyleSheet.prototype.replace && (i = r.CSSStyleSheet.prototype.replace, r.CSSStyleSheet.prototype.replace = new Proxy(i, {
39639
- apply: _t(
39650
+ apply: St(
39640
39651
  (c, d, f) => {
39641
39652
  const [p] = f, { id: m, styleId: v } = Ya(
39642
39653
  d,
@@ -39653,7 +39664,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39653
39664
  }));
39654
39665
  let s;
39655
39666
  r.CSSStyleSheet.prototype.replaceSync && (s = r.CSSStyleSheet.prototype.replaceSync, r.CSSStyleSheet.prototype.replaceSync = new Proxy(s, {
39656
- apply: _t(
39667
+ apply: St(
39657
39668
  (c, d, f) => {
39658
39669
  const [p] = f, { id: m, styleId: v } = Ya(
39659
39670
  d,
@@ -39680,7 +39691,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39680
39691
  }, d.prototype.insertRule = new Proxy(
39681
39692
  u[c].insertRule,
39682
39693
  {
39683
- apply: _t(
39694
+ apply: St(
39684
39695
  (f, p, m) => {
39685
39696
  const [v, b] = m, { id: g, styleId: T } = Ya(
39686
39697
  p.parentStyleSheet,
@@ -39707,7 +39718,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39707
39718
  ), d.prototype.deleteRule = new Proxy(
39708
39719
  u[c].deleteRule,
39709
39720
  {
39710
- apply: _t(
39721
+ apply: St(
39711
39722
  (f, p, m) => {
39712
39723
  const [v] = m, { id: b, styleId: g } = Ya(
39713
39724
  p.parentStyleSheet,
@@ -39725,7 +39736,7 @@ function qK({ styleSheetRuleCb: e, mirror: t, stylesheetManager: n }, { win: r }
39725
39736
  )
39726
39737
  }
39727
39738
  );
39728
- }), _t(() => {
39739
+ }), St(() => {
39729
39740
  r.CSSStyleSheet.prototype.insertRule = a, r.CSSStyleSheet.prototype.deleteRule = o, i && (r.CSSStyleSheet.prototype.replace = i), s && (r.CSSStyleSheet.prototype.replaceSync = s), Object.entries(l).forEach(([c, d]) => {
39730
39741
  d.prototype.insertRule = u[c].insertRule, d.prototype.deleteRule = u[c].deleteRule;
39731
39742
  });
@@ -39757,7 +39768,7 @@ function q6({
39757
39768
  }
39758
39769
  return s;
39759
39770
  }
39760
- }), _t(() => {
39771
+ }), St(() => {
39761
39772
  Object.defineProperty(n, "adoptedStyleSheets", {
39762
39773
  configurable: o.configurable,
39763
39774
  enumerable: o.enumerable,
@@ -39776,7 +39787,7 @@ function YK({
39776
39787
  }, { win: a }) {
39777
39788
  const o = a.CSSStyleDeclaration.prototype.setProperty;
39778
39789
  a.CSSStyleDeclaration.prototype.setProperty = new Proxy(o, {
39779
- apply: _t(
39790
+ apply: St(
39780
39791
  (s, l, u) => {
39781
39792
  const [c, d, f] = u;
39782
39793
  if (n.has(c))
@@ -39802,7 +39813,7 @@ function YK({
39802
39813
  });
39803
39814
  const i = a.CSSStyleDeclaration.prototype.removeProperty;
39804
39815
  return a.CSSStyleDeclaration.prototype.removeProperty = new Proxy(i, {
39805
- apply: _t(
39816
+ apply: St(
39806
39817
  (s, l, u) => {
39807
39818
  const [c] = u;
39808
39819
  if (n.has(c))
@@ -39823,7 +39834,7 @@ function YK({
39823
39834
  }), s.apply(l, u);
39824
39835
  }
39825
39836
  )
39826
- }), _t(() => {
39837
+ }), St(() => {
39827
39838
  a.CSSStyleDeclaration.prototype.setProperty = o, a.CSSStyleDeclaration.prototype.removeProperty = i;
39828
39839
  });
39829
39840
  }
@@ -39836,9 +39847,9 @@ function GK({
39836
39847
  sampling: o,
39837
39848
  doc: i
39838
39849
  }) {
39839
- const s = _t(
39850
+ const s = St(
39840
39851
  (u) => wl(
39841
- _t((c) => {
39852
+ St((c) => {
39842
39853
  const d = Jl(c);
39843
39854
  if (!d || tr(
39844
39855
  d,
@@ -39867,7 +39878,7 @@ function GK({
39867
39878
  jn("volumechange", s(Ei.VolumeChange), i),
39868
39879
  jn("ratechange", s(Ei.RateChange), i)
39869
39880
  ];
39870
- return _t(() => {
39881
+ return St(() => {
39871
39882
  l.forEach((u) => u());
39872
39883
  });
39873
39884
  }
@@ -39892,7 +39903,7 @@ function KK({ fontCb: e, doc: t }) {
39892
39903
  function(s) {
39893
39904
  return function(l) {
39894
39905
  return kd(
39895
- _t(() => {
39906
+ St(() => {
39896
39907
  const u = a.get(l);
39897
39908
  u && (e(u), a.delete(l));
39898
39909
  }),
@@ -39903,7 +39914,7 @@ function KK({ fontCb: e, doc: t }) {
39903
39914
  );
39904
39915
  return r.push(() => {
39905
39916
  n.FontFace = o;
39906
- }), r.push(i), _t(() => {
39917
+ }), r.push(i), St(() => {
39907
39918
  r.forEach((s) => s());
39908
39919
  });
39909
39920
  }
@@ -39917,7 +39928,7 @@ function XK(e) {
39917
39928
  selectionCb: i
39918
39929
  } = e;
39919
39930
  let s = !0;
39920
- const l = _t(() => {
39931
+ const l = St(() => {
39921
39932
  const u = t.getSelection();
39922
39933
  if (!u || s && u?.isCollapsed) return;
39923
39934
  s = u.isCollapsed || !1;
@@ -39994,7 +40005,7 @@ function QK(e, t = {}) {
39994
40005
  b.push(
39995
40006
  g.observer(g.callback, n, g.options)
39996
40007
  );
39997
- return _t(() => {
40008
+ return St(() => {
39998
40009
  Di.forEach((g) => g.reset()), r?.disconnect(), a(), o(), i(), s(), l(), u(), c(), d(), f(), p(), m(), v(), b.forEach((g) => g());
39999
40010
  });
40000
40011
  }
@@ -40676,7 +40687,7 @@ function Ea(e = {}) {
40676
40687
  };
40677
40688
  Dc = Ue;
40678
40689
  try {
40679
- const xe = [], We = (ne) => _t(QK)(
40690
+ const xe = [], We = (ne) => St(QK)(
40680
40691
  {
40681
40692
  onMutation: Q,
40682
40693
  mutationCb: Ye,
@@ -41902,7 +41913,7 @@ function vJ(e, t) {
41902
41913
  return e.type || !e.exception?.values?.length ? !1 : !!t.originalException?.__rrweb__;
41903
41914
  }
41904
41915
  function o_() {
41905
- const e = At().getPropagationContext().dsc;
41916
+ const e = Pt().getPropagationContext().dsc;
41906
41917
  e && delete e.replay_id;
41907
41918
  const t = Pn();
41908
41919
  if (t) {
@@ -42413,7 +42424,7 @@ function ZJ(e, t, n) {
42413
42424
  setTimeoutImpl: Xl
42414
42425
  });
42415
42426
  }
42416
- const Lu = kt.navigator;
42427
+ const Lu = xt.navigator;
42417
42428
  function eQ() {
42418
42429
  return /iPhone|iPad|iPod/i.test(Lu?.userAgent ?? "") || /Macintosh/i.test(Lu?.userAgent ?? "") && Lu?.maxTouchPoints && Lu?.maxTouchPoints > 1 ? {
42419
42430
  sampling: {
@@ -42551,7 +42562,7 @@ async function lQ({
42551
42562
  headers: {
42552
42563
  segment_id: n
42553
42564
  }
42554
- }), { urls: s, errorIds: l, traceIds: u, initialTimestamp: c } = r, d = bt(), f = At(), p = d?.getTransport(), m = d?.getDsn();
42565
+ }), { urls: s, errorIds: l, traceIds: u, initialTimestamp: c } = r, d = bt(), f = Pt(), p = d?.getTransport(), m = d?.getDsn();
42555
42566
  if (!d || !p || !m || !o.sampled)
42556
42567
  return Ba({});
42557
42568
  const v = {
@@ -43064,9 +43075,9 @@ class dQ {
43064
43075
  * This is only available if performance is enabled, and if an instrumented router is used.
43065
43076
  */
43066
43077
  getCurrentRoute() {
43067
- const t = this.lastActiveSpan || Pn(), n = t && En(t), a = (n && St(n).data || {})[Xn];
43078
+ const t = this.lastActiveSpan || Pn(), n = t && En(t), a = (n && kt(n).data || {})[Xn];
43068
43079
  if (!(!n || !a || !["route", "custom"].includes(a)))
43069
- return St(n).description;
43080
+ return kt(n).description;
43070
43081
  }
43071
43082
  /**
43072
43083
  * Initialize and start all listeners to varying events (DOM,
@@ -43660,7 +43671,7 @@ function wQ(e) {
43660
43671
  return e.entryType === "resource" && "initiatorType" in e && typeof e.nextHopProtocol == "string" && (e.initiatorType === "fetch" || e.initiatorType === "xmlhttprequest");
43661
43672
  }
43662
43673
  function n2(e) {
43663
- const { url: t } = St(e).data;
43674
+ const { url: t } = kt(e).data;
43664
43675
  if (!t || typeof t != "string")
43665
43676
  return;
43666
43677
  const n = ai("resource", ({ entries: r }) => {
@@ -43741,19 +43752,19 @@ function CQ(e) {
43741
43752
  }
43742
43753
  function h_(e) {
43743
43754
  try {
43744
- return new URL(e, xt.location.origin).href;
43755
+ return new URL(e, Ct.location.origin).href;
43745
43756
  } catch {
43746
43757
  return;
43747
43758
  }
43748
43759
  }
43749
43760
  function TQ() {
43750
- xt.document ? xt.document.addEventListener("visibilitychange", () => {
43761
+ Ct.document ? Ct.document.addEventListener("visibilitychange", () => {
43751
43762
  const e = Pn();
43752
43763
  if (!e)
43753
43764
  return;
43754
43765
  const t = En(e);
43755
- if (xt.document.hidden && t) {
43756
- const n = "cancelled", { op: r, status: a } = St(t);
43766
+ if (Ct.document.hidden && t) {
43767
+ const n = "cancelled", { op: r, status: a } = kt(t);
43757
43768
  br && Re.log(`[Tracing] Transaction: ${n} -> since tab moved to the background, op: ${r}`), a || t.setStatus({ code: yn, message: n }), t.setAttribute("sentry.cancellation_reason", "document.hidden"), t.end();
43758
43769
  }
43759
43770
  }) : br && Re.warn("[Tracing] Could not set up background tab detection due to lack of global document");
@@ -43768,14 +43779,14 @@ function PQ(e, {
43768
43779
  e.on("spanStart", (i) => {
43769
43780
  if (En(i) !== i)
43770
43781
  return;
43771
- const s = At().getPropagationContext();
43782
+ const s = Pt().getPropagationContext();
43772
43783
  a = MQ(a, i, s), r && IQ(a);
43773
43784
  });
43774
43785
  let o = !0;
43775
43786
  n && e.on("beforeSampling", (i) => {
43776
43787
  if (!a)
43777
43788
  return;
43778
- const s = At(), l = s.getPropagationContext();
43789
+ const s = Pt(), l = s.getPropagationContext();
43779
43790
  if (o && l.parentSpanId) {
43780
43791
  o = !1;
43781
43792
  return;
@@ -43795,7 +43806,7 @@ function PQ(e, {
43795
43806
  });
43796
43807
  }
43797
43808
  function MQ(e, t, n) {
43798
- const r = St(t);
43809
+ const r = kt(t);
43799
43810
  function a() {
43800
43811
  try {
43801
43812
  return Number(n.dsc?.sample_rate) ?? Number(r.data?.[Lm]);
@@ -43829,14 +43840,14 @@ function MQ(e, t, n) {
43829
43840
  }
43830
43841
  function IQ(e) {
43831
43842
  try {
43832
- xt.sessionStorage.setItem(m_, JSON.stringify(e));
43843
+ Ct.sessionStorage.setItem(m_, JSON.stringify(e));
43833
43844
  } catch (t) {
43834
43845
  br && Re.warn("Could not store previous trace in sessionStorage", t);
43835
43846
  }
43836
43847
  }
43837
43848
  function OQ() {
43838
43849
  try {
43839
- const e = xt.sessionStorage?.getItem(m_);
43850
+ const e = Ct.sessionStorage?.getItem(m_);
43840
43851
  return JSON.parse(e);
43841
43852
  } catch {
43842
43853
  return;
@@ -43865,7 +43876,7 @@ const LQ = "BrowserTracing", RQ = {
43865
43876
  const t = {
43866
43877
  name: void 0,
43867
43878
  source: void 0
43868
- }, n = xt.document, {
43879
+ }, n = Ct.document, {
43869
43880
  enableInp: r,
43870
43881
  enableElementTiming: a,
43871
43882
  enableLongTask: o,
@@ -43918,7 +43929,7 @@ const LQ = "BrowserTracing", RQ = {
43918
43929
  ignoreResourceSpans: y,
43919
43930
  ignorePerformanceApiSpans: C
43920
43931
  }), o2(N, void 0);
43921
- const K = At(), Z = K.getPropagationContext();
43932
+ const K = Pt(), Z = K.getPropagationContext();
43922
43933
  K.setPropagationContext({
43923
43934
  ...Z,
43924
43935
  traceId: Q.spanContext().traceId,
@@ -43942,7 +43953,7 @@ const LQ = "BrowserTracing", RQ = {
43942
43953
  recordClsStandaloneSpans: l || !1,
43943
43954
  recordLcpStandaloneSpans: u || !1,
43944
43955
  client: N
43945
- }), r && NY(), a && CY(), i && kt.PerformanceObserver && PerformanceObserver.supportedEntryTypes && PerformanceObserver.supportedEntryTypes.includes("long-animation-frame") ? uY() : o && lY(), s && cY(), R && n) {
43956
+ }), r && NY(), a && CY(), i && xt.PerformanceObserver && PerformanceObserver.supportedEntryTypes && PerformanceObserver.supportedEntryTypes.includes("long-animation-frame") ? uY() : o && lY(), s && cY(), R && n) {
43946
43957
  const H = () => {
43947
43958
  B = vn();
43948
43959
  };
@@ -43950,7 +43961,7 @@ const LQ = "BrowserTracing", RQ = {
43950
43961
  }
43951
43962
  function O() {
43952
43963
  const H = Sl(N);
43953
- H && !St(H).timestamp && (br && Re.log(`[Tracing] Finishing current active span with op: ${St(H).op}`), H.setAttribute(Sc, "cancelled"), H.end());
43964
+ H && !kt(H).timestamp && (br && Re.log(`[Tracing] Finishing current active span with op: ${kt(H).op}`), H.setAttribute(Sc, "cancelled"), H.end());
43954
43965
  }
43955
43966
  N.on("startNavigationSpan", (H, te) => {
43956
43967
  if (bt() !== N)
@@ -43967,7 +43978,7 @@ const LQ = "BrowserTracing", RQ = {
43967
43978
  return;
43968
43979
  }
43969
43980
  O(), ma().setPropagationContext({ traceId: uo(), sampleRand: Math.random() });
43970
- const W = At();
43981
+ const W = Pt();
43971
43982
  W.setPropagationContext({ traceId: uo(), sampleRand: Math.random() }), W.setSDKProcessingMetadata({
43972
43983
  normalizedRequest: void 0
43973
43984
  }), I(N, {
@@ -43978,7 +43989,7 @@ const LQ = "BrowserTracing", RQ = {
43978
43989
  if (bt() !== N)
43979
43990
  return;
43980
43991
  O();
43981
- const W = te.sentryTrace || a2("sentry-trace"), se = te.baggage || a2("baggage"), Q = PU(W, se), me = At();
43992
+ const W = te.sentryTrace || a2("sentry-trace"), se = te.baggage || a2("baggage"), Q = PU(W, se), me = Pt();
43982
43993
  me.setPropagationContext(Q), me.setSDKProcessingMetadata({
43983
43994
  normalizedRequest: jm()
43984
43995
  }), I(N, {
@@ -43989,11 +44000,11 @@ const LQ = "BrowserTracing", RQ = {
43989
44000
  },
43990
44001
  afterAllSetup(N) {
43991
44002
  let O = ks();
43992
- if (M !== "off" && PQ(N, { linkPreviousTrace: M, consistentTraceSampling: D }), xt.location) {
44003
+ if (M !== "off" && PQ(N, { linkPreviousTrace: M, consistentTraceSampling: D }), Ct.location) {
43993
44004
  if (x) {
43994
44005
  const H = Wn();
43995
44006
  $Q(N, {
43996
- name: xt.location.pathname,
44007
+ name: Ct.location.pathname,
43997
44008
  // pageload should always start at timeOrigin (and needs to be in s, not ms)
43998
44009
  startTime: H ? H / 1e3 : void 0,
43999
44010
  attributes: {
@@ -44012,7 +44023,7 @@ const LQ = "BrowserTracing", RQ = {
44012
44023
  v_(
44013
44024
  N,
44014
44025
  {
44015
- name: W?.pathname || xt.location.pathname,
44026
+ name: W?.pathname || Ct.location.pathname,
44016
44027
  attributes: {
44017
44028
  [Xn]: "url",
44018
44029
  [Gt]: "auto.navigation.browser"
@@ -44035,14 +44046,14 @@ const LQ = "BrowserTracing", RQ = {
44035
44046
  };
44036
44047
  };
44037
44048
  function $Q(e, t, n) {
44038
- e.emit("startPageLoadSpan", t, n), At().setTransactionName(t.name);
44049
+ e.emit("startPageLoadSpan", t, n), Pt().setTransactionName(t.name);
44039
44050
  const r = Sl(e);
44040
44051
  return r && e.emit("afterStartPageLoadSpan", r), r;
44041
44052
  }
44042
44053
  function v_(e, t, n) {
44043
44054
  const { url: r, isRedirect: a } = n || {};
44044
44055
  e.emit("beforeStartNavigationSpan", t, { isRedirect: a }), e.emit("startNavigationSpan", t, { isRedirect: a });
44045
- const o = At();
44056
+ const o = Pt();
44046
44057
  return o.setTransactionName(t.name), r && !a && o.setSDKProcessingMetadata({
44047
44058
  normalizedRequest: {
44048
44059
  ...jm(),
@@ -44051,15 +44062,15 @@ function v_(e, t, n) {
44051
44062
  }), Sl(e);
44052
44063
  }
44053
44064
  function a2(e) {
44054
- return xt.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content") || void 0;
44065
+ return Ct.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content") || void 0;
44055
44066
  }
44056
44067
  function DQ(e, t, n, r, a) {
44057
- const o = xt.document;
44068
+ const o = Ct.document;
44058
44069
  let i;
44059
44070
  const s = () => {
44060
44071
  const l = "ui.action.click", u = Sl(e);
44061
44072
  if (u) {
44062
- const c = St(u).op;
44073
+ const c = kt(u).op;
44063
44074
  if (["navigation", "pageload"].includes(c)) {
44064
44075
  br && Re.warn(`[Tracing] Did not create ${l} span because a pageload or navigation span is in progress.`);
44065
44076
  return;
@@ -44095,7 +44106,7 @@ function o2(e, t) {
44095
44106
  }
44096
44107
  const i2 = 0.3;
44097
44108
  function NQ(e, t) {
44098
- const n = St(e), r = di(), a = n.start_timestamp;
44109
+ const n = kt(e), r = di(), a = n.start_timestamp;
44099
44110
  return !(r - a > i2 || t && r - t <= i2);
44100
44111
  }
44101
44112
  const y_ = ["activate", "mount"], b_ = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, zQ = /(?:^|[-_])(\w)/g, BQ = (e) => e.replace(zQ, (t) => t.toUpperCase()).replace(/[-_]/g, ""), FQ = "<Root>", Nf = "<Anonymous>", jQ = (e, t) => e.repeat(t), tl = (e, t) => {
@@ -44226,7 +44237,7 @@ const qQ = (e = {}) => {
44226
44237
  };
44227
44238
  }
44228
44239
  return n;
44229
- }, YQ = kt, GQ = {
44240
+ }, YQ = xt, GQ = {
44230
44241
  Vue: YQ.Vue,
44231
44242
  attachProps: !0,
44232
44243
  attachErrorHandler: !0,
@@ -44280,7 +44291,7 @@ function QQ(e, t, n) {
44280
44291
  const d = a.matched.length - 1;
44281
44292
  u = a.matched[d].path, c = "route";
44282
44293
  }
44283
- At().setTransactionName(u), t.instrumentPageLoad && s && (St(s).data[Xn] !== "custom" && (s.updateName(u), s.setAttribute(Xn, c)), s.setAttributes({
44294
+ Pt().setTransactionName(u), t.instrumentPageLoad && s && (kt(s).data[Xn] !== "custom" && (s.updateName(u), s.setAttribute(Xn, c)), s.setAttributes({
44284
44295
  ...l,
44285
44296
  [Gt]: "auto.pageload.vue"
44286
44297
  }), r = !0), t.instrumentNavigation && !s && n({
@@ -44296,7 +44307,7 @@ function QQ(e, t, n) {
44296
44307
  }
44297
44308
  function ZQ() {
44298
44309
  const e = Pn(), t = e && En(e);
44299
- return t && St(t).op === "pageload" ? t : void 0;
44310
+ return t && kt(t).op === "pageload" ? t : void 0;
44300
44311
  }
44301
44312
  function eZ(e = {}) {
44302
44313
  if (!e.router)