inertia-bootstrap-forms 2.1.9 → 2.1.11

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.
@@ -5,15 +5,15 @@ var Mt = (t) => {
5
5
  var jn = (t, e, n) => e in t ? Bn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
6
  var R = (t, e, n) => jn(t, typeof e != "symbol" ? e + "" : e, n), Ze = (t, e, n) => e.has(t) || Mt("Cannot " + n);
7
7
  var b = (t, e, n) => (Ze(t, e, "read from private field"), n ? n.call(t) : e.get(t)), x = (t, e, n) => e.has(t) ? Mt("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Ue = (t, e, n, r) => (Ze(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), F = (t, e, n) => (Ze(t, e, "access private method"), n);
8
- import { createElementBlock as g, openBlock as h, renderSlot as O, normalizeClass as L, ref as G, onMounted as ve, onBeforeUnmount as ht, createElementVNode as $, defineComponent as E, inject as T, computed as q, resolveComponent as j, createBlock as ee, withCtx as ie, withDirectives as te, createVNode as Q, vModelText as Me, createTextVNode as gt, toDisplayString as W, vModelDynamic as yt, defineAsyncComponent as Ln, createCommentVNode as B, mergeProps as en, Fragment as _e, renderList as be, normalizeStyle as vt, toRef as xn, reactive as tn, withModifiers as nn, resolveDirective as qn, vModelSelect as Hn, defineEmits as Gn, watch as he, markRaw as Wn, provide as Yn, h as rn, shallowRef as Xn, unref as Ke } from "vue";
9
- import Zn from "@tinymce/tinymce-vue";
10
- import { useForm as Kn } from "@inertiajs/vue3";
11
- import { LMarker as Jn, LTileLayer as Qn, LMap as er } from "@vue-leaflet/vue-leaflet";
12
- import { VueTelInput as tr } from "vue-tel-input";
13
- import nr from "dropzone";
14
- function rr(t, e, n = {}) {
8
+ import { createElementBlock as g, openBlock as h, renderSlot as O, normalizeClass as L, ref as G, onMounted as ye, onBeforeUnmount as ht, createElementVNode as $, defineComponent as E, inject as T, computed as q, resolveComponent as j, createBlock as ee, withCtx as ie, withDirectives as te, createVNode as Q, vModelText as Me, createTextVNode as gt, toDisplayString as W, vModelDynamic as yt, defineAsyncComponent as Ln, createCommentVNode as B, mergeProps as en, Fragment as ve, renderList as _e, normalizeStyle as vt, toRef as xn, reactive as tn, withModifiers as nn, resolveDirective as qn, vModelSelect as Hn, markRaw as Gn, provide as Wn, watch as Fe, h as rn, shallowRef as Yn, unref as Ke } from "vue";
9
+ import Xn from "@tinymce/tinymce-vue";
10
+ import { useForm as Zn } from "@inertiajs/vue3";
11
+ import { LMarker as Kn, LTileLayer as Jn, LMap as Qn } from "@vue-leaflet/vue-leaflet";
12
+ import { VueTelInput as er } from "vue-tel-input";
13
+ import tr from "dropzone";
14
+ function nr(t, e, n = {}) {
15
15
  let r = null;
16
- ve(async () => {
16
+ ye(async () => {
17
17
  r = (typeof e == "function" ? await e() : e).getOrCreateInstance(t.value, n), typeof document < "u" && document.addEventListener("inertia:start", o);
18
18
  }), ht(() => {
19
19
  typeof document < "u" && document.removeEventListener("inertia:start", o), s();
@@ -29,28 +29,28 @@ function rr(t, e, n = {}) {
29
29
  getInstance: () => r
30
30
  };
31
31
  }
32
- const we = (t, e) => {
32
+ const be = (t, e) => {
33
33
  const n = t.__vccOpts || t;
34
34
  for (const [r, s] of e)
35
35
  n[r] = s;
36
36
  return n;
37
- }, sr = {}, ir = { class: "dropdown" };
38
- function or(t, e, n, r, s, o) {
39
- return h(), g("div", ir, [
37
+ }, rr = {}, sr = { class: "dropdown" };
38
+ function ir(t, e, n, r, s, o) {
39
+ return h(), g("div", sr, [
40
40
  O(t.$slots, "default")
41
41
  ]);
42
42
  }
43
- const ar = /* @__PURE__ */ we(sr, [["render", or]]), lr = {}, ur = { class: "dropdown-menu" };
44
- function dr(t, e, n, r, s, o) {
45
- return h(), g("div", ur, [
43
+ const or = /* @__PURE__ */ be(rr, [["render", ir]]), ar = {}, lr = { class: "dropdown-menu" };
44
+ function ur(t, e, n, r, s, o) {
45
+ return h(), g("div", lr, [
46
46
  O(t.$slots, "default")
47
47
  ]);
48
48
  }
49
- const pr = /* @__PURE__ */ we(lr, [["render", dr]]), cr = {
49
+ const dr = /* @__PURE__ */ be(ar, [["render", ur]]), pr = {
50
50
  __name: "DropdownToggle",
51
51
  props: {},
52
52
  setup(t, { expose: e }) {
53
- const n = G(null), { getInstance: r } = rr(n, () => import("./dropdown-yh2aQrbw-XuCU1v1F.js").then((s) => s.default));
53
+ const n = G(null), { getInstance: r } = nr(n, () => import("./dropdown-yh2aQrbw-XuCU1v1F.js").then((s) => s.default));
54
54
  return e({ show: () => {
55
55
  var s;
56
56
  return (s = r()) == null ? void 0 : s.show();
@@ -68,19 +68,19 @@ const pr = /* @__PURE__ */ we(lr, [["render", dr]]), cr = {
68
68
  O(s.$slots, "default")
69
69
  ], 512));
70
70
  }
71
- }, fr = {}, mr = { class: "input-group" };
72
- function hr(t, e, n, r, s, o) {
73
- return h(), g("div", mr, [
71
+ }, cr = {}, fr = { class: "input-group" };
72
+ function mr(t, e, n, r, s, o) {
73
+ return h(), g("div", fr, [
74
74
  O(t.$slots, "default")
75
75
  ]);
76
76
  }
77
- const _t = /* @__PURE__ */ we(fr, [["render", hr]]), gr = {}, yr = { class: "input-group-text" };
78
- function vr(t, e, n, r, s, o) {
79
- return h(), g("div", yr, [
77
+ const _t = /* @__PURE__ */ be(cr, [["render", mr]]), hr = {}, gr = { class: "input-group-text" };
78
+ function yr(t, e, n, r, s, o) {
79
+ return h(), g("div", gr, [
80
80
  O(t.$slots, "default")
81
81
  ]);
82
82
  }
83
- const bt = /* @__PURE__ */ we(gr, [["render", vr]]), _r = {
83
+ const bt = /* @__PURE__ */ be(hr, [["render", yr]]), vr = {
84
84
  props: {
85
85
  type: {
86
86
  type: String,
@@ -94,7 +94,7 @@ const bt = /* @__PURE__ */ we(gr, [["render", vr]]), _r = {
94
94
  }
95
95
  }
96
96
  };
97
- function br(t, e, n, r, s, o) {
97
+ function _r(t, e, n, r, s, o) {
98
98
  return h(), g("i", {
99
99
  class: L(["align-middle", "spinner-" + this.type + " spinner-" + this.type + "-" + this.size]),
100
100
  role: "status"
@@ -102,7 +102,7 @@ function br(t, e, n, r, s, o) {
102
102
  $("span", { class: "visually-hidden" }, "Loading...", -1)
103
103
  ]), 2);
104
104
  }
105
- const wr = /* @__PURE__ */ we(_r, [["render", br]]), $r = {
105
+ const br = /* @__PURE__ */ be(vr, [["render", _r]]), wr = {
106
106
  props: {
107
107
  type: {
108
108
  type: String,
@@ -110,19 +110,19 @@ const wr = /* @__PURE__ */ we(_r, [["render", br]]), $r = {
110
110
  }
111
111
  }
112
112
  };
113
- function Sr(t, e, n, r, s, o) {
113
+ function $r(t, e, n, r, s, o) {
114
114
  return h(), g("div", {
115
115
  class: L(["alert", "alert-" + n.type])
116
116
  }, [
117
117
  O(t.$slots, "default")
118
118
  ], 2);
119
119
  }
120
- const Fr = /* @__PURE__ */ we($r, [["render", Sr]]), M = (t, e) => {
120
+ const Sr = /* @__PURE__ */ be(wr, [["render", $r]]), M = (t, e) => {
121
121
  const n = t.__vccOpts || t;
122
122
  for (const [r, s] of e)
123
123
  n[r] = s;
124
124
  return n;
125
- }, Tr = E({
125
+ }, Fr = E({
126
126
  components: { InputGroup: _t, InputGroupText: bt },
127
127
  props: {
128
128
  name: {
@@ -176,8 +176,8 @@ const Fr = /* @__PURE__ */ we($r, [["render", Sr]]), M = (t, e) => {
176
176
  });
177
177
  return { modelValue: r, displayValue: a, form: e, group: n };
178
178
  }
179
- }), kr = ["name", "disabled", "readonly", "placeholder"];
180
- function Ir(t, e, n, r, s, o) {
179
+ }), Tr = ["name", "disabled", "readonly", "placeholder"];
180
+ function kr(t, e, n, r, s, o) {
181
181
  const i = j("InputGroupText"), a = j("InputGroup");
182
182
  return h(), ee(a, null, {
183
183
  default: ie(() => [
@@ -189,7 +189,7 @@ function Ir(t, e, n, r, s, o) {
189
189
  readonly: t.readonly,
190
190
  placeholder: t.placeholder,
191
191
  type: "tel"
192
- }, null, 10, kr), [
192
+ }, null, 10, Tr), [
193
193
  [Me, t.displayValue]
194
194
  ]),
195
195
  Q(i, { class: "fanum" }, {
@@ -203,7 +203,7 @@ function Ir(t, e, n, r, s, o) {
203
203
  _: 3
204
204
  });
205
205
  }
206
- const za = /* @__PURE__ */ M(Tr, [["render", Ir]]), Er = E({
206
+ const Da = /* @__PURE__ */ M(Fr, [["render", kr]]), Ir = E({
207
207
  props: {
208
208
  name: {
209
209
  type: String,
@@ -233,8 +233,8 @@ const za = /* @__PURE__ */ M(Tr, [["render", Ir]]), Er = E({
233
233
  }
234
234
  }), form: e, group: n };
235
235
  }
236
- }), Cr = ["name", "id", "disabled"];
237
- function Vr(t, e, n, r, s, o) {
236
+ }), Er = ["name", "id", "disabled"];
237
+ function Cr(t, e, n, r, s, o) {
238
238
  var i, a;
239
239
  return te((h(), g("input", {
240
240
  name: t.name,
@@ -243,11 +243,11 @@ function Vr(t, e, n, r, s, o) {
243
243
  class: L([{ "is-invalid": ((i = t.form) == null ? void 0 : i.errors[t.name]) !== void 0 }, "form-control"]),
244
244
  disabled: (a = t.form) == null ? void 0 : a.processing,
245
245
  type: "text"
246
- }, null, 10, Cr)), [
246
+ }, null, 10, Er)), [
247
247
  [Me, t.modelValue]
248
248
  ]);
249
249
  }
250
- const Ge = /* @__PURE__ */ M(Er, [["render", Vr]]), Mr = E({
250
+ const Ge = /* @__PURE__ */ M(Ir, [["render", Cr]]), Vr = E({
251
251
  components: { TextInput: Ge },
252
252
  props: {
253
253
  name: {
@@ -295,19 +295,19 @@ const Ge = /* @__PURE__ */ M(Er, [["render", Vr]]), Mr = E({
295
295
  src: this.url + Math.random()
296
296
  };
297
297
  }
298
- }), Ur = { class: "input-group captcha" }, Ar = ["src"], Nr = {
298
+ }), Mr = { class: "input-group captcha" }, Ur = ["src"], Ar = {
299
299
  key: 1,
300
300
  class: "placeholder-wave captcha-holder"
301
- }, Pr = ["disabled"];
302
- function Dr(t, e, n, r, s, o) {
301
+ }, Nr = ["disabled"];
302
+ function Pr(t, e, n, r, s, o) {
303
303
  const i = j("TextInput");
304
- return h(), g("div", Ur, [
304
+ return h(), g("div", Mr, [
305
305
  Q(i, {
306
306
  name: t.name,
307
307
  class: "text-start",
308
308
  type: "tel"
309
309
  }, null, 8, ["name"]),
310
- t.loading ? (h(), g("div", Nr, e[2] || (e[2] = [
310
+ t.loading ? (h(), g("div", Ar, e[2] || (e[2] = [
311
311
  $("div", { class: "placeholder w-100 h-100" }, null, -1)
312
312
  ]))) : (h(), g("img", {
313
313
  key: 0,
@@ -315,7 +315,7 @@ function Dr(t, e, n, r, s, o) {
315
315
  alt: "captcha",
316
316
  onClick: e[0] || (e[0] = (...a) => t.getSrc && t.getSrc(...a)),
317
317
  class: "captcha-holder"
318
- }, null, 8, Ar)),
318
+ }, null, 8, Ur)),
319
319
  $("button", {
320
320
  type: "button",
321
321
  disabled: t.form.processing || t.loading,
@@ -323,10 +323,10 @@ function Dr(t, e, n, r, s, o) {
323
323
  class: "btn btn-secondary border-0"
324
324
  }, e[3] || (e[3] = [
325
325
  $("i", { class: "fal fa-sync-alt align-middle" }, null, -1)
326
- ]), 8, Pr)
326
+ ]), 8, Nr)
327
327
  ]);
328
328
  }
329
- const Oa = /* @__PURE__ */ M(Mr, [["render", Dr]]), zr = E({
329
+ const za = /* @__PURE__ */ M(Vr, [["render", Pr]]), Dr = E({
330
330
  emits: ["change"],
331
331
  props: {
332
332
  name: {
@@ -363,8 +363,8 @@ const Oa = /* @__PURE__ */ M(Mr, [["render", Dr]]), zr = E({
363
363
  }
364
364
  }), { form: e };
365
365
  }
366
- }), Or = ["for"], Rr = ["name", "id", "disabled", "type", "value"];
367
- function Br(t, e, n, r, s, o) {
366
+ }), zr = ["for"], Or = ["name", "id", "disabled", "type", "value"];
367
+ function Rr(t, e, n, r, s, o) {
368
368
  var i, a;
369
369
  return h(), g("label", {
370
370
  class: L(["btn-label", { active: t.form[t.name] === t.value || t.form[t.name] === !0 }]),
@@ -380,13 +380,13 @@ function Br(t, e, n, r, s, o) {
380
380
  value: t.value,
381
381
  onChange: e[1] || (e[1] = (...l) => t.change && t.change(...l)),
382
382
  autocomplete: "off"
383
- }, null, 42, Rr), [
383
+ }, null, 42, Or), [
384
384
  [yt, t.form[t.name]]
385
385
  ]),
386
386
  O(t.$slots, "default")
387
- ], 10, Or);
387
+ ], 10, zr);
388
388
  }
389
- const Ra = /* @__PURE__ */ M(zr, [["render", Br]]), jr = E({
389
+ const Oa = /* @__PURE__ */ M(Dr, [["render", Rr]]), Br = E({
390
390
  props: {
391
391
  name: {
392
392
  type: String,
@@ -431,10 +431,10 @@ const Ra = /* @__PURE__ */ M(zr, [["render", Br]]), jr = E({
431
431
  }
432
432
  }), form: e, group: n };
433
433
  }
434
- }), Lr = { class: "form-check" }, xr = ["name", "id", "disabled", "type", "value"], qr = ["for"];
435
- function Hr(t, e, n, r, s, o) {
434
+ }), jr = { class: "form-check" }, Lr = ["name", "id", "disabled", "type", "value"], xr = ["for"];
435
+ function qr(t, e, n, r, s, o) {
436
436
  var i, a;
437
- return h(), g("div", Lr, [
437
+ return h(), g("div", jr, [
438
438
  te($("input", {
439
439
  name: t.name,
440
440
  id: t.inputID,
@@ -444,7 +444,7 @@ function Hr(t, e, n, r, s, o) {
444
444
  type: t.type,
445
445
  value: t.value,
446
446
  onChange: e[1] || (e[1] = (l) => t.$emit("change", l))
447
- }, null, 42, xr), [
447
+ }, null, 42, Lr), [
448
448
  [yt, t.modelValue]
449
449
  ]),
450
450
  $("label", {
@@ -452,10 +452,10 @@ function Hr(t, e, n, r, s, o) {
452
452
  for: t.inputID
453
453
  }, [
454
454
  O(t.$slots, "default")
455
- ], 8, qr)
455
+ ], 8, xr)
456
456
  ]);
457
457
  }
458
- const Ba = /* @__PURE__ */ M(jr, [["render", Hr]]), Gr = E({
458
+ const Ra = /* @__PURE__ */ M(Br, [["render", qr]]), Hr = E({
459
459
  props: {
460
460
  name: {
461
461
  type: String,
@@ -507,8 +507,8 @@ const Ba = /* @__PURE__ */ M(jr, [["render", Hr]]), Gr = E({
507
507
  }
508
508
  }), form: e, group: n };
509
509
  }
510
- }), Wr = ["for"], Yr = ["name", "id", "disabled", "type", "value"];
511
- function Xr(t, e, n, r, s, o) {
510
+ }), Gr = ["for"], Wr = ["name", "id", "disabled", "type", "value"];
511
+ function Yr(t, e, n, r, s, o) {
512
512
  var i, a, l, u;
513
513
  return h(), g("label", {
514
514
  class: L(["form-check-toggle", { "form-check-toggle--active": (t.selectedValue || []).includes(t.value) }]),
@@ -523,18 +523,18 @@ function Xr(t, e, n, r, s, o) {
523
523
  type: t.type,
524
524
  value: t.value,
525
525
  onChange: e[1] || (e[1] = (d) => t.$emit("change", d))
526
- }, null, 42, Yr), [
526
+ }, null, 42, Wr), [
527
527
  [yt, t.modelValue]
528
528
  ]),
529
529
  O(t.$slots, "default")
530
- ], 10, Wr);
530
+ ], 10, Gr);
531
531
  }
532
- const ja = /* @__PURE__ */ M(Gr, [["render", Xr]]), Zr = Ln(
532
+ const Ba = /* @__PURE__ */ M(Hr, [["render", Yr]]), Xr = Ln(
533
533
  () => import("vue3-persian-datetime-picker")
534
534
  );
535
535
  let Ae;
536
- const Kr = E({
537
- components: { Vue3PersianDatetimePicker: Zr },
536
+ const Zr = E({
537
+ components: { Vue3PersianDatetimePicker: Xr },
538
538
  emits: ["update:modelValue", "change"],
539
539
  props: {
540
540
  name: {
@@ -613,7 +613,7 @@ const Kr = E({
613
613
  return {};
614
614
  }
615
615
  });
616
- function Jr(t, e, n, r, s, o) {
616
+ function Kr(t, e, n, r, s, o) {
617
617
  var a;
618
618
  const i = j("Vue3PersianDatetimePicker");
619
619
  return t.isSsr ? B("", !0) : (h(), ee(i, en({
@@ -631,9 +631,9 @@ function Jr(t, e, n, r, s, o) {
631
631
  "input-class": "form-control fanum"
632
632
  }, t.$props), null, 16, ["modelValue", "type", "disabled", "inputFormat"]));
633
633
  }
634
- const La = /* @__PURE__ */ M(Kr, [["render", Jr]]), Qr = E({
634
+ const ja = /* @__PURE__ */ M(Zr, [["render", Kr]]), Jr = E({
635
635
  emits: ["update:modelValue", "setContent"],
636
- components: { Editor: Zn },
636
+ components: { Editor: Xn },
637
637
  props: {
638
638
  name: {
639
639
  type: String,
@@ -679,7 +679,7 @@ const La = /* @__PURE__ */ M(Kr, [["render", Jr]]), Qr = E({
679
679
  }), form: i, group: a, editorRef: r, handleInit: o };
680
680
  }
681
681
  });
682
- function es(t, e, n, r, s, o) {
682
+ function Qr(t, e, n, r, s, o) {
683
683
  const i = j("Editor");
684
684
  return h(), ee(i, {
685
685
  ref: "editorRef",
@@ -694,7 +694,7 @@ function es(t, e, n, r, s, o) {
694
694
  }
695
695
  }, null, 8, ["onInit", "modelValue", "init"]);
696
696
  }
697
- const xa = /* @__PURE__ */ M(Qr, [["render", es]]), ts = E({
697
+ const La = /* @__PURE__ */ M(Jr, [["render", Qr]]), es = E({
698
698
  props: {
699
699
  modelValue: "",
700
700
  name: {
@@ -777,19 +777,19 @@ const xa = /* @__PURE__ */ M(Qr, [["render", es]]), ts = E({
777
777
  files: []
778
778
  };
779
779
  }
780
- }), ns = { class: "file-input-uploader" }, rs = ["name", "id", "disabled", "multiple"], ss = { class: "file-input-uploader--list" }, is = ["id"], os = {
780
+ }), ts = { class: "file-input-uploader" }, ns = ["name", "id", "disabled", "multiple"], rs = { class: "file-input-uploader--list" }, ss = ["id"], is = {
781
781
  key: 0,
782
782
  class: "file-input-uploader--progress"
783
- }, as = {
783
+ }, os = {
784
784
  key: 1,
785
785
  class: "file-input-uploader--list-error"
786
- }, ls = {
786
+ }, as = {
787
787
  class: "file-input-uploader--list-item--size",
788
788
  dir: "ltr"
789
- }, us = { class: "file-input-uploader--list-item--actions" }, ds = ["onClick"], ps = ["onClick"];
790
- function cs(t, e, n, r, s, o) {
789
+ }, ls = { class: "file-input-uploader--list-item--actions" }, us = ["onClick"], ds = ["onClick"];
790
+ function ps(t, e, n, r, s, o) {
791
791
  var i, a;
792
- return h(), g("div", ns, [
792
+ return h(), g("div", ts, [
793
793
  $("input", {
794
794
  ref: "input",
795
795
  name: t.name,
@@ -799,21 +799,21 @@ function cs(t, e, n, r, s, o) {
799
799
  type: "file",
800
800
  multiple: t.multiple,
801
801
  onChange: e[0] || (e[0] = (...l) => t.fileSelected && t.fileSelected(...l))
802
- }, null, 42, rs),
803
- $("div", ss, [
804
- (h(!0), g(_e, null, be(t.allFiles, (l) => (h(), g("div", {
802
+ }, null, 42, ns),
803
+ $("div", rs, [
804
+ (h(!0), g(ve, null, _e(t.allFiles, (l) => (h(), g("div", {
805
805
  id: "file-" + l.id,
806
806
  class: "file-input-uploader--list-item"
807
807
  }, [
808
- l.percent && l.percent < 100 ? (h(), g("div", os, [
808
+ l.percent && l.percent < 100 ? (h(), g("div", is, [
809
809
  $("div", {
810
810
  style: vt({ width: l.percent + "%" })
811
811
  }, null, 4)
812
812
  ])) : B("", !0),
813
813
  $("div", null, W(l.file.name), 1),
814
- l.error ? (h(), g("div", as, W(l.error), 1)) : B("", !0),
815
- $("div", ls, W(Math.round(l.file.size / 1024)) + "Kb", 1),
816
- $("div", us, [
814
+ l.error ? (h(), g("div", os, W(l.error), 1)) : B("", !0),
815
+ $("div", as, W(Math.round(l.file.size / 1024)) + "Kb", 1),
816
+ $("div", ls, [
817
817
  l.error ? (h(), g("button", {
818
818
  key: 0,
819
819
  onClick: (u) => t.uploadFile(l),
@@ -829,7 +829,7 @@ function cs(t, e, n, r, s, o) {
829
829
  }, [
830
830
  $("path", { d: "M1,12A11,11,0,0,1,17.882,2.7l1.411-1.41A1,1,0,0,1,21,2V6a1,1,0,0,1-1,1H16a1,1,0,0,1-.707-1.707l1.128-1.128A8.994,8.994,0,0,0,3,12a1,1,0,0,1-2,0Zm21-1a1,1,0,0,0-1,1,9.01,9.01,0,0,1-9,9,8.9,8.9,0,0,1-4.42-1.166l1.127-1.127A1,1,0,0,0,8,17H4a1,1,0,0,0-1,1v4a1,1,0,0,0,.617.924A.987.987,0,0,0,4,23a1,1,0,0,0,.707-.293L6.118,21.3A10.891,10.891,0,0,0,12,23,11.013,11.013,0,0,0,23,12,1,1,0,0,0,22,11Z" })
831
831
  ], -1)
832
- ]), 8, ds)) : B("", !0),
832
+ ]), 8, us)) : B("", !0),
833
833
  l.path || l.error ? (h(), g("button", {
834
834
  key: 1,
835
835
  onClick: (u) => t.deleteFile(l),
@@ -845,13 +845,13 @@ function cs(t, e, n, r, s, o) {
845
845
  }, [
846
846
  $("path", { d: "M12,23A11,11,0,1,0,1,12,11.013,11.013,0,0,0,12,23ZM12,3a9,9,0,1,1-9,9A9.01,9.01,0,0,1,12,3ZM8.293,14.293,10.586,12,8.293,9.707A1,1,0,0,1,9.707,8.293L12,10.586l2.293-2.293a1,1,0,0,1,1.414,1.414L13.414,12l2.293,2.293a1,1,0,1,1-1.414,1.414L12,13.414,9.707,15.707a1,1,0,0,1-1.414-1.414Z" })
847
847
  ], -1)
848
- ]), 8, ps)) : B("", !0)
848
+ ]), 8, ds)) : B("", !0)
849
849
  ])
850
- ], 8, is))), 256))
850
+ ], 8, ss))), 256))
851
851
  ])
852
852
  ]);
853
853
  }
854
- const qa = /* @__PURE__ */ M(ts, [["render", cs]]), fs = E({
854
+ const xa = /* @__PURE__ */ M(es, [["render", ps]]), cs = E({
855
855
  components: {
856
856
  TextInput: Ge
857
857
  },
@@ -863,7 +863,7 @@ const qa = /* @__PURE__ */ M(ts, [["render", cs]]), fs = E({
863
863
  }
864
864
  }
865
865
  });
866
- function ms(t, e, n, r, s, o) {
866
+ function fs(t, e, n, r, s, o) {
867
867
  const i = j("TextInput");
868
868
  return h(), ee(i, {
869
869
  name: t.name,
@@ -871,7 +871,7 @@ function ms(t, e, n, r, s, o) {
871
871
  type: "email"
872
872
  }, null, 8, ["name"]);
873
873
  }
874
- const Ha = /* @__PURE__ */ M(fs, [["render", ms]]), hs = E({
874
+ const qa = /* @__PURE__ */ M(cs, [["render", fs]]), ms = E({
875
875
  props: {
876
876
  name: {
877
877
  type: String,
@@ -912,8 +912,8 @@ const Ha = /* @__PURE__ */ M(fs, [["render", ms]]), hs = E({
912
912
  groupID: "0"
913
913
  };
914
914
  }
915
- }), gs = ["data-name", "data-group-id"];
916
- function ys(t, e, n, r, s, o) {
915
+ }), hs = ["data-name", "data-group-id"];
916
+ function gs(t, e, n, r, s, o) {
917
917
  return h(), g("div", {
918
918
  class: "form-control-group",
919
919
  "data-name": t.name,
@@ -921,10 +921,10 @@ function ys(t, e, n, r, s, o) {
921
921
  ref: "groupEl"
922
922
  }, [
923
923
  O(t.$slots, "default")
924
- ], 8, gs);
924
+ ], 8, hs);
925
925
  }
926
- const vs = /* @__PURE__ */ M(hs, [["render", ys]]), _s = E({
927
- components: { Alert: Fr },
926
+ const ys = /* @__PURE__ */ M(ms, [["render", gs]]), vs = E({
927
+ components: { Alert: Sr },
928
928
  emits: ["submit", "reset", "onStart", "onFinish", "onSuccess", "onError", "change"],
929
929
  props: {
930
930
  url: {
@@ -965,7 +965,7 @@ const vs = /* @__PURE__ */ M(hs, [["render", ys]]), _s = E({
965
965
  }
966
966
  },
967
967
  setup(t) {
968
- const e = xn("formEl"), n = tn(t.modelValue), r = Kn({
968
+ const e = xn("formEl"), n = tn(t.modelValue), r = Zn({
969
969
  hasMessage: !1,
970
970
  successMessage: null,
971
971
  ...t.options,
@@ -974,7 +974,7 @@ const vs = /* @__PURE__ */ M(hs, [["render", ys]]), _s = E({
974
974
  return r.getID = function(s) {
975
975
  var i, a;
976
976
  const o = [];
977
- return (i = e.value) != null && i.id && o.push((a = e.value) == null ? void 0 : a.id), typeof s === String && o.push(s), s.group && (s.group.name || s.group.groupID) && (console.log(s.group), s.group.name && o.push(s.group.name), s.group.groupID && o.push(s.group.groupID)), s.name && o.push(s.name), s.value && o.push(s.value), o.join("-");
977
+ return (i = e.value) != null && i.id && o.push((a = e.value) == null ? void 0 : a.id), typeof s === String && o.push(s), s.group && (s.group.name || s.group.groupID) && (s.group.name && o.push(s.group.name), s.group.groupID && o.push(s.group.groupID)), s.name && o.push(s.name), s.value && o.push(s.value), o.join("-");
978
978
  }, { form: r, formData: n, formEl: e };
979
979
  },
980
980
  provide() {
@@ -1061,8 +1061,8 @@ const vs = /* @__PURE__ */ M(hs, [["render", ys]]), _s = E({
1061
1061
  }
1062
1062
  },
1063
1063
  expose: ["submit", "reset"]
1064
- }), bs = ["action", "method", "data-autotab", "novalidate"], ws = { class: "list-unstyled p-0 m-0 fanum" }, $s = ["innerHTML"];
1065
- function Ss(t, e, n, r, s, o) {
1064
+ }), _s = ["action", "method", "data-autotab", "novalidate"], bs = { class: "list-unstyled p-0 m-0 fanum" }, ws = ["innerHTML"];
1065
+ function $s(t, e, n, r, s, o) {
1066
1066
  const i = j("Alert");
1067
1067
  return h(), g("form", {
1068
1068
  ref: "formEl",
@@ -1083,8 +1083,8 @@ function Ss(t, e, n, r, s, o) {
1083
1083
  type: "danger"
1084
1084
  }, {
1085
1085
  default: ie(() => [
1086
- $("ul", ws, [
1087
- (h(!0), g(_e, null, be(t.form.errors, (a) => (h(), g("li", { innerHTML: a }, null, 8, $s))), 256))
1086
+ $("ul", bs, [
1087
+ (h(!0), g(ve, null, _e(t.form.errors, (a) => (h(), g("li", { innerHTML: a }, null, 8, ws))), 256))
1088
1088
  ])
1089
1089
  ]),
1090
1090
  _: 1
@@ -1101,9 +1101,9 @@ function Ss(t, e, n, r, s, o) {
1101
1101
  form: t.form,
1102
1102
  submit: t.submit
1103
1103
  })
1104
- ], 42, bs);
1104
+ ], 42, _s);
1105
1105
  }
1106
- const Ga = /* @__PURE__ */ M(_s, [["render", Ss]]), Fs = E({
1106
+ const Ha = /* @__PURE__ */ M(vs, [["render", $s]]), Ss = E({
1107
1107
  props: {
1108
1108
  default: !1,
1109
1109
  required: !1
@@ -1119,25 +1119,25 @@ const Ga = /* @__PURE__ */ M(_s, [["render", Ss]]), Fs = E({
1119
1119
  forId: null
1120
1120
  };
1121
1121
  }
1122
- }), Ts = ["for"], ks = {
1122
+ }), Fs = ["for"], Ts = {
1123
1123
  key: 0,
1124
1124
  class: "text-danger"
1125
1125
  };
1126
- function Is(t, e, n, r, s, o) {
1126
+ function ks(t, e, n, r, s, o) {
1127
1127
  return h(), g("label", {
1128
1128
  class: "mb-2 d-block",
1129
1129
  for: t.forId
1130
1130
  }, [
1131
1131
  O(t.$slots, "default", {}, void 0, !0),
1132
- t.required ? (h(), g("span", ks, "*")) : B("", !0)
1133
- ], 8, Ts);
1132
+ t.required ? (h(), g("span", Ts, "*")) : B("", !0)
1133
+ ], 8, Fs);
1134
1134
  }
1135
- const Wa = /* @__PURE__ */ M(Fs, [["render", Is], ["__scopeId", "data-v-1ee6dec3"]]), Es = E({
1135
+ const Ga = /* @__PURE__ */ M(Ss, [["render", ks], ["__scopeId", "data-v-1ee6dec3"]]), Is = E({
1136
1136
  name: "LocationInput",
1137
1137
  components: {
1138
- LMap: er,
1139
- LTileLayer: Qn,
1140
- LMarker: Jn
1138
+ LMap: Qn,
1139
+ LTileLayer: Jn,
1140
+ LMarker: Kn
1141
1141
  },
1142
1142
  props: {
1143
1143
  name: {
@@ -1189,7 +1189,7 @@ const Wa = /* @__PURE__ */ M(Fs, [["render", Is], ["__scopeId", "data-v-1ee6dec3
1189
1189
  };
1190
1190
  }
1191
1191
  });
1192
- function Cs(t, e, n, r, s, o) {
1192
+ function Es(t, e, n, r, s, o) {
1193
1193
  var u;
1194
1194
  const i = j("l-tile-layer"), a = j("LMarker"), l = j("l-map");
1195
1195
  return h(), g("div", {
@@ -1220,7 +1220,7 @@ function Cs(t, e, n, r, s, o) {
1220
1220
  }, 8, ["zoom", "center", "onClick"])
1221
1221
  ], 2);
1222
1222
  }
1223
- const Ya = /* @__PURE__ */ M(Es, [["render", Cs]]), Vs = E({
1223
+ const Wa = /* @__PURE__ */ M(Is, [["render", Es]]), Cs = E({
1224
1224
  components: {
1225
1225
  TextInput: Ge
1226
1226
  },
@@ -1232,7 +1232,7 @@ const Ya = /* @__PURE__ */ M(Es, [["render", Cs]]), Vs = E({
1232
1232
  }
1233
1233
  }
1234
1234
  });
1235
- function Ms(t, e, n, r, s, o) {
1235
+ function Vs(t, e, n, r, s, o) {
1236
1236
  const i = j("TextInput");
1237
1237
  return h(), ee(i, {
1238
1238
  name: t.name,
@@ -1241,7 +1241,7 @@ function Ms(t, e, n, r, s, o) {
1241
1241
  class: "form-control-mobile fanum"
1242
1242
  }, null, 8, ["name"]);
1243
1243
  }
1244
- const Xa = /* @__PURE__ */ M(Vs, [["render", Ms]]), Us = E({
1244
+ const Ya = /* @__PURE__ */ M(Cs, [["render", Vs]]), Ms = E({
1245
1245
  components: {
1246
1246
  TextInput: Ge
1247
1247
  },
@@ -1253,7 +1253,7 @@ const Xa = /* @__PURE__ */ M(Vs, [["render", Ms]]), Us = E({
1253
1253
  }
1254
1254
  }
1255
1255
  });
1256
- function As(t, e, n, r, s, o) {
1256
+ function Us(t, e, n, r, s, o) {
1257
1257
  const i = j("TextInput");
1258
1258
  return h(), ee(i, {
1259
1259
  name: t.name,
@@ -1261,7 +1261,7 @@ function As(t, e, n, r, s, o) {
1261
1261
  type: "password"
1262
1262
  }, null, 8, ["name"]);
1263
1263
  }
1264
- const Za = /* @__PURE__ */ M(Us, [["render", As]]), Ns = E({
1264
+ const Xa = /* @__PURE__ */ M(Ms, [["render", Us]]), As = E({
1265
1265
  components: { InputGroup: _t, InputGroupText: bt },
1266
1266
  props: {
1267
1267
  name: {
@@ -1319,8 +1319,8 @@ const Za = /* @__PURE__ */ M(Us, [["render", As]]), Ns = E({
1319
1319
  data() {
1320
1320
  return {};
1321
1321
  }
1322
- }), Ps = ["name", "value", "disabled", "readonly"];
1323
- function Ds(t, e, n, r, s, o) {
1322
+ }), Ns = ["name", "value", "disabled", "readonly"];
1323
+ function Ps(t, e, n, r, s, o) {
1324
1324
  const i = j("InputGroupText"), a = j("InputGroup"), l = qn("maska");
1325
1325
  return h(), ee(a, { class: "input-group-quantity" }, {
1326
1326
  default: ie(() => [
@@ -1352,7 +1352,7 @@ function Ds(t, e, n, r, s, o) {
1352
1352
  disabled: t.disabled || t.form.processing,
1353
1353
  readonly: t.readonly,
1354
1354
  type: "tel"
1355
- }, null, 42, Ps), [
1355
+ }, null, 42, Ns), [
1356
1356
  [l]
1357
1357
  ]),
1358
1358
  $("button", {
@@ -1385,8 +1385,8 @@ function Ds(t, e, n, r, s, o) {
1385
1385
  _: 3
1386
1386
  });
1387
1387
  }
1388
- const zs = /* @__PURE__ */ M(Ns, [["render", Ds]]), Os = E({
1389
- components: { GroupControl: vs, QuantityInput: zs, InputGroup: _t, InputGroupText: bt, Dropdown: ar, DropdownToggle: cr, DropdownMenu: pr },
1388
+ const Ds = /* @__PURE__ */ M(As, [["render", Ps]]), zs = E({
1389
+ components: { GroupControl: ys, QuantityInput: Ds, InputGroup: _t, InputGroupText: bt, Dropdown: or, DropdownToggle: pr, DropdownMenu: dr },
1390
1390
  props: {
1391
1391
  name: {
1392
1392
  type: String,
@@ -1462,13 +1462,13 @@ const zs = /* @__PURE__ */ M(Ns, [["render", Ds]]), Os = E({
1462
1462
  showDropdown: !1
1463
1463
  };
1464
1464
  }
1465
- }), Rs = {
1465
+ }), Os = {
1466
1466
  ref: "input",
1467
1467
  class: "multi-quantity-input fanum"
1468
- }, Bs = { class: "row align-items-center justify-content-between g-0" }, js = ["innerHTML"], Ls = { class: "col-auto" };
1469
- function xs(t, e, n, r, s, o) {
1468
+ }, Rs = { class: "row align-items-center justify-content-between g-0" }, Bs = ["innerHTML"], js = { class: "col-auto" };
1469
+ function Ls(t, e, n, r, s, o) {
1470
1470
  const i = j("QuantityInput"), a = j("GroupControl");
1471
- return h(), g("div", Rs, [
1471
+ return h(), g("div", Os, [
1472
1472
  $("button", {
1473
1473
  type: "button",
1474
1474
  class: "form-control fanum dropdown-toggle",
@@ -1479,12 +1479,12 @@ function xs(t, e, n, r, s, o) {
1479
1479
  }, [
1480
1480
  Q(a, { name: t.name }, {
1481
1481
  default: ie(() => [
1482
- (h(!0), g(_e, null, be(t.options, (l, u) => (h(), g("div", Bs, [
1482
+ (h(!0), g(ve, null, _e(t.options, (l, u) => (h(), g("div", Rs, [
1483
1483
  $("div", {
1484
1484
  class: "col-auto",
1485
1485
  innerHTML: (l == null ? void 0 : l.name) || l
1486
- }, null, 8, js),
1487
- $("div", Ls, [
1486
+ }, null, 8, Bs),
1487
+ $("div", js, [
1488
1488
  Q(i, {
1489
1489
  name: u,
1490
1490
  min: l.min || t.min,
@@ -1498,7 +1498,7 @@ function xs(t, e, n, r, s, o) {
1498
1498
  ], 2)
1499
1499
  ], 512);
1500
1500
  }
1501
- const Ka = /* @__PURE__ */ M(Os, [["render", xs]]), qs = E({
1501
+ const Za = /* @__PURE__ */ M(zs, [["render", Ls]]), xs = E({
1502
1502
  emits: ["update:modelValue", "search", "searching", "change", "selected"],
1503
1503
  props: {
1504
1504
  name: {
@@ -1681,8 +1681,8 @@ const Ka = /* @__PURE__ */ M(Os, [["render", xs]]), qs = E({
1681
1681
  }
1682
1682
  };
1683
1683
  }
1684
- }), Hs = ["name", "id"], Gs = ["value", "selected"];
1685
- function Ws(t, e, n, r, s, o) {
1684
+ }), qs = ["name", "id"], Hs = ["value", "selected"];
1685
+ function Gs(t, e, n, r, s, o) {
1686
1686
  return h(), g("div", {
1687
1687
  class: L(["select2-controller", {
1688
1688
  "is-invalid": t.form.errors[t.name],
@@ -1699,16 +1699,16 @@ function Ws(t, e, n, r, s, o) {
1699
1699
  }],
1700
1700
  ref: "input"
1701
1701
  }), [
1702
- (h(!0), g(_e, null, be(t.options, (i, a) => (h(), g("option", {
1702
+ (h(!0), g(ve, null, _e(t.options, (i, a) => (h(), g("option", {
1703
1703
  value: t.getKeyFromItem(i),
1704
1704
  selected: t.selected(i)
1705
- }, W(t.getLabelFromItem(i)), 9, Gs))), 256))
1706
- ], 16, Hs), [
1705
+ }, W(t.getLabelFromItem(i)), 9, Hs))), 256))
1706
+ ], 16, qs), [
1707
1707
  [Hn, t.modelValue]
1708
1708
  ])
1709
1709
  ], 2);
1710
1710
  }
1711
- const Ja = /* @__PURE__ */ M(qs, [["render", Ws]]), Ys = E({
1711
+ const Ka = /* @__PURE__ */ M(xs, [["render", Gs]]), Ws = E({
1712
1712
  emits: ["update:modelValue"],
1713
1713
  props: {
1714
1714
  name: {
@@ -1783,12 +1783,12 @@ const Ja = /* @__PURE__ */ M(qs, [["render", Ws]]), Ys = E({
1783
1783
  isRTL: !1
1784
1784
  };
1785
1785
  }
1786
- }), Xs = { class: "star-rating" }, Zs = {
1786
+ }), Ys = { class: "star-rating" }, Xs = {
1787
1787
  key: 0,
1788
1788
  class: "rating-value fanum"
1789
1789
  };
1790
- function Ks(t, e, n, r, s, o) {
1791
- return h(), g("div", Xs, [
1790
+ function Zs(t, e, n, r, s, o) {
1791
+ return h(), g("div", Ys, [
1792
1792
  $("div", {
1793
1793
  class: "star-rating-container",
1794
1794
  ref: "ratingContainer",
@@ -1796,7 +1796,7 @@ function Ks(t, e, n, r, s, o) {
1796
1796
  onMousemove: e[1] || (e[1] = (...i) => t.setHover && t.setHover(...i)),
1797
1797
  onClick: e[2] || (e[2] = (...i) => t.updateRating && t.updateRating(...i))
1798
1798
  }, [
1799
- (h(!0), g(_e, null, be(t.maxStars, (i) => (h(), g("div", {
1799
+ (h(!0), g(ve, null, _e(t.maxStars, (i) => (h(), g("div", {
1800
1800
  key: i,
1801
1801
  class: "star-wrapper"
1802
1802
  }, [
@@ -1807,12 +1807,12 @@ function Ks(t, e, n, r, s, o) {
1807
1807
  }, "★", 4)
1808
1808
  ]))), 128))
1809
1809
  ], 544),
1810
- t.showValue && t.displayRating > 0 ? (h(), g("div", Zs, W(t.displayRating), 1)) : B("", !0)
1810
+ t.showValue && t.displayRating > 0 ? (h(), g("div", Xs, W(t.displayRating), 1)) : B("", !0)
1811
1811
  ]);
1812
1812
  }
1813
- const Qa = /* @__PURE__ */ M(Ys, [["render", Ks]]), Js = E({
1813
+ const Ja = /* @__PURE__ */ M(Ws, [["render", Zs]]), Ks = E({
1814
1814
  components: {
1815
- Spinner: wr
1815
+ Spinner: br
1816
1816
  },
1817
1817
  inject: ["form"],
1818
1818
  props: {
@@ -1821,11 +1821,11 @@ const Qa = /* @__PURE__ */ M(Ys, [["render", Ks]]), Js = E({
1821
1821
  default: !1
1822
1822
  }
1823
1823
  }
1824
- }), Qs = ["disabled"], ei = {
1824
+ }), Js = ["disabled"], Qs = {
1825
1825
  key: 0,
1826
1826
  class: "submit-upload-percent"
1827
1827
  };
1828
- function ti(t, e, n, r, s, o) {
1828
+ function ei(t, e, n, r, s, o) {
1829
1829
  var a, l, u, d;
1830
1830
  const i = j("Spinner");
1831
1831
  return h(), g("button", {
@@ -1839,14 +1839,14 @@ function ti(t, e, n, r, s, o) {
1839
1839
  O(t.$slots, "progress", {}, () => {
1840
1840
  var p, c;
1841
1841
  return [
1842
- (p = t.form) != null && p.uploading ? (h(), g("span", ei, W((c = t.form) == null ? void 0 : c.uploading) + "%", 1)) : B("", !0)
1842
+ (p = t.form) != null && p.uploading ? (h(), g("span", Qs, W((c = t.form) == null ? void 0 : c.uploading) + "%", 1)) : B("", !0)
1843
1843
  ];
1844
1844
  })
1845
- ], 8, Qs);
1845
+ ], 8, Js);
1846
1846
  }
1847
- const el = /* @__PURE__ */ M(Js, [["render", ti]]), ni = E({
1847
+ const Qa = /* @__PURE__ */ M(Ks, [["render", ei]]), ti = E({
1848
1848
  components: {
1849
- VueTelInput: tr
1849
+ VueTelInput: er
1850
1850
  },
1851
1851
  props: {
1852
1852
  name: {
@@ -1869,7 +1869,7 @@ const el = /* @__PURE__ */ M(Js, [["render", ti]]), ni = E({
1869
1869
  },
1870
1870
  methods: {
1871
1871
  inputEvent(t, e) {
1872
- this.form[this.name] = e.number, this.valid = e.valid, console.log("input", t, e);
1872
+ this.form[this.name] = e.number, this.valid = e.valid;
1873
1873
  }
1874
1874
  },
1875
1875
  data() {
@@ -1878,14 +1878,14 @@ const el = /* @__PURE__ */ M(Js, [["render", ti]]), ni = E({
1878
1878
  valid: null
1879
1879
  };
1880
1880
  }
1881
- }), ri = {
1881
+ }), ni = {
1882
1882
  class: "telephone-input input-group fanum",
1883
1883
  dir: "ltr"
1884
1884
  };
1885
- function si(t, e, n, r, s, o) {
1885
+ function ri(t, e, n, r, s, o) {
1886
1886
  var a;
1887
1887
  const i = j("vue-tel-input");
1888
- return h(), g("div", ri, [
1888
+ return h(), g("div", ni, [
1889
1889
  Q(i, {
1890
1890
  mode: "national",
1891
1891
  validCharactersOnly: !0,
@@ -1908,7 +1908,7 @@ function si(t, e, n, r, s, o) {
1908
1908
  }, null, 8, ["onOnInput", "inputOptions", "modelValue", "styleClasses"])
1909
1909
  ]);
1910
1910
  }
1911
- const tl = /* @__PURE__ */ M(ni, [["render", si]]), ii = E({
1911
+ const el = /* @__PURE__ */ M(ti, [["render", ri]]), si = E({
1912
1912
  props: {
1913
1913
  name: {
1914
1914
  type: String,
@@ -1933,19 +1933,19 @@ const tl = /* @__PURE__ */ M(ni, [["render", si]]), ii = E({
1933
1933
  }
1934
1934
  }), form: e, group: n };
1935
1935
  }
1936
- }), oi = ["name", "disabled"];
1937
- function ai(t, e, n, r, s, o) {
1936
+ }), ii = ["name", "disabled"];
1937
+ function oi(t, e, n, r, s, o) {
1938
1938
  var i, a;
1939
1939
  return te((h(), g("textarea", {
1940
1940
  name: t.name,
1941
1941
  "onUpdate:modelValue": e[0] || (e[0] = (l) => t.modelValue = l),
1942
1942
  class: L([{ "is-invalid": ((i = t.form) == null ? void 0 : i.errors[t.name]) !== void 0 }, "form-control"]),
1943
1943
  disabled: (a = t.form) == null ? void 0 : a.processing
1944
- }, null, 10, oi)), [
1944
+ }, null, 10, ii)), [
1945
1945
  [Me, t.modelValue]
1946
1946
  ]);
1947
1947
  }
1948
- const nl = /* @__PURE__ */ M(ii, [["render", ai]]), li = E({
1948
+ const tl = /* @__PURE__ */ M(si, [["render", oi]]), ai = E({
1949
1949
  props: {
1950
1950
  name: {
1951
1951
  type: String,
@@ -1969,29 +1969,25 @@ const nl = /* @__PURE__ */ M(ii, [["render", ai]]), li = E({
1969
1969
  }
1970
1970
  },
1971
1971
  setup(t) {
1972
- const e = Gn(["completed"]);
1973
- let n = T("form", {
1972
+ let e = T("form", {
1974
1973
  errors: {},
1975
- getID(o) {
1976
- return o;
1974
+ getID(s) {
1975
+ return s;
1977
1976
  }
1978
- }), r = T("group", {});
1979
- const s = q({
1977
+ }), n = T("group", {});
1978
+ return { modelValue: q({
1980
1979
  get() {
1981
- var o;
1982
- return r.value && n.value[r.value.name] ? (o = r.value) == null ? void 0 : o.getData(t.name) : n.value[t.name];
1980
+ var s;
1981
+ return n.value && e.value[n.value.name] ? (s = n.value) == null ? void 0 : s.getData(t.name) : e.value[t.name];
1983
1982
  },
1984
- set(o) {
1985
- var i;
1986
- (i = r == null ? void 0 : r.value) != null && i.name ? r.value.setData(t.name, o) : n.value[t.name] = o;
1983
+ set(s) {
1984
+ var o;
1985
+ (o = n == null ? void 0 : n.value) != null && o.name ? n.value.setData(t.name, s) : e.value[t.name] = s;
1987
1986
  }
1988
- });
1989
- return he(s, (o) => {
1990
- o && o.length >= t.maxLength && e("completed", o);
1991
- }), { modelValue: s, form: n, group: r };
1987
+ }), form: e, group: n };
1992
1988
  }
1993
- }), ui = ["name", "id", "disabled", "placeholder", "maxlength", "data-auto-submit-length"];
1994
- function di(t, e, n, r, s, o) {
1989
+ }), li = ["name", "id", "disabled", "placeholder", "maxlength", "data-auto-submit-length"];
1990
+ function ui(t, e, n, r, s, o) {
1995
1991
  var i, a;
1996
1992
  return te((h(), g("input", {
1997
1993
  name: t.name,
@@ -2003,11 +1999,11 @@ function di(t, e, n, r, s, o) {
2003
1999
  maxlength: t.maxLength,
2004
2000
  "data-auto-submit-length": t.maxLength,
2005
2001
  type: "tel"
2006
- }, null, 10, ui)), [
2002
+ }, null, 10, li)), [
2007
2003
  [Me, t.modelValue]
2008
2004
  ]);
2009
2005
  }
2010
- const rl = /* @__PURE__ */ M(li, [["render", di]]), sl = {
2006
+ const nl = /* @__PURE__ */ M(ai, [["render", ui]]), rl = {
2011
2007
  __name: "DropzoneInput",
2012
2008
  props: {
2013
2009
  name: {
@@ -2038,8 +2034,8 @@ const rl = /* @__PURE__ */ M(li, [["render", di]]), sl = {
2038
2034
  (d = o == null ? void 0 : o.value) != null && d.name ? o.value.setData(n.name, u) : s.value[n.name] = u, r("update:modelValue", u);
2039
2035
  }
2040
2036
  });
2041
- return ve(() => {
2042
- a.value = new nr(i.value, {
2037
+ return ye(() => {
2038
+ a.value = new tr(i.value, {
2043
2039
  url: n.url,
2044
2040
  addRemoveLinks: !0,
2045
2041
  maxFiles: n.multiple ? null : 1,
@@ -2074,7 +2070,7 @@ const rl = /* @__PURE__ */ M(li, [["render", di]]), sl = {
2074
2070
  ref: i
2075
2071
  }, null, 512));
2076
2072
  }
2077
- }, pi = E({
2073
+ }, di = E({
2078
2074
  props: {
2079
2075
  modelValue: "",
2080
2076
  name: {
@@ -2155,19 +2151,19 @@ const rl = /* @__PURE__ */ M(li, [["render", di]]), sl = {
2155
2151
  files: []
2156
2152
  };
2157
2153
  }
2158
- }), ci = { class: "file-input-uploader" }, fi = ["name", "disabled", "multiple"], mi = { class: "file-input-uploader--list" }, hi = ["id"], gi = {
2154
+ }), pi = { class: "file-input-uploader" }, ci = ["name", "disabled", "multiple"], fi = { class: "file-input-uploader--list" }, mi = ["id"], hi = {
2159
2155
  key: 0,
2160
2156
  class: "file-input-uploader--progress"
2161
- }, yi = {
2157
+ }, gi = {
2162
2158
  key: 1,
2163
2159
  class: "file-input-uploader--list-error"
2164
- }, vi = {
2160
+ }, yi = {
2165
2161
  class: "file-input-uploader--list-item--size",
2166
2162
  dir: "ltr"
2167
- }, _i = { class: "file-input-uploader--list-item--actions" }, bi = ["onClick"], wi = ["onClick"];
2168
- function $i(t, e, n, r, s, o) {
2163
+ }, vi = { class: "file-input-uploader--list-item--actions" }, _i = ["onClick"], bi = ["onClick"];
2164
+ function wi(t, e, n, r, s, o) {
2169
2165
  var i, a;
2170
- return h(), g("div", ci, [
2166
+ return h(), g("div", pi, [
2171
2167
  $("input", {
2172
2168
  ref: "input",
2173
2169
  name: t.name,
@@ -2176,21 +2172,21 @@ function $i(t, e, n, r, s, o) {
2176
2172
  type: "file",
2177
2173
  multiple: t.multiple,
2178
2174
  onChange: e[0] || (e[0] = (...l) => t.fileSelected && t.fileSelected(...l))
2179
- }, null, 42, fi),
2180
- $("div", mi, [
2181
- (h(!0), g(_e, null, be(t.allFiles, (l) => (h(), g("div", {
2175
+ }, null, 42, ci),
2176
+ $("div", fi, [
2177
+ (h(!0), g(ve, null, _e(t.allFiles, (l) => (h(), g("div", {
2182
2178
  id: "file-" + l.id,
2183
2179
  class: "file-input-uploader--list-item"
2184
2180
  }, [
2185
- l.percent && l.percent < 100 ? (h(), g("div", gi, [
2181
+ l.percent && l.percent < 100 ? (h(), g("div", hi, [
2186
2182
  $("div", {
2187
2183
  style: vt({ width: l.percent + "%" })
2188
2184
  }, null, 4)
2189
2185
  ])) : B("", !0),
2190
2186
  $("div", null, W(l.file.name), 1),
2191
- l.error ? (h(), g("div", yi, W(l.error), 1)) : B("", !0),
2192
- $("div", vi, W(Math.round(l.file.size / 1024)) + "Kb", 1),
2193
- $("div", _i, [
2187
+ l.error ? (h(), g("div", gi, W(l.error), 1)) : B("", !0),
2188
+ $("div", yi, W(Math.round(l.file.size / 1024)) + "Kb", 1),
2189
+ $("div", vi, [
2194
2190
  l.error ? (h(), g("button", {
2195
2191
  key: 0,
2196
2192
  onClick: (u) => t.uploadFile(l),
@@ -2206,7 +2202,7 @@ function $i(t, e, n, r, s, o) {
2206
2202
  }, [
2207
2203
  $("path", { d: "M1,12A11,11,0,0,1,17.882,2.7l1.411-1.41A1,1,0,0,1,21,2V6a1,1,0,0,1-1,1H16a1,1,0,0,1-.707-1.707l1.128-1.128A8.994,8.994,0,0,0,3,12a1,1,0,0,1-2,0Zm21-1a1,1,0,0,0-1,1,9.01,9.01,0,0,1-9,9,8.9,8.9,0,0,1-4.42-1.166l1.127-1.127A1,1,0,0,0,8,17H4a1,1,0,0,0-1,1v4a1,1,0,0,0,.617.924A.987.987,0,0,0,4,23a1,1,0,0,0,.707-.293L6.118,21.3A10.891,10.891,0,0,0,12,23,11.013,11.013,0,0,0,23,12,1,1,0,0,0,22,11Z" })
2208
2204
  ], -1)
2209
- ]), 8, bi)) : B("", !0),
2205
+ ]), 8, _i)) : B("", !0),
2210
2206
  l.path || l.error ? (h(), g("button", {
2211
2207
  key: 1,
2212
2208
  onClick: (u) => t.deleteFile(l),
@@ -2222,13 +2218,13 @@ function $i(t, e, n, r, s, o) {
2222
2218
  }, [
2223
2219
  $("path", { d: "M12,23A11,11,0,1,0,1,12,11.013,11.013,0,0,0,12,23ZM12,3a9,9,0,1,1-9,9A9.01,9.01,0,0,1,12,3ZM8.293,14.293,10.586,12,8.293,9.707A1,1,0,0,1,9.707,8.293L12,10.586l2.293-2.293a1,1,0,0,1,1.414,1.414L13.414,12l2.293,2.293a1,1,0,1,1-1.414,1.414L12,13.414,9.707,15.707a1,1,0,0,1-1.414-1.414Z" })
2224
2220
  ], -1)
2225
- ]), 8, wi)) : B("", !0)
2221
+ ]), 8, bi)) : B("", !0)
2226
2222
  ])
2227
- ], 8, hi))), 256))
2223
+ ], 8, mi))), 256))
2228
2224
  ])
2229
2225
  ]);
2230
2226
  }
2231
- const il = /* @__PURE__ */ M(pi, [["render", $i]]), Si = E({
2227
+ const sl = /* @__PURE__ */ M(di, [["render", wi]]), $i = E({
2232
2228
  emits: ["update:modelValue", "change"],
2233
2229
  props: {
2234
2230
  name: {
@@ -2315,13 +2311,13 @@ const il = /* @__PURE__ */ M(pi, [["render", $i]]), Si = E({
2315
2311
  rangeSliderEn: null
2316
2312
  };
2317
2313
  }
2318
- }), Fi = {
2314
+ }), Si = {
2319
2315
  class: "range-input",
2320
2316
  ref: "rangeSliderEl",
2321
2317
  dir: "ltr"
2322
2318
  };
2323
- function Ti(t, e, n, r, s, o) {
2324
- return h(), g("div", Fi, [
2319
+ function Fi(t, e, n, r, s, o) {
2320
+ return h(), g("div", Si, [
2325
2321
  te($("input", {
2326
2322
  "onUpdate:modelValue": e[0] || (e[0] = (i) => t.modelValue = i),
2327
2323
  type: "hidden"
@@ -2330,8 +2326,8 @@ function Ti(t, e, n, r, s, o) {
2330
2326
  ])
2331
2327
  ], 512);
2332
2328
  }
2333
- const ol = /* @__PURE__ */ M(Si, [["render", Ti]]);
2334
- var We, C, sn, ae, Ut, on, an, ln, wt, tt, nt, Te = {}, un = [], ki = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ye = Array.isArray;
2329
+ const il = /* @__PURE__ */ M($i, [["render", Fi]]);
2330
+ var We, C, sn, ae, Ut, on, an, ln, wt, tt, nt, Te = {}, un = [], Ti = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ye = Array.isArray;
2335
2331
  function re(t, e) {
2336
2332
  for (var n in e) t[n] = e[n];
2337
2333
  return t;
@@ -2349,16 +2345,16 @@ function Oe(t, e, n, r, s) {
2349
2345
  var o = { type: t, props: e, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: s ?? ++sn, __i: -1, __u: 0 };
2350
2346
  return s == null && C.vnode != null && C.vnode(o), o;
2351
2347
  }
2352
- function ge(t) {
2348
+ function he(t) {
2353
2349
  return t.children;
2354
2350
  }
2355
2351
  function Re(t, e) {
2356
2352
  this.props = t, this.context = e;
2357
2353
  }
2358
- function ye(t, e) {
2359
- if (e == null) return t.__ ? ye(t.__, t.__i + 1) : null;
2354
+ function ge(t, e) {
2355
+ if (e == null) return t.__ ? ge(t.__, t.__i + 1) : null;
2360
2356
  for (var n; e < t.__k.length; e++) if ((n = t.__k[e]) != null && n.__e != null) return n.__e;
2361
- return typeof t.type == "function" ? ye(t) : null;
2357
+ return typeof t.type == "function" ? ge(t) : null;
2362
2358
  }
2363
2359
  function dn(t) {
2364
2360
  var e, n;
@@ -2374,18 +2370,18 @@ function At(t) {
2374
2370
  (!t.__d && (t.__d = !0) && ae.push(t) && !Le.__r++ || Ut != C.debounceRendering) && ((Ut = C.debounceRendering) || on)(Le);
2375
2371
  }
2376
2372
  function Le() {
2377
- for (var t, e, n, r, s, o, i, a = 1; ae.length; ) ae.length > a && ae.sort(an), t = ae.shift(), a = ae.length, t.__d && (n = void 0, r = void 0, s = (r = (e = t).__v).__e, o = [], i = [], e.__P && ((n = re({}, r)).__v = r.__v + 1, C.vnode && C.vnode(n), Ft(e.__P, n, r, e.__n, e.__P.namespaceURI, 32 & r.__u ? [s] : null, o, s ?? ye(r), !!(32 & r.__u), i), n.__v = r.__v, n.__.__k[n.__i] = n, fn(o, n, i), r.__e = r.__ = null, n.__e != s && dn(n)));
2373
+ for (var t, e, n, r, s, o, i, a = 1; ae.length; ) ae.length > a && ae.sort(an), t = ae.shift(), a = ae.length, t.__d && (n = void 0, r = void 0, s = (r = (e = t).__v).__e, o = [], i = [], e.__P && ((n = re({}, r)).__v = r.__v + 1, C.vnode && C.vnode(n), Ft(e.__P, n, r, e.__n, e.__P.namespaceURI, 32 & r.__u ? [s] : null, o, s ?? ge(r), !!(32 & r.__u), i), n.__v = r.__v, n.__.__k[n.__i] = n, fn(o, n, i), r.__e = r.__ = null, n.__e != s && dn(n)));
2378
2374
  Le.__r = 0;
2379
2375
  }
2380
2376
  function pn(t, e, n, r, s, o, i, a, l, u, d) {
2381
2377
  var p, c, m, v, V, A, k, I = r && r.__k || un, Y = e.length;
2382
- for (l = Ii(n, e, I, l, Y), p = 0; p < Y; p++) (m = n.__k[p]) != null && (c = m.__i == -1 ? Te : I[m.__i] || Te, m.__i = p, A = Ft(t, m, c, s, o, i, a, l, u, d), v = m.__e, m.ref && c.ref != m.ref && (c.ref && Tt(c.ref, null, m), d.push(m.ref, m.__c || v, m)), V == null && v != null && (V = v), (k = !!(4 & m.__u)) || c.__k === m.__k ? l = cn(m, l, t, k) : typeof m.type == "function" && A !== void 0 ? l = A : v && (l = v.nextSibling), m.__u &= -7);
2378
+ for (l = ki(n, e, I, l, Y), p = 0; p < Y; p++) (m = n.__k[p]) != null && (c = m.__i == -1 ? Te : I[m.__i] || Te, m.__i = p, A = Ft(t, m, c, s, o, i, a, l, u, d), v = m.__e, m.ref && c.ref != m.ref && (c.ref && Tt(c.ref, null, m), d.push(m.ref, m.__c || v, m)), V == null && v != null && (V = v), (k = !!(4 & m.__u)) || c.__k === m.__k ? l = cn(m, l, t, k) : typeof m.type == "function" && A !== void 0 ? l = A : v && (l = v.nextSibling), m.__u &= -7);
2383
2379
  return n.__e = V, l;
2384
2380
  }
2385
- function Ii(t, e, n, r, s) {
2381
+ function ki(t, e, n, r, s) {
2386
2382
  var o, i, a, l, u, d = n.length, p = d, c = 0;
2387
- for (t.__k = new Array(s), o = 0; o < s; o++) (i = e[o]) != null && typeof i != "boolean" && typeof i != "function" ? (typeof i == "string" || typeof i == "number" || typeof i == "bigint" || i.constructor == String ? i = t.__k[o] = Oe(null, i, null, null, null) : Ye(i) ? i = t.__k[o] = Oe(ge, { children: i }, null, null, null) : i.constructor === void 0 && i.__b > 0 ? i = t.__k[o] = Oe(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : t.__k[o] = i, l = o + c, i.__ = t, i.__b = t.__b + 1, a = null, (u = i.__i = Ei(i, n, l, p)) != -1 && (p--, (a = n[u]) && (a.__u |= 2)), a == null || a.__v == null ? (u == -1 && (s > d ? c-- : s < d && c++), typeof i.type != "function" && (i.__u |= 4)) : u != l && (u == l - 1 ? c-- : u == l + 1 ? c++ : (u > l ? c-- : c++, i.__u |= 4))) : t.__k[o] = null;
2388
- if (p) for (o = 0; o < d; o++) (a = n[o]) != null && !(2 & a.__u) && (a.__e == r && (r = ye(a)), hn(a, a));
2383
+ for (t.__k = new Array(s), o = 0; o < s; o++) (i = e[o]) != null && typeof i != "boolean" && typeof i != "function" ? (typeof i == "string" || typeof i == "number" || typeof i == "bigint" || i.constructor == String ? i = t.__k[o] = Oe(null, i, null, null, null) : Ye(i) ? i = t.__k[o] = Oe(he, { children: i }, null, null, null) : i.constructor === void 0 && i.__b > 0 ? i = t.__k[o] = Oe(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : t.__k[o] = i, l = o + c, i.__ = t, i.__b = t.__b + 1, a = null, (u = i.__i = Ii(i, n, l, p)) != -1 && (p--, (a = n[u]) && (a.__u |= 2)), a == null || a.__v == null ? (u == -1 && (s > d ? c-- : s < d && c++), typeof i.type != "function" && (i.__u |= 4)) : u != l && (u == l - 1 ? c-- : u == l + 1 ? c++ : (u > l ? c-- : c++, i.__u |= 4))) : t.__k[o] = null;
2384
+ if (p) for (o = 0; o < d; o++) (a = n[o]) != null && !(2 & a.__u) && (a.__e == r && (r = ge(a)), hn(a, a));
2389
2385
  return r;
2390
2386
  }
2391
2387
  function cn(t, e, n, r) {
@@ -2394,13 +2390,13 @@ function cn(t, e, n, r) {
2394
2390
  for (s = t.__k, o = 0; s && o < s.length; o++) s[o] && (s[o].__ = t, e = cn(s[o], e, n, r));
2395
2391
  return e;
2396
2392
  }
2397
- t.__e != e && (r && (e && t.type && !e.parentNode && (e = ye(t)), n.insertBefore(t.__e, e || null)), e = t.__e);
2393
+ t.__e != e && (r && (e && t.type && !e.parentNode && (e = ge(t)), n.insertBefore(t.__e, e || null)), e = t.__e);
2398
2394
  do
2399
2395
  e = e && e.nextSibling;
2400
2396
  while (e != null && e.nodeType == 8);
2401
2397
  return e;
2402
2398
  }
2403
- function Ei(t, e, n, r) {
2399
+ function Ii(t, e, n, r) {
2404
2400
  var s, o, i, a = t.key, l = t.type, u = e[n], d = u != null && (2 & u.__u) == 0;
2405
2401
  if (u === null && a == null || d && a == u.key && l == u.type) return n;
2406
2402
  if (r > (d ? 1 : 0)) {
@@ -2409,7 +2405,7 @@ function Ei(t, e, n, r) {
2409
2405
  return -1;
2410
2406
  }
2411
2407
  function Nt(t, e, n) {
2412
- e[0] == "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || ki.test(e) ? n : n + "px";
2408
+ e[0] == "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || Ti.test(e) ? n : n + "px";
2413
2409
  }
2414
2410
  function Ne(t, e, n, r, s) {
2415
2411
  var o, i;
@@ -2444,7 +2440,7 @@ function Ft(t, e, n, r, s, o, i, a, l, u) {
2444
2440
  if (e.constructor !== void 0) return null;
2445
2441
  128 & n.__u && (l = !!(32 & n.__u), o = [a = e.__e = n.__e]), (d = C.__b) && d(e);
2446
2442
  e: if (typeof N == "function") try {
2447
- if (k = e.props, I = "prototype" in N && N.prototype.render, Y = (d = N.contextType) && r[d.__c], f = d ? Y ? Y.props.value : d.__ : r, n.__c ? A = (p = e.__c = n.__c).__ = p.__E : (I ? e.__c = p = new N(k, f) : (e.__c = p = new Re(k, f), p.constructor = N, p.render = Vi), Y && Y.sub(p), p.state || (p.state = {}), p.__n = r, c = p.__d = !0, p.__h = [], p._sb = []), I && p.__s == null && (p.__s = p.state), I && N.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = re({}, p.__s)), re(p.__s, N.getDerivedStateFromProps(k, p.__s))), m = p.props, v = p.state, p.__v = e, c) I && N.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), I && p.componentDidMount != null && p.__h.push(p.componentDidMount);
2443
+ if (k = e.props, I = "prototype" in N && N.prototype.render, Y = (d = N.contextType) && r[d.__c], f = d ? Y ? Y.props.value : d.__ : r, n.__c ? A = (p = e.__c = n.__c).__ = p.__E : (I ? e.__c = p = new N(k, f) : (e.__c = p = new Re(k, f), p.constructor = N, p.render = Ci), Y && Y.sub(p), p.state || (p.state = {}), p.__n = r, c = p.__d = !0, p.__h = [], p._sb = []), I && p.__s == null && (p.__s = p.state), I && N.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = re({}, p.__s)), re(p.__s, N.getDerivedStateFromProps(k, p.__s))), m = p.props, v = p.state, p.__v = e, c) I && N.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), I && p.componentDidMount != null && p.__h.push(p.componentDidMount);
2448
2444
  else {
2449
2445
  if (I && N.getDerivedStateFromProps == null && k !== m && p.componentWillReceiveProps != null && p.componentWillReceiveProps(k, f), e.__v == n.__v || !p.__e && p.shouldComponentUpdate != null && p.shouldComponentUpdate(k, p.__s, f) === !1) {
2450
2446
  for (e.__v != n.__v && (p.props = k, p.state = p.__s, p.__d = !1), e.__e = n.__e, e.__k = n.__k, e.__k.some(function(X) {
@@ -2463,7 +2459,7 @@ function Ft(t, e, n, r, s, o, i, a, l, u) {
2463
2459
  } else do
2464
2460
  p.__d = !1, w && w(e), d = p.render(p.props, p.state, p.context), p.state = p.__s;
2465
2461
  while (p.__d && ++U < 25);
2466
- p.state = p.__s, p.getChildContext != null && (r = re(re({}, r), p.getChildContext())), I && !c && p.getSnapshotBeforeUpdate != null && (V = p.getSnapshotBeforeUpdate(m, v)), H = d, d != null && d.type === ge && d.key == null && (H = mn(d.props.children)), a = pn(t, Ye(H) ? H : [H], e, n, r, s, o, i, a, l, u), p.base = e.__e, e.__u &= -161, p.__h.length && i.push(p), A && (p.__E = p.__ = null);
2462
+ p.state = p.__s, p.getChildContext != null && (r = re(re({}, r), p.getChildContext())), I && !c && p.getSnapshotBeforeUpdate != null && (V = p.getSnapshotBeforeUpdate(m, v)), H = d, d != null && d.type === he && d.key == null && (H = mn(d.props.children)), a = pn(t, Ye(H) ? H : [H], e, n, r, s, o, i, a, l, u), p.base = e.__e, e.__u &= -161, p.__h.length && i.push(p), A && (p.__E = p.__ = null);
2467
2463
  } catch (X) {
2468
2464
  if (e.__v = null, l || o != null) if (X.then) {
2469
2465
  for (e.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
@@ -2475,7 +2471,7 @@ function Ft(t, e, n, r, s, o, i, a, l, u) {
2475
2471
  else e.__e = n.__e, e.__k = n.__k, X.then || rt(e);
2476
2472
  C.__e(X, e, n);
2477
2473
  }
2478
- else o == null && e.__v == n.__v ? (e.__k = n.__k, e.__e = n.__e) : a = e.__e = Ci(n.__e, e, n, r, s, o, i, l, u);
2474
+ else o == null && e.__v == n.__v ? (e.__k = n.__k, e.__e = n.__e) : a = e.__e = Ei(n.__e, e, n, r, s, o, i, l, u);
2479
2475
  return (d = C.diffed) && d(e), 128 & e.__u ? void 0 : a;
2480
2476
  }
2481
2477
  function rt(t) {
@@ -2496,7 +2492,7 @@ function fn(t, e, n) {
2496
2492
  function mn(t) {
2497
2493
  return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Ye(t) ? t.map(mn) : re({}, t);
2498
2494
  }
2499
- function Ci(t, e, n, r, s, o, i, a, l) {
2495
+ function Ei(t, e, n, r, s, o, i, a, l) {
2500
2496
  var u, d, p, c, m, v, V, A = n.props || Te, k = e.props, I = e.type;
2501
2497
  if (I == "svg" ? s = "http://www.w3.org/2000/svg" : I == "math" ? s = "http://www.w3.org/1998/Math/MathML" : s || (s = "http://www.w3.org/1999/xhtml"), o != null) {
2502
2498
  for (u = 0; u < o.length; u++) if ((m = o[u]) && "setAttribute" in m == !!I && (I ? m.localName == I : m.nodeType == 3)) {
@@ -2520,7 +2516,7 @@ function Ci(t, e, n, r, s, o, i, a, l) {
2520
2516
  }
2521
2517
  for (u in k) m = k[u], u == "children" ? c = m : u == "dangerouslySetInnerHTML" ? d = m : u == "value" ? v = m : u == "checked" ? V = m : a && typeof m != "function" || A[u] === m || Ne(t, u, m, A[u], s);
2522
2518
  if (d) a || p && (d.__html == p.__html || d.__html == t.innerHTML) || (t.innerHTML = d.__html), e.__k = [];
2523
- else if (p && (t.innerHTML = ""), pn(e.type == "template" ? t.content : t, Ye(c) ? c : [c], e, n, r, I == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, o, i, o ? o[0] : n.__k && ye(n, 0), a, l), o != null) for (u = o.length; u--; ) $t(o[u]);
2519
+ else if (p && (t.innerHTML = ""), pn(e.type == "template" ? t.content : t, Ye(c) ? c : [c], e, n, r, I == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, o, i, o ? o[0] : n.__k && ge(n, 0), a, l), o != null) for (u = o.length; u--; ) $t(o[u]);
2524
2520
  a || (u = "value", I == "progress" && v == null ? t.removeAttribute("value") : v != null && (v !== t[u] || I == "progress" && !v || I == "option" && v != A[u]) && Ne(t, u, v, A[u], s), u = "checked", V != null && V != t[u] && Ne(t, u, V, A[u], s));
2525
2521
  }
2526
2522
  return t;
@@ -2548,12 +2544,12 @@ function hn(t, e, n) {
2548
2544
  if (r = t.__k) for (s = 0; s < r.length; s++) r[s] && hn(r[s], e, n || typeof t.type != "function");
2549
2545
  n || $t(t.__e), t.__c = t.__ = t.__e = void 0;
2550
2546
  }
2551
- function Vi(t, e, n) {
2547
+ function Ci(t, e, n) {
2552
2548
  return this.constructor(t, n);
2553
2549
  }
2554
2550
  function gn(t, e, n) {
2555
2551
  var r, s, o, i;
2556
- e == document && (e = document.documentElement), C.__ && C.__(t, e), s = (r = !1) ? null : e.__k, o = [], i = [], Ft(e, t = e.__k = St(ge, null, [t]), s || Te, Te, e.namespaceURI, s ? null : e.firstChild ? We.call(e.childNodes) : null, o, s ? s.__e : e.firstChild, r, i), fn(o, t, i);
2552
+ e == document && (e = document.documentElement), C.__ && C.__(t, e), s = (r = !1) ? null : e.__k, o = [], i = [], Ft(e, t = e.__k = St(he, null, [t]), s || Te, Te, e.namespaceURI, s ? null : e.firstChild ? We.call(e.childNodes) : null, o, s ? s.__e : e.firstChild, r, i), fn(o, t, i);
2557
2553
  }
2558
2554
  We = un.slice, C = { __e: function(t, e, n, r) {
2559
2555
  for (var s, o, i; e = e.__; ) if ((s = e.__c) && !s.__) try {
@@ -2567,15 +2563,15 @@ We = un.slice, C = { __e: function(t, e, n, r) {
2567
2563
  n = this.__s != null && this.__s != this.state ? this.__s : this.__s = re({}, this.state), typeof t == "function" && (t = t(re({}, n), this.props)), t && re(n, t), t != null && this.__v && (e && this._sb.push(e), At(this));
2568
2564
  }, Re.prototype.forceUpdate = function(t) {
2569
2565
  this.__v && (this.__e = !0, t && this.__h.push(t), At(this));
2570
- }, Re.prototype.render = ge, ae = [], on = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, an = function(t, e) {
2566
+ }, Re.prototype.render = he, ae = [], on = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, an = function(t, e) {
2571
2567
  return t.__v.__b - e.__v.__b;
2572
2568
  }, Le.__r = 0, ln = /(PointerCapture)$|Capture$/i, wt = 0, tt = Pt(!1), nt = Pt(!0);
2573
- var Mi = 0;
2569
+ var Vi = 0;
2574
2570
  function S(t, e, n, r, s, o) {
2575
2571
  e || (e = {});
2576
2572
  var i, a, l = e;
2577
2573
  if ("ref" in l) for (a in l = {}, e) a == "ref" ? i = e[a] : l[a] = e[a];
2578
- var u = { type: t, props: l, key: n, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Mi, __i: -1, __u: 0, __source: s, __self: o };
2574
+ var u = { type: t, props: l, key: n, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Vi, __i: -1, __u: 0, __source: s, __self: o };
2579
2575
  if (typeof t == "function" && (i = t.defaultProps)) for (a in i) l[a] === void 0 && (l[a] = i[a]);
2580
2576
  return C.vnode && C.vnode(u), u;
2581
2577
  }
@@ -2598,10 +2594,10 @@ function kt(t, e) {
2598
2594
  var n = P.__H || (P.__H = { __: [], __h: [] });
2599
2595
  return t >= n.__.length && n.__.push({}), n.__[t];
2600
2596
  }
2601
- function Ui(t) {
2602
- return st = 1, Ai(Sn, t);
2597
+ function Mi(t) {
2598
+ return st = 1, Ui(Sn, t);
2603
2599
  }
2604
- function Ai(t, e, n) {
2600
+ function Ui(t, e, n) {
2605
2601
  var r = kt(ke++, 2);
2606
2602
  if (r.t = t, !r.__c && (r.__ = [Sn(void 0, e), function(a) {
2607
2603
  var l = r.__N ? r.__N[0] : r.__[0], u = r.t(l, a);
@@ -2643,7 +2639,7 @@ function wn(t, e) {
2643
2639
  var n = kt(ke++, 7);
2644
2640
  return $n(n.__H, e) && (n.__ = t(), n.__H = e, n.__h = t), n.__;
2645
2641
  }
2646
- function Ni() {
2642
+ function Ai() {
2647
2643
  for (var t; t = _n.shift(); ) if (t.__P && t.__H) try {
2648
2644
  t.__H.__h.forEach(Be), t.__H.__h.forEach(it), t.__H.__h = [];
2649
2645
  } catch (e) {
@@ -2663,7 +2659,7 @@ z.__b = function(t) {
2663
2659
  }, z.diffed = function(t) {
2664
2660
  Rt && Rt(t);
2665
2661
  var e = t.__c;
2666
- e && e.__H && (e.__H.__h.length && (_n.push(e) !== 1 && Dt === z.requestAnimationFrame || ((Dt = z.requestAnimationFrame) || Pi)(Ni)), e.__H.__.forEach(function(n) {
2662
+ e && e.__H && (e.__H.__h.length && (_n.push(e) !== 1 && Dt === z.requestAnimationFrame || ((Dt = z.requestAnimationFrame) || Ni)(Ai)), e.__H.__.forEach(function(n) {
2667
2663
  n.u && (n.__H = n.u), n.u = void 0;
2668
2664
  })), Je = P = null;
2669
2665
  }, z.__c = function(t, e) {
@@ -2690,7 +2686,7 @@ z.__b = function(t) {
2690
2686
  }), n.__H = void 0, e && z.__e(e, n.__v));
2691
2687
  };
2692
2688
  var xt = typeof requestAnimationFrame == "function";
2693
- function Pi(t) {
2689
+ function Ni(t) {
2694
2690
  var e, n = function() {
2695
2691
  clearTimeout(r), xt && cancelAnimationFrame(e), setTimeout(t);
2696
2692
  }, r = setTimeout(n, 35);
@@ -2712,7 +2708,7 @@ function $n(t, e) {
2712
2708
  function Sn(t, e) {
2713
2709
  return typeof e == "function" ? e(t) : e;
2714
2710
  }
2715
- function Di(t, e = {}) {
2711
+ function Pi(t, e = {}) {
2716
2712
  const n = `uppy-dropzone-file-input-${t.uppy.getID()}`, r = (d) => {
2717
2713
  var c, m;
2718
2714
  d.preventDefault(), d.stopPropagation();
@@ -2770,11 +2766,11 @@ function Di(t, e = {}) {
2770
2766
  }
2771
2767
  };
2772
2768
  }
2773
- function zi(t) {
2769
+ function Di(t) {
2774
2770
  const { width: e, height: n, note: r, noClick: s, ctx: o } = t;
2775
2771
  if (!o.uppy)
2776
2772
  throw new Error("Dropzone must be used within a UppyContextProvider");
2777
- const { getRootProps: i, getInputProps: a } = wn(() => Di(o, { noClick: s }), [o, s]);
2773
+ const { getRootProps: i, getInputProps: a } = wn(() => Pi(o, { noClick: s }), [o, s]);
2778
2774
  return S("div", { className: "uppy-reset", "data-uppy-element": "dropzone", role: "presentation", children: [S("input", { ...a(), tabIndex: -1, name: "uppy-dropzone-file-input", className: "uppy:hidden" }), S("div", {
2779
2775
  ...i(),
2780
2776
  // biome-ignore lint/a11y/noNoninteractiveTabindex: it is also a button. getRootProps returns keyboard event handlers
@@ -2789,7 +2785,7 @@ function zi(t) {
2789
2785
  children: [S("div", { className: "uppy:flex uppy:flex-col uppy:items-center uppy:justify-center uppy:h-full uppy:space-y-3", children: S("p", { className: "uppy:text-gray-600", children: "Drop files here or click to add them" }) }), r ? S("div", { className: "uppy:text-sm uppy:text-gray-500", children: r }) : null]
2790
2786
  })] });
2791
2787
  }
2792
- const Oi = [
2788
+ const zi = [
2793
2789
  "B",
2794
2790
  "kB",
2795
2791
  "MB",
@@ -2799,7 +2795,7 @@ const Oi = [
2799
2795
  "EB",
2800
2796
  "ZB",
2801
2797
  "YB"
2802
- ], Ri = [
2798
+ ], Oi = [
2803
2799
  "B",
2804
2800
  "KiB",
2805
2801
  "MiB",
@@ -2809,7 +2805,7 @@ const Oi = [
2809
2805
  "EiB",
2810
2806
  "ZiB",
2811
2807
  "YiB"
2812
- ], Bi = [
2808
+ ], Ri = [
2813
2809
  "b",
2814
2810
  "kbit",
2815
2811
  "Mbit",
@@ -2819,7 +2815,7 @@ const Oi = [
2819
2815
  "Ebit",
2820
2816
  "Zbit",
2821
2817
  "Ybit"
2822
- ], ji = [
2818
+ ], Bi = [
2823
2819
  "b",
2824
2820
  "kibit",
2825
2821
  "Mibit",
@@ -2833,7 +2829,7 @@ const Oi = [
2833
2829
  let r = t;
2834
2830
  return typeof e == "string" || Array.isArray(e) ? r = t.toLocaleString(e, n) : (e === !0 || n !== void 0) && (r = t.toLocaleString(void 0, n)), r;
2835
2831
  };
2836
- function Li(t, e) {
2832
+ function ji(t, e) {
2837
2833
  if (!Number.isFinite(t))
2838
2834
  throw new TypeError(`Expected a finite number, got ${typeof t}: ${t}`);
2839
2835
  e = {
@@ -2842,7 +2838,7 @@ function Li(t, e) {
2842
2838
  space: !0,
2843
2839
  ...e
2844
2840
  };
2845
- const n = e.bits ? e.binary ? ji : Bi : e.binary ? Ri : Oi, r = e.space ? " " : "";
2841
+ const n = e.bits ? e.binary ? Bi : Ri : e.binary ? Oi : zi, r = e.space ? " " : "";
2846
2842
  if (e.signed && t === 0)
2847
2843
  return ` 0${r}${n[0]}`;
2848
2844
  const s = t < 0, o = s ? "-" : e.signed ? "+" : "";
@@ -2857,8 +2853,8 @@ function Li(t, e) {
2857
2853
  const l = qt(Number(t), e.locale, i), u = n[a];
2858
2854
  return o + l + r + u;
2859
2855
  }
2860
- function xi(t) {
2861
- const [e, n] = Ui(() => []), { ctx: r, editFile: s, imageThumbnail: o } = t;
2856
+ function Li(t) {
2857
+ const [e, n] = Mi(() => []), { ctx: r, editFile: s, imageThumbnail: o } = t;
2862
2858
  return bn(() => {
2863
2859
  var a;
2864
2860
  const i = (l, u, d) => {
@@ -2870,7 +2866,7 @@ function xi(t) {
2870
2866
  };
2871
2867
  }, [r.uppy]), S("ul", { "data-uppy-element": "files-list", className: "uppy-reset uppy:my-4", children: e == null ? void 0 : e.map((i) => {
2872
2868
  var a, l, u;
2873
- return S("li", { children: S(ge, { children: [S("div", { className: "uppy:flex uppy:items-center uppy:gap-2", children: [S("div", { className: "uppy:w-[32px] uppy:h-[32px]", children: S(qi, { width: "32px", height: "32px", file: i, images: o }) }), S("p", { className: "uppy:truncate", children: i.name }), S("p", { className: "uppy:text-gray-500 uppy:tabular-nums uppy:min-w-18 uppy:text-right uppy:ml-auto", children: Li(i.size || 0) }), S(ge, { children: [s && S("button", { type: "button", className: "uppy:flex uppy:rounded uppy:text-blue-500 uppy:hover:text-blue-700 uppy:bg-transparent uppy:transition-colors", onClick: () => {
2869
+ return S("li", { children: S(he, { children: [S("div", { className: "uppy:flex uppy:items-center uppy:gap-2", children: [S("div", { className: "uppy:w-[32px] uppy:h-[32px]", children: S(xi, { width: "32px", height: "32px", file: i, images: o }) }), S("p", { className: "uppy:truncate", children: i.name }), S("p", { className: "uppy:text-gray-500 uppy:tabular-nums uppy:min-w-18 uppy:text-right uppy:ml-auto", children: ji(i.size || 0) }), S(he, { children: [s && S("button", { type: "button", className: "uppy:flex uppy:rounded uppy:text-blue-500 uppy:hover:text-blue-700 uppy:bg-transparent uppy:transition-colors", onClick: () => {
2874
2870
  s(i);
2875
2871
  }, children: "edit" }), S("button", { type: "button", className: "uppy:flex uppy:rounded uppy:text-blue-500 uppy:hover:text-blue-700 uppy:bg-transparent uppy:transition-colors", onClick: () => {
2876
2872
  var d;
@@ -2882,7 +2878,7 @@ function xi(t) {
2882
2878
  }), value: ((u = i.progress) == null ? void 0 : u.percentage) || 0 })] }) }, i.id);
2883
2879
  }) });
2884
2880
  }
2885
- function qi(t) {
2881
+ function xi(t) {
2886
2882
  var d, p;
2887
2883
  const e = t.width || "100%", n = t.height || "100%", r = ((d = t.file.type) == null ? void 0 : d.split("/")[0]) || "", s = ((p = t.file.type) == null ? void 0 : p.split("/")[1]) || "", o = t.file.type.startsWith("image/"), i = r === "application" && [
2888
2884
  "zip",
@@ -2909,7 +2905,7 @@ function qi(t) {
2909
2905
  aspectRatio: "1"
2910
2906
  }, children: [u ? S("img", { className: "uppy:w-full uppy:h-full uppy:object-cover", src: l, alt: t.file.name }) : null, u ? null : S("div", { className: "uppy:flex uppy:flex-col uppy:items-center uppy:justify-center uppy:w-full uppy:h-full", children: S("div", { className: "uppy:flex-1 uppy:flex uppy:items-center uppy:justify-center uppy:w-full", children: [t.file.type ? null : S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("g", { fill: "#A7AFB7", "fill-rule": "nonzero", children: [S("path", { d: "M5.5 22a.5.5 0 0 1-.5-.5v-18a.5.5 0 0 1 .5-.5h10.719a.5.5 0 0 1 .367.16l3.281 3.556a.5.5 0 0 1 .133.339V21.5a.5.5 0 0 1-.5.5h-14zm.5-1h13V7.25L16 4H6v17z" }), S("path", { d: "M15 4v3a1 1 0 0 0 1 1h3V7h-3V4h-1z" })] }) }), r === "text" ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("path", { d: "M4.5 7h13a.5.5 0 1 1 0 1h-13a.5.5 0 0 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h15a.5.5 0 1 1 0 1h-15a.5.5 0 1 1 0-1zm0 3h10a.5.5 0 1 1 0 1h-10a.5.5 0 1 1 0-1z", fill: "#5A5E69", "fill-rule": "nonzero" }) }) : null, r === "image" && !u ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("g", { fill: "#686DE0", "fill-rule": "evenodd", children: [S("path", { d: "M5 7v10h15V7H5zm0-1h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z", "fill-rule": "nonzero" }), S("path", { d: "M6.35 17.172l4.994-5.026a.5.5 0 0 1 .707 0l2.16 2.16 3.505-3.505a.5.5 0 0 1 .707 0l2.336 2.31-.707.72-1.983-1.97-3.505 3.505a.5.5 0 0 1-.707 0l-2.16-2.159-3.938 3.939-1.409.026z", "fill-rule": "nonzero" }), S("circle", { cx: "7.5", cy: "9.5", r: "1.5" })] }) }) : null, r === "audio" ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("path", { d: "M9.5 18.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V7.25a.5.5 0 0 1 .379-.485l9-2.25A.5.5 0 0 1 18.5 5v11.64c0 1.14-1.145 2-2.5 2s-2.5-.86-2.5-2c0-1.14 1.145-2 2.5-2 .557 0 1.079.145 1.5.396V8.67l-8 2v7.97zm8-11v-2l-8 2v2l8-2zM7 19.64c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1zm9-2c.855 0 1.5-.484 1.5-1s-.645-1-1.5-1-1.5.484-1.5 1 .645 1 1.5 1z", fill: "#049BCF", "fill-rule": "nonzero" }) }) : null, r === "video" ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("path", { d: "M16 11.834l4.486-2.691A1 1 0 0 1 22 10v6a1 1 0 0 1-1.514.857L16 14.167V17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2.834zM15 9H5v8h10V9zm1 4l5 3v-6l-5 3z", fill: "#19AF67", "fill-rule": "nonzero" }) }) : null, a ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("path", { d: "M9.766 8.295c-.691-1.843-.539-3.401.747-3.726 1.643-.414 2.505.938 2.39 3.299-.039.79-.194 1.662-.537 3.148.324.49.66.967 1.055 1.51.17.231.382.488.629.757 1.866-.128 3.653.114 4.918.655 1.487.635 2.192 1.685 1.614 2.84-.566 1.133-1.839 1.084-3.416.249-1.141-.604-2.457-1.634-3.51-2.707a13.467 13.467 0 0 0-2.238.426c-1.392 4.051-4.534 6.453-5.707 4.572-.986-1.58 1.38-4.206 4.914-5.375.097-.322.185-.656.264-1.001.08-.353.306-1.31.407-1.737-.678-1.059-1.2-2.031-1.53-2.91zm2.098 4.87c-.033.144-.068.287-.104.427l.033-.01-.012.038a14.065 14.065 0 0 1 1.02-.197l-.032-.033.052-.004a7.902 7.902 0 0 1-.208-.271c-.197-.27-.38-.526-.555-.775l-.006.028-.002-.003c-.076.323-.148.632-.186.8zm5.77 2.978c1.143.605 1.832.632 2.054.187.26-.519-.087-1.034-1.113-1.473-.911-.39-2.175-.608-3.55-.608.845.766 1.787 1.459 2.609 1.894zM6.559 18.789c.14.223.693.16 1.425-.413.827-.648 1.61-1.747 2.208-3.206-2.563 1.064-4.102 2.867-3.633 3.62zm5.345-10.97c.088-1.793-.351-2.48-1.146-2.28-.473.119-.564 1.05-.056 2.405.213.566.52 1.188.908 1.859.18-.858.268-1.453.294-1.984z", fill: "#E2514A", "fill-rule": "nonzero" }) }) : null, i ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("path", { d: "M10.45 2.05h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V2.55a.5.5 0 0 1 .5-.5zm2.05 1.024h1.05a.5.5 0 0 1 .5.5V3.6a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5v-.001zM10.45 0h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5V.5a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 3.074h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-2.05 1.024h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm-2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm-2.05 1.025h1.05a.5.5 0 0 1 .5.5v.025a.5.5 0 0 1-.5.5h-1.05a.5.5 0 0 1-.5-.5v-.025a.5.5 0 0 1 .5-.5zm2.05 1.025h1.05a.5.5 0 0 1 .5.5v.024a.5.5 0 0 1-.5.5H12.5a.5.5 0 0 1-.5-.5v-.024a.5.5 0 0 1 .5-.5zm-1.656 3.074l-.82 5.946c.52.302 1.174.458 1.976.458.803 0 1.455-.156 1.975-.458l-.82-5.946h-2.311zm0-1.025h2.312c.512 0 .946.378 1.015.885l.82 5.946c.056.412-.142.817-.501 1.026-.686.398-1.515.597-2.49.597-.974 0-1.804-.199-2.49-.597a1.025 1.025 0 0 1-.5-1.026l.819-5.946c.07-.507.503-.885 1.015-.885zm.545 6.6a.5.5 0 0 1-.397-.561l.143-.999a.5.5 0 0 1 .495-.429h.74a.5.5 0 0 1 .495.43l.143.998a.5.5 0 0 1-.397.561c-.404.08-.819.08-1.222 0z", fill: "#00C469", "fill-rule": "nonzero" }) }) : null, t.file.type && !r && !a && !i ? S("svg", { "aria-hidden": "true", className: "uppy:w-3/4 uppy:h-3/4", viewBox: "0 0 25 25", children: S("g", { fill: "#A7AFB7", "fill-rule": "nonzero", children: [S("path", { d: "M5.5 22a.5.5 0 0 1-.5-.5v-18a.5.5 0 0 1 .5-.5h10.719a.5.5 0 0 1 .367.16l3.281 3.556a.5.5 0 0 1 .133.339V21.5a.5.5 0 0 1-.5.5h-14zm.5-1h13V7.25L16 4H6v17z" }), S("path", { d: "M15 4v3a1 1 0 0 0 1 1h3V7h-3V4h-1z" })] }) }) : null] }) })] });
2911
2907
  }
2912
- function Hi({ uppy: t, onStatusChange: e, onProgressChange: n }) {
2908
+ function qi({ uppy: t, onStatusChange: e, onProgressChange: n }) {
2913
2909
  const r = () => {
2914
2910
  e("ready");
2915
2911
  }, s = () => {
@@ -2936,7 +2932,7 @@ function Hi({ uppy: t, onStatusChange: e, onProgressChange: n }) {
2936
2932
  }
2937
2933
  };
2938
2934
  }
2939
- const Fn = Symbol("uppy"), Gi = E({
2935
+ const Fn = Symbol("uppy"), Hi = E({
2940
2936
  name: "UppyContextProvider",
2941
2937
  props: {
2942
2938
  uppy: {
@@ -2946,16 +2942,16 @@ const Fn = Symbol("uppy"), Gi = E({
2946
2942
  },
2947
2943
  setup(t, { slots: e }) {
2948
2944
  const n = G("init"), r = G(0), s = tn({
2949
- uppy: Wn(t.uppy),
2945
+ uppy: Gn(t.uppy),
2950
2946
  status: "init",
2951
2947
  progress: 0
2952
2948
  });
2953
- Yn(Fn, s);
2949
+ Wn(Fn, s);
2954
2950
  let o;
2955
- return ve(() => {
2951
+ return ye(() => {
2956
2952
  if (!t.uppy)
2957
2953
  throw new Error("UppyContextProvider: passing `uppy` as a prop is required");
2958
- o = Hi({
2954
+ o = qi({
2959
2955
  uppy: t.uppy,
2960
2956
  onStatusChange: (i) => {
2961
2957
  n.value = i, s.status = i;
@@ -2980,41 +2976,41 @@ function Tn() {
2980
2976
  progress: 0
2981
2977
  };
2982
2978
  }
2983
- const Wi = E({
2979
+ const Gi = E({
2984
2980
  name: "Dropzone",
2985
2981
  props: ["width", "height", "note", "noClick"],
2986
2982
  setup(t) {
2987
2983
  const e = G(null), n = Tn();
2988
2984
  function r() {
2989
- e.value && gn(St(zi, {
2985
+ e.value && gn(St(Di, {
2990
2986
  ...t,
2991
2987
  ctx: n
2992
2988
  }), e.value);
2993
2989
  }
2994
- return ve(() => {
2990
+ return ye(() => {
2995
2991
  r();
2996
- }), he(n, () => {
2992
+ }), Fe(n, () => {
2997
2993
  r();
2998
- }), he(() => t, () => {
2994
+ }), Fe(() => t, () => {
2999
2995
  r();
3000
2996
  }, { deep: !0 }), () => rn("div", { ref: e });
3001
2997
  }
3002
- }), Yi = E({
2998
+ }), Wi = E({
3003
2999
  name: "FilesList",
3004
3000
  props: ["editFile", "imageThumbnail"],
3005
3001
  setup(t) {
3006
3002
  const e = G(null), n = Tn();
3007
3003
  function r() {
3008
- e.value && gn(St(xi, {
3004
+ e.value && gn(St(Li, {
3009
3005
  ...t,
3010
3006
  ctx: n
3011
3007
  }), e.value);
3012
3008
  }
3013
- return ve(() => {
3009
+ return ye(() => {
3014
3010
  r();
3015
- }), he(n, () => {
3011
+ }), Fe(n, () => {
3016
3012
  r();
3017
- }), he(() => t, () => {
3013
+ }), Fe(() => t, () => {
3018
3014
  r();
3019
3015
  }, { deep: !0 }), () => rn("div", { ref: e });
3020
3016
  }
@@ -3091,19 +3087,19 @@ function In(t) {
3091
3087
  const e = t.name ? (n = kn(t.name).extension) == null ? void 0 : n.toLowerCase() : null;
3092
3088
  return e && e in Ht ? Ht[e] : "application/octet-stream";
3093
3089
  }
3094
- function Xi(t) {
3090
+ function Yi(t) {
3095
3091
  return t.charCodeAt(0).toString(32);
3096
3092
  }
3097
3093
  function Gt(t) {
3098
3094
  let e = "";
3099
- return t.replace(/[^A-Z0-9]/gi, (n) => (e += `-${Xi(n)}`, "/")) + e;
3095
+ return t.replace(/[^A-Z0-9]/gi, (n) => (e += `-${Yi(n)}`, "/")) + e;
3100
3096
  }
3101
- function Zi(t, e) {
3097
+ function Xi(t, e) {
3102
3098
  var r;
3103
3099
  let n = e || "uppy";
3104
3100
  return typeof t.name == "string" && (n += `-${Gt(t.name.toLowerCase())}`), t.type !== void 0 && (n += `-${t.type}`), t.meta && typeof t.meta.relativePath == "string" && (n += `-${Gt(t.meta.relativePath.toLowerCase())}`), ((r = t.data) == null ? void 0 : r.size) !== void 0 && (n += `-${t.data.size}`), t.data.lastModified !== void 0 && (n += `-${t.data.lastModified}`), n;
3105
3101
  }
3106
- function Ki(t) {
3102
+ function Zi(t) {
3107
3103
  return !t.isRemote || !t.remote ? !1 : (/* @__PURE__ */ new Set([
3108
3104
  "box",
3109
3105
  "dropbox",
@@ -3112,11 +3108,11 @@ function Ki(t) {
3112
3108
  "unsplash"
3113
3109
  ])).has(t.remote.provider);
3114
3110
  }
3115
- function Ji(t, e) {
3116
- if (Ki(t))
3111
+ function Ki(t, e) {
3112
+ if (Zi(t))
3117
3113
  return t.id;
3118
3114
  const n = In(t);
3119
- return Zi({
3115
+ return Xi({
3120
3116
  ...t,
3121
3117
  type: n
3122
3118
  }, e);
@@ -3128,7 +3124,7 @@ function je() {
3128
3124
  const t = /* @__PURE__ */ new Date(), e = Qe(t.getHours()), n = Qe(t.getMinutes()), r = Qe(t.getSeconds());
3129
3125
  return `${e}:${n}:${r}`;
3130
3126
  }
3131
- function Qi(t, e, n) {
3127
+ function Ji(t, e, n) {
3132
3128
  const r = [];
3133
3129
  return t.forEach((s) => typeof s != "string" ? r.push(s) : e[Symbol.split](s).forEach((o, i, a) => {
3134
3130
  o !== "" && r.push(o), i < a.length - 1 && r.push(n);
@@ -3152,16 +3148,16 @@ function Wt(t, e) {
3152
3148
  for (const o of Object.keys(e))
3153
3149
  if (o !== "_") {
3154
3150
  let i = e[o];
3155
- typeof i == "string" && (i = n[Symbol.replace](i, r)), s = Qi(s, new RegExp(`%\\{${o}\\}`, "g"), i);
3151
+ typeof i == "string" && (i = n[Symbol.replace](i, r)), s = Ji(s, new RegExp(`%\\{${o}\\}`, "g"), i);
3156
3152
  }
3157
3153
  return s;
3158
3154
  }
3159
- const eo = (t) => {
3155
+ const Qi = (t) => {
3160
3156
  throw new Error(`missing string: ${t}`);
3161
3157
  };
3162
3158
  var Ie, Ee, ot;
3163
- class to {
3164
- constructor(e, { onMissingKey: n = eo } = {}) {
3159
+ class eo {
3160
+ constructor(e, { onMissingKey: n = Qi } = {}) {
3165
3161
  x(this, Ee);
3166
3162
  R(this, "locale");
3167
3163
  x(this, Ie);
@@ -3210,13 +3206,13 @@ Ie = new WeakMap(), Ee = new WeakSet(), ot = function(e) {
3210
3206
  pluralize: e.pluralize || n.pluralize
3211
3207
  });
3212
3208
  };
3213
- const no = {
3209
+ const to = {
3214
3210
  debug: () => {
3215
3211
  },
3216
3212
  warn: () => {
3217
3213
  },
3218
3214
  error: (...t) => console.error(`[Uppy] [${je()}]`, ...t)
3219
- }, ro = {
3215
+ }, no = {
3220
3216
  debug: (...t) => console.debug(`[Uppy] [${je()}]`, ...t),
3221
3217
  warn: (...t) => console.warn(`[Uppy] [${je()}]`, ...t),
3222
3218
  error: (...t) => console.error(`[Uppy] [${je()}]`, ...t)
@@ -3225,7 +3221,7 @@ var Pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3225
3221
  function Xe(t) {
3226
3222
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3227
3223
  }
3228
- var so = function(e) {
3224
+ var ro = function(e) {
3229
3225
  if (typeof e != "number" || Number.isNaN(e))
3230
3226
  throw new TypeError(`Expected a number, got ${typeof e}`);
3231
3227
  const n = e < 0;
@@ -3235,7 +3231,7 @@ var so = function(e) {
3235
3231
  const s = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], o = Math.min(Math.floor(Math.log(r) / Math.log(1024)), s.length - 1), i = Number(r / 1024 ** o), a = s[o];
3236
3232
  return `${i >= 10 || i % 1 === 0 ? Math.round(i) : i.toFixed(1)} ${a}`;
3237
3233
  };
3238
- const De = /* @__PURE__ */ Xe(so);
3234
+ const De = /* @__PURE__ */ Xe(ro);
3239
3235
  function En(t, e) {
3240
3236
  this.text = t = t || "", this.hasWild = ~t.indexOf("*"), this.separator = e, this.parts = t.split(e);
3241
3237
  }
@@ -3259,17 +3255,17 @@ En.prototype.match = function(t) {
3259
3255
  }
3260
3256
  return e;
3261
3257
  };
3262
- var io = function(t, e, n) {
3258
+ var so = function(t, e, n) {
3263
3259
  var r = new En(t, n || /[\/\.]/);
3264
3260
  return typeof e < "u" ? r.match(e) : r;
3265
- }, oo = io, ao = /[\/\+\.]/, lo = function(t, e) {
3261
+ }, io = so, oo = /[\/\+\.]/, ao = function(t, e) {
3266
3262
  function n(r) {
3267
- var s = oo(r, t, ao);
3263
+ var s = io(r, t, oo);
3268
3264
  return s && s.length >= 2;
3269
3265
  }
3270
3266
  return e ? n(e.split(";")[0]) : n;
3271
3267
  };
3272
- const uo = /* @__PURE__ */ Xe(lo), po = {
3268
+ const lo = /* @__PURE__ */ Xe(ao), uo = {
3273
3269
  maxFileSize: null,
3274
3270
  minFileSize: null,
3275
3271
  maxTotalFileSize: null,
@@ -3287,7 +3283,7 @@ class J extends Error {
3287
3283
  this.isUserFacing = (r == null ? void 0 : r.isUserFacing) ?? !0, r != null && r.file && (this.file = r.file);
3288
3284
  }
3289
3285
  }
3290
- class co {
3286
+ class po {
3291
3287
  constructor(e, n) {
3292
3288
  R(this, "getI18n");
3293
3289
  R(this, "getOpts");
@@ -3317,7 +3313,7 @@ class co {
3317
3313
  }
3318
3314
  validateSingleFile(e) {
3319
3315
  const { maxFileSize: n, minFileSize: r, allowedFileTypes: s } = this.getOpts().restrictions;
3320
- if (s && !s.some((i) => i.includes("/") ? e.type ? uo(e.type.replace(/;.*?$/, ""), i) : !1 : i[0] === "." && e.extension ? e.extension.toLowerCase() === i.slice(1).toLowerCase() : !1)) {
3316
+ if (s && !s.some((i) => i.includes("/") ? e.type ? lo(e.type.replace(/;.*?$/, ""), i) : !1 : i[0] === "." && e.extension ? e.extension.toLowerCase() === i.slice(1).toLowerCase() : !1)) {
3321
3317
  const i = s.join(", ");
3322
3318
  throw new J(this.getI18n()("youCanOnlyUploadFileTypes", {
3323
3319
  types: i
@@ -3354,8 +3350,8 @@ class co {
3354
3350
  return { missingFields: s, error: n };
3355
3351
  }
3356
3352
  }
3357
- const fo = "5.0.0", mo = {
3358
- version: fo
3353
+ const co = "5.0.0", fo = {
3354
+ version: co
3359
3355
  };
3360
3356
  var ce, xe, Vn;
3361
3357
  class Cn {
@@ -3381,55 +3377,55 @@ ce = new WeakMap(), xe = new WeakSet(), Vn = function(...e) {
3381
3377
  b(this, ce).forEach((n) => {
3382
3378
  n(...e);
3383
3379
  });
3384
- }, R(Cn, "VERSION", mo.version);
3385
- function ho(t) {
3380
+ }, R(Cn, "VERSION", fo.version);
3381
+ function mo(t) {
3386
3382
  var e = typeof t;
3387
3383
  return t != null && (e == "object" || e == "function");
3388
3384
  }
3389
- var It = ho, go = typeof Pe == "object" && Pe && Pe.Object === Object && Pe, yo = go, vo = yo, _o = typeof self == "object" && self && self.Object === Object && self, bo = vo || _o || Function("return this")(), Mn = bo, wo = Mn, $o = function() {
3390
- return wo.Date.now();
3391
- }, So = $o, Fo = /\s/;
3392
- function To(t) {
3393
- for (var e = t.length; e-- && Fo.test(t.charAt(e)); )
3385
+ var It = mo, ho = typeof Pe == "object" && Pe && Pe.Object === Object && Pe, go = ho, yo = go, vo = typeof self == "object" && self && self.Object === Object && self, _o = yo || vo || Function("return this")(), Mn = _o, bo = Mn, wo = function() {
3386
+ return bo.Date.now();
3387
+ }, $o = wo, So = /\s/;
3388
+ function Fo(t) {
3389
+ for (var e = t.length; e-- && So.test(t.charAt(e)); )
3394
3390
  ;
3395
3391
  return e;
3396
3392
  }
3397
- var ko = To, Io = ko, Eo = /^\s+/;
3398
- function Co(t) {
3399
- return t && t.slice(0, Io(t) + 1).replace(Eo, "");
3393
+ var To = Fo, ko = To, Io = /^\s+/;
3394
+ function Eo(t) {
3395
+ return t && t.slice(0, ko(t) + 1).replace(Io, "");
3400
3396
  }
3401
- var Vo = Co, Mo = Mn, Uo = Mo.Symbol, Un = Uo, Yt = Un, An = Object.prototype, Ao = An.hasOwnProperty, No = An.toString, $e = Yt ? Yt.toStringTag : void 0;
3402
- function Po(t) {
3403
- var e = Ao.call(t, $e), n = t[$e];
3397
+ var Co = Eo, Vo = Mn, Mo = Vo.Symbol, Un = Mo, Yt = Un, An = Object.prototype, Uo = An.hasOwnProperty, Ao = An.toString, we = Yt ? Yt.toStringTag : void 0;
3398
+ function No(t) {
3399
+ var e = Uo.call(t, we), n = t[we];
3404
3400
  try {
3405
- t[$e] = void 0;
3401
+ t[we] = void 0;
3406
3402
  var r = !0;
3407
3403
  } catch {
3408
3404
  }
3409
- var s = No.call(t);
3410
- return r && (e ? t[$e] = n : delete t[$e]), s;
3405
+ var s = Ao.call(t);
3406
+ return r && (e ? t[we] = n : delete t[we]), s;
3411
3407
  }
3412
- var Do = Po, zo = Object.prototype, Oo = zo.toString;
3413
- function Ro(t) {
3414
- return Oo.call(t);
3408
+ var Po = No, Do = Object.prototype, zo = Do.toString;
3409
+ function Oo(t) {
3410
+ return zo.call(t);
3415
3411
  }
3416
- var Bo = Ro, Xt = Un, jo = Do, Lo = Bo, xo = "[object Null]", qo = "[object Undefined]", Zt = Xt ? Xt.toStringTag : void 0;
3417
- function Ho(t) {
3418
- return t == null ? t === void 0 ? qo : xo : Zt && Zt in Object(t) ? jo(t) : Lo(t);
3412
+ var Ro = Oo, Xt = Un, Bo = Po, jo = Ro, Lo = "[object Null]", xo = "[object Undefined]", Zt = Xt ? Xt.toStringTag : void 0;
3413
+ function qo(t) {
3414
+ return t == null ? t === void 0 ? xo : Lo : Zt && Zt in Object(t) ? Bo(t) : jo(t);
3419
3415
  }
3420
- var Go = Ho;
3421
- function Wo(t) {
3416
+ var Ho = qo;
3417
+ function Go(t) {
3422
3418
  return t != null && typeof t == "object";
3423
3419
  }
3424
- var Yo = Wo, Xo = Go, Zo = Yo, Ko = "[object Symbol]";
3425
- function Jo(t) {
3426
- return typeof t == "symbol" || Zo(t) && Xo(t) == Ko;
3420
+ var Wo = Go, Yo = Ho, Xo = Wo, Zo = "[object Symbol]";
3421
+ function Ko(t) {
3422
+ return typeof t == "symbol" || Xo(t) && Yo(t) == Zo;
3427
3423
  }
3428
- var Qo = Jo, ea = Vo, Kt = It, ta = Qo, Jt = NaN, na = /^[-+]0x[0-9a-f]+$/i, ra = /^0b[01]+$/i, sa = /^0o[0-7]+$/i, ia = parseInt;
3429
- function oa(t) {
3424
+ var Jo = Ko, Qo = Co, Kt = It, ea = Jo, Jt = NaN, ta = /^[-+]0x[0-9a-f]+$/i, na = /^0b[01]+$/i, ra = /^0o[0-7]+$/i, sa = parseInt;
3425
+ function ia(t) {
3430
3426
  if (typeof t == "number")
3431
3427
  return t;
3432
- if (ta(t))
3428
+ if (ea(t))
3433
3429
  return Jt;
3434
3430
  if (Kt(t)) {
3435
3431
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
@@ -3437,16 +3433,16 @@ function oa(t) {
3437
3433
  }
3438
3434
  if (typeof t != "string")
3439
3435
  return t === 0 ? t : +t;
3440
- t = ea(t);
3441
- var n = ra.test(t);
3442
- return n || sa.test(t) ? ia(t.slice(2), n ? 2 : 8) : na.test(t) ? Jt : +t;
3436
+ t = Qo(t);
3437
+ var n = na.test(t);
3438
+ return n || ra.test(t) ? sa(t.slice(2), n ? 2 : 8) : ta.test(t) ? Jt : +t;
3443
3439
  }
3444
- var aa = oa, la = It, et = So, Qt = aa, ua = "Expected a function", da = Math.max, pa = Math.min;
3445
- function ca(t, e, n) {
3440
+ var oa = ia, aa = It, et = $o, Qt = oa, la = "Expected a function", ua = Math.max, da = Math.min;
3441
+ function pa(t, e, n) {
3446
3442
  var r, s, o, i, a, l, u = 0, d = !1, p = !1, c = !0;
3447
3443
  if (typeof t != "function")
3448
- throw new TypeError(ua);
3449
- e = Qt(e) || 0, la(n) && (d = !!n.leading, p = "maxWait" in n, o = p ? da(Qt(n.maxWait) || 0, e) : o, c = "trailing" in n ? !!n.trailing : c);
3444
+ throw new TypeError(la);
3445
+ e = Qt(e) || 0, aa(n) && (d = !!n.leading, p = "maxWait" in n, o = p ? ua(Qt(n.maxWait) || 0, e) : o, c = "trailing" in n ? !!n.trailing : c);
3450
3446
  function m(w) {
3451
3447
  var U = r, D = s;
3452
3448
  return r = s = void 0, u = w, i = t.apply(D, U), i;
@@ -3456,7 +3452,7 @@ function ca(t, e, n) {
3456
3452
  }
3457
3453
  function V(w) {
3458
3454
  var U = w - l, D = w - u, H = e - U;
3459
- return p ? pa(H, o - D) : H;
3455
+ return p ? da(H, o - D) : H;
3460
3456
  }
3461
3457
  function A(w) {
3462
3458
  var U = w - l, D = w - u;
@@ -3489,20 +3485,20 @@ function ca(t, e, n) {
3489
3485
  }
3490
3486
  return _.cancel = Y, _.flush = f, _;
3491
3487
  }
3492
- var fa = ca, ma = fa, ha = It, ga = "Expected a function";
3493
- function ya(t, e, n) {
3488
+ var ca = pa, fa = ca, ma = It, ha = "Expected a function";
3489
+ function ga(t, e, n) {
3494
3490
  var r = !0, s = !0;
3495
3491
  if (typeof t != "function")
3496
- throw new TypeError(ga);
3497
- return ha(n) && (r = "leading" in n ? !!n.leading : r, s = "trailing" in n ? !!n.trailing : s), ma(t, e, {
3492
+ throw new TypeError(ha);
3493
+ return ma(n) && (r = "leading" in n ? !!n.leading : r, s = "trailing" in n ? !!n.trailing : s), fa(t, e, {
3498
3494
  leading: r,
3499
3495
  maxWait: e,
3500
3496
  trailing: s
3501
3497
  });
3502
3498
  }
3503
- var va = ya;
3504
- const _a = /* @__PURE__ */ Xe(va);
3505
- var ba = function() {
3499
+ var ya = ga;
3500
+ const va = /* @__PURE__ */ Xe(ya);
3501
+ var _a = function() {
3506
3502
  var e = {}, n = e._fns = {};
3507
3503
  e.emit = function(i, a, l, u, d, p, c) {
3508
3504
  var m = r(i);
@@ -3541,20 +3537,20 @@ var ba = function() {
3541
3537
  }
3542
3538
  return e;
3543
3539
  };
3544
- const wa = /* @__PURE__ */ Xe(ba);
3545
- let $a = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Sa = (t = 21) => {
3540
+ const ba = /* @__PURE__ */ Xe(_a);
3541
+ let wa = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", $a = (t = 21) => {
3546
3542
  let e = "", n = t | 0;
3547
3543
  for (; n--; )
3548
- e += $a[Math.random() * 64 | 0];
3544
+ e += wa[Math.random() * 64 | 0];
3549
3545
  return e;
3550
3546
  };
3551
- const Fa = "5.2.0", Ta = {
3552
- version: Fa
3547
+ const Sa = "5.2.0", Fa = {
3548
+ version: Sa
3553
3549
  };
3554
- function ka(t, e) {
3550
+ function Ta(t, e) {
3555
3551
  return e.name ? e.name : t.split("/")[0] === "image" ? `${t.split("/")[0]}.${t.split("/")[1]}` : "noname";
3556
3552
  }
3557
- const Ia = {
3553
+ const ka = {
3558
3554
  strings: {
3559
3555
  addBulkFilesFailed: {
3560
3556
  0: "Failed to add %{smart_count} file due to an internal error",
@@ -3619,7 +3615,7 @@ const Ia = {
3619
3615
  pleaseWait: "Please wait"
3620
3616
  }
3621
3617
  };
3622
- function Ea(t) {
3618
+ function Ia(t) {
3623
3619
  if (t == null && typeof navigator < "u" && (t = navigator.userAgent), !t)
3624
3620
  return !0;
3625
3621
  const e = /Edge\/(\d+\.\d+)/.exec(t);
@@ -3634,7 +3630,7 @@ const ze = {
3634
3630
  error: null,
3635
3631
  recoveredState: null
3636
3632
  };
3637
- var Z, K, Ce, le, fe, me, ue, y, oe, lt, Nn, Pn, Dn, ut, dt, pt, ct, qe, ft, de, zn, On, se, Ve, Se, Rn, mt, Fe;
3633
+ var Z, K, Ce, le, fe, me, ue, y, oe, lt, Nn, Pn, Dn, ut, dt, pt, ct, qe, ft, de, zn, On, se, Ve, $e, Rn, mt, Se;
3638
3634
  const He = class He {
3639
3635
  /**
3640
3636
  * Instantiate Uppy
@@ -3644,7 +3640,7 @@ const He = class He {
3644
3640
  x(this, Z, /* @__PURE__ */ Object.create(null));
3645
3641
  x(this, K);
3646
3642
  x(this, Ce);
3647
- x(this, le, wa());
3643
+ x(this, le, ba());
3648
3644
  x(this, fe, /* @__PURE__ */ new Set());
3649
3645
  x(this, me, /* @__PURE__ */ new Set());
3650
3646
  x(this, ue, /* @__PURE__ */ new Set());
@@ -3694,7 +3690,7 @@ const He = class He {
3694
3690
  // and click 'ADD MORE FILES', - focus won't activate in Firefox.
3695
3691
  // - We must throttle at around >500ms to avoid performance lags.
3696
3692
  // [Practical Check] Firefox, try to upload a big file for a prolonged period of time. Laptop will start to heat up.
3697
- x(this, de, _a(() => F(this, y, ft).call(this), 500, { leading: !0, trailing: !0 }));
3693
+ x(this, de, va(() => F(this, y, ft).call(this), 500, { leading: !0, trailing: !0 }));
3698
3694
  x(this, se, this.updateOnlineStatus.bind(this));
3699
3695
  // We need to store request clients by a unique ID, so we can share RequestClient instances across files
3700
3696
  // this allows us to do rate limiting and synchronous operations like refreshing provider tokens
@@ -3707,18 +3703,18 @@ const He = class He {
3707
3703
  // all 6 files would go ahead and refresh the token at the same time
3708
3704
  // (calling /refresh-token up to 6 times), which will probably fail for some providers
3709
3705
  x(this, Ve, /* @__PURE__ */ new Map());
3710
- this.defaultLocale = Ia;
3706
+ this.defaultLocale = ka;
3711
3707
  const n = {
3712
3708
  id: "uppy",
3713
3709
  autoProceed: !1,
3714
3710
  allowMultipleUploadBatches: !0,
3715
3711
  debug: !1,
3716
- restrictions: po,
3712
+ restrictions: uo,
3717
3713
  meta: {},
3718
3714
  onBeforeFileAdded: (s, o) => !Object.hasOwn(o, s.id),
3719
3715
  onBeforeUpload: (s) => s,
3720
3716
  store: new Cn(),
3721
- logger: no,
3717
+ logger: to,
3722
3718
  infoTimeout: 5e3
3723
3719
  }, r = { ...n, ...e };
3724
3720
  this.opts = {
@@ -3727,19 +3723,19 @@ const He = class He {
3727
3723
  ...n.restrictions,
3728
3724
  ...e == null ? void 0 : e.restrictions
3729
3725
  }
3730
- }, e != null && e.logger && e.debug ? this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.", "warning") : e != null && e.debug && (this.opts.logger = ro), this.log(`Using Core v${He.VERSION}`), this.i18nInit(), this.store = this.opts.store, this.setState({
3726
+ }, e != null && e.logger && e.debug ? this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.", "warning") : e != null && e.debug && (this.opts.logger = no), this.log(`Using Core v${He.VERSION}`), this.i18nInit(), this.store = this.opts.store, this.setState({
3731
3727
  ...ze,
3732
3728
  plugins: {},
3733
3729
  files: {},
3734
3730
  currentUploads: {},
3735
3731
  capabilities: {
3736
- uploadProgress: Ea(),
3732
+ uploadProgress: Ia(),
3737
3733
  individualCancellation: !0,
3738
3734
  resumableUploads: !1
3739
3735
  },
3740
3736
  meta: { ...this.opts.meta },
3741
3737
  info: []
3742
- }), Ue(this, K, new co(() => this.opts, () => this.i18n)), Ue(this, Ce, this.store.subscribe((s, o, i) => {
3738
+ }), Ue(this, K, new po(() => this.opts, () => this.i18n)), Ue(this, Ce, this.store.subscribe((s, o, i) => {
3743
3739
  this.emit("state-update", s, o, i), this.updateAll(o);
3744
3740
  })), this.opts.debug && typeof window < "u" && (window[this.opts.id] = this), F(this, y, On).call(this);
3745
3741
  }
@@ -3801,7 +3797,7 @@ const He = class He {
3801
3797
  this.patchFilesState({ [e]: n });
3802
3798
  }
3803
3799
  i18nInit() {
3804
- const e = (r) => this.log(`Missing i18n string: ${r}`, "error"), n = new to([this.defaultLocale, this.opts.locale], {
3800
+ const e = (r) => this.log(`Missing i18n string: ${r}`, "error"), n = new eo([this.defaultLocale, this.opts.locale], {
3805
3801
  onMissingKey: e
3806
3802
  });
3807
3803
  this.i18n = n.translate.bind(n), this.i18nArray = n.translateArray.bind(n), this.locale = n.locale;
@@ -4082,11 +4078,11 @@ const He = class He {
4082
4078
  error: null,
4083
4079
  isPaused: !1
4084
4080
  }), this.emit("upload-retry", this.getFile(e));
4085
- const n = F(this, y, Se).call(this, [e], {
4081
+ const n = F(this, y, $e).call(this, [e], {
4086
4082
  forceAllowNewUpload: !0
4087
4083
  // create new upload even if allowNewUpload: false
4088
4084
  });
4089
- return F(this, y, Fe).call(this, n);
4085
+ return F(this, y, Se).call(this, n);
4090
4086
  }
4091
4087
  logout() {
4092
4088
  this.iteratePlugins((e) => {
@@ -4222,11 +4218,11 @@ Uppy plugins must have unique \`id\` options.`;
4222
4218
  */
4223
4219
  async restore(e) {
4224
4220
  this.log(`Core: Running restored upload "${e}"`);
4225
- const n = await F(this, y, Fe).call(this, e);
4221
+ const n = await F(this, y, Se).call(this, e);
4226
4222
  return this.emit("complete", n), n;
4227
4223
  }
4228
4224
  [Symbol.for("uppy test: createUpload")](...e) {
4229
- return F(this, y, Se).call(this, ...e);
4225
+ return F(this, y, $e).call(this, ...e);
4230
4226
  }
4231
4227
  /**
4232
4228
  * Add data to an upload's result object.
@@ -4269,7 +4265,7 @@ Uppy plugins must have unique \`id\` options.`;
4269
4265
  const { currentUploads: o } = this.getState(), i = Object.values(o).flatMap((d) => d.fileIDs), a = Object.keys(e).filter((d) => {
4270
4266
  const p = this.getFile(d);
4271
4267
  return p && !p.progress.uploadStarted && !i.includes(d);
4272
- }), l = F(this, y, Se).call(this, a), u = await F(this, y, Fe).call(this, l);
4268
+ }), l = F(this, y, $e).call(this, a), u = await F(this, y, Se).call(this, l);
4273
4269
  return this.emit("complete", u), u;
4274
4270
  } catch (o) {
4275
4271
  throw F(this, y, oe).call(this, [o]), o;
@@ -4321,7 +4317,7 @@ Dn = function(e) {
4321
4317
  isRemote: !1,
4322
4318
  source: void 0,
4323
4319
  preview: void 0
4324
- } : e, r = In(n), s = ka(r, n), o = kn(s).extension, i = Ji(n, this.getID()), a = {
4320
+ } : e, r = In(n), s = Ta(r, n), o = kn(s).extension, i = Ki(n, this.getID()), a = {
4325
4321
  ...n.meta,
4326
4322
  name: s,
4327
4323
  type: r
@@ -4426,11 +4422,11 @@ ut = function() {
4426
4422
  successful: [],
4427
4423
  failed: []
4428
4424
  };
4429
- const r = F(this, y, Se).call(this, e, {
4425
+ const r = F(this, y, $e).call(this, e, {
4430
4426
  forceAllowNewUpload: !0
4431
4427
  // create new upload even if allowNewUpload: false
4432
4428
  });
4433
- return F(this, y, Fe).call(this, r);
4429
+ return F(this, y, Se).call(this, r);
4434
4430
  }, qe = new WeakMap(), ft = function() {
4435
4431
  const e = F(this, y, zn).call(this);
4436
4432
  let n = null;
@@ -4570,11 +4566,11 @@ On = function() {
4570
4566
  * Create an upload for a bunch of files.
4571
4567
  *
4572
4568
  */
4573
- Se = function(e, n = {}) {
4569
+ $e = function(e, n = {}) {
4574
4570
  const { forceAllowNewUpload: r = !1 } = n, { allowNewUpload: s, currentUploads: o } = this.getState();
4575
4571
  if (!s && !r)
4576
4572
  throw new Error("Cannot create a new upload: already uploading.");
4577
- const i = Sa();
4573
+ const i = $a();
4578
4574
  return this.emit("upload", i, this.getFilesByIds(e)), this.setState({
4579
4575
  allowNewUpload: this.opts.allowMultipleUploadBatches !== !1 && this.opts.allowMultipleUploads !== !1,
4580
4576
  currentUploads: {
@@ -4598,7 +4594,7 @@ mt = function(e) {
4598
4594
  this.setState({
4599
4595
  currentUploads: r
4600
4596
  });
4601
- }, Fe = async function(e) {
4597
+ }, Se = async function(e) {
4602
4598
  const n = () => {
4603
4599
  const { currentUploads: i } = this.getState();
4604
4600
  return i[e];
@@ -4644,12 +4640,12 @@ mt = function(e) {
4644
4640
  failed: [],
4645
4641
  uploadID: e
4646
4642
  }), o;
4647
- }, R(He, "VERSION", Ta.version);
4643
+ }, R(He, "VERSION", Fa.version);
4648
4644
  let at = He;
4649
- const Ca = {
4645
+ const Ea = {
4650
4646
  key: 0,
4651
4647
  class: "uppy-input-area--caption small text-body-secondary fst-italic"
4652
- }, al = {
4648
+ }, ol = {
4653
4649
  __name: "UppyInput",
4654
4650
  props: {
4655
4651
  name: { type: String, required: !0 },
@@ -4682,7 +4678,7 @@ const Ca = {
4682
4678
  ],
4683
4679
  setup(t, { emit: e }) {
4684
4680
  var Y;
4685
- const n = t, r = e, s = G(null), o = G(null), i = Xn(null), a = G(!1), l = G(!1), u = G(0), d = T("form", { value: {}, errors: {}, getID: (f) => f }), p = T("group", null), c = q({
4681
+ const n = t, r = e, s = G(null), o = G(null), i = Yn(null), a = G(!1), l = G(!1), u = G(0), d = T("form", { value: {}, errors: {}, getID: (f) => f }), p = T("group", null), c = q({
4686
4682
  get() {
4687
4683
  var f;
4688
4684
  return (f = p == null ? void 0 : p.value) != null && f.name ? p.value.getData(n.name) : d.value[n.name];
@@ -4737,14 +4733,14 @@ const Ca = {
4737
4733
  v(U), r("upload-error", f, _, w, U);
4738
4734
  }), i.value.on("restriction-failed", (f, _) => {
4739
4735
  v(_.message), r("restriction-failed", f, _);
4740
- }), he(() => {
4736
+ }), Fe(() => {
4741
4737
  var f;
4742
4738
  return (f = d.value) == null ? void 0 : f.wasSuccessful;
4743
4739
  }, (f, _) => {
4744
4740
  f === !0 && _ === !1 && m();
4745
- }), ve(() => {
4741
+ }), ye(() => {
4746
4742
  var f, _, w, U, D, H, ne, N;
4747
- n.useXHR && import("./index-ibVkvWa2.js").then((X) => {
4743
+ n.useXHR && import("./index-WqfEQqGr.js").then((X) => {
4748
4744
  const pe = X.default;
4749
4745
  i.value.use(pe, {
4750
4746
  method: "POST",
@@ -4802,50 +4798,50 @@ const Ca = {
4802
4798
  ref_key: "inputEl",
4803
4799
  ref: o
4804
4800
  }, [
4805
- Q(Ke(Gi), {
4801
+ Q(Ke(Hi), {
4806
4802
  name: "uu" + t.name,
4807
4803
  uppy: i.value
4808
4804
  }, {
4809
4805
  default: ie(() => [
4810
4806
  O(f.$slots, "default", { uppy: i.value }, () => [
4811
- Q(Ke(Yi), { class: "uppy-file-lists" }),
4812
- Q(Ke(Wi), { class: "uppy-drop-zone" })
4807
+ Q(Ke(Wi), { class: "uppy-file-lists" }),
4808
+ Q(Ke(Gi), { class: "uppy-drop-zone" })
4813
4809
  ])
4814
4810
  ]),
4815
4811
  _: 3
4816
4812
  }, 8, ["name", "uppy"]),
4817
- s.value ? (h(), g("div", Ca, W(s.value), 1)) : B("", !0)
4813
+ s.value ? (h(), g("div", Ea, W(s.value), 1)) : B("", !0)
4818
4814
  ], 512)) : B("", !0);
4819
4815
  }
4820
4816
  };
4821
4817
  export {
4822
- za as A,
4823
- Oa as C,
4824
- Ha as E,
4825
- qa as F,
4826
- vs as G,
4827
- Ya as L,
4828
- Xa as M,
4829
- rl as O,
4830
- La as P,
4831
- zs as Q,
4832
- ol as R,
4833
- il as S,
4834
- to as T,
4835
- sl as _,
4836
- Ra as a,
4837
- Ba as b,
4838
- ja as c,
4839
- xa as d,
4840
- al as e,
4841
- Ga as f,
4842
- Za as g,
4843
- Ka as h,
4844
- el as i,
4845
- Qa as j,
4846
- Ja as k,
4847
- Wa as l,
4848
- tl as m,
4849
- nl as n,
4818
+ Da as A,
4819
+ za as C,
4820
+ qa as E,
4821
+ xa as F,
4822
+ ys as G,
4823
+ Wa as L,
4824
+ Ya as M,
4825
+ nl as O,
4826
+ ja as P,
4827
+ Ds as Q,
4828
+ il as R,
4829
+ sl as S,
4830
+ eo as T,
4831
+ rl as _,
4832
+ Oa as a,
4833
+ Ra as b,
4834
+ Ba as c,
4835
+ La as d,
4836
+ ol as e,
4837
+ Ha as f,
4838
+ Xa as g,
4839
+ Za as h,
4840
+ Qa as i,
4841
+ Ja as j,
4842
+ Ka as k,
4843
+ Ga as l,
4844
+ el as m,
4845
+ tl as n,
4850
4846
  Ge as o
4851
4847
  };