@linagora/linid-im-front-corelib 0.0.31 → 0.0.32
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/core-lib.es.js +1018 -972
- package/dist/core-lib.umd.js +13 -13
- package/dist/package.json +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/src/composables/useFieldValidation.d.ts +13 -6
- package/dist/types/src/composables/useQuasarFieldValidation.d.ts +15 -0
- package/dist/types/src/composables/useQuasarRules.d.ts +10 -0
- package/dist/types/src/index.d.ts +3 -0
- package/dist/types/src/types/fieldValidation.d.ts +6 -0
- package/package.json +1 -1
package/dist/core-lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _n from "vue";
|
|
2
|
-
import { defineAsyncComponent as Io, hasInjectionContext as An, inject as Ut, getCurrentInstance as Po, ref as pt, reactive as wo, markRaw as ft, effectScope as Do, isRef as mt, isReactive as
|
|
2
|
+
import { defineAsyncComponent as Io, hasInjectionContext as An, inject as Ut, getCurrentInstance as Po, ref as pt, reactive as wo, markRaw as ft, effectScope as Do, isRef as mt, isReactive as zn, toRef as hn, toRaw as ko, nextTick as _r, computed as De, getCurrentScope as Fo, onScopeDispose as Uo, watch as vn, toRefs as hr, defineComponent as Jt, watchEffect as Mo, createElementBlock as Er, openBlock as En, Fragment as Mt, renderSlot as xo, createCommentVNode as Vo, renderList as $o, createBlock as Bo, resolveDynamicComponent as jo, mergeProps as Ho, createElementVNode as Wo, shallowRef as qo, onMounted as Go, onUnmounted as Yo, h as Ns, createVNode as Ko, Text as Xo } from "vue";
|
|
3
3
|
let xt = null;
|
|
4
|
-
function
|
|
4
|
+
function Pu(e) {
|
|
5
5
|
if (xt !== null) {
|
|
6
6
|
console.warn(
|
|
7
7
|
"[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
|
|
@@ -17,7 +17,7 @@ function Jo() {
|
|
|
17
17
|
);
|
|
18
18
|
return xt;
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const Qo = (e) => Io(
|
|
21
21
|
() => Jo().loadRemote(e).then((t) => {
|
|
22
22
|
if (!t?.default)
|
|
23
23
|
throw new Error(`Failed to load component from ${e}`);
|
|
@@ -25,8 +25,8 @@ const zo = (e) => Io(
|
|
|
25
25
|
})
|
|
26
26
|
);
|
|
27
27
|
const Ze = typeof window < "u";
|
|
28
|
-
let
|
|
29
|
-
const Vt = (e) =>
|
|
28
|
+
let Be;
|
|
29
|
+
const Vt = (e) => Be = e;
|
|
30
30
|
process.env.NODE_ENV;
|
|
31
31
|
const Cn = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
32
32
|
/* istanbul ignore next */
|
|
@@ -45,7 +45,7 @@ function Os(e, t) {
|
|
|
45
45
|
if (!(n in e))
|
|
46
46
|
continue;
|
|
47
47
|
const s = e[n];
|
|
48
|
-
qe(s) && qe(r) && !mt(r) && !
|
|
48
|
+
qe(s) && qe(r) && !mt(r) && !zn(r) ? e[n] = Os(s, r) : e[n] = r;
|
|
49
49
|
}
|
|
50
50
|
return e;
|
|
51
51
|
}
|
|
@@ -58,19 +58,19 @@ function gr(e, t, n, r = Ss) {
|
|
|
58
58
|
};
|
|
59
59
|
return !n && Fo() && Uo(s), s;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Qe(e, ...t) {
|
|
62
62
|
e.forEach((n) => {
|
|
63
63
|
n(...t);
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const zo = (e) => e(), br = Symbol(), gn = Symbol();
|
|
67
67
|
function Rn(e, t) {
|
|
68
68
|
e instanceof Map && t instanceof Map ? t.forEach((n, r) => e.set(r, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
69
69
|
for (const n in t) {
|
|
70
70
|
if (!t.hasOwnProperty(n))
|
|
71
71
|
continue;
|
|
72
72
|
const r = t[n], s = e[n];
|
|
73
|
-
qe(s) && qe(r) && e.hasOwnProperty(n) && !mt(r) && !
|
|
73
|
+
qe(s) && qe(r) && e.hasOwnProperty(n) && !mt(r) && !zn(r) ? e[n] = Rn(s, r) : e[n] = r;
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
76
|
}
|
|
@@ -90,15 +90,15 @@ function Nr(e, t, n, r) {
|
|
|
90
90
|
let c;
|
|
91
91
|
function u() {
|
|
92
92
|
!a && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = s ? s() : {});
|
|
93
|
-
const
|
|
93
|
+
const l = process.env.NODE_ENV !== "production" && r ? (
|
|
94
94
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
95
95
|
hr(pt(s ? s() : {}).value)
|
|
96
96
|
) : hr(n.state.value[e]);
|
|
97
|
-
return pe(
|
|
97
|
+
return pe(l, o, Object.keys(i || {}).reduce((p, g) => (process.env.NODE_ENV !== "production" && g in l && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), p[g] = ft(De(() => {
|
|
98
98
|
Vt(n);
|
|
99
99
|
const A = n._s.get(e);
|
|
100
100
|
return i[g].call(A, A);
|
|
101
|
-
})),
|
|
101
|
+
})), p), {}));
|
|
102
102
|
}
|
|
103
103
|
return c = In(e, u, t, n, r, !0), c;
|
|
104
104
|
}
|
|
@@ -109,16 +109,16 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
109
109
|
throw new Error("Pinia destroyed");
|
|
110
110
|
const c = { deep: !0 };
|
|
111
111
|
process.env.NODE_ENV !== "production" && (c.onTrigger = (I) => {
|
|
112
|
-
u ? A = I : u == !1 && !
|
|
112
|
+
u ? A = I : u == !1 && !_._hotUpdating && (Array.isArray(A) ? A.push(I) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
113
113
|
});
|
|
114
|
-
let u,
|
|
114
|
+
let u, l, p = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), A;
|
|
115
115
|
const E = r.state.value[e];
|
|
116
116
|
!o && !E && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
|
|
117
117
|
const b = pt({});
|
|
118
118
|
let S;
|
|
119
|
-
function
|
|
119
|
+
function m(I) {
|
|
120
120
|
let P;
|
|
121
|
-
u =
|
|
121
|
+
u = l = !1, process.env.NODE_ENV !== "production" && (A = []), typeof I == "function" ? (I(r.state.value[e]), P = {
|
|
122
122
|
type: dt.patchFunction,
|
|
123
123
|
storeId: e,
|
|
124
124
|
events: A
|
|
@@ -131,7 +131,7 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
131
131
|
const k = S = Symbol();
|
|
132
132
|
_r().then(() => {
|
|
133
133
|
S === k && (u = !0);
|
|
134
|
-
}),
|
|
134
|
+
}), l = !0, Qe(p, P, r.state.value[e]);
|
|
135
135
|
}
|
|
136
136
|
const N = o ? function() {
|
|
137
137
|
const { state: P } = n, k = P ? P() : {};
|
|
@@ -145,7 +145,7 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
145
145
|
} : Ss
|
|
146
146
|
);
|
|
147
147
|
function T() {
|
|
148
|
-
i.stop(),
|
|
148
|
+
i.stop(), p.clear(), g.clear(), r._s.delete(e);
|
|
149
149
|
}
|
|
150
150
|
const y = (I, P = "") => {
|
|
151
151
|
if (br in I)
|
|
@@ -153,26 +153,26 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
153
153
|
const k = function() {
|
|
154
154
|
Vt(r);
|
|
155
155
|
const W = Array.from(arguments), ne = /* @__PURE__ */ new Set(), be = /* @__PURE__ */ new Set();
|
|
156
|
-
function se(
|
|
157
|
-
ne.add(
|
|
156
|
+
function se(z) {
|
|
157
|
+
ne.add(z);
|
|
158
158
|
}
|
|
159
|
-
function Pe(
|
|
160
|
-
be.add(
|
|
159
|
+
function Pe(z) {
|
|
160
|
+
be.add(z);
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
Qe(g, {
|
|
163
163
|
args: W,
|
|
164
164
|
name: k[gn],
|
|
165
|
-
store:
|
|
165
|
+
store: _,
|
|
166
166
|
after: se,
|
|
167
167
|
onError: Pe
|
|
168
168
|
});
|
|
169
169
|
let Z;
|
|
170
170
|
try {
|
|
171
|
-
Z = I.apply(this && this.$id === e ? this :
|
|
172
|
-
} catch (
|
|
173
|
-
throw
|
|
171
|
+
Z = I.apply(this && this.$id === e ? this : _, W);
|
|
172
|
+
} catch (z) {
|
|
173
|
+
throw Qe(be, z), z;
|
|
174
174
|
}
|
|
175
|
-
return Z instanceof Promise ? Z.then((
|
|
175
|
+
return Z instanceof Promise ? Z.then((z) => (Qe(ne, z), z)).catch((z) => (Qe(be, z), Promise.reject(z))) : (Qe(ne, Z), Z);
|
|
176
176
|
};
|
|
177
177
|
return k[br] = !0, k[gn] = P, k;
|
|
178
178
|
}, C = /* @__PURE__ */ ft({
|
|
@@ -185,11 +185,11 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
185
185
|
// _s: scope,
|
|
186
186
|
$id: e,
|
|
187
187
|
$onAction: gr.bind(null, g),
|
|
188
|
-
$patch:
|
|
188
|
+
$patch: m,
|
|
189
189
|
$reset: N,
|
|
190
190
|
$subscribe(I, P = {}) {
|
|
191
|
-
const k = gr(
|
|
192
|
-
(P.flush === "sync" ?
|
|
191
|
+
const k = gr(p, I, P.detached, () => W()), W = i.run(() => vn(() => r.state.value[e], (ne) => {
|
|
192
|
+
(P.flush === "sync" ? l : u) && I({
|
|
193
193
|
storeId: e,
|
|
194
194
|
type: dt.direct,
|
|
195
195
|
events: A
|
|
@@ -198,7 +198,7 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
198
198
|
return k;
|
|
199
199
|
},
|
|
200
200
|
$dispose: T
|
|
201
|
-
},
|
|
201
|
+
}, _ = wo(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ze ? pe(
|
|
202
202
|
{
|
|
203
203
|
_hmrPayload: C,
|
|
204
204
|
_customProperties: ft(/* @__PURE__ */ new Set())
|
|
@@ -208,11 +208,11 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
208
208
|
// must be added later
|
|
209
209
|
// setupStore
|
|
210
210
|
) : R);
|
|
211
|
-
r._s.set(e,
|
|
212
|
-
const U = (r._a && r._a.runWithContext ||
|
|
211
|
+
r._s.set(e, _);
|
|
212
|
+
const U = (r._a && r._a.runWithContext || zo)(() => r._e.run(() => (i = Do()).run(() => t({ action: y }))));
|
|
213
213
|
for (const I in U) {
|
|
214
214
|
const P = U[I];
|
|
215
|
-
if (mt(P) && !yr(P) ||
|
|
215
|
+
if (mt(P) && !yr(P) || zn(P))
|
|
216
216
|
process.env.NODE_ENV !== "production" && s ? b.value[I] = hn(U, I) : o || (E && ei(P) && (mt(P) ? P.value = E[I] : Rn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && C.state.push(I);
|
|
217
217
|
else if (typeof P == "function") {
|
|
218
218
|
const k = process.env.NODE_ENV !== "production" && s ? P : y(P, I);
|
|
@@ -223,45 +223,45 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
223
223
|
) : P, Ze && (U._getters || // @ts-expect-error: same
|
|
224
224
|
(U._getters = ft([]))).push(I));
|
|
225
225
|
}
|
|
226
|
-
if (pe(
|
|
226
|
+
if (pe(_, U), pe(ko(_), U), Object.defineProperty(_, "$state", {
|
|
227
227
|
get: () => process.env.NODE_ENV !== "production" && s ? b.value : r.state.value[e],
|
|
228
228
|
set: (I) => {
|
|
229
229
|
if (process.env.NODE_ENV !== "production" && s)
|
|
230
230
|
throw new Error("cannot set hotState");
|
|
231
|
-
|
|
231
|
+
m((P) => {
|
|
232
232
|
pe(P, I);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
}), process.env.NODE_ENV !== "production" && (
|
|
236
|
-
|
|
237
|
-
if (P in
|
|
238
|
-
const k = I.$state[P], W =
|
|
235
|
+
}), process.env.NODE_ENV !== "production" && (_._hotUpdate = ft((I) => {
|
|
236
|
+
_._hotUpdating = !0, I._hmrPayload.state.forEach((P) => {
|
|
237
|
+
if (P in _.$state) {
|
|
238
|
+
const k = I.$state[P], W = _.$state[P];
|
|
239
239
|
typeof k == "object" && qe(k) && qe(W) ? Os(k, W) : I.$state[P] = W;
|
|
240
240
|
}
|
|
241
|
-
|
|
242
|
-
}), Object.keys(
|
|
243
|
-
P in I.$state || delete
|
|
244
|
-
}), u = !1,
|
|
241
|
+
_[P] = hn(I.$state, P);
|
|
242
|
+
}), Object.keys(_.$state).forEach((P) => {
|
|
243
|
+
P in I.$state || delete _[P];
|
|
244
|
+
}), u = !1, l = !1, r.state.value[e] = hn(I._hmrPayload, "hotState"), l = !0, _r().then(() => {
|
|
245
245
|
u = !0;
|
|
246
246
|
});
|
|
247
247
|
for (const P in I._hmrPayload.actions) {
|
|
248
248
|
const k = I[P];
|
|
249
|
-
|
|
249
|
+
_[P] = //
|
|
250
250
|
y(k, P);
|
|
251
251
|
}
|
|
252
252
|
for (const P in I._hmrPayload.getters) {
|
|
253
253
|
const k = I._hmrPayload.getters[P], W = o ? (
|
|
254
254
|
// special handling of options api
|
|
255
|
-
De(() => (Vt(r), k.call(
|
|
255
|
+
De(() => (Vt(r), k.call(_, _)))
|
|
256
256
|
) : k;
|
|
257
|
-
|
|
257
|
+
_[P] = //
|
|
258
258
|
W;
|
|
259
259
|
}
|
|
260
|
-
Object.keys(
|
|
261
|
-
P in I._hmrPayload.getters || delete
|
|
262
|
-
}), Object.keys(
|
|
263
|
-
P in I._hmrPayload.actions || delete
|
|
264
|
-
}),
|
|
260
|
+
Object.keys(_._hmrPayload.getters).forEach((P) => {
|
|
261
|
+
P in I._hmrPayload.getters || delete _[P];
|
|
262
|
+
}), Object.keys(_._hmrPayload.actions).forEach((P) => {
|
|
263
|
+
P in I._hmrPayload.actions || delete _[P];
|
|
264
|
+
}), _._hmrPayload = I._hmrPayload, _._getters = I._getters, _._hotUpdating = !1;
|
|
265
265
|
})), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ze) {
|
|
266
266
|
const I = {
|
|
267
267
|
writable: !0,
|
|
@@ -270,28 +270,28 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
270
270
|
enumerable: !1
|
|
271
271
|
};
|
|
272
272
|
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((P) => {
|
|
273
|
-
Object.defineProperty(
|
|
273
|
+
Object.defineProperty(_, P, pe({ value: _[P] }, I));
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
return r._p.forEach((I) => {
|
|
277
277
|
if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ze) {
|
|
278
278
|
const P = i.run(() => I({
|
|
279
|
-
store:
|
|
279
|
+
store: _,
|
|
280
280
|
app: r._a,
|
|
281
281
|
pinia: r,
|
|
282
282
|
options: a
|
|
283
283
|
}));
|
|
284
|
-
Object.keys(P || {}).forEach((k) =>
|
|
284
|
+
Object.keys(P || {}).forEach((k) => _._customProperties.add(k)), pe(_, P);
|
|
285
285
|
} else
|
|
286
|
-
pe(
|
|
287
|
-
store:
|
|
286
|
+
pe(_, i.run(() => I({
|
|
287
|
+
store: _,
|
|
288
288
|
app: r._a,
|
|
289
289
|
pinia: r,
|
|
290
290
|
options: a
|
|
291
291
|
})));
|
|
292
|
-
}), process.env.NODE_ENV !== "production" &&
|
|
292
|
+
}), process.env.NODE_ENV !== "production" && _.$state && typeof _.$state == "object" && typeof _.$state.constructor == "function" && !_.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
293
293
|
state: () => new MyClass()
|
|
294
|
-
Found in store "${
|
|
294
|
+
Found in store "${_.$id}".`), E && o && n.hydrate && n.hydrate(_.$state, E), u = !0, l = !0, _;
|
|
295
295
|
}
|
|
296
296
|
// @__NO_SIDE_EFFECTS__
|
|
297
297
|
function Zn(e, t, n) {
|
|
@@ -302,21 +302,21 @@ function Zn(e, t, n) {
|
|
|
302
302
|
const c = An();
|
|
303
303
|
if (i = // in test mode, ignore the argument provided as we can always retrieve a
|
|
304
304
|
// pinia instance with getActivePinia()
|
|
305
|
-
(process.env.NODE_ENV === "test" &&
|
|
305
|
+
(process.env.NODE_ENV === "test" && Be && Be._testing ? null : i) || (c ? Ut(Cn, null) : null), i && Vt(i), process.env.NODE_ENV !== "production" && !Be)
|
|
306
306
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
307
307
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
308
308
|
This will fail in production.`);
|
|
309
|
-
i =
|
|
309
|
+
i = Be, i._s.has(e) || (s ? In(e, t, r, i) : Nr(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
|
|
310
310
|
const u = i._s.get(e);
|
|
311
311
|
if (process.env.NODE_ENV !== "production" && a) {
|
|
312
|
-
const
|
|
313
|
-
a._hotUpdate(
|
|
312
|
+
const l = "__hot:" + e, p = s ? In(l, t, r, i, !0) : Nr(l, pe({}, r), i, !0);
|
|
313
|
+
a._hotUpdate(p), delete i.state.value[l], i._s.delete(l);
|
|
314
314
|
}
|
|
315
315
|
if (process.env.NODE_ENV !== "production" && Ze) {
|
|
316
|
-
const
|
|
317
|
-
if (
|
|
316
|
+
const l = Po();
|
|
317
|
+
if (l && l.proxy && // avoid adding stores that are just built for hot module replacement
|
|
318
318
|
!a) {
|
|
319
|
-
const
|
|
319
|
+
const p = l.proxy, g = "_pStores" in p ? p._pStores : p._pStores = {};
|
|
320
320
|
g[e] = u;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
@@ -325,7 +325,7 @@ This will fail in production.`);
|
|
|
325
325
|
return o.$id = e, o;
|
|
326
326
|
}
|
|
327
327
|
let $t = null;
|
|
328
|
-
function
|
|
328
|
+
function wu(e) {
|
|
329
329
|
if ($t !== null) {
|
|
330
330
|
console.warn(
|
|
331
331
|
"[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
|
|
@@ -355,7 +355,7 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
|
|
|
355
355
|
this.zones[e] || (this.zones[e] = []), this.zones[e].push(t);
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
}),
|
|
358
|
+
}), Du = /* @__PURE__ */ Jt({
|
|
359
359
|
__name: "LinidZoneRenderer",
|
|
360
360
|
props: {
|
|
361
361
|
zone: {}
|
|
@@ -367,12 +367,12 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
|
|
|
367
367
|
const o = n.zones[t.zone] || [];
|
|
368
368
|
r.value = o.map((i) => ({
|
|
369
369
|
...i,
|
|
370
|
-
component:
|
|
370
|
+
component: Qo(i.plugin)
|
|
371
371
|
})), Promise.resolve().then(() => {
|
|
372
372
|
s.value = !0;
|
|
373
373
|
});
|
|
374
374
|
}), (o, i) => (En(), Er(Mt, null, [
|
|
375
|
-
(En(!0), Er(Mt, null, $o(r.value, (a, c) => (En(), jo(
|
|
375
|
+
(En(!0), Er(Mt, null, $o(r.value, (a, c) => (En(), Bo(jo(a.component), Ho({
|
|
376
376
|
key: a.plugin + c
|
|
377
377
|
}, { ref_for: !0 }, a.props), null, 16))), 128)),
|
|
378
378
|
s.value && r.value.length === 0 ? xo(o.$slots, "default", { key: 0 }, () => [
|
|
@@ -386,10 +386,10 @@ function Ts(e, t) {
|
|
|
386
386
|
return e.apply(t, arguments);
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
|
-
const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator:
|
|
389
|
+
const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator: Qt, toStringTag: Ls } = Symbol, zt = /* @__PURE__ */ ((e) => (t) => {
|
|
390
390
|
const n = ri.call(t);
|
|
391
391
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
392
|
-
})(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) =>
|
|
392
|
+
})(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) => zt(t) === e), Zt = (e) => (t) => typeof t === e, { isArray: nt } = Array, et = Zt("undefined");
|
|
393
393
|
function bt(e) {
|
|
394
394
|
return e !== null && !et(e) && e.constructor !== null && !et(e.constructor) && ue(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
395
395
|
}
|
|
@@ -399,10 +399,10 @@ function si(e) {
|
|
|
399
399
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && As(e.buffer), t;
|
|
400
400
|
}
|
|
401
401
|
const oi = Zt("string"), ue = Zt("function"), vs = Zt("number"), yt = (e) => e !== null && typeof e == "object", ii = (e) => e === !0 || e === !1, Pt = (e) => {
|
|
402
|
-
if (
|
|
402
|
+
if (zt(e) !== "object")
|
|
403
403
|
return !1;
|
|
404
404
|
const t = tr(e);
|
|
405
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ls in e) && !(
|
|
405
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ls in e) && !(Qt in e);
|
|
406
406
|
}, ai = (e) => {
|
|
407
407
|
if (!yt(e) || bt(e))
|
|
408
408
|
return !1;
|
|
@@ -413,7 +413,7 @@ const oi = Zt("string"), ue = Zt("function"), vs = Zt("number"), yt = (e) => e !
|
|
|
413
413
|
}
|
|
414
414
|
}, ci = ge("Date"), li = ge("File"), ui = ge("Blob"), fi = ge("FileList"), di = (e) => yt(e) && ue(e.pipe), pi = (e) => {
|
|
415
415
|
let t;
|
|
416
|
-
return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t =
|
|
416
|
+
return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t = zt(e)) === "formdata" || // detect form-data instance
|
|
417
417
|
t === "object" && ue(e.toString) && e.toString() === "[object FormData]"));
|
|
418
418
|
}, mi = ge("URLSearchParams"), [_i, hi, Ei, gi] = ["ReadableStream", "Request", "Response", "Headers"].map(ge), bi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
419
419
|
function Nt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
@@ -443,7 +443,7 @@ function Cs(e, t) {
|
|
|
443
443
|
return s;
|
|
444
444
|
return null;
|
|
445
445
|
}
|
|
446
|
-
const
|
|
446
|
+
const je = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Rs = (e) => !et(e) && e !== je;
|
|
447
447
|
function Pn() {
|
|
448
448
|
const { caseless: e, skipUndefined: t } = Rs(this) && this || {}, n = {}, r = (s, o) => {
|
|
449
449
|
const i = e && Cs(n, o) || o;
|
|
@@ -483,7 +483,7 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
|
|
|
483
483
|
n[t] = e[t];
|
|
484
484
|
return n;
|
|
485
485
|
}, Ai = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && tr(Uint8Array)), vi = (e, t) => {
|
|
486
|
-
const r = (e && e[
|
|
486
|
+
const r = (e && e[Qt]).call(e);
|
|
487
487
|
let s;
|
|
488
488
|
for (; (s = r.next()) && !s.done; ) {
|
|
489
489
|
const o = s.value;
|
|
@@ -531,7 +531,7 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
|
|
|
531
531
|
}, ki = () => {
|
|
532
532
|
}, Fi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
533
533
|
function Ui(e) {
|
|
534
|
-
return !!(e && ue(e.append) && e[Ls] === "FormData" && e[
|
|
534
|
+
return !!(e && ue(e.append) && e[Ls] === "FormData" && e[Qt]);
|
|
535
535
|
}
|
|
536
536
|
const Mi = (e) => {
|
|
537
537
|
const t = new Array(10), n = (r, s) => {
|
|
@@ -552,14 +552,14 @@ const Mi = (e) => {
|
|
|
552
552
|
return r;
|
|
553
553
|
};
|
|
554
554
|
return n(e, 0);
|
|
555
|
-
}, xi = ge("AsyncFunction"), Vi = (e) => e && (yt(e) || ue(e)) && ue(e.then) && ue(e.catch), Ps = ((e, t) => e ? setImmediate : t ? ((n, r) => (
|
|
556
|
-
s ===
|
|
555
|
+
}, xi = ge("AsyncFunction"), Vi = (e) => e && (yt(e) || ue(e)) && ue(e.then) && ue(e.catch), Ps = ((e, t) => e ? setImmediate : t ? ((n, r) => (je.addEventListener("message", ({ source: s, data: o }) => {
|
|
556
|
+
s === je && o === n && r.length && r.shift()();
|
|
557
557
|
}, !1), (s) => {
|
|
558
|
-
r.push(s),
|
|
558
|
+
r.push(s), je.postMessage(n, "*");
|
|
559
559
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
560
560
|
typeof setImmediate == "function",
|
|
561
|
-
ue(
|
|
562
|
-
), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(
|
|
561
|
+
ue(je.postMessage)
|
|
562
|
+
), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(je) : typeof process < "u" && process.nextTick || Ps, Bi = (e) => e != null && ue(e[Qt]), h = {
|
|
563
563
|
isArray: nt,
|
|
564
564
|
isArrayBuffer: As,
|
|
565
565
|
isBuffer: bt,
|
|
@@ -592,7 +592,7 @@ const Mi = (e) => {
|
|
|
592
592
|
stripBOM: Ni,
|
|
593
593
|
inherits: Oi,
|
|
594
594
|
toFlatObject: Si,
|
|
595
|
-
kindOf:
|
|
595
|
+
kindOf: zt,
|
|
596
596
|
kindOfTest: ge,
|
|
597
597
|
endsWith: Ti,
|
|
598
598
|
toArray: Li,
|
|
@@ -609,7 +609,7 @@ const Mi = (e) => {
|
|
|
609
609
|
noop: ki,
|
|
610
610
|
toFiniteNumber: Fi,
|
|
611
611
|
findKey: Cs,
|
|
612
|
-
global:
|
|
612
|
+
global: je,
|
|
613
613
|
isContextDefined: Rs,
|
|
614
614
|
isSpecCompliantForm: Ui,
|
|
615
615
|
toJSONObject: Mi,
|
|
@@ -617,12 +617,12 @@ const Mi = (e) => {
|
|
|
617
617
|
isThenable: Vi,
|
|
618
618
|
setImmediate: Ps,
|
|
619
619
|
asap: $i,
|
|
620
|
-
isIterable:
|
|
620
|
+
isIterable: Bi
|
|
621
621
|
};
|
|
622
622
|
function M(e, t, n, r, s) {
|
|
623
623
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), s && (this.response = s, this.status = s.status ? s.status : null);
|
|
624
624
|
}
|
|
625
|
-
|
|
625
|
+
h.inherits(M, Error, {
|
|
626
626
|
toJSON: function() {
|
|
627
627
|
return {
|
|
628
628
|
// Standard
|
|
@@ -637,7 +637,7 @@ _.inherits(M, Error, {
|
|
|
637
637
|
columnNumber: this.columnNumber,
|
|
638
638
|
stack: this.stack,
|
|
639
639
|
// Axios
|
|
640
|
-
config:
|
|
640
|
+
config: h.toJSONObject(this.config),
|
|
641
641
|
code: this.code,
|
|
642
642
|
status: this.status
|
|
643
643
|
};
|
|
@@ -665,18 +665,18 @@ Object.defineProperties(M, Ds);
|
|
|
665
665
|
Object.defineProperty(ws, "isAxiosError", { value: !0 });
|
|
666
666
|
M.from = (e, t, n, r, s, o) => {
|
|
667
667
|
const i = Object.create(ws);
|
|
668
|
-
|
|
669
|
-
return
|
|
668
|
+
h.toFlatObject(e, i, function(l) {
|
|
669
|
+
return l !== Error.prototype;
|
|
670
670
|
}, (u) => u !== "isAxiosError");
|
|
671
671
|
const a = e && e.message ? e.message : "Error", c = t == null && e ? e.code : t;
|
|
672
672
|
return M.call(i, a, c, n, r, s), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", o && Object.assign(i, o), i;
|
|
673
673
|
};
|
|
674
|
-
const
|
|
674
|
+
const ji = null;
|
|
675
675
|
function wn(e) {
|
|
676
|
-
return
|
|
676
|
+
return h.isPlainObject(e) || h.isArray(e);
|
|
677
677
|
}
|
|
678
678
|
function ks(e) {
|
|
679
|
-
return
|
|
679
|
+
return h.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
680
680
|
}
|
|
681
681
|
function Sr(e, t, n) {
|
|
682
682
|
return e ? e.concat(t).map(function(s, o) {
|
|
@@ -684,42 +684,42 @@ function Sr(e, t, n) {
|
|
|
684
684
|
}).join(n ? "." : "") : t;
|
|
685
685
|
}
|
|
686
686
|
function Hi(e) {
|
|
687
|
-
return
|
|
687
|
+
return h.isArray(e) && !e.some(wn);
|
|
688
688
|
}
|
|
689
|
-
const Wi =
|
|
689
|
+
const Wi = h.toFlatObject(h, {}, null, function(t) {
|
|
690
690
|
return /^is[A-Z]/.test(t);
|
|
691
691
|
});
|
|
692
692
|
function en(e, t, n) {
|
|
693
|
-
if (!
|
|
693
|
+
if (!h.isObject(e))
|
|
694
694
|
throw new TypeError("target must be an object");
|
|
695
|
-
t = t || new FormData(), n =
|
|
695
|
+
t = t || new FormData(), n = h.toFlatObject(n, {
|
|
696
696
|
metaTokens: !0,
|
|
697
697
|
dots: !1,
|
|
698
698
|
indexes: !1
|
|
699
699
|
}, !1, function(b, S) {
|
|
700
|
-
return !
|
|
700
|
+
return !h.isUndefined(S[b]);
|
|
701
701
|
});
|
|
702
|
-
const r = n.metaTokens, s = n.visitor ||
|
|
703
|
-
if (!
|
|
702
|
+
const r = n.metaTokens, s = n.visitor || l, o = n.dots, i = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && h.isSpecCompliantForm(t);
|
|
703
|
+
if (!h.isFunction(s))
|
|
704
704
|
throw new TypeError("visitor must be a function");
|
|
705
705
|
function u(E) {
|
|
706
706
|
if (E === null) return "";
|
|
707
|
-
if (
|
|
707
|
+
if (h.isDate(E))
|
|
708
708
|
return E.toISOString();
|
|
709
|
-
if (
|
|
709
|
+
if (h.isBoolean(E))
|
|
710
710
|
return E.toString();
|
|
711
|
-
if (!c &&
|
|
711
|
+
if (!c && h.isBlob(E))
|
|
712
712
|
throw new M("Blob is not supported. Use a Buffer instead.");
|
|
713
|
-
return
|
|
713
|
+
return h.isArrayBuffer(E) || h.isTypedArray(E) ? c && typeof Blob == "function" ? new Blob([E]) : Buffer.from(E) : E;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
let
|
|
715
|
+
function l(E, b, S) {
|
|
716
|
+
let m = E;
|
|
717
717
|
if (E && !S && typeof E == "object") {
|
|
718
|
-
if (
|
|
718
|
+
if (h.endsWith(b, "{}"))
|
|
719
719
|
b = r ? b : b.slice(0, -2), E = JSON.stringify(E);
|
|
720
|
-
else if (
|
|
721
|
-
return b = ks(b),
|
|
722
|
-
!(
|
|
720
|
+
else if (h.isArray(E) && Hi(E) || (h.isFileList(E) || h.endsWith(b, "[]")) && (m = h.toArray(E)))
|
|
721
|
+
return b = ks(b), m.forEach(function(T, y) {
|
|
722
|
+
!(h.isUndefined(T) || T === null) && t.append(
|
|
723
723
|
// eslint-disable-next-line no-nested-ternary
|
|
724
724
|
i === !0 ? Sr([b], y, o) : i === null ? b : b + "[]",
|
|
725
725
|
u(T)
|
|
@@ -728,27 +728,27 @@ function en(e, t, n) {
|
|
|
728
728
|
}
|
|
729
729
|
return wn(E) ? !0 : (t.append(Sr(S, b, o), u(E)), !1);
|
|
730
730
|
}
|
|
731
|
-
const
|
|
732
|
-
defaultVisitor:
|
|
731
|
+
const p = [], g = Object.assign(Wi, {
|
|
732
|
+
defaultVisitor: l,
|
|
733
733
|
convertValue: u,
|
|
734
734
|
isVisitable: wn
|
|
735
735
|
});
|
|
736
736
|
function A(E, b) {
|
|
737
|
-
if (!
|
|
738
|
-
if (
|
|
737
|
+
if (!h.isUndefined(E)) {
|
|
738
|
+
if (p.indexOf(E) !== -1)
|
|
739
739
|
throw Error("Circular reference detected in " + b.join("."));
|
|
740
|
-
|
|
741
|
-
(!(
|
|
740
|
+
p.push(E), h.forEach(E, function(m, N) {
|
|
741
|
+
(!(h.isUndefined(m) || m === null) && s.call(
|
|
742
742
|
t,
|
|
743
|
-
|
|
744
|
-
|
|
743
|
+
m,
|
|
744
|
+
h.isString(N) ? N.trim() : N,
|
|
745
745
|
b,
|
|
746
746
|
g
|
|
747
|
-
)) === !0 && A(
|
|
748
|
-
}),
|
|
747
|
+
)) === !0 && A(m, b ? b.concat(N) : [N]);
|
|
748
|
+
}), p.pop();
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
|
-
if (!
|
|
751
|
+
if (!h.isObject(e))
|
|
752
752
|
throw new TypeError("data must be an object");
|
|
753
753
|
return A(e), t;
|
|
754
754
|
}
|
|
@@ -788,12 +788,12 @@ function Us(e, t, n) {
|
|
|
788
788
|
if (!t)
|
|
789
789
|
return e;
|
|
790
790
|
const r = n && n.encode || qi;
|
|
791
|
-
|
|
791
|
+
h.isFunction(n) && (n = {
|
|
792
792
|
serialize: n
|
|
793
793
|
});
|
|
794
794
|
const s = n && n.serialize;
|
|
795
795
|
let o;
|
|
796
|
-
if (s ? o = s(t, n) : o =
|
|
796
|
+
if (s ? o = s(t, n) : o = h.isURLSearchParams(t) ? t.toString() : new nr(t, n).toString(r), o) {
|
|
797
797
|
const i = e.indexOf("#");
|
|
798
798
|
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
|
|
799
799
|
}
|
|
@@ -848,7 +848,7 @@ class Lr {
|
|
|
848
848
|
* @returns {void}
|
|
849
849
|
*/
|
|
850
850
|
forEach(t) {
|
|
851
|
-
|
|
851
|
+
h.forEach(this.handlers, function(r) {
|
|
852
852
|
r !== null && t(r);
|
|
853
853
|
});
|
|
854
854
|
}
|
|
@@ -865,14 +865,14 @@ const Ms = {
|
|
|
865
865
|
Blob: Ki
|
|
866
866
|
},
|
|
867
867
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
868
|
-
}, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0),
|
|
869
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
868
|
+
}, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0), Qi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
869
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", zi = rr && window.location.href || "http://localhost", Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
870
870
|
__proto__: null,
|
|
871
871
|
hasBrowserEnv: rr,
|
|
872
872
|
hasStandardBrowserEnv: Ji,
|
|
873
|
-
hasStandardBrowserWebWorkerEnv:
|
|
873
|
+
hasStandardBrowserWebWorkerEnv: Qi,
|
|
874
874
|
navigator: Dn,
|
|
875
|
-
origin:
|
|
875
|
+
origin: zi
|
|
876
876
|
}, Symbol.toStringTag, { value: "Module" })), ae = {
|
|
877
877
|
...Zi,
|
|
878
878
|
...Xi
|
|
@@ -880,13 +880,13 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Qi
|
|
|
880
880
|
function ea(e, t) {
|
|
881
881
|
return en(e, new ae.classes.URLSearchParams(), {
|
|
882
882
|
visitor: function(n, r, s, o) {
|
|
883
|
-
return ae.isNode &&
|
|
883
|
+
return ae.isNode && h.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
884
884
|
},
|
|
885
885
|
...t
|
|
886
886
|
});
|
|
887
887
|
}
|
|
888
888
|
function ta(e) {
|
|
889
|
-
return
|
|
889
|
+
return h.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
890
890
|
}
|
|
891
891
|
function na(e) {
|
|
892
892
|
const t = {}, n = Object.keys(e);
|
|
@@ -902,20 +902,20 @@ function xs(e) {
|
|
|
902
902
|
let i = n[o++];
|
|
903
903
|
if (i === "__proto__") return !0;
|
|
904
904
|
const a = Number.isFinite(+i), c = o >= n.length;
|
|
905
|
-
return i = !i &&
|
|
905
|
+
return i = !i && h.isArray(s) ? s.length : i, c ? (h.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !h.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && h.isArray(s[i]) && (s[i] = na(s[i])), !a);
|
|
906
906
|
}
|
|
907
|
-
if (
|
|
907
|
+
if (h.isFormData(e) && h.isFunction(e.entries)) {
|
|
908
908
|
const n = {};
|
|
909
|
-
return
|
|
909
|
+
return h.forEachEntry(e, (r, s) => {
|
|
910
910
|
t(ta(r), s, n, 0);
|
|
911
911
|
}), n;
|
|
912
912
|
}
|
|
913
913
|
return null;
|
|
914
914
|
}
|
|
915
915
|
function ra(e, t, n) {
|
|
916
|
-
if (
|
|
916
|
+
if (h.isString(e))
|
|
917
917
|
try {
|
|
918
|
-
return (t || JSON.parse)(e),
|
|
918
|
+
return (t || JSON.parse)(e), h.trim(e);
|
|
919
919
|
} catch (r) {
|
|
920
920
|
if (r.name !== "SyntaxError")
|
|
921
921
|
throw r;
|
|
@@ -926,20 +926,20 @@ const Ot = {
|
|
|
926
926
|
transitional: Ms,
|
|
927
927
|
adapter: ["xhr", "http", "fetch"],
|
|
928
928
|
transformRequest: [function(t, n) {
|
|
929
|
-
const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o =
|
|
930
|
-
if (o &&
|
|
929
|
+
const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = h.isObject(t);
|
|
930
|
+
if (o && h.isHTMLForm(t) && (t = new FormData(t)), h.isFormData(t))
|
|
931
931
|
return s ? JSON.stringify(xs(t)) : t;
|
|
932
|
-
if (
|
|
932
|
+
if (h.isArrayBuffer(t) || h.isBuffer(t) || h.isStream(t) || h.isFile(t) || h.isBlob(t) || h.isReadableStream(t))
|
|
933
933
|
return t;
|
|
934
|
-
if (
|
|
934
|
+
if (h.isArrayBufferView(t))
|
|
935
935
|
return t.buffer;
|
|
936
|
-
if (
|
|
936
|
+
if (h.isURLSearchParams(t))
|
|
937
937
|
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
938
938
|
let a;
|
|
939
939
|
if (o) {
|
|
940
940
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
941
941
|
return ea(t, this.formSerializer).toString();
|
|
942
|
-
if ((a =
|
|
942
|
+
if ((a = h.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
943
943
|
const c = this.env && this.env.FormData;
|
|
944
944
|
return en(
|
|
945
945
|
a ? { "files[]": t } : t,
|
|
@@ -952,9 +952,9 @@ const Ot = {
|
|
|
952
952
|
}],
|
|
953
953
|
transformResponse: [function(t) {
|
|
954
954
|
const n = this.transitional || Ot.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
|
|
955
|
-
if (
|
|
955
|
+
if (h.isResponse(t) || h.isReadableStream(t))
|
|
956
956
|
return t;
|
|
957
|
-
if (t &&
|
|
957
|
+
if (t && h.isString(t) && (r && !this.responseType || s)) {
|
|
958
958
|
const i = !(n && n.silentJSONParsing) && s;
|
|
959
959
|
try {
|
|
960
960
|
return JSON.parse(t, this.parseReviver);
|
|
@@ -988,10 +988,10 @@ const Ot = {
|
|
|
988
988
|
}
|
|
989
989
|
}
|
|
990
990
|
};
|
|
991
|
-
|
|
991
|
+
h.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
992
992
|
Ot.headers[e] = {};
|
|
993
993
|
});
|
|
994
|
-
const sa =
|
|
994
|
+
const sa = h.toObjectSet([
|
|
995
995
|
"age",
|
|
996
996
|
"authorization",
|
|
997
997
|
"content-length",
|
|
@@ -1021,7 +1021,7 @@ function lt(e) {
|
|
|
1021
1021
|
return e && String(e).trim().toLowerCase();
|
|
1022
1022
|
}
|
|
1023
1023
|
function wt(e) {
|
|
1024
|
-
return e === !1 || e == null ? e :
|
|
1024
|
+
return e === !1 || e == null ? e : h.isArray(e) ? e.map(wt) : String(e);
|
|
1025
1025
|
}
|
|
1026
1026
|
function ia(e) {
|
|
1027
1027
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -1032,12 +1032,12 @@ function ia(e) {
|
|
|
1032
1032
|
}
|
|
1033
1033
|
const aa = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
1034
1034
|
function bn(e, t, n, r, s) {
|
|
1035
|
-
if (
|
|
1035
|
+
if (h.isFunction(r))
|
|
1036
1036
|
return r.call(this, t, n);
|
|
1037
|
-
if (s && (t = n), !!
|
|
1038
|
-
if (
|
|
1037
|
+
if (s && (t = n), !!h.isString(t)) {
|
|
1038
|
+
if (h.isString(r))
|
|
1039
1039
|
return t.indexOf(r) !== -1;
|
|
1040
|
-
if (
|
|
1040
|
+
if (h.isRegExp(r))
|
|
1041
1041
|
return r.test(t);
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
@@ -1045,7 +1045,7 @@ function ca(e) {
|
|
|
1045
1045
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
|
|
1046
1046
|
}
|
|
1047
1047
|
function la(e, t) {
|
|
1048
|
-
const n =
|
|
1048
|
+
const n = h.toCamelCase(" " + t);
|
|
1049
1049
|
["get", "set", "has"].forEach((r) => {
|
|
1050
1050
|
Object.defineProperty(e, r + n, {
|
|
1051
1051
|
value: function(s, o, i) {
|
|
@@ -1062,23 +1062,23 @@ let fe = class {
|
|
|
1062
1062
|
set(t, n, r) {
|
|
1063
1063
|
const s = this;
|
|
1064
1064
|
function o(a, c, u) {
|
|
1065
|
-
const
|
|
1066
|
-
if (!
|
|
1065
|
+
const l = lt(c);
|
|
1066
|
+
if (!l)
|
|
1067
1067
|
throw new Error("header name must be a non-empty string");
|
|
1068
|
-
const
|
|
1069
|
-
(!
|
|
1068
|
+
const p = h.findKey(s, l);
|
|
1069
|
+
(!p || s[p] === void 0 || u === !0 || u === void 0 && s[p] !== !1) && (s[p || c] = wt(a));
|
|
1070
1070
|
}
|
|
1071
|
-
const i = (a, c) =>
|
|
1072
|
-
if (
|
|
1071
|
+
const i = (a, c) => h.forEach(a, (u, l) => o(u, l, c));
|
|
1072
|
+
if (h.isPlainObject(t) || t instanceof this.constructor)
|
|
1073
1073
|
i(t, n);
|
|
1074
|
-
else if (
|
|
1074
|
+
else if (h.isString(t) && (t = t.trim()) && !aa(t))
|
|
1075
1075
|
i(oa(t), n);
|
|
1076
|
-
else if (
|
|
1076
|
+
else if (h.isObject(t) && h.isIterable(t)) {
|
|
1077
1077
|
let a = {}, c, u;
|
|
1078
|
-
for (const
|
|
1079
|
-
if (!
|
|
1078
|
+
for (const l of t) {
|
|
1079
|
+
if (!h.isArray(l))
|
|
1080
1080
|
throw TypeError("Object iterator must return a key-value pair");
|
|
1081
|
-
a[u =
|
|
1081
|
+
a[u = l[0]] = (c = a[u]) ? h.isArray(c) ? [...c, l[1]] : [c, l[1]] : l[1];
|
|
1082
1082
|
}
|
|
1083
1083
|
i(a, n);
|
|
1084
1084
|
} else
|
|
@@ -1087,16 +1087,16 @@ let fe = class {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
get(t, n) {
|
|
1089
1089
|
if (t = lt(t), t) {
|
|
1090
|
-
const r =
|
|
1090
|
+
const r = h.findKey(this, t);
|
|
1091
1091
|
if (r) {
|
|
1092
1092
|
const s = this[r];
|
|
1093
1093
|
if (!n)
|
|
1094
1094
|
return s;
|
|
1095
1095
|
if (n === !0)
|
|
1096
1096
|
return ia(s);
|
|
1097
|
-
if (
|
|
1097
|
+
if (h.isFunction(n))
|
|
1098
1098
|
return n.call(this, s, r);
|
|
1099
|
-
if (
|
|
1099
|
+
if (h.isRegExp(n))
|
|
1100
1100
|
return n.exec(s);
|
|
1101
1101
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
1102
1102
|
}
|
|
@@ -1104,7 +1104,7 @@ let fe = class {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
has(t, n) {
|
|
1106
1106
|
if (t = lt(t), t) {
|
|
1107
|
-
const r =
|
|
1107
|
+
const r = h.findKey(this, t);
|
|
1108
1108
|
return !!(r && this[r] !== void 0 && (!n || bn(this, this[r], r, n)));
|
|
1109
1109
|
}
|
|
1110
1110
|
return !1;
|
|
@@ -1114,11 +1114,11 @@ let fe = class {
|
|
|
1114
1114
|
let s = !1;
|
|
1115
1115
|
function o(i) {
|
|
1116
1116
|
if (i = lt(i), i) {
|
|
1117
|
-
const a =
|
|
1117
|
+
const a = h.findKey(r, i);
|
|
1118
1118
|
a && (!n || bn(r, r[a], a, n)) && (delete r[a], s = !0);
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
return
|
|
1121
|
+
return h.isArray(t) ? t.forEach(o) : o(t), s;
|
|
1122
1122
|
}
|
|
1123
1123
|
clear(t) {
|
|
1124
1124
|
const n = Object.keys(this);
|
|
@@ -1131,8 +1131,8 @@ let fe = class {
|
|
|
1131
1131
|
}
|
|
1132
1132
|
normalize(t) {
|
|
1133
1133
|
const n = this, r = {};
|
|
1134
|
-
return
|
|
1135
|
-
const i =
|
|
1134
|
+
return h.forEach(this, (s, o) => {
|
|
1135
|
+
const i = h.findKey(r, o);
|
|
1136
1136
|
if (i) {
|
|
1137
1137
|
n[i] = wt(s), delete n[o];
|
|
1138
1138
|
return;
|
|
@@ -1146,8 +1146,8 @@ let fe = class {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
toJSON(t) {
|
|
1148
1148
|
const n = /* @__PURE__ */ Object.create(null);
|
|
1149
|
-
return
|
|
1150
|
-
r != null && r !== !1 && (n[s] = t &&
|
|
1149
|
+
return h.forEach(this, (r, s) => {
|
|
1150
|
+
r != null && r !== !1 && (n[s] = t && h.isArray(r) ? r.join(", ") : r);
|
|
1151
1151
|
}), n;
|
|
1152
1152
|
}
|
|
1153
1153
|
[Symbol.iterator]() {
|
|
@@ -1178,11 +1178,11 @@ let fe = class {
|
|
|
1178
1178
|
const a = lt(i);
|
|
1179
1179
|
r[a] || (la(s, i), r[a] = !0);
|
|
1180
1180
|
}
|
|
1181
|
-
return
|
|
1181
|
+
return h.isArray(t) ? t.forEach(o) : o(t), this;
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
1184
|
fe.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
1185
|
-
|
|
1185
|
+
h.reduceDescriptors(fe.prototype, ({ value: e }, t) => {
|
|
1186
1186
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
1187
1187
|
return {
|
|
1188
1188
|
get: () => e,
|
|
@@ -1191,11 +1191,11 @@ _.reduceDescriptors(fe.prototype, ({ value: e }, t) => {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
};
|
|
1193
1193
|
});
|
|
1194
|
-
|
|
1194
|
+
h.freezeMethods(fe);
|
|
1195
1195
|
function yn(e, t) {
|
|
1196
1196
|
const n = this || Ot, r = t || n, s = fe.from(r.headers);
|
|
1197
1197
|
let o = r.data;
|
|
1198
|
-
return
|
|
1198
|
+
return h.forEach(e, function(a) {
|
|
1199
1199
|
o = a.call(n, o, s.normalize(), t ? t.status : void 0);
|
|
1200
1200
|
}), s.normalize(), o;
|
|
1201
1201
|
}
|
|
@@ -1205,7 +1205,7 @@ function Vs(e) {
|
|
|
1205
1205
|
function rt(e, t, n) {
|
|
1206
1206
|
M.call(this, e ?? "canceled", M.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
1207
1207
|
}
|
|
1208
|
-
|
|
1208
|
+
h.inherits(rt, M, {
|
|
1209
1209
|
__CANCEL__: !0
|
|
1210
1210
|
});
|
|
1211
1211
|
function $s(e, t, n) {
|
|
@@ -1227,47 +1227,47 @@ function fa(e, t) {
|
|
|
1227
1227
|
const n = new Array(e), r = new Array(e);
|
|
1228
1228
|
let s = 0, o = 0, i;
|
|
1229
1229
|
return t = t !== void 0 ? t : 1e3, function(c) {
|
|
1230
|
-
const u = Date.now(),
|
|
1230
|
+
const u = Date.now(), l = r[o];
|
|
1231
1231
|
i || (i = u), n[s] = c, r[s] = u;
|
|
1232
|
-
let
|
|
1233
|
-
for (;
|
|
1234
|
-
g += n[
|
|
1232
|
+
let p = o, g = 0;
|
|
1233
|
+
for (; p !== s; )
|
|
1234
|
+
g += n[p++], p = p % e;
|
|
1235
1235
|
if (s = (s + 1) % e, s === o && (o = (o + 1) % e), u - i < t)
|
|
1236
1236
|
return;
|
|
1237
|
-
const A =
|
|
1237
|
+
const A = l && u - l;
|
|
1238
1238
|
return A ? Math.round(g * 1e3 / A) : void 0;
|
|
1239
1239
|
};
|
|
1240
1240
|
}
|
|
1241
1241
|
function da(e, t) {
|
|
1242
1242
|
let n = 0, r = 1e3 / t, s, o;
|
|
1243
|
-
const i = (u,
|
|
1244
|
-
n =
|
|
1243
|
+
const i = (u, l = Date.now()) => {
|
|
1244
|
+
n = l, s = null, o && (clearTimeout(o), o = null), e(...u);
|
|
1245
1245
|
};
|
|
1246
1246
|
return [(...u) => {
|
|
1247
|
-
const
|
|
1248
|
-
|
|
1247
|
+
const l = Date.now(), p = l - n;
|
|
1248
|
+
p >= r ? i(u, l) : (s = u, o || (o = setTimeout(() => {
|
|
1249
1249
|
o = null, i(s);
|
|
1250
|
-
}, r -
|
|
1250
|
+
}, r - p)));
|
|
1251
1251
|
}, () => s && i(s)];
|
|
1252
1252
|
}
|
|
1253
|
-
const
|
|
1253
|
+
const Bt = (e, t, n = 3) => {
|
|
1254
1254
|
let r = 0;
|
|
1255
1255
|
const s = fa(50, 250);
|
|
1256
1256
|
return da((o) => {
|
|
1257
|
-
const i = o.loaded, a = o.lengthComputable ? o.total : void 0, c = i - r, u = s(c),
|
|
1257
|
+
const i = o.loaded, a = o.lengthComputable ? o.total : void 0, c = i - r, u = s(c), l = i <= a;
|
|
1258
1258
|
r = i;
|
|
1259
|
-
const
|
|
1259
|
+
const p = {
|
|
1260
1260
|
loaded: i,
|
|
1261
1261
|
total: a,
|
|
1262
1262
|
progress: a ? i / a : void 0,
|
|
1263
1263
|
bytes: c,
|
|
1264
1264
|
rate: u || void 0,
|
|
1265
|
-
estimated: u && a &&
|
|
1265
|
+
estimated: u && a && l ? (a - i) / u : void 0,
|
|
1266
1266
|
event: o,
|
|
1267
1267
|
lengthComputable: a != null,
|
|
1268
1268
|
[t ? "download" : "upload"]: !0
|
|
1269
1269
|
};
|
|
1270
|
-
e(
|
|
1270
|
+
e(p);
|
|
1271
1271
|
}, n);
|
|
1272
1272
|
}, vr = (e, t) => {
|
|
1273
1273
|
const n = e != null;
|
|
@@ -1276,7 +1276,7 @@ const jt = (e, t, n = 3) => {
|
|
|
1276
1276
|
total: e,
|
|
1277
1277
|
loaded: r
|
|
1278
1278
|
}), t[1]];
|
|
1279
|
-
}, Cr = (e) => (...t) =>
|
|
1279
|
+
}, Cr = (e) => (...t) => h.asap(() => e(...t)), pa = ae.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, ae.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
1280
1280
|
new URL(ae.origin),
|
|
1281
1281
|
ae.navigator && /(msie|trident)/i.test(ae.navigator.userAgent)
|
|
1282
1282
|
) : () => !0, ma = ae.hasStandardBrowserEnv ? (
|
|
@@ -1285,7 +1285,7 @@ const jt = (e, t, n = 3) => {
|
|
|
1285
1285
|
write(e, t, n, r, s, o, i) {
|
|
1286
1286
|
if (typeof document > "u") return;
|
|
1287
1287
|
const a = [`${e}=${encodeURIComponent(t)}`];
|
|
1288
|
-
|
|
1288
|
+
h.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), h.isString(r) && a.push(`path=${r}`), h.isString(s) && a.push(`domain=${s}`), o === !0 && a.push("secure"), h.isString(i) && a.push(`SameSite=${i}`), document.cookie = a.join("; ");
|
|
1289
1289
|
},
|
|
1290
1290
|
read(e) {
|
|
1291
1291
|
if (typeof document > "u") return null;
|
|
@@ -1314,7 +1314,7 @@ function _a(e) {
|
|
|
1314
1314
|
function ha(e, t) {
|
|
1315
1315
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function Bs(e, t, n) {
|
|
1318
1318
|
let r = !_a(t);
|
|
1319
1319
|
return e && (r || n == !1) ? ha(e, t) : t;
|
|
1320
1320
|
}
|
|
@@ -1322,29 +1322,29 @@ const Rr = (e) => e instanceof fe ? { ...e } : e;
|
|
|
1322
1322
|
function Ge(e, t) {
|
|
1323
1323
|
t = t || {};
|
|
1324
1324
|
const n = {};
|
|
1325
|
-
function r(u,
|
|
1326
|
-
return
|
|
1327
|
-
}
|
|
1328
|
-
function s(u,
|
|
1329
|
-
if (
|
|
1330
|
-
if (!
|
|
1331
|
-
return r(void 0, u,
|
|
1332
|
-
} else return r(u,
|
|
1333
|
-
}
|
|
1334
|
-
function o(u,
|
|
1335
|
-
if (!
|
|
1336
|
-
return r(void 0,
|
|
1337
|
-
}
|
|
1338
|
-
function i(u,
|
|
1339
|
-
if (
|
|
1340
|
-
if (!
|
|
1325
|
+
function r(u, l, p, g) {
|
|
1326
|
+
return h.isPlainObject(u) && h.isPlainObject(l) ? h.merge.call({ caseless: g }, u, l) : h.isPlainObject(l) ? h.merge({}, l) : h.isArray(l) ? l.slice() : l;
|
|
1327
|
+
}
|
|
1328
|
+
function s(u, l, p, g) {
|
|
1329
|
+
if (h.isUndefined(l)) {
|
|
1330
|
+
if (!h.isUndefined(u))
|
|
1331
|
+
return r(void 0, u, p, g);
|
|
1332
|
+
} else return r(u, l, p, g);
|
|
1333
|
+
}
|
|
1334
|
+
function o(u, l) {
|
|
1335
|
+
if (!h.isUndefined(l))
|
|
1336
|
+
return r(void 0, l);
|
|
1337
|
+
}
|
|
1338
|
+
function i(u, l) {
|
|
1339
|
+
if (h.isUndefined(l)) {
|
|
1340
|
+
if (!h.isUndefined(u))
|
|
1341
1341
|
return r(void 0, u);
|
|
1342
|
-
} else return r(void 0,
|
|
1342
|
+
} else return r(void 0, l);
|
|
1343
1343
|
}
|
|
1344
|
-
function a(u,
|
|
1345
|
-
if (
|
|
1346
|
-
return r(u,
|
|
1347
|
-
if (
|
|
1344
|
+
function a(u, l, p) {
|
|
1345
|
+
if (p in t)
|
|
1346
|
+
return r(u, l);
|
|
1347
|
+
if (p in e)
|
|
1348
1348
|
return r(void 0, u);
|
|
1349
1349
|
}
|
|
1350
1350
|
const c = {
|
|
@@ -1376,46 +1376,46 @@ function Ge(e, t) {
|
|
|
1376
1376
|
socketPath: i,
|
|
1377
1377
|
responseEncoding: i,
|
|
1378
1378
|
validateStatus: a,
|
|
1379
|
-
headers: (u,
|
|
1379
|
+
headers: (u, l, p) => s(Rr(u), Rr(l), p, !0)
|
|
1380
1380
|
};
|
|
1381
|
-
return
|
|
1382
|
-
const
|
|
1383
|
-
|
|
1381
|
+
return h.forEach(Object.keys({ ...e, ...t }), function(l) {
|
|
1382
|
+
const p = c[l] || s, g = p(e[l], t[l], l);
|
|
1383
|
+
h.isUndefined(g) && p !== a || (n[l] = g);
|
|
1384
1384
|
}), n;
|
|
1385
1385
|
}
|
|
1386
|
-
const
|
|
1386
|
+
const js = (e) => {
|
|
1387
1387
|
const t = Ge({}, e);
|
|
1388
1388
|
let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: a } = t;
|
|
1389
|
-
if (t.headers = i = fe.from(i), t.url = Us(
|
|
1389
|
+
if (t.headers = i = fe.from(i), t.url = Us(Bs(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
|
|
1390
1390
|
"Authorization",
|
|
1391
1391
|
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
1392
|
-
),
|
|
1392
|
+
), h.isFormData(n)) {
|
|
1393
1393
|
if (ae.hasStandardBrowserEnv || ae.hasStandardBrowserWebWorkerEnv)
|
|
1394
1394
|
i.setContentType(void 0);
|
|
1395
|
-
else if (
|
|
1395
|
+
else if (h.isFunction(n.getHeaders)) {
|
|
1396
1396
|
const c = n.getHeaders(), u = ["content-type", "content-length"];
|
|
1397
|
-
Object.entries(c).forEach(([
|
|
1398
|
-
u.includes(
|
|
1397
|
+
Object.entries(c).forEach(([l, p]) => {
|
|
1398
|
+
u.includes(l.toLowerCase()) && i.set(l, p);
|
|
1399
1399
|
});
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
|
-
if (ae.hasStandardBrowserEnv && (r &&
|
|
1402
|
+
if (ae.hasStandardBrowserEnv && (r && h.isFunction(r) && (r = r(t)), r || r !== !1 && pa(t.url))) {
|
|
1403
1403
|
const c = s && o && ma.read(o);
|
|
1404
1404
|
c && i.set(s, c);
|
|
1405
1405
|
}
|
|
1406
1406
|
return t;
|
|
1407
1407
|
}, Ea = typeof XMLHttpRequest < "u", ga = Ea && function(e) {
|
|
1408
1408
|
return new Promise(function(n, r) {
|
|
1409
|
-
const s =
|
|
1409
|
+
const s = js(e);
|
|
1410
1410
|
let o = s.data;
|
|
1411
1411
|
const i = fe.from(s.headers).normalize();
|
|
1412
|
-
let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = s,
|
|
1412
|
+
let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = s, l, p, g, A, E;
|
|
1413
1413
|
function b() {
|
|
1414
|
-
A && A(), E && E(), s.cancelToken && s.cancelToken.unsubscribe(
|
|
1414
|
+
A && A(), E && E(), s.cancelToken && s.cancelToken.unsubscribe(l), s.signal && s.signal.removeEventListener("abort", l);
|
|
1415
1415
|
}
|
|
1416
1416
|
let S = new XMLHttpRequest();
|
|
1417
1417
|
S.open(s.method.toUpperCase(), s.url, !0), S.timeout = s.timeout;
|
|
1418
|
-
function
|
|
1418
|
+
function m() {
|
|
1419
1419
|
if (!S)
|
|
1420
1420
|
return;
|
|
1421
1421
|
const T = fe.from(
|
|
@@ -1428,14 +1428,14 @@ const Bs = (e) => {
|
|
|
1428
1428
|
config: e,
|
|
1429
1429
|
request: S
|
|
1430
1430
|
};
|
|
1431
|
-
$s(function(
|
|
1432
|
-
n(
|
|
1433
|
-
}, function(
|
|
1434
|
-
r(
|
|
1431
|
+
$s(function(_) {
|
|
1432
|
+
n(_), b();
|
|
1433
|
+
}, function(_) {
|
|
1434
|
+
r(_), b();
|
|
1435
1435
|
}, C), S = null;
|
|
1436
1436
|
}
|
|
1437
|
-
"onloadend" in S ? S.onloadend =
|
|
1438
|
-
!S || S.readyState !== 4 || S.status === 0 && !(S.responseURL && S.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1437
|
+
"onloadend" in S ? S.onloadend = m : S.onreadystatechange = function() {
|
|
1438
|
+
!S || S.readyState !== 4 || S.status === 0 && !(S.responseURL && S.responseURL.indexOf("file:") === 0) || setTimeout(m);
|
|
1439
1439
|
}, S.onabort = function() {
|
|
1440
1440
|
S && (r(new M("Request aborted", M.ECONNABORTED, e, S)), S = null);
|
|
1441
1441
|
}, S.onerror = function(y) {
|
|
@@ -1450,11 +1450,11 @@ const Bs = (e) => {
|
|
|
1450
1450
|
e,
|
|
1451
1451
|
S
|
|
1452
1452
|
)), S = null;
|
|
1453
|
-
}, o === void 0 && i.setContentType(null), "setRequestHeader" in S &&
|
|
1453
|
+
}, o === void 0 && i.setContentType(null), "setRequestHeader" in S && h.forEach(i.toJSON(), function(y, C) {
|
|
1454
1454
|
S.setRequestHeader(C, y);
|
|
1455
|
-
}),
|
|
1455
|
+
}), h.isUndefined(s.withCredentials) || (S.withCredentials = !!s.withCredentials), a && a !== "json" && (S.responseType = s.responseType), u && ([g, E] = Bt(u, !0), S.addEventListener("progress", g)), c && S.upload && ([p, A] = Bt(c), S.upload.addEventListener("progress", p), S.upload.addEventListener("loadend", A)), (s.cancelToken || s.signal) && (l = (T) => {
|
|
1456
1456
|
S && (r(!T || T.type ? new rt(null, e, S) : T), S.abort(), S = null);
|
|
1457
|
-
}, s.cancelToken && s.cancelToken.subscribe(
|
|
1457
|
+
}, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
|
|
1458
1458
|
const N = ua(s.url);
|
|
1459
1459
|
if (N && ae.protocols.indexOf(N) === -1) {
|
|
1460
1460
|
r(new M("Unsupported protocol " + N + ":", M.ERR_BAD_REQUEST, e));
|
|
@@ -1469,8 +1469,8 @@ const Bs = (e) => {
|
|
|
1469
1469
|
const o = function(u) {
|
|
1470
1470
|
if (!s) {
|
|
1471
1471
|
s = !0, a();
|
|
1472
|
-
const
|
|
1473
|
-
r.abort(
|
|
1472
|
+
const l = u instanceof Error ? u : this.reason;
|
|
1473
|
+
r.abort(l instanceof M ? l : new rt(l instanceof Error ? l.message : l));
|
|
1474
1474
|
}
|
|
1475
1475
|
};
|
|
1476
1476
|
let i = t && setTimeout(() => {
|
|
@@ -1483,7 +1483,7 @@ const Bs = (e) => {
|
|
|
1483
1483
|
};
|
|
1484
1484
|
e.forEach((u) => u.addEventListener("abort", o));
|
|
1485
1485
|
const { signal: c } = r;
|
|
1486
|
-
return c.unsubscribe = () =>
|
|
1486
|
+
return c.unsubscribe = () => h.asap(a), c;
|
|
1487
1487
|
}
|
|
1488
1488
|
}, ya = function* (e, t) {
|
|
1489
1489
|
let n = e.byteLength;
|
|
@@ -1521,17 +1521,17 @@ const Bs = (e) => {
|
|
|
1521
1521
|
return new ReadableStream({
|
|
1522
1522
|
async pull(c) {
|
|
1523
1523
|
try {
|
|
1524
|
-
const { done: u, value:
|
|
1524
|
+
const { done: u, value: l } = await s.next();
|
|
1525
1525
|
if (u) {
|
|
1526
1526
|
a(), c.close();
|
|
1527
1527
|
return;
|
|
1528
1528
|
}
|
|
1529
|
-
let
|
|
1529
|
+
let p = l.byteLength;
|
|
1530
1530
|
if (n) {
|
|
1531
|
-
let g = o +=
|
|
1531
|
+
let g = o += p;
|
|
1532
1532
|
n(g);
|
|
1533
1533
|
}
|
|
1534
|
-
c.enqueue(new Uint8Array(
|
|
1534
|
+
c.enqueue(new Uint8Array(l));
|
|
1535
1535
|
} catch (u) {
|
|
1536
1536
|
throw a(u), u;
|
|
1537
1537
|
}
|
|
@@ -1542,20 +1542,20 @@ const Bs = (e) => {
|
|
|
1542
1542
|
}, {
|
|
1543
1543
|
highWaterMark: 2
|
|
1544
1544
|
});
|
|
1545
|
-
}, Pr = 64 * 1024, { isFunction: At } =
|
|
1545
|
+
}, Pr = 64 * 1024, { isFunction: At } = h, Sa = (({ Request: e, Response: t }) => ({
|
|
1546
1546
|
Request: e,
|
|
1547
1547
|
Response: t
|
|
1548
|
-
}))(
|
|
1548
|
+
}))(h.global), {
|
|
1549
1549
|
ReadableStream: wr,
|
|
1550
1550
|
TextEncoder: Dr
|
|
1551
|
-
} =
|
|
1551
|
+
} = h.global, kr = (e, ...t) => {
|
|
1552
1552
|
try {
|
|
1553
1553
|
return !!e(...t);
|
|
1554
1554
|
} catch {
|
|
1555
1555
|
return !1;
|
|
1556
1556
|
}
|
|
1557
1557
|
}, Ta = (e) => {
|
|
1558
|
-
e =
|
|
1558
|
+
e = h.merge.call({
|
|
1559
1559
|
skipUndefined: !0
|
|
1560
1560
|
}, Sa, e);
|
|
1561
1561
|
const { fetch: t, Request: n, Response: r } = e, s = t ? At(t) : typeof fetch == "function", o = At(n), i = At(r);
|
|
@@ -1571,92 +1571,92 @@ const Bs = (e) => {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
}).headers.has("Content-Type");
|
|
1573
1573
|
return E && !b;
|
|
1574
|
-
}),
|
|
1575
|
-
stream:
|
|
1574
|
+
}), l = i && a && kr(() => h.isReadableStream(new r("").body)), p = {
|
|
1575
|
+
stream: l && ((E) => E.body)
|
|
1576
1576
|
};
|
|
1577
1577
|
s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((E) => {
|
|
1578
|
-
!
|
|
1579
|
-
let
|
|
1580
|
-
if (
|
|
1581
|
-
return
|
|
1578
|
+
!p[E] && (p[E] = (b, S) => {
|
|
1579
|
+
let m = b && b[E];
|
|
1580
|
+
if (m)
|
|
1581
|
+
return m.call(b);
|
|
1582
1582
|
throw new M(`Response type '${E}' is not supported`, M.ERR_NOT_SUPPORT, S);
|
|
1583
1583
|
});
|
|
1584
1584
|
});
|
|
1585
1585
|
const g = async (E) => {
|
|
1586
1586
|
if (E == null)
|
|
1587
1587
|
return 0;
|
|
1588
|
-
if (
|
|
1588
|
+
if (h.isBlob(E))
|
|
1589
1589
|
return E.size;
|
|
1590
|
-
if (
|
|
1590
|
+
if (h.isSpecCompliantForm(E))
|
|
1591
1591
|
return (await new n(ae.origin, {
|
|
1592
1592
|
method: "POST",
|
|
1593
1593
|
body: E
|
|
1594
1594
|
}).arrayBuffer()).byteLength;
|
|
1595
|
-
if (
|
|
1595
|
+
if (h.isArrayBufferView(E) || h.isArrayBuffer(E))
|
|
1596
1596
|
return E.byteLength;
|
|
1597
|
-
if (
|
|
1597
|
+
if (h.isURLSearchParams(E) && (E = E + ""), h.isString(E))
|
|
1598
1598
|
return (await c(E)).byteLength;
|
|
1599
1599
|
}, A = async (E, b) => {
|
|
1600
|
-
const S =
|
|
1600
|
+
const S = h.toFiniteNumber(E.getContentLength());
|
|
1601
1601
|
return S ?? g(b);
|
|
1602
1602
|
};
|
|
1603
1603
|
return async (E) => {
|
|
1604
1604
|
let {
|
|
1605
1605
|
url: b,
|
|
1606
1606
|
method: S,
|
|
1607
|
-
data:
|
|
1607
|
+
data: m,
|
|
1608
1608
|
signal: N,
|
|
1609
1609
|
cancelToken: T,
|
|
1610
1610
|
timeout: y,
|
|
1611
1611
|
onDownloadProgress: C,
|
|
1612
1612
|
onUploadProgress: R,
|
|
1613
|
-
responseType:
|
|
1613
|
+
responseType: _,
|
|
1614
1614
|
headers: x,
|
|
1615
1615
|
withCredentials: U = "same-origin",
|
|
1616
1616
|
fetchOptions: I
|
|
1617
|
-
} =
|
|
1618
|
-
|
|
1617
|
+
} = js(E), P = t || fetch;
|
|
1618
|
+
_ = _ ? (_ + "").toLowerCase() : "text";
|
|
1619
1619
|
let k = ba([N, T && T.toAbortSignal()], y), W = null;
|
|
1620
1620
|
const ne = k && k.unsubscribe && (() => {
|
|
1621
1621
|
k.unsubscribe();
|
|
1622
1622
|
});
|
|
1623
1623
|
let be;
|
|
1624
1624
|
try {
|
|
1625
|
-
if (R && u && S !== "get" && S !== "head" && (be = await A(x,
|
|
1625
|
+
if (R && u && S !== "get" && S !== "head" && (be = await A(x, m)) !== 0) {
|
|
1626
1626
|
let ce = new n(b, {
|
|
1627
1627
|
method: "POST",
|
|
1628
|
-
body:
|
|
1628
|
+
body: m,
|
|
1629
1629
|
duplex: "half"
|
|
1630
1630
|
}), ye;
|
|
1631
|
-
if (
|
|
1631
|
+
if (h.isFormData(m) && (ye = ce.headers.get("content-type")) && x.setContentType(ye), ce.body) {
|
|
1632
1632
|
const [Me, we] = vr(
|
|
1633
1633
|
be,
|
|
1634
|
-
|
|
1634
|
+
Bt(Cr(R))
|
|
1635
1635
|
);
|
|
1636
|
-
|
|
1636
|
+
m = Ir(ce.body, Pr, Me, we);
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
h.isString(U) || (U = U ? "include" : "omit");
|
|
1640
1640
|
const se = o && "credentials" in n.prototype, Pe = {
|
|
1641
1641
|
...I,
|
|
1642
1642
|
signal: k,
|
|
1643
1643
|
method: S.toUpperCase(),
|
|
1644
1644
|
headers: x.normalize().toJSON(),
|
|
1645
|
-
body:
|
|
1645
|
+
body: m,
|
|
1646
1646
|
duplex: "half",
|
|
1647
1647
|
credentials: se ? U : void 0
|
|
1648
1648
|
};
|
|
1649
1649
|
W = o && new n(b, Pe);
|
|
1650
1650
|
let Z = await (o ? P(W, I) : P(b, Pe));
|
|
1651
|
-
const
|
|
1652
|
-
if (
|
|
1651
|
+
const z = l && (_ === "stream" || _ === "response");
|
|
1652
|
+
if (l && (C || z && ne)) {
|
|
1653
1653
|
const ce = {};
|
|
1654
1654
|
["status", "statusText", "headers"].forEach((Xe) => {
|
|
1655
1655
|
ce[Xe] = Z[Xe];
|
|
1656
1656
|
});
|
|
1657
|
-
const ye =
|
|
1657
|
+
const ye = h.toFiniteNumber(Z.headers.get("content-length")), [Me, we] = C && vr(
|
|
1658
1658
|
ye,
|
|
1659
|
-
|
|
1659
|
+
Bt(Cr(C), !0)
|
|
1660
1660
|
) || [];
|
|
1661
1661
|
Z = new r(
|
|
1662
1662
|
Ir(Z.body, Pr, Me, () => {
|
|
@@ -1665,9 +1665,9 @@ const Bs = (e) => {
|
|
|
1665
1665
|
ce
|
|
1666
1666
|
);
|
|
1667
1667
|
}
|
|
1668
|
-
|
|
1669
|
-
let _e = await h
|
|
1670
|
-
return !
|
|
1668
|
+
_ = _ || "text";
|
|
1669
|
+
let _e = await p[h.findKey(p, _) || "text"](Z, E);
|
|
1670
|
+
return !z && ne && ne(), await new Promise((ce, ye) => {
|
|
1671
1671
|
$s(ce, ye, {
|
|
1672
1672
|
data: _e,
|
|
1673
1673
|
headers: fe.from(Z.headers),
|
|
@@ -1693,20 +1693,20 @@ const Bs = (e) => {
|
|
|
1693
1693
|
s,
|
|
1694
1694
|
n
|
|
1695
1695
|
];
|
|
1696
|
-
let i = o.length, a = i, c, u,
|
|
1696
|
+
let i = o.length, a = i, c, u, l = La;
|
|
1697
1697
|
for (; a--; )
|
|
1698
|
-
c = o[a], u =
|
|
1698
|
+
c = o[a], u = l.get(c), u === void 0 && l.set(c, u = a ? /* @__PURE__ */ new Map() : Ta(t)), l = u;
|
|
1699
1699
|
return u;
|
|
1700
1700
|
};
|
|
1701
1701
|
Hs();
|
|
1702
1702
|
const sr = {
|
|
1703
|
-
http:
|
|
1703
|
+
http: ji,
|
|
1704
1704
|
xhr: ga,
|
|
1705
1705
|
fetch: {
|
|
1706
1706
|
get: Hs
|
|
1707
1707
|
}
|
|
1708
1708
|
};
|
|
1709
|
-
|
|
1709
|
+
h.forEach(sr, (e, t) => {
|
|
1710
1710
|
if (e) {
|
|
1711
1711
|
try {
|
|
1712
1712
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -1715,9 +1715,9 @@ _.forEach(sr, (e, t) => {
|
|
|
1715
1715
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1716
1716
|
}
|
|
1717
1717
|
});
|
|
1718
|
-
const Fr = (e) => `- ${e}`, Aa = (e) =>
|
|
1718
|
+
const Fr = (e) => `- ${e}`, Aa = (e) => h.isFunction(e) || e === null || e === !1;
|
|
1719
1719
|
function va(e, t) {
|
|
1720
|
-
e =
|
|
1720
|
+
e = h.isArray(e) ? e : [e];
|
|
1721
1721
|
const { length: n } = e;
|
|
1722
1722
|
let r, s;
|
|
1723
1723
|
const o = {};
|
|
@@ -1726,7 +1726,7 @@ function va(e, t) {
|
|
|
1726
1726
|
let a;
|
|
1727
1727
|
if (s = r, !Aa(r) && (s = sr[(a = String(r)).toLowerCase()], s === void 0))
|
|
1728
1728
|
throw new M(`Unknown adapter '${a}'`);
|
|
1729
|
-
if (s && (
|
|
1729
|
+
if (s && (h.isFunction(s) || (s = s.get(t))))
|
|
1730
1730
|
break;
|
|
1731
1731
|
o[a || "#" + i] = s;
|
|
1732
1732
|
}
|
|
@@ -1866,7 +1866,7 @@ let We = class {
|
|
|
1866
1866
|
silentJSONParsing: Ne.transitional(Ne.boolean),
|
|
1867
1867
|
forcedJSONParsing: Ne.transitional(Ne.boolean),
|
|
1868
1868
|
clarifyTimeoutError: Ne.transitional(Ne.boolean)
|
|
1869
|
-
}, !1), s != null && (
|
|
1869
|
+
}, !1), s != null && (h.isFunction(s) ? n.paramsSerializer = {
|
|
1870
1870
|
serialize: s
|
|
1871
1871
|
} : Dt.assertOptions(s, {
|
|
1872
1872
|
encode: Ne.function,
|
|
@@ -1875,11 +1875,11 @@ let We = class {
|
|
|
1875
1875
|
baseUrl: Ne.spelling("baseURL"),
|
|
1876
1876
|
withXsrfToken: Ne.spelling("withXSRFToken")
|
|
1877
1877
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1878
|
-
let i = o &&
|
|
1878
|
+
let i = o && h.merge(
|
|
1879
1879
|
o.common,
|
|
1880
1880
|
o[n.method]
|
|
1881
1881
|
);
|
|
1882
|
-
o &&
|
|
1882
|
+
o && h.forEach(
|
|
1883
1883
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1884
1884
|
(E) => {
|
|
1885
1885
|
delete o[E];
|
|
@@ -1894,17 +1894,17 @@ let We = class {
|
|
|
1894
1894
|
this.interceptors.response.forEach(function(b) {
|
|
1895
1895
|
u.push(b.fulfilled, b.rejected);
|
|
1896
1896
|
});
|
|
1897
|
-
let
|
|
1897
|
+
let l, p = 0, g;
|
|
1898
1898
|
if (!c) {
|
|
1899
1899
|
const E = [Ur.bind(this), void 0];
|
|
1900
|
-
for (E.unshift(...a), E.push(...u), g = E.length,
|
|
1901
|
-
|
|
1902
|
-
return
|
|
1900
|
+
for (E.unshift(...a), E.push(...u), g = E.length, l = Promise.resolve(n); p < g; )
|
|
1901
|
+
l = l.then(E[p++], E[p++]);
|
|
1902
|
+
return l;
|
|
1903
1903
|
}
|
|
1904
1904
|
g = a.length;
|
|
1905
1905
|
let A = n;
|
|
1906
|
-
for (;
|
|
1907
|
-
const E = a[
|
|
1906
|
+
for (; p < g; ) {
|
|
1907
|
+
const E = a[p++], b = a[p++];
|
|
1908
1908
|
try {
|
|
1909
1909
|
A = E(A);
|
|
1910
1910
|
} catch (S) {
|
|
@@ -1913,21 +1913,21 @@ let We = class {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
try {
|
|
1916
|
-
|
|
1916
|
+
l = Ur.call(this, A);
|
|
1917
1917
|
} catch (E) {
|
|
1918
1918
|
return Promise.reject(E);
|
|
1919
1919
|
}
|
|
1920
|
-
for (
|
|
1921
|
-
|
|
1922
|
-
return
|
|
1920
|
+
for (p = 0, g = u.length; p < g; )
|
|
1921
|
+
l = l.then(u[p++], u[p++]);
|
|
1922
|
+
return l;
|
|
1923
1923
|
}
|
|
1924
1924
|
getUri(t) {
|
|
1925
1925
|
t = Ge(this.defaults, t);
|
|
1926
|
-
const n =
|
|
1926
|
+
const n = Bs(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1927
1927
|
return Us(n, t.params, t.paramsSerializer);
|
|
1928
1928
|
}
|
|
1929
1929
|
};
|
|
1930
|
-
|
|
1930
|
+
h.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1931
1931
|
We.prototype[t] = function(n, r) {
|
|
1932
1932
|
return this.request(Ge(r || {}, {
|
|
1933
1933
|
method: t,
|
|
@@ -1936,7 +1936,7 @@ _.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1936
1936
|
}));
|
|
1937
1937
|
};
|
|
1938
1938
|
});
|
|
1939
|
-
|
|
1939
|
+
h.forEach(["post", "put", "patch"], function(t) {
|
|
1940
1940
|
function n(r) {
|
|
1941
1941
|
return function(o, i, a) {
|
|
1942
1942
|
return this.request(Ge(a || {}, {
|
|
@@ -2030,7 +2030,7 @@ function Ia(e) {
|
|
|
2030
2030
|
};
|
|
2031
2031
|
}
|
|
2032
2032
|
function Pa(e) {
|
|
2033
|
-
return
|
|
2033
|
+
return h.isObject(e) && e.isAxiosError === !0;
|
|
2034
2034
|
}
|
|
2035
2035
|
const kn = {
|
|
2036
2036
|
Continue: 100,
|
|
@@ -2108,67 +2108,67 @@ Object.entries(kn).forEach(([e, t]) => {
|
|
|
2108
2108
|
});
|
|
2109
2109
|
function Ys(e) {
|
|
2110
2110
|
const t = new We(e), n = Ts(We.prototype.request, t);
|
|
2111
|
-
return
|
|
2111
|
+
return h.extend(n, We.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
|
|
2112
2112
|
return Ys(Ge(e, s));
|
|
2113
2113
|
}, n;
|
|
2114
2114
|
}
|
|
2115
|
-
const
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2115
|
+
const Q = Ys(Ot);
|
|
2116
|
+
Q.Axios = We;
|
|
2117
|
+
Q.CanceledError = rt;
|
|
2118
|
+
Q.CancelToken = Ra;
|
|
2119
|
+
Q.isCancel = Vs;
|
|
2120
|
+
Q.VERSION = qs;
|
|
2121
|
+
Q.toFormData = en;
|
|
2122
|
+
Q.AxiosError = M;
|
|
2123
|
+
Q.Cancel = Q.CanceledError;
|
|
2124
|
+
Q.all = function(t) {
|
|
2125
2125
|
return Promise.all(t);
|
|
2126
2126
|
};
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2127
|
+
Q.spread = Ia;
|
|
2128
|
+
Q.isAxiosError = Pa;
|
|
2129
|
+
Q.mergeConfig = Ge;
|
|
2130
|
+
Q.AxiosHeaders = fe;
|
|
2131
|
+
Q.formToJSON = (e) => xs(h.isHTMLForm(e) ? new FormData(e) : e);
|
|
2132
|
+
Q.getAdapter = Ws.getAdapter;
|
|
2133
|
+
Q.HttpStatusCode = kn;
|
|
2134
|
+
Q.default = Q;
|
|
2135
2135
|
const {
|
|
2136
|
-
Axios:
|
|
2137
|
-
AxiosError:
|
|
2138
|
-
CanceledError:
|
|
2139
|
-
isCancel:
|
|
2140
|
-
CancelToken:
|
|
2141
|
-
VERSION:
|
|
2142
|
-
all:
|
|
2143
|
-
Cancel:
|
|
2144
|
-
isAxiosError:
|
|
2145
|
-
spread:
|
|
2146
|
-
toFormData:
|
|
2147
|
-
AxiosHeaders:
|
|
2136
|
+
Axios: Uu,
|
|
2137
|
+
AxiosError: Mu,
|
|
2138
|
+
CanceledError: xu,
|
|
2139
|
+
isCancel: Vu,
|
|
2140
|
+
CancelToken: $u,
|
|
2141
|
+
VERSION: Bu,
|
|
2142
|
+
all: ju,
|
|
2143
|
+
Cancel: Hu,
|
|
2144
|
+
isAxiosError: Wu,
|
|
2145
|
+
spread: qu,
|
|
2146
|
+
toFormData: Gu,
|
|
2147
|
+
AxiosHeaders: Yu,
|
|
2148
2148
|
HttpStatusCode: xr,
|
|
2149
|
-
formToJSON:
|
|
2150
|
-
getAdapter:
|
|
2151
|
-
mergeConfig:
|
|
2152
|
-
} =
|
|
2153
|
-
let
|
|
2154
|
-
function
|
|
2155
|
-
if (
|
|
2149
|
+
formToJSON: Ku,
|
|
2150
|
+
getAdapter: Xu,
|
|
2151
|
+
mergeConfig: Ju
|
|
2152
|
+
} = Q;
|
|
2153
|
+
let jt = null;
|
|
2154
|
+
function Qu(e) {
|
|
2155
|
+
if (jt !== null) {
|
|
2156
2156
|
console.warn(
|
|
2157
2157
|
"[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
|
|
2158
2158
|
);
|
|
2159
2159
|
return;
|
|
2160
2160
|
}
|
|
2161
|
-
|
|
2161
|
+
jt = e;
|
|
2162
2162
|
}
|
|
2163
2163
|
function ke() {
|
|
2164
|
-
if (
|
|
2164
|
+
if (jt === null)
|
|
2165
2165
|
throw new Error(
|
|
2166
2166
|
"[LinID CoreLib] HTTP client is not initialized. Call setHttpClient() first."
|
|
2167
2167
|
);
|
|
2168
|
-
return
|
|
2168
|
+
return jt;
|
|
2169
2169
|
}
|
|
2170
2170
|
const Ks = /* @__PURE__ */ new Map();
|
|
2171
|
-
function
|
|
2171
|
+
function zu(e) {
|
|
2172
2172
|
Ks.set(e.instanceId, e);
|
|
2173
2173
|
}
|
|
2174
2174
|
function st(e) {
|
|
@@ -2179,25 +2179,25 @@ function st(e) {
|
|
|
2179
2179
|
);
|
|
2180
2180
|
return t;
|
|
2181
2181
|
}
|
|
2182
|
-
async function
|
|
2182
|
+
async function Zu(e, t) {
|
|
2183
2183
|
const n = st(e);
|
|
2184
2184
|
return ke().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
|
|
2185
2185
|
}
|
|
2186
|
-
async function
|
|
2186
|
+
async function ef(e, t, n) {
|
|
2187
2187
|
const r = st(e);
|
|
2188
2188
|
return ke().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
|
|
2189
2189
|
}
|
|
2190
|
-
async function
|
|
2190
|
+
async function tf(e, t, n) {
|
|
2191
2191
|
const r = st(e);
|
|
2192
2192
|
return ke().get(`/${r.apiEndpoint}`, {
|
|
2193
2193
|
params: { ...t, ...n }
|
|
2194
2194
|
}).then(({ data: s }) => s);
|
|
2195
2195
|
}
|
|
2196
|
-
async function
|
|
2196
|
+
async function nf(e, t) {
|
|
2197
2197
|
const n = st(e);
|
|
2198
2198
|
return ke().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
|
|
2199
2199
|
}
|
|
2200
|
-
async function
|
|
2200
|
+
async function rf(e, t) {
|
|
2201
2201
|
const n = st(e);
|
|
2202
2202
|
return ke().delete(`/${n.apiEndpoint}/${t}`);
|
|
2203
2203
|
}
|
|
@@ -2228,19 +2228,19 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2228
2228
|
}
|
|
2229
2229
|
const ka = /\{([0-9a-zA-Z]+)\}/g;
|
|
2230
2230
|
function nn(e, ...t) {
|
|
2231
|
-
return t.length === 1 &&
|
|
2231
|
+
return t.length === 1 && B(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ka, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
2232
2232
|
}
|
|
2233
2233
|
const Ie = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Fa = (e, t, n) => Ua({ l: e, k: t, s: n }), Ua = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), Ma = (e) => or(e) === "[object Date]", Ht = (e) => or(e) === "[object RegExp]", rn = (e) => $(e) && Object.keys(e).length === 0, te = Object.assign, xa = Object.create, H = (e = null) => xa(e);
|
|
2234
2234
|
let $r;
|
|
2235
2235
|
const He = () => $r || ($r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : H());
|
|
2236
|
-
function
|
|
2236
|
+
function Br(e) {
|
|
2237
2237
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/").replace(/=/g, "=");
|
|
2238
2238
|
}
|
|
2239
|
-
function
|
|
2239
|
+
function jr(e) {
|
|
2240
2240
|
return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">");
|
|
2241
2241
|
}
|
|
2242
2242
|
function Va(e) {
|
|
2243
|
-
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${
|
|
2243
|
+
return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${jr(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, o) => `${s}='${jr(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1on$3")), [
|
|
2244
2244
|
// In href, src, action, formaction attributes
|
|
2245
2245
|
/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
|
|
2246
2246
|
// In style attributes within url()
|
|
@@ -2253,7 +2253,7 @@ const $a = Object.prototype.hasOwnProperty;
|
|
|
2253
2253
|
function he(e, t) {
|
|
2254
2254
|
return $a.call(e, t);
|
|
2255
2255
|
}
|
|
2256
|
-
const J = Array.isArray, G = (e) => typeof e == "function", w = (e) => typeof e == "string", X = (e) => typeof e == "boolean",
|
|
2256
|
+
const J = Array.isArray, G = (e) => typeof e == "function", w = (e) => typeof e == "string", X = (e) => typeof e == "boolean", B = (e) => e !== null && typeof e == "object", Ba = (e) => B(e) && G(e.then) && G(e.catch), Xs = Object.prototype.toString, or = (e) => Xs.call(e), $ = (e) => or(e) === "[object Object]", ja = (e) => e == null ? "" : J(e) || $(e) && e.toString === Xs ? JSON.stringify(e, null, 2) : String(e);
|
|
2257
2257
|
function ir(e, t = "") {
|
|
2258
2258
|
return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
|
|
2259
2259
|
}
|
|
@@ -2271,12 +2271,12 @@ function Ha(e, t = 0, n = e.length) {
|
|
|
2271
2271
|
o.push(`${c}${" ".repeat(3 - String(c).length)}| ${r[a]}`);
|
|
2272
2272
|
const u = r[a].length;
|
|
2273
2273
|
if (a === i) {
|
|
2274
|
-
const
|
|
2275
|
-
o.push(" | " + " ".repeat(
|
|
2274
|
+
const l = t - (s - u) + 1, p = Math.max(1, n > s ? u - l : n - t);
|
|
2275
|
+
o.push(" | " + " ".repeat(l) + "^".repeat(p));
|
|
2276
2276
|
} else if (a > i) {
|
|
2277
2277
|
if (n > s) {
|
|
2278
|
-
const
|
|
2279
|
-
o.push(" | " + "^".repeat(
|
|
2278
|
+
const l = Math.max(Math.min(n - s, u), 1);
|
|
2279
|
+
o.push(" | " + "^".repeat(l));
|
|
2280
2280
|
}
|
|
2281
2281
|
s += u + 1;
|
|
2282
2282
|
}
|
|
@@ -2303,7 +2303,7 @@ function Wa() {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
}
|
|
2306
|
-
const vt = (e) => !
|
|
2306
|
+
const vt = (e) => !B(e) || J(e);
|
|
2307
2307
|
function kt(e, t) {
|
|
2308
2308
|
if (vt(e) || vt(t))
|
|
2309
2309
|
throw new Error("Invalid value");
|
|
@@ -2311,7 +2311,7 @@ function kt(e, t) {
|
|
|
2311
2311
|
for (; n.length; ) {
|
|
2312
2312
|
const { src: r, des: s } = n.pop();
|
|
2313
2313
|
Object.keys(r).forEach((o) => {
|
|
2314
|
-
o !== "__proto__" && (
|
|
2314
|
+
o !== "__proto__" && (B(r[o]) && !B(s[o]) && (s[o] = Array.isArray(r[o]) ? [] : H()), vt(s[o]) || vt(r[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] }));
|
|
2315
2315
|
});
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
@@ -2371,14 +2371,14 @@ function ot(e, t, n = {}) {
|
|
|
2371
2371
|
function Ka(e) {
|
|
2372
2372
|
throw e;
|
|
2373
2373
|
}
|
|
2374
|
-
const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ",
|
|
2375
|
-
`,
|
|
2374
|
+
const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ", Qa = "\r", oe = `
|
|
2375
|
+
`, za = "\u2028", Za = "\u2029";
|
|
2376
2376
|
function ec(e) {
|
|
2377
2377
|
const t = e;
|
|
2378
2378
|
let n = 0, r = 1, s = 1, o = 0;
|
|
2379
|
-
const i = (
|
|
2379
|
+
const i = (_) => t[_] === Qa && t[_ + 1] === oe, a = (_) => t[_] === oe, c = (_) => t[_] === Za, u = (_) => t[_] === za, l = (_) => i(_) || a(_) || c(_) || u(_), p = () => n, g = () => r, A = () => s, E = () => o, b = (_) => i(_) || c(_) || u(_) ? oe : t[_], S = () => b(n), m = () => b(n + o);
|
|
2380
2380
|
function N() {
|
|
2381
|
-
return o = 0,
|
|
2381
|
+
return o = 0, l(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
|
|
2382
2382
|
}
|
|
2383
2383
|
function T() {
|
|
2384
2384
|
return i(n + o) && o++, o++, t[n + o];
|
|
@@ -2386,23 +2386,23 @@ function ec(e) {
|
|
|
2386
2386
|
function y() {
|
|
2387
2387
|
n = 0, r = 1, s = 1, o = 0;
|
|
2388
2388
|
}
|
|
2389
|
-
function C(
|
|
2390
|
-
o =
|
|
2389
|
+
function C(_ = 0) {
|
|
2390
|
+
o = _;
|
|
2391
2391
|
}
|
|
2392
2392
|
function R() {
|
|
2393
|
-
const
|
|
2394
|
-
for (;
|
|
2393
|
+
const _ = n + o;
|
|
2394
|
+
for (; _ !== n; )
|
|
2395
2395
|
N();
|
|
2396
2396
|
o = 0;
|
|
2397
2397
|
}
|
|
2398
2398
|
return {
|
|
2399
|
-
index:
|
|
2399
|
+
index: p,
|
|
2400
2400
|
line: g,
|
|
2401
2401
|
column: A,
|
|
2402
2402
|
peekOffset: E,
|
|
2403
2403
|
charAt: b,
|
|
2404
2404
|
currentChar: S,
|
|
2405
|
-
currentPeek:
|
|
2405
|
+
currentPeek: m,
|
|
2406
2406
|
next: N,
|
|
2407
2407
|
peek: T,
|
|
2408
2408
|
reset: y,
|
|
@@ -2424,381 +2424,381 @@ function rc(e, t = {}) {
|
|
|
2424
2424
|
braceNest: 0,
|
|
2425
2425
|
inLinked: !1,
|
|
2426
2426
|
text: ""
|
|
2427
|
-
}, u = () => c, { onError:
|
|
2428
|
-
function
|
|
2427
|
+
}, u = () => c, { onError: l } = t;
|
|
2428
|
+
function p(f, d, L, ...D) {
|
|
2429
2429
|
const q = u();
|
|
2430
|
-
if (
|
|
2431
|
-
const Y = n ? Fn(q.startLoc,
|
|
2430
|
+
if (d.column += L, d.offset += L, l) {
|
|
2431
|
+
const Y = n ? Fn(q.startLoc, d) : null, V = ot(f, Y, {
|
|
2432
2432
|
domain: nc,
|
|
2433
2433
|
args: D
|
|
2434
2434
|
});
|
|
2435
|
-
|
|
2435
|
+
l(V);
|
|
2436
2436
|
}
|
|
2437
2437
|
}
|
|
2438
|
-
function g(
|
|
2439
|
-
|
|
2440
|
-
const D = { type:
|
|
2441
|
-
return n && (D.loc = Fn(
|
|
2438
|
+
function g(f, d, L) {
|
|
2439
|
+
f.endLoc = o(), f.currentType = d;
|
|
2440
|
+
const D = { type: d };
|
|
2441
|
+
return n && (D.loc = Fn(f.startLoc, f.endLoc)), L != null && (D.value = L), D;
|
|
2442
2442
|
}
|
|
2443
|
-
const A = (
|
|
2444
|
-
|
|
2443
|
+
const A = (f) => g(
|
|
2444
|
+
f,
|
|
2445
2445
|
13
|
|
2446
2446
|
/* TokenTypes.EOF */
|
|
2447
2447
|
);
|
|
2448
|
-
function E(
|
|
2449
|
-
return
|
|
2448
|
+
function E(f, d) {
|
|
2449
|
+
return f.currentChar() === d ? (f.next(), d) : (p(F.EXPECTED_TOKEN, o(), 0, d), "");
|
|
2450
2450
|
}
|
|
2451
|
-
function b(
|
|
2452
|
-
let
|
|
2453
|
-
for (;
|
|
2454
|
-
|
|
2455
|
-
return
|
|
2451
|
+
function b(f) {
|
|
2452
|
+
let d = "";
|
|
2453
|
+
for (; f.currentPeek() === Oe || f.currentPeek() === oe; )
|
|
2454
|
+
d += f.currentPeek(), f.peek();
|
|
2455
|
+
return d;
|
|
2456
2456
|
}
|
|
2457
|
-
function S(
|
|
2458
|
-
const
|
|
2459
|
-
return
|
|
2457
|
+
function S(f) {
|
|
2458
|
+
const d = b(f);
|
|
2459
|
+
return f.skipToPeek(), d;
|
|
2460
2460
|
}
|
|
2461
|
-
function
|
|
2462
|
-
if (
|
|
2461
|
+
function m(f) {
|
|
2462
|
+
if (f === Ae)
|
|
2463
2463
|
return !1;
|
|
2464
|
-
const
|
|
2465
|
-
return
|
|
2466
|
-
|
|
2467
|
-
|
|
2464
|
+
const d = f.charCodeAt(0);
|
|
2465
|
+
return d >= 97 && d <= 122 || // a-z
|
|
2466
|
+
d >= 65 && d <= 90 || // A-Z
|
|
2467
|
+
d === 95;
|
|
2468
2468
|
}
|
|
2469
|
-
function N(
|
|
2470
|
-
if (
|
|
2469
|
+
function N(f) {
|
|
2470
|
+
if (f === Ae)
|
|
2471
2471
|
return !1;
|
|
2472
|
-
const
|
|
2473
|
-
return
|
|
2472
|
+
const d = f.charCodeAt(0);
|
|
2473
|
+
return d >= 48 && d <= 57;
|
|
2474
2474
|
}
|
|
2475
|
-
function T(
|
|
2476
|
-
const { currentType: L } =
|
|
2475
|
+
function T(f, d) {
|
|
2476
|
+
const { currentType: L } = d;
|
|
2477
2477
|
if (L !== 2)
|
|
2478
2478
|
return !1;
|
|
2479
|
-
b(
|
|
2480
|
-
const D =
|
|
2481
|
-
return
|
|
2479
|
+
b(f);
|
|
2480
|
+
const D = m(f.currentPeek());
|
|
2481
|
+
return f.resetPeek(), D;
|
|
2482
2482
|
}
|
|
2483
|
-
function y(
|
|
2484
|
-
const { currentType: L } =
|
|
2483
|
+
function y(f, d) {
|
|
2484
|
+
const { currentType: L } = d;
|
|
2485
2485
|
if (L !== 2)
|
|
2486
2486
|
return !1;
|
|
2487
|
-
b(
|
|
2488
|
-
const D =
|
|
2489
|
-
return
|
|
2487
|
+
b(f);
|
|
2488
|
+
const D = f.currentPeek() === "-" ? f.peek() : f.currentPeek(), q = N(D);
|
|
2489
|
+
return f.resetPeek(), q;
|
|
2490
2490
|
}
|
|
2491
|
-
function C(
|
|
2492
|
-
const { currentType: L } =
|
|
2491
|
+
function C(f, d) {
|
|
2492
|
+
const { currentType: L } = d;
|
|
2493
2493
|
if (L !== 2)
|
|
2494
2494
|
return !1;
|
|
2495
|
-
b(
|
|
2496
|
-
const D =
|
|
2497
|
-
return
|
|
2495
|
+
b(f);
|
|
2496
|
+
const D = f.currentPeek() === Wr;
|
|
2497
|
+
return f.resetPeek(), D;
|
|
2498
2498
|
}
|
|
2499
|
-
function R(
|
|
2500
|
-
const { currentType: L } =
|
|
2499
|
+
function R(f, d) {
|
|
2500
|
+
const { currentType: L } = d;
|
|
2501
2501
|
if (L !== 7)
|
|
2502
2502
|
return !1;
|
|
2503
|
-
b(
|
|
2504
|
-
const D =
|
|
2505
|
-
return
|
|
2503
|
+
b(f);
|
|
2504
|
+
const D = f.currentPeek() === ".";
|
|
2505
|
+
return f.resetPeek(), D;
|
|
2506
2506
|
}
|
|
2507
|
-
function
|
|
2508
|
-
const { currentType: L } =
|
|
2507
|
+
function _(f, d) {
|
|
2508
|
+
const { currentType: L } = d;
|
|
2509
2509
|
if (L !== 8)
|
|
2510
2510
|
return !1;
|
|
2511
|
-
b(
|
|
2512
|
-
const D =
|
|
2513
|
-
return
|
|
2511
|
+
b(f);
|
|
2512
|
+
const D = m(f.currentPeek());
|
|
2513
|
+
return f.resetPeek(), D;
|
|
2514
2514
|
}
|
|
2515
|
-
function x(
|
|
2516
|
-
const { currentType: L } =
|
|
2515
|
+
function x(f, d) {
|
|
2516
|
+
const { currentType: L } = d;
|
|
2517
2517
|
if (!(L === 7 || L === 11))
|
|
2518
2518
|
return !1;
|
|
2519
|
-
b(
|
|
2520
|
-
const D =
|
|
2521
|
-
return
|
|
2519
|
+
b(f);
|
|
2520
|
+
const D = f.currentPeek() === ":";
|
|
2521
|
+
return f.resetPeek(), D;
|
|
2522
2522
|
}
|
|
2523
|
-
function U(
|
|
2524
|
-
const { currentType: L } =
|
|
2523
|
+
function U(f, d) {
|
|
2524
|
+
const { currentType: L } = d;
|
|
2525
2525
|
if (L !== 9)
|
|
2526
2526
|
return !1;
|
|
2527
2527
|
const D = () => {
|
|
2528
|
-
const Y =
|
|
2529
|
-
return Y === "{" ?
|
|
2528
|
+
const Y = f.currentPeek();
|
|
2529
|
+
return Y === "{" ? m(f.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === Oe || !Y ? !1 : Y === oe ? (f.peek(), D()) : P(f, !1);
|
|
2530
2530
|
}, q = D();
|
|
2531
|
-
return
|
|
2531
|
+
return f.resetPeek(), q;
|
|
2532
2532
|
}
|
|
2533
|
-
function I(
|
|
2534
|
-
b(
|
|
2535
|
-
const
|
|
2536
|
-
return
|
|
2533
|
+
function I(f) {
|
|
2534
|
+
b(f);
|
|
2535
|
+
const d = f.currentPeek() === "|";
|
|
2536
|
+
return f.resetPeek(), d;
|
|
2537
2537
|
}
|
|
2538
|
-
function P(
|
|
2538
|
+
function P(f, d = !0) {
|
|
2539
2539
|
const L = (q = !1, Y = "") => {
|
|
2540
|
-
const V =
|
|
2541
|
-
return V === "{" || V === "@" || !V ? q : V === "|" ? !(Y === Oe || Y === oe) : V === Oe ? (
|
|
2540
|
+
const V = f.currentPeek();
|
|
2541
|
+
return V === "{" || V === "@" || !V ? q : V === "|" ? !(Y === Oe || Y === oe) : V === Oe ? (f.peek(), L(!0, Oe)) : V === oe ? (f.peek(), L(!0, oe)) : !0;
|
|
2542
2542
|
}, D = L();
|
|
2543
|
-
return
|
|
2544
|
-
}
|
|
2545
|
-
function k(
|
|
2546
|
-
const L =
|
|
2547
|
-
return L === Ae ? Ae :
|
|
2548
|
-
}
|
|
2549
|
-
function W(
|
|
2550
|
-
const
|
|
2551
|
-
return
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
}
|
|
2557
|
-
function ne(
|
|
2558
|
-
return k(
|
|
2559
|
-
}
|
|
2560
|
-
function be(
|
|
2561
|
-
const
|
|
2562
|
-
return
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
}
|
|
2569
|
-
function se(
|
|
2570
|
-
return k(
|
|
2571
|
-
}
|
|
2572
|
-
function Pe(
|
|
2573
|
-
const
|
|
2574
|
-
return
|
|
2575
|
-
}
|
|
2576
|
-
function Z(
|
|
2577
|
-
return k(
|
|
2578
|
-
}
|
|
2579
|
-
function
|
|
2580
|
-
const
|
|
2581
|
-
return
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
}
|
|
2585
|
-
function _e(
|
|
2586
|
-
return k(
|
|
2587
|
-
}
|
|
2588
|
-
function ce(
|
|
2589
|
-
let
|
|
2590
|
-
for (;
|
|
2591
|
-
L +=
|
|
2543
|
+
return d && f.resetPeek(), D;
|
|
2544
|
+
}
|
|
2545
|
+
function k(f, d) {
|
|
2546
|
+
const L = f.currentChar();
|
|
2547
|
+
return L === Ae ? Ae : d(L) ? (f.next(), L) : null;
|
|
2548
|
+
}
|
|
2549
|
+
function W(f) {
|
|
2550
|
+
const d = f.charCodeAt(0);
|
|
2551
|
+
return d >= 97 && d <= 122 || // a-z
|
|
2552
|
+
d >= 65 && d <= 90 || // A-Z
|
|
2553
|
+
d >= 48 && d <= 57 || // 0-9
|
|
2554
|
+
d === 95 || // _
|
|
2555
|
+
d === 36;
|
|
2556
|
+
}
|
|
2557
|
+
function ne(f) {
|
|
2558
|
+
return k(f, W);
|
|
2559
|
+
}
|
|
2560
|
+
function be(f) {
|
|
2561
|
+
const d = f.charCodeAt(0);
|
|
2562
|
+
return d >= 97 && d <= 122 || // a-z
|
|
2563
|
+
d >= 65 && d <= 90 || // A-Z
|
|
2564
|
+
d >= 48 && d <= 57 || // 0-9
|
|
2565
|
+
d === 95 || // _
|
|
2566
|
+
d === 36 || // $
|
|
2567
|
+
d === 45;
|
|
2568
|
+
}
|
|
2569
|
+
function se(f) {
|
|
2570
|
+
return k(f, be);
|
|
2571
|
+
}
|
|
2572
|
+
function Pe(f) {
|
|
2573
|
+
const d = f.charCodeAt(0);
|
|
2574
|
+
return d >= 48 && d <= 57;
|
|
2575
|
+
}
|
|
2576
|
+
function Z(f) {
|
|
2577
|
+
return k(f, Pe);
|
|
2578
|
+
}
|
|
2579
|
+
function z(f) {
|
|
2580
|
+
const d = f.charCodeAt(0);
|
|
2581
|
+
return d >= 48 && d <= 57 || // 0-9
|
|
2582
|
+
d >= 65 && d <= 70 || // A-F
|
|
2583
|
+
d >= 97 && d <= 102;
|
|
2584
|
+
}
|
|
2585
|
+
function _e(f) {
|
|
2586
|
+
return k(f, z);
|
|
2587
|
+
}
|
|
2588
|
+
function ce(f) {
|
|
2589
|
+
let d = "", L = "";
|
|
2590
|
+
for (; d = Z(f); )
|
|
2591
|
+
L += d;
|
|
2592
2592
|
return L;
|
|
2593
2593
|
}
|
|
2594
|
-
function ye(
|
|
2595
|
-
let
|
|
2594
|
+
function ye(f) {
|
|
2595
|
+
let d = "";
|
|
2596
2596
|
for (; ; ) {
|
|
2597
|
-
const L =
|
|
2597
|
+
const L = f.currentChar();
|
|
2598
2598
|
if (L === "{" || L === "}" || L === "@" || L === "|" || !L)
|
|
2599
2599
|
break;
|
|
2600
2600
|
if (L === Oe || L === oe)
|
|
2601
|
-
if (P(
|
|
2602
|
-
|
|
2601
|
+
if (P(f))
|
|
2602
|
+
d += L, f.next();
|
|
2603
2603
|
else {
|
|
2604
|
-
if (I(
|
|
2604
|
+
if (I(f))
|
|
2605
2605
|
break;
|
|
2606
|
-
|
|
2606
|
+
d += L, f.next();
|
|
2607
2607
|
}
|
|
2608
2608
|
else
|
|
2609
|
-
|
|
2609
|
+
d += L, f.next();
|
|
2610
2610
|
}
|
|
2611
|
-
return
|
|
2612
|
-
}
|
|
2613
|
-
function Me(
|
|
2614
|
-
S(
|
|
2615
|
-
let
|
|
2616
|
-
for (;
|
|
2617
|
-
L +=
|
|
2618
|
-
const D =
|
|
2611
|
+
return d;
|
|
2612
|
+
}
|
|
2613
|
+
function Me(f) {
|
|
2614
|
+
S(f);
|
|
2615
|
+
let d = "", L = "";
|
|
2616
|
+
for (; d = se(f); )
|
|
2617
|
+
L += d;
|
|
2618
|
+
const D = f.currentChar();
|
|
2619
2619
|
if (D && D !== "}" && D !== Ae && D !== Oe && D !== oe && D !== " ") {
|
|
2620
|
-
const q = Tt(
|
|
2621
|
-
return
|
|
2620
|
+
const q = Tt(f);
|
|
2621
|
+
return p(F.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, L + q), L + q;
|
|
2622
2622
|
}
|
|
2623
|
-
return
|
|
2624
|
-
}
|
|
2625
|
-
function we(
|
|
2626
|
-
S(
|
|
2627
|
-
let
|
|
2628
|
-
return
|
|
2629
|
-
}
|
|
2630
|
-
function Xe(
|
|
2631
|
-
return
|
|
2632
|
-
}
|
|
2633
|
-
function pr(
|
|
2634
|
-
S(
|
|
2635
|
-
let
|
|
2636
|
-
for (;
|
|
2637
|
-
|
|
2638
|
-
const D =
|
|
2639
|
-
return D === oe || D === Ae ? (
|
|
2640
|
-
}
|
|
2641
|
-
function un(
|
|
2642
|
-
const
|
|
2643
|
-
switch (
|
|
2623
|
+
return f.currentChar() === Ae && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), L;
|
|
2624
|
+
}
|
|
2625
|
+
function we(f) {
|
|
2626
|
+
S(f);
|
|
2627
|
+
let d = "";
|
|
2628
|
+
return f.currentChar() === "-" ? (f.next(), d += `-${ce(f)}`) : d += ce(f), f.currentChar() === Ae && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d;
|
|
2629
|
+
}
|
|
2630
|
+
function Xe(f) {
|
|
2631
|
+
return f !== Wr && f !== oe;
|
|
2632
|
+
}
|
|
2633
|
+
function pr(f) {
|
|
2634
|
+
S(f), E(f, "'");
|
|
2635
|
+
let d = "", L = "";
|
|
2636
|
+
for (; d = k(f, Xe); )
|
|
2637
|
+
d === "\\" ? L += un(f) : L += d;
|
|
2638
|
+
const D = f.currentChar();
|
|
2639
|
+
return D === oe || D === Ae ? (p(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), D === oe && (f.next(), E(f, "'")), L) : (E(f, "'"), L);
|
|
2640
|
+
}
|
|
2641
|
+
function un(f) {
|
|
2642
|
+
const d = f.currentChar();
|
|
2643
|
+
switch (d) {
|
|
2644
2644
|
case "\\":
|
|
2645
2645
|
case "'":
|
|
2646
|
-
return
|
|
2646
|
+
return f.next(), `\\${d}`;
|
|
2647
2647
|
case "u":
|
|
2648
|
-
return St(
|
|
2648
|
+
return St(f, d, 4);
|
|
2649
2649
|
case "U":
|
|
2650
|
-
return St(
|
|
2650
|
+
return St(f, d, 6);
|
|
2651
2651
|
default:
|
|
2652
|
-
return
|
|
2652
|
+
return p(F.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, d), "";
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
|
-
function St(
|
|
2656
|
-
E(
|
|
2655
|
+
function St(f, d, L) {
|
|
2656
|
+
E(f, d);
|
|
2657
2657
|
let D = "";
|
|
2658
2658
|
for (let q = 0; q < L; q++) {
|
|
2659
|
-
const Y = _e(
|
|
2659
|
+
const Y = _e(f);
|
|
2660
2660
|
if (!Y) {
|
|
2661
|
-
|
|
2661
|
+
p(F.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${d}${D}${f.currentChar()}`);
|
|
2662
2662
|
break;
|
|
2663
2663
|
}
|
|
2664
2664
|
D += Y;
|
|
2665
2665
|
}
|
|
2666
|
-
return `\\${
|
|
2666
|
+
return `\\${d}${D}`;
|
|
2667
2667
|
}
|
|
2668
|
-
function fn(
|
|
2669
|
-
return
|
|
2668
|
+
function fn(f) {
|
|
2669
|
+
return f !== "{" && f !== "}" && f !== Oe && f !== oe;
|
|
2670
2670
|
}
|
|
2671
|
-
function Tt(
|
|
2672
|
-
S(
|
|
2673
|
-
let
|
|
2674
|
-
for (;
|
|
2675
|
-
L +=
|
|
2671
|
+
function Tt(f) {
|
|
2672
|
+
S(f);
|
|
2673
|
+
let d = "", L = "";
|
|
2674
|
+
for (; d = k(f, fn); )
|
|
2675
|
+
L += d;
|
|
2676
2676
|
return L;
|
|
2677
2677
|
}
|
|
2678
|
-
function dn(
|
|
2679
|
-
let
|
|
2680
|
-
for (;
|
|
2681
|
-
L +=
|
|
2678
|
+
function dn(f) {
|
|
2679
|
+
let d = "", L = "";
|
|
2680
|
+
for (; d = ne(f); )
|
|
2681
|
+
L += d;
|
|
2682
2682
|
return L;
|
|
2683
2683
|
}
|
|
2684
|
-
function pn(
|
|
2685
|
-
const
|
|
2686
|
-
const D =
|
|
2687
|
-
return D === "{" || D === "@" || D === "|" || D === "(" || D === ")" || !D || D === Oe ? L : (L += D,
|
|
2684
|
+
function pn(f) {
|
|
2685
|
+
const d = (L) => {
|
|
2686
|
+
const D = f.currentChar();
|
|
2687
|
+
return D === "{" || D === "@" || D === "|" || D === "(" || D === ")" || !D || D === Oe ? L : (L += D, f.next(), d(L));
|
|
2688
2688
|
};
|
|
2689
|
-
return
|
|
2689
|
+
return d("");
|
|
2690
2690
|
}
|
|
2691
|
-
function it(
|
|
2692
|
-
S(
|
|
2693
|
-
const
|
|
2694
|
-
|
|
2691
|
+
function it(f) {
|
|
2692
|
+
S(f);
|
|
2693
|
+
const d = E(
|
|
2694
|
+
f,
|
|
2695
2695
|
"|"
|
|
2696
2696
|
/* TokenChars.Pipe */
|
|
2697
2697
|
);
|
|
2698
|
-
return S(
|
|
2698
|
+
return S(f), d;
|
|
2699
2699
|
}
|
|
2700
|
-
function at(
|
|
2700
|
+
function at(f, d) {
|
|
2701
2701
|
let L = null;
|
|
2702
|
-
switch (
|
|
2702
|
+
switch (f.currentChar()) {
|
|
2703
2703
|
case "{":
|
|
2704
|
-
return
|
|
2705
|
-
|
|
2704
|
+
return d.braceNest >= 1 && p(F.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), f.next(), L = g(
|
|
2705
|
+
d,
|
|
2706
2706
|
2,
|
|
2707
2707
|
"{"
|
|
2708
2708
|
/* TokenChars.BraceLeft */
|
|
2709
|
-
), S(
|
|
2709
|
+
), S(f), d.braceNest++, L;
|
|
2710
2710
|
case "}":
|
|
2711
|
-
return
|
|
2712
|
-
|
|
2711
|
+
return d.braceNest > 0 && d.currentType === 2 && p(F.EMPTY_PLACEHOLDER, o(), 0), f.next(), L = g(
|
|
2712
|
+
d,
|
|
2713
2713
|
3,
|
|
2714
2714
|
"}"
|
|
2715
2715
|
/* TokenChars.BraceRight */
|
|
2716
|
-
),
|
|
2716
|
+
), d.braceNest--, d.braceNest > 0 && S(f), d.inLinked && d.braceNest === 0 && (d.inLinked = !1), L;
|
|
2717
2717
|
case "@":
|
|
2718
|
-
return
|
|
2718
|
+
return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), L = xe(f, d) || A(d), d.braceNest = 0, L;
|
|
2719
2719
|
default: {
|
|
2720
2720
|
let q = !0, Y = !0, V = !0;
|
|
2721
|
-
if (I(
|
|
2722
|
-
return
|
|
2723
|
-
if (
|
|
2724
|
-
return
|
|
2725
|
-
if (q = T(
|
|
2726
|
-
return L = g(
|
|
2727
|
-
if (Y = y(
|
|
2728
|
-
return L = g(
|
|
2729
|
-
if (V = C(
|
|
2730
|
-
return L = g(
|
|
2721
|
+
if (I(f))
|
|
2722
|
+
return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), L = g(d, 1, it(f)), d.braceNest = 0, d.inLinked = !1, L;
|
|
2723
|
+
if (d.braceNest > 0 && (d.currentType === 4 || d.currentType === 5 || d.currentType === 6))
|
|
2724
|
+
return p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d.braceNest = 0, ct(f, d);
|
|
2725
|
+
if (q = T(f, d))
|
|
2726
|
+
return L = g(d, 4, Me(f)), S(f), L;
|
|
2727
|
+
if (Y = y(f, d))
|
|
2728
|
+
return L = g(d, 5, we(f)), S(f), L;
|
|
2729
|
+
if (V = C(f, d))
|
|
2730
|
+
return L = g(d, 6, pr(f)), S(f), L;
|
|
2731
2731
|
if (!q && !Y && !V)
|
|
2732
|
-
return L = g(
|
|
2732
|
+
return L = g(d, 12, Tt(f)), p(F.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, L.value), S(f), L;
|
|
2733
2733
|
break;
|
|
2734
2734
|
}
|
|
2735
2735
|
}
|
|
2736
2736
|
return L;
|
|
2737
2737
|
}
|
|
2738
|
-
function xe(
|
|
2739
|
-
const { currentType: L } =
|
|
2738
|
+
function xe(f, d) {
|
|
2739
|
+
const { currentType: L } = d;
|
|
2740
2740
|
let D = null;
|
|
2741
|
-
const q =
|
|
2742
|
-
switch ((L === 7 || L === 8 || L === 11 || L === 9) && (q === oe || q === Oe) &&
|
|
2741
|
+
const q = f.currentChar();
|
|
2742
|
+
switch ((L === 7 || L === 8 || L === 11 || L === 9) && (q === oe || q === Oe) && p(F.INVALID_LINKED_FORMAT, o(), 0), q) {
|
|
2743
2743
|
case "@":
|
|
2744
|
-
return
|
|
2745
|
-
|
|
2744
|
+
return f.next(), D = g(
|
|
2745
|
+
d,
|
|
2746
2746
|
7,
|
|
2747
2747
|
"@"
|
|
2748
2748
|
/* TokenChars.LinkedAlias */
|
|
2749
|
-
),
|
|
2749
|
+
), d.inLinked = !0, D;
|
|
2750
2750
|
case ".":
|
|
2751
|
-
return S(
|
|
2752
|
-
|
|
2751
|
+
return S(f), f.next(), g(
|
|
2752
|
+
d,
|
|
2753
2753
|
8,
|
|
2754
2754
|
"."
|
|
2755
2755
|
/* TokenChars.LinkedDot */
|
|
2756
2756
|
);
|
|
2757
2757
|
case ":":
|
|
2758
|
-
return S(
|
|
2759
|
-
|
|
2758
|
+
return S(f), f.next(), g(
|
|
2759
|
+
d,
|
|
2760
2760
|
9,
|
|
2761
2761
|
":"
|
|
2762
2762
|
/* TokenChars.LinkedDelimiter */
|
|
2763
2763
|
);
|
|
2764
2764
|
default:
|
|
2765
|
-
return I(
|
|
2765
|
+
return I(f) ? (D = g(d, 1, it(f)), d.braceNest = 0, d.inLinked = !1, D) : R(f, d) || x(f, d) ? (S(f), xe(f, d)) : _(f, d) ? (S(f), g(d, 11, dn(f))) : U(f, d) ? (S(f), q === "{" ? at(f, d) || D : g(d, 10, pn(f))) : (L === 7 && p(F.INVALID_LINKED_FORMAT, o(), 0), d.braceNest = 0, d.inLinked = !1, ct(f, d));
|
|
2766
2766
|
}
|
|
2767
2767
|
}
|
|
2768
|
-
function ct(
|
|
2768
|
+
function ct(f, d) {
|
|
2769
2769
|
let L = {
|
|
2770
2770
|
type: 13
|
|
2771
2771
|
/* TokenTypes.EOF */
|
|
2772
2772
|
};
|
|
2773
|
-
if (
|
|
2774
|
-
return at(
|
|
2775
|
-
if (
|
|
2776
|
-
return xe(
|
|
2777
|
-
switch (
|
|
2773
|
+
if (d.braceNest > 0)
|
|
2774
|
+
return at(f, d) || A(d);
|
|
2775
|
+
if (d.inLinked)
|
|
2776
|
+
return xe(f, d) || A(d);
|
|
2777
|
+
switch (f.currentChar()) {
|
|
2778
2778
|
case "{":
|
|
2779
|
-
return at(
|
|
2779
|
+
return at(f, d) || A(d);
|
|
2780
2780
|
case "}":
|
|
2781
|
-
return
|
|
2782
|
-
|
|
2781
|
+
return p(F.UNBALANCED_CLOSING_BRACE, o(), 0), f.next(), g(
|
|
2782
|
+
d,
|
|
2783
2783
|
3,
|
|
2784
2784
|
"}"
|
|
2785
2785
|
/* TokenChars.BraceRight */
|
|
2786
2786
|
);
|
|
2787
2787
|
case "@":
|
|
2788
|
-
return xe(
|
|
2788
|
+
return xe(f, d) || A(d);
|
|
2789
2789
|
default: {
|
|
2790
|
-
if (I(
|
|
2791
|
-
return L = g(
|
|
2792
|
-
if (P(
|
|
2793
|
-
return g(
|
|
2790
|
+
if (I(f))
|
|
2791
|
+
return L = g(d, 1, it(f)), d.braceNest = 0, d.inLinked = !1, L;
|
|
2792
|
+
if (P(f))
|
|
2793
|
+
return g(d, 0, ye(f));
|
|
2794
2794
|
break;
|
|
2795
2795
|
}
|
|
2796
2796
|
}
|
|
2797
2797
|
return L;
|
|
2798
2798
|
}
|
|
2799
2799
|
function mn() {
|
|
2800
|
-
const { currentType:
|
|
2801
|
-
return c.lastType =
|
|
2800
|
+
const { currentType: f, offset: d, startLoc: L, endLoc: D } = c;
|
|
2801
|
+
return c.lastType = f, c.lastOffset = d, c.lastStartLoc = L, c.lastEndLoc = D, c.offset = s(), c.startLoc = o(), r.currentChar() === Ae ? g(
|
|
2802
2802
|
c,
|
|
2803
2803
|
13
|
|
2804
2804
|
/* TokenTypes.EOF */
|
|
@@ -2827,132 +2827,132 @@ function ic(e, t, n) {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
function ac(e = {}) {
|
|
2829
2829
|
const t = e.location !== !1, { onError: n } = e;
|
|
2830
|
-
function r(
|
|
2831
|
-
const R =
|
|
2830
|
+
function r(m, N, T, y, ...C) {
|
|
2831
|
+
const R = m.currentPosition();
|
|
2832
2832
|
if (R.offset += y, R.column += y, n) {
|
|
2833
|
-
const
|
|
2833
|
+
const _ = t ? Fn(T, R) : null, x = ot(N, _, {
|
|
2834
2834
|
domain: sc,
|
|
2835
2835
|
args: C
|
|
2836
2836
|
});
|
|
2837
2837
|
n(x);
|
|
2838
2838
|
}
|
|
2839
2839
|
}
|
|
2840
|
-
function s(
|
|
2841
|
-
const y = { type:
|
|
2840
|
+
function s(m, N, T) {
|
|
2841
|
+
const y = { type: m };
|
|
2842
2842
|
return t && (y.start = N, y.end = N, y.loc = { start: T, end: T }), y;
|
|
2843
2843
|
}
|
|
2844
|
-
function o(
|
|
2845
|
-
t && (
|
|
2844
|
+
function o(m, N, T, y) {
|
|
2845
|
+
t && (m.end = N, m.loc && (m.loc.end = T));
|
|
2846
2846
|
}
|
|
2847
|
-
function i(
|
|
2848
|
-
const T =
|
|
2849
|
-
return y.value = N, o(y,
|
|
2847
|
+
function i(m, N) {
|
|
2848
|
+
const T = m.context(), y = s(3, T.offset, T.startLoc);
|
|
2849
|
+
return y.value = N, o(y, m.currentOffset(), m.currentPosition()), y;
|
|
2850
2850
|
}
|
|
2851
|
-
function a(
|
|
2852
|
-
const T =
|
|
2853
|
-
return R.index = parseInt(N, 10),
|
|
2851
|
+
function a(m, N) {
|
|
2852
|
+
const T = m.context(), { lastOffset: y, lastStartLoc: C } = T, R = s(5, y, C);
|
|
2853
|
+
return R.index = parseInt(N, 10), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
|
|
2854
2854
|
}
|
|
2855
|
-
function c(
|
|
2856
|
-
const T =
|
|
2857
|
-
return R.key = N,
|
|
2855
|
+
function c(m, N) {
|
|
2856
|
+
const T = m.context(), { lastOffset: y, lastStartLoc: C } = T, R = s(4, y, C);
|
|
2857
|
+
return R.key = N, m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
|
|
2858
2858
|
}
|
|
2859
|
-
function u(
|
|
2860
|
-
const T =
|
|
2861
|
-
return R.value = N.replace(oc, ic),
|
|
2859
|
+
function u(m, N) {
|
|
2860
|
+
const T = m.context(), { lastOffset: y, lastStartLoc: C } = T, R = s(9, y, C);
|
|
2861
|
+
return R.value = N.replace(oc, ic), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
|
|
2862
2862
|
}
|
|
2863
|
-
function
|
|
2864
|
-
const N =
|
|
2865
|
-
return N.type !== 11 ? (r(
|
|
2863
|
+
function l(m) {
|
|
2864
|
+
const N = m.nextToken(), T = m.context(), { lastOffset: y, lastStartLoc: C } = T, R = s(8, y, C);
|
|
2865
|
+
return N.type !== 11 ? (r(m, F.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), R.value = "", o(R, y, C), {
|
|
2866
2866
|
nextConsumeToken: N,
|
|
2867
2867
|
node: R
|
|
2868
|
-
}) : (N.value == null && r(
|
|
2868
|
+
}) : (N.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Se(N)), R.value = N.value || "", o(R, m.currentOffset(), m.currentPosition()), {
|
|
2869
2869
|
node: R
|
|
2870
2870
|
});
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2873
|
-
const T =
|
|
2874
|
-
return y.value = N, o(y,
|
|
2872
|
+
function p(m, N) {
|
|
2873
|
+
const T = m.context(), y = s(7, T.offset, T.startLoc);
|
|
2874
|
+
return y.value = N, o(y, m.currentOffset(), m.currentPosition()), y;
|
|
2875
2875
|
}
|
|
2876
|
-
function g(
|
|
2877
|
-
const N =
|
|
2878
|
-
let y =
|
|
2876
|
+
function g(m) {
|
|
2877
|
+
const N = m.context(), T = s(6, N.offset, N.startLoc);
|
|
2878
|
+
let y = m.nextToken();
|
|
2879
2879
|
if (y.type === 8) {
|
|
2880
|
-
const C =
|
|
2881
|
-
T.modifier = C.node, y = C.nextConsumeToken ||
|
|
2880
|
+
const C = l(m);
|
|
2881
|
+
T.modifier = C.node, y = C.nextConsumeToken || m.nextToken();
|
|
2882
2882
|
}
|
|
2883
|
-
switch (y.type !== 9 && r(
|
|
2883
|
+
switch (y.type !== 9 && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(y)), y = m.nextToken(), y.type === 2 && (y = m.nextToken()), y.type) {
|
|
2884
2884
|
case 10:
|
|
2885
|
-
y.value == null && r(
|
|
2885
|
+
y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(y)), T.key = p(m, y.value || "");
|
|
2886
2886
|
break;
|
|
2887
2887
|
case 4:
|
|
2888
|
-
y.value == null && r(
|
|
2888
|
+
y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(y)), T.key = c(m, y.value || "");
|
|
2889
2889
|
break;
|
|
2890
2890
|
case 5:
|
|
2891
|
-
y.value == null && r(
|
|
2891
|
+
y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(y)), T.key = a(m, y.value || "");
|
|
2892
2892
|
break;
|
|
2893
2893
|
case 6:
|
|
2894
|
-
y.value == null && r(
|
|
2894
|
+
y.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(y)), T.key = u(m, y.value || "");
|
|
2895
2895
|
break;
|
|
2896
2896
|
default: {
|
|
2897
|
-
r(
|
|
2898
|
-
const C =
|
|
2897
|
+
r(m, F.UNEXPECTED_EMPTY_LINKED_KEY, N.lastStartLoc, 0);
|
|
2898
|
+
const C = m.context(), R = s(7, C.offset, C.startLoc);
|
|
2899
2899
|
return R.value = "", o(R, C.offset, C.startLoc), T.key = R, o(T, C.offset, C.startLoc), {
|
|
2900
2900
|
nextConsumeToken: y,
|
|
2901
2901
|
node: T
|
|
2902
2902
|
};
|
|
2903
2903
|
}
|
|
2904
2904
|
}
|
|
2905
|
-
return o(T,
|
|
2905
|
+
return o(T, m.currentOffset(), m.currentPosition()), {
|
|
2906
2906
|
node: T
|
|
2907
2907
|
};
|
|
2908
2908
|
}
|
|
2909
|
-
function A(
|
|
2910
|
-
const N =
|
|
2909
|
+
function A(m) {
|
|
2910
|
+
const N = m.context(), T = N.currentType === 1 ? m.currentOffset() : N.offset, y = N.currentType === 1 ? N.endLoc : N.startLoc, C = s(2, T, y);
|
|
2911
2911
|
C.items = [];
|
|
2912
2912
|
let R = null;
|
|
2913
2913
|
do {
|
|
2914
|
-
const U = R ||
|
|
2914
|
+
const U = R || m.nextToken();
|
|
2915
2915
|
switch (R = null, U.type) {
|
|
2916
2916
|
case 0:
|
|
2917
|
-
U.value == null && r(
|
|
2917
|
+
U.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(U)), C.items.push(i(m, U.value || ""));
|
|
2918
2918
|
break;
|
|
2919
2919
|
case 5:
|
|
2920
|
-
U.value == null && r(
|
|
2920
|
+
U.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(U)), C.items.push(a(m, U.value || ""));
|
|
2921
2921
|
break;
|
|
2922
2922
|
case 4:
|
|
2923
|
-
U.value == null && r(
|
|
2923
|
+
U.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(U)), C.items.push(c(m, U.value || ""));
|
|
2924
2924
|
break;
|
|
2925
2925
|
case 6:
|
|
2926
|
-
U.value == null && r(
|
|
2926
|
+
U.value == null && r(m, F.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, Se(U)), C.items.push(u(m, U.value || ""));
|
|
2927
2927
|
break;
|
|
2928
2928
|
case 7: {
|
|
2929
|
-
const I = g(
|
|
2929
|
+
const I = g(m);
|
|
2930
2930
|
C.items.push(I.node), R = I.nextConsumeToken || null;
|
|
2931
2931
|
break;
|
|
2932
2932
|
}
|
|
2933
2933
|
}
|
|
2934
2934
|
} while (N.currentType !== 13 && N.currentType !== 1);
|
|
2935
|
-
const
|
|
2936
|
-
return o(C,
|
|
2935
|
+
const _ = N.currentType === 1 ? N.lastOffset : m.currentOffset(), x = N.currentType === 1 ? N.lastEndLoc : m.currentPosition();
|
|
2936
|
+
return o(C, _, x), C;
|
|
2937
2937
|
}
|
|
2938
|
-
function E(
|
|
2939
|
-
const C =
|
|
2938
|
+
function E(m, N, T, y) {
|
|
2939
|
+
const C = m.context();
|
|
2940
2940
|
let R = y.items.length === 0;
|
|
2941
|
-
const
|
|
2942
|
-
|
|
2941
|
+
const _ = s(1, N, T);
|
|
2942
|
+
_.cases = [], _.cases.push(y);
|
|
2943
2943
|
do {
|
|
2944
|
-
const x = A(
|
|
2945
|
-
R || (R = x.items.length === 0),
|
|
2944
|
+
const x = A(m);
|
|
2945
|
+
R || (R = x.items.length === 0), _.cases.push(x);
|
|
2946
2946
|
} while (C.currentType !== 13);
|
|
2947
|
-
return R && r(
|
|
2947
|
+
return R && r(m, F.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), o(_, m.currentOffset(), m.currentPosition()), _;
|
|
2948
2948
|
}
|
|
2949
|
-
function b(
|
|
2950
|
-
const N =
|
|
2951
|
-
return N.currentType === 13 ? C : E(
|
|
2949
|
+
function b(m) {
|
|
2950
|
+
const N = m.context(), { offset: T, startLoc: y } = N, C = A(m);
|
|
2951
|
+
return N.currentType === 13 ? C : E(m, T, y, C);
|
|
2952
2952
|
}
|
|
2953
|
-
function S(
|
|
2954
|
-
const N = rc(
|
|
2955
|
-
return t && y.loc && (y.loc.source =
|
|
2953
|
+
function S(m) {
|
|
2954
|
+
const N = rc(m, te({}, e)), T = N.context(), y = s(0, T.offset, T.startLoc);
|
|
2955
|
+
return t && y.loc && (y.loc.source = m), y.body = b(N), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), T.currentType !== 13 && r(N, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, m[T.offset] || ""), o(y, N.currentOffset(), N.currentPosition()), y;
|
|
2956
2956
|
}
|
|
2957
2957
|
return { parse: S };
|
|
2958
2958
|
}
|
|
@@ -3049,24 +3049,24 @@ function Gr(e) {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
}
|
|
3051
3051
|
const fc = "minifier";
|
|
3052
|
-
function
|
|
3052
|
+
function ze(e) {
|
|
3053
3053
|
switch (e.t = e.type, e.type) {
|
|
3054
3054
|
case 0: {
|
|
3055
3055
|
const t = e;
|
|
3056
|
-
|
|
3056
|
+
ze(t.body), t.b = t.body, delete t.body;
|
|
3057
3057
|
break;
|
|
3058
3058
|
}
|
|
3059
3059
|
case 1: {
|
|
3060
3060
|
const t = e, n = t.cases;
|
|
3061
3061
|
for (let r = 0; r < n.length; r++)
|
|
3062
|
-
|
|
3062
|
+
ze(n[r]);
|
|
3063
3063
|
t.c = n, delete t.cases;
|
|
3064
3064
|
break;
|
|
3065
3065
|
}
|
|
3066
3066
|
case 2: {
|
|
3067
3067
|
const t = e, n = t.items;
|
|
3068
3068
|
for (let r = 0; r < n.length; r++)
|
|
3069
|
-
|
|
3069
|
+
ze(n[r]);
|
|
3070
3070
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
3071
3071
|
break;
|
|
3072
3072
|
}
|
|
@@ -3080,7 +3080,7 @@ function Qe(e) {
|
|
|
3080
3080
|
}
|
|
3081
3081
|
case 6: {
|
|
3082
3082
|
const t = e;
|
|
3083
|
-
|
|
3083
|
+
ze(t.key), t.k = t.key, delete t.key, t.modifier && (ze(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
3084
3084
|
break;
|
|
3085
3085
|
}
|
|
3086
3086
|
case 5: {
|
|
@@ -3121,14 +3121,14 @@ function pc(e, t) {
|
|
|
3121
3121
|
i.code += b;
|
|
3122
3122
|
}
|
|
3123
3123
|
function u(b, S = !0) {
|
|
3124
|
-
const
|
|
3125
|
-
c(s ?
|
|
3124
|
+
const m = S ? r : "";
|
|
3125
|
+
c(s ? m + " ".repeat(b) : m);
|
|
3126
3126
|
}
|
|
3127
|
-
function
|
|
3127
|
+
function l(b = !0) {
|
|
3128
3128
|
const S = ++i.indentLevel;
|
|
3129
3129
|
b && u(S);
|
|
3130
3130
|
}
|
|
3131
|
-
function
|
|
3131
|
+
function p(b = !0) {
|
|
3132
3132
|
const S = --i.indentLevel;
|
|
3133
3133
|
b && u(S);
|
|
3134
3134
|
}
|
|
@@ -3138,8 +3138,8 @@ function pc(e, t) {
|
|
|
3138
3138
|
return {
|
|
3139
3139
|
context: a,
|
|
3140
3140
|
push: c,
|
|
3141
|
-
indent:
|
|
3142
|
-
deindent:
|
|
3141
|
+
indent: l,
|
|
3142
|
+
deindent: p,
|
|
3143
3143
|
newline: g,
|
|
3144
3144
|
helper: (b) => `_${b}`,
|
|
3145
3145
|
needIndent: () => i.needIndent
|
|
@@ -3241,7 +3241,7 @@ const gc = (e, t = {}) => {
|
|
|
3241
3241
|
breakLineCode: s,
|
|
3242
3242
|
needIndent: o
|
|
3243
3243
|
});
|
|
3244
|
-
a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${ir(i.map((
|
|
3244
|
+
a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${ir(i.map((l) => `${l}: _${l}`), ", ")} } = ctx`), a.newline()), a.push("return "), tt(a, e), a.deindent(o), a.push("}"), delete e.helpers;
|
|
3245
3245
|
const { code: c, map: u } = a.context();
|
|
3246
3246
|
return {
|
|
3247
3247
|
ast: e,
|
|
@@ -3252,25 +3252,25 @@ const gc = (e, t = {}) => {
|
|
|
3252
3252
|
};
|
|
3253
3253
|
function bc(e, t = {}) {
|
|
3254
3254
|
const n = te({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, a = ac(n).parse(e);
|
|
3255
|
-
return r ? (o && uc(a), s &&
|
|
3255
|
+
return r ? (o && uc(a), s && ze(a), { ast: a, code: "" }) : (lc(a, n), gc(a, n));
|
|
3256
3256
|
}
|
|
3257
3257
|
function yc() {
|
|
3258
3258
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (He().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (He().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
3259
3259
|
}
|
|
3260
3260
|
function Ee(e) {
|
|
3261
|
-
return
|
|
3261
|
+
return B(e) && cr(e) === 0 && (he(e, "b") || he(e, "body"));
|
|
3262
3262
|
}
|
|
3263
3263
|
const Js = ["b", "body"];
|
|
3264
3264
|
function Nc(e) {
|
|
3265
3265
|
return Fe(e, Js);
|
|
3266
3266
|
}
|
|
3267
|
-
const
|
|
3267
|
+
const Qs = ["c", "cases"];
|
|
3268
3268
|
function Oc(e) {
|
|
3269
|
-
return Fe(e,
|
|
3269
|
+
return Fe(e, Qs, []);
|
|
3270
3270
|
}
|
|
3271
|
-
const
|
|
3271
|
+
const zs = ["s", "static"];
|
|
3272
3272
|
function Sc(e) {
|
|
3273
|
-
return Fe(e,
|
|
3273
|
+
return Fe(e, zs);
|
|
3274
3274
|
}
|
|
3275
3275
|
const Zs = ["i", "items"];
|
|
3276
3276
|
function Tc(e) {
|
|
@@ -3311,8 +3311,8 @@ function Fe(e, t, n) {
|
|
|
3311
3311
|
}
|
|
3312
3312
|
const so = [
|
|
3313
3313
|
...Js,
|
|
3314
|
-
...zs,
|
|
3315
3314
|
...Qs,
|
|
3315
|
+
...zs,
|
|
3316
3316
|
...Zs,
|
|
3317
3317
|
...ro,
|
|
3318
3318
|
...no,
|
|
@@ -3473,7 +3473,7 @@ function Kr(e) {
|
|
|
3473
3473
|
return Sn;
|
|
3474
3474
|
if (e.constructor.name === "Function") {
|
|
3475
3475
|
const t = e();
|
|
3476
|
-
if (
|
|
3476
|
+
if (Ba(t))
|
|
3477
3477
|
throw ve(ie.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
3478
3478
|
return Sn = t;
|
|
3479
3479
|
} else
|
|
@@ -3484,7 +3484,7 @@ function Kr(e) {
|
|
|
3484
3484
|
function Vc(e, t, n) {
|
|
3485
3485
|
return [.../* @__PURE__ */ new Set([
|
|
3486
3486
|
n,
|
|
3487
|
-
...J(t) ? t :
|
|
3487
|
+
...J(t) ? t : B(t) ? Object.keys(t) : w(t) ? [t] : [n]
|
|
3488
3488
|
])];
|
|
3489
3489
|
}
|
|
3490
3490
|
function oo(e, t, n) {
|
|
@@ -3514,11 +3514,11 @@ function $c(e, t, n) {
|
|
|
3514
3514
|
const s = t.split("-");
|
|
3515
3515
|
do {
|
|
3516
3516
|
const o = s.join("-");
|
|
3517
|
-
r =
|
|
3517
|
+
r = Bc(e, o, n), s.splice(-1, 1);
|
|
3518
3518
|
} while (s.length && r === !0);
|
|
3519
3519
|
return r;
|
|
3520
3520
|
}
|
|
3521
|
-
function
|
|
3521
|
+
function Bc(e, t, n) {
|
|
3522
3522
|
let r = !1;
|
|
3523
3523
|
if (!e.includes(t) && (r = !0, t)) {
|
|
3524
3524
|
r = t[t.length - 1] !== "!";
|
|
@@ -3688,9 +3688,9 @@ Ue[
|
|
|
3688
3688
|
/* Actions.APPEND */
|
|
3689
3689
|
]
|
|
3690
3690
|
};
|
|
3691
|
-
const
|
|
3691
|
+
const jc = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
3692
3692
|
function Hc(e) {
|
|
3693
|
-
return
|
|
3693
|
+
return jc.test(e);
|
|
3694
3694
|
}
|
|
3695
3695
|
function Wc(e) {
|
|
3696
3696
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
@@ -3739,7 +3739,7 @@ function Gc(e) {
|
|
|
3739
3739
|
}
|
|
3740
3740
|
function Yc(e) {
|
|
3741
3741
|
const t = [];
|
|
3742
|
-
let n = -1, r = 0, s = 0, o, i, a, c, u,
|
|
3742
|
+
let n = -1, r = 0, s = 0, o, i, a, c, u, l, p;
|
|
3743
3743
|
const g = [];
|
|
3744
3744
|
g[
|
|
3745
3745
|
0
|
|
@@ -3787,7 +3787,7 @@ function Yc(e) {
|
|
|
3787
3787
|
}
|
|
3788
3788
|
for (; r !== null; )
|
|
3789
3789
|
if (n++, o = e[n], !(o === "\\" && A())) {
|
|
3790
|
-
if (c = qc(o),
|
|
3790
|
+
if (c = qc(o), p = Ue[r], u = p[c] || p.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (l = g[u[1]], l && (a = o, l() === !1))))
|
|
3791
3791
|
return;
|
|
3792
3792
|
if (r === 7)
|
|
3793
3793
|
return t;
|
|
@@ -3795,10 +3795,10 @@ function Yc(e) {
|
|
|
3795
3795
|
}
|
|
3796
3796
|
const Jr = /* @__PURE__ */ new Map();
|
|
3797
3797
|
function Kc(e, t) {
|
|
3798
|
-
return
|
|
3798
|
+
return B(e) ? e[t] : null;
|
|
3799
3799
|
}
|
|
3800
3800
|
function Xc(e, t) {
|
|
3801
|
-
if (!
|
|
3801
|
+
if (!B(e))
|
|
3802
3802
|
return null;
|
|
3803
3803
|
let n = Jr.get(t);
|
|
3804
3804
|
if (n || (n = Yc(t), n && Jr.set(t, n)), !n)
|
|
@@ -3824,7 +3824,7 @@ const le = {
|
|
|
3824
3824
|
CANNOT_FORMAT_DATE: 5,
|
|
3825
3825
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
3826
3826
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
3827
|
-
}, Jc = 8,
|
|
3827
|
+
}, Jc = 8, Qc = {
|
|
3828
3828
|
[le.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
3829
3829
|
[le.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
3830
3830
|
[le.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -3834,14 +3834,14 @@ const le = {
|
|
|
3834
3834
|
[le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
3835
3835
|
};
|
|
3836
3836
|
function Ke(e, ...t) {
|
|
3837
|
-
return nn(
|
|
3837
|
+
return nn(Qc[e], ...t);
|
|
3838
3838
|
}
|
|
3839
|
-
const
|
|
3839
|
+
const zc = "11.2.2", sn = -1, Wt = "en-US", qt = "", Qr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
3840
3840
|
function Zc() {
|
|
3841
3841
|
return {
|
|
3842
|
-
upper: (e, t) => t === "text" && w(e) ? e.toUpperCase() : t === "vnode" &&
|
|
3843
|
-
lower: (e, t) => t === "text" && w(e) ? e.toLowerCase() : t === "vnode" &&
|
|
3844
|
-
capitalize: (e, t) => t === "text" && w(e) ?
|
|
3842
|
+
upper: (e, t) => t === "text" && w(e) ? e.toUpperCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
3843
|
+
lower: (e, t) => t === "text" && w(e) ? e.toLowerCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
3844
|
+
capitalize: (e, t) => t === "text" && w(e) ? Qr(e) : t === "vnode" && B(e) && "__v_isVNode" in e ? Qr(e.children) : e
|
|
3845
3845
|
};
|
|
3846
3846
|
}
|
|
3847
3847
|
let io;
|
|
@@ -3861,14 +3861,14 @@ const rl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
3861
3861
|
lo = e;
|
|
3862
3862
|
}, sl = /* @__NO_SIDE_EFFECTS__ */ () => lo;
|
|
3863
3863
|
let uo = null;
|
|
3864
|
-
const
|
|
3864
|
+
const zr = (e) => {
|
|
3865
3865
|
uo = e;
|
|
3866
3866
|
}, ol = () => uo;
|
|
3867
3867
|
let Zr = 0;
|
|
3868
3868
|
function il(e = {}) {
|
|
3869
|
-
const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version :
|
|
3869
|
+
const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version : zc, r = w(e.locale) || G(e.locale) ? e.locale : Wt, s = G(r) ? Wt : r, o = J(e.fallbackLocale) || $(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = $(e.messages) ? e.messages : Tn(s), a = $(e.datetimeFormats) ? e.datetimeFormats : Tn(s), c = $(e.numberFormats) ? e.numberFormats : Tn(s), u = te(H(), e.modifiers, Zc()), l = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, g = X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, S = G(e.postTranslation) ? e.postTranslation : null, m = $(e.processor) ? e.processor : null, N = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : io;
|
|
3870
3870
|
process.env.NODE_ENV !== "production" && G(e.messageCompiler) && Da(Ke(le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3871
|
-
const C = G(e.messageResolver) ? e.messageResolver : ao || Kc, R = G(e.localeFallbacker) ? e.localeFallbacker : co || Vc,
|
|
3871
|
+
const C = G(e.messageResolver) ? e.messageResolver : ao || Kc, R = G(e.localeFallbacker) ? e.localeFallbacker : co || Vc, _ = B(e.fallbackContext) ? e.fallbackContext : void 0, x = e, U = B(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = B(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = B(x.__meta) ? x.__meta : {};
|
|
3872
3872
|
Zr++;
|
|
3873
3873
|
const k = {
|
|
3874
3874
|
version: n,
|
|
@@ -3877,20 +3877,20 @@ function il(e = {}) {
|
|
|
3877
3877
|
fallbackLocale: o,
|
|
3878
3878
|
messages: i,
|
|
3879
3879
|
modifiers: u,
|
|
3880
|
-
pluralRules:
|
|
3881
|
-
missing:
|
|
3880
|
+
pluralRules: l,
|
|
3881
|
+
missing: p,
|
|
3882
3882
|
missingWarn: g,
|
|
3883
3883
|
fallbackWarn: A,
|
|
3884
3884
|
fallbackFormat: E,
|
|
3885
3885
|
unresolving: b,
|
|
3886
3886
|
postTranslation: S,
|
|
3887
|
-
processor:
|
|
3887
|
+
processor: m,
|
|
3888
3888
|
warnHtmlMessage: N,
|
|
3889
3889
|
escapeParameter: T,
|
|
3890
3890
|
messageCompiler: y,
|
|
3891
3891
|
messageResolver: C,
|
|
3892
3892
|
localeFallbacker: R,
|
|
3893
|
-
fallbackContext:
|
|
3893
|
+
fallbackContext: _,
|
|
3894
3894
|
onWarn: t,
|
|
3895
3895
|
__meta: P
|
|
3896
3896
|
};
|
|
@@ -3944,15 +3944,15 @@ function ts(e, ...t) {
|
|
|
3944
3944
|
const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __datetimeFormatters: a } = e;
|
|
3945
3945
|
if (process.env.NODE_ENV !== "production" && !mo.dateTimeFormat)
|
|
3946
3946
|
return o(Ke(le.CANNOT_FORMAT_DATE)), qt;
|
|
3947
|
-
const [c, u,
|
|
3947
|
+
const [c, u, l, p] = Mn(...t), g = X(l.missingWarn) ? l.missingWarn : e.missingWarn, A = X(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, E = !!l.part, b = lr(e, l), S = i(
|
|
3948
3948
|
e,
|
|
3949
3949
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
3950
3950
|
s,
|
|
3951
3951
|
b
|
|
3952
3952
|
);
|
|
3953
3953
|
if (!w(c) || c === "")
|
|
3954
|
-
return new Intl.DateTimeFormat(b,
|
|
3955
|
-
let
|
|
3954
|
+
return new Intl.DateTimeFormat(b, p).format(u);
|
|
3955
|
+
let m = {}, N, T = null, y = b, C = null;
|
|
3956
3956
|
const R = "datetime format";
|
|
3957
3957
|
for (let U = 0; U < S.length; U++) {
|
|
3958
3958
|
if (N = C = S[U], process.env.NODE_ENV !== "production" && b !== N && on(A, c) && o(Ke(le.FALLBACK_TO_DATE_FORMAT, {
|
|
@@ -3968,16 +3968,16 @@ function ts(e, ...t) {
|
|
|
3968
3968
|
groupId: `${R}:${c}`
|
|
3969
3969
|
});
|
|
3970
3970
|
}
|
|
3971
|
-
if (
|
|
3971
|
+
if (m = n[N] || {}, T = m[c], $(T))
|
|
3972
3972
|
break;
|
|
3973
3973
|
ur(e, c, N, g, R), y = C;
|
|
3974
3974
|
}
|
|
3975
3975
|
if (!$(T) || !w(N))
|
|
3976
3976
|
return r ? sn : c;
|
|
3977
|
-
let
|
|
3978
|
-
rn(
|
|
3979
|
-
let x = a.get(
|
|
3980
|
-
return x || (x = new Intl.DateTimeFormat(N, te({}, T,
|
|
3977
|
+
let _ = `${N}__${c}`;
|
|
3978
|
+
rn(p) || (_ = `${_}__${JSON.stringify(p)}`);
|
|
3979
|
+
let x = a.get(_);
|
|
3980
|
+
return x || (x = new Intl.DateTimeFormat(N, te({}, T, p)), a.set(_, x)), E ? x.formatToParts(u) : x.format(u);
|
|
3981
3981
|
}
|
|
3982
3982
|
const _o = [
|
|
3983
3983
|
"localeMatcher",
|
|
@@ -4038,15 +4038,15 @@ function rs(e, ...t) {
|
|
|
4038
4038
|
const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __numberFormatters: a } = e;
|
|
4039
4039
|
if (process.env.NODE_ENV !== "production" && !mo.numberFormat)
|
|
4040
4040
|
return o(Ke(le.CANNOT_FORMAT_NUMBER)), qt;
|
|
4041
|
-
const [c, u,
|
|
4041
|
+
const [c, u, l, p] = xn(...t), g = X(l.missingWarn) ? l.missingWarn : e.missingWarn, A = X(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, E = !!l.part, b = lr(e, l), S = i(
|
|
4042
4042
|
e,
|
|
4043
4043
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
4044
4044
|
s,
|
|
4045
4045
|
b
|
|
4046
4046
|
);
|
|
4047
4047
|
if (!w(c) || c === "")
|
|
4048
|
-
return new Intl.NumberFormat(b,
|
|
4049
|
-
let
|
|
4048
|
+
return new Intl.NumberFormat(b, p).format(u);
|
|
4049
|
+
let m = {}, N, T = null, y = b, C = null;
|
|
4050
4050
|
const R = "number format";
|
|
4051
4051
|
for (let U = 0; U < S.length; U++) {
|
|
4052
4052
|
if (N = C = S[U], process.env.NODE_ENV !== "production" && b !== N && on(A, c) && o(Ke(le.FALLBACK_TO_NUMBER_FORMAT, {
|
|
@@ -4062,16 +4062,16 @@ function rs(e, ...t) {
|
|
|
4062
4062
|
groupId: `${R}:${c}`
|
|
4063
4063
|
});
|
|
4064
4064
|
}
|
|
4065
|
-
if (
|
|
4065
|
+
if (m = n[N] || {}, T = m[c], $(T))
|
|
4066
4066
|
break;
|
|
4067
4067
|
ur(e, c, N, g, R), y = C;
|
|
4068
4068
|
}
|
|
4069
4069
|
if (!$(T) || !w(N))
|
|
4070
4070
|
return r ? sn : c;
|
|
4071
|
-
let
|
|
4072
|
-
rn(
|
|
4073
|
-
let x = a.get(
|
|
4074
|
-
return x || (x = new Intl.NumberFormat(N, te({}, T,
|
|
4071
|
+
let _ = `${N}__${c}`;
|
|
4072
|
+
rn(p) || (_ = `${_}__${JSON.stringify(p)}`);
|
|
4073
|
+
let x = a.get(_);
|
|
4074
|
+
return x || (x = new Intl.NumberFormat(N, te({}, T, p)), a.set(_, x)), E ? x.formatToParts(u) : x.format(u);
|
|
4075
4075
|
}
|
|
4076
4076
|
const ho = [
|
|
4077
4077
|
"localeMatcher",
|
|
@@ -4112,7 +4112,7 @@ function ss(e, t, n) {
|
|
|
4112
4112
|
r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
|
|
4113
4113
|
}
|
|
4114
4114
|
}
|
|
4115
|
-
const cl = (e) => e, ll = (e) => "", ul = "text", fl = (e) => e.length === 0 ? "" : ir(e), dl =
|
|
4115
|
+
const cl = (e) => e, ll = (e) => "", ul = "text", fl = (e) => e.length === 0 ? "" : ir(e), dl = ja;
|
|
4116
4116
|
function os(e, t) {
|
|
4117
4117
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
4118
4118
|
}
|
|
@@ -4124,28 +4124,28 @@ function ml(e, t) {
|
|
|
4124
4124
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
4125
4125
|
}
|
|
4126
4126
|
function _l(e = {}) {
|
|
4127
|
-
const t = e.locale, n = pl(e), r =
|
|
4127
|
+
const t = e.locale, n = pl(e), r = B(e.pluralRules) && w(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : os, s = B(e.pluralRules) && w(t) && G(e.pluralRules[t]) ? os : void 0, o = (m) => m[r(n, m.length, s)], i = e.list || [], a = (m) => i[m], c = e.named || H();
|
|
4128
4128
|
ee(e.pluralIndex) && ml(n, c);
|
|
4129
|
-
const u = (
|
|
4130
|
-
function
|
|
4131
|
-
const T = G(e.messages) ? e.messages(
|
|
4132
|
-
return T || (e.parent ? e.parent.message(
|
|
4129
|
+
const u = (m) => c[m];
|
|
4130
|
+
function l(m, N) {
|
|
4131
|
+
const T = G(e.messages) ? e.messages(m, !!N) : B(e.messages) ? e.messages[m] : !1;
|
|
4132
|
+
return T || (e.parent ? e.parent.message(m) : ll);
|
|
4133
4133
|
}
|
|
4134
|
-
const
|
|
4134
|
+
const p = (m) => e.modifiers ? e.modifiers[m] : cl, g = $(e.processor) && G(e.processor.normalize) ? e.processor.normalize : fl, A = $(e.processor) && G(e.processor.interpolate) ? e.processor.interpolate : dl, E = $(e.processor) && w(e.processor.type) ? e.processor.type : ul, S = {
|
|
4135
4135
|
list: a,
|
|
4136
4136
|
named: u,
|
|
4137
4137
|
plural: o,
|
|
4138
|
-
linked: (
|
|
4138
|
+
linked: (m, ...N) => {
|
|
4139
4139
|
const [T, y] = N;
|
|
4140
4140
|
let C = "text", R = "";
|
|
4141
|
-
N.length === 1 ?
|
|
4142
|
-
const
|
|
4141
|
+
N.length === 1 ? B(T) ? (R = T.modifier || R, C = T.type || C) : w(T) && (R = T || R) : N.length === 2 && (w(T) && (R = T || R), w(y) && (C = y || C));
|
|
4142
|
+
const _ = l(m, !0)(S), x = (
|
|
4143
4143
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
4144
|
-
C === "vnode" && J(
|
|
4144
|
+
C === "vnode" && J(_) && R ? _[0] : _
|
|
4145
4145
|
);
|
|
4146
|
-
return R ?
|
|
4146
|
+
return R ? p(R)(x, C) : x;
|
|
4147
4147
|
},
|
|
4148
|
-
message:
|
|
4148
|
+
message: l,
|
|
4149
4149
|
type: E,
|
|
4150
4150
|
interpolate: A,
|
|
4151
4151
|
normalize: g,
|
|
@@ -4155,21 +4155,21 @@ function _l(e = {}) {
|
|
|
4155
4155
|
}
|
|
4156
4156
|
const is = () => "", me = (e) => G(e);
|
|
4157
4157
|
function as(e, ...t) {
|
|
4158
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: a } = e, [c, u] = Vn(...t),
|
|
4158
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: a } = e, [c, u] = Vn(...t), l = X(u.missingWarn) ? u.missingWarn : e.missingWarn, p = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, g = X(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, A = !!u.resolvedMessage, E = w(u.default) || X(u.default) ? X(u.default) ? o ? c : () => c : u.default : n ? o ? c : () => c : null, b = n || E != null && (w(E) || G(E)), S = lr(e, u);
|
|
4159
4159
|
g && hl(u);
|
|
4160
|
-
let [
|
|
4160
|
+
let [m, N, T] = A ? [
|
|
4161
4161
|
c,
|
|
4162
4162
|
S,
|
|
4163
4163
|
a[S] || H()
|
|
4164
|
-
] : Eo(e, c, S, i,
|
|
4164
|
+
] : Eo(e, c, S, i, p, l), y = m, C = c;
|
|
4165
4165
|
if (!A && !(w(y) || Ee(y) || me(y)) && b && (y = E, C = y), !A && (!(w(y) || Ee(y) || me(y)) || !w(N)))
|
|
4166
4166
|
return s ? sn : c;
|
|
4167
4167
|
if (process.env.NODE_ENV !== "production" && w(y) && e.messageCompiler == null)
|
|
4168
4168
|
return Le(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`), c;
|
|
4169
4169
|
let R = !1;
|
|
4170
|
-
const
|
|
4170
|
+
const _ = () => {
|
|
4171
4171
|
R = !0;
|
|
4172
|
-
}, x = me(y) ? y : go(e, c, N, y, C,
|
|
4172
|
+
}, x = me(y) ? y : go(e, c, N, y, C, _);
|
|
4173
4173
|
if (R)
|
|
4174
4174
|
return y;
|
|
4175
4175
|
const U = yl(e, N, T, u), I = _l(U), P = El(e, x, I);
|
|
@@ -4187,16 +4187,16 @@ function as(e, ...t) {
|
|
|
4187
4187
|
return k;
|
|
4188
4188
|
}
|
|
4189
4189
|
function hl(e) {
|
|
4190
|
-
J(e.list) ? e.list = e.list.map((t) => w(t) ?
|
|
4191
|
-
w(e.named[t]) && (e.named[t] =
|
|
4190
|
+
J(e.list) ? e.list = e.list.map((t) => w(t) ? Br(t) : t) : B(e.named) && Object.keys(e.named).forEach((t) => {
|
|
4191
|
+
w(e.named[t]) && (e.named[t] = Br(e.named[t]));
|
|
4192
4192
|
});
|
|
4193
4193
|
}
|
|
4194
4194
|
function Eo(e, t, n, r, s, o) {
|
|
4195
|
-
const { messages: i, onWarn: a, messageResolver: c, localeFallbacker: u } = e,
|
|
4196
|
-
let
|
|
4195
|
+
const { messages: i, onWarn: a, messageResolver: c, localeFallbacker: u } = e, l = u(e, r, n);
|
|
4196
|
+
let p = H(), g, A = null, E = n, b = null;
|
|
4197
4197
|
const S = "translate";
|
|
4198
|
-
for (let
|
|
4199
|
-
if (g = b =
|
|
4198
|
+
for (let m = 0; m < l.length; m++) {
|
|
4199
|
+
if (g = b = l[m], process.env.NODE_ENV !== "production" && n !== g && !po(n, g) && on(s, t) && a(Ke(le.FALLBACK_TO_TRANSLATE, {
|
|
4200
4200
|
key: t,
|
|
4201
4201
|
target: g
|
|
4202
4202
|
})), process.env.NODE_ENV !== "production" && n !== g) {
|
|
@@ -4209,9 +4209,9 @@ function Eo(e, t, n, r, s, o) {
|
|
|
4209
4209
|
groupId: `${S}:${t}`
|
|
4210
4210
|
});
|
|
4211
4211
|
}
|
|
4212
|
-
|
|
4212
|
+
p = i[g] || H();
|
|
4213
4213
|
let N = null, T, y;
|
|
4214
|
-
if (process.env.NODE_ENV !== "production" && Re && (N = window.performance.now(), T = "intlify-message-resolve-start", y = "intlify-message-resolve-end", de && de(T)), (A = c(
|
|
4214
|
+
if (process.env.NODE_ENV !== "production" && Re && (N = window.performance.now(), T = "intlify-message-resolve-start", y = "intlify-message-resolve-end", de && de(T)), (A = c(p, t)) === null && (A = p[t]), process.env.NODE_ENV !== "production" && Re) {
|
|
4215
4215
|
const C = window.performance.now(), R = e.__v_emitter;
|
|
4216
4216
|
R && N && A && R.emit("message-resolve", {
|
|
4217
4217
|
type: "message-resolve",
|
|
@@ -4223,7 +4223,7 @@ function Eo(e, t, n, r, s, o) {
|
|
|
4223
4223
|
}
|
|
4224
4224
|
if (w(A) || Ee(A) || me(A))
|
|
4225
4225
|
break;
|
|
4226
|
-
if (!al(g,
|
|
4226
|
+
if (!al(g, l)) {
|
|
4227
4227
|
const C = ur(
|
|
4228
4228
|
e,
|
|
4229
4229
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -4236,7 +4236,7 @@ function Eo(e, t, n, r, s, o) {
|
|
|
4236
4236
|
}
|
|
4237
4237
|
E = b;
|
|
4238
4238
|
}
|
|
4239
|
-
return [A, g,
|
|
4239
|
+
return [A, g, p];
|
|
4240
4240
|
}
|
|
4241
4241
|
function go(e, t, n, r, s, o) {
|
|
4242
4242
|
const { messageCompiler: i, warnHtmlMessage: a } = e;
|
|
@@ -4248,9 +4248,9 @@ function go(e, t, n, r, s, o) {
|
|
|
4248
4248
|
const g = (() => r);
|
|
4249
4249
|
return g.locale = n, g.key = t, g;
|
|
4250
4250
|
}
|
|
4251
|
-
let c = null, u,
|
|
4252
|
-
process.env.NODE_ENV !== "production" && Re && (c = window.performance.now(), u = "intlify-message-compilation-start",
|
|
4253
|
-
const
|
|
4251
|
+
let c = null, u, l;
|
|
4252
|
+
process.env.NODE_ENV !== "production" && Re && (c = window.performance.now(), u = "intlify-message-compilation-start", l = "intlify-message-compilation-end", de && de(u));
|
|
4253
|
+
const p = i(r, gl(e, n, s, r, a, o));
|
|
4254
4254
|
if (process.env.NODE_ENV !== "production" && Re) {
|
|
4255
4255
|
const g = window.performance.now(), A = e.__v_emitter;
|
|
4256
4256
|
A && c && A.emit("message-compilation", {
|
|
@@ -4258,9 +4258,9 @@ function go(e, t, n, r, s, o) {
|
|
|
4258
4258
|
message: r,
|
|
4259
4259
|
time: g - c,
|
|
4260
4260
|
groupId: `translate:${t}`
|
|
4261
|
-
}), u &&
|
|
4261
|
+
}), u && l && de && Ye && (de(l), Ye("intlify message compilation", u, l));
|
|
4262
4262
|
}
|
|
4263
|
-
return
|
|
4263
|
+
return p.locale = n, p.key = t, p.source = r, p;
|
|
4264
4264
|
}
|
|
4265
4265
|
function El(e, t, n) {
|
|
4266
4266
|
let r = null, s, o;
|
|
@@ -4291,8 +4291,8 @@ function gl(e, t, n, r, s, o) {
|
|
|
4291
4291
|
warnHtmlMessage: s,
|
|
4292
4292
|
onError: (i) => {
|
|
4293
4293
|
if (o && o(i), process.env.NODE_ENV !== "production") {
|
|
4294
|
-
const a = bl(r), c = `Message compilation error: ${i.message}`, u = i.location && a && Ha(a, i.location.start.offset, i.location.end.offset),
|
|
4295
|
-
|
|
4294
|
+
const a = bl(r), c = `Message compilation error: ${i.message}`, u = i.location && a && Ha(a, i.location.start.offset, i.location.end.offset), l = e.__v_emitter;
|
|
4295
|
+
l && a && l.emit("compile-error", {
|
|
4296
4296
|
message: a,
|
|
4297
4297
|
error: i.message,
|
|
4298
4298
|
start: i.location && i.location.start.offset,
|
|
@@ -4313,15 +4313,15 @@ function bl(e) {
|
|
|
4313
4313
|
return e.loc.source;
|
|
4314
4314
|
}
|
|
4315
4315
|
function yl(e, t, n, r) {
|
|
4316
|
-
const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: u, fallbackContext:
|
|
4316
|
+
const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: u, fallbackContext: l } = e, g = {
|
|
4317
4317
|
locale: t,
|
|
4318
4318
|
modifiers: s,
|
|
4319
4319
|
pluralRules: o,
|
|
4320
4320
|
messages: (A, E) => {
|
|
4321
4321
|
let b = i(n, A);
|
|
4322
|
-
if (b == null && (
|
|
4322
|
+
if (b == null && (l || E)) {
|
|
4323
4323
|
const [, , S] = Eo(
|
|
4324
|
-
|
|
4324
|
+
l || e,
|
|
4325
4325
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
4326
4326
|
A,
|
|
4327
4327
|
t,
|
|
@@ -4384,7 +4384,7 @@ const Sl = {
|
|
|
4384
4384
|
[re.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
4385
4385
|
[re.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
4386
4386
|
[re.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
4387
|
-
}, $n = /* @__PURE__ */ Ie("__translateVNode"),
|
|
4387
|
+
}, $n = /* @__PURE__ */ Ie("__translateVNode"), Bn = /* @__PURE__ */ Ie("__datetimeParts"), jn = /* @__PURE__ */ Ie("__numberParts"), Hn = /* @__PURE__ */ Ie("__enableEmitter"), Wn = /* @__PURE__ */ Ie("__disableEmitter"), Tl = Ie("__setPluralRules"), bo = /* @__PURE__ */ Ie("__injectWithOption"), qn = /* @__PURE__ */ Ie("__dispose"), Te = {
|
|
4388
4388
|
FALLBACK_TO_ROOT: Jc,
|
|
4389
4389
|
// 8
|
|
4390
4390
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
@@ -4418,19 +4418,19 @@ function Gt(e, ...t) {
|
|
|
4418
4418
|
return nn(Ll[e], ...t);
|
|
4419
4419
|
}
|
|
4420
4420
|
function gt(e) {
|
|
4421
|
-
if (!
|
|
4421
|
+
if (!B(e) || Ee(e))
|
|
4422
4422
|
return e;
|
|
4423
4423
|
for (const t in e)
|
|
4424
4424
|
if (he(e, t))
|
|
4425
4425
|
if (!t.includes("."))
|
|
4426
|
-
|
|
4426
|
+
B(e[t]) && gt(e[t]);
|
|
4427
4427
|
else {
|
|
4428
4428
|
const n = t.split("."), r = n.length - 1;
|
|
4429
4429
|
let s = e, o = !1;
|
|
4430
4430
|
for (let i = 0; i < r; i++) {
|
|
4431
4431
|
if (n[i] === "__proto__")
|
|
4432
4432
|
throw new Error(`unsafe key: ${n[i]}`);
|
|
4433
|
-
if (n[i] in s || (s[n[i]] = H()), !
|
|
4433
|
+
if (n[i] in s || (s[n[i]] = H()), !B(s[n[i]])) {
|
|
4434
4434
|
process.env.NODE_ENV !== "production" && Le(Gt(Te.IGNORE_OBJ_FLATTEN, {
|
|
4435
4435
|
key: n[i]
|
|
4436
4436
|
})), o = !0;
|
|
@@ -4440,7 +4440,7 @@ function gt(e) {
|
|
|
4440
4440
|
}
|
|
4441
4441
|
if (o || (Ee(s) ? so.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !Ee(s)) {
|
|
4442
4442
|
const i = s[n[r]];
|
|
4443
|
-
|
|
4443
|
+
B(i) && gt(i);
|
|
4444
4444
|
}
|
|
4445
4445
|
}
|
|
4446
4446
|
return e;
|
|
@@ -4462,7 +4462,7 @@ function No(e) {
|
|
|
4462
4462
|
return e.type;
|
|
4463
4463
|
}
|
|
4464
4464
|
function Al(e, t, n) {
|
|
4465
|
-
let r =
|
|
4465
|
+
let r = B(t.messages) ? t.messages : H();
|
|
4466
4466
|
"__i18nGlobal" in n && (r = yo(e.locale.value, {
|
|
4467
4467
|
messages: r,
|
|
4468
4468
|
__i18n: n.__i18nGlobal
|
|
@@ -4472,13 +4472,13 @@ function Al(e, t, n) {
|
|
|
4472
4472
|
e.mergeLocaleMessage(o, r[o]);
|
|
4473
4473
|
});
|
|
4474
4474
|
{
|
|
4475
|
-
if (
|
|
4475
|
+
if (B(t.datetimeFormats)) {
|
|
4476
4476
|
const o = Object.keys(t.datetimeFormats);
|
|
4477
4477
|
o.length && o.forEach((i) => {
|
|
4478
4478
|
e.mergeDateTimeFormat(i, t.datetimeFormats[i]);
|
|
4479
4479
|
});
|
|
4480
4480
|
}
|
|
4481
|
-
if (
|
|
4481
|
+
if (B(t.numberFormats)) {
|
|
4482
4482
|
const o = Object.keys(t.numberFormats);
|
|
4483
4483
|
o.length && o.forEach((i) => {
|
|
4484
4484
|
e.mergeNumberFormat(i, t.numberFormats[i]);
|
|
@@ -4511,12 +4511,12 @@ function Rl(e = {}) {
|
|
|
4511
4511
|
), c = o(
|
|
4512
4512
|
// prettier-ignore
|
|
4513
4513
|
t && i ? t.fallbackLocale.value : w(e.fallbackLocale) || J(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
|
|
4514
|
-
), u = o(yo(a.value, e)),
|
|
4515
|
-
let g = t ? t.missingWarn : X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, S = G(e.missing) ? e.missing : null,
|
|
4514
|
+
), u = o(yo(a.value, e)), l = o($(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = o($(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
|
|
4515
|
+
let g = t ? t.missingWarn : X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, S = G(e.missing) ? e.missing : null, m = G(e.missing) ? ds(e.missing) : null, N = G(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
|
|
4516
4516
|
const C = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
4517
|
-
let R = e.pluralRules || t && t.pluralRules,
|
|
4518
|
-
|
|
4519
|
-
r &&
|
|
4517
|
+
let R = e.pluralRules || t && t.pluralRules, _;
|
|
4518
|
+
_ = (() => {
|
|
4519
|
+
r && zr(null);
|
|
4520
4520
|
const O = {
|
|
4521
4521
|
version: Nl,
|
|
4522
4522
|
locale: a.value,
|
|
@@ -4524,7 +4524,7 @@ function Rl(e = {}) {
|
|
|
4524
4524
|
messages: u.value,
|
|
4525
4525
|
modifiers: C,
|
|
4526
4526
|
pluralRules: R,
|
|
4527
|
-
missing:
|
|
4527
|
+
missing: m === null ? void 0 : m,
|
|
4528
4528
|
missingWarn: g,
|
|
4529
4529
|
fallbackWarn: A,
|
|
4530
4530
|
fallbackFormat: b,
|
|
@@ -4536,66 +4536,66 @@ function Rl(e = {}) {
|
|
|
4536
4536
|
messageCompiler: e.messageCompiler,
|
|
4537
4537
|
__meta: { framework: "vue" }
|
|
4538
4538
|
};
|
|
4539
|
-
O.datetimeFormats =
|
|
4539
|
+
O.datetimeFormats = l.value, O.numberFormats = p.value, O.__datetimeFormatters = $(_) ? _.__datetimeFormatters : void 0, O.__numberFormatters = $(_) ? _.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (O.__v_emitter = $(_) ? _.__v_emitter : void 0);
|
|
4540
4540
|
const v = il(O);
|
|
4541
|
-
return r &&
|
|
4542
|
-
})(), ut(
|
|
4541
|
+
return r && zr(v), v;
|
|
4542
|
+
})(), ut(_, a.value, c.value);
|
|
4543
4543
|
function U() {
|
|
4544
4544
|
return [
|
|
4545
4545
|
a.value,
|
|
4546
4546
|
c.value,
|
|
4547
4547
|
u.value,
|
|
4548
|
-
|
|
4549
|
-
|
|
4548
|
+
l.value,
|
|
4549
|
+
p.value
|
|
4550
4550
|
];
|
|
4551
4551
|
}
|
|
4552
4552
|
const I = De({
|
|
4553
4553
|
get: () => a.value,
|
|
4554
4554
|
set: (O) => {
|
|
4555
|
-
|
|
4555
|
+
_.locale = O, a.value = O;
|
|
4556
4556
|
}
|
|
4557
4557
|
}), P = De({
|
|
4558
4558
|
get: () => c.value,
|
|
4559
4559
|
set: (O) => {
|
|
4560
|
-
|
|
4560
|
+
_.fallbackLocale = O, c.value = O, ut(_, a.value, O);
|
|
4561
4561
|
}
|
|
4562
|
-
}), k = De(() => u.value), W = /* @__PURE__ */ De(() =>
|
|
4562
|
+
}), k = De(() => u.value), W = /* @__PURE__ */ De(() => l.value), ne = /* @__PURE__ */ De(() => p.value);
|
|
4563
4563
|
function be() {
|
|
4564
4564
|
return G(N) ? N : null;
|
|
4565
4565
|
}
|
|
4566
4566
|
function se(O) {
|
|
4567
|
-
N = O,
|
|
4567
|
+
N = O, _.postTranslation = O;
|
|
4568
4568
|
}
|
|
4569
4569
|
function Pe() {
|
|
4570
4570
|
return S;
|
|
4571
4571
|
}
|
|
4572
4572
|
function Z(O) {
|
|
4573
|
-
O !== null && (
|
|
4573
|
+
O !== null && (m = ds(O)), S = O, _.missing = m;
|
|
4574
4574
|
}
|
|
4575
|
-
function
|
|
4575
|
+
function z(O, v) {
|
|
4576
4576
|
return O !== "translate" || !v.resolvedMessage;
|
|
4577
4577
|
}
|
|
4578
|
-
const _e = (O, v,
|
|
4578
|
+
const _e = (O, v, j, K, Ve, Lt) => {
|
|
4579
4579
|
U();
|
|
4580
4580
|
let Je;
|
|
4581
4581
|
try {
|
|
4582
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (
|
|
4582
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (_.fallbackContext = t ? ol() : void 0), Je = O(_);
|
|
4583
4583
|
} finally {
|
|
4584
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (
|
|
4584
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (_.fallbackContext = void 0);
|
|
4585
4585
|
}
|
|
4586
|
-
if (
|
|
4587
|
-
ee(Je) && Je === sn ||
|
|
4586
|
+
if (j !== "translate exists" && // for not `te` (e.g `t`)
|
|
4587
|
+
ee(Je) && Je === sn || j === "translate exists" && !Je) {
|
|
4588
4588
|
const [$e, Ro] = v();
|
|
4589
|
-
if (process.env.NODE_ENV !== "production" && t && w($e) &&
|
|
4589
|
+
if (process.env.NODE_ENV !== "production" && t && w($e) && z(j, Ro) && (E && (on(A, $e) || fo(g, $e)) && Le(Gt(Te.FALLBACK_TO_ROOT, {
|
|
4590
4590
|
key: $e,
|
|
4591
|
-
type:
|
|
4591
|
+
type: j
|
|
4592
4592
|
})), process.env.NODE_ENV !== "production")) {
|
|
4593
|
-
const { __v_emitter: mr } =
|
|
4593
|
+
const { __v_emitter: mr } = _;
|
|
4594
4594
|
mr && E && mr.emit("fallback", {
|
|
4595
|
-
type:
|
|
4595
|
+
type: j,
|
|
4596
4596
|
key: $e,
|
|
4597
4597
|
to: "global",
|
|
4598
|
-
groupId: `${
|
|
4598
|
+
groupId: `${j}:${$e}`
|
|
4599
4599
|
});
|
|
4600
4600
|
}
|
|
4601
4601
|
return t && E ? K(t) : Ve($e);
|
|
@@ -4609,10 +4609,10 @@ function Rl(e = {}) {
|
|
|
4609
4609
|
return _e((v) => Reflect.apply(as, null, [v, ...O]), () => Vn(...O), "translate", (v) => Reflect.apply(v.t, v, [...O]), (v) => v, (v) => w(v));
|
|
4610
4610
|
}
|
|
4611
4611
|
function ye(...O) {
|
|
4612
|
-
const [v,
|
|
4613
|
-
if (K && !
|
|
4612
|
+
const [v, j, K] = O;
|
|
4613
|
+
if (K && !B(K))
|
|
4614
4614
|
throw Et(re.INVALID_ARGUMENT);
|
|
4615
|
-
return ce(v,
|
|
4615
|
+
return ce(v, j, te({ resolvedMessage: !0 }, K || {}));
|
|
4616
4616
|
}
|
|
4617
4617
|
function Me(...O) {
|
|
4618
4618
|
return _e((v) => Reflect.apply(ts, null, [v, ...O]), () => Mn(...O), "datetime format", (v) => Reflect.apply(v.d, v, [...O]), () => qt, (v) => w(v) || J(v));
|
|
@@ -4630,38 +4630,38 @@ function Rl(e = {}) {
|
|
|
4630
4630
|
};
|
|
4631
4631
|
function St(...O) {
|
|
4632
4632
|
return _e((v) => {
|
|
4633
|
-
let
|
|
4633
|
+
let j;
|
|
4634
4634
|
const K = v;
|
|
4635
4635
|
try {
|
|
4636
|
-
K.processor = un,
|
|
4636
|
+
K.processor = un, j = Reflect.apply(as, null, [K, ...O]);
|
|
4637
4637
|
} finally {
|
|
4638
4638
|
K.processor = null;
|
|
4639
4639
|
}
|
|
4640
|
-
return
|
|
4640
|
+
return j;
|
|
4641
4641
|
}, () => Vn(...O), "translate", (v) => v[$n](...O), (v) => [cs(v)], (v) => J(v));
|
|
4642
4642
|
}
|
|
4643
4643
|
function fn(...O) {
|
|
4644
|
-
return _e((v) => Reflect.apply(rs, null, [v, ...O]), () => xn(...O), "number format", (v) => v[
|
|
4644
|
+
return _e((v) => Reflect.apply(rs, null, [v, ...O]), () => xn(...O), "number format", (v) => v[jn](...O), us, (v) => w(v) || J(v));
|
|
4645
4645
|
}
|
|
4646
4646
|
function Tt(...O) {
|
|
4647
|
-
return _e((v) => Reflect.apply(ts, null, [v, ...O]), () => Mn(...O), "datetime format", (v) => v[
|
|
4647
|
+
return _e((v) => Reflect.apply(ts, null, [v, ...O]), () => Mn(...O), "datetime format", (v) => v[Bn](...O), us, (v) => w(v) || J(v));
|
|
4648
4648
|
}
|
|
4649
4649
|
function dn(O) {
|
|
4650
|
-
R = O,
|
|
4650
|
+
R = O, _.pluralRules = R;
|
|
4651
4651
|
}
|
|
4652
4652
|
function pn(O, v) {
|
|
4653
4653
|
return _e(() => {
|
|
4654
4654
|
if (!O)
|
|
4655
4655
|
return !1;
|
|
4656
|
-
const
|
|
4656
|
+
const j = w(v) ? v : a.value, K = xe(j), Ve = _.messageResolver(K, O);
|
|
4657
4657
|
return Ee(Ve) || me(Ve) || w(Ve);
|
|
4658
|
-
}, () => [O], "translate exists", (
|
|
4658
|
+
}, () => [O], "translate exists", (j) => Reflect.apply(j.te, j, [O, v]), vl, (j) => X(j));
|
|
4659
4659
|
}
|
|
4660
4660
|
function it(O) {
|
|
4661
4661
|
let v = null;
|
|
4662
|
-
const
|
|
4663
|
-
for (let K = 0; K <
|
|
4664
|
-
const Ve = u.value[
|
|
4662
|
+
const j = oo(_, c.value, a.value);
|
|
4663
|
+
for (let K = 0; K < j.length; K++) {
|
|
4664
|
+
const Ve = u.value[j[K]] || {}, Lt = _.messageResolver(Ve, O);
|
|
4665
4665
|
if (Lt != null) {
|
|
4666
4666
|
v = Lt;
|
|
4667
4667
|
break;
|
|
@@ -4678,43 +4678,43 @@ function Rl(e = {}) {
|
|
|
4678
4678
|
}
|
|
4679
4679
|
function ct(O, v) {
|
|
4680
4680
|
if (s) {
|
|
4681
|
-
const
|
|
4682
|
-
for (const K in
|
|
4683
|
-
he(
|
|
4684
|
-
v =
|
|
4681
|
+
const j = { [O]: v };
|
|
4682
|
+
for (const K in j)
|
|
4683
|
+
he(j, K) && gt(j[K]);
|
|
4684
|
+
v = j[O];
|
|
4685
4685
|
}
|
|
4686
|
-
u.value[O] = v,
|
|
4686
|
+
u.value[O] = v, _.messages = u.value;
|
|
4687
4687
|
}
|
|
4688
4688
|
function mn(O, v) {
|
|
4689
4689
|
u.value[O] = u.value[O] || {};
|
|
4690
|
-
const
|
|
4690
|
+
const j = { [O]: v };
|
|
4691
4691
|
if (s)
|
|
4692
|
-
for (const K in
|
|
4693
|
-
he(
|
|
4694
|
-
v =
|
|
4692
|
+
for (const K in j)
|
|
4693
|
+
he(j, K) && gt(j[K]);
|
|
4694
|
+
v = j[O], kt(v, u.value[O]), _.messages = u.value;
|
|
4695
4695
|
}
|
|
4696
|
-
function
|
|
4697
|
-
return
|
|
4696
|
+
function f(O) {
|
|
4697
|
+
return l.value[O] || {};
|
|
4698
4698
|
}
|
|
4699
|
-
function
|
|
4700
|
-
|
|
4699
|
+
function d(O, v) {
|
|
4700
|
+
l.value[O] = v, _.datetimeFormats = l.value, ns(_, O, v);
|
|
4701
4701
|
}
|
|
4702
4702
|
function L(O, v) {
|
|
4703
|
-
|
|
4703
|
+
l.value[O] = te(l.value[O] || {}, v), _.datetimeFormats = l.value, ns(_, O, v);
|
|
4704
4704
|
}
|
|
4705
4705
|
function D(O) {
|
|
4706
|
-
return
|
|
4706
|
+
return p.value[O] || {};
|
|
4707
4707
|
}
|
|
4708
4708
|
function q(O, v) {
|
|
4709
|
-
|
|
4709
|
+
p.value[O] = v, _.numberFormats = p.value, ss(_, O, v);
|
|
4710
4710
|
}
|
|
4711
4711
|
function Y(O, v) {
|
|
4712
|
-
|
|
4712
|
+
p.value[O] = te(p.value[O] || {}, v), _.numberFormats = p.value, ss(_, O, v);
|
|
4713
4713
|
}
|
|
4714
4714
|
fs++, t && Re && (vn(t.locale, (O) => {
|
|
4715
|
-
i && (a.value = O,
|
|
4715
|
+
i && (a.value = O, _.locale = O, ut(_, a.value, c.value));
|
|
4716
4716
|
}), vn(t.fallbackLocale, (O) => {
|
|
4717
|
-
i && (c.value = O,
|
|
4717
|
+
i && (c.value = O, _.fallbackLocale = O, ut(_, a.value, c.value));
|
|
4718
4718
|
}));
|
|
4719
4719
|
const V = {
|
|
4720
4720
|
id: fs,
|
|
@@ -4724,7 +4724,7 @@ function Rl(e = {}) {
|
|
|
4724
4724
|
return i;
|
|
4725
4725
|
},
|
|
4726
4726
|
set inheritLocale(O) {
|
|
4727
|
-
i = O, O && t && (a.value = t.locale.value, c.value = t.fallbackLocale.value, ut(
|
|
4727
|
+
i = O, O && t && (a.value = t.locale.value, c.value = t.fallbackLocale.value, ut(_, a.value, c.value));
|
|
4728
4728
|
},
|
|
4729
4729
|
get availableLocales() {
|
|
4730
4730
|
return Object.keys(u.value).sort();
|
|
@@ -4743,13 +4743,13 @@ function Rl(e = {}) {
|
|
|
4743
4743
|
return g;
|
|
4744
4744
|
},
|
|
4745
4745
|
set missingWarn(O) {
|
|
4746
|
-
g = O,
|
|
4746
|
+
g = O, _.missingWarn = g;
|
|
4747
4747
|
},
|
|
4748
4748
|
get fallbackWarn() {
|
|
4749
4749
|
return A;
|
|
4750
4750
|
},
|
|
4751
4751
|
set fallbackWarn(O) {
|
|
4752
|
-
A = O,
|
|
4752
|
+
A = O, _.fallbackWarn = A;
|
|
4753
4753
|
},
|
|
4754
4754
|
get fallbackRoot() {
|
|
4755
4755
|
return E;
|
|
@@ -4761,19 +4761,19 @@ function Rl(e = {}) {
|
|
|
4761
4761
|
return b;
|
|
4762
4762
|
},
|
|
4763
4763
|
set fallbackFormat(O) {
|
|
4764
|
-
b = O,
|
|
4764
|
+
b = O, _.fallbackFormat = b;
|
|
4765
4765
|
},
|
|
4766
4766
|
get warnHtmlMessage() {
|
|
4767
4767
|
return T;
|
|
4768
4768
|
},
|
|
4769
4769
|
set warnHtmlMessage(O) {
|
|
4770
|
-
T = O,
|
|
4770
|
+
T = O, _.warnHtmlMessage = O;
|
|
4771
4771
|
},
|
|
4772
4772
|
get escapeParameter() {
|
|
4773
4773
|
return y;
|
|
4774
4774
|
},
|
|
4775
4775
|
set escapeParameter(O) {
|
|
4776
|
-
y = O,
|
|
4776
|
+
y = O, _.escapeParameter = O;
|
|
4777
4777
|
},
|
|
4778
4778
|
t: ce,
|
|
4779
4779
|
getLocaleMessage: xe,
|
|
@@ -4785,10 +4785,10 @@ function Rl(e = {}) {
|
|
|
4785
4785
|
setMissingHandler: Z,
|
|
4786
4786
|
[Tl]: dn
|
|
4787
4787
|
};
|
|
4788
|
-
return V.datetimeFormats = W, V.numberFormats = ne, V.rt = ye, V.te = pn, V.tm = at, V.d = Me, V.n = we, V.getDateTimeFormat =
|
|
4789
|
-
|
|
4788
|
+
return V.datetimeFormats = W, V.numberFormats = ne, V.rt = ye, V.te = pn, V.tm = at, V.d = Me, V.n = we, V.getDateTimeFormat = f, V.setDateTimeFormat = d, V.mergeDateTimeFormat = L, V.getNumberFormat = D, V.setNumberFormat = q, V.mergeNumberFormat = Y, V[bo] = n, V[$n] = St, V[Bn] = Tt, V[jn] = fn, process.env.NODE_ENV !== "production" && (V[Hn] = (O) => {
|
|
4789
|
+
_.__v_emitter = O;
|
|
4790
4790
|
}, V[Wn] = () => {
|
|
4791
|
-
|
|
4791
|
+
_.__v_emitter = void 0;
|
|
4792
4792
|
}), V;
|
|
4793
4793
|
}
|
|
4794
4794
|
function ps(e, t) {
|
|
@@ -4842,15 +4842,15 @@ function So(e, t, n, r) {
|
|
|
4842
4842
|
return () => {
|
|
4843
4843
|
const i = { part: !0 };
|
|
4844
4844
|
let a = H();
|
|
4845
|
-
e.locale && (i.locale = e.locale), w(e.format) ? i.key = e.format :
|
|
4845
|
+
e.locale && (i.locale = e.locale), w(e.format) ? i.key = e.format : B(e.format) && (w(e.format.key) && (i.key = e.format.key), a = Object.keys(e.format).reduce((g, A) => n.includes(A) ? te(H(), g, { [A]: e.format[A] }) : g, H()));
|
|
4846
4846
|
const c = r(e.value, i, a);
|
|
4847
4847
|
let u = [i.key];
|
|
4848
4848
|
J(c) ? u = c.map((g, A) => {
|
|
4849
4849
|
const E = s[g.type], b = E ? E({ [g.type]: g.value, index: A, parts: c }) : [g.value];
|
|
4850
4850
|
return Pl(b) && (b[0].key = `${g.type}-${A}`), b;
|
|
4851
4851
|
}) : w(c) && (u = [c]);
|
|
4852
|
-
const
|
|
4853
|
-
return Ns(
|
|
4852
|
+
const l = te(H(), o), p = w(e.tag) || B(e.tag) ? e.tag : Oo();
|
|
4853
|
+
return Ns(p, l, u);
|
|
4854
4854
|
};
|
|
4855
4855
|
}
|
|
4856
4856
|
te({
|
|
@@ -4952,7 +4952,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
4952
4952
|
}
|
|
4953
4953
|
process.env.NODE_ENV;
|
|
4954
4954
|
let Yt = null;
|
|
4955
|
-
function
|
|
4955
|
+
function sf(e) {
|
|
4956
4956
|
if (Yt !== null) {
|
|
4957
4957
|
console.warn(
|
|
4958
4958
|
"[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
|
|
@@ -4974,8 +4974,8 @@ function $l(e) {
|
|
|
4974
4974
|
__i18n: Vl().global
|
|
4975
4975
|
});
|
|
4976
4976
|
function s(...c) {
|
|
4977
|
-
const [u,
|
|
4978
|
-
return t(typeof
|
|
4977
|
+
const [u, l, p] = c;
|
|
4978
|
+
return t(typeof l == "number" ? `${e}.${u}` : `${e}.${u}`, l, p);
|
|
4979
4979
|
}
|
|
4980
4980
|
function o(c) {
|
|
4981
4981
|
return n(`${e}.${c}`);
|
|
@@ -4993,23 +4993,41 @@ function $l(e) {
|
|
|
4993
4993
|
translateOrDefault: a
|
|
4994
4994
|
};
|
|
4995
4995
|
}
|
|
4996
|
-
const
|
|
4996
|
+
const Bl = /* @__PURE__ */ new Set([
|
|
4997
4997
|
xr.BadRequest,
|
|
4998
4998
|
xr.NotFound
|
|
4999
4999
|
]);
|
|
5000
|
-
function
|
|
5001
|
-
return
|
|
5000
|
+
function jl(e) {
|
|
5001
|
+
return Q.isAxiosError(e) && e.response?.status != null && Bl.has(e.response.status);
|
|
5002
5002
|
}
|
|
5003
|
-
function
|
|
5004
|
-
|
|
5005
|
-
|
|
5003
|
+
function Hl(e, t) {
|
|
5004
|
+
const { t: n } = $l(`${e}.fields.${t}`);
|
|
5005
|
+
async function r(l) {
|
|
5006
5006
|
try {
|
|
5007
|
-
return await wa(
|
|
5008
|
-
} catch (
|
|
5009
|
-
return
|
|
5007
|
+
return await wa(e, t, l), !0;
|
|
5008
|
+
} catch (p) {
|
|
5009
|
+
return jl(p) ? p.message : n("validation.unknownError");
|
|
5010
5010
|
}
|
|
5011
5011
|
}
|
|
5012
|
-
|
|
5012
|
+
function s(l) {
|
|
5013
|
+
return l == null || l === "" ? n("validation.required") : !0;
|
|
5014
|
+
}
|
|
5015
|
+
function o(l, p) {
|
|
5016
|
+
return l != null && l.length < p ? n("validation.minLength", { min: p }) : !0;
|
|
5017
|
+
}
|
|
5018
|
+
function i(l, p) {
|
|
5019
|
+
return l != null && l.length > p ? n("validation.maxLength", { max: p }) : !0;
|
|
5020
|
+
}
|
|
5021
|
+
function a(l, p) {
|
|
5022
|
+
return p > l ? n("validation.min", { min: p }) : !0;
|
|
5023
|
+
}
|
|
5024
|
+
function c(l, p) {
|
|
5025
|
+
return l > p ? n("validation.max", { max: p }) : !0;
|
|
5026
|
+
}
|
|
5027
|
+
function u(l, p) {
|
|
5028
|
+
return new RegExp(p).test(l) ? !0 : n("validation.pattern", { pattern: p.toString() });
|
|
5029
|
+
}
|
|
5030
|
+
return { validateFromApi: r, required: s, minLength: o, maxLength: i, min: a, max: c, pattern: u };
|
|
5013
5031
|
}
|
|
5014
5032
|
var Gn = function(e, t) {
|
|
5015
5033
|
return Gn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
@@ -5110,18 +5128,18 @@ var ln = (function() {
|
|
|
5110
5128
|
}
|
|
5111
5129
|
else
|
|
5112
5130
|
i.remove(this);
|
|
5113
|
-
var
|
|
5114
|
-
if (Ce(
|
|
5131
|
+
var l = this.initialTeardown;
|
|
5132
|
+
if (Ce(l))
|
|
5115
5133
|
try {
|
|
5116
|
-
|
|
5134
|
+
l();
|
|
5117
5135
|
} catch (b) {
|
|
5118
5136
|
o = b instanceof Ln ? b.errors : [b];
|
|
5119
5137
|
}
|
|
5120
|
-
var
|
|
5121
|
-
if (
|
|
5138
|
+
var p = this._finalizers;
|
|
5139
|
+
if (p) {
|
|
5122
5140
|
this._finalizers = null;
|
|
5123
5141
|
try {
|
|
5124
|
-
for (var g = Yn(
|
|
5142
|
+
for (var g = Yn(p), A = g.next(); !A.done; A = g.next()) {
|
|
5125
5143
|
var E = A.value;
|
|
5126
5144
|
try {
|
|
5127
5145
|
ms(E);
|
|
@@ -5178,9 +5196,9 @@ function Ao(e) {
|
|
|
5178
5196
|
function ms(e) {
|
|
5179
5197
|
Ce(e) ? e() : e.unsubscribe();
|
|
5180
5198
|
}
|
|
5181
|
-
var
|
|
5199
|
+
var Wl = {
|
|
5182
5200
|
Promise: void 0
|
|
5183
|
-
},
|
|
5201
|
+
}, ql = {
|
|
5184
5202
|
setTimeout: function(e, t) {
|
|
5185
5203
|
for (var n = [], r = 2; r < arguments.length; r++)
|
|
5186
5204
|
n[r - 2] = arguments[r];
|
|
@@ -5191,8 +5209,8 @@ var Hl = {
|
|
|
5191
5209
|
},
|
|
5192
5210
|
delegate: void 0
|
|
5193
5211
|
};
|
|
5194
|
-
function
|
|
5195
|
-
|
|
5212
|
+
function Gl(e) {
|
|
5213
|
+
ql.setTimeout(function() {
|
|
5196
5214
|
throw e;
|
|
5197
5215
|
});
|
|
5198
5216
|
}
|
|
@@ -5205,10 +5223,10 @@ var vo = (function(e) {
|
|
|
5205
5223
|
cn(t, e);
|
|
5206
5224
|
function t(n) {
|
|
5207
5225
|
var r = e.call(this) || this;
|
|
5208
|
-
return r.isStopped = !1, n ? (r.destination = n, Ao(n) && n.add(r)) : r.destination =
|
|
5226
|
+
return r.isStopped = !1, n ? (r.destination = n, Ao(n) && n.add(r)) : r.destination = Xl, r;
|
|
5209
5227
|
}
|
|
5210
5228
|
return t.create = function(n, r, s) {
|
|
5211
|
-
return new
|
|
5229
|
+
return new Qn(n, r, s);
|
|
5212
5230
|
}, t.prototype.next = function(n) {
|
|
5213
5231
|
this.isStopped || this._next(n);
|
|
5214
5232
|
}, t.prototype.error = function(n) {
|
|
@@ -5232,7 +5250,7 @@ var vo = (function(e) {
|
|
|
5232
5250
|
this.unsubscribe();
|
|
5233
5251
|
}
|
|
5234
5252
|
}, t;
|
|
5235
|
-
})(ln),
|
|
5253
|
+
})(ln), Yl = (function() {
|
|
5236
5254
|
function e(t) {
|
|
5237
5255
|
this.partialObserver = t;
|
|
5238
5256
|
}
|
|
@@ -5263,7 +5281,7 @@ var vo = (function(e) {
|
|
|
5263
5281
|
It(n);
|
|
5264
5282
|
}
|
|
5265
5283
|
}, e;
|
|
5266
|
-
})(),
|
|
5284
|
+
})(), Qn = (function(e) {
|
|
5267
5285
|
cn(t, e);
|
|
5268
5286
|
function t(n, r, s) {
|
|
5269
5287
|
var o = e.call(this) || this, i;
|
|
@@ -5271,29 +5289,29 @@ var vo = (function(e) {
|
|
|
5271
5289
|
next: n ?? void 0,
|
|
5272
5290
|
error: r ?? void 0,
|
|
5273
5291
|
complete: s ?? void 0
|
|
5274
|
-
} : i = n, o.destination = new
|
|
5292
|
+
} : i = n, o.destination = new Yl(i), o;
|
|
5275
5293
|
}
|
|
5276
5294
|
return t;
|
|
5277
5295
|
})(vo);
|
|
5278
5296
|
function It(e) {
|
|
5279
|
-
|
|
5297
|
+
Gl(e);
|
|
5280
5298
|
}
|
|
5281
|
-
function
|
|
5299
|
+
function Kl(e) {
|
|
5282
5300
|
throw e;
|
|
5283
5301
|
}
|
|
5284
|
-
var
|
|
5302
|
+
var Xl = {
|
|
5285
5303
|
closed: !0,
|
|
5286
5304
|
next: _s,
|
|
5287
|
-
error:
|
|
5305
|
+
error: Kl,
|
|
5288
5306
|
complete: _s
|
|
5289
|
-
},
|
|
5307
|
+
}, Jl = (function() {
|
|
5290
5308
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
5291
5309
|
})();
|
|
5292
|
-
function
|
|
5310
|
+
function Ql(e) {
|
|
5293
5311
|
return e;
|
|
5294
5312
|
}
|
|
5295
5313
|
function zl(e) {
|
|
5296
|
-
return e.length === 0 ?
|
|
5314
|
+
return e.length === 0 ? Ql : e.length === 1 ? e[0] : function(n) {
|
|
5297
5315
|
return e.reduce(function(r, s) {
|
|
5298
5316
|
return s(r);
|
|
5299
5317
|
}, n);
|
|
@@ -5307,7 +5325,7 @@ var hs = (function() {
|
|
|
5307
5325
|
var n = new e();
|
|
5308
5326
|
return n.source = this, n.operator = t, n;
|
|
5309
5327
|
}, e.prototype.subscribe = function(t, n, r) {
|
|
5310
|
-
var s = this, o =
|
|
5328
|
+
var s = this, o = eu(t) ? t : new Qn(t, n, r);
|
|
5311
5329
|
return Ft(function() {
|
|
5312
5330
|
var i = s, a = i.operator, c = i.source;
|
|
5313
5331
|
o.add(a ? a.call(o, c) : c ? s._subscribe(o) : s._trySubscribe(o));
|
|
@@ -5321,7 +5339,7 @@ var hs = (function() {
|
|
|
5321
5339
|
}, e.prototype.forEach = function(t, n) {
|
|
5322
5340
|
var r = this;
|
|
5323
5341
|
return n = Es(n), new n(function(s, o) {
|
|
5324
|
-
var i = new
|
|
5342
|
+
var i = new Qn({
|
|
5325
5343
|
next: function(a) {
|
|
5326
5344
|
try {
|
|
5327
5345
|
t(a);
|
|
@@ -5337,7 +5355,7 @@ var hs = (function() {
|
|
|
5337
5355
|
}, e.prototype._subscribe = function(t) {
|
|
5338
5356
|
var n;
|
|
5339
5357
|
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
|
|
5340
|
-
}, e.prototype[
|
|
5358
|
+
}, e.prototype[Jl] = function() {
|
|
5341
5359
|
return this;
|
|
5342
5360
|
}, e.prototype.pipe = function() {
|
|
5343
5361
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -5361,15 +5379,15 @@ var hs = (function() {
|
|
|
5361
5379
|
})();
|
|
5362
5380
|
function Es(e) {
|
|
5363
5381
|
var t;
|
|
5364
|
-
return (t = e ??
|
|
5382
|
+
return (t = e ?? Wl.Promise) !== null && t !== void 0 ? t : Promise;
|
|
5365
5383
|
}
|
|
5366
|
-
function
|
|
5384
|
+
function Zl(e) {
|
|
5367
5385
|
return e && Ce(e.next) && Ce(e.error) && Ce(e.complete);
|
|
5368
5386
|
}
|
|
5369
|
-
function
|
|
5370
|
-
return e && e instanceof vo ||
|
|
5387
|
+
function eu(e) {
|
|
5388
|
+
return e && e instanceof vo || Zl(e) && Ao(e);
|
|
5371
5389
|
}
|
|
5372
|
-
var
|
|
5390
|
+
var tu = To(function(e) {
|
|
5373
5391
|
return function() {
|
|
5374
5392
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
5375
5393
|
};
|
|
@@ -5384,7 +5402,7 @@ var eu = To(function(e) {
|
|
|
5384
5402
|
return r.operator = n, r;
|
|
5385
5403
|
}, t.prototype._throwIfClosed = function() {
|
|
5386
5404
|
if (this.closed)
|
|
5387
|
-
throw new
|
|
5405
|
+
throw new tu();
|
|
5388
5406
|
}, t.prototype.next = function(n) {
|
|
5389
5407
|
var r = this;
|
|
5390
5408
|
Ft(function() {
|
|
@@ -5472,17 +5490,17 @@ var eu = To(function(e) {
|
|
|
5472
5490
|
return (s = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && s !== void 0 ? s : Lo;
|
|
5473
5491
|
}, t;
|
|
5474
5492
|
})(Co);
|
|
5475
|
-
const
|
|
5476
|
-
function
|
|
5493
|
+
const nu = new Co();
|
|
5494
|
+
function of() {
|
|
5477
5495
|
function e(t) {
|
|
5478
|
-
|
|
5496
|
+
nu.next({
|
|
5479
5497
|
key: "notify",
|
|
5480
5498
|
data: t
|
|
5481
5499
|
});
|
|
5482
5500
|
}
|
|
5483
5501
|
return { Notify: e };
|
|
5484
5502
|
}
|
|
5485
|
-
function
|
|
5503
|
+
function af() {
|
|
5486
5504
|
function e(n) {
|
|
5487
5505
|
return {
|
|
5488
5506
|
page: (n.page || 1) - 1,
|
|
@@ -5503,8 +5521,34 @@ function of() {
|
|
|
5503
5521
|
toQuasarPagination: t
|
|
5504
5522
|
};
|
|
5505
5523
|
}
|
|
5524
|
+
function ru(e, t) {
|
|
5525
|
+
const { validateFromApi: n, required: r, minLength: s, maxLength: o, min: i, max: a, pattern: c } = Hl(e, t);
|
|
5526
|
+
return {
|
|
5527
|
+
validateFromApi: n,
|
|
5528
|
+
required: r,
|
|
5529
|
+
min: (u) => (l) => i(typeof l == "string" ? parseFloat(l) : l, u),
|
|
5530
|
+
max: (u) => (l) => a(typeof l == "string" ? parseFloat(l) : l, u),
|
|
5531
|
+
minLength: (u) => (l) => s(l, u),
|
|
5532
|
+
maxLength: (u) => (l) => o(l, u),
|
|
5533
|
+
pattern: (u) => (l) => c(l, u)
|
|
5534
|
+
};
|
|
5535
|
+
}
|
|
5536
|
+
function cf(e, t, n) {
|
|
5537
|
+
if (!t.hasValidations)
|
|
5538
|
+
return [];
|
|
5539
|
+
const { required: r, validateFromApi: s, ...o } = ru(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
|
|
5540
|
+
(a) => o[a]?.(
|
|
5541
|
+
t.inputSettings?.[a]
|
|
5542
|
+
)
|
|
5543
|
+
).filter(Boolean);
|
|
5544
|
+
return [
|
|
5545
|
+
...t.required ? [r] : [],
|
|
5546
|
+
...i,
|
|
5547
|
+
s
|
|
5548
|
+
];
|
|
5549
|
+
}
|
|
5506
5550
|
let Kt = null;
|
|
5507
|
-
function
|
|
5551
|
+
function lf(e) {
|
|
5508
5552
|
if (Kt !== null) {
|
|
5509
5553
|
console.warn(
|
|
5510
5554
|
"[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
|
|
@@ -5513,14 +5557,14 @@ function af(e) {
|
|
|
5513
5557
|
}
|
|
5514
5558
|
Kt = e;
|
|
5515
5559
|
}
|
|
5516
|
-
function
|
|
5560
|
+
function su() {
|
|
5517
5561
|
if (Kt === null)
|
|
5518
5562
|
throw new Error(
|
|
5519
5563
|
"[LinID CoreLib] UI Design is not initialized. Call setUiDesign() first."
|
|
5520
5564
|
);
|
|
5521
5565
|
return Kt;
|
|
5522
5566
|
}
|
|
5523
|
-
const
|
|
5567
|
+
const ou = [
|
|
5524
5568
|
"icon",
|
|
5525
5569
|
"iconRight",
|
|
5526
5570
|
"noCaps",
|
|
@@ -5544,7 +5588,7 @@ const ru = [
|
|
|
5544
5588
|
"dense",
|
|
5545
5589
|
"ripple",
|
|
5546
5590
|
"round"
|
|
5547
|
-
],
|
|
5591
|
+
], iu = [
|
|
5548
5592
|
"vertical",
|
|
5549
5593
|
"outsideArrows",
|
|
5550
5594
|
"mobileArrows",
|
|
@@ -5564,7 +5608,7 @@ const ru = [
|
|
|
5564
5608
|
"contentClass",
|
|
5565
5609
|
"activeClass",
|
|
5566
5610
|
"dense"
|
|
5567
|
-
],
|
|
5611
|
+
], au = [
|
|
5568
5612
|
"icon",
|
|
5569
5613
|
"activeClass",
|
|
5570
5614
|
"exactActiveClass",
|
|
@@ -5572,12 +5616,12 @@ const ru = [
|
|
|
5572
5616
|
"alert",
|
|
5573
5617
|
"contentClass",
|
|
5574
5618
|
"ripple"
|
|
5575
|
-
],
|
|
5619
|
+
], cu = [
|
|
5576
5620
|
"reveal",
|
|
5577
5621
|
"revealOffset",
|
|
5578
5622
|
"elevated",
|
|
5579
5623
|
"bordered"
|
|
5580
|
-
],
|
|
5624
|
+
], lu = ["inset"], uu = ["shrink"], fu = [
|
|
5581
5625
|
"icon",
|
|
5582
5626
|
"size",
|
|
5583
5627
|
"fontSize",
|
|
@@ -5585,7 +5629,7 @@ const ru = [
|
|
|
5585
5629
|
"textColor",
|
|
5586
5630
|
"square",
|
|
5587
5631
|
"rounded"
|
|
5588
|
-
],
|
|
5632
|
+
], du = [
|
|
5589
5633
|
"floating",
|
|
5590
5634
|
"multiLine",
|
|
5591
5635
|
"align",
|
|
@@ -5594,7 +5638,7 @@ const ru = [
|
|
|
5594
5638
|
"transparent",
|
|
5595
5639
|
"outline",
|
|
5596
5640
|
"rounded"
|
|
5597
|
-
],
|
|
5641
|
+
], pu = [
|
|
5598
5642
|
"virtualScrollItemSize",
|
|
5599
5643
|
"virtualScrollStickySizeStart",
|
|
5600
5644
|
"virtualScrollStickySizeEnd",
|
|
@@ -5625,7 +5669,7 @@ const ru = [
|
|
|
5625
5669
|
"cardStyle",
|
|
5626
5670
|
"cardClass",
|
|
5627
5671
|
"titleClass"
|
|
5628
|
-
],
|
|
5672
|
+
], mu = ["dark", "square", "flat", "bordered"], _u = ["align", "vertical"], hu = ["left", "right", "name", "size", "color"], Eu = [
|
|
5629
5673
|
"toggleOrder",
|
|
5630
5674
|
"toggleIndeterminate",
|
|
5631
5675
|
"keepColor",
|
|
@@ -5639,7 +5683,7 @@ const ru = [
|
|
|
5639
5683
|
"dark",
|
|
5640
5684
|
"dense",
|
|
5641
5685
|
"iconColor"
|
|
5642
|
-
],
|
|
5686
|
+
], gu = [
|
|
5643
5687
|
"autofocus",
|
|
5644
5688
|
"stackLabel",
|
|
5645
5689
|
"hideHint",
|
|
@@ -5665,7 +5709,7 @@ const ru = [
|
|
|
5665
5709
|
"dense",
|
|
5666
5710
|
"itemAligned",
|
|
5667
5711
|
"noErrorIcon"
|
|
5668
|
-
],
|
|
5712
|
+
], bu = [
|
|
5669
5713
|
"landscape",
|
|
5670
5714
|
"yearsInMonthView",
|
|
5671
5715
|
"todayBtn",
|
|
@@ -5677,7 +5721,7 @@ const ru = [
|
|
|
5677
5721
|
"square",
|
|
5678
5722
|
"flat",
|
|
5679
5723
|
"bordered"
|
|
5680
|
-
],
|
|
5724
|
+
], yu = [
|
|
5681
5725
|
"loading",
|
|
5682
5726
|
"loadingShowDelay",
|
|
5683
5727
|
"noSpinner",
|
|
@@ -5700,22 +5744,22 @@ const ru = [
|
|
|
5700
5744
|
"spinnerColor",
|
|
5701
5745
|
"spinnerSize"
|
|
5702
5746
|
], bs = {
|
|
5703
|
-
"q-btn":
|
|
5704
|
-
"q-tabs":
|
|
5705
|
-
"q-route-tab":
|
|
5706
|
-
"q-header":
|
|
5707
|
-
"q-toolbar":
|
|
5708
|
-
"q-toolbar-title":
|
|
5709
|
-
"q-avatar":
|
|
5710
|
-
"q-badge":
|
|
5711
|
-
"q-table":
|
|
5712
|
-
"q-card":
|
|
5713
|
-
"q-card-actions":
|
|
5714
|
-
"q-icon":
|
|
5715
|
-
"q-toggle":
|
|
5716
|
-
"q-input":
|
|
5717
|
-
"q-date":
|
|
5718
|
-
"q-img":
|
|
5747
|
+
"q-btn": ou,
|
|
5748
|
+
"q-tabs": iu,
|
|
5749
|
+
"q-route-tab": au,
|
|
5750
|
+
"q-header": cu,
|
|
5751
|
+
"q-toolbar": lu,
|
|
5752
|
+
"q-toolbar-title": uu,
|
|
5753
|
+
"q-avatar": fu,
|
|
5754
|
+
"q-badge": du,
|
|
5755
|
+
"q-table": pu,
|
|
5756
|
+
"q-card": mu,
|
|
5757
|
+
"q-card-actions": _u,
|
|
5758
|
+
"q-icon": hu,
|
|
5759
|
+
"q-toggle": Eu,
|
|
5760
|
+
"q-input": gu,
|
|
5761
|
+
"q-date": bu,
|
|
5762
|
+
"q-img": yu
|
|
5719
5763
|
};
|
|
5720
5764
|
function ys(e, t) {
|
|
5721
5765
|
return t.split(".").reduce((n, r) => {
|
|
@@ -5723,7 +5767,7 @@ function ys(e, t) {
|
|
|
5723
5767
|
return n[r];
|
|
5724
5768
|
}, e);
|
|
5725
5769
|
}
|
|
5726
|
-
function
|
|
5770
|
+
function Nu(e, t, n) {
|
|
5727
5771
|
let r = ys(e, `${t}.${n}`);
|
|
5728
5772
|
if (r === void 0 && (r = ys(e, `default.${n}`)), typeof r == "object")
|
|
5729
5773
|
throw new Error(
|
|
@@ -5731,34 +5775,34 @@ function bu(e, t, n) {
|
|
|
5731
5775
|
);
|
|
5732
5776
|
return r;
|
|
5733
5777
|
}
|
|
5734
|
-
function
|
|
5778
|
+
function Ou(e) {
|
|
5735
5779
|
if (!(e in bs))
|
|
5736
5780
|
throw new Error(
|
|
5737
5781
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
5738
5782
|
);
|
|
5739
5783
|
return bs[e];
|
|
5740
5784
|
}
|
|
5741
|
-
function
|
|
5742
|
-
const e = De(() =>
|
|
5785
|
+
function uf() {
|
|
5786
|
+
const e = De(() => su());
|
|
5743
5787
|
function t(n, r, s) {
|
|
5744
|
-
const o =
|
|
5788
|
+
const o = Ou(r), i = {};
|
|
5745
5789
|
for (const a of o) {
|
|
5746
|
-
const c = s?.[a] ??
|
|
5790
|
+
const c = s?.[a] ?? Nu(e.value, n, `${r}.${String(a)}`);
|
|
5747
5791
|
c !== void 0 && (i[a] = c);
|
|
5748
5792
|
}
|
|
5749
5793
|
return i;
|
|
5750
5794
|
}
|
|
5751
5795
|
return { ui: t };
|
|
5752
5796
|
}
|
|
5753
|
-
async function
|
|
5797
|
+
async function Su() {
|
|
5754
5798
|
return (await ke().get("/metadata/entities")).data;
|
|
5755
5799
|
}
|
|
5756
|
-
async function
|
|
5800
|
+
async function Tu() {
|
|
5757
5801
|
return (await ke().get(
|
|
5758
5802
|
"/metadata/routes"
|
|
5759
5803
|
)).data;
|
|
5760
5804
|
}
|
|
5761
|
-
const
|
|
5805
|
+
const ff = () => Lu(er()), Lu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
5762
5806
|
state: () => ({
|
|
5763
5807
|
entities: [],
|
|
5764
5808
|
apiEndpoints: [],
|
|
@@ -5789,8 +5833,8 @@ const lf = () => Su(er()), Su = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5789
5833
|
this.loading = !0, this.error = null;
|
|
5790
5834
|
try {
|
|
5791
5835
|
const [e, t] = await Promise.all([
|
|
5792
|
-
|
|
5793
|
-
|
|
5836
|
+
Su(),
|
|
5837
|
+
Tu()
|
|
5794
5838
|
]);
|
|
5795
5839
|
this.entities = e, this.apiEndpoints = t;
|
|
5796
5840
|
} catch (e) {
|
|
@@ -5800,7 +5844,7 @@ const lf = () => Su(er()), Su = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5800
5844
|
}
|
|
5801
5845
|
}
|
|
5802
5846
|
}
|
|
5803
|
-
}),
|
|
5847
|
+
}), df = () => Au(er()), Au = /* @__PURE__ */ Zn("LinidUiStore", {
|
|
5804
5848
|
state: () => ({
|
|
5805
5849
|
mainNavigationItems: []
|
|
5806
5850
|
}),
|
|
@@ -5814,15 +5858,15 @@ const lf = () => Su(er()), Su = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5814
5858
|
}
|
|
5815
5859
|
}
|
|
5816
5860
|
});
|
|
5817
|
-
function
|
|
5861
|
+
function vu(e, t) {
|
|
5818
5862
|
if (!Xt(e) || !Xt(t))
|
|
5819
5863
|
return t;
|
|
5820
5864
|
const n = { ...e };
|
|
5821
5865
|
for (const r of Object.keys(t))
|
|
5822
|
-
n[r] =
|
|
5866
|
+
n[r] = vu(e[r], t[r]);
|
|
5823
5867
|
return n;
|
|
5824
5868
|
}
|
|
5825
|
-
function
|
|
5869
|
+
function pf(e) {
|
|
5826
5870
|
const t = {};
|
|
5827
5871
|
for (const [n, r] of Object.entries(e)) {
|
|
5828
5872
|
const s = n.split(".");
|
|
@@ -5836,16 +5880,16 @@ function ff(e) {
|
|
|
5836
5880
|
function Xt(e) {
|
|
5837
5881
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
5838
5882
|
}
|
|
5839
|
-
function
|
|
5883
|
+
function Cu(e, t) {
|
|
5840
5884
|
return typeof e != "object" || e === null ? e : Object.fromEntries(
|
|
5841
5885
|
Object.entries(e).map(([n, r]) => {
|
|
5842
|
-
const s = t(n), o = Xt(r) ?
|
|
5886
|
+
const s = t(n), o = Xt(r) ? Cu(r, t) : r;
|
|
5843
5887
|
return [s, o];
|
|
5844
5888
|
})
|
|
5845
5889
|
);
|
|
5846
5890
|
}
|
|
5847
|
-
var
|
|
5848
|
-
class
|
|
5891
|
+
var Ru = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Ru || {});
|
|
5892
|
+
class mf {
|
|
5849
5893
|
/**
|
|
5850
5894
|
* Unique identifier for the module.
|
|
5851
5895
|
*
|
|
@@ -5949,38 +5993,40 @@ class df {
|
|
|
5949
5993
|
}
|
|
5950
5994
|
}
|
|
5951
5995
|
export {
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5996
|
+
mf as BasicRemoteModule,
|
|
5997
|
+
Du as LinidZoneRenderer,
|
|
5998
|
+
Ru as ModuleLifecyclePhase,
|
|
5999
|
+
rf as deleteEntityById,
|
|
6000
|
+
pf as fromDot,
|
|
6001
|
+
tf as getEntities,
|
|
6002
|
+
nf as getEntityById,
|
|
5959
6003
|
ke as getHttpClient,
|
|
5960
6004
|
Vl as getI18nInstance,
|
|
5961
6005
|
Jo as getModuleFederation,
|
|
5962
6006
|
st as getModuleHostConfiguration,
|
|
5963
6007
|
er as getPiniaStore,
|
|
5964
|
-
|
|
6008
|
+
su as getUiDesign,
|
|
5965
6009
|
Xt as isObject,
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
6010
|
+
Qo as loadAsyncComponent,
|
|
6011
|
+
vu as merge,
|
|
6012
|
+
zu as registerModuleHostConfiguration,
|
|
6013
|
+
Cu as renameKeys,
|
|
6014
|
+
Zu as saveEntity,
|
|
6015
|
+
Qu as setHttpClient,
|
|
6016
|
+
sf as setI18nInstance,
|
|
6017
|
+
Pu as setModuleFederation,
|
|
6018
|
+
wu as setPiniaStore,
|
|
6019
|
+
lf as setUiDesign,
|
|
6020
|
+
nu as uiEventSubject,
|
|
6021
|
+
ef as updateEntity,
|
|
6022
|
+
Hl as useFieldValidation,
|
|
6023
|
+
ff as useLinidConfigurationStore,
|
|
6024
|
+
df as useLinidUiStore,
|
|
5981
6025
|
ti as useLinidZoneStore,
|
|
5982
|
-
|
|
5983
|
-
|
|
6026
|
+
of as useNotify,
|
|
6027
|
+
af as usePagination,
|
|
6028
|
+
ru as useQuasarFieldValidation,
|
|
6029
|
+
cf as useQuasarRules,
|
|
5984
6030
|
$l as useScopedI18n,
|
|
5985
|
-
|
|
6031
|
+
uf as useUiDesign
|
|
5986
6032
|
};
|