@conboai/app.db.query 0.9.64 → 0.9.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/app.db.query.js +185 -183
  2. package/package.json +1 -1
@@ -11,7 +11,7 @@ var Ve = (e, t, n) => (lL(e, t, "read from private field"), n ? n.call(e) : t.ge
11
11
  t instanceof WeakSet ? t.add(e) : t.set(e, n);
12
12
  }, At = (e, t, n, r) => (lL(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
13
13
  import * as F from "react";
14
- import Bt, { useState as Pe, useRef as wn, useLayoutEffect as O$, useEffect as Se, useSyncExternalStore as xne, isValidElement as js, cloneElement as Xa, createContext as j$, memo as kr, forwardRef as RC, useCallback as lt, Children as Zc, createElement as Ru, useContext as fi, useMemo as Ut, PureComponent as Ro, createRef as PC, Fragment as cL, useId as Cne } from "react";
14
+ import Bt, { useState as Pe, useRef as wn, useLayoutEffect as O$, useEffect as Se, useSyncExternalStore as xne, isValidElement as js, cloneElement as Xa, createContext as j$, memo as kr, forwardRef as RC, useCallback as lt, Children as Zc, createElement as Ru, useContext as fi, useMemo as Pt, PureComponent as Ro, createRef as PC, Fragment as cL, useId as Cne } from "react";
15
15
  import * as h3 from "react-dom";
16
16
  import pp, { createPortal as UC } from "react-dom";
17
17
  var Ou = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -44970,7 +44970,7 @@ const oG = {
44970
44970
  borderRadius: "4px",
44971
44971
  border: "1px solid #C4C4C4",
44972
44972
  backgroundColor: Zo
44973
- }, g = Ut(
44973
+ }, g = Pt(
44974
44974
  () => ({
44975
44975
  helperText: t,
44976
44976
  setSelectedValues: n,
@@ -45132,7 +45132,7 @@ const oG = {
45132
45132
  notificationText: d,
45133
45133
  filterData: h
45134
45134
  }) => {
45135
- const f = Ut(
45135
+ const f = Pt(
45136
45136
  () => ({
45137
45137
  ...aG,
45138
45138
  criterias: l.criterias
@@ -73786,10 +73786,10 @@ const qNe = ({
73786
73786
  C({ min: k, max: O });
73787
73787
  }
73788
73788
  }, [e]);
73789
- const A = Ut(
73789
+ const A = Pt(
73790
73790
  () => e.filter((k) => k.id),
73791
73791
  [e]
73792
- ), z = Ut(
73792
+ ), z = Pt(
73793
73793
  () => ({
73794
73794
  chart: {
73795
73795
  type: "xrange",
@@ -74640,7 +74640,7 @@ const SS = {
74640
74640
  ]
74641
74641
  ), he = I.filter(
74642
74642
  (de) => de.id !== (j == null ? void 0 : j.id)
74643
- ), ge = Ut(() => {
74643
+ ), ge = Pt(() => {
74644
74644
  const de = I.find(
74645
74645
  (Me) => Me.id === (j == null ? void 0 : j.id)
74646
74646
  );
@@ -75768,7 +75768,7 @@ function YTe(e) {
75768
75768
  y.current = !1;
75769
75769
  };
75770
75770
  }, []);
75771
- var N = Ut(function() {
75771
+ var N = Pt(function() {
75772
75772
  return new Lf({
75773
75773
  id: n,
75774
75774
  apiKey: s,
@@ -76146,7 +76146,7 @@ function WTe(e) {
76146
76146
  oe !== null && google.maps.event.removeListener(oe), Q !== null && google.maps.event.removeListener(Q), le !== null && google.maps.event.removeListener(le), J !== null && google.maps.event.removeListener(J), ve !== null && google.maps.event.removeListener(ve), ge !== null && google.maps.event.removeListener(ge), Ce !== null && google.maps.event.removeListener(Ce), Ie !== null && google.maps.event.removeListener(Ie), ke !== null && google.maps.event.removeListener(ke), ct !== null && google.maps.event.removeListener(ct), vt !== null && google.maps.event.removeListener(vt), dn !== null && google.maps.event.removeListener(dn), Xt !== null && google.maps.event.removeListener(Xt), bn !== null && google.maps.event.removeListener(bn), sn !== null && google.maps.event.removeListener(sn), yn !== null && google.maps.event.removeListener(yn), Ze !== null && google.maps.event.removeListener(Ze), Ct !== null && google.maps.event.removeListener(Ct), kn !== null && google.maps.event.removeListener(kn), W && W(vn), r ? r.removeMarker(vn, !!o) : vn && vn.setMap(null);
76147
76147
  };
76148
76148
  }, []);
76149
- var io = Ut(function() {
76149
+ var io = Pt(function() {
76150
76150
  return i ? Zc.map(i, function(Xn) {
76151
76151
  if (!js(Xn))
76152
76152
  return Xn;
@@ -78655,10 +78655,10 @@ function eF(e) {
78655
78655
  return t + "";
78656
78656
  }
78657
78657
  function BDe(e) {
78658
- var t = e.position, n = e.bounds, r = e.mapPaneName, o = e.zIndex, i = e.onLoad, s = e.onUnmount, a = e.getPixelPositionOffset, l = e.children, c = fi(rr), d = Ut(function() {
78658
+ var t = e.position, n = e.bounds, r = e.mapPaneName, o = e.zIndex, i = e.onLoad, s = e.onUnmount, a = e.getPixelPositionOffset, l = e.children, c = fi(rr), d = Pt(function() {
78659
78659
  var f = document.createElement("div");
78660
78660
  return f.style.position = "absolute", f;
78661
- }, []), h = Ut(function() {
78661
+ }, []), h = Pt(function() {
78662
78662
  return YDe(d, r, t, n, a);
78663
78663
  }, [d, r, t, n]);
78664
78664
  return Se(function() {
@@ -78740,7 +78740,7 @@ var nF = {
78740
78740
  }
78741
78741
  };
78742
78742
  function QDe(e) {
78743
- var t = e.url, n = e.bounds, r = e.options, o = e.visible, i = fi(rr), s = new google.maps.LatLngBounds(new google.maps.LatLng(n.south, n.west), new google.maps.LatLng(n.north, n.east)), a = Ut(function() {
78743
+ var t = e.url, n = e.bounds, r = e.options, o = e.visible, i = fi(rr), s = new google.maps.LatLngBounds(new google.maps.LatLng(n.south, n.west), new google.maps.LatLng(n.north, n.east)), a = Pt(function() {
78744
78744
  var l = new google.maps.GroundOverlay(t, s, In({}, r));
78745
78745
  return l;
78746
78746
  }, []);
@@ -79860,10 +79860,10 @@ const c9e = () => {
79860
79860
  var T;
79861
79861
  const [I, R] = Pe(bF.center), [j, V] = Pe(!1), [Y, _] = Pe(
79862
79862
  i || ((T = o == null ? void 0 : o[0]) == null ? void 0 : T.id) || null
79863
- ), [$, H] = Pe(e), [W, te] = Pe(null), [ne, Z] = Pe(t || 0), ce = c9e(), G = u9e({ mapInstance: W, zoomFromProps: x }), oe = Ut(
79863
+ ), [$, H] = Pe(e), [W, te] = Pe(null), [ne, Z] = Pe(t || 0), ce = c9e(), G = u9e({ mapInstance: W, zoomFromProps: x }), oe = Pt(
79864
79864
  () => o == null ? void 0 : o.find((re) => re.id === Y),
79865
79865
  [o, Y]
79866
- ), ae = Ut(() => o == null ? void 0 : o[0], [o]), fe = ae == null ? void 0 : ae.id;
79866
+ ), ae = Pt(() => o == null ? void 0 : o[0], [o]), fe = ae == null ? void 0 : ae.id;
79867
79867
  Se(() => {
79868
79868
  H(e);
79869
79869
  }, [t, e]), Se(() => {
@@ -79877,7 +79877,7 @@ const c9e = () => {
79877
79877
  Yl.isNil(J) || (_ == null || _(J), s == null || s(re));
79878
79878
  },
79879
79879
  [s]
79880
- ), B = Ut(
79880
+ ), B = Pt(
79881
79881
  () => ({
79882
79882
  fullscreenControl: z,
79883
79883
  disableDefaultUI: !ce && m,
@@ -79920,7 +79920,7 @@ const c9e = () => {
79920
79920
  }, [v, j, R, V]), Se(() => {
79921
79921
  b && R(b);
79922
79922
  }, [b, R]);
79923
- const se = Ut(() => r9e(o), [o]);
79923
+ const se = Pt(() => r9e(o), [o]);
79924
79924
  return /* @__PURE__ */ K.jsxs(fn, { sx: { width: "100%", height: "100%", position: "relative" }, children: [
79925
79925
  /* @__PURE__ */ K.jsxs(
79926
79926
  GDe,
@@ -98095,7 +98095,7 @@ const rke = KSe, oke = (e, t) => ({
98095
98095
  const [P, U] = Pe({
98096
98096
  page: 0,
98097
98097
  pageSize: i[0]
98098
- }), [A, z] = Pe([]), k = rke(), O = Ut(() => D && A.length > 0 ? [...t].sort((Y, _) => {
98098
+ }), [A, z] = Pe([]), k = rke(), O = Pt(() => D && A.length > 0 ? [...t].sort((Y, _) => {
98099
98099
  for (const $ of A) {
98100
98100
  const { field: H, sort: W } = $;
98101
98101
  if (Y[H] < _[H])
@@ -103396,7 +103396,7 @@ function Tp(e, t, n, r, o) {
103396
103396
  return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`) : null;
103397
103397
  }
103398
103398
  const xPe = E.oneOfType([E.func, E.object]), Na = xPe;
103399
- function Pt(e) {
103399
+ function Ut(e) {
103400
103400
  if (typeof e != "string")
103401
103401
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : xg(7));
103402
103402
  return e.charAt(0).toUpperCase() + e.slice(1);
@@ -103810,7 +103810,7 @@ const UPe = (e) => {
103810
103810
  fontSize: n,
103811
103811
  classes: r
103812
103812
  } = e, o = {
103813
- root: ["root", t !== "inherit" && `color${Pt(t)}`, `fontSize${Pt(n)}`]
103813
+ root: ["root", t !== "inherit" && `color${Ut(t)}`, `fontSize${Ut(n)}`]
103814
103814
  };
103815
103815
  return hr(o, PPe, r);
103816
103816
  }, _Pe = _t("svg", {
@@ -103820,7 +103820,7 @@ const UPe = (e) => {
103820
103820
  const {
103821
103821
  ownerState: n
103822
103822
  } = e;
103823
- return [t.root, n.color !== "inherit" && t[`color${Pt(n.color)}`], t[`fontSize${Pt(n.fontSize)}`]];
103823
+ return [t.root, n.color !== "inherit" && t[`color${Ut(n.color)}`], t[`fontSize${Ut(n.fontSize)}`]];
103824
103824
  }
103825
103825
  })($n(({
103826
103826
  theme: e
@@ -105812,7 +105812,7 @@ const CUe = qn("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrima
105812
105812
  edge: o,
105813
105813
  size: i
105814
105814
  } = e, s = {
105815
- root: ["root", n && "disabled", r !== "default" && `color${Pt(r)}`, o && `edge${Pt(o)}`, `size${Pt(i)}`]
105815
+ root: ["root", n && "disabled", r !== "default" && `color${Ut(r)}`, o && `edge${Ut(o)}`, `size${Ut(i)}`]
105816
105816
  };
105817
105817
  return hr(s, xUe, t);
105818
105818
  }, DUe = _t(qu, {
@@ -105822,7 +105822,7 @@ const CUe = qn("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrima
105822
105822
  const {
105823
105823
  ownerState: n
105824
105824
  } = e;
105825
- return [t.root, n.color !== "default" && t[`color${Pt(n.color)}`], n.edge && t[`edge${Pt(n.edge)}`], t[`size${Pt(n.size)}`]];
105825
+ return [t.root, n.color !== "default" && t[`color${Ut(n.color)}`], n.edge && t[`edge${Ut(n.edge)}`], t[`size${Ut(n.size)}`]];
105826
105826
  }
105827
105827
  })($n(({
105828
105828
  theme: e
@@ -106044,7 +106044,7 @@ const SUe = {
106044
106044
  variant: i,
106045
106045
  classes: s
106046
106046
  } = e, a = {
106047
- root: ["root", i, e.align !== "inherit" && `align${Pt(t)}`, n && "gutterBottom", r && "noWrap", o && "paragraph"]
106047
+ root: ["root", i, e.align !== "inherit" && `align${Ut(t)}`, n && "gutterBottom", r && "noWrap", o && "paragraph"]
106048
106048
  };
106049
106049
  return hr(a, IUe, s);
106050
106050
  }, AUe = _t("span", {
@@ -106054,7 +106054,7 @@ const SUe = {
106054
106054
  const {
106055
106055
  ownerState: n
106056
106056
  } = e;
106057
- return [t.root, n.variant && t[n.variant], n.align !== "inherit" && t[`align${Pt(n.align)}`], n.noWrap && t.noWrap, n.gutterBottom && t.gutterBottom, n.paragraph && t.paragraph];
106057
+ return [t.root, n.variant && t[n.variant], n.align !== "inherit" && t[`align${Ut(n.align)}`], n.noWrap && t.noWrap, n.gutterBottom && t.gutterBottom, n.paragraph && t.paragraph];
106058
106058
  }
106059
106059
  })($n(({
106060
106060
  theme: e
@@ -106086,7 +106086,7 @@ const SUe = {
106086
106086
  }
106087
106087
  })), ...Object.entries(((t = e.palette) == null ? void 0 : t.text) || {}).filter(([, n]) => typeof n == "string").map(([n]) => ({
106088
106088
  props: {
106089
- color: `text${Pt(n)}`
106089
+ color: `text${Ut(n)}`
106090
106090
  },
106091
106091
  style: {
106092
106092
  color: (e.vars || e).palette.text[n]
@@ -108291,7 +108291,7 @@ const K_e = (e) => {
108291
108291
  inset: o,
108292
108292
  disableSticky: i
108293
108293
  } = e, s = {
108294
- root: ["root", n !== "default" && `color${Pt(n)}`, !r && "gutters", o && "inset", !i && "sticky"]
108294
+ root: ["root", n !== "default" && `color${Ut(n)}`, !r && "gutters", o && "inset", !i && "sticky"]
108295
108295
  };
108296
108296
  return hr(s, X_e, t);
108297
108297
  }, J_e = _t("li", {
@@ -108301,7 +108301,7 @@ const K_e = (e) => {
108301
108301
  const {
108302
108302
  ownerState: n
108303
108303
  } = e;
108304
- return [t.root, n.color !== "default" && t[`color${Pt(n.color)}`], !n.disableGutters && t.gutters, n.inset && t.inset, !n.disableSticky && t.sticky];
108304
+ return [t.root, n.color !== "default" && t[`color${Ut(n.color)}`], !n.disableGutters && t.gutters, n.inset && t.inset, !n.disableSticky && t.sticky];
108305
108305
  }
108306
108306
  })($n(({
108307
108307
  theme: e
@@ -108446,11 +108446,11 @@ const rFe = qn("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "c
108446
108446
  clickable: a,
108447
108447
  variant: l
108448
108448
  } = e, c = {
108449
- root: ["root", l, n && "disabled", `size${Pt(r)}`, `color${Pt(o)}`, a && "clickable", a && `clickableColor${Pt(o)}`, s && "deletable", s && `deletableColor${Pt(o)}`, `${l}${Pt(o)}`],
108450
- label: ["label", `label${Pt(r)}`],
108451
- avatar: ["avatar", `avatar${Pt(r)}`, `avatarColor${Pt(o)}`],
108452
- icon: ["icon", `icon${Pt(r)}`, `iconColor${Pt(i)}`],
108453
- deleteIcon: ["deleteIcon", `deleteIcon${Pt(r)}`, `deleteIconColor${Pt(o)}`, `deleteIcon${Pt(l)}Color${Pt(o)}`]
108449
+ root: ["root", l, n && "disabled", `size${Ut(r)}`, `color${Ut(o)}`, a && "clickable", a && `clickableColor${Ut(o)}`, s && "deletable", s && `deletableColor${Ut(o)}`, `${l}${Ut(o)}`],
108450
+ label: ["label", `label${Ut(r)}`],
108451
+ avatar: ["avatar", `avatar${Ut(r)}`, `avatarColor${Ut(o)}`],
108452
+ icon: ["icon", `icon${Ut(r)}`, `iconColor${Ut(i)}`],
108453
+ deleteIcon: ["deleteIcon", `deleteIcon${Ut(r)}`, `deleteIconColor${Ut(o)}`, `deleteIcon${Ut(l)}Color${Ut(o)}`]
108454
108454
  };
108455
108455
  return hr(c, nFe, t);
108456
108456
  }, iFe = _t("div", {
@@ -108470,24 +108470,24 @@ const rFe = qn("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "c
108470
108470
  return [{
108471
108471
  [`& .${br.avatar}`]: t.avatar
108472
108472
  }, {
108473
- [`& .${br.avatar}`]: t[`avatar${Pt(a)}`]
108473
+ [`& .${br.avatar}`]: t[`avatar${Ut(a)}`]
108474
108474
  }, {
108475
- [`& .${br.avatar}`]: t[`avatarColor${Pt(r)}`]
108475
+ [`& .${br.avatar}`]: t[`avatarColor${Ut(r)}`]
108476
108476
  }, {
108477
108477
  [`& .${br.icon}`]: t.icon
108478
108478
  }, {
108479
- [`& .${br.icon}`]: t[`icon${Pt(a)}`]
108479
+ [`& .${br.icon}`]: t[`icon${Ut(a)}`]
108480
108480
  }, {
108481
- [`& .${br.icon}`]: t[`iconColor${Pt(o)}`]
108481
+ [`& .${br.icon}`]: t[`iconColor${Ut(o)}`]
108482
108482
  }, {
108483
108483
  [`& .${br.deleteIcon}`]: t.deleteIcon
108484
108484
  }, {
108485
- [`& .${br.deleteIcon}`]: t[`deleteIcon${Pt(a)}`]
108485
+ [`& .${br.deleteIcon}`]: t[`deleteIcon${Ut(a)}`]
108486
108486
  }, {
108487
- [`& .${br.deleteIcon}`]: t[`deleteIconColor${Pt(r)}`]
108487
+ [`& .${br.deleteIcon}`]: t[`deleteIconColor${Ut(r)}`]
108488
108488
  }, {
108489
- [`& .${br.deleteIcon}`]: t[`deleteIcon${Pt(l)}Color${Pt(r)}`]
108490
- }, t.root, t[`size${Pt(a)}`], t[`color${Pt(r)}`], i && t.clickable, i && r !== "default" && t[`clickableColor${Pt(r)})`], s && t.deletable, s && r !== "default" && t[`deletableColor${Pt(r)}`], t[l], t[`${l}${Pt(r)}`]];
108489
+ [`& .${br.deleteIcon}`]: t[`deleteIcon${Ut(l)}Color${Ut(r)}`]
108490
+ }, t.root, t[`size${Ut(a)}`], t[`color${Ut(r)}`], i && t.clickable, i && r !== "default" && t[`clickableColor${Ut(r)})`], s && t.deletable, s && r !== "default" && t[`deletableColor${Ut(r)}`], t[l], t[`${l}${Ut(r)}`]];
108491
108491
  }
108492
108492
  })($n(({
108493
108493
  theme: e
@@ -108714,7 +108714,7 @@ const rFe = qn("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "c
108714
108714
  } = e, {
108715
108715
  size: r
108716
108716
  } = n;
108717
- return [t.label, t[`label${Pt(r)}`]];
108717
+ return [t.label, t[`label${Ut(r)}`]];
108718
108718
  }
108719
108719
  })({
108720
108720
  overflow: "hidden",
@@ -109108,7 +109108,7 @@ const yT = (e, t) => {
109108
109108
  const {
109109
109109
  ownerState: n
109110
109110
  } = e;
109111
- return [t.root, n.formControl && t.formControl, n.startAdornment && t.adornedStart, n.endAdornment && t.adornedEnd, n.error && t.error, n.size === "small" && t.sizeSmall, n.multiline && t.multiline, n.color && t[`color${Pt(n.color)}`], n.fullWidth && t.fullWidth, n.hiddenLabel && t.hiddenLabel];
109111
+ return [t.root, n.formControl && t.formControl, n.startAdornment && t.adornedStart, n.endAdornment && t.adornedEnd, n.error && t.error, n.size === "small" && t.sizeSmall, n.multiline && t.multiline, n.color && t[`color${Ut(n.color)}`], n.fullWidth && t.fullWidth, n.hiddenLabel && t.hiddenLabel];
109112
109112
  }, MT = (e, t) => {
109113
109113
  const {
109114
109114
  ownerState: n
@@ -109131,7 +109131,7 @@ const yT = (e, t) => {
109131
109131
  startAdornment: m,
109132
109132
  type: y
109133
109133
  } = e, g = {
109134
- root: ["root", `color${Pt(n)}`, r && "disabled", o && "error", l && "fullWidth", s && "focused", a && "formControl", f && f !== "medium" && `size${Pt(f)}`, d && "multiline", m && "adornedStart", i && "adornedEnd", c && "hiddenLabel", h && "readOnly"],
109134
+ root: ["root", `color${Ut(n)}`, r && "disabled", o && "error", l && "fullWidth", s && "focused", a && "formControl", f && f !== "medium" && `size${Ut(f)}`, d && "multiline", m && "adornedStart", i && "adornedEnd", c && "hiddenLabel", h && "readOnly"],
109135
109135
  input: ["input", r && "disabled", y === "search" && "inputTypeSearch", d && "inputMultiline", f === "small" && "inputSizeSmall", c && "inputHiddenLabel", m && "inputAdornedStart", i && "inputAdornedEnd", h && "readOnly"]
109136
109136
  };
109137
109137
  return hr(g, pFe, t);
@@ -109763,7 +109763,7 @@ const NFe = (e) => {
109763
109763
  root: ["root", r && "expanded", o && "focused", i && "fullWidth", s && "hasClearIcon", a && "hasPopupIcon"],
109764
109764
  inputRoot: ["inputRoot"],
109765
109765
  input: ["input", l && "inputFocused"],
109766
- tag: ["tag", `tagSize${Pt(d)}`],
109766
+ tag: ["tag", `tagSize${Ut(d)}`],
109767
109767
  endAdornment: ["endAdornment"],
109768
109768
  clearIndicator: ["clearIndicator"],
109769
109769
  popupIndicator: ["popupIndicator", c && "popupIndicatorOpen"],
@@ -109793,7 +109793,7 @@ const NFe = (e) => {
109793
109793
  return [{
109794
109794
  [`& .${sr.tag}`]: t.tag
109795
109795
  }, {
109796
- [`& .${sr.tag}`]: t[`tagSize${Pt(a)}`]
109796
+ [`& .${sr.tag}`]: t[`tagSize${Ut(a)}`]
109797
109797
  }, {
109798
109798
  [`& .${sr.inputRoot}`]: t.inputRoot
109799
109799
  }, {
@@ -111227,10 +111227,10 @@ const GFe = qJ, ZFe = (e) => {
111227
111227
  variant: i,
111228
111228
  classes: s
111229
111229
  } = e, a = {
111230
- root: ["root", i, `${i}${Pt(t)}`, `size${Pt(o)}`, `${i}Size${Pt(o)}`, `color${Pt(t)}`, n && "disableElevation", r && "fullWidth"],
111230
+ root: ["root", i, `${i}${Ut(t)}`, `size${Ut(o)}`, `${i}Size${Ut(o)}`, `color${Ut(t)}`, n && "disableElevation", r && "fullWidth"],
111231
111231
  label: ["label"],
111232
- startIcon: ["icon", "startIcon", `iconSize${Pt(o)}`],
111233
- endIcon: ["icon", "endIcon", `iconSize${Pt(o)}`]
111232
+ startIcon: ["icon", "startIcon", `iconSize${Ut(o)}`],
111233
+ endIcon: ["icon", "endIcon", `iconSize${Ut(o)}`]
111234
111234
  }, l = hr(a, QFe, s);
111235
111235
  return {
111236
111236
  ...s,
@@ -111272,7 +111272,7 @@ const GFe = qJ, ZFe = (e) => {
111272
111272
  const {
111273
111273
  ownerState: n
111274
111274
  } = e;
111275
- return [t.root, t[n.variant], t[`${n.variant}${Pt(n.color)}`], t[`size${Pt(n.size)}`], t[`${n.variant}Size${Pt(n.size)}`], n.color === "inherit" && t.colorInherit, n.disableElevation && t.disableElevation, n.fullWidth && t.fullWidth];
111275
+ return [t.root, t[n.variant], t[`${n.variant}${Ut(n.color)}`], t[`size${Ut(n.size)}`], t[`${n.variant}Size${Ut(n.size)}`], n.color === "inherit" && t.colorInherit, n.disableElevation && t.disableElevation, n.fullWidth && t.fullWidth];
111276
111276
  }
111277
111277
  })($n(({
111278
111278
  theme: e
@@ -111467,7 +111467,7 @@ const GFe = qJ, ZFe = (e) => {
111467
111467
  const {
111468
111468
  ownerState: n
111469
111469
  } = e;
111470
- return [t.startIcon, t[`iconSize${Pt(n.size)}`]];
111470
+ return [t.startIcon, t[`iconSize${Ut(n.size)}`]];
111471
111471
  }
111472
111472
  })({
111473
111473
  display: "inherit",
@@ -111488,7 +111488,7 @@ const GFe = qJ, ZFe = (e) => {
111488
111488
  const {
111489
111489
  ownerState: n
111490
111490
  } = e;
111491
- return [t.endIcon, t[`iconSize${Pt(n.size)}`]];
111491
+ return [t.endIcon, t[`iconSize${Ut(n.size)}`]];
111492
111492
  }
111493
111493
  })({
111494
111494
  display: "inherit",
@@ -111852,7 +111852,7 @@ const cVe = (e) => {
111852
111852
  disabled: r,
111853
111853
  edge: o
111854
111854
  } = e, i = {
111855
- root: ["root", n && "checked", r && "disabled", o && `edge${Pt(o)}`],
111855
+ root: ["root", n && "checked", r && "disabled", o && `edge${Ut(o)}`],
111856
111856
  input: ["input"]
111857
111857
  };
111858
111858
  return hr(i, lVe, t);
@@ -112108,7 +112108,7 @@ const yVe = qn("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "
112108
112108
  color: r,
112109
112109
  size: o
112110
112110
  } = e, i = {
112111
- root: ["root", n && "indeterminate", `color${Pt(r)}`, `size${Pt(o)}`]
112111
+ root: ["root", n && "indeterminate", `color${Ut(r)}`, `size${Ut(o)}`]
112112
112112
  }, s = hr(i, mVe, t);
112113
112113
  return {
112114
112114
  ...t,
@@ -112123,7 +112123,7 @@ const yVe = qn("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "
112123
112123
  const {
112124
112124
  ownerState: n
112125
112125
  } = e;
112126
- return [t.root, n.indeterminate && t.indeterminate, t[`size${Pt(n.size)}`], n.color !== "default" && t[`color${Pt(n.color)}`]];
112126
+ return [t.root, n.indeterminate && t.indeterminate, t[`size${Ut(n.size)}`], n.color !== "default" && t[`color${Ut(n.color)}`]];
112127
112127
  }
112128
112128
  })($n(({
112129
112129
  theme: e
@@ -112357,9 +112357,9 @@ const Wp = 44, Xj = Eg`
112357
112357
  color: r,
112358
112358
  disableShrink: o
112359
112359
  } = e, i = {
112360
- root: ["root", n, `color${Pt(r)}`],
112360
+ root: ["root", n, `color${Ut(r)}`],
112361
112361
  svg: ["svg"],
112362
- circle: ["circle", `circle${Pt(n)}`, o && "circleDisableShrink"]
112362
+ circle: ["circle", `circle${Ut(n)}`, o && "circleDisableShrink"]
112363
112363
  };
112364
112364
  return hr(i, NVe, t);
112365
112365
  }, IVe = _t("span", {
@@ -112369,7 +112369,7 @@ const Wp = 44, Xj = Eg`
112369
112369
  const {
112370
112370
  ownerState: n
112371
112371
  } = e;
112372
- return [t.root, t[n.variant], t[`color${Pt(n.color)}`]];
112372
+ return [t.root, t[n.variant], t[`color${Ut(n.color)}`]];
112373
112373
  }
112374
112374
  })($n(({
112375
112375
  theme: e
@@ -112411,7 +112411,7 @@ const Wp = 44, Xj = Eg`
112411
112411
  const {
112412
112412
  ownerState: n
112413
112413
  } = e;
112414
- return [t.circle, t[`circle${Pt(n.variant)}`], n.disableShrink && t.circleDisableShrink];
112414
+ return [t.circle, t[`circle${Ut(n.variant)}`], n.disableShrink && t.circleDisableShrink];
112415
112415
  }
112416
112416
  })($n(({
112417
112417
  theme: e
@@ -113587,7 +113587,7 @@ const xT = hC, JVe = (e) => {
113587
113587
  hiddenLabel: s,
113588
113588
  multiline: a
113589
113589
  } = e, l = {
113590
- root: ["root", !n && "underline", r && "adornedStart", o && "adornedEnd", i === "small" && `size${Pt(i)}`, s && "hiddenLabel", a && "multiline"],
113590
+ root: ["root", !n && "underline", r && "adornedStart", o && "adornedEnd", i === "small" && `size${Ut(i)}`, s && "hiddenLabel", a && "multiline"],
113591
113591
  input: ["input"]
113592
113592
  }, c = hr(l, bFe, t);
113593
113593
  return {
@@ -114074,7 +114074,7 @@ const rYe = (e) => {
114074
114074
  margin: n,
114075
114075
  fullWidth: r
114076
114076
  } = e, o = {
114077
- root: ["root", n !== "none" && `margin${Pt(n)}`, r && "fullWidth"]
114077
+ root: ["root", n !== "none" && `margin${Ut(n)}`, r && "fullWidth"]
114078
114078
  };
114079
114079
  return hr(o, nYe, t);
114080
114080
  }, oYe = _t("div", {
@@ -114084,7 +114084,7 @@ const rYe = (e) => {
114084
114084
  ownerState: e
114085
114085
  }, t) => ({
114086
114086
  ...t.root,
114087
- ...t[`margin${Pt(e.margin)}`],
114087
+ ...t[`margin${Ut(e.margin)}`],
114088
114088
  ...e.fullWidth && t.fullWidth
114089
114089
  })
114090
114090
  })({
@@ -114306,7 +114306,7 @@ const sYe = qn("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlac
114306
114306
  error: o,
114307
114307
  required: i
114308
114308
  } = e, s = {
114309
- root: ["root", n && "disabled", `labelPlacement${Pt(r)}`, o && "error", i && "required"],
114309
+ root: ["root", n && "disabled", `labelPlacement${Ut(r)}`, o && "error", i && "required"],
114310
114310
  label: ["label", n && "disabled"],
114311
114311
  asterisk: ["asterisk", o && "error"]
114312
114312
  };
@@ -114320,7 +114320,7 @@ const sYe = qn("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlac
114320
114320
  } = e;
114321
114321
  return [{
114322
114322
  [`& .${U4.label}`]: t.label
114323
- }, t.root, t[`labelPlacement${Pt(n.labelPlacement)}`]];
114323
+ }, t.root, t[`labelPlacement${Ut(n.labelPlacement)}`]];
114324
114324
  }
114325
114325
  })($n(({
114326
114326
  theme: e
@@ -114558,7 +114558,7 @@ const pYe = (e) => {
114558
114558
  focused: a,
114559
114559
  required: l
114560
114560
  } = e, c = {
114561
- root: ["root", o && "disabled", i && "error", r && `size${Pt(r)}`, n && "contained", a && "focused", s && "filled", l && "required"]
114561
+ root: ["root", o && "disabled", i && "error", r && `size${Ut(r)}`, n && "contained", a && "focused", s && "filled", l && "required"]
114562
114562
  };
114563
114563
  return hr(c, uYe, t);
114564
114564
  }, hYe = _t("p", {
@@ -114568,7 +114568,7 @@ const pYe = (e) => {
114568
114568
  const {
114569
114569
  ownerState: n
114570
114570
  } = e;
114571
- return [t.root, n.size && t[`size${Pt(n.size)}`], n.contained && t.contained, n.filled && t.filled];
114571
+ return [t.root, n.size && t[`size${Ut(n.size)}`], n.contained && t.contained, n.filled && t.filled];
114572
114572
  }
114573
114573
  })($n(({
114574
114574
  theme: e
@@ -114723,7 +114723,7 @@ const gYe = qn("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled",
114723
114723
  filled: s,
114724
114724
  required: a
114725
114725
  } = e, l = {
114726
- root: ["root", `color${Pt(n)}`, o && "disabled", i && "error", s && "filled", r && "focused", a && "required"],
114726
+ root: ["root", `color${Ut(n)}`, o && "disabled", i && "error", s && "filled", r && "focused", a && "required"],
114727
114727
  asterisk: ["asterisk", i && "error"]
114728
114728
  };
114729
114729
  return hr(l, fYe, t);
@@ -115987,7 +115987,7 @@ const PYe = (e) => {
115987
115987
  variant: s,
115988
115988
  required: a
115989
115989
  } = e, l = {
115990
- root: ["root", n && "formControl", !i && "animated", o && "shrink", r && r !== "normal" && `size${Pt(r)}`, s],
115990
+ root: ["root", n && "formControl", !i && "animated", o && "shrink", r && r !== "normal" && `size${Ut(r)}`, s],
115991
115991
  asterisk: [a && "asterisk"]
115992
115992
  }, c = hr(l, RYe, t);
115993
115993
  return {
@@ -117437,7 +117437,7 @@ const uBe = qn("MuiNativeSelect", ["root", "select", "multiple", "filled", "outl
117437
117437
  error: s
117438
117438
  } = e, a = {
117439
117439
  select: ["select", n, r && "disabled", o && "multiple", s && "error"],
117440
- icon: ["icon", `icon${Pt(n)}`, i && "iconOpen", r && "disabled"]
117440
+ icon: ["icon", `icon${Ut(n)}`, i && "iconOpen", r && "disabled"]
117441
117441
  };
117442
117442
  return hr(a, cBe, t);
117443
117443
  }, Nee = _t("select")(({
@@ -117558,7 +117558,7 @@ const uBe = qn("MuiNativeSelect", ["root", "select", "multiple", "filled", "outl
117558
117558
  const {
117559
117559
  ownerState: n
117560
117560
  } = e;
117561
- return [t.icon, n.variant && t[`icon${Pt(n.variant)}`], n.open && t.iconOpen];
117561
+ return [t.icon, n.variant && t[`icon${Ut(n.variant)}`], n.open && t.iconOpen];
117562
117562
  }
117563
117563
  })({}), Dee = /* @__PURE__ */ F.forwardRef(function(t, n) {
117564
117564
  const {
@@ -118211,7 +118211,7 @@ const NBe = _t(Nee, {
118211
118211
  const {
118212
118212
  ownerState: n
118213
118213
  } = e;
118214
- return [t.icon, n.variant && t[`icon${Pt(n.variant)}`], n.open && t.iconOpen];
118214
+ return [t.icon, n.variant && t[`icon${Ut(n.variant)}`], n.open && t.iconOpen];
118215
118215
  }
118216
118216
  })({}), DBe = _t("input", {
118217
118217
  shouldForwardProp: (e) => cT(e) && e !== "classes",
@@ -118243,7 +118243,7 @@ const IBe = (e) => {
118243
118243
  error: s
118244
118244
  } = e, a = {
118245
118245
  select: ["select", n, r && "disabled", o && "multiple", s && "error"],
118246
- icon: ["icon", `icon${Pt(n)}`, i && "iconOpen", r && "disabled"],
118246
+ icon: ["icon", `icon${Ut(n)}`, i && "iconOpen", r && "disabled"],
118247
118247
  nativeInput: ["nativeInput"]
118248
118248
  };
118249
118249
  return hr(a, xBe, t);
@@ -119608,7 +119608,7 @@ const KBe = _t("span", {
119608
119608
  const {
119609
119609
  ownerState: n
119610
119610
  } = e;
119611
- return [t.root, t[`color${Pt(n.color)}`], n.size !== "medium" && t[`size${Pt(n.size)}`], n.marked && t.marked, n.orientation === "vertical" && t.vertical, n.track === "inverted" && t.trackInverted, n.track === !1 && t.trackFalse];
119611
+ return [t.root, t[`color${Ut(n.color)}`], n.size !== "medium" && t[`size${Ut(n.size)}`], n.marked && t.marked, n.orientation === "vertical" && t.vertical, n.track === "inverted" && t.trackInverted, n.track === !1 && t.trackFalse];
119612
119612
  }
119613
119613
  })($n(({
119614
119614
  theme: e
@@ -119814,7 +119814,7 @@ const KBe = _t("span", {
119814
119814
  const {
119815
119815
  ownerState: n
119816
119816
  } = e;
119817
- return [t.thumb, t[`thumbColor${Pt(n.color)}`], n.size !== "medium" && t[`thumbSize${Pt(n.size)}`]];
119817
+ return [t.thumb, t[`thumbColor${Ut(n.color)}`], n.size !== "medium" && t[`thumbSize${Ut(n.size)}`]];
119818
119818
  }
119819
119819
  })($n(({
119820
119820
  theme: e
@@ -120110,7 +120110,7 @@ const n$e = _t("span", {
120110
120110
  color: a,
120111
120111
  size: l
120112
120112
  } = e, c = {
120113
- root: ["root", t && "disabled", n && "dragging", r && "marked", o === "vertical" && "vertical", i === "inverted" && "trackInverted", i === !1 && "trackFalse", a && `color${Pt(a)}`, l && `size${Pt(l)}`],
120113
+ root: ["root", t && "disabled", n && "dragging", r && "marked", o === "vertical" && "vertical", i === "inverted" && "trackInverted", i === !1 && "trackFalse", a && `color${Ut(a)}`, l && `size${Ut(l)}`],
120114
120114
  rail: ["rail"],
120115
120115
  track: ["track"],
120116
120116
  mark: ["mark"],
@@ -120118,7 +120118,7 @@ const n$e = _t("span", {
120118
120118
  markLabel: ["markLabel"],
120119
120119
  markLabelActive: ["markLabelActive"],
120120
120120
  valueLabel: ["valueLabel"],
120121
- thumb: ["thumb", t && "disabled", l && `thumbSize${Pt(l)}`, a && `thumbColor${Pt(a)}`],
120121
+ thumb: ["thumb", t && "disabled", l && `thumbSize${Ut(l)}`, a && `thumbColor${Ut(a)}`],
120122
120122
  active: ["active"],
120123
120123
  disabled: ["disabled"],
120124
120124
  focusVisible: ["focusVisible"]
@@ -120626,7 +120626,7 @@ const c$e = (e) => {
120626
120626
  placement: i
120627
120627
  } = e, s = {
120628
120628
  popper: ["popper", !n && "popperInteractive", r && "popperArrow"],
120629
- tooltip: ["tooltip", r && "tooltipArrow", o && "touch", `tooltipPlacement${Pt(i.split("-")[0])}`],
120629
+ tooltip: ["tooltip", r && "tooltipArrow", o && "touch", `tooltipPlacement${Ut(i.split("-")[0])}`],
120630
120630
  arrow: ["arrow"]
120631
120631
  };
120632
120632
  return hr(s, s$e, t);
@@ -120740,7 +120740,7 @@ const c$e = (e) => {
120740
120740
  const {
120741
120741
  ownerState: n
120742
120742
  } = e;
120743
- return [t.tooltip, n.touch && t.touch, n.arrow && t.tooltipArrow, t[`tooltipPlacement${Pt(n.placement.split("-")[0])}`]];
120743
+ return [t.tooltip, n.touch && t.touch, n.arrow && t.tooltipArrow, t[`tooltipPlacement${Ut(n.placement.split("-")[0])}`]];
120744
120744
  }
120745
120745
  })($n(({
120746
120746
  theme: e
@@ -130766,7 +130766,7 @@ function DWe({ baseUrl: e = "" }) {
130766
130766
  y,
130767
130767
  t
130768
130768
  ]);
130769
- const w = Sp(d, e), S = Sp(h || [], e), P = Ut(
130769
+ const w = Sp(d, e), S = Sp(h || [], e), P = Pt(
130770
130770
  () => ({
130771
130771
  feedImages: w,
130772
130772
  objectImages: S,
@@ -131289,7 +131289,7 @@ function PWe() {
131289
131289
  }
131290
131290
  return pe.toString();
131291
131291
  }
131292
- }), [k]), G = Ut(
131292
+ }), [k]), G = Pt(
131293
131293
  () => ({
131294
131294
  columns: Z,
131295
131295
  rows: S,
@@ -131311,7 +131311,7 @@ function PWe() {
131311
131311
  W,
131312
131312
  H
131313
131313
  ]
131314
- ), oe = Ut(
131314
+ ), oe = Pt(
131315
131315
  () => ({
131316
131316
  rows: S,
131317
131317
  hasMore: b,
@@ -131320,10 +131320,10 @@ function PWe() {
131320
131320
  handleTimelineClick: ne
131321
131321
  }),
131322
131322
  [b, S, y, W, ne]
131323
- ), ae = Ut(
131323
+ ), ae = Pt(
131324
131324
  () => LWe({ gridProps: G, timelineProps: oe }),
131325
131325
  [G, oe]
131326
- ), fe = RWe(), Q = Ut(() => {
131326
+ ), fe = RWe(), Q = Pt(() => {
131327
131327
  const se = /* @__PURE__ */ new Set();
131328
131328
  return S.forEach((re) => {
131329
131329
  Object.keys(re).forEach((J) => se.add(J));
@@ -131895,7 +131895,7 @@ const Si = cl((e) => ({
131895
131895
  assigned_feed_id: String(t)
131896
131896
  });
131897
131897
  return await na({
131898
- url: `${r}/api/detections_pixels/frame-info?${i.toString()}`,
131898
+ url: `${r}/api/position/positioning/frame-info?${i.toString()}`,
131899
131899
  options: { signal: o },
131900
131900
  errorMessage: "The request has been canceled"
131901
131901
  });
@@ -132651,7 +132651,7 @@ const Si = cl((e) => ({
132651
132651
  baseUrl: e = "",
132652
132652
  links: t
132653
132653
  }) => {
132654
- var te, ne, Z, ce, G, oe;
132654
+ var ne, Z, ce, G;
132655
132655
  const {
132656
132656
  selectedTableItemId: n,
132657
132657
  frameDetails: r,
@@ -132666,59 +132666,61 @@ const Si = cl((e) => ({
132666
132666
  classifiersFrameInfo: f,
132667
132667
  feed: m,
132668
132668
  regions: y,
132669
- panelCheckboxes: g
132670
- } = qe(Yt), { detailsLoading: b, vehicleInfoImages: C, trailLoading: v, snapshotsLoading: x } = mi(), { kitsElements: D } = ko(), N = qe((ae) => ae.newFeeds), w = Ug(N, m[0]), S = w == null ? void 0 : w.is_indoor, { loading: P } = Qu(
132669
+ selectedCrossLines: g,
132670
+ panelCheckboxes: b
132671
+ } = qe(Yt), { detailsLoading: C, vehicleInfoImages: v, trailLoading: x, snapshotsLoading: D } = mi(), { kitsElements: N } = ko(), w = qe((oe) => oe.newFeeds), S = Ug(w, m[0]), P = S == null ? void 0 : S.is_indoor, { loading: U } = Qu(
132671
132672
  "FetchVehicleInfoImages"
132672
- ), U = r.find((ae) => ae.id === n) || null, A = ST(), z = !!(U != null && U.conbo_key), k = Sp(d, e), O = Ut(
132673
+ ), A = r.find((oe) => oe.id === n) || null, z = ST(), k = !!(A != null && A.conbo_key), O = Sp(d, e), T = Pt(
132673
132674
  () => ({
132674
- feedImages: k,
132675
- objectImages: C,
132676
- isLoading: P || x === "pending"
132675
+ feedImages: O,
132676
+ objectImages: v,
132677
+ isLoading: U || D === "pending"
132677
132678
  }),
132678
- [k, C, P, x]
132679
- ), T = s1(O), I = a1(k, C), R = (te = l == null ? void 0 : l.geometry) == null ? void 0 : te.coordinates, j = (ne = i == null ? void 0 : i.geometry) == null ? void 0 : ne.coordinates, V = ((Z = s == null ? void 0 : s.geometry) == null ? void 0 : Z.coordinates) || [], Y = (ce = g == null ? void 0 : g.find(
132680
- (ae) => (ae == null ? void 0 : ae.label) === "FOV"
132681
- )) == null ? void 0 : ce.value, _ = (G = g == null ? void 0 : g.find(
132682
- (ae) => (ae == null ? void 0 : ae.label) === "Cross Lines"
132683
- )) == null ? void 0 : G.value, $ = l1({
132684
- geoCoordinates: R,
132685
- floorPlanCoordinates: V,
132686
- pixelCoordinates: j,
132687
- fov: Y ? c : null,
132688
- crossLines: _ ? (oe = y[0]) == null ? void 0 : oe.crosses : [],
132679
+ [O, v, U, D]
132680
+ ), I = s1(T), R = a1(O, v), j = (ne = l == null ? void 0 : l.geometry) == null ? void 0 : ne.coordinates, V = (Z = i == null ? void 0 : i.geometry) == null ? void 0 : Z.coordinates, Y = ((ce = s == null ? void 0 : s.geometry) == null ? void 0 : ce.coordinates) || [], _ = (G = b == null ? void 0 : b.find(
132681
+ (oe) => (oe == null ? void 0 : oe.label) === "FOV"
132682
+ )) == null ? void 0 : G.value, $ = Pt(() => {
132683
+ var ae;
132684
+ return g != null && g.length ? (((ae = y == null ? void 0 : y[0]) == null ? void 0 : ae.crosses) || []).filter((fe) => g.includes(fe.id)) : [];
132685
+ }, [y, g]), H = l1({
132686
+ geoCoordinates: j,
132687
+ floorPlanCoordinates: Y,
132688
+ pixelCoordinates: V,
132689
+ fov: _ ? c : null,
132690
+ crossLines: $,
132689
132691
  floorPlanUrl: (a == null ? void 0 : a.image) || "",
132690
- feedUrl: k[0],
132691
- isIndoor: S,
132692
- isLoadingPolyline: v === "pending",
132693
- isLoadingTrail: v === "pending"
132694
- }), H = c1(
132695
- S ? V : R,
132696
- j,
132697
- S
132698
- ), W = Ut(
132692
+ feedUrl: O[0],
132693
+ isIndoor: P,
132694
+ isLoadingPolyline: x === "pending",
132695
+ isLoadingTrail: x === "pending"
132696
+ }), W = c1(
132697
+ P ? Y : j,
132698
+ V,
132699
+ P
132700
+ ), te = Pt(
132699
132701
  () => IT({
132700
132702
  topOne: o,
132701
132703
  classifiersFrameInfo: f,
132702
132704
  classifierSummary: h,
132703
- kitsElements: D,
132704
- isLoading: b === "pending"
132705
+ kitsElements: N,
132706
+ isLoading: C === "pending"
132705
132707
  }),
132706
- [o, f, h, D, b]
132708
+ [o, f, h, N, C]
132707
132709
  );
132708
132710
  return /* @__PURE__ */ X.jsx(
132709
132711
  td,
132710
132712
  {
132711
- textToCopy: U == null ? void 0 : U.conbo_key,
132712
- subtitle: `Conbo key: ${U == null ? void 0 : U.conbo_key}`,
132713
- showHeader: z,
132713
+ textToCopy: A == null ? void 0 : A.conbo_key,
132714
+ subtitle: `Conbo key: ${A == null ? void 0 : A.conbo_key}`,
132715
+ showHeader: k,
132714
132716
  links: t,
132715
- children: z && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
132716
- /* @__PURE__ */ X.jsx(os, { tabsContent: $, tabs: H, isCollapseActive: !0 }),
132717
+ children: k && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
132718
+ /* @__PURE__ */ X.jsx(os, { tabsContent: H, tabs: W, isCollapseActive: !0 }),
132717
132719
  /* @__PURE__ */ X.jsx(
132718
132720
  os,
132719
132721
  {
132720
- tabsContent: T,
132721
- tabs: I,
132722
+ tabsContent: I,
132723
+ tabs: R,
132722
132724
  isCollapseActive: !0,
132723
132725
  sx: {
132724
132726
  paddingTop: 0
@@ -132728,8 +132730,8 @@ const Si = cl((e) => ({
132728
132730
  /* @__PURE__ */ X.jsx(
132729
132731
  os,
132730
132732
  {
132731
- tabsContent: W,
132732
- tabs: A,
132733
+ tabsContent: te,
132734
+ tabs: z,
132733
132735
  isCollapseActive: !0,
132734
132736
  sx: {
132735
132737
  paddingTop: 0
@@ -132823,7 +132825,7 @@ const Si = cl((e) => ({
132823
132825
  });
132824
132826
  },
132825
132827
  [s, i, r]
132826
- ), l = Ut(
132828
+ ), l = Pt(
132827
132829
  () => cte(
132828
132830
  t,
132829
132831
  o,
@@ -132885,7 +132887,7 @@ const Si = cl((e) => ({
132885
132887
  const { isSiteTimezone: e } = qe(Yt), [t, n] = qe((i) => [
132886
132888
  i.newSiteInfo,
132887
132889
  i.editTabData
132888
- ]), r = Ut(
132890
+ ]), r = Pt(
132889
132891
  () => SE(
132890
132892
  Intl.DateTimeFormat().resolvedOptions().timeZone,
132891
132893
  t.timezoneName
@@ -133167,7 +133169,7 @@ const SGe = (e = []) => e == null ? void 0 : e.map((t) => ({ value: String(t.id)
133167
133169
  )
133168
133170
  }
133169
133171
  ), zGe = {
133170
- width: 220,
133172
+ width: 200,
133171
133173
  "& .MuiAutocomplete-paper": {
133172
133174
  maxHeight: 200
133173
133175
  },
@@ -133199,7 +133201,7 @@ const SGe = (e = []) => e == null ? void 0 : e.map((t) => ({ value: String(t.id)
133199
133201
  renderTags: s,
133200
133202
  renderInput: a
133201
133203
  }) => {
133202
- const l = Ut(() => {
133204
+ const l = Pt(() => {
133203
133205
  if (Array.isArray(n) && n.length > 0 && typeof n[0] == "string") {
133204
133206
  const d = n;
133205
133207
  return o.filter((h) => d.includes(h.value));
@@ -133274,13 +133276,13 @@ const SGe = (e = []) => e == null ? void 0 : e.map((t) => ({ value: String(t.id)
133274
133276
  }
133275
133277
  );
133276
133278
  }, EGe = ({ select: e }) => {
133277
- const t = e.value.length === e.options.length && e.options.length > 0, n = Ut(
133279
+ const t = e.value.length === e.options.length && e.options.length > 0, n = Pt(
133278
133280
  () => ({
133279
133281
  value: "ALL_OPTION",
133280
133282
  label: `All ${e.label}`
133281
133283
  }),
133282
133284
  [e.label]
133283
- ), r = Ut(
133285
+ ), r = Pt(
133284
133286
  () => [n, ...e.options],
133285
133287
  [n, e.options]
133286
133288
  ), o = (s, a) => {
@@ -133292,7 +133294,7 @@ const SGe = (e = []) => e == null ? void 0 : e.map((t) => ({ value: String(t.id)
133292
133294
  }
133293
133295
  const l = s.some((d) => d.value === "ALL_OPTION"), c = s.filter((d) => d.value !== "ALL_OPTION");
133294
133296
  l ? e.onChange(e.options.map((d) => d.value)) : e.onChange(c.map((d) => d.value));
133295
- }, i = Ut(() => e.options.filter(
133297
+ }, i = Pt(() => e.options.filter(
133296
133298
  (s) => e.value.includes(s.value)
133297
133299
  ), [e.options, e.value]);
133298
133300
  return /* @__PURE__ */ X.jsx(
@@ -133983,7 +133985,7 @@ const GGe = ({
133983
133985
  getElementInSet: o
133984
133986
  }) => {
133985
133987
  const { getTabValueLabelsAndSubLabels: i } = f2(), { timezone: s, isUtc: a } = qe(Yt);
133986
- return { columns: Ut(
133988
+ return { columns: Pt(
133987
133989
  () => [
133988
133990
  {
133989
133991
  field: "selected",
@@ -134238,7 +134240,7 @@ const GGe = ({
134238
134240
  c,
134239
134241
  N
134240
134242
  ]);
134241
- const J = Ut(() => {
134243
+ const J = Pt(() => {
134242
134244
  var pe, ve, ye;
134243
134245
  return {
134244
134246
  id: (pe = g == null ? void 0 : g.find((he) => (he == null ? void 0 : he.label) === "ID Number")) == null ? void 0 : pe.value,
@@ -134338,7 +134340,7 @@ const GGe = ({
134338
134340
  var pe;
134339
134341
  R(d), k(U), A(r), V(O), r != null && r.length && v("kitId", (pe = r[0]) == null ? void 0 : pe.kit_id), O.length && v("tagId", O[0].tag_id);
134340
134342
  }, [v, O, U, r, d]);
134341
- const ue = Ut(() => [...Y, ...$, ...W, ...ne.flat()], [Y, $, W, ne]);
134343
+ const ue = Pt(() => [...Y, ...$, ...W, ...ne.flat()], [Y, $, W, ne]);
134342
134344
  return {
134343
134345
  getCurrentFrameDetailsSet: fe,
134344
134346
  setLocalFrameDetails: k,
@@ -134549,7 +134551,7 @@ const GGe = ({
134549
134551
  s(!1), l(null), w && U("shouldFetchCheckboxes", !1);
134550
134552
  }, [U, w]), te = lt(() => {
134551
134553
  N(), s(!1), x([]), v([]), l(null), U("localDelay", 0);
134552
- }, [N, U, v, x]), ne = Ut(
134554
+ }, [N, U, v, x]), ne = Pt(
134553
134555
  () => S > 0 ? `+${S} ms` : `${S} ms`,
134554
134556
  [S]
134555
134557
  );
@@ -134627,7 +134629,7 @@ const GGe = ({
134627
134629
  handleSnapshotChange: G,
134628
134630
  clearFrameDetails: oe,
134629
134631
  formattedDelay: ae
134630
- } = ZGe(t, e, U), { shapeStyles: fe, handleMouseDown: Q, isResizing: ie } = Dte(), B = Ut(() => {
134632
+ } = ZGe(t, e, U), { shapeStyles: fe, handleMouseDown: Q, isResizing: ie } = Dte(), B = Pt(() => {
134631
134633
  var we;
134632
134634
  const Me = x[0], Ce = ((we = Me == null ? void 0 : Me.intersections) == null ? void 0 : we.map((Ie) => ({
134633
134635
  value: Ie.area_id,
@@ -134664,7 +134666,7 @@ const GGe = ({
134664
134666
  Se(() => () => {
134665
134667
  i(), s(), w([]), $(null);
134666
134668
  }, [i, s, w, $]);
134667
- const le = C ? "No results" : "No rows", se = Ut(
134669
+ const le = C ? "No results" : "No rows", se = Pt(
134668
134670
  () => ({
134669
134671
  columns: z,
134670
134672
  rows: S,
@@ -134686,7 +134688,7 @@ const GGe = ({
134686
134688
  k,
134687
134689
  le
134688
134690
  ]
134689
- ), re = Ut(() => OGe({ gridProps: se }), [se]), J = Ut(() => jGe(), []), ue = () => {
134691
+ ), re = Pt(() => OGe({ gridProps: se }), [se]), J = Pt(() => jGe(), []), ue = () => {
134690
134692
  T(!1), $(null);
134691
134693
  }, pe = U, ve = (ge = l.find(
134692
134694
  (Me) => Me.value === (v == null ? void 0 : v.reference_point)
@@ -135314,7 +135316,7 @@ const GGe = ({
135314
135316
  feedId: h
135315
135317
  } = qe(Yt), { detailsLoading: f, vehicleInfoImages: m } = mi(), { kitsElements: y } = ko(), { loading: g } = Qu(
135316
135318
  "FetchVehicleInfoImages"
135317
- ), C = qe((_) => _.newFeeds).find((_) => _.id === h), v = C == null ? void 0 : C.is_indoor, x = n.find((_) => _.id === t) || null, D = nZe(), N = !!(x != null && x.conbo_key), w = g || f === "pending", S = Sp(l, e), P = Ut(
135319
+ ), C = qe((_) => _.newFeeds).find((_) => _.id === h), v = C == null ? void 0 : C.is_indoor, x = n.find((_) => _.id === t) || null, D = nZe(), N = !!(x != null && x.conbo_key), w = g || f === "pending", S = Sp(l, e), P = Pt(
135318
135320
  () => ({
135319
135321
  feedImages: S,
135320
135322
  objectImages: m
@@ -135331,7 +135333,7 @@ const GGe = ({
135331
135333
  v ? O : z,
135332
135334
  k,
135333
135335
  v
135334
- ), R = Ut(
135336
+ ), R = Pt(
135335
135337
  () => tZe({
135336
135338
  topOne: r,
135337
135339
  classifiersFrameInfo: d,
@@ -135788,7 +135790,7 @@ function fZe({ baseUrl: e = "" }) {
135788
135790
  }, [t]);
135789
135791
  const x = Sp(l, e), D = n.find(
135790
135792
  (H) => H.id === t
135791
- ), N = Ut(
135793
+ ), N = Pt(
135792
135794
  () => ({
135793
135795
  feedImages: x,
135794
135796
  objectImages: f,
@@ -135816,7 +135818,7 @@ function fZe({ baseUrl: e = "" }) {
135816
135818
  A ? O : z,
135817
135819
  k,
135818
135820
  A
135819
- ), R = Ut(
135821
+ ), R = Pt(
135820
135822
  () => pZe({
135821
135823
  getTabValueLabelsAndSubLabels: g,
135822
135824
  topOne: r,
@@ -135908,7 +135910,7 @@ const mZe = ({
135908
135910
  disabled: s = !0
135909
135911
  }) => {
135910
135912
  const { getTabValueLabelsAndSubLabels: a } = f2(), { timezone: l, isUtc: c } = qe(Yt);
135911
- return { columns: Ut(
135913
+ return { columns: Pt(
135912
135914
  () => [
135913
135915
  {
135914
135916
  field: "selected",
@@ -136860,7 +136862,7 @@ function YZe({ baseUrl: e }) {
136860
136862
  floorPlan: U,
136861
136863
  selectedFeed: A,
136862
136864
  polygonPixelPath: z
136863
- } = qe(Yt), { getEntitySearchData: k, loading: O, clearData: T } = Xl(), { topOneFilterKeys: I } = JE(), { classifiersFilterKeys: R } = ed(), [j, V] = Pe("50vh"), [Y, _] = Pe("50%"), [$, H] = Pe(null), [W, te] = Pe(!1), [ne, Z] = Pe(v), [ce, G] = Pe(ne), [oe, ae] = Pe(tre), [fe, Q] = Pe([]), [ie, B] = Pe([]), [le, se] = Pe(!1), re = wn(/* @__PURE__ */ new Map()), [J, ue] = Pe(0), [pe, ve] = Pe([]), ye = wn(!1), he = wn(0), ge = wn(0), de = Ut(
136865
+ } = qe(Yt), { getEntitySearchData: k, loading: O, clearData: T } = Xl(), { topOneFilterKeys: I } = JE(), { classifiersFilterKeys: R } = ed(), [j, V] = Pe("50vh"), [Y, _] = Pe("50%"), [$, H] = Pe(null), [W, te] = Pe(!1), [ne, Z] = Pe(v), [ce, G] = Pe(ne), [oe, ae] = Pe(tre), [fe, Q] = Pe([]), [ie, B] = Pe([]), [le, se] = Pe(!1), re = wn(/* @__PURE__ */ new Map()), [J, ue] = Pe(0), [pe, ve] = Pe([]), ye = wn(!1), he = wn(0), ge = wn(0), de = Pt(
136864
136866
  () => {
136865
136867
  var yt, sn, Zt;
136866
136868
  return {
@@ -137123,7 +137125,7 @@ function YZe({ baseUrl: e }) {
137123
137125
  getElementInSet: _e,
137124
137126
  setCenterCoordinates: Mt,
137125
137127
  disabled: !N
137126
- }), Tt = Ut(
137128
+ }), Tt = Pt(
137127
137129
  () => ({
137128
137130
  columns: vt,
137129
137131
  rows: pe,
@@ -137142,7 +137144,7 @@ function YZe({ baseUrl: e }) {
137142
137144
  W,
137143
137145
  le
137144
137146
  ]
137145
- ), gn = Ut(() => yZe({ gridProps: Tt }), [Tt]), dn = Ut(() => MZe(), []), un = Ut(
137147
+ ), gn = Pt(() => yZe({ gridProps: Tt }), [Tt]), dn = Pt(() => MZe(), []), un = Pt(
137146
137148
  () => oe.map((yt, sn) => ({
137147
137149
  ...yt,
137148
137150
  onChange: we(sn)
@@ -137151,7 +137153,7 @@ function YZe({ baseUrl: e }) {
137151
137153
  ), Et = lt(
137152
137154
  (yt) => o("currentSliderIndex", yt),
137153
137155
  [o]
137154
- ), Xt = Ut(() => Np(D, d), [D, d]), Dn = Ut(
137156
+ ), Xt = Pt(() => Np(D, d), [D, d]), Dn = Pt(
137155
137157
  () => Np(N, d),
137156
137158
  [N, d]
137157
137159
  ), rn = lt(
@@ -142513,7 +142515,7 @@ const IXe = (e = [], t) => {
142513
142515
  classifierSummaryRight: m,
142514
142516
  classifiersFrameInfo: y,
142515
142517
  vehicleInfoImages: g
142516
- } = qe(Yt), b = Sp(f, e), C = s != -1, v = Ut(
142518
+ } = qe(Yt), b = Sp(f, e), C = s != -1, v = Pt(
142517
142519
  () => ({
142518
142520
  feedImages: b,
142519
142521
  objectImages: g,
@@ -142533,7 +142535,7 @@ const IXe = (e = [], t) => {
142533
142535
  U ? N : x,
142534
142536
  D,
142535
142537
  U
142536
- ), k = s1(v), O = a1(b, g), T = Ut(
142538
+ ), k = s1(v), O = a1(b, g), T = Pt(
142537
142539
  () => zXe({
142538
142540
  topOne: a,
142539
142541
  classifiersFrameInfo: y,
@@ -142584,7 +142586,7 @@ const IXe = (e = [], t) => {
142584
142586
  );
142585
142587
  }, LXe = (e) => {
142586
142588
  const { isUtc: t, timezone: n } = qe(Yt);
142587
- return { columns: Ut(
142589
+ return { columns: Pt(
142588
142590
  () => [
142589
142591
  {
142590
142592
  field: "conbo_key",
@@ -142720,11 +142722,11 @@ const IXe = (e = [], t) => {
142720
142722
  window.removeEventListener("keydown", x);
142721
142723
  };
142722
142724
  }, [h, r, c, i]);
142723
- const y = Ut(() => h.filter(
142725
+ const y = Pt(() => h.filter(
142724
142726
  (x) => !(i != null && i.some(
142725
142727
  (D) => D.conbo_key === x.conbo_key
142726
142728
  ))
142727
- ), [h, i]), { columns: g } = LXe(d), b = Ut(
142729
+ ), [h, i]), { columns: g } = LXe(d), b = Pt(
142728
142730
  () => ({
142729
142731
  columns: g,
142730
142732
  rows: y,
@@ -142733,7 +142735,7 @@ const IXe = (e = [], t) => {
142733
142735
  selectedRowId: r
142734
142736
  }),
142735
142737
  [g, y, l, f, r]
142736
- ), C = Ut(() => RXe(b), [b]), v = Ut(() => PXe(), []);
142738
+ ), C = Pt(() => RXe(b), [b]), v = Pt(() => PXe(), []);
142737
142739
  return /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
142738
142740
  /* @__PURE__ */ X.jsxs(
142739
142741
  $e,
@@ -143724,7 +143726,7 @@ const IXe = (e = [], t) => {
143724
143726
  []
143725
143727
  );
143726
143728
  return {
143727
- checkboxes: Ut(
143729
+ checkboxes: Pt(
143728
143730
  () => [
143729
143731
  {
143730
143732
  value: e,
@@ -143761,7 +143763,7 @@ const IXe = (e = [], t) => {
143761
143763
  isCrossesChecked: o
143762
143764
  };
143763
143765
  }, gKe = ({ baseUrl: e, onRefresh: t }) => {
143764
- const { closestSnapshots: n, clearClosestSnapshots: r, latestSnapshots: o, resetInnerError: i } = Kl(), { fovInfos: s, clearFovInfos: a, regions: l } = ko(), [c] = qe((C) => [C.newFeeds]), { checkboxes: d, isFovChecked: h, isRegionsChecked: f, isCrossesChecked: m } = fKe(), y = Ut(() => {
143766
+ const { closestSnapshots: n, clearClosestSnapshots: r, latestSnapshots: o, resetInnerError: i } = Kl(), { fovInfos: s, clearFovInfos: a, regions: l } = ko(), [c] = qe((C) => [C.newFeeds]), { checkboxes: d, isFovChecked: h, isRegionsChecked: f, isCrossesChecked: m } = fKe(), y = Pt(() => {
143765
143767
  const C = n.length ? n : o;
143766
143768
  return dKe({
143767
143769
  latestSnapshots: C,
@@ -143770,7 +143772,7 @@ const IXe = (e = [], t) => {
143770
143772
  feeds: c,
143771
143773
  regions: l
143772
143774
  }).filter((v) => v.unit);
143773
- }, [n, o, s, e, c, l]), g = Ut(
143775
+ }, [n, o, s, e, c, l]), g = Pt(
143774
143776
  () => $ee(y.length),
143775
143777
  [y.length]
143776
143778
  ), b = lt(() => {
@@ -143874,7 +143876,7 @@ const IXe = (e = [], t) => {
143874
143876
  const T = Mo(O, n);
143875
143877
  g(T), f("startTime", T), w && N();
143876
143878
  }
143877
- }, k = Ut(
143879
+ }, k = Pt(
143878
143880
  () => SE(
143879
143881
  Intl.DateTimeFormat().resolvedOptions().timeZone,
143880
143882
  h.timezoneName
@@ -144598,7 +144600,7 @@ const IXe = (e = [], t) => {
144598
144600
  floorPlanUrl: a,
144599
144601
  onModalOpen: l
144600
144602
  }) => {
144601
- const c = Ut(
144603
+ const c = Pt(
144602
144604
  () => s == null ? void 0 : s.find((y) => y.id === r),
144603
144605
  [s, r]
144604
144606
  ), d = {
@@ -144715,7 +144717,7 @@ const IXe = (e = [], t) => {
144715
144717
  } else
144716
144718
  S([]), U([]);
144717
144719
  }, [o, i, s]);
144718
- const A = Ut(() => [
144720
+ const A = Pt(() => [
144719
144721
  ...l,
144720
144722
  ...y,
144721
144723
  ...D,
@@ -144725,7 +144727,7 @@ const IXe = (e = [], t) => {
144725
144727
  y,
144726
144728
  D,
144727
144729
  w
144728
- ]), z = Ut(() => [...d, ...b, ...P], [d, b, P]), k = Ut(() => [...f, ...v], [f, v]);
144730
+ ]), z = Pt(() => [...d, ...b, ...P], [d, b, P]), k = Pt(() => [...f, ...v], [f, v]);
144729
144731
  return {
144730
144732
  pixelCoordinates: A,
144731
144733
  geoCoordinates: z,
@@ -144739,7 +144741,7 @@ const IXe = (e = [], t) => {
144739
144741
  entitySearchData: d,
144740
144742
  floorPlan: h,
144741
144743
  selectedFeed: f
144742
- } = qe(Yt), m = Ut(
144744
+ } = qe(Yt), m = Pt(
144743
144745
  () => o.find((x) => x.id === a),
144744
144746
  [o, a]
144745
144747
  ), y = TO(l, o), g = TO(l, i), b = TO(l, s), C = !(d != null && d.length), v = C && c;
@@ -144829,7 +144831,7 @@ const VKe = ({
144829
144831
  onToggleRow: r
144830
144832
  }) => {
144831
144833
  const { getTabValueLabelsAndSubLabels: o } = f2(), { timezone: i, isUtc: s } = qe(Yt);
144832
- return { columns: Ut(
144834
+ return { columns: Pt(
144833
144835
  () => [
144834
144836
  {
144835
144837
  field: "selected",
@@ -144921,7 +144923,7 @@ const VKe = ({
144921
144923
  [e]
144922
144924
  );
144923
144925
  return {
144924
- checkboxes: Ut(
144926
+ checkboxes: Pt(
144925
144927
  () => [
144926
144928
  {
144927
144929
  value: t,
@@ -144971,10 +144973,10 @@ const VKe = ({
144971
144973
  selectedFeed: D
144972
144974
  } = qe(Yt), { checkboxes: N } = YKe();
144973
144975
  SKe(e, t);
144974
- const w = Ut(
144976
+ const w = Pt(
144975
144977
  () => $ee(v == null ? void 0 : v.length),
144976
144978
  [v == null ? void 0 : v.length]
144977
- ), S = !v.length && C ? "No results" : "No rows", P = Ut(
144979
+ ), S = !v.length && C ? "No results" : "No rows", P = Pt(
144978
144980
  () => (m == null ? void 0 : m.id) && dte(e, m == null ? void 0 : m.id),
144979
144981
  [e, m == null ? void 0 : m.id]
144980
144982
  ), U = () => r(!0), A = () => r(!1), z = lt(
@@ -144989,10 +144991,10 @@ const VKe = ({
144989
144991
  });
144990
144992
  },
144991
144993
  [h, d]
144992
- ), k = Ut(
144994
+ ), k = Pt(
144993
144995
  () => g.length > 0 && g.every((te) => te.selected),
144994
144996
  [g]
144995
- ), O = Ut(
144997
+ ), O = Pt(
144996
144998
  () => !k && g.some((te) => te.selected),
144997
144999
  [k, g]
144998
145000
  ), T = lt(
@@ -145023,7 +145025,7 @@ const VKe = ({
145023
145025
  partiallySelected: O,
145024
145026
  onToggleSelectAll: T,
145025
145027
  onToggleRow: I
145026
- }), V = Ut(
145028
+ }), V = Pt(
145027
145029
  () => ({
145028
145030
  columns: j,
145029
145031
  rows: g,
@@ -145040,7 +145042,7 @@ const VKe = ({
145040
145042
  S,
145041
145043
  R
145042
145044
  ]
145043
- ), Y = Ut(() => pne({ gridProps: V }), [V]), _ = Ut(() => hne(), []), $ = (te) => {
145045
+ ), Y = Pt(() => pne({ gridProps: V }), [V]), _ = Pt(() => hne(), []), $ = (te) => {
145044
145046
  if (s.current) {
145045
145047
  const ne = te.clientY - a.current, Z = Math.max(50, Math.min(890, l.current + ne)), ce = Math.max(50, Math.min(660, c.current + ne));
145046
145048
  i({
@@ -145256,7 +145258,7 @@ const VKe = ({
145256
145258
  ), [s, a] = Pe("0"), [l, c] = Pe(!1), [d, h] = Pe([
145257
145259
  cb.FEED_NAME,
145258
145260
  cb.LIMIT
145259
- ]), f = wn(null), { content: m, tabs: y } = ZE(s), g = Ut(
145261
+ ]), f = wn(null), { content: m, tabs: y } = ZE(s), g = Pt(
145260
145262
  () => DKe(d),
145261
145263
  [d]
145262
145264
  ), {
@@ -145468,7 +145470,7 @@ const VKe = ({
145468
145470
  Se(() => {
145469
145471
  t && N(t);
145470
145472
  }, [t]);
145471
- const w = Sp(h, e), S = D !== -1, P = Ut(
145473
+ const w = Sp(h, e), S = D !== -1, P = Pt(
145472
145474
  () => ({
145473
145475
  feedImages: w,
145474
145476
  objectImages: y,
@@ -145488,7 +145490,7 @@ const VKe = ({
145488
145490
  x ? z : U,
145489
145491
  A,
145490
145492
  x
145491
- ), T = s1(P), I = a1(w, y), R = Ut(
145493
+ ), T = s1(P), I = a1(w, y), R = Pt(
145492
145494
  () => IT({
145493
145495
  topOne: s,
145494
145496
  classifiersFrameInfo: m,
@@ -145595,7 +145597,7 @@ const VKe = ({
145595
145597
  Se(() => {
145596
145598
  t && v(t);
145597
145599
  }, [t]);
145598
- const x = Sp(h, e), D = C !== "", N = Ut(
145600
+ const x = Sp(h, e), D = C !== "", N = Pt(
145599
145601
  () => ({
145600
145602
  feedImages: x,
145601
145603
  objectImages: y,
@@ -145615,7 +145617,7 @@ const VKe = ({
145615
145617
  z ? P : w,
145616
145618
  S,
145617
145619
  z
145618
- ), T = s1(N), I = a1(x, y), R = Ut(
145620
+ ), T = s1(N), I = a1(x, y), R = Pt(
145619
145621
  () => IT({
145620
145622
  topOne: s,
145621
145623
  classifiersFrameInfo: m,
@@ -146104,7 +146106,7 @@ function aJe({ isAdmin: e, baseUrl: t }) {
146104
146106
  }, 500);
146105
146107
  }, [b, h, w]), { endTimeError: U, startTimeError: A, handleKitContentChange: z } = dv(P);
146106
146108
  rJe({ tabIndex: r, frameDetailsConboKeys: S, baseUrl: t });
146107
- const k = Ut(
146109
+ const k = Pt(
146108
146110
  () => cte(
146109
146111
  a,
146110
146112
  C,
@@ -146112,7 +146114,7 @@ function aJe({ isAdmin: e, baseUrl: t }) {
146112
146114
  l
146113
146115
  )[Number(r)] || [],
146114
146116
  [z, a, l, C, r]
146115
- ), O = Bee(a), T = Ut(
146117
+ ), O = Bee(a), T = Pt(
146116
146118
  () => SE(
146117
146119
  Intl.DateTimeFormat().resolvedOptions().timeZone,
146118
146120
  y.timezoneName
@@ -146838,7 +146840,7 @@ const lJe = ({
146838
146840
  se.length > 0 && (j(se), n((re) => [...re, ...se])), S("shouldFetchData", !1);
146839
146841
  }
146840
146842
  }, [s, c, t, j, S]);
146841
- const _ = Ut(() => {
146843
+ const _ = Pt(() => {
146842
146844
  if (s.length && a.length) {
146843
146845
  const le = UJe(s, a).filter(
146844
146846
  (re) => re.imgUrl
@@ -146846,7 +146848,7 @@ const lJe = ({
146846
146848
  return le.filter((re) => se.has(re.id) ? !1 : (se.add(re.id), !0));
146847
146849
  }
146848
146850
  return [];
146849
- }, [s, a]), $ = Ut(
146851
+ }, [s, a]), $ = Pt(
146850
146852
  () => _.filter((le) => le.confidence >= C),
146851
146853
  [C, _]
146852
146854
  ), H = lt(
@@ -147209,7 +147211,7 @@ const lJe = ({
147209
147211
  Se(() => {
147210
147212
  t && v(t);
147211
147213
  }, [t]);
147212
- const w = Sp(h, e), S = C !== -1, P = Ut(
147214
+ const w = Sp(h, e), S = C !== -1, P = Pt(
147213
147215
  () => ({
147214
147216
  feedImages: w,
147215
147217
  objectImages: y,
@@ -147229,7 +147231,7 @@ const lJe = ({
147229
147231
  N ? z : U,
147230
147232
  A,
147231
147233
  N
147232
- ), T = s1(P), I = a1(w, y), R = Ut(
147234
+ ), T = s1(P), I = a1(w, y), R = Pt(
147233
147235
  () => IT({
147234
147236
  topOne: s,
147235
147237
  classifiersFrameInfo: m,
@@ -147302,7 +147304,7 @@ hn.extend(Up);
147302
147304
  hn.extend(cd);
147303
147305
  const set = () => {
147304
147306
  const { timezone: e, isUtc: t } = qe(Yt);
147305
- return { columns: Ut(
147307
+ return { columns: Pt(
147306
147308
  () => [
147307
147309
  {
147308
147310
  field: "id",
@@ -147491,7 +147493,7 @@ const set = () => {
147491
147493
  }
147492
147494
  ), P = DT({
147493
147495
  data: ($ = h[0]) == null ? void 0 : $.crosses
147494
- }), U = Ut(() => {
147496
+ }), U = Pt(() => {
147495
147497
  const Z = [...w];
147496
147498
  if (S) {
147497
147499
  const ce = {
@@ -147508,13 +147510,13 @@ const set = () => {
147508
147510
  Z.push(...ce);
147509
147511
  }
147510
147512
  return Z;
147511
- }, [w, S, P]), A = ((H = l.find((Z) => Z.label === "Show Unload")) == null ? void 0 : H.value) ?? !0, z = ((W = l.find((Z) => Z.label === "FOV")) == null ? void 0 : W.value) ?? !0, k = ((te = l.find((Z) => Z.label === "Show Load")) == null ? void 0 : te.value) ?? !0, O = ((ne = l.find((Z) => Z.label === "Cross Lines")) == null ? void 0 : ne.value) ?? !0, T = Ut(() => U.filter((Z) => Z.action === "UNLOAD" && !A || Z.type === Pc.Polygon && !z || Z.type === Pc.Polyline && !O ? !1 : !(Z.action === "LOAD" && !k)), [U, A, z, O, k]);
147513
+ }, [w, S, P]), A = ((H = l.find((Z) => Z.label === "Show Unload")) == null ? void 0 : H.value) ?? !0, z = ((W = l.find((Z) => Z.label === "FOV")) == null ? void 0 : W.value) ?? !0, k = ((te = l.find((Z) => Z.label === "Show Load")) == null ? void 0 : te.value) ?? !0, O = ((ne = l.find((Z) => Z.label === "Cross Lines")) == null ? void 0 : ne.value) ?? !0, T = Pt(() => U.filter((Z) => Z.action === "UNLOAD" && !A || Z.type === Pc.Polygon && !z || Z.type === Pc.Polyline && !O ? !1 : !(Z.action === "LOAD" && !k)), [U, A, z, O, k]);
147512
147514
  Se(() => {
147513
147515
  s && (T.some(
147514
147516
  (ce) => String(ce.id) === String(s)
147515
147517
  ) || (m("selectedShapeId", ""), m("selectedTableItemId", -1), m("cargoTrailsDetails", []), m("isNoResultsState", !1)));
147516
147518
  }, [T, s, m]);
147517
- const I = Ut(
147519
+ const I = Pt(
147518
147520
  () => cet(o.length, t == null ? void 0 : t.captureTime),
147519
147521
  [o.length, t == null ? void 0 : t.captureTime]
147520
147522
  ), R = lt(
@@ -147534,7 +147536,7 @@ const set = () => {
147534
147536
  m("selectedShapeId", Z.id), m("isNoResultsState", !0), await v({ baseUrl: e, id: Number(Z.id) });
147535
147537
  },
147536
147538
  [e, m, v]
147537
- ), V = Ut(
147539
+ ), V = Pt(
147538
147540
  () => ({
147539
147541
  columns: D,
147540
147542
  rows: i.secondary,
@@ -147552,7 +147554,7 @@ const set = () => {
147552
147554
  f,
147553
147555
  r
147554
147556
  ]
147555
- ), Y = Ut(() => pne({ gridProps: V }), [V]), _ = Ut(() => hne(), []);
147557
+ ), Y = Pt(() => pne({ gridProps: V }), [V]), _ = Pt(() => hne(), []);
147556
147558
  return /* @__PURE__ */ X.jsxs($e, { children: [
147557
147559
  /* @__PURE__ */ X.jsxs(
147558
147560
  $e,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/app.db.query",
3
- "version": "0.9.64",
3
+ "version": "0.9.66",
4
4
  "type": "module",
5
5
  "main": "dist/app.db.query.js",
6
6
  "types": "dist/build/index.d.ts",