@verdnatura/vn-front-lib 0.0.9 → 0.0.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.
- package/dist/components-BrEjZWQj.js +3278 -0
- package/dist/components-Dty6kM2e.cjs +2 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/composables-DUOUI4DI.js +3558 -0
- package/dist/composables-ZxHJjJGN.cjs +4 -0
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +2 -2
- package/dist/filters.cjs +1 -0
- package/dist/filters.js +62 -0
- package/dist/rolldown-runtime-DF3sbh8G.cjs +1 -0
- package/dist/stores.cjs +1 -1
- package/dist/stores.js +144 -2
- package/dist/utils.cjs +1 -0
- package/dist/utils.js +131 -0
- package/dist/vn-front-lib.cjs +1 -1
- package/dist/vn-front-lib.css +1 -1
- package/dist/vn-front-lib.js +6 -7
- package/lib/components/dialogs/VnConfirm.vue +142 -0
- package/lib/components/feedback/VnSkeletonForm.vue +14 -0
- package/lib/components/feedback/VnSpinner.vue +63 -0
- package/lib/components/index.js +5 -0
- package/lib/components/models/VnFetch.vue +65 -0
- package/lib/components/models/VnForm.vue +492 -0
- package/lib/composables/index.js +7 -0
- package/lib/composables/tMobile.js +8 -0
- package/lib/composables/useArrayData.js +451 -0
- package/lib/composables/useForm.js +12 -0
- package/lib/composables/useNotify.js +24 -0
- package/lib/composables/useObjectComparison.js +67 -0
- package/lib/composables/useQueryResolver.js +306 -0
- package/lib/composables/useState.js +81 -0
- package/lib/filters/filterPanel.js +95 -0
- package/lib/filters/getDifferences.js +18 -0
- package/lib/filters/getUpdatedValues.js +6 -0
- package/lib/filters/index.js +5 -0
- package/lib/filters/isDialogOpened.js +3 -0
- package/lib/filters/onBeforeSave.js +9 -0
- package/lib/stores/index.js +2 -0
- package/lib/stores/useArrayDataStore.js +82 -0
- package/lib/stores/useStateStore.js +84 -0
- package/lib/utils/advancedFilters.js +125 -0
- package/lib/utils/index.js +2 -0
- package/lib/utils/trackAnalytics.js +18 -0
- package/package.json +9 -2
- package/dist/components-BLui5eyq.cjs +0 -1
- package/dist/components-Dl-Ieazh.js +0 -2466
- package/dist/useRequired-BqsSq8Mw.cjs +0 -1
- package/dist/useRequired-CTxBp3qy.js +0 -58
- package/dist/useValidationsStore-8JX1-oLO.cjs +0 -1
- package/dist/useValidationsStore-9Fxtj_pd.js +0 -12
|
@@ -0,0 +1,3558 @@
|
|
|
1
|
+
import { useArrayDataStore as e, useValidationsStore as t } from "./stores.js";
|
|
2
|
+
import { buildFilter as n, isDialogOpened as r } from "./filters.js";
|
|
3
|
+
import { advancedFilters as i, trackAnalyticEvent as a } from "./utils.js";
|
|
4
|
+
import { Transition as o, TransitionGroup as s, computed as c, createApp as l, defineComponent as u, getCurrentInstance as d, h as f, inject as p, markRaw as m, onActivated as h, onBeforeUnmount as g, onDeactivated as _, onMounted as v, onUnmounted as y, reactive as b, ref as x, unref as S, withDirectives as C } from "vue";
|
|
5
|
+
import { useI18n as w } from "vue-i18n";
|
|
6
|
+
import T from "validator";
|
|
7
|
+
import E from "axios";
|
|
8
|
+
//#region \0rolldown/runtime.js
|
|
9
|
+
var D = Object.create, O = Object.defineProperty, k = Object.getOwnPropertyDescriptor, A = Object.getOwnPropertyNames, j = Object.getPrototypeOf, M = Object.prototype.hasOwnProperty, N = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), P = (e, t) => {
|
|
10
|
+
let n = {};
|
|
11
|
+
for (var r in e) O(n, r, {
|
|
12
|
+
get: e[r],
|
|
13
|
+
enumerable: !0
|
|
14
|
+
});
|
|
15
|
+
return t || O(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
16
|
+
}, F = (e, t, n, r) => {
|
|
17
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = A(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !M.call(e, s) && s !== n && O(e, s, {
|
|
18
|
+
get: ((e) => t[e]).bind(null, s),
|
|
19
|
+
enumerable: !(r = k(t, s)) || r.enumerable
|
|
20
|
+
});
|
|
21
|
+
return e;
|
|
22
|
+
}, I = (e, t, n) => (n = e == null ? {} : D(j(e)), F(t || !e || !e.__esModule || !M.call(e, "default") ? O(n, "default", {
|
|
23
|
+
value: e,
|
|
24
|
+
enumerable: !0
|
|
25
|
+
}) : n, e)), L = {
|
|
26
|
+
xs: 18,
|
|
27
|
+
sm: 24,
|
|
28
|
+
md: 32,
|
|
29
|
+
lg: 38,
|
|
30
|
+
xl: 46
|
|
31
|
+
}, R = { size: String };
|
|
32
|
+
function z(e, t = L) {
|
|
33
|
+
return c(() => e.size === void 0 ? null : { fontSize: e.size in t ? `${t[e.size]}px` : e.size });
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js
|
|
37
|
+
function B(e, t, n, r) {
|
|
38
|
+
return Object.defineProperty(e, t, {
|
|
39
|
+
get: n,
|
|
40
|
+
set: r,
|
|
41
|
+
enumerable: !0
|
|
42
|
+
}), e;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.create/create.js
|
|
46
|
+
function V(e) {
|
|
47
|
+
return m(u(e));
|
|
48
|
+
}
|
|
49
|
+
function ee(e) {
|
|
50
|
+
return m(e);
|
|
51
|
+
}
|
|
52
|
+
var te = (e, t) => {
|
|
53
|
+
let n = b(e);
|
|
54
|
+
for (let r in e) B(t, r, () => n[r], (e) => {
|
|
55
|
+
n[r] = e;
|
|
56
|
+
});
|
|
57
|
+
return t;
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.render/render.js
|
|
61
|
+
function ne(e, t) {
|
|
62
|
+
return e === void 0 ? t : e() || t;
|
|
63
|
+
}
|
|
64
|
+
function H(e, t) {
|
|
65
|
+
return e === void 0 ? t : t.concat(e());
|
|
66
|
+
}
|
|
67
|
+
function re(e, t) {
|
|
68
|
+
return e === void 0 ? t : t === void 0 ? e() : t.concat(e());
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/icon/QIcon.js
|
|
72
|
+
var ie = "0 0 24 24", ae = (e) => e, oe = (e) => `ionicons ${e}`, se = {
|
|
73
|
+
"mdi-": (e) => `mdi ${e}`,
|
|
74
|
+
"icon-": ae,
|
|
75
|
+
"bt-": (e) => `bt ${e}`,
|
|
76
|
+
"eva-": (e) => `eva ${e}`,
|
|
77
|
+
"ion-md": oe,
|
|
78
|
+
"ion-ios": oe,
|
|
79
|
+
"ion-logo": oe,
|
|
80
|
+
"iconfont ": ae,
|
|
81
|
+
"ti-": (e) => `themify-icon ${e}`,
|
|
82
|
+
"bi-": (e) => `bootstrap-icons ${e}`,
|
|
83
|
+
"i-": ae
|
|
84
|
+
}, ce = {
|
|
85
|
+
o_: "-outlined",
|
|
86
|
+
r_: "-round",
|
|
87
|
+
s_: "-sharp"
|
|
88
|
+
}, U = {
|
|
89
|
+
sym_o_: "-outlined",
|
|
90
|
+
sym_r_: "-rounded",
|
|
91
|
+
sym_s_: "-sharp"
|
|
92
|
+
}, W = RegExp("^(" + Object.keys(se).join("|") + ")"), le = RegExp("^(" + Object.keys(ce).join("|") + ")"), ue = RegExp("^(" + Object.keys(U).join("|") + ")"), de = /^[Mm]\s?[-+]?\.?\d/, fe = /^img:/, pe = /^svguse:/, me = /^ion-/, he = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, ge = V({
|
|
93
|
+
name: "QIcon",
|
|
94
|
+
props: {
|
|
95
|
+
...R,
|
|
96
|
+
tag: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: "i"
|
|
99
|
+
},
|
|
100
|
+
name: String,
|
|
101
|
+
color: String,
|
|
102
|
+
left: Boolean,
|
|
103
|
+
right: Boolean
|
|
104
|
+
},
|
|
105
|
+
setup(e, { slots: t }) {
|
|
106
|
+
let { proxy: { $q: n } } = d(), r = z(e), i = c(() => "q-icon" + (e.left ? " on-left" : "") + (e.right ? " on-right" : "") + (e.color === void 0 ? "" : ` text-${e.color}`)), a = c(() => {
|
|
107
|
+
let t, r = e.name;
|
|
108
|
+
if (r === "none" || !r) return { none: !0 };
|
|
109
|
+
if (n.iconMapFn !== null) {
|
|
110
|
+
let e = n.iconMapFn(r);
|
|
111
|
+
if (e !== void 0) {
|
|
112
|
+
if (e.icon !== void 0) {
|
|
113
|
+
if (r = e.icon, r === "none" || !r) return { none: !0 };
|
|
114
|
+
} else return {
|
|
115
|
+
cls: e.cls,
|
|
116
|
+
content: e.content === void 0 ? " " : e.content
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
if (de.test(r)) {
|
|
121
|
+
let [e, t = ie] = r.split("|");
|
|
122
|
+
return {
|
|
123
|
+
svg: !0,
|
|
124
|
+
viewBox: t,
|
|
125
|
+
nodes: e.split("&&").map((e) => {
|
|
126
|
+
let [t, n, r] = e.split("@@");
|
|
127
|
+
return f("path", {
|
|
128
|
+
style: n,
|
|
129
|
+
d: t,
|
|
130
|
+
transform: r
|
|
131
|
+
});
|
|
132
|
+
})
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
if (fe.test(r)) return {
|
|
136
|
+
img: !0,
|
|
137
|
+
src: r.slice(4)
|
|
138
|
+
};
|
|
139
|
+
if (pe.test(r)) {
|
|
140
|
+
let [e, t = ie] = r.split("|");
|
|
141
|
+
return {
|
|
142
|
+
svguse: !0,
|
|
143
|
+
src: e.slice(7),
|
|
144
|
+
viewBox: t
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
let i = " ", a = r.match(W);
|
|
148
|
+
if (a !== null) t = se[a[1]](r);
|
|
149
|
+
else if (he.test(r)) t = r;
|
|
150
|
+
else if (me.test(r)) t = `ionicons ion-${n.platform.is.ios ? "ios" : "md"}${r.slice(3)}`;
|
|
151
|
+
else if (ue.test(r)) {
|
|
152
|
+
t = "notranslate material-symbols";
|
|
153
|
+
let e = r.match(ue);
|
|
154
|
+
e !== null && (r = r.slice(6), t += U[e[1]]), i = r;
|
|
155
|
+
} else {
|
|
156
|
+
t = "notranslate material-icons";
|
|
157
|
+
let e = r.match(le);
|
|
158
|
+
e !== null && (r = r.slice(2), t += ce[e[1]]), i = r;
|
|
159
|
+
}
|
|
160
|
+
return {
|
|
161
|
+
cls: t,
|
|
162
|
+
content: i
|
|
163
|
+
};
|
|
164
|
+
});
|
|
165
|
+
return () => {
|
|
166
|
+
let n = {
|
|
167
|
+
class: i.value,
|
|
168
|
+
style: r.value,
|
|
169
|
+
"aria-hidden": "true"
|
|
170
|
+
};
|
|
171
|
+
return a.value.none ? f(e.tag, n, ne(t.default)) : a.value.img ? f(e.tag, n, H(t.default, [f("img", { src: a.value.src })])) : a.value.svg ? f(e.tag, n, H(t.default, [f("svg", { viewBox: a.value.viewBox || "0 0 24 24" }, a.value.nodes)])) : a.value.svguse ? f(e.tag, n, H(t.default, [f("svg", { viewBox: a.value.viewBox }, [f("use", { "xlink:href": a.value.src })])])) : (a.value.cls !== void 0 && (n.class += " " + a.value.cls), f(e.tag, n, H(t.default, [a.value.content])));
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
}), _e = V({
|
|
175
|
+
name: "QAvatar",
|
|
176
|
+
props: {
|
|
177
|
+
...R,
|
|
178
|
+
fontSize: String,
|
|
179
|
+
color: String,
|
|
180
|
+
textColor: String,
|
|
181
|
+
icon: String,
|
|
182
|
+
square: Boolean,
|
|
183
|
+
rounded: Boolean
|
|
184
|
+
},
|
|
185
|
+
setup(e, { slots: t }) {
|
|
186
|
+
let n = z(e), r = c(() => "q-avatar" + (e.color ? ` bg-${e.color}` : "") + (e.textColor ? ` text-${e.textColor} q-chip--colored` : "") + (e.square ? " q-avatar--square" : e.rounded ? " rounded-borders" : "")), i = c(() => e.fontSize ? { fontSize: e.fontSize } : null);
|
|
187
|
+
return () => {
|
|
188
|
+
let a = e.icon === void 0 ? void 0 : [f(ge, { name: e.icon })];
|
|
189
|
+
return f("div", {
|
|
190
|
+
class: r.value,
|
|
191
|
+
style: n.value
|
|
192
|
+
}, [f("div", {
|
|
193
|
+
class: "q-avatar__content row flex-center overflow-hidden",
|
|
194
|
+
style: i.value
|
|
195
|
+
}, re(t.default, a))]);
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
}), ve = {
|
|
199
|
+
size: {
|
|
200
|
+
type: [String, Number],
|
|
201
|
+
default: "1em"
|
|
202
|
+
},
|
|
203
|
+
color: String
|
|
204
|
+
};
|
|
205
|
+
function ye(e) {
|
|
206
|
+
return {
|
|
207
|
+
cSize: c(() => e.size in L ? `${L[e.size]}px` : e.size),
|
|
208
|
+
classes: c(() => "q-spinner" + (e.color ? ` text-${e.color}` : ""))
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/spinner/QSpinner.js
|
|
213
|
+
var G = V({
|
|
214
|
+
name: "QSpinner",
|
|
215
|
+
props: {
|
|
216
|
+
...ve,
|
|
217
|
+
thickness: {
|
|
218
|
+
type: Number,
|
|
219
|
+
default: 5
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
setup(e) {
|
|
223
|
+
let { cSize: t, classes: n } = ye(e);
|
|
224
|
+
return () => f("svg", {
|
|
225
|
+
class: n.value + " q-spinner-mat",
|
|
226
|
+
width: t.value,
|
|
227
|
+
height: t.value,
|
|
228
|
+
viewBox: "25 25 50 50"
|
|
229
|
+
}, [f("circle", {
|
|
230
|
+
class: "path",
|
|
231
|
+
cx: "50",
|
|
232
|
+
cy: "50",
|
|
233
|
+
r: "20",
|
|
234
|
+
fill: "none",
|
|
235
|
+
stroke: "currentColor",
|
|
236
|
+
"stroke-width": e.thickness,
|
|
237
|
+
"stroke-miterlimit": "10"
|
|
238
|
+
})]);
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/dom/dom.js
|
|
243
|
+
function be(e, t) {
|
|
244
|
+
let n = e.style;
|
|
245
|
+
for (let e in t) n[e] = t[e];
|
|
246
|
+
}
|
|
247
|
+
function xe(e) {
|
|
248
|
+
if (e == null) return;
|
|
249
|
+
if (typeof e == "string") try {
|
|
250
|
+
return document.querySelector(e) || void 0;
|
|
251
|
+
} catch {
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
let t = S(e);
|
|
255
|
+
if (t) return t.$el || t;
|
|
256
|
+
}
|
|
257
|
+
function Se(e, t) {
|
|
258
|
+
if (e == null || e.contains(t)) return !0;
|
|
259
|
+
for (let n = e.nextElementSibling; n !== null; n = n.nextElementSibling) if (n.contains(t)) return !0;
|
|
260
|
+
return !1;
|
|
261
|
+
}
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/event/event.js
|
|
264
|
+
var K = {
|
|
265
|
+
hasPassive: !1,
|
|
266
|
+
passiveCapture: !0,
|
|
267
|
+
notPassiveCapture: !0
|
|
268
|
+
};
|
|
269
|
+
try {
|
|
270
|
+
let e = Object.defineProperty({}, "passive", { get() {
|
|
271
|
+
Object.assign(K, {
|
|
272
|
+
hasPassive: !0,
|
|
273
|
+
passive: { passive: !0 },
|
|
274
|
+
notPassive: { passive: !1 },
|
|
275
|
+
passiveCapture: {
|
|
276
|
+
passive: !0,
|
|
277
|
+
capture: !0
|
|
278
|
+
},
|
|
279
|
+
notPassiveCapture: {
|
|
280
|
+
passive: !1,
|
|
281
|
+
capture: !0
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
} });
|
|
285
|
+
window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
|
|
286
|
+
} catch {}
|
|
287
|
+
function q() {}
|
|
288
|
+
function Ce(e) {
|
|
289
|
+
return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
|
|
290
|
+
top: e.clientY,
|
|
291
|
+
left: e.clientX
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function we(e) {
|
|
295
|
+
e.stopPropagation();
|
|
296
|
+
}
|
|
297
|
+
function Te(e) {
|
|
298
|
+
e.cancelable !== !1 && e.preventDefault();
|
|
299
|
+
}
|
|
300
|
+
function J(e) {
|
|
301
|
+
e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
|
|
302
|
+
}
|
|
303
|
+
function Ee(e, t, n) {
|
|
304
|
+
let r = `__q_${t}_evt`;
|
|
305
|
+
e[r] = [...e[r] ?? [], ...n], n.forEach((t) => {
|
|
306
|
+
t[0].addEventListener(t[1], e[t[2]], K[t[3]]);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
function De(e, t) {
|
|
310
|
+
let n = `__q_${t}_evt`;
|
|
311
|
+
e[n] !== void 0 && (e[n].forEach((t) => {
|
|
312
|
+
t[0].removeEventListener(t[1], e[t[2]], K[t[3]]);
|
|
313
|
+
}), e[n] = void 0);
|
|
314
|
+
}
|
|
315
|
+
//#endregion
|
|
316
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.keyboard/key-composition.js
|
|
317
|
+
var Oe = !1;
|
|
318
|
+
function ke(e) {
|
|
319
|
+
return Oe || e !== Object(e) || e.isComposing || e.qKeyEvent;
|
|
320
|
+
}
|
|
321
|
+
function Ae(e, t) {
|
|
322
|
+
return !ke(e) && [t].flat().includes(e.keyCode);
|
|
323
|
+
}
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/throttle/throttle.js
|
|
326
|
+
function je(e, t = 250) {
|
|
327
|
+
let n = !1, r;
|
|
328
|
+
return function(...i) {
|
|
329
|
+
return n || (n = !0, setTimeout(() => {
|
|
330
|
+
n = !1;
|
|
331
|
+
}, t), r = e.apply(this, i)), r;
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/directives/ripple/Ripple.js
|
|
336
|
+
function Me(e, t, n, r) {
|
|
337
|
+
n.modifiers.stop && we(e);
|
|
338
|
+
let i = n.modifiers.color, a = n.modifiers.center || r === !0, o = document.createElement("span"), s = document.createElement("span"), c = Ce(e), { left: l, top: u, width: d, height: f } = t.getBoundingClientRect(), p = Math.hypot(d, f), m = p / 2, h = `${(d - p) / 2}px`, g = a ? h : `${c.left - l - m}px`, _ = `${(f - p) / 2}px`, v = a ? _ : `${c.top - u - m}px`;
|
|
339
|
+
s.className = "q-ripple__inner", be(s, {
|
|
340
|
+
height: `${p}px`,
|
|
341
|
+
width: `${p}px`,
|
|
342
|
+
transform: `translate3d(${g},${v},0) scale3d(.2,.2,1)`,
|
|
343
|
+
opacity: 0
|
|
344
|
+
}), o.className = `q-ripple${i ? " text-" + i : ""}`, o.setAttribute("dir", "ltr"), o.append(s), t.append(o);
|
|
345
|
+
let y = () => {
|
|
346
|
+
o.remove(), clearTimeout(b);
|
|
347
|
+
};
|
|
348
|
+
n.abort.push(y);
|
|
349
|
+
let b = setTimeout(() => {
|
|
350
|
+
s.classList.add("q-ripple__inner--enter"), s.style.transform = `translate3d(${h},${_},0) scale3d(1,1,1)`, s.style.opacity = .2, b = setTimeout(() => {
|
|
351
|
+
s.classList.remove("q-ripple__inner--enter"), s.classList.add("q-ripple__inner--leave"), s.style.opacity = 0, b = setTimeout(() => {
|
|
352
|
+
o.remove(), n.abort.splice(n.abort.indexOf(y), 1);
|
|
353
|
+
}, 275);
|
|
354
|
+
}, 250);
|
|
355
|
+
}, 50);
|
|
356
|
+
}
|
|
357
|
+
function Ne(e, { modifiers: t, value: n, arg: r }) {
|
|
358
|
+
let i = {
|
|
359
|
+
...e.cfg.ripple,
|
|
360
|
+
...t,
|
|
361
|
+
...n
|
|
362
|
+
};
|
|
363
|
+
e.modifiers = {
|
|
364
|
+
early: i.early === !0,
|
|
365
|
+
stop: i.stop === !0,
|
|
366
|
+
center: i.center === !0,
|
|
367
|
+
color: i.color || r,
|
|
368
|
+
keyCodes: [i.keyCodes || 13].flat()
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
var Pe = ee({
|
|
372
|
+
name: "ripple",
|
|
373
|
+
beforeMount(e, t) {
|
|
374
|
+
let n = t.instance.$.appContext.config.globalProperties.$q.config || {};
|
|
375
|
+
if (n.ripple === !1) return;
|
|
376
|
+
let r = {
|
|
377
|
+
cfg: n,
|
|
378
|
+
enabled: t.value !== !1,
|
|
379
|
+
modifiers: {},
|
|
380
|
+
abort: [],
|
|
381
|
+
start(t) {
|
|
382
|
+
r.enabled && !t.qSkipRipple && t.type === (r.modifiers.early ? "pointerdown" : "click") && Me(t, e, r, t.qKeyEvent === !0);
|
|
383
|
+
},
|
|
384
|
+
keystart: je((t) => {
|
|
385
|
+
r.enabled && !t.qSkipRipple && Ae(t, r.modifiers.keyCodes) && t.type === `key${r.modifiers.early ? "down" : "up"}` && Me(t, e, r, !0);
|
|
386
|
+
}, 300)
|
|
387
|
+
};
|
|
388
|
+
Ne(r, t), e.__qripple = r, Ee(r, "main", [
|
|
389
|
+
[
|
|
390
|
+
e,
|
|
391
|
+
"pointerdown",
|
|
392
|
+
"start",
|
|
393
|
+
"passive"
|
|
394
|
+
],
|
|
395
|
+
[
|
|
396
|
+
e,
|
|
397
|
+
"click",
|
|
398
|
+
"start",
|
|
399
|
+
"passive"
|
|
400
|
+
],
|
|
401
|
+
[
|
|
402
|
+
e,
|
|
403
|
+
"keydown",
|
|
404
|
+
"keystart",
|
|
405
|
+
"passive"
|
|
406
|
+
],
|
|
407
|
+
[
|
|
408
|
+
e,
|
|
409
|
+
"keyup",
|
|
410
|
+
"keystart",
|
|
411
|
+
"passive"
|
|
412
|
+
]
|
|
413
|
+
]);
|
|
414
|
+
},
|
|
415
|
+
updated(e, t) {
|
|
416
|
+
if (t.oldValue !== t.value) {
|
|
417
|
+
let n = e.__qripple;
|
|
418
|
+
n !== void 0 && (n.enabled = t.value !== !1, n.enabled && Object(t.value) === t.value && Ne(n, t));
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
beforeUnmount(e) {
|
|
422
|
+
let t = e.__qripple;
|
|
423
|
+
t !== void 0 && (t.abort.forEach((e) => {
|
|
424
|
+
e();
|
|
425
|
+
}), De(t, "main"), delete e.__qripple);
|
|
426
|
+
}
|
|
427
|
+
}), Fe = {
|
|
428
|
+
left: "start",
|
|
429
|
+
center: "center",
|
|
430
|
+
right: "end",
|
|
431
|
+
between: "between",
|
|
432
|
+
around: "around",
|
|
433
|
+
evenly: "evenly",
|
|
434
|
+
stretch: "stretch"
|
|
435
|
+
}, Ie = Object.keys(Fe), Le = { align: {
|
|
436
|
+
type: String,
|
|
437
|
+
validator: (e) => Ie.includes(e)
|
|
438
|
+
} };
|
|
439
|
+
function Re(e) {
|
|
440
|
+
return c(() => {
|
|
441
|
+
let t = e.align === void 0 ? e.vertical ? "stretch" : "left" : e.align;
|
|
442
|
+
return `${e.vertical ? "items" : "justify"}-${Fe[t]}`;
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
//#endregion
|
|
446
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.vm/vm.js
|
|
447
|
+
function ze(e) {
|
|
448
|
+
return e.appContext.config.globalProperties.$router !== void 0;
|
|
449
|
+
}
|
|
450
|
+
function Be(e) {
|
|
451
|
+
return e.isUnmounted === !0 || e.isDeactivated === !0;
|
|
452
|
+
}
|
|
453
|
+
//#endregion
|
|
454
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js
|
|
455
|
+
function Ve(e) {
|
|
456
|
+
return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
|
|
457
|
+
}
|
|
458
|
+
function He(e, t) {
|
|
459
|
+
return (e.aliasOf || e) === (t.aliasOf || t);
|
|
460
|
+
}
|
|
461
|
+
function Ue(e, t) {
|
|
462
|
+
for (let n in t) {
|
|
463
|
+
let r = t[n], i = e[n];
|
|
464
|
+
if (typeof r == "string") {
|
|
465
|
+
if (r !== i) return !1;
|
|
466
|
+
} else if (!Array.isArray(i) || i.length !== r.length || r.some((e, t) => e !== i[t])) return !1;
|
|
467
|
+
}
|
|
468
|
+
return !0;
|
|
469
|
+
}
|
|
470
|
+
function We(e, t) {
|
|
471
|
+
return Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e.length === 1 && e[0] === t;
|
|
472
|
+
}
|
|
473
|
+
function Ge(e, t) {
|
|
474
|
+
return Array.isArray(e) ? We(e, t) : Array.isArray(t) ? We(t, e) : e === t;
|
|
475
|
+
}
|
|
476
|
+
function Ke(e, t) {
|
|
477
|
+
if (Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
478
|
+
for (let n in e) if (!Ge(e[n], t[n])) return !1;
|
|
479
|
+
return !0;
|
|
480
|
+
}
|
|
481
|
+
var qe = {
|
|
482
|
+
to: [String, Object],
|
|
483
|
+
replace: Boolean,
|
|
484
|
+
href: String,
|
|
485
|
+
target: String,
|
|
486
|
+
disable: Boolean
|
|
487
|
+
};
|
|
488
|
+
({ ...qe });
|
|
489
|
+
function Je({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
490
|
+
let n = d(), { props: r, proxy: i, emit: a } = n, o = ze(n), s = c(() => !r.disable && r.href !== void 0), l = c(t ? () => o && !r.disable && !s.value && r.to !== void 0 && r.to !== null && r.to !== "" : () => o && !s.value && r.to !== void 0 && r.to !== null && r.to !== ""), u = c(() => l.value ? b(r.to) : null), f = c(() => u.value !== null), p = c(() => s.value || f.value), m = c(() => r.type === "a" || p.value ? "a" : r.tag || e || "div"), h = c(() => s.value ? {
|
|
491
|
+
href: r.href,
|
|
492
|
+
target: r.target
|
|
493
|
+
} : f.value ? {
|
|
494
|
+
href: u.value.href,
|
|
495
|
+
target: r.target
|
|
496
|
+
} : {}), g = c(() => {
|
|
497
|
+
if (!f.value) return -1;
|
|
498
|
+
let { matched: e } = u.value, { length: t } = e, n = e[t - 1];
|
|
499
|
+
if (n === void 0) return -1;
|
|
500
|
+
let r = i.$route.matched;
|
|
501
|
+
if (r.length === 0) return -1;
|
|
502
|
+
let a = r.findIndex(He.bind(null, n));
|
|
503
|
+
if (a !== -1) return a;
|
|
504
|
+
let o = Ve(e[t - 2]);
|
|
505
|
+
return t > 1 && Ve(n) === o && r.at(-1).path !== o ? r.findIndex(He.bind(null, e[t - 2])) : a;
|
|
506
|
+
}), _ = c(() => f.value && g.value !== -1 && Ue(i.$route.params, u.value.params)), v = c(() => _.value && g.value === i.$route.matched.length - 1 && Ke(i.$route.params, u.value.params)), y = c(() => f.value ? v.value ? ` ${r.exactActiveClass} ${r.activeClass}` : r.exact ? "" : _.value ? ` ${r.activeClass}` : "" : "");
|
|
507
|
+
function b(e) {
|
|
508
|
+
try {
|
|
509
|
+
return i.$router.resolve(e);
|
|
510
|
+
} catch {}
|
|
511
|
+
return null;
|
|
512
|
+
}
|
|
513
|
+
function x(e, { returnRouterError: t, to: n = r.to, replace: a = r.replace } = {}) {
|
|
514
|
+
if (r.disable) return e.preventDefault(), Promise.resolve(!1);
|
|
515
|
+
if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey || e.button !== void 0 && e.button !== 0 || r.target === "_blank") return Promise.resolve(!1);
|
|
516
|
+
e.preventDefault();
|
|
517
|
+
let o = i.$router[a ? "replace" : "push"](n);
|
|
518
|
+
return t ? o : o.then(() => {}).catch(() => {});
|
|
519
|
+
}
|
|
520
|
+
function S(e) {
|
|
521
|
+
if (f.value) {
|
|
522
|
+
let t = (t) => x(e, t);
|
|
523
|
+
a("click", e, t), e.defaultPrevented || t();
|
|
524
|
+
} else a("click", e);
|
|
525
|
+
}
|
|
526
|
+
return {
|
|
527
|
+
hasRouterLink: f,
|
|
528
|
+
hasHrefLink: s,
|
|
529
|
+
hasLink: p,
|
|
530
|
+
linkTag: m,
|
|
531
|
+
resolvedLink: u,
|
|
532
|
+
linkIsActive: _,
|
|
533
|
+
linkIsExactActive: v,
|
|
534
|
+
linkClass: y,
|
|
535
|
+
linkAttrs: h,
|
|
536
|
+
getLink: b,
|
|
537
|
+
navigateToRouterLink: x,
|
|
538
|
+
navigateOnClick: S
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
//#endregion
|
|
542
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/btn/use-btn.js
|
|
543
|
+
var Ye = {
|
|
544
|
+
none: 0,
|
|
545
|
+
xs: 4,
|
|
546
|
+
sm: 8,
|
|
547
|
+
md: 16,
|
|
548
|
+
lg: 24,
|
|
549
|
+
xl: 32
|
|
550
|
+
}, Xe = {
|
|
551
|
+
xs: 8,
|
|
552
|
+
sm: 10,
|
|
553
|
+
md: 14,
|
|
554
|
+
lg: 20,
|
|
555
|
+
xl: 24
|
|
556
|
+
}, Ze = [
|
|
557
|
+
"button",
|
|
558
|
+
"submit",
|
|
559
|
+
"reset"
|
|
560
|
+
], Qe = /[^\s]\/[^\s]/, $e = [
|
|
561
|
+
"flat",
|
|
562
|
+
"outline",
|
|
563
|
+
"push",
|
|
564
|
+
"unelevated"
|
|
565
|
+
];
|
|
566
|
+
function et(e, t) {
|
|
567
|
+
return e.flat ? "flat" : e.outline ? "outline" : e.push ? "push" : e.unelevated ? "unelevated" : t;
|
|
568
|
+
}
|
|
569
|
+
var tt = {
|
|
570
|
+
...R,
|
|
571
|
+
...qe,
|
|
572
|
+
type: {
|
|
573
|
+
type: String,
|
|
574
|
+
default: "button"
|
|
575
|
+
},
|
|
576
|
+
label: [Number, String],
|
|
577
|
+
icon: String,
|
|
578
|
+
iconRight: String,
|
|
579
|
+
...$e.reduce((e, t) => (e[t] = Boolean) && e, {}),
|
|
580
|
+
square: Boolean,
|
|
581
|
+
rounded: Boolean,
|
|
582
|
+
glossy: Boolean,
|
|
583
|
+
size: String,
|
|
584
|
+
fab: Boolean,
|
|
585
|
+
fabMini: Boolean,
|
|
586
|
+
padding: String,
|
|
587
|
+
color: String,
|
|
588
|
+
textColor: String,
|
|
589
|
+
noCaps: Boolean,
|
|
590
|
+
noWrap: Boolean,
|
|
591
|
+
dense: Boolean,
|
|
592
|
+
tabindex: [Number, String],
|
|
593
|
+
ripple: {
|
|
594
|
+
type: [Boolean, Object],
|
|
595
|
+
default: !0
|
|
596
|
+
},
|
|
597
|
+
align: {
|
|
598
|
+
...Le.align,
|
|
599
|
+
default: "center"
|
|
600
|
+
},
|
|
601
|
+
stack: Boolean,
|
|
602
|
+
stretch: Boolean,
|
|
603
|
+
loading: {
|
|
604
|
+
type: Boolean,
|
|
605
|
+
default: null
|
|
606
|
+
},
|
|
607
|
+
disable: Boolean,
|
|
608
|
+
round: Boolean
|
|
609
|
+
};
|
|
610
|
+
function nt(e) {
|
|
611
|
+
let t = z(e, Xe), n = Re(e), { hasRouterLink: r, hasLink: i, linkTag: a, linkAttrs: o, navigateOnClick: s } = Je({ fallbackTag: "button" }), l = c(() => {
|
|
612
|
+
let n = e.fab || e.fabMini ? {} : t.value;
|
|
613
|
+
return e.padding === void 0 ? n : {
|
|
614
|
+
...n,
|
|
615
|
+
padding: e.padding.split(/\s+/).map((e) => e in Ye ? Ye[e] + "px" : e).join(" "),
|
|
616
|
+
minWidth: "0",
|
|
617
|
+
minHeight: "0"
|
|
618
|
+
};
|
|
619
|
+
}), u = c(() => e.rounded || e.fab || e.fabMini), d = c(() => !e.disable && !e.loading), f = c(() => d.value ? e.tabindex || 0 : -1), p = c(() => et(e, "standard")), m = c(() => {
|
|
620
|
+
let t = { tabindex: f.value };
|
|
621
|
+
return i.value ? Object.assign(t, o.value) : Ze.includes(e.type) && (t.type = e.type), a.value === "a" ? (e.disable ? t["aria-disabled"] = "true" : t.href === void 0 && (t.role = "button"), !r.value && Qe.test(e.type) && (t.type = e.type)) : e.disable && (t.disabled = "", t["aria-disabled"] = "true"), e.loading && e.percentage !== void 0 && Object.assign(t, {
|
|
622
|
+
role: "progressbar",
|
|
623
|
+
"aria-valuemin": 0,
|
|
624
|
+
"aria-valuemax": 100,
|
|
625
|
+
"aria-valuenow": e.percentage
|
|
626
|
+
}), t;
|
|
627
|
+
});
|
|
628
|
+
return {
|
|
629
|
+
classes: c(() => {
|
|
630
|
+
let t;
|
|
631
|
+
e.color === void 0 ? e.textColor && (t = `text-${e.textColor}`) : t = e.flat || e.outline ? `text-${e.textColor || e.color}` : `bg-${e.color} text-${e.textColor || "white"}`;
|
|
632
|
+
let n = e.round ? "round" : `rectangle${u.value ? " q-btn--rounded" : e.square ? " q-btn--square" : ""}`;
|
|
633
|
+
return `q-btn--${p.value} q-btn--${n}` + (t === void 0 ? "" : " " + t) + (d.value ? " q-btn--actionable q-focusable q-hoverable" : e.disable ? " disabled" : "") + (e.fab ? " q-btn--fab" : e.fabMini ? " q-btn--fab-mini" : "") + (e.noCaps ? " q-btn--no-uppercase" : "") + (e.dense ? " q-btn--dense" : "") + (e.stretch ? " no-border-radius self-stretch" : "") + (e.glossy ? " glossy" : "") + (e.square ? " q-btn--square" : "");
|
|
634
|
+
}),
|
|
635
|
+
style: l,
|
|
636
|
+
innerClasses: c(() => n.value + (e.stack ? " column" : " row") + (e.noWrap ? " no-wrap text-no-wrap" : "") + (e.loading ? " q-btn__content--hidden" : "")),
|
|
637
|
+
attributes: m,
|
|
638
|
+
hasLink: i,
|
|
639
|
+
linkTag: a,
|
|
640
|
+
navigateOnClick: s,
|
|
641
|
+
isActionable: d
|
|
642
|
+
};
|
|
643
|
+
}
|
|
644
|
+
//#endregion
|
|
645
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/btn/QBtn.js
|
|
646
|
+
var { passiveCapture: Y } = K, rt = null, it = null, at = null;
|
|
647
|
+
function ot(e) {
|
|
648
|
+
J(e), e.qSkipRipple = !0;
|
|
649
|
+
}
|
|
650
|
+
var st = V({
|
|
651
|
+
name: "QBtn",
|
|
652
|
+
props: {
|
|
653
|
+
...tt,
|
|
654
|
+
percentage: Number,
|
|
655
|
+
darkPercentage: Boolean,
|
|
656
|
+
onTouchstart: [Function, Array]
|
|
657
|
+
},
|
|
658
|
+
emits: [
|
|
659
|
+
"click",
|
|
660
|
+
"keydown",
|
|
661
|
+
"mousedown",
|
|
662
|
+
"keyup"
|
|
663
|
+
],
|
|
664
|
+
setup(e, { slots: t, emit: n }) {
|
|
665
|
+
let { proxy: r } = d(), { classes: i, style: a, innerClasses: s, attributes: l, hasLink: u, linkTag: p, navigateOnClick: m, isActionable: h } = nt(e), _ = x(null), v = x(null), y = null, b, S = null, w = null, T = c(() => e.label !== void 0 && e.label !== null && e.label !== ""), E = c(() => e.disable || e.ripple === !1 ? !1 : {
|
|
666
|
+
keyCodes: u.value ? [13, 32] : [13],
|
|
667
|
+
...e.ripple === !0 ? {} : e.ripple
|
|
668
|
+
}), D = c(() => ({ center: e.round })), O = c(() => {
|
|
669
|
+
let t = Math.max(0, Math.min(100, e.percentage));
|
|
670
|
+
return t > 0 ? {
|
|
671
|
+
transition: "transform 0.6s",
|
|
672
|
+
transform: `translateX(${t - 100}%)`
|
|
673
|
+
} : {};
|
|
674
|
+
}), k = c(() => {
|
|
675
|
+
if (e.loading) return {
|
|
676
|
+
onMousedown: ot,
|
|
677
|
+
onTouchstart: ot,
|
|
678
|
+
onClick: ot,
|
|
679
|
+
onKeydown: ot,
|
|
680
|
+
onKeyup: ot
|
|
681
|
+
};
|
|
682
|
+
if (h.value) {
|
|
683
|
+
let t = {
|
|
684
|
+
onClick: j,
|
|
685
|
+
onKeydown: M,
|
|
686
|
+
onMousedown: P
|
|
687
|
+
};
|
|
688
|
+
if (r.$q.platform.has.touch) {
|
|
689
|
+
let n = e.onTouchstart === void 0 ? "Passive" : "";
|
|
690
|
+
t[`onTouchstart${n}`] = N;
|
|
691
|
+
}
|
|
692
|
+
return t;
|
|
693
|
+
}
|
|
694
|
+
return { onClick: J };
|
|
695
|
+
}), A = c(() => ({
|
|
696
|
+
ref: _,
|
|
697
|
+
class: "q-btn q-btn-item non-selectable no-outline " + i.value,
|
|
698
|
+
style: a.value,
|
|
699
|
+
...l.value,
|
|
700
|
+
...k.value
|
|
701
|
+
}));
|
|
702
|
+
function j(t) {
|
|
703
|
+
if (_.value !== null) {
|
|
704
|
+
if (t !== void 0) {
|
|
705
|
+
if (t.defaultPrevented) return;
|
|
706
|
+
let n = document.activeElement;
|
|
707
|
+
if (e.type === "submit" && n !== document.body && !_.value.contains(n) && !n.contains(_.value)) {
|
|
708
|
+
t.qAvoidFocus || _.value.focus();
|
|
709
|
+
let e = () => {
|
|
710
|
+
w = null, document.removeEventListener("keydown", J, !0), document.removeEventListener("keyup", e, Y), _.value?.removeEventListener("blur", e, Y);
|
|
711
|
+
};
|
|
712
|
+
w = e, document.addEventListener("keydown", J, !0), document.addEventListener("keyup", e, Y), _.value.addEventListener("blur", e, Y);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
m(t);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
function M(e) {
|
|
719
|
+
_.value !== null && (n("keydown", e), Ae(e, [13, 32]) && it !== _.value && (it !== null && I(), e.defaultPrevented || (e.qAvoidFocus || _.value.focus(), it = _.value, _.value.classList.add("q-btn--active"), document.addEventListener("keyup", F, !0), _.value.addEventListener("blur", F, Y)), J(e)));
|
|
720
|
+
}
|
|
721
|
+
function N(e) {
|
|
722
|
+
_.value !== null && (n("touchstart", e), !e.defaultPrevented && (rt !== _.value && (rt !== null && I(), rt = _.value, y = e.target, y.addEventListener("touchcancel", F, Y), y.addEventListener("touchend", F, Y)), b = !0, S !== null && clearTimeout(S), S = setTimeout(() => {
|
|
723
|
+
S = null, b = !1;
|
|
724
|
+
}, 200)));
|
|
725
|
+
}
|
|
726
|
+
function P(e) {
|
|
727
|
+
_.value !== null && (e.qSkipRipple = b === !0, n("mousedown", e), !e.defaultPrevented && at !== _.value && (at !== null && I(), at = _.value, _.value.classList.add("q-btn--active"), document.addEventListener("mouseup", F, Y)));
|
|
728
|
+
}
|
|
729
|
+
function F(e) {
|
|
730
|
+
if (_.value !== null && (e?.type !== "blur" || document.activeElement !== _.value)) {
|
|
731
|
+
if (e?.type === "keyup") {
|
|
732
|
+
if (it === _.value && Ae(e, [13, 32])) {
|
|
733
|
+
let t = new MouseEvent("click", e);
|
|
734
|
+
t.qKeyEvent = !0, e.defaultPrevented && Te(t), e.cancelBubble && we(t), _.value.dispatchEvent(t), J(e), e.qKeyEvent = !0;
|
|
735
|
+
}
|
|
736
|
+
n("keyup", e);
|
|
737
|
+
}
|
|
738
|
+
I();
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
function I(e) {
|
|
742
|
+
w?.();
|
|
743
|
+
let t = v.value;
|
|
744
|
+
!e && (rt === _.value || at === _.value) && t !== null && t !== document.activeElement && (t.setAttribute("tabindex", -1), t.focus({ preventScroll: !0 })), rt === _.value && (y !== null && (y.removeEventListener("touchcancel", F, Y), y.removeEventListener("touchend", F, Y)), rt = y = null), at === _.value && (document.removeEventListener("mouseup", F, Y), at = null), it === _.value && (document.removeEventListener("keyup", F, !0), _.value?.removeEventListener("blur", F, Y), it = null), _.value?.classList.remove("q-btn--active");
|
|
745
|
+
}
|
|
746
|
+
return g(() => {
|
|
747
|
+
I(!0);
|
|
748
|
+
}), Object.assign(r, { click: (e) => {
|
|
749
|
+
h.value && j(e);
|
|
750
|
+
} }), () => {
|
|
751
|
+
let n = [];
|
|
752
|
+
e.icon !== void 0 && n.push(f(ge, {
|
|
753
|
+
name: e.icon,
|
|
754
|
+
left: !e.stack && T.value,
|
|
755
|
+
role: "img"
|
|
756
|
+
})), T.value && n.push(f("span", { class: "block" }, [e.label])), n = H(t.default, n), e.iconRight !== void 0 && !e.round && n.push(f(ge, {
|
|
757
|
+
name: e.iconRight,
|
|
758
|
+
right: !e.stack && T.value,
|
|
759
|
+
role: "img"
|
|
760
|
+
}));
|
|
761
|
+
let r = [f("span", {
|
|
762
|
+
class: "q-focus-helper",
|
|
763
|
+
ref: v
|
|
764
|
+
})];
|
|
765
|
+
return e.loading && e.percentage !== void 0 && r.push(f("span", { class: "q-btn__progress absolute-full overflow-hidden" + (e.darkPercentage ? " q-btn__progress--dark" : "") }, [f("span", {
|
|
766
|
+
class: "q-btn__progress-indicator fit block",
|
|
767
|
+
style: O.value
|
|
768
|
+
})])), r.push(f("span", { class: "q-btn__content text-center col items-center q-anchor--skip " + s.value }, n)), e.loading !== null && r.push(f(o, { name: "q-transition--fade" }, () => e.loading ? [f("span", {
|
|
769
|
+
key: "loading",
|
|
770
|
+
class: "absolute-full flex flex-center"
|
|
771
|
+
}, t.loading === void 0 ? [f(G)] : t.loading())] : null)), C(f(p.value, A.value, r), [[
|
|
772
|
+
Pe,
|
|
773
|
+
E.value,
|
|
774
|
+
void 0,
|
|
775
|
+
D.value
|
|
776
|
+
]]);
|
|
777
|
+
};
|
|
778
|
+
}
|
|
779
|
+
}), ct = x(!1), lt, ut = 512;
|
|
780
|
+
function dt(e) {
|
|
781
|
+
return typeof e == "string" ? e.slice(0, ut).toLowerCase() : "";
|
|
782
|
+
}
|
|
783
|
+
var ft = /(?:^|\s)version\/([\w.]+)/, pt = /(?:^|\s)applewebkit\/[\w.]+/, mt = /(?:^|\s)safari\/[\w.]+/;
|
|
784
|
+
function ht(e) {
|
|
785
|
+
let t = ft.exec(e);
|
|
786
|
+
return t !== null && pt.test(e) && mt.test(e) ? {
|
|
787
|
+
browser: "safari",
|
|
788
|
+
version: t[1]
|
|
789
|
+
} : null;
|
|
790
|
+
}
|
|
791
|
+
var gt = /(?:^|\s)opera\/([\w.]+)/, _t = /(?:^|\s)version\/([\w.]+)/;
|
|
792
|
+
function vt(e) {
|
|
793
|
+
let t = gt.exec(e);
|
|
794
|
+
return t === null ? null : {
|
|
795
|
+
browser: "opera",
|
|
796
|
+
version: _t.exec(e)?.[1] || t[1]
|
|
797
|
+
};
|
|
798
|
+
}
|
|
799
|
+
var yt = /(edg|edge|edga|edgios)\/([\w.]+)/, bt = /(opr)[\/]([\w.]+)/, xt = /(vivaldi)[\/]([\w.]+)/, St = /(chrome|crios)[\/]([\w.]+)/, Ct = /(firefox|fxios)[\/]([\w.]+)/, wt = /(webkit)[\/]([\w.]+)/;
|
|
800
|
+
function Tt(e, t) {
|
|
801
|
+
let n = yt.exec(e) || bt.exec(e) || xt.exec(e) || St.exec(e);
|
|
802
|
+
if (n === null) {
|
|
803
|
+
let r = ht(e);
|
|
804
|
+
if (r !== null) return {
|
|
805
|
+
...r,
|
|
806
|
+
platform: t[0] || ""
|
|
807
|
+
};
|
|
808
|
+
if (n = Ct.exec(e) || wt.exec(e), n === null) {
|
|
809
|
+
let r = vt(e);
|
|
810
|
+
if (r !== null) return {
|
|
811
|
+
...r,
|
|
812
|
+
platform: t[0] || ""
|
|
813
|
+
};
|
|
814
|
+
n = [];
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
return {
|
|
818
|
+
browser: n[5] || n[3] || n[1] || "",
|
|
819
|
+
version: n[4] || n[2] || "0",
|
|
820
|
+
platform: t[0] || ""
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
var Et = /(ipad)/, Dt = /(ipod)/, Ot = /(iphone)/, kt = /(windows phone)/, At = /(kindle)/, jt = /(silk)/, Mt = /(android)/, Nt = /(win)/, Pt = /(mac)/, Ft = /(linux)/, It = /(cros)/;
|
|
824
|
+
function Lt(e) {
|
|
825
|
+
return Et.exec(e) || Dt.exec(e) || kt.exec(e) || Ot.exec(e) || At.exec(e) || jt.exec(e) || Mt.exec(e) || Nt.exec(e) || Pt.exec(e) || Ft.exec(e) || It.exec(e) || [];
|
|
826
|
+
}
|
|
827
|
+
var Rt = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
|
|
828
|
+
function zt(e) {
|
|
829
|
+
let t = dt(e), n = Tt(t, Lt(t)), r = {
|
|
830
|
+
mobile: !1,
|
|
831
|
+
desktop: !1,
|
|
832
|
+
cordova: !1,
|
|
833
|
+
capacitor: !1,
|
|
834
|
+
nativeMobile: !1,
|
|
835
|
+
electron: !1,
|
|
836
|
+
bex: !1,
|
|
837
|
+
linux: !1,
|
|
838
|
+
mac: !1,
|
|
839
|
+
win: !1,
|
|
840
|
+
cros: !1,
|
|
841
|
+
chrome: !1,
|
|
842
|
+
firefox: !1,
|
|
843
|
+
opera: !1,
|
|
844
|
+
safari: !1,
|
|
845
|
+
vivaldi: !1,
|
|
846
|
+
edge: !1,
|
|
847
|
+
edgeChromium: !1,
|
|
848
|
+
ie: !1,
|
|
849
|
+
webkit: !1,
|
|
850
|
+
android: !1,
|
|
851
|
+
ios: !1,
|
|
852
|
+
ipad: !1,
|
|
853
|
+
iphone: !1,
|
|
854
|
+
ipod: !1,
|
|
855
|
+
kindle: !1,
|
|
856
|
+
winphone: !1,
|
|
857
|
+
silk: !1
|
|
858
|
+
};
|
|
859
|
+
n.browser && (r[n.browser] = !0, r.version = n.version, r.versionNumber = Number.parseInt(n.version, 10)), n.platform && (r[n.platform] = !0), r["windows phone"] && (r.winphone = !0, delete r["windows phone"]);
|
|
860
|
+
let i = r.android || r.ios || r.ipad || r.iphone || r.ipod || r.kindle || r.silk || r.winphone;
|
|
861
|
+
if (i === !0 || t.includes("mobile") ? r.mobile = !0 : r.desktop = !0, r.edga || r.edgios || r.edg ? (r.edge = !0, n.browser = "edge") : r.crios ? (r.chrome = !0, n.browser = "chrome") : r.fxios && (r.firefox = !0, n.browser = "firefox"), (r.ipod || r.ipad || r.iphone) && (r.ios = !0), r.vivaldi &&= (n.browser = "vivaldi", !0), (r.chrome || r.opr || r.safari || r.vivaldi || r.mobile && !r.ios && !i) && (r.webkit = !0), r.opr && (n.browser = "opera", r.opera = !0), r.safari && (r.android ? (n.browser = "android", r.android = !0) : r.kindle ? (n.browser = "kindle", r.kindle = !0) : r.silk &&= (n.browser = "silk", !0)), r.name = n.browser, r.platform = n.platform, t.includes("electron")) r.electron = !0;
|
|
862
|
+
else if (document.location.href.includes("-extension://")) r.bex = !0;
|
|
863
|
+
else {
|
|
864
|
+
if (window.Capacitor === void 0 ? (window._cordovaNative !== void 0 || window.cordova !== void 0) && (r.cordova = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "cordova") : (r.capacitor = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "capacitor"), ct.value && (lt = { is: { ...r } }), Rt && r.mac && (r.desktop && r.safari || r.nativeMobile && !r.android && !r.ios && !r.ipad)) {
|
|
865
|
+
delete r.mac, delete r.desktop;
|
|
866
|
+
let e = Math.min(window.innerHeight, window.innerWidth) > 414 ? "ipad" : "iphone";
|
|
867
|
+
Object.assign(r, {
|
|
868
|
+
mobile: !0,
|
|
869
|
+
ios: !0,
|
|
870
|
+
platform: e,
|
|
871
|
+
[e]: !0
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
!r.mobile && window.navigator.userAgentData && window.navigator.userAgentData.mobile && (delete r.desktop, r.mobile = !0);
|
|
875
|
+
}
|
|
876
|
+
return r;
|
|
877
|
+
}
|
|
878
|
+
var Bt = navigator.userAgent || navigator.vendor || window.opera, Vt = {
|
|
879
|
+
has: {
|
|
880
|
+
touch: !1,
|
|
881
|
+
webStorage: !1
|
|
882
|
+
},
|
|
883
|
+
within: { iframe: !1 }
|
|
884
|
+
}, Ht = {
|
|
885
|
+
userAgent: Bt,
|
|
886
|
+
is: zt(Bt),
|
|
887
|
+
has: { touch: Rt },
|
|
888
|
+
within: { iframe: window.self !== window.top }
|
|
889
|
+
}, Ut = { install(e) {
|
|
890
|
+
let { $q: t } = e;
|
|
891
|
+
ct.value ? (e.onSSRHydrated.push(() => {
|
|
892
|
+
Object.assign(t.platform, Ht), ct.value = !1;
|
|
893
|
+
}), t.platform = b(this)) : t.platform = this;
|
|
894
|
+
} };
|
|
895
|
+
{
|
|
896
|
+
let e;
|
|
897
|
+
B(Ht.has, "webStorage", () => {
|
|
898
|
+
if (e !== void 0) return e;
|
|
899
|
+
try {
|
|
900
|
+
if (window.localStorage) return e = !0, !0;
|
|
901
|
+
} catch {}
|
|
902
|
+
return e = !1, !1;
|
|
903
|
+
}), Object.assign(Ut, Ht), ct.value && (Object.assign(Ut, lt, Vt), lt = null);
|
|
904
|
+
}
|
|
905
|
+
//#endregion
|
|
906
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/private.history/History.js
|
|
907
|
+
var Wt = () => !0;
|
|
908
|
+
function Gt(e) {
|
|
909
|
+
return typeof e == "string" && e !== "" && e !== "/" && e !== "#/";
|
|
910
|
+
}
|
|
911
|
+
function Kt(e) {
|
|
912
|
+
return e.startsWith("#") && (e = e.slice(1)), e.startsWith("/") || (e = "/" + e), e.endsWith("/") && (e = e.slice(0, -1)), "#" + e;
|
|
913
|
+
}
|
|
914
|
+
function qt(e) {
|
|
915
|
+
if (e.backButtonExit === !1) return () => !1;
|
|
916
|
+
if (e.backButtonExit === "*") return Wt;
|
|
917
|
+
let t = ["#/"];
|
|
918
|
+
return Array.isArray(e.backButtonExit) && t.push(...e.backButtonExit.filter(Gt).map(Kt)), () => t.includes(window.location.hash);
|
|
919
|
+
}
|
|
920
|
+
var Jt = {
|
|
921
|
+
__history: [],
|
|
922
|
+
add: q,
|
|
923
|
+
remove: q,
|
|
924
|
+
install({ $q: e }) {
|
|
925
|
+
if (this.__installed) return;
|
|
926
|
+
let { cordova: t, capacitor: n } = Ht.is;
|
|
927
|
+
if (!t && !n) return;
|
|
928
|
+
let r = e.config[t ? "cordova" : "capacitor"];
|
|
929
|
+
if (r?.backButton === !1 || n && (window.Capacitor === void 0 || window.Capacitor.Plugins.App === void 0)) return;
|
|
930
|
+
this.add = (e) => {
|
|
931
|
+
e.condition === void 0 && (e.condition = Wt), this.__history.push(e);
|
|
932
|
+
}, this.remove = (e) => {
|
|
933
|
+
let t = this.__history.indexOf(e);
|
|
934
|
+
t !== -1 && this.__history.splice(t, 1);
|
|
935
|
+
};
|
|
936
|
+
let i = qt({
|
|
937
|
+
backButtonExit: !0,
|
|
938
|
+
...r
|
|
939
|
+
}), a = () => {
|
|
940
|
+
if (this.__history.length !== 0) {
|
|
941
|
+
let e = this.__history.at(-1);
|
|
942
|
+
e.condition() && (this.__history.pop(), e.handler());
|
|
943
|
+
} else i() ? navigator.app.exitApp() : window.history.back();
|
|
944
|
+
};
|
|
945
|
+
t ? document.addEventListener("deviceready", () => {
|
|
946
|
+
document.addEventListener("backbutton", a, !1);
|
|
947
|
+
}) : window.Capacitor.Plugins.App.addListener("backButton", a);
|
|
948
|
+
}
|
|
949
|
+
}, Yt = {}, Xt = [], Zt = [], Qt = 1, $t = document.body;
|
|
950
|
+
function en(e, t) {
|
|
951
|
+
let n = document.createElement("div");
|
|
952
|
+
if (n.id = t === void 0 ? e : `q-portal--${t}--${Qt++}`, Yt.globalNodes !== void 0) {
|
|
953
|
+
let e = Yt.globalNodes.class;
|
|
954
|
+
e !== void 0 && (n.className = e);
|
|
955
|
+
}
|
|
956
|
+
return $t.append(n), Xt.push(n), Zt.push(t), n;
|
|
957
|
+
}
|
|
958
|
+
function tn(e) {
|
|
959
|
+
let t = Xt.indexOf(e);
|
|
960
|
+
t !== -1 && (Xt.splice(t, 1), Zt.splice(t, 1)), e.remove();
|
|
961
|
+
}
|
|
962
|
+
//#endregion
|
|
963
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.symbols/symbols.js
|
|
964
|
+
var nn = "_q_fo_";
|
|
965
|
+
//#endregion
|
|
966
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/debounce/debounce.js
|
|
967
|
+
function rn(e, t = 250, n) {
|
|
968
|
+
let r = null;
|
|
969
|
+
function i(...i) {
|
|
970
|
+
r === null ? n && e.apply(this, i) : clearTimeout(r), r = setTimeout(() => {
|
|
971
|
+
r = null, n || e.apply(this, i);
|
|
972
|
+
}, t);
|
|
973
|
+
}
|
|
974
|
+
return i.cancel = () => {
|
|
975
|
+
r !== null && (clearTimeout(r), r = null);
|
|
976
|
+
}, i;
|
|
977
|
+
}
|
|
978
|
+
//#endregion
|
|
979
|
+
//#region lib/composables/useValidator.js
|
|
980
|
+
function an() {
|
|
981
|
+
let e = t().validations;
|
|
982
|
+
function n(t) {
|
|
983
|
+
let n = e;
|
|
984
|
+
if (!n || !t) return;
|
|
985
|
+
let r = t.split("."), a = r[0], o = r[1], s = a.charAt(0).toUpperCase() + a.slice(1);
|
|
986
|
+
if (!n[s]) return;
|
|
987
|
+
let c = n[s].validations;
|
|
988
|
+
if (c[o]) return c[o].map((e) => i(e)[e.validation]);
|
|
989
|
+
}
|
|
990
|
+
let { t: r } = w({ useScope: "global" }), i = function(e = {}) {
|
|
991
|
+
return {
|
|
992
|
+
format: (t) => {
|
|
993
|
+
let { allowNull: n, with: i, allowBlank: a } = e, o = r(e.message) || e.message;
|
|
994
|
+
if (!a && t === "" || !n && t === null || !new RegExp(i).test(t)) return o;
|
|
995
|
+
},
|
|
996
|
+
presence: (t) => {
|
|
997
|
+
let n = r("globals.valueCantBeEmpty");
|
|
998
|
+
return e.message && (n = r(e.message) || e.message), !T.isEmpty(t ? String(t) : "") || n;
|
|
999
|
+
},
|
|
1000
|
+
required: (e, t) => e ? t === 0 || !!t || r("globals.fieldRequired") : null,
|
|
1001
|
+
length: (t) => {
|
|
1002
|
+
let n = {
|
|
1003
|
+
min: e.min || e.is,
|
|
1004
|
+
max: e.max || e.is
|
|
1005
|
+
};
|
|
1006
|
+
t = String(t), t ||= "";
|
|
1007
|
+
let r = `Value should have at most ${n.max} characters`;
|
|
1008
|
+
return e.is && (r = `Value should be ${e.is} characters long`), e.min && (r = `Value should have at least ${e.min} characters`), e.min && e.max && (r = `Value should have a length between ${e.min} and ${e.max}`), T.isLength(t, n) || r;
|
|
1009
|
+
},
|
|
1010
|
+
numericality: (t) => e.int ? T.isInt(t) || "Value should be integer" : T.isNumeric(t) || "Value should be a number",
|
|
1011
|
+
min: (e, t) => {
|
|
1012
|
+
if (t >= 0 && Math.floor(e) < t) return r("inputMin", { value: t });
|
|
1013
|
+
},
|
|
1014
|
+
custom: (t) => Function(`return (${e.bindedFunction})`)()(t) || "Invalid value"
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
return {
|
|
1018
|
+
validate: n,
|
|
1019
|
+
validations: i,
|
|
1020
|
+
models: e
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
//#endregion
|
|
1024
|
+
//#region lib/composables/useRequired.js
|
|
1025
|
+
function on(e) {
|
|
1026
|
+
let { validations: t } = an(), n = typeof e.required == "boolean" ? e.required : Object.keys(e).includes("required");
|
|
1027
|
+
return {
|
|
1028
|
+
isRequired: n,
|
|
1029
|
+
requiredFieldRule: (e) => t().required(n, e)
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
Array.isArray;
|
|
1033
|
+
function sn(e) {
|
|
1034
|
+
let t = Array.from(arguments).slice(1);
|
|
1035
|
+
console.warn.apply(console, ["[Vue Router warn]: " + e].concat(t));
|
|
1036
|
+
}
|
|
1037
|
+
var cn = /* @__PURE__ */ function(e) {
|
|
1038
|
+
return e[e.MATCHER_NOT_FOUND = 1] = "MATCHER_NOT_FOUND", e[e.NAVIGATION_GUARD_REDIRECT = 2] = "NAVIGATION_GUARD_REDIRECT", e[e.NAVIGATION_ABORTED = 4] = "NAVIGATION_ABORTED", e[e.NAVIGATION_CANCELLED = 8] = "NAVIGATION_CANCELLED", e[e.NAVIGATION_DUPLICATED = 16] = "NAVIGATION_DUPLICATED", e;
|
|
1039
|
+
}({});
|
|
1040
|
+
Symbol(process.env.NODE_ENV === "production" ? "" : "navigation failure"), cn.MATCHER_NOT_FOUND, cn.NAVIGATION_GUARD_REDIRECT, cn.NAVIGATION_ABORTED, cn.NAVIGATION_CANCELLED, cn.NAVIGATION_DUPLICATED;
|
|
1041
|
+
var ln = Symbol(process.env.NODE_ENV === "production" ? "" : "router view location matched");
|
|
1042
|
+
Symbol(process.env.NODE_ENV === "production" ? "" : "router view depth");
|
|
1043
|
+
var un = Symbol(process.env.NODE_ENV === "production" ? "" : "router"), dn = Symbol(process.env.NODE_ENV === "production" ? "" : "route location");
|
|
1044
|
+
Symbol(process.env.NODE_ENV === "production" ? "" : "router view location");
|
|
1045
|
+
function fn(e, t, n) {
|
|
1046
|
+
let r = () => {
|
|
1047
|
+
e[t].delete(n);
|
|
1048
|
+
};
|
|
1049
|
+
y(r), _(r), h(() => {
|
|
1050
|
+
e[t].add(n);
|
|
1051
|
+
}), e[t].add(n);
|
|
1052
|
+
}
|
|
1053
|
+
function pn(e) {
|
|
1054
|
+
if (process.env.NODE_ENV !== "production" && !d()) {
|
|
1055
|
+
sn("getCurrentInstance() returned null. onBeforeRouteLeave() must be called at the top of a setup function");
|
|
1056
|
+
return;
|
|
1057
|
+
}
|
|
1058
|
+
let t = p(ln, {}).value;
|
|
1059
|
+
if (!t) {
|
|
1060
|
+
process.env.NODE_ENV !== "production" && sn("No active route record was found when calling `onBeforeRouteLeave()`. Make sure you call this function inside a component child of <router-view>. Maybe you called it inside of App.vue?");
|
|
1061
|
+
return;
|
|
1062
|
+
}
|
|
1063
|
+
fn(t, "leaveGuards", e);
|
|
1064
|
+
}
|
|
1065
|
+
(/* @__PURE__ */ (function(e) {
|
|
1066
|
+
return e[e.Static = 0] = "Static", e[e.Param = 1] = "Param", e[e.Group = 2] = "Group", e;
|
|
1067
|
+
})({})).Static;
|
|
1068
|
+
function mn() {
|
|
1069
|
+
return p(un);
|
|
1070
|
+
}
|
|
1071
|
+
function hn(e) {
|
|
1072
|
+
return p(dn);
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-quasar/use-quasar.js
|
|
1076
|
+
function gn() {
|
|
1077
|
+
return p("_q_");
|
|
1078
|
+
}
|
|
1079
|
+
//#endregion
|
|
1080
|
+
//#region lib/composables/tMobile.js
|
|
1081
|
+
function _n(...e) {
|
|
1082
|
+
let t = gn(), { t: n } = w();
|
|
1083
|
+
if (!t.screen.xs) return n(...e);
|
|
1084
|
+
}
|
|
1085
|
+
//#endregion
|
|
1086
|
+
//#region lib/composables/useArrayData.js
|
|
1087
|
+
function vn(t, a) {
|
|
1088
|
+
if (t ??= hn().meta.moduleName, !t) throw Error("ArrayData: A key is required to use this composable");
|
|
1089
|
+
let o = e();
|
|
1090
|
+
o.get(t) || o.set(t);
|
|
1091
|
+
let s = o.get(t);
|
|
1092
|
+
s.dataKey = t;
|
|
1093
|
+
let l = hn(), u = mn(), d = null;
|
|
1094
|
+
v(() => {
|
|
1095
|
+
f(a ?? {}), _(["skip"]);
|
|
1096
|
+
let e = l.query, t = s.searchUrl;
|
|
1097
|
+
if (e[t]) {
|
|
1098
|
+
let n = JSON.parse(e[t]), r = n?.filter && typeof n?.filter == "object" ? n?.filter : JSON.parse(n?.filter ?? "{}");
|
|
1099
|
+
delete n.filter, s.userParams = {
|
|
1100
|
+
...k(R(n)),
|
|
1101
|
+
...z()
|
|
1102
|
+
}, s.filter = {
|
|
1103
|
+
...r,
|
|
1104
|
+
...s.userFilter
|
|
1105
|
+
}, r?.order && (s.order = r.order);
|
|
1106
|
+
}
|
|
1107
|
+
e.stackedParams && (s.stackedParams = JSON.parse(e.stackedParams)), P();
|
|
1108
|
+
}), a && f(a);
|
|
1109
|
+
function f(e) {
|
|
1110
|
+
if (!e) return;
|
|
1111
|
+
let t = [
|
|
1112
|
+
"url",
|
|
1113
|
+
"filter",
|
|
1114
|
+
"where",
|
|
1115
|
+
"order",
|
|
1116
|
+
"limit",
|
|
1117
|
+
"skip",
|
|
1118
|
+
"userParams",
|
|
1119
|
+
"userFilter",
|
|
1120
|
+
"exprBuilder",
|
|
1121
|
+
"dynamicExprBuilder",
|
|
1122
|
+
"searchUrl",
|
|
1123
|
+
"navigate",
|
|
1124
|
+
"mapKey",
|
|
1125
|
+
"oneRecord",
|
|
1126
|
+
"hasChanges",
|
|
1127
|
+
"isLocal",
|
|
1128
|
+
"customFilterFn",
|
|
1129
|
+
"remoteParamsArray",
|
|
1130
|
+
"keyData",
|
|
1131
|
+
"isStackableParams",
|
|
1132
|
+
"nonStackableParams",
|
|
1133
|
+
"stackedParams",
|
|
1134
|
+
"dataAnalyticsFilter",
|
|
1135
|
+
"ignoreUrlParams"
|
|
1136
|
+
];
|
|
1137
|
+
if (typeof e == "object") {
|
|
1138
|
+
for (let n in e) if (!(e[n] == null || e[n] === "" || !t.includes(n)) && Object.hasOwn(s, n)) {
|
|
1139
|
+
let t = e[n];
|
|
1140
|
+
s[n] = e.keepOpts?.includes(n) ? Object.assign(t, s[n]) : t, n === "userParams" && (s.defaultParams = s[n]);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
async function p({ append: e = !1, updateRouter: t = !0 }) {
|
|
1145
|
+
b(), d = new AbortController();
|
|
1146
|
+
let { params: i, limit: a } = P(), o;
|
|
1147
|
+
(s?.exprBuilder || Object.keys(s.dynamicWhereBuilder).length) && (o = n(i, (e, t) => {
|
|
1148
|
+
if (e == "filter") return;
|
|
1149
|
+
let n = s.exprBuilder?.(e, t);
|
|
1150
|
+
return s.dynamicWhereBuilder[e] && (n = { [e]: t }), n && delete i[e], n;
|
|
1151
|
+
})), (i.filter.where || o) && (i.filter.where = {
|
|
1152
|
+
...i.filter.where,
|
|
1153
|
+
...o
|
|
1154
|
+
}), i?.filter?.order?.length || delete i?.filter?.order, Object.keys(i?.filter?.where ?? {})?.length || delete i?.filter?.where, s.isLoading = !0;
|
|
1155
|
+
let c;
|
|
1156
|
+
try {
|
|
1157
|
+
c = await Wr(i, d, s);
|
|
1158
|
+
} finally {
|
|
1159
|
+
s.isLoading = !1, d = null;
|
|
1160
|
+
}
|
|
1161
|
+
if (s.hasMoreData = a && c.data.length >= a, !(!e && !r() && t && M()?.redirect)) return F(c.data, {
|
|
1162
|
+
map: !!s.mapKey,
|
|
1163
|
+
append: e,
|
|
1164
|
+
oneRecord: s.oneRecord
|
|
1165
|
+
}), c;
|
|
1166
|
+
}
|
|
1167
|
+
function h() {
|
|
1168
|
+
o.get(t) && o.clear(t);
|
|
1169
|
+
}
|
|
1170
|
+
function g(e) {
|
|
1171
|
+
delete s[e];
|
|
1172
|
+
}
|
|
1173
|
+
function _(e = []) {
|
|
1174
|
+
o.get(t) && o.reset(t, e);
|
|
1175
|
+
}
|
|
1176
|
+
function y() {
|
|
1177
|
+
o.get(t) && o.resetPagination(t);
|
|
1178
|
+
}
|
|
1179
|
+
function b() {
|
|
1180
|
+
d &&= (d.abort(), null);
|
|
1181
|
+
}
|
|
1182
|
+
async function S({ filter: e, params: t }, n = {}) {
|
|
1183
|
+
return e && (s.filter = e), t && (s.userParams = { ...t }), await p(n);
|
|
1184
|
+
}
|
|
1185
|
+
async function C({ filter: e, params: t }) {
|
|
1186
|
+
e && (s.filter = e);
|
|
1187
|
+
let n = {
|
|
1188
|
+
...s.userParams,
|
|
1189
|
+
...t
|
|
1190
|
+
};
|
|
1191
|
+
return n = k(n), s.userParams = n, y(), {
|
|
1192
|
+
response: await p({}),
|
|
1193
|
+
filter: e,
|
|
1194
|
+
params: t
|
|
1195
|
+
};
|
|
1196
|
+
}
|
|
1197
|
+
async function w(e) {
|
|
1198
|
+
let t = { ...s.filter };
|
|
1199
|
+
t?.where || (t.where = {}), e = {
|
|
1200
|
+
...t.where,
|
|
1201
|
+
...e
|
|
1202
|
+
}, await C({ filter: { where: e } });
|
|
1203
|
+
}
|
|
1204
|
+
async function T(e, t = "ASC") {
|
|
1205
|
+
let n = `${e} ${t}`, r = bn(s.order), i = yn(r, e);
|
|
1206
|
+
return i > -1 ? r[i] = n : (i = r.length, r.push(n)), s.order = r, y(), await p({}), i++, {
|
|
1207
|
+
index: i,
|
|
1208
|
+
order: r
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
async function E(e, t = "ASC") {
|
|
1212
|
+
let n = `${e} ${t}`;
|
|
1213
|
+
return s.order = [n], y(), await p({}), {
|
|
1214
|
+
index: 1,
|
|
1215
|
+
order: [n]
|
|
1216
|
+
};
|
|
1217
|
+
}
|
|
1218
|
+
async function D(e, t = !0) {
|
|
1219
|
+
s.order = e, y(), t && await p({});
|
|
1220
|
+
}
|
|
1221
|
+
async function O(e) {
|
|
1222
|
+
let t = bn(s.order), n = yn(t, e);
|
|
1223
|
+
n > -1 && t.splice(n, 1), s.order = t, p({});
|
|
1224
|
+
}
|
|
1225
|
+
function k(e) {
|
|
1226
|
+
for (let t in e) {
|
|
1227
|
+
if (e[t] && typeof e[t] == "object") {
|
|
1228
|
+
let n = Object.keys(e[t])[0];
|
|
1229
|
+
if (Object.values(e[t])[0] === null && (n = n == "eq" ? "null" : "notNull"), i[n]) {
|
|
1230
|
+
s.dynamicExprBuilder[t] = n;
|
|
1231
|
+
let r = Object.values(e[t])[0];
|
|
1232
|
+
s.userParams[t] = r, e[t] = r;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
if (L(e[t], t) && (delete s.userParams[t], delete e[t], s.filter?.where)) {
|
|
1236
|
+
let e = t;
|
|
1237
|
+
if (s?.exprBuilder) {
|
|
1238
|
+
let e = s.exprBuilder(t);
|
|
1239
|
+
if (!e || !Object.values(e).every((e) => L(e, t))) continue;
|
|
1240
|
+
}
|
|
1241
|
+
delete s.filter.where[e], delete s.dynamicExprBuilder[e], Object.keys(s.filter.where).length || delete s.filter.where;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
return e;
|
|
1245
|
+
}
|
|
1246
|
+
async function A() {
|
|
1247
|
+
s.hasMoreData && (s.skip = (s?.filter?.limit ?? s.limit) * s.page, s.page += 1, await p({ append: !0 }));
|
|
1248
|
+
}
|
|
1249
|
+
async function j() {
|
|
1250
|
+
Object.values(s.userParams).length && await p({});
|
|
1251
|
+
}
|
|
1252
|
+
function M() {
|
|
1253
|
+
if (!l?.path) return;
|
|
1254
|
+
let e = {
|
|
1255
|
+
path: l.path,
|
|
1256
|
+
query: { ...l.query ?? {} }
|
|
1257
|
+
};
|
|
1258
|
+
s?.searchUrl && (e.query[s.searchUrl] = JSON.stringify(R(s.currentFilter)), s.stackedParams?.length ? e.query.stackedParams = JSON.stringify(s.stackedParams) : delete e.query.stackedParams), u.replace(e);
|
|
1259
|
+
}
|
|
1260
|
+
function N() {
|
|
1261
|
+
Object.keys(s?.userParams ?? {}).length || (s.userParams = s.defaultParams ?? {});
|
|
1262
|
+
let e = {
|
|
1263
|
+
limit: s.limit,
|
|
1264
|
+
...s.userFilter
|
|
1265
|
+
}, t;
|
|
1266
|
+
(e?.where || s.filter?.where) && (t = Object.assign(e?.where ?? {}, s.filter?.where ?? {})), Object.assign(e, s.filter), e.where = t;
|
|
1267
|
+
let n = { filter: e };
|
|
1268
|
+
Object.assign(n, s.userParams), n.filter && (n.filter.skip = s.skip), s.order ? n.filter.order = bn(s.order) : delete n.filter.order;
|
|
1269
|
+
for (let [e, t] of Object.entries(n)) {
|
|
1270
|
+
if (L(t, e) || t && typeof t == "object" && !Array.isArray(t)) continue;
|
|
1271
|
+
let r = I(e)?.expr?.(t);
|
|
1272
|
+
r && (n[e] = r);
|
|
1273
|
+
}
|
|
1274
|
+
return {
|
|
1275
|
+
filter: e,
|
|
1276
|
+
params: n,
|
|
1277
|
+
limit: e.limit
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
function P() {
|
|
1281
|
+
let { filter: e, params: t, limit: n } = N(), r = JSON.parse(JSON.stringify(t));
|
|
1282
|
+
return delete r.filter.include, delete r.filter.fields, delete r.filter.limit, delete r.filter.skip, r.filter = JSON.stringify(r.filter), s.currentFilter = m(r), {
|
|
1283
|
+
filter: e,
|
|
1284
|
+
params: t,
|
|
1285
|
+
limit: n
|
|
1286
|
+
};
|
|
1287
|
+
}
|
|
1288
|
+
function F(e, { map: t = !0, append: n = !0, oneRecord: r = !1 }) {
|
|
1289
|
+
if (s.append = n, r) {
|
|
1290
|
+
s.data = Array.isArray(e) ? e[0] : e;
|
|
1291
|
+
return;
|
|
1292
|
+
}
|
|
1293
|
+
if (n || (s.data = [], s.map = /* @__PURE__ */ new Map()), !Array.isArray(e)) s.data = e;
|
|
1294
|
+
else if (!t && n) for (let t of e) s.data.push(t);
|
|
1295
|
+
else for (let t of e) {
|
|
1296
|
+
let e = t[s.mapKey];
|
|
1297
|
+
t.key = e;
|
|
1298
|
+
let n = s.map.get(e);
|
|
1299
|
+
if (e && n) {
|
|
1300
|
+
let { position: r } = n;
|
|
1301
|
+
t.position = r, s.map.set(e, t), s.data[r] = t;
|
|
1302
|
+
} else t.position = s.map.size, s.map.set(e, t), s.data.push(t);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
function I(e) {
|
|
1306
|
+
let t = s.dynamicExprBuilder[e];
|
|
1307
|
+
if (t) return i[t];
|
|
1308
|
+
}
|
|
1309
|
+
function L(e, t) {
|
|
1310
|
+
return e === "" || e === void 0 || e === null && !I(t)?.isNullable;
|
|
1311
|
+
}
|
|
1312
|
+
function R(e) {
|
|
1313
|
+
let t = { ...e };
|
|
1314
|
+
if (s.ignoreUrlParams.length && Object.keys(t).length) for (let e of s.ignoreUrlParams) delete t[e];
|
|
1315
|
+
return t;
|
|
1316
|
+
}
|
|
1317
|
+
function z() {
|
|
1318
|
+
let e = {};
|
|
1319
|
+
if (s.ignoreUrlParams.length && Object.keys(s.userParams).length) for (let t of s.ignoreUrlParams) e[t] = s.userParams[t];
|
|
1320
|
+
return e;
|
|
1321
|
+
}
|
|
1322
|
+
return {
|
|
1323
|
+
fetch: p,
|
|
1324
|
+
applyFilter: S,
|
|
1325
|
+
addFilter: C,
|
|
1326
|
+
getCurrentFilter: N,
|
|
1327
|
+
setCurrentFilter: P,
|
|
1328
|
+
addFilterWhere: w,
|
|
1329
|
+
addOrder: T,
|
|
1330
|
+
applyOrder: E,
|
|
1331
|
+
applyOrders: D,
|
|
1332
|
+
deleteOrder: O,
|
|
1333
|
+
refresh: j,
|
|
1334
|
+
destroy: h,
|
|
1335
|
+
loadMore: A,
|
|
1336
|
+
store: s,
|
|
1337
|
+
totalRows: c(() => s.data && s.data.length || 0),
|
|
1338
|
+
updateStateParams: M,
|
|
1339
|
+
isLoading: x(s.isLoading || !1),
|
|
1340
|
+
deleteOption: g,
|
|
1341
|
+
reset: _,
|
|
1342
|
+
resetPagination: y,
|
|
1343
|
+
setOptions: f,
|
|
1344
|
+
sanitizerParams: k,
|
|
1345
|
+
processData: F,
|
|
1346
|
+
dataKey: t
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
function yn(e, t) {
|
|
1350
|
+
return e.findIndex((e) => e.split(" ")[0] === t);
|
|
1351
|
+
}
|
|
1352
|
+
function bn(e = []) {
|
|
1353
|
+
if (!e) return [];
|
|
1354
|
+
if (Array.isArray(e)) return e;
|
|
1355
|
+
if (typeof e == "string") return e.split(",").map((e) => e.trim());
|
|
1356
|
+
}
|
|
1357
|
+
//#endregion
|
|
1358
|
+
//#region lib/composables/useForm.js
|
|
1359
|
+
function xn(e) {
|
|
1360
|
+
if (!e || e.hasAttribute("data-no-focus")) return;
|
|
1361
|
+
let t = e.querySelectorAll("textarea:not([disabled]), [contenteditable]:not([disabled])"), [n] = e.querySelectorAll("input:not([disabled]):not([type=\"checkbox\"])"), r = t.length, i = r ? t[r - 1] : n;
|
|
1362
|
+
i !== document.activeElement && i?.focus();
|
|
1363
|
+
}
|
|
1364
|
+
//#endregion
|
|
1365
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/screen/Screen.js
|
|
1366
|
+
var Sn = [
|
|
1367
|
+
"sm",
|
|
1368
|
+
"md",
|
|
1369
|
+
"lg",
|
|
1370
|
+
"xl"
|
|
1371
|
+
], { passive: Cn } = K;
|
|
1372
|
+
te({
|
|
1373
|
+
width: 0,
|
|
1374
|
+
height: 0,
|
|
1375
|
+
name: "xs",
|
|
1376
|
+
sizes: {
|
|
1377
|
+
sm: 600,
|
|
1378
|
+
md: 1024,
|
|
1379
|
+
lg: 1440,
|
|
1380
|
+
xl: 1920
|
|
1381
|
+
},
|
|
1382
|
+
lt: {
|
|
1383
|
+
sm: !0,
|
|
1384
|
+
md: !0,
|
|
1385
|
+
lg: !0,
|
|
1386
|
+
xl: !0
|
|
1387
|
+
},
|
|
1388
|
+
gt: {
|
|
1389
|
+
xs: !1,
|
|
1390
|
+
sm: !1,
|
|
1391
|
+
md: !1,
|
|
1392
|
+
lg: !1
|
|
1393
|
+
},
|
|
1394
|
+
xs: !0,
|
|
1395
|
+
sm: !1,
|
|
1396
|
+
md: !1,
|
|
1397
|
+
lg: !1,
|
|
1398
|
+
xl: !1
|
|
1399
|
+
}, {
|
|
1400
|
+
setSizes: q,
|
|
1401
|
+
setDebounce: q,
|
|
1402
|
+
install({ $q: e, onSSRHydrated: t }) {
|
|
1403
|
+
if (e.screen = this, this.__installed) {
|
|
1404
|
+
e.config.screen !== void 0 && (e.config.screen.bodyClasses ? this.__update(!0) : document.body.classList.remove(`screen--${this.name}`));
|
|
1405
|
+
return;
|
|
1406
|
+
}
|
|
1407
|
+
let { visualViewport: n } = window, r = n || window, i = document.scrollingElement || document.documentElement, a = n === void 0 || Ht.is.mobile ? () => [Math.max(window.innerWidth, i.clientWidth), Math.max(window.innerHeight, i.clientHeight)] : () => [n.width * n.scale + window.innerWidth - i.clientWidth, n.height * n.scale + window.innerHeight - i.clientHeight], o = e.config.screen?.bodyClasses === !0;
|
|
1408
|
+
this.__update = (e) => {
|
|
1409
|
+
let [t, n] = a();
|
|
1410
|
+
if (n !== this.height && (this.height = n), t !== this.width) this.width = t;
|
|
1411
|
+
else if (e !== !0) return;
|
|
1412
|
+
let r = this.sizes;
|
|
1413
|
+
this.gt.xs = t >= r.sm, this.gt.sm = t >= r.md, this.gt.md = t >= r.lg, this.gt.lg = t >= r.xl, this.lt.sm = t < r.sm, this.lt.md = t < r.md, this.lt.lg = t < r.lg, this.lt.xl = t < r.xl, this.xs = this.lt.sm, this.sm = this.gt.xs && this.lt.md, this.md = this.gt.sm && this.lt.lg, this.lg = this.gt.md && this.lt.xl, this.xl = this.gt.lg, r = this.xs && "xs" || this.sm && "sm" || this.md && "md" || this.lg && "lg" || "xl", r !== this.name && (o && (document.body.classList.remove(`screen--${this.name}`), document.body.classList.add(`screen--${r}`)), this.name = r);
|
|
1414
|
+
};
|
|
1415
|
+
let s, c = {}, l = 16;
|
|
1416
|
+
this.setSizes = (e) => {
|
|
1417
|
+
Sn.forEach((t) => {
|
|
1418
|
+
e[t] !== void 0 && (c[t] = e[t]);
|
|
1419
|
+
});
|
|
1420
|
+
}, this.setDebounce = (e) => {
|
|
1421
|
+
l = e;
|
|
1422
|
+
};
|
|
1423
|
+
let u = () => {
|
|
1424
|
+
let e = getComputedStyle(document.body);
|
|
1425
|
+
e.getPropertyValue("--q-size-sm") && Sn.forEach((t) => {
|
|
1426
|
+
this.sizes[t] = Number.parseInt(e.getPropertyValue(`--q-size-${t}`), 10);
|
|
1427
|
+
}), this.setSizes = (e) => {
|
|
1428
|
+
Sn.forEach((t) => {
|
|
1429
|
+
e[t] && (this.sizes[t] = e[t]);
|
|
1430
|
+
}), this.__update(!0);
|
|
1431
|
+
}, this.setDebounce = (e) => {
|
|
1432
|
+
s !== void 0 && r.removeEventListener("resize", s, Cn), s = e > 0 ? rn(this.__update, e) : this.__update, r.addEventListener("resize", s, Cn);
|
|
1433
|
+
}, this.setDebounce(l), Object.keys(c).length === 0 ? this.__update() : (this.setSizes(c), c = void 0), o && this.name === "xs" && document.body.classList.add("screen--xs");
|
|
1434
|
+
};
|
|
1435
|
+
ct.value ? t.push(u) : u();
|
|
1436
|
+
}
|
|
1437
|
+
});
|
|
1438
|
+
//#endregion
|
|
1439
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/dark/Dark.js
|
|
1440
|
+
var X = te({
|
|
1441
|
+
isActive: !1,
|
|
1442
|
+
mode: !1
|
|
1443
|
+
}, {
|
|
1444
|
+
__media: void 0,
|
|
1445
|
+
set(e) {
|
|
1446
|
+
X.mode = e, e === "auto" ? (X.__media === void 0 && (X.__media = window.matchMedia("(prefers-color-scheme: dark)"), X.__updateMedia = () => {
|
|
1447
|
+
X.set("auto");
|
|
1448
|
+
}, X.__media.addListener(X.__updateMedia)), e = X.__media.matches) : X.__media !== void 0 && (X.__media.removeListener(X.__updateMedia), X.__media = void 0), X.isActive = e === !0, document.body.classList.remove(`body--${e === !0 ? "light" : "dark"}`), document.body.classList.add(`body--${e === !0 ? "dark" : "light"}`);
|
|
1449
|
+
},
|
|
1450
|
+
toggle() {
|
|
1451
|
+
X.set(!X.isActive);
|
|
1452
|
+
},
|
|
1453
|
+
install({ $q: e, ssrContext: t }) {
|
|
1454
|
+
let n = e.config.dark;
|
|
1455
|
+
e.dark = this, this.__installed || this.set(n !== void 0 && n);
|
|
1456
|
+
}
|
|
1457
|
+
}), wn = {
|
|
1458
|
+
isoName: "en-US",
|
|
1459
|
+
nativeName: "English (US)",
|
|
1460
|
+
label: {
|
|
1461
|
+
clear: "Clear",
|
|
1462
|
+
ok: "OK",
|
|
1463
|
+
cancel: "Cancel",
|
|
1464
|
+
close: "Close",
|
|
1465
|
+
set: "Set",
|
|
1466
|
+
select: "Select",
|
|
1467
|
+
reset: "Reset",
|
|
1468
|
+
remove: "Remove",
|
|
1469
|
+
update: "Update",
|
|
1470
|
+
create: "Create",
|
|
1471
|
+
search: "Search",
|
|
1472
|
+
filter: "Filter",
|
|
1473
|
+
refresh: "Refresh",
|
|
1474
|
+
expand: (e) => e ? `Expand "${e}"` : "Expand",
|
|
1475
|
+
collapse: (e) => e ? `Collapse "${e}"` : "Collapse"
|
|
1476
|
+
},
|
|
1477
|
+
date: {
|
|
1478
|
+
days: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
1479
|
+
daysShort: "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
1480
|
+
months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
1481
|
+
monthsShort: "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
|
1482
|
+
firstDayOfWeek: 0,
|
|
1483
|
+
format24h: !1,
|
|
1484
|
+
pluralDay: "days",
|
|
1485
|
+
prevMonth: "Previous month",
|
|
1486
|
+
nextMonth: "Next month",
|
|
1487
|
+
prevYear: "Previous year",
|
|
1488
|
+
nextYear: "Next year",
|
|
1489
|
+
today: "Today",
|
|
1490
|
+
prevRangeYears: (e) => `Previous ${e} years`,
|
|
1491
|
+
nextRangeYears: (e) => `Next ${e} years`
|
|
1492
|
+
},
|
|
1493
|
+
table: {
|
|
1494
|
+
noData: "No data available",
|
|
1495
|
+
noResults: "No matching records found",
|
|
1496
|
+
loading: "Loading...",
|
|
1497
|
+
selectedRecords: (e) => e === 1 ? "1 record selected." : (e === 0 ? "No" : e) + " records selected.",
|
|
1498
|
+
recordsPerPage: "Records per page:",
|
|
1499
|
+
allRows: "All",
|
|
1500
|
+
pagination: (e, t, n) => e + "–" + t + " of " + n,
|
|
1501
|
+
columns: "Columns"
|
|
1502
|
+
},
|
|
1503
|
+
pagination: {
|
|
1504
|
+
first: "First page",
|
|
1505
|
+
prev: "Previous page",
|
|
1506
|
+
next: "Next page",
|
|
1507
|
+
last: "Last page"
|
|
1508
|
+
},
|
|
1509
|
+
editor: {
|
|
1510
|
+
url: "URL",
|
|
1511
|
+
bold: "Bold",
|
|
1512
|
+
italic: "Italic",
|
|
1513
|
+
strikethrough: "Strikethrough",
|
|
1514
|
+
underline: "Underline",
|
|
1515
|
+
unorderedList: "Unordered List",
|
|
1516
|
+
orderedList: "Ordered List",
|
|
1517
|
+
subscript: "Subscript",
|
|
1518
|
+
superscript: "Superscript",
|
|
1519
|
+
hyperlink: "Hyperlink",
|
|
1520
|
+
toggleFullscreen: "Toggle Fullscreen",
|
|
1521
|
+
quote: "Quote",
|
|
1522
|
+
left: "Left align",
|
|
1523
|
+
center: "Center align",
|
|
1524
|
+
right: "Right align",
|
|
1525
|
+
justify: "Justify align",
|
|
1526
|
+
print: "Print",
|
|
1527
|
+
outdent: "Decrease indentation",
|
|
1528
|
+
indent: "Increase indentation",
|
|
1529
|
+
removeFormat: "Remove formatting",
|
|
1530
|
+
formatting: "Formatting",
|
|
1531
|
+
fontSize: "Font Size",
|
|
1532
|
+
align: "Align",
|
|
1533
|
+
hr: "Insert Horizontal Rule",
|
|
1534
|
+
undo: "Undo",
|
|
1535
|
+
redo: "Redo",
|
|
1536
|
+
heading1: "Heading 1",
|
|
1537
|
+
heading2: "Heading 2",
|
|
1538
|
+
heading3: "Heading 3",
|
|
1539
|
+
heading4: "Heading 4",
|
|
1540
|
+
heading5: "Heading 5",
|
|
1541
|
+
heading6: "Heading 6",
|
|
1542
|
+
paragraph: "Paragraph",
|
|
1543
|
+
code: "Code",
|
|
1544
|
+
size1: "Very small",
|
|
1545
|
+
size2: "A bit small",
|
|
1546
|
+
size3: "Normal",
|
|
1547
|
+
size4: "Medium-large",
|
|
1548
|
+
size5: "Big",
|
|
1549
|
+
size6: "Very big",
|
|
1550
|
+
size7: "Maximum",
|
|
1551
|
+
defaultFont: "Default Font",
|
|
1552
|
+
viewSource: "View Source"
|
|
1553
|
+
},
|
|
1554
|
+
tree: {
|
|
1555
|
+
noNodes: "No nodes available",
|
|
1556
|
+
noResults: "No matching nodes found"
|
|
1557
|
+
}
|
|
1558
|
+
};
|
|
1559
|
+
//#endregion
|
|
1560
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/lang/Lang.js
|
|
1561
|
+
function Tn() {
|
|
1562
|
+
let e = Array.isArray(navigator.languages) && navigator.languages.length !== 0 ? navigator.languages[0] : navigator.language;
|
|
1563
|
+
if (typeof e == "string") return e.split(/[-_]/).map((e, t) => t === 0 ? e.toLowerCase() : t > 1 || e.length < 4 ? e.toUpperCase() : e[0].toUpperCase() + e.slice(1).toLowerCase()).join("-");
|
|
1564
|
+
}
|
|
1565
|
+
var En = te({ __qLang: {} }, {
|
|
1566
|
+
getLocale: Tn,
|
|
1567
|
+
set(e = wn, t) {
|
|
1568
|
+
let n = {
|
|
1569
|
+
...e,
|
|
1570
|
+
rtl: e.rtl === !0,
|
|
1571
|
+
getLocale: Tn
|
|
1572
|
+
};
|
|
1573
|
+
if (n.set = En.set, En.__langConfig === void 0 || !En.__langConfig.noHtmlAttrs) {
|
|
1574
|
+
let e = document.documentElement;
|
|
1575
|
+
e.setAttribute("dir", n.rtl ? "rtl" : "ltr"), e.setAttribute("lang", n.isoName);
|
|
1576
|
+
}
|
|
1577
|
+
Object.assign(En.__qLang, n);
|
|
1578
|
+
},
|
|
1579
|
+
install({ $q: e, lang: t, ssrContext: n }) {
|
|
1580
|
+
e.lang = En.__qLang, En.__langConfig = e.config.lang, this.__installed ? t !== void 0 && this.set(t) : (this.props = new Proxy(this.__qLang, {
|
|
1581
|
+
get: Reflect.get,
|
|
1582
|
+
ownKeys(e) {
|
|
1583
|
+
return Reflect.ownKeys(e).filter((e) => e !== "set" && e !== "getLocale");
|
|
1584
|
+
}
|
|
1585
|
+
}), this.set(t || wn));
|
|
1586
|
+
}
|
|
1587
|
+
}), Dn = {
|
|
1588
|
+
name: "material-icons",
|
|
1589
|
+
type: {
|
|
1590
|
+
positive: "check_circle",
|
|
1591
|
+
negative: "warning",
|
|
1592
|
+
info: "info",
|
|
1593
|
+
warning: "priority_high"
|
|
1594
|
+
},
|
|
1595
|
+
arrow: {
|
|
1596
|
+
up: "arrow_upward",
|
|
1597
|
+
right: "arrow_forward",
|
|
1598
|
+
down: "arrow_downward",
|
|
1599
|
+
left: "arrow_back",
|
|
1600
|
+
dropdown: "arrow_drop_down"
|
|
1601
|
+
},
|
|
1602
|
+
chevron: {
|
|
1603
|
+
left: "chevron_left",
|
|
1604
|
+
right: "chevron_right"
|
|
1605
|
+
},
|
|
1606
|
+
colorPicker: {
|
|
1607
|
+
spectrum: "gradient",
|
|
1608
|
+
tune: "tune",
|
|
1609
|
+
palette: "style"
|
|
1610
|
+
},
|
|
1611
|
+
pullToRefresh: { icon: "refresh" },
|
|
1612
|
+
carousel: {
|
|
1613
|
+
left: "chevron_left",
|
|
1614
|
+
right: "chevron_right",
|
|
1615
|
+
up: "keyboard_arrow_up",
|
|
1616
|
+
down: "keyboard_arrow_down",
|
|
1617
|
+
navigationIcon: "lens"
|
|
1618
|
+
},
|
|
1619
|
+
chip: {
|
|
1620
|
+
remove: "cancel",
|
|
1621
|
+
selected: "check"
|
|
1622
|
+
},
|
|
1623
|
+
datetime: {
|
|
1624
|
+
arrowLeft: "chevron_left",
|
|
1625
|
+
arrowRight: "chevron_right",
|
|
1626
|
+
now: "access_time",
|
|
1627
|
+
today: "today"
|
|
1628
|
+
},
|
|
1629
|
+
editor: {
|
|
1630
|
+
bold: "format_bold",
|
|
1631
|
+
italic: "format_italic",
|
|
1632
|
+
strikethrough: "strikethrough_s",
|
|
1633
|
+
underline: "format_underlined",
|
|
1634
|
+
unorderedList: "format_list_bulleted",
|
|
1635
|
+
orderedList: "format_list_numbered",
|
|
1636
|
+
subscript: "vertical_align_bottom",
|
|
1637
|
+
superscript: "vertical_align_top",
|
|
1638
|
+
hyperlink: "link",
|
|
1639
|
+
toggleFullscreen: "fullscreen",
|
|
1640
|
+
quote: "format_quote",
|
|
1641
|
+
left: "format_align_left",
|
|
1642
|
+
center: "format_align_center",
|
|
1643
|
+
right: "format_align_right",
|
|
1644
|
+
justify: "format_align_justify",
|
|
1645
|
+
print: "print",
|
|
1646
|
+
outdent: "format_indent_decrease",
|
|
1647
|
+
indent: "format_indent_increase",
|
|
1648
|
+
removeFormat: "format_clear",
|
|
1649
|
+
formatting: "text_format",
|
|
1650
|
+
fontSize: "format_size",
|
|
1651
|
+
align: "format_align_left",
|
|
1652
|
+
hr: "remove",
|
|
1653
|
+
undo: "undo",
|
|
1654
|
+
redo: "redo",
|
|
1655
|
+
heading: "format_size",
|
|
1656
|
+
code: "code",
|
|
1657
|
+
size: "format_size",
|
|
1658
|
+
font: "font_download",
|
|
1659
|
+
viewSource: "code"
|
|
1660
|
+
},
|
|
1661
|
+
expansionItem: {
|
|
1662
|
+
icon: "keyboard_arrow_down",
|
|
1663
|
+
denseIcon: "arrow_drop_down"
|
|
1664
|
+
},
|
|
1665
|
+
fab: {
|
|
1666
|
+
icon: "add",
|
|
1667
|
+
activeIcon: "close"
|
|
1668
|
+
},
|
|
1669
|
+
field: {
|
|
1670
|
+
clear: "cancel",
|
|
1671
|
+
error: "error"
|
|
1672
|
+
},
|
|
1673
|
+
pagination: {
|
|
1674
|
+
first: "first_page",
|
|
1675
|
+
prev: "keyboard_arrow_left",
|
|
1676
|
+
next: "keyboard_arrow_right",
|
|
1677
|
+
last: "last_page"
|
|
1678
|
+
},
|
|
1679
|
+
rating: { icon: "grade" },
|
|
1680
|
+
stepper: {
|
|
1681
|
+
done: "check",
|
|
1682
|
+
active: "edit",
|
|
1683
|
+
error: "warning"
|
|
1684
|
+
},
|
|
1685
|
+
tabs: {
|
|
1686
|
+
left: "chevron_left",
|
|
1687
|
+
right: "chevron_right",
|
|
1688
|
+
up: "keyboard_arrow_up",
|
|
1689
|
+
down: "keyboard_arrow_down"
|
|
1690
|
+
},
|
|
1691
|
+
table: {
|
|
1692
|
+
arrowUp: "arrow_upward",
|
|
1693
|
+
warning: "warning",
|
|
1694
|
+
firstPage: "first_page",
|
|
1695
|
+
prevPage: "chevron_left",
|
|
1696
|
+
nextPage: "chevron_right",
|
|
1697
|
+
lastPage: "last_page"
|
|
1698
|
+
},
|
|
1699
|
+
tree: { icon: "play_arrow" },
|
|
1700
|
+
uploader: {
|
|
1701
|
+
done: "done",
|
|
1702
|
+
clear: "clear",
|
|
1703
|
+
add: "add_box",
|
|
1704
|
+
upload: "cloud_upload",
|
|
1705
|
+
removeQueue: "clear_all",
|
|
1706
|
+
removeUploaded: "done_all"
|
|
1707
|
+
}
|
|
1708
|
+
}, On = te({
|
|
1709
|
+
iconMapFn: null,
|
|
1710
|
+
__qIconSet: {}
|
|
1711
|
+
}, {
|
|
1712
|
+
set(e, t) {
|
|
1713
|
+
let n = { ...e };
|
|
1714
|
+
n.set = On.set, Object.assign(On.__qIconSet, n);
|
|
1715
|
+
},
|
|
1716
|
+
install({ $q: e, iconSet: t, ssrContext: n }) {
|
|
1717
|
+
e.config.iconMapFn !== void 0 && (this.iconMapFn = e.config.iconMapFn), e.iconSet = this.__qIconSet, B(e, "iconMapFn", () => this.iconMapFn, (e) => {
|
|
1718
|
+
this.iconMapFn = e;
|
|
1719
|
+
}), this.__installed ? t !== void 0 && this.set(t) : (this.props = new Proxy(this.__qIconSet, {
|
|
1720
|
+
get: Reflect.get,
|
|
1721
|
+
ownKeys(e) {
|
|
1722
|
+
return Reflect.ownKeys(e).filter((e) => e !== "set");
|
|
1723
|
+
}
|
|
1724
|
+
}), this.set(t || Dn));
|
|
1725
|
+
}
|
|
1726
|
+
});
|
|
1727
|
+
//#endregion
|
|
1728
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/is/is.js
|
|
1729
|
+
function kn(e) {
|
|
1730
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
1731
|
+
}
|
|
1732
|
+
//#endregion
|
|
1733
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/install-quasar.js
|
|
1734
|
+
function An(e, t) {
|
|
1735
|
+
let n = l(e);
|
|
1736
|
+
n.config.globalProperties = t.config.globalProperties;
|
|
1737
|
+
let { reload: r, ...i } = t._context;
|
|
1738
|
+
return Object.assign(n._context, i), n;
|
|
1739
|
+
}
|
|
1740
|
+
//#endregion
|
|
1741
|
+
//#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/notify/Notify.js
|
|
1742
|
+
var jn = 0, Mn = {}, Nn = {}, Z = {}, Pn = {}, Fn = /^\s*$/, In = [], Ln = [
|
|
1743
|
+
void 0,
|
|
1744
|
+
null,
|
|
1745
|
+
!0,
|
|
1746
|
+
!1,
|
|
1747
|
+
""
|
|
1748
|
+
], Rn = [
|
|
1749
|
+
"top-left",
|
|
1750
|
+
"top-right",
|
|
1751
|
+
"bottom-left",
|
|
1752
|
+
"bottom-right",
|
|
1753
|
+
"top",
|
|
1754
|
+
"bottom",
|
|
1755
|
+
"left",
|
|
1756
|
+
"right",
|
|
1757
|
+
"center"
|
|
1758
|
+
], zn = [
|
|
1759
|
+
"top-left",
|
|
1760
|
+
"top-right",
|
|
1761
|
+
"bottom-left",
|
|
1762
|
+
"bottom-right"
|
|
1763
|
+
], Bn = {
|
|
1764
|
+
positive: {
|
|
1765
|
+
icon: (e) => e.iconSet.type.positive,
|
|
1766
|
+
color: "positive"
|
|
1767
|
+
},
|
|
1768
|
+
negative: {
|
|
1769
|
+
icon: (e) => e.iconSet.type.negative,
|
|
1770
|
+
color: "negative"
|
|
1771
|
+
},
|
|
1772
|
+
warning: {
|
|
1773
|
+
icon: (e) => e.iconSet.type.warning,
|
|
1774
|
+
color: "warning",
|
|
1775
|
+
textColor: "dark"
|
|
1776
|
+
},
|
|
1777
|
+
info: {
|
|
1778
|
+
icon: (e) => e.iconSet.type.info,
|
|
1779
|
+
color: "info"
|
|
1780
|
+
},
|
|
1781
|
+
ongoing: {
|
|
1782
|
+
group: !1,
|
|
1783
|
+
timeout: 0,
|
|
1784
|
+
spinner: !0,
|
|
1785
|
+
color: "grey-8"
|
|
1786
|
+
}
|
|
1787
|
+
};
|
|
1788
|
+
function Vn(e, t, n) {
|
|
1789
|
+
if (!e) return Wn("parameter required");
|
|
1790
|
+
let r, i = { textColor: "white" };
|
|
1791
|
+
if (e.ignoreDefaults || Object.assign(i, Mn), kn(e) || (i.type && Object.assign(i, Bn[i.type]), e = { message: e }), Object.assign(i, Bn[e.type || i.type], e), typeof i.icon == "function" && (i.icon = i.icon(t)), i.spinner = i.spinner ? i.spinner === !0 ? G : m(i.spinner) : !1, i.meta = {
|
|
1792
|
+
hasMedia: !!(i.spinner || i.icon || i.avatar),
|
|
1793
|
+
hasText: Un(i.message) || Un(i.caption)
|
|
1794
|
+
}, i.position) {
|
|
1795
|
+
if (!Rn.includes(i.position)) return Wn("wrong position", e);
|
|
1796
|
+
} else i.position = "bottom";
|
|
1797
|
+
if (Ln.includes(i.timeout)) i.timeout = 5e3;
|
|
1798
|
+
else {
|
|
1799
|
+
let t = Number.parseFloat(i.timeout);
|
|
1800
|
+
if (!Number.isFinite(t) || t < 0) return Wn("wrong timeout", e);
|
|
1801
|
+
i.timeout = t;
|
|
1802
|
+
}
|
|
1803
|
+
i.timeout === 0 ? i.progress = !1 : i.progress && (i.meta.progressClass = "q-notification__progress" + (i.progressClass ? ` ${i.progressClass}` : ""), i.meta.progressStyle = { animationDuration: `${i.timeout + 1e3}ms` });
|
|
1804
|
+
let a = [
|
|
1805
|
+
...Array.isArray(e.actions) ? e.actions : [],
|
|
1806
|
+
...!e.ignoreDefaults && Array.isArray(Mn.actions) ? Mn.actions : [],
|
|
1807
|
+
...Array.isArray(Bn[e.type]?.actions) ? Bn[e.type].actions : []
|
|
1808
|
+
], { closeBtn: o } = i;
|
|
1809
|
+
if (o && a.push({ label: typeof o == "string" ? o : t.lang.label.close }), i.actions = a.map(({ handler: e, noDismiss: t, ...n }) => ({
|
|
1810
|
+
flat: !0,
|
|
1811
|
+
...n,
|
|
1812
|
+
onClick: typeof e == "function" ? () => {
|
|
1813
|
+
e(), t || s();
|
|
1814
|
+
} : () => {
|
|
1815
|
+
s();
|
|
1816
|
+
}
|
|
1817
|
+
})), i.multiLine === void 0 && (i.multiLine = i.actions.length > 1), Object.assign(i.meta, {
|
|
1818
|
+
class: `q-notification row items-stretch q-notification--${i.multiLine ? "multi-line" : "standard"}` + (i.color === void 0 ? "" : ` bg-${i.color}`) + (i.textColor === void 0 ? "" : ` text-${i.textColor}`) + (i.classes === void 0 ? "" : ` ${i.classes}`),
|
|
1819
|
+
wrapperClass: "q-notification__wrapper col relative-position border-radius-inherit " + (i.multiLine ? "column no-wrap justify-center" : "row items-center"),
|
|
1820
|
+
contentClass: "q-notification__content row items-center" + (i.multiLine ? "" : " col"),
|
|
1821
|
+
leftClass: i.meta.hasText ? "additional" : "single",
|
|
1822
|
+
attrs: {
|
|
1823
|
+
role: "alert",
|
|
1824
|
+
...i.attrs
|
|
1825
|
+
}
|
|
1826
|
+
}), i.group === !1 ? (i.group = void 0, i.meta.group = void 0) : ((i.group === void 0 || i.group === !0) && (i.group = [
|
|
1827
|
+
i.message,
|
|
1828
|
+
i.caption,
|
|
1829
|
+
i.multiLine,
|
|
1830
|
+
...i.actions.map((e) => `${e.label}*${e.icon}`)
|
|
1831
|
+
].join("|")), i.meta.group = i.group + "|" + i.position), i.actions.length === 0 ? i.actions = void 0 : i.meta.actionsClass = "q-notification__actions row items-center " + (i.multiLine ? "justify-end" : "col-auto") + (i.meta.hasMedia ? " q-notification__actions--with-media" : ""), n !== void 0) {
|
|
1832
|
+
n.notif.meta.timer && (clearTimeout(n.notif.meta.timer), n.notif.meta.timer = void 0), i.meta.uid = n.notif.meta.uid;
|
|
1833
|
+
let e = Z[i.position].value.indexOf(n.notif);
|
|
1834
|
+
Z[i.position].value[e] = i;
|
|
1835
|
+
} else {
|
|
1836
|
+
let t = Nn[i.meta.group];
|
|
1837
|
+
if (t === void 0) {
|
|
1838
|
+
if (i.meta.uid = jn++, i.meta.badge = 1, [
|
|
1839
|
+
"left",
|
|
1840
|
+
"right",
|
|
1841
|
+
"center"
|
|
1842
|
+
].includes(i.position)) Z[i.position].value.splice(Math.floor(Z[i.position].value.length / 2), 0, i);
|
|
1843
|
+
else {
|
|
1844
|
+
let e = i.position.includes("top") ? "unshift" : "push";
|
|
1845
|
+
Z[i.position].value[e](i);
|
|
1846
|
+
}
|
|
1847
|
+
i.group !== void 0 && (Nn[i.meta.group] = i);
|
|
1848
|
+
} else {
|
|
1849
|
+
if (t.meta.timer && (clearTimeout(t.meta.timer), t.meta.timer = void 0), i.badgePosition !== void 0) {
|
|
1850
|
+
if (!zn.includes(i.badgePosition)) return Wn("wrong badgePosition", e);
|
|
1851
|
+
} else i.badgePosition = `top-${i.position.includes("left") ? "right" : "left"}`;
|
|
1852
|
+
i.meta.uid = t.meta.uid, i.meta.badge = t.meta.badge + 1, i.meta.badgeClass = `q-notification__badge q-notification__badge--${i.badgePosition}` + (i.badgeColor === void 0 ? "" : ` bg-${i.badgeColor}`) + (i.badgeTextColor === void 0 ? "" : ` text-${i.badgeTextColor}`) + (i.badgeClass ? ` ${i.badgeClass}` : "");
|
|
1853
|
+
let n = Z[i.position].value.indexOf(t);
|
|
1854
|
+
Z[i.position].value[n] = Nn[i.meta.group] = i;
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
let s = () => {
|
|
1858
|
+
Hn(i), r = void 0;
|
|
1859
|
+
};
|
|
1860
|
+
if (i.timeout > 0 && (i.meta.timer = setTimeout(() => {
|
|
1861
|
+
i.meta.timer = void 0, s();
|
|
1862
|
+
}, i.timeout + 1e3)), i.group !== void 0) return (t) => {
|
|
1863
|
+
t === void 0 ? s() : Wn("trying to update a grouped one which is forbidden", e);
|
|
1864
|
+
};
|
|
1865
|
+
if (r = {
|
|
1866
|
+
dismiss: s,
|
|
1867
|
+
config: e,
|
|
1868
|
+
notif: i
|
|
1869
|
+
}, n !== void 0) {
|
|
1870
|
+
Object.assign(n, r);
|
|
1871
|
+
return;
|
|
1872
|
+
}
|
|
1873
|
+
return (e) => {
|
|
1874
|
+
r !== void 0 && (e === void 0 ? r.dismiss() : Vn({
|
|
1875
|
+
...r.config,
|
|
1876
|
+
...e,
|
|
1877
|
+
group: !1,
|
|
1878
|
+
position: i.position
|
|
1879
|
+
}, t, r));
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
function Hn(e) {
|
|
1883
|
+
e.meta.timer && (clearTimeout(e.meta.timer), e.meta.timer = void 0);
|
|
1884
|
+
let t = Z[e.position].value.indexOf(e);
|
|
1885
|
+
if (t !== -1) {
|
|
1886
|
+
e.group !== void 0 && delete Nn[e.meta.group];
|
|
1887
|
+
let n = In[String(e.meta.uid)];
|
|
1888
|
+
if (n) {
|
|
1889
|
+
let { width: e, height: t } = getComputedStyle(n);
|
|
1890
|
+
n.style.left = `${n.offsetLeft}px`, n.style.width = e, n.style.height = t;
|
|
1891
|
+
}
|
|
1892
|
+
Z[e.position].value.splice(t, 1), typeof e.onDismiss == "function" && e.onDismiss();
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
function Un(e) {
|
|
1896
|
+
return e != null && !Fn.test(e);
|
|
1897
|
+
}
|
|
1898
|
+
function Wn(e, t) {
|
|
1899
|
+
return console.error(`Notify: ${e}`, t), !1;
|
|
1900
|
+
}
|
|
1901
|
+
function Gn() {
|
|
1902
|
+
return V({
|
|
1903
|
+
name: "QNotifications",
|
|
1904
|
+
devtools: { hide: !0 },
|
|
1905
|
+
setup() {
|
|
1906
|
+
return () => f("div", { class: "q-notifications" }, Rn.map((e) => f(s, {
|
|
1907
|
+
key: e,
|
|
1908
|
+
class: Pn[e],
|
|
1909
|
+
tag: "div",
|
|
1910
|
+
name: `q-notification--${e}`
|
|
1911
|
+
}, () => Z[e].value.map((e) => {
|
|
1912
|
+
let t = e.meta, n = [];
|
|
1913
|
+
if (t.hasMedia && (e.spinner ? n.push(f(e.spinner, {
|
|
1914
|
+
class: "q-notification__spinner q-notification__spinner--" + t.leftClass,
|
|
1915
|
+
color: e.spinnerColor,
|
|
1916
|
+
size: e.spinnerSize
|
|
1917
|
+
})) : e.icon ? n.push(f(ge, {
|
|
1918
|
+
class: "q-notification__icon q-notification__icon--" + t.leftClass,
|
|
1919
|
+
name: e.icon,
|
|
1920
|
+
color: e.iconColor,
|
|
1921
|
+
size: e.iconSize,
|
|
1922
|
+
role: "img"
|
|
1923
|
+
})) : e.avatar && n.push(f(_e, { class: "q-notification__avatar q-notification__avatar--" + t.leftClass }, () => f("img", {
|
|
1924
|
+
src: e.avatar,
|
|
1925
|
+
"aria-hidden": "true"
|
|
1926
|
+
})))), t.hasText) {
|
|
1927
|
+
let t, r = { class: "q-notification__message col" };
|
|
1928
|
+
if (e.html) r.innerHTML = e.caption ? `<div>${e.message}</div><div class="q-notification__caption">${e.caption}</div>` : e.message;
|
|
1929
|
+
else {
|
|
1930
|
+
let n = [e.message];
|
|
1931
|
+
t = e.caption ? [f("div", n), f("div", { class: "q-notification__caption" }, [e.caption])] : n;
|
|
1932
|
+
}
|
|
1933
|
+
n.push(f("div", r, t));
|
|
1934
|
+
}
|
|
1935
|
+
let r = [f("div", { class: t.contentClass }, n)];
|
|
1936
|
+
return e.progress && r.push(f("div", {
|
|
1937
|
+
key: `${t.uid}|p|${t.badge}`,
|
|
1938
|
+
class: t.progressClass,
|
|
1939
|
+
style: t.progressStyle
|
|
1940
|
+
})), e.actions && r.push(f("div", { class: t.actionsClass }, e.actions.map((e) => f(st, e)))), t.badge > 1 && r.push(f("div", {
|
|
1941
|
+
key: `${t.uid}|${t.badge}`,
|
|
1942
|
+
class: e.meta.badgeClass,
|
|
1943
|
+
style: e.badgeStyle
|
|
1944
|
+
}, [t.badge])), f("div", {
|
|
1945
|
+
ref: (e) => {
|
|
1946
|
+
In[String(t.uid)] = e;
|
|
1947
|
+
},
|
|
1948
|
+
key: t.uid,
|
|
1949
|
+
class: t.class,
|
|
1950
|
+
...t.attrs
|
|
1951
|
+
}, [f("div", { class: t.wrapperClass }, r)]);
|
|
1952
|
+
}))));
|
|
1953
|
+
}
|
|
1954
|
+
});
|
|
1955
|
+
}
|
|
1956
|
+
var Kn = {
|
|
1957
|
+
setDefaults(e) {
|
|
1958
|
+
kn(e) && Object.assign(Mn, e);
|
|
1959
|
+
},
|
|
1960
|
+
registerType(e, t) {
|
|
1961
|
+
kn(t) && (Bn[e] = t);
|
|
1962
|
+
},
|
|
1963
|
+
install({ $q: e, parentApp: t }) {
|
|
1964
|
+
if (e.notify = this.create = (t) => Vn(t, e), e.notify.setDefaults = this.setDefaults, e.notify.registerType = this.registerType, e.config.notify !== void 0 && this.setDefaults(e.config.notify), !this.__installed) {
|
|
1965
|
+
Rn.forEach((e) => {
|
|
1966
|
+
Z[e] = x([]);
|
|
1967
|
+
let t = e === "left" || e === "center" || e === "right" ? "center" : e.includes("top") ? "top" : "bottom", n = e.includes("left") ? "start" : e.includes("right") ? "end" : "center";
|
|
1968
|
+
Pn[e] = `q-notifications__list q-notifications__list--${t} fixed column no-wrap ${e === "left" || e === "right" ? `items-${e === "left" ? "start" : "end"} justify-center` : e === "center" ? "flex-center" : `items-${n}`}`;
|
|
1969
|
+
});
|
|
1970
|
+
let e = en("q-notify");
|
|
1971
|
+
An(Gn(), t).mount(e);
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
};
|
|
1975
|
+
//#endregion
|
|
1976
|
+
//#region lib/composables/useNotify.js
|
|
1977
|
+
function qn() {
|
|
1978
|
+
let { t: e } = w();
|
|
1979
|
+
return { notify: (t, n = "positive", r, i = {}) => {
|
|
1980
|
+
Kn.create({
|
|
1981
|
+
message: e(t, i.translationParams || {}),
|
|
1982
|
+
type: n,
|
|
1983
|
+
icon: r || {
|
|
1984
|
+
warning: "warning",
|
|
1985
|
+
negative: "error",
|
|
1986
|
+
positive: "check"
|
|
1987
|
+
}[n],
|
|
1988
|
+
...i
|
|
1989
|
+
});
|
|
1990
|
+
} };
|
|
1991
|
+
}
|
|
1992
|
+
//#endregion
|
|
1993
|
+
//#region lib/composables/useObjectComparison.js
|
|
1994
|
+
function Jn(e, t) {
|
|
1995
|
+
if (!e || typeof e != "object" || !Array.isArray(t) || !t.length) return {};
|
|
1996
|
+
let n = {};
|
|
1997
|
+
for (let r of t) Object.hasOwn(e, r) && (n[r] = e[r]);
|
|
1998
|
+
return n;
|
|
1999
|
+
}
|
|
2000
|
+
function Yn(e, t) {
|
|
2001
|
+
let n = Q(e) ? e : {}, r = Q(t) ? t : {}, i = {}, a = /* @__PURE__ */ new Set([...Object.keys(n), ...Object.keys(r)]);
|
|
2002
|
+
for (let e of a) {
|
|
2003
|
+
let t = n[e], a = r[e];
|
|
2004
|
+
if (Q(t) && Q(a)) {
|
|
2005
|
+
let n = Yn(t, a);
|
|
2006
|
+
Object.keys(n).length && (i[e] = n);
|
|
2007
|
+
continue;
|
|
2008
|
+
}
|
|
2009
|
+
$(t, a) || (i[e] = {
|
|
2010
|
+
expected: t,
|
|
2011
|
+
actual: a
|
|
2012
|
+
});
|
|
2013
|
+
}
|
|
2014
|
+
return i;
|
|
2015
|
+
}
|
|
2016
|
+
function Q(e) {
|
|
2017
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
2018
|
+
}
|
|
2019
|
+
function $(e, t) {
|
|
2020
|
+
if (Array.isArray(e) && Array.isArray(t)) {
|
|
2021
|
+
if (e.length !== t.length) return !1;
|
|
2022
|
+
for (let n = 0; n < e.length; n++) if (!$(e[n], t[n])) return !1;
|
|
2023
|
+
return !0;
|
|
2024
|
+
}
|
|
2025
|
+
if (Q(e) && Q(t)) {
|
|
2026
|
+
let n = Yn(e, t);
|
|
2027
|
+
return !Object.keys(n).length;
|
|
2028
|
+
}
|
|
2029
|
+
return Object.is(e, t);
|
|
2030
|
+
}
|
|
2031
|
+
function Xn() {
|
|
2032
|
+
return {
|
|
2033
|
+
getObjectByKeys: Jn,
|
|
2034
|
+
getObjectDifferences: Yn,
|
|
2035
|
+
isComparableObject: Q,
|
|
2036
|
+
isSameValue: $
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
//#endregion
|
|
2040
|
+
//#region ../lilium/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
2041
|
+
var Zn = /* @__PURE__ */ N(((e, t) => {
|
|
2042
|
+
t.exports = TypeError;
|
|
2043
|
+
})), Qn = /* @__PURE__ */ N(((e, t) => {
|
|
2044
|
+
t.exports = {};
|
|
2045
|
+
})), $n = /* @__PURE__ */ N(((e, t) => {
|
|
2046
|
+
var n = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, i = n && r && typeof r.get == "function" ? r.get : null, a = n && Map.prototype.forEach, o = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && o ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, c = o && s && typeof s.get == "function" ? s.get : null, l = o && Set.prototype.forEach, u = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, d = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, f = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, p = Boolean.prototype.valueOf, m = Object.prototype.toString, h = Function.prototype.toString, g = String.prototype.match, _ = String.prototype.slice, v = String.prototype.replace, y = String.prototype.toUpperCase, b = String.prototype.toLowerCase, x = RegExp.prototype.test, S = Array.prototype.concat, C = Array.prototype.join, w = Array.prototype.slice, T = Math.floor, E = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, D = Object.getOwnPropertySymbols, O = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, k = typeof Symbol == "function" && typeof Symbol.iterator == "object", A = typeof Symbol == "function" && Symbol.toStringTag ? Symbol.toStringTag : null, j = Object.prototype.propertyIsEnumerable, M = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
2047
|
+
return e.__proto__;
|
|
2048
|
+
} : null);
|
|
2049
|
+
function N(e, t) {
|
|
2050
|
+
if (e === Infinity || e === -Infinity || e !== e || e && e > -1e3 && e < 1e3 || x.call(/e/, t)) return t;
|
|
2051
|
+
var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
2052
|
+
if (typeof e == "number") {
|
|
2053
|
+
var r = e < 0 ? -T(-e) : T(e);
|
|
2054
|
+
if (r !== e) {
|
|
2055
|
+
var i = String(r), a = _.call(t, i.length + 1);
|
|
2056
|
+
return v.call(i, n, "$&_") + "." + v.call(v.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
return v.call(t, n, "$&_");
|
|
2060
|
+
}
|
|
2061
|
+
var P = Qn(), F = P.custom, I = oe(F) ? F : null, L = {
|
|
2062
|
+
__proto__: null,
|
|
2063
|
+
double: "\"",
|
|
2064
|
+
single: "'"
|
|
2065
|
+
}, R = {
|
|
2066
|
+
__proto__: null,
|
|
2067
|
+
double: /(["\\])/g,
|
|
2068
|
+
single: /(['\\])/g
|
|
2069
|
+
};
|
|
2070
|
+
t.exports = function e(t, n, r, o) {
|
|
2071
|
+
var s = n || {};
|
|
2072
|
+
if (U(s, "quoteStyle") && !U(L, s.quoteStyle)) throw TypeError("option \"quoteStyle\" must be \"single\" or \"double\"");
|
|
2073
|
+
if (U(s, "maxStringLength") && (typeof s.maxStringLength == "number" ? s.maxStringLength < 0 && s.maxStringLength !== Infinity : s.maxStringLength !== null)) throw TypeError("option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`");
|
|
2074
|
+
var u = !U(s, "customInspect") || s.customInspect;
|
|
2075
|
+
if (typeof u != "boolean" && u !== "symbol") throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
2076
|
+
if (U(s, "indent") && s.indent !== null && s.indent !== " " && !(parseInt(s.indent, 10) === s.indent && s.indent > 0)) throw TypeError("option \"indent\" must be \"\\t\", an integer > 0, or `null`");
|
|
2077
|
+
if (U(s, "numericSeparator") && typeof s.numericSeparator != "boolean") throw TypeError("option \"numericSeparator\", if provided, must be `true` or `false`");
|
|
2078
|
+
var d = s.numericSeparator;
|
|
2079
|
+
if (t === void 0) return "undefined";
|
|
2080
|
+
if (t === null) return "null";
|
|
2081
|
+
if (typeof t == "boolean") return t ? "true" : "false";
|
|
2082
|
+
if (typeof t == "string") return _e(t, s);
|
|
2083
|
+
if (typeof t == "number") {
|
|
2084
|
+
if (t === 0) return Infinity / t > 0 ? "0" : "-0";
|
|
2085
|
+
var f = String(t);
|
|
2086
|
+
return d ? N(t, f) : f;
|
|
2087
|
+
}
|
|
2088
|
+
if (typeof t == "bigint") {
|
|
2089
|
+
var m = String(t) + "n";
|
|
2090
|
+
return d ? N(t, m) : m;
|
|
2091
|
+
}
|
|
2092
|
+
var h = s.depth === void 0 ? 5 : s.depth;
|
|
2093
|
+
if (r === void 0 && (r = 0), r >= h && h > 0 && typeof t == "object") return ee(t) ? "[Array]" : "[Object]";
|
|
2094
|
+
var g = Se(s, r);
|
|
2095
|
+
if (o === void 0) o = [];
|
|
2096
|
+
else if (ue(o, t) >= 0) return "[Circular]";
|
|
2097
|
+
function y(t, n, i) {
|
|
2098
|
+
if (n && (o = w.call(o), o.push(n)), i) {
|
|
2099
|
+
var a = { depth: s.depth };
|
|
2100
|
+
return U(s, "quoteStyle") && (a.quoteStyle = s.quoteStyle), e(t, a, r + 1, o);
|
|
2101
|
+
}
|
|
2102
|
+
return e(t, s, r + 1, o);
|
|
2103
|
+
}
|
|
2104
|
+
if (typeof t == "function" && !ne(t)) {
|
|
2105
|
+
var x = le(t), T = q(t, y);
|
|
2106
|
+
return "[Function" + (x ? ": " + x : " (anonymous)") + "]" + (T.length > 0 ? " { " + C.call(T, ", ") + " }" : "");
|
|
2107
|
+
}
|
|
2108
|
+
if (oe(t)) {
|
|
2109
|
+
var D = k ? v.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : O.call(t);
|
|
2110
|
+
return typeof t == "object" && !k ? ye(D) : D;
|
|
2111
|
+
}
|
|
2112
|
+
if (ge(t)) {
|
|
2113
|
+
for (var F = "<" + b.call(String(t.nodeName)), R = t.attributes || [], V = 0; V < R.length; V++) F += " " + R[V].name + "=" + z(B(R[V].value), "double", s);
|
|
2114
|
+
return F += ">", t.childNodes && t.childNodes.length && (F += "..."), F += "</" + b.call(String(t.nodeName)) + ">", F;
|
|
2115
|
+
}
|
|
2116
|
+
if (ee(t)) {
|
|
2117
|
+
if (t.length === 0) return "[]";
|
|
2118
|
+
var ce = q(t, y);
|
|
2119
|
+
return g && !xe(ce) ? "[" + K(ce, g) + "]" : "[ " + C.call(ce, ", ") + " ]";
|
|
2120
|
+
}
|
|
2121
|
+
if (H(t)) {
|
|
2122
|
+
var ve = q(t, y);
|
|
2123
|
+
return !("cause" in Error.prototype) && "cause" in t && !j.call(t, "cause") ? "{ [" + String(t) + "] " + C.call(S.call("[cause]: " + y(t.cause), ve), ", ") + " }" : ve.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + C.call(ve, ", ") + " }";
|
|
2124
|
+
}
|
|
2125
|
+
if (typeof t == "object" && u) {
|
|
2126
|
+
if (I && typeof t[I] == "function" && P) return P(t, { depth: h - r });
|
|
2127
|
+
if (u !== "symbol" && typeof t.inspect == "function") return t.inspect();
|
|
2128
|
+
}
|
|
2129
|
+
if (de(t)) {
|
|
2130
|
+
var Ce = [];
|
|
2131
|
+
return a && a.call(t, function(e, n) {
|
|
2132
|
+
Ce.push(y(n, t, !0) + " => " + y(e, t));
|
|
2133
|
+
}), be("Map", i.call(t), Ce, g);
|
|
2134
|
+
}
|
|
2135
|
+
if (me(t)) {
|
|
2136
|
+
var we = [];
|
|
2137
|
+
return l && l.call(t, function(e) {
|
|
2138
|
+
we.push(y(e, t));
|
|
2139
|
+
}), be("Set", c.call(t), we, g);
|
|
2140
|
+
}
|
|
2141
|
+
if (fe(t)) return G("WeakMap");
|
|
2142
|
+
if (he(t)) return G("WeakSet");
|
|
2143
|
+
if (pe(t)) return G("WeakRef");
|
|
2144
|
+
if (ie(t)) return ye(y(Number(t)));
|
|
2145
|
+
if (se(t)) return ye(y(E.call(t)));
|
|
2146
|
+
if (ae(t)) return ye(p.call(t));
|
|
2147
|
+
if (re(t)) return ye(y(String(t)));
|
|
2148
|
+
if (typeof window < "u" && t === window) return "{ [object Window] }";
|
|
2149
|
+
if (typeof globalThis < "u" && t === globalThis || typeof global < "u" && t === global) return "{ [object globalThis] }";
|
|
2150
|
+
if (!te(t) && !ne(t)) {
|
|
2151
|
+
var Te = q(t, y), J = M ? M(t) === Object.prototype : t instanceof Object || t.constructor === Object, Ee = t instanceof Object ? "" : "null prototype", De = !J && A && Object(t) === t && A in t ? _.call(W(t), 8, -1) : Ee ? "Object" : "", Oe = (J || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "") + (De || Ee ? "[" + C.call(S.call([], De || [], Ee || []), ": ") + "] " : "");
|
|
2152
|
+
return Te.length === 0 ? Oe + "{}" : g ? Oe + "{" + K(Te, g) + "}" : Oe + "{ " + C.call(Te, ", ") + " }";
|
|
2153
|
+
}
|
|
2154
|
+
return String(t);
|
|
2155
|
+
};
|
|
2156
|
+
function z(e, t, n) {
|
|
2157
|
+
var r = L[n.quoteStyle || t];
|
|
2158
|
+
return r + e + r;
|
|
2159
|
+
}
|
|
2160
|
+
function B(e) {
|
|
2161
|
+
return v.call(String(e), /"/g, """);
|
|
2162
|
+
}
|
|
2163
|
+
function V(e) {
|
|
2164
|
+
return !A || !(typeof e == "object" && (A in e || e[A] !== void 0));
|
|
2165
|
+
}
|
|
2166
|
+
function ee(e) {
|
|
2167
|
+
return W(e) === "[object Array]" && V(e);
|
|
2168
|
+
}
|
|
2169
|
+
function te(e) {
|
|
2170
|
+
return W(e) === "[object Date]" && V(e);
|
|
2171
|
+
}
|
|
2172
|
+
function ne(e) {
|
|
2173
|
+
return W(e) === "[object RegExp]" && V(e);
|
|
2174
|
+
}
|
|
2175
|
+
function H(e) {
|
|
2176
|
+
return W(e) === "[object Error]" && V(e);
|
|
2177
|
+
}
|
|
2178
|
+
function re(e) {
|
|
2179
|
+
return W(e) === "[object String]" && V(e);
|
|
2180
|
+
}
|
|
2181
|
+
function ie(e) {
|
|
2182
|
+
return W(e) === "[object Number]" && V(e);
|
|
2183
|
+
}
|
|
2184
|
+
function ae(e) {
|
|
2185
|
+
return W(e) === "[object Boolean]" && V(e);
|
|
2186
|
+
}
|
|
2187
|
+
function oe(e) {
|
|
2188
|
+
if (k) return e && typeof e == "object" && e instanceof Symbol;
|
|
2189
|
+
if (typeof e == "symbol") return !0;
|
|
2190
|
+
if (!e || typeof e != "object" || !O) return !1;
|
|
2191
|
+
try {
|
|
2192
|
+
return O.call(e), !0;
|
|
2193
|
+
} catch {}
|
|
2194
|
+
return !1;
|
|
2195
|
+
}
|
|
2196
|
+
function se(e) {
|
|
2197
|
+
if (!e || typeof e != "object" || !E) return !1;
|
|
2198
|
+
try {
|
|
2199
|
+
return E.call(e), !0;
|
|
2200
|
+
} catch {}
|
|
2201
|
+
return !1;
|
|
2202
|
+
}
|
|
2203
|
+
var ce = Object.prototype.hasOwnProperty || function(e) {
|
|
2204
|
+
return e in this;
|
|
2205
|
+
};
|
|
2206
|
+
function U(e, t) {
|
|
2207
|
+
return ce.call(e, t);
|
|
2208
|
+
}
|
|
2209
|
+
function W(e) {
|
|
2210
|
+
return m.call(e);
|
|
2211
|
+
}
|
|
2212
|
+
function le(e) {
|
|
2213
|
+
if (e.name) return e.name;
|
|
2214
|
+
var t = g.call(h.call(e), /^function\s*([\w$]+)/);
|
|
2215
|
+
return t ? t[1] : null;
|
|
2216
|
+
}
|
|
2217
|
+
function ue(e, t) {
|
|
2218
|
+
if (e.indexOf) return e.indexOf(t);
|
|
2219
|
+
for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
|
|
2220
|
+
return -1;
|
|
2221
|
+
}
|
|
2222
|
+
function de(e) {
|
|
2223
|
+
if (!i || !e || typeof e != "object") return !1;
|
|
2224
|
+
try {
|
|
2225
|
+
i.call(e);
|
|
2226
|
+
try {
|
|
2227
|
+
c.call(e);
|
|
2228
|
+
} catch {
|
|
2229
|
+
return !0;
|
|
2230
|
+
}
|
|
2231
|
+
return e instanceof Map;
|
|
2232
|
+
} catch {}
|
|
2233
|
+
return !1;
|
|
2234
|
+
}
|
|
2235
|
+
function fe(e) {
|
|
2236
|
+
if (!u || !e || typeof e != "object") return !1;
|
|
2237
|
+
try {
|
|
2238
|
+
u.call(e, u);
|
|
2239
|
+
try {
|
|
2240
|
+
d.call(e, d);
|
|
2241
|
+
} catch {
|
|
2242
|
+
return !0;
|
|
2243
|
+
}
|
|
2244
|
+
return e instanceof WeakMap;
|
|
2245
|
+
} catch {}
|
|
2246
|
+
return !1;
|
|
2247
|
+
}
|
|
2248
|
+
function pe(e) {
|
|
2249
|
+
if (!f || !e || typeof e != "object") return !1;
|
|
2250
|
+
try {
|
|
2251
|
+
return f.call(e), !0;
|
|
2252
|
+
} catch {}
|
|
2253
|
+
return !1;
|
|
2254
|
+
}
|
|
2255
|
+
function me(e) {
|
|
2256
|
+
if (!c || !e || typeof e != "object") return !1;
|
|
2257
|
+
try {
|
|
2258
|
+
c.call(e);
|
|
2259
|
+
try {
|
|
2260
|
+
i.call(e);
|
|
2261
|
+
} catch {
|
|
2262
|
+
return !0;
|
|
2263
|
+
}
|
|
2264
|
+
return e instanceof Set;
|
|
2265
|
+
} catch {}
|
|
2266
|
+
return !1;
|
|
2267
|
+
}
|
|
2268
|
+
function he(e) {
|
|
2269
|
+
if (!d || !e || typeof e != "object") return !1;
|
|
2270
|
+
try {
|
|
2271
|
+
d.call(e, d);
|
|
2272
|
+
try {
|
|
2273
|
+
u.call(e, u);
|
|
2274
|
+
} catch {
|
|
2275
|
+
return !0;
|
|
2276
|
+
}
|
|
2277
|
+
return e instanceof WeakSet;
|
|
2278
|
+
} catch {}
|
|
2279
|
+
return !1;
|
|
2280
|
+
}
|
|
2281
|
+
function ge(e) {
|
|
2282
|
+
return !e || typeof e != "object" ? !1 : typeof HTMLElement < "u" && e instanceof HTMLElement || typeof e.nodeName == "string" && typeof e.getAttribute == "function";
|
|
2283
|
+
}
|
|
2284
|
+
function _e(e, t) {
|
|
2285
|
+
if (e.length > t.maxStringLength) {
|
|
2286
|
+
var n = e.length - t.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
|
|
2287
|
+
return _e(_.call(e, 0, t.maxStringLength), t) + r;
|
|
2288
|
+
}
|
|
2289
|
+
var i = R[t.quoteStyle || "single"];
|
|
2290
|
+
return i.lastIndex = 0, z(v.call(v.call(e, i, "\\$1"), /[\x00-\x1f]/g, ve), "single", t);
|
|
2291
|
+
}
|
|
2292
|
+
function ve(e) {
|
|
2293
|
+
var t = e.charCodeAt(0), n = {
|
|
2294
|
+
8: "b",
|
|
2295
|
+
9: "t",
|
|
2296
|
+
10: "n",
|
|
2297
|
+
12: "f",
|
|
2298
|
+
13: "r"
|
|
2299
|
+
}[t];
|
|
2300
|
+
return n ? "\\" + n : "\\x" + (t < 16 ? "0" : "") + y.call(t.toString(16));
|
|
2301
|
+
}
|
|
2302
|
+
function ye(e) {
|
|
2303
|
+
return "Object(" + e + ")";
|
|
2304
|
+
}
|
|
2305
|
+
function G(e) {
|
|
2306
|
+
return e + " { ? }";
|
|
2307
|
+
}
|
|
2308
|
+
function be(e, t, n, r) {
|
|
2309
|
+
var i = r ? K(n, r) : C.call(n, ", ");
|
|
2310
|
+
return e + " (" + t + ") {" + i + "}";
|
|
2311
|
+
}
|
|
2312
|
+
function xe(e) {
|
|
2313
|
+
for (var t = 0; t < e.length; t++) if (ue(e[t], "\n") >= 0) return !1;
|
|
2314
|
+
return !0;
|
|
2315
|
+
}
|
|
2316
|
+
function Se(e, t) {
|
|
2317
|
+
var n;
|
|
2318
|
+
if (e.indent === " ") n = " ";
|
|
2319
|
+
else if (typeof e.indent == "number" && e.indent > 0) n = C.call(Array(e.indent + 1), " ");
|
|
2320
|
+
else return null;
|
|
2321
|
+
return {
|
|
2322
|
+
base: n,
|
|
2323
|
+
prev: C.call(Array(t + 1), n)
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
function K(e, t) {
|
|
2327
|
+
if (e.length === 0) return "";
|
|
2328
|
+
var n = "\n" + t.prev + t.base;
|
|
2329
|
+
return n + C.call(e, "," + n) + "\n" + t.prev;
|
|
2330
|
+
}
|
|
2331
|
+
function q(e, t) {
|
|
2332
|
+
var n = ee(e), r = [];
|
|
2333
|
+
if (n) {
|
|
2334
|
+
r.length = e.length;
|
|
2335
|
+
for (var i = 0; i < e.length; i++) r[i] = U(e, i) ? t(e[i], e) : "";
|
|
2336
|
+
}
|
|
2337
|
+
var a = typeof D == "function" ? D(e) : [], o;
|
|
2338
|
+
if (k) {
|
|
2339
|
+
o = {};
|
|
2340
|
+
for (var s = 0; s < a.length; s++) o["$" + a[s]] = a[s];
|
|
2341
|
+
}
|
|
2342
|
+
for (var c in e) U(e, c) && (n && String(Number(c)) === c && c < e.length || k && o["$" + c] instanceof Symbol || (x.call(/[^\w$]/, c) ? r.push(t(c, e) + ": " + t(e[c], e)) : r.push(c + ": " + t(e[c], e))));
|
|
2343
|
+
if (typeof D == "function") for (var l = 0; l < a.length; l++) j.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
|
|
2344
|
+
return r;
|
|
2345
|
+
}
|
|
2346
|
+
})), er = /* @__PURE__ */ N(((e, t) => {
|
|
2347
|
+
var n = $n(), r = Zn(), i = function(e, t, n) {
|
|
2348
|
+
for (var r = e, i; (i = r.next) != null; r = i) if (i.key === t) return r.next = i.next, n || (i.next = e.next, e.next = i), i;
|
|
2349
|
+
}, a = function(e, t) {
|
|
2350
|
+
if (e) {
|
|
2351
|
+
var n = i(e, t);
|
|
2352
|
+
return n && n.value;
|
|
2353
|
+
}
|
|
2354
|
+
}, o = function(e, t, n) {
|
|
2355
|
+
var r = i(e, t);
|
|
2356
|
+
r ? r.value = n : e.next = {
|
|
2357
|
+
key: t,
|
|
2358
|
+
next: e.next,
|
|
2359
|
+
value: n
|
|
2360
|
+
};
|
|
2361
|
+
}, s = function(e, t) {
|
|
2362
|
+
return e ? !!i(e, t) : !1;
|
|
2363
|
+
}, c = function(e, t) {
|
|
2364
|
+
if (e) return i(e, t, !0);
|
|
2365
|
+
};
|
|
2366
|
+
t.exports = function() {
|
|
2367
|
+
var e, t = {
|
|
2368
|
+
assert: function(e) {
|
|
2369
|
+
if (!t.has(e)) throw new r("Side channel does not contain " + n(e));
|
|
2370
|
+
},
|
|
2371
|
+
delete: function(t) {
|
|
2372
|
+
var n = c(e, t);
|
|
2373
|
+
return n && e && !e.next && (e = void 0), !!n;
|
|
2374
|
+
},
|
|
2375
|
+
get: function(t) {
|
|
2376
|
+
return a(e, t);
|
|
2377
|
+
},
|
|
2378
|
+
has: function(t) {
|
|
2379
|
+
return s(e, t);
|
|
2380
|
+
},
|
|
2381
|
+
set: function(t, n) {
|
|
2382
|
+
e ||= { next: void 0 }, o(e, t, n);
|
|
2383
|
+
}
|
|
2384
|
+
};
|
|
2385
|
+
return t;
|
|
2386
|
+
};
|
|
2387
|
+
})), tr = /* @__PURE__ */ N(((e, t) => {
|
|
2388
|
+
t.exports = Object;
|
|
2389
|
+
})), nr = /* @__PURE__ */ N(((e, t) => {
|
|
2390
|
+
t.exports = Error;
|
|
2391
|
+
})), rr = /* @__PURE__ */ N(((e, t) => {
|
|
2392
|
+
t.exports = EvalError;
|
|
2393
|
+
})), ir = /* @__PURE__ */ N(((e, t) => {
|
|
2394
|
+
t.exports = RangeError;
|
|
2395
|
+
})), ar = /* @__PURE__ */ N(((e, t) => {
|
|
2396
|
+
t.exports = ReferenceError;
|
|
2397
|
+
})), or = /* @__PURE__ */ N(((e, t) => {
|
|
2398
|
+
t.exports = SyntaxError;
|
|
2399
|
+
})), sr = /* @__PURE__ */ N(((e, t) => {
|
|
2400
|
+
t.exports = URIError;
|
|
2401
|
+
})), cr = /* @__PURE__ */ N(((e, t) => {
|
|
2402
|
+
t.exports = Math.abs;
|
|
2403
|
+
})), lr = /* @__PURE__ */ N(((e, t) => {
|
|
2404
|
+
t.exports = Math.floor;
|
|
2405
|
+
})), ur = /* @__PURE__ */ N(((e, t) => {
|
|
2406
|
+
t.exports = Math.max;
|
|
2407
|
+
})), dr = /* @__PURE__ */ N(((e, t) => {
|
|
2408
|
+
t.exports = Math.min;
|
|
2409
|
+
})), fr = /* @__PURE__ */ N(((e, t) => {
|
|
2410
|
+
t.exports = Math.pow;
|
|
2411
|
+
})), pr = /* @__PURE__ */ N(((e, t) => {
|
|
2412
|
+
t.exports = Math.round;
|
|
2413
|
+
})), mr = /* @__PURE__ */ N(((e, t) => {
|
|
2414
|
+
t.exports = Number.isNaN || function(e) {
|
|
2415
|
+
return e !== e;
|
|
2416
|
+
};
|
|
2417
|
+
})), hr = /* @__PURE__ */ N(((e, t) => {
|
|
2418
|
+
var n = mr();
|
|
2419
|
+
t.exports = function(e) {
|
|
2420
|
+
return n(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
2421
|
+
};
|
|
2422
|
+
})), gr = /* @__PURE__ */ N(((e, t) => {
|
|
2423
|
+
t.exports = Object.getOwnPropertyDescriptor;
|
|
2424
|
+
})), _r = /* @__PURE__ */ N(((e, t) => {
|
|
2425
|
+
var n = gr();
|
|
2426
|
+
if (n) try {
|
|
2427
|
+
n([], "length");
|
|
2428
|
+
} catch {
|
|
2429
|
+
n = null;
|
|
2430
|
+
}
|
|
2431
|
+
t.exports = n;
|
|
2432
|
+
})), vr = /* @__PURE__ */ N(((e, t) => {
|
|
2433
|
+
var n = Object.defineProperty || !1;
|
|
2434
|
+
if (n) try {
|
|
2435
|
+
n({}, "a", { value: 1 });
|
|
2436
|
+
} catch {
|
|
2437
|
+
n = !1;
|
|
2438
|
+
}
|
|
2439
|
+
t.exports = n;
|
|
2440
|
+
})), yr = /* @__PURE__ */ N(((e, t) => {
|
|
2441
|
+
t.exports = function() {
|
|
2442
|
+
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
|
|
2443
|
+
if (typeof Symbol.iterator == "symbol") return !0;
|
|
2444
|
+
var e = {}, t = Symbol("test"), n = Object(t);
|
|
2445
|
+
if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1;
|
|
2446
|
+
var r = 42;
|
|
2447
|
+
for (var i in e[t] = r, e) return !1;
|
|
2448
|
+
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) return !1;
|
|
2449
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
2450
|
+
if (a.length !== 1 || a[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) return !1;
|
|
2451
|
+
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
2452
|
+
var o = Object.getOwnPropertyDescriptor(e, t);
|
|
2453
|
+
if (o.value !== r || o.enumerable !== !0) return !1;
|
|
2454
|
+
}
|
|
2455
|
+
return !0;
|
|
2456
|
+
};
|
|
2457
|
+
})), br = /* @__PURE__ */ N(((e, t) => {
|
|
2458
|
+
var n = typeof Symbol < "u" && Symbol, r = yr();
|
|
2459
|
+
t.exports = function() {
|
|
2460
|
+
return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
|
|
2461
|
+
};
|
|
2462
|
+
})), xr = /* @__PURE__ */ N(((e, t) => {
|
|
2463
|
+
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
2464
|
+
})), Sr = /* @__PURE__ */ N(((e, t) => {
|
|
2465
|
+
t.exports = tr().getPrototypeOf || null;
|
|
2466
|
+
})), Cr = /* @__PURE__ */ N(((e, t) => {
|
|
2467
|
+
var n = Object.prototype.toString, r = Math.max, i = "[object Function]", a = function(e, t) {
|
|
2468
|
+
for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
|
|
2469
|
+
for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
|
|
2470
|
+
return n;
|
|
2471
|
+
}, o = function(e, t) {
|
|
2472
|
+
for (var n = [], r = t || 0, i = 0; r < e.length; r += 1, i += 1) n[i] = e[r];
|
|
2473
|
+
return n;
|
|
2474
|
+
}, s = function(e, t) {
|
|
2475
|
+
for (var n = "", r = 0; r < e.length; r += 1) n += e[r], r + 1 < e.length && (n += t);
|
|
2476
|
+
return n;
|
|
2477
|
+
};
|
|
2478
|
+
t.exports = function(e) {
|
|
2479
|
+
var t = this;
|
|
2480
|
+
if (typeof t != "function" || n.apply(t) !== i) throw TypeError("Function.prototype.bind called on incompatible " + t);
|
|
2481
|
+
for (var c = o(arguments, 1), l, u = function() {
|
|
2482
|
+
if (this instanceof l) {
|
|
2483
|
+
var n = t.apply(this, a(c, arguments));
|
|
2484
|
+
return Object(n) === n ? n : this;
|
|
2485
|
+
}
|
|
2486
|
+
return t.apply(e, a(c, arguments));
|
|
2487
|
+
}, d = r(0, t.length - c.length), f = [], p = 0; p < d; p++) f[p] = "$" + p;
|
|
2488
|
+
if (l = Function("binder", "return function (" + s(f, ",") + "){ return binder.apply(this,arguments); }")(u), t.prototype) {
|
|
2489
|
+
var m = function() {};
|
|
2490
|
+
m.prototype = t.prototype, l.prototype = new m(), m.prototype = null;
|
|
2491
|
+
}
|
|
2492
|
+
return l;
|
|
2493
|
+
};
|
|
2494
|
+
})), wr = /* @__PURE__ */ N(((e, t) => {
|
|
2495
|
+
var n = Cr();
|
|
2496
|
+
t.exports = Function.prototype.bind || n;
|
|
2497
|
+
})), Tr = /* @__PURE__ */ N(((e, t) => {
|
|
2498
|
+
t.exports = Function.prototype.call;
|
|
2499
|
+
})), Er = /* @__PURE__ */ N(((e, t) => {
|
|
2500
|
+
t.exports = Function.prototype.apply;
|
|
2501
|
+
})), Dr = /* @__PURE__ */ N(((e, t) => {
|
|
2502
|
+
t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
|
|
2503
|
+
})), Or = /* @__PURE__ */ N(((e, t) => {
|
|
2504
|
+
var n = wr(), r = Er(), i = Tr();
|
|
2505
|
+
t.exports = Dr() || n.call(i, r);
|
|
2506
|
+
})), kr = /* @__PURE__ */ N(((e, t) => {
|
|
2507
|
+
var n = wr(), r = Zn(), i = Tr(), a = Or();
|
|
2508
|
+
t.exports = function(e) {
|
|
2509
|
+
if (e.length < 1 || typeof e[0] != "function") throw new r("a function is required");
|
|
2510
|
+
return a(n, i, e);
|
|
2511
|
+
};
|
|
2512
|
+
})), Ar = /* @__PURE__ */ N(((e, t) => {
|
|
2513
|
+
var n = kr(), r = _r(), i;
|
|
2514
|
+
try {
|
|
2515
|
+
i = [].__proto__ === Array.prototype;
|
|
2516
|
+
} catch (e) {
|
|
2517
|
+
if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
|
|
2518
|
+
}
|
|
2519
|
+
var a = !!i && r && r(Object.prototype, "__proto__"), o = Object, s = o.getPrototypeOf;
|
|
2520
|
+
t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" && function(e) {
|
|
2521
|
+
return s(e == null ? e : o(e));
|
|
2522
|
+
};
|
|
2523
|
+
})), jr = /* @__PURE__ */ N(((e, t) => {
|
|
2524
|
+
var n = xr(), r = Sr(), i = Ar();
|
|
2525
|
+
t.exports = n ? function(e) {
|
|
2526
|
+
return n(e);
|
|
2527
|
+
} : r ? function(e) {
|
|
2528
|
+
if (!e || typeof e != "object" && typeof e != "function") throw TypeError("getProto: not an object");
|
|
2529
|
+
return r(e);
|
|
2530
|
+
} : i ? function(e) {
|
|
2531
|
+
return i(e);
|
|
2532
|
+
} : null;
|
|
2533
|
+
})), Mr = /* @__PURE__ */ N(((e, t) => {
|
|
2534
|
+
var n = Function.prototype.call, r = Object.prototype.hasOwnProperty;
|
|
2535
|
+
t.exports = wr().call(n, r);
|
|
2536
|
+
})), Nr = /* @__PURE__ */ N(((e, t) => {
|
|
2537
|
+
var n, r = tr(), i = nr(), a = rr(), o = ir(), s = ar(), c = or(), l = Zn(), u = sr(), d = cr(), f = lr(), p = ur(), m = dr(), h = fr(), g = pr(), _ = hr(), v = Function, y = function(e) {
|
|
2538
|
+
try {
|
|
2539
|
+
return v("\"use strict\"; return (" + e + ").constructor;")();
|
|
2540
|
+
} catch {}
|
|
2541
|
+
}, b = _r(), x = vr(), S = function() {
|
|
2542
|
+
throw new l();
|
|
2543
|
+
}, C = b ? function() {
|
|
2544
|
+
try {
|
|
2545
|
+
return arguments.callee, S;
|
|
2546
|
+
} catch {
|
|
2547
|
+
try {
|
|
2548
|
+
return b(arguments, "callee").get;
|
|
2549
|
+
} catch {
|
|
2550
|
+
return S;
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
}() : S, w = br()(), T = jr(), E = Sr(), D = xr(), O = Er(), k = Tr(), A = {}, j = typeof Uint8Array > "u" || !T ? n : T(Uint8Array), M = {
|
|
2554
|
+
__proto__: null,
|
|
2555
|
+
"%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
|
|
2556
|
+
"%Array%": Array,
|
|
2557
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer,
|
|
2558
|
+
"%ArrayIteratorPrototype%": w && T ? T([][Symbol.iterator]()) : n,
|
|
2559
|
+
"%AsyncFromSyncIteratorPrototype%": n,
|
|
2560
|
+
"%AsyncFunction%": A,
|
|
2561
|
+
"%AsyncGenerator%": A,
|
|
2562
|
+
"%AsyncGeneratorFunction%": A,
|
|
2563
|
+
"%AsyncIteratorPrototype%": A,
|
|
2564
|
+
"%Atomics%": typeof Atomics > "u" ? n : Atomics,
|
|
2565
|
+
"%BigInt%": typeof BigInt > "u" ? n : BigInt,
|
|
2566
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array,
|
|
2567
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array,
|
|
2568
|
+
"%Boolean%": Boolean,
|
|
2569
|
+
"%DataView%": typeof DataView > "u" ? n : DataView,
|
|
2570
|
+
"%Date%": Date,
|
|
2571
|
+
"%decodeURI%": decodeURI,
|
|
2572
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
2573
|
+
"%encodeURI%": encodeURI,
|
|
2574
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
2575
|
+
"%Error%": i,
|
|
2576
|
+
"%eval%": eval,
|
|
2577
|
+
"%EvalError%": a,
|
|
2578
|
+
"%Float16Array%": typeof Float16Array > "u" ? n : Float16Array,
|
|
2579
|
+
"%Float32Array%": typeof Float32Array > "u" ? n : Float32Array,
|
|
2580
|
+
"%Float64Array%": typeof Float64Array > "u" ? n : Float64Array,
|
|
2581
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry,
|
|
2582
|
+
"%Function%": v,
|
|
2583
|
+
"%GeneratorFunction%": A,
|
|
2584
|
+
"%Int8Array%": typeof Int8Array > "u" ? n : Int8Array,
|
|
2585
|
+
"%Int16Array%": typeof Int16Array > "u" ? n : Int16Array,
|
|
2586
|
+
"%Int32Array%": typeof Int32Array > "u" ? n : Int32Array,
|
|
2587
|
+
"%isFinite%": isFinite,
|
|
2588
|
+
"%isNaN%": isNaN,
|
|
2589
|
+
"%IteratorPrototype%": w && T ? T(T([][Symbol.iterator]())) : n,
|
|
2590
|
+
"%JSON%": typeof JSON == "object" ? JSON : n,
|
|
2591
|
+
"%Map%": typeof Map > "u" ? n : Map,
|
|
2592
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !w || !T ? n : T((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
2593
|
+
"%Math%": Math,
|
|
2594
|
+
"%Number%": Number,
|
|
2595
|
+
"%Object%": r,
|
|
2596
|
+
"%Object.getOwnPropertyDescriptor%": b,
|
|
2597
|
+
"%parseFloat%": parseFloat,
|
|
2598
|
+
"%parseInt%": parseInt,
|
|
2599
|
+
"%Promise%": typeof Promise > "u" ? n : Promise,
|
|
2600
|
+
"%Proxy%": typeof Proxy > "u" ? n : Proxy,
|
|
2601
|
+
"%RangeError%": o,
|
|
2602
|
+
"%ReferenceError%": s,
|
|
2603
|
+
"%Reflect%": typeof Reflect > "u" ? n : Reflect,
|
|
2604
|
+
"%RegExp%": RegExp,
|
|
2605
|
+
"%Set%": typeof Set > "u" ? n : Set,
|
|
2606
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !w || !T ? n : T((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
2607
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer,
|
|
2608
|
+
"%String%": String,
|
|
2609
|
+
"%StringIteratorPrototype%": w && T ? T(""[Symbol.iterator]()) : n,
|
|
2610
|
+
"%Symbol%": w ? Symbol : n,
|
|
2611
|
+
"%SyntaxError%": c,
|
|
2612
|
+
"%ThrowTypeError%": C,
|
|
2613
|
+
"%TypedArray%": j,
|
|
2614
|
+
"%TypeError%": l,
|
|
2615
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array,
|
|
2616
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray,
|
|
2617
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array,
|
|
2618
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array,
|
|
2619
|
+
"%URIError%": u,
|
|
2620
|
+
"%WeakMap%": typeof WeakMap > "u" ? n : WeakMap,
|
|
2621
|
+
"%WeakRef%": typeof WeakRef > "u" ? n : WeakRef,
|
|
2622
|
+
"%WeakSet%": typeof WeakSet > "u" ? n : WeakSet,
|
|
2623
|
+
"%Function.prototype.call%": k,
|
|
2624
|
+
"%Function.prototype.apply%": O,
|
|
2625
|
+
"%Object.defineProperty%": x,
|
|
2626
|
+
"%Object.getPrototypeOf%": E,
|
|
2627
|
+
"%Math.abs%": d,
|
|
2628
|
+
"%Math.floor%": f,
|
|
2629
|
+
"%Math.max%": p,
|
|
2630
|
+
"%Math.min%": m,
|
|
2631
|
+
"%Math.pow%": h,
|
|
2632
|
+
"%Math.round%": g,
|
|
2633
|
+
"%Math.sign%": _,
|
|
2634
|
+
"%Reflect.getPrototypeOf%": D
|
|
2635
|
+
};
|
|
2636
|
+
if (T) try {
|
|
2637
|
+
null.error;
|
|
2638
|
+
} catch (e) {
|
|
2639
|
+
M["%Error.prototype%"] = T(T(e));
|
|
2640
|
+
}
|
|
2641
|
+
var N = function e(t) {
|
|
2642
|
+
var n;
|
|
2643
|
+
if (t === "%AsyncFunction%") n = y("async function () {}");
|
|
2644
|
+
else if (t === "%GeneratorFunction%") n = y("function* () {}");
|
|
2645
|
+
else if (t === "%AsyncGeneratorFunction%") n = y("async function* () {}");
|
|
2646
|
+
else if (t === "%AsyncGenerator%") {
|
|
2647
|
+
var r = e("%AsyncGeneratorFunction%");
|
|
2648
|
+
r && (n = r.prototype);
|
|
2649
|
+
} else if (t === "%AsyncIteratorPrototype%") {
|
|
2650
|
+
var i = e("%AsyncGenerator%");
|
|
2651
|
+
i && T && (n = T(i.prototype));
|
|
2652
|
+
}
|
|
2653
|
+
return M[t] = n, n;
|
|
2654
|
+
}, P = {
|
|
2655
|
+
__proto__: null,
|
|
2656
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
2657
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
2658
|
+
"%ArrayProto_entries%": [
|
|
2659
|
+
"Array",
|
|
2660
|
+
"prototype",
|
|
2661
|
+
"entries"
|
|
2662
|
+
],
|
|
2663
|
+
"%ArrayProto_forEach%": [
|
|
2664
|
+
"Array",
|
|
2665
|
+
"prototype",
|
|
2666
|
+
"forEach"
|
|
2667
|
+
],
|
|
2668
|
+
"%ArrayProto_keys%": [
|
|
2669
|
+
"Array",
|
|
2670
|
+
"prototype",
|
|
2671
|
+
"keys"
|
|
2672
|
+
],
|
|
2673
|
+
"%ArrayProto_values%": [
|
|
2674
|
+
"Array",
|
|
2675
|
+
"prototype",
|
|
2676
|
+
"values"
|
|
2677
|
+
],
|
|
2678
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
2679
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
2680
|
+
"%AsyncGeneratorPrototype%": [
|
|
2681
|
+
"AsyncGeneratorFunction",
|
|
2682
|
+
"prototype",
|
|
2683
|
+
"prototype"
|
|
2684
|
+
],
|
|
2685
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
2686
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
2687
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
2688
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
2689
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
2690
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
2691
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
2692
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
2693
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
2694
|
+
"%GeneratorPrototype%": [
|
|
2695
|
+
"GeneratorFunction",
|
|
2696
|
+
"prototype",
|
|
2697
|
+
"prototype"
|
|
2698
|
+
],
|
|
2699
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
2700
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
2701
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
2702
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
2703
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
2704
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
2705
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
2706
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
2707
|
+
"%ObjProto_toString%": [
|
|
2708
|
+
"Object",
|
|
2709
|
+
"prototype",
|
|
2710
|
+
"toString"
|
|
2711
|
+
],
|
|
2712
|
+
"%ObjProto_valueOf%": [
|
|
2713
|
+
"Object",
|
|
2714
|
+
"prototype",
|
|
2715
|
+
"valueOf"
|
|
2716
|
+
],
|
|
2717
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
2718
|
+
"%PromiseProto_then%": [
|
|
2719
|
+
"Promise",
|
|
2720
|
+
"prototype",
|
|
2721
|
+
"then"
|
|
2722
|
+
],
|
|
2723
|
+
"%Promise_all%": ["Promise", "all"],
|
|
2724
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
2725
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
2726
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
2727
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
2728
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
2729
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
2730
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
2731
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
2732
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
2733
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
2734
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
2735
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
2736
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
2737
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
2738
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
2739
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
2740
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
2741
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
2742
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
2743
|
+
}, F = wr(), I = Mr(), L = F.call(k, Array.prototype.concat), R = F.call(O, Array.prototype.splice), z = F.call(k, String.prototype.replace), B = F.call(k, String.prototype.slice), V = F.call(k, RegExp.prototype.exec), ee = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, te = /\\(\\)?/g, ne = function(e) {
|
|
2744
|
+
var t = B(e, 0, 1), n = B(e, -1);
|
|
2745
|
+
if (t === "%" && n !== "%") throw new c("invalid intrinsic syntax, expected closing `%`");
|
|
2746
|
+
if (n === "%" && t !== "%") throw new c("invalid intrinsic syntax, expected opening `%`");
|
|
2747
|
+
var r = [];
|
|
2748
|
+
return z(e, ee, function(e, t, n, i) {
|
|
2749
|
+
r[r.length] = n ? z(i, te, "$1") : t || e;
|
|
2750
|
+
}), r;
|
|
2751
|
+
}, H = function(e, t) {
|
|
2752
|
+
var n = e, r;
|
|
2753
|
+
if (I(P, n) && (r = P[n], n = "%" + r[0] + "%"), I(M, n)) {
|
|
2754
|
+
var i = M[n];
|
|
2755
|
+
if (i === A && (i = N(n)), i === void 0 && !t) throw new l("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
2756
|
+
return {
|
|
2757
|
+
alias: r,
|
|
2758
|
+
name: n,
|
|
2759
|
+
value: i
|
|
2760
|
+
};
|
|
2761
|
+
}
|
|
2762
|
+
throw new c("intrinsic " + e + " does not exist!");
|
|
2763
|
+
};
|
|
2764
|
+
t.exports = function(e, t) {
|
|
2765
|
+
if (typeof e != "string" || e.length === 0) throw new l("intrinsic name must be a non-empty string");
|
|
2766
|
+
if (arguments.length > 1 && typeof t != "boolean") throw new l("\"allowMissing\" argument must be a boolean");
|
|
2767
|
+
if (V(/^%?[^%]*%?$/, e) === null) throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
2768
|
+
var n = ne(e), r = n.length > 0 ? n[0] : "", i = H("%" + r + "%", t), a = i.name, o = i.value, s = !1, u = i.alias;
|
|
2769
|
+
u && (r = u[0], R(n, L([0, 1], u)));
|
|
2770
|
+
for (var d = 1, f = !0; d < n.length; d += 1) {
|
|
2771
|
+
var p = n[d], m = B(p, 0, 1), h = B(p, -1);
|
|
2772
|
+
if ((m === "\"" || m === "'" || m === "`" || h === "\"" || h === "'" || h === "`") && m !== h) throw new c("property names with quotes must have matching quotes");
|
|
2773
|
+
if ((p === "constructor" || !f) && (s = !0), r += "." + p, a = "%" + r + "%", I(M, a)) o = M[a];
|
|
2774
|
+
else if (o != null) {
|
|
2775
|
+
if (!(p in o)) {
|
|
2776
|
+
if (!t) throw new l("base intrinsic for " + e + " exists, but the property is not available.");
|
|
2777
|
+
return;
|
|
2778
|
+
}
|
|
2779
|
+
if (b && d + 1 >= n.length) {
|
|
2780
|
+
var g = b(o, p);
|
|
2781
|
+
f = !!g, o = f && "get" in g && !("originalValue" in g.get) ? g.get : o[p];
|
|
2782
|
+
} else f = I(o, p), o = o[p];
|
|
2783
|
+
f && !s && (M[a] = o);
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
return o;
|
|
2787
|
+
};
|
|
2788
|
+
})), Pr = /* @__PURE__ */ N(((e, t) => {
|
|
2789
|
+
var n = Nr(), r = kr(), i = r([n("%String.prototype.indexOf%")]);
|
|
2790
|
+
t.exports = function(e, t) {
|
|
2791
|
+
var a = n(e, !!t);
|
|
2792
|
+
return typeof a == "function" && i(e, ".prototype.") > -1 ? r([a]) : a;
|
|
2793
|
+
};
|
|
2794
|
+
})), Fr = /* @__PURE__ */ N(((e, t) => {
|
|
2795
|
+
var n = Nr(), r = Pr(), i = $n(), a = Zn(), o = n("%Map%", !0), s = r("Map.prototype.get", !0), c = r("Map.prototype.set", !0), l = r("Map.prototype.has", !0), u = r("Map.prototype.delete", !0), d = r("Map.prototype.size", !0);
|
|
2796
|
+
t.exports = !!o && function() {
|
|
2797
|
+
var e, t = {
|
|
2798
|
+
assert: function(e) {
|
|
2799
|
+
if (!t.has(e)) throw new a("Side channel does not contain " + i(e));
|
|
2800
|
+
},
|
|
2801
|
+
delete: function(t) {
|
|
2802
|
+
if (e) {
|
|
2803
|
+
var n = u(e, t);
|
|
2804
|
+
return d(e) === 0 && (e = void 0), n;
|
|
2805
|
+
}
|
|
2806
|
+
return !1;
|
|
2807
|
+
},
|
|
2808
|
+
get: function(t) {
|
|
2809
|
+
if (e) return s(e, t);
|
|
2810
|
+
},
|
|
2811
|
+
has: function(t) {
|
|
2812
|
+
return e ? l(e, t) : !1;
|
|
2813
|
+
},
|
|
2814
|
+
set: function(t, n) {
|
|
2815
|
+
e ||= new o(), c(e, t, n);
|
|
2816
|
+
}
|
|
2817
|
+
};
|
|
2818
|
+
return t;
|
|
2819
|
+
};
|
|
2820
|
+
})), Ir = /* @__PURE__ */ N(((e, t) => {
|
|
2821
|
+
var n = Nr(), r = Pr(), i = $n(), a = Fr(), o = Zn(), s = n("%WeakMap%", !0), c = r("WeakMap.prototype.get", !0), l = r("WeakMap.prototype.set", !0), u = r("WeakMap.prototype.has", !0), d = r("WeakMap.prototype.delete", !0);
|
|
2822
|
+
t.exports = s ? function() {
|
|
2823
|
+
var e, t, n = {
|
|
2824
|
+
assert: function(e) {
|
|
2825
|
+
if (!n.has(e)) throw new o("Side channel does not contain " + i(e));
|
|
2826
|
+
},
|
|
2827
|
+
delete: function(n) {
|
|
2828
|
+
if (s && n && (typeof n == "object" || typeof n == "function")) {
|
|
2829
|
+
if (e) return d(e, n);
|
|
2830
|
+
} else if (a && t) return t.delete(n);
|
|
2831
|
+
return !1;
|
|
2832
|
+
},
|
|
2833
|
+
get: function(n) {
|
|
2834
|
+
return s && n && (typeof n == "object" || typeof n == "function") && e ? c(e, n) : t && t.get(n);
|
|
2835
|
+
},
|
|
2836
|
+
has: function(n) {
|
|
2837
|
+
return s && n && (typeof n == "object" || typeof n == "function") && e ? u(e, n) : !!t && t.has(n);
|
|
2838
|
+
},
|
|
2839
|
+
set: function(n, r) {
|
|
2840
|
+
s && n && (typeof n == "object" || typeof n == "function") ? (e ||= new s(), l(e, n, r)) : a && (t ||= a(), t.set(n, r));
|
|
2841
|
+
}
|
|
2842
|
+
};
|
|
2843
|
+
return n;
|
|
2844
|
+
} : a;
|
|
2845
|
+
})), Lr = /* @__PURE__ */ N(((e, t) => {
|
|
2846
|
+
var n = Zn(), r = $n(), i = er(), a = Fr(), o = Ir() || a || i;
|
|
2847
|
+
t.exports = function() {
|
|
2848
|
+
var e, t = {
|
|
2849
|
+
assert: function(e) {
|
|
2850
|
+
if (!t.has(e)) throw new n("Side channel does not contain " + (e && Object(e) === e ? "the given object key" : r(e)));
|
|
2851
|
+
},
|
|
2852
|
+
delete: function(t) {
|
|
2853
|
+
return !!e && e.delete(t);
|
|
2854
|
+
},
|
|
2855
|
+
get: function(t) {
|
|
2856
|
+
return e && e.get(t);
|
|
2857
|
+
},
|
|
2858
|
+
has: function(t) {
|
|
2859
|
+
return !!e && e.has(t);
|
|
2860
|
+
},
|
|
2861
|
+
set: function(t, n) {
|
|
2862
|
+
e ||= o(), e.set(t, n);
|
|
2863
|
+
}
|
|
2864
|
+
};
|
|
2865
|
+
return t;
|
|
2866
|
+
};
|
|
2867
|
+
})), Rr = /* @__PURE__ */ N(((e, t) => {
|
|
2868
|
+
var n = String.prototype.replace, r = /%20/g, i = {
|
|
2869
|
+
RFC1738: "RFC1738",
|
|
2870
|
+
RFC3986: "RFC3986"
|
|
2871
|
+
};
|
|
2872
|
+
t.exports = {
|
|
2873
|
+
default: i.RFC3986,
|
|
2874
|
+
formatters: {
|
|
2875
|
+
RFC1738: function(e) {
|
|
2876
|
+
return n.call(e, r, "+");
|
|
2877
|
+
},
|
|
2878
|
+
RFC3986: function(e) {
|
|
2879
|
+
return String(e);
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
RFC1738: i.RFC1738,
|
|
2883
|
+
RFC3986: i.RFC3986
|
|
2884
|
+
};
|
|
2885
|
+
})), zr = /* @__PURE__ */ N(((e, t) => {
|
|
2886
|
+
var n = Rr(), r = Lr(), i = vr(), a = Object.prototype.hasOwnProperty, o = Array.isArray, s = r(), c = function(e, t) {
|
|
2887
|
+
return s.set(e, t), e;
|
|
2888
|
+
}, l = function(e) {
|
|
2889
|
+
return s.has(e);
|
|
2890
|
+
}, u = function(e) {
|
|
2891
|
+
return s.get(e);
|
|
2892
|
+
}, d = function(e, t) {
|
|
2893
|
+
s.set(e, t);
|
|
2894
|
+
}, f = function() {
|
|
2895
|
+
for (var e = [], t = 0; t < 256; ++t) e[e.length] = "%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase();
|
|
2896
|
+
return e;
|
|
2897
|
+
}(), p = function(e) {
|
|
2898
|
+
for (; e.length > 1;) {
|
|
2899
|
+
var t = e.pop(), n = t.obj[t.prop];
|
|
2900
|
+
if (o(n)) {
|
|
2901
|
+
for (var r = [], i = 0; i < n.length; ++i) n[i] !== void 0 && (r[r.length] = n[i]);
|
|
2902
|
+
t.obj[t.prop] = r;
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
}, m = function(e, t) {
|
|
2906
|
+
for (var n = t && t.plainObjects ? { __proto__: null } : {}, r = 0; r < e.length; ++r) e[r] !== void 0 && (n[r] = e[r]);
|
|
2907
|
+
return n;
|
|
2908
|
+
}, h = function(e, t, n) {
|
|
2909
|
+
t === "__proto__" && i ? i(e, t, {
|
|
2910
|
+
configurable: !0,
|
|
2911
|
+
enumerable: !0,
|
|
2912
|
+
value: n,
|
|
2913
|
+
writable: !0
|
|
2914
|
+
}) : e[t] = n;
|
|
2915
|
+
}, g = function e(t, n, r) {
|
|
2916
|
+
if (!n) return t;
|
|
2917
|
+
if (typeof n != "object" && typeof n != "function") {
|
|
2918
|
+
if (o(t)) {
|
|
2919
|
+
var i = t.length;
|
|
2920
|
+
if (r && typeof r.arrayLimit == "number" && i >= r.arrayLimit) {
|
|
2921
|
+
if (r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
2922
|
+
return c(m(t.concat(n), r), i);
|
|
2923
|
+
}
|
|
2924
|
+
t[i] = n;
|
|
2925
|
+
} else if (t && typeof t == "object") {
|
|
2926
|
+
if (l(t)) {
|
|
2927
|
+
var s = u(t) + 1;
|
|
2928
|
+
t[s] = n, d(t, s);
|
|
2929
|
+
} else if (r && r.strictMerge) return [t, n];
|
|
2930
|
+
else (r && (r.plainObjects || r.allowPrototypes) || !a.call(Object.prototype, n)) && (t[n] = !0);
|
|
2931
|
+
} else return [t, n];
|
|
2932
|
+
return t;
|
|
2933
|
+
}
|
|
2934
|
+
if (!t || typeof t != "object") {
|
|
2935
|
+
if (l(n)) {
|
|
2936
|
+
for (var f = Object.keys(n), p = r && r.plainObjects ? {
|
|
2937
|
+
__proto__: null,
|
|
2938
|
+
0: t
|
|
2939
|
+
} : { 0: t }, g = 0; g < f.length; g++) {
|
|
2940
|
+
var _ = parseInt(f[g], 10);
|
|
2941
|
+
p[_ + 1] = n[f[g]];
|
|
2942
|
+
}
|
|
2943
|
+
return c(p, u(n) + 1);
|
|
2944
|
+
}
|
|
2945
|
+
var v = [t].concat(n);
|
|
2946
|
+
if (r && typeof r.arrayLimit == "number" && v.length > r.arrayLimit) {
|
|
2947
|
+
if (r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
2948
|
+
return c(m(v, r), v.length - 1);
|
|
2949
|
+
}
|
|
2950
|
+
return v;
|
|
2951
|
+
}
|
|
2952
|
+
var y = t;
|
|
2953
|
+
if (o(t) && !o(n) && (y = m(t, r)), o(t) && o(n)) {
|
|
2954
|
+
if (n.forEach(function(n, i) {
|
|
2955
|
+
if (a.call(t, i)) {
|
|
2956
|
+
var o = t[i];
|
|
2957
|
+
o && typeof o == "object" && n && typeof n == "object" ? t[i] = e(o, n, r) : t[t.length] = n;
|
|
2958
|
+
} else t[i] = n;
|
|
2959
|
+
}), r && typeof r.arrayLimit == "number" && t.length > r.arrayLimit) {
|
|
2960
|
+
if (r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
2961
|
+
return c(m(t, r), t.length - 1);
|
|
2962
|
+
}
|
|
2963
|
+
return t;
|
|
2964
|
+
}
|
|
2965
|
+
return Object.keys(n).reduce(function(t, i) {
|
|
2966
|
+
var o = n[i];
|
|
2967
|
+
if (a.call(t, i) ? h(t, i, e(t[i], o, r)) : h(t, i, o), l(n) && !l(t) && c(t, u(n)), l(t)) {
|
|
2968
|
+
var s = parseInt(i, 10);
|
|
2969
|
+
String(s) === i && s >= 0 && s > u(t) && d(t, s);
|
|
2970
|
+
}
|
|
2971
|
+
return t;
|
|
2972
|
+
}, y);
|
|
2973
|
+
}, _ = function(e, t) {
|
|
2974
|
+
return Object.keys(t).reduce(function(e, n) {
|
|
2975
|
+
return h(e, n, t[n]), e;
|
|
2976
|
+
}, e);
|
|
2977
|
+
}, v = function(e, t, n) {
|
|
2978
|
+
var r = e.replace(/\+/g, " ");
|
|
2979
|
+
if (n === "iso-8859-1") return r.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
2980
|
+
try {
|
|
2981
|
+
return decodeURIComponent(r);
|
|
2982
|
+
} catch {
|
|
2983
|
+
return r;
|
|
2984
|
+
}
|
|
2985
|
+
}, y = 1024;
|
|
2986
|
+
t.exports = {
|
|
2987
|
+
arrayToObject: m,
|
|
2988
|
+
assign: _,
|
|
2989
|
+
combine: function(e, t, n, r, i) {
|
|
2990
|
+
if (l(e)) {
|
|
2991
|
+
if (i) throw RangeError("Array limit exceeded. Only " + n + " element" + (n === 1 ? "" : "s") + " allowed in an array.");
|
|
2992
|
+
var a = u(e) + 1;
|
|
2993
|
+
return e[a] = t, d(e, a), e;
|
|
2994
|
+
}
|
|
2995
|
+
var o = [].concat(e, t);
|
|
2996
|
+
if (o.length > n) {
|
|
2997
|
+
if (i) throw RangeError("Array limit exceeded. Only " + n + " element" + (n === 1 ? "" : "s") + " allowed in an array.");
|
|
2998
|
+
return c(m(o, { plainObjects: r }), o.length - 1);
|
|
2999
|
+
}
|
|
3000
|
+
return o;
|
|
3001
|
+
},
|
|
3002
|
+
compact: function(e) {
|
|
3003
|
+
for (var t = [{
|
|
3004
|
+
obj: { o: e },
|
|
3005
|
+
prop: "o"
|
|
3006
|
+
}], n = r(), i = 0; i < t.length; ++i) for (var a = t[i], o = a.obj[a.prop], s = Object.keys(o), c = 0; c < s.length; ++c) {
|
|
3007
|
+
var l = s[c], u = o[l];
|
|
3008
|
+
typeof u == "object" && u && !n.has(u) && (t[t.length] = {
|
|
3009
|
+
obj: o,
|
|
3010
|
+
prop: l
|
|
3011
|
+
}, n.set(u, !0));
|
|
3012
|
+
}
|
|
3013
|
+
return p(t), e;
|
|
3014
|
+
},
|
|
3015
|
+
decode: v,
|
|
3016
|
+
encode: function(e, t, r, i, a) {
|
|
3017
|
+
if (e.length === 0) return e;
|
|
3018
|
+
var o = e;
|
|
3019
|
+
if (typeof e == "symbol" ? o = Symbol.prototype.toString.call(e) : typeof e != "string" && (o = String(e)), r === "iso-8859-1") return escape(o).replace(/%u[0-9a-f]{4}/gi, function(e) {
|
|
3020
|
+
return "%26%23" + parseInt(e.slice(2), 16) + "%3B";
|
|
3021
|
+
});
|
|
3022
|
+
for (var s = "", c = 0; c < o.length; c += y) {
|
|
3023
|
+
var l = o.length >= y ? o.slice(c, c + y) : o;
|
|
3024
|
+
if (c + y < o.length) {
|
|
3025
|
+
var u = l.charCodeAt(l.length - 1);
|
|
3026
|
+
u >= 55296 && u <= 56319 && (l = l.slice(0, -1), --c);
|
|
3027
|
+
}
|
|
3028
|
+
for (var d = [], p = 0; p < l.length; ++p) {
|
|
3029
|
+
var m = l.charCodeAt(p);
|
|
3030
|
+
if (m === 45 || m === 46 || m === 95 || m === 126 || m >= 48 && m <= 57 || m >= 65 && m <= 90 || m >= 97 && m <= 122 || a === n.RFC1738 && (m === 40 || m === 41)) {
|
|
3031
|
+
d[d.length] = l.charAt(p);
|
|
3032
|
+
continue;
|
|
3033
|
+
}
|
|
3034
|
+
if (m < 128) {
|
|
3035
|
+
d[d.length] = f[m];
|
|
3036
|
+
continue;
|
|
3037
|
+
}
|
|
3038
|
+
if (m < 2048) {
|
|
3039
|
+
d[d.length] = f[192 | m >> 6] + f[128 | m & 63];
|
|
3040
|
+
continue;
|
|
3041
|
+
}
|
|
3042
|
+
if (m < 55296 || m >= 57344) {
|
|
3043
|
+
d[d.length] = f[224 | m >> 12] + f[128 | m >> 6 & 63] + f[128 | m & 63];
|
|
3044
|
+
continue;
|
|
3045
|
+
}
|
|
3046
|
+
p += 1, m = 65536 + ((m & 1023) << 10 | l.charCodeAt(p) & 1023), d[d.length] = f[240 | m >> 18] + f[128 | m >> 12 & 63] + f[128 | m >> 6 & 63] + f[128 | m & 63];
|
|
3047
|
+
}
|
|
3048
|
+
s += d.join("");
|
|
3049
|
+
}
|
|
3050
|
+
return s;
|
|
3051
|
+
},
|
|
3052
|
+
isBuffer: function(e) {
|
|
3053
|
+
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
3054
|
+
},
|
|
3055
|
+
isOverflow: l,
|
|
3056
|
+
isRegExp: function(e) {
|
|
3057
|
+
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
3058
|
+
},
|
|
3059
|
+
markOverflow: c,
|
|
3060
|
+
maybeMap: function(e, t) {
|
|
3061
|
+
if (o(e)) {
|
|
3062
|
+
for (var n = [], r = 0; r < e.length; r += 1) n[n.length] = t(e[r]);
|
|
3063
|
+
return n;
|
|
3064
|
+
}
|
|
3065
|
+
return t(e);
|
|
3066
|
+
},
|
|
3067
|
+
merge: g
|
|
3068
|
+
};
|
|
3069
|
+
})), Br = /* @__PURE__ */ N(((e, t) => {
|
|
3070
|
+
var n = Lr(), r = zr(), i = Rr(), a = Object.prototype.hasOwnProperty, o = {
|
|
3071
|
+
brackets: function(e) {
|
|
3072
|
+
return e + "[]";
|
|
3073
|
+
},
|
|
3074
|
+
comma: "comma",
|
|
3075
|
+
indices: function(e, t) {
|
|
3076
|
+
return e + "[" + t + "]";
|
|
3077
|
+
},
|
|
3078
|
+
repeat: function(e) {
|
|
3079
|
+
return e;
|
|
3080
|
+
}
|
|
3081
|
+
}, s = Array.isArray, c = Array.prototype.push, l = function(e, t) {
|
|
3082
|
+
c.apply(e, s(t) ? t : [t]);
|
|
3083
|
+
}, u = Date.prototype.toISOString, d = i.default, f = {
|
|
3084
|
+
addQueryPrefix: !1,
|
|
3085
|
+
allowDots: !1,
|
|
3086
|
+
allowEmptyArrays: !1,
|
|
3087
|
+
arrayFormat: "indices",
|
|
3088
|
+
charset: "utf-8",
|
|
3089
|
+
charsetSentinel: !1,
|
|
3090
|
+
commaRoundTrip: !1,
|
|
3091
|
+
delimiter: "&",
|
|
3092
|
+
encode: !0,
|
|
3093
|
+
encodeDotInKeys: !1,
|
|
3094
|
+
encoder: r.encode,
|
|
3095
|
+
encodeValuesOnly: !1,
|
|
3096
|
+
filter: void 0,
|
|
3097
|
+
format: d,
|
|
3098
|
+
formatter: i.formatters[d],
|
|
3099
|
+
indices: !1,
|
|
3100
|
+
serializeDate: function(e) {
|
|
3101
|
+
return u.call(e);
|
|
3102
|
+
},
|
|
3103
|
+
skipNulls: !1,
|
|
3104
|
+
strictNullHandling: !1
|
|
3105
|
+
}, p = function(e) {
|
|
3106
|
+
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
3107
|
+
}, m = {}, h = function e(t, i, a, o, c, u, d, h, g, _, v, y, b, x, S, C, w, T) {
|
|
3108
|
+
for (var E = t, D = T, O = 0, k = !1; (D = D.get(m)) !== void 0 && !k;) {
|
|
3109
|
+
var A = D.get(t);
|
|
3110
|
+
if (O += 1, A !== void 0) {
|
|
3111
|
+
if (A === O) throw RangeError("Cyclic object value");
|
|
3112
|
+
k = !0;
|
|
3113
|
+
}
|
|
3114
|
+
D.get(m) === void 0 && (O = 0);
|
|
3115
|
+
}
|
|
3116
|
+
if (typeof _ == "function" ? E = _(i, E) : E instanceof Date ? E = b(E) : a === "comma" && s(E) && (E = r.maybeMap(E, function(e) {
|
|
3117
|
+
return e instanceof Date ? b(e) : e;
|
|
3118
|
+
})), E === null) {
|
|
3119
|
+
if (u) return S(g && !C ? g(i, f.encoder, w, "key", x) : i);
|
|
3120
|
+
E = "";
|
|
3121
|
+
}
|
|
3122
|
+
if (p(E) || r.isBuffer(E)) return g ? [S(C ? i : g(i, f.encoder, w, "key", x)) + "=" + S(g(E, f.encoder, w, "value", x))] : [S(i) + "=" + S(String(E))];
|
|
3123
|
+
var j = [];
|
|
3124
|
+
if (E === void 0) return j;
|
|
3125
|
+
var M;
|
|
3126
|
+
if (a === "comma" && s(E)) C && g && (E = r.maybeMap(E, function(e) {
|
|
3127
|
+
return e == null ? e : g(e);
|
|
3128
|
+
})), M = [{ value: E.length > 0 ? E.join(",") || null : void 0 }];
|
|
3129
|
+
else if (s(_)) M = _;
|
|
3130
|
+
else {
|
|
3131
|
+
var N = Object.keys(E);
|
|
3132
|
+
M = v ? N.sort(v) : N;
|
|
3133
|
+
}
|
|
3134
|
+
var P = h ? String(i).replace(/\./g, "%2E") : String(i), F = o && s(E) && E.length === 1 ? P + "[]" : P;
|
|
3135
|
+
if (c && s(E) && E.length === 0) return F + "[]";
|
|
3136
|
+
for (var I = 0; I < M.length; ++I) {
|
|
3137
|
+
var L = M[I], R = typeof L == "object" && L && L.value !== void 0 ? L.value : E[L];
|
|
3138
|
+
if (!(d && R === null)) {
|
|
3139
|
+
var z = y && h ? String(L).replace(/\./g, "%2E") : String(L), B = s(E) ? typeof a == "function" ? a(F, z) : F : F + (y ? "." + z : "[" + z + "]");
|
|
3140
|
+
T.set(t, O);
|
|
3141
|
+
var V = n();
|
|
3142
|
+
V.set(m, T), l(j, e(R, B, a, o, c, u, d, h, a === "comma" && C && s(E) ? null : g, _, v, y, b, x, S, C, w, V));
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
return j;
|
|
3146
|
+
}, g = function(e) {
|
|
3147
|
+
if (!e) return f;
|
|
3148
|
+
if (e.allowEmptyArrays !== void 0 && typeof e.allowEmptyArrays != "boolean") throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
3149
|
+
if (e.encodeDotInKeys !== void 0 && typeof e.encodeDotInKeys != "boolean") throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
3150
|
+
if (e.encoder !== null && e.encoder !== void 0 && typeof e.encoder != "function") throw TypeError("Encoder has to be a function.");
|
|
3151
|
+
var t = e.charset || f.charset;
|
|
3152
|
+
if (e.charset !== void 0 && e.charset !== "utf-8" && e.charset !== "iso-8859-1") throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
3153
|
+
var n = i.default;
|
|
3154
|
+
if (e.format !== void 0) {
|
|
3155
|
+
if (!a.call(i.formatters, e.format)) throw TypeError("Unknown format option provided.");
|
|
3156
|
+
n = e.format;
|
|
3157
|
+
}
|
|
3158
|
+
var r = i.formatters[n], c = f.filter;
|
|
3159
|
+
(typeof e.filter == "function" || s(e.filter)) && (c = e.filter);
|
|
3160
|
+
var l = e.arrayFormat in o ? e.arrayFormat : "indices" in e ? e.indices ? "indices" : "repeat" : f.arrayFormat;
|
|
3161
|
+
if ("commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean") throw TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
3162
|
+
var u = e.allowDots === void 0 ? e.encodeDotInKeys === !0 || f.allowDots : !!e.allowDots;
|
|
3163
|
+
return {
|
|
3164
|
+
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : f.addQueryPrefix,
|
|
3165
|
+
allowDots: u,
|
|
3166
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : f.allowEmptyArrays,
|
|
3167
|
+
arrayFormat: l,
|
|
3168
|
+
charset: t,
|
|
3169
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : f.charsetSentinel,
|
|
3170
|
+
commaRoundTrip: !!e.commaRoundTrip,
|
|
3171
|
+
delimiter: e.delimiter === void 0 ? f.delimiter : e.delimiter,
|
|
3172
|
+
encode: typeof e.encode == "boolean" ? e.encode : f.encode,
|
|
3173
|
+
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : f.encodeDotInKeys,
|
|
3174
|
+
encoder: typeof e.encoder == "function" ? e.encoder : f.encoder,
|
|
3175
|
+
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : f.encodeValuesOnly,
|
|
3176
|
+
filter: c,
|
|
3177
|
+
format: n,
|
|
3178
|
+
formatter: r,
|
|
3179
|
+
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : f.serializeDate,
|
|
3180
|
+
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : f.skipNulls,
|
|
3181
|
+
sort: typeof e.sort == "function" ? e.sort : null,
|
|
3182
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : f.strictNullHandling
|
|
3183
|
+
};
|
|
3184
|
+
};
|
|
3185
|
+
t.exports = function(e, t) {
|
|
3186
|
+
var r = e, i = g(t), a, c;
|
|
3187
|
+
typeof i.filter == "function" ? (c = i.filter, r = c("", r)) : s(i.filter) && (c = i.filter, a = c);
|
|
3188
|
+
var u = [];
|
|
3189
|
+
if (typeof r != "object" || !r) return "";
|
|
3190
|
+
var d = o[i.arrayFormat], f = d === "comma" && i.commaRoundTrip;
|
|
3191
|
+
a ||= Object.keys(r), i.sort && a.sort(i.sort);
|
|
3192
|
+
for (var p = n(), m = 0; m < a.length; ++m) {
|
|
3193
|
+
var _ = a[m];
|
|
3194
|
+
if (_ != null) {
|
|
3195
|
+
var v = r[_];
|
|
3196
|
+
i.skipNulls && v === null || l(u, h(v, _, d, f, i.allowEmptyArrays, i.strictNullHandling, i.skipNulls, i.encodeDotInKeys, i.encode ? i.encoder : null, i.filter, i.sort, i.allowDots, i.serializeDate, i.format, i.formatter, i.encodeValuesOnly, i.charset, p));
|
|
3197
|
+
}
|
|
3198
|
+
}
|
|
3199
|
+
var y = u.join(i.delimiter), b = i.addQueryPrefix === !0 ? "?" : "";
|
|
3200
|
+
return i.charsetSentinel && (i.charset === "iso-8859-1" ? b += "utf8=%26%2310003%3B" + i.delimiter : b += "utf8=%E2%9C%93" + i.delimiter), y.length > 0 ? b + y : "";
|
|
3201
|
+
};
|
|
3202
|
+
})), Vr = /* @__PURE__ */ N(((e, t) => {
|
|
3203
|
+
var n = zr(), r = Object.prototype.hasOwnProperty, i = Array.isArray, a = {
|
|
3204
|
+
allowDots: !1,
|
|
3205
|
+
allowEmptyArrays: !1,
|
|
3206
|
+
allowPrototypes: !1,
|
|
3207
|
+
allowSparse: !1,
|
|
3208
|
+
arrayLimit: 20,
|
|
3209
|
+
charset: "utf-8",
|
|
3210
|
+
charsetSentinel: !1,
|
|
3211
|
+
comma: !1,
|
|
3212
|
+
decodeDotInKeys: !1,
|
|
3213
|
+
decoder: n.decode,
|
|
3214
|
+
delimiter: "&",
|
|
3215
|
+
depth: 5,
|
|
3216
|
+
duplicates: "combine",
|
|
3217
|
+
ignoreQueryPrefix: !1,
|
|
3218
|
+
interpretNumericEntities: !1,
|
|
3219
|
+
parameterLimit: 1e3,
|
|
3220
|
+
parseArrays: !0,
|
|
3221
|
+
plainObjects: !1,
|
|
3222
|
+
strictDepth: !1,
|
|
3223
|
+
strictMerge: !0,
|
|
3224
|
+
strictNullHandling: !1,
|
|
3225
|
+
throwOnLimitExceeded: !1
|
|
3226
|
+
}, o = function(e) {
|
|
3227
|
+
return e.replace(/&#(\d+);/g, function(e, t) {
|
|
3228
|
+
return String.fromCharCode(parseInt(t, 10));
|
|
3229
|
+
});
|
|
3230
|
+
}, s = function(e, t, n, r) {
|
|
3231
|
+
if (e && typeof e == "string" && t.comma && e.indexOf(",") > -1) {
|
|
3232
|
+
if (r && t.throwOnLimitExceeded) for (var i = 0, a = e.indexOf(","); a > -1;) {
|
|
3233
|
+
if (i += 1, i >= t.arrayLimit) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
3234
|
+
a = e.indexOf(",", a + 1);
|
|
3235
|
+
}
|
|
3236
|
+
return e.split(",");
|
|
3237
|
+
}
|
|
3238
|
+
if (t.throwOnLimitExceeded && n >= t.arrayLimit) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
3239
|
+
return e;
|
|
3240
|
+
}, c = "utf8=%26%2310003%3B", l = "utf8=%E2%9C%93", u = function(e, t) {
|
|
3241
|
+
var u = { __proto__: null }, d = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
3242
|
+
d = d.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
3243
|
+
var f = t.parameterLimit === Infinity ? void 0 : t.parameterLimit, p = d.split(t.delimiter, t.throwOnLimitExceeded && f !== void 0 ? f + 1 : f);
|
|
3244
|
+
if (t.throwOnLimitExceeded && f !== void 0 && p.length > f) throw RangeError("Parameter limit exceeded. Only " + f + " parameter" + (f === 1 ? "" : "s") + " allowed.");
|
|
3245
|
+
var m = -1, h, g = t.charset;
|
|
3246
|
+
if (t.charsetSentinel) for (h = 0; h < p.length; ++h) p[h].indexOf("utf8=") === 0 && (p[h] === l ? g = "utf-8" : p[h] === c && (g = "iso-8859-1"), m = h, h = p.length);
|
|
3247
|
+
for (h = 0; h < p.length; ++h) if (h !== m) {
|
|
3248
|
+
var _ = p[h], v = _.indexOf("]="), y = v === -1 ? _.indexOf("=") : v + 1, b, x;
|
|
3249
|
+
if (y === -1 ? (b = t.decoder(_, a.decoder, g, "key"), x = t.strictNullHandling ? null : "") : (b = t.decoder(_.slice(0, y), a.decoder, g, "key"), b !== null && (x = n.maybeMap(s(_.slice(y + 1), t, i(u[b]) ? u[b].length : 0, _.indexOf("[]=") === -1), function(e) {
|
|
3250
|
+
return t.decoder(e, a.decoder, g, "value");
|
|
3251
|
+
}))), x && t.interpretNumericEntities && g === "iso-8859-1" && (x = o(String(x))), _.indexOf("[]=") > -1 && (x = i(x) ? [x] : x), t.comma && i(x) && x.length > t.arrayLimit && (x = n.combine([], x, t.arrayLimit, t.plainObjects, t.throwOnLimitExceeded)), b !== null) {
|
|
3252
|
+
var S = r.call(u, b);
|
|
3253
|
+
S && (t.duplicates === "combine" || _.indexOf("[]=") > -1) ? u[b] = n.combine(u[b], x, t.arrayLimit, t.plainObjects, t.throwOnLimitExceeded) : (!S || t.duplicates === "last") && (u[b] = x);
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
return u;
|
|
3257
|
+
}, d = function(e, t, r, i) {
|
|
3258
|
+
var a = 0;
|
|
3259
|
+
if (e.length > 0 && e[e.length - 1] === "[]") {
|
|
3260
|
+
var o = e.slice(0, -1).join("");
|
|
3261
|
+
a = Array.isArray(t) && t[o] ? t[o].length : 0;
|
|
3262
|
+
}
|
|
3263
|
+
for (var c = i ? t : s(t, r, a), l = e.length - 1; l >= 0; --l) {
|
|
3264
|
+
var u, d = e[l];
|
|
3265
|
+
if (d === "[]" && r.parseArrays) u = n.isOverflow(c) ? c : r.allowEmptyArrays && (c === "" || r.strictNullHandling && c === null) ? [] : n.combine([], c, r.arrayLimit, r.plainObjects, r.throwOnLimitExceeded);
|
|
3266
|
+
else {
|
|
3267
|
+
u = r.plainObjects ? { __proto__: null } : {};
|
|
3268
|
+
var f = d.charAt(0) === "[" && d.charAt(d.length - 1) === "]" ? d.slice(1, -1) : d, p = r.decodeDotInKeys ? f.replace(/%2E/g, ".") : f, m = parseInt(p, 10), h = !isNaN(m) && d !== p && String(m) === p && m >= 0 && r.parseArrays;
|
|
3269
|
+
if (!r.parseArrays && p === "") u = { 0: c };
|
|
3270
|
+
else if (h && m < r.arrayLimit) u = [], u[m] = c;
|
|
3271
|
+
else if (h && r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
3272
|
+
else h ? (u[m] = c, n.markOverflow(u, m)) : p !== "__proto__" && (u[p] = c);
|
|
3273
|
+
}
|
|
3274
|
+
c = u;
|
|
3275
|
+
}
|
|
3276
|
+
return c;
|
|
3277
|
+
}, f = function(e, t) {
|
|
3278
|
+
var n = t.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e;
|
|
3279
|
+
if (t.depth <= 0) return !t.plainObjects && r.call(Object.prototype, n) && !t.allowPrototypes ? void 0 : [n];
|
|
3280
|
+
var i = [], a = n.indexOf("["), o = a >= 0 ? n.slice(0, a) : n;
|
|
3281
|
+
if (o) {
|
|
3282
|
+
if (!t.plainObjects && r.call(Object.prototype, o) && !t.allowPrototypes) return;
|
|
3283
|
+
i[i.length] = o;
|
|
3284
|
+
}
|
|
3285
|
+
for (var s = n.length, c = a, l = 0; c >= 0 && l < t.depth;) {
|
|
3286
|
+
for (var u = 1, d = c + 1, f = -1; d < s && f < 0;) {
|
|
3287
|
+
var p = n.charCodeAt(d);
|
|
3288
|
+
p === 91 ? u += 1 : p === 93 && (--u, u === 0 && (f = d)), d += 1;
|
|
3289
|
+
}
|
|
3290
|
+
if (f < 0) return i[i.length] = "[" + n.slice(c) + "]", i;
|
|
3291
|
+
var m = n.slice(c, f + 1), h = m.slice(1, -1);
|
|
3292
|
+
if (!t.plainObjects && r.call(Object.prototype, h) && !t.allowPrototypes) return;
|
|
3293
|
+
i[i.length] = m, l += 1, c = n.indexOf("[", f + 1);
|
|
3294
|
+
}
|
|
3295
|
+
if (c >= 0) {
|
|
3296
|
+
if (t.strictDepth === !0) throw RangeError("Input depth exceeded depth option of " + t.depth + " and strictDepth is true");
|
|
3297
|
+
i[i.length] = "[" + n.slice(c) + "]";
|
|
3298
|
+
}
|
|
3299
|
+
return i;
|
|
3300
|
+
}, p = function(e, t, n, r) {
|
|
3301
|
+
if (e) {
|
|
3302
|
+
var i = f(e, n);
|
|
3303
|
+
if (i) return d(i, t, n, r);
|
|
3304
|
+
}
|
|
3305
|
+
}, m = function(e) {
|
|
3306
|
+
if (!e) return a;
|
|
3307
|
+
if (e.allowEmptyArrays !== void 0 && typeof e.allowEmptyArrays != "boolean") throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
3308
|
+
if (e.decodeDotInKeys !== void 0 && typeof e.decodeDotInKeys != "boolean") throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
3309
|
+
if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function") throw TypeError("Decoder has to be a function.");
|
|
3310
|
+
if (e.charset !== void 0 && e.charset !== "utf-8" && e.charset !== "iso-8859-1") throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
3311
|
+
if (e.throwOnLimitExceeded !== void 0 && typeof e.throwOnLimitExceeded != "boolean") throw TypeError("`throwOnLimitExceeded` option must be a boolean");
|
|
3312
|
+
var t = e.charset === void 0 ? a.charset : e.charset, r = e.duplicates === void 0 ? a.duplicates : e.duplicates;
|
|
3313
|
+
if (r !== "combine" && r !== "first" && r !== "last") throw TypeError("The duplicates option must be either combine, first, or last");
|
|
3314
|
+
return {
|
|
3315
|
+
allowDots: e.allowDots === void 0 ? e.decodeDotInKeys === !0 || a.allowDots : !!e.allowDots,
|
|
3316
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : a.allowEmptyArrays,
|
|
3317
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : a.allowPrototypes,
|
|
3318
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : a.allowSparse,
|
|
3319
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : a.arrayLimit,
|
|
3320
|
+
charset: t,
|
|
3321
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : a.charsetSentinel,
|
|
3322
|
+
comma: typeof e.comma == "boolean" ? e.comma : a.comma,
|
|
3323
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : a.decodeDotInKeys,
|
|
3324
|
+
decoder: typeof e.decoder == "function" ? e.decoder : a.decoder,
|
|
3325
|
+
delimiter: typeof e.delimiter == "string" || n.isRegExp(e.delimiter) ? e.delimiter : a.delimiter,
|
|
3326
|
+
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : a.depth,
|
|
3327
|
+
duplicates: r,
|
|
3328
|
+
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
3329
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : a.interpretNumericEntities,
|
|
3330
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : a.parameterLimit,
|
|
3331
|
+
parseArrays: e.parseArrays !== !1,
|
|
3332
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : a.plainObjects,
|
|
3333
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : a.strictDepth,
|
|
3334
|
+
strictMerge: typeof e.strictMerge == "boolean" ? !!e.strictMerge : a.strictMerge,
|
|
3335
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : a.strictNullHandling,
|
|
3336
|
+
throwOnLimitExceeded: typeof e.throwOnLimitExceeded == "boolean" && e.throwOnLimitExceeded
|
|
3337
|
+
};
|
|
3338
|
+
};
|
|
3339
|
+
t.exports = function(e, t) {
|
|
3340
|
+
var r = m(t);
|
|
3341
|
+
if (e === "" || e == null) return r.plainObjects ? { __proto__: null } : {};
|
|
3342
|
+
for (var i = typeof e == "string" ? u(e, r) : e, a = r.plainObjects ? { __proto__: null } : {}, o = Object.keys(i), s = 0; s < o.length; ++s) {
|
|
3343
|
+
var c = o[s], l = p(c, i[c], r, typeof e == "string");
|
|
3344
|
+
a = n.merge(a, l, r);
|
|
3345
|
+
}
|
|
3346
|
+
return r.allowSparse === !0 ? a : n.compact(a);
|
|
3347
|
+
};
|
|
3348
|
+
})), Hr = /* @__PURE__ */ I((/* @__PURE__ */ N(((e, t) => {
|
|
3349
|
+
var n = Br(), r = Vr();
|
|
3350
|
+
t.exports = {
|
|
3351
|
+
formats: Rr(),
|
|
3352
|
+
parse: r,
|
|
3353
|
+
stringify: n
|
|
3354
|
+
};
|
|
3355
|
+
})))(), 1), Ur = "eq";
|
|
3356
|
+
async function Wr(e, t, n) {
|
|
3357
|
+
let { isLocal: r, remoteParamsArray: i, customFilterFn: o, keyData: s, url: c } = n;
|
|
3358
|
+
if (n?.dataAnalyticsFilter) {
|
|
3359
|
+
let e = window.location.hash.slice(1).split("?")[0];
|
|
3360
|
+
a(n.dataAnalyticsFilter, e);
|
|
3361
|
+
}
|
|
3362
|
+
if (!r) return _(e);
|
|
3363
|
+
let l, { remote: u, local: d } = Gr(e, i), { remote: f, local: p } = Gr(n.appliedParams, i), m = !n.appliedParams || !$(u, f), h = !n.appliedParams || !$(d, p), g = h ? d : p;
|
|
3364
|
+
return (!m && !h || !n?.rawResponse || m) && c && (l = await _(u)), l = Kr(n.rawResponse, g, o, s, n), n.appliedParams = JSON.parse(JSON.stringify(e)), l;
|
|
3365
|
+
async function _(r) {
|
|
3366
|
+
let i = {
|
|
3367
|
+
...r,
|
|
3368
|
+
filter: JSON.stringify(r.filter)
|
|
3369
|
+
}, a = await E.get(n.url, {
|
|
3370
|
+
signal: t.signal,
|
|
3371
|
+
params: i,
|
|
3372
|
+
paramsSerializer: (e) => Hr.default.stringify(e, { skipNulls: !1 })
|
|
3373
|
+
});
|
|
3374
|
+
return n.appliedParams = JSON.parse(JSON.stringify(e)), n.rawResponse = structuredClone(a.data), a;
|
|
3375
|
+
}
|
|
3376
|
+
}
|
|
3377
|
+
function Gr(e, t = []) {
|
|
3378
|
+
let n = (e) => e && typeof e == "object" && !Array.isArray(e), r = n(e) ? e : {}, i = Array.isArray(t) ? t.filter((e) => typeof e == "string") : [], a = new Set(i), o = Jn(r, i), s = Object.fromEntries(Object.entries(r).filter(([e]) => e !== "filter" && !a.has(e))), c = n(r.filter) ? r.filter : null;
|
|
3379
|
+
if (!c) return {
|
|
3380
|
+
remote: o,
|
|
3381
|
+
local: s
|
|
3382
|
+
};
|
|
3383
|
+
let l = {}, u = {};
|
|
3384
|
+
if (n(c.where)) {
|
|
3385
|
+
let e = Jn(c.where, i), t = Object.fromEntries(Object.entries(c.where).filter(([e]) => !a.has(e)));
|
|
3386
|
+
Object.keys(t).length && (l.where = t), Object.keys(e).length && (u.where = e);
|
|
3387
|
+
}
|
|
3388
|
+
if (Array.isArray(c.order)) {
|
|
3389
|
+
let e = (e) => {
|
|
3390
|
+
if (typeof e != "string") return !1;
|
|
3391
|
+
let t = e.toLowerCase();
|
|
3392
|
+
return i.some((e) => {
|
|
3393
|
+
let n = e.toLowerCase();
|
|
3394
|
+
return t === n || t.startsWith(`${n} `) || t.includes(`.${n} `);
|
|
3395
|
+
});
|
|
3396
|
+
}, t = c.order.filter(e), n = c.order.filter((t) => !e(t));
|
|
3397
|
+
n.length && (l.order = n), t.length && (u.order = t);
|
|
3398
|
+
}
|
|
3399
|
+
return Object.assign(u, Object.fromEntries(Object.entries(c).filter(([e]) => e !== "where" && e !== "order"))), Object.keys(l).length && (s.filter = l), Object.keys(u).length && (o.filter = u), {
|
|
3400
|
+
remote: o,
|
|
3401
|
+
local: s
|
|
3402
|
+
};
|
|
3403
|
+
}
|
|
3404
|
+
function Kr(e, t, n, r, a) {
|
|
3405
|
+
let { isStackableParams: o, nonStackableParams: s, stackedParams: c } = a, l = r ? e[r] : e ?? a.data, u = JSON.parse(JSON.stringify(t)), d = u?.filter, f = d?.order, p = d?.where, m = JSON.parse(JSON.stringify(u));
|
|
3406
|
+
delete m.filter;
|
|
3407
|
+
let h = Object.keys(p ?? {}).length, g = Object.keys(m ?? {}).length, _ = o && c.length;
|
|
3408
|
+
if (h || g || _) {
|
|
3409
|
+
let e = [];
|
|
3410
|
+
p && r(p, e), m && r(m, e), o && t(a, e);
|
|
3411
|
+
function t(e, t) {
|
|
3412
|
+
t.push(...e.stackedParams.filter((e) => !t.find((t) => t.column === e.column && t.operator === e.operator && !Array.isArray(e.value) && $(t.value, e.value)))), o && (e.stackedParams = t.filter((e) => !s?.includes(e.column)));
|
|
3413
|
+
}
|
|
3414
|
+
function r(e, t) {
|
|
3415
|
+
for (let n in e) {
|
|
3416
|
+
let r = e[n] && typeof e[n] == "object" && !Array.isArray(e[n]), i = r ? Object.keys(e[n])[0] : Ur, a = r ? e[n][i] : e[n];
|
|
3417
|
+
t.push({
|
|
3418
|
+
column: n,
|
|
3419
|
+
operator: i,
|
|
3420
|
+
value: a
|
|
3421
|
+
});
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
function c(e, t) {
|
|
3425
|
+
let n;
|
|
3426
|
+
for (let r of t) {
|
|
3427
|
+
try {
|
|
3428
|
+
let t = i?.[r.operator]?.localEval;
|
|
3429
|
+
n = t ? t(e[r.column], r.value) : !1;
|
|
3430
|
+
} catch (n) {
|
|
3431
|
+
return console.error("fetchLocalData filter comparison error", {
|
|
3432
|
+
row: e,
|
|
3433
|
+
filter: r,
|
|
3434
|
+
filters: t,
|
|
3435
|
+
error: n
|
|
3436
|
+
}), !1;
|
|
3437
|
+
}
|
|
3438
|
+
if (!n) break;
|
|
3439
|
+
}
|
|
3440
|
+
return n;
|
|
3441
|
+
}
|
|
3442
|
+
let u = n ? (t) => n(t, e, c) : (t) => c(t, e);
|
|
3443
|
+
l = l.filter(u);
|
|
3444
|
+
}
|
|
3445
|
+
if (f) {
|
|
3446
|
+
let e = qr(f);
|
|
3447
|
+
l = Zr(l, e);
|
|
3448
|
+
}
|
|
3449
|
+
let v;
|
|
3450
|
+
return v = r ? {
|
|
3451
|
+
...e,
|
|
3452
|
+
[r]: l
|
|
3453
|
+
} : { data: l }, v;
|
|
3454
|
+
}
|
|
3455
|
+
function qr(e) {
|
|
3456
|
+
return typeof e == "string" && (e = e.split(",")), e.map((e) => {
|
|
3457
|
+
let [t, n = "asc"] = e.trim().split(/\s+/);
|
|
3458
|
+
return {
|
|
3459
|
+
key: t,
|
|
3460
|
+
order: n.toLowerCase() === "desc" ? "desc" : "asc"
|
|
3461
|
+
};
|
|
3462
|
+
});
|
|
3463
|
+
}
|
|
3464
|
+
function Jr(e) {
|
|
3465
|
+
if (e == null) return null;
|
|
3466
|
+
if (e instanceof Date) return e.getTime();
|
|
3467
|
+
if (typeof e == "boolean") return +!!e;
|
|
3468
|
+
if (typeof e == "number") return e;
|
|
3469
|
+
if (typeof e == "string") {
|
|
3470
|
+
let t = Number(e);
|
|
3471
|
+
if (!isNaN(t) && e.trim() !== "") return t;
|
|
3472
|
+
if (Yr(e)) {
|
|
3473
|
+
let t = new Date(e);
|
|
3474
|
+
if (!isNaN(t.getTime())) return t.getTime();
|
|
3475
|
+
}
|
|
3476
|
+
return e.toLowerCase();
|
|
3477
|
+
}
|
|
3478
|
+
return e;
|
|
3479
|
+
}
|
|
3480
|
+
function Yr(e) {
|
|
3481
|
+
return /^(\d{4}-\d{2}-\d{2})([T ][\d:.+-]+(?:Z)?)?$/.test(e.trim());
|
|
3482
|
+
}
|
|
3483
|
+
function Xr(e, t, n) {
|
|
3484
|
+
let r = n === "asc" ? 1 : -1, i = Jr(e), a = Jr(t);
|
|
3485
|
+
return i == null && a == null ? 0 : i == null ? 1 : a == null ? -1 : typeof i == "string" && typeof a == "string" ? r * i.localeCompare(a) : i > a ? r : i < a ? -r : 0;
|
|
3486
|
+
}
|
|
3487
|
+
function Zr(e, t) {
|
|
3488
|
+
return [...e].sort((e, n) => {
|
|
3489
|
+
for (let { key: r, order: i } of t) {
|
|
3490
|
+
let t = Xr(e[r], n[r], i);
|
|
3491
|
+
if (t !== 0) return t;
|
|
3492
|
+
}
|
|
3493
|
+
return 0;
|
|
3494
|
+
});
|
|
3495
|
+
}
|
|
3496
|
+
//#endregion
|
|
3497
|
+
//#region lib/composables/useState.js
|
|
3498
|
+
var Qr = x({}), $r = x({
|
|
3499
|
+
id: 0,
|
|
3500
|
+
name: "",
|
|
3501
|
+
nickname: "",
|
|
3502
|
+
lang: "",
|
|
3503
|
+
darkMode: null,
|
|
3504
|
+
companyFk: null,
|
|
3505
|
+
warehouseFk: null,
|
|
3506
|
+
centralWeekPlacement: null,
|
|
3507
|
+
yearScope: null
|
|
3508
|
+
});
|
|
3509
|
+
sessionStorage.getItem("user") && ($r.value = JSON.parse(sessionStorage.getItem("user")));
|
|
3510
|
+
var ei = x([]), ti = x([]), ni = x(!0), ri = x(!1);
|
|
3511
|
+
function ii() {
|
|
3512
|
+
function e() {
|
|
3513
|
+
return c(() => $r.value);
|
|
3514
|
+
}
|
|
3515
|
+
function t(e) {
|
|
3516
|
+
let t = {
|
|
3517
|
+
...JSON.parse(sessionStorage.getItem("user")),
|
|
3518
|
+
...e
|
|
3519
|
+
};
|
|
3520
|
+
return sessionStorage.setItem("user", JSON.stringify(t)), $r.value = t, t;
|
|
3521
|
+
}
|
|
3522
|
+
function n() {
|
|
3523
|
+
return c(() => ei.value);
|
|
3524
|
+
}
|
|
3525
|
+
function r(e) {
|
|
3526
|
+
ei.value = e;
|
|
3527
|
+
}
|
|
3528
|
+
function i() {
|
|
3529
|
+
return c(() => ti.value);
|
|
3530
|
+
}
|
|
3531
|
+
function a(e) {
|
|
3532
|
+
ti.value = e;
|
|
3533
|
+
}
|
|
3534
|
+
function o(e, t) {
|
|
3535
|
+
Qr.value[e] = x(t);
|
|
3536
|
+
}
|
|
3537
|
+
function s(e) {
|
|
3538
|
+
return Qr.value[e];
|
|
3539
|
+
}
|
|
3540
|
+
function l(e) {
|
|
3541
|
+
delete Qr.value[e];
|
|
3542
|
+
}
|
|
3543
|
+
return {
|
|
3544
|
+
getUser: e,
|
|
3545
|
+
setUser: t,
|
|
3546
|
+
getRoles: n,
|
|
3547
|
+
setRoles: r,
|
|
3548
|
+
getAcls: i,
|
|
3549
|
+
setAcls: a,
|
|
3550
|
+
set: o,
|
|
3551
|
+
get: s,
|
|
3552
|
+
unset: l,
|
|
3553
|
+
drawer: ni,
|
|
3554
|
+
headerMounted: ri
|
|
3555
|
+
};
|
|
3556
|
+
}
|
|
3557
|
+
//#endregion
|
|
3558
|
+
export { Be as A, J as B, tn as C, ct as D, Ht as E, Ee as F, _e as G, be as H, De as I, V as J, ge as K, K as L, Le as M, Ae as N, st as O, ke as P, Te as R, en as S, Ut as T, xe as U, Se as V, G as W, P as X, B as Y, pn as _, Jn as a, rn as b, $ as c, xn as d, vn as f, mn as g, hn as h, Wr as i, Re as j, ze as k, Xn as l, gn as m, Kr as n, Yn as o, _n as p, ne as q, Gr as r, Q as s, ii as t, qn as u, on as v, Jt as w, nn as x, an as y, we as z };
|