sprof 0.1.54 → 0.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sprof.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var ou = Object.defineProperty;
2
2
  var au = (t, e, i) => e in t ? ou(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var a = (t, e, i) => au(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { reactive as Le, ref as T, openBlock as g, createElementBlock as b, createElementVNode as f, getCurrentInstance as lu, inject as uu, onUnmounted as Qr, onDeactivated as cu, onActivated as du, onBeforeMount as vt, defineComponent as $, computed as fe, mergeProps as ei, withModifiers as Ue, unref as p, renderSlot as O, createTextVNode as hn, toDisplayString as Te, Fragment as _, normalizeStyle as M, normalizeClass as ne, useModel as kt, withDirectives as yt, vModelCheckbox as hu, createVNode as E, createCommentVNode as Y, mergeModels as Oe, vModelDynamic as fu, resolveComponent as j, withKeys as mu, isRef as et, vModelText as Kr, watch as Ze, createBlock as W, vModelRadio as gu, vShow as $s, createStaticVNode as As, useCssVars as eo, onMounted as pi, renderList as He, withCtx as X, resolveDirective as to, nextTick as pu, Transition as io, onBeforeUnmount as Es, onUpdated as vu, useTemplateRef as yu, resolveDynamicComponent as Ei } from "vue";
4
+ import { reactive as Le, ref as P, openBlock as g, createElementBlock as b, createElementVNode as f, getCurrentInstance as lu, inject as uu, onUnmounted as Qr, onDeactivated as cu, onActivated as du, onBeforeMount as vt, defineComponent as $, computed as fe, mergeProps as ei, withModifiers as Ue, unref as p, renderSlot as O, createTextVNode as hn, toDisplayString as Te, Fragment as _, normalizeStyle as M, normalizeClass as ne, useModel as kt, withDirectives as yt, vModelCheckbox as hu, createVNode as E, createCommentVNode as Y, mergeModels as Oe, vModelDynamic as fu, resolveComponent as j, withKeys as mu, isRef as et, vModelText as Kr, watch as Ze, createBlock as W, vModelRadio as gu, vShow as $s, createStaticVNode as As, useCssVars as eo, onMounted as pi, renderList as He, withCtx as X, resolveDirective as to, nextTick as pu, Transition as io, onBeforeUnmount as Es, onUpdated as vu, useTemplateRef as yu, resolveDynamicComponent as Ei } from "vue";
5
5
  var Ee = /* @__PURE__ */ ((t) => (t.Login = "login", t.Register = "register", t.Restore = "restore", t.Refresh = "refresh", t))(Ee || {}), Ie = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Success = "success", t.Warning = "warning", t.Error = "error", t.Info = "info", t))(Ie || {});
6
6
  class Ut {
7
7
  constructor(e, i, n, s) {
@@ -688,12 +688,12 @@ var br;
688
688
  return R;
689
689
  }
690
690
  e("metadata", H);
691
- function P(y, x, R, z) {
691
+ function T(y, x, R, z) {
692
692
  if (!ae(R))
693
693
  throw new TypeError();
694
694
  return Z(z) || (z = De(z)), Si(y, x, R, z);
695
695
  }
696
- e("defineMetadata", P);
696
+ e("defineMetadata", T);
697
697
  function se(y, x, R) {
698
698
  if (!ae(x))
699
699
  throw new TypeError();
@@ -1901,7 +1901,7 @@ let co = class ho {
1901
1901
  return this.wheres.find((i) => i.eq(e));
1902
1902
  }
1903
1903
  toRef() {
1904
- return T(this);
1904
+ return P(this);
1905
1905
  }
1906
1906
  };
1907
1907
  class Rt {
@@ -2042,7 +2042,7 @@ const fo = class Ri {
2042
2042
  this.boolean = e;
2043
2043
  }
2044
2044
  toRef() {
2045
- return T(this);
2045
+ return P(this);
2046
2046
  }
2047
2047
  setDate1(e) {
2048
2048
  this.date1 = e;
@@ -2921,11 +2921,11 @@ function xn(t, e, i) {
2921
2921
  if (w.endsWith(C, "{}"))
2922
2922
  C = n ? C : C.slice(0, -2), S = JSON.stringify(S);
2923
2923
  else if (w.isArray(S) && Vc(S) || (w.isFileList(S) || w.endsWith(C, "[]")) && (J = w.toArray(S)))
2924
- return C = xo(C), J.forEach(function(P, se) {
2925
- !(w.isUndefined(P) || P === null) && e.append(
2924
+ return C = xo(C), J.forEach(function(T, se) {
2925
+ !(w.isUndefined(T) || T === null) && e.append(
2926
2926
  // eslint-disable-next-line no-nested-ternary
2927
2927
  o === !0 ? Yn([C], se, r) : o === null ? C : C + "[]",
2928
- d(P)
2928
+ d(T)
2929
2929
  );
2930
2930
  }), !1;
2931
2931
  }
@@ -2945,8 +2945,8 @@ function xn(t, e, i) {
2945
2945
  );
2946
2946
  if (m.indexOf(S) !== -1)
2947
2947
  throw Error("Circular reference detected in " + C.join("."));
2948
- m.push(S), w.forEach(S, function(H, P) {
2949
- (!(w.isUndefined(H) || H === null) && s.call(e, H, w.isString(P) ? P.trim() : P, C, v)) === !0 && I(H, C ? C.concat(P) : [P], k + 1);
2948
+ m.push(S), w.forEach(S, function(H, T) {
2949
+ (!(w.isUndefined(H) || H === null) && s.call(e, H, w.isString(T) ? T.trim() : T, C, v)) === !0 && I(H, C ? C.concat(T) : [T], k + 1);
2950
2950
  }), m.pop();
2951
2951
  }
2952
2952
  }
@@ -3485,22 +3485,22 @@ const pd = (t) => encodeURIComponent(t).replace(
3485
3485
  !C || C.readyState !== 4 || C.status === 0 && !(C.responseURL && C.responseURL.startsWith("file:")) || setTimeout(k);
3486
3486
  }, C.onabort = function() {
3487
3487
  C && (n(new N("Request aborted", N.ECONNABORTED, t, C)), S(), C = null);
3488
- }, C.onerror = function(P) {
3489
- const se = P && P.message ? P.message : "Network Error", tt = new N(se, N.ERR_NETWORK, t, C);
3490
- tt.event = P || null, n(tt), S(), C = null;
3488
+ }, C.onerror = function(T) {
3489
+ const se = T && T.message ? T.message : "Network Error", tt = new N(se, N.ERR_NETWORK, t, C);
3490
+ tt.event = T || null, n(tt), S(), C = null;
3491
3491
  }, C.ontimeout = function() {
3492
- let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
3492
+ let T = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
3493
3493
  const se = s.transitional || Ls;
3494
- s.timeoutErrorMessage && (P = s.timeoutErrorMessage), n(
3494
+ s.timeoutErrorMessage && (T = s.timeoutErrorMessage), n(
3495
3495
  new N(
3496
- P,
3496
+ T,
3497
3497
  se.clarifyTimeoutError ? N.ETIMEDOUT : N.ECONNABORTED,
3498
3498
  t,
3499
3499
  C
3500
3500
  )
3501
3501
  ), S(), C = null;
3502
- }, r === void 0 && o.setContentType(null), "setRequestHeader" in C && w.forEach(o.toJSON(), function(P, se) {
3503
- C.setRequestHeader(se, P);
3502
+ }, r === void 0 && o.setContentType(null), "setRequestHeader" in C && w.forEach(o.toJSON(), function(T, se) {
3503
+ C.setRequestHeader(se, T);
3504
3504
  }), w.isUndefined(s.withCredentials) || (C.withCredentials = !!s.withCredentials), l && l !== "json" && (C.responseType = s.responseType), c && ([m, I] = cn(c, !0), C.addEventListener("progress", m)), u && C.upload && ([h, v] = cn(u), C.upload.addEventListener("progress", h), C.upload.addEventListener("loadend", v)), (s.cancelToken || s.signal) && (d = (H) => {
3505
3505
  C && (n(!H || H.type ? new Ni(null, t, C) : H), C.abort(), S(), C = null);
3506
3506
  }, s.cancelToken && s.cancelToken.subscribe(d), s.signal && (s.signal.aborted ? d() : s.signal.addEventListener("abort", d)));
@@ -3677,9 +3677,9 @@ const Hs = "1.16.0", Er = 64 * 1024, { isFunction: Zi } = w, Pr = (t, ...e) => {
3677
3677
  };
3678
3678
  l && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((k) => {
3679
3679
  !I[k] && (I[k] = (J, H) => {
3680
- let P = J && J[k];
3681
- if (P)
3682
- return P.call(J);
3680
+ let T = J && J[k];
3681
+ if (T)
3682
+ return T.call(J);
3683
3683
  throw new N(
3684
3684
  `Response type '${k}' is not supported`,
3685
3685
  N.ERR_NOT_SUPPORT,
@@ -3709,7 +3709,7 @@ const Hs = "1.16.0", Er = 64 * 1024, { isFunction: Zi } = w, Pr = (t, ...e) => {
3709
3709
  let {
3710
3710
  url: J,
3711
3711
  method: H,
3712
- data: P,
3712
+ data: T,
3713
3713
  signal: se,
3714
3714
  cancelToken: tt,
3715
3715
  timeout: lt,
@@ -3742,7 +3742,7 @@ const Hs = "1.16.0", Er = 64 * 1024, { isFunction: Zi } = w, Pr = (t, ...e) => {
3742
3742
  Fe
3743
3743
  );
3744
3744
  if (Vi && H !== "get" && H !== "head") {
3745
- const le = await C(wt, P);
3745
+ const le = await C(wt, T);
3746
3746
  if (typeof le == "number" && isFinite(le) && le > Bt)
3747
3747
  throw new N(
3748
3748
  "Request body larger than maxBodyLength limit",
@@ -3751,23 +3751,23 @@ const Hs = "1.16.0", Er = 64 * 1024, { isFunction: Zi } = w, Pr = (t, ...e) => {
3751
3751
  Fe
3752
3752
  );
3753
3753
  }
3754
- if (ti && m && H !== "get" && H !== "head" && (Z = await C(wt, P)) !== 0) {
3754
+ if (ti && m && H !== "get" && H !== "head" && (Z = await C(wt, T)) !== 0) {
3755
3755
  let le = new r(J, {
3756
3756
  method: "POST",
3757
- body: P,
3757
+ body: T,
3758
3758
  duplex: "half"
3759
3759
  }), At;
3760
- if (w.isFormData(P) && (At = le.headers.get("content-type")) && wt.setContentType(At), le.body) {
3760
+ if (w.isFormData(T) && (At = le.headers.get("content-type")) && wt.setContentType(At), le.body) {
3761
3761
  const [De, Ht] = Ir(
3762
3762
  Z,
3763
3763
  cn(kr(ti))
3764
3764
  );
3765
- P = Ar(le.body, Er, De, Ht);
3765
+ T = Ar(le.body, Er, De, Ht);
3766
3766
  }
3767
3767
  }
3768
3768
  w.isString(ii) || (ii = ii ? "include" : "omit");
3769
3769
  const he = u && "credentials" in r.prototype;
3770
- if (w.isFormData(P)) {
3770
+ if (w.isFormData(T)) {
3771
3771
  const le = wt.getContentType();
3772
3772
  le && /^multipart\/form-data/i.test(le) && !/boundary=/i.test(le) && wt.delete("content-type");
3773
3773
  }
@@ -3777,7 +3777,7 @@ const Hs = "1.16.0", Er = 64 * 1024, { isFunction: Zi } = w, Pr = (t, ...e) => {
3777
3777
  signal: it,
3778
3778
  method: H.toUpperCase(),
3779
3779
  headers: wt.normalize().toJSON(),
3780
- body: P,
3780
+ body: T,
3781
3781
  duplex: "half",
3782
3782
  credentials: he ? ii : void 0
3783
3783
  };
@@ -4696,10 +4696,10 @@ class de {
4696
4696
  a(this, "items", Le([]));
4697
4697
  a(this, "item");
4698
4698
  a(this, "options", Le([]));
4699
- a(this, "count", T(0));
4699
+ a(this, "count", P(0));
4700
4700
  a(this, "classConstructor");
4701
4701
  a(this, "url", "");
4702
- a(this, "searchStr", T(""));
4702
+ a(this, "searchStr", P(""));
4703
4703
  this.classConstructor = e, this.item = Le(new this.classConstructor()), this.url = i;
4704
4704
  }
4705
4705
  Set(e) {
@@ -4726,12 +4726,8 @@ class de {
4726
4726
  async GetBySlug(e) {
4727
4727
  e || (e = gt.Slug()), this.Set(await B.H.HttpClient.Get({ query: this.getUrl("by-slug/" + e) }));
4728
4728
  }
4729
- async TestMethod() {
4730
- console.warn(this.items);
4731
- }
4732
4729
  async FTSP(e) {
4733
4730
  var o;
4734
- console.warn("FTSP");
4735
4731
  const n = ((e == null ? void 0 : e.ftsp) ?? It.Get()).clearForHTTP(), s = {
4736
4732
  payload: { ftsp: n },
4737
4733
  query: this.getUrl("ftsp")
@@ -4776,11 +4772,7 @@ class de {
4776
4772
  await this.Update(e ?? this.item), this.Set();
4777
4773
  }
4778
4774
  async Remove(e) {
4779
- if (!e) {
4780
- console.warn("BaseStore/Remove. id is undefined");
4781
- return;
4782
- }
4783
- await ge.Delete({ query: this.getUrl(`${e}`) }), this.RemoveItem(e);
4775
+ e && (await ge.Delete({ query: this.getUrl(`${e}`) }), this.RemoveItem(e));
4784
4776
  }
4785
4777
  // bun не поддерживает множественное обновление с uuid. Пока отправляем несколько запросов
4786
4778
  async UpdateMany(e) {
@@ -5146,7 +5138,7 @@ class Kd {
5146
5138
  }
5147
5139
  const Gt = new Kd();
5148
5140
  function eh() {
5149
- const t = T(!1), e = T(!1);
5141
+ const t = P(!1), e = P(!1);
5150
5142
  return {
5151
5143
  confirmLeave: t,
5152
5144
  saveButtonClick: e,
@@ -5706,7 +5698,7 @@ class es {
5706
5698
  }
5707
5699
  let Fh = class {
5708
5700
  constructor() {
5709
- a(this, "isSearchDrawerOpen", T(!1));
5701
+ a(this, "isSearchDrawerOpen", P(!1));
5710
5702
  a(this, "searchModel", Le(new es()));
5711
5703
  a(this, "searchGroups", Le([]));
5712
5704
  a(this, "count", 0);
@@ -5823,7 +5815,8 @@ class Uh {
5823
5815
  constructor() {
5824
5816
  a(this, "title", "");
5825
5817
  a(this, "buttons", []);
5826
- a(this, "editTitle", T(!1));
5818
+ a(this, "editTitle", P(!1));
5819
+ a(this, "showEdit", P(!1));
5827
5820
  }
5828
5821
  Set(e = "", i) {
5829
5822
  typeof e == "function" ? this.title = e() : typeof e == "string" ? this.title = e : this.title = e.value, this.buttons = i;
@@ -7502,8 +7495,8 @@ let Xm = class {
7502
7495
  const { mask: r, escaped: o } = this.escapeMask(i), l = [], u = this.opts.tokens != null ? this.opts.tokens : {}, c = this.isReversed() ? -1 : 1, d = this.isReversed() ? "unshift" : "push", h = this.isReversed() ? 0 : r.length - 1, m = this.isReversed() ? () => C > -1 && k > -1 : () => C < r.length && k < e.length, v = (H) => !this.isReversed() && H <= h || this.isReversed() && H >= h;
7503
7496
  let I, S = -1, C = this.isReversed() ? r.length - 1 : 0, k = this.isReversed() ? e.length - 1 : 0, J = !1;
7504
7497
  for (; m(); ) {
7505
- const H = r.charAt(C), P = u[H], se = (P == null ? void 0 : P.transform) != null ? P.transform(e.charAt(k)) : e.charAt(k);
7506
- if (!o.includes(C) && P != null ? (se.match(P.pattern) != null ? (l[d](se), P.repeated ? (S === -1 ? S = C : C === h && C !== S && (C = S - c), h === S && (C -= c)) : P.multiple && (J = !0, C -= c), C += c) : P.multiple ? J && (C += c, k -= c, J = !1) : se === I ? I = void 0 : P.optional && (C += c, k -= c), k += c) : (n && !this.isEager() && l[d](H), se === H && !this.isEager() ? k += c : I = H, this.isEager() || (C += c)), this.isEager())
7498
+ const H = r.charAt(C), T = u[H], se = (T == null ? void 0 : T.transform) != null ? T.transform(e.charAt(k)) : e.charAt(k);
7499
+ if (!o.includes(C) && T != null ? (se.match(T.pattern) != null ? (l[d](se), T.repeated ? (S === -1 ? S = C : C === h && C !== S && (C = S - c), h === S && (C -= c)) : T.multiple && (J = !0, C -= c), C += c) : T.multiple ? J && (C += c, k -= c, J = !1) : se === I ? I = void 0 : T.optional && (C += c, k -= c), k += c) : (n && !this.isEager() && l[d](H), se === H && !this.isEager() ? k += c : I = H, this.isEager() || (C += c)), this.isEager())
7507
7500
  for (; v(C) && (u[r.charAt(C)] == null || o.includes(C)); ) {
7508
7501
  if (n) {
7509
7502
  if (l[d](r.charAt(C)), e.charAt(k) === r.charAt(C)) {
@@ -7670,7 +7663,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
7670
7663
  }),
7671
7664
  emits: /* @__PURE__ */ Oe(["update:modelValue", "change", "beforeChange"], ["update:modelValue"]),
7672
7665
  setup(t, { emit: e }) {
7673
- const i = e, n = kt(t, "modelValue"), s = ht.Format(n.value), r = T(s), o = (u) => {
7666
+ const i = e, n = kt(t, "modelValue"), s = ht.Format(n.value), r = P(s), o = (u) => {
7674
7667
  if (!l(u))
7675
7668
  return;
7676
7669
  const c = ht.FromRuStr(u);
@@ -7795,7 +7788,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
7795
7788
  const i = e, n = t, s = () => {
7796
7789
  const S = n.step.toString();
7797
7790
  return S.includes(".") ? S.split(".")[1].length : 0;
7798
- }, r = s(), o = kt(t, "modelValue"), l = T(o.value.toFixed(s())), u = (S) => {
7791
+ }, r = s(), o = kt(t, "modelValue"), l = P(o.value.toFixed(s())), u = (S) => {
7799
7792
  const C = Math.pow(10, r);
7800
7793
  return Math.round(S * C) / C;
7801
7794
  }, c = (S, ...C) => {
@@ -7895,7 +7888,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
7895
7888
  },
7896
7889
  emits: ["open"],
7897
7890
  setup(t, { emit: e }) {
7898
- const i = t, n = e, s = T(i.open);
7891
+ const i = t, n = e, s = P(i.open);
7899
7892
  Ze(
7900
7893
  () => i.open,
7901
7894
  () => {
@@ -8099,7 +8092,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
8099
8092
  },
8100
8093
  emits: ["open"],
8101
8094
  setup(t, { emit: e }) {
8102
- const i = t, n = e, s = T(i.open);
8095
+ const i = t, n = e, s = P(i.open);
8103
8096
  Ze(
8104
8097
  () => i.open,
8105
8098
  () => {
@@ -8276,7 +8269,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
8276
8269
  }),
8277
8270
  emits: /* @__PURE__ */ Oe(["change", "clear"], ["update:modelValue"]),
8278
8271
  setup(t, { emit: e }) {
8279
- const i = kt(t, "modelValue"), n = T(!0), s = e, r = T(!1), o = T(!1), l = () => {
8272
+ const i = kt(t, "modelValue"), n = P(!0), s = e, r = P(!1), o = P(!1), l = () => {
8280
8273
  r.value = !r.value;
8281
8274
  }, u = () => {
8282
8275
  i.value = void 0, s("clear", void 0), s("change", void 0), n.value = !0;
@@ -8489,7 +8482,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
8489
8482
  },
8490
8483
  emits: ["open"],
8491
8484
  setup(t, { emit: e }) {
8492
- const i = t, n = e, s = T(i.open);
8485
+ const i = t, n = e, s = P(i.open);
8493
8486
  Ze(
8494
8487
  () => i.open,
8495
8488
  () => {
@@ -8546,7 +8539,7 @@ const ts = /* @__PURE__ */ new WeakMap(), Qm = (t, e) => {
8546
8539
  level: { type: String, default: "top", required: !1 }
8547
8540
  },
8548
8541
  setup(t) {
8549
- const e = t, i = T(!1), n = T(null), s = {
8542
+ const e = t, i = P(!1), n = P(null), s = {
8550
8543
  primary: "var(--background-color-sub)",
8551
8544
  success: "var(--palette-success-5)",
8552
8545
  warning: "var(--palette-warnind-5)",
@@ -8631,7 +8624,7 @@ const m2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8631
8624
  }
8632
8625
  },
8633
8626
  setup(t) {
8634
- const e = t, i = T(!1), n = T(!0), s = T(window.matchMedia("(max-width: 1330px)").matches), r = () => {
8627
+ const e = t, i = P(!1), n = P(!0), s = P(window.matchMedia("(max-width: 1330px)").matches), r = () => {
8635
8628
  n.value = !n.value;
8636
8629
  };
8637
8630
  return vt(async () => {
@@ -8722,7 +8715,7 @@ const m2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8722
8715
  }
8723
8716
  },
8724
8717
  setup(t) {
8725
- const e = t, i = T(!1), n = T(!0), s = T(window.matchMedia("(max-width: 1330px)").matches), r = () => {
8718
+ const e = t, i = P(!1), n = P(!0), s = P(window.matchMedia("(max-width: 1330px)").matches), r = () => {
8726
8719
  n.value = !n.value;
8727
8720
  };
8728
8721
  return vt(async () => {
@@ -8889,7 +8882,7 @@ const _g = { class: "container" }, Zg = { class: "slide-box" }, Jg = { class: "i
8889
8882
  eo((v) => ({
8890
8883
  "582c9d05": i
8891
8884
  }));
8892
- const e = t, i = `${e.animationTime}ms`, n = T(e.startActiveGroupIndex), s = T(xt.None), r = T(Bo(e.events, e.quantity)), o = fe(() => r.value[n.value]);
8885
+ const e = t, i = `${e.animationTime}ms`, n = P(e.startActiveGroupIndex), s = P(xt.None), r = P(Bo(e.events, e.quantity)), o = fe(() => r.value[n.value]);
8893
8886
  pi(() => {
8894
8887
  });
8895
8888
  const l = () => n.value = n.value + 1 < r.value.length ? n.value + 1 : 0, u = () => n.value = n.value - 1 < 0 ? r.value.length - 1 : n.value - 1, c = (v) => {
@@ -8974,7 +8967,7 @@ const _g = { class: "container" }, Zg = { class: "slide-box" }, Jg = { class: "i
8974
8967
  },
8975
8968
  emits: ["close"],
8976
8969
  setup(t, { emit: e }) {
8977
- const i = t, n = e, s = T(i.x), r = T(i.y), o = fe(() => s.value + "px"), l = fe(() => r.value + "px"), u = () => {
8970
+ const i = t, n = e, s = P(i.x), r = P(i.y), o = fe(() => s.value + "px"), l = fe(() => r.value + "px"), u = () => {
8978
8971
  n("close");
8979
8972
  };
8980
8973
  return (c, d) => {
@@ -9013,7 +9006,7 @@ const _g = { class: "container" }, Zg = { class: "slide-box" }, Jg = { class: "i
9013
9006
  i.start || (s.value = void 0), i.end || (r.value = void 0);
9014
9007
  }
9015
9008
  );
9016
- const s = T(i.start), r = T(i.end), o = (u) => {
9009
+ const s = P(i.start), r = P(i.end), o = (u) => {
9017
9010
  s.value = u, !(!i.end || u > i.end) && (n("update:start", u), n("setStart", u));
9018
9011
  }, l = (u) => {
9019
9012
  r.value = u, !(!i.start || u < i.start) && (n("update:end", u), n("setEnd", u));
@@ -9054,7 +9047,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9054
9047
  // начальное состояние списка: свернут или развернут
9055
9048
  },
9056
9049
  setup(t) {
9057
- const i = T(t.rolledUp), n = async () => {
9050
+ const i = P(t.rolledUp), n = async () => {
9058
9051
  i.value = !i.value;
9059
9052
  };
9060
9053
  return (s, r) => {
@@ -9100,7 +9093,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9100
9093
  },
9101
9094
  emits: ["load"],
9102
9095
  setup(t, { emit: e }) {
9103
- const i = t, n = T(!1), s = e, r = () => {
9096
+ const i = t, n = P(!1), s = e, r = () => {
9104
9097
  i.model.setBoolean(n.value), n.value ? B.F.FTSP.Get().setF(i.model) : B.F.FTSP.Get().removeF(i.model), s("load");
9105
9098
  };
9106
9099
  return (o, l) => {
@@ -9129,7 +9122,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9129
9122
  },
9130
9123
  emits: ["load"],
9131
9124
  setup(t, { emit: e }) {
9132
- const i = e, n = T(void 0), s = async (o) => {
9125
+ const i = e, n = P(void 0), s = async (o) => {
9133
9126
  It.Get().replaceF(o, n.value), n.value = o, It.Get().p.drop();
9134
9127
  }, r = async (o) => {
9135
9128
  await s(o), i("load");
@@ -9195,7 +9188,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9195
9188
  },
9196
9189
  emits: ["load"],
9197
9190
  setup(t, { emit: e }) {
9198
- const i = e, n = It.Get(), s = T(void 0), r = async (l) => {
9191
+ const i = e, n = It.Get(), s = P(void 0), r = async (l) => {
9199
9192
  n.replaceF(l, s.value), s.value = l;
9200
9193
  }, o = async (l) => {
9201
9194
  l ? await r(s.value) : await r(void 0), i("load");
@@ -9281,7 +9274,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9281
9274
  }
9282
9275
  },
9283
9276
  setup(t) {
9284
- const e = T(!1);
9277
+ const e = P(!1);
9285
9278
  return (i, n) => (g(), b("div", {
9286
9279
  class: "general-block-item",
9287
9280
  style: M({
@@ -9363,19 +9356,19 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9363
9356
  },
9364
9357
  emits: ["click", "keyup-enter", "after-close"],
9365
9358
  setup(t, { emit: e }) {
9366
- const i = t, n = e, s = i.customClass !== "" ? i.customClass : "inside-class", r = T(!1), o = T(!1), l = T(!1), u = T(i.close);
9359
+ const i = t, n = e, s = i.customClass !== "" ? i.customClass : "inside-class", r = P(!1), o = P(!1), l = P(!1), u = P(i.close);
9367
9360
  Ze(
9368
9361
  () => i.close,
9369
9362
  () => {
9370
9363
  o.value = !1;
9371
9364
  }
9372
9365
  );
9373
- const c = (P) => {
9374
- P.stopPropagation(), P.key === "Escape" && (i.showSaveDialog ? l.value = !0 : o.value = !1);
9366
+ const c = (T) => {
9367
+ T.stopPropagation(), T.key === "Escape" && (i.showSaveDialog ? l.value = !0 : o.value = !1);
9375
9368
  };
9376
9369
  Ze(o, async () => {
9377
- var P, se;
9378
- await pu(), o.value ? ((se = (P = document.getElementById("info-item-opened-content")) == null ? void 0 : P.querySelector("input")) == null || se.focus(), document.body.addEventListener("keydown", c)) : document.body.removeEventListener("keydown", c, !1), o.value === !1 && n("after-close");
9370
+ var T, se;
9371
+ await pu(), o.value ? ((se = (T = document.getElementById("info-item-opened-content")) == null ? void 0 : T.querySelector("input")) == null || se.focus(), document.body.addEventListener("keydown", c)) : document.body.removeEventListener("keydown", c, !1), o.value === !1 && n("after-close");
9379
9372
  });
9380
9373
  const d = () => {
9381
9374
  n("click"), o.value = !!i.withOpenWindow, u.value !== i.close && (o.value = !1, u.value = !u.value);
@@ -9418,7 +9411,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9418
9411
  }, H = () => {
9419
9412
  o.value = !1, l.value = !1;
9420
9413
  };
9421
- return (P, se) => {
9414
+ return (T, se) => {
9422
9415
  const tt = j("PString"), lt = j("PButton"), Lt = j("PModal"), ti = to("click-outside");
9423
9416
  return g(), b(_, null, [
9424
9417
  p(o) ? (g(), b("div", g1)) : Y("", !0),
@@ -9438,7 +9431,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9438
9431
  class: ne(["close-window", t.customClass]),
9439
9432
  style: M(p(I))
9440
9433
  }, [
9441
- O(P.$slots, "default", {}, void 0, !0)
9434
+ O(T.$slots, "default", {}, void 0, !0)
9442
9435
  ], 6)),
9443
9436
  p(o) ? yt((g(), b("div", {
9444
9437
  key: 1,
@@ -9446,7 +9439,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9446
9439
  class: "open-window",
9447
9440
  style: M(p(S))
9448
9441
  }, [
9449
- O(P.$slots, "open-inside-content", {}, void 0, !0)
9442
+ O(T.$slots, "open-inside-content", {}, void 0, !0)
9450
9443
  ], 4)), [
9451
9444
  [
9452
9445
  ti,
@@ -9459,7 +9452,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9459
9452
  class: "top-title",
9460
9453
  style: M(p(C))
9461
9454
  }, [
9462
- O(P.$slots, "title", {}, () => [
9455
+ O(T.$slots, "title", {}, () => [
9463
9456
  E(tt, {
9464
9457
  string: t.title,
9465
9458
  "font-size": "10px",
@@ -9512,7 +9505,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9512
9505
  },
9513
9506
  emits: ["select", "reset"],
9514
9507
  setup(t, { emit: e }) {
9515
- const i = T(!1), n = e, s = (r) => {
9508
+ const i = P(!1), n = e, s = (r) => {
9516
9509
  i.value = !i.value, n("select", r);
9517
9510
  };
9518
9511
  return (r, o) => {
@@ -9677,7 +9670,7 @@ const za = /* @__PURE__ */ A(n1, [["render", r1], ["__scopeId", "data-v-d28c6f33
9677
9670
  },
9678
9671
  emits: ["select", "input"],
9679
9672
  setup(t, { emit: e }) {
9680
- const i = e, n = t, s = T(n.modelValue), r = T([]);
9673
+ const i = e, n = t, s = P(n.modelValue), r = P([]);
9681
9674
  async function o() {
9682
9675
  i("input", s.value), await l();
9683
9676
  }
@@ -9821,7 +9814,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
9821
9814
  },
9822
9815
  emits: ["cancel", "save"],
9823
9816
  setup(t, { emit: e }) {
9824
- const i = t, n = (m) => m ? "active" : "neutral", s = (m) => m ? "not-active" : "neutral", r = T(Ho), o = T(!1), l = T(!1);
9817
+ const i = t, n = (m) => m ? "active" : "neutral", s = (m) => m ? "not-active" : "neutral", r = P(Ho), o = P(!1), l = P(!1);
9825
9818
  r.value.count = i.store.Count.value, Ze(i.store.Count, () => {
9826
9819
  r.value.count = i.store.Count.value;
9827
9820
  });
@@ -9852,7 +9845,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
9852
9845
  E(S, {
9853
9846
  skin: "pag",
9854
9847
  type: s(p(r).curPage === 1),
9855
- onClick: v[0] || (v[0] = (P) => u(p(r).curPage - 1))
9848
+ onClick: v[0] || (v[0] = (T) => u(p(r).curPage - 1))
9856
9849
  }, {
9857
9850
  default: X(() => [
9858
9851
  E(I)
@@ -9865,18 +9858,18 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
9865
9858
  skin: "pag",
9866
9859
  type: n(p(r).curPage === 1),
9867
9860
  text: "1",
9868
- onClick: v[1] || (v[1] = (P) => u(1))
9861
+ onClick: v[1] || (v[1] = (T) => u(1))
9869
9862
  }, null, 8, ["type"])
9870
9863
  ]),
9871
9864
  p(r).pagesCount() > 8 && p(r).curPage > 4 ? (g(), b("li", {
9872
9865
  key: 0,
9873
- onMouseenter: v[3] || (v[3] = (P) => o.value = !0),
9874
- onMouseleave: v[4] || (v[4] = (P) => o.value = !1)
9866
+ onMouseenter: v[3] || (v[3] = (T) => o.value = !0),
9867
+ onMouseleave: v[4] || (v[4] = (T) => o.value = !1)
9875
9868
  }, [
9876
9869
  E(S, {
9877
9870
  skin: "pag",
9878
9871
  type: "neutral",
9879
- onClick: v[2] || (v[2] = (P) => u(p(r).curPage - 5))
9872
+ onClick: v[2] || (v[2] = (T) => u(p(r).curPage - 5))
9880
9873
  }, {
9881
9874
  default: X(() => [
9882
9875
  p(o) ? (g(), W(C, { key: 0 })) : (g(), W(k, { key: 1 }))
@@ -9884,23 +9877,23 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
9884
9877
  _: 1
9885
9878
  })
9886
9879
  ], 32)) : Y("", !0),
9887
- (g(!0), b(_, null, He(p(d), (P) => (g(), b("li", { key: P }, [
9880
+ (g(!0), b(_, null, He(p(d), (T) => (g(), b("li", { key: T }, [
9888
9881
  E(S, {
9889
9882
  skin: "pag",
9890
- type: n(P === p(r).curPage),
9891
- text: P,
9892
- onClick: (se) => u(P)
9883
+ type: n(T === p(r).curPage),
9884
+ text: T,
9885
+ onClick: (se) => u(T)
9893
9886
  }, null, 8, ["type", "text", "onClick"])
9894
9887
  ]))), 128)),
9895
9888
  p(r).pagesCount() >= 8 && p(r).curPage < p(r).pagesCount() - 3 ? (g(), b("li", {
9896
9889
  key: 1,
9897
- onMouseenter: v[6] || (v[6] = (P) => l.value = !0),
9898
- onMouseleave: v[7] || (v[7] = (P) => l.value = !1)
9890
+ onMouseenter: v[6] || (v[6] = (T) => l.value = !0),
9891
+ onMouseleave: v[7] || (v[7] = (T) => l.value = !1)
9899
9892
  }, [
9900
9893
  E(S, {
9901
9894
  skin: "pag",
9902
9895
  type: "neutral",
9903
- onClick: v[5] || (v[5] = (P) => u(p(r).curPage + 5))
9896
+ onClick: v[5] || (v[5] = (T) => u(p(r).curPage + 5))
9904
9897
  }, {
9905
9898
  default: X(() => [
9906
9899
  p(l) ? (g(), W(J, { key: 0 })) : (g(), W(k, { key: 1 }))
@@ -9913,14 +9906,14 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
9913
9906
  skin: "pag",
9914
9907
  type: n(p(r).pagesCount() === p(r).curPage),
9915
9908
  text: p(r).pagesCount(),
9916
- onClick: v[8] || (v[8] = (P) => u(p(r).pagesCount()))
9909
+ onClick: v[8] || (v[8] = (T) => u(p(r).pagesCount()))
9917
9910
  }, null, 8, ["type", "text"])
9918
9911
  ])) : Y("", !0)
9919
9912
  ]),
9920
9913
  E(S, {
9921
9914
  skin: "pag",
9922
9915
  type: s(p(r).curPage === p(r).pagesCount()),
9923
- onClick: v[9] || (v[9] = (P) => u(p(r).curPage + 1))
9916
+ onClick: v[9] || (v[9] = (T) => u(p(r).curPage + 1))
9924
9917
  }, {
9925
9918
  default: X(() => [
9926
9919
  E(H)
@@ -9978,7 +9971,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
9978
9971
  },
9979
9972
  emits: ["select", "load", "input"],
9980
9973
  setup(t, { emit: e }) {
9981
- const i = t, n = e, s = T(i.modelValue), r = T();
9974
+ const i = t, n = e, s = P(i.modelValue), r = P();
9982
9975
  let o = bs.SearchModel();
9983
9976
  Ze(
9984
9977
  () => i.focus,
@@ -10091,7 +10084,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
10091
10084
  },
10092
10085
  emits: ["toggle"],
10093
10086
  setup(t, { emit: e }) {
10094
- const i = t, n = e, s = T(!1);
10087
+ const i = t, n = e, s = P(!1);
10095
10088
  Ze(
10096
10089
  () => i.toggle,
10097
10090
  () => {
@@ -10174,9 +10167,9 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
10174
10167
  },
10175
10168
  emits: ["toggle"],
10176
10169
  setup(t, { emit: e }) {
10177
- const i = t, n = e, s = T(!1), r = T(window.matchMedia("(max-width: 768px)").matches), o = (u) => {
10170
+ const i = t, n = e, s = P(!1), r = P(window.matchMedia("(max-width: 768px)").matches), o = (u) => {
10178
10171
  n("toggle", u);
10179
- }, l = T(!1);
10172
+ }, l = P(!1);
10180
10173
  return vt(async () => {
10181
10174
  window.addEventListener("resize", () => {
10182
10175
  switch (i.mobileWidth) {
@@ -10298,7 +10291,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
10298
10291
  },
10299
10292
  emits: ["load"],
10300
10293
  setup(t, { emit: e }) {
10301
- const i = T(!1), n = e, s = T();
10294
+ const i = P(!1), n = e, s = P();
10302
10295
  vt(() => {
10303
10296
  i.value = !0, s.value = Gt.GetDefault();
10304
10297
  });
@@ -10341,7 +10334,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
10341
10334
  },
10342
10335
  emits: ["load"],
10343
10336
  setup(t, { emit: e }) {
10344
- const i = e, n = T();
10337
+ const i = e, n = P();
10345
10338
  vt(() => {
10346
10339
  n.value = Gt.GetDefault();
10347
10340
  });
@@ -10396,7 +10389,7 @@ const Va = /* @__PURE__ */ A(T1, [["render", O1], ["__scopeId", "data-v-0f1f2f84
10396
10389
  }, s = () => i.firstModel.valueEq(c.value) ? void 0 : n, r = () => c.value ? n : void 0, o = () => i.secondModel.valueEq(c.value) ? void 0 : n, l = (h) => {
10397
10390
  var v;
10398
10391
  return { color: (v = c.value) != null && v.valueEq(h) ? "#006bb4" : "#B0A4C0" };
10399
- }, u = e, c = T(void 0), d = async (h) => {
10392
+ }, u = e, c = P(void 0), d = async (h) => {
10400
10393
  var m;
10401
10394
  (m = c.value) != null && m.valueEq(h) || (c.value = h, u("load"));
10402
10395
  };
@@ -10470,7 +10463,7 @@ const il = /* @__PURE__ */ A(lp, [["render", cp], ["__scopeId", "data-v-5023d414
10470
10463
  },
10471
10464
  emits: ["submit"],
10472
10465
  setup(t, { emit: e }) {
10473
- const i = T(!1), n = e, s = async () => {
10466
+ const i = P(!1), n = e, s = async () => {
10474
10467
  n("submit"), i.value = !i.value;
10475
10468
  };
10476
10469
  return (r, o) => {
@@ -10536,7 +10529,7 @@ const il = /* @__PURE__ */ A(lp, [["render", cp], ["__scopeId", "data-v-5023d414
10536
10529
  },
10537
10530
  emits: ["toggle"],
10538
10531
  setup(t, { emit: e }) {
10539
- const i = t, n = e, s = T(!0);
10532
+ const i = t, n = e, s = P(!0);
10540
10533
  Ze(
10541
10534
  () => i.toggle,
10542
10535
  () => {
@@ -10633,7 +10626,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10633
10626
  iconClass: { type: String, required: !1, default: "" }
10634
10627
  },
10635
10628
  setup(t) {
10636
- const e = T(!1);
10629
+ const e = P(!1);
10637
10630
  return (i, n) => (g(), b(_, null, [
10638
10631
  (g(), b("svg", {
10639
10632
  class: ne(["icon", t.iconClass]),
@@ -10674,7 +10667,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10674
10667
  iconClass: { type: String, required: !1, default: "" }
10675
10668
  },
10676
10669
  setup(t) {
10677
- const e = T(!1);
10670
+ const e = P(!1);
10678
10671
  return (i, n) => (g(), b(_, null, [
10679
10672
  (g(), b("svg", {
10680
10673
  class: ne(["icon", t.iconClass]),
@@ -10905,7 +10898,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10905
10898
  iconClass: { type: String, required: !1, default: "" }
10906
10899
  },
10907
10900
  setup(t) {
10908
- const e = T(!1);
10901
+ const e = P(!1);
10909
10902
  return (i, n) => (g(), b(_, null, [
10910
10903
  (g(), b("svg", {
10911
10904
  class: ne(["icon", t.iconClass]),
@@ -10945,7 +10938,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10945
10938
  iconClass: { type: String, required: !1, default: "" }
10946
10939
  },
10947
10940
  setup(t) {
10948
- const e = T(!1);
10941
+ const e = P(!1);
10949
10942
  return (i, n) => (g(), b(_, null, [
10950
10943
  (g(), b("svg", {
10951
10944
  class: ne(["icon", t.iconClass]),
@@ -10985,7 +10978,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10985
10978
  iconClass: { type: String, required: !1, default: "" }
10986
10979
  },
10987
10980
  setup(t) {
10988
- const e = T(!1);
10981
+ const e = P(!1);
10989
10982
  return (i, n) => (g(), b(_, null, [
10990
10983
  (g(), b("svg", {
10991
10984
  class: ne(["icon", t.iconClass]),
@@ -11025,7 +11018,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11025
11018
  iconClass: { type: String, required: !1, default: "" }
11026
11019
  },
11027
11020
  setup(t) {
11028
- const e = T(!1);
11021
+ const e = P(!1);
11029
11022
  return (i, n) => (g(), b(_, null, [
11030
11023
  (g(), b("svg", {
11031
11024
  class: ne(["icon", t.iconClass]),
@@ -11065,7 +11058,7 @@ const g2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11065
11058
  iconClass: { type: String, required: !1, default: "" }
11066
11059
  },
11067
11060
  setup(t) {
11068
- const e = T(!1);
11061
+ const e = P(!1);
11069
11062
  return (i, n) => (g(), b(_, null, [
11070
11063
  (g(), b("svg", {
11071
11064
  class: ne(["icon", t.iconClass]),
@@ -11112,7 +11105,7 @@ const p2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11112
11105
  initActiveIdx: { type: Number, default: 0 }
11113
11106
  },
11114
11107
  setup(t) {
11115
- const e = T(t.initActiveIdx), i = (n) => {
11108
+ const e = P(t.initActiveIdx), i = (n) => {
11116
11109
  e.value = n;
11117
11110
  };
11118
11111
  return Ze(
@@ -11152,7 +11145,7 @@ const wl = /* @__PURE__ */ A(kp, [["render", $p]]), Ap = $({
11152
11145
  },
11153
11146
  emits: ["changeActiveId"],
11154
11147
  setup(t, { emit: e }) {
11155
- const i = T(t.activeId === "0"), n = () => {
11148
+ const i = P(t.activeId === "0"), n = () => {
11156
11149
  i.value = !i.value, e("changeActiveId", t.tabId);
11157
11150
  };
11158
11151
  return vu(() => {
@@ -11235,7 +11228,7 @@ function Tp(t, e, i, n, s, r) {
11235
11228
  const bl = /* @__PURE__ */ A(Ap, [["render", Tp], ["__scopeId", "data-v-c2e31ebb"]]), Op = { class: "tab" }, zp = { class: "rotate" }, Fp = /* @__PURE__ */ $({
11236
11229
  __name: "VerticalCollapseContainer",
11237
11230
  setup(t) {
11238
- const e = T(!1), i = async () => {
11231
+ const e = P(!1), i = async () => {
11239
11232
  e.value = !e.value;
11240
11233
  };
11241
11234
  return (n, s) => {
@@ -11716,7 +11709,7 @@ const v2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11716
11709
  },
11717
11710
  emits: ["submit"],
11718
11711
  setup(t, { emit: e }) {
11719
- const i = t, n = e, s = T(!1), r = T(), o = T(i.withName.name), l = T(!1), u = () => {
11712
+ const i = t, n = e, s = P(!1), r = P(), o = P(i.withName.name), l = P(!1), u = () => {
11720
11713
  l.value = !1;
11721
11714
  }, c = async () => {
11722
11715
  o.value.trim(), i.withName.setName && i.withName.setName(o.value), s.value = !s.value, n("submit");
@@ -11834,7 +11827,7 @@ const v2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11834
11827
  },
11835
11828
  emits: ["select"],
11836
11829
  setup(t, { emit: e }) {
11837
- const i = t, n = e, s = T(window.innerWidth), r = T(), o = T(Number(i.tabHeight.replace(/[^+\d]/g, ""))), l = () => {
11830
+ const i = t, n = e, s = P(window.innerWidth), r = P(), o = P(Number(i.tabHeight.replace(/[^+\d]/g, ""))), l = () => {
11838
11831
  s.value = window.innerWidth, o.value = r.value ? r.value.clientHeight : Number(i.tabHeight.replace(/[^+\d]/g, ""));
11839
11832
  };
11840
11833
  pi(() => window.addEventListener("resize", l)), Qr(() => window.removeEventListener("resize", l));
@@ -12981,8 +12974,8 @@ var F0 = ["transitions"], bt = at("vue-advanced-cropper"), Zl = { name: "Cropper
12981
12974
  return !(typeof t == "string" && t !== "fill" && t !== "fit");
12982
12975
  } }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: !0 }, moveImage: { type: [Boolean, Object], default: !0 }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(t) {
12983
12976
  var e = t.event, i = t.coordinates, n = t.aspectRatio, s = t.positionRestrictions, r = t.sizeRestrictions, o = G(G({}, i), { right: i.left + i.width, bottom: i.top + i.height }), l = e.params || {}, u = G({}, e.directions), c = l.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
12984
- r.widthFrozen && (u.left = 0, u.right = 0), r.heightFrozen && (u.top = 0, u.bottom = 0), mt.forEach(function(P) {
12985
- c[P] || (u[P] = 0);
12977
+ r.widthFrozen && (u.left = 0, u.right = 0), r.heightFrozen && (u.top = 0, u.bottom = 0), mt.forEach(function(T) {
12978
+ c[T] || (u[T] = 0);
12986
12979
  });
12987
12980
  var d = ft(o, u = Xr({ coordinates: o, directions: u, sizeRestrictions: r, positionRestrictions: s })).width, h = ft(o, u).height, m = l.preserveRatio ? oe(o) : ss(d / h, n);
12988
12981
  if (m) {
@@ -13002,8 +12995,8 @@ var F0 = ["transitions"], bt = at("vue-advanced-cropper"), Zl = { name: "Cropper
13002
12995
  }
13003
12996
  u = Xr({ directions: u, coordinates: o, sizeRestrictions: r, positionRestrictions: s, preserveRatio: !0, compensate: l.compensate });
13004
12997
  }
13005
- return d = ft(o, u).width, h = ft(o, u).height, (m = l.preserveRatio ? oe(o) : ss(d / h, n)) && Math.abs(m - d / h) > 1e-3 && mt.forEach(function(P) {
13006
- c[P] || (u[P] = 0);
12998
+ return d = ft(o, u).width, h = ft(o, u).height, (m = l.preserveRatio ? oe(o) : ss(d / h, n)) && Math.abs(m - d / h) > 1e-3 && mt.forEach(function(T) {
12999
+ c[T] || (u[T] = 0);
13007
13000
  }), Is({ event: new or({ left: -u.left, top: -u.top }), coordinates: { width: i.width + u.right + u.left, height: i.height + u.top + u.bottom, left: i.left, top: i.top }, positionRestrictions: s });
13008
13001
  } }, moveAlgorithm: { type: Function, default: Is }, initStretcher: { type: Function, default: function(t) {
13009
13002
  var e = t.stretcher, i = t.imageSize, n = oe(i);
@@ -13475,11 +13468,11 @@ const H0 = { class: "background-container" }, q0 = { class: "dialog-footer" }, N
13475
13468
  },
13476
13469
  emits: ["crop", "close", "update:ratio"],
13477
13470
  setup(t, { emit: e }) {
13478
- const i = t, n = e, s = T(i.ratio), r = T(cr.Create(i.src, i.ratio));
13471
+ const i = t, n = e, s = P(i.ratio), r = P(cr.Create(i.src, i.ratio));
13479
13472
  r.value.setRatio(s.value);
13480
13473
  const o = () => {
13481
13474
  r.value.setRatio(s.value);
13482
- }, l = T(), u = async () => {
13475
+ }, l = P(), u = async () => {
13483
13476
  const c = l.value.getResult();
13484
13477
  c && c.canvas.toBlob((d) => {
13485
13478
  var h;
@@ -13694,7 +13687,7 @@ const H0 = { class: "background-container" }, q0 = { class: "dialog-footer" }, N
13694
13687
  })), s = fe(() => ({
13695
13688
  width: h.value < 0.66 ? r.height * 0.66 + "px" : r.height * h.value + "px",
13696
13689
  height: r.height + "px"
13697
- })), r = t, o = e, l = T(void 0), u = be.GUID(), c = T(!1), d = T(), h = T(r.ratio), m = T(""), v = () => {
13690
+ })), r = t, o = e, l = P(void 0), u = be.GUID(), c = P(!1), d = P(), h = P(r.ratio), m = P(""), v = () => {
13698
13691
  l.value = void 0, h.value = 1, o("update:ratio", 1), o("removeFile"), S = document.getElementById(u), S.value = "";
13699
13692
  }, I = (H) => {
13700
13693
  H.blob.src = H.src, r.fileInfo.setFile(H.blob), r.fileInfo.fileSystemPath && (l.value = r.fileInfo), c.value = !1, o("crop");
@@ -13723,7 +13716,7 @@ const H0 = { class: "background-container" }, q0 = { class: "dialog-footer" }, N
13723
13716
  };
13724
13717
  return Ze(h, (H) => {
13725
13718
  o("update:ratio", H);
13726
- }), (H, P) => (g(), b(_, null, [
13719
+ }), (H, T) => (g(), b(_, null, [
13727
13720
  f("div", {
13728
13721
  id: "drop-area",
13729
13722
  class: "img-container",
@@ -13746,7 +13739,7 @@ const H0 = { class: "background-container" }, q0 = { class: "dialog-footer" }, N
13746
13739
  }, [
13747
13740
  f("div", {
13748
13741
  class: "change",
13749
- onClick: P[0] || (P[0] = (se) => k(p(l)))
13742
+ onClick: T[0] || (T[0] = (se) => k(p(l)))
13750
13743
  }, [
13751
13744
  E(W0, {
13752
13745
  margin: "0 10px 0 0",
@@ -13755,7 +13748,7 @@ const H0 = { class: "background-container" }, q0 = { class: "dialog-footer" }, N
13755
13748
  ]),
13756
13749
  f("div", {
13757
13750
  claSS: "del",
13758
- onClick: P[1] || (P[1] = (se) => v())
13751
+ onClick: T[1] || (T[1] = (se) => v())
13759
13752
  }, [
13760
13753
  E(V0, { size: "40px" })
13761
13754
  ])
@@ -13788,10 +13781,10 @@ const H0 = { class: "background-container" }, q0 = { class: "dialog-footer" }, N
13788
13781
  default: X(() => [
13789
13782
  E(U0, {
13790
13783
  ratio: p(h),
13791
- "onUpdate:ratio": P[2] || (P[2] = (se) => et(h) ? h.value = se : null),
13784
+ "onUpdate:ratio": T[2] || (T[2] = (se) => et(h) ? h.value = se : null),
13792
13785
  src: p(m),
13793
13786
  onCrop: I,
13794
- onClose: P[3] || (P[3] = (se) => c.value = !1)
13787
+ onClose: T[3] || (T[3] = (se) => c.value = !1)
13795
13788
  }, null, 8, ["ratio", "src"])
13796
13789
  ]),
13797
13790
  _: 1