shared-ritm 1.3.125 → 1.3.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  var d1 = Object.defineProperty;
2
2
  var f1 = (e, t, n) => t in e ? d1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var qf = (e, t, n) => f1(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { markRaw as tv, defineComponent as Dt, reactive as ha, h as T, withDirectives as Jn, computed as _, ref as X, getCurrentInstance as Xe, nextTick as Ct, watch as me, onMounted as vn, onBeforeUnmount as At, onUnmounted as nv, Teleport as h1, onDeactivated as vo, unref as An, Transition as jn, useCssVars as Wo, createBlock as Ae, openBlock as K, mergeProps as ui, withCtx as pe, renderSlot as $t, createCommentVNode as We, createTextVNode as Wt, toDisplayString as pt, toRaw as to, createElementBlock as ge, createVNode as xe, createElementVNode as fe, onBeforeUpdate as rv, inject as fo, onActivated as La, normalizeClass as Ue, mergeModels as li, useModel as Jc, createSlots as qa, provide as su, normalizeStyle as Wr, getCurrentScope as p1, onScopeDispose as v1, createStaticVNode as ir, resolveDynamicComponent as m1, Fragment as hr, renderList as Hr, vShow as ov, onBeforeMount as ed, onUpdated as g1, useSlots as uu, shallowReactive as y1, resolveComponent as b1, normalizeProps as lc, guardReactiveProps as w1, withModifiers as Do, toHandlers as x1 } from "vue";
4
+ import { markRaw as tv, defineComponent as Dt, reactive as ha, h as T, withDirectives as Jn, computed as _, ref as X, getCurrentInstance as Xe, nextTick as Ct, watch as me, onMounted as mn, onBeforeUnmount as At, onUnmounted as nv, Teleport as h1, onDeactivated as vo, unref as fn, Transition as jn, useCssVars as Wo, createBlock as Ae, openBlock as K, mergeProps as ui, withCtx as pe, renderSlot as Bt, createCommentVNode as We, createTextVNode as Wt, toDisplayString as pt, toRaw as to, createElementBlock as ge, createVNode as xe, createElementVNode as fe, onBeforeUpdate as rv, inject as fo, onActivated as La, normalizeClass as Ue, mergeModels as li, useModel as Jc, createSlots as qa, provide as su, normalizeStyle as Wr, getCurrentScope as p1, onScopeDispose as v1, createStaticVNode as ir, resolveDynamicComponent as m1, Fragment as hr, renderList as Hr, vShow as ov, onBeforeMount as ed, onUpdated as g1, useSlots as uu, shallowReactive as y1, resolveComponent as b1, normalizeProps as lc, guardReactiveProps as w1, withModifiers as Do, toHandlers as x1 } from "vue";
5
5
  function Gn(e, t, n, r) {
6
6
  return Object.defineProperty(e, t, {
7
7
  get: n,
@@ -244,7 +244,7 @@ function D1(e) {
244
244
  function Fn(e) {
245
245
  e.stopPropagation();
246
246
  }
247
- function En(e) {
247
+ function Rn(e) {
248
248
  e.cancelable !== !1 && e.preventDefault();
249
249
  }
250
250
  function It(e) {
@@ -254,9 +254,9 @@ function Ku(e, t) {
254
254
  if (e === void 0 || t === !0 && e.__dragPrevented === !0)
255
255
  return;
256
256
  const n = t === !0 ? (r) => {
257
- r.__dragPrevented = !0, r.addEventListener("dragstart", En, Qt.notPassiveCapture);
257
+ r.__dragPrevented = !0, r.addEventListener("dragstart", Rn, Qt.notPassiveCapture);
258
258
  } : (r) => {
259
- delete r.__dragPrevented, r.removeEventListener("dragstart", En, Qt.notPassiveCapture);
259
+ delete r.__dragPrevented, r.removeEventListener("dragstart", Rn, Qt.notPassiveCapture);
260
260
  };
261
261
  e.querySelectorAll("a, img").forEach(n);
262
262
  }
@@ -313,11 +313,11 @@ function rd({
313
313
  Ur(h, 13) === !0 && l.toggle(h);
314
314
  },
315
315
  contextClick(h) {
316
- o.hide(h), En(h), Ct(() => {
316
+ o.hide(h), Rn(h), Ct(() => {
317
317
  o.show(h), h.qAnchorHandled = !0;
318
318
  });
319
319
  },
320
- prevent: En,
320
+ prevent: Rn,
321
321
  mobileTouch(h) {
322
322
  if (l.mobileCleanup(h), u(h) !== !0) return;
323
323
  o.hide(h), i.value.classList.add("non-selectable");
@@ -377,7 +377,7 @@ function rd({
377
377
  i.value !== null && c(), f();
378
378
  }), me(() => r.noParentEvent, (h) => {
379
379
  i.value !== null && (h === !0 ? c() : n());
380
- }), vn(() => {
380
+ }), mn(() => {
381
381
  f(), t !== !0 && r.modelValue === !0 && i.value === null && a("update:modelValue", !1);
382
382
  }), At(() => {
383
383
  s !== null && clearTimeout(s), c();
@@ -477,7 +477,7 @@ function _i({
477
477
  }
478
478
  me(() => s.modelValue, v), n !== void 0 && od(i) === !0 && me(() => l.$route.fullPath, () => {
479
479
  n.value === !0 && e.value === !0 && p();
480
- }), a === !0 && vn(() => {
480
+ }), a === !0 && mn(() => {
481
481
  v(s.modelValue);
482
482
  });
483
483
  const y = { show: f, hide: p, toggle: d };
@@ -662,7 +662,7 @@ function $1(e) {
662
662
  } catch {
663
663
  return;
664
664
  }
665
- const t = An(e);
665
+ const t = fn(e);
666
666
  if (t)
667
667
  return t.$el || t;
668
668
  }
@@ -1740,7 +1740,7 @@ const Et = je({
1740
1740
  if ((D == null ? void 0 : D.type) === "keyup") {
1741
1741
  if (ea === f.value && Ur(D, [13, 32]) === !0) {
1742
1742
  const O = new MouseEvent("click", D);
1743
- O.qKeyEvent = !0, D.defaultPrevented === !0 && En(O), D.cancelBubble === !0 && Fn(O), f.value.dispatchEvent(O), It(D), D.qKeyEvent = !0;
1743
+ O.qKeyEvent = !0, D.defaultPrevented === !0 && Rn(O), D.cancelBubble === !0 && Fn(O), f.value.dispatchEvent(O), It(D), D.qKeyEvent = !0;
1744
1744
  }
1745
1745
  n("keyup", D);
1746
1746
  }
@@ -1898,7 +1898,7 @@ const Et = je({
1898
1898
  onClick: o
1899
1899
  }), {
1900
1900
  default: pe(() => [
1901
- $t(s.$slots, "default"),
1901
+ Bt(s.$slots, "default"),
1902
1902
  e.badge ? (K(), Ae(av, {
1903
1903
  key: 0,
1904
1904
  style: { padding: "6px", top: "-10px", right: "-10px", "font-size": "12px" },
@@ -1934,13 +1934,13 @@ const Et = je({
1934
1934
  return n;
1935
1935
  }, my = {
1936
1936
  $style: vy
1937
- }, yc = /* @__PURE__ */ De(hy, [["__cssModules", my]]), Cn = {
1937
+ }, yc = /* @__PURE__ */ De(hy, [["__cssModules", my]]), kn = {
1938
1938
  dark: {
1939
1939
  type: Boolean,
1940
1940
  default: null
1941
1941
  }
1942
1942
  };
1943
- function kn(e, t) {
1943
+ function _n(e, t) {
1944
1944
  return _(() => e.dark === null ? t.dark.isActive : e.dark);
1945
1945
  }
1946
1946
  function Ev(e, t) {
@@ -1988,7 +1988,7 @@ const Tv = {
1988
1988
  lg: 50,
1989
1989
  xl: 60
1990
1990
  }, Iv = {
1991
- ...Cn,
1991
+ ...kn,
1992
1992
  ...Va,
1993
1993
  ...Ho,
1994
1994
  modelValue: {
@@ -2016,7 +2016,7 @@ const Tv = {
2016
2016
  tabindex: [String, Number]
2017
2017
  }, Av = ["update:modelValue"];
2018
2018
  function Dv(e, t) {
2019
- const { props: n, slots: r, emit: o, proxy: a } = Xe(), { $q: i } = a, s = kn(n, i), u = X(null), { refocusTargetEl: l, refocusTarget: c } = Ev(n, u), d = za(n, Tv), f = _(
2019
+ const { props: n, slots: r, emit: o, proxy: a } = Xe(), { $q: i } = a, s = _n(n, i), u = X(null), { refocusTargetEl: l, refocusTarget: c } = Ev(n, u), d = za(n, Tv), f = _(
2020
2020
  () => n.val !== void 0 && Array.isArray(n.modelValue)
2021
2021
  ), h = _(() => {
2022
2022
  const A = to(n.val);
@@ -2323,11 +2323,16 @@ const Ry = {
2323
2323
  },
2324
2324
  setup(e) {
2325
2325
  Wo((r) => ({
2326
- e1a36b5a: r.borderRadius,
2327
- v32ac7bdb: n.value,
2328
- v4f3b13e5: r.borderWidth
2326
+ v2b86ce00: r.borderRadius,
2327
+ v61f600f0: n.value,
2328
+ a1c632d0: r.borderWidth
2329
2329
  }));
2330
- const t = e, n = _(() => Ry.getPaletteColor(t.borderColor));
2330
+ const t = e, n = _(
2331
+ () => {
2332
+ var r;
2333
+ return (r = t.borderColor) != null && r.startsWith("#") ? t.borderColor : Ry.getPaletteColor(t.borderColor);
2334
+ }
2335
+ );
2331
2336
  return (r, o) => (K(), Ae(oi, ui(r.$props, {
2332
2337
  class: r.$style["app-checkbox"]
2333
2338
  }), null, 16, ["class"]));
@@ -2393,7 +2398,7 @@ function Py(e) {
2393
2398
  throw new Error("Invalid Jalaali year " + e);
2394
2399
  for (s = 1; s < t && (r = oo[s], o = r - n, !(e < r)); s += 1)
2395
2400
  n = r;
2396
- return i = e - n, o - i < 6 && (i = i - o + zt(o + 4, 33) * 33), a = Kn(Kn(i + 1, 33) - 1, 4), a === -1 && (a = 4), a;
2401
+ return i = e - n, o - i < 6 && (i = i - o + $t(o + 4, 33) * 33), a = Kn(Kn(i + 1, 33) - 1, 4), a === -1 && (a = 4), a;
2397
2402
  }
2398
2403
  function Fv(e, t) {
2399
2404
  const n = oo.length, r = e + 621;
@@ -2401,10 +2406,10 @@ function Fv(e, t) {
2401
2406
  if (e < a || e >= oo[n - 1])
2402
2407
  throw new Error("Invalid Jalaali year " + e);
2403
2408
  for (c = 1; c < n && (i = oo[c], s = i - a, !(e < i)); c += 1)
2404
- o = o + zt(s, 33) * 8 + zt(Kn(s, 33), 4), a = i;
2405
- l = e - a, o = o + zt(l, 33) * 8 + zt(Kn(l, 33) + 3, 4), Kn(s, 33) === 4 && s - l === 4 && (o += 1);
2406
- const d = zt(r, 4) - zt((zt(r, 100) + 1) * 3, 4) - 150, f = 20 + o - d;
2407
- return t || (s - l < 6 && (l = l - s + zt(s + 4, 33) * 33), u = Kn(Kn(l + 1, 33) - 1, 4), u === -1 && (u = 4)), {
2409
+ o = o + $t(s, 33) * 8 + $t(Kn(s, 33), 4), a = i;
2410
+ l = e - a, o = o + $t(l, 33) * 8 + $t(Kn(l, 33) + 3, 4), Kn(s, 33) === 4 && s - l === 4 && (o += 1);
2411
+ const d = $t(r, 4) - $t(($t(r, 100) + 1) * 3, 4) - 150, f = 20 + o - d;
2412
+ return t || (s - l < 6 && (l = l - s + $t(s + 4, 33) * 33), u = Kn(Kn(l + 1, 33) - 1, 4), u === -1 && (u = 4)), {
2408
2413
  leap: u,
2409
2414
  gy: r,
2410
2415
  march: f
@@ -2412,7 +2417,7 @@ function Fv(e, t) {
2412
2417
  }
2413
2418
  function By(e, t, n) {
2414
2419
  const r = Fv(e, !0);
2415
- return md(r.gy, 3, r.march) + (t - 1) * 31 - zt(t, 7) * (t - 7) + n - 1;
2420
+ return md(r.gy, 3, r.march) + (t - 1) * 31 - $t(t, 7) * (t - 7) + n - 1;
2416
2421
  }
2417
2422
  function Oy(e) {
2418
2423
  const t = Pv(e).gy;
@@ -2420,7 +2425,7 @@ function Oy(e) {
2420
2425
  const i = Fv(n, !1), s = md(t, 3, i.march);
2421
2426
  if (a = e - s, a >= 0) {
2422
2427
  if (a <= 185)
2423
- return o = 1 + zt(a, 31), r = Kn(a, 31) + 1, {
2428
+ return o = 1 + $t(a, 31), r = Kn(a, 31) + 1, {
2424
2429
  jy: n,
2425
2430
  jm: o,
2426
2431
  jd: r
@@ -2428,27 +2433,27 @@ function Oy(e) {
2428
2433
  a -= 186;
2429
2434
  } else
2430
2435
  n -= 1, a += 179, i.leap === 1 && (a += 1);
2431
- return o = 7 + zt(a, 30), r = Kn(a, 30) + 1, {
2436
+ return o = 7 + $t(a, 30), r = Kn(a, 30) + 1, {
2432
2437
  jy: n,
2433
2438
  jm: o,
2434
2439
  jd: r
2435
2440
  };
2436
2441
  }
2437
2442
  function md(e, t, n) {
2438
- let r = zt((e + zt(t - 8, 6) + 100100) * 1461, 4) + zt(153 * Kn(t + 9, 12) + 2, 5) + n - 34840408;
2439
- return r = r - zt(zt(e + 100100 + zt(t - 8, 6), 100) * 3, 4) + 752, r;
2443
+ let r = $t((e + $t(t - 8, 6) + 100100) * 1461, 4) + $t(153 * Kn(t + 9, 12) + 2, 5) + n - 34840408;
2444
+ return r = r - $t($t(e + 100100 + $t(t - 8, 6), 100) * 3, 4) + 752, r;
2440
2445
  }
2441
2446
  function Pv(e) {
2442
2447
  let t = 4 * e + 139361631;
2443
- t = t + zt(zt(4 * e + 183187720, 146097) * 3, 4) * 4 - 3908;
2444
- const n = zt(Kn(t, 1461), 4) * 5 + 308, r = zt(Kn(n, 153), 5) + 1, o = Kn(zt(n, 153), 12) + 1;
2448
+ t = t + $t($t(4 * e + 183187720, 146097) * 3, 4) * 4 - 3908;
2449
+ const n = $t(Kn(t, 1461), 4) * 5 + 308, r = $t(Kn(n, 153), 5) + 1, o = Kn($t(n, 153), 12) + 1;
2445
2450
  return {
2446
- gy: zt(t, 1461) - 100100 + zt(8 - o, 6),
2451
+ gy: $t(t, 1461) - 100100 + $t(8 - o, 6),
2447
2452
  gm: o,
2448
2453
  gd: r
2449
2454
  };
2450
2455
  }
2451
- function zt(e, t) {
2456
+ function $t(e, t) {
2452
2457
  return ~~(e / t);
2453
2458
  }
2454
2459
  function Kn(e, t) {
@@ -3361,7 +3366,7 @@ const Wv = je({
3361
3366
  props: {
3362
3367
  ...Ms,
3363
3368
  ...Ho,
3364
- ...Cn,
3369
+ ...kn,
3365
3370
  modelValue: {
3366
3371
  required: !0,
3367
3372
  validator: (e) => typeof e == "string" || Array.isArray(e) === !0 || Object(e) === e || e === null
@@ -3410,7 +3415,7 @@ const Wv = je({
3410
3415
  "navigation"
3411
3416
  ],
3412
3417
  setup(e, { slots: t, emit: n }) {
3413
- const { proxy: r } = Xe(), { $q: o } = r, a = kn(e, o), { getCache: i } = Dy(), { tabindex: s, headerClass: u, getLocale: l, getCurrentDate: c } = Ov(e, o);
3418
+ const { proxy: r } = Xe(), { $q: o } = r, a = _n(e, o), { getCache: i } = Dy(), { tabindex: s, headerClass: u, getLocale: l, getCurrentDate: c } = Ov(e, o);
3414
3419
  let d;
3415
3420
  const f = Rv(e), h = pu(f), p = X(null), m = X(xt()), v = X(l()), y = _(() => xt()), w = _(() => l()), b = _(() => c()), g = X(oe(m.value, v.value)), x = X(e.defaultView), C = _(() => o.lang.rtl === !0 ? "right" : "left"), S = X(C.value), E = X(C.value), R = g.value.year, k = X(R - R % Or - (R < 0 ? Or : 0)), I = X(null), A = _(() => {
3416
3421
  const N = e.landscape === !0 ? "landscape" : "portrait";
@@ -4007,10 +4012,10 @@ const Wv = je({
4007
4012
  tabindex: s.value,
4008
4013
  ...i("day#" + N.i, {
4009
4014
  onClick: () => {
4010
- qt(N.i);
4015
+ Vt(N.i);
4011
4016
  },
4012
4017
  onMouseover: () => {
4013
- Bt(N.i);
4018
+ Ot(N.i);
4014
4019
  }
4015
4020
  })
4016
4021
  },
@@ -4125,7 +4130,7 @@ const Wv = je({
4125
4130
  ]);
4126
4131
  }
4127
4132
  };
4128
- function qt(N) {
4133
+ function Vt(N) {
4129
4134
  const W = { ...g.value, day: N };
4130
4135
  if (e.range === !1) {
4131
4136
  it(W, ct.value);
@@ -4156,7 +4161,7 @@ const Wv = je({
4156
4161
  });
4157
4162
  }
4158
4163
  }
4159
- function Bt(N) {
4164
+ function Ot(N) {
4160
4165
  if (I.value !== null) {
4161
4166
  const W = { ...g.value, day: N };
4162
4167
  Object.assign(I.value, {
@@ -4491,7 +4496,7 @@ const vb = {
4491
4496
  props: {
4492
4497
  ...uv,
4493
4498
  ...Ci,
4494
- ...Cn,
4499
+ ...kn,
4495
4500
  ...ma,
4496
4501
  persistent: Boolean,
4497
4502
  autoClose: Boolean,
@@ -4535,7 +4540,7 @@ const vb = {
4535
4540
  let o = null, a, i, s;
4536
4541
  const u = Xe(), { proxy: l } = u, { $q: c } = l, d = X(null), f = X(!1), h = _(
4537
4542
  () => e.persistent !== !0 && e.noRouteDismiss !== !0
4538
- ), p = kn(e, c), { registerTick: m, removeTick: v } = ga(), { registerTimeout: y } = Ta(), { transitionProps: w, transitionStyle: b } = id(e), { localScrollTarget: g, changeScrollEvent: x, unconfigureScrollTarget: C } = lv(e, G), { anchorEl: S, canShow: E } = rd({ showing: f }), { hide: R } = _i({
4543
+ ), p = _n(e, c), { registerTick: m, removeTick: v } = ga(), { registerTimeout: y } = Ta(), { transitionProps: w, transitionStyle: b } = id(e), { localScrollTarget: g, changeScrollEvent: x, unconfigureScrollTarget: C } = lv(e, G), { anchorEl: S, canShow: E } = rd({ showing: f }), { hide: R } = _i({
4539
4544
  showing: f,
4540
4545
  canShow: E,
4541
4546
  handleShow: Y,
@@ -4833,7 +4838,7 @@ const ya = td(
4833
4838
  beforeMount(e, { value: t, modifiers: n }) {
4834
4839
  if (n.mouse !== !0 && rn.has.touch !== !0) return;
4835
4840
  function r(a, i) {
4836
- n.mouse === !0 && i === !0 ? It(a) : (n.stop === !0 && Fn(a), n.prevent === !0 && En(a));
4841
+ n.mouse === !0 && i === !0 ? It(a) : (n.stop === !0 && Fn(a), n.prevent === !0 && Rn(a));
4837
4842
  }
4838
4843
  const o = {
4839
4844
  uid: "qvtp_" + xb++,
@@ -4861,7 +4866,7 @@ const ya = td(
4861
4866
  if (rn.is.firefox === !0 && Ku(e, !0), o.lastEvt = a, i === !0 || n.stop === !0) {
4862
4867
  if (o.direction.all !== !0 && (i !== !0 || o.modifiers.mouseAllDir !== !0 && o.modifiers.mousealldir !== !0)) {
4863
4868
  const l = a.type.indexOf("mouse") !== -1 ? new MouseEvent(a.type, a) : new TouchEvent(a.type, a);
4864
- a.defaultPrevented === !0 && En(l), a.cancelBubble === !0 && Fn(l), Object.assign(l, {
4869
+ a.defaultPrevented === !0 && Rn(l), a.cancelBubble === !0 && Fn(l), Object.assign(l, {
4865
4870
  qKeyEvent: a.qKeyEvent,
4866
4871
  qClickOutside: a.qClickOutside,
4867
4872
  qAnchorHandled: a.qAnchorHandled,
@@ -4972,7 +4977,7 @@ function kb() {
4972
4977
  const _b = je({
4973
4978
  name: "QTime",
4974
4979
  props: {
4975
- ...Cn,
4980
+ ...kn,
4976
4981
  ...Ho,
4977
4982
  ...Ms,
4978
4983
  modelValue: {
@@ -5000,7 +5005,7 @@ const _b = je({
5000
5005
  },
5001
5006
  emits: Bv,
5002
5007
  setup(e, { slots: t, emit: n }) {
5003
- const r = Xe(), { $q: o } = r.proxy, a = kn(e, o), { tabindex: i, headerClass: s, getLocale: u, getCurrentDate: l } = Ov(e, o), c = Rv(e), d = pu(c);
5008
+ const r = Xe(), { $q: o } = r.proxy, a = _n(e, o), { tabindex: i, headerClass: s, getLocale: u, getCurrentDate: l } = Ov(e, o), c = Rv(e), d = pu(c);
5004
5009
  let f, h;
5005
5010
  const p = X(null), m = _(() => ue()), v = _(() => u()), y = _(() => ce()), w = pa(
5006
5011
  e.modelValue,
@@ -5423,9 +5428,9 @@ const _b = je({
5423
5428
  }
5424
5429
  });
5425
5430
  let il, Gi = 0;
5426
- const yn = new Array(256);
5431
+ const bn = new Array(256);
5427
5432
  for (let e = 0; e < 256; e++)
5428
- yn[e] = (e + 256).toString(16).substring(1);
5433
+ bn[e] = (e + 256).toString(16).substring(1);
5429
5434
  const Sb = (() => {
5430
5435
  const e = typeof crypto < "u" ? crypto : typeof window < "u" ? window.crypto || window.msCrypto : void 0;
5431
5436
  if (e !== void 0) {
@@ -5447,7 +5452,7 @@ const Sb = (() => {
5447
5452
  function Bs() {
5448
5453
  (il === void 0 || Gi + 16 > mh) && (Gi = 0, il = Sb(mh));
5449
5454
  const e = Array.prototype.slice.call(il, Gi, Gi += 16);
5450
- return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, yn[e[0]] + yn[e[1]] + yn[e[2]] + yn[e[3]] + "-" + yn[e[4]] + yn[e[5]] + "-" + yn[e[6]] + yn[e[7]] + "-" + yn[e[8]] + yn[e[9]] + "-" + yn[e[10]] + yn[e[11]] + yn[e[12]] + yn[e[13]] + yn[e[14]] + yn[e[15]];
5455
+ return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, bn[e[0]] + bn[e[1]] + bn[e[2]] + bn[e[3]] + "-" + bn[e[4]] + bn[e[5]] + "-" + bn[e[6]] + bn[e[7]] + "-" + bn[e[8]] + bn[e[9]] + "-" + bn[e[10]] + bn[e[11]] + bn[e[12]] + bn[e[13]] + bn[e[14]] + bn[e[15]];
5451
5456
  }
5452
5457
  function Eb(e) {
5453
5458
  return e ?? null;
@@ -5458,7 +5463,7 @@ function gh(e, t) {
5458
5463
  function Cd({ getValue: e, required: t = !0 } = {}) {
5459
5464
  if (qo.value === !0) {
5460
5465
  const n = e !== void 0 ? X(Eb(e())) : X(null);
5461
- return t === !0 && n.value === null && vn(() => {
5466
+ return t === !0 && n.value === null && mn(() => {
5462
5467
  n.value = `f_${Bs()}`;
5463
5468
  }), e !== void 0 && me(e, (r) => {
5464
5469
  n.value = gh(r, t);
@@ -5483,7 +5488,7 @@ function Rb() {
5483
5488
  return rv(r), r(), n;
5484
5489
  }
5485
5490
  const Tb = "_q_", Ti = "_q_l_", Qv = "_q_pc_", Zv = "_q_fo_", Jv = "_q_tabs_";
5486
- function fn() {
5491
+ function hn() {
5487
5492
  }
5488
5493
  function Ib({ validate: e, resetValidation: t, requiresQForm: n }) {
5489
5494
  const r = fo(Zv, !1);
@@ -5491,7 +5496,7 @@ function Ib({ validate: e, resetValidation: t, requiresQForm: n }) {
5491
5496
  const { props: o, proxy: a } = Xe();
5492
5497
  Object.assign(a, { validate: e, resetValidation: t }), me(() => o.disable, (i) => {
5493
5498
  i === !0 ? (typeof t == "function" && t(), r.unbindComponent(a)) : r.bindComponent(a);
5494
- }), vn(() => {
5499
+ }), mn(() => {
5495
5500
  o.disable !== !0 && r.bindComponent(a);
5496
5501
  }), At(() => {
5497
5502
  o.disable !== !0 && r.unbindComponent(a);
@@ -5614,7 +5619,7 @@ function Vo(e) {
5614
5619
  return e != null && ("" + e).length !== 0;
5615
5620
  }
5616
5621
  const em = {
5617
- ...Cn,
5622
+ ...kn,
5618
5623
  ...Db,
5619
5624
  label: String,
5620
5625
  stackLabel: Boolean,
@@ -5649,7 +5654,7 @@ const em = {
5649
5654
  maxlength: [Number, String]
5650
5655
  }, gu = ["update:modelValue", "clear", "focus", "blur"];
5651
5656
  function yu({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
5652
- const { props: r, proxy: o } = Xe(), a = kn(r, o.$q), i = Cd({
5657
+ const { props: r, proxy: o } = Xe(), a = _n(r, o.$q), i = Cd({
5653
5658
  required: e,
5654
5659
  getValue: () => r.for
5655
5660
  });
@@ -5773,7 +5778,7 @@ function bu(e) {
5773
5778
  T("div", {
5774
5779
  class: "q-field__prepend q-field__marginal row no-wrap items-center",
5775
5780
  key: "prepend",
5776
- onClick: En
5781
+ onClick: Rn
5777
5782
  }, r.prepend())
5778
5783
  ), P.push(
5779
5784
  T("div", {
@@ -5805,7 +5810,7 @@ function bu(e) {
5805
5810
  T("div", {
5806
5811
  class: "q-field__append q-field__marginal row no-wrap items-center",
5807
5812
  key: "append",
5808
- onClick: En
5813
+ onClick: Rn
5809
5814
  }, r.append())
5810
5815
  ), e.getInnerAppend !== void 0 && P.push(
5811
5816
  z("inner-append", e.getInnerAppend())
@@ -5850,7 +5855,7 @@ function bu(e) {
5850
5855
  }, P);
5851
5856
  return T("div", {
5852
5857
  class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace !== !0 ? "animated" : "stale"),
5853
- onClick: En
5858
+ onClick: Rn
5854
5859
  }, [
5855
5860
  t.hideBottomSpace === !0 ? L : T(jn, { name: "q-transition--field-message" }, () => L),
5856
5861
  Y === !0 ? T("div", {
@@ -5869,7 +5874,7 @@ function bu(e) {
5869
5874
  F = !0;
5870
5875
  }), La(() => {
5871
5876
  F === !0 && t.autofocus === !0 && a.focus();
5872
- }), t.autofocus === !0 && vn(() => {
5877
+ }), t.autofocus === !0 && mn(() => {
5873
5878
  a.focus();
5874
5879
  }), At(() => {
5875
5880
  s !== null && clearTimeout(s);
@@ -5890,7 +5895,7 @@ function bu(e) {
5890
5895
  }, [
5891
5896
  r.before !== void 0 ? T("div", {
5892
5897
  class: "q-field__before q-field__marginal row no-wrap items-center",
5893
- onClick: En
5898
+ onClick: Rn
5894
5899
  }, r.before()) : null,
5895
5900
  T("div", {
5896
5901
  class: "q-field__inner relative-position col self-stretch"
@@ -5905,7 +5910,7 @@ function bu(e) {
5905
5910
  ]),
5906
5911
  r.after !== void 0 ? T("div", {
5907
5912
  class: "q-field__after q-field__marginal row no-wrap items-center",
5908
- onClick: En
5913
+ onClick: Rn
5909
5914
  }, r.after()) : null
5910
5915
  ]);
5911
5916
  };
@@ -6384,7 +6389,7 @@ const $a = je({
6384
6389
  }
6385
6390
  At(() => {
6386
6391
  H();
6387
- }), vn(() => {
6392
+ }), mn(() => {
6388
6393
  e.autogrow === !0 && F();
6389
6394
  }), Object.assign(C, {
6390
6395
  innerValue: h,
@@ -6560,7 +6565,7 @@ const zb = { class: "app-input-new" }, $b = {
6560
6565
  onBlur: d[4] || (d[4] = (f) => r("blur"))
6561
6566
  }, {
6562
6567
  append: pe(() => [
6563
- $t(c.$slots, "append", {}, void 0, !0),
6568
+ Bt(c.$slots, "append", {}, void 0, !0),
6564
6569
  e.type === "password" ? (K(), Ae(St, {
6565
6570
  key: 0,
6566
6571
  name: a.value ? "visibility" : "visibility_off",
@@ -6581,7 +6586,7 @@ const zb = { class: "app-input-new" }, $b = {
6581
6586
  label: "UUID",
6582
6587
  size: "sm",
6583
6588
  class: "q-ml-sm uuid-btn",
6584
- onClick: d[2] || (d[2] = (f) => i.value = An(am)())
6589
+ onClick: d[2] || (d[2] = (f) => i.value = fn(am)())
6585
6590
  })) : We("", !0),
6586
6591
  e.copyable ? (K(), Ae(St, {
6587
6592
  key: 3,
@@ -6593,7 +6598,7 @@ const zb = { class: "app-input-new" }, $b = {
6593
6598
  }, null, 8, ["disable"])) : We("", !0)
6594
6599
  ]),
6595
6600
  default: pe(() => [
6596
- $t(c.$slots, "default", {}, void 0, !0)
6601
+ Bt(c.$slots, "default", {}, void 0, !0)
6597
6602
  ]),
6598
6603
  _: 3
6599
6604
  }, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete", "debounce", "loading", "maxlength", "counter"])
@@ -6973,9 +6978,9 @@ const zb = { class: "app-input-new" }, $b = {
6973
6978
  }, zD = /* @__PURE__ */ De(Qb, [["__cssModules", Jb]]), e2 = je({
6974
6979
  name: "QPageContainer",
6975
6980
  setup(e, { slots: t }) {
6976
- const { proxy: { $q: n } } = Xe(), r = fo(Ti, fn);
6977
- if (r === fn)
6978
- return console.error("QPageContainer needs to be child of QLayout"), fn;
6981
+ const { proxy: { $q: n } } = Xe(), r = fo(Ti, hn);
6982
+ if (r === hn)
6983
+ return console.error("QPageContainer needs to be child of QLayout"), hn;
6979
6984
  su(Qv, !0);
6980
6985
  const o = _(() => {
6981
6986
  const a = {};
@@ -7046,7 +7051,7 @@ const zb = { class: "app-input-new" }, $b = {
7046
7051
  }
7047
7052
  }
7048
7053
  const { proxy: c } = Xe();
7049
- return me(() => c.$q.lang.rtl, i), vn(() => {
7054
+ return me(() => c.$q.lang.rtl, i), mn(() => {
7050
7055
  a = c.$el.parentNode, s();
7051
7056
  }), At(() => {
7052
7057
  r == null || r(), u();
@@ -7058,7 +7063,7 @@ const zb = { class: "app-input-new" }, $b = {
7058
7063
  });
7059
7064
  function n2() {
7060
7065
  const e = X(!qo.value);
7061
- return e.value === !1 && vn(() => {
7066
+ return e.value === !1 && mn(() => {
7062
7067
  e.value = !0;
7063
7068
  }), { isHydrated: e };
7064
7069
  }
@@ -7093,7 +7098,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7093
7098
  l(!0);
7094
7099
  });
7095
7100
  };
7096
- return vn(() => {
7101
+ return mn(() => {
7097
7102
  l();
7098
7103
  }), At(() => {
7099
7104
  n !== null && clearTimeout(n), u !== void 0 && (u.disconnect !== void 0 ? u.disconnect() : r && u.unobserve(r));
@@ -7106,7 +7111,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7106
7111
  };
7107
7112
  const { isHydrated: c } = n2();
7108
7113
  let d;
7109
- return vn(() => {
7114
+ return mn(() => {
7110
7115
  Ct(() => {
7111
7116
  r = s.$el, r && l();
7112
7117
  });
@@ -7296,7 +7301,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7296
7301
  i.observe(a), At(() => i.disconnect());
7297
7302
  });
7298
7303
  }
7299
- return vn(() => {
7304
+ return mn(() => {
7300
7305
  o();
7301
7306
  }), (a, i) => (K(), Ae(r2, {
7302
7307
  class: Ue(a.$style.layout),
@@ -7314,8 +7319,8 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7314
7319
  backdrop: !0
7315
7320
  }, null, 8, ["loading"])
7316
7321
  ], 2)) : We("", !0),
7317
- $t(a.$slots, "drawer"),
7318
- $t(a.$slots, "header", {
7322
+ Bt(a.$slots, "drawer"),
7323
+ Bt(a.$slots, "header", {
7319
7324
  style: Wr(r.value)
7320
7325
  }),
7321
7326
  xe(e2, {
@@ -7323,13 +7328,13 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7323
7328
  onWheel: n
7324
7329
  }, {
7325
7330
  default: pe(() => [
7326
- $t(a.$slots, "content", {
7331
+ Bt(a.$slots, "content", {
7327
7332
  style: Wr(r.value)
7328
7333
  })
7329
7334
  ]),
7330
7335
  _: 3
7331
7336
  }, 8, ["class"]),
7332
- $t(a.$slots, "footer")
7337
+ Bt(a.$slots, "footer")
7333
7338
  ]),
7334
7339
  _: 3
7335
7340
  }, 8, ["class"]));
@@ -7353,7 +7358,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7353
7358
  }, Os = je({
7354
7359
  name: "QSeparator",
7355
7360
  props: {
7356
- ...Cn,
7361
+ ...kn,
7357
7362
  spaced: [Boolean, String],
7358
7363
  inset: [Boolean, String],
7359
7364
  vertical: Boolean,
@@ -7361,7 +7366,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7361
7366
  size: String
7362
7367
  },
7363
7368
  setup(e) {
7364
- const t = Xe(), n = kn(e, t.proxy.$q), r = _(() => e.vertical === !0 ? "vertical" : "horizontal"), o = _(() => ` q-separator--${r.value}`), a = _(() => e.inset !== !1 ? `${o.value}-${c2[e.inset]}` : ""), i = _(
7369
+ const t = Xe(), n = _n(e, t.proxy.$q), r = _(() => e.vertical === !0 ? "vertical" : "horizontal"), o = _(() => ` q-separator--${r.value}`), a = _(() => e.inset !== !1 ? `${o.value}-${c2[e.inset]}` : ""), i = _(
7365
7370
  () => `q-separator${o.value}${a.value}` + (e.color !== void 0 ? ` bg-${e.color}` : "") + (n.value === !0 ? " q-separator--dark" : "")
7366
7371
  ), s = _(() => {
7367
7372
  const u = {};
@@ -7380,7 +7385,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7380
7385
  }), Nn = je({
7381
7386
  name: "QItem",
7382
7387
  props: {
7383
- ...Cn,
7388
+ ...kn,
7384
7389
  ...hd,
7385
7390
  tag: {
7386
7391
  type: String,
@@ -7399,7 +7404,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7399
7404
  },
7400
7405
  emits: ["click", "keyup"],
7401
7406
  setup(e, { slots: t, emit: n }) {
7402
- const { proxy: { $q: r } } = Xe(), o = kn(e, r), { hasLink: a, linkAttrs: i, linkClass: s, linkTag: u, navigateOnClick: l } = _v(), c = X(null), d = X(null), f = _(
7407
+ const { proxy: { $q: r } } = Xe(), o = _n(e, r), { hasLink: a, linkAttrs: i, linkClass: s, linkTag: u, navigateOnClick: l } = _v(), c = X(null), d = X(null), f = _(
7403
7408
  () => e.clickable === !0 || a.value === !0 || e.tag === "label"
7404
7409
  ), h = _(
7405
7410
  () => e.disable !== !0 && f.value === !0
@@ -7444,7 +7449,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7444
7449
  }), d2 = ["ul", "ol"], Sd = je({
7445
7450
  name: "QList",
7446
7451
  props: {
7447
- ...Cn,
7452
+ ...kn,
7448
7453
  bordered: Boolean,
7449
7454
  dense: Boolean,
7450
7455
  separator: Boolean,
@@ -7455,7 +7460,7 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7455
7460
  }
7456
7461
  },
7457
7462
  setup(e, { slots: t }) {
7458
- const n = Xe(), r = kn(e, n.proxy.$q), o = _(
7463
+ const n = Xe(), r = _n(e, n.proxy.$q), o = _(
7459
7464
  () => d2.includes(e.tag) ? null : "list"
7460
7465
  ), a = _(
7461
7466
  () => "q-list" + (e.bordered === !0 ? " q-list--bordered" : "") + (e.dense === !0 ? " q-list--dense" : "") + (e.separator === !0 ? " q-list--separator" : "") + (r.value === !0 ? " q-list--dark" : "") + (e.padding === !0 ? " q-list--padding" : "")
@@ -7494,9 +7499,9 @@ const um = typeof ResizeObserver < "u", Eh = um === !0 ? {} : {
7494
7499
  },
7495
7500
  emits: ["reveal", "focusin"],
7496
7501
  setup(e, { slots: t, emit: n }) {
7497
- const { proxy: { $q: r } } = Xe(), o = fo(Ti, fn);
7498
- if (o === fn)
7499
- return console.error("QHeader needs to be child of QLayout"), fn;
7502
+ const { proxy: { $q: r } } = Xe(), o = fo(Ti, hn);
7503
+ if (o === hn)
7504
+ return console.error("QHeader needs to be child of QLayout"), hn;
7500
7505
  const a = X(parseInt(e.heightHint, 10)), i = X(!0), s = _(
7501
7506
  () => e.reveal === !0 || o.view.value.indexOf("H") !== -1 || r.platform.is.ios && o.isContainer.value === !0
7502
7507
  ), u = _(() => {
@@ -7603,7 +7608,7 @@ function p2(e) {
7603
7608
  return p1() ? (v1(e), !0) : !1;
7604
7609
  }
7605
7610
  function lm(e) {
7606
- return typeof e == "function" ? e() : An(e);
7611
+ return typeof e == "function" ? e() : fn(e);
7607
7612
  }
7608
7613
  const cm = typeof window < "u" && typeof document < "u";
7609
7614
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -8694,11 +8699,11 @@ const jx = /* @__PURE__ */ De(Wx, [["render", Ux]]), Gx = /* @__PURE__ */ Dt({
8694
8699
  styleFn: Function
8695
8700
  },
8696
8701
  setup(e, { slots: t }) {
8697
- const { proxy: { $q: n } } = Xe(), r = fo(Ti, fn);
8698
- if (r === fn)
8699
- return console.error("QPage needs to be a deep child of QLayout"), fn;
8700
- if (fo(Qv, fn) === fn)
8701
- return console.error("QPage needs to be child of QPageContainer"), fn;
8702
+ const { proxy: { $q: n } } = Xe(), r = fo(Ti, hn);
8703
+ if (r === hn)
8704
+ return console.error("QPage needs to be a deep child of QLayout"), hn;
8705
+ if (fo(Qv, hn) === hn)
8706
+ return console.error("QPage needs to be child of QPageContainer"), hn;
8702
8707
  const a = _(() => {
8703
8708
  const s = (r.header.space === !0 ? r.header.size : 0) + (r.footer.space === !0 ? r.footer.size : 0);
8704
8709
  if (typeof e.styleFn == "function") {
@@ -8720,7 +8725,7 @@ const jx = /* @__PURE__ */ De(Wx, [["render", Ux]]), Gx = /* @__PURE__ */ Dt({
8720
8725
  function dC(e, t) {
8721
8726
  return K(), Ae(lC, { class: "page-container" }, {
8722
8727
  default: pe(() => [
8723
- $t(e.$slots, "default", {}, void 0, !0)
8728
+ Bt(e.$slots, "default", {}, void 0, !0)
8724
8729
  ]),
8725
8730
  _: 3
8726
8731
  });
@@ -8734,7 +8739,7 @@ const HD = /* @__PURE__ */ De(cC, [["render", dC], ["__scopeId", "data-v-51e4160
8734
8739
  }, wu = je({
8735
8740
  name: "QChip",
8736
8741
  props: {
8737
- ...Cn,
8742
+ ...kn,
8738
8743
  ...Va,
8739
8744
  dense: Boolean,
8740
8745
  icon: String,
@@ -8766,7 +8771,7 @@ const HD = /* @__PURE__ */ De(cC, [["render", dC], ["__scopeId", "data-v-51e4160
8766
8771
  },
8767
8772
  emits: ["update:modelValue", "update:selected", "remove", "click"],
8768
8773
  setup(e, { slots: t, emit: n }) {
8769
- const { proxy: { $q: r } } = Xe(), o = kn(e, r), a = za(e, fC), i = _(() => e.selected === !0 || e.icon !== void 0), s = _(() => e.selected === !0 ? e.iconSelected || r.iconSet.chip.selected : e.icon), u = _(() => e.iconRemove || r.iconSet.chip.remove), l = _(
8774
+ const { proxy: { $q: r } } = Xe(), o = _n(e, r), a = za(e, fC), i = _(() => e.selected === !0 || e.icon !== void 0), s = _(() => e.selected === !0 ? e.iconSelected || r.iconSet.chip.selected : e.icon), u = _(() => e.iconRemove || r.iconSet.chip.remove), l = _(
8770
8775
  () => e.disable === !1 && (e.clickable === !0 || e.selected !== null)
8771
8776
  ), c = _(() => {
8772
8777
  const v = e.outline === !0 && e.color || e.textColor;
@@ -8855,7 +8860,7 @@ const HD = /* @__PURE__ */ De(cC, [["render", dC], ["__scopeId", "data-v-51e4160
8855
8860
  yu({ tagProp: !0 })
8856
8861
  );
8857
8862
  }
8858
- }), hn = je({
8863
+ }), pn = je({
8859
8864
  name: "QItemSection",
8860
8865
  props: {
8861
8866
  avatar: Boolean,
@@ -9383,8 +9388,8 @@ const Rd = je({
9383
9388
  }), L = yu(), V = _(() => {
9384
9389
  const U = e.mapOptions === !0 && e.multiple !== !0, Se = e.modelValue !== void 0 && (e.modelValue !== null || U === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
9385
9390
  if (e.mapOptions === !0 && Array.isArray(e.options) === !0) {
9386
- const Te = e.mapOptions === !0 && h !== void 0 ? h : [], ht = Se.map((Ot) => Ve(Ot, Te));
9387
- return e.modelValue === null && U === !0 ? ht.filter((Ot) => Ot !== null) : ht;
9391
+ const Te = e.mapOptions === !0 && h !== void 0 ? h : [], ht = Se.map((Nt) => Ve(Nt, Te));
9392
+ return e.modelValue === null && U === !0 ? ht.filter((Nt) => Nt !== null) : ht;
9388
9393
  }
9389
9394
  return Se;
9390
9395
  }), G = _(() => {
@@ -9428,27 +9433,27 @@ const Rd = je({
9428
9433
  return [];
9429
9434
  const { from: U, to: Se } = D.value;
9430
9435
  return e.options.slice(U, Se).map((Te, ht) => {
9431
- const Ot = ve.value(Te) === !0, Yt = Ye(Te) === !0, Nt = U + ht, Xt = {
9436
+ const Nt = ve.value(Te) === !0, Yt = Ye(Te) === !0, Lt = U + ht, Xt = {
9432
9437
  clickable: !0,
9433
9438
  active: Yt,
9434
9439
  activeClass: Ft.value,
9435
9440
  manualFocus: !0,
9436
9441
  focused: !1,
9437
- disable: Ot,
9442
+ disable: Nt,
9438
9443
  tabindex: -1,
9439
9444
  dense: e.optionsDense,
9440
9445
  dark: ne.value,
9441
9446
  role: "option",
9442
9447
  "aria-selected": Yt === !0 ? "true" : "false",
9443
- id: `${L.targetUid.value}_${Nt}`,
9448
+ id: `${L.targetUid.value}_${Lt}`,
9444
9449
  onClick: () => {
9445
9450
  Tt(Te);
9446
9451
  }
9447
9452
  };
9448
- return Ot !== !0 && (s.value === Nt && (Xt.focused = !0), o.platform.is.desktop === !0 && (Xt.onMousemove = () => {
9449
- a.value === !0 && oe(Nt);
9453
+ return Nt !== !0 && (s.value === Lt && (Xt.focused = !0), o.platform.is.desktop === !0 && (Xt.onMousemove = () => {
9454
+ a.value === !0 && oe(Lt);
9450
9455
  })), {
9451
- index: Nt,
9456
+ index: Lt,
9452
9457
  opt: Te,
9453
9458
  html: ye.value(Te),
9454
9459
  label: J.value(Te),
@@ -9527,17 +9532,17 @@ const Rd = je({
9527
9532
  return;
9528
9533
  }
9529
9534
  if ((p !== !0 || l.value === !0) && L.focus(), at(), V.value.length === 0) {
9530
- const Nt = e.emitValue === !0 ? Te : U;
9531
- n("add", { index: 0, value: Nt }), n("update:modelValue", e.multiple === !0 ? [Nt] : Nt);
9535
+ const Lt = e.emitValue === !0 ? Te : U;
9536
+ n("add", { index: 0, value: Lt }), n("update:modelValue", e.multiple === !0 ? [Lt] : Lt);
9532
9537
  return;
9533
9538
  }
9534
- const ht = e.modelValue.slice(), Ot = Pe.value.findIndex((Nt) => ro(Nt, Te));
9535
- if (Ot !== -1)
9536
- n("remove", { index: Ot, value: ht.splice(Ot, 1)[0] });
9539
+ const ht = e.modelValue.slice(), Nt = Pe.value.findIndex((Lt) => ro(Lt, Te));
9540
+ if (Nt !== -1)
9541
+ n("remove", { index: Nt, value: ht.splice(Nt, 1)[0] });
9537
9542
  else {
9538
9543
  if (e.maxValues !== void 0 && ht.length >= e.maxValues) return;
9539
- const Nt = e.emitValue === !0 ? Te : U;
9540
- n("add", { index: ht.length, value: Nt }), ht.push(Nt);
9544
+ const Lt = e.emitValue === !0 ? Te : U;
9545
+ n("add", { index: ht.length, value: Lt }), ht.push(Lt);
9541
9546
  }
9542
9547
  n("update:modelValue", ht);
9543
9548
  }
@@ -9584,12 +9589,12 @@ const Rd = je({
9584
9589
  }
9585
9590
  if (U.target.value = "", d !== null && (clearTimeout(d), d = null), f !== null && (clearTimeout(f), f = null), tr(), typeof Se == "string" && Se.length !== 0) {
9586
9591
  const Te = Se.toLocaleLowerCase(), ht = (Yt) => {
9587
- const Nt = e.options.find((Xt) => String(Yt.value(Xt)).toLocaleLowerCase() === Te);
9588
- return Nt === void 0 ? !1 : (V.value.indexOf(Nt) === -1 ? Tt(Nt) : bt(), !0);
9589
- }, Ot = (Yt) => {
9590
- ht(se) !== !0 && Yt !== !0 && ht(J) !== !0 && $e(Se, !0, () => Ot(!0));
9592
+ const Lt = e.options.find((Xt) => String(Yt.value(Xt)).toLocaleLowerCase() === Te);
9593
+ return Lt === void 0 ? !1 : (V.value.indexOf(Lt) === -1 ? Tt(Lt) : bt(), !0);
9594
+ }, Nt = (Yt) => {
9595
+ ht(se) !== !0 && Yt !== !0 && ht(J) !== !0 && $e(Se, !0, () => Nt(!0));
9591
9596
  };
9592
- Ot();
9597
+ Nt();
9593
9598
  } else
9594
9599
  L.clearValue(U);
9595
9600
  }
@@ -9600,7 +9605,7 @@ const Rd = je({
9600
9605
  if (n("keydown", U), cu(U) === !0) return;
9601
9606
  const Se = u.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), Te = U.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (s.value !== -1 || Se === !0);
9602
9607
  if (U.keyCode === 27) {
9603
- En(U);
9608
+ Rn(U);
9604
9609
  return;
9605
9610
  }
9606
9611
  if (U.keyCode === 9 && Te === !1) {
@@ -9626,14 +9631,14 @@ const Rd = je({
9626
9631
  const ht = A.value;
9627
9632
  if ((b === void 0 || g < Date.now()) && (b = ""), ht > 0 && e.useInput !== !0 && U.key !== void 0 && U.key.length === 1 && U.altKey === !1 && U.ctrlKey === !1 && U.metaKey === !1 && (U.keyCode !== 32 || b.length !== 0)) {
9628
9633
  a.value !== !0 && Ze(U);
9629
- const Ot = U.key.toLocaleLowerCase(), Yt = b.length === 1 && b[0] === Ot;
9630
- g = Date.now() + 1500, Yt === !1 && (It(U), b += Ot);
9631
- const Nt = new RegExp("^" + b.split("").map((Zo) => mC.indexOf(Zo) !== -1 ? "\\" + Zo : Zo).join(".*"), "i");
9634
+ const Nt = U.key.toLocaleLowerCase(), Yt = b.length === 1 && b[0] === Nt;
9635
+ g = Date.now() + 1500, Yt === !1 && (It(U), b += Nt);
9636
+ const Lt = new RegExp("^" + b.split("").map((Zo) => mC.indexOf(Zo) !== -1 ? "\\" + Zo : Zo).join(".*"), "i");
9632
9637
  let Xt = s.value;
9633
- if (Yt === !0 || Xt < 0 || Nt.test(J.value(e.options[Xt])) !== !0)
9638
+ if (Yt === !0 || Xt < 0 || Lt.test(J.value(e.options[Xt])) !== !0)
9634
9639
  do
9635
9640
  Xt = rh(Xt + 1, -1, ht - 1);
9636
- while (Xt !== s.value && (ve.value(e.options[Xt]) === !0 || Nt.test(J.value(e.options[Xt])) !== !0));
9641
+ while (Xt !== s.value && (ve.value(e.options[Xt]) === !0 || Lt.test(J.value(e.options[Xt])) !== !0));
9637
9642
  s.value !== Xt && Ct(() => {
9638
9643
  oe(Xt), H(Xt), Xt >= 0 && e.useInput === !0 && e.fillInput === !0 && ke(J.value(e.options[Xt]), !0);
9639
9644
  });
@@ -9645,16 +9650,16 @@ const Rd = je({
9645
9650
  return;
9646
9651
  }
9647
9652
  if (Se === !0) {
9648
- const Ot = (Yt, Nt) => {
9653
+ const Nt = (Yt, Lt) => {
9649
9654
  var Zo;
9650
- if (Nt) {
9651
- if (Ah(Nt) !== !0) return;
9655
+ if (Lt) {
9656
+ if (Ah(Lt) !== !0) return;
9652
9657
  } else
9653
- Nt = e.newValueMode;
9658
+ Lt = e.newValueMode;
9654
9659
  if (He("", e.multiple !== !0, !0), Yt == null) return;
9655
- (Nt === "toggle" ? Tt : xt)(Yt, Nt === "add-unique"), e.multiple !== !0 && ((Zo = C.value) == null || Zo.focus(), bt());
9660
+ (Lt === "toggle" ? Tt : xt)(Yt, Lt === "add-unique"), e.multiple !== !0 && ((Zo = C.value) == null || Zo.focus(), bt());
9656
9661
  };
9657
- if (e.onNewValue !== void 0 ? n("newValue", u.value, Ot) : Ot(u.value), e.multiple !== !0) return;
9662
+ if (e.onNewValue !== void 0 ? n("newValue", u.value, Nt) : Nt(u.value), e.multiple !== !0) return;
9658
9663
  }
9659
9664
  a.value === !0 ? Ie() : L.innerLoading.value !== !0 && Ze();
9660
9665
  }
@@ -9692,7 +9697,7 @@ const Rd = je({
9692
9697
  key: Te.index,
9693
9698
  ...Te.itemProps
9694
9699
  }, () => T(
9695
- hn,
9700
+ pn,
9696
9701
  () => T(
9697
9702
  kc,
9698
9703
  () => T("span", {
@@ -9745,8 +9750,8 @@ const Rd = je({
9745
9750
  v !== null && clearTimeout(v), v = ht, n(
9746
9751
  "filter",
9747
9752
  U,
9748
- (Ot, Yt) => {
9749
- (Se === !0 || L.focused.value === !0) && v === ht && (clearTimeout(v), typeof Ot == "function" && Ot(), c.value = !1, Ct(() => {
9753
+ (Nt, Yt) => {
9754
+ (Se === !0 || L.focused.value === !0) && v === ht && (clearTimeout(v), typeof Nt == "function" && Nt(), c.value = !1, Ct(() => {
9750
9755
  L.innerLoading.value = !1, L.editable.value === !0 && (Se === !0 ? a.value === !0 && bt() : a.value === !0 ? Gu(!0) : a.value = !0), typeof Yt == "function" && Ct(() => {
9751
9756
  Yt(r);
9752
9757
  }), typeof Te == "function" && Ct(() => {
@@ -9783,14 +9788,14 @@ const Rd = je({
9783
9788
  ...tt.value,
9784
9789
  onScrollPassive: P,
9785
9790
  onBeforeShow: Of,
9786
- onBeforeHide: qt,
9787
- onShow: Bt
9791
+ onBeforeHide: Vt,
9792
+ onShow: Ot
9788
9793
  }, ur);
9789
9794
  }
9790
- function qt(U) {
9795
+ function Vt(U) {
9791
9796
  Nf(U), Ie();
9792
9797
  }
9793
- function Bt() {
9798
+ function Ot() {
9794
9799
  Y();
9795
9800
  }
9796
9801
  function N(U) {
@@ -9830,7 +9835,7 @@ const Rd = je({
9830
9835
  class: le.value + " scroll",
9831
9836
  style: e.popupContentStyle,
9832
9837
  ...tt.value,
9833
- onClick: En,
9838
+ onClick: Rn,
9834
9839
  onScrollPassive: P
9835
9840
  }, ur())
9836
9841
  ), T(Uo, {
@@ -9954,7 +9959,7 @@ const Rd = je({
9954
9959
  },
9955
9960
  onClick(U) {
9956
9961
  var Se;
9957
- if (En(U), p !== !0 && a.value === !0) {
9962
+ if (Rn(U), p !== !0 && a.value === !0) {
9958
9963
  Ie(), (Se = C.value) == null || Se.focus();
9959
9964
  return;
9960
9965
  }
@@ -9966,7 +9971,7 @@ const Rd = je({
9966
9971
  if (e.useInput === !0)
9967
9972
  Se.push(bo(U, Te));
9968
9973
  else if (L.editable.value === !0) {
9969
- const Ot = Te === !0 ? et.value : void 0;
9974
+ const Nt = Te === !0 ? et.value : void 0;
9970
9975
  Se.push(
9971
9976
  T("input", {
9972
9977
  ref: Te === !0 ? C : void 0,
@@ -9976,7 +9981,7 @@ const Rd = je({
9976
9981
  value: ze.value,
9977
9982
  readonly: !0,
9978
9983
  "data-autofocus": U === !0 || e.autofocus === !0 || void 0,
9979
- ...Ot,
9984
+ ...Nt,
9980
9985
  onKeydown: Gt,
9981
9986
  onKeyup: cn,
9982
9987
  onKeypress: Pt
@@ -9991,13 +9996,13 @@ const Rd = je({
9991
9996
  );
9992
9997
  }
9993
9998
  if (k.value !== void 0 && e.disable !== !0 && Pe.value.length !== 0) {
9994
- const Ot = Pe.value.map((Yt) => T("option", { value: Yt, selected: !0 }));
9999
+ const Nt = Pe.value.map((Yt) => T("option", { value: Yt, selected: !0 }));
9995
10000
  Se.push(
9996
10001
  T("select", {
9997
10002
  class: "hidden",
9998
10003
  name: k.value,
9999
10004
  multiple: e.multiple
10000
- }, Ot)
10005
+ }, Nt)
10001
10006
  );
10002
10007
  }
10003
10008
  const ht = e.useInput === !0 || Te !== !0 ? void 0 : L.splitAttrs.attributes.value;
@@ -10050,7 +10055,7 @@ const Rd = je({
10050
10055
  s.value = c.toLowerCase();
10051
10056
  });
10052
10057
  }
10053
- return (c, d) => (K(), Ae(An(Rd), {
10058
+ return (c, d) => (K(), Ae(fn(Rd), {
10054
10059
  ref_key: "select",
10055
10060
  ref: r,
10056
10061
  modelValue: a.value,
@@ -10144,7 +10149,7 @@ const Rd = je({
10144
10149
  }), xu = je({
10145
10150
  name: "QCard",
10146
10151
  props: {
10147
- ...Cn,
10152
+ ...kn,
10148
10153
  tag: {
10149
10154
  type: String,
10150
10155
  default: "div"
@@ -10154,7 +10159,7 @@ const Rd = je({
10154
10159
  bordered: Boolean
10155
10160
  },
10156
10161
  setup(e, { slots: t }) {
10157
- const { proxy: { $q: n } } = Xe(), r = kn(e, n), o = _(
10162
+ const { proxy: { $q: n } } = Xe(), r = _n(e, n), o = _(
10158
10163
  () => "q-card" + (r.value === !0 ? " q-card--dark q-dark" : "") + (e.bordered === !0 ? " q-card--bordered" : "") + (e.square === !0 ? " q-card--square no-border-radius" : "") + (e.flat === !0 ? " q-card--flat no-shadow" : "")
10159
10164
  );
10160
10165
  return () => T(e.tag, { class: o.value }, kt(t.default));
@@ -10224,7 +10229,7 @@ const Rd = je({
10224
10229
  thickness: 3,
10225
10230
  color: "primary"
10226
10231
  })) : We("", !0)
10227
- ])) : $t(a.$slots, "default", { key: 1 }, void 0, !0)
10232
+ ])) : Bt(a.$slots, "default", { key: 1 }, void 0, !0)
10228
10233
  ])
10229
10234
  ]),
10230
10235
  _: 3
@@ -10240,7 +10245,7 @@ const Rd = je({
10240
10245
  color: "primary"
10241
10246
  })) : We("", !0)
10242
10247
  ])
10243
- ])) : $t(a.$slots, "default", { key: 1 }, void 0, !0)
10248
+ ])) : Bt(a.$slots, "default", { key: 1 }, void 0, !0)
10244
10249
  ], 64)) : We("", !0)
10245
10250
  ]),
10246
10251
  _: 3
@@ -10271,9 +10276,9 @@ const PC = ["click", "keydown"], BC = {
10271
10276
  }
10272
10277
  };
10273
10278
  function OC(e, t, n, r) {
10274
- const o = fo(Jv, fn);
10275
- if (o === fn)
10276
- return console.error("QTab/QRouteTab component needs to be child of QTabs"), fn;
10279
+ const o = fo(Jv, hn);
10280
+ if (o === hn)
10281
+ return console.error("QTab/QRouteTab component needs to be child of QTabs"), hn;
10277
10282
  const { proxy: a } = Xe(), i = X(null), s = X(null), u = X(null), l = _(() => e.disable === !0 || e.ripple === !1 ? !1 : Object.assign(
10278
10283
  { keyCodes: [13, 32], early: !0 },
10279
10284
  e.ripple === !0 ? {} : e.ripple
@@ -10330,7 +10335,7 @@ function OC(e, t, n, r) {
10330
10335
  };
10331
10336
  At(() => {
10332
10337
  o.unregisterTab(y);
10333
- }), vn(() => {
10338
+ }), mn(() => {
10334
10339
  o.registerTab(y);
10335
10340
  });
10336
10341
  function w(b, g) {
@@ -10699,7 +10704,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
10699
10704
  r("update:dialogRef", s);
10700
10705
  }
10701
10706
  });
10702
- return (s, u) => (K(), Ae(An(Uo), {
10707
+ return (s, u) => (K(), Ae(fn(Uo), {
10703
10708
  ref_key: "DialogRef",
10704
10709
  ref: i,
10705
10710
  "model-value": e.modelValue,
@@ -10777,9 +10782,9 @@ const qC = ["left", "center", "right", "justify"], VC = je({
10777
10782
  [Ed, !e.persistent]
10778
10783
  ])
10779
10784
  ])) : We("", !0),
10780
- $t(s.$slots, "default", {}, void 0, !0),
10781
- "actions" in An(o) ? (K(), ge("div", jC, [
10782
- $t(s.$slots, "actions", {}, void 0, !0)
10785
+ Bt(s.$slots, "default", {}, void 0, !0),
10786
+ "actions" in fn(o) ? (K(), ge("div", jC, [
10787
+ Bt(s.$slots, "actions", {}, void 0, !0)
10783
10788
  ])) : We("", !0)
10784
10789
  ])
10785
10790
  ], 4))
@@ -10798,7 +10803,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
10798
10803
  inheritAttrs: !1,
10799
10804
  props: {
10800
10805
  ...Ci,
10801
- ...Cn,
10806
+ ...kn,
10802
10807
  side: {
10803
10808
  type: String,
10804
10809
  default: "left",
@@ -10839,9 +10844,9 @@ const qC = ["left", "center", "right", "justify"], VC = je({
10839
10844
  "miniState"
10840
10845
  ],
10841
10846
  setup(e, { slots: t, emit: n, attrs: r }) {
10842
- const o = Xe(), { proxy: { $q: a } } = o, i = kn(e, a), { preventBodyScroll: s } = Uv(), { registerTimeout: u, removeTimeout: l } = Ta(), c = fo(Ti, fn);
10843
- if (c === fn)
10844
- return console.error("QDrawer needs to be child of QLayout"), fn;
10847
+ const o = Xe(), { proxy: { $q: a } } = o, i = _n(e, a), { preventBodyScroll: s } = Uv(), { registerTimeout: u, removeTimeout: l } = Ta(), c = fo(Ti, hn);
10848
+ if (c === hn)
10849
+ return console.error("QDrawer needs to be child of QLayout"), hn;
10845
10850
  let d, f = null, h;
10846
10851
  const p = X(
10847
10852
  e.behavior === "mobile" || e.behavior !== "desktop" && c.totalWidth.value <= e.breakpoint
@@ -11027,7 +11032,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11027
11032
  function Ft(se, J) {
11028
11033
  gt("size", se === !0 ? e.miniWidth : J);
11029
11034
  }
11030
- return c.instances[e.side] = S, Ft(e.miniToOverlay, v.value), gt("space", F.value), gt("offset", O.value), e.showIfAbove === !0 && e.modelValue !== !0 && y.value === !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", !0), vn(() => {
11035
+ return c.instances[e.side] = S, Ft(e.miniToOverlay, v.value), gt("space", F.value), gt("offset", O.value), e.showIfAbove === !0 && e.modelValue !== !0 && y.value === !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", !0), mn(() => {
11031
11036
  n("onLayout", F.value), n("miniState", m.value), d = e.showIfAbove === !0;
11032
11037
  const se = () => {
11033
11038
  (y.value === !0 ? b : g)(!1, !0);
@@ -11150,7 +11155,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11150
11155
  props: {
11151
11156
  ...hd,
11152
11157
  ...Ci,
11153
- ...Cn,
11158
+ ...kn,
11154
11159
  icon: String,
11155
11160
  label: String,
11156
11161
  labelLines: [Number, String],
@@ -11182,7 +11187,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11182
11187
  "afterHide"
11183
11188
  ],
11184
11189
  setup(e, { slots: t, emit: n }) {
11185
- const { proxy: { $q: r } } = Xe(), o = kn(e, r), a = X(
11190
+ const { proxy: { $q: r } } = Xe(), o = _n(e, r), a = X(
11186
11191
  e.modelValue !== null ? e.modelValue : e.defaultOpened
11187
11192
  ), i = X(null), s = Cd(), { show: u, hide: l, toggle: c } = _i({ showing: a });
11188
11193
  let d, f;
@@ -11274,17 +11279,17 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11274
11279
  class: "q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",
11275
11280
  tabindex: -1
11276
11281
  })
11277
- )), T(hn, F, () => P);
11282
+ )), T(pn, F, () => P);
11278
11283
  }
11279
11284
  function q() {
11280
11285
  let F;
11281
11286
  return t.header !== void 0 ? F = [].concat(t.header(g.value)) : (F = [
11282
- T(hn, () => [
11287
+ T(pn, () => [
11283
11288
  T(kc, { lines: e.labelLines }, () => e.label || ""),
11284
11289
  e.caption ? T(kc, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
11285
11290
  ])
11286
11291
  ], e.icon && F[e.switchToggleSide === !0 ? "push" : "unshift"](
11287
- T(hn, {
11292
+ T(pn, {
11288
11293
  side: e.switchToggleSide === !0,
11289
11294
  avatar: e.switchToggleSide !== !0
11290
11295
  }, () => T(St, { name: e.icon }))
@@ -11385,7 +11390,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11385
11390
  ]),
11386
11391
  _: 1
11387
11392
  })) : We("", !0),
11388
- e.item.icon ? (K(), Ae(hn, {
11393
+ e.item.icon ? (K(), Ae(pn, {
11389
11394
  key: 1,
11390
11395
  avatar: ""
11391
11396
  }, {
@@ -11398,7 +11403,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11398
11403
  ]),
11399
11404
  _: 1
11400
11405
  })) : We("", !0),
11401
- xe(hn, {
11406
+ xe(pn, {
11402
11407
  class: Ue(a.$style["menu-item__label"])
11403
11408
  }, {
11404
11409
  default: pe(() => [
@@ -11427,7 +11432,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11427
11432
  onClick: i[1] || (i[1] = (u) => o(e.item.to))
11428
11433
  }, {
11429
11434
  default: pe(() => [
11430
- e.item.icon ? (K(), Ae(hn, {
11435
+ e.item.icon ? (K(), Ae(pn, {
11431
11436
  key: 0,
11432
11437
  avatar: ""
11433
11438
  }, {
@@ -11440,7 +11445,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11440
11445
  ]),
11441
11446
  _: 1
11442
11447
  })) : We("", !0),
11443
- xe(hn, {
11448
+ xe(pn, {
11444
11449
  class: Ue(a.$style["menu-item__label"])
11445
11450
  }, {
11446
11451
  default: pe(() => [
@@ -11544,7 +11549,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11544
11549
  class: Ue(p.$style["tablet-logo"])
11545
11550
  }, {
11546
11551
  default: pe(() => [
11547
- xe(hn, { avatar: "" }, {
11552
+ xe(pn, { avatar: "" }, {
11548
11553
  default: pe(() => [
11549
11554
  xe(Et, {
11550
11555
  round: "",
@@ -11556,7 +11561,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11556
11561
  ]),
11557
11562
  _: 1
11558
11563
  }),
11559
- xe(hn, {
11564
+ xe(pn, {
11560
11565
  class: Ue(p.$style.logo__text)
11561
11566
  }, {
11562
11567
  default: pe(() => [...m[6] || (m[6] = [
@@ -11571,7 +11576,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11571
11576
  class: Ue(p.$style.logo)
11572
11577
  }, {
11573
11578
  default: pe(() => [
11574
- xe(hn, { avatar: "" }, {
11579
+ xe(pn, { avatar: "" }, {
11575
11580
  default: pe(() => [
11576
11581
  xe(Da, {
11577
11582
  name: "logo-icon",
@@ -11580,7 +11585,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11580
11585
  ]),
11581
11586
  _: 1
11582
11587
  }),
11583
- xe(hn, {
11588
+ xe(pn, {
11584
11589
  class: Ue(p.$style.logo__text)
11585
11590
  }, {
11586
11591
  default: pe(() => [
@@ -11622,7 +11627,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11622
11627
  onClick: m[2] || (m[2] = (v) => h())
11623
11628
  }, {
11624
11629
  default: pe(() => [
11625
- xe(hn, { avatar: "" }, {
11630
+ xe(pn, { avatar: "" }, {
11626
11631
  default: pe(() => [
11627
11632
  xe(Da, {
11628
11633
  name: "logout-icon",
@@ -11632,7 +11637,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11632
11637
  ]),
11633
11638
  _: 1
11634
11639
  }),
11635
- xe(hn, {
11640
+ xe(pn, {
11636
11641
  class: Ue(p.$style["menu-exit__label"])
11637
11642
  }, {
11638
11643
  default: pe(() => [...m[8] || (m[8] = [
@@ -11726,7 +11731,7 @@ const qC = ["left", "center", "right", "justify"], VC = je({
11726
11731
  }), mk = {}, gk = { class: "app-wrapper" };
11727
11732
  function yk(e, t) {
11728
11733
  return K(), ge("div", gk, [
11729
- $t(e.$slots, "default", {}, void 0, !0)
11734
+ Bt(e.$slots, "default", {}, void 0, !0)
11730
11735
  ]);
11731
11736
  }
11732
11737
  const XD = /* @__PURE__ */ De(mk, [["render", yk], ["__scopeId", "data-v-aef16077"]]), hi = je({
@@ -11852,13 +11857,13 @@ const Tk = /* @__PURE__ */ De(Sk, [["render", Rk]]), Ik = /* @__PURE__ */ Dt({
11852
11857
  "data-test": "confirm-button",
11853
11858
  class: Ue(o.$style["footer__btn--ok"]),
11854
11859
  label: "Подтвердить",
11855
- onClick: An(n)
11860
+ onClick: fn(n)
11856
11861
  }, null, 8, ["class", "onClick"]),
11857
11862
  xe(yc, {
11858
11863
  "data-test": "close-button",
11859
11864
  class: Ue(o.$style["footer__btn--cancel"]),
11860
11865
  label: "Отменить",
11861
- onClick: An(t)
11866
+ onClick: fn(t)
11862
11867
  }, null, 8, ["class", "onClick"])
11863
11868
  ]),
11864
11869
  _: 1
@@ -11988,7 +11993,7 @@ const qk = je({
11988
11993
  show: w,
11989
11994
  hide: b,
11990
11995
  toggle: y
11991
- }), vn(() => {
11996
+ }), mn(() => {
11992
11997
  e.modelValue === !0 && w();
11993
11998
  }), () => {
11994
11999
  const g = [
@@ -12090,12 +12095,12 @@ const qk = je({
12090
12095
  "content-style": { width: e.width || "200px", minWidth: e.height || "200px" }
12091
12096
  }, {
12092
12097
  label: pe(() => [
12093
- $t(n.$slots, "label", {}, () => [
12098
+ Bt(n.$slots, "label", {}, () => [
12094
12099
  Wt(pt(e.label), 1)
12095
12100
  ], !0)
12096
12101
  ]),
12097
12102
  default: pe(() => [
12098
- $t(n.$slots, "content", {}, void 0, !0)
12103
+ Bt(n.$slots, "content", {}, void 0, !0)
12099
12104
  ]),
12100
12105
  _: 3
12101
12106
  }, 8, ["modelValue", "color", "content-style"]));
@@ -12288,7 +12293,7 @@ const qk = je({
12288
12293
  f = !0;
12289
12294
  }), La(() => {
12290
12295
  f === !0 && e.autofocus === !0 && d();
12291
- }), vn(() => {
12296
+ }), mn(() => {
12292
12297
  e.autofocus === !0 && d();
12293
12298
  }), Object.assign(r.proxy, {
12294
12299
  validate: s,
@@ -12351,6 +12356,7 @@ const qk = je({
12351
12356
  allowCreate: { type: Boolean },
12352
12357
  isSearch: { type: Boolean },
12353
12358
  hideSearch: { type: Boolean },
12359
+ hideClear: { type: Boolean },
12354
12360
  showChip: { type: Boolean },
12355
12361
  simple: { type: Boolean },
12356
12362
  hideBottomSpace: { type: Boolean },
@@ -12442,7 +12448,7 @@ const qk = je({
12442
12448
  Wt(pt(e.label) + " ", 1),
12443
12449
  (x = e.rules) != null && x.length && e.isShowRequired ? (K(), ge("span", e_, "*")) : We("", !0)
12444
12450
  ], 8, Jk)) : We("", !0),
12445
- xe(An(Rd), {
12451
+ xe(fn(Rd), {
12446
12452
  ref_key: "select",
12447
12453
  ref: i,
12448
12454
  modelValue: l.value,
@@ -12473,7 +12479,7 @@ const qk = je({
12473
12479
  onAdd: y
12474
12480
  }, qa({
12475
12481
  append: pe(() => [
12476
- !e.isDisabled && !c.value ? (K(), Ae(St, {
12482
+ !e.isDisabled && !c.value && !e.hideClear ? (K(), Ae(St, {
12477
12483
  key: 0,
12478
12484
  name: "close",
12479
12485
  class: "cursor-pointer clear-input",
@@ -12484,7 +12490,7 @@ const qk = je({
12484
12490
  fe("div", t_, [
12485
12491
  xe(Nn, null, {
12486
12492
  default: pe(() => [
12487
- xe(hn, { class: "wrapper-empty-text" }, {
12493
+ xe(pn, { class: "wrapper-empty-text" }, {
12488
12494
  default: pe(() => [
12489
12495
  Wt(pt(e.emptyText || "Нет данных") + " ", 1),
12490
12496
  e.allowCreate && u.value && u.value.trim() ? (K(), ge("button", {
@@ -12512,16 +12518,17 @@ const qk = je({
12512
12518
  })
12513
12519
  ]),
12514
12520
  _: 1
12515
- })) : "option" in An(a) ? (K(), Ae(Nn, lc(ui({ key: 1 }, C.itemProps)), {
12521
+ })) : "option" in fn(a) ? (K(), Ae(Nn, lc(ui({ key: 1 }, C.itemProps)), {
12516
12522
  default: pe(() => [
12517
- $t(b.$slots, "option", {
12518
- opt: C.opt
12523
+ Bt(b.$slots, "option", {
12524
+ opt: C.opt,
12525
+ toggleOption: C.toggleOption
12519
12526
  }, void 0, !0)
12520
12527
  ]),
12521
12528
  _: 2
12522
12529
  }, 1040)) : (K(), Ae(Nn, lc(ui({ key: 2 }, C.itemProps)), {
12523
12530
  default: pe(() => [
12524
- xe(hn, null, {
12531
+ xe(pn, null, {
12525
12532
  default: pe(() => [
12526
12533
  Wt(pt(C.opt[e.optionLabel || "label"]), 1)
12527
12534
  ]),
@@ -12533,10 +12540,10 @@ const qk = je({
12533
12540
  ]),
12534
12541
  _: 2
12535
12542
  }, [
12536
- e.multiple || e.showChip || "selected" in An(a) ? {
12543
+ e.multiple || e.showChip || "selected" in fn(a) ? {
12537
12544
  name: "selected-item",
12538
12545
  fn: pe((C) => [
12539
- "selected" in An(a) && C.opt ? $t(b.$slots, "selected", {
12546
+ "selected" in fn(a) && C.opt ? Bt(b.$slots, "selected", {
12540
12547
  key: 0,
12541
12548
  opt: C.opt
12542
12549
  }, void 0, !0) : C.opt ? (K(), Ae(wu, {
@@ -12555,12 +12562,26 @@ const qk = je({
12555
12562
  }, 1032, ["tabindex", "style", "onRemove"])) : We("", !0)
12556
12563
  ]),
12557
12564
  key: "0"
12565
+ } : void 0,
12566
+ "prepend" in fn(a) ? {
12567
+ name: "prepend",
12568
+ fn: pe(() => [
12569
+ Bt(b.$slots, "prepend", {}, void 0, !0)
12570
+ ]),
12571
+ key: "1"
12572
+ } : void 0,
12573
+ "after-options" in fn(a) ? {
12574
+ name: "after-options",
12575
+ fn: pe(() => [
12576
+ Bt(b.$slots, "after-options", {}, void 0, !0)
12577
+ ]),
12578
+ key: "2"
12558
12579
  } : void 0
12559
12580
  ]), 1032, ["modelValue", "data-test", "options", "disable", "multiple", "hide-selected", "placeholder", "loading", "option-value", "option-label", "use-input", "use-chips", "hide-bottom-space", "rules", "popup-content-style"])
12560
12581
  ], 64);
12561
12582
  };
12562
12583
  }
12563
- }), r_ = /* @__PURE__ */ De(n_, [["__scopeId", "data-v-7b05047b"]]), o_ = { class: "modal-title" }, a_ = ["data-test"], i_ = {
12584
+ }), r_ = /* @__PURE__ */ De(n_, [["__scopeId", "data-v-5d0511e1"]]), o_ = { class: "modal-title" }, a_ = ["data-test"], i_ = {
12564
12585
  key: 0,
12565
12586
  class: "required"
12566
12587
  }, s_ = /* @__PURE__ */ Dt({
@@ -12831,7 +12852,7 @@ const qk = je({
12831
12852
  ]), l_ = je({
12832
12853
  name: "QRadio",
12833
12854
  props: {
12834
- ...Cn,
12855
+ ...kn,
12835
12856
  ...Va,
12836
12857
  ...Ho,
12837
12858
  modelValue: { required: !0 },
@@ -12848,7 +12869,7 @@ const qk = je({
12848
12869
  },
12849
12870
  emits: ["update:modelValue"],
12850
12871
  setup(e, { slots: t, emit: n }) {
12851
- const { proxy: r } = Xe(), o = kn(e, r.$q), a = za(e, Tv), i = X(null), { refocusTargetEl: s, refocusTarget: u } = Ev(e, i), l = _(() => to(e.modelValue) === to(e.val)), c = _(
12872
+ const { proxy: r } = Xe(), o = _n(e, r.$q), a = za(e, Tv), i = X(null), { refocusTargetEl: s, refocusTarget: u } = Ev(e, i), l = _(() => to(e.modelValue) === to(e.val)), c = _(
12852
12873
  () => "q-radio cursor-pointer no-outline row inline no-wrap items-center" + (e.disable === !0 ? " disabled" : "") + (o.value === !0 ? " q-radio--dark" : "") + (e.dense === !0 ? " q-radio--dense" : "") + (e.leftLabel === !0 ? " reverse" : "")
12853
12874
  ), d = _(() => {
12854
12875
  const g = e.color !== void 0 && (e.keepColor === !0 || l.value === !0) ? ` text-${e.color}` : "";
@@ -12971,7 +12992,7 @@ const qk = je({
12971
12992
  }, Bh = (e) => e >= 250 ? 50 : Math.ceil(e / 5), d_ = je({
12972
12993
  name: "QScrollArea",
12973
12994
  props: {
12974
- ...Cn,
12995
+ ...kn,
12975
12996
  thumbStyle: Object,
12976
12997
  verticalThumbStyle: Object,
12977
12998
  horizontalThumbStyle: Object,
@@ -13014,7 +13035,7 @@ const qk = je({
13014
13035
  position: X(0),
13015
13036
  size: X(0)
13016
13037
  }
13017
- }, { proxy: u } = Xe(), l = kn(e, u.$q);
13038
+ }, { proxy: u } = Xe(), l = _n(e, u.$q);
13018
13039
  let c = null, d;
13019
13040
  const f = X(null), h = _(
13020
13041
  () => "q-scrollarea" + (l.value === !0 ? " q-scrollarea--dark" : "")
@@ -13280,7 +13301,7 @@ const qk = je({
13280
13301
  }), f_ = ["horizontal", "vertical", "cell", "none"], h_ = je({
13281
13302
  name: "QMarkupTable",
13282
13303
  props: {
13283
- ...Cn,
13304
+ ...kn,
13284
13305
  dense: Boolean,
13285
13306
  flat: Boolean,
13286
13307
  bordered: Boolean,
@@ -13293,7 +13314,7 @@ const qk = je({
13293
13314
  }
13294
13315
  },
13295
13316
  setup(e, { slots: t }) {
13296
- const n = Xe(), r = kn(e, n.proxy.$q), o = _(
13317
+ const n = Xe(), r = _n(e, n.proxy.$q), o = _(
13297
13318
  () => `q-markup-table q-table__container q-table__card q-table--${e.separator}-separator` + (r.value === !0 ? " q-table--dark q-table__card--dark q-dark" : "") + (e.dense === !0 ? " q-table--dense" : "") + (e.flat === !0 ? " q-table--flat" : "") + (e.bordered === !0 ? " q-table--bordered" : "") + (e.square === !0 ? " q-table--square" : "") + (e.wrapCells === !1 ? " q-table--no-wrap" : "")
13298
13319
  );
13299
13320
  return () => T("div", {
@@ -13376,7 +13397,7 @@ const p_ = {
13376
13397
  }
13377
13398
  return ed(() => {
13378
13399
  s();
13379
- }), vn(() => {
13400
+ }), mn(() => {
13380
13401
  m();
13381
13402
  }), La(() => {
13382
13403
  m();
@@ -13415,7 +13436,7 @@ function Oh(e, t, n) {
13415
13436
  const y_ = je({
13416
13437
  name: "QLinearProgress",
13417
13438
  props: {
13418
- ...Cn,
13439
+ ...kn,
13419
13440
  ...Va,
13420
13441
  value: {
13421
13442
  type: Number,
@@ -13436,7 +13457,7 @@ const y_ = je({
13436
13457
  instantFeedback: Boolean
13437
13458
  },
13438
13459
  setup(e, { slots: t }) {
13439
- const { proxy: n } = Xe(), r = kn(e, n.$q), o = za(e, g_), a = _(() => e.indeterminate === !0 || e.query === !0), i = _(() => e.reverse !== e.query), s = _(() => ({
13460
+ const { proxy: n } = Xe(), r = _n(e, n.$q), o = za(e, g_), a = _(() => e.indeterminate === !0 || e.query === !0), i = _(() => e.reverse !== e.query), s = _(() => ({
13440
13461
  ...o.value !== null ? o.value : {},
13441
13462
  "--q-linear-progress-speed": `${e.animationSpeed}ms`
13442
13463
  })), u = _(
@@ -13504,7 +13525,7 @@ function x_() {
13504
13525
  }
13505
13526
  return ed(() => {
13506
13527
  o = document.createElement("span");
13507
- }), vn(() => {
13528
+ }), mn(() => {
13508
13529
  t.fullscreen === !0 && u();
13509
13530
  }), At(l), Object.assign(r, {
13510
13531
  toggleFullscreen: s,
@@ -13882,7 +13903,7 @@ const q_ = je({
13882
13903
  onRowClick: Function,
13883
13904
  onRowDblclick: Function,
13884
13905
  onRowContextmenu: Function,
13885
- ...Cn,
13906
+ ...kn,
13886
13907
  ...b_,
13887
13908
  ...N_,
13888
13909
  ...S_,
@@ -13899,7 +13920,7 @@ const q_ = je({
13899
13920
  ...M_
13900
13921
  ],
13901
13922
  setup(e, { slots: t, emit: n }) {
13902
- const r = Xe(), { proxy: { $q: o } } = r, a = kn(e, o), { inFullscreen: i, toggleFullscreen: s } = x_(), u = _(() => typeof e.rowKey == "function" ? e.rowKey : (te) => te[e.rowKey]), l = X(null), c = X(null), d = _(() => e.grid !== !0 && e.virtualScroll === !0), f = _(
13923
+ const r = Xe(), { proxy: { $q: o } } = r, a = _n(e, o), { inFullscreen: i, toggleFullscreen: s } = x_(), u = _(() => typeof e.rowKey == "function" ? e.rowKey : (te) => te[e.rowKey]), l = X(null), c = X(null), d = _(() => e.grid !== !0 && e.virtualScroll === !0), f = _(
13903
13924
  () => " q-table__card" + (a.value === !0 ? " q-table__card--dark q-dark" : "") + (e.square === !0 ? " q-table--square" : "") + (e.flat === !0 ? " q-table--flat" : "") + (e.bordered === !0 ? " q-table--bordered" : "")
13904
13925
  ), h = _(
13905
13926
  () => `q-table__container q-table--${e.separator}-separator column no-wrap` + (e.grid === !0 ? " q-table--grid" : f.value) + (a.value === !0 ? " q-table--dark" : "") + (e.dense === !0 ? " q-table--dense" : "") + (e.wrapCells === !1 ? " q-table--no-wrap" : "") + (i.value === !0 ? " fullscreen scroll" : "")
@@ -13972,11 +13993,11 @@ const q_ = je({
13972
13993
  const te = e.hideHeader !== !0 ? at : null;
13973
13994
  if (d.value === !0) {
13974
13995
  const He = t["top-row"], $e = t["bottom-row"], rt = {
13975
- default: (qt) => st(qt.item, t.body, qt.index)
13996
+ default: (Vt) => st(Vt.item, t.body, Vt.index)
13976
13997
  };
13977
13998
  if (He !== void 0) {
13978
- const qt = T("tbody", He({ cols: L.value }));
13979
- rt.before = te === null ? () => qt : () => [te()].concat(qt);
13999
+ const Vt = T("tbody", He({ cols: L.value }));
14000
+ rt.before = te === null ? () => Vt : () => [te()].concat(Vt);
13980
14001
  } else te !== null && (rt.before = te);
13981
14002
  return $e !== void 0 && (rt.after = () => T("tbody", $e({ cols: L.value }))), T(m_, {
13982
14003
  ref: c,
@@ -14006,12 +14027,12 @@ const q_ = je({
14006
14027
  te = parseInt(te, 10);
14007
14028
  const He = l.value.querySelector(`tbody tr:nth-of-type(${te + 1})`);
14008
14029
  if (He !== null) {
14009
- const $e = l.value.querySelector(".q-table__middle.scroll"), rt = He.offsetTop - e.virtualScrollStickySizeStart, qt = rt < $e.scrollTop ? "decrease" : "increase";
14030
+ const $e = l.value.querySelector(".q-table__middle.scroll"), rt = He.offsetTop - e.virtualScrollStickySizeStart, Vt = rt < $e.scrollTop ? "decrease" : "increase";
14010
14031
  $e.scrollTop = rt, n("virtualScroll", {
14011
14032
  index: te,
14012
14033
  from: 0,
14013
14034
  to: m.value.rowsPerPage - 1,
14014
- direction: qt
14035
+ direction: Vt
14015
14036
  });
14016
14037
  }
14017
14038
  }
@@ -14046,8 +14067,8 @@ const q_ = je({
14046
14067
  Ge(W)
14047
14068
  );
14048
14069
  }
14049
- const qt = t["body-cell"], Bt = L.value.map((W) => {
14050
- const re = t[`body-cell-${W.name}`], be = re !== void 0 ? re : qt;
14070
+ const Vt = t["body-cell"], Ot = L.value.map((W) => {
14071
+ const re = t[`body-cell-${W.name}`], be = re !== void 0 ? re : Vt;
14051
14072
  return be !== void 0 ? be(Ke({ key: $e, row: te, pageIndex: He, col: W })) : T("td", {
14052
14073
  class: W.__tdClass(te),
14053
14074
  style: W.__tdStyle(te)
@@ -14065,7 +14086,7 @@ const q_ = je({
14065
14086
  }
14066
14087
  })
14067
14088
  ];
14068
- Bt.unshift(
14089
+ Ot.unshift(
14069
14090
  T("td", { class: "q-table--col-auto-width" }, re)
14070
14091
  );
14071
14092
  }
@@ -14080,12 +14101,12 @@ const q_ = je({
14080
14101
  const W = e.tableRowClassFn(te);
14081
14102
  W && (N.class[W] = !0);
14082
14103
  }
14083
- return T("tr", N, Bt);
14104
+ return T("tr", N, Ot);
14084
14105
  }
14085
14106
  function mt() {
14086
14107
  const te = t.body, ke = t["top-row"], He = t["bottom-row"];
14087
14108
  let $e = k.value.map(
14088
- (rt, qt) => st(rt, te, qt)
14109
+ (rt, Vt) => st(rt, te, Vt)
14089
14110
  );
14090
14111
  return ke !== void 0 && ($e = ke({ cols: L.value }).concat($e)), He !== void 0 && ($e = $e.concat(He({ cols: L.value }))), T("tbody", $e);
14091
14112
  }
@@ -14142,28 +14163,28 @@ const q_ = je({
14142
14163
  toggleFullscreen: s
14143
14164
  }));
14144
14165
  function Ve() {
14145
- const te = t.top, ke = t["top-left"], He = t["top-right"], $e = t["top-selection"], rt = I.value === !0 && $e !== void 0 && z.value > 0, qt = "q-table__top relative-position row items-center";
14166
+ const te = t.top, ke = t["top-left"], He = t["top-right"], $e = t["top-selection"], rt = I.value === !0 && $e !== void 0 && z.value > 0, Vt = "q-table__top relative-position row items-center";
14146
14167
  if (te !== void 0)
14147
- return T("div", { class: qt }, [te(he.value)]);
14148
- let Bt;
14149
- if (rt === !0 ? Bt = $e(he.value).slice() : (Bt = [], ke !== void 0 ? Bt.push(
14168
+ return T("div", { class: Vt }, [te(he.value)]);
14169
+ let Ot;
14170
+ if (rt === !0 ? Ot = $e(he.value).slice() : (Ot = [], ke !== void 0 ? Ot.push(
14150
14171
  T("div", { class: "q-table__control" }, [
14151
14172
  ke(he.value)
14152
14173
  ])
14153
- ) : e.title && Bt.push(
14174
+ ) : e.title && Ot.push(
14154
14175
  T("div", { class: "q-table__control" }, [
14155
14176
  T("div", {
14156
14177
  class: ["q-table__title", e.titleClass]
14157
14178
  }, e.title)
14158
14179
  ])
14159
- )), He !== void 0 && (Bt.push(
14180
+ )), He !== void 0 && (Ot.push(
14160
14181
  T("div", { class: "q-table__separator col" })
14161
- ), Bt.push(
14182
+ ), Ot.push(
14162
14183
  T("div", { class: "q-table__control" }, [
14163
14184
  He(he.value)
14164
14185
  ])
14165
- )), Bt.length !== 0)
14166
- return T("div", { class: qt }, Bt);
14186
+ )), Ot.length !== 0)
14187
+ return T("div", { class: Vt }, Ot);
14167
14188
  }
14168
14189
  const Ye = _(() => O.value === !0 ? null : D.value);
14169
14190
  function at() {
@@ -14184,10 +14205,10 @@ const q_ = je({
14184
14205
  it({ header: !0 })
14185
14206
  ).slice();
14186
14207
  const He = L.value.map(($e) => {
14187
- const rt = t[`header-cell-${$e.name}`], qt = rt !== void 0 ? rt : ke, Bt = it({ col: $e });
14188
- return qt !== void 0 ? qt(Bt) : T(ym, {
14208
+ const rt = t[`header-cell-${$e.name}`], Vt = rt !== void 0 ? rt : ke, Ot = it({ col: $e });
14209
+ return Vt !== void 0 ? Vt(Ot) : T(ym, {
14189
14210
  key: $e.name,
14190
- props: Bt
14211
+ props: Ot
14191
14212
  }, () => $e.label);
14192
14213
  });
14193
14214
  if (A.value === !0 && e.grid !== !0)
@@ -14284,10 +14305,10 @@ const q_ = je({
14284
14305
  }
14285
14306
  function Qo(te) {
14286
14307
  let ke;
14287
- const { rowsPerPage: He } = v.value, $e = e.paginationLabel || o.lang.table.pagination, rt = t.pagination, qt = e.rowsPerPageOptions.length > 1;
14308
+ const { rowsPerPage: He } = v.value, $e = e.paginationLabel || o.lang.table.pagination, rt = t.pagination, Vt = e.rowsPerPageOptions.length > 1;
14288
14309
  if (te.push(
14289
14310
  T("div", { class: "q-table__separator col" })
14290
- ), qt === !0 && te.push(
14311
+ ), Vt === !0 && te.push(
14291
14312
  T("div", { class: "q-table__control" }, [
14292
14313
  T("span", { class: "q-table__bottom-item" }, [
14293
14314
  e.rowsPerPageLabel || o.lang.table.recordsPerPage
@@ -14313,16 +14334,16 @@ const q_ = je({
14313
14334
  He ? $e(le.value + 1, Math.min(we.value, Oe.value), Oe.value) : $e(1, R.value, Oe.value)
14314
14335
  ])
14315
14336
  ], He !== 0 && ye.value > 1) {
14316
- const Bt = {
14337
+ const Ot = {
14317
14338
  color: e.color,
14318
14339
  round: !0,
14319
14340
  dense: !0,
14320
14341
  flat: !0
14321
14342
  };
14322
- e.dense === !0 && (Bt.size = "sm"), ye.value > 2 && ke.push(
14343
+ e.dense === !0 && (Ot.size = "sm"), ye.value > 2 && ke.push(
14323
14344
  T(Et, {
14324
14345
  key: "pgFirst",
14325
- ...Bt,
14346
+ ...Ot,
14326
14347
  icon: Gt.value[0],
14327
14348
  disable: ae.value,
14328
14349
  "aria-label": o.lang.pagination.first,
@@ -14331,7 +14352,7 @@ const q_ = je({
14331
14352
  ), ke.push(
14332
14353
  T(Et, {
14333
14354
  key: "pgPrev",
14334
- ...Bt,
14355
+ ...Ot,
14335
14356
  icon: Gt.value[1],
14336
14357
  disable: ae.value,
14337
14358
  "aria-label": o.lang.pagination.prev,
@@ -14339,7 +14360,7 @@ const q_ = je({
14339
14360
  }),
14340
14361
  T(Et, {
14341
14362
  key: "pgNext",
14342
- ...Bt,
14363
+ ...Ot,
14343
14364
  icon: Gt.value[2],
14344
14365
  disable: ze.value,
14345
14366
  "aria-label": o.lang.pagination.next,
@@ -14348,7 +14369,7 @@ const q_ = je({
14348
14369
  ), ye.value > 2 && ke.push(
14349
14370
  T(Et, {
14350
14371
  key: "pgLast",
14351
- ...Bt,
14372
+ ...Ot,
14352
14373
  icon: Gt.value[3],
14353
14374
  disable: ze.value,
14354
14375
  "aria-label": o.lang.pagination.last,
@@ -14377,19 +14398,19 @@ const q_ = je({
14377
14398
  ])
14378
14399
  );
14379
14400
  if (I.value === !0) {
14380
- const rt = t["body-selection"], qt = rt !== void 0 ? rt(ke) : [
14401
+ const rt = t["body-selection"], Vt = rt !== void 0 ? rt(ke) : [
14381
14402
  T(oi, {
14382
14403
  modelValue: ke.selected,
14383
14404
  color: e.color,
14384
14405
  dark: a.value,
14385
14406
  dense: e.dense,
14386
- "onUpdate:modelValue": (Bt, N) => {
14387
- H([ke.key], [ke.row], Bt, N);
14407
+ "onUpdate:modelValue": (Ot, N) => {
14408
+ H([ke.key], [ke.row], Ot, N);
14388
14409
  }
14389
14410
  })
14390
14411
  ];
14391
14412
  He.unshift(
14392
- T("div", { class: "q-table__grid-item-row" }, qt),
14413
+ T("div", { class: "q-table__grid-item-row" }, Vt),
14393
14414
  T(Os, { dark: a.value })
14394
14415
  );
14395
14416
  }
@@ -14607,7 +14628,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14607
14628
  }, 1032, ["color"])) : f.col.html ? (K(), ge("span", {
14608
14629
  key: 1,
14609
14630
  innerHTML: f.value
14610
- }, null, 8, Q_)) : s(f.col.name) ? $t(c.$slots, f.col.name, {
14631
+ }, null, 8, Q_)) : s(f.col.name) ? Bt(c.$slots, f.col.name, {
14611
14632
  key: 2,
14612
14633
  cellProps: f,
14613
14634
  class: Ue({ fixed__btns: f.col.name === "fixed" })
@@ -14671,7 +14692,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14671
14692
  tag: "label"
14672
14693
  }, {
14673
14694
  default: pe(() => [
14674
- xe(hn, { avatar: "" }, {
14695
+ xe(pn, { avatar: "" }, {
14675
14696
  default: pe(() => {
14676
14697
  var w;
14677
14698
  return [
@@ -14691,7 +14712,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14691
14712
  }),
14692
14713
  _: 2
14693
14714
  }, 1024),
14694
- xe(hn, null, {
14715
+ xe(pn, null, {
14695
14716
  default: pe(() => [
14696
14717
  Wt(pt(y.name), 1)
14697
14718
  ]),
@@ -14766,13 +14787,13 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14766
14787
  placeholder: "Введите наименование",
14767
14788
  onSearch: n.onSearch
14768
14789
  }, null, 8, ["model-value", "onSearch"])),
14769
- s.value ? $t(u.$slots, "actions", { key: 1 }, void 0, !0) : We("", !0)
14790
+ s.value ? Bt(u.$slots, "actions", { key: 1 }, void 0, !0) : We("", !0)
14770
14791
  ])) : We("", !0),
14771
14792
  fe("div", n3, [
14772
14793
  xe(e3, ui(n.tableProps, {
14773
14794
  "selected-rows": n.selectedRows,
14774
14795
  "no-hover": e.noHover,
14775
- slots: An(o),
14796
+ slots: fn(o),
14776
14797
  "hide-pagination": e.hidePagination
14777
14798
  }, x1(n.tableEvents), {
14778
14799
  "onUpdate:selectedRows": l[0] || (l[0] = (c) => r("update:selectedRows", c))
@@ -14780,7 +14801,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14780
14801
  Hr(i.value, (c) => ({
14781
14802
  name: c,
14782
14803
  fn: pe(({ cellProps: d }) => [
14783
- $t(u.$slots, c, {
14804
+ Bt(u.$slots, c, {
14784
14805
  row: d.row
14785
14806
  }, void 0, !0)
14786
14807
  ])
@@ -14801,7 +14822,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14801
14822
  "total-pages": n.totalPages,
14802
14823
  onPageChange: n.onPageChange
14803
14824
  }, null, 8, ["model-value", "total-pages", "onPageChange"])) : We("", !0),
14804
- "modal" in An(o) ? $t(u.$slots, "modal", { key: 2 }, void 0, !0) : We("", !0)
14825
+ "modal" in fn(o) ? Bt(u.$slots, "modal", { key: 2 }, void 0, !0) : We("", !0)
14805
14826
  ], 2));
14806
14827
  }
14807
14828
  }), eM = /* @__PURE__ */ De(o3, [["__scopeId", "data-v-1b7ee59f"]]), a3 = ["title"], i3 = {
@@ -14842,7 +14863,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14842
14863
  title: e.title,
14843
14864
  style: Wr(e.titleStyle)
14844
14865
  }, pt(e.title), 15, a3)) : We("", !0),
14845
- $t(r.$slots, "default", {}, void 0, !0),
14866
+ Bt(r.$slots, "default", {}, void 0, !0),
14846
14867
  e.loading ? (K(), ge("div", i3, [
14847
14868
  xe(fi, {
14848
14869
  class: "loader-spinner",
@@ -14859,7 +14880,7 @@ const W_ = /* @__PURE__ */ De(V_, [["render", $_]]), H_ = {
14859
14880
  class: "btn__wrapper"
14860
14881
  }, {
14861
14882
  default: pe(() => [
14862
- $t(r.$slots, "actions", {}, void 0, !0)
14883
+ Bt(r.$slots, "actions", {}, void 0, !0)
14863
14884
  ]),
14864
14885
  _: 3
14865
14886
  })
@@ -15048,7 +15069,7 @@ const d3 = je({
15048
15069
  n("update:modelValue", e.multiple === !0 ? F : F[0]);
15049
15070
  }
15050
15071
  function k(F) {
15051
- F.keyCode === 13 && En(F);
15072
+ F.keyCode === 13 && Rn(F);
15052
15073
  }
15053
15074
  function I(F) {
15054
15075
  (F.keyCode === 13 || F.keyCode === 32) && l(F);
@@ -15181,17 +15202,17 @@ const d3 = je({
15181
15202
  return (d = i.value) == null ? void 0 : d.pickFiles();
15182
15203
  }
15183
15204
  }), (d, f) => (K(), ge(hr, null, [
15184
- An(a)["drag-drop"] ? (K(), ge("div", {
15205
+ fn(a)["drag-drop"] ? (K(), ge("div", {
15185
15206
  key: 0,
15186
15207
  class: "drag-wrapper",
15187
15208
  onDragover: f[0] || (f[0] = Do((h) => s.value = !0, ["prevent", "stop"])),
15188
15209
  onDragleave: f[1] || (f[1] = Do((h) => s.value = !1, ["prevent", "stop"])),
15189
15210
  onDrop: Do(c, ["prevent", "stop"])
15190
15211
  }, [
15191
- $t(d.$slots, "drag-drop", { isFileHover: s.value }, void 0, !0)
15212
+ Bt(d.$slots, "drag-drop", { isFileHover: s.value }, void 0, !0)
15192
15213
  ], 32)) : We("", !0),
15193
- $t(d.$slots, "default", {}, void 0, !0),
15194
- xe(An(d3), {
15214
+ Bt(d.$slots, "default", {}, void 0, !0),
15215
+ xe(fn(d3), {
15195
15216
  ref_key: "RefFile",
15196
15217
  ref: i,
15197
15218
  modelValue: u.value,
@@ -15697,14 +15718,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", uS
15697
15718
  hasStandardBrowserWebWorkerEnv: sS,
15698
15719
  navigator: Tc,
15699
15720
  origin: uS
15700
- }, Symbol.toStringTag, { value: "Module" })), Rn = {
15721
+ }, Symbol.toStringTag, { value: "Module" })), Tn = {
15701
15722
  ...lS,
15702
15723
  ...aS
15703
15724
  };
15704
15725
  function cS(e, t) {
15705
- return Su(e, new Rn.classes.URLSearchParams(), {
15726
+ return Su(e, new Tn.classes.URLSearchParams(), {
15706
15727
  visitor: function(n, r, o, a) {
15707
- return Rn.isNode && Z.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
15728
+ return Tn.isNode && Z.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
15708
15729
  },
15709
15730
  ...t
15710
15731
  });
@@ -15799,8 +15820,8 @@ const Mi = {
15799
15820
  maxContentLength: -1,
15800
15821
  maxBodyLength: -1,
15801
15822
  env: {
15802
- FormData: Rn.classes.FormData,
15803
- Blob: Rn.classes.Blob
15823
+ FormData: Tn.classes.FormData,
15824
+ Blob: Tn.classes.Blob
15804
15825
  },
15805
15826
  validateStatus: function(t) {
15806
15827
  return t >= 200 && t < 300;
@@ -16100,10 +16121,10 @@ const Ns = (e, t, n = 3) => {
16100
16121
  total: e,
16101
16122
  loaded: r
16102
16123
  }), t[1]];
16103
- }, Uh = (e) => (...t) => Z.asap(() => e(...t)), kS = Rn.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Rn.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
16104
- new URL(Rn.origin),
16105
- Rn.navigator && /(msie|trident)/i.test(Rn.navigator.userAgent)
16106
- ) : () => !0, _S = Rn.hasStandardBrowserEnv ? (
16124
+ }, Uh = (e) => (...t) => Z.asap(() => e(...t)), kS = Tn.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Tn.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
16125
+ new URL(Tn.origin),
16126
+ Tn.navigator && /(msie|trident)/i.test(Tn.navigator.userAgent)
16127
+ ) : () => !0, _S = Tn.hasStandardBrowserEnv ? (
16107
16128
  // Standard browser envs support document.cookie
16108
16129
  {
16109
16130
  write(e, t, n, r, o, a, i) {
@@ -16214,7 +16235,7 @@ const qm = (e) => {
16214
16235
  "Authorization",
16215
16236
  "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
16216
16237
  ), Z.isFormData(n)) {
16217
- if (Rn.hasStandardBrowserEnv || Rn.hasStandardBrowserWebWorkerEnv)
16238
+ if (Tn.hasStandardBrowserEnv || Tn.hasStandardBrowserWebWorkerEnv)
16218
16239
  i.setContentType(void 0);
16219
16240
  else if (Z.isFunction(n.getHeaders)) {
16220
16241
  const u = n.getHeaders(), l = ["content-type", "content-length"];
@@ -16223,7 +16244,7 @@ const qm = (e) => {
16223
16244
  });
16224
16245
  }
16225
16246
  }
16226
- if (Rn.hasStandardBrowserEnv && (r && Z.isFunction(r) && (r = r(t)), r || r !== !1 && kS(t.url))) {
16247
+ if (Tn.hasStandardBrowserEnv && (r && Z.isFunction(r) && (r = r(t)), r || r !== !1 && kS(t.url))) {
16227
16248
  const u = o && a && _S.read(a);
16228
16249
  u && i.set(o, u);
16229
16250
  }
@@ -16280,7 +16301,7 @@ const qm = (e) => {
16280
16301
  v && (r(!b || b.type ? new Ha(null, e, v) : b), v.abort(), v = null);
16281
16302
  }, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
16282
16303
  const w = wS(o.url);
16283
- if (w && Rn.protocols.indexOf(w) === -1) {
16304
+ if (w && Tn.protocols.indexOf(w) === -1) {
16284
16305
  r(new ut("Unsupported protocol " + w + ":", ut.ERR_BAD_REQUEST, e));
16285
16306
  return;
16286
16307
  }
@@ -16387,7 +16408,7 @@ const qm = (e) => {
16387
16408
  return !1;
16388
16409
  const s = o && Zi(Yh), u = o && (typeof Xh == "function" ? /* @__PURE__ */ ((p) => (m) => p.encode(m))(new Xh()) : async (p) => new Uint8Array(await new n(p).arrayBuffer())), l = a && s && Qh(() => {
16389
16410
  let p = !1;
16390
- const m = new n(Rn.origin, {
16411
+ const m = new n(Tn.origin, {
16391
16412
  body: new Yh(),
16392
16413
  method: "POST",
16393
16414
  get duplex() {
@@ -16412,7 +16433,7 @@ const qm = (e) => {
16412
16433
  if (Z.isBlob(p))
16413
16434
  return p.size;
16414
16435
  if (Z.isSpecCompliantForm(p))
16415
- return (await new n(Rn.origin, {
16436
+ return (await new n(Tn.origin, {
16416
16437
  method: "POST",
16417
16438
  body: p
16418
16439
  }).arrayBuffer()).byteLength;
@@ -16975,7 +16996,7 @@ const {
16975
16996
  mergeConfig: wM
16976
16997
  } = Jt;
16977
16998
  var Ji = !1, ml = [];
16978
- class gn {
16999
+ class yn {
16979
17000
  constructor() {
16980
17001
  qf(this, "axiosInstance");
16981
17002
  this.axiosInstance = Jt.create({
@@ -17077,7 +17098,7 @@ class gn {
17077
17098
  }
17078
17099
  }
17079
17100
  }
17080
- class $S extends gn {
17101
+ class $S extends yn {
17081
17102
  async fetchCriticalPathTasks(t) {
17082
17103
  return await this.get(`gantt/get_list_task_on_critical_path?${t}`);
17083
17104
  }
@@ -17108,7 +17129,7 @@ let gl;
17108
17129
  function xM() {
17109
17130
  return gl || (gl = new $S()), gl;
17110
17131
  }
17111
- class WS extends gn {
17132
+ class WS extends yn {
17112
17133
  async fetchPieProjects(t) {
17113
17134
  return await this.get("repairs/pie/projects?" + t);
17114
17135
  }
@@ -17222,7 +17243,7 @@ let yl;
17222
17243
  function CM() {
17223
17244
  return yl || (yl = new WS()), yl;
17224
17245
  }
17225
- class HS extends gn {
17246
+ class HS extends yn {
17226
17247
  async fetchProjectById(t) {
17227
17248
  return this.get(`/projects/${t}`);
17228
17249
  }
@@ -17283,7 +17304,7 @@ let bl;
17283
17304
  function kM() {
17284
17305
  return bl || (bl = new HS()), bl;
17285
17306
  }
17286
- class US extends gn {
17307
+ class US extends yn {
17287
17308
  fetchFilters(t) {
17288
17309
  return this.get(`get_list_repair?smart=1&${t}`);
17289
17310
  }
@@ -17354,7 +17375,7 @@ let wl;
17354
17375
  function _M() {
17355
17376
  return wl || (wl = new US()), wl;
17356
17377
  }
17357
- class jS extends gn {
17378
+ class jS extends yn {
17358
17379
  fetchTaskById(t) {
17359
17380
  return this.get(`/tasks/${t}`);
17360
17381
  }
@@ -17453,7 +17474,7 @@ let xl;
17453
17474
  function SM() {
17454
17475
  return xl || (xl = new jS()), xl;
17455
17476
  }
17456
- class GS extends gn {
17477
+ class GS extends yn {
17457
17478
  login(t, n) {
17458
17479
  return this.post("/v2/login", {
17459
17480
  email: t,
@@ -17496,7 +17517,7 @@ let Cl;
17496
17517
  function EM() {
17497
17518
  return Cl || (Cl = new GS()), Cl;
17498
17519
  }
17499
- class KS extends gn {
17520
+ class KS extends yn {
17500
17521
  uploadFile(t) {
17501
17522
  return this.post("/upload-file", t, {
17502
17523
  headers: { "Content-Type": "multipart/form-data" }
@@ -17507,7 +17528,7 @@ let kl;
17507
17528
  function RM() {
17508
17529
  return kl || (kl = new KS()), kl;
17509
17530
  }
17510
- class YS extends gn {
17531
+ class YS extends yn {
17511
17532
  async startVideoAnalytics() {
17512
17533
  return await this.post("/statanly/start", null);
17513
17534
  }
@@ -17586,7 +17607,7 @@ let _l;
17586
17607
  function TM() {
17587
17608
  return _l || (_l = new YS()), _l;
17588
17609
  }
17589
- class XS extends gn {
17610
+ class XS extends yn {
17590
17611
  async editUser({ id: t, model: n }) {
17591
17612
  return await this.put(`/admin/users/${t}`, n);
17592
17613
  }
@@ -17669,7 +17690,7 @@ let Sl;
17669
17690
  function IM() {
17670
17691
  return Sl || (Sl = new XS()), Sl;
17671
17692
  }
17672
- class QS extends gn {
17693
+ class QS extends yn {
17673
17694
  async fetchUserInstrumentsHistory(t, n) {
17674
17695
  const r = {
17675
17696
  status: "issued",
@@ -17717,7 +17738,7 @@ let El;
17717
17738
  function AM() {
17718
17739
  return El || (El = new QS()), El;
17719
17740
  }
17720
- class ZS extends gn {
17741
+ class ZS extends yn {
17721
17742
  fetchControlZones(t) {
17722
17743
  return this.get("/frame/list", { params: t });
17723
17744
  }
@@ -17783,7 +17804,7 @@ let Rl;
17783
17804
  function DM() {
17784
17805
  return Rl || (Rl = new ZS()), Rl;
17785
17806
  }
17786
- class JS extends gn {
17807
+ class JS extends yn {
17787
17808
  fetchSearchUsers(t) {
17788
17809
  return this.get("search/users", { params: t });
17789
17810
  }
@@ -17798,7 +17819,7 @@ let Tl;
17798
17819
  function MM() {
17799
17820
  return Tl || (Tl = new JS()), Tl;
17800
17821
  }
17801
- class e4 extends gn {
17822
+ class e4 extends yn {
17802
17823
  async detectModule(t) {
17803
17824
  return await this.get(`module/${t}/detect`);
17804
17825
  }
@@ -17816,7 +17837,7 @@ let Il;
17816
17837
  function FM() {
17817
17838
  return Il || (Il = new e4()), Il;
17818
17839
  }
17819
- class t4 extends gn {
17840
+ class t4 extends yn {
17820
17841
  async uploadComment(t) {
17821
17842
  return await this.post("comments", t);
17822
17843
  }
@@ -17831,7 +17852,7 @@ let Al;
17831
17852
  function PM() {
17832
17853
  return Al || (Al = new t4()), Al;
17833
17854
  }
17834
- class n4 extends gn {
17855
+ class n4 extends yn {
17835
17856
  fetchEquipmentById(t) {
17836
17857
  return this.get(`repairs/equipment/${t}`);
17837
17858
  }
@@ -17876,7 +17897,7 @@ let Dl;
17876
17897
  function BM() {
17877
17898
  return Dl || (Dl = new n4()), Dl;
17878
17899
  }
17879
- class r4 extends gn {
17900
+ class r4 extends yn {
17880
17901
  fetchBrigades(t) {
17881
17902
  return this.get("/search/brigades", { params: t });
17882
17903
  }
@@ -17897,7 +17918,7 @@ let Ml;
17897
17918
  function OM() {
17898
17919
  return Ml || (Ml = new r4()), Ml;
17899
17920
  }
17900
- class o4 extends gn {
17921
+ class o4 extends yn {
17901
17922
  fetchScheduleConfig() {
17902
17923
  return this.get("schedule/config");
17903
17924
  }
@@ -17941,7 +17962,7 @@ let Fl;
17941
17962
  function NM() {
17942
17963
  return Fl || (Fl = new o4()), Fl;
17943
17964
  }
17944
- class a4 extends gn {
17965
+ class a4 extends yn {
17945
17966
  createUserIssue(t) {
17946
17967
  return this.post("user_issue", t, { headers: { "Content-Type": "multipart/form-data" } });
17947
17968
  }
@@ -18172,7 +18193,7 @@ function B(e, t) {
18172
18193
  if (!e) throw new Error(typeof t == "string" ? t : t());
18173
18194
  }
18174
18195
  function Rt(e, t, n) {
18175
- n === void 0 && (n = ""), B(pn(e, t), function() {
18196
+ n === void 0 && (n = ""), B(vn(e, t), function() {
18176
18197
  return n + " Shapes " + e + " and " + t + " must match";
18177
18198
  });
18178
18199
  }
@@ -18191,7 +18212,7 @@ function Be(e) {
18191
18212
  for (var t = e[0], n = 1; n < e.length; n++) t *= e[n];
18192
18213
  return t;
18193
18214
  }
18194
- function pn(e, t) {
18215
+ function vn(e, t) {
18195
18216
  if (e === t) return !0;
18196
18217
  if (e == null || t == null || e.length !== t.length) return !1;
18197
18218
  for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
@@ -18957,7 +18978,7 @@ var ip, Bc, Oc, Nc, Lc, Pa = function(e) {
18957
18978
  }
18958
18979
  return vr(t, e), t.prototype.assign = function(n) {
18959
18980
  if (n.dtype !== this.dtype) throw new Error("dtype of the new value (" + n.dtype + ") and previous value (" + this.dtype + ") must match");
18960
- if (!pn(n.shape, this.shape)) throw new Error("shape of the new value (" + n.shape + ") and previous value (" + this.shape + ") must match");
18981
+ if (!vn(n.shape, this.shape)) throw new Error("shape of the new value (" + n.shape + ") and previous value (" + this.shape + ") must match");
18961
18982
  kr().disposeTensor(this), this.dataId = n.dataId, kr().incRef(this, null);
18962
18983
  }, t.prototype.dispose = function() {
18963
18984
  kr().disposeVariable(this), this.isDisposedInternal = !0;
@@ -18977,7 +18998,7 @@ Object.defineProperty(Pa, Symbol.hasInstance, { value: function(e) {
18977
18998
  e.float32 = "complex64", e.int32 = "complex64", e.bool = "complex64", e.complex64 = "complex64";
18978
18999
  }(Lc || (Lc = {}));
18979
19000
  var _4 = { float32: Nc, int32: Bc, bool: Oc, complex64: Lc };
18980
- function wn(e, t) {
19001
+ function xn(e, t) {
18981
19002
  if (e === "string" || t === "string") {
18982
19003
  if (e === "string" && t === "string") return "string";
18983
19004
  throw new Error("Can not upcast " + e + " with " + t);
@@ -18985,11 +19006,11 @@ function wn(e, t) {
18985
19006
  return _4[e][t];
18986
19007
  }
18987
19008
  function Ol(e) {
18988
- return wn(e, "int32");
19009
+ return xn(e, "int32");
18989
19010
  }
18990
19011
  function jt(e, t) {
18991
19012
  if (e.dtype === t.dtype) return [e, t];
18992
- var n = wn(e.dtype, t.dtype);
19013
+ var n = xn(e.dtype, t.dtype);
18993
19014
  return [e.cast(n), t.cast(n)];
18994
19015
  }
18995
19016
  function S4(e, t) {
@@ -19373,7 +19394,7 @@ var Nl, sp = function() {
19373
19394
  });
19374
19395
  if (E.dtype !== "float32") throw new Error("Error in gradient for op " + w.kernelName + ". The gradient of input " + S + " must have 'float32' dtype, but has '" + E.dtype + "'");
19375
19396
  var R = w.inputs[S];
19376
- if (!pn(E.shape, R.shape)) throw new Error("Error in gradient for op " + w.kernelName + ". The gradient of input '" + S + "' has shape '" + E.shape + "', which does not match the shape of the input '" + R.shape + "'");
19397
+ if (!vn(E.shape, R.shape)) throw new Error("Error in gradient for op " + w.kernelName + ". The gradient of input '" + S + "' has shape '" + E.shape + "', which does not match the shape of the input '" + R.shape + "'");
19377
19398
  if (f[R.id] == null) f[R.id] = E;
19378
19399
  else {
19379
19400
  var k = f[R.id];
@@ -19782,7 +19803,7 @@ function ns(e) {
19782
19803
  return e % 2 == 0;
19783
19804
  }
19784
19805
  function rs(e, t) {
19785
- if (pn(e = e.slice(-2), t = t.slice(-2)) || !e.length || !t.length || e[0] === 0 || e[1] === 0 || t[0] === 0 || t[1] === 0) return !0;
19806
+ if (vn(e = e.slice(-2), t = t.slice(-2)) || !e.length || !t.length || e[0] === 0 || e[1] === 0 || t[0] === 0 || t[1] === 0) return !0;
19786
19807
  if (e.length !== t.length) {
19787
19808
  var n = e.slice(-1)[0], r = t.slice(-1)[0];
19788
19809
  if (n === r || ns(n) && ns(r) && (e[0] === 1 || t[0] === 1)) return !0;
@@ -19923,7 +19944,7 @@ function nE(e, t, n) {
19923
19944
  for (var r = e.length + t.length, o = [], a = 0, i = 0, s = 0; s < r; s++) n.indexOf(s) === -1 ? o.push(e[a++]) : o.push(t[i++]);
19924
19945
  return o;
19925
19946
  }
19926
- function _n(e, t) {
19947
+ function Sn(e, t) {
19927
19948
  for (var n = [], r = e.length, o = 0; o < r; o++) t.indexOf(o) === -1 && n.push(e[o]);
19928
19949
  return [n, t.map(function(a) {
19929
19950
  return e[a];
@@ -20049,7 +20070,7 @@ Je.registerFlag("HAS_WEBGL", function() {
20049
20070
  }), Je.registerFlag("WEBGL_SIZE_UPLOAD_UNIFORM", function() {
20050
20071
  return Je.getBool("WEBGL_RENDER_FLOAT32_ENABLED") ? 4 : 0;
20051
20072
  }), ng = ag;
20052
- var bn = $({ complex_: function(e, t) {
20073
+ var wn = $({ complex_: function(e, t) {
20053
20074
  var n = M(e, "real", "complex"), r = M(t, "imag", "complex");
20054
20075
  return Rt(n.shape, r.shape, "real and imag shapes, " + n.shape + " and " + r.shape + ", must match in call to tf.complex()."), j.runKernelFunc(function(o) {
20055
20076
  return o.complex(n, r);
@@ -20065,7 +20086,7 @@ var bn = $({ complex_: function(e, t) {
20065
20086
  return n.imag(t);
20066
20087
  }, { $input: t });
20067
20088
  } });
20068
- function xn(e, t, n) {
20089
+ function Cn(e, t, n) {
20069
20090
  return go(e, t, mo(e, n), n);
20070
20091
  }
20071
20092
  function go(e, t, n, r) {
@@ -20137,16 +20158,16 @@ function iE(e, t, n, r) {
20137
20158
  }
20138
20159
  function ja(e, t) {
20139
20160
  if (t === void 0 && (t = "float32"), t === "complex64") {
20140
- var n = ja(e, "float32"), r = Vt(e, "float32");
20141
- return bn(n, r);
20161
+ var n = ja(e, "float32"), r = zt(e, "float32");
20162
+ return wn(n, r);
20142
20163
  }
20143
20164
  var o = Jm(Be(e), t);
20144
20165
  return j.makeTensor(o, e, t);
20145
20166
  }
20146
- function Vt(e, t) {
20167
+ function zt(e, t) {
20147
20168
  if (t === void 0 && (t = "float32"), t === "complex64") {
20148
- var n = Vt(e, "float32"), r = Vt(e, "float32");
20149
- return bn(n, r);
20169
+ var n = zt(e, "float32"), r = zt(e, "float32");
20170
+ return wn(n, r);
20150
20171
  }
20151
20172
  var o = Pi(Be(e), t);
20152
20173
  return j.makeTensor(o, e, t);
@@ -20164,7 +20185,7 @@ function sE(e, t, n) {
20164
20185
  }
20165
20186
  function Us(e, t, n, r) {
20166
20187
  if (n === void 0 && (n = 1), r === void 0 && (r = "float32"), n === 0) throw new Error("Cannot have a step of zero");
20167
- if (e === t || e < t && n < 0 || t < e && n > 1) return Vt([0], r);
20188
+ if (e === t || e < t && n < 0 || t < e && n > 1) return zt([0], r);
20168
20189
  var o = Pi(Math.abs(Math.ceil((t - e) / n)), r);
20169
20190
  t < e && n === 1 && (n = -1), o[0] = e;
20170
20191
  for (var a = 1; a < o.length; a++) o[a] = o[a - 1] + n;
@@ -20174,7 +20195,7 @@ var sg = $({ onesLike_: function(e) {
20174
20195
  var t = M(e, "x", "onesLike");
20175
20196
  if (t.dtype === "complex64") {
20176
20197
  var n = sg(or(t)), r = yt(_r(t));
20177
- return bn(n, r);
20198
+ return wn(n, r);
20178
20199
  }
20179
20200
  return j.runKernelFunc(function(o) {
20180
20201
  return o.onesLike(t);
@@ -20204,7 +20225,7 @@ var sg = $({ onesLike_: function(e) {
20204
20225
  var r = Ba(n.map(function(s) {
20205
20226
  return s.shape;
20206
20227
  }), t);
20207
- if (Be(r) === 0) return xn([], r);
20228
+ if (Be(r) === 0) return Cn([], r);
20208
20229
  if ((n = n.filter(function(s) {
20209
20230
  return s.size > 0;
20210
20231
  })).length === 1) return n[0];
@@ -20687,7 +20708,7 @@ var ug = $({ batchToSpaceND_: function(e, t, n) {
20687
20708
  return i.oneHot(o, t, n, r);
20688
20709
  }, { $indices: o }, function(i) {
20689
20710
  return { $indices: function() {
20690
- return Vt(o.shape, "float32");
20711
+ return zt(o.shape, "float32");
20691
20712
  } };
20692
20713
  }).reshape(a);
20693
20714
  } }), Go = $({ pad_: function(e, t, n) {
@@ -21532,7 +21553,7 @@ function Vd(e) {
21532
21553
  function Cg(e, t, n) {
21533
21554
  if (t === "complex64") {
21534
21555
  if (e.dtype === "complex64") return e.clone();
21535
- var r = Vt(e.shape), o = e.toFloat(), a = n.complex(o, r);
21556
+ var r = zt(e.shape), o = e.toFloat(), a = n.complex(o, r);
21536
21557
  return r.dispose(), o.dispose(), a;
21537
21558
  }
21538
21559
  if (!v4(e.dtype, t)) return j.makeTensorFromDataId(e.dataId, e.shape, t);
@@ -21656,7 +21677,7 @@ function Rg(e, t, n, r, o) {
21656
21677
  for (m = 0; m < r; m++) y[m] = p[m].value, w[m] = p[m].index;
21657
21678
  }
21658
21679
  var b = t.slice();
21659
- return b[b.length - 1] = r, [xn(l, b, n), xn(c, b, "int32")];
21680
+ return b[b.length - 1] = r, [Cn(l, b, n), Cn(c, b, "int32")];
21660
21681
  }
21661
21682
  function Wd(e, t) {
21662
21683
  for (var n = [], r = 0; r < t.length; r++) t[r] && n.push(r);
@@ -21742,7 +21763,7 @@ function Tg(e, t) {
21742
21763
  function Bn(e, t) {
21743
21764
  return t === 1 ? [e] : Tg(e, t);
21744
21765
  }
21745
- function Tn() {
21766
+ function In() {
21746
21767
  var e, t, n, r, o, a, i, s, u, l;
21747
21768
  return ie().getNumber("WEBGL_VERSION") === 2 ? (e = "#version 300 es", t = "in", n = "out", r = "in", o = "texture", a = "outputColor", i = "out vec4 outputColor;", s = `
21748
21769
  bool isnan_custom(float val) {
@@ -21862,7 +21883,7 @@ function ZE(e, t, n, r) {
21862
21883
  y += v ? Ag(p) : la(p);
21863
21884
  var w = p.shapeInfo.logicalShape, b = m.logicalShape;
21864
21885
  return w.length <= b.length && (y += v ? function(g, x) {
21865
- var C, S = g.name, E = S.charAt(0).toUpperCase() + S.slice(1), R = "get" + E + "AtOutCoords", k = g.shapeInfo.logicalShape.length, I = x.logicalShape.length, A = ao(g.shapeInfo.logicalShape, x.logicalShape), q = Lt(I), D = I - k, O = ["x", "y", "z", "w", "u", "v"];
21886
+ var C, S = g.name, E = S.charAt(0).toUpperCase() + S.slice(1), R = "get" + E + "AtOutCoords", k = g.shapeInfo.logicalShape.length, I = x.logicalShape.length, A = ao(g.shapeInfo.logicalShape, x.logicalShape), q = qt(I), D = I - k, O = ["x", "y", "z", "w", "u", "v"];
21866
21887
  C = k === 0 ? "" : I < 2 && A.length >= 1 ? "coords = 0;" : A.map(function(V) {
21867
21888
  return "coords." + O[V + D] + " = 0;";
21868
21889
  }).join(`
@@ -21895,12 +21916,12 @@ function ZE(e, t, n, r) {
21895
21916
  `;
21896
21917
  }(p, m) : function(g, x) {
21897
21918
  var C = g.name, S = C.charAt(0).toUpperCase() + C.slice(1), E = "get" + S + "AtOutCoords", R = x.texShape, k = g.shapeInfo.texShape, I = g.shapeInfo.logicalShape.length, A = x.logicalShape.length;
21898
- if (!g.shapeInfo.isUniform && I === A && g.shapeInfo.flatOffset == null && pn(k, R)) return `
21919
+ if (!g.shapeInfo.isUniform && I === A && g.shapeInfo.flatOffset == null && vn(k, R)) return `
21899
21920
  float ` + E + `() {
21900
21921
  return sampleTexture(` + C + `, resultUV);
21901
21922
  }
21902
21923
  `;
21903
- var q, D = Lt(A), O = ao(g.shapeInfo.logicalShape, x.logicalShape), z = A - I, F = ["x", "y", "z", "w", "u", "v"];
21924
+ var q, D = qt(A), O = ao(g.shapeInfo.logicalShape, x.logicalShape), z = A - I, F = ["x", "y", "z", "w", "u", "v"];
21904
21925
  q = I === 0 ? "" : A < 2 && O.length >= 1 ? "coords = 0;" : O.map(function(H) {
21905
21926
  return "coords." + F[H + z] + " = 0;";
21906
21927
  }).join(`
@@ -21918,7 +21939,7 @@ function ZE(e, t, n, r) {
21918
21939
  }(p, m)), y;
21919
21940
  }(h, t, r);
21920
21941
  }).join(`
21921
- `), l = t.texShape, c = Tn(), d = function(h) {
21942
+ `), l = t.texShape, c = In(), d = function(h) {
21922
21943
  return `
21923
21944
  float sampleTexture(sampler2D textureSampler, vec2 uv) {
21924
21945
  return ` + h.texture2D + `(textureSampler, uv).r;
@@ -22015,7 +22036,7 @@ function ZE(e, t, n, r) {
22015
22036
  case 2:
22016
22037
  return function(g, x) {
22017
22038
  var C = [Math.ceil(x[0] / 2), Math.ceil(x[1] / 2)];
22018
- if (pn(g, x)) return `
22039
+ if (vn(g, x)) return `
22019
22040
  ivec2 getOutputCoords() {
22020
22041
  return 2 * ivec2(resultUV.yx * vec2(` + C[0] + ", " + C[1] + `));
22021
22042
  }
@@ -22110,7 +22131,7 @@ function ZE(e, t, n, r) {
22110
22131
  }(0, p);
22111
22132
  case 2:
22112
22133
  return function(y, w) {
22113
- return pn(y, w) ? `
22134
+ return vn(y, w) ? `
22114
22135
  ivec2 getOutputCoords() {
22115
22136
  return ivec2(resultUV.yx * vec2(` + w[0] + ", " + w[1] + `));
22116
22137
  }
@@ -22264,7 +22285,7 @@ function la(e) {
22264
22285
  case 2:
22265
22286
  return function(n) {
22266
22287
  var r = n.shapeInfo.logicalShape, o = n.name, a = "get" + o.charAt(0).toUpperCase() + o.slice(1), i = n.shapeInfo.texShape;
22267
- if (i != null && pn(r, i)) {
22288
+ if (i != null && vn(r, i)) {
22268
22289
  var s = i[0], u = i[1];
22269
22290
  return `
22270
22291
  float ` + a + `(int row, int col) {
@@ -22538,14 +22559,14 @@ function Ag(e) {
22538
22559
  var t, n, r;
22539
22560
  switch (e.shapeInfo.logicalShape.length) {
22540
22561
  case 0:
22541
- return t = e.name, n = "get" + t.charAt(0).toUpperCase() + t.slice(1), r = Tn(), `
22562
+ return t = e.name, n = "get" + t.charAt(0).toUpperCase() + t.slice(1), r = In(), `
22542
22563
  vec4 ` + n + `() {
22543
22564
  return ` + r.texture2D + "(" + t + `, halfCR);
22544
22565
  }
22545
22566
  `;
22546
22567
  case 1:
22547
22568
  return function(o) {
22548
- var a = o.name, i = "get" + a.charAt(0).toUpperCase() + a.slice(1), s = o.shapeInfo.texShape, u = [Math.ceil(s[0] / 2), Math.ceil(s[1] / 2)], l = Tn();
22569
+ var a = o.name, i = "get" + a.charAt(0).toUpperCase() + a.slice(1), s = o.shapeInfo.texShape, u = [Math.ceil(s[0] / 2), Math.ceil(s[1] / 2)], l = In();
22549
22570
  return `
22550
22571
  vec4 ` + i + `(int index) {
22551
22572
  vec2 uv = packedUVfrom1D(
@@ -22556,8 +22577,8 @@ function Ag(e) {
22556
22577
  }(e);
22557
22578
  case 2:
22558
22579
  return function(o) {
22559
- var a = o.shapeInfo.logicalShape, i = o.name, s = "get" + i.charAt(0).toUpperCase() + i.slice(1), u = o.shapeInfo.texShape, l = u[0], c = u[1], d = Tn();
22560
- if (u != null && pn(a, u)) return `
22580
+ var a = o.shapeInfo.logicalShape, i = o.name, s = "get" + i.charAt(0).toUpperCase() + i.slice(1), u = o.shapeInfo.texShape, l = u[0], c = u[1], d = In();
22581
+ if (u != null && vn(a, u)) return `
22561
22582
  vec4 ` + s + `(int row, int col) {
22562
22583
  vec2 uv = (vec2(col, row) + halfCR) / vec2(` + c + ".0, " + l + `.0);
22563
22584
 
@@ -22584,7 +22605,7 @@ function Ag(e) {
22584
22605
  }
22585
22606
  `;
22586
22607
  }
22587
- var f = l[0], h = l[1], p = Math.ceil(a[2] / 2), m = p * Math.ceil(a[1] / 2), v = Tn();
22608
+ var f = l[0], h = l[1], p = Math.ceil(a[2] / 2), m = p * Math.ceil(a[1] / 2), v = In();
22588
22609
  return `
22589
22610
  vec4 ` + s + `(int b, int row, int col) {
22590
22611
  vec2 uv = packedUVfrom3D(
@@ -22596,7 +22617,7 @@ function Ag(e) {
22596
22617
  default:
22597
22618
  return function(o) {
22598
22619
  for (var a = o.shapeInfo.logicalShape, i = a.length, s = o.name, u = "get" + s.charAt(0).toUpperCase() + s.slice(1), l = o.shapeInfo.texShape, c = [Math.ceil(l[0] / 2), Math.ceil(l[1] / 2)], d = c[0], f = c[1], h = Math.ceil(a[i - 1] / 2), p = h * Math.ceil(a[i - 2] / 2), m = "int b, int row, int col", v = "b * " + p + " + (row / 2) * " + h + " + (col / 2)", y = 2; y < i - 1; y++) m = "int b" + y + ", " + m, p *= a[i - y - 1], v = "b" + y + " * " + p + " + " + v;
22599
- var w = Tn();
22620
+ var w = In();
22600
22621
  return `
22601
22622
  vec4 ` + u + "(" + m + `) {
22602
22623
  int index = ` + v + `;
@@ -22663,7 +22684,7 @@ function aa(e) {
22663
22684
  }
22664
22685
  `;
22665
22686
  }
22666
- function Lt(e) {
22687
+ function qt(e) {
22667
22688
  if (e <= 1) return "int";
22668
22689
  if (e === 2) return "ivec2";
22669
22690
  if (e === 3) return "ivec3";
@@ -22687,9 +22708,9 @@ var r5 = function(e, t, n, r) {
22687
22708
  });
22688
22709
  var o = e[e.length - 1], a = Math.ceil(o / t);
22689
22710
  this.outputShape = e.slice(0, -1), a > 1 && this.outputShape.push(a), r || this.variableNames.push("bestIndicesA");
22690
- var i, s, u = this.outputShape, l = u.length, c = Lt(l), d = Bn("coords", l);
22711
+ var i, s, u = this.outputShape, l = u.length, c = qt(l), d = Bn("coords", l);
22691
22712
  if (a === 1) {
22692
- var f = Lt(s = l + 1);
22713
+ var f = qt(s = l + 1);
22693
22714
  i = `
22694
22715
  ` + f + " sourceLocR = " + f + "(" + d.join() + `, 0);
22695
22716
  ++` + d[l - 1] + `;
@@ -22938,7 +22959,7 @@ var r5 = function(e, t, n, r) {
22938
22959
  result.w = 0.;
22939
22960
  `;
22940
22961
  else if (a = `
22941
- ` + Lt(o) + ` coords = getOutputCoords();
22962
+ ` + qt(o) + ` coords = getOutputCoords();
22942
22963
  `, o === 1) a += `
22943
22964
  result.y = (coords + 1) >= ` + this.outputShape[0] + ` ? 0. : result.y;
22944
22965
  result.z = 0.;
@@ -23058,7 +23079,7 @@ var r5 = function(e, t, n, r) {
23058
23079
  `;
23059
23080
  }, p5 = function(e, t) {
23060
23081
  this.packedInputs = !0, this.packedOutput = !0, this.outputShape = [], this.outputShape = Ba(e, t);
23061
- var n = this.outputShape, r = n.length, o = Lt(r), a = Bn("coords", r), i = ["x", "y", "z", "w", "u", "v"].slice(0, r);
23082
+ var n = this.outputShape, r = n.length, o = qt(r), a = Bn("coords", r), i = ["x", "y", "z", "w", "u", "v"].slice(0, r);
23062
23083
  this.variableNames = e.map(function(v, y) {
23063
23084
  return "T" + y;
23064
23085
  });
@@ -23947,7 +23968,7 @@ var v5 = function(e) {
23947
23968
  }
23948
23969
 
23949
23970
  void main() {
23950
- ` + Lt(r) + ` coords = getOutputCoords();
23971
+ ` + qt(r) + ` coords = getOutputCoords();
23951
23972
  int end = ` + wp(r, "coords") + `;
23952
23973
  float val = 0.0;
23953
23974
  for (int i = ` + o + ` - 1; i >= 0; i -= 1) {
@@ -23980,7 +24001,7 @@ function wp(e, t) {
23980
24001
  }
23981
24002
  var _5 = function(e) {
23982
24003
  this.variableNames = ["A"], this.packedInputs = !1, this.packedOutput = !0, this.outPackingScheme = mi.DENSE;
23983
- var t = ai(e), n = Tn();
24004
+ var t = ai(e), n = In();
23984
24005
  this.outputShape = e, this.userCode = `
23985
24006
  ivec3 outCoordsFromFlatIndex(int index) {
23986
24007
  ` + Io(["r", "c", "d"], e) + `
@@ -24005,7 +24026,7 @@ var _5 = function(e) {
24005
24026
  `;
24006
24027
  }, S5 = function(e) {
24007
24028
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !0, this.outPackingScheme = mi.DENSE;
24008
- var t = ai(e), n = Tn();
24029
+ var t = ai(e), n = In();
24009
24030
  this.outputShape = e, this.userCode = `
24010
24031
  ivec3 outCoordsFromFlatIndex(int index) {
24011
24032
  ` + Io(["r", "c", "d"], e) + `
@@ -24072,7 +24093,7 @@ var _5 = function(e) {
24072
24093
  `;
24073
24094
  }, T5 = function(e) {
24074
24095
  this.variableNames = ["A"], this.outTexUsage = Yn.DOWNLOAD;
24075
- var t = Tn();
24096
+ var t = In();
24076
24097
  this.outputShape = e, this.userCode = `
24077
24098
  ` + Ig + `
24078
24099
 
@@ -24083,7 +24104,7 @@ var _5 = function(e) {
24083
24104
  `;
24084
24105
  }, I5 = function(e) {
24085
24106
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !1, this.outTexUsage = Yn.DOWNLOAD;
24086
- var t = Tn();
24107
+ var t = In();
24087
24108
  this.outputShape = e, this.userCode = `
24088
24109
  ` + Ig + `
24089
24110
 
@@ -24095,7 +24116,7 @@ var _5 = function(e) {
24095
24116
  `;
24096
24117
  }, A5 = function(e, t, n) {
24097
24118
  n === void 0 && (n = !1), this.variableNames = ["A"];
24098
- var r = Tn(), o = t[0], a = t[1];
24119
+ var r = In(), o = t[0], a = t[1];
24099
24120
  this.outputShape = e;
24100
24121
  var i = "result";
24101
24122
  n && (i = "floor(result * 255. + 0.5)"), this.userCode = `
@@ -24131,7 +24152,7 @@ var _5 = function(e) {
24131
24152
  `;
24132
24153
  }, D5 = function(e, t, n) {
24133
24154
  n === void 0 && (n = !1), this.variableNames = ["A"], this.packedInputs = !1, this.packedOutput = !0;
24134
- var r = Tn(), o = t[0], a = t[1];
24155
+ var r = In(), o = t[0], a = t[1];
24135
24156
  this.outputShape = e;
24136
24157
  var i = "", s = "result";
24137
24158
  n && (s = "floor(result * 255. + 0.5)");
@@ -24243,7 +24264,7 @@ var _5 = function(e) {
24243
24264
  this.variableNames = ["A", "indices"];
24244
24265
  var r = e.slice();
24245
24266
  r[n] = t, this.outputShape = r, this.rank = r.length;
24246
- var o = Lt(this.rank), a = function(i, s) {
24267
+ var o = qt(this.rank), a = function(i, s) {
24247
24268
  var u = i.length;
24248
24269
  if (u > 4) throw Error("Gather for rank " + u + " is not yet supported");
24249
24270
  if (u === 1) return "int(getIndices(resRC))";
@@ -24258,7 +24279,7 @@ var _5 = function(e) {
24258
24279
  `;
24259
24280
  }, O5 = function(e, t, n) {
24260
24281
  this.sliceDim = e, this.strides = t, this.variableNames = ["x", "indices"], this.outputShape = n;
24261
- var r = Lt(t.length), o = Lt(n.length), a = this.sliceDim > 1 ? "strides[j]" : "strides";
24282
+ var r = qt(t.length), o = qt(n.length), a = this.sliceDim > 1 ? "strides[j]" : "strides";
24262
24283
  this.userCode = `
24263
24284
  ` + r + " strides = " + r + "(" + this.strides + `);
24264
24285
  void main() {
@@ -24273,7 +24294,7 @@ var _5 = function(e) {
24273
24294
  `;
24274
24295
  };
24275
24296
  function N5(e, t) {
24276
- var n = Tn();
24297
+ var n = In();
24277
24298
  return M4(e, t, n.version + `
24278
24299
  precision highp float;
24279
24300
  ` + n.attribute + ` vec3 clipSpacePos;
@@ -24643,16 +24664,16 @@ function Cp(e, t) {
24643
24664
  if (e.length !== t.length) throw Error("Binary was compiled with " + e.length + " inputs, but was executed with " + t.length + " inputs");
24644
24665
  e.forEach(function(n, r) {
24645
24666
  var o = n.logicalShape, a = t[r], i = a.shape;
24646
- if (!pn(o, i)) throw Error("Binary was compiled with different shapes than the current args. Shapes " + o + " and " + i + " must match");
24667
+ if (!vn(o, i)) throw Error("Binary was compiled with different shapes than the current args. Shapes " + o + " and " + i + " must match");
24647
24668
  if (!n.isUniform || !a.isUniform) {
24648
24669
  var s = n.texShape, u = a.isUniform ? null : a.texData.texShape;
24649
- if (!pn(s, u)) throw Error("Binary was compiled with different texture shapes than the current args. Shape " + s + " and " + u + " must match");
24670
+ if (!vn(s, u)) throw Error("Binary was compiled with different texture shapes than the current args. Shape " + s + " and " + u + " must match");
24650
24671
  }
24651
24672
  });
24652
24673
  }
24653
24674
  var eR = function(e, t, n) {
24654
24675
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = e;
24655
- for (var r = n.filterWidth, o = n.inChannels, a = n.strideWidth, i = n.strideHeight, s = n.padInfo, u = n.outWidth, l = n.dilationWidth, c = n.dilationHeight, d = n.dataFormat, f = s.left, h = s.top, p = o * r, m = Tn(), v = d === "channelsLast", y = v ? 0 : 1, w = v ? 1 : 2, b = "", g = 0; g <= 1; g++) for (var x = 0; x <= 1; x++) b += `
24676
+ for (var r = n.filterWidth, o = n.inChannels, a = n.strideWidth, i = n.strideHeight, s = n.padInfo, u = n.outWidth, l = n.dilationWidth, c = n.dilationHeight, d = n.dataFormat, f = s.left, h = s.top, p = o * r, m = In(), v = d === "channelsLast", y = v ? 0 : 1, w = v ? 1 : 2, b = "", g = 0; g <= 1; g++) for (var x = 0; x <= 1; x++) b += `
24656
24677
  blockIndex = rc.y + ` + x + `;
24657
24678
  pos = rc.x + ` + g + `;
24658
24679
 
@@ -25056,7 +25077,7 @@ var eR = function(e, t, n) {
25056
25077
  }
25057
25078
  `;
25058
25079
  else {
25059
- var n = Bn("rc", t), r = Lt(t), o = function(s, u, l) {
25080
+ var n = Bn("rc", t), r = qt(t), o = function(s, u, l) {
25060
25081
  if (s === 1) return "rc > " + u[0];
25061
25082
  for (var c = "", d = s - 2; d < s; d++) c += l[d] + " >= " + u[d], d < s - 1 && (c += "||");
25062
25083
  return c;
@@ -25105,7 +25126,7 @@ var eR = function(e, t, n) {
25105
25126
  this.variableNames = ["x"], this.outputShape = t.map(function(u, l) {
25106
25127
  return u[0] + e[l] + u[1];
25107
25128
  });
25108
- var r = e.length, o = Lt(r), a = t.map(function(u) {
25129
+ var r = e.length, o = qt(r), a = t.map(function(u) {
25109
25130
  return u[0];
25110
25131
  }).join(","), i = t.map(function(u, l) {
25111
25132
  return u[0] + e[l];
@@ -25140,7 +25161,7 @@ var eR = function(e, t, n) {
25140
25161
  this.variableNames = ["x"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = t.map(function(v, y) {
25141
25162
  return v[0] + e[y] + v[1];
25142
25163
  });
25143
- for (var r = e.length, o = Lt(r), a = t.map(function(v) {
25164
+ for (var r = e.length, o = qt(r), a = t.map(function(v) {
25144
25165
  return v[0];
25145
25166
  }).join(","), i = t.map(function(v, y) {
25146
25167
  return v[0] + e[y];
@@ -25955,7 +25976,7 @@ var eR = function(e, t, n) {
25955
25976
  return function(s) {
25956
25977
  return t.indexOf(s) !== -1 && e[s] !== 1 ? e[s] + " - coords[" + s + "] - 1" : "coords[" + s + "]";
25957
25978
  }(i);
25958
- }).join(","), o = Lt(n);
25979
+ }).join(","), o = qt(n);
25959
25980
  this.userCode = `
25960
25981
  void main() {
25961
25982
  ` + o + ` coords = getOutputCoords();
@@ -25973,7 +25994,7 @@ var eR = function(e, t, n) {
25973
25994
  var n = e.length;
25974
25995
  if (n > 4) throw new Error("WebGL backend: Reverse of rank-" + n + " tensor is not yet supported");
25975
25996
  this.outputShape = e;
25976
- var r = Bn("rc", n), o = r[n - 1] + " + 1 < " + this.outputShape[n - 1], a = r[n - 2] + " + 1 < " + this.outputShape[n - 2], i = Lt(n);
25997
+ var r = Bn("rc", n), o = r[n - 1] + " + 1 < " + this.outputShape[n - 1], a = r[n - 2] + " + 1 < " + this.outputShape[n - 2], i = qt(n);
25977
25998
  function s(u) {
25978
25999
  var l = e.map(function(c, d) {
25979
26000
  return function(f, h) {
@@ -26021,7 +26042,7 @@ var eR = function(e, t, n) {
26021
26042
  `;
26022
26043
  }, kp = function(e, t, n, r, o, a, i) {
26023
26044
  this.variableNames = ["updates", "indices", "defaultValue"], this.outputShape = a;
26024
- var s = Lt(o.length), u = Lt(a.length), l = "";
26045
+ var s = qt(o.length), u = qt(a.length), l = "";
26025
26046
  n === 1 ? l = "i" : n === 2 && (l = "i, j");
26026
26047
  var c = "getIndices(" + l + ")", d = "";
26027
26048
  r === 1 ? d = "i" : r === 2 && (d = "i, coords[1]");
@@ -26169,7 +26190,7 @@ var eR = function(e, t, n) {
26169
26190
  for (var a = ["resRC.x", "resRC.y", "resRC.z", "resRC.w"], i = [], s = [], u = 0; u < t.length; u++) s.push("" + a[u]), u < e && i.push("" + a[u]);
26170
26191
  r = i.join(), o = s.join();
26171
26192
  }
26172
- var l = Lt(n);
26193
+ var l = qt(n);
26173
26194
  this.userCode = `
26174
26195
  void main() {
26175
26196
  ` + l + ` resRC = getOutputCoords();
@@ -26184,7 +26205,7 @@ var eR = function(e, t, n) {
26184
26205
  }, CR = function() {
26185
26206
  function e(t) {
26186
26207
  this.variableNames = ["source"], this.outputShape = t, this.rank = t.length;
26187
- var n, r = Lt(this.rank), o = "uniform int start[" + this.rank + "];", a = function(i) {
26208
+ var n, r = qt(this.rank), o = "uniform int start[" + this.rank + "];", a = function(i) {
26188
26209
  if (i === 1) return "sourceLoc";
26189
26210
  if (i <= 6) return Xl.slice(0, i).map(function(s) {
26190
26211
  return "sourceLoc." + s;
@@ -26216,7 +26237,7 @@ var eR = function(e, t, n) {
26216
26237
  }(), Xl = ["x", "y", "z", "w", "u", "v"], kR = function() {
26217
26238
  function e(t) {
26218
26239
  this.variableNames = ["source"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = t, this.rank = t.length;
26219
- var n = Lt(this.rank), r = Bn("coords", this.rank), o = Bn("sourceLoc", this.rank), a = this.rank === 1 ? "sourceLoc" : "vec2(" + o.slice(-2).join() + ")", i = "getChannel(getSource(" + o.join() + "), " + a + ")", s = `
26240
+ var n = qt(this.rank), r = Bn("coords", this.rank), o = Bn("sourceLoc", this.rank), a = this.rank === 1 ? "sourceLoc" : "vec2(" + o.slice(-2).join() + ")", i = "getChannel(getSource(" + o.join() + "), " + a + ")", s = `
26220
26241
  result.x = ` + i + `;
26221
26242
  if (++` + r[this.rank - 1] + " < " + t[this.rank - 1] + `) {
26222
26243
  ++` + o[this.rank - 1] + `;
@@ -26262,7 +26283,7 @@ var eR = function(e, t, n) {
26262
26283
  }, e;
26263
26284
  }(), _R = function(e, t, n) {
26264
26285
  this.variableNames = ["x"], this.outputShape = n;
26265
- var r = n.length, o = Lt(n.length), a = Lt(n.length), i = "";
26286
+ var r = n.length, o = qt(n.length), a = qt(n.length), i = "";
26266
26287
  if (r === 1) i = "coords * strides + begin";
26267
26288
  else {
26268
26289
  var s = 0;
@@ -26336,7 +26357,7 @@ var ER = function(e, t) {
26336
26357
  this.variableNames = ["A"];
26337
26358
  for (var n = new Array(e.length), r = 0; r < n.length; r++) n[r] = e[r] * t[r];
26338
26359
  this.outputShape = n, this.rank = n.length;
26339
- var o = Lt(this.rank), a = function(i) {
26360
+ var o = qt(this.rank), a = function(i) {
26340
26361
  var s = i.length;
26341
26362
  if (s > 5) throw Error("Tile for rank " + s + " is not yet supported");
26342
26363
  if (s === 1) return "imod(resRC, " + i[0] + ")";
@@ -26353,7 +26374,7 @@ var ER = function(e, t) {
26353
26374
  this.variableNames = ["A"];
26354
26375
  for (var n = new Array(e.length), r = 0; r < n.length; r++) n[r] = e[t[r]];
26355
26376
  this.outputShape = n, this.rank = n.length;
26356
- var o = Lt(this.rank), a = function(i) {
26377
+ var o = qt(this.rank), a = function(i) {
26357
26378
  var s = i.length;
26358
26379
  if (s > 6) throw Error("Transpose for rank " + s + " is not yet supported");
26359
26380
  for (var u = ["resRC.x", "resRC.y", "resRC.z", "resRC.w", "resRC.u", "resRC.v"], l = new Array(s), c = 0; c < i.length; c++) l[i[c]] = u[c];
@@ -26369,7 +26390,7 @@ var ER = function(e, t) {
26369
26390
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !0;
26370
26391
  for (var n = new Array(e.length), r = 0; r < n.length; r++) n[r] = e[t[r]];
26371
26392
  if (this.outputShape = n, this.rank = n.length, this.rank > 6) throw Error("Packed transpose for rank " + this.rank + " is not yet supported.");
26372
- var o = Lt(this.rank), a = Tg("rc", this.rank), i = new Array(this.rank);
26393
+ var o = qt(this.rank), a = Tg("rc", this.rank), i = new Array(this.rank);
26373
26394
  for (r = 0; r < t.length; r++) i[t[r]] = a[r];
26374
26395
  var s = "vec2(" + i.slice(-2).join() + ")", u = "++" + a[this.rank - 1] + " < " + n[this.rank - 1], l = "getChannel(getA(" + i.join() + "), " + s + ")";
26375
26396
  this.userCode = `
@@ -26477,7 +26498,7 @@ var ER = function(e, t) {
26477
26498
  `;
26478
26499
  }, VR = function(e) {
26479
26500
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !1, this.outputShape = e;
26480
- var t = e.length, n = Bn("rc", t), r = Lt(t), o = function(s, u) {
26501
+ var t = e.length, n = Bn("rc", t), r = qt(t), o = function(s, u) {
26481
26502
  if (s === 1) return "rc";
26482
26503
  for (var l = "", c = 0; c < s; c++) l += u[c], c < s - 1 && (l += ",");
26483
26504
  return l;
@@ -26651,7 +26672,7 @@ var zR = 600, $R = function(e) {
26651
26672
  return this.texData.get(n.dataId).complexTensors.imag.clone();
26652
26673
  }, t.prototype.slice = function(n, r, o) {
26653
26674
  if (this.shouldExecuteOnCPU([n])) return this.cpuBackend.slice(n, r, o);
26654
- if (Be(o) === 0) return xn([], o, n.dtype);
26675
+ if (Be(o) === 0) return Cn([], o, n.dtype);
26655
26676
  var a = this.texData.get(n.dataId).isPacked, i = gg(n.shape, r, o);
26656
26677
  if (a || !i) {
26657
26678
  var s = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new kR(o) : new CR(o), u = s.getCustomSetupFunc(r);
@@ -26670,7 +26691,7 @@ var zR = 600, $R = function(e) {
26670
26691
  var i = qd(r, o, a);
26671
26692
  if (i.some(function(u) {
26672
26693
  return u === 0;
26673
- })) return xn([], i);
26694
+ })) return Cn([], i);
26674
26695
  var s = new _R(r, a, i);
26675
26696
  return this.compileAndRun(s, [n]);
26676
26697
  }, t.prototype.reverse = function(n, r) {
@@ -26683,7 +26704,7 @@ var zR = 600, $R = function(e) {
26683
26704
  }), a = n.map(function(h) {
26684
26705
  return _r(h);
26685
26706
  });
26686
- return bn(this.concat(o, r), this.concat(a, r));
26707
+ return wn(this.concat(o, r), this.concat(a, r));
26687
26708
  }
26688
26709
  if (this.shouldExecuteOnCPU(n)) return this.cpuBackend.concat(n, r);
26689
26710
  if (n.length === 1) return n[0];
@@ -26717,10 +26738,10 @@ var zR = 600, $R = function(e) {
26717
26738
  var c = s === 1 ? n : n.as3D(l, u, 1), d = s === 1 ? 2 : 1, f = s === 1 ? r.as3D(l, 1, u) : r;
26718
26739
  return this.multiply(c, f).sum(d, !0);
26719
26740
  }
26720
- var h = wn(n.dtype, r.dtype), p = new Gl(n.shape, [l, i, s], o, a);
26741
+ var h = xn(n.dtype, r.dtype), p = new Gl(n.shape, [l, i, s], o, a);
26721
26742
  return this.compileAndRun(p, [n, r], h);
26722
26743
  }, t.prototype.fusedBatchMatMul = function(n) {
26723
- var r = n.a, o = n.b, a = n.transposeA, i = n.transposeB, s = n.bias, u = n.activation, l = n.preluActivationWeights, c = a ? r.shape[2] : r.shape[1], d = i ? o.shape[1] : o.shape[2], f = r.shape[0], h = wn(r.dtype, o.dtype), p = s != null, m = l != null, v = u ? ss(u, !0) : null, y = new Gl(r.shape, [f, c, d], a, i, p, v, m), w = [r, o];
26744
+ var r = n.a, o = n.b, a = n.transposeA, i = n.transposeB, s = n.bias, u = n.activation, l = n.preluActivationWeights, c = a ? r.shape[2] : r.shape[1], d = i ? o.shape[1] : o.shape[2], f = r.shape[0], h = xn(r.dtype, o.dtype), p = s != null, m = l != null, v = u ? ss(u, !0) : null, y = new Gl(r.shape, [f, c, d], a, i, p, v, m), w = [r, o];
26724
26745
  return s && w.push(s), l && w.push(l), this.compileAndRun(y, w, h);
26725
26746
  }, t.prototype.multiply = function(n, r) {
26726
26747
  if (n.dtype === "complex64") {
@@ -26803,11 +26824,11 @@ var zR = 600, $R = function(e) {
26803
26824
  return l.rank === n.rank ? this.argReducePacked(n, r, l) : l;
26804
26825
  }, t.prototype.sum = function(n, r) {
26805
26826
  Hn("sum", r, n.rank);
26806
- var o = _n(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i), u = Ol(n.dtype);
26827
+ var o = Sn(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i), u = Ol(n.dtype);
26807
26828
  return this.reduce(s, "sum", u).reshape(a);
26808
26829
  }, t.prototype.prod = function(n, r) {
26809
26830
  if (this.shouldExecuteOnCPU([n])) return this.cpuBackend.prod(n, r);
26810
- var o = _n(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i), u = Ol(n.dtype);
26831
+ var o = Sn(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i), u = Ol(n.dtype);
26811
26832
  return this.reduce(s, "prod", u).reshape(a);
26812
26833
  }, t.prototype.unsortedSegmentSum = function(n, r, o) {
26813
26834
  var a = 0, i = Fr([a], n.rank), s = n;
@@ -26827,7 +26848,7 @@ var zR = 600, $R = function(e) {
26827
26848
  }, t.prototype.argMinMaxReduce = function(n, r, o) {
26828
26849
  var a = [r];
26829
26850
  if (Hn("arg" + o.charAt(0).toUpperCase() + o.slice(1), a, n.rank), !ie().getBool("WEBGL_PACK_REDUCE") || n.rank <= 2) {
26830
- var i = _n(n.shape, a), s = i[0], u = Be(i[1]), l = n.as2D(-1, u);
26851
+ var i = Sn(n.shape, a), s = i[0], u = Be(i[1]), l = n.as2D(-1, u);
26831
26852
  return this.argReduce(l, o).reshape(s);
26832
26853
  }
26833
26854
  return this.argReducePacked(n, o);
@@ -26899,7 +26920,7 @@ var zR = 600, $R = function(e) {
26899
26920
  return this.compileAndRun(o, [n, r], "bool");
26900
26921
  }, t.prototype.select = function(n, r, o) {
26901
26922
  var a = new xR(n.rank, r.shape, r.rank);
26902
- return this.compileAndRun(a, [n, r, o], wn(r.dtype, o.dtype));
26923
+ return this.compileAndRun(a, [n, r, o], xn(r.dtype, o.dtype));
26903
26924
  }, t.prototype.where = function(n) {
26904
26925
  Ws("tf.where() in webgl locks the UI thread. Call tf.whereAsync() instead");
26905
26926
  var r = n.dataSync();
@@ -26908,7 +26929,7 @@ var zR = 600, $R = function(e) {
26908
26929
  return Rg(n.dataSync(), n.shape, n.dtype, r);
26909
26930
  }, t.prototype.min = function(n, r) {
26910
26931
  Hn("min", r, n.rank);
26911
- var o = _n(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26932
+ var o = Sn(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26912
26933
  return this.reduce(s, "min", s.dtype).reshape(a);
26913
26934
  }, t.prototype.minimum = function(n, r) {
26914
26935
  if (this.shouldExecuteOnCPU([n, r])) return this.cpuBackend.minimum(n, r);
@@ -26946,7 +26967,7 @@ var zR = 600, $R = function(e) {
26946
26967
  }, t.prototype.max = function(n, r) {
26947
26968
  if (this.shouldExecuteOnCPU([n])) return this.cpuBackend.max(n, r);
26948
26969
  Hn("max", r, n.rank);
26949
- var o = _n(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26970
+ var o = Sn(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26950
26971
  return this.reduce(s, "max", s.dtype).reshape(a);
26951
26972
  }, t.prototype.maximum = function(n, r) {
26952
26973
  if (this.shouldExecuteOnCPU([n, r])) return this.cpuBackend.maximum(n, r);
@@ -26969,11 +26990,11 @@ var zR = 600, $R = function(e) {
26969
26990
  return this.compileAndRun(o, [n, r]);
26970
26991
  }, t.prototype.all = function(n, r) {
26971
26992
  Hn("all", r, n.rank);
26972
- var o = _n(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26993
+ var o = Sn(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26973
26994
  return this.reduce(s, "all", s.dtype).reshape(a);
26974
26995
  }, t.prototype.any = function(n, r) {
26975
26996
  Hn("any", r, n.rank);
26976
- var o = _n(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26997
+ var o = Sn(n.shape, r), a = o[0], i = Be(o[1]), s = n.as2D(-1, i);
26977
26998
  return this.reduce(s, "any", s.dtype).reshape(a);
26978
26999
  }, t.prototype.realDivide = function(n, r) {
26979
27000
  if (ie().getBool("WEBGL_PACK_BINARY_OPERATIONS"))
@@ -27040,7 +27061,7 @@ return a / b;`, n.shape, r.shape);
27040
27061
  }, t.prototype.add = function(n, r) {
27041
27062
  if (n.dtype === "complex64" && r.dtype === "complex64") return this.complexSeparableBinaryOp(n, r, Ul);
27042
27063
  if (this.shouldExecuteOnCPU([n, r])) return this.cpuBackend.add(n, r);
27043
- var o = wn(n.dtype, r.dtype);
27064
+ var o = xn(n.dtype, r.dtype);
27044
27065
  if (ie().getBool("WEBGL_PACK_BINARY_OPERATIONS")) return this.packedBinaryOp(n, r, Ul, o);
27045
27066
  var a = new Kt(Ul, n.shape, r.shape);
27046
27067
  return this.compileAndRun(a, [n, r], o);
@@ -27054,7 +27075,7 @@ return a / b;`, n.shape, r.shape);
27054
27075
  }, t.prototype.complexSeparableBinaryOp = function(n, r, o) {
27055
27076
  var a = this, i = this.texData.get(n.dataId), s = this.texData.get(r.dataId), u = [[i.complexTensors.real, s.complexTensors.real], [i.complexTensors.imag, s.complexTensors.imag]].map(function(f) {
27056
27077
  var h = f[0], p = f[1], m = a.makeComplexComponentTensorInfo(n, h), v = a.makeComplexComponentTensorInfo(r, p), y = new Kt(o, n.shape, r.shape);
27057
- return a.compileAndRun(y, [m, v], wn(h.dtype, p.dtype));
27078
+ return a.compileAndRun(y, [m, v], xn(h.dtype, p.dtype));
27058
27079
  }), l = u[0], c = u[1], d = this.complex(l, c);
27059
27080
  return l.dispose(), c.dispose(), d;
27060
27081
  }, t.prototype.makeComplexComponentTensorInfo = function(n, r) {
@@ -27068,7 +27089,7 @@ return a / b;`, n.shape, r.shape);
27068
27089
  var i = n.map(function(l) {
27069
27090
  return l.dtype;
27070
27091
  }).reduce(function(l, c) {
27071
- return wn(l, c);
27092
+ return xn(l, c);
27072
27093
  }), s = n.map(function(l) {
27073
27094
  return l.shape;
27074
27095
  }), u = ie().getBool("WEBGL_PACK") ? new XE(n[0].shape, s) : new YE(n[0].shape, s);
@@ -27076,7 +27097,7 @@ return a / b;`, n.shape, r.shape);
27076
27097
  }, t.prototype.subtract = function(n, r) {
27077
27098
  if (n.dtype === "complex64" && r.dtype === "complex64") return this.complexSeparableBinaryOp(n, r, jl);
27078
27099
  if (this.shouldExecuteOnCPU([n, r])) return this.cpuBackend.subtract(n, r);
27079
- var o = wn(n.dtype, r.dtype);
27100
+ var o = xn(n.dtype, r.dtype);
27080
27101
  if (ie().getBool("WEBGL_PACK_BINARY_OPERATIONS")) return this.packedBinaryOp(n, r, jl, n.dtype);
27081
27102
  var a = new Kt(jl, n.shape, r.shape);
27082
27103
  return this.compileAndRun(a, [n, r], o);
@@ -27111,7 +27132,7 @@ if (b == 0.0) {
27111
27132
  }
27112
27133
  return (round(mod(b, 2.0)) != 1) ?
27113
27134
  pow(abs(a), b) : sign(a) * pow(abs(a), b);
27114
- `, n.shape, r.shape), a = wn(n.dtype, r.dtype);
27135
+ `, n.shape, r.shape), a = xn(n.dtype, r.dtype);
27115
27136
  return this.compileAndRun(o, [n, r], a);
27116
27137
  }, t.prototype.ceil = function(n) {
27117
27138
  if (this.shouldExecuteOnCPU([n])) return this.cpuBackend.ceil(n);
@@ -27480,7 +27501,7 @@ return (round(mod(b, 2.0)) != 1) ?
27480
27501
  return Sg(n, r, o);
27481
27502
  }, t.prototype.scatterND = function(n, r, o) {
27482
27503
  var a = Ys(0, n, o), i = a.sliceRank, s = a.numUpdates, u = a.sliceSize, l = a.strides, c = a.outputSize, d = [c / u, u], f = n.reshape([s, i]), h = r.reshape([s, u]);
27483
- if (c === 0) return $c(xn([]), o);
27504
+ if (c === 0) return $c(Cn([]), o);
27484
27505
  var p = Ce(0), m = new kp(s, i, f.rank, h.rank, l, d);
27485
27506
  return this.compileAndRun(m, [h, f, p]).reshape(o);
27486
27507
  }, t.prototype.sparseToDense = function(n, r, o, a) {
@@ -28216,7 +28237,7 @@ var bT = $({ batchNormalization2d_: function(e, t, n, r, o, a) {
28216
28237
  t.forEach(function(o) {
28217
28238
  if (o.dtype !== n.dtype) throw new Error("All tensors passed to tf.addN() must have the same dtype");
28218
28239
  }), t.forEach(function(o) {
28219
- if (!pn(o.shape, n.shape)) throw new Error("All tensors passed to tf.addN() must have the same shape");
28240
+ if (!vn(o.shape, n.shape)) throw new Error("All tensors passed to tf.addN() must have the same shape");
28220
28241
  });
28221
28242
  var r = t;
28222
28243
  return j.runKernelFunc(function(o) {
@@ -28789,7 +28810,7 @@ var ZT = $({ conv1d_: function(e, t, n, r, o, a, i) {
28789
28810
  var s = n ? a.shape[a.rank - 2] : a.shape[a.rank - 1], u = r ? i.shape[i.rank - 1] : i.shape[i.rank - 2], l = n ? a.shape[a.rank - 1] : a.shape[a.rank - 2], c = r ? i.shape[i.rank - 2] : i.shape[i.rank - 1], d = a.shape.slice(0, -2), f = i.shape.slice(0, -2), h = Be(d), p = Be(f);
28790
28811
  B(a.rank >= 2 && i.rank >= 2 && a.rank === i.rank, function() {
28791
28812
  return "Error in matMul: inputs must have the same rank of at least 2, got ranks " + a.rank + " and " + i.rank + ".";
28792
- }), B(pn(d, f), function() {
28813
+ }), B(vn(d, f), function() {
28793
28814
  return "Error in matMul: outer dimensions (" + d + ") and (" + f + ") of Tensors with shapes " + a.shape + " and " + i.shape + " must match.";
28794
28815
  }), B(s === u, function() {
28795
28816
  return "Error in matMul: inner shapes (" + s + ") and (" + u + ") of Tensors with shapes " + a.shape + " and " + i.shape + " and transposeA=" + n + " and transposeB=" + r + " must match.";
@@ -28874,7 +28895,7 @@ function o0(e, t, n, r, o, a) {
28874
28895
  return "Error in maxPool: pad must be an integer when using, dimRoundingMode " + a + " but got pad " + o + ".";
28875
28896
  });
28876
28897
  var l = gi(s.shape, t, n, r, o, a);
28877
- if (l.filterWidth === 1 && l.filterHeight === 1 && pn(l.inShape, l.outShape)) return i.clone();
28898
+ if (l.filterWidth === 1 && l.filterHeight === 1 && vn(l.inShape, l.outShape)) return i.clone();
28878
28899
  var c = [s], d = j.runKernelFunc(function(f, h) {
28879
28900
  var p = f.maxPool(s, l);
28880
28901
  return h([s, p]), p;
@@ -28913,7 +28934,7 @@ function a0(e, t, n, r, o, a) {
28913
28934
  return "Error in avgPool: pad must be an integer when using, dimRoundingMode " + a + " but got pad " + o + ".";
28914
28935
  });
28915
28936
  var l = gi(s.shape, t, n, r, o, a);
28916
- if (l.filterWidth === 1 && l.filterHeight === 1 && pn(l.inShape, l.outShape)) return i.clone();
28937
+ if (l.filterWidth === 1 && l.filterHeight === 1 && vn(l.inShape, l.outShape)) return i.clone();
28917
28938
  var c = j.runKernelFunc(function(d) {
28918
28939
  return d.avgPool(s, l);
28919
28940
  }, { x: s }, function(d) {
@@ -29187,7 +29208,7 @@ var pI = $({ all_: function(e, t, n) {
29187
29208
  return l;
29188
29209
  } }), bI = $({ mean_: function(e, t, n) {
29189
29210
  t === void 0 && (t = null), n === void 0 && (n = !1);
29190
- var r = M(e, "x", "mean"), o = ln(t, r.shape), a = Be(_n(r.shape, o)[1]);
29211
+ var r = M(e, "x", "mean"), o = ln(t, r.shape), a = Be(Sn(r.shape, o)[1]);
29191
29212
  return Iu(function(i) {
29192
29213
  var s = Ce(a);
29193
29214
  return { value: (s.dtype === i.dtype ? i : i.cast(s.dtype)).div(s).sum(t, n), gradFunc: function(u) {
@@ -29406,7 +29427,7 @@ var pI = $({ all_: function(e, t, n) {
29406
29427
  } }), TI = $({ movingAverage_: function(e, t, n, r, o) {
29407
29428
  o === void 0 && (o = !0);
29408
29429
  var a = M(e, "v", "movingAverage"), i = M(t, "x", "movingAverage"), s = M(n, "decay", "movingAverage");
29409
- S4(a, i), B(pn(a.shape, i.shape), function() {
29430
+ S4(a, i), B(vn(a.shape, i.shape), function() {
29410
29431
  return "Shape mismatch in v and x";
29411
29432
  });
29412
29433
  var u = Ce(1), l = u.sub(s), c = i.sub(a).mul(l);
@@ -29484,10 +29505,10 @@ var pI = $({ all_: function(e, t, n) {
29484
29505
  var s = e.shape.map(function(y) {
29485
29506
  return y;
29486
29507
  });
29487
- s[e.shape.length - 1] = t - r, n = e.concat(Vt(s), e.shape.length - 1), r = t;
29508
+ s[e.shape.length - 1] = t - r, n = e.concat(zt(s), e.shape.length - 1), r = t;
29488
29509
  } else n = e;
29489
- var u = n.zerosLike(), l = bn(n, u).as2D(o, r), c = Zd(l), d = Math.floor(r / 2) + 1, f = or(c), h = _r(c), p = f.split([d, r - d], f.shape.length - 1), m = h.split([d, r - d], h.shape.length - 1), v = n.shape.slice();
29490
- return v[n.shape.length - 1] = d, bn(p[0], m[0]).reshape(v);
29510
+ var u = n.zerosLike(), l = wn(n, u).as2D(o, r), c = Zd(l), d = Math.floor(r / 2) + 1, f = or(c), h = _r(c), p = f.split([d, r - d], f.shape.length - 1), m = h.split([d, r - d], h.shape.length - 1), v = n.shape.slice();
29511
+ return v[n.shape.length - 1] = d, wn(p[0], m[0]).reshape(v);
29491
29512
  } }), h0 = $({ irfft_: function(e) {
29492
29513
  var t = e.shape[e.shape.length - 1], n = e.size / t;
29493
29514
  if (t <= 2) {
@@ -29495,7 +29516,7 @@ var pI = $({ all_: function(e, t, n) {
29495
29516
  return or(o);
29496
29517
  }
29497
29518
  var a = [n, 2 * (t - 1)], i = or(e).as2D(n, t), s = _r(e).as2D(n, t), u = i.slice([0, 1], [n, t - 2]).reverse(1), l = s.slice([0, 1], [n, t - 2]).reverse(1).mul(Ce(-1)), c = i.concat(u, 1), d = s.concat(l, 1);
29498
- return r = bn(c, d).as2D(a[0], a[1]), o = tu(r), or(o);
29519
+ return r = wn(c, d).as2D(a[0], a[1]), o = tu(r), or(o);
29499
29520
  } }), MI = Object.freeze({ fft: Zd, ifft: tu, rfft: Jd, irfft: h0 }), FI = $({ sparseToDense_: function(e, t, n, r) {
29500
29521
  r === void 0 && (r = 0);
29501
29522
  var o = M(e, "sparseIndices", "sparseToDense", "int32"), a = M(t, "sparseValues", "sparseToDense"), i = M(r, "defaultValue", "sparseToDense", a.dtype);
@@ -29529,7 +29550,7 @@ var pI = $({ all_: function(e, t, n) {
29529
29550
  }), t === 0) return e instanceof Ht ? o.clone() : o;
29530
29551
  var a = function(u, l) {
29531
29552
  if (l == null) return u.shape.slice();
29532
- if (pn(u.shape, l)) return l;
29553
+ if (vn(u.shape, l)) return l;
29533
29554
  if (u.shape.length === l.length) {
29534
29555
  for (var c = [], d = 0; d < u.shape.length; d++) l[d] == null && u.shape[d] != null ? c.push(u.shape[d]) : c.push(l[d]);
29535
29556
  return c;
@@ -29562,7 +29583,7 @@ var ef = $({ hannWindow_: function(e) {
29562
29583
  o === void 0 && (o = ef), r == null && (a = t, r = Math.floor(Math.pow(2, Math.ceil(Math.log(a) / Math.log(2)))));
29563
29584
  for (var i = tf(e, t, n), s = Dn(i, o(t)), u = [], l = 0; l < i.shape[0]; l++) u.push(Jd(s.slice([l, 0], [1, t]), r));
29564
29585
  return on(u);
29565
- } }), NI = Object.freeze({ hannWindow: ef, hammingWindow: v0, frame: tf, stft: m0 }), In, LI = function(e, t, n) {
29586
+ } }), NI = Object.freeze({ hannWindow: ef, hammingWindow: v0, frame: tf, stft: m0 }), An, LI = function(e, t, n) {
29566
29587
  return n === void 0 && (n = 1), Me(this, void 0, void 0, function() {
29567
29588
  var r, o, a, i, s, u, l, c, d, f, h, p, m, v;
29568
29589
  return Fe(this, function(y) {
@@ -29587,46 +29608,46 @@ var ef = $({ hannWindow_: function(e) {
29587
29608
  break;
29588
29609
  }
29589
29610
  }
29590
- return e !== r && r.dispose(), t !== o && o.dispose(), [2, xn(d, o.shape, "bool")];
29611
+ return e !== r && r.dispose(), t !== o && o.dispose(), [2, Cn(d, o.shape, "bool")];
29591
29612
  }
29592
29613
  });
29593
29614
  });
29594
29615
  };
29595
29616
  (function(e) {
29596
29617
  e[e.NONE = 0] = "NONE", e[e.MEAN = 1] = "MEAN", e[e.SUM = 2] = "SUM", e[e.SUM_BY_NONZERO_WEIGHTS = 3] = "SUM_BY_NONZERO_WEIGHTS";
29597
- })(In || (In = {}));
29618
+ })(An || (An = {}));
29598
29619
  var qI = $({ absoluteDifference_: function(e, t, n, r) {
29599
- r === void 0 && (r = In.SUM_BY_NONZERO_WEIGHTS);
29620
+ r === void 0 && (r = An.SUM_BY_NONZERO_WEIGHTS);
29600
29621
  var o = M(e, "labels", "absoluteDifference"), a = M(t, "predictions", "absoluteDifference"), i = null;
29601
29622
  n != null && (i = M(n, "weights", "absoluteDifference")), Rt(o.shape, a.shape, "Error in absoluteDifference: ");
29602
29623
  var s = o.sub(a).abs();
29603
29624
  return Kr(s, i, r);
29604
29625
  } }), Kr = $({ computeWeightedLoss_: function(e, t, n) {
29605
- n === void 0 && (n = In.SUM_BY_NONZERO_WEIGHTS);
29626
+ n === void 0 && (n = An.SUM_BY_NONZERO_WEIGHTS);
29606
29627
  var r = M(e, "losses", "computeWeightedLoss"), o = null;
29607
29628
  t != null && (o = M(t, "weights", "computeWeightedLoss"));
29608
29629
  var a = o == null ? r : r.mul(o);
29609
- if (n === In.NONE) return a;
29610
- if (n === In.SUM) return a.sum();
29611
- if (n === In.MEAN) {
29630
+ if (n === An.NONE) return a;
29631
+ if (n === An.SUM) return a.sum();
29632
+ if (n === An.MEAN) {
29612
29633
  if (o == null) return a.mean();
29613
29634
  var i = r.size / o.size, s = a.sum().div(o.sum());
29614
29635
  return i > 1 ? s.div(Ce(i)) : s;
29615
29636
  }
29616
- if (n === In.SUM_BY_NONZERO_WEIGHTS) {
29637
+ if (n === An.SUM_BY_NONZERO_WEIGHTS) {
29617
29638
  if (o == null) return a.sum().div(Ce(r.size));
29618
29639
  var u = o.mul(ja(r.shape)).notEqual(Ce(0)).sum().toFloat();
29619
29640
  return a.sum().div(u);
29620
29641
  }
29621
29642
  throw Error("Unknown reduction: " + n);
29622
29643
  } }), VI = $({ cosineDistance_: function(e, t, n, r, o) {
29623
- o === void 0 && (o = In.SUM_BY_NONZERO_WEIGHTS);
29644
+ o === void 0 && (o = An.SUM_BY_NONZERO_WEIGHTS);
29624
29645
  var a = M(e, "labels", "cosineDistance"), i = M(t, "predictions", "cosineDistance"), s = null;
29625
29646
  r != null && (s = M(r, "weights", "cosineDistance")), Rt(a.shape, i.shape, "Error in cosineDistance: ");
29626
29647
  var u = Ce(1).sub(a.mul(i).sum(n, !0));
29627
29648
  return Kr(u, s, o);
29628
29649
  } }), zI = $({ hingeLoss_: function(e, t, n, r) {
29629
- r === void 0 && (r = In.SUM_BY_NONZERO_WEIGHTS);
29650
+ r === void 0 && (r = An.SUM_BY_NONZERO_WEIGHTS);
29630
29651
  var o = M(e, "labels", "hingeLoss"), a = M(t, "predictions", "hingeLoss"), i = null;
29631
29652
  n != null && (i = M(n, "weights", "hingeLoss")), Rt(o.shape, a.shape, "Error in hingeLoss: ");
29632
29653
  var s = Ce(1);
@@ -29634,25 +29655,25 @@ var qI = $({ absoluteDifference_: function(e, t, n, r) {
29634
29655
  var u = s.sub(o.mul(a)).relu();
29635
29656
  return Kr(u, i, r);
29636
29657
  } }), $I = $({ huberLoss_: function(e, t, n, r, o) {
29637
- r === void 0 && (r = 1), o === void 0 && (o = In.SUM_BY_NONZERO_WEIGHTS);
29658
+ r === void 0 && (r = 1), o === void 0 && (o = An.SUM_BY_NONZERO_WEIGHTS);
29638
29659
  var a = M(e, "labels", "huberLoss"), i = M(t, "predictions", "huberLoss"), s = null;
29639
29660
  n != null && (s = M(n, "weights", "huberLoss")), Rt(a.shape, i.shape, "Error in huberLoss: ");
29640
29661
  var u = Ce(r), l = i.sub(a).abs(), c = Yg(l, u), d = l.sub(c), f = Ce(0.5).mul(c.square()).add(u.mul(d));
29641
29662
  return Kr(f, s, o);
29642
29663
  } }), WI = $({ logLoss_: function(e, t, n, r, o) {
29643
- r === void 0 && (r = 1e-7), o === void 0 && (o = In.SUM_BY_NONZERO_WEIGHTS);
29664
+ r === void 0 && (r = 1e-7), o === void 0 && (o = An.SUM_BY_NONZERO_WEIGHTS);
29644
29665
  var a = M(e, "labels", "logLoss"), i = M(t, "predictions", "logLoss"), s = null;
29645
29666
  n != null && (s = M(n, "weights", "logLoss")), Rt(a.shape, i.shape, "Error in logLoss: ");
29646
29667
  var u = Ce(1), l = Ce(r), c = a.mul(i.add(l).log()).neg().sub(u.sub(a).mul(u.sub(i).add(l).log()));
29647
29668
  return Kr(c, s, o);
29648
29669
  } }), HI = $({ meanSquaredError_: function(e, t, n, r) {
29649
- r === void 0 && (r = In.SUM_BY_NONZERO_WEIGHTS);
29670
+ r === void 0 && (r = An.SUM_BY_NONZERO_WEIGHTS);
29650
29671
  var o = M(e, "labels", "meanSquaredError"), a = M(t, "predictions", "meanSquaredError"), i = null;
29651
29672
  n != null && (i = M(n, "weights", "meanSquaredError")), Rt(o.shape, a.shape, "Error in meanSquaredError: ");
29652
29673
  var s = o.squaredDifference(a);
29653
29674
  return Kr(s, i, r);
29654
29675
  } }), UI = $({ sigmoidCrossEntropy_: function(e, t, n, r, o) {
29655
- r === void 0 && (r = 0), o === void 0 && (o = In.SUM_BY_NONZERO_WEIGHTS);
29676
+ r === void 0 && (r = 0), o === void 0 && (o = An.SUM_BY_NONZERO_WEIGHTS);
29656
29677
  var a = M(e, "multiClassLabels", "sigmoidCrossEntropy"), i = M(t, "logits", "sigmoidCrossEntropy"), s = null;
29657
29678
  if (n != null && (s = M(n, "weights", "sigmoidCrossEntropy")), Rt(a.shape, i.shape, "Error in sigmoidCrossEntropy: "), r > 0) {
29658
29679
  var u = Ce(r), l = Ce(1), c = Ce(0.5);
@@ -29666,7 +29687,7 @@ var qI = $({ absoluteDifference_: function(e, t, n, r) {
29666
29687
  }(a, i);
29667
29688
  return Kr(d, s, o);
29668
29689
  } }), jI = $({ softmaxCrossEntropy_: function(e, t, n, r, o) {
29669
- r === void 0 && (r = 0), o === void 0 && (o = In.SUM_BY_NONZERO_WEIGHTS);
29690
+ r === void 0 && (r = 0), o === void 0 && (o = An.SUM_BY_NONZERO_WEIGHTS);
29670
29691
  var a = M(e, "onehotLabels", "softmaxCrossEntropy"), i = M(t, "logits", "softmaxCrossEntropy"), s = null;
29671
29692
  if (n != null && (s = M(n, "weights", "softmaxCrossEntropy")), Rt(a.shape, i.shape, "Error in softmaxCrossEntropy: "), r > 0) {
29672
29693
  var u = Ce(r), l = Ce(1), c = Ce(a.shape[1]);
@@ -29684,7 +29705,7 @@ var qI = $({ absoluteDifference_: function(e, t, n, r) {
29684
29705
  }(a, i);
29685
29706
  return Kr(d, s, o);
29686
29707
  } }), GI = Object.freeze({ get Reduction() {
29687
- return In;
29708
+ return An;
29688
29709
  }, absoluteDifference: qI, computeWeightedLoss: Kr, cosineDistance: VI, hingeLoss: zI, huberLoss: $I, logLoss: WI, meanSquaredError: HI, sigmoidCrossEntropy: UI, softmaxCrossEntropy: jI });
29689
29710
  function Pp(e, t) {
29690
29711
  return t === void 0 && (t = !1), j.tidy(function() {
@@ -29721,7 +29742,7 @@ var KI = $({ bandPart_: function(e, t, n) {
29721
29742
  if (!(t <= i)) throw new Error("bandPart(): numLower (" + t + ") must not be greater than the number of rows (" + i + ").");
29722
29743
  if (!(n <= s)) throw new Error("bandPart(): numUpper (" + n + ") must not be greater than the number of columns (" + s + ").");
29723
29744
  t < 0 && (t = i), n < 0 && (n = s);
29724
- var u = Us(0, i, 1, "int32").reshape([-1, 1]), l = Us(0, s, 1, "int32"), c = un(u, l), d = Du(c.lessEqual(Ce(+t, "int32")), c.greaterEqual(Ce(-n, "int32"))), f = Vt([i, s], r.dtype);
29745
+ var u = Us(0, i, 1, "int32").reshape([-1, 1]), l = Us(0, s, 1, "int32"), c = un(u, l), d = Du(c.lessEqual(Ce(+t, "int32")), c.greaterEqual(Ce(-n, "int32"))), f = zt([i, s], r.dtype);
29725
29746
  return Zn(an(r.reshape([-1, i, s])).map(function(h) {
29726
29747
  return $o(d, h, f);
29727
29748
  })).reshape(o);
@@ -29906,7 +29927,7 @@ var ZI = $({ resizeBilinear_: function(e, t, n) {
29906
29927
  var m = a ? h.shape[h.rank - 2] : h.shape[h.rank - 1], v = s ? p.shape[p.rank - 1] : p.shape[p.rank - 2], y = a ? h.shape[h.rank - 1] : h.shape[h.rank - 2], w = s ? p.shape[p.rank - 2] : p.shape[p.rank - 1], b = h.shape.slice(0, -2), g = p.shape.slice(0, -2), x = Be(b), C = Be(g);
29907
29928
  B(h.rank >= 2 && p.rank >= 2 && h.rank === p.rank, function() {
29908
29929
  return "Error in fused matMul: inputs must have the same rank of at least 2, got ranks " + h.rank + " and " + p.rank + ".";
29909
- }), B(pn(b, g), function() {
29930
+ }), B(vn(b, g), function() {
29910
29931
  return "Error in fused matMul: outer dimensions (" + b + ") and (" + g + ") of Tensors with shapes " + h.shape + " and " + p.shape + " must match.";
29911
29932
  }), B(m === v, function() {
29912
29933
  return "Error in fused matMul: inner shapes (" + m + ") and (" + v + ") of Tensors with shapes " + h.shape + " and " + p.shape + " and transposeA=" + a + " and transposeB=" + s + " must match.";
@@ -30022,7 +30043,7 @@ var ZI = $({ resizeBilinear_: function(e, t, n) {
30022
30043
  } }, O);
30023
30044
  }, "FusedDepthwiseConv2D", { convInfo: x, activation: f }, S, [!0]);
30024
30045
  return w ? E.as3D(E.shape[1], E.shape[2], E.shape[3]) : E;
30025
- } }), u6 = Object.freeze({ matMul: a6, conv2d: i6, depthwiseConv2d: s6 }), l6 = Object.freeze({ image: nf, linalg: QI, losses: GI, spectral: MI, fused: u6, signal: NI, square: WR, squaredDifference: qg, conv1d: ZT, conv2d: sr, conv3d: JT, depthwiseConv2d: Mu, separableConv2d: Qd, conv2dTranspose: eI, conv3dTranspose: tI, op: $, batchNormalization2d: bT, batchNormalization3d: wT, batchNormalization4d: xT, batchNormalization: CT, batchNorm: Ug, batchNorm2d: kT, batchNorm3d: _T, batchNorm4d: ST, booleanMaskAsync: QT, complex: bn, real: or, imag: _r, concat: on, concat1d: uE, concat2d: lE, concat3d: cE, concat4d: dE, split: Nd, matMul: Fu, dot: nI, outerProduct: rI, reverse: Li, reverse1d: oI, reverse2d: aI, reverse3d: iI, reverse4d: sI, maxPool: dn, avgPool: qi, pool: uI, maxPool3d: lI, avgPool3d: cI, slice: Ir, slice1d: dI, slice2d: fI, slice3d: i0, slice4d: hI, abs: HR, acos: UR, acosh: jR, asin: GR, asinh: KR, atan: YR, atanh: XR, ceil: QR, clipByValue: Gd, cos: ZR, cosh: JR, erf: eT, exp: Hc, expm1: tT, floor: nT, log: rT, log1p: oT, logSigmoid: aT, neg: Js, reciprocal: iT, round: sT, rsqrt: Vg, sigmoid: zg, sign: uT, isNaN: lT, isInf: cT, isFinite: dT, sin: fT, sinh: hT, softplus: pT, sqrt: vT, step: mT, tan: gT, tanh: yT, all: pI, any: vI, argMax: mI, argMin: gI, logSumExp: yI, max: Pu, mean: bI, min: wI, moments: xI, sum: u0, prod: CI, equal: Xg, equalStrict: zT, greater: $T, greaterEqual: Qg, greaterEqualStrict: WT, greaterStrict: HT, less: UT, lessEqual: jT, lessEqualStrict: GT, lessStrict: KT, notEqual: YT, notEqualStrict: XT, add: ft, addN: TT, addStrict: IT, atan2: AT, div: cr, divNoNan: DT, divStrict: MT, floorDiv: Kg, maximum: Kd, maximumStrict: FT, minimum: Yg, minimumStrict: PT, mod: BT, modStrict: OT, mul: Dn, mulStrict: NT, pow: eu, powStrict: LT, squaredDifferenceStrict: qT, sub: un, subStrict: VT, elu: l0, leakyRelu: kI, prelu: c0, relu: Ut, relu6: d0, selu: _I, logicalAnd: Du, logicalNot: ET, logicalOr: jg, logicalXor: RT, where: $o, whereAsync: Gg, buffer: ot, print: wE, batchToSpaceND: ug, broadcastTo: xE, cast: CE, clone: kE, cumsum: _E, depthToSpace: SE, expandDims: rr, eye: lg, multinomial: EE, oneHot: Vc, pad: Go, pad1d: RE, pad2d: TE, pad3d: IE, pad4d: AE, rand: DE, randomNormal: ME, randomGamma: FE, randomUniform: cg, reshape: dr, spaceToBatchND: dg, squeeze: fg, stack: Zn, tile: xa, truncatedNormal: PE, unstack: an, setdiff1dAsync: BE, fill: Tr, linspace: sE, ones: ja, range: Us, scalar: Ce, tensor: xn, tensor1d: tn, tensor2d: uo, tensor3d: Od, tensor4d: Pn, tensor5d: oE, tensor6d: aE, variable: iE, zeros: Vt, onesLike: sg, zerosLike: yt, transpose: po, softmax: Gr, logSoftmax: $E, localResponseNormalization: SI, norm: f0, gather: Yd, unsortedSegmentSum: Zg, basicLSTMCell: EI, multiRNNCell: RI, movingAverage: TI, stridedSlice: II, topk: AI, scatterND: DI, fft: Zd, ifft: tu, rfft: Jd, irfft: h0, sparseToDense: FI, gatherND: PI, diag: BI, dropout: OI, hannWindow: ef, hammingWindow: v0, frame: tf, stft: m0, inTopKAsync: LI });
30046
+ } }), u6 = Object.freeze({ matMul: a6, conv2d: i6, depthwiseConv2d: s6 }), l6 = Object.freeze({ image: nf, linalg: QI, losses: GI, spectral: MI, fused: u6, signal: NI, square: WR, squaredDifference: qg, conv1d: ZT, conv2d: sr, conv3d: JT, depthwiseConv2d: Mu, separableConv2d: Qd, conv2dTranspose: eI, conv3dTranspose: tI, op: $, batchNormalization2d: bT, batchNormalization3d: wT, batchNormalization4d: xT, batchNormalization: CT, batchNorm: Ug, batchNorm2d: kT, batchNorm3d: _T, batchNorm4d: ST, booleanMaskAsync: QT, complex: wn, real: or, imag: _r, concat: on, concat1d: uE, concat2d: lE, concat3d: cE, concat4d: dE, split: Nd, matMul: Fu, dot: nI, outerProduct: rI, reverse: Li, reverse1d: oI, reverse2d: aI, reverse3d: iI, reverse4d: sI, maxPool: dn, avgPool: qi, pool: uI, maxPool3d: lI, avgPool3d: cI, slice: Ir, slice1d: dI, slice2d: fI, slice3d: i0, slice4d: hI, abs: HR, acos: UR, acosh: jR, asin: GR, asinh: KR, atan: YR, atanh: XR, ceil: QR, clipByValue: Gd, cos: ZR, cosh: JR, erf: eT, exp: Hc, expm1: tT, floor: nT, log: rT, log1p: oT, logSigmoid: aT, neg: Js, reciprocal: iT, round: sT, rsqrt: Vg, sigmoid: zg, sign: uT, isNaN: lT, isInf: cT, isFinite: dT, sin: fT, sinh: hT, softplus: pT, sqrt: vT, step: mT, tan: gT, tanh: yT, all: pI, any: vI, argMax: mI, argMin: gI, logSumExp: yI, max: Pu, mean: bI, min: wI, moments: xI, sum: u0, prod: CI, equal: Xg, equalStrict: zT, greater: $T, greaterEqual: Qg, greaterEqualStrict: WT, greaterStrict: HT, less: UT, lessEqual: jT, lessEqualStrict: GT, lessStrict: KT, notEqual: YT, notEqualStrict: XT, add: ft, addN: TT, addStrict: IT, atan2: AT, div: cr, divNoNan: DT, divStrict: MT, floorDiv: Kg, maximum: Kd, maximumStrict: FT, minimum: Yg, minimumStrict: PT, mod: BT, modStrict: OT, mul: Dn, mulStrict: NT, pow: eu, powStrict: LT, squaredDifferenceStrict: qT, sub: un, subStrict: VT, elu: l0, leakyRelu: kI, prelu: c0, relu: Ut, relu6: d0, selu: _I, logicalAnd: Du, logicalNot: ET, logicalOr: jg, logicalXor: RT, where: $o, whereAsync: Gg, buffer: ot, print: wE, batchToSpaceND: ug, broadcastTo: xE, cast: CE, clone: kE, cumsum: _E, depthToSpace: SE, expandDims: rr, eye: lg, multinomial: EE, oneHot: Vc, pad: Go, pad1d: RE, pad2d: TE, pad3d: IE, pad4d: AE, rand: DE, randomNormal: ME, randomGamma: FE, randomUniform: cg, reshape: dr, spaceToBatchND: dg, squeeze: fg, stack: Zn, tile: xa, truncatedNormal: PE, unstack: an, setdiff1dAsync: BE, fill: Tr, linspace: sE, ones: ja, range: Us, scalar: Ce, tensor: Cn, tensor1d: tn, tensor2d: uo, tensor3d: Od, tensor4d: Pn, tensor5d: oE, tensor6d: aE, variable: iE, zeros: zt, onesLike: sg, zerosLike: yt, transpose: po, softmax: Gr, logSoftmax: $E, localResponseNormalization: SI, norm: f0, gather: Yd, unsortedSegmentSum: Zg, basicLSTMCell: EI, multiRNNCell: RI, movingAverage: TI, stridedSlice: II, topk: AI, scatterND: DI, fft: Zd, ifft: tu, rfft: Jd, irfft: h0, sparseToDense: FI, gatherND: PI, diag: BI, dropout: OI, hannWindow: ef, hammingWindow: v0, frame: tf, stft: m0, inTopKAsync: LI });
30026
30047
  function de(e, t) {
30027
30048
  Array.isArray(e) || (e = [e]), e.forEach(function(n) {
30028
30049
  n != null && B(n.dtype !== "complex64", function() {
@@ -30100,7 +30121,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30100
30121
  }, t.prototype.slice = function(n, r, o) {
30101
30122
  if (de(n, "slice"), gg(n.shape, r, o)) {
30102
30123
  var a = yg(r, n.strides), i = Be(o);
30103
- return xn(this.readSync(n.dataId).subarray(a, a + i), o, n.dtype);
30124
+ return Cn(this.readSync(n.dataId).subarray(a, a + i), o, n.dtype);
30104
30125
  }
30105
30126
  for (var s = ot(o, n.dtype), u = this.bufferSync(n), l = 0; l < s.size; ++l) {
30106
30127
  var c = s.indexToLoc(l).map(function(d, f) {
@@ -30114,7 +30135,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30114
30135
  var i = qd(r, o, a);
30115
30136
  if (i.some(function(h) {
30116
30137
  return h === 0;
30117
- })) return xn([], i);
30138
+ })) return Cn([], i);
30118
30139
  for (var s = ot(i, n.dtype), u = this.bufferSync(n), l = 0; l < s.size; l++) {
30119
30140
  for (var c = s.indexToLoc(l), d = new Array(c.length), f = 0; f < d.length; f++) d[f] = c[f] * a[f] + r[f];
30120
30141
  s.set.apply(s, [u.get.apply(u, d)].concat(c));
@@ -30147,7 +30168,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30147
30168
  }), i = n.map(function(h) {
30148
30169
  return _r(h);
30149
30170
  });
30150
- return bn(this.concat(a, r), this.concat(i, r));
30171
+ return wn(this.concat(a, r), this.concat(i, r));
30151
30172
  }
30152
30173
  var s = n.map(function(h) {
30153
30174
  var p = Be(h.shape.slice(r));
@@ -30170,13 +30191,13 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30170
30191
  var f = Ba(n.map(function(h) {
30171
30192
  return h.shape;
30172
30193
  }), r);
30173
- return xn(l, f, n[0].dtype);
30194
+ return Cn(l, f, n[0].dtype);
30174
30195
  }, t.prototype.neg = function(n) {
30175
30196
  return de(n, "neg"), this.multiply(Ce(-1), n);
30176
30197
  }, t.prototype.add = function(n, r) {
30177
30198
  return n.dtype === "complex64" || r.dtype === "complex64" ? this.broadcastedBinaryComplexOp(n.cast("complex64"), r.cast("complex64"), function(o, a, i, s) {
30178
30199
  return { real: o + i, imag: a + s };
30179
- }) : this.broadcastedBinaryOp(n, r, wn(n.dtype, r.dtype), function(o, a) {
30200
+ }) : this.broadcastedBinaryOp(n, r, xn(n.dtype, r.dtype), function(o, a) {
30180
30201
  return o + a;
30181
30202
  });
30182
30203
  }, t.prototype.addN = function(n) {
@@ -30192,7 +30213,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30192
30213
  }, t.prototype.subtract = function(n, r) {
30193
30214
  return n.dtype === "complex64" || r.dtype === "complex64" ? this.broadcastedBinaryComplexOp(n.cast("complex64"), r.cast("complex64"), function(o, a, i, s) {
30194
30215
  return { real: o - i, imag: a - s };
30195
- }) : this.broadcastedBinaryOp(n, r, wn(n.dtype, r.dtype), function(o, a) {
30216
+ }) : this.broadcastedBinaryOp(n, r, xn(n.dtype, r.dtype), function(o, a) {
30196
30217
  return o - a;
30197
30218
  });
30198
30219
  }, t.prototype.pow = function(n, r) {
@@ -30212,7 +30233,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30212
30233
  }, t.prototype.multiply = function(n, r) {
30213
30234
  return n.dtype === "complex64" || r.dtype === "complex64" ? this.broadcastedBinaryComplexOp(n.cast("complex64"), r.cast("complex64"), function(o, a, i, s) {
30214
30235
  return { real: o * i - a * s, imag: o * s + a * i };
30215
- }) : this.broadcastedBinaryOp(n, r, wn(n.dtype, r.dtype), function(o, a) {
30236
+ }) : this.broadcastedBinaryOp(n, r, xn(n.dtype, r.dtype), function(o, a) {
30216
30237
  return o * a;
30217
30238
  });
30218
30239
  }, t.prototype.realDivide = function(n, r) {
@@ -30225,14 +30246,14 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30225
30246
  });
30226
30247
  }, t.prototype.sum = function(n, r) {
30227
30248
  de(n, "sum"), Hn("sum", r, n.rank);
30228
- for (var o = _n(n.shape, r), a = o[0], i = o[1], s = Vt(a, wn(n.dtype, "int32")), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30249
+ for (var o = Sn(n.shape, r), a = o[0], i = o[1], s = zt(a, xn(n.dtype, "int32")), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30229
30250
  for (var f = d * u, h = 0, p = 0; p < u; ++p) h += c[f + p];
30230
30251
  l[d] = h;
30231
30252
  }
30232
30253
  return s;
30233
30254
  }, t.prototype.prod = function(n, r) {
30234
30255
  de(n, "sum");
30235
- for (var o = _n(n.shape, r), a = o[0], i = o[1], s = Vt(a, wn(n.dtype, "int32")), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30256
+ for (var o = Sn(n.shape, r), a = o[0], i = o[1], s = zt(a, xn(n.dtype, "int32")), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30236
30257
  for (var f = d * u, h = 1, p = 0; p < u; ++p) h *= c[f + p];
30237
30258
  l[d] = h;
30238
30259
  }
@@ -30249,7 +30270,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30249
30270
  de(n, "argMin");
30250
30271
  var o = [r];
30251
30272
  Hn("argMin", o, n.rank);
30252
- for (var a = _n(n.shape, o), i = a[0], s = a[1], u = Vt(i, "int32"), l = Be(s), c = this.readSync(u.dataId), d = this.readSync(n.dataId), f = 0; f < c.length; ++f) {
30273
+ for (var a = Sn(n.shape, o), i = a[0], s = a[1], u = zt(i, "int32"), l = Be(s), c = this.readSync(u.dataId), d = this.readSync(n.dataId), f = 0; f < c.length; ++f) {
30253
30274
  for (var h = f * l, p = d[h], m = 0, v = 0; v < l; ++v) {
30254
30275
  var y = d[h + v];
30255
30276
  y < p && (p = y, m = v);
@@ -30261,7 +30282,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30261
30282
  de(n, "argMax");
30262
30283
  var o = [r];
30263
30284
  Hn("argMax", o, n.rank);
30264
- for (var a = _n(n.shape, o), i = a[0], s = a[1], u = Vt(i, "int32"), l = Be(s), c = this.readSync(u.dataId), d = this.readSync(n.dataId), f = 0; f < c.length; ++f) {
30285
+ for (var a = Sn(n.shape, o), i = a[0], s = a[1], u = zt(i, "int32"), l = Be(s), c = this.readSync(u.dataId), d = this.readSync(n.dataId), f = 0; f < c.length; ++f) {
30265
30286
  for (var h = f * l, p = d[h], m = 0, v = 0; v < l; ++v) {
30266
30287
  var y = d[h + v];
30267
30288
  y > p && (p = y, m = v);
@@ -30271,7 +30292,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30271
30292
  return u;
30272
30293
  }, t.prototype.cumsum = function(n, r, o, a) {
30273
30294
  if (de(n, "cumsum"), r !== n.rank - 1) throw new Error("backend.cumsum in CPU expects an inner-most axis=" + (n.rank - 1) + " but got axis=" + r);
30274
- for (var i = wn(n.dtype, "int32"), s = Vt(n.shape, i), u = this.readSync(s.dataId), l = this.readSync(n.dataId), c = n.shape[n.rank - 1], d = a ? function(v, y) {
30295
+ for (var i = xn(n.dtype, "int32"), s = zt(n.shape, i), u = this.readSync(s.dataId), l = this.readSync(n.dataId), c = n.shape[n.rank - 1], d = a ? function(v, y) {
30275
30296
  return v + c - y - 1;
30276
30297
  } : function(v, y) {
30277
30298
  return v + y;
@@ -30322,7 +30343,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30322
30343
  });
30323
30344
  }, t.prototype.select = function(n, r, o) {
30324
30345
  de([n, r, o], "select");
30325
- for (var a = this.readSync(n.dataId), i = this.readSync(r.dataId), s = this.readSync(o.dataId), u = Vt(r.shape, wn(r.dtype, o.dtype)), l = this.readSync(u.dataId), c = 0, d = n.rank === 0 || n.rank > 1 || r.rank === 1 ? 1 : Be(r.shape.slice(1)), f = 0; f < a.length; f++) for (var h = 0; h < d; h++) a[f] === 1 ? l[c++] = i[f] : l[c++] = s[f];
30346
+ for (var a = this.readSync(n.dataId), i = this.readSync(r.dataId), s = this.readSync(o.dataId), u = zt(r.shape, xn(r.dtype, o.dtype)), l = this.readSync(u.dataId), c = 0, d = n.rank === 0 || n.rank > 1 || r.rank === 1 ? 1 : Be(r.shape.slice(1)), f = 0; f < a.length; f++) for (var h = 0; h < d; h++) a[f] === 1 ? l[c++] = i[f] : l[c++] = s[f];
30326
30347
  return u;
30327
30348
  }, t.prototype.where = function(n) {
30328
30349
  de([n], "where");
@@ -30332,7 +30353,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30332
30353
  return de(n, "topk"), Rg(this.readSync(n.dataId), n.shape, n.dtype, r);
30333
30354
  }, t.prototype.min = function(n, r) {
30334
30355
  de(n, "min"), Hn("min", r, n.rank);
30335
- for (var o = _n(n.shape, r), a = o[0], i = o[1], s = Vt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30356
+ for (var o = Sn(n.shape, r), a = o[0], i = o[1], s = zt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30336
30357
  for (var f = d * u, h = c[f], p = 0; p < u; ++p) {
30337
30358
  var m = c[f + p];
30338
30359
  m < h && (h = m);
@@ -30351,7 +30372,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30351
30372
  });
30352
30373
  }, t.prototype.max = function(n, r) {
30353
30374
  de(n, "max"), Hn("max", r, n.rank);
30354
- for (var o = _n(n.shape, r), a = o[0], i = o[1], s = Vt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30375
+ for (var o = Sn(n.shape, r), a = o[0], i = o[1], s = zt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30355
30376
  for (var f = d * u, h = c[f], p = 0; p < u; ++p) {
30356
30377
  var m = c[f + p];
30357
30378
  m > h && (h = m);
@@ -30365,7 +30386,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30365
30386
  });
30366
30387
  }, t.prototype.all = function(n, r) {
30367
30388
  de(n, "all"), Hn("all", r, n.rank);
30368
- for (var o = _n(n.shape, r), a = o[0], i = o[1], s = Vt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30389
+ for (var o = Sn(n.shape, r), a = o[0], i = o[1], s = zt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30369
30390
  for (var f = d * u, h = c[f], p = 0; p < u; ++p) {
30370
30391
  var m = c[f + p];
30371
30392
  h = h && m;
@@ -30375,7 +30396,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30375
30396
  return s;
30376
30397
  }, t.prototype.any = function(n, r) {
30377
30398
  de(n, "any"), Hn("any", r, n.rank);
30378
- for (var o = _n(n.shape, r), a = o[0], i = o[1], s = Vt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30399
+ for (var o = Sn(n.shape, r), a = o[0], i = o[1], s = zt(a, n.dtype), u = Be(i), l = this.readSync(s.dataId), c = this.readSync(n.dataId), d = 0; d < l.length; ++d) {
30379
30400
  for (var f = d * u, h = c[f], p = 0; p < u; ++p) {
30380
30401
  var m = c[f + p];
30381
30402
  h = h || m;
@@ -30463,11 +30484,11 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30463
30484
  return n;
30464
30485
  }, t.prototype.relu = function(n) {
30465
30486
  de(n, "relu");
30466
- for (var r = Vt(n.shape, n.dtype), o = this.readSync(r.dataId), a = this.readSync(n.dataId), i = 0; i < a.length; ++i) o[i] = Math.max(0, a[i]);
30487
+ for (var r = zt(n.shape, n.dtype), o = this.readSync(r.dataId), a = this.readSync(n.dataId), i = 0; i < a.length; ++i) o[i] = Math.max(0, a[i]);
30467
30488
  return r;
30468
30489
  }, t.prototype.relu6 = function(n) {
30469
30490
  de(n, "relu");
30470
- for (var r = Vt(n.shape, n.dtype), o = this.readSync(r.dataId), a = this.readSync(n.dataId), i = 0; i < a.length; ++i) o[i] = Math.min(Math.max(0, a[i]), 6);
30491
+ for (var r = zt(n.shape, n.dtype), o = this.readSync(r.dataId), a = this.readSync(n.dataId), i = 0; i < a.length; ++i) o[i] = Math.min(Math.max(0, a[i]), 6);
30471
30492
  return r;
30472
30493
  }, t.prototype.prelu = function(n, r) {
30473
30494
  return de([n, r], "prelu"), this.broadcastedBinaryOp(n, r, n.dtype, function(o, a) {
@@ -30890,7 +30911,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30890
30911
  var Y = d[O + H], L = d[z + H], V = Y + (d[F + H] - Y) * q, G = V + (L + (d[P + H] - L) * q - V) * C;
30891
30912
  f[m++] = G;
30892
30913
  }
30893
- return xn(f, [s, r, o, c]);
30914
+ return Cn(f, [s, r, o, c]);
30894
30915
  }, t.prototype.resizeBilinearBackprop = function(n, r, o) {
30895
30916
  de([n, r], "resizeBilinearBackprop");
30896
30917
  for (var a = r.shape, i = a[0], s = a[1], u = a[2], l = a[3], c = n.shape, d = c[1], f = c[2], h = new Float32Array(i * s * u * l), p = [o && d > 1 ? s - 1 : s, o && f > 1 ? u - 1 : u], m = [o && d > 1 ? d - 1 : d, o && f > 1 ? f - 1 : f], v = p[0] / m[0], y = p[1] / m[1], w = this.readSync(n.dataId), b = 0, g = 0; g < i; g++) for (var x = g * r.strides[0], C = 0; C < d; C++) for (var S = C * v, E = Math.floor(S), R = Math.min(Math.ceil(S), s - 1), k = x + E * r.strides[1], I = x + R * r.strides[1], A = S - E, q = 1 - A, D = 0; D < f; D++) for (var O = D * y, z = Math.floor(O), F = Math.min(Math.ceil(O), u - 1), P = O - z, H = 1 - P, Y = k + z * r.strides[2], L = k + F * r.strides[2], V = I + z * r.strides[2], G = I + F * r.strides[2], ne = q * H, ue = q * P, ce = A * H, le = A * P, we = 0; we < l; we++) {
@@ -30904,7 +30925,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30904
30925
  var I = d[R + k];
30905
30926
  f[y++] = I;
30906
30927
  }
30907
- return xn(f, [s, r, o, c], n.dtype);
30928
+ return Cn(f, [s, r, o, c], n.dtype);
30908
30929
  }, t.prototype.resizeNearestNeighborBackprop = function(n, r, o) {
30909
30930
  de([n, r], "resizeNearestNeighborBackprop");
30910
30931
  for (var a = r.shape, i = a[0], s = a[1], u = a[2], l = a[3], c = n.shape, d = c[1], f = c[2], h = new Float32Array(i * s * u * l), p = this.readSync(n.dataId), m = [o && d > 1 ? s - 1 : s, o && f > 1 ? u - 1 : u], v = [o && d > 1 ? d - 1 : d, o && f > 1 ? f - 1 : f], y = m[0] / v[0], w = m[1] / v[1], b = 1 / y, g = 1 / w, x = 2 * Math.ceil(b) + 2, C = 2 * Math.ceil(g) + 2, S = 0; S < i; S++) for (var E = S * r.strides[0], R = 0; R < s; R++) for (var k = E + R * r.strides[1], I = Math.floor(R * b), A = Math.floor(I - x / 2), q = 0; q < u; q++) for (var D = k + q * r.strides[2], O = Math.floor(q * g), z = Math.floor(O - C / 2), F = 0; F < l; F++) {
@@ -30955,7 +30976,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30955
30976
  return Pn(h, n.shape);
30956
30977
  }, t.prototype.multinomial = function(n, r, o, a) {
30957
30978
  de(n, "multinomial");
30958
- for (var i = r ? n : Gr(n), s = i.shape[0], u = i.shape[1], l = Vt([s, o], "int32"), c = this.readSync(l.dataId), d = this.readSync(i.dataId), f = 0; f < s; ++f) {
30979
+ for (var i = r ? n : Gr(n), s = i.shape[0], u = i.shape[1], l = zt([s, o], "int32"), c = this.readSync(l.dataId), d = this.readSync(i.dataId), f = 0; f < s; ++f) {
30959
30980
  var h = f * u, p = new Float32Array(u - 1);
30960
30981
  p[0] = d[h];
30961
30982
  for (var m = 1; m < p.length; ++m) p[m] = p[m - 1] + d[h + m];
@@ -30982,22 +31003,22 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
30982
31003
  }, t.prototype.ifft = function(n) {
30983
31004
  return this.fftBatch(n, !0);
30984
31005
  }, t.prototype.fftBatch = function(n, r) {
30985
- for (var o = n.shape[0], a = n.shape[1], i = ot(n.shape, "float32"), s = ot(n.shape, "float32"), u = or(n).as2D(o, a), l = _r(n).as2D(o, a), c = 0; c < o; c++) for (var d = u.slice([c, 0], [1, a]), f = l.slice([c, 0], [1, a]), h = bn(d, f), p = this.readSync(this.fftImpl(h, r).dataId), m = 0; m < a; m++) {
31006
+ for (var o = n.shape[0], a = n.shape[1], i = ot(n.shape, "float32"), s = ot(n.shape, "float32"), u = or(n).as2D(o, a), l = _r(n).as2D(o, a), c = 0; c < o; c++) for (var d = u.slice([c, 0], [1, a]), f = l.slice([c, 0], [1, a]), h = wn(d, f), p = this.readSync(this.fftImpl(h, r).dataId), m = 0; m < a; m++) {
30986
31007
  var v = hp(p, m);
30987
31008
  i.values[c * a + m] = v.real, s.values[c * a + m] = v.imag;
30988
31009
  }
30989
- return bn(i.toTensor(), s.toTensor()).as2D(o, a);
31010
+ return wn(i.toTensor(), s.toTensor()).as2D(o, a);
30990
31011
  }, t.prototype.fftImpl = function(n, r) {
30991
31012
  var o = n.as1D(), a = o.size;
30992
31013
  if (this.isExponentOf2(a)) {
30993
31014
  var i = this.fftRadix2(o, a, r).as2D(n.shape[0], n.shape[1]);
30994
- return r && (i = bn(or(i).div(Ce(a)), _r(i).div(Ce(a)))), i;
31015
+ return r && (i = wn(or(i).div(Ce(a)), _r(i).div(Ce(a)))), i;
30995
31016
  }
30996
31017
  var s = this.readSync(n.dataId), u = function(l) {
30997
31018
  for (var c = new Float32Array(l.length / 2), d = new Float32Array(l.length / 2), f = 0; f < l.length; f += 2) c[f / 2] = l[f], d[f / 2] = l[f + 1];
30998
31019
  return { real: c, imag: d };
30999
31020
  }(this.fourierTransformByMatmul(s, a, r));
31000
- return bn(u.real, u.imag).as2D(n.shape[0], n.shape[1]);
31021
+ return wn(u.real, u.imag).as2D(n.shape[0], n.shape[1]);
31001
31022
  }, t.prototype.isExponentOf2 = function(n) {
31002
31023
  return (n & n - 1) == 0;
31003
31024
  }, t.prototype.fftRadix2 = function(n, r, o) {
@@ -31005,10 +31026,10 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
31005
31026
  var a = this.readSync(n.dataId), i = r / 2, s = function(y) {
31006
31027
  for (var w = Math.ceil(y.length / 4), b = new Float32Array(w), g = new Float32Array(w), x = 0; x < y.length; x += 4) b[Math.floor(x / 4)] = y[x], g[Math.floor(x / 4)] = y[x + 1];
31007
31028
  return { real: b, imag: g };
31008
- }(a), u = bn(s.real, s.imag).as1D(), l = function(y) {
31029
+ }(a), u = wn(s.real, s.imag).as1D(), l = function(y) {
31009
31030
  for (var w = Math.floor(y.length / 4), b = new Float32Array(w), g = new Float32Array(w), x = 2; x < y.length; x += 4) b[Math.floor(x / 4)] = y[x], g[Math.floor(x / 4)] = y[x + 1];
31010
31031
  return { real: b, imag: g };
31011
- }(a), c = bn(l.real, l.imag).as1D();
31032
+ }(a), c = wn(l.real, l.imag).as1D();
31012
31033
  u = this.fftRadix2(u, i, o), c = this.fftRadix2(c, i, o);
31013
31034
  var d = function(y, w) {
31014
31035
  for (var b = new Float32Array(y / 2), g = new Float32Array(y / 2), x = 0; x < Math.ceil(y / 2); x++) {
@@ -31016,8 +31037,8 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
31016
31037
  b[x] = Math.cos(C), g[x] = Math.sin(C);
31017
31038
  }
31018
31039
  return { real: b, imag: g };
31019
- }(r, o), f = bn(d.real, d.imag).mul(c), h = u.add(f), p = u.sub(f), m = or(h).concat(or(p)), v = _r(h).concat(_r(p));
31020
- return bn(m, v).as1D();
31040
+ }(r, o), f = wn(d.real, d.imag).mul(c), h = u.add(f), p = u.sub(f), m = or(h).concat(or(p)), v = _r(h).concat(_r(p));
31041
+ return wn(m, v).as1D();
31021
31042
  }, t.prototype.fourierTransformByMatmul = function(n, r, o) {
31022
31043
  for (var a = new Float32Array(2 * r), i = 0; i < r; i++) {
31023
31044
  for (var s = 0, u = 0, l = 0; l < r; l++) {
@@ -31127,7 +31148,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
31127
31148
  return this.scatter(n, r, o, d, l, u, s, c, a, !1);
31128
31149
  }, t.prototype.gatherND = function(n, r) {
31129
31150
  var o = r.shape, a = o[o.length - 1], i = vg(n, r), s = i[0], u = i[1], l = i[2], c = i[3];
31130
- if (u === 0) return xn([], s, n.dtype);
31151
+ if (u === 0) return Cn([], s, n.dtype);
31131
31152
  for (var d = new vi([u, l], n.dtype), f = this.readSync(r.dataId), h = this.readSync(n.dataId), p = 0; p < u; p++) {
31132
31153
  for (var m = [], v = 0, y = 0; y < a; y++) {
31133
31154
  var w = f[p * a + y];
@@ -31153,7 +31174,7 @@ Hi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed thi
31153
31174
  return kg(n, r, o);
31154
31175
  }, t.prototype.scatter = function(n, r, o, a, i, s, u, l, c, d) {
31155
31176
  var f = [a / i, i], h = this.readSync(n.dataId), p = this.readSync(r.dataId);
31156
- if (a === 0) return xn([], o, r.dtype);
31177
+ if (a === 0) return Cn([], o, r.dtype);
31157
31178
  var m = new vi(f, r.dtype);
31158
31179
  m.values.fill(this.readSync(c.dataId)[0]);
31159
31180
  for (var v = 0; v < s; v++) {
@@ -31214,7 +31235,7 @@ for (var Jl = 0, Bp = [{ kernelName: "NonMaxSuppressionV5", backendName: "cpu",
31214
31235
  Km(Bp[Jl]);
31215
31236
  var ia, d6 = function(e) {
31216
31237
  this.variableNames = ["A"];
31217
- var t = Tn(), n = e[0], r = e[1];
31238
+ var t = In(), n = e[0], r = e[1];
31218
31239
  this.outputShape = e, this.userCode = `
31219
31240
  void main() {
31220
31241
  ivec3 coords = getOutputCoords();
@@ -31240,7 +31261,7 @@ var ia, d6 = function(e) {
31240
31261
  `;
31241
31262
  }, f6 = function(e) {
31242
31263
  this.variableNames = ["A"], this.packedInputs = !1, this.packedOutput = !0;
31243
- var t = Tn(), n = e[0], r = e[1];
31264
+ var t = In(), n = e[0], r = e[1];
31244
31265
  this.outputShape = e, this.userCode = `
31245
31266
  void main() {
31246
31267
  ivec3 coords = getOutputCoords();
@@ -31382,7 +31403,7 @@ function g0(e, t) {
31382
31403
  }
31383
31404
  r += d * x;
31384
31405
  }
31385
- n[u] = xn(f, c, l);
31406
+ n[u] = Cn(f, c, l);
31386
31407
  }, a = 0, i = t; a < i.length; a++)
31387
31408
  o(i[a]);
31388
31409
  return n;
@@ -32808,14 +32829,14 @@ function nt(e, t) {
32808
32829
  }
32809
32830
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
32810
32831
  }
32811
- var Sn = function() {
32812
- return Sn = Object.assign || function(t) {
32832
+ var En = function() {
32833
+ return En = Object.assign || function(t) {
32813
32834
  for (var n, r = 1, o = arguments.length; r < o; r++) {
32814
32835
  n = arguments[r];
32815
32836
  for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
32816
32837
  }
32817
32838
  return t;
32818
- }, Sn.apply(this, arguments);
32839
+ }, En.apply(this, arguments);
32819
32840
  };
32820
32841
  function Le(e, t, n, r) {
32821
32842
  function o(a) {
@@ -33598,7 +33619,7 @@ function A0() {
33598
33619
  }, o = global.fetch || function() {
33599
33620
  throw new Error("fetch - missing fetch implementation for nodejs environment");
33600
33621
  }, a = I0();
33601
- return Sn({
33622
+ return En({
33602
33623
  Canvas: e || /** @class */
33603
33624
  /* @__PURE__ */ function() {
33604
33625
  function i() {
@@ -33934,7 +33955,7 @@ var ou = (
33934
33955
  }, e;
33935
33956
  }()
33936
33957
  );
33937
- function mn(e) {
33958
+ function gn(e) {
33938
33959
  return Le(this, void 0, void 0, function() {
33939
33960
  var t, n, r;
33940
33961
  return qe(this, function(o) {
@@ -33969,7 +33990,7 @@ function $u(e, t) {
33969
33990
  return qe(this, function(l) {
33970
33991
  switch (l.label) {
33971
33992
  case 0:
33972
- return n = Mn.getEnv().Canvas, r = e, e instanceof n ? [3, 5] : [4, mn(e)];
33993
+ return n = Mn.getEnv().Canvas, r = e, e instanceof n ? [3, 5] : [4, gn(e)];
33973
33994
  case 1:
33974
33995
  if (o = l.sent(), o.batchSize > 1)
33975
33996
  throw new Error("extractFaces - batchSize > 1 not supported");
@@ -34137,7 +34158,7 @@ var Yr = (
34137
34158
  }, e.prototype.freeze = function() {
34138
34159
  var t = this;
34139
34160
  this.getTrainableParams().forEach(function(n) {
34140
- var r = n.path, o = n.tensor, a = xn(o.dataSync());
34161
+ var r = n.path, o = n.tensor, a = Cn(o.dataSync());
34141
34162
  o.dispose(), t.reassignParamFromPath(r, a);
34142
34163
  });
34143
34164
  }, e.prototype.dispose = function(t) {
@@ -34400,7 +34421,7 @@ var V0 = (
34400
34421
  return qe(this, function(o) {
34401
34422
  switch (o.label) {
34402
34423
  case 0:
34403
- return r = this.forwardInput, [4, mn(n)];
34424
+ return r = this.forwardInput, [4, gn(n)];
34404
34425
  case 1:
34405
34426
  return [2, r.apply(this, [o.sent()])];
34406
34427
  }
@@ -34522,7 +34543,7 @@ var $0 = (
34522
34543
  return qe(this, function(o) {
34523
34544
  switch (o.label) {
34524
34545
  case 0:
34525
- return r = this.forwardInput, [4, mn(n)];
34546
+ return r = this.forwardInput, [4, gn(n)];
34526
34547
  case 1:
34527
34548
  return [2, r.apply(this, [o.sent()])];
34528
34549
  }
@@ -34534,7 +34555,7 @@ var $0 = (
34534
34555
  return qe(this, function(u) {
34535
34556
  switch (u.label) {
34536
34557
  case 0:
34537
- return [4, mn(n)];
34558
+ return [4, gn(n)];
34538
34559
  case 1:
34539
34560
  return r = u.sent(), [4, this.forwardInput(r)];
34540
34561
  case 2:
@@ -34724,7 +34745,7 @@ var xA = (
34724
34745
  return qe(this, function(o) {
34725
34746
  switch (o.label) {
34726
34747
  case 0:
34727
- return r = this.forwardInput, [4, mn(n)];
34748
+ return r = this.forwardInput, [4, gn(n)];
34728
34749
  case 1:
34729
34750
  return [2, r.apply(this, [o.sent()])];
34730
34751
  }
@@ -34801,7 +34822,7 @@ var _A = (
34801
34822
  return qe(this, function(o) {
34802
34823
  switch (o.label) {
34803
34824
  case 0:
34804
- return r = this.forwardInput, [4, mn(n)];
34825
+ return r = this.forwardInput, [4, gn(n)];
34805
34826
  case 1:
34806
34827
  return [2, r.apply(this, [o.sent()])];
34807
34828
  }
@@ -34813,7 +34834,7 @@ var _A = (
34813
34834
  return qe(this, function(c) {
34814
34835
  switch (c.label) {
34815
34836
  case 0:
34816
- return [4, mn(n)];
34837
+ return [4, gn(n)];
34817
34838
  case 1:
34818
34839
  return r = c.sent(), [4, this.forwardInput(r)];
34819
34840
  case 2:
@@ -34914,7 +34935,7 @@ var _A = (
34914
34935
  return qe(this, function(o) {
34915
34936
  switch (o.label) {
34916
34937
  case 0:
34917
- return r = this.forwardInput, [4, mn(n)];
34938
+ return r = this.forwardInput, [4, gn(n)];
34918
34939
  case 1:
34919
34940
  return [2, r.apply(this, [o.sent()])];
34920
34941
  }
@@ -34926,7 +34947,7 @@ var _A = (
34926
34947
  return qe(this, function(s) {
34927
34948
  switch (s.label) {
34928
34949
  case 0:
34929
- return [4, mn(n)];
34950
+ return [4, gn(n)];
34930
34951
  case 1:
34931
34952
  return r = s.sent(), o = Re(function() {
34932
34953
  return an(i.forwardInput(r));
@@ -35015,7 +35036,7 @@ var RA = (
35015
35036
  return qe(this, function(o) {
35016
35037
  switch (o.label) {
35017
35038
  case 0:
35018
- return r = this.forwardInput, [4, mn(n)];
35039
+ return r = this.forwardInput, [4, gn(n)];
35019
35040
  case 1:
35020
35041
  return [2, r.apply(this, [o.sent()])];
35021
35042
  }
@@ -35179,15 +35200,15 @@ function br(e, t) {
35179
35200
  function ds(e, t) {
35180
35201
  var n = K0(e, t.conv1);
35181
35202
  n = G0(n, t.conv2);
35182
- var r = qi(e, 2, 2, "valid"), o = Vt(r.shape), a = r.shape[3] !== n.shape[3], i = r.shape[1] !== n.shape[1] || r.shape[2] !== n.shape[2];
35203
+ var r = qi(e, 2, 2, "valid"), o = zt(r.shape), a = r.shape[3] !== n.shape[3], i = r.shape[1] !== n.shape[1] || r.shape[2] !== n.shape[2];
35183
35204
  if (i) {
35184
35205
  var s = si(n.shape);
35185
35206
  s[1] = 1;
35186
- var u = Vt(s);
35207
+ var u = zt(s);
35187
35208
  n = on([n, u], 1);
35188
35209
  var l = si(n.shape);
35189
35210
  l[2] = 1;
35190
- var c = Vt(l);
35211
+ var c = zt(l);
35191
35212
  n = on([n, c], 2);
35192
35213
  }
35193
35214
  return r = a ? on([r, o], 3) : r, n = ft(r, n), n = Ut(n), n;
@@ -35215,7 +35236,7 @@ var BA = (
35215
35236
  return qe(this, function(o) {
35216
35237
  switch (o.label) {
35217
35238
  case 0:
35218
- return r = this.forwardInput, [4, mn(n)];
35239
+ return r = this.forwardInput, [4, gn(n)];
35219
35240
  case 1:
35220
35241
  return [2, r.apply(this, [o.sent()])];
35221
35242
  }
@@ -35227,7 +35248,7 @@ var BA = (
35227
35248
  return qe(this, function(s) {
35228
35249
  switch (s.label) {
35229
35250
  case 0:
35230
- return [4, mn(n)];
35251
+ return [4, gn(n)];
35231
35252
  case 1:
35232
35253
  return r = s.sent(), o = Re(function() {
35233
35254
  return an(i.forwardInput(r));
@@ -35684,7 +35705,7 @@ var Uu = (
35684
35705
  return qe(this, function(o) {
35685
35706
  switch (o.label) {
35686
35707
  case 0:
35687
- return r = this.forwardInput, [4, mn(n)];
35708
+ return r = this.forwardInput, [4, gn(n)];
35688
35709
  case 1:
35689
35710
  return [2, r.apply(this, [o.sent()])];
35690
35711
  }
@@ -35696,7 +35717,7 @@ var Uu = (
35696
35717
  return qe(this, function(R) {
35697
35718
  switch (R.label) {
35698
35719
  case 0:
35699
- return o = new Uu(r), a = o.maxResults, i = o.minConfidence, [4, mn(n)];
35720
+ return o = new Uu(r), a = o.maxResults, i = o.minConfidence, [4, gn(n)];
35700
35721
  case 1:
35701
35722
  for (s = R.sent(), u = this.forwardInput(s), l = u.boxes, c = u.scores, d = l[0], f = c[0], h = 1; h < l.length; h++)
35702
35723
  l[h].dispose(), c[h].dispose();
@@ -35945,7 +35966,7 @@ var xf = (
35945
35966
  return qe(this, function(a) {
35946
35967
  switch (a.label) {
35947
35968
  case 0:
35948
- return o = this.forwardInput, [4, mn(n)];
35969
+ return o = this.forwardInput, [4, gn(n)];
35949
35970
  case 1:
35950
35971
  return [4, o.apply(this, [a.sent(), r])];
35951
35972
  case 2:
@@ -35959,7 +35980,7 @@ var xf = (
35959
35980
  return qe(this, function(b) {
35960
35981
  switch (b.label) {
35961
35982
  case 0:
35962
- return o = new xf(r), a = o.inputSize, i = o.scoreThreshold, [4, mn(n)];
35983
+ return o = new xf(r), a = o.inputSize, i = o.scoreThreshold, [4, gn(n)];
35963
35984
  case 1:
35964
35985
  return s = b.sent(), [4, this.forwardInput(s, a)];
35965
35986
  case 2:
@@ -36022,7 +36043,7 @@ var xf = (
36022
36043
  case 7:
36023
36044
  F = { classScore: 1, label: 0 }, H.label = 8;
36024
36045
  case 8:
36025
- D = F, O = D.classScore, z = D.label, v.push(Sn({ box: new Lu(I, A, I + R, A + k), score: C, classScore: C * O, label: z }, q)), H.label = 9;
36046
+ D = F, O = D.classScore, z = D.label, v.push(En({ box: new Lu(I, A, I + R, A + k), score: C, classScore: C * O, label: z }, q)), H.label = 9;
36026
36047
  case 9:
36027
36048
  return x++, [3, 5];
36028
36049
  case 10:
@@ -36217,15 +36238,15 @@ function lD(e, t) {
36217
36238
  }
36218
36239
  function i() {
36219
36240
  var l = a([3, 10, 16, 32], "pnet"), c = n(32, 2, 1, "pnet/conv4_1"), d = n(32, 4, 1, "pnet/conv4_2");
36220
- return Sn(Sn({}, l), { conv4_1: c, conv4_2: d });
36241
+ return En(En({}, l), { conv4_1: c, conv4_2: d });
36221
36242
  }
36222
36243
  function s() {
36223
36244
  var l = a([3, 28, 48, 64], "rnet", !0), c = r(576, 128, "rnet/fc1"), d = o(128, "rnet/prelu4_alpha"), f = r(128, 2, "rnet/fc2_1"), h = r(128, 4, "rnet/fc2_2");
36224
- return Sn(Sn({}, l), { fc1: c, prelu4_alpha: d, fc2_1: f, fc2_2: h });
36245
+ return En(En({}, l), { fc1: c, prelu4_alpha: d, fc2_1: f, fc2_2: h });
36225
36246
  }
36226
36247
  function u() {
36227
36248
  var l = a([3, 32, 64, 64], "onet"), c = n(64, 128, 2, "onet/conv4"), d = o(128, "onet/prelu4_alpha"), f = r(1152, 256, "onet/fc1"), h = o(256, "onet/prelu5_alpha"), p = r(256, 2, "onet/fc2_1"), m = r(256, 4, "onet/fc2_2"), v = r(256, 10, "onet/fc2_3");
36228
- return Sn(Sn({}, l), { conv4: c, prelu4_alpha: d, fc1: f, prelu5_alpha: h, fc2_1: p, fc2_2: m, fc2_3: v });
36249
+ return En(En({}, l), { conv4: c, prelu4_alpha: d, fc1: f, prelu5_alpha: h, fc2_1: p, fc2_2: m, fc2_3: v });
36229
36250
  }
36230
36251
  return {
36231
36252
  extractPNetParams: i,
@@ -36258,15 +36279,15 @@ function dD(e, t) {
36258
36279
  }
36259
36280
  function s() {
36260
36281
  var c = i("pnet"), d = r("pnet/conv4_1"), f = r("pnet/conv4_2");
36261
- return Sn(Sn({}, c), { conv4_1: d, conv4_2: f });
36282
+ return En(En({}, c), { conv4_1: d, conv4_2: f });
36262
36283
  }
36263
36284
  function u() {
36264
36285
  var c = i("rnet"), d = o("rnet/fc1"), f = a("rnet/prelu4_alpha"), h = o("rnet/fc2_1"), p = o("rnet/fc2_2");
36265
- return Sn(Sn({}, c), { fc1: d, prelu4_alpha: f, fc2_1: h, fc2_2: p });
36286
+ return En(En({}, c), { fc1: d, prelu4_alpha: f, fc2_1: h, fc2_2: p });
36266
36287
  }
36267
36288
  function l() {
36268
36289
  var c = i("onet"), d = r("onet/conv4"), f = a("onet/prelu4_alpha"), h = o("onet/fc1"), p = a("onet/prelu5_alpha"), m = o("onet/fc2_1"), v = o("onet/fc2_2"), y = o("onet/fc2_3");
36269
- return Sn(Sn({}, c), { conv4: d, prelu4_alpha: f, fc1: h, prelu5_alpha: p, fc2_1: m, fc2_2: v, fc2_3: y });
36290
+ return En(En({}, c), { conv4: d, prelu4_alpha: f, fc1: h, prelu5_alpha: p, fc2_1: m, fc2_2: v, fc2_3: y });
36270
36291
  }
36271
36292
  return {
36272
36293
  extractPNetParams: s,
@@ -36591,7 +36612,7 @@ var CD = (
36591
36612
  return qe(this, function(a) {
36592
36613
  switch (a.label) {
36593
36614
  case 0:
36594
- return o = this.forwardInput, [4, mn(n)];
36615
+ return o = this.forwardInput, [4, gn(n)];
36595
36616
  case 1:
36596
36617
  return [4, o.apply(this, [
36597
36618
  a.sent(),
@@ -36608,7 +36629,7 @@ var CD = (
36608
36629
  return qe(this, function(a) {
36609
36630
  switch (a.label) {
36610
36631
  case 0:
36611
- return o = this.forwardInput, [4, mn(n)];
36632
+ return o = this.forwardInput, [4, gn(n)];
36612
36633
  case 1:
36613
36634
  return [2, o.apply(this, [
36614
36635
  a.sent(),
@@ -37379,7 +37400,7 @@ function VM(e) {
37379
37400
  n.value = 1, await r(t.value, n.value);
37380
37401
  },
37381
37402
  { deep: !0 }
37382
- ), vn(() => r(t.value, n.value)), {
37403
+ ), mn(() => r(t.value, n.value)), {
37383
37404
  search: t,
37384
37405
  currentPage: n,
37385
37406
  loading: e.loading,
@@ -37486,7 +37507,7 @@ const UM = (e, t) => {
37486
37507
  }
37487
37508
  };
37488
37509
  export {
37489
- gn as ApiService,
37510
+ yn as ApiService,
37490
37511
  yc as AppButton,
37491
37512
  OD as AppCheckbox,
37492
37513
  QD as AppConfirmDialog,