startup-ui 0.5.3 → 0.5.4

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,6 +1,6 @@
1
- import { mergeModels as ie, getCurrentInstance as ia, computed as V, useModel as Oe, ref as K, watch as we, provide as Fe, createElementBlock as S, openBlock as p, withModifiers as $e, normalizeClass as z, renderSlot as F, inject as Ae, useSlots as Jt, cloneVNode as la, useTemplateRef as Te, createElementVNode as E, normalizeStyle as ge, unref as R, toDisplayString as G, createCommentVNode as B, Fragment as ee, renderList as de, createBlock as ae, resolveDynamicComponent as wt, withDirectives as gt, createTextVNode as le, vModelText as ua, vModelDynamic as Gs, defineComponent as rt, h as ca, useAttrs as Un, onMounted as yt, nextTick as at, onBeforeUnmount as fa, createVNode as Q, Teleport as Ge, vModelRadio as Xs, withCtx as ke, vModelCheckbox as Zs, resolveComponent as bt, createSlots as Qs, render as da, onBeforeMount as eo, Transition as to } from "vue";
2
- import { router as zn, Link as yn, useRemember as no } from "@inertiajs/vue3";
3
- import { templateRef as ro, useEventListener as ao, useDraggable as Hn, useResizeObserver as so, useClipboard as oo } from "@vueuse/core";
1
+ import { mergeModels as ie, getCurrentInstance as ia, computed as V, useModel as Oe, ref as K, watch as we, provide as Fe, createElementBlock as S, openBlock as h, withModifiers as $e, normalizeClass as z, renderSlot as F, inject as Ae, useSlots as Kt, cloneVNode as la, useTemplateRef as _e, createElementVNode as E, normalizeStyle as ge, unref as R, toDisplayString as G, createCommentVNode as B, Fragment as ee, renderList as de, createBlock as ae, resolveDynamicComponent as wt, withDirectives as yt, createTextVNode as le, vModelText as ua, vModelDynamic as Gs, defineComponent as at, h as ca, useAttrs as Un, onMounted as tt, nextTick as st, onBeforeUnmount as fa, createVNode as Q, Teleport as Ge, vModelRadio as Xs, withCtx as ke, vModelCheckbox as Zs, resolveComponent as bt, createSlots as Qs, render as da, onBeforeMount as eo, Transition as to } from "vue";
2
+ import { router as zn, Link as yn } from "@inertiajs/vue3";
3
+ import { templateRef as no, useEventListener as ro, useDraggable as Hn, useResizeObserver as ao, useClipboard as so, useStorage as oo } from "@vueuse/core";
4
4
  import io from "@tinymce/tinymce-vue";
5
5
  import "tinymce/tinymce";
6
6
  import "tinymce/skins/ui/oxide/skin.min.css";
@@ -43,9 +43,9 @@ const lo = {
43
43
  );
44
44
  const l = K(n.loading);
45
45
  function u(f) {
46
- var h;
46
+ var p;
47
47
  o.value ? r("submit", f) : (l.value = !0, zn.visit(n.action, {
48
- method: (h = n.method) != null ? h : "post",
48
+ method: (p = n.method) != null ? p : "post",
49
49
  data: s.value,
50
50
  preserveScroll: !0,
51
51
  preserveState: !0,
@@ -54,12 +54,12 @@ const lo = {
54
54
  }));
55
55
  }
56
56
  const c = function(f) {
57
- const h = JSON.parse(JSON.stringify(f));
58
- return Object.keys(h).forEach((b) => {
59
- b.includes(".") && !h[b.split(".")[0]] && (h[b.split(".")[0]] = h[b]);
60
- }), h;
57
+ const p = JSON.parse(JSON.stringify(f));
58
+ return Object.keys(p).forEach((b) => {
59
+ b.includes(".") && !p[b.split(".")[0]] && (p[b.split(".")[0]] = p[b]);
60
+ }), p;
61
61
  };
62
- return Fe("formModel", s.value), Fe("formErrors", i), Fe("titlesWidth", n.titlesWidth), (f, h) => (p(), S("form", {
62
+ return Fe("formModel", s.value), Fe("formErrors", i), Fe("titlesWidth", n.titlesWidth), (f, p) => (h(), S("form", {
63
63
  class: z(["s-form", { titles_at_left: e.titlesAtLeft, loading: l.value || e.loading }]),
64
64
  onSubmit: $e(u, ["prevent"])
65
65
  }, [
@@ -75,7 +75,7 @@ const lo = {
75
75
  }, mo = {
76
76
  key: 0,
77
77
  class: "s-formrow-error"
78
- }, ho = {
78
+ }, po = {
79
79
  __name: "SFormRow",
80
80
  props: {
81
81
  class: String,
@@ -86,13 +86,13 @@ const lo = {
86
86
  setup(e, { expose: t }) {
87
87
  const n = e, r = Ae("formModel"), a = V({
88
88
  get: () => r == null ? void 0 : r[n.name],
89
- set: (h) => {
90
- r && (r[n.name] = h);
89
+ set: (p) => {
90
+ r && (r[n.name] = p);
91
91
  }
92
92
  }), o = Ae("formErrors"), s = V(() => {
93
- var h;
94
- return (h = o.value[n.name]) != null ? h : "";
95
- }), i = Ae("titlesWidth"), l = Jt(), u = V(() => {
93
+ var p;
94
+ return (p = o.value[n.name]) != null ? p : "";
95
+ }), i = Ae("titlesWidth"), l = Kt(), u = V(() => {
96
96
  var b;
97
97
  return (((b = l.default) == null ? void 0 : b.call(l)) || []).map((d) => {
98
98
  var g;
@@ -105,23 +105,23 @@ const lo = {
105
105
  }
106
106
  });
107
107
  });
108
- }), c = Te("input");
108
+ }), c = _e("input");
109
109
  function f() {
110
- const h = c.value.querySelector("input, textarea");
111
- h && h.focus();
110
+ const p = c.value.querySelector("input, textarea");
111
+ p && p.focus();
112
112
  }
113
- return t({ focus: f }), (h, b) => {
113
+ return t({ focus: f }), (p, b) => {
114
114
  var d;
115
- return p(), S("div", {
115
+ return h(), S("div", {
116
116
  class: z(["s-formrow", { error: s.value !== "" }])
117
117
  }, [
118
- h.$slots.title ? (p(), S("div", {
118
+ p.$slots.title ? (h(), S("div", {
119
119
  key: 0,
120
120
  class: "s-formrow-title",
121
121
  style: ge({ width: R(i) ? R(i) + "px" : null })
122
122
  }, [
123
- F(h.$slots, "title")
124
- ], 4)) : (p(), S("div", {
123
+ F(p.$slots, "title")
124
+ ], 4)) : (h(), S("div", {
125
125
  key: 1,
126
126
  class: "s-formrow-title",
127
127
  onClick: f,
@@ -133,18 +133,18 @@ const lo = {
133
133
  ref_key: "input",
134
134
  ref: c
135
135
  }, [
136
- e.name ? (p(!0), S(ee, { key: 0 }, de(u.value, (m, g) => (p(), ae(wt(m), { key: g }))), 128)) : F(h.$slots, "default", { key: 1 }),
137
- h.$slots.hint ? (p(), S("div", co, [
138
- F(h.$slots, "hint")
136
+ e.name ? (h(!0), S(ee, { key: 0 }, de(u.value, (m, g) => (h(), ae(wt(m), { key: g }))), 128)) : F(p.$slots, "default", { key: 1 }),
137
+ p.$slots.hint ? (h(), S("div", co, [
138
+ F(p.$slots, "hint")
139
139
  ])) : B("", !0),
140
- e.hint ? (p(), S("div", fo, G(e.hint), 1)) : B("", !0)
140
+ e.hint ? (h(), S("div", fo, G(e.hint), 1)) : B("", !0)
141
141
  ], 512),
142
- s.value ? (p(), S("div", mo, G(Array.isArray(s.value) ? s.value.join("") : s.value), 1)) : B("", !0)
142
+ s.value ? (h(), S("div", mo, G(Array.isArray(s.value) ? s.value.join("") : s.value), 1)) : B("", !0)
143
143
  ])
144
144
  ], 2);
145
145
  };
146
146
  }
147
- }, po = {
147
+ }, ho = {
148
148
  key: 0,
149
149
  class: "s-input-prefix"
150
150
  }, vo = ["rows", "disabled", "placeholder"], go = ["type", "placeholder", "disabled"], yo = {
@@ -179,16 +179,16 @@ const lo = {
179
179
  }),
180
180
  emits: /* @__PURE__ */ ie(["change"], ["update:modelValue"]),
181
181
  setup(e, { emit: t }) {
182
- const n = e, r = Oe(e, "modelValue"), a = Jt(), o = V(() => n.prefix || a.prefix), s = V(() => n.suffix || a.suffix);
183
- return (i, l) => (p(), S("div", {
182
+ const n = e, r = Oe(e, "modelValue"), a = Kt(), o = V(() => n.prefix || a.prefix), s = V(() => n.suffix || a.suffix);
183
+ return (i, l) => (h(), S("div", {
184
184
  class: z(["s-input", { "has-prefix": o.value, "has-suffix": s.value }])
185
185
  }, [
186
- o.value ? (p(), S("span", po, [
187
- e.prefix ? (p(), S(ee, { key: 0 }, [
186
+ o.value ? (h(), S("span", ho, [
187
+ e.prefix ? (h(), S(ee, { key: 0 }, [
188
188
  le(G(e.prefix), 1)
189
189
  ], 64)) : F(i.$slots, "prefix", { key: 1 })
190
190
  ])) : B("", !0),
191
- e.type === "textarea" ? gt((p(), S("textarea", {
191
+ e.type === "textarea" ? yt((h(), S("textarea", {
192
192
  key: 1,
193
193
  class: "s-input-field",
194
194
  "onUpdate:modelValue": l[0] || (l[0] = (u) => r.value = u),
@@ -199,7 +199,7 @@ const lo = {
199
199
  style: ge(e.inputStyle)
200
200
  }, null, 44, vo)), [
201
201
  [ua, r.value]
202
- ]) : gt((p(), S("input", {
202
+ ]) : yt((h(), S("input", {
203
203
  key: 2,
204
204
  class: "s-input-field",
205
205
  type: e.type,
@@ -211,8 +211,8 @@ const lo = {
211
211
  }, null, 44, go)), [
212
212
  [Gs, r.value]
213
213
  ]),
214
- s.value ? (p(), S("span", yo, [
215
- e.suffix ? (p(), S(ee, { key: 0 }, [
214
+ s.value ? (h(), S("span", yo, [
215
+ e.suffix ? (h(), S(ee, { key: 0 }, [
216
216
  le(G(e.suffix), 1)
217
217
  ], 64)) : F(i.$slots, "suffix", { key: 1 })
218
218
  ])) : B("", !0)
@@ -332,7 +332,7 @@ function Eo() {
332
332
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
333
333
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
334
334
  }
335
- function _o() {
335
+ function To() {
336
336
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
337
337
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
338
338
  }
@@ -357,13 +357,13 @@ function $(e) {
357
357
  }
358
358
  return e;
359
359
  }
360
- function Kt(e, t) {
360
+ function Jt(e, t) {
361
361
  return So(e) || Oo(e, t) || Vn(e, t) || Eo();
362
362
  }
363
363
  function Ce(e) {
364
- return wo(e) || Ao(e) || Vn(e) || _o();
364
+ return wo(e) || Ao(e) || Vn(e) || To();
365
365
  }
366
- function To(e, t) {
366
+ function _o(e, t) {
367
367
  if (typeof e != "object" || !e) return e;
368
368
  var n = e[Symbol.toPrimitive];
369
369
  if (n !== void 0) {
@@ -374,7 +374,7 @@ function To(e, t) {
374
374
  return (t === "string" ? String : Number)(e);
375
375
  }
376
376
  function ma(e) {
377
- var t = To(e, "string");
377
+ var t = _o(e, "string");
378
378
  return typeof t == "symbol" ? t : t + "";
379
379
  }
380
380
  function Ut(e) {
@@ -393,15 +393,15 @@ function Vn(e, t) {
393
393
  }
394
394
  }
395
395
  var lr = function() {
396
- }, Wn = {}, ha = {}, pa = null, va = {
396
+ }, Wn = {}, pa = {}, ha = null, va = {
397
397
  mark: lr,
398
398
  measure: lr
399
399
  };
400
400
  try {
401
- typeof window != "undefined" && (Wn = window), typeof document != "undefined" && (ha = document), typeof MutationObserver != "undefined" && (pa = MutationObserver), typeof performance != "undefined" && (va = performance);
401
+ typeof window != "undefined" && (Wn = window), typeof document != "undefined" && (pa = document), typeof MutationObserver != "undefined" && (ha = MutationObserver), typeof performance != "undefined" && (va = performance);
402
402
  } catch {
403
403
  }
404
- var Co = Wn.navigator || {}, ur = Co.userAgent, cr = ur === void 0 ? "" : ur, Le = Wn, se = ha, fr = pa, Ct = va;
404
+ var Co = Wn.navigator || {}, ur = Co.userAgent, cr = ur === void 0 ? "" : ur, Le = Wn, se = pa, fr = ha, Ct = va;
405
405
  Le.document;
406
406
  var je = !!se.documentElement && !!se.head && typeof se.addEventListener == "function" && typeof se.createElement == "function", ga = ~cr.indexOf("MSIE") || ~cr.indexOf("Trident/"), sn, Po = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, No = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i, ya = {
407
407
  classic: {
@@ -511,8 +511,8 @@ var je = !!se.documentElement && !!se.head && typeof se.addEventListener == "fun
511
511
  GROUP: "duotone-group",
512
512
  PRIMARY: "primary",
513
513
  SECONDARY: "secondary"
514
- }, ba = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], me = "classic", kt = "duotone", Sa = "sharp", wa = "sharp-duotone", ka = "chisel", xa = "etch", $a = "jelly", Aa = "jelly-duo", Oa = "jelly-fill", Ea = "notdog", _a = "notdog-duo", Ta = "slab", Ca = "slab-press", Pa = "thumbprint", Na = "utility", Ia = "utility-duo", Fa = "utility-fill", Ra = "whiteboard", Fo = "Classic", Ro = "Duotone", Mo = "Sharp", jo = "Sharp Duotone", Do = "Chisel", Lo = "Etch", Bo = "Jelly", Uo = "Jelly Duo", zo = "Jelly Fill", Ho = "Notdog", Vo = "Notdog Duo", Wo = "Slab", Yo = "Slab Press", qo = "Thumbprint", Jo = "Utility", Ko = "Utility Duo", Go = "Utility Fill", Xo = "Whiteboard", Ma = [me, kt, Sa, wa, ka, xa, $a, Aa, Oa, Ea, _a, Ta, Ca, Pa, Na, Ia, Fa, Ra];
515
- sn = {}, q(q(q(q(q(q(q(q(q(q(sn, me, Fo), kt, Ro), Sa, Mo), wa, jo), ka, Do), xa, Lo), $a, Bo), Aa, Uo), Oa, zo), Ea, Ho), q(q(q(q(q(q(q(q(sn, _a, Vo), Ta, Wo), Ca, Yo), Pa, qo), Na, Jo), Ia, Ko), Fa, Go), Ra, Xo);
514
+ }, ba = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], me = "classic", kt = "duotone", Sa = "sharp", wa = "sharp-duotone", ka = "chisel", xa = "etch", $a = "jelly", Aa = "jelly-duo", Oa = "jelly-fill", Ea = "notdog", Ta = "notdog-duo", _a = "slab", Ca = "slab-press", Pa = "thumbprint", Na = "utility", Ia = "utility-duo", Fa = "utility-fill", Ra = "whiteboard", Fo = "Classic", Ro = "Duotone", Mo = "Sharp", jo = "Sharp Duotone", Do = "Chisel", Lo = "Etch", Bo = "Jelly", Uo = "Jelly Duo", zo = "Jelly Fill", Ho = "Notdog", Vo = "Notdog Duo", Wo = "Slab", Yo = "Slab Press", qo = "Thumbprint", Ko = "Utility", Jo = "Utility Duo", Go = "Utility Fill", Xo = "Whiteboard", Ma = [me, kt, Sa, wa, ka, xa, $a, Aa, Oa, Ea, Ta, _a, Ca, Pa, Na, Ia, Fa, Ra];
515
+ sn = {}, q(q(q(q(q(q(q(q(q(q(sn, me, Fo), kt, Ro), Sa, Mo), wa, jo), ka, Do), xa, Lo), $a, Bo), Aa, Uo), Oa, zo), Ea, Ho), q(q(q(q(q(q(q(q(sn, Ta, Vo), _a, Wo), Ca, Yo), Pa, qo), Na, Ko), Ia, Jo), Fa, Go), Ra, Xo);
516
516
  var Zo = {
517
517
  classic: {
518
518
  900: "fas",
@@ -890,10 +890,10 @@ var ii = {
890
890
  SWAP_OPACITY: "swap-opacity",
891
891
  PRIMARY: "primary",
892
892
  SECONDARY: "secondary"
893
- }, ci = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], fi = "classic", di = "duotone", mi = "sharp", hi = "sharp-duotone", pi = "chisel", vi = "etch", gi = "jelly", yi = "jelly-duo", bi = "jelly-fill", Si = "notdog", wi = "notdog-duo", ki = "slab", xi = "slab-press", $i = "thumbprint", Ai = "utility", Oi = "utility-duo", Ei = "utility-fill", _i = "whiteboard", Ti = "Classic", Ci = "Duotone", Pi = "Sharp", Ni = "Sharp Duotone", Ii = "Chisel", Fi = "Etch", Ri = "Jelly", Mi = "Jelly Duo", ji = "Jelly Fill", Di = "Notdog", Li = "Notdog Duo", Bi = "Slab", Ui = "Slab Press", zi = "Thumbprint", Hi = "Utility", Vi = "Utility Duo", Wi = "Utility Fill", Yi = "Whiteboard";
894
- on = {}, q(q(q(q(q(q(q(q(q(q(on, fi, Ti), di, Ci), mi, Pi), hi, Ni), pi, Ii), vi, Fi), gi, Ri), yi, Mi), bi, ji), Si, Di), q(q(q(q(q(q(q(q(on, wi, Li), ki, Bi), xi, Ui), $i, zi), Ai, Hi), Oi, Vi), Ei, Wi), _i, Yi);
895
- var qi = "kit", Ji = "kit-duotone", Ki = "Kit", Gi = "Kit Duotone";
896
- q(q({}, qi, Ki), Ji, Gi);
893
+ }, ci = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], fi = "classic", di = "duotone", mi = "sharp", pi = "sharp-duotone", hi = "chisel", vi = "etch", gi = "jelly", yi = "jelly-duo", bi = "jelly-fill", Si = "notdog", wi = "notdog-duo", ki = "slab", xi = "slab-press", $i = "thumbprint", Ai = "utility", Oi = "utility-duo", Ei = "utility-fill", Ti = "whiteboard", _i = "Classic", Ci = "Duotone", Pi = "Sharp", Ni = "Sharp Duotone", Ii = "Chisel", Fi = "Etch", Ri = "Jelly", Mi = "Jelly Duo", ji = "Jelly Fill", Di = "Notdog", Li = "Notdog Duo", Bi = "Slab", Ui = "Slab Press", zi = "Thumbprint", Hi = "Utility", Vi = "Utility Duo", Wi = "Utility Fill", Yi = "Whiteboard";
894
+ on = {}, q(q(q(q(q(q(q(q(q(q(on, fi, _i), di, Ci), mi, Pi), pi, Ni), hi, Ii), vi, Fi), gi, Ri), yi, Mi), bi, ji), Si, Di), q(q(q(q(q(q(q(q(on, wi, Li), ki, Bi), xi, Ui), $i, zi), Ai, Hi), Oi, Vi), Ei, Wi), Ti, Yi);
895
+ var qi = "kit", Ki = "kit-duotone", Ji = "Kit", Gi = "Kit Duotone";
896
+ q(q({}, qi, Ji), Ki, Gi);
897
897
  var Xi = {
898
898
  classic: {
899
899
  "fa-brands": "fab",
@@ -1071,7 +1071,7 @@ var Xi = {
1071
1071
  "Font Awesome 5 Duotone": {
1072
1072
  900: "fad"
1073
1073
  }
1074
- }, Re = "___FONT_AWESOME___", wn = 16, Ba = "fa", Ua = "svg-inline--fa", qe = "data-fa-i2svg", kn = "data-fa-pseudo-element", sl = "data-fa-pseudo-element-pending", Yn = "data-prefix", qn = "data-icon", hr = "fontawesome-i2svg", ol = "async", il = ["HTML", "HEAD", "STYLE", "SCRIPT"], za = ["::before", "::after", ":before", ":after"], Ha = function() {
1074
+ }, Re = "___FONT_AWESOME___", wn = 16, Ba = "fa", Ua = "svg-inline--fa", qe = "data-fa-i2svg", kn = "data-fa-pseudo-element", sl = "data-fa-pseudo-element-pending", Yn = "data-prefix", qn = "data-icon", pr = "fontawesome-i2svg", ol = "async", il = ["HTML", "HEAD", "STYLE", "SCRIPT"], za = ["::before", "::after", ":before", ":after"], Ha = function() {
1075
1075
  try {
1076
1076
  return process.env.NODE_ENV === "production";
1077
1077
  } catch {
@@ -1093,26 +1093,26 @@ var ll = xt(Va), xn = $({}, ti);
1093
1093
  xn[me] = $($($($({}, {
1094
1094
  duotone: "fad"
1095
1095
  }), xn[me]), mr.kit), mr["kit-duotone"]);
1096
- var pr = xt(xn), $n = $({}, Sn);
1096
+ var hr = xt(xn), $n = $({}, Sn);
1097
1097
  $n[me] = $($({}, $n[me]), ui.kit);
1098
- var Jn = xt($n), An = $({}, Xi);
1098
+ var Kn = xt($n), An = $({}, Xi);
1099
1099
  An[me] = $($({}, An[me]), ii.kit);
1100
1100
  xt(An);
1101
1101
  var ul = Po, Wa = "fa-layers-text", cl = No, fl = $({}, Zo);
1102
1102
  xt(fl);
1103
1103
  var dl = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], ln = Io, ml = [].concat(Ce(ni), Ce(rl)), ht = Le.FontAwesomeConfig || {};
1104
- function hl(e) {
1104
+ function pl(e) {
1105
1105
  var t = se.querySelector("script[" + e + "]");
1106
1106
  if (t)
1107
1107
  return t.getAttribute(e);
1108
1108
  }
1109
- function pl(e) {
1109
+ function hl(e) {
1110
1110
  return e === "" ? !0 : e === "false" ? !1 : e === "true" ? !0 : e;
1111
1111
  }
1112
1112
  if (se && typeof se.querySelector == "function") {
1113
1113
  var vl = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
1114
1114
  vl.forEach(function(e) {
1115
- var t = Kt(e, 2), n = t[0], r = t[1], a = pl(hl(n));
1115
+ var t = Jt(e, 2), n = t[0], r = t[1], a = hl(pl(n));
1116
1116
  a != null && (ht[r] = a);
1117
1117
  });
1118
1118
  }
@@ -1133,38 +1133,38 @@ var Ya = {
1133
1133
  showMissingIcons: !0
1134
1134
  };
1135
1135
  ht.familyPrefix && (ht.cssPrefix = ht.familyPrefix);
1136
- var tt = $($({}, Ya), ht);
1137
- tt.autoReplaceSvg || (tt.observeMutations = !1);
1136
+ var nt = $($({}, Ya), ht);
1137
+ nt.autoReplaceSvg || (nt.observeMutations = !1);
1138
1138
  var j = {};
1139
1139
  Object.keys(Ya).forEach(function(e) {
1140
1140
  Object.defineProperty(j, e, {
1141
1141
  enumerable: !0,
1142
1142
  set: function(n) {
1143
- tt[e] = n, pt.forEach(function(r) {
1143
+ nt[e] = n, vt.forEach(function(r) {
1144
1144
  return r(j);
1145
1145
  });
1146
1146
  },
1147
1147
  get: function() {
1148
- return tt[e];
1148
+ return nt[e];
1149
1149
  }
1150
1150
  });
1151
1151
  });
1152
1152
  Object.defineProperty(j, "familyPrefix", {
1153
1153
  enumerable: !0,
1154
1154
  set: function(t) {
1155
- tt.cssPrefix = t, pt.forEach(function(n) {
1155
+ nt.cssPrefix = t, vt.forEach(function(n) {
1156
1156
  return n(j);
1157
1157
  });
1158
1158
  },
1159
1159
  get: function() {
1160
- return tt.cssPrefix;
1160
+ return nt.cssPrefix;
1161
1161
  }
1162
1162
  });
1163
1163
  Le.FontAwesomeConfig = j;
1164
- var pt = [];
1164
+ var vt = [];
1165
1165
  function gl(e) {
1166
- return pt.push(e), function() {
1167
- pt.splice(pt.indexOf(e), 1);
1166
+ return vt.push(e), function() {
1167
+ vt.splice(vt.indexOf(e), 1);
1168
1168
  };
1169
1169
  }
1170
1170
  var Ze = wn, Ie = {
@@ -1192,13 +1192,13 @@ function vr() {
1192
1192
  t += bl[Math.random() * 62 | 0];
1193
1193
  return t;
1194
1194
  }
1195
- function st(e) {
1195
+ function ot(e) {
1196
1196
  for (var t = [], n = (e || []).length >>> 0; n--; )
1197
1197
  t[n] = e[n];
1198
1198
  return t;
1199
1199
  }
1200
- function Kn(e) {
1201
- return e.classList ? st(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
1200
+ function Jn(e) {
1201
+ return e.classList ? ot(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
1202
1202
  return t;
1203
1203
  });
1204
1204
  }
@@ -1787,7 +1787,7 @@ var xl = `:root, :host {
1787
1787
  position: absolute;
1788
1788
  z-index: var(--fa-stack-z-index, auto);
1789
1789
  }`;
1790
- function Ja() {
1790
+ function Ka() {
1791
1791
  var e = Ba, t = Ua, n = j.cssPrefix, r = j.replacementClass, a = xl;
1792
1792
  if (n !== e || r !== t) {
1793
1793
  var o = new RegExp("\\.".concat(e, "\\-"), "g"), s = new RegExp("\\--".concat(e, "\\-"), "g"), i = new RegExp("\\.".concat(t), "g");
@@ -1797,13 +1797,13 @@ function Ja() {
1797
1797
  }
1798
1798
  var gr = !1;
1799
1799
  function un() {
1800
- j.autoAddCss && !gr && (yl(Ja()), gr = !0);
1800
+ j.autoAddCss && !gr && (yl(Ka()), gr = !0);
1801
1801
  }
1802
1802
  var $l = {
1803
1803
  mixout: function() {
1804
1804
  return {
1805
1805
  dom: {
1806
- css: Ja,
1806
+ css: Ka,
1807
1807
  insertCss: un
1808
1808
  }
1809
1809
  };
@@ -1823,14 +1823,14 @@ Me[Re] || (Me[Re] = {});
1823
1823
  Me[Re].styles || (Me[Re].styles = {});
1824
1824
  Me[Re].hooks || (Me[Re].hooks = {});
1825
1825
  Me[Re].shims || (Me[Re].shims = []);
1826
- var _e = Me[Re], Ka = [], Ga = function() {
1827
- se.removeEventListener("DOMContentLoaded", Ga), zt = 1, Ka.map(function(t) {
1826
+ var Te = Me[Re], Ja = [], Ga = function() {
1827
+ se.removeEventListener("DOMContentLoaded", Ga), zt = 1, Ja.map(function(t) {
1828
1828
  return t();
1829
1829
  });
1830
1830
  }, zt = !1;
1831
1831
  je && (zt = (se.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(se.readyState), zt || se.addEventListener("DOMContentLoaded", Ga));
1832
1832
  function Al(e) {
1833
- je && (zt ? setTimeout(e, 0) : Ka.push(e));
1833
+ je && (zt ? setTimeout(e, 0) : Ja.push(e));
1834
1834
  }
1835
1835
  function $t(e) {
1836
1836
  var t = e.tag, n = e.attributes, r = n === void 0 ? {} : n, a = e.children, o = a === void 0 ? [] : a;
@@ -1861,17 +1861,17 @@ function br(e) {
1861
1861
  }
1862
1862
  function On(e, t) {
1863
1863
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = n.skipHooks, a = r === void 0 ? !1 : r, o = br(t);
1864
- typeof _e.hooks.addPack == "function" && !a ? _e.hooks.addPack(e, br(t)) : _e.styles[e] = $($({}, _e.styles[e] || {}), o), e === "fas" && On("fa", t);
1864
+ typeof Te.hooks.addPack == "function" && !a ? Te.hooks.addPack(e, br(t)) : Te.styles[e] = $($({}, Te.styles[e] || {}), o), e === "fas" && On("fa", t);
1865
1865
  }
1866
- var St = _e.styles, Ol = _e.shims, Za = Object.keys(Jn), El = Za.reduce(function(e, t) {
1867
- return e[t] = Object.keys(Jn[t]), e;
1866
+ var St = Te.styles, Ol = Te.shims, Za = Object.keys(Kn), El = Za.reduce(function(e, t) {
1867
+ return e[t] = Object.keys(Kn[t]), e;
1868
1868
  }, {}), Xn = null, Qa = {}, es = {}, ts = {}, ns = {}, rs = {};
1869
- function _l(e) {
1869
+ function Tl(e) {
1870
1870
  return ~ml.indexOf(e);
1871
1871
  }
1872
- function Tl(e, t) {
1872
+ function _l(e, t) {
1873
1873
  var n = t.split("-"), r = n[0], a = n.slice(1).join("-");
1874
- return r === e && a !== "" && !_l(a) ? a : null;
1874
+ return r === e && a !== "" && !Tl(a) ? a : null;
1875
1875
  }
1876
1876
  var as = function() {
1877
1877
  var t = function(o) {
@@ -1977,13 +1977,13 @@ function Xt(e) {
1977
1977
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, r = n === void 0 ? me : n, a = ll[r][e];
1978
1978
  if (r === kt && !e)
1979
1979
  return "fad";
1980
- var o = pr[r][e] || pr[r][a], s = e in _e.styles ? e : null, i = o || s || null;
1980
+ var o = hr[r][e] || hr[r][a], s = e in Te.styles ? e : null, i = o || s || null;
1981
1981
  return i;
1982
1982
  }
1983
1983
  function Il(e) {
1984
1984
  var t = [], n = null;
1985
1985
  return e.forEach(function(r) {
1986
- var a = Tl(j.cssPrefix, r);
1986
+ var a = _l(j.cssPrefix, r);
1987
1987
  a ? n = a : r && t.push(r);
1988
1988
  }), {
1989
1989
  iconName: n,
@@ -2003,19 +2003,19 @@ function Zt(e) {
2003
2003
  return !wr.includes(b);
2004
2004
  })), i = o.filter(function(b) {
2005
2005
  return a = b, !ba.includes(b);
2006
- }), l = Kt(i, 1), u = l[0], c = u === void 0 ? null : u, f = Nl(o), h = $($({}, Il(s)), {}, {
2006
+ }), l = Jt(i, 1), u = l[0], c = u === void 0 ? null : u, f = Nl(o), p = $($({}, Il(s)), {}, {
2007
2007
  prefix: Xt(c, {
2008
2008
  family: f
2009
2009
  })
2010
2010
  });
2011
- return $($($({}, h), jl({
2011
+ return $($($({}, p), jl({
2012
2012
  values: e,
2013
2013
  family: f,
2014
2014
  styles: St,
2015
2015
  config: j,
2016
- canonical: h,
2016
+ canonical: p,
2017
2017
  givenPrefix: a
2018
- })), Fl(r, a, h));
2018
+ })), Fl(r, a, p));
2019
2019
  }
2020
2020
  function Fl(e, t, n) {
2021
2021
  var r = n.prefix, a = n.iconName;
@@ -2038,8 +2038,8 @@ var Rl = Ma.filter(function(e) {
2038
2038
  return Object.keys(Sn[e]);
2039
2039
  }).flat();
2040
2040
  function jl(e) {
2041
- var t = e.values, n = e.family, r = e.canonical, a = e.givenPrefix, o = a === void 0 ? "" : a, s = e.styles, i = s === void 0 ? {} : s, l = e.config, u = l === void 0 ? {} : l, c = n === kt, f = t.includes("fa-duotone") || t.includes("fad"), h = u.familyDefault === "duotone", b = r.prefix === "fad" || r.prefix === "fa-duotone";
2042
- if (!c && (f || h || b) && (r.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (r.prefix = "fab"), !r.prefix && Rl.includes(n)) {
2041
+ var t = e.values, n = e.family, r = e.canonical, a = e.givenPrefix, o = a === void 0 ? "" : a, s = e.styles, i = s === void 0 ? {} : s, l = e.config, u = l === void 0 ? {} : l, c = n === kt, f = t.includes("fa-duotone") || t.includes("fad"), p = u.familyDefault === "duotone", b = r.prefix === "fad" || r.prefix === "fa-duotone";
2042
+ if (!c && (f || p || b) && (r.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (r.prefix = "fab"), !r.prefix && Rl.includes(n)) {
2043
2043
  var d = Object.keys(i).find(function(g) {
2044
2044
  return Ml.includes(g);
2045
2045
  });
@@ -2062,7 +2062,7 @@ var Dl = /* @__PURE__ */ function() {
2062
2062
  var s = a.reduce(this._pullDefinitions, {});
2063
2063
  Object.keys(s).forEach(function(i) {
2064
2064
  n.definitions[i] = $($({}, n.definitions[i] || {}), s[i]), On(i, s[i]);
2065
- var l = Jn[me][i];
2065
+ var l = Kn[me][i];
2066
2066
  l && On(l, s[i]), as();
2067
2067
  });
2068
2068
  }
@@ -2113,7 +2113,7 @@ function En(e, t) {
2113
2113
  t = s.apply(null, [t].concat(r));
2114
2114
  }), t;
2115
2115
  }
2116
- function Je(e) {
2116
+ function Ke(e) {
2117
2117
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
2118
2118
  n[r - 1] = arguments[r];
2119
2119
  var a = Qe[e] || [];
@@ -2125,25 +2125,25 @@ function Ue() {
2125
2125
  var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
2126
2126
  return et[e] ? et[e].apply(null, t) : void 0;
2127
2127
  }
2128
- function _n(e) {
2128
+ function Tn(e) {
2129
2129
  e.prefix === "fa" && (e.prefix = "fas");
2130
2130
  var t = e.iconName, n = e.prefix || Be();
2131
2131
  if (t)
2132
- return t = Ve(n, t) || t, yr(is.definitions, n, t) || yr(_e.styles, n, t);
2132
+ return t = Ve(n, t) || t, yr(is.definitions, n, t) || yr(Te.styles, n, t);
2133
2133
  }
2134
2134
  var is = new Dl(), Ul = function() {
2135
- j.autoReplaceSvg = !1, j.observeMutations = !1, Je("noAuto");
2135
+ j.autoReplaceSvg = !1, j.observeMutations = !1, Ke("noAuto");
2136
2136
  }, zl = {
2137
2137
  i2svg: function() {
2138
2138
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2139
- return je ? (Je("beforeI2svg", t), Ue("pseudoElements2svg", t), Ue("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
2139
+ return je ? (Ke("beforeI2svg", t), Ue("pseudoElements2svg", t), Ue("i2svg", t)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
2140
2140
  },
2141
2141
  watch: function() {
2142
2142
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot;
2143
2143
  j.autoReplaceSvg === !1 && (j.autoReplaceSvg = !0), j.observeMutations = !0, Al(function() {
2144
2144
  Vl({
2145
2145
  autoReplaceSvgRoot: n
2146
- }), Je("watch", t);
2146
+ }), Ke("watch", t);
2147
2147
  });
2148
2148
  }
2149
2149
  }, Hl = {
@@ -2185,11 +2185,11 @@ var is = new Dl(), Ul = function() {
2185
2185
  dom: zl,
2186
2186
  parse: Hl,
2187
2187
  library: is,
2188
- findIconDefinition: _n,
2188
+ findIconDefinition: Tn,
2189
2189
  toHtml: $t
2190
2190
  }, Vl = function() {
2191
2191
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, r = n === void 0 ? se : n;
2192
- (Object.keys(_e.styles).length > 0 || j.autoFetchSvg) && je && j.autoReplaceSvg && xe.dom.i2svg({
2192
+ (Object.keys(Te.styles).length > 0 || j.autoFetchSvg) && je && j.autoReplaceSvg && xe.dom.i2svg({
2193
2193
  node: r
2194
2194
  });
2195
2195
  };
@@ -2251,7 +2251,7 @@ function ql(e) {
2251
2251
  });
2252
2252
  }
2253
2253
  function Qn(e) {
2254
- var t = e.icons, n = t.main, r = t.mask, a = e.prefix, o = e.iconName, s = e.transform, i = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, f = c === void 0 ? !1 : c, h = r.found ? r : n, b = h.width, d = h.height, m = [j.replacementClass, o ? "".concat(j.cssPrefix, "-").concat(o) : ""].filter(function(H) {
2254
+ var t = e.icons, n = t.main, r = t.mask, a = e.prefix, o = e.iconName, s = e.transform, i = e.symbol, l = e.maskId, u = e.extra, c = e.watchable, f = c === void 0 ? !1 : c, p = r.found ? r : n, b = p.width, d = p.height, m = [j.replacementClass, o ? "".concat(j.cssPrefix, "-").concat(o) : ""].filter(function(H) {
2255
2255
  return u.classes.indexOf(H) === -1;
2256
2256
  }).filter(function(H) {
2257
2257
  return H !== "" || !!H;
@@ -2304,7 +2304,7 @@ function xr(e) {
2304
2304
  children: [t]
2305
2305
  }), f;
2306
2306
  }
2307
- function Jl(e) {
2307
+ function Kl(e) {
2308
2308
  var t = e.content, n = e.extra, r = $($({}, n.attributes), {}, {
2309
2309
  class: n.classes.join(" ")
2310
2310
  }), a = Gt(n.styles);
@@ -2316,9 +2316,9 @@ function Jl(e) {
2316
2316
  children: [t]
2317
2317
  }), o;
2318
2318
  }
2319
- var fn = _e.styles;
2320
- function Tn(e) {
2321
- var t = e[0], n = e[1], r = e.slice(4), a = Kt(r, 1), o = a[0], s = null;
2319
+ var fn = Te.styles;
2320
+ function _n(e) {
2321
+ var t = e[0], n = e[1], r = e.slice(4), a = Jt(r, 1), o = a[0], s = null;
2322
2322
  return Array.isArray(o) ? s = {
2323
2323
  tag: "g",
2324
2324
  attributes: {
@@ -2352,7 +2352,7 @@ function Tn(e) {
2352
2352
  icon: s
2353
2353
  };
2354
2354
  }
2355
- var Kl = {
2355
+ var Jl = {
2356
2356
  found: !1,
2357
2357
  width: 512,
2358
2358
  height: 512
@@ -2369,9 +2369,9 @@ function Cn(e, t) {
2369
2369
  }
2370
2370
  if (e && t && fn[t] && fn[t][e]) {
2371
2371
  var s = fn[t][e];
2372
- return r(Tn(s));
2372
+ return r(_n(s));
2373
2373
  }
2374
- Gl(e, t), r($($({}, Kl), {}, {
2374
+ Gl(e, t), r($($({}, Jl), {}, {
2375
2375
  icon: j.showMissingIcons && e ? Ue("missingIconAbstract") || {} : {}
2376
2376
  }));
2377
2377
  });
@@ -2380,12 +2380,12 @@ var $r = function() {
2380
2380
  }, Pn = j.measurePerformance && Ct && Ct.mark && Ct.measure ? Ct : {
2381
2381
  mark: $r,
2382
2382
  measure: $r
2383
- }, dt = 'FA "7.1.0"', Xl = function(t) {
2384
- return Pn.mark("".concat(dt, " ").concat(t, " begins")), function() {
2383
+ }, mt = 'FA "7.1.0"', Xl = function(t) {
2384
+ return Pn.mark("".concat(mt, " ").concat(t, " begins")), function() {
2385
2385
  return ls(t);
2386
2386
  };
2387
2387
  }, ls = function(t) {
2388
- Pn.mark("".concat(dt, " ").concat(t, " ends")), Pn.measure("".concat(dt, " ").concat(t), "".concat(dt, " ").concat(t, " begins"), "".concat(dt, " ").concat(t, " ends"));
2388
+ Pn.mark("".concat(mt, " ").concat(t, " ends")), Pn.measure("".concat(mt, " ").concat(t), "".concat(mt, " ").concat(t, " begins"), "".concat(mt, " ").concat(t, " ends"));
2389
2389
  }, er = {
2390
2390
  begin: Xl,
2391
2391
  end: ls
@@ -2447,7 +2447,7 @@ var jt = {
2447
2447
  },
2448
2448
  nest: function(t) {
2449
2449
  var n = t[0], r = t[1];
2450
- if (~Kn(n).indexOf(j.replacementClass))
2450
+ if (~Jn(n).indexOf(j.replacementClass))
2451
2451
  return jt.replace(t);
2452
2452
  var a = new RegExp("".concat(j.cssPrefix, "-.*"));
2453
2453
  if (delete r[0].attributes.id, r[0].attributes.class) {
@@ -2495,10 +2495,10 @@ function Er(e) {
2495
2495
  Ht = new fr(function(u) {
2496
2496
  if (!tr) {
2497
2497
  var c = Be();
2498
- st(u).forEach(function(f) {
2498
+ ot(u).forEach(function(f) {
2499
2499
  if (f.type === "childList" && f.addedNodes.length > 0 && !Ar(f.addedNodes[0]) && (j.searchPseudoElements && s(f.target), n(f.target)), f.type === "attributes" && f.target.parentNode && j.searchPseudoElements && s([f.target], !0), f.type === "attributes" && Ar(f.target) && ~dl.indexOf(f.attributeName))
2500
2500
  if (f.attributeName === "class" && Zl(f.target)) {
2501
- var h = Zt(Kn(f.target)), b = h.prefix, d = h.iconName;
2501
+ var p = Zt(Jn(f.target)), b = p.prefix, d = p.iconName;
2502
2502
  f.target.setAttribute(Yn, b || c), d && f.target.setAttribute(qn, d);
2503
2503
  } else Ql(f.target) && a(f.target);
2504
2504
  });
@@ -2522,11 +2522,11 @@ function su(e) {
2522
2522
  }, {})), n;
2523
2523
  }
2524
2524
  function ou(e) {
2525
- var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "", a = Zt(Kn(e));
2525
+ var t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText !== void 0 ? e.innerText.trim() : "", a = Zt(Jn(e));
2526
2526
  return a.prefix || (a.prefix = Be()), t && n && (a.prefix = t, a.iconName = n), a.iconName && a.prefix || (a.prefix && r.length > 0 && (a.iconName = Cl(a.prefix, e.innerText) || Zn(a.prefix, Xa(e.innerText))), !a.iconName && j.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (a.iconName = e.firstChild.data)), a;
2527
2527
  }
2528
2528
  function iu(e) {
2529
- var t = st(e.attributes).reduce(function(n, r) {
2529
+ var t = ot(e.attributes).reduce(function(n, r) {
2530
2530
  return n.name !== "class" && n.name !== "style" && (n[r.name] = r.value), n;
2531
2531
  }, {});
2532
2532
  return t;
@@ -2550,7 +2550,7 @@ function lu() {
2550
2550
  }
2551
2551
  };
2552
2552
  }
2553
- function _r(e) {
2553
+ function Tr(e) {
2554
2554
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2555
2555
  styleParser: !0
2556
2556
  }, n = ou(e), r = n.iconName, a = n.prefix, o = n.rest, s = iu(e), i = En("parseNodeAttributes", {}, e), l = t.styleParser ? su(e) : [];
@@ -2572,23 +2572,23 @@ function _r(e) {
2572
2572
  }
2573
2573
  }, i);
2574
2574
  }
2575
- var uu = _e.styles;
2575
+ var uu = Te.styles;
2576
2576
  function ds(e) {
2577
- var t = j.autoReplaceSvg === "nest" ? _r(e, {
2577
+ var t = j.autoReplaceSvg === "nest" ? Tr(e, {
2578
2578
  styleParser: !1
2579
- }) : _r(e);
2579
+ }) : Tr(e);
2580
2580
  return ~t.extra.classes.indexOf(Wa) ? Ue("generateLayersText", e, t) : Ue("generateSvgReplacementMutation", e, t);
2581
2581
  }
2582
2582
  function cu() {
2583
2583
  return [].concat(Ce(ja), Ce(Da));
2584
2584
  }
2585
- function Tr(e) {
2585
+ function _r(e) {
2586
2586
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
2587
2587
  if (!je) return Promise.resolve();
2588
2588
  var n = se.documentElement.classList, r = function(f) {
2589
- return n.add("".concat(hr, "-").concat(f));
2589
+ return n.add("".concat(pr, "-").concat(f));
2590
2590
  }, a = function(f) {
2591
- return n.remove("".concat(hr, "-").concat(f));
2591
+ return n.remove("".concat(pr, "-").concat(f));
2592
2592
  }, o = j.autoFetchSvg ? cu() : ba.concat(Object.keys(uu));
2593
2593
  o.includes("fa") || o.push("fa");
2594
2594
  var s = [".".concat(Wa, ":not([").concat(qe, "])")].concat(o.map(function(c) {
@@ -2598,7 +2598,7 @@ function Tr(e) {
2598
2598
  return Promise.resolve();
2599
2599
  var i = [];
2600
2600
  try {
2601
- i = st(e.querySelectorAll(s));
2601
+ i = ot(e.querySelectorAll(s));
2602
2602
  } catch {
2603
2603
  }
2604
2604
  if (i.length > 0)
@@ -2607,20 +2607,20 @@ function Tr(e) {
2607
2607
  return Promise.resolve();
2608
2608
  var l = er.begin("onTree"), u = i.reduce(function(c, f) {
2609
2609
  try {
2610
- var h = ds(f);
2611
- h && c.push(h);
2610
+ var p = ds(f);
2611
+ p && c.push(p);
2612
2612
  } catch (b) {
2613
2613
  Ha || b.name === "MissingIcon" && console.error(b);
2614
2614
  }
2615
2615
  return c;
2616
2616
  }, []);
2617
2617
  return new Promise(function(c, f) {
2618
- Promise.all(u).then(function(h) {
2619
- cs(h, function() {
2618
+ Promise.all(u).then(function(p) {
2619
+ cs(p, function() {
2620
2620
  r("active"), r("complete"), a("pending"), typeof t == "function" && t(), l(), c();
2621
2621
  });
2622
- }).catch(function(h) {
2623
- l(), f(h);
2622
+ }).catch(function(p) {
2623
+ l(), f(p);
2624
2624
  });
2625
2625
  });
2626
2626
  }
@@ -2632,26 +2632,26 @@ function fu(e) {
2632
2632
  }
2633
2633
  function du(e) {
2634
2634
  return function(t) {
2635
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = (t || {}).icon ? t : _n(t || {}), a = n.mask;
2636
- return a && (a = (a || {}).icon ? a : _n(a || {})), e(r, $($({}, n), {}, {
2635
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = (t || {}).icon ? t : Tn(t || {}), a = n.mask;
2636
+ return a && (a = (a || {}).icon ? a : Tn(a || {})), e(r, $($({}, n), {}, {
2637
2637
  mask: a
2638
2638
  }));
2639
2639
  };
2640
2640
  }
2641
2641
  var mu = function(t) {
2642
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, a = r === void 0 ? Ie : r, o = n.symbol, s = o === void 0 ? !1 : o, i = n.mask, l = i === void 0 ? null : i, u = n.maskId, c = u === void 0 ? null : u, f = n.classes, h = f === void 0 ? [] : f, b = n.attributes, d = b === void 0 ? {} : b, m = n.styles, g = m === void 0 ? {} : m;
2642
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, a = r === void 0 ? Ie : r, o = n.symbol, s = o === void 0 ? !1 : o, i = n.mask, l = i === void 0 ? null : i, u = n.maskId, c = u === void 0 ? null : u, f = n.classes, p = f === void 0 ? [] : f, b = n.attributes, d = b === void 0 ? {} : b, m = n.styles, g = m === void 0 ? {} : m;
2643
2643
  if (t) {
2644
2644
  var v = t.prefix, w = t.iconName, P = t.icon;
2645
2645
  return Qt($({
2646
2646
  type: "icon"
2647
2647
  }, t), function() {
2648
- return Je("beforeDOMElementCreation", {
2648
+ return Ke("beforeDOMElementCreation", {
2649
2649
  iconDefinition: t,
2650
2650
  params: n
2651
2651
  }), Qn({
2652
2652
  icons: {
2653
- main: Tn(P),
2654
- mask: l ? Tn(l.icon) : {
2653
+ main: _n(P),
2654
+ mask: l ? _n(l.icon) : {
2655
2655
  found: !1,
2656
2656
  width: null,
2657
2657
  height: null,
@@ -2666,12 +2666,12 @@ var mu = function(t) {
2666
2666
  extra: {
2667
2667
  attributes: d,
2668
2668
  styles: g,
2669
- classes: h
2669
+ classes: p
2670
2670
  }
2671
2671
  });
2672
2672
  });
2673
2673
  }
2674
- }, hu = {
2674
+ }, pu = {
2675
2675
  mixout: function() {
2676
2676
  return {
2677
2677
  icon: du(mu)
@@ -2680,7 +2680,7 @@ var mu = function(t) {
2680
2680
  hooks: function() {
2681
2681
  return {
2682
2682
  mutationObserverCallbacks: function(n) {
2683
- return n.treeCallback = Tr, n.nodeCallback = fu, n;
2683
+ return n.treeCallback = _r, n.nodeCallback = fu, n;
2684
2684
  }
2685
2685
  };
2686
2686
  },
@@ -2688,17 +2688,17 @@ var mu = function(t) {
2688
2688
  t.i2svg = function(n) {
2689
2689
  var r = n.node, a = r === void 0 ? se : r, o = n.callback, s = o === void 0 ? function() {
2690
2690
  } : o;
2691
- return Tr(a, s);
2691
+ return _r(a, s);
2692
2692
  }, t.generateSvgReplacementMutation = function(n, r) {
2693
2693
  var a = r.iconName, o = r.prefix, s = r.transform, i = r.symbol, l = r.mask, u = r.maskId, c = r.extra;
2694
- return new Promise(function(f, h) {
2694
+ return new Promise(function(f, p) {
2695
2695
  Promise.all([Cn(a, o), l.iconName ? Cn(l.iconName, l.prefix) : Promise.resolve({
2696
2696
  found: !1,
2697
2697
  width: 512,
2698
2698
  height: 512,
2699
2699
  icon: {}
2700
2700
  })]).then(function(b) {
2701
- var d = Kt(b, 2), m = d[0], g = d[1];
2701
+ var d = Jt(b, 2), m = d[0], g = d[1];
2702
2702
  f([n, Qn({
2703
2703
  icons: {
2704
2704
  main: m,
@@ -2712,7 +2712,7 @@ var mu = function(t) {
2712
2712
  extra: c,
2713
2713
  watchable: !0
2714
2714
  })]);
2715
- }).catch(h);
2715
+ }).catch(p);
2716
2716
  });
2717
2717
  }, t.generateAbstractIcon = function(n) {
2718
2718
  var r = n.children, a = n.attributes, o = n.main, s = n.transform, i = n.styles, l = Gt(i);
@@ -2729,7 +2729,7 @@ var mu = function(t) {
2729
2729
  };
2730
2730
  };
2731
2731
  }
2732
- }, pu = {
2732
+ }, hu = {
2733
2733
  mixout: function() {
2734
2734
  return {
2735
2735
  layer: function(n) {
@@ -2737,7 +2737,7 @@ var mu = function(t) {
2737
2737
  return Qt({
2738
2738
  type: "layer"
2739
2739
  }, function() {
2740
- Je("beforeDOMElementCreation", {
2740
+ Ke("beforeDOMElementCreation", {
2741
2741
  assembler: n,
2742
2742
  params: r
2743
2743
  });
@@ -2768,10 +2768,10 @@ var mu = function(t) {
2768
2768
  type: "counter",
2769
2769
  content: n
2770
2770
  }, function() {
2771
- return Je("beforeDOMElementCreation", {
2771
+ return Ke("beforeDOMElementCreation", {
2772
2772
  content: n,
2773
2773
  params: r
2774
- }), Jl({
2774
+ }), Kl({
2775
2775
  content: n.toString(),
2776
2776
  extra: {
2777
2777
  attributes: i,
@@ -2792,7 +2792,7 @@ var mu = function(t) {
2792
2792
  type: "text",
2793
2793
  content: n
2794
2794
  }, function() {
2795
- return Je("beforeDOMElementCreation", {
2795
+ return Ke("beforeDOMElementCreation", {
2796
2796
  content: n,
2797
2797
  params: r
2798
2798
  }), xr({
@@ -2853,13 +2853,13 @@ function Nr(e, t) {
2853
2853
  return new Promise(function(r, a) {
2854
2854
  if (e.getAttribute(n) !== null)
2855
2855
  return r();
2856
- var o = st(e.children), s = o.filter(function(L) {
2856
+ var o = ot(e.children), s = o.filter(function(L) {
2857
2857
  return L.getAttribute(kn) === t;
2858
2858
  })[0], i = Le.getComputedStyle(e, t), l = i.getPropertyValue("font-family"), u = l.match(cl), c = i.getPropertyValue("font-weight"), f = i.getPropertyValue("content");
2859
2859
  if (s && !u)
2860
2860
  return e.removeChild(s), r();
2861
2861
  if (u && f !== "none" && f !== "") {
2862
- var h = i.getPropertyValue("content"), b = wu(l, c), d = bu(h), m = u[0].startsWith("FontAwesome"), g = Su(i), v = Zn(b, d), w = v;
2862
+ var p = i.getPropertyValue("content"), b = wu(l, c), d = bu(p), m = u[0].startsWith("FontAwesome"), g = Su(i), v = Zn(b, d), w = v;
2863
2863
  if (m) {
2864
2864
  var P = Pl(d);
2865
2865
  P.iconName && P.prefix && (v = P.iconName, b = P.prefix);
@@ -2944,10 +2944,10 @@ function Ir(e) {
2944
2944
  var i = Rt(s.cssRules), l;
2945
2945
  try {
2946
2946
  for (i.s(); !(l = i.n()).done; ) {
2947
- var u = l.value, c = Au(u.selectorText), f = Rt(c), h;
2947
+ var u = l.value, c = Au(u.selectorText), f = Rt(c), p;
2948
2948
  try {
2949
- for (f.s(); !(h = f.n()).done; ) {
2950
- var b = h.value;
2949
+ for (f.s(); !(p = f.n()).done; ) {
2950
+ var b = p.value;
2951
2951
  r.add(b);
2952
2952
  }
2953
2953
  } catch (m) {
@@ -2979,7 +2979,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
2979
2979
  }
2980
2980
  }
2981
2981
  return new Promise(function(m, g) {
2982
- var v = st(n).filter(xu).map(ku), w = er.begin("searchPseudoElements");
2982
+ var v = ot(n).filter(xu).map(ku), w = er.begin("searchPseudoElements");
2983
2983
  fs(), Promise.all(v).then(function() {
2984
2984
  w(), Nn(), m();
2985
2985
  }).catch(function() {
@@ -3070,7 +3070,7 @@ var Ou = {
3070
3070
  }
3071
3071
  return r;
3072
3072
  }, n);
3073
- }, _u = {
3073
+ }, Tu = {
3074
3074
  mixout: function() {
3075
3075
  return {
3076
3076
  parse: {
@@ -3094,12 +3094,12 @@ var Ou = {
3094
3094
  transform: "translate(".concat(o / 2, " 256)")
3095
3095
  }, l = "translate(".concat(a.x * 32, ", ").concat(a.y * 32, ") "), u = "scale(".concat(a.size / 16 * (a.flipX ? -1 : 1), ", ").concat(a.size / 16 * (a.flipY ? -1 : 1), ") "), c = "rotate(".concat(a.rotate, " 0 0)"), f = {
3096
3096
  transform: "".concat(l, " ").concat(u, " ").concat(c)
3097
- }, h = {
3097
+ }, p = {
3098
3098
  transform: "translate(".concat(s / 2 * -1, " -256)")
3099
3099
  }, b = {
3100
3100
  outer: i,
3101
3101
  inner: f,
3102
- path: h
3102
+ path: p
3103
3103
  };
3104
3104
  return {
3105
3105
  tag: "g",
@@ -3126,7 +3126,7 @@ function Mr(e) {
3126
3126
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
3127
3127
  return e.attributes && (e.attributes.fill || t) && (e.attributes.fill = "black"), e;
3128
3128
  }
3129
- function Tu(e) {
3129
+ function _u(e) {
3130
3130
  return e.tag === "g" ? e.children : [e];
3131
3131
  }
3132
3132
  var Cu = {
@@ -3142,7 +3142,7 @@ var Cu = {
3142
3142
  },
3143
3143
  provides: function(t) {
3144
3144
  t.generateAbstractMask = function(n) {
3145
- var r = n.children, a = n.attributes, o = n.main, s = n.mask, i = n.maskId, l = n.transform, u = o.width, c = o.icon, f = s.width, h = s.icon, b = wl({
3145
+ var r = n.children, a = n.attributes, o = n.main, s = n.mask, i = n.maskId, l = n.transform, u = o.width, c = o.icon, f = s.width, p = s.icon, b = wl({
3146
3146
  transform: l,
3147
3147
  containerWidth: f,
3148
3148
  iconWidth: u
@@ -3179,7 +3179,7 @@ var Cu = {
3179
3179
  attributes: {
3180
3180
  id: P
3181
3181
  },
3182
- children: Tu(h)
3182
+ children: _u(p)
3183
3183
  }, W]
3184
3184
  };
3185
3185
  return r.push(H, {
@@ -3276,12 +3276,12 @@ var Cu = {
3276
3276
  }
3277
3277
  };
3278
3278
  }
3279
- }, Iu = [$l, hu, pu, vu, gu, Ou, Eu, _u, Cu, Pu, Nu];
3279
+ }, Iu = [$l, pu, hu, vu, gu, Ou, Eu, Tu, Cu, Pu, Nu];
3280
3280
  Bl(Iu, {
3281
3281
  mixoutsTo: xe
3282
3282
  });
3283
3283
  xe.noAuto;
3284
- var hs = xe.config;
3284
+ var ps = xe.config;
3285
3285
  xe.library;
3286
3286
  xe.dom;
3287
3287
  var Vt = xe.parse;
@@ -3299,7 +3299,7 @@ function Fn(e, t) {
3299
3299
  function Mu(e) {
3300
3300
  if (Array.isArray(e)) return Fn(e);
3301
3301
  }
3302
- function he(e, t, n) {
3302
+ function pe(e, t, n) {
3303
3303
  return (t = zu(t)) in e ? Object.defineProperty(e, t, {
3304
3304
  value: n,
3305
3305
  enumerable: !0,
@@ -3328,7 +3328,7 @@ function Ee(e) {
3328
3328
  for (var t = 1; t < arguments.length; t++) {
3329
3329
  var n = arguments[t] != null ? arguments[t] : {};
3330
3330
  t % 2 ? jr(Object(n), !0).forEach(function(r) {
3331
- he(e, r, n[r]);
3331
+ pe(e, r, n[r]);
3332
3332
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jr(Object(n)).forEach(function(r) {
3333
3333
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
3334
3334
  });
@@ -3385,8 +3385,8 @@ function Hu(e, t) {
3385
3385
  return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Fn(e, t) : void 0;
3386
3386
  }
3387
3387
  }
3388
- function vt(e, t) {
3389
- return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? he({}, e, t) : {};
3388
+ function gt(e, t) {
3389
+ return Array.isArray(t) && t.length > 0 || !Array.isArray(t) && t ? pe({}, e, t) : {};
3390
3390
  }
3391
3391
  function Vu(e) {
3392
3392
  var t, n = (t = {
@@ -3400,18 +3400,18 @@ function Vu(e) {
3400
3400
  "fa-flip": e.flip === !0,
3401
3401
  "fa-flip-horizontal": e.flip === "horizontal" || e.flip === "both",
3402
3402
  "fa-flip-vertical": e.flip === "vertical" || e.flip === "both"
3403
- }, he(he(he(he(he(he(he(he(he(he(t, "fa-".concat(e.size), e.size !== null), "fa-rotate-".concat(e.rotation), e.rotation !== null), "fa-rotate-by", e.rotateBy), "fa-pull-".concat(e.pull), e.pull !== null), "fa-swap-opacity", e.swapOpacity), "fa-bounce", e.bounce), "fa-shake", e.shake), "fa-beat", e.beat), "fa-fade", e.fade), "fa-beat-fade", e.beatFade), he(he(he(he(t, "fa-flash", e.flash), "fa-spin-pulse", e.spinPulse), "fa-spin-reverse", e.spinReverse), "fa-width-auto", e.widthAuto));
3403
+ }, pe(pe(pe(pe(pe(pe(pe(pe(pe(pe(t, "fa-".concat(e.size), e.size !== null), "fa-rotate-".concat(e.rotation), e.rotation !== null), "fa-rotate-by", e.rotateBy), "fa-pull-".concat(e.pull), e.pull !== null), "fa-swap-opacity", e.swapOpacity), "fa-bounce", e.bounce), "fa-shake", e.shake), "fa-beat", e.beat), "fa-fade", e.fade), "fa-beat-fade", e.beatFade), pe(pe(pe(pe(t, "fa-flash", e.flash), "fa-spin-pulse", e.spinPulse), "fa-spin-reverse", e.spinReverse), "fa-width-auto", e.widthAuto));
3404
3404
  return Object.keys(n).map(function(r) {
3405
3405
  return n[r] ? r : null;
3406
3406
  }).filter(function(r) {
3407
3407
  return r;
3408
3408
  });
3409
3409
  }
3410
- var Wu = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ps = { exports: {} };
3410
+ var Wu = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, hs = { exports: {} };
3411
3411
  (function(e) {
3412
3412
  (function(t) {
3413
3413
  var n = function(v, w, P) {
3414
- if (!u(w) || f(w) || h(w) || b(w) || l(w))
3414
+ if (!u(w) || f(w) || p(w) || b(w) || l(w))
3415
3415
  return w;
3416
3416
  var W, H = 0, L = 0;
3417
3417
  if (c(w))
@@ -3444,7 +3444,7 @@ var Wu = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
3444
3444
  return i.call(v) == "[object Array]";
3445
3445
  }, f = function(v) {
3446
3446
  return i.call(v) == "[object Date]";
3447
- }, h = function(v) {
3447
+ }, p = function(v) {
3448
3448
  return i.call(v) == "[object RegExp]";
3449
3449
  }, b = function(v) {
3450
3450
  return i.call(v) == "[object Boolean]";
@@ -3475,9 +3475,9 @@ var Wu = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
3475
3475
  };
3476
3476
  e.exports ? e.exports = g : t.humps = g;
3477
3477
  })(Wu);
3478
- })(ps);
3479
- var Yu = ps.exports, qu = ["class", "style"];
3480
- function Ju(e) {
3478
+ })(hs);
3479
+ var Yu = hs.exports, qu = ["class", "style"];
3480
+ function Ku(e) {
3481
3481
  return e.split(";").map(function(t) {
3482
3482
  return t.trim();
3483
3483
  }).filter(function(t) {
@@ -3487,7 +3487,7 @@ function Ju(e) {
3487
3487
  return t[a] = o, t;
3488
3488
  }, {});
3489
3489
  }
3490
- function Ku(e) {
3490
+ function Ju(e) {
3491
3491
  return e.split(/\s+/).reduce(function(t, n) {
3492
3492
  return t[n] = !0, t;
3493
3493
  }, {});
@@ -3502,10 +3502,10 @@ function nr(e) {
3502
3502
  var c = e.attributes[u];
3503
3503
  switch (u) {
3504
3504
  case "class":
3505
- l.class = Ku(c);
3505
+ l.class = Ju(c);
3506
3506
  break;
3507
3507
  case "style":
3508
- l.style = Ju(c);
3508
+ l.style = Ku(c);
3509
3509
  break;
3510
3510
  default:
3511
3511
  l.attrs[u] = c;
@@ -3554,7 +3554,7 @@ function Dr(e) {
3554
3554
  iconName: e
3555
3555
  };
3556
3556
  }
3557
- var re = rt({
3557
+ var re = at({
3558
3558
  name: "FontAwesomeIcon",
3559
3559
  props: {
3560
3560
  border: {
@@ -3689,11 +3689,11 @@ var re = rt({
3689
3689
  var r = n.attrs, a = V(function() {
3690
3690
  return Dr(t.icon);
3691
3691
  }), o = V(function() {
3692
- return vt("classes", Vu(t));
3692
+ return gt("classes", Vu(t));
3693
3693
  }), s = V(function() {
3694
- return vt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
3694
+ return gt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
3695
3695
  }), i = V(function() {
3696
- return vt("mask", Dr(t.mask));
3696
+ return gt("mask", Dr(t.mask));
3697
3697
  }), l = V(function() {
3698
3698
  var c = Ee(Ee(Ee(Ee({}, o.value), s.value), i.value), {}, {
3699
3699
  symbol: t.symbol,
@@ -3715,7 +3715,7 @@ var re = rt({
3715
3715
  };
3716
3716
  }
3717
3717
  });
3718
- rt({
3718
+ at({
3719
3719
  name: "FontAwesomeLayers",
3720
3720
  props: {
3721
3721
  fixedWidth: {
@@ -3724,7 +3724,7 @@ rt({
3724
3724
  }
3725
3725
  },
3726
3726
  setup: function(t, n) {
3727
- var r = n.slots, a = hs.familyPrefix, o = V(function() {
3727
+ var r = n.slots, a = ps.familyPrefix, o = V(function() {
3728
3728
  return ["".concat(a, "-layers")].concat(Rn(t.fixedWidth ? ["".concat(a, "-fw")] : []));
3729
3729
  });
3730
3730
  return function() {
@@ -3734,7 +3734,7 @@ rt({
3734
3734
  };
3735
3735
  }
3736
3736
  });
3737
- rt({
3737
+ at({
3738
3738
  name: "FontAwesomeLayersText",
3739
3739
  props: {
3740
3740
  value: {
@@ -3758,10 +3758,10 @@ rt({
3758
3758
  }
3759
3759
  },
3760
3760
  setup: function(t, n) {
3761
- var r = n.attrs, a = hs.familyPrefix, o = V(function() {
3762
- return vt("classes", [].concat(Rn(t.counter ? ["".concat(a, "-layers-counter")] : []), Rn(t.position ? ["".concat(a, "-layers-").concat(t.position)] : [])));
3761
+ var r = n.attrs, a = ps.familyPrefix, o = V(function() {
3762
+ return gt("classes", [].concat(Rn(t.counter ? ["".concat(a, "-layers-counter")] : []), Rn(t.position ? ["".concat(a, "-layers-").concat(t.position)] : [])));
3763
3763
  }), s = V(function() {
3764
- return vt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
3764
+ return gt("transform", typeof t.transform == "string" ? Vt.transform(t.transform) : t.transform);
3765
3765
  }), i = V(function() {
3766
3766
  var u = Ru(t.value.toString(), Ee(Ee({}, s.value), o.value)), c = u.abstract;
3767
3767
  return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
@@ -3823,93 +3823,93 @@ const Xu = ["placeholder"], Zu = {
3823
3823
  emits: /* @__PURE__ */ ie(["change", "filter"], ["update:modelValue"]),
3824
3824
  setup(e, { emit: t }) {
3825
3825
  var M;
3826
- const n = e, r = t, a = Oe(e, "modelValue"), o = ro("selectRef"), s = Un(), i = V(() => {
3827
- var _;
3828
- return ((_ = s.class) == null ? void 0 : _.includes("s-custom-select")) || "";
3829
- }), l = (_) => _ instanceof Array ? JSON.parse(JSON.stringify(_)) : Object.entries(_), u = K(l((M = n.options) != null ? M : {}));
3830
- we(() => n.options, (_) => {
3831
- u.value = l(_ != null ? _ : {});
3826
+ const n = e, r = t, a = Oe(e, "modelValue"), o = no("selectRef"), s = Un(), i = V(() => {
3827
+ var T;
3828
+ return ((T = s.class) == null ? void 0 : T.includes("s-custom-select")) || "";
3829
+ }), l = (T) => T instanceof Array ? JSON.parse(JSON.stringify(T)) : Object.entries(T), u = K(l((M = n.options) != null ? M : {}));
3830
+ we(() => n.options, (T) => {
3831
+ u.value = l(T != null ? T : {});
3832
3832
  });
3833
- const c = K(35), f = K(0), h = V(() => `${u.value.length * c.value}px`), b = V(() => u.value.length === 0 ? [] : n.virtual ? u.value.slice(f.value, f.value + n.virtualScrollSize) : u.value), d = K(!1), m = K(null), g = K(null), v = K(null), w = V(() => {
3833
+ const c = K(35), f = K(0), p = V(() => `${u.value.length * c.value}px`), b = V(() => u.value.length === 0 ? [] : n.virtual ? u.value.slice(f.value, f.value + n.virtualScrollSize) : u.value), d = K(!1), m = K(null), g = K(null), v = K(null), w = V(() => {
3834
3834
  if (a.value === null)
3835
3835
  return n.placeholder;
3836
- const _ = u.value.find(([C, k]) => C == a.value);
3837
- return _ === void 0 ? n.placeholder : _[1];
3836
+ const T = u.value.find(([C, k]) => C == a.value);
3837
+ return T === void 0 ? n.placeholder : T[1];
3838
3838
  });
3839
- function P(_) {
3840
- const C = _.target.scrollTop;
3839
+ function P(T) {
3840
+ const C = T.target.scrollTop;
3841
3841
  f.value = Math.floor(C / c.value);
3842
3842
  }
3843
- we(v, (_) => {
3844
- W(), r("filter", _);
3843
+ we(v, (T) => {
3844
+ W(), r("filter", T);
3845
3845
  });
3846
3846
  function W() {
3847
3847
  if (v.value == "") {
3848
3848
  u.value = l(n.options);
3849
3849
  return;
3850
3850
  }
3851
- u.value = l(n.options).filter(([_, C]) => C.toLowerCase().includes(v.value.toLowerCase()));
3851
+ u.value = l(n.options).filter(([T, C]) => C.toLowerCase().includes(v.value.toLowerCase()));
3852
3852
  }
3853
- function H(_) {
3854
- o.value && !o.value.contains(_.target) && (d.value = !1);
3853
+ function H(T) {
3854
+ o.value && !o.value.contains(T.target) && (d.value = !1);
3855
3855
  }
3856
- function L(_) {
3857
- v.value = "", a.value = _, r("change", _), d.value = !1;
3856
+ function L(T) {
3857
+ v.value = "", a.value = T, r("change", T), d.value = !1;
3858
3858
  }
3859
- function D(_) {
3860
- const C = m.value.offsetHeight + Math.max(20, u.value.length * c.value), k = window.innerHeight - _.bottom, x = _.top;
3859
+ function D(T) {
3860
+ const C = m.value.offsetHeight + Math.max(20, u.value.length * c.value), k = window.innerHeight - T.bottom, x = T.top;
3861
3861
  return k < C && x > C ? "drop-up" : "drop-down";
3862
3862
  }
3863
3863
  const ne = K({});
3864
3864
  function X() {
3865
- const _ = o.value.getBoundingClientRect();
3866
- g.value = D(_), o.value && n.useTeleport && (ne.value = {
3865
+ const T = o.value.getBoundingClientRect();
3866
+ g.value = D(T), o.value && n.useTeleport && (ne.value = {
3867
3867
  position: "absolute",
3868
- left: `${_.left + window.scrollX}px`,
3868
+ left: `${T.left + window.scrollX}px`,
3869
3869
  zIndex: 9999,
3870
- width: `${_.width}px`
3871
- }, g.value === "drop-up" ? ne.value.bottom = `${window.innerHeight - _.bottom + _.height}px` : ne.value.top = `${_.bottom + window.scrollY}px`);
3870
+ width: `${T.width}px`
3871
+ }, g.value === "drop-up" ? ne.value.bottom = `${window.innerHeight - T.bottom + T.height}px` : ne.value.top = `${T.bottom + window.scrollY}px`);
3872
3872
  }
3873
- we(d, (_) => {
3874
- _ && X();
3873
+ we(d, (T) => {
3874
+ T && X();
3875
3875
  });
3876
- function T(_) {
3876
+ function _(T) {
3877
3877
  d.value = !d.value;
3878
3878
  }
3879
3879
  function A() {
3880
3880
  a.value = null, r("change", null);
3881
3881
  }
3882
- return yt(() => {
3883
- document.addEventListener("click", H), at(() => {
3884
- const _ = o.value.getBoundingClientRect();
3885
- g.value = D(_);
3882
+ return tt(() => {
3883
+ document.addEventListener("click", H), st(() => {
3884
+ const T = o.value.getBoundingClientRect();
3885
+ g.value = D(T);
3886
3886
  });
3887
3887
  }), fa(() => {
3888
3888
  document.removeEventListener("click", H);
3889
- }), (_, C) => (p(), S("div", {
3889
+ }), (T, C) => (h(), S("div", {
3890
3890
  class: z(["s-select", [i.value, { disabled: e.disabled, inline: e.inline }]]),
3891
3891
  ref: "selectRef"
3892
3892
  }, [
3893
3893
  E("div", {
3894
3894
  class: z(["s-select-field", { selecting: d.value }]),
3895
- onClick: T
3895
+ onClick: _
3896
3896
  }, [
3897
- e.filterable ? gt((p(), S("input", {
3897
+ e.filterable ? yt((h(), S("input", {
3898
3898
  key: 0,
3899
3899
  "onUpdate:modelValue": C[0] || (C[0] = (k) => v.value = k),
3900
3900
  class: "s-select-field-filter",
3901
3901
  placeholder: w.value
3902
3902
  }, null, 8, Xu)), [
3903
3903
  [ua, v.value]
3904
- ]) : (p(), S("div", Zu, [
3905
- _.$slots.value && e.modelValue ? F(_.$slots, "value", {
3904
+ ]) : (h(), S("div", Zu, [
3905
+ T.$slots.value && e.modelValue ? F(T.$slots, "value", {
3906
3906
  key: 0,
3907
3907
  value: e.modelValue
3908
- }) : (p(), S(ee, { key: 1 }, [
3908
+ }) : (h(), S(ee, { key: 1 }, [
3909
3909
  le(G(w.value), 1)
3910
3910
  ], 64))
3911
3911
  ])),
3912
- e.clearable && a.value ? (p(), S("div", {
3912
+ e.clearable && a.value ? (h(), S("div", {
3913
3913
  key: 2,
3914
3914
  class: "s-select-clear",
3915
3915
  onClick: $e(A, ["stop", "prevent"])
@@ -3925,7 +3925,7 @@ const Xu = ["placeholder"], Zu = {
3925
3925
  })
3926
3926
  ], 2)
3927
3927
  ], 2),
3928
- (p(), ae(Ge, {
3928
+ (h(), ae(Ge, {
3929
3929
  disabled: !e.useTeleport,
3930
3930
  to: "body"
3931
3931
  }, [
@@ -3936,22 +3936,22 @@ const Xu = ["placeholder"], Zu = {
3936
3936
  ref: m,
3937
3937
  onScroll: P
3938
3938
  }, [
3939
- _.$slots.option ? (p(), S("ul", {
3939
+ T.$slots.option ? (h(), S("ul", {
3940
3940
  key: 0,
3941
3941
  class: "s-select-options-list",
3942
- style: ge({ height: h.value })
3942
+ style: ge({ height: p.value })
3943
3943
  }, [
3944
- (p(!0), S(ee, null, de(b.value, ([k, x]) => (p(), S("li", {
3944
+ (h(!0), S(ee, null, de(b.value, ([k, x]) => (h(), S("li", {
3945
3945
  key: k,
3946
3946
  onClick: $e((N) => L(k), ["stop"]),
3947
3947
  class: z([{ selected: k === a.value || !(k || a.value) }, "s-select-options-item"])
3948
3948
  }, [
3949
- F(_.$slots, "option", {
3949
+ F(T.$slots, "option", {
3950
3950
  option: { label: x, value: k }
3951
3951
  })
3952
3952
  ], 10, Qu))), 128))
3953
- ], 4)) : b.value.length ? (p(), S(ee, { key: 1 }, [
3954
- e.virtual ? (p(), S("div", {
3953
+ ], 4)) : b.value.length ? (h(), S(ee, { key: 1 }, [
3954
+ e.virtual ? (h(), S("div", {
3955
3955
  key: 0,
3956
3956
  class: "s-select-scroll-container",
3957
3957
  style: ge({ maxHeight: c.value * e.virtualScrollSize - 20 + "px", position: "relative" }),
@@ -3959,9 +3959,9 @@ const Xu = ["placeholder"], Zu = {
3959
3959
  ref: "scrollContainer"
3960
3960
  }, [
3961
3961
  E("div", {
3962
- style: ge({ height: h.value })
3962
+ style: ge({ height: p.value })
3963
3963
  }, null, 4),
3964
- (p(!0), S(ee, null, de(b.value, ([k, x], N) => (p(), S("div", {
3964
+ (h(!0), S(ee, null, de(b.value, ([k, x], N) => (h(), S("div", {
3965
3965
  key: k,
3966
3966
  style: ge({
3967
3967
  position: "absolute",
@@ -3973,21 +3973,21 @@ const Xu = ["placeholder"], Zu = {
3973
3973
  class: z(["s-select-options-item", { selected: k == a.value }]),
3974
3974
  onClick: $e((O) => L(k), ["stop"])
3975
3975
  }, [
3976
- _.$slots.option ? F(_.$slots, "option", {
3976
+ T.$slots.option ? F(T.$slots, "option", {
3977
3977
  key: 0,
3978
- option: _.option
3979
- }) : (p(), S(ee, { key: 1 }, [
3978
+ option: T.option
3979
+ }) : (h(), S(ee, { key: 1 }, [
3980
3980
  le(G(x), 1)
3981
3981
  ], 64))
3982
3982
  ], 14, ec))), 128))
3983
- ], 36)) : (p(), S("ul", tc, [
3984
- (p(!0), S(ee, null, de(b.value, ([k, x]) => (p(), S("li", {
3983
+ ], 36)) : (h(), S("ul", tc, [
3984
+ (h(!0), S(ee, null, de(b.value, ([k, x]) => (h(), S("li", {
3985
3985
  key: k,
3986
3986
  onClick: $e((N) => L(k), ["stop"]),
3987
3987
  class: z([{ selected: k === a.value || !(k || a.value) }, "s-select-options-item"])
3988
3988
  }, G(x), 11, nc))), 128))
3989
3989
  ]))
3990
- ], 64)) : (p(), S("div", rc, "Нет данных"))
3990
+ ], 64)) : (h(), S("div", rc, "Нет данных"))
3991
3991
  ], 38)
3992
3992
  ], 8, ["disabled"]))
3993
3993
  ], 2));
@@ -4015,7 +4015,7 @@ const Xu = ["placeholder"], Zu = {
4015
4015
  function i() {
4016
4016
  n.disabled || (o.value = !o.value, s("change", o.value));
4017
4017
  }
4018
- return (l, u) => (p(), S("div", {
4018
+ return (l, u) => (h(), S("div", {
4019
4019
  class: z(["s-checkbox", { disabled: e.disabled }]),
4020
4020
  onClick: i
4021
4021
  }, [
@@ -4061,10 +4061,10 @@ const Xu = ["placeholder"], Zu = {
4061
4061
  n.disabled || (a.value = s);
4062
4062
  }
4063
4063
  });
4064
- return (s, i) => (p(), S("label", {
4064
+ return (s, i) => (h(), S("label", {
4065
4065
  class: z(["s-radio", [e.labelClass, { disabled: e.disabled }]])
4066
4066
  }, [
4067
- gt(E("input", {
4067
+ yt(E("input", {
4068
4068
  type: "radio",
4069
4069
  value: e.value,
4070
4070
  "onUpdate:modelValue": i[0] || (i[0] = (l) => o.value = l),
@@ -4094,13 +4094,16 @@ const Xu = ["placeholder"], Zu = {
4094
4094
  let l = s;
4095
4095
  return s === "true" && (l = !0), s === "false" && (l = !1), !isNaN(s) && s !== "" && (l = Number(s)), { value: l, title: i };
4096
4096
  }));
4097
- return Fe("sRadioGroupModel", a), we(a, (s) => {
4097
+ return tt(() => {
4098
+ var s;
4099
+ a.value === null && Object.values((s = n.options) != null ? s : {}).length && (a.value = Object.keys(n.options)[0]);
4100
+ }), Fe("sRadioGroupModel", a), we(a, (s) => {
4098
4101
  r("change", s);
4099
- }), (s, i) => (p(), S("div", uc, [
4102
+ }), (s, i) => (h(), S("div", uc, [
4100
4103
  E("div", {
4101
4104
  class: z(["s-radiogroup-container", { buttons: e.buttons, vertical: e.vertical }])
4102
4105
  }, [
4103
- e.placeholder ? (p(), ae(Mn, {
4106
+ e.placeholder ? (h(), ae(Mn, {
4104
4107
  key: 0,
4105
4108
  value: ""
4106
4109
  }, {
@@ -4110,7 +4113,7 @@ const Xu = ["placeholder"], Zu = {
4110
4113
  _: 1
4111
4114
  })) : B("", !0),
4112
4115
  Object.values(s.$slots).length ? F(s.$slots, "default", { key: 1 }) : B("", !0),
4113
- (p(!0), S(ee, null, de(o.value, ({ value: l, title: u }) => (p(), ae(Mn, {
4116
+ (h(!0), S(ee, null, de(o.value, ({ value: l, title: u }) => (h(), ae(Mn, {
4114
4117
  key: l,
4115
4118
  value: l
4116
4119
  }, {
@@ -4144,13 +4147,13 @@ const Xu = ["placeholder"], Zu = {
4144
4147
  emits: ["update:modelValue"],
4145
4148
  setup(e) {
4146
4149
  const t = e, n = Oe(e, "modelValue");
4147
- yt(() => {
4150
+ tt(() => {
4148
4151
  n.value = n.value === t.trueValue ? t.trueValue : t.falseValue;
4149
4152
  });
4150
4153
  function r() {
4151
4154
  t.disabled || (n.value = n.value === t.trueValue ? t.falseValue : t.trueValue);
4152
4155
  }
4153
- return (a, o) => (p(), S("div", {
4156
+ return (a, o) => (h(), S("div", {
4154
4157
  class: z(["s-switch", { active: n.value === e.trueValue, disabled: e.disabled }]),
4155
4158
  onClick: r
4156
4159
  }, [
@@ -4158,7 +4161,7 @@ const Xu = ["placeholder"], Zu = {
4158
4161
  o[1] || (o[1] = E("div", { class: "s-switch-control-activearea" }, [
4159
4162
  E("div", { class: "s-switch-control-activearea-button" })
4160
4163
  ], -1)),
4161
- gt(E("input", {
4164
+ yt(E("input", {
4162
4165
  type: "checkbox",
4163
4166
  "onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s)
4164
4167
  }, null, 512), [
@@ -4171,7 +4174,7 @@ const Xu = ["placeholder"], Zu = {
4171
4174
  ], 2));
4172
4175
  }
4173
4176
  };
4174
- var mt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
4177
+ var pt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
4175
4178
  function bs(e) {
4176
4179
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4177
4180
  }
@@ -4179,8 +4182,8 @@ var Ss = { exports: {} };
4179
4182
  (function(e, t) {
4180
4183
  (function(n, r) {
4181
4184
  e.exports = r();
4182
- })(mt, function() {
4183
- var n = 1e3, r = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", l = "hour", u = "day", c = "week", f = "month", h = "quarter", b = "year", d = "date", m = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
4185
+ })(pt, function() {
4186
+ var n = 1e3, r = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", l = "hour", u = "day", c = "week", f = "month", p = "quarter", b = "year", d = "date", m = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
4184
4187
  var k = ["th", "st", "nd", "rd"], x = C % 100;
4185
4188
  return "[" + C + (k[(x - 20) % 10] || k[x] || k[0]) + "]";
4186
4189
  } }, P = function(C, k, x) {
@@ -4196,7 +4199,7 @@ var Ss = { exports: {} };
4196
4199
  }, a: function(C) {
4197
4200
  return C < 0 ? Math.ceil(C) || 0 : Math.floor(C);
4198
4201
  }, p: function(C) {
4199
- return { M: f, y: b, w: c, d: u, D: d, h: l, m: i, s, ms: o, Q: h }[C] || String(C || "").toLowerCase().replace(/s$/, "");
4202
+ return { M: f, y: b, w: c, d: u, D: d, h: l, m: i, s, ms: o, Q: p }[C] || String(C || "").toLowerCase().replace(/s$/, "");
4200
4203
  }, u: function(C) {
4201
4204
  return C === void 0;
4202
4205
  } }, H = "en", L = {};
@@ -4216,13 +4219,13 @@ var Ss = { exports: {} };
4216
4219
  L[Z] = k, O = Z;
4217
4220
  }
4218
4221
  return !N && O && (H = O), O || !N && H;
4219
- }, T = function(C, k) {
4222
+ }, _ = function(C, k) {
4220
4223
  if (ne(C)) return C.clone();
4221
4224
  var x = typeof k == "object" ? k : {};
4222
4225
  return x.date = C, x.args = arguments, new M(x);
4223
4226
  }, A = W;
4224
4227
  A.l = X, A.i = ne, A.w = function(C, k) {
4225
- return T(C, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
4228
+ return _(C, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
4226
4229
  };
4227
4230
  var M = function() {
4228
4231
  function C(x) {
@@ -4252,12 +4255,12 @@ var Ss = { exports: {} };
4252
4255
  }, k.isValid = function() {
4253
4256
  return this.$d.toString() !== m;
4254
4257
  }, k.isSame = function(x, N) {
4255
- var O = T(x);
4258
+ var O = _(x);
4256
4259
  return this.startOf(N) <= O && O <= this.endOf(N);
4257
4260
  }, k.isAfter = function(x, N) {
4258
- return T(x) < this.startOf(N);
4261
+ return _(x) < this.startOf(N);
4259
4262
  }, k.isBefore = function(x, N) {
4260
- return this.endOf(N) < T(x);
4263
+ return this.endOf(N) < _(x);
4261
4264
  }, k.$g = function(x, N, O) {
4262
4265
  return A.u(x) ? this[N] : this.set(O, x);
4263
4266
  }, k.unix = function() {
@@ -4277,8 +4280,8 @@ var Ss = { exports: {} };
4277
4280
  case f:
4278
4281
  return I ? Z(1, ue) : Z(0, ue + 1);
4279
4282
  case c:
4280
- var ze = this.$locale().weekStart || 0, lt = (oe < ze ? oe + 7 : oe) - ze;
4281
- return Z(I ? ve - lt : ve + (6 - lt), ue);
4283
+ var ze = this.$locale().weekStart || 0, ut = (oe < ze ? oe + 7 : oe) - ze;
4284
+ return Z(I ? ve - ut : ve + (6 - ut), ue);
4282
4285
  case u:
4283
4286
  case d:
4284
4287
  return te(Xe + "Hours", 0);
@@ -4308,7 +4311,7 @@ var Ss = { exports: {} };
4308
4311
  var O, I = this;
4309
4312
  x = Number(x);
4310
4313
  var U = A.p(N), Z = function(ue) {
4311
- var ve = T(I);
4314
+ var ve = _(I);
4312
4315
  return A.w(ve.date(ve.date() + Math.round(ue * x)), I);
4313
4316
  };
4314
4317
  if (U === f) return this.set(f, this.$M + x);
@@ -4322,17 +4325,17 @@ var Ss = { exports: {} };
4322
4325
  }, k.format = function(x) {
4323
4326
  var N = this, O = this.$locale();
4324
4327
  if (!this.isValid()) return O.invalidDate || m;
4325
- var I = x || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), Z = this.$H, te = this.$m, oe = this.$M, ue = O.weekdays, ve = O.months, Xe = O.meridiem, ze = function(ye, De, ut, Tt) {
4326
- return ye && (ye[De] || ye(N, I)) || ut[De].slice(0, Tt);
4327
- }, lt = function(ye) {
4328
+ var I = x || "YYYY-MM-DDTHH:mm:ssZ", U = A.z(this), Z = this.$H, te = this.$m, oe = this.$M, ue = O.weekdays, ve = O.months, Xe = O.meridiem, ze = function(ye, De, ct, _t) {
4329
+ return ye && (ye[De] || ye(N, I)) || ct[De].slice(0, _t);
4330
+ }, ut = function(ye) {
4328
4331
  return A.s(Z % 12 || 12, ye, "0");
4329
- }, He = Xe || function(ye, De, ut) {
4330
- var Tt = ye < 12 ? "AM" : "PM";
4331
- return ut ? Tt.toLowerCase() : Tt;
4332
+ }, He = Xe || function(ye, De, ct) {
4333
+ var _t = ye < 12 ? "AM" : "PM";
4334
+ return ct ? _t.toLowerCase() : _t;
4332
4335
  };
4333
4336
  return I.replace(v, function(ye, De) {
4334
- return De || function(ut) {
4335
- switch (ut) {
4337
+ return De || function(ct) {
4338
+ switch (ct) {
4336
4339
  case "YY":
4337
4340
  return String(N.$y).slice(-2);
4338
4341
  case "YYYY":
@@ -4362,9 +4365,9 @@ var Ss = { exports: {} };
4362
4365
  case "HH":
4363
4366
  return A.s(Z, 2, "0");
4364
4367
  case "h":
4365
- return lt(1);
4368
+ return ut(1);
4366
4369
  case "hh":
4367
- return lt(2);
4370
+ return ut(2);
4368
4371
  case "a":
4369
4372
  return He(Z, te, !0);
4370
4373
  case "A":
@@ -4388,7 +4391,7 @@ var Ss = { exports: {} };
4388
4391
  }, k.utcOffset = function() {
4389
4392
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4390
4393
  }, k.diff = function(x, N, O) {
4391
- var I, U = this, Z = A.p(N), te = T(x), oe = (te.utcOffset() - this.utcOffset()) * r, ue = this - te, ve = function() {
4394
+ var I, U = this, Z = A.p(N), te = _(x), oe = (te.utcOffset() - this.utcOffset()) * r, ue = this - te, ve = function() {
4392
4395
  return A.m(U, te);
4393
4396
  };
4394
4397
  switch (Z) {
@@ -4398,7 +4401,7 @@ var Ss = { exports: {} };
4398
4401
  case f:
4399
4402
  I = ve();
4400
4403
  break;
4401
- case h:
4404
+ case p:
4402
4405
  I = ve() / 3;
4403
4406
  break;
4404
4407
  case c:
@@ -4439,20 +4442,20 @@ var Ss = { exports: {} };
4439
4442
  }, k.toString = function() {
4440
4443
  return this.$d.toUTCString();
4441
4444
  }, C;
4442
- }(), _ = M.prototype;
4443
- return T.prototype = _, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", f], ["$y", b], ["$D", d]].forEach(function(C) {
4444
- _[C[1]] = function(k) {
4445
+ }(), T = M.prototype;
4446
+ return _.prototype = T, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", u], ["$M", f], ["$y", b], ["$D", d]].forEach(function(C) {
4447
+ T[C[1]] = function(k) {
4445
4448
  return this.$g(k, C[0], C[1]);
4446
4449
  };
4447
- }), T.extend = function(C, k) {
4448
- return C.$i || (C(k, M, T), C.$i = !0), T;
4449
- }, T.locale = X, T.isDayjs = ne, T.unix = function(C) {
4450
- return T(1e3 * C);
4451
- }, T.en = L[H], T.Ls = L, T.p = {}, T;
4450
+ }), _.extend = function(C, k) {
4451
+ return C.$i || (C(k, M, _), C.$i = !0), _;
4452
+ }, _.locale = X, _.isDayjs = ne, _.unix = function(C) {
4453
+ return _(1e3 * C);
4454
+ }, _.en = L[H], _.Ls = L, _.p = {}, _;
4452
4455
  });
4453
4456
  })(Ss);
4454
- var hc = Ss.exports;
4455
- const ce = /* @__PURE__ */ bs(hc), pc = {
4457
+ var pc = Ss.exports;
4458
+ const ce = /* @__PURE__ */ bs(pc), hc = {
4456
4459
  key: 0,
4457
4460
  class: "s-datepicker-radio"
4458
4461
  }, vc = { class: "s-datepicker-main" }, gc = { class: "s-datepicker-input" }, yc = ["value"], bc = { class: "s-datepicker-input-icon" }, Sc = { class: "s-datepicker-calendar-header-data" }, wc = { class: "calendar-grid" }, kc = ["onMousedown", "onMouseover"], xc = {
@@ -4497,40 +4500,40 @@ const ce = /* @__PURE__ */ bs(hc), pc = {
4497
4500
  emits: /* @__PURE__ */ ie(["update:modelValue", "selectedInterval"], ["update:modelValue"]),
4498
4501
  setup(e, { emit: t }) {
4499
4502
  const n = e, r = Oe(e, "modelValue"), a = V(() => {
4500
- let T = r.value;
4501
- if (T === null && n.buttons) {
4503
+ let _ = r.value;
4504
+ if (_ === null && n.buttons) {
4502
4505
  const [A, M] = Object.values(n.buttons)[0].split("-");
4503
- T = [A, M];
4506
+ _ = [A, M];
4504
4507
  }
4505
- return n.valueFormat === "YYYYMMDD" || T === null ? JSON.parse(JSON.stringify(T)) : Array.isArray(T) ? T.map((A) => ce(A, n.valueFormat).format("YYYYMMDD")) : ce(T, n.valueFormat).format("YYYYMMDD");
4508
+ return n.valueFormat === "YYYYMMDD" || _ === null ? JSON.parse(JSON.stringify(_)) : Array.isArray(_) ? _.map((A) => ce(A, n.valueFormat).format("YYYYMMDD")) : ce(_, n.valueFormat).format("YYYYMMDD");
4506
4509
  }), o = V({
4507
4510
  get: () => {
4508
- var T, A;
4509
- return (A = (T = a.value) == null ? void 0 : T.join("-")) != null ? A : "";
4511
+ var _, A;
4512
+ return (A = (_ = a.value) == null ? void 0 : _.join("-")) != null ? A : "";
4510
4513
  },
4511
- set: (T) => {
4512
- r.value = T.split("-");
4514
+ set: (_) => {
4515
+ r.value = _.split("-");
4513
4516
  }
4514
4517
  }), s = V(() => {
4515
- var T;
4516
- return (T = n.numberOfMonths) != null ? T : n.range ? 2 : 1;
4517
- }), i = V(() => n.range && Array.isArray(a.value) ? a.value.filter(Boolean).map((T) => ce(T, n.valueFormat).format(n.inputFormat)).join(" — ") : a.value ? ce(a.value, n.valueFormat).format(n.inputFormat) : "Дата не выбрана"), l = K(ce().format("YYYY")), u = K(ce().format("MM")), c = V(() => {
4518
- const T = [];
4518
+ var _;
4519
+ return (_ = n.numberOfMonths) != null ? _ : n.range ? 2 : 1;
4520
+ }), i = V(() => n.range && Array.isArray(a.value) ? a.value.filter(Boolean).map((_) => ce(_, n.valueFormat).format(n.inputFormat)).join(" — ") : a.value ? ce(a.value, n.valueFormat).format(n.inputFormat) : "Дата не выбрана"), l = K(ce().format("YYYY")), u = K(ce().format("MM")), c = V(() => {
4521
+ const _ = [];
4519
4522
  for (let A = 0; A < s.value; A++) {
4520
- let M = l.value + Math.floor((u.value - 1 + A) / 12), _ = (u.value - 1 + A) % 12 + 1, C = (ce().year(M).month(_ - 1).startOf("month").day() + 6) % 7, k = ce().year(M).month(_ - 2).daysInMonth(), x = ce().year(M).month(_ - 1).daysInMonth(), N = (7 - (x + C) % 7) % 7;
4521
- T.push({ year: M, month: _, daysInMonth: x, daysInPreviousMonth: k, previousMonthDaysTail: C, leadingNextMonthDays: N });
4523
+ let M = l.value + Math.floor((u.value - 1 + A) / 12), T = (u.value - 1 + A) % 12 + 1, C = (ce().year(M).month(T - 1).startOf("month").day() + 6) % 7, k = ce().year(M).month(T - 2).daysInMonth(), x = ce().year(M).month(T - 1).daysInMonth(), N = (7 - (x + C) % 7) % 7;
4524
+ _.push({ year: M, month: T, daysInMonth: x, daysInPreviousMonth: k, previousMonthDaysTail: C, leadingNextMonthDays: N });
4522
4525
  }
4523
- return T;
4526
+ return _;
4524
4527
  });
4525
4528
  function f() {
4526
4529
  l.value = u.value === 1 ? l.value - 1 : l.value, u.value = u.value === 1 ? 12 : u.value - 1;
4527
4530
  }
4528
- function h() {
4531
+ function p() {
4529
4532
  l.value = u.value === 12 ? l.value + 1 : l.value, u.value = u.value === 12 ? 1 : u.value + 1;
4530
4533
  }
4531
- const b = (T, A, M) => T + (A < 10 ? "0" : "") + A + (M < 10 ? "0" : "") + M, d = K(!1);
4532
- we(d, (T) => {
4533
- if (T === !1) return;
4534
+ const b = (_, A, M) => _ + (A < 10 ? "0" : "") + A + (M < 10 ? "0" : "") + M, d = K(!1);
4535
+ we(d, (_) => {
4536
+ if (_ === !1) return;
4534
4537
  const A = r.value instanceof Array ? r.value[0] : r.value;
4535
4538
  if (A === null) {
4536
4539
  u.value = ce().month() + 1, l.value = ce().year();
@@ -4538,49 +4541,49 @@ const ce = /* @__PURE__ */ bs(hc), pc = {
4538
4541
  }
4539
4542
  u.value = ce(A, n.valueFormat).month() + 1, l.value = ce(A, n.valueFormat).year();
4540
4543
  });
4541
- const m = (T, A, M) => a.value instanceof Array ? D.value ? D.value === b(T, A, M) : a.value.includes(b(T, A, M)) : a.value === b(T, A, M), g = K(null), v = (T, A, M) => g.value = b(T, A, M), w = () => g.value = null, P = V(() => {
4544
+ const m = (_, A, M) => a.value instanceof Array ? D.value ? D.value === b(_, A, M) : a.value.includes(b(_, A, M)) : a.value === b(_, A, M), g = K(null), v = (_, A, M) => g.value = b(_, A, M), w = () => g.value = null, P = V(() => {
4542
4545
  if (!n.range) return null;
4543
4546
  if (D.value) {
4544
4547
  if (!g.value) return null;
4545
- const T = D.value < g.value ? D.value : g.value, A = D.value < g.value ? g.value : D.value;
4546
- return [T, A];
4548
+ const _ = D.value < g.value ? D.value : g.value, A = D.value < g.value ? g.value : D.value;
4549
+ return [_, A];
4547
4550
  } else if (a.value)
4548
4551
  return a.value;
4549
4552
  return null;
4550
- }), W = function(T, A, M) {
4551
- return P.value && P.value[0] <= b(T, A, M) && P.value[1] >= b(T, A, M);
4553
+ }), W = function(_, A, M) {
4554
+ return P.value && P.value[0] <= b(_, A, M) && P.value[1] >= b(_, A, M);
4552
4555
  };
4553
- function H(T, A, M) {
4554
- const _ = n.min ? ce(n.min, "YYYY-MM-DD") : null, C = n.max ? ce(n.max, "YYYY-MM-DD") : null, k = ce().year(T).month(A - 1).date(M);
4555
- return k.isBefore(_, "day") || k.isAfter(C, "day");
4556
+ function H(_, A, M) {
4557
+ const T = n.min ? ce(n.min, "YYYY-MM-DD") : null, C = n.max ? ce(n.max, "YYYY-MM-DD") : null, k = ce().year(_).month(A - 1).date(M);
4558
+ return k.isBefore(T, "day") || k.isAfter(C, "day");
4556
4559
  }
4557
- function L(T, A, M) {
4558
- return ce().year(T).month(A - 1).date(M).isSame(ce(), "day");
4560
+ function L(_, A, M) {
4561
+ return ce().year(_).month(A - 1).date(M).isSame(ce(), "day");
4559
4562
  }
4560
4563
  const D = K(null);
4561
- function ne(T, A, M) {
4562
- if (!H(T, A, M))
4564
+ function ne(_, A, M) {
4565
+ if (!H(_, A, M))
4563
4566
  if (!n.range)
4564
- r.value = ce().year(T).month(A - 1).date(M).format(n.valueFormat), d.value = !1;
4567
+ r.value = ce().year(_).month(A - 1).date(M).format(n.valueFormat), d.value = !1;
4565
4568
  else if (!D.value)
4566
- D.value = b(T, A, M);
4569
+ D.value = b(_, A, M);
4567
4570
  else {
4568
- const _ = b(T, A, M);
4569
- let C = D.value < _ ? D.value : _, k = D.value < _ ? _ : D.value;
4571
+ const T = b(_, A, M);
4572
+ let C = D.value < T ? D.value : T, k = D.value < T ? T : D.value;
4570
4573
  n.valueFormat !== "YYYYMMDD" && (C = ce(C, "YYYYMMDD").format(n.valueFormat), k = ce(k, "YYYYMMDD").format(n.valueFormat)), r.value = [C, k], D.value = null, d.value = !1;
4571
4574
  }
4572
4575
  }
4573
- ao(document, "mousedown", (T) => {
4576
+ ro(document, "mousedown", (_) => {
4574
4577
  d.value = !1, D.value = null;
4575
4578
  });
4576
- const X = V(() => n.buttons ? Object.fromEntries(Object.entries(n.buttons).map(([T, A]) => [A, T])) : []);
4577
- return (T, A) => (p(), S("div", {
4579
+ const X = V(() => n.buttons ? Object.fromEntries(Object.entries(n.buttons).map(([_, A]) => [A, _])) : []);
4580
+ return (_, A) => (h(), S("div", {
4578
4581
  class: "s-datepicker",
4579
4582
  onClick: A[3] || (A[3] = (M) => d.value = !d.value),
4580
4583
  onMousedown: A[4] || (A[4] = $e(() => {
4581
4584
  }, ["prevent", "stop"]))
4582
4585
  }, [
4583
- e.buttons && Object.values(e.buttons).length ? (p(), S("div", pc, [
4586
+ e.buttons && Object.values(e.buttons).length ? (h(), S("div", hc, [
4584
4587
  Q(ys, {
4585
4588
  modelValue: o.value,
4586
4589
  "onUpdate:modelValue": A[0] || (A[0] = (M) => o.value = M),
@@ -4598,64 +4601,64 @@ const ce = /* @__PURE__ */ bs(hc), pc = {
4598
4601
  Q(R(re), { icon: ["far", "calendar"] })
4599
4602
  ])
4600
4603
  ]),
4601
- d.value ? (p(), S("div", {
4604
+ d.value ? (h(), S("div", {
4602
4605
  key: 0,
4603
4606
  class: "s-datepicker-calendar",
4604
4607
  onClick: A[2] || (A[2] = $e(() => {
4605
4608
  }, ["stop"]))
4606
4609
  }, [
4607
- (p(!0), S(ee, null, de(c.value, ({ month: M, year: _, daysInMonth: C, leadingNextMonthDays: k, previousMonthDaysTail: x, daysInPreviousMonth: N }, O) => (p(), S("div", {
4610
+ (h(!0), S(ee, null, de(c.value, ({ month: M, year: T, daysInMonth: C, leadingNextMonthDays: k, previousMonthDaysTail: x, daysInPreviousMonth: N }, O) => (h(), S("div", {
4608
4611
  class: "s-datepicker-calendar-page",
4609
- key: `${_}${M}`
4612
+ key: `${T}${M}`
4610
4613
  }, [
4611
4614
  E("div", null, [
4612
4615
  E("div", {
4613
4616
  class: z(["s-datepicker-calendar-header", { centered: O !== 0 && O !== c.value.length - 1 }])
4614
4617
  }, [
4615
- O === 0 ? (p(), S("div", {
4618
+ O === 0 ? (h(), S("div", {
4616
4619
  key: 0,
4617
4620
  class: "s-datepicker-calendar-header-controls",
4618
4621
  onClick: f
4619
4622
  }, [
4620
4623
  Q(R(re), { icon: "chevron-left" })
4621
4624
  ])) : B("", !0),
4622
- E("div", Sc, G(e.monthNames[M - 1]) + " " + G(_), 1),
4623
- O === c.value.length - 1 ? (p(), S("div", {
4625
+ E("div", Sc, G(e.monthNames[M - 1]) + " " + G(T), 1),
4626
+ O === c.value.length - 1 ? (h(), S("div", {
4624
4627
  key: 1,
4625
4628
  class: "s-datepicker-calendar-header-controls",
4626
- onClick: h
4629
+ onClick: p
4627
4630
  }, [
4628
4631
  Q(R(re), { icon: "chevron-right" })
4629
4632
  ])) : B("", !0)
4630
4633
  ], 2),
4631
4634
  E("div", wc, [
4632
- (p(!0), S(ee, null, de(e.weekDayNames, (I, U) => (p(), S("span", {
4635
+ (h(!0), S(ee, null, de(e.weekDayNames, (I, U) => (h(), S("span", {
4633
4636
  key: U,
4634
4637
  class: "day-name"
4635
4638
  }, G(I), 1))), 128)),
4636
- (p(!0), S(ee, null, de(x, (I) => (p(), S("div", {
4637
- key: b(_, M, I),
4639
+ (h(!0), S(ee, null, de(x, (I) => (h(), S("div", {
4640
+ key: b(T, M, I),
4638
4641
  class: "day blocked"
4639
4642
  }, G(I + N - x), 1))), 128)),
4640
- (p(!0), S(ee, null, de(C, (I) => (p(), S("div", {
4641
- key: b(_, M, I),
4643
+ (h(!0), S(ee, null, de(C, (I) => (h(), S("div", {
4644
+ key: b(T, M, I),
4642
4645
  class: z(["day", {
4643
- selected: m(_, M, I),
4644
- inrange: W(_, M, I),
4645
- today: L(_, M, I),
4646
- blocked: H(_, M, I)
4646
+ selected: m(T, M, I),
4647
+ inrange: W(T, M, I),
4648
+ today: L(T, M, I),
4649
+ blocked: H(T, M, I)
4647
4650
  }]),
4648
- onMousedown: (U) => ne(_, M, I),
4649
- onMouseover: (U) => v(_, M, I),
4651
+ onMousedown: (U) => ne(T, M, I),
4652
+ onMouseover: (U) => v(T, M, I),
4650
4653
  onMouseout: A[1] || (A[1] = (U) => w())
4651
4654
  }, G(I), 43, kc))), 128)),
4652
- (p(!0), S(ee, null, de(k, (I) => (p(), S("div", {
4653
- key: b(_, M, I),
4655
+ (h(!0), S(ee, null, de(k, (I) => (h(), S("div", {
4656
+ key: b(T, M, I),
4654
4657
  class: "day blocked"
4655
4658
  }, G(I), 1))), 128))
4656
4659
  ])
4657
4660
  ]),
4658
- O !== c.value.length - 1 ? (p(), S("div", xc)) : B("", !0)
4661
+ O !== c.value.length - 1 ? (h(), S("div", xc)) : B("", !0)
4659
4662
  ]))), 128))
4660
4663
  ])) : B("", !0)
4661
4664
  ])
@@ -4670,21 +4673,21 @@ function ws(e, t) {
4670
4673
  const { toString: Ac } = Object.prototype, { getPrototypeOf: rr } = Object, { iterator: en, toStringTag: ks } = Symbol, tn = /* @__PURE__ */ ((e) => (t) => {
4671
4674
  const n = Ac.call(t);
4672
4675
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
4673
- })(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => tn(t) === e), nn = (e) => (t) => typeof t === e, { isArray: ot } = Array, nt = nn("undefined");
4676
+ })(/* @__PURE__ */ Object.create(null)), Pe = (e) => (e = e.toLowerCase(), (t) => tn(t) === e), nn = (e) => (t) => typeof t === e, { isArray: it } = Array, rt = nn("undefined");
4674
4677
  function At(e) {
4675
- return e !== null && !nt(e) && e.constructor !== null && !nt(e.constructor) && be(e.constructor.isBuffer) && e.constructor.isBuffer(e);
4678
+ return e !== null && !rt(e) && e.constructor !== null && !rt(e.constructor) && be(e.constructor.isBuffer) && e.constructor.isBuffer(e);
4676
4679
  }
4677
4680
  const xs = Pe("ArrayBuffer");
4678
4681
  function Oc(e) {
4679
4682
  let t;
4680
4683
  return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && xs(e.buffer), t;
4681
4684
  }
4682
- const Ec = nn("string"), be = nn("function"), $s = nn("number"), Ot = (e) => e !== null && typeof e == "object", _c = (e) => e === !0 || e === !1, Dt = (e) => {
4685
+ const Ec = nn("string"), be = nn("function"), $s = nn("number"), Ot = (e) => e !== null && typeof e == "object", Tc = (e) => e === !0 || e === !1, Dt = (e) => {
4683
4686
  if (tn(e) !== "object")
4684
4687
  return !1;
4685
4688
  const t = rr(e);
4686
4689
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ks in e) && !(en in e);
4687
- }, Tc = (e) => {
4690
+ }, _c = (e) => {
4688
4691
  if (!Ot(e) || At(e))
4689
4692
  return !1;
4690
4693
  try {
@@ -4701,7 +4704,7 @@ function Et(e, t, { allOwnKeys: n = !1 } = {}) {
4701
4704
  if (e === null || typeof e == "undefined")
4702
4705
  return;
4703
4706
  let r, a;
4704
- if (typeof e != "object" && (e = [e]), ot(e))
4707
+ if (typeof e != "object" && (e = [e]), it(e))
4705
4708
  for (r = 0, a = e.length; r < a; r++)
4706
4709
  t.call(null, e[r], r, e);
4707
4710
  else {
@@ -4724,11 +4727,11 @@ function As(e, t) {
4724
4727
  return a;
4725
4728
  return null;
4726
4729
  }
4727
- const We = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, Os = (e) => !nt(e) && e !== We;
4730
+ const We = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, Os = (e) => !rt(e) && e !== We;
4728
4731
  function jn() {
4729
4732
  const { caseless: e, skipUndefined: t } = Os(this) && this || {}, n = {}, r = (a, o) => {
4730
4733
  const s = e && As(n, o) || o;
4731
- Dt(n[s]) && Dt(a) ? n[s] = jn(n[s], a) : Dt(a) ? n[s] = jn({}, a) : ot(a) ? n[s] = a.slice() : (!t || !nt(a)) && (n[s] = a);
4734
+ Dt(n[s]) && Dt(a) ? n[s] = jn(n[s], a) : Dt(a) ? n[s] = jn({}, a) : it(a) ? n[s] = a.slice() : (!t || !rt(a)) && (n[s] = a);
4732
4735
  };
4733
4736
  for (let a = 0, o = arguments.length; a < o; a++)
4734
4737
  arguments[a] && Et(arguments[a], r);
@@ -4756,14 +4759,14 @@ const zc = (e, t, n, { allOwnKeys: r } = {}) => (Et(t, (a, o) => {
4756
4759
  return r !== -1 && r === n;
4757
4760
  }, qc = (e) => {
4758
4761
  if (!e) return null;
4759
- if (ot(e)) return e;
4762
+ if (it(e)) return e;
4760
4763
  let t = e.length;
4761
4764
  if (!$s(t)) return null;
4762
4765
  const n = new Array(t);
4763
4766
  for (; t-- > 0; )
4764
4767
  n[t] = e[t];
4765
4768
  return n;
4766
- }, Jc = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array != "undefined" && rr(Uint8Array)), Kc = (e, t) => {
4769
+ }, Kc = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array != "undefined" && rr(Uint8Array)), Jc = (e, t) => {
4767
4770
  const r = (e && e[en]).call(e);
4768
4771
  let a;
4769
4772
  for (; (a = r.next()) && !a.done; ) {
@@ -4808,7 +4811,7 @@ const zc = (e, t, n, { allOwnKeys: r } = {}) => (Et(t, (a, o) => {
4808
4811
  n[o] = !0;
4809
4812
  });
4810
4813
  };
4811
- return ot(e) ? r(e) : r(String(e).split(t)), n;
4814
+ return it(e) ? r(e) : r(String(e).split(t)), n;
4812
4815
  }, nf = () => {
4813
4816
  }, rf = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
4814
4817
  function af(e) {
@@ -4823,40 +4826,40 @@ const sf = (e) => {
4823
4826
  return r;
4824
4827
  if (!("toJSON" in r)) {
4825
4828
  t[a] = r;
4826
- const o = ot(r) ? [] : {};
4829
+ const o = it(r) ? [] : {};
4827
4830
  return Et(r, (s, i) => {
4828
4831
  const l = n(s, a + 1);
4829
- !nt(l) && (o[i] = l);
4832
+ !rt(l) && (o[i] = l);
4830
4833
  }), t[a] = void 0, o;
4831
4834
  }
4832
4835
  }
4833
4836
  return r;
4834
4837
  };
4835
4838
  return n(e, 0);
4836
- }, of = Pe("AsyncFunction"), lf = (e) => e && (Ot(e) || be(e)) && be(e.then) && be(e.catch), _s = ((e, t) => e ? setImmediate : t ? ((n, r) => (We.addEventListener("message", ({ source: a, data: o }) => {
4839
+ }, of = Pe("AsyncFunction"), lf = (e) => e && (Ot(e) || be(e)) && be(e.then) && be(e.catch), Ts = ((e, t) => e ? setImmediate : t ? ((n, r) => (We.addEventListener("message", ({ source: a, data: o }) => {
4837
4840
  a === We && o === n && r.length && r.shift()();
4838
4841
  }, !1), (a) => {
4839
4842
  r.push(a), We.postMessage(n, "*");
4840
4843
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
4841
4844
  typeof setImmediate == "function",
4842
4845
  be(We.postMessage)
4843
- ), uf = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(We) : typeof process != "undefined" && process.nextTick || _s, cf = (e) => e != null && be(e[en]), y = {
4844
- isArray: ot,
4846
+ ), uf = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(We) : typeof process != "undefined" && process.nextTick || Ts, cf = (e) => e != null && be(e[en]), y = {
4847
+ isArray: it,
4845
4848
  isArrayBuffer: xs,
4846
4849
  isBuffer: At,
4847
4850
  isFormData: Rc,
4848
4851
  isArrayBufferView: Oc,
4849
4852
  isString: Ec,
4850
4853
  isNumber: $s,
4851
- isBoolean: _c,
4854
+ isBoolean: Tc,
4852
4855
  isObject: Ot,
4853
4856
  isPlainObject: Dt,
4854
- isEmptyObject: Tc,
4857
+ isEmptyObject: _c,
4855
4858
  isReadableStream: jc,
4856
4859
  isRequest: Dc,
4857
4860
  isResponse: Lc,
4858
4861
  isHeaders: Bc,
4859
- isUndefined: nt,
4862
+ isUndefined: rt,
4860
4863
  isDate: Cc,
4861
4864
  isFile: Pc,
4862
4865
  isBlob: Nc,
@@ -4864,7 +4867,7 @@ const sf = (e) => {
4864
4867
  isFunction: be,
4865
4868
  isStream: Fc,
4866
4869
  isURLSearchParams: Mc,
4867
- isTypedArray: Jc,
4870
+ isTypedArray: Kc,
4868
4871
  isFileList: Ic,
4869
4872
  forEach: Et,
4870
4873
  merge: jn,
@@ -4877,7 +4880,7 @@ const sf = (e) => {
4877
4880
  kindOfTest: Pe,
4878
4881
  endsWith: Yc,
4879
4882
  toArray: qc,
4880
- forEachEntry: Kc,
4883
+ forEachEntry: Jc,
4881
4884
  matchAll: Gc,
4882
4885
  isHTMLForm: Xc,
4883
4886
  hasOwnProperty: Lr,
@@ -4896,7 +4899,7 @@ const sf = (e) => {
4896
4899
  toJSONObject: sf,
4897
4900
  isAsyncFn: of,
4898
4901
  isThenable: lf,
4899
- setImmediate: _s,
4902
+ setImmediate: Ts,
4900
4903
  asap: uf,
4901
4904
  isIterable: cf
4902
4905
  };
@@ -4924,7 +4927,7 @@ y.inherits(Y, Error, {
4924
4927
  };
4925
4928
  }
4926
4929
  });
4927
- const Ts = Y.prototype, Cs = {};
4930
+ const _s = Y.prototype, Cs = {};
4928
4931
  [
4929
4932
  "ERR_BAD_OPTION_VALUE",
4930
4933
  "ERR_BAD_OPTION",
@@ -4943,9 +4946,9 @@ const Ts = Y.prototype, Cs = {};
4943
4946
  Cs[e] = { value: e };
4944
4947
  });
4945
4948
  Object.defineProperties(Y, Cs);
4946
- Object.defineProperty(Ts, "isAxiosError", { value: !0 });
4949
+ Object.defineProperty(_s, "isAxiosError", { value: !0 });
4947
4950
  Y.from = (e, t, n, r, a, o) => {
4948
- const s = Object.create(Ts);
4951
+ const s = Object.create(_s);
4949
4952
  y.toFlatObject(e, s, function(c) {
4950
4953
  return c !== Error.prototype;
4951
4954
  }, (u) => u !== "isAxiosError");
@@ -5009,7 +5012,7 @@ function rn(e, t, n) {
5009
5012
  }
5010
5013
  return Dn(d) ? !0 : (t.append(Br(g, m, o), u(d)), !1);
5011
5014
  }
5012
- const f = [], h = Object.assign(mf, {
5015
+ const f = [], p = Object.assign(mf, {
5013
5016
  defaultVisitor: c,
5014
5017
  convertValue: u,
5015
5018
  isVisitable: Dn
@@ -5024,7 +5027,7 @@ function rn(e, t, n) {
5024
5027
  v,
5025
5028
  y.isString(w) ? w.trim() : w,
5026
5029
  m,
5027
- h
5030
+ p
5028
5031
  )) === !0 && b(v, m ? m.concat(w) : [w]);
5029
5032
  }), f.pop();
5030
5033
  }
@@ -5062,13 +5065,13 @@ Ns.toString = function(t) {
5062
5065
  return n(a[0]) + "=" + n(a[1]);
5063
5066
  }, "").join("&");
5064
5067
  };
5065
- function hf(e) {
5068
+ function pf(e) {
5066
5069
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
5067
5070
  }
5068
5071
  function Is(e, t, n) {
5069
5072
  if (!t)
5070
5073
  return e;
5071
- const r = n && n.encode || hf;
5074
+ const r = n && n.encode || pf;
5072
5075
  y.isFunction(n) && (n = {
5073
5076
  serialize: n
5074
5077
  });
@@ -5138,10 +5141,10 @@ const Fs = {
5138
5141
  silentJSONParsing: !0,
5139
5142
  forcedJSONParsing: !0,
5140
5143
  clarifyTimeoutError: !1
5141
- }, pf = typeof URLSearchParams != "undefined" ? URLSearchParams : ar, vf = typeof FormData != "undefined" ? FormData : null, gf = typeof Blob != "undefined" ? Blob : null, yf = {
5144
+ }, hf = typeof URLSearchParams != "undefined" ? URLSearchParams : ar, vf = typeof FormData != "undefined" ? FormData : null, gf = typeof Blob != "undefined" ? Blob : null, yf = {
5142
5145
  isBrowser: !0,
5143
5146
  classes: {
5144
- URLSearchParams: pf,
5147
+ URLSearchParams: hf,
5145
5148
  FormData: vf,
5146
5149
  Blob: gf
5147
5150
  },
@@ -5154,14 +5157,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wf
5154
5157
  hasStandardBrowserWebWorkerEnv: Sf,
5155
5158
  navigator: Ln,
5156
5159
  origin: wf
5157
- }, Symbol.toStringTag, { value: "Module" })), pe = {
5160
+ }, Symbol.toStringTag, { value: "Module" })), he = {
5158
5161
  ...kf,
5159
5162
  ...yf
5160
5163
  };
5161
5164
  function xf(e, t) {
5162
- return rn(e, new pe.classes.URLSearchParams(), {
5165
+ return rn(e, new he.classes.URLSearchParams(), {
5163
5166
  visitor: function(n, r, a, o) {
5164
- return pe.isNode && y.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
5167
+ return he.isNode && y.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
5165
5168
  },
5166
5169
  ...t
5167
5170
  });
@@ -5203,7 +5206,7 @@ function Of(e, t, n) {
5203
5206
  }
5204
5207
  return (n || JSON.stringify)(e);
5205
5208
  }
5206
- const _t = {
5209
+ const Tt = {
5207
5210
  transitional: Fs,
5208
5211
  adapter: ["xhr", "http", "fetch"],
5209
5212
  transformRequest: [function(t, n) {
@@ -5232,7 +5235,7 @@ const _t = {
5232
5235
  return o || a ? (n.setContentType("application/json", !1), Of(t)) : t;
5233
5236
  }],
5234
5237
  transformResponse: [function(t) {
5235
- const n = this.transitional || _t.transitional, r = n && n.forcedJSONParsing, a = this.responseType === "json";
5238
+ const n = this.transitional || Tt.transitional, r = n && n.forcedJSONParsing, a = this.responseType === "json";
5236
5239
  if (y.isResponse(t) || y.isReadableStream(t))
5237
5240
  return t;
5238
5241
  if (t && y.isString(t) && (r && !this.responseType || a)) {
@@ -5256,8 +5259,8 @@ const _t = {
5256
5259
  maxContentLength: -1,
5257
5260
  maxBodyLength: -1,
5258
5261
  env: {
5259
- FormData: pe.classes.FormData,
5260
- Blob: pe.classes.Blob
5262
+ FormData: he.classes.FormData,
5263
+ Blob: he.classes.Blob
5261
5264
  },
5262
5265
  validateStatus: function(t) {
5263
5266
  return t >= 200 && t < 300;
@@ -5270,7 +5273,7 @@ const _t = {
5270
5273
  }
5271
5274
  };
5272
5275
  y.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
5273
- _t.headers[e] = {};
5276
+ Tt.headers[e] = {};
5274
5277
  });
5275
5278
  const Ef = y.toObjectSet([
5276
5279
  "age",
@@ -5290,7 +5293,7 @@ const Ef = y.toObjectSet([
5290
5293
  "referer",
5291
5294
  "retry-after",
5292
5295
  "user-agent"
5293
- ]), _f = (e) => {
5296
+ ]), Tf = (e) => {
5294
5297
  const t = {};
5295
5298
  let n, r, a;
5296
5299
  return e && e.split(`
@@ -5298,13 +5301,13 @@ const Ef = y.toObjectSet([
5298
5301
  a = s.indexOf(":"), n = s.substring(0, a).trim().toLowerCase(), r = s.substring(a + 1).trim(), !(!n || t[n] && Ef[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
5299
5302
  }), t;
5300
5303
  }, Hr = Symbol("internals");
5301
- function ct(e) {
5304
+ function ft(e) {
5302
5305
  return e && String(e).trim().toLowerCase();
5303
5306
  }
5304
5307
  function Lt(e) {
5305
5308
  return e === !1 || e == null ? e : y.isArray(e) ? e.map(Lt) : String(e);
5306
5309
  }
5307
- function Tf(e) {
5310
+ function _f(e) {
5308
5311
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
5309
5312
  let r;
5310
5313
  for (; r = n.exec(e); )
@@ -5343,7 +5346,7 @@ let Se = class {
5343
5346
  set(t, n, r) {
5344
5347
  const a = this;
5345
5348
  function o(i, l, u) {
5346
- const c = ct(l);
5349
+ const c = ft(l);
5347
5350
  if (!c)
5348
5351
  throw new Error("header name must be a non-empty string");
5349
5352
  const f = y.findKey(a, c);
@@ -5353,7 +5356,7 @@ let Se = class {
5353
5356
  if (y.isPlainObject(t) || t instanceof this.constructor)
5354
5357
  s(t, n);
5355
5358
  else if (y.isString(t) && (t = t.trim()) && !Cf(t))
5356
- s(_f(t), n);
5359
+ s(Tf(t), n);
5357
5360
  else if (y.isObject(t) && y.isIterable(t)) {
5358
5361
  let i = {}, l, u;
5359
5362
  for (const c of t) {
@@ -5367,14 +5370,14 @@ let Se = class {
5367
5370
  return this;
5368
5371
  }
5369
5372
  get(t, n) {
5370
- if (t = ct(t), t) {
5373
+ if (t = ft(t), t) {
5371
5374
  const r = y.findKey(this, t);
5372
5375
  if (r) {
5373
5376
  const a = this[r];
5374
5377
  if (!n)
5375
5378
  return a;
5376
5379
  if (n === !0)
5377
- return Tf(a);
5380
+ return _f(a);
5378
5381
  if (y.isFunction(n))
5379
5382
  return n.call(this, a, r);
5380
5383
  if (y.isRegExp(n))
@@ -5384,7 +5387,7 @@ let Se = class {
5384
5387
  }
5385
5388
  }
5386
5389
  has(t, n) {
5387
- if (t = ct(t), t) {
5390
+ if (t = ft(t), t) {
5388
5391
  const r = y.findKey(this, t);
5389
5392
  return !!(r && this[r] !== void 0 && (!n || mn(this, this[r], r, n)));
5390
5393
  }
@@ -5394,7 +5397,7 @@ let Se = class {
5394
5397
  const r = this;
5395
5398
  let a = !1;
5396
5399
  function o(s) {
5397
- if (s = ct(s), s) {
5400
+ if (s = ft(s), s) {
5398
5401
  const i = y.findKey(r, s);
5399
5402
  i && (!n || mn(r, r[i], i, n)) && (delete r[i], a = !0);
5400
5403
  }
@@ -5456,7 +5459,7 @@ let Se = class {
5456
5459
  accessors: {}
5457
5460
  }).accessors, a = this.prototype;
5458
5461
  function o(s) {
5459
- const i = ct(s);
5462
+ const i = ft(s);
5460
5463
  r[i] || (Nf(a, s), r[i] = !0);
5461
5464
  }
5462
5465
  return y.isArray(t) ? t.forEach(o) : o(t), this;
@@ -5473,8 +5476,8 @@ y.reduceDescriptors(Se.prototype, ({ value: e }, t) => {
5473
5476
  };
5474
5477
  });
5475
5478
  y.freezeMethods(Se);
5476
- function hn(e, t) {
5477
- const n = this || _t, r = t || n, a = Se.from(r.headers);
5479
+ function pn(e, t) {
5480
+ const n = this || Tt, r = t || n, a = Se.from(r.headers);
5478
5481
  let o = r.data;
5479
5482
  return y.forEach(e, function(i) {
5480
5483
  o = i.call(n, o, a.normalize(), t ? t.status : void 0);
@@ -5483,10 +5486,10 @@ function hn(e, t) {
5483
5486
  function Ms(e) {
5484
5487
  return !!(e && e.__CANCEL__);
5485
5488
  }
5486
- function it(e, t, n) {
5489
+ function lt(e, t, n) {
5487
5490
  Y.call(this, e == null ? "canceled" : e, Y.ERR_CANCELED, t, n), this.name = "CanceledError";
5488
5491
  }
5489
- y.inherits(it, Y, {
5492
+ y.inherits(lt, Y, {
5490
5493
  __CANCEL__: !0
5491
5494
  });
5492
5495
  function js(e, t, n) {
@@ -5510,13 +5513,13 @@ function Ff(e, t) {
5510
5513
  return t = t !== void 0 ? t : 1e3, function(l) {
5511
5514
  const u = Date.now(), c = r[o];
5512
5515
  s || (s = u), n[a] = l, r[a] = u;
5513
- let f = o, h = 0;
5516
+ let f = o, p = 0;
5514
5517
  for (; f !== a; )
5515
- h += n[f++], f = f % e;
5518
+ p += n[f++], f = f % e;
5516
5519
  if (a = (a + 1) % e, a === o && (o = (o + 1) % e), u - s < t)
5517
5520
  return;
5518
5521
  const b = c && u - c;
5519
- return b ? Math.round(h * 1e3 / b) : void 0;
5522
+ return b ? Math.round(p * 1e3 / b) : void 0;
5520
5523
  };
5521
5524
  }
5522
5525
  function Rf(e, t) {
@@ -5557,10 +5560,10 @@ const Yt = (e, t, n = 3) => {
5557
5560
  total: e,
5558
5561
  loaded: r
5559
5562
  }), t[1]];
5560
- }, Wr = (e) => (...t) => y.asap(() => e(...t)), Mf = pe.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, pe.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
5561
- new URL(pe.origin),
5562
- pe.navigator && /(msie|trident)/i.test(pe.navigator.userAgent)
5563
- ) : () => !0, jf = pe.hasStandardBrowserEnv ? (
5563
+ }, Wr = (e) => (...t) => y.asap(() => e(...t)), Mf = he.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, he.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
5564
+ new URL(he.origin),
5565
+ he.navigator && /(msie|trident)/i.test(he.navigator.userAgent)
5566
+ ) : () => !0, jf = he.hasStandardBrowserEnv ? (
5564
5567
  // Standard browser envs support document.cookie
5565
5568
  {
5566
5569
  write(e, t, n, r, a, o, s) {
@@ -5600,17 +5603,17 @@ function Ds(e, t, n) {
5600
5603
  return e && (r || n == !1) ? Lf(e, t) : t;
5601
5604
  }
5602
5605
  const Yr = (e) => e instanceof Se ? { ...e } : e;
5603
- function Ke(e, t) {
5606
+ function Je(e, t) {
5604
5607
  t = t || {};
5605
5608
  const n = {};
5606
- function r(u, c, f, h) {
5607
- return y.isPlainObject(u) && y.isPlainObject(c) ? y.merge.call({ caseless: h }, u, c) : y.isPlainObject(c) ? y.merge({}, c) : y.isArray(c) ? c.slice() : c;
5609
+ function r(u, c, f, p) {
5610
+ return y.isPlainObject(u) && y.isPlainObject(c) ? y.merge.call({ caseless: p }, u, c) : y.isPlainObject(c) ? y.merge({}, c) : y.isArray(c) ? c.slice() : c;
5608
5611
  }
5609
- function a(u, c, f, h) {
5612
+ function a(u, c, f, p) {
5610
5613
  if (y.isUndefined(c)) {
5611
5614
  if (!y.isUndefined(u))
5612
- return r(void 0, u, f, h);
5613
- } else return r(u, c, f, h);
5615
+ return r(void 0, u, f, p);
5616
+ } else return r(u, c, f, p);
5614
5617
  }
5615
5618
  function o(u, c) {
5616
5619
  if (!y.isUndefined(c))
@@ -5660,18 +5663,18 @@ function Ke(e, t) {
5660
5663
  headers: (u, c, f) => a(Yr(u), Yr(c), f, !0)
5661
5664
  };
5662
5665
  return y.forEach(Object.keys({ ...e, ...t }), function(c) {
5663
- const f = l[c] || a, h = f(e[c], t[c], c);
5664
- y.isUndefined(h) && f !== i || (n[c] = h);
5666
+ const f = l[c] || a, p = f(e[c], t[c], c);
5667
+ y.isUndefined(p) && f !== i || (n[c] = p);
5665
5668
  }), n;
5666
5669
  }
5667
5670
  const Ls = (e) => {
5668
- const t = Ke({}, e);
5671
+ const t = Je({}, e);
5669
5672
  let { data: n, withXSRFToken: r, xsrfHeaderName: a, xsrfCookieName: o, headers: s, auth: i } = t;
5670
5673
  if (t.headers = s = Se.from(s), t.url = Is(Ds(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), i && s.set(
5671
5674
  "Authorization",
5672
5675
  "Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
5673
5676
  ), y.isFormData(n)) {
5674
- if (pe.hasStandardBrowserEnv || pe.hasStandardBrowserWebWorkerEnv)
5677
+ if (he.hasStandardBrowserEnv || he.hasStandardBrowserWebWorkerEnv)
5675
5678
  s.setContentType(void 0);
5676
5679
  else if (y.isFunction(n.getHeaders)) {
5677
5680
  const l = n.getHeaders(), u = ["content-type", "content-length"];
@@ -5680,7 +5683,7 @@ const Ls = (e) => {
5680
5683
  });
5681
5684
  }
5682
5685
  }
5683
- if (pe.hasStandardBrowserEnv && (r && y.isFunction(r) && (r = r(t)), r || r !== !1 && Mf(t.url))) {
5686
+ if (he.hasStandardBrowserEnv && (r && y.isFunction(r) && (r = r(t)), r || r !== !1 && Mf(t.url))) {
5684
5687
  const l = a && o && jf.read(o);
5685
5688
  l && s.set(a, l);
5686
5689
  }
@@ -5690,7 +5693,7 @@ const Ls = (e) => {
5690
5693
  const a = Ls(e);
5691
5694
  let o = a.data;
5692
5695
  const s = Se.from(a.headers).normalize();
5693
- let { responseType: i, onUploadProgress: l, onDownloadProgress: u } = a, c, f, h, b, d;
5696
+ let { responseType: i, onUploadProgress: l, onDownloadProgress: u } = a, c, f, p, b, d;
5694
5697
  function m() {
5695
5698
  b && b(), d && d(), a.cancelToken && a.cancelToken.unsubscribe(c), a.signal && a.signal.removeEventListener("abort", c);
5696
5699
  }
@@ -5733,11 +5736,11 @@ const Ls = (e) => {
5733
5736
  )), g = null;
5734
5737
  }, o === void 0 && s.setContentType(null), "setRequestHeader" in g && y.forEach(s.toJSON(), function(W, H) {
5735
5738
  g.setRequestHeader(H, W);
5736
- }), y.isUndefined(a.withCredentials) || (g.withCredentials = !!a.withCredentials), i && i !== "json" && (g.responseType = a.responseType), u && ([h, d] = Yt(u, !0), g.addEventListener("progress", h)), l && g.upload && ([f, b] = Yt(l), g.upload.addEventListener("progress", f), g.upload.addEventListener("loadend", b)), (a.cancelToken || a.signal) && (c = (P) => {
5737
- g && (r(!P || P.type ? new it(null, e, g) : P), g.abort(), g = null);
5739
+ }), y.isUndefined(a.withCredentials) || (g.withCredentials = !!a.withCredentials), i && i !== "json" && (g.responseType = a.responseType), u && ([p, d] = Yt(u, !0), g.addEventListener("progress", p)), l && g.upload && ([f, b] = Yt(l), g.upload.addEventListener("progress", f), g.upload.addEventListener("loadend", b)), (a.cancelToken || a.signal) && (c = (P) => {
5740
+ g && (r(!P || P.type ? new lt(null, e, g) : P), g.abort(), g = null);
5738
5741
  }, a.cancelToken && a.cancelToken.subscribe(c), a.signal && (a.signal.aborted ? c() : a.signal.addEventListener("abort", c)));
5739
5742
  const w = If(a.url);
5740
- if (w && pe.protocols.indexOf(w) === -1) {
5743
+ if (w && he.protocols.indexOf(w) === -1) {
5741
5744
  r(new Y("Unsupported protocol " + w + ":", Y.ERR_BAD_REQUEST, e));
5742
5745
  return;
5743
5746
  }
@@ -5751,7 +5754,7 @@ const Ls = (e) => {
5751
5754
  if (!a) {
5752
5755
  a = !0, i();
5753
5756
  const c = u instanceof Error ? u : this.reason;
5754
- r.abort(c instanceof Y ? c : new it(c instanceof Error ? c.message : c));
5757
+ r.abort(c instanceof Y ? c : new lt(c instanceof Error ? c.message : c));
5755
5758
  }
5756
5759
  };
5757
5760
  let s = t && setTimeout(() => {
@@ -5809,8 +5812,8 @@ const Ls = (e) => {
5809
5812
  }
5810
5813
  let f = c.byteLength;
5811
5814
  if (n) {
5812
- let h = o += f;
5813
- n(h);
5815
+ let p = o += f;
5816
+ n(p);
5814
5817
  }
5815
5818
  l.enqueue(new Uint8Array(c));
5816
5819
  } catch (u) {
@@ -5823,11 +5826,11 @@ const Ls = (e) => {
5823
5826
  }, {
5824
5827
  highWaterMark: 2
5825
5828
  });
5826
- }, Jr = 64 * 1024, { isFunction: Nt } = y, Yf = (({ Request: e, Response: t }) => ({
5829
+ }, Kr = 64 * 1024, { isFunction: Nt } = y, Yf = (({ Request: e, Response: t }) => ({
5827
5830
  Request: e,
5828
5831
  Response: t
5829
5832
  }))(y.global), {
5830
- ReadableStream: Kr,
5833
+ ReadableStream: Jr,
5831
5834
  TextEncoder: Gr
5832
5835
  } = y.global, Xr = (e, ...t) => {
5833
5836
  try {
@@ -5842,10 +5845,10 @@ const Ls = (e) => {
5842
5845
  const { fetch: t, Request: n, Response: r } = e, a = t ? Nt(t) : typeof fetch == "function", o = Nt(n), s = Nt(r);
5843
5846
  if (!a)
5844
5847
  return !1;
5845
- const i = a && Nt(Kr), l = a && (typeof Gr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new Gr()) : async (d) => new Uint8Array(await new n(d).arrayBuffer())), u = o && i && Xr(() => {
5848
+ const i = a && Nt(Jr), l = a && (typeof Gr == "function" ? /* @__PURE__ */ ((d) => (m) => d.encode(m))(new Gr()) : async (d) => new Uint8Array(await new n(d).arrayBuffer())), u = o && i && Xr(() => {
5846
5849
  let d = !1;
5847
- const m = new n(pe.origin, {
5848
- body: new Kr(),
5850
+ const m = new n(he.origin, {
5851
+ body: new Jr(),
5849
5852
  method: "POST",
5850
5853
  get duplex() {
5851
5854
  return d = !0, "half";
@@ -5863,13 +5866,13 @@ const Ls = (e) => {
5863
5866
  throw new Y(`Response type '${d}' is not supported`, Y.ERR_NOT_SUPPORT, g);
5864
5867
  });
5865
5868
  });
5866
- const h = async (d) => {
5869
+ const p = async (d) => {
5867
5870
  if (d == null)
5868
5871
  return 0;
5869
5872
  if (y.isBlob(d))
5870
5873
  return d.size;
5871
5874
  if (y.isSpecCompliantForm(d))
5872
- return (await new n(pe.origin, {
5875
+ return (await new n(he.origin, {
5873
5876
  method: "POST",
5874
5877
  body: d
5875
5878
  }).arrayBuffer()).byteLength;
@@ -5879,7 +5882,7 @@ const Ls = (e) => {
5879
5882
  return (await l(d)).byteLength;
5880
5883
  }, b = async (d, m) => {
5881
5884
  const g = y.toFiniteNumber(d.getContentLength());
5882
- return g == null ? h(m) : g;
5885
+ return g == null ? p(m) : g;
5883
5886
  };
5884
5887
  return async (d) => {
5885
5888
  let {
@@ -5894,10 +5897,10 @@ const Ls = (e) => {
5894
5897
  responseType: D,
5895
5898
  headers: ne,
5896
5899
  withCredentials: X = "same-origin",
5897
- fetchOptions: T
5900
+ fetchOptions: _
5898
5901
  } = Ls(d), A = t || fetch;
5899
5902
  D = D ? (D + "").toLowerCase() : "text";
5900
- let M = zf([w, P && P.toAbortSignal()], W), _ = null;
5903
+ let M = zf([w, P && P.toAbortSignal()], W), T = null;
5901
5904
  const C = M && M.unsubscribe && (() => {
5902
5905
  M.unsubscribe();
5903
5906
  });
@@ -5914,12 +5917,12 @@ const Ls = (e) => {
5914
5917
  k,
5915
5918
  Yt(Wr(L))
5916
5919
  );
5917
- v = qr(Z.body, Jr, oe, ue);
5920
+ v = qr(Z.body, Kr, oe, ue);
5918
5921
  }
5919
5922
  }
5920
5923
  y.isString(X) || (X = X ? "include" : "omit");
5921
5924
  const x = o && "credentials" in n.prototype, N = {
5922
- ...T,
5925
+ ..._,
5923
5926
  signal: M,
5924
5927
  method: g.toUpperCase(),
5925
5928
  headers: ne.normalize().toJSON(),
@@ -5927,8 +5930,8 @@ const Ls = (e) => {
5927
5930
  duplex: "half",
5928
5931
  credentials: x ? X : void 0
5929
5932
  };
5930
- _ = o && new n(m, N);
5931
- let O = await (o ? A(_, T) : A(m, N));
5933
+ T = o && new n(m, N);
5934
+ let O = await (o ? A(T, _) : A(m, N));
5932
5935
  const I = c && (D === "stream" || D === "response");
5933
5936
  if (c && (H || I && C)) {
5934
5937
  const Z = {};
@@ -5940,7 +5943,7 @@ const Ls = (e) => {
5940
5943
  Yt(Wr(H), !0)
5941
5944
  ) || [];
5942
5945
  O = new r(
5943
- qr(O.body, Jr, oe, () => {
5946
+ qr(O.body, Kr, oe, () => {
5944
5947
  ue && ue(), C && C();
5945
5948
  }),
5946
5949
  Z
@@ -5955,26 +5958,26 @@ const Ls = (e) => {
5955
5958
  status: O.status,
5956
5959
  statusText: O.statusText,
5957
5960
  config: d,
5958
- request: _
5961
+ request: T
5959
5962
  });
5960
5963
  });
5961
5964
  } catch (x) {
5962
5965
  throw C && C(), x && x.name === "TypeError" && /Load failed|fetch/i.test(x.message) ? Object.assign(
5963
- new Y("Network Error", Y.ERR_NETWORK, d, _),
5966
+ new Y("Network Error", Y.ERR_NETWORK, d, T),
5964
5967
  {
5965
5968
  cause: x.cause || x
5966
5969
  }
5967
- ) : Y.from(x, x && x.code, d, _);
5970
+ ) : Y.from(x, x && x.code, d, T);
5968
5971
  }
5969
5972
  };
5970
- }, Jf = /* @__PURE__ */ new Map(), Bs = (e) => {
5973
+ }, Kf = /* @__PURE__ */ new Map(), Bs = (e) => {
5971
5974
  let t = e && e.env || {};
5972
5975
  const { fetch: n, Request: r, Response: a } = t, o = [
5973
5976
  r,
5974
5977
  a,
5975
5978
  n
5976
5979
  ];
5977
- let s = o.length, i = s, l, u, c = Jf;
5980
+ let s = o.length, i = s, l, u, c = Kf;
5978
5981
  for (; i--; )
5979
5982
  l = o[i], u = c.get(l), u === void 0 && c.set(l, u = i ? /* @__PURE__ */ new Map() : qf(t)), c = u;
5980
5983
  return u;
@@ -5996,7 +5999,7 @@ y.forEach(or, (e, t) => {
5996
5999
  Object.defineProperty(e, "adapterName", { value: t });
5997
6000
  }
5998
6001
  });
5999
- const Zr = (e) => `- ${e}`, Kf = (e) => y.isFunction(e) || e === null || e === !1;
6002
+ const Zr = (e) => `- ${e}`, Jf = (e) => y.isFunction(e) || e === null || e === !1;
6000
6003
  function Gf(e, t) {
6001
6004
  e = y.isArray(e) ? e : [e];
6002
6005
  const { length: n } = e;
@@ -6005,7 +6008,7 @@ function Gf(e, t) {
6005
6008
  for (let s = 0; s < n; s++) {
6006
6009
  r = e[s];
6007
6010
  let i;
6008
- if (a = r, !Kf(r) && (a = or[(i = String(r)).toLowerCase()], a === void 0))
6011
+ if (a = r, !Jf(r) && (a = or[(i = String(r)).toLowerCase()], a === void 0))
6009
6012
  throw new Y(`Unknown adapter '${i}'`);
6010
6013
  if (a && (y.isFunction(a) || (a = a.get(t))))
6011
6014
  break;
@@ -6037,22 +6040,22 @@ const Us = {
6037
6040
  */
6038
6041
  adapters: or
6039
6042
  };
6040
- function pn(e) {
6043
+ function hn(e) {
6041
6044
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
6042
- throw new it(null, e);
6045
+ throw new lt(null, e);
6043
6046
  }
6044
6047
  function Qr(e) {
6045
- return pn(e), e.headers = Se.from(e.headers), e.data = hn.call(
6048
+ return hn(e), e.headers = Se.from(e.headers), e.data = pn.call(
6046
6049
  e,
6047
6050
  e.transformRequest
6048
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Us.getAdapter(e.adapter || _t.adapter, e)(e).then(function(r) {
6049
- return pn(e), r.data = hn.call(
6051
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Us.getAdapter(e.adapter || Tt.adapter, e)(e).then(function(r) {
6052
+ return hn(e), r.data = pn.call(
6050
6053
  e,
6051
6054
  e.transformResponse,
6052
6055
  r
6053
6056
  ), r.headers = Se.from(r.headers), r;
6054
6057
  }, function(r) {
6055
- return Ms(r) || (pn(e), r && r.response && (r.response.data = hn.call(
6058
+ return Ms(r) || (hn(e), r && r.response && (r.response.data = pn.call(
6056
6059
  e,
6057
6060
  e.transformResponse,
6058
6061
  r.response
@@ -6141,7 +6144,7 @@ let Ye = class {
6141
6144
  }
6142
6145
  }
6143
6146
  _request(t, n) {
6144
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Ke(this.defaults, n);
6147
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Je(this.defaults, n);
6145
6148
  const { transitional: r, paramsSerializer: a, headers: o } = n;
6146
6149
  r !== void 0 && Bt.assertOptions(r, {
6147
6150
  silentJSONParsing: Ne.transitional(Ne.boolean),
@@ -6175,16 +6178,16 @@ let Ye = class {
6175
6178
  this.interceptors.response.forEach(function(m) {
6176
6179
  u.push(m.fulfilled, m.rejected);
6177
6180
  });
6178
- let c, f = 0, h;
6181
+ let c, f = 0, p;
6179
6182
  if (!l) {
6180
6183
  const d = [Qr.bind(this), void 0];
6181
- for (d.unshift(...i), d.push(...u), h = d.length, c = Promise.resolve(n); f < h; )
6184
+ for (d.unshift(...i), d.push(...u), p = d.length, c = Promise.resolve(n); f < p; )
6182
6185
  c = c.then(d[f++], d[f++]);
6183
6186
  return c;
6184
6187
  }
6185
- h = i.length;
6188
+ p = i.length;
6186
6189
  let b = n;
6187
- for (; f < h; ) {
6190
+ for (; f < p; ) {
6188
6191
  const d = i[f++], m = i[f++];
6189
6192
  try {
6190
6193
  b = d(b);
@@ -6198,19 +6201,19 @@ let Ye = class {
6198
6201
  } catch (d) {
6199
6202
  return Promise.reject(d);
6200
6203
  }
6201
- for (f = 0, h = u.length; f < h; )
6204
+ for (f = 0, p = u.length; f < p; )
6202
6205
  c = c.then(u[f++], u[f++]);
6203
6206
  return c;
6204
6207
  }
6205
6208
  getUri(t) {
6206
- t = Ke(this.defaults, t);
6209
+ t = Je(this.defaults, t);
6207
6210
  const n = Ds(t.baseURL, t.url, t.allowAbsoluteUrls);
6208
6211
  return Is(n, t.params, t.paramsSerializer);
6209
6212
  }
6210
6213
  };
6211
6214
  y.forEach(["delete", "get", "head", "options"], function(t) {
6212
6215
  Ye.prototype[t] = function(n, r) {
6213
- return this.request(Ke(r || {}, {
6216
+ return this.request(Je(r || {}, {
6214
6217
  method: t,
6215
6218
  url: n,
6216
6219
  data: (r || {}).data
@@ -6220,7 +6223,7 @@ y.forEach(["delete", "get", "head", "options"], function(t) {
6220
6223
  y.forEach(["post", "put", "patch"], function(t) {
6221
6224
  function n(r) {
6222
6225
  return function(o, s, i) {
6223
- return this.request(Ke(i || {}, {
6226
+ return this.request(Je(i || {}, {
6224
6227
  method: t,
6225
6228
  headers: r ? {
6226
6229
  "Content-Type": "multipart/form-data"
@@ -6256,7 +6259,7 @@ let Zf = class Hs {
6256
6259
  r.unsubscribe(o);
6257
6260
  }, s;
6258
6261
  }, t(function(o, s, i) {
6259
- r.reason || (r.reason = new it(o, s, i), n(r.reason));
6262
+ r.reason || (r.reason = new lt(o, s, i), n(r.reason));
6260
6263
  });
6261
6264
  }
6262
6265
  /**
@@ -6390,12 +6393,12 @@ Object.entries(Bn).forEach(([e, t]) => {
6390
6393
  function Vs(e) {
6391
6394
  const t = new Ye(e), n = ws(Ye.prototype.request, t);
6392
6395
  return y.extend(n, Ye.prototype, t, { allOwnKeys: !0 }), y.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(a) {
6393
- return Vs(Ke(e, a));
6396
+ return Vs(Je(e, a));
6394
6397
  }, n;
6395
6398
  }
6396
- const fe = Vs(_t);
6399
+ const fe = Vs(Tt);
6397
6400
  fe.Axios = Ye;
6398
- fe.CanceledError = it;
6401
+ fe.CanceledError = lt;
6399
6402
  fe.CancelToken = Zf;
6400
6403
  fe.isCancel = Ms;
6401
6404
  fe.VERSION = zs;
@@ -6407,29 +6410,29 @@ fe.all = function(t) {
6407
6410
  };
6408
6411
  fe.spread = Qf;
6409
6412
  fe.isAxiosError = ed;
6410
- fe.mergeConfig = Ke;
6413
+ fe.mergeConfig = Je;
6411
6414
  fe.AxiosHeaders = Se;
6412
6415
  fe.formToJSON = (e) => Rs(y.isHTMLForm(e) ? new FormData(e) : e);
6413
6416
  fe.getAdapter = Us.getAdapter;
6414
6417
  fe.HttpStatusCode = Bn;
6415
6418
  fe.default = fe;
6416
6419
  const {
6417
- Axios: Qh,
6418
- AxiosError: ep,
6419
- CanceledError: tp,
6420
- isCancel: np,
6421
- CancelToken: rp,
6422
- VERSION: ap,
6423
- all: sp,
6424
- Cancel: op,
6425
- isAxiosError: ip,
6426
- spread: lp,
6427
- toFormData: up,
6428
- AxiosHeaders: cp,
6429
- HttpStatusCode: fp,
6430
- formToJSON: dp,
6431
- getAdapter: mp,
6432
- mergeConfig: hp
6420
+ Axios: Qp,
6421
+ AxiosError: eh,
6422
+ CanceledError: th,
6423
+ isCancel: nh,
6424
+ CancelToken: rh,
6425
+ VERSION: ah,
6426
+ all: sh,
6427
+ Cancel: oh,
6428
+ isAxiosError: ih,
6429
+ spread: lh,
6430
+ toFormData: uh,
6431
+ AxiosHeaders: ch,
6432
+ HttpStatusCode: fh,
6433
+ formToJSON: dh,
6434
+ getAdapter: mh,
6435
+ mergeConfig: ph
6433
6436
  } = fe, td = { class: "s-htmleditor" }, nd = {
6434
6437
  __name: "SHtmlEditor",
6435
6438
  props: /* @__PURE__ */ ie({
@@ -6602,10 +6605,10 @@ const {
6602
6605
  // Не фильтровать iframe и другие теги
6603
6606
  // Добавляем Kinescope в список провайдеров
6604
6607
  media_url_resolver: function(l, u, c) {
6605
- const f = /https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/, h = l.url.match(f);
6606
- if (h) {
6608
+ const f = /https:\/\/kinescope\.io\/embed\/([a-zA-Z0-9]+)/, p = l.url.match(f);
6609
+ if (p) {
6607
6610
  const d = `<iframe
6608
- src="https://kinescope.io/embed/${h[1]}"
6611
+ src="https://kinescope.io/embed/${p[1]}"
6609
6612
  width="1280"
6610
6613
  height="720"
6611
6614
  frameborder="0"
@@ -6635,23 +6638,23 @@ const {
6635
6638
  }
6636
6639
  },
6637
6640
  setup(l) {
6638
- const u = (h) => {
6639
- const b = h.parentNode;
6640
- return !!(b && b.tagName && b.tagName.toLowerCase() === "div" && b.firstElementChild === h && b.children.length === 1);
6641
- }, c = (h) => {
6642
- if (!h || !h.parentNode || u(h)) return;
6643
- const b = l.getDoc(), d = h.parentNode, m = h.getAttribute && h.getAttribute("class") || "";
6641
+ const u = (p) => {
6642
+ const b = p.parentNode;
6643
+ return !!(b && b.tagName && b.tagName.toLowerCase() === "div" && b.firstElementChild === p && b.children.length === 1);
6644
+ }, c = (p) => {
6645
+ if (!p || !p.parentNode || u(p)) return;
6646
+ const b = l.getDoc(), d = p.parentNode, m = p.getAttribute && p.getAttribute("class") || "";
6644
6647
  l.undoManager.transact(() => {
6645
6648
  const g = b.createElement("div");
6646
- m && (g.className = m, h.removeAttribute("class")), d.insertBefore(g, h), g.appendChild(h);
6649
+ m && (g.className = m, p.removeAttribute("class")), d.insertBefore(g, p), g.appendChild(p);
6647
6650
  });
6648
6651
  try {
6649
6652
  l.nodeChanged();
6650
6653
  } catch {
6651
6654
  }
6652
- }, f = (h) => {
6653
- if (!h || !h.querySelectorAll) return;
6654
- h.querySelectorAll("img").forEach((d) => {
6655
+ }, f = (p) => {
6656
+ if (!p || !p.querySelectorAll) return;
6657
+ p.querySelectorAll("img").forEach((d) => {
6655
6658
  try {
6656
6659
  c(d);
6657
6660
  } catch {
@@ -6659,12 +6662,12 @@ const {
6659
6662
  });
6660
6663
  };
6661
6664
  l.on("init", () => {
6662
- const h = l.getDoc();
6663
- if (!h) return;
6665
+ const p = l.getDoc();
6666
+ if (!p) return;
6664
6667
  const b = l.insertContent.bind(l);
6665
6668
  l.insertContent = (m, g) => {
6666
6669
  if (typeof m == "string" && m.includes("<img")) {
6667
- const v = h.createElement("div");
6670
+ const v = p.createElement("div");
6668
6671
  v.innerHTML = m, f(v), m = v.innerHTML;
6669
6672
  }
6670
6673
  return b(m, g);
@@ -6718,7 +6721,7 @@ const {
6718
6721
  function i() {
6719
6722
  n("changeContent");
6720
6723
  }
6721
- return (l, u) => (p(), S("div", td, [
6724
+ return (l, u) => (h(), S("div", td, [
6722
6725
  Q(R(io), {
6723
6726
  init: o.value,
6724
6727
  modelValue: a.value,
@@ -6753,7 +6756,7 @@ const {
6753
6756
  t.loading && "loading",
6754
6757
  t.color && `color_${t.color}`
6755
6758
  ]);
6756
- return (s, i) => (p(), ae(wt(a.value), {
6759
+ return (s, i) => (h(), ae(wt(a.value), {
6757
6760
  class: z(o.value)
6758
6761
  }, {
6759
6762
  default: ke(() => [
@@ -6778,7 +6781,7 @@ const {
6778
6781
  }),
6779
6782
  emits: /* @__PURE__ */ ie(["select", "clear"], ["update:modelValue"]),
6780
6783
  setup(e, { expose: t, emit: n }) {
6781
- const r = e, a = Oe(e, "modelValue"), o = n, s = Te("fileInput"), i = () => {
6784
+ const r = e, a = Oe(e, "modelValue"), o = n, s = _e("fileInput"), i = () => {
6782
6785
  s.value.click();
6783
6786
  }, l = V(() => a.value ? (Array.isArray(a.value) ? a.value : [a.value]).map((m) => m instanceof File ? m.name : m) : []);
6784
6787
  function u(d) {
@@ -6799,20 +6802,20 @@ const {
6799
6802
  const m = r.accept.split(",").map((v) => v.trim()), g = "." + d.name.split(".").pop();
6800
6803
  return m.includes(g);
6801
6804
  }
6802
- function h(d) {
6805
+ function p(d) {
6803
6806
  Array.isArray(a.value) ? a.value = a.value.filter((m) => m instanceof File ? m.name !== d : m !== d) : a.value = null, s.value.value = "";
6804
6807
  }
6805
6808
  function b() {
6806
6809
  a.value = r.multiple ? [] : null, o("clear");
6807
6810
  }
6808
- return t({ clear: b, remove: h }), (d, m) => (p(), S("div", rd, [
6811
+ return t({ clear: b, remove: p }), (d, m) => (h(), S("div", rd, [
6809
6812
  E("div", ad, [
6810
6813
  d.$slots.header ? F(d.$slots, "header", {
6811
6814
  key: 0,
6812
6815
  choose: i,
6813
6816
  clear: b,
6814
6817
  files: a.value
6815
- }) : (p(), ae(qt, {
6818
+ }) : (h(), ae(qt, {
6816
6819
  key: 1,
6817
6820
  class: "s-upload-button",
6818
6821
  outlined: "",
@@ -6837,12 +6840,12 @@ const {
6837
6840
  onChange: u
6838
6841
  }, null, 40, sd)
6839
6842
  ]),
6840
- l.value.length ? (p(), S("div", od, [
6843
+ l.value.length ? (h(), S("div", od, [
6841
6844
  d.$slots.preview ? F(d.$slots, "preview", {
6842
6845
  key: 0,
6843
6846
  files: l.value,
6844
- remove: h
6845
- }) : (p(!0), S(ee, { key: 1 }, de(l.value, (g, v) => (p(), S("div", {
6847
+ remove: p
6848
+ }) : (h(!0), S(ee, { key: 1 }, de(l.value, (g, v) => (h(), S("div", {
6846
6849
  key: `${g}-${v}`,
6847
6850
  class: "s-upload-content-item"
6848
6851
  }, [
@@ -6850,7 +6853,7 @@ const {
6850
6853
  Q(R(re), {
6851
6854
  icon: "xmark",
6852
6855
  class: "delete",
6853
- onClick: (w) => h(g)
6856
+ onClick: (w) => p(g)
6854
6857
  }, null, 8, ["onClick"])
6855
6858
  ]))), 128))
6856
6859
  ])) : B("", !0),
@@ -6862,9 +6865,9 @@ function ld(e) {
6862
6865
  var t = typeof e;
6863
6866
  return e != null && (t == "object" || t == "function");
6864
6867
  }
6865
- var Ws = ld, ud = typeof mt == "object" && mt && mt.Object === Object && mt, cd = ud, fd = cd, dd = typeof self == "object" && self && self.Object === Object && self, md = fd || dd || Function("return this")(), Ys = md, hd = Ys, pd = function() {
6866
- return hd.Date.now();
6867
- }, vd = pd, gd = /\s/;
6868
+ var Ws = ld, ud = typeof pt == "object" && pt && pt.Object === Object && pt, cd = ud, fd = cd, dd = typeof self == "object" && self && self.Object === Object && self, md = fd || dd || Function("return this")(), Ys = md, pd = Ys, hd = function() {
6869
+ return pd.Date.now();
6870
+ }, vd = hd, gd = /\s/;
6868
6871
  function yd(e) {
6869
6872
  for (var t = e.length; t-- && gd.test(e.charAt(t)); )
6870
6873
  ;
@@ -6874,22 +6877,22 @@ var bd = yd, Sd = bd, wd = /^\s+/;
6874
6877
  function kd(e) {
6875
6878
  return e && e.slice(0, Sd(e) + 1).replace(wd, "");
6876
6879
  }
6877
- var xd = kd, $d = Ys, Ad = $d.Symbol, qs = Ad, ta = qs, Js = Object.prototype, Od = Js.hasOwnProperty, Ed = Js.toString, ft = ta ? ta.toStringTag : void 0;
6878
- function _d(e) {
6879
- var t = Od.call(e, ft), n = e[ft];
6880
+ var xd = kd, $d = Ys, Ad = $d.Symbol, qs = Ad, ta = qs, Ks = Object.prototype, Od = Ks.hasOwnProperty, Ed = Ks.toString, dt = ta ? ta.toStringTag : void 0;
6881
+ function Td(e) {
6882
+ var t = Od.call(e, dt), n = e[dt];
6880
6883
  try {
6881
- e[ft] = void 0;
6884
+ e[dt] = void 0;
6882
6885
  var r = !0;
6883
6886
  } catch {
6884
6887
  }
6885
6888
  var a = Ed.call(e);
6886
- return r && (t ? e[ft] = n : delete e[ft]), a;
6889
+ return r && (t ? e[dt] = n : delete e[dt]), a;
6887
6890
  }
6888
- var Td = _d, Cd = Object.prototype, Pd = Cd.toString;
6891
+ var _d = Td, Cd = Object.prototype, Pd = Cd.toString;
6889
6892
  function Nd(e) {
6890
6893
  return Pd.call(e);
6891
6894
  }
6892
- var Id = Nd, na = qs, Fd = Td, Rd = Id, Md = "[object Null]", jd = "[object Undefined]", ra = na ? na.toStringTag : void 0;
6895
+ var Id = Nd, na = qs, Fd = _d, Rd = Id, Md = "[object Null]", jd = "[object Undefined]", ra = na ? na.toStringTag : void 0;
6893
6896
  function Dd(e) {
6894
6897
  return e == null ? e === void 0 ? jd : Md : ra && ra in Object(e) ? Fd(e) : Rd(e);
6895
6898
  }
@@ -6901,11 +6904,11 @@ var Ud = Bd, zd = Ld, Hd = Ud, Vd = "[object Symbol]";
6901
6904
  function Wd(e) {
6902
6905
  return typeof e == "symbol" || Hd(e) && zd(e) == Vd;
6903
6906
  }
6904
- var Yd = Wd, qd = xd, aa = Ws, Jd = Yd, sa = NaN, Kd = /^[-+]0x[0-9a-f]+$/i, Gd = /^0b[01]+$/i, Xd = /^0o[0-7]+$/i, Zd = parseInt;
6907
+ var Yd = Wd, qd = xd, aa = Ws, Kd = Yd, sa = NaN, Jd = /^[-+]0x[0-9a-f]+$/i, Gd = /^0b[01]+$/i, Xd = /^0o[0-7]+$/i, Zd = parseInt;
6905
6908
  function Qd(e) {
6906
6909
  if (typeof e == "number")
6907
6910
  return e;
6908
- if (Jd(e))
6911
+ if (Kd(e))
6909
6912
  return sa;
6910
6913
  if (aa(e)) {
6911
6914
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -6915,14 +6918,14 @@ function Qd(e) {
6915
6918
  return e === 0 ? e : +e;
6916
6919
  e = qd(e);
6917
6920
  var n = Gd.test(e);
6918
- return n || Xd.test(e) ? Zd(e.slice(2), n ? 2 : 8) : Kd.test(e) ? sa : +e;
6921
+ return n || Xd.test(e) ? Zd(e.slice(2), n ? 2 : 8) : Jd.test(e) ? sa : +e;
6919
6922
  }
6920
6923
  var em = Qd, tm = Ws, vn = vd, oa = em, nm = "Expected a function", rm = Math.max, am = Math.min;
6921
6924
  function sm(e, t, n) {
6922
- var r, a, o, s, i, l, u = 0, c = !1, f = !1, h = !0;
6925
+ var r, a, o, s, i, l, u = 0, c = !1, f = !1, p = !0;
6923
6926
  if (typeof e != "function")
6924
6927
  throw new TypeError(nm);
6925
- t = oa(t) || 0, tm(n) && (c = !!n.leading, f = "maxWait" in n, o = f ? rm(oa(n.maxWait) || 0, t) : o, h = "trailing" in n ? !!n.trailing : h);
6928
+ t = oa(t) || 0, tm(n) && (c = !!n.leading, f = "maxWait" in n, o = f ? rm(oa(n.maxWait) || 0, t) : o, p = "trailing" in n ? !!n.trailing : p);
6926
6929
  function b(L) {
6927
6930
  var D = r, ne = a;
6928
6931
  return r = a = void 0, u = L, s = e.apply(ne, D), s;
@@ -6945,7 +6948,7 @@ function sm(e, t, n) {
6945
6948
  i = setTimeout(v, m(L));
6946
6949
  }
6947
6950
  function w(L) {
6948
- return i = void 0, h && r ? b(L) : (r = a = void 0, s);
6951
+ return i = void 0, p && r ? b(L) : (r = a = void 0, s);
6949
6952
  }
6950
6953
  function P() {
6951
6954
  i !== void 0 && clearTimeout(i), u = 0, r = l = a = i = void 0;
@@ -6973,7 +6976,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
6973
6976
  debounce: Number
6974
6977
  },
6975
6978
  setup(e) {
6976
- const t = e, n = Ae("params", {}), r = Jt(), a = K(() => {
6979
+ const t = e, n = Ae("params", {}), r = Kt(), a = K(() => {
6977
6980
  });
6978
6981
  we(
6979
6982
  () => [t.debounce, t.name],
@@ -6991,14 +6994,14 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
6991
6994
  return typeof u.type != "object" ? u : (o.value = (c = n == null ? void 0 : n.value[t.name]) != null ? c : null, o.value && u.type.__name === "SDatePicker" && u.props.range !== null && (o.value = o.value.split("-")), la(u, {
6992
6995
  modelValue: o.value,
6993
6996
  "onUpdate:modelValue": (f) => {
6994
- const h = Array.isArray(f) ? f.join("-") : f;
6995
- a.value(h);
6997
+ const p = Array.isArray(f) ? f.join("-") : f;
6998
+ a.value(p);
6996
6999
  }
6997
7000
  }));
6998
7001
  });
6999
7002
  });
7000
- return (i, l) => (p(), S("div", lm, [
7001
- e.name ? (p(!0), S(ee, { key: 0 }, de(s.value, (u, c) => (p(), ae(wt(u), { key: c }))), 128)) : B("", !0)
7003
+ return (i, l) => (h(), S("div", lm, [
7004
+ e.name ? (h(!0), S(ee, { key: 0 }, de(s.value, (u, c) => (h(), ae(wt(u), { key: c }))), 128)) : B("", !0)
7002
7005
  ]));
7003
7006
  }
7004
7007
  }, cm = { class: "s-filtergroup" }, fm = {
@@ -7016,7 +7019,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7016
7019
  const i = new URLSearchParams(window.location.search);
7017
7020
  return Object.fromEntries(i.entries());
7018
7021
  }
7019
- Fe("params", n), yt(() => {
7022
+ Fe("params", n), tt(() => {
7020
7023
  t.bindToGet ? n.value = { ...a() } : n.value = r.value;
7021
7024
  });
7022
7025
  const o = (i) => {
@@ -7035,17 +7038,17 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7035
7038
  const s = () => {
7036
7039
  n.value = { ...a() };
7037
7040
  };
7038
- return t.bindToGet && (yt(() => window.addEventListener("popstate", s)), fa(() => window.removeEventListener("popstate", s))), (i, l) => (p(), S("div", cm, [
7041
+ return t.bindToGet && (tt(() => window.addEventListener("popstate", s)), fa(() => window.removeEventListener("popstate", s))), (i, l) => (h(), S("div", cm, [
7039
7042
  F(i.$slots, "default")
7040
7043
  ]));
7041
7044
  }
7042
7045
  }, dm = {
7043
7046
  key: 0,
7044
7047
  ref: "theadRef"
7045
- }, mm = { key: 0 }, hm = {
7048
+ }, mm = { key: 0 }, pm = {
7046
7049
  key: 0,
7047
7050
  class: "s-table-nodata"
7048
- }, pm = { colspan: "100" }, vm = { key: 1 }, gm = { key: 0 }, ym = {
7051
+ }, hm = { colspan: "100" }, vm = { key: 1 }, gm = { key: 0 }, ym = {
7049
7052
  __name: "STable",
7050
7053
  props: {
7051
7054
  data: [Array, Object],
@@ -7063,25 +7066,25 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7063
7066
  },
7064
7067
  setup(e) {
7065
7068
  const t = e, n = V(() => t.data ? t.data instanceof Array ? t.data.length === 0 : Object.values(t.data).length === 0 : !1);
7066
- return (r, a) => (p(), S("div", {
7069
+ return (r, a) => (h(), S("div", {
7067
7070
  class: z(["s-table", { hoverable: e.hoverable, striped: e.striped, bordered: e.bordered, scrollon_top: t.scroll === "top" }])
7068
7071
  }, [
7069
7072
  E("table", null, [
7070
- r.$slots.header || r.$slots.headers ? (p(), S("thead", dm, [
7071
- r.$slots.header ? (p(), S("tr", mm, [
7073
+ r.$slots.header || r.$slots.headers ? (h(), S("thead", dm, [
7074
+ r.$slots.header ? (h(), S("tr", mm, [
7072
7075
  F(r.$slots, "header")
7073
7076
  ])) : r.$slots.headers ? F(r.$slots, "headers", { key: 1 }) : B("", !0)
7074
7077
  ], 512)) : B("", !0),
7075
7078
  E("tbody", null, [
7076
- r.$slots.row ? (p(), S(ee, { key: 0 }, [
7077
- n.value ? (p(), S("tr", hm, [
7078
- E("td", pm, [
7079
+ r.$slots.row ? (h(), S(ee, { key: 0 }, [
7080
+ n.value ? (h(), S("tr", pm, [
7081
+ E("td", hm, [
7079
7082
  F(r.$slots, "nodata", {}, () => [
7080
7083
  le(G(e.nodata), 1)
7081
7084
  ])
7082
7085
  ])
7083
7086
  ])) : B("", !0),
7084
- (p(!0), S(ee, null, de(e.data, (o, s) => (p(), S("tr", {
7087
+ (h(!0), S(ee, null, de(e.data, (o, s) => (h(), S("tr", {
7085
7088
  key: `${s}-stable`
7086
7089
  }, [
7087
7090
  F(r.$slots, "row", {
@@ -7091,8 +7094,8 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7091
7094
  ]))), 128))
7092
7095
  ], 64)) : F(r.$slots, "default", { key: 1 })
7093
7096
  ]),
7094
- r.$slots.footer || r.$slots.footers ? (p(), S("tfoot", vm, [
7095
- r.$slots.footer ? (p(), S("tr", gm, [
7097
+ r.$slots.footer || r.$slots.footers ? (h(), S("tfoot", vm, [
7098
+ r.$slots.footer ? (h(), S("tr", gm, [
7096
7099
  F(r.$slots, "footer")
7097
7100
  ])) : B("", !0),
7098
7101
  r.$slots.footers ? F(r.$slots, "footers", { key: 1 }) : B("", !0)
@@ -7144,19 +7147,19 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7144
7147
  const a = t.perPageOptions ? Object.entries(t.perPageOptions).reduce((o, [s, i]) => (o[parseInt(i)] = `По ${i}`, o), {}) : null;
7145
7148
  return (o, s) => {
7146
7149
  const i = bt("Link");
7147
- return p(), S("div", {
7150
+ return h(), S("div", {
7148
7151
  class: z(["s-pagination", { "s-pagination-right": e.links.length <= 3 }])
7149
7152
  }, [
7150
- e.links.length > 3 ? (p(), S("div", bm, [
7151
- (p(!0), S(ee, null, de(e.links, (l, u) => (p(), S(ee, { key: u }, [
7152
- l.url && !l.active ? (p(), ae(i, {
7153
+ e.links.length > 3 ? (h(), S("div", bm, [
7154
+ (h(!0), S(ee, null, de(e.links, (l, u) => (h(), S(ee, { key: u }, [
7155
+ l.url && !l.active ? (h(), ae(i, {
7153
7156
  key: 0,
7154
7157
  class: z({ active: l.active }),
7155
7158
  innerHTML: l.label,
7156
7159
  href: l.url ? l.url.replace(/[\?\&]page\=1$/, "") : "",
7157
7160
  "preserve-scroll": e.preserveScroll,
7158
7161
  "preserve-state": e.preserveState
7159
- }, null, 8, ["class", "innerHTML", "href", "preserve-scroll", "preserve-state"])) : (p(), S("span", {
7162
+ }, null, 8, ["class", "innerHTML", "href", "preserve-scroll", "preserve-state"])) : (h(), S("span", {
7160
7163
  key: 1,
7161
7164
  class: z({ active: l.active }),
7162
7165
  innerHTML: l.label
@@ -7164,7 +7167,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7164
7167
  ], 64))), 128))
7165
7168
  ])) : B("", !0),
7166
7169
  E("div", wm, [
7167
- e.perPageOptions ? (p(), S("div", km, [
7170
+ e.perPageOptions ? (h(), S("div", km, [
7168
7171
  Q(gs, {
7169
7172
  modelValue: n.value,
7170
7173
  "onUpdate:modelValue": s[0] || (s[0] = (l) => n.value = l),
@@ -7172,7 +7175,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7172
7175
  onChange: r
7173
7176
  }, null, 8, ["modelValue", "options"])
7174
7177
  ])) : B("", !0),
7175
- e.from && e.to && e.total ? (p(), S("div", xm, [
7178
+ e.from && e.to && e.total ? (h(), S("div", xm, [
7176
7179
  s[1] || (s[1] = le(" Показаны: ", -1)),
7177
7180
  E("span", $m, G(e.from) + " - " + G(e.to), 1),
7178
7181
  le(" из " + G(e.total), 1)
@@ -7242,7 +7245,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7242
7245
  const v = g.currentTarget.getBoundingClientRect(), w = g.clientY - v.top;
7243
7246
  w >= v.height * 0.35 && w <= v.height * 0.65 ? s.value = { id: m.id, position: "center", relation: "inner" } : w < v.height * 0.35 ? s.value = { id: m.id, position: "top", relation: "before" } : s.value = { id: m.id, position: "bottom", relation: "after" };
7244
7247
  }
7245
- function h(m) {
7248
+ function p(m) {
7246
7249
  const g = m.currentTarget.getBoundingClientRect();
7247
7250
  if (m.clientY < g.top) {
7248
7251
  if (n.data.length > 0) {
@@ -7276,13 +7279,13 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7276
7279
  }
7277
7280
  return (m, g) => {
7278
7281
  const v = bt("STree", !0);
7279
- return p(), S("div", {
7282
+ return h(), S("div", {
7280
7283
  class: "s-tree",
7281
- onDragleave: h
7284
+ onDragleave: p
7282
7285
  }, [
7283
- (p(!0), S(ee, null, de(e.data, (w) => {
7286
+ (h(!0), S(ee, null, de(e.data, (w) => {
7284
7287
  var P, W, H, L, D, ne;
7285
- return p(), S(ee, {
7288
+ return h(), S(ee, {
7286
7289
  key: w.id
7287
7290
  }, [
7288
7291
  E("div", {
@@ -7299,7 +7302,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7299
7302
  onDragover: $e((X) => f(w, X), ["prevent"]),
7300
7303
  onDrop: (X) => b(w, X)
7301
7304
  }, [
7302
- w.children && w.children.length ? (p(), ae(R(re), {
7305
+ w.children && w.children.length ? (h(), ae(R(re), {
7303
7306
  key: 0,
7304
7307
  class: "s-tree-toggle",
7305
7308
  icon: "caret-right",
@@ -7308,18 +7311,18 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7308
7311
  m.$slots.node ? F(m.$slots, "node", {
7309
7312
  key: 1,
7310
7313
  node: w
7311
- }) : (p(), S(ee, { key: 2 }, [
7314
+ }) : (h(), S(ee, { key: 2 }, [
7312
7315
  le(G(w.label), 1)
7313
7316
  ], 64))
7314
7317
  ], 42, Om),
7315
- w.children && R(o).includes(w.id) ? (p(), ae(v, {
7318
+ w.children && R(o).includes(w.id) ? (h(), ae(v, {
7316
7319
  key: 0,
7317
7320
  modelValue: a.value,
7318
7321
  "onUpdate:modelValue": g[0] || (g[0] = (X) => a.value = X),
7319
7322
  draggable: e.draggable,
7320
7323
  data: w.children,
7321
- onDragstart: (X, T) => r("dragstart", X, T),
7322
- onDrop: g[1] || (g[1] = (X, T, A) => r("drop", X, T, A)),
7324
+ onDragstart: (X, _) => r("dragstart", X, _),
7325
+ onDrop: g[1] || (g[1] = (X, _, A) => r("drop", X, _, A)),
7323
7326
  selectable: e.selectable,
7324
7327
  onChange: (X) => r("change", X)
7325
7328
  }, Qs({ _: 2 }, [
@@ -7336,10 +7339,10 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7336
7339
  ], 32);
7337
7340
  };
7338
7341
  }
7339
- }, _m = {
7342
+ }, Tm = {
7340
7343
  key: 0,
7341
7344
  class: "s-confirm"
7342
- }, Tm = { class: "s-confirm-dialog-body" }, Cm = ["innerHTML"], Pm = { class: "s-confirm-buttons" }, Nm = {
7345
+ }, _m = { class: "s-confirm-dialog-body" }, Cm = ["innerHTML"], Pm = { class: "s-confirm-buttons" }, Nm = {
7343
7346
  __name: "SConfirm",
7344
7347
  setup(e, { expose: t }) {
7345
7348
  const n = K(!1), r = K(""), a = {
@@ -7350,22 +7353,22 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7350
7353
  },
7351
7354
  onCancel: () => {
7352
7355
  }
7353
- }, o = K({}), s = Te("$dialog"), i = Te("$header"), { x: l, y: u, style: c } = Hn(s, { handle: i });
7356
+ }, o = K({}), s = _e("$dialog"), i = _e("$header"), { x: l, y: u, style: c } = Hn(s, { handle: i });
7354
7357
  function f(d, m) {
7355
- r.value = d, o.value = { ...a, ...m }, n.value = !0, at(() => {
7358
+ r.value = d, o.value = { ...a, ...m }, n.value = !0, st(() => {
7356
7359
  var v;
7357
7360
  const g = (v = s.value) == null ? void 0 : v.getBoundingClientRect();
7358
7361
  g && (l.value = window.innerWidth / 2 - g.width / 2, u.value = window.innerHeight / 2 - g.height / 2);
7359
7362
  });
7360
7363
  }
7361
- function h() {
7364
+ function p() {
7362
7365
  o.value.onAccept(), o.value = {}, n.value = !1;
7363
7366
  }
7364
7367
  function b() {
7365
7368
  o.value.onCancel(), o.value = {}, n.value = !1;
7366
7369
  }
7367
- return t({ open: f }), (d, m) => (p(), ae(Ge, { to: "body" }, [
7368
- n.value ? (p(), S("div", _m, [
7370
+ return t({ open: f }), (d, m) => (h(), ae(Ge, { to: "body" }, [
7371
+ n.value ? (h(), S("div", Tm, [
7369
7372
  E("div", {
7370
7373
  class: "s-confirm-dialog",
7371
7374
  style: ge(R(c)),
@@ -7383,7 +7386,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7383
7386
  onClick: m[0] || (m[0] = (g) => n.value = !1)
7384
7387
  })
7385
7388
  ], 512),
7386
- E("div", Tm, [
7389
+ E("div", _m, [
7387
7390
  E("p", { innerHTML: r.value }, null, 8, Cm),
7388
7391
  E("div", Pm, [
7389
7392
  Q(qt, {
@@ -7397,7 +7400,7 @@ const im = /* @__PURE__ */ bs(om), lm = { class: "s-filter" }, um = {
7397
7400
  }),
7398
7401
  Q(qt, {
7399
7402
  color: "red",
7400
- onClick: h
7403
+ onClick: p
7401
7404
  }, {
7402
7405
  default: ke(() => [
7403
7406
  le(G(o.value.acceptLabel), 1)
@@ -7421,7 +7424,7 @@ function Im() {
7421
7424
  const e = document.createElement("div"), t = Q(Nm);
7422
7425
  return da(t, e), document.body.appendChild(e.firstChild), It = t.component.exposed, It;
7423
7426
  }
7424
- const Ks = {
7427
+ const Js = {
7425
7428
  open(e, t = {}) {
7426
7429
  return Im().open(e, t);
7427
7430
  }
@@ -7445,12 +7448,12 @@ const Ks = {
7445
7448
  setup(e, { emit: t }) {
7446
7449
  const n = e, r = t, a = Un(), o = V(() => n.is ? n.is : a.href ? "a" : "div");
7447
7450
  function s() {
7448
- n.confirm ? Ks.open(n.confirm, {
7451
+ n.confirm ? Js.open(n.confirm, {
7449
7452
  title: n.confirmTitle,
7450
7453
  onAccept: () => r("click")
7451
7454
  }) : r("click");
7452
7455
  }
7453
- return (i, l) => (p(), ae(wt(o.value), {
7456
+ return (i, l) => (h(), ae(wt(o.value), {
7454
7457
  class: z(["s-actionicon", { danger: e.danger }]),
7455
7458
  onClick: s
7456
7459
  }, {
@@ -7475,9 +7478,9 @@ const Ks = {
7475
7478
  }
7476
7479
  },
7477
7480
  setup(e) {
7478
- const t = e, n = K(!1), r = Te("$tooltip"), a = Te("$icon"), o = K({}), s = K(null);
7481
+ const t = e, n = K(!1), r = _e("$tooltip"), a = _e("$icon"), o = K({}), s = K(null);
7479
7482
  function i() {
7480
- n.value || (n.value = !0, at(() => c()), document.addEventListener("mousemove", u), document.addEventListener("touchstart", u));
7483
+ n.value || (n.value = !0, st(() => c()), document.addEventListener("mousemove", u), document.addEventListener("touchstart", u));
7481
7484
  }
7482
7485
  function l() {
7483
7486
  document.removeEventListener("mousemove", u), document.removeEventListener("touchstart", u), n.value = !1;
@@ -7486,10 +7489,10 @@ const Ks = {
7486
7489
  !a.value.contains(f.target) && !r.value.contains(f.target) && l();
7487
7490
  }
7488
7491
  function c() {
7489
- const f = a.value.getBoundingClientRect(), h = r.value.getBoundingClientRect(), b = {
7492
+ const f = a.value.getBoundingClientRect(), p = r.value.getBoundingClientRect(), b = {
7490
7493
  top: () => ({
7491
- top: `${f.top - h.height + window.scrollY - 5}px`,
7492
- left: `${f.left + f.width / 2 - h.width / 2}px`
7494
+ top: `${f.top - p.height + window.scrollY - 5}px`,
7495
+ left: `${f.left + f.width / 2 - p.width / 2}px`
7493
7496
  }),
7494
7497
  right: () => ({
7495
7498
  top: `${f.top + f.height / 2 + window.scrollY}px`,
@@ -7498,21 +7501,21 @@ const Ks = {
7498
7501
  }),
7499
7502
  bottom: () => ({
7500
7503
  top: `${f.bottom + window.scrollY + 5}px`,
7501
- left: `${f.left + f.width / 2 - h.width / 2}px`
7504
+ left: `${f.left + f.width / 2 - p.width / 2}px`
7502
7505
  }),
7503
7506
  left: () => ({
7504
7507
  top: `${f.top + f.height / 2 + window.scrollY}px`,
7505
7508
  transform: "translateY(-50%)",
7506
- left: `${f.left - h.width - 8}px`
7509
+ left: `${f.left - p.width - 8}px`
7507
7510
  })
7508
7511
  };
7509
7512
  if (t.at) {
7510
7513
  o.value = b[t.at](), s.value = t.at;
7511
7514
  return;
7512
7515
  }
7513
- window.innerHeight - f.top > h.height + 10 ? (o.value = b.bottom(), s.value = "bottom") : f.top > h.height + 10 ? (o.value = b.top(), s.value = "top") : window.innerWidth - f.right > h.width + 10 ? (o.value = b.right(), s.value = "right") : f.left > h.width + 10 ? (o.value = b.left(), s.value = "left") : (o.value = b.bottom(), s.value = "bottom");
7516
+ window.innerHeight - f.top > p.height + 10 ? (o.value = b.bottom(), s.value = "bottom") : f.top > p.height + 10 ? (o.value = b.top(), s.value = "top") : window.innerWidth - f.right > p.width + 10 ? (o.value = b.right(), s.value = "right") : f.left > p.width + 10 ? (o.value = b.left(), s.value = "left") : (o.value = b.bottom(), s.value = "bottom");
7514
7517
  }
7515
- return (f, h) => (p(), S("div", Rm, [
7518
+ return (f, p) => (h(), S("div", Rm, [
7516
7519
  E("div", {
7517
7520
  ref_key: "$icon",
7518
7521
  ref: a,
@@ -7525,9 +7528,9 @@ const Ks = {
7525
7528
  class: "s-tooltip-icon"
7526
7529
  }, null, 8, ["icon"])
7527
7530
  ]),
7528
- h[0] || (h[0] = E("div", { class: "s-tooltip-hoverarea" }, null, -1))
7531
+ p[0] || (p[0] = E("div", { class: "s-tooltip-hoverarea" }, null, -1))
7529
7532
  ], 544),
7530
- n.value ? (p(), ae(Ge, {
7533
+ n.value ? (h(), ae(Ge, {
7531
7534
  key: 0,
7532
7535
  to: "body"
7533
7536
  }, [
@@ -7560,18 +7563,18 @@ const Ks = {
7560
7563
  error: Boolean
7561
7564
  },
7562
7565
  setup(e) {
7563
- return (t, n) => (p(), S("div", {
7566
+ return (t, n) => (h(), S("div", {
7564
7567
  class: z(["s-note", { gray: e.gray, attention: e.attention, success: e.success, error: e.error, has_icon: e.icon }])
7565
7568
  }, [
7566
- e.icon ? (p(), ae(R(re), {
7569
+ e.icon ? (h(), ae(R(re), {
7567
7570
  key: 0,
7568
7571
  icon: e.icon
7569
7572
  }, null, 8, ["icon"])) : B("", !0),
7570
- e.title ? (p(), S("div", jm, G(e.title), 1)) : B("", !0),
7573
+ e.title ? (h(), S("div", jm, G(e.title), 1)) : B("", !0),
7571
7574
  F(t.$slots, "default")
7572
7575
  ], 2));
7573
7576
  }
7574
- }, Lm = { class: "s-toggle-body" }, Bm = /* @__PURE__ */ rt({
7577
+ }, Lm = { class: "s-toggle-body" }, Bm = /* @__PURE__ */ at({
7575
7578
  __name: "SToggle",
7576
7579
  props: {
7577
7580
  title: String,
@@ -7596,11 +7599,11 @@ const Ks = {
7596
7599
  }
7597
7600
  a.value = !a.value;
7598
7601
  }
7599
- return yt(() => {
7602
+ return tt(() => {
7600
7603
  t.opened && o && (o.value = r);
7601
7604
  }), o && we(o, (l, u) => {
7602
7605
  a.value = l === r && l !== u;
7603
- }), (l, u) => (p(), S("div", {
7606
+ }), (l, u) => (h(), S("div", {
7604
7607
  class: z(["s-toggle", [{ opened: a.value }, e.color]])
7605
7608
  }, [
7606
7609
  E("div", {
@@ -7626,7 +7629,7 @@ const Ks = {
7626
7629
  },
7627
7630
  setup(e) {
7628
7631
  const t = e, n = K(null), r = V(() => t.multiple);
7629
- return Fe("openedItem", n), Fe("isMultiple", r), (a, o) => (p(), S("div", Um, [
7632
+ return Fe("openedItem", n), Fe("isMultiple", r), (a, o) => (h(), S("div", Um, [
7630
7633
  F(a.$slots, "default")
7631
7634
  ]));
7632
7635
  }
@@ -7642,7 +7645,7 @@ const Ks = {
7642
7645
  }),
7643
7646
  emits: /* @__PURE__ */ ie(["overlay-click", "hide"], ["update:modelValue"]),
7644
7647
  setup(e, { emit: t }) {
7645
- const n = e, r = t, a = Oe(e, "modelValue"), o = Te("$window"), s = Te("$header"), { x: i, y: l, style: u } = Hn(o, { handle: s }), c = () => {
7648
+ const n = e, r = t, a = Oe(e, "modelValue"), o = _e("$window"), s = _e("$header"), { x: i, y: l, style: u } = Hn(o, { handle: s }), c = () => {
7646
7649
  var m;
7647
7650
  const d = (m = o.value) == null ? void 0 : m.getBoundingClientRect();
7648
7651
  d && (i.value = document.documentElement.clientWidth / 2 - d.width / 2, l.value = document.documentElement.clientHeight / 2 - d.height / 2);
@@ -7651,19 +7654,19 @@ const Ks = {
7651
7654
  window.removeEventListener("resize", c);
7652
7655
  return;
7653
7656
  }
7654
- window.addEventListener("resize", c), c(), at(() => {
7657
+ window.addEventListener("resize", c), c(), st(() => {
7655
7658
  c();
7656
7659
  });
7657
7660
  };
7658
7661
  eo(() => f(a.value)), we(a, f);
7659
- function h() {
7662
+ function p() {
7660
7663
  r("overlay-click") || b();
7661
7664
  }
7662
7665
  function b() {
7663
7666
  a.value = !1, r("hide");
7664
7667
  }
7665
- return (d, m) => (p(), S("template", null, [
7666
- a.value ? (p(), ae(Ge, {
7668
+ return (d, m) => (h(), S("template", null, [
7669
+ a.value ? (h(), ae(Ge, {
7667
7670
  key: 0,
7668
7671
  to: "body"
7669
7672
  }, [
@@ -7689,16 +7692,16 @@ const Ks = {
7689
7692
  F(d.$slots, "default")
7690
7693
  ])
7691
7694
  ], 4),
7692
- e.notModal ? B("", !0) : (p(), S("div", {
7695
+ e.notModal ? B("", !0) : (h(), S("div", {
7693
7696
  key: 0,
7694
7697
  class: "s-dialog-background",
7695
- onClick: h
7698
+ onClick: p
7696
7699
  }))
7697
7700
  ])
7698
7701
  ])) : B("", !0)
7699
7702
  ]));
7700
7703
  }
7701
- }, Ym = ["src"], qm = { class: "s-imagepreview-icon" }, Jm = ["src"], Km = {
7704
+ }, Ym = ["src"], qm = { class: "s-imagepreview-icon" }, Km = ["src"], Jm = {
7702
7705
  __name: "SImagePreview",
7703
7706
  props: {
7704
7707
  src: String,
@@ -7709,8 +7712,8 @@ const Ks = {
7709
7712
  function n() {
7710
7713
  t.value = !1, a.value = 0;
7711
7714
  }
7712
- const r = Te("$window"), a = K(0);
7713
- so(r, (c) => {
7715
+ const r = _e("$window"), a = K(0);
7716
+ ao(r, (c) => {
7714
7717
  const { height: f } = c[0].contentRect;
7715
7718
  a.value = f;
7716
7719
  });
@@ -7727,18 +7730,18 @@ const Ks = {
7727
7730
  window.removeEventListener("resize", l);
7728
7731
  return;
7729
7732
  }
7730
- window.addEventListener("resize", l), at(() => {
7733
+ window.addEventListener("resize", l), st(() => {
7731
7734
  l();
7732
7735
  });
7733
- }), (c, f) => (p(), S("div", {
7736
+ }), (c, f) => (h(), S("div", {
7734
7737
  class: "s-imagepreview",
7735
- onClick: f[0] || (f[0] = $e((h) => t.value = !0, ["prevent"]))
7738
+ onClick: f[0] || (f[0] = $e((p) => t.value = !0, ["prevent"]))
7736
7739
  }, [
7737
7740
  F(c.$slots, "preview", {}, () => {
7738
- var h;
7741
+ var p;
7739
7742
  return [
7740
7743
  E("img", {
7741
- src: (h = e.preview) != null ? h : e.src
7744
+ src: (p = e.preview) != null ? p : e.src
7742
7745
  }, null, 8, Ym)
7743
7746
  ];
7744
7747
  }),
@@ -7747,7 +7750,7 @@ const Ks = {
7747
7750
  Q(R(re), { icon: "magnifying-glass-plus" })
7748
7751
  ])
7749
7752
  ]),
7750
- t.value ? (p(), ae(Ge, {
7753
+ t.value ? (h(), ae(Ge, {
7751
7754
  key: 0,
7752
7755
  to: "body"
7753
7756
  }, [
@@ -7757,7 +7760,7 @@ const Ks = {
7757
7760
  ref: r,
7758
7761
  style: ge([R(i)])
7759
7762
  }, [
7760
- E("img", { src: e.src }, null, 8, Jm)
7763
+ E("img", { src: e.src }, null, 8, Km)
7761
7764
  ], 4),
7762
7765
  E("div", {
7763
7766
  class: "s-imagepreview-closeicon",
@@ -7778,19 +7781,19 @@ const Ks = {
7778
7781
  const n = K(null), r = K(!1), a = K("type_info");
7779
7782
  let o;
7780
7783
  const s = (c, f = {}) => {
7781
- var h;
7784
+ var p;
7782
7785
  n.value = c, r.value = !0, f.type && (a.value = "type_" + f.type), clearTimeout(o), o = setTimeout(() => {
7783
7786
  r.value = !1;
7784
- }, (h = f.closeAfter) != null ? h : 3e3);
7787
+ }, (p = f.closeAfter) != null ? p : 3e3);
7785
7788
  };
7786
- return t({ success: (c, f) => s(c, { ...f, type: "success" }), info: (c, f) => s(c, { ...f, type: "info" }), error: (c, f) => s(c, { ...f, type: "error" }), open: s }), (c, f) => (p(), ae(Ge, { to: "body" }, [
7789
+ return t({ success: (c, f) => s(c, { ...f, type: "success" }), info: (c, f) => s(c, { ...f, type: "info" }), error: (c, f) => s(c, { ...f, type: "error" }), open: s }), (c, f) => (h(), ae(Ge, { to: "body" }, [
7787
7790
  Q(to, { name: "fade" }, {
7788
7791
  default: ke(() => [
7789
- r.value ? (p(), S("div", {
7792
+ r.value ? (h(), S("div", {
7790
7793
  key: 0,
7791
7794
  class: z(["s-alert", [a.value]]),
7792
7795
  innerHTML: n.value,
7793
- onClick: f[0] || (f[0] = (h) => r.value = !1)
7796
+ onClick: f[0] || (f[0] = (p) => r.value = !1)
7794
7797
  }, null, 10, Gm)) : B("", !0)
7795
7798
  ]),
7796
7799
  _: 1
@@ -7814,29 +7817,29 @@ const Zm = {
7814
7817
  info(e, t = {}) {
7815
7818
  return gn().info(e, t);
7816
7819
  }
7817
- }, Qm = /* @__PURE__ */ rt({
7820
+ }, Qm = /* @__PURE__ */ at({
7818
7821
  __name: "STag",
7819
7822
  props: {
7820
7823
  color: {}
7821
7824
  },
7822
7825
  setup(e) {
7823
- return (t, n) => (p(), S("div", {
7826
+ return (t, n) => (h(), S("div", {
7824
7827
  class: z(["s-tag", e.color])
7825
7828
  }, [
7826
7829
  F(t.$slots, "default")
7827
7830
  ], 2));
7828
7831
  }
7829
- }), eh = /* @__PURE__ */ rt({
7832
+ }), ep = /* @__PURE__ */ at({
7830
7833
  __name: "SStatus",
7831
7834
  props: {
7832
7835
  color: {},
7833
7836
  icon: {}
7834
7837
  },
7835
7838
  setup(e) {
7836
- return (t, n) => (p(), S("div", {
7839
+ return (t, n) => (h(), S("div", {
7837
7840
  class: z(["s-status", e.color])
7838
7841
  }, [
7839
- e.icon ? (p(), ae(R(re), {
7842
+ e.icon ? (h(), ae(R(re), {
7840
7843
  key: 0,
7841
7844
  icon: e.icon,
7842
7845
  class: "mr-2"
@@ -7844,18 +7847,18 @@ const Zm = {
7844
7847
  F(t.$slots, "default")
7845
7848
  ], 2));
7846
7849
  }
7847
- }), th = { class: "s-actionbar" }, nh = /* @__PURE__ */ Object.assign({
7850
+ }), tp = { class: "s-actionbar" }, np = /* @__PURE__ */ Object.assign({
7848
7851
  name: "SActionBar"
7849
7852
  }, {
7850
7853
  __name: "SActionBar",
7851
7854
  setup(e) {
7852
- return (t, n) => (p(), ae(Ge, { to: "body" }, [
7853
- E("div", th, [
7855
+ return (t, n) => (h(), ae(Ge, { to: "body" }, [
7856
+ E("div", tp, [
7854
7857
  F(t.$slots, "default")
7855
7858
  ])
7856
7859
  ]));
7857
7860
  }
7858
- }), rh = { class: "s-progressbar" }, ah = { class: "s-progressbar-title" }, sh = { class: "s-progressbar-bar" }, oh = {
7861
+ }), rp = { class: "s-progressbar" }, ap = { class: "s-progressbar-title" }, sp = { class: "s-progressbar-bar" }, op = {
7859
7862
  __name: "SProgressbar",
7860
7863
  props: {
7861
7864
  label: String,
@@ -7863,11 +7866,11 @@ const Zm = {
7863
7866
  },
7864
7867
  setup(e) {
7865
7868
  const t = e, n = V(() => t.percentage < 5 ? "right" : "left");
7866
- return (r, a) => (p(), S("div", rh, [
7867
- E("div", ah, [
7869
+ return (r, a) => (h(), S("div", rp, [
7870
+ E("div", ap, [
7868
7871
  F(r.$slots, "default")
7869
7872
  ]),
7870
- E("div", sh, [
7873
+ E("div", sp, [
7871
7874
  E("div", {
7872
7875
  class: "s-progressbar-completed",
7873
7876
  style: ge({ width: e.percentage + "%" })
@@ -7879,10 +7882,10 @@ const Zm = {
7879
7882
  ])
7880
7883
  ]));
7881
7884
  }
7882
- }, ih = { class: "s-copytext-text" }, lh = {
7885
+ }, ip = { class: "s-copytext-text" }, lp = {
7883
7886
  key: 1,
7884
7887
  class: "s-copytext layout_input"
7885
- }, uh = { class: "s-copytext-text" }, ch = {
7888
+ }, up = { class: "s-copytext-text" }, cp = {
7886
7889
  __name: "SCopyText",
7887
7890
  props: {
7888
7891
  href: String,
@@ -7899,9 +7902,9 @@ const Zm = {
7899
7902
  copytext: String
7900
7903
  },
7901
7904
  setup(e) {
7902
- let t = Jt();
7903
- const { copy: n, copied: r, isSupported: a } = oo(), o = V(() => t.default()[0].children);
7904
- return (s, i) => e.layout === "inline" ? (p(), S("div", {
7905
+ let t = Kt();
7906
+ const { copy: n, copied: r, isSupported: a } = so(), o = V(() => t.default()[0].children);
7907
+ return (s, i) => e.layout === "inline" ? (h(), S("div", {
7905
7908
  key: 0,
7906
7909
  class: z(["s-copytext layout_inline", { success: R(r) }]),
7907
7910
  title: "Скопировать",
@@ -7910,18 +7913,18 @@ const Zm = {
7910
7913
  return R(n)((u = e.copytext) != null ? u : o.value);
7911
7914
  })
7912
7915
  }, [
7913
- E("div", ih, [
7916
+ E("div", ip, [
7914
7917
  F(s.$slots, "default")
7915
7918
  ]),
7916
- R(a) ? (p(), ae(R(re), {
7919
+ R(a) ? (h(), ae(R(re), {
7917
7920
  key: 0,
7918
7921
  icon: R(r) ? "check" : "copy"
7919
7922
  }, null, 8, ["icon"])) : B("", !0)
7920
- ], 2)) : (p(), S("div", lh, [
7921
- E("div", uh, [
7923
+ ], 2)) : (h(), S("div", lp, [
7924
+ E("div", up, [
7922
7925
  F(s.$slots, "default")
7923
7926
  ]),
7924
- R(a) ? (p(), ae(R(re), {
7927
+ R(a) ? (h(), ae(R(re), {
7925
7928
  key: 0,
7926
7929
  icon: R(r) ? "check" : "copy",
7927
7930
  class: z({ success: R(r) }),
@@ -7933,7 +7936,7 @@ const Zm = {
7933
7936
  }, null, 8, ["icon", "class"])) : B("", !0)
7934
7937
  ]));
7935
7938
  }
7936
- }, fh = { class: "s-timeline" }, dh = { class: "s-timeline-item" }, mh = {
7939
+ }, fp = { class: "s-timeline" }, dp = { class: "s-timeline-item" }, mp = {
7937
7940
  __name: "STimeline",
7938
7941
  props: {
7939
7942
  items: Array,
@@ -7947,8 +7950,8 @@ const Zm = {
7947
7950
  function n(r, a) {
7948
7951
  return typeof t.keyBy == "function" ? t.keyBy(r, a) : typeof t.keyBy == "string" && r && t.keyBy in r ? r[t.keyBy] : a;
7949
7952
  }
7950
- return (r, a) => (p(), S("div", fh, [
7951
- (p(!0), S(ee, null, de(e.items, (o, s) => (p(), S("div", {
7953
+ return (r, a) => (h(), S("div", fp, [
7954
+ (h(!0), S(ee, null, de(e.items, (o, s) => (h(), S("div", {
7952
7955
  class: "s-timeline-row",
7953
7956
  key: n(o, s)
7954
7957
  }, [
@@ -7956,7 +7959,7 @@ const Zm = {
7956
7959
  E("div", { class: "s-timeline-decorator-marker" }),
7957
7960
  E("div", { class: "s-timeline-decorator-line" })
7958
7961
  ], -1)),
7959
- E("div", dh, [
7962
+ E("div", dp, [
7960
7963
  F(r.$slots, "item", {
7961
7964
  item: o,
7962
7965
  index: s
@@ -7967,22 +7970,22 @@ const Zm = {
7967
7970
  ]))), 128))
7968
7971
  ]));
7969
7972
  }
7970
- }, hh = { class: "s-dashboard" }, ph = /* @__PURE__ */ Object.assign({
7973
+ }, pp = { class: "s-dashboard" }, hp = /* @__PURE__ */ Object.assign({
7971
7974
  name: "SDashboard"
7972
7975
  }, {
7973
7976
  __name: "SDashboard",
7974
7977
  setup(e) {
7975
- return (t, n) => (p(), S("div", hh, [
7978
+ return (t, n) => (h(), S("div", pp, [
7976
7979
  F(t.$slots, "default")
7977
7980
  ]));
7978
7981
  }
7979
- }), vh = {
7982
+ }), vp = {
7980
7983
  key: 0,
7981
7984
  class: "s-dashboard-item-header"
7982
- }, gh = { class: "s-dashboard-item-title" }, yh = {
7985
+ }, gp = { class: "s-dashboard-item-title" }, yp = {
7983
7986
  key: 0,
7984
7987
  class: "s-dashboard-item-extra"
7985
- }, bh = {
7988
+ }, bp = {
7986
7989
  __name: "SDashboardItem",
7987
7990
  props: {
7988
7991
  title: String,
@@ -7993,16 +7996,16 @@ const Zm = {
7993
7996
  },
7994
7997
  setup(e) {
7995
7998
  const t = e, n = V(() => t.maxContentHeight ? "max-height: " + parseInt(t.maxContentHeight) + "px" : "");
7996
- return (r, a) => (p(), S("div", {
7999
+ return (r, a) => (h(), S("div", {
7997
8000
  class: z(["s-dashboard-item", { gray: e.gray, green: e.green, red: e.red }])
7998
8001
  }, [
7999
- e.title || r.$slots.title || r.$slots.extra ? (p(), S("div", vh, [
8000
- E("div", gh, [
8002
+ e.title || r.$slots.title || r.$slots.extra ? (h(), S("div", vp, [
8003
+ E("div", gp, [
8001
8004
  F(r.$slots, "title", {}, () => [
8002
8005
  le(G(e.title), 1)
8003
8006
  ])
8004
8007
  ]),
8005
- r.$slots.extra ? (p(), S("div", yh, [
8008
+ r.$slots.extra ? (h(), S("div", yp, [
8006
8009
  F(r.$slots, "extra")
8007
8010
  ])) : B("", !0)
8008
8011
  ])) : B("", !0),
@@ -8014,7 +8017,7 @@ const Zm = {
8014
8017
  ], 6)
8015
8018
  ], 2));
8016
8019
  }
8017
- }, Sh = { class: "s-stat-title" }, wh = { class: "s-stat-value" }, kh = {
8020
+ }, Sp = { class: "s-stat-title" }, wp = { class: "s-stat-value" }, kp = {
8018
8021
  __name: "SStat",
8019
8022
  props: {
8020
8023
  title: String,
@@ -8024,32 +8027,32 @@ const Zm = {
8024
8027
  wide: Boolean
8025
8028
  },
8026
8029
  setup(e) {
8027
- return (t, n) => (p(), S("div", {
8030
+ return (t, n) => (h(), S("div", {
8028
8031
  class: z(["s-stat", { nowrap: e.nowrap, large: e.large, wide: e.wide }])
8029
8032
  }, [
8030
- E("div", Sh, [
8033
+ E("div", Sp, [
8031
8034
  F(t.$slots, "title", {}, () => [
8032
8035
  le(G(e.title), 1)
8033
8036
  ])
8034
8037
  ]),
8035
- E("div", wh, [
8038
+ E("div", wp, [
8036
8039
  F(t.$slots, "default", {}, () => [
8037
8040
  le(G(e.value), 1)
8038
8041
  ])
8039
8042
  ])
8040
8043
  ], 2));
8041
8044
  }
8042
- }, xh = { class: "s-canvas" }, $h = {
8045
+ }, xp = { class: "s-canvas" }, $p = {
8043
8046
  key: 0,
8044
8047
  class: "s-canvas-header"
8045
- }, Ah = {
8048
+ }, Ap = {
8046
8049
  key: 1,
8047
8050
  class: "s-canvas-subheader"
8048
- }, Oh = { class: "s-main" }, Eh = { class: "s-section" }, _h = { class: "s-section-h" }, Th = {
8051
+ }, Op = { class: "s-main" }, Ep = { class: "s-section" }, Tp = { class: "s-section-h" }, _p = {
8049
8052
  key: 0,
8050
8053
  class: "affix-wrapper",
8051
8054
  style: "top: 20px"
8052
- }, Ch = { class: "s-canvas-content" }, Ph = {
8055
+ }, Cp = { class: "s-canvas-content" }, Pp = {
8053
8056
  __name: "SCanvas",
8054
8057
  props: {
8055
8058
  hasStickySidebar: {
@@ -8063,18 +8066,18 @@ const Zm = {
8063
8066
  },
8064
8067
  setup(e) {
8065
8068
  const t = K(!1);
8066
- return (n, r) => (p(), S("div", xh, [
8067
- n.$slots.header ? (p(), S("header", $h, [
8069
+ return (n, r) => (h(), S("div", xp, [
8070
+ n.$slots.header ? (h(), S("header", $p, [
8068
8071
  F(n.$slots, "header")
8069
8072
  ])) : B("", !0),
8070
- n.$slots.subheader ? (p(), S("div", Ah, [
8073
+ n.$slots.subheader ? (h(), S("div", Ap, [
8071
8074
  F(n.$slots, "subheader")
8072
8075
  ])) : B("", !0),
8073
8076
  F(n.$slots, "default"),
8074
- E("div", Oh, [
8075
- E("section", Eh, [
8076
- E("div", _h, [
8077
- n.$slots.sidebar ? (p(), S("div", {
8077
+ E("div", Op, [
8078
+ E("section", Ep, [
8079
+ E("div", Tp, [
8080
+ n.$slots.sidebar ? (h(), S("div", {
8078
8081
  key: 0,
8079
8082
  class: z(["s-canvas-subheader-mobile", { opened: t.value }])
8080
8083
  }, [
@@ -8086,15 +8089,15 @@ const Zm = {
8086
8089
  le(" " + G(e.sidebarMobileTitle), 1)
8087
8090
  ])
8088
8091
  ], 2)) : B("", !0),
8089
- n.$slots.sidebar ? (p(), S("aside", {
8092
+ n.$slots.sidebar ? (h(), S("aside", {
8090
8093
  key: 1,
8091
8094
  class: z(["s-canvas-sidebar", { "mobile-opened": t.value }])
8092
8095
  }, [
8093
- e.hasStickySidebar ? (p(), S("div", Th, [
8096
+ e.hasStickySidebar ? (h(), S("div", _p, [
8094
8097
  F(n.$slots, "sidebar")
8095
8098
  ])) : F(n.$slots, "sidebar", { key: 1 })
8096
8099
  ], 2)) : B("", !0),
8097
- E("div", Ch, [
8100
+ E("div", Cp, [
8098
8101
  F(n.$slots, "content")
8099
8102
  ])
8100
8103
  ])
@@ -8102,16 +8105,16 @@ const Zm = {
8102
8105
  ])
8103
8106
  ]));
8104
8107
  }
8105
- }, Nh = { class: "s-footer" }, Ih = /* @__PURE__ */ Object.assign({
8108
+ }, Np = { class: "s-footer" }, Ip = /* @__PURE__ */ Object.assign({
8106
8109
  name: "SFooter"
8107
8110
  }, {
8108
8111
  __name: "SFooter",
8109
8112
  setup(e) {
8110
- return (t, n) => (p(), S("div", Nh, [
8113
+ return (t, n) => (h(), S("div", Np, [
8111
8114
  F(t.$slots, "default")
8112
8115
  ]));
8113
8116
  }
8114
- }), Fh = { key: 1 }, Rh = {
8117
+ }), Fp = { key: 1 }, Rp = {
8115
8118
  __name: "SDropdownMenu",
8116
8119
  props: {
8117
8120
  // В формате [{label: '', url: '', active: ''}]
@@ -8140,25 +8143,25 @@ const Zm = {
8140
8143
  }), a = V(() => {
8141
8144
  var c, f;
8142
8145
  return (f = t.labelLink) != null ? f : (c = n.value) == null ? void 0 : c.url;
8143
- }), o = V(() => a.value ? yn : "span"), s = Te("$container"), i = Te("$list"), l = K("right"), u = async () => {
8144
- await at();
8146
+ }), o = V(() => a.value ? yn : "span"), s = _e("$container"), i = _e("$list"), l = K("right"), u = async () => {
8147
+ await st();
8145
8148
  const c = s.value.getBoundingClientRect().x, f = i.value.getBoundingClientRect().width;
8146
8149
  l.value = f + 10 > c ? "left" : "right";
8147
8150
  };
8148
8151
  return (c, f) => {
8149
- var h;
8150
- return p(), S("div", {
8152
+ var p;
8153
+ return h(), S("div", {
8151
8154
  class: "s-dropdownmenu",
8152
8155
  onPointerenter: u,
8153
8156
  ref_key: "$container",
8154
8157
  ref: s
8155
8158
  }, [
8156
- (p(), ae(wt(o.value), {
8159
+ (h(), ae(wt(o.value), {
8157
8160
  class: "s-dropdownmenu-label",
8158
- href: (h = e.labelLink) != null ? h : ""
8161
+ href: (p = e.labelLink) != null ? p : ""
8159
8162
  }, {
8160
8163
  default: ke(() => [
8161
- c.$slots.label ? F(c.$slots, "label", { key: 0 }) : (p(), S("span", Fh, G(r.value), 1)),
8164
+ c.$slots.label ? F(c.$slots, "label", { key: 0 }) : (h(), S("span", Fp, G(r.value), 1)),
8162
8165
  Q(R(re), { icon: "caret-down" })
8163
8166
  ]),
8164
8167
  _: 3
@@ -8168,7 +8171,7 @@ const Zm = {
8168
8171
  ref_key: "$list",
8169
8172
  ref: i
8170
8173
  }, [
8171
- e.links ? (p(!0), S(ee, { key: 0 }, de(e.links, (b) => (p(), ae(R(yn), {
8174
+ e.links ? (h(!0), S(ee, { key: 0 }, de(e.links, (b) => (h(), ae(R(yn), {
8172
8175
  key: b.label,
8173
8176
  href: b.url,
8174
8177
  class: z({ active: b.active })
@@ -8183,13 +8186,13 @@ const Zm = {
8183
8186
  ], 544);
8184
8187
  };
8185
8188
  }
8186
- }, Mh = { class: "s-horizontalmenu" }, jh = {
8189
+ }, Mp = { class: "s-horizontalmenu" }, jp = {
8187
8190
  key: 1,
8188
8191
  class: "s-horizontalmenu-label"
8189
- }, Dh = {
8192
+ }, Dp = {
8190
8193
  key: 2,
8191
8194
  class: "s-horizontalmenu-children"
8192
- }, Lh = {
8195
+ }, Lp = {
8193
8196
  __name: "SHorizontalMenu",
8194
8197
  props: {
8195
8198
  // В формате [{label: '', url: '', active: '', stat: ''}]
@@ -8198,12 +8201,12 @@ const Zm = {
8198
8201
  setup(e) {
8199
8202
  return (t, n) => {
8200
8203
  const r = bt("Link"), a = bt("SHorizontalMenu", !0);
8201
- return p(), S("div", Mh, [
8202
- (p(!0), S(ee, null, de(e.links, (o) => (p(), S("div", {
8204
+ return h(), S("div", Mp, [
8205
+ (h(!0), S(ee, null, de(e.links, (o) => (h(), S("div", {
8203
8206
  class: z(["s-horizontalmenu-item", [o.className, o.active ? "active" : ""]]),
8204
8207
  key: o.label
8205
8208
  }, [
8206
- o.url ? (p(), ae(r, {
8209
+ o.url ? (h(), ae(r, {
8207
8210
  key: 0,
8208
8211
  class: "s-horizontalmenu-label",
8209
8212
  href: o.url
@@ -8212,8 +8215,8 @@ const Zm = {
8212
8215
  le(G(o.label), 1)
8213
8216
  ]),
8214
8217
  _: 2
8215
- }, 1032, ["href"])) : (p(), S("div", jh, G(o.label), 1)),
8216
- o.children ? (p(), S("div", Dh, [
8218
+ }, 1032, ["href"])) : (h(), S("div", jp, G(o.label), 1)),
8219
+ o.children ? (h(), S("div", Dp, [
8217
8220
  Q(a, {
8218
8221
  links: o.children
8219
8222
  }, null, 8, ["links"])
@@ -8222,75 +8225,87 @@ const Zm = {
8222
8225
  ]);
8223
8226
  };
8224
8227
  }
8225
- }, Bh = { class: "s-verticalmenu" }, Uh = ["onClick"], zh = ["onClick"], Hh = {
8228
+ }, Bp = { class: "s-verticalmenu" }, Up = ["onClick"], zp = ["onClick"], Hp = {
8226
8229
  __name: "SVerticalMenu",
8227
8230
  props: {
8228
8231
  // В формате [{label: '', url: '', active: ''}]
8229
- links: Object
8232
+ links: Object,
8233
+ // Узлы, открытые на старте
8234
+ expandedKeys: {
8235
+ type: Array,
8236
+ default: []
8237
+ },
8238
+ // Сохранять раскрытые узлы в localStorage?
8239
+ storeExpandedKeysTo: String
8230
8240
  },
8231
8241
  setup(e) {
8232
- const t = e, n = function(o) {
8233
- let s = [];
8234
- for (let i of o) {
8235
- const l = i.children ? n(i.children) : [];
8236
- l.length && (s = s.concat(l)), (i.active || l.length) && s.push(i.id);
8242
+ const t = e, n = function(s) {
8243
+ let i = [];
8244
+ for (let l of s) {
8245
+ const u = l.children ? n(l.children) : [];
8246
+ u.length && (i = i.concat(u)), (l.active || u.length) && i.push(l.id);
8237
8247
  }
8238
- return s;
8239
- }, r = no(n(t.links), "OpenedSidebarItems"), a = function(o) {
8240
- r.value = r.value.includes(o) ? r.value.filter((s) => s !== o) : [...r.value, o];
8248
+ return i;
8249
+ }, r = V(() => [
8250
+ ...n(t.links),
8251
+ ...t.expandedKeys
8252
+ ]), a = t.storeExpandedKeysTo ? oo(t.storeExpandedKeysTo, r.value) : K(r.value), o = function(s) {
8253
+ a.value = a.value.includes(s) ? a.value.filter((i) => i !== s) : [...a.value, s];
8241
8254
  };
8242
- return (o, s) => {
8243
- const i = bt("SVerticalMenu", !0);
8244
- return p(), S("div", Bh, [
8245
- (p(!0), S(ee, null, de(e.links, (l) => (p(), S("div", {
8246
- class: z(["s-verticalmenu-item", [l.className, l.active ? "active" : "", l.type ? "type_" + l.type : ""]]),
8247
- key: l.label
8255
+ return (s, i) => {
8256
+ const l = bt("SVerticalMenu", !0);
8257
+ return h(), S("div", Bp, [
8258
+ (h(!0), S(ee, null, de(e.links, (u) => (h(), S("div", {
8259
+ class: z(["s-verticalmenu-item", [u.className, u.active ? "active" : "", u.type ? "type_" + u.type : ""]]),
8260
+ key: u.label
8248
8261
  }, [
8249
- l.url ? (p(), S(ee, { key: 0 }, [
8250
- l.children ? (p(), S("div", {
8262
+ u.url ? (h(), S(ee, { key: 0 }, [
8263
+ u.children ? (h(), S("div", {
8251
8264
  key: 0,
8252
- class: z(["s-verticalmenu-toggler", { "is-opened": R(r).includes(l.id) }]),
8253
- onClick: (u) => a(l.id)
8265
+ class: z(["s-verticalmenu-toggler", { "is-opened": R(a).includes(u.id) }]),
8266
+ onClick: (c) => o(u.id)
8254
8267
  }, [
8255
8268
  Q(R(re), { icon: "fa-angle-right" })
8256
- ], 10, Uh)) : B("", !0),
8269
+ ], 10, Up)) : B("", !0),
8257
8270
  Q(R(yn), {
8258
- class: z(["s-verticalmenu-label", { "not-published": l.isPublished !== void 0 && !l.isPublished }]),
8259
- href: l.url
8271
+ class: z(["s-verticalmenu-label", { "not-published": u.isPublished !== void 0 && !u.isPublished }]),
8272
+ href: u.url
8260
8273
  }, {
8261
8274
  default: ke(() => [
8262
- le(G(l.label) + " ", 1),
8263
- l.isPublished !== void 0 && !l.isPublished ? (p(), ae(R(re), {
8275
+ le(G(u.label) + " ", 1),
8276
+ u.isPublished !== void 0 && !u.isPublished ? (h(), ae(R(re), {
8264
8277
  key: 0,
8265
8278
  icon: "eye-slash"
8266
8279
  })) : B("", !0)
8267
8280
  ]),
8268
8281
  _: 2
8269
8282
  }, 1032, ["class", "href"])
8270
- ], 64)) : (p(), S("div", {
8283
+ ], 64)) : (h(), S("div", {
8271
8284
  key: 1,
8272
- class: z(["s-verticalmenu-label", { "not-published": l.isPublished !== void 0 && !l.isPublished }]),
8273
- onClick: (u) => a(l.id)
8285
+ class: z(["s-verticalmenu-label", { "not-published": u.isPublished !== void 0 && !u.isPublished }]),
8286
+ onClick: (c) => o(u.id)
8274
8287
  }, [
8275
- l.children ? (p(), S("div", {
8288
+ u.children ? (h(), S("div", {
8276
8289
  key: 0,
8277
- class: z(["s-verticalmenu-toggler", { "is-opened": R(r).includes(l.id) }])
8290
+ class: z(["s-verticalmenu-toggler", { "is-opened": R(a).includes(u.id) }])
8278
8291
  }, [
8279
8292
  Q(R(re), { icon: "fa-angle-right" })
8280
8293
  ], 2)) : B("", !0),
8281
- le(" " + G(l.label) + " ", 1),
8282
- l.isPublished !== void 0 && !l.isPublished ? (p(), ae(R(re), {
8294
+ le(" " + G(u.label) + " ", 1),
8295
+ u.isPublished !== void 0 && !u.isPublished ? (h(), ae(R(re), {
8283
8296
  key: 1,
8284
8297
  icon: "eye-slash"
8285
8298
  })) : B("", !0)
8286
- ], 10, zh)),
8287
- l.children ? (p(), S("div", {
8299
+ ], 10, zp)),
8300
+ u.children ? (h(), S("div", {
8288
8301
  key: 2,
8289
- class: z(["s-verticalmenu-children", { "is-opened": R(r).includes(l.id) }])
8302
+ class: z(["s-verticalmenu-children", { "is-opened": R(a).includes(u.id) }])
8290
8303
  }, [
8291
- Q(i, {
8292
- links: l.children
8293
- }, null, 8, ["links"])
8304
+ Q(l, {
8305
+ links: u.children,
8306
+ expandedKeys: e.expandedKeys,
8307
+ storeExpandedKeysTo: e.storeExpandedKeysTo
8308
+ }, null, 8, ["links", "expandedKeys", "storeExpandedKeysTo"])
8294
8309
  ], 2)) : B("", !0)
8295
8310
  ], 2))), 128))
8296
8311
  ]);
@@ -8298,7 +8313,7 @@ const Zm = {
8298
8313
  }
8299
8314
  }, J = [];
8300
8315
  J.push(lo);
8301
- J.push(ho);
8316
+ J.push(po);
8302
8317
  J.push(bo);
8303
8318
  J.push(gs);
8304
8319
  J.push(oc);
@@ -8320,24 +8335,24 @@ J.push(Dm);
8320
8335
  J.push(Bm);
8321
8336
  J.push(zm);
8322
8337
  J.push(Wm);
8323
- J.push(Km);
8324
- J.push(Ks);
8338
+ J.push(Jm);
8339
+ J.push(Js);
8325
8340
  J.push(Zm);
8326
8341
  J.push(Qm);
8327
- J.push(eh);
8328
- J.push(nh);
8329
- J.push(oh);
8330
- J.push(ch);
8331
- J.push(mh);
8332
- J.push(ph);
8333
- J.push(bh);
8334
- J.push(kh);
8335
- J.push(Ph);
8336
- J.push(Ih);
8337
- J.push(Rh);
8338
- J.push(Lh);
8339
- J.push(Hh);
8340
- const pp = {
8342
+ J.push(ep);
8343
+ J.push(np);
8344
+ J.push(op);
8345
+ J.push(cp);
8346
+ J.push(mp);
8347
+ J.push(hp);
8348
+ J.push(bp);
8349
+ J.push(kp);
8350
+ J.push(Pp);
8351
+ J.push(Ip);
8352
+ J.push(Rp);
8353
+ J.push(Lp);
8354
+ J.push(Hp);
8355
+ const hh = {
8341
8356
  install(e) {
8342
8357
  J.forEach((t) => {
8343
8358
  var r, a;
@@ -8347,46 +8362,46 @@ const pp = {
8347
8362
  }
8348
8363
  };
8349
8364
  export {
8350
- nh as SActionBar,
8365
+ np as SActionBar,
8351
8366
  Fm as SActionIcon,
8352
8367
  Zm as SAlert,
8353
8368
  qt as SButton,
8354
- Ph as SCanvas,
8369
+ Pp as SCanvas,
8355
8370
  oc as SCheckbox,
8356
- Ks as SConfirm,
8357
- ch as SCopyText,
8358
- ph as SDashboard,
8359
- bh as SDashboardItem,
8371
+ Js as SConfirm,
8372
+ cp as SCopyText,
8373
+ hp as SDashboard,
8374
+ bp as SDashboardItem,
8360
8375
  $c as SDatePicker,
8361
8376
  Wm as SDialog,
8362
- Rh as SDropdownMenu,
8377
+ Rp as SDropdownMenu,
8363
8378
  um as SFilter,
8364
8379
  fm as SFilterGroup,
8365
- Ih as SFooter,
8380
+ Ip as SFooter,
8366
8381
  lo as SForm,
8367
- ho as SFormRow,
8368
- Lh as SHorizontalMenu,
8382
+ po as SFormRow,
8383
+ Lp as SHorizontalMenu,
8369
8384
  nd as SHtmlEditor,
8370
- Km as SImagePreview,
8385
+ Jm as SImagePreview,
8371
8386
  bo as SInput,
8372
8387
  Dm as SNote,
8373
8388
  Am as SPagination,
8374
- oh as SProgressBar,
8389
+ op as SProgressBar,
8375
8390
  Mn as SRadio,
8376
8391
  ys as SRadioGroup,
8377
8392
  gs as SSelect,
8378
- kh as SStat,
8379
- eh as SStatus,
8393
+ kp as SStat,
8394
+ ep as SStatus,
8380
8395
  mc as SSwitch,
8381
8396
  ym as STable,
8382
8397
  Qm as STag,
8383
- mh as STimeline,
8398
+ mp as STimeline,
8384
8399
  Bm as SToggle,
8385
8400
  zm as SToggleGroup,
8386
8401
  Mm as STooltip,
8387
8402
  Em as STree,
8388
8403
  id as SUpload,
8389
- Hh as SVerticalMenu,
8390
- pp as default
8404
+ Hp as SVerticalMenu,
8405
+ hh as default
8391
8406
  };
8392
8407
  //# sourceMappingURL=startup-ui.es.js.map