@vc-shell/framework 1.0.82 → 1.0.84
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/framework.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Me, openBlock as V, createElementBlock as J, normalizeClass as De, renderSlot as Ne, computed as Ee, createBlock as Ae, unref as te, createCommentVNode as fe, ref as ce, createElementVNode as re, toDisplayString as pe, createVNode as le, Transition as Qc, withCtx as he, withDirectives as An, vShow as Yo, createTextVNode as Re, normalizeStyle as Ct, onMounted as
|
|
1
|
+
import { defineComponent as Me, openBlock as V, createElementBlock as J, normalizeClass as De, renderSlot as Ne, computed as Ee, createBlock as Ae, unref as te, createCommentVNode as fe, ref as ce, createElementVNode as re, toDisplayString as pe, createVNode as le, Transition as Qc, withCtx as he, withDirectives as An, vShow as Yo, createTextVNode as Re, normalizeStyle as Ct, onMounted as un, nextTick as an, resolveComponent as Ye, createSlots as Rr, Fragment as Ie, renderList as lt, mergeProps as gt, h as Yt, markRaw as eo, capitalize as Ky, onBeforeUnmount as sl, watch as ot, getCurrentInstance as ln, effectScope as Jy, inject as oi, onUnmounted as qp, shallowRef as al, onBeforeMount as Yp, isRef as Zy, Text as Xy, customRef as Kp, getCurrentScope as Jp, onScopeDispose as Zp, readonly as ef, toRef as Qy, watchEffect as eb, onUpdated as ll, onErrorCaptured as tb, withModifiers as tt, vModelDynamic as nb, toRefs as tf, shallowReadonly as Pi, Teleport as gs, normalizeProps as rb, guardReactiveProps as ib, onBeforeUpdate as Xp, resolveDynamicComponent as to, reactive as Lr, createApp as ob, shallowReactive as sb, withKeys as nf, useAttrs as ab } from "vue";
|
|
2
2
|
import * as Qp from "vee-validate";
|
|
3
3
|
import { useField as lb, useForm as ms, useIsFormValid as ul, useIsFormDirty as cl, Field as Tt, defineRule as go } from "vee-validate";
|
|
4
4
|
import { useRoute as eg, useRouter as fl } from "vue-router";
|
|
@@ -232,7 +232,7 @@ const Ca = Ob, $b = /* @__PURE__ */ Me({
|
|
|
232
232
|
emits: ["scroll:ptr"],
|
|
233
233
|
setup(n, { expose: e, emit: t }) {
|
|
234
234
|
const r = n, i = ce(), o = ce(!1), f = ce(0), g = ce(), u = ce(60), h = ce(0), l = ce("normal"), s = ce(0);
|
|
235
|
-
|
|
235
|
+
un(() => {
|
|
236
236
|
const w = new ResizeObserver(() => {
|
|
237
237
|
o.value = i.value && i.value.clientHeight < i.value.scrollHeight;
|
|
238
238
|
});
|
|
@@ -15796,7 +15796,7 @@ const Bw = /* @__PURE__ */ Me({
|
|
|
15796
15796
|
emits: ["update:modelValue"],
|
|
15797
15797
|
setup(n, { emit: e }) {
|
|
15798
15798
|
const t = n, r = ce();
|
|
15799
|
-
|
|
15799
|
+
un(() => {
|
|
15800
15800
|
r.value = t.modelValue;
|
|
15801
15801
|
});
|
|
15802
15802
|
function i() {
|
|
@@ -23242,10 +23242,10 @@ var lg = { exports: {} };
|
|
|
23242
23242
|
})(lg);
|
|
23243
23243
|
var Uw = lg.exports;
|
|
23244
23244
|
const Fo = /* @__PURE__ */ vs(Uw);
|
|
23245
|
-
var ir = -1, Hn = 1,
|
|
23245
|
+
var ir = -1, Hn = 1, pn = 0;
|
|
23246
23246
|
function Ko(n, e, t, r) {
|
|
23247
23247
|
if (n === e)
|
|
23248
|
-
return n ? [[
|
|
23248
|
+
return n ? [[pn, n]] : [];
|
|
23249
23249
|
if (t != null) {
|
|
23250
23250
|
var i = Gw(n, e, t);
|
|
23251
23251
|
if (i)
|
|
@@ -23256,7 +23256,7 @@ function Ko(n, e, t, r) {
|
|
|
23256
23256
|
var g = n.substring(n.length - o);
|
|
23257
23257
|
n = n.substring(0, n.length - o), e = e.substring(0, e.length - o);
|
|
23258
23258
|
var u = Hw(n, e);
|
|
23259
|
-
return f && u.unshift([
|
|
23259
|
+
return f && u.unshift([pn, f]), g && u.push([pn, g]), ug(u, r), u;
|
|
23260
23260
|
}
|
|
23261
23261
|
function Hw(n, e) {
|
|
23262
23262
|
var t;
|
|
@@ -23268,7 +23268,7 @@ function Hw(n, e) {
|
|
|
23268
23268
|
if (o !== -1)
|
|
23269
23269
|
return t = [
|
|
23270
23270
|
[Hn, r.substring(0, o)],
|
|
23271
|
-
[
|
|
23271
|
+
[pn, i],
|
|
23272
23272
|
[Hn, r.substring(o + i.length)]
|
|
23273
23273
|
], n.length > e.length && (t[0][0] = t[2][0] = ir), t;
|
|
23274
23274
|
if (i.length === 1)
|
|
@@ -23276,7 +23276,7 @@ function Hw(n, e) {
|
|
|
23276
23276
|
var f = Vw(n, e);
|
|
23277
23277
|
if (f) {
|
|
23278
23278
|
var g = f[0], u = f[1], h = f[2], l = f[3], s = f[4], a = Ko(g, h), c = Ko(u, l);
|
|
23279
|
-
return a.concat([[
|
|
23279
|
+
return a.concat([[pn, s]], c);
|
|
23280
23280
|
}
|
|
23281
23281
|
return Ww(n, e);
|
|
23282
23282
|
}
|
|
@@ -23378,7 +23378,7 @@ function Vw(n, e) {
|
|
|
23378
23378
|
return [u, h, l, s, a];
|
|
23379
23379
|
}
|
|
23380
23380
|
function ug(n, e) {
|
|
23381
|
-
n.push([
|
|
23381
|
+
n.push([pn, ""]);
|
|
23382
23382
|
for (var t = 0, r = 0, i = 0, o = "", f = "", g; t < n.length; ) {
|
|
23383
23383
|
if (t < n.length - 1 && !n[t][1]) {
|
|
23384
23384
|
n.splice(t, 1);
|
|
@@ -23391,7 +23391,7 @@ function ug(n, e) {
|
|
|
23391
23391
|
case ir:
|
|
23392
23392
|
r++, o += n[t][1], t++;
|
|
23393
23393
|
break;
|
|
23394
|
-
case
|
|
23394
|
+
case pn:
|
|
23395
23395
|
var u = t - i - r - 1;
|
|
23396
23396
|
if (e) {
|
|
23397
23397
|
if (u >= 0 && dg(n[u][1])) {
|
|
@@ -23412,18 +23412,18 @@ function ug(n, e) {
|
|
|
23412
23412
|
break;
|
|
23413
23413
|
}
|
|
23414
23414
|
if (o.length > 0 || f.length > 0) {
|
|
23415
|
-
o.length > 0 && f.length > 0 && (g = sf(f, o), g !== 0 && (u >= 0 ? n[u][1] += f.substring(0, g) : (n.splice(0, 0, [
|
|
23415
|
+
o.length > 0 && f.length > 0 && (g = sf(f, o), g !== 0 && (u >= 0 ? n[u][1] += f.substring(0, g) : (n.splice(0, 0, [pn, f.substring(0, g)]), t++), f = f.substring(g), o = o.substring(g)), g = af(f, o), g !== 0 && (n[t][1] = f.substring(f.length - g) + n[t][1], f = f.substring(0, f.length - g), o = o.substring(0, o.length - g)));
|
|
23416
23416
|
var s = i + r;
|
|
23417
23417
|
o.length === 0 && f.length === 0 ? (n.splice(t - s, s), t = t - s) : o.length === 0 ? (n.splice(t - s, s, [Hn, f]), t = t - s + 1) : f.length === 0 ? (n.splice(t - s, s, [ir, o]), t = t - s + 1) : (n.splice(t - s, s, [ir, o], [Hn, f]), t = t - s + 2);
|
|
23418
23418
|
}
|
|
23419
|
-
t !== 0 && n[t - 1][0] ===
|
|
23419
|
+
t !== 0 && n[t - 1][0] === pn ? (n[t - 1][1] += n[t][1], n.splice(t, 1)) : t++, i = 0, r = 0, o = "", f = "";
|
|
23420
23420
|
break;
|
|
23421
23421
|
}
|
|
23422
23422
|
}
|
|
23423
23423
|
n[n.length - 1][1] === "" && n.pop();
|
|
23424
23424
|
var a = !1;
|
|
23425
23425
|
for (t = 1; t < n.length - 1; )
|
|
23426
|
-
n[t - 1][0] ===
|
|
23426
|
+
n[t - 1][0] === pn && n[t + 1][0] === pn && (n[t][1].substring(n[t][1].length - n[t - 1][1].length) === n[t - 1][1] ? (n[t][1] = n[t - 1][1] + n[t][1].substring(0, n[t][1].length - n[t - 1][1].length), n[t + 1][1] = n[t - 1][1] + n[t + 1][1], n.splice(t - 1, 1), a = !0) : n[t][1].substring(0, n[t + 1][1].length) == n[t + 1][1] && (n[t - 1][1] += n[t + 1][1], n[t][1] = n[t][1].substring(n[t + 1][1].length) + n[t + 1][1], n.splice(t + 1, 1), a = !0)), t++;
|
|
23427
23427
|
a && ug(n, e);
|
|
23428
23428
|
}
|
|
23429
23429
|
function cg(n) {
|
|
@@ -23445,10 +23445,10 @@ function zw(n) {
|
|
|
23445
23445
|
}
|
|
23446
23446
|
function Fu(n, e, t, r) {
|
|
23447
23447
|
return dg(n) || hg(r) ? null : zw([
|
|
23448
|
-
[
|
|
23448
|
+
[pn, n],
|
|
23449
23449
|
[ir, e],
|
|
23450
23450
|
[Hn, t],
|
|
23451
|
-
[
|
|
23451
|
+
[pn, r]
|
|
23452
23452
|
]);
|
|
23453
23453
|
}
|
|
23454
23454
|
function Gw(n, e, t) {
|
|
@@ -23499,7 +23499,7 @@ function ml(n, e, t) {
|
|
|
23499
23499
|
}
|
|
23500
23500
|
ml.INSERT = Hn;
|
|
23501
23501
|
ml.DELETE = ir;
|
|
23502
|
-
ml.EQUAL =
|
|
23502
|
+
ml.EQUAL = pn;
|
|
23503
23503
|
var qw = ml, La = { exports: {} };
|
|
23504
23504
|
La.exports;
|
|
23505
23505
|
(function(n, e) {
|
|
@@ -23642,19 +23642,19 @@ La.exports;
|
|
|
23642
23642
|
};
|
|
23643
23643
|
}
|
|
23644
23644
|
function cu(R) {
|
|
23645
|
-
return
|
|
23645
|
+
return li(this, R).delete(R);
|
|
23646
23646
|
}
|
|
23647
23647
|
function fu(R) {
|
|
23648
|
-
return
|
|
23648
|
+
return li(this, R).get(R);
|
|
23649
23649
|
}
|
|
23650
23650
|
function hu(R) {
|
|
23651
|
-
return
|
|
23651
|
+
return li(this, R).has(R);
|
|
23652
23652
|
}
|
|
23653
23653
|
function du(R, G) {
|
|
23654
|
-
return
|
|
23654
|
+
return li(this, R).set(R, G), this;
|
|
23655
23655
|
}
|
|
23656
23656
|
Jt.prototype.clear = uu, Jt.prototype.delete = cu, Jt.prototype.get = fu, Jt.prototype.has = hu, Jt.prototype.set = du;
|
|
23657
|
-
function
|
|
23657
|
+
function cn(R) {
|
|
23658
23658
|
this.__data__ = new Vt(R);
|
|
23659
23659
|
}
|
|
23660
23660
|
function pu() {
|
|
@@ -23679,7 +23679,7 @@ La.exports;
|
|
|
23679
23679
|
}
|
|
23680
23680
|
return ne.set(R, G), this;
|
|
23681
23681
|
}
|
|
23682
|
-
|
|
23682
|
+
cn.prototype.clear = pu, cn.prototype.delete = gu, cn.prototype.get = mu, cn.prototype.has = vu, cn.prototype.set = yu;
|
|
23683
23683
|
function Li(R, G) {
|
|
23684
23684
|
var ne = To(R) || Mi(R) ? oe(R.length, String) : [], be = ne.length, Xe = !!be;
|
|
23685
23685
|
for (var We in R)
|
|
@@ -23724,10 +23724,10 @@ La.exports;
|
|
|
23724
23724
|
ct = Lu(R, dt, So, G);
|
|
23725
23725
|
}
|
|
23726
23726
|
}
|
|
23727
|
-
st || (st = new
|
|
23728
|
-
var
|
|
23729
|
-
if (
|
|
23730
|
-
return
|
|
23727
|
+
st || (st = new cn());
|
|
23728
|
+
var fn = st.get(R);
|
|
23729
|
+
if (fn)
|
|
23730
|
+
return fn;
|
|
23731
23731
|
if (st.set(R, ct), !It)
|
|
23732
23732
|
var Mt = ne ? Ou(R) : xo(R);
|
|
23733
23733
|
return X(Mt || R, function(Xt, zt) {
|
|
@@ -23768,7 +23768,7 @@ La.exports;
|
|
|
23768
23768
|
var G = new R.constructor(R.byteLength);
|
|
23769
23769
|
return new Qe(G).set(new Qe(R)), G;
|
|
23770
23770
|
}
|
|
23771
|
-
function
|
|
23771
|
+
function ai(R, G) {
|
|
23772
23772
|
var ne = G ? Eo(R.buffer) : R.buffer;
|
|
23773
23773
|
return new R.constructor(ne, R.byteOffset, R.byteLength);
|
|
23774
23774
|
}
|
|
@@ -23811,7 +23811,7 @@ La.exports;
|
|
|
23811
23811
|
function Ou(R) {
|
|
23812
23812
|
return wu(R, xo, br);
|
|
23813
23813
|
}
|
|
23814
|
-
function
|
|
23814
|
+
function li(R, G) {
|
|
23815
23815
|
var ne = R.__data__;
|
|
23816
23816
|
return Ru(G) ? ne[typeof G == "string" ? "string" : "hash"] : ne.map;
|
|
23817
23817
|
}
|
|
@@ -23853,7 +23853,7 @@ La.exports;
|
|
|
23853
23853
|
case u:
|
|
23854
23854
|
return new Xe(+R);
|
|
23855
23855
|
case S:
|
|
23856
|
-
return
|
|
23856
|
+
return ai(R, be);
|
|
23857
23857
|
case T:
|
|
23858
23858
|
case k:
|
|
23859
23859
|
case O:
|
|
@@ -24074,7 +24074,7 @@ Ia.exports;
|
|
|
24074
24074
|
return be < 0 ? (++this.size, ne.push([R, G])) : ne[be][1] = G, this;
|
|
24075
24075
|
}
|
|
24076
24076
|
Jt.prototype.clear = uu, Jt.prototype.delete = cu, Jt.prototype.get = fu, Jt.prototype.has = hu, Jt.prototype.set = du;
|
|
24077
|
-
function
|
|
24077
|
+
function cn(R) {
|
|
24078
24078
|
var G = -1, ne = R == null ? 0 : R.length;
|
|
24079
24079
|
for (this.clear(); ++G < ne; ) {
|
|
24080
24080
|
var be = R[G];
|
|
@@ -24102,10 +24102,10 @@ Ia.exports;
|
|
|
24102
24102
|
var ne = Fn(this, R), be = ne.size;
|
|
24103
24103
|
return ne.set(R, G), this.size += ne.size == be ? 0 : 1, this;
|
|
24104
24104
|
}
|
|
24105
|
-
|
|
24105
|
+
cn.prototype.clear = pu, cn.prototype.delete = gu, cn.prototype.get = mu, cn.prototype.has = vu, cn.prototype.set = yu;
|
|
24106
24106
|
function Li(R) {
|
|
24107
24107
|
var G = -1, ne = R == null ? 0 : R.length;
|
|
24108
|
-
for (this.__data__ = new
|
|
24108
|
+
for (this.__data__ = new cn(); ++G < ne; )
|
|
24109
24109
|
this.add(R[G]);
|
|
24110
24110
|
}
|
|
24111
24111
|
function Us(R) {
|
|
@@ -24138,7 +24138,7 @@ Ia.exports;
|
|
|
24138
24138
|
var be = ne.__data__;
|
|
24139
24139
|
if (!qe || be.length < t - 1)
|
|
24140
24140
|
return be.push([R, G]), this.size = ++ne.size, this;
|
|
24141
|
-
ne = this.__data__ = new
|
|
24141
|
+
ne = this.__data__ = new cn(be);
|
|
24142
24142
|
}
|
|
24143
24143
|
return ne.set(R, G), this.size = ne.size, this;
|
|
24144
24144
|
}
|
|
@@ -24163,11 +24163,11 @@ Ia.exports;
|
|
|
24163
24163
|
var be = G(R);
|
|
24164
24164
|
return Mi(R) ? be : ge(be, ne(R));
|
|
24165
24165
|
}
|
|
24166
|
-
function
|
|
24166
|
+
function ai(R) {
|
|
24167
24167
|
return R == null ? R === void 0 ? O : v : yn && yn in Object(R) ? wr(R) : Vs(R);
|
|
24168
24168
|
}
|
|
24169
24169
|
function Hs(R) {
|
|
24170
|
-
return er(R) &&
|
|
24170
|
+
return er(R) && ai(R) == g;
|
|
24171
24171
|
}
|
|
24172
24172
|
function Ws(R, G, ne, be, Xe) {
|
|
24173
24173
|
return R === G ? !0 : R == null || G == null || !er(R) && !er(G) ? R !== R && G !== G : Au(R, G, ne, be, Ws, Xe);
|
|
@@ -24175,7 +24175,7 @@ Ia.exports;
|
|
|
24175
24175
|
function Au(R, G, ne, be, Xe, We) {
|
|
24176
24176
|
var st = Mi(R), ct = Mi(G), It = st ? u : Qn(R), dt = ct ? u : Qn(G);
|
|
24177
24177
|
It = It == g ? y : It, dt = dt == g ? y : dt;
|
|
24178
|
-
var Zt = It == y,
|
|
24178
|
+
var Zt = It == y, fn = dt == y, Mt = It == dt;
|
|
24179
24179
|
if (Mt && Ni(R)) {
|
|
24180
24180
|
if (!Ni(G))
|
|
24181
24181
|
return !1;
|
|
@@ -24184,7 +24184,7 @@ Ia.exports;
|
|
|
24184
24184
|
if (Mt && !Zt)
|
|
24185
24185
|
return We || (We = new Xn()), st || Ks(R) ? Ao(R, G, ne, be, Xe, We) : Cu(R, G, It, ne, be, Xe, We);
|
|
24186
24186
|
if (!(ne & i)) {
|
|
24187
|
-
var Xt = Zt && je.call(R, "__wrapped__"), zt =
|
|
24187
|
+
var Xt = Zt && je.call(R, "__wrapped__"), zt = fn && je.call(G, "__wrapped__");
|
|
24188
24188
|
if (Xt || zt) {
|
|
24189
24189
|
var Wr = Xt ? R.value() : R, _r = zt ? G.value() : G;
|
|
24190
24190
|
return We || (We = new Xn()), Xe(Wr, _r, ne, be, We);
|
|
@@ -24199,7 +24199,7 @@ Ia.exports;
|
|
|
24199
24199
|
return G.test(on(R));
|
|
24200
24200
|
}
|
|
24201
24201
|
function ku(R) {
|
|
24202
|
-
return er(R) && ko(R.length) && !!W[
|
|
24202
|
+
return er(R) && ko(R.length) && !!W[ai(R)];
|
|
24203
24203
|
}
|
|
24204
24204
|
function xu(R) {
|
|
24205
24205
|
if (!Mu(R))
|
|
@@ -24216,7 +24216,7 @@ Ia.exports;
|
|
|
24216
24216
|
var dt = We.get(R);
|
|
24217
24217
|
if (dt && We.get(G))
|
|
24218
24218
|
return dt == G;
|
|
24219
|
-
var Zt = -1,
|
|
24219
|
+
var Zt = -1, fn = !0, Mt = ne & o ? new Li() : void 0;
|
|
24220
24220
|
for (We.set(R, G), We.set(G, R); ++Zt < ct; ) {
|
|
24221
24221
|
var Xt = R[Zt], zt = G[Zt];
|
|
24222
24222
|
if (be)
|
|
@@ -24224,23 +24224,23 @@ Ia.exports;
|
|
|
24224
24224
|
if (Wr !== void 0) {
|
|
24225
24225
|
if (Wr)
|
|
24226
24226
|
continue;
|
|
24227
|
-
|
|
24227
|
+
fn = !1;
|
|
24228
24228
|
break;
|
|
24229
24229
|
}
|
|
24230
24230
|
if (Mt) {
|
|
24231
|
-
if (!Ce(G, function(_r,
|
|
24232
|
-
if (!_e(Mt,
|
|
24233
|
-
return Mt.push(
|
|
24231
|
+
if (!Ce(G, function(_r, ui) {
|
|
24232
|
+
if (!_e(Mt, ui) && (Xt === _r || Xe(Xt, _r, ne, be, We)))
|
|
24233
|
+
return Mt.push(ui);
|
|
24234
24234
|
})) {
|
|
24235
|
-
|
|
24235
|
+
fn = !1;
|
|
24236
24236
|
break;
|
|
24237
24237
|
}
|
|
24238
24238
|
} else if (!(Xt === zt || Xe(Xt, zt, ne, be, We))) {
|
|
24239
|
-
|
|
24239
|
+
fn = !1;
|
|
24240
24240
|
break;
|
|
24241
24241
|
}
|
|
24242
24242
|
}
|
|
24243
|
-
return We.delete(R), We.delete(G),
|
|
24243
|
+
return We.delete(R), We.delete(G), fn;
|
|
24244
24244
|
}
|
|
24245
24245
|
function Cu(R, G, ne, be, Xe, We, st) {
|
|
24246
24246
|
switch (ne) {
|
|
@@ -24278,11 +24278,11 @@ Ia.exports;
|
|
|
24278
24278
|
return !1;
|
|
24279
24279
|
}
|
|
24280
24280
|
function Ou(R, G, ne, be, Xe, We) {
|
|
24281
|
-
var st = ne & i, ct =
|
|
24281
|
+
var st = ne & i, ct = li(R), It = ct.length, dt = li(G), Zt = dt.length;
|
|
24282
24282
|
if (It != Zt && !st)
|
|
24283
24283
|
return !1;
|
|
24284
|
-
for (var
|
|
24285
|
-
var Mt = ct[
|
|
24284
|
+
for (var fn = It; fn--; ) {
|
|
24285
|
+
var Mt = ct[fn];
|
|
24286
24286
|
if (!(st ? Mt in G : je.call(G, Mt)))
|
|
24287
24287
|
return !1;
|
|
24288
24288
|
}
|
|
@@ -24291,12 +24291,12 @@ Ia.exports;
|
|
|
24291
24291
|
return Xt == G;
|
|
24292
24292
|
var zt = !0;
|
|
24293
24293
|
We.set(R, G), We.set(G, R);
|
|
24294
|
-
for (var Wr = st; ++
|
|
24295
|
-
Mt = ct[
|
|
24296
|
-
var _r = R[Mt],
|
|
24294
|
+
for (var Wr = st; ++fn < It; ) {
|
|
24295
|
+
Mt = ct[fn];
|
|
24296
|
+
var _r = R[Mt], ui = G[Mt];
|
|
24297
24297
|
if (be)
|
|
24298
|
-
var Bh = st ? be(
|
|
24299
|
-
if (!(Bh === void 0 ? _r ===
|
|
24298
|
+
var Bh = st ? be(ui, _r, Mt, G, R, We) : be(_r, ui, Mt, R, G, We);
|
|
24299
|
+
if (!(Bh === void 0 ? _r === ui || Xe(_r, ui, ne, be, We) : Bh)) {
|
|
24300
24300
|
zt = !1;
|
|
24301
24301
|
break;
|
|
24302
24302
|
}
|
|
@@ -24308,7 +24308,7 @@ Ia.exports;
|
|
|
24308
24308
|
}
|
|
24309
24309
|
return We.delete(R), We.delete(G), zt;
|
|
24310
24310
|
}
|
|
24311
|
-
function
|
|
24311
|
+
function li(R) {
|
|
24312
24312
|
return Eo(R, xo, $u);
|
|
24313
24313
|
}
|
|
24314
24314
|
function Fn(R, G) {
|
|
@@ -24333,9 +24333,9 @@ Ia.exports;
|
|
|
24333
24333
|
return R == null ? [] : (R = Object(R), ee(ie(R), function(G) {
|
|
24334
24334
|
return vr.call(R, G);
|
|
24335
24335
|
}));
|
|
24336
|
-
} : Pu, Qn =
|
|
24336
|
+
} : Pu, Qn = ai;
|
|
24337
24337
|
(He && Qn(new He(new ArrayBuffer(1))) != $ || qe && Qn(new qe()) != p || Lt && Qn(Lt.resolve()) != _ || Dn && Qn(new Dn()) != S || Zn && Qn(new Zn()) != A) && (Qn = function(R) {
|
|
24338
|
-
var G =
|
|
24338
|
+
var G = ai(R), ne = G == y ? R.constructor : void 0, be = ne ? on(ne) : "";
|
|
24339
24339
|
if (be)
|
|
24340
24340
|
switch (be) {
|
|
24341
24341
|
case js:
|
|
@@ -24399,7 +24399,7 @@ Ia.exports;
|
|
|
24399
24399
|
function qs(R) {
|
|
24400
24400
|
if (!Ys(R))
|
|
24401
24401
|
return !1;
|
|
24402
|
-
var G =
|
|
24402
|
+
var G = ai(R);
|
|
24403
24403
|
return G == c || G == d || G == h || G == b;
|
|
24404
24404
|
}
|
|
24405
24405
|
function ko(R) {
|
|
@@ -24830,7 +24830,7 @@ const Gh = {
|
|
|
24830
24830
|
"ready"
|
|
24831
24831
|
],
|
|
24832
24832
|
setup: (n, e) => {
|
|
24833
|
-
|
|
24833
|
+
un(() => {
|
|
24834
24834
|
o();
|
|
24835
24835
|
}), sl(() => {
|
|
24836
24836
|
t = null;
|
|
@@ -25011,10 +25011,10 @@ function pH() {
|
|
|
25011
25011
|
* Released under the MIT License.
|
|
25012
25012
|
*/
|
|
25013
25013
|
const ar = typeof window < "u";
|
|
25014
|
-
let _n,
|
|
25014
|
+
let _n, bi;
|
|
25015
25015
|
if (process.env.NODE_ENV !== "production") {
|
|
25016
25016
|
const n = ar && window.performance;
|
|
25017
|
-
n && n.mark && n.measure && n.clearMarks && n.clearMeasures && (_n = (e) => n.mark(e),
|
|
25017
|
+
n && n.mark && n.measure && n.clearMarks && n.clearMeasures && (_n = (e) => n.mark(e), bi = (e, t, r) => {
|
|
25018
25018
|
n.measure(e, t, r), n.clearMarks(t), n.clearMarks(r);
|
|
25019
25019
|
});
|
|
25020
25020
|
}
|
|
@@ -25023,7 +25023,7 @@ function vl(n, ...e) {
|
|
|
25023
25023
|
return e.length === 1 && pt(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), n.replace(a0, (t, r) => e.hasOwnProperty(r) ? e[r] : "");
|
|
25024
25024
|
}
|
|
25025
25025
|
const l0 = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", hr = (n) => l0 ? Symbol(n) : n, u0 = (n, e, t) => c0({ l: n, k: e, s: t }), c0 = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Nt = (n) => typeof n == "number" && isFinite(n), f0 = (n) => cf(n) === "[object Date]", ni = (n) => cf(n) === "[object RegExp]", yl = (n) => Je(n) && Object.keys(n).length === 0;
|
|
25026
|
-
function
|
|
25026
|
+
function gn(n, e) {
|
|
25027
25027
|
typeof console < "u" && (console.warn("[intlify] " + n), e && console.warn(e.stack));
|
|
25028
25028
|
}
|
|
25029
25029
|
const Wt = Object.assign;
|
|
@@ -25950,8 +25950,8 @@ const bg = {
|
|
|
25950
25950
|
* (c) 2022 kazuya kawaguchi
|
|
25951
25951
|
* Released under the MIT License.
|
|
25952
25952
|
*/
|
|
25953
|
-
const
|
|
25954
|
-
|
|
25953
|
+
const si = [];
|
|
25954
|
+
si[
|
|
25955
25955
|
0
|
|
25956
25956
|
/* BEFORE_PATH */
|
|
25957
25957
|
] = {
|
|
@@ -25976,7 +25976,7 @@ oi[
|
|
|
25976
25976
|
/* AFTER_PATH */
|
|
25977
25977
|
]
|
|
25978
25978
|
};
|
|
25979
|
-
|
|
25979
|
+
si[
|
|
25980
25980
|
1
|
|
25981
25981
|
/* IN_PATH */
|
|
25982
25982
|
] = {
|
|
@@ -26003,7 +26003,7 @@ oi[
|
|
|
26003
26003
|
/* AFTER_PATH */
|
|
26004
26004
|
]
|
|
26005
26005
|
};
|
|
26006
|
-
|
|
26006
|
+
si[
|
|
26007
26007
|
2
|
|
26008
26008
|
/* BEFORE_IDENT */
|
|
26009
26009
|
] = {
|
|
@@ -26025,7 +26025,7 @@ oi[
|
|
|
26025
26025
|
/* APPEND */
|
|
26026
26026
|
]
|
|
26027
26027
|
};
|
|
26028
|
-
|
|
26028
|
+
si[
|
|
26029
26029
|
3
|
|
26030
26030
|
/* IN_IDENT */
|
|
26031
26031
|
] = {
|
|
@@ -26069,7 +26069,7 @@ oi[
|
|
|
26069
26069
|
/* PUSH */
|
|
26070
26070
|
]
|
|
26071
26071
|
};
|
|
26072
|
-
|
|
26072
|
+
si[
|
|
26073
26073
|
4
|
|
26074
26074
|
/* IN_SUB_PATH */
|
|
26075
26075
|
] = {
|
|
@@ -26112,7 +26112,7 @@ oi[
|
|
|
26112
26112
|
/* APPEND */
|
|
26113
26113
|
]
|
|
26114
26114
|
};
|
|
26115
|
-
|
|
26115
|
+
si[
|
|
26116
26116
|
5
|
|
26117
26117
|
/* IN_SINGLE_QUOTE */
|
|
26118
26118
|
] = {
|
|
@@ -26131,7 +26131,7 @@ oi[
|
|
|
26131
26131
|
/* APPEND */
|
|
26132
26132
|
]
|
|
26133
26133
|
};
|
|
26134
|
-
|
|
26134
|
+
si[
|
|
26135
26135
|
6
|
|
26136
26136
|
/* IN_DOUBLE_QUOTE */
|
|
26137
26137
|
] = {
|
|
@@ -26237,7 +26237,7 @@ function H0(n) {
|
|
|
26237
26237
|
}
|
|
26238
26238
|
for (; r !== null; )
|
|
26239
26239
|
if (t++, o = n[t], !(o === "\\" && c())) {
|
|
26240
|
-
if (u = B0(o), s =
|
|
26240
|
+
if (u = B0(o), s = si[r], h = s[u] || s.l || 8, h === 8 || (r = h[0], h[1] !== void 0 && (l = a[h[1]], l && (g = o, l() === !1))))
|
|
26241
26241
|
return;
|
|
26242
26242
|
if (r === 7)
|
|
26243
26243
|
return e;
|
|
@@ -26411,7 +26411,7 @@ const rd = (n) => {
|
|
|
26411
26411
|
}, d_ = () => Tg;
|
|
26412
26412
|
let id = 0;
|
|
26413
26413
|
function p_(n = {}) {
|
|
26414
|
-
const e = $e(n.version) ? n.version : a_, t = $e(n.locale) ? n.locale : bs, r = vt(n.fallbackLocale) || Je(n.fallbackLocale) || $e(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : t, i = Je(n.messages) ? n.messages : { [t]: {} }, o = Je(n.datetimeFormats) ? n.datetimeFormats : { [t]: {} }, f = Je(n.numberFormats) ? n.numberFormats : { [t]: {} }, g = Wt({}, n.modifiers || {}, l_()), u = n.pluralRules || {}, h = xt(n.missing) ? n.missing : null, l = it(n.missingWarn) || ni(n.missingWarn) ? n.missingWarn : !0, s = it(n.fallbackWarn) || ni(n.fallbackWarn) ? n.fallbackWarn : !0, a = !!n.fallbackFormat, c = !!n.unresolving, d = xt(n.postTranslation) ? n.postTranslation : null, p = Je(n.processor) ? n.processor : null, m = it(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, v = !!n.escapeParameter, y = xt(n.messageCompiler) ? n.messageCompiler : _g, _ = xt(n.messageResolver) ? n.messageResolver : Sg || W0, b = xt(n.localeFallbacker) ? n.localeFallbacker : Eg || i_, w = pt(n.fallbackContext) ? n.fallbackContext : void 0, S = xt(n.onWarn) ? n.onWarn :
|
|
26414
|
+
const e = $e(n.version) ? n.version : a_, t = $e(n.locale) ? n.locale : bs, r = vt(n.fallbackLocale) || Je(n.fallbackLocale) || $e(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : t, i = Je(n.messages) ? n.messages : { [t]: {} }, o = Je(n.datetimeFormats) ? n.datetimeFormats : { [t]: {} }, f = Je(n.numberFormats) ? n.numberFormats : { [t]: {} }, g = Wt({}, n.modifiers || {}, l_()), u = n.pluralRules || {}, h = xt(n.missing) ? n.missing : null, l = it(n.missingWarn) || ni(n.missingWarn) ? n.missingWarn : !0, s = it(n.fallbackWarn) || ni(n.fallbackWarn) ? n.fallbackWarn : !0, a = !!n.fallbackFormat, c = !!n.unresolving, d = xt(n.postTranslation) ? n.postTranslation : null, p = Je(n.processor) ? n.processor : null, m = it(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, v = !!n.escapeParameter, y = xt(n.messageCompiler) ? n.messageCompiler : _g, _ = xt(n.messageResolver) ? n.messageResolver : Sg || W0, b = xt(n.localeFallbacker) ? n.localeFallbacker : Eg || i_, w = pt(n.fallbackContext) ? n.fallbackContext : void 0, S = xt(n.onWarn) ? n.onWarn : gn, T = n, k = pt(T.__datetimeFormatters) ? T.__datetimeFormatters : /* @__PURE__ */ new Map(), O = pt(T.__numberFormatters) ? T.__numberFormatters : /* @__PURE__ */ new Map(), A = pt(T.__meta) ? T.__meta : {};
|
|
26415
26415
|
id++;
|
|
26416
26416
|
const E = {
|
|
26417
26417
|
version: e,
|
|
@@ -26468,7 +26468,7 @@ function Oo(n, e, t) {
|
|
|
26468
26468
|
}
|
|
26469
26469
|
const g_ = /<\/?[\w\s="/.':;#-\/]+>/, m_ = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
26470
26470
|
function v_(n, e) {
|
|
26471
|
-
(it(e.warnHtmlMessage) ? e.warnHtmlMessage : !0) && g_.test(n) &&
|
|
26471
|
+
(it(e.warnHtmlMessage) ? e.warnHtmlMessage : !0) && g_.test(n) && gn(vl(m_, { source: n }));
|
|
26472
26472
|
}
|
|
26473
26473
|
const y_ = (n) => n;
|
|
26474
26474
|
let od = /* @__PURE__ */ Object.create(null);
|
|
@@ -26514,7 +26514,7 @@ function ad(n, ...e) {
|
|
|
26514
26514
|
if (!c && !($e(b) || nr(b)) && p && (b = d, w = b), !c && (!($e(b) || nr(b)) || !$e(y)))
|
|
26515
26515
|
return i ? wl : u;
|
|
26516
26516
|
if (process.env.NODE_ENV !== "production" && $e(b) && n.messageCompiler == null)
|
|
26517
|
-
return
|
|
26517
|
+
return gn(`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 '${u}'.`), u;
|
|
26518
26518
|
let S = !1;
|
|
26519
26519
|
const T = () => {
|
|
26520
26520
|
S = !0;
|
|
@@ -26567,7 +26567,7 @@ function Cg(n, e, t, r, i, o) {
|
|
|
26567
26567
|
message: c,
|
|
26568
26568
|
time: S - y,
|
|
26569
26569
|
groupId: `${m}:${e}`
|
|
26570
|
-
}), _ && b && _n &&
|
|
26570
|
+
}), _ && b && _n && bi && (_n(b), bi("intlify message resolve", _, b));
|
|
26571
26571
|
}
|
|
26572
26572
|
if ($e(c) || xt(c))
|
|
26573
26573
|
break;
|
|
@@ -26603,7 +26603,7 @@ function Og(n, e, t, r, i, o) {
|
|
|
26603
26603
|
message: r,
|
|
26604
26604
|
time: a - u,
|
|
26605
26605
|
groupId: `translate:${e}`
|
|
26606
|
-
}), h && l && _n &&
|
|
26606
|
+
}), h && l && _n && bi && (_n(l), bi("intlify message compilation", h, l));
|
|
26607
26607
|
}
|
|
26608
26608
|
return s.locale = t, s.key = e, s.source = r, s;
|
|
26609
26609
|
}
|
|
@@ -26618,7 +26618,7 @@ function S_(n, e, t) {
|
|
|
26618
26618
|
value: f,
|
|
26619
26619
|
time: g - r,
|
|
26620
26620
|
groupId: `translate:${e.key}`
|
|
26621
|
-
}), i && o && _n &&
|
|
26621
|
+
}), i && o && _n && bi && (_n(o), bi("intlify message evaluation", i, o));
|
|
26622
26622
|
}
|
|
26623
26623
|
return f;
|
|
26624
26624
|
}
|
|
@@ -27001,33 +27001,33 @@ function Un(n, ...e) {
|
|
|
27001
27001
|
return vl(D_[n], ...e);
|
|
27002
27002
|
}
|
|
27003
27003
|
let Ng = Ke.__EXTEND_POINT__;
|
|
27004
|
-
const
|
|
27004
|
+
const hn = () => ++Ng, at = {
|
|
27005
27005
|
// composer module errors
|
|
27006
27006
|
UNEXPECTED_RETURN_TYPE: Ng,
|
|
27007
27007
|
// legacy module errors
|
|
27008
|
-
INVALID_ARGUMENT:
|
|
27008
|
+
INVALID_ARGUMENT: hn(),
|
|
27009
27009
|
// i18n module errors
|
|
27010
|
-
MUST_BE_CALL_SETUP_TOP:
|
|
27011
|
-
NOT_INSLALLED:
|
|
27012
|
-
NOT_AVAILABLE_IN_LEGACY_MODE:
|
|
27010
|
+
MUST_BE_CALL_SETUP_TOP: hn(),
|
|
27011
|
+
NOT_INSLALLED: hn(),
|
|
27012
|
+
NOT_AVAILABLE_IN_LEGACY_MODE: hn(),
|
|
27013
27013
|
// directive module errors
|
|
27014
|
-
REQUIRED_VALUE:
|
|
27015
|
-
INVALID_VALUE:
|
|
27014
|
+
REQUIRED_VALUE: hn(),
|
|
27015
|
+
INVALID_VALUE: hn(),
|
|
27016
27016
|
// vue-devtools errors
|
|
27017
|
-
CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:
|
|
27018
|
-
NOT_INSLALLED_WITH_PROVIDE:
|
|
27017
|
+
CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: hn(),
|
|
27018
|
+
NOT_INSLALLED_WITH_PROVIDE: hn(),
|
|
27019
27019
|
// unexpected error
|
|
27020
|
-
UNEXPECTED_ERROR:
|
|
27020
|
+
UNEXPECTED_ERROR: hn(),
|
|
27021
27021
|
// not compatible legacy vue-i18n constructor
|
|
27022
|
-
NOT_COMPATIBLE_LEGACY_VUE_I18N:
|
|
27022
|
+
NOT_COMPATIBLE_LEGACY_VUE_I18N: hn(),
|
|
27023
27023
|
// bridge support vue 2.x only
|
|
27024
|
-
BRIDGE_SUPPORT_VUE_2_ONLY:
|
|
27024
|
+
BRIDGE_SUPPORT_VUE_2_ONLY: hn(),
|
|
27025
27025
|
// need to define `i18n` option in `allowComposition: true` and `useScope: 'local' at `useI18n``
|
|
27026
|
-
MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:
|
|
27026
|
+
MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION: hn(),
|
|
27027
27027
|
// Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
|
|
27028
|
-
NOT_AVAILABLE_COMPOSITION_IN_LEGACY:
|
|
27028
|
+
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: hn(),
|
|
27029
27029
|
// for enhancement
|
|
27030
|
-
__EXTEND_POINT__:
|
|
27030
|
+
__EXTEND_POINT__: hn()
|
|
27031
27031
|
// 29
|
|
27032
27032
|
};
|
|
27033
27033
|
function Rt(n, ...e) {
|
|
@@ -27048,7 +27048,7 @@ const F_ = {
|
|
|
27048
27048
|
[at.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
|
|
27049
27049
|
[at.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",
|
|
27050
27050
|
[at.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
27051
|
-
}, pc = /* @__PURE__ */ hr("__transrateVNode"), gc = /* @__PURE__ */ hr("__datetimeParts"), mc = /* @__PURE__ */ hr("__numberParts"),
|
|
27051
|
+
}, pc = /* @__PURE__ */ hr("__transrateVNode"), gc = /* @__PURE__ */ hr("__datetimeParts"), mc = /* @__PURE__ */ hr("__numberParts"), wi = /* @__PURE__ */ hr("__enableEmitter"), Zo = /* @__PURE__ */ hr("__disableEmitter"), Pg = hr("__setPluralRules");
|
|
27052
27052
|
hr("__intlifyMeta");
|
|
27053
27053
|
const Dg = /* @__PURE__ */ hr("__injectWithOption");
|
|
27054
27054
|
function vc(n) {
|
|
@@ -27121,10 +27121,10 @@ function dd(n) {
|
|
|
27121
27121
|
const pd = "__INTLIFY_META__";
|
|
27122
27122
|
let gd = 0;
|
|
27123
27123
|
function md(n) {
|
|
27124
|
-
return (e, t, r, i) => n(t, r,
|
|
27124
|
+
return (e, t, r, i) => n(t, r, ln() || void 0, i);
|
|
27125
27125
|
}
|
|
27126
27126
|
const j_ = () => {
|
|
27127
|
-
const n =
|
|
27127
|
+
const n = ln();
|
|
27128
27128
|
let e = null;
|
|
27129
27129
|
return n && (e = Fg(n)[pd]) ? { [pd]: e } : null;
|
|
27130
27130
|
};
|
|
@@ -27213,7 +27213,7 @@ function pf(n = {}, e) {
|
|
|
27213
27213
|
Qe = K(w);
|
|
27214
27214
|
if (Nt(Qe) && Qe === wl) {
|
|
27215
27215
|
const [je, Ze] = se();
|
|
27216
|
-
if (process.env.NODE_ENV !== "production" && t && $e(je) && N(ve, Ze) && (a && (_l(s, je) || kg(l, je)) &&
|
|
27216
|
+
if (process.env.NODE_ENV !== "production" && t && $e(je) && N(ve, Ze) && (a && (_l(s, je) || kg(l, je)) && gn(Un(jt.FALLBACK_TO_ROOT, {
|
|
27217
27217
|
key: je,
|
|
27218
27218
|
type: ve
|
|
27219
27219
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -27421,7 +27421,7 @@ function pf(n = {}, e) {
|
|
|
27421
27421
|
setMissingHandler: I,
|
|
27422
27422
|
[Pg]: X
|
|
27423
27423
|
};
|
|
27424
|
-
return me.datetimeFormats = E, me.numberFormats = $, me.rt = P, me.te = ae, me.tm = oe, me.d = M, me.n = j, me.getDateTimeFormat = ge, me.setDateTimeFormat = Ce, me.mergeDateTimeFormat = ue, me.getNumberFormat = de, me.setNumberFormat = _e, me.mergeNumberFormat = xe, me[Dg] = n.__injectWithOption, me[pc] = U, me[gc] = Z, me[mc] = q, process.env.NODE_ENV !== "production" && (me[
|
|
27424
|
+
return me.datetimeFormats = E, me.numberFormats = $, me.rt = P, me.te = ae, me.tm = oe, me.d = M, me.n = j, me.getDateTimeFormat = ge, me.setDateTimeFormat = Ce, me.mergeDateTimeFormat = ue, me.getNumberFormat = de, me.setNumberFormat = _e, me.mergeNumberFormat = xe, me[Dg] = n.__injectWithOption, me[pc] = U, me[gc] = Z, me[mc] = q, process.env.NODE_ENV !== "production" && (me[wi] = (K) => {
|
|
27425
27425
|
w.__v_emitter = K;
|
|
27426
27426
|
}, me[Zo] = () => {
|
|
27427
27427
|
w.__v_emitter = void 0;
|
|
@@ -27429,7 +27429,7 @@ function pf(n = {}, e) {
|
|
|
27429
27429
|
}
|
|
27430
27430
|
function B_(n) {
|
|
27431
27431
|
const e = $e(n.locale) ? n.locale : bs, t = $e(n.fallbackLocale) || vt(n.fallbackLocale) || Je(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, r = xt(n.missing) ? n.missing : void 0, i = it(n.silentTranslationWarn) || ni(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, o = it(n.silentFallbackWarn) || ni(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, f = it(n.fallbackRoot) ? n.fallbackRoot : !0, g = !!n.formatFallbackMessages, u = Je(n.modifiers) ? n.modifiers : {}, h = n.pluralizationRules, l = xt(n.postTranslation) ? n.postTranslation : void 0, s = $e(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, a = !!n.escapeParameterHtml, c = it(n.sync) ? n.sync : !0;
|
|
27432
|
-
process.env.NODE_ENV !== "production" && n.formatter &&
|
|
27432
|
+
process.env.NODE_ENV !== "production" && n.formatter && gn(Un(jt.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && n.preserveDirectiveContent && gn(Un(jt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
|
27433
27433
|
let d = n.messages;
|
|
27434
27434
|
if (Je(n.sharedMessages)) {
|
|
27435
27435
|
const w = n.sharedMessages;
|
|
@@ -27500,14 +27500,14 @@ function yc(n = {}, e) {
|
|
|
27500
27500
|
},
|
|
27501
27501
|
// formatter
|
|
27502
27502
|
get formatter() {
|
|
27503
|
-
return process.env.NODE_ENV !== "production" &&
|
|
27503
|
+
return process.env.NODE_ENV !== "production" && gn(Un(jt.NOT_SUPPORTED_FORMATTER)), {
|
|
27504
27504
|
interpolate() {
|
|
27505
27505
|
return [];
|
|
27506
27506
|
}
|
|
27507
27507
|
};
|
|
27508
27508
|
},
|
|
27509
27509
|
set formatter(i) {
|
|
27510
|
-
process.env.NODE_ENV !== "production" &&
|
|
27510
|
+
process.env.NODE_ENV !== "production" && gn(Un(jt.NOT_SUPPORTED_FORMATTER));
|
|
27511
27511
|
},
|
|
27512
27512
|
// missing
|
|
27513
27513
|
get missing() {
|
|
@@ -27571,10 +27571,10 @@ function yc(n = {}, e) {
|
|
|
27571
27571
|
},
|
|
27572
27572
|
// preserveDirectiveContent
|
|
27573
27573
|
get preserveDirectiveContent() {
|
|
27574
|
-
return process.env.NODE_ENV !== "production" &&
|
|
27574
|
+
return process.env.NODE_ENV !== "production" && gn(Un(jt.NOT_SUPPORTED_PRESERVE_DIRECTIVE)), !0;
|
|
27575
27575
|
},
|
|
27576
27576
|
set preserveDirectiveContent(i) {
|
|
27577
|
-
process.env.NODE_ENV !== "production" &&
|
|
27577
|
+
process.env.NODE_ENV !== "production" && gn(Un(jt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
|
27578
27578
|
},
|
|
27579
27579
|
// pluralizationRules
|
|
27580
27580
|
get pluralizationRules() {
|
|
@@ -27666,7 +27666,7 @@ function yc(n = {}, e) {
|
|
|
27666
27666
|
// getChoiceIndex
|
|
27667
27667
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
27668
27668
|
getChoiceIndex(i, o) {
|
|
27669
|
-
return process.env.NODE_ENV !== "production" &&
|
|
27669
|
+
return process.env.NODE_ENV !== "production" && gn(Un(jt.NOT_SUPPORTED_GET_CHOICE_INDEX)), -1;
|
|
27670
27670
|
},
|
|
27671
27671
|
// for internal
|
|
27672
27672
|
__onComponentInstanceCreated(i) {
|
|
@@ -27676,7 +27676,7 @@ function yc(n = {}, e) {
|
|
|
27676
27676
|
};
|
|
27677
27677
|
return process.env.NODE_ENV !== "production" && (r.__enableEmitter = (i) => {
|
|
27678
27678
|
const o = t;
|
|
27679
|
-
o[
|
|
27679
|
+
o[wi] && o[wi](i);
|
|
27680
27680
|
}, r.__disableEmitter = () => {
|
|
27681
27681
|
const i = t;
|
|
27682
27682
|
i[Zo] && i[Zo]();
|
|
@@ -27828,7 +27828,7 @@ function V_(n) {
|
|
|
27828
27828
|
if (!g || !g.$)
|
|
27829
27829
|
throw Rt(at.UNEXPECTED_ERROR);
|
|
27830
27830
|
const l = W_(n, g.$);
|
|
27831
|
-
process.env.NODE_ENV !== "production" && u.preserve &&
|
|
27831
|
+
process.env.NODE_ENV !== "production" && u.preserve && gn(Un(jt.NOT_SUPPORTED_PRESERVE));
|
|
27832
27832
|
const s = bd(h);
|
|
27833
27833
|
return [
|
|
27834
27834
|
Reflect.apply(l.t, l, [...wd(s)]),
|
|
@@ -27875,7 +27875,7 @@ function wd(n) {
|
|
|
27875
27875
|
}
|
|
27876
27876
|
function z_(n, e, ...t) {
|
|
27877
27877
|
const r = Je(t[0]) ? t[0] : {}, i = !!r.useI18nComponentName, o = it(r.globalInstall) ? r.globalInstall : !0;
|
|
27878
|
-
process.env.NODE_ENV !== "production" && o && i &&
|
|
27878
|
+
process.env.NODE_ENV !== "production" && o && i && gn(Un(jt.COMPONENT_NAME_LEGACY_COMPATIBLE, {
|
|
27879
27879
|
name: Wu.name
|
|
27880
27880
|
})), o && (n.component(i ? "i18n" : Wu.name, Wu), n.component(vd.name, vd), n.component(yd.name, yd)), n.directive("t", V_(e));
|
|
27881
27881
|
}
|
|
@@ -28149,7 +28149,7 @@ function n1(n, e) {
|
|
|
28149
28149
|
function r1(n, e, t) {
|
|
28150
28150
|
return {
|
|
28151
28151
|
beforeCreate() {
|
|
28152
|
-
const r =
|
|
28152
|
+
const r = ln();
|
|
28153
28153
|
if (!r)
|
|
28154
28154
|
throw Rt(at.UNEXPECTED_ERROR);
|
|
28155
28155
|
const i = this.$options;
|
|
@@ -28172,7 +28172,7 @@ function r1(n, e, t) {
|
|
|
28172
28172
|
}
|
|
28173
28173
|
},
|
|
28174
28174
|
unmounted() {
|
|
28175
|
-
const r =
|
|
28175
|
+
const r = ln();
|
|
28176
28176
|
if (!r)
|
|
28177
28177
|
throw Rt(at.UNEXPECTED_ERROR);
|
|
28178
28178
|
if (process.env.NODE_ENV !== "production" && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", Xo), delete this.__v_emitter), this.$i18n)) {
|
|
@@ -28228,7 +28228,7 @@ function o1(n = {}, e) {
|
|
|
28228
28228
|
y.__enableEmitter && y.__enableEmitter(v);
|
|
28229
28229
|
} else {
|
|
28230
28230
|
const y = g;
|
|
28231
|
-
y[
|
|
28231
|
+
y[wi] && y[wi](v);
|
|
28232
28232
|
}
|
|
28233
28233
|
v.on("*", Xo);
|
|
28234
28234
|
}
|
|
@@ -28253,7 +28253,7 @@ function o1(n = {}, e) {
|
|
|
28253
28253
|
}
|
|
28254
28254
|
}
|
|
28255
28255
|
function Mr(n = {}) {
|
|
28256
|
-
const e =
|
|
28256
|
+
const e = ln();
|
|
28257
28257
|
if (e == null)
|
|
28258
28258
|
throw Rt(at.MUST_BE_CALL_SETUP_TOP);
|
|
28259
28259
|
if (!e.isCE && e.appContext.app != null && !e.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -28268,7 +28268,7 @@ function Mr(n = {}) {
|
|
|
28268
28268
|
return jg(r, n, i), r;
|
|
28269
28269
|
if (o === "parent") {
|
|
28270
28270
|
let u = c1(t, e, n.__useComponent);
|
|
28271
|
-
return u == null && (process.env.NODE_ENV !== "production" &&
|
|
28271
|
+
return u == null && (process.env.NODE_ENV !== "production" && gn(Un(jt.NOT_FOUND_PARENT_SCOPE)), u = r), u;
|
|
28272
28272
|
}
|
|
28273
28273
|
const f = t;
|
|
28274
28274
|
let g = f.__getInstance(e);
|
|
@@ -28289,7 +28289,7 @@ function s1(n, e, t) {
|
|
|
28289
28289
|
}
|
|
28290
28290
|
function a1(n) {
|
|
28291
28291
|
{
|
|
28292
|
-
const e =
|
|
28292
|
+
const e = oi(n.isCE ? i1 : n.appContext.app.__VUE_I18N_SYMBOL__);
|
|
28293
28293
|
if (!e)
|
|
28294
28294
|
throw Rt(n.isCE ? at.NOT_INSLALLED_WITH_PROVIDE : at.UNEXPECTED_ERROR);
|
|
28295
28295
|
return e;
|
|
@@ -28321,11 +28321,11 @@ function c1(n, e, t = !1) {
|
|
|
28321
28321
|
}
|
|
28322
28322
|
function f1(n, e, t) {
|
|
28323
28323
|
let r = null;
|
|
28324
|
-
|
|
28324
|
+
un(() => {
|
|
28325
28325
|
if (process.env.NODE_ENV !== "production" && e.vnode.el) {
|
|
28326
28326
|
e.vnode.el.__VUE_I18N__ = t, r = ff();
|
|
28327
28327
|
const i = t;
|
|
28328
|
-
i[
|
|
28328
|
+
i[wi] && i[wi](r), r.on("*", Xo);
|
|
28329
28329
|
}
|
|
28330
28330
|
}, e), qp(() => {
|
|
28331
28331
|
if (process.env.NODE_ENV !== "production" && e.vnode.el && e.vnode.el.__VUE_I18N__) {
|
|
@@ -28956,7 +28956,7 @@ var T1 = function(e, t, r, i) {
|
|
|
28956
28956
|
g.setRequestHeader(u, i[u]);
|
|
28957
28957
|
}), g.send(r);
|
|
28958
28958
|
});
|
|
28959
|
-
}, Gg = oo.Buffer,
|
|
28959
|
+
}, Gg = oo.Buffer, _i = Qo, k1 = T1;
|
|
28960
28960
|
const Ma = "https://example.org/";
|
|
28961
28961
|
var _c;
|
|
28962
28962
|
typeof Gg == "function" ? _c = O1 : _c = window.btoa.bind(window);
|
|
@@ -29033,7 +29033,7 @@ function $1(n) {
|
|
|
29033
29033
|
try {
|
|
29034
29034
|
return JSON.parse(n);
|
|
29035
29035
|
} catch {
|
|
29036
|
-
return
|
|
29036
|
+
return _i.parse(n);
|
|
29037
29037
|
}
|
|
29038
29038
|
}
|
|
29039
29039
|
function Al(n) {
|
|
@@ -29049,7 +29049,7 @@ function qg(n, e) {
|
|
|
29049
29049
|
};
|
|
29050
29050
|
n.scopes !== void 0 && (t.scope = Al(n.scopes));
|
|
29051
29051
|
const r = n.authorizationUri.includes("?") ? "&" : "?";
|
|
29052
|
-
return n.authorizationUri + r +
|
|
29052
|
+
return n.authorizationUri + r + _i.stringify(
|
|
29053
29053
|
Object.assign(t, n.query)
|
|
29054
29054
|
);
|
|
29055
29055
|
}
|
|
@@ -29083,7 +29083,7 @@ es.prototype.createToken = function(n, e, t, r) {
|
|
|
29083
29083
|
return new es.Token(this, i);
|
|
29084
29084
|
};
|
|
29085
29085
|
es.prototype._request = function(n) {
|
|
29086
|
-
var e = n.url, t =
|
|
29086
|
+
var e = n.url, t = _i.stringify(n.body), r = _i.stringify(n.query);
|
|
29087
29087
|
return r && (e += (e.indexOf("?") === -1 ? "?" : "&") + r), this.request(n.method, e, t, n.headers).then(function(i) {
|
|
29088
29088
|
var o = $1(i.body), f = vf(o);
|
|
29089
29089
|
if (f)
|
|
@@ -29175,8 +29175,8 @@ yf.prototype.getToken = function(n, e) {
|
|
|
29175
29175
|
return Promise.reject(new TypeError("Unable to process uri: " + n));
|
|
29176
29176
|
var o = Object.assign(
|
|
29177
29177
|
{},
|
|
29178
|
-
typeof r.search == "string" ?
|
|
29179
|
-
typeof r.hash == "string" ?
|
|
29178
|
+
typeof r.search == "string" ? _i.parse(r.search.substr(1)) : r.search || {},
|
|
29179
|
+
typeof r.hash == "string" ? _i.parse(r.hash.substr(1)) : r.hash || {}
|
|
29180
29180
|
), f = vf(o);
|
|
29181
29181
|
return f ? Promise.reject(f) : t.state != null && o.state !== t.state ? Promise.reject(new TypeError("Invalid state: " + o.state)) : Promise.resolve(this.client.createToken(o));
|
|
29182
29182
|
};
|
|
@@ -29217,7 +29217,7 @@ bf.prototype.getToken = function(n, e) {
|
|
|
29217
29217
|
);
|
|
29218
29218
|
if (!i.search || !i.search.substr(1))
|
|
29219
29219
|
return Promise.reject(new TypeError("Unable to process uri: " + n));
|
|
29220
|
-
var o = typeof i.search == "string" ?
|
|
29220
|
+
var o = typeof i.search == "string" ? _i.parse(i.search.substr(1)) : i.search || {}, f = vf(o);
|
|
29221
29221
|
if (f)
|
|
29222
29222
|
return Promise.reject(f);
|
|
29223
29223
|
if (r.state != null && o.state !== r.state)
|
|
@@ -33846,7 +33846,7 @@ function As(n) {
|
|
|
33846
33846
|
function ri(n) {
|
|
33847
33847
|
return typeof n == "function" ? n() : te(n);
|
|
33848
33848
|
}
|
|
33849
|
-
const Gf = typeof window < "u", tS = (n) => n != null,
|
|
33849
|
+
const Gf = typeof window < "u", tS = (n) => n != null, gi = () => {
|
|
33850
33850
|
}, Ec = /* @__PURE__ */ nS();
|
|
33851
33851
|
function nS() {
|
|
33852
33852
|
var n;
|
|
@@ -33890,7 +33890,7 @@ function dm(...n) {
|
|
|
33890
33890
|
if (n.length !== 1)
|
|
33891
33891
|
return Qy(...n);
|
|
33892
33892
|
const e = n[0];
|
|
33893
|
-
return typeof e == "function" ? ef(Kp(() => ({ get: e, set:
|
|
33893
|
+
return typeof e == "function" ? ef(Kp(() => ({ get: e, set: gi }))) : ce(e);
|
|
33894
33894
|
}
|
|
33895
33895
|
var kd = Object.getOwnPropertySymbols, sS = Object.prototype.hasOwnProperty, aS = Object.prototype.propertyIsEnumerable, lS = (n, e) => {
|
|
33896
33896
|
var t = {};
|
|
@@ -33951,11 +33951,11 @@ function wa(n) {
|
|
|
33951
33951
|
const t = ri(n);
|
|
33952
33952
|
return (e = t?.$el) != null ? e : t;
|
|
33953
33953
|
}
|
|
33954
|
-
const
|
|
33954
|
+
const Si = Gf ? window : void 0;
|
|
33955
33955
|
function Cd(...n) {
|
|
33956
33956
|
let e, t, r, i;
|
|
33957
|
-
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, r, i] = n, e =
|
|
33958
|
-
return
|
|
33957
|
+
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, r, i] = n, e = Si) : [e, t, r, i] = n, !e)
|
|
33958
|
+
return gi;
|
|
33959
33959
|
Array.isArray(t) || (t = [t]), Array.isArray(r) || (r = [r]);
|
|
33960
33960
|
const o = [], f = () => {
|
|
33961
33961
|
o.forEach((l) => l()), o.length = 0;
|
|
@@ -33974,7 +33974,7 @@ function Cd(...n) {
|
|
|
33974
33974
|
}
|
|
33975
33975
|
function vS() {
|
|
33976
33976
|
const n = ce(!1);
|
|
33977
|
-
return
|
|
33977
|
+
return ln() && un(() => {
|
|
33978
33978
|
n.value = !0;
|
|
33979
33979
|
}), n;
|
|
33980
33980
|
}
|
|
@@ -33983,7 +33983,7 @@ function mm(n) {
|
|
|
33983
33983
|
return Ee(() => (e.value, !!n()));
|
|
33984
33984
|
}
|
|
33985
33985
|
function Lo(n, e = {}) {
|
|
33986
|
-
const { window: t =
|
|
33986
|
+
const { window: t = Si } = e, r = mm(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
33987
33987
|
let i;
|
|
33988
33988
|
const o = ce(!1), f = () => {
|
|
33989
33989
|
i && ("removeEventListener" in i ? i.removeEventListener("change", g) : i.removeListener(g));
|
|
@@ -33997,7 +33997,7 @@ function yS(n, e = {}) {
|
|
|
33997
33997
|
let h = n[g];
|
|
33998
33998
|
return u != null && (h = oS(h, u)), typeof h == "number" && (h = `${h}px`), h;
|
|
33999
33999
|
}
|
|
34000
|
-
const { window: r =
|
|
34000
|
+
const { window: r = Si } = e;
|
|
34001
34001
|
function i(g) {
|
|
34002
34002
|
return r ? r.matchMedia(g).matches : !1;
|
|
34003
34003
|
}
|
|
@@ -34102,7 +34102,7 @@ function xS(n, e, t, r = {}) {
|
|
|
34102
34102
|
writeDefaults: u = !0,
|
|
34103
34103
|
mergeDefaults: h = !1,
|
|
34104
34104
|
shallow: l,
|
|
34105
|
-
window: s =
|
|
34105
|
+
window: s = Si,
|
|
34106
34106
|
eventFilter: a,
|
|
34107
34107
|
onError: c = (k) => {
|
|
34108
34108
|
console.error(k);
|
|
@@ -34112,7 +34112,7 @@ function xS(n, e, t, r = {}) {
|
|
|
34112
34112
|
try {
|
|
34113
34113
|
t = _S("getDefaultStorage", () => {
|
|
34114
34114
|
var k;
|
|
34115
|
-
return (k =
|
|
34115
|
+
return (k = Si) == null ? void 0 : k.localStorage;
|
|
34116
34116
|
})();
|
|
34117
34117
|
} catch (k) {
|
|
34118
34118
|
c(k);
|
|
@@ -34177,24 +34177,24 @@ function xS(n, e, t, r = {}) {
|
|
|
34177
34177
|
}
|
|
34178
34178
|
}
|
|
34179
34179
|
function CS() {
|
|
34180
|
-
const n =
|
|
34180
|
+
const n = ln(), e = eS(
|
|
34181
34181
|
() => null,
|
|
34182
34182
|
() => n.proxy.$el
|
|
34183
34183
|
);
|
|
34184
|
-
return ll(e.trigger),
|
|
34184
|
+
return ll(e.trigger), un(e.trigger), e;
|
|
34185
34185
|
}
|
|
34186
34186
|
function OS(n, e, t = {}) {
|
|
34187
34187
|
const {
|
|
34188
34188
|
root: r,
|
|
34189
34189
|
rootMargin: i = "0px",
|
|
34190
34190
|
threshold: o = 0.1,
|
|
34191
|
-
window: f =
|
|
34191
|
+
window: f = Si,
|
|
34192
34192
|
immediate: g = !0
|
|
34193
34193
|
} = t, u = mm(() => f && "IntersectionObserver" in f), h = Ee(() => {
|
|
34194
34194
|
const d = ri(n);
|
|
34195
34195
|
return (Array.isArray(d) ? d : [d]).map(wa).filter(tS);
|
|
34196
34196
|
});
|
|
34197
|
-
let l =
|
|
34197
|
+
let l = gi;
|
|
34198
34198
|
const s = ce(g), a = u.value ? ot(
|
|
34199
34199
|
() => [h.value, wa(r), s.value],
|
|
34200
34200
|
([d, p]) => {
|
|
@@ -34209,11 +34209,11 @@ function OS(n, e, t = {}) {
|
|
|
34209
34209
|
}
|
|
34210
34210
|
);
|
|
34211
34211
|
d.forEach((v) => v && m.observe(v)), l = () => {
|
|
34212
|
-
m.disconnect(), l =
|
|
34212
|
+
m.disconnect(), l = gi;
|
|
34213
34213
|
};
|
|
34214
34214
|
},
|
|
34215
34215
|
{ immediate: g, flush: "post" }
|
|
34216
|
-
) :
|
|
34216
|
+
) : gi, c = () => {
|
|
34217
34217
|
l(), a(), s.value = !1;
|
|
34218
34218
|
};
|
|
34219
34219
|
return As(c), {
|
|
@@ -34229,7 +34229,7 @@ function OS(n, e, t = {}) {
|
|
|
34229
34229
|
};
|
|
34230
34230
|
}
|
|
34231
34231
|
function qf(n, e, t = {}) {
|
|
34232
|
-
const { window: r =
|
|
34232
|
+
const { window: r = Si } = t;
|
|
34233
34233
|
return xS(n, e, r?.localStorage, t);
|
|
34234
34234
|
}
|
|
34235
34235
|
const Rd = "ls.authenticationData", Io = ce(), Bn = ce(!1), qt = ce(), Md = new L1({
|
|
@@ -34237,175 +34237,175 @@ const Rd = "ls.authenticationData", Io = ce(), Bn = ce(!1), qt = ce(), Md = new
|
|
|
34237
34237
|
scopes: ["offline_access"]
|
|
34238
34238
|
}), zr = new N1(), $S = new I1();
|
|
34239
34239
|
function dr() {
|
|
34240
|
-
const
|
|
34241
|
-
async function
|
|
34242
|
-
let
|
|
34240
|
+
const e = ln() && oi("platformUrl"), t = qf("externalSignIn", { providerType: null }), r = async () => !!((t.value && t.value.providerType) ?? await l());
|
|
34241
|
+
async function i(b, w) {
|
|
34242
|
+
let S = !1;
|
|
34243
34243
|
try {
|
|
34244
|
-
Bn.value = !0,
|
|
34245
|
-
token:
|
|
34244
|
+
Bn.value = !0, S = await zr.validatePasswordResetToken(b, {
|
|
34245
|
+
token: w
|
|
34246
34246
|
});
|
|
34247
34247
|
} catch {
|
|
34248
34248
|
} finally {
|
|
34249
34249
|
Bn.value = !1;
|
|
34250
34250
|
}
|
|
34251
|
-
return
|
|
34251
|
+
return S;
|
|
34252
34252
|
}
|
|
34253
|
-
async function
|
|
34254
|
-
return zr.validatePassword(
|
|
34253
|
+
async function o(b) {
|
|
34254
|
+
return zr.validatePassword(b);
|
|
34255
34255
|
}
|
|
34256
|
-
async function
|
|
34257
|
-
return zr.resetPasswordByToken(
|
|
34258
|
-
newPassword:
|
|
34259
|
-
token:
|
|
34256
|
+
async function f(b, w, S) {
|
|
34257
|
+
return zr.resetPasswordByToken(b, {
|
|
34258
|
+
newPassword: w,
|
|
34259
|
+
token: S
|
|
34260
34260
|
});
|
|
34261
34261
|
}
|
|
34262
|
-
async function
|
|
34262
|
+
async function g(b, w) {
|
|
34263
34263
|
console.debug("[@vc-shell/framework#useUser:signIn] - Entry point");
|
|
34264
|
-
let
|
|
34264
|
+
let S;
|
|
34265
34265
|
try {
|
|
34266
|
-
Bn.value = !0,
|
|
34267
|
-
} catch (
|
|
34268
|
-
return { succeeded: !1, error:
|
|
34266
|
+
Bn.value = !0, S = await Md.owner.getToken(b, w);
|
|
34267
|
+
} catch (T) {
|
|
34268
|
+
return { succeeded: !1, error: T };
|
|
34269
34269
|
} finally {
|
|
34270
34270
|
Bn.value = !1;
|
|
34271
34271
|
}
|
|
34272
|
-
return
|
|
34273
|
-
accessToken:
|
|
34274
|
-
refreshToken:
|
|
34275
|
-
expiresAt:
|
|
34276
|
-
userName:
|
|
34277
|
-
}, console.log("[useUser]: an access token has been obtained successfully", qt.value),
|
|
34272
|
+
return S && (qt.value = {
|
|
34273
|
+
accessToken: S.accessToken,
|
|
34274
|
+
refreshToken: S.refreshToken,
|
|
34275
|
+
expiresAt: c(Number(S.data.expires_in)),
|
|
34276
|
+
userName: b
|
|
34277
|
+
}, console.log("[useUser]: an access token has been obtained successfully", qt.value), s(qt.value)), await h(), { succeeded: !0 };
|
|
34278
34278
|
}
|
|
34279
|
-
async function
|
|
34280
|
-
console.debug("[@vc-shell/framework#useUser:signOut] - Entry point"),
|
|
34279
|
+
async function u() {
|
|
34280
|
+
console.debug("[@vc-shell/framework#useUser:signOut] - Entry point"), t.value && t.value.providerType ? (_(t.value.providerType), t.value = null) : (Io.value = void 0, qt.value = void 0, s({}));
|
|
34281
34281
|
}
|
|
34282
|
-
async function
|
|
34282
|
+
async function h() {
|
|
34283
34283
|
console.debug("[@vc-shell/framework#useUser:loadUser] - Entry point");
|
|
34284
|
-
const
|
|
34285
|
-
|
|
34284
|
+
const b = await l();
|
|
34285
|
+
b && zr.setAuthToken(b);
|
|
34286
34286
|
try {
|
|
34287
34287
|
Bn.value = !0, Io.value = await zr.getCurrentUser(), console.log("[useUser]: an user details has been loaded", Io.value);
|
|
34288
|
-
} catch (
|
|
34289
|
-
throw console.dir(
|
|
34288
|
+
} catch (w) {
|
|
34289
|
+
throw console.dir(w), w;
|
|
34290
34290
|
} finally {
|
|
34291
34291
|
Bn.value = !1;
|
|
34292
34292
|
}
|
|
34293
34293
|
return { ...Io.value };
|
|
34294
34294
|
}
|
|
34295
|
-
async function
|
|
34296
|
-
if (console.debug("[@vc-shell/framework#useUser:getAccessToken] - Entry point"), (!qt.value || Object.keys(qt.value).length === 0) && (qt.value = await
|
|
34297
|
-
const
|
|
34295
|
+
async function l() {
|
|
34296
|
+
if (console.debug("[@vc-shell/framework#useUser:getAccessToken] - Entry point"), (!qt.value || Object.keys(qt.value).length === 0) && (qt.value = await a()), qt.value && Date.now() >= (qt.value.expiresAt ?? 0)) {
|
|
34297
|
+
const b = Md.createToken(
|
|
34298
34298
|
qt.value.accessToken ?? qt.value.token ?? "",
|
|
34299
34299
|
qt.value.refreshToken ?? "",
|
|
34300
34300
|
{}
|
|
34301
34301
|
);
|
|
34302
34302
|
console.log("[useUser]: an access token is expired, using refresh token to receive a new");
|
|
34303
34303
|
try {
|
|
34304
|
-
const
|
|
34305
|
-
|
|
34304
|
+
const w = await b.refresh();
|
|
34305
|
+
w && (qt.value = {
|
|
34306
34306
|
...qt.value,
|
|
34307
|
-
accessToken:
|
|
34308
|
-
token:
|
|
34309
|
-
refreshToken:
|
|
34310
|
-
expiresAt:
|
|
34311
|
-
},
|
|
34312
|
-
} catch (
|
|
34313
|
-
console.log("[useUser]: getAccessToken() returns error",
|
|
34307
|
+
accessToken: w.accessToken,
|
|
34308
|
+
token: w.accessToken,
|
|
34309
|
+
refreshToken: w.refreshToken,
|
|
34310
|
+
expiresAt: c(Number(w.data.expires_in))
|
|
34311
|
+
}, s(qt.value));
|
|
34312
|
+
} catch (w) {
|
|
34313
|
+
console.log("[useUser]: getAccessToken() returns error", w);
|
|
34314
34314
|
}
|
|
34315
34315
|
}
|
|
34316
34316
|
return qt.value?.accessToken ?? qt.value?.token;
|
|
34317
34317
|
}
|
|
34318
|
-
function
|
|
34319
|
-
localStorage.setItem(Rd, JSON.stringify({ ...
|
|
34318
|
+
function s(b) {
|
|
34319
|
+
localStorage.setItem(Rd, JSON.stringify({ ...b || {} }));
|
|
34320
34320
|
}
|
|
34321
|
-
async function
|
|
34321
|
+
async function a() {
|
|
34322
34322
|
return await JSON.parse(localStorage.getItem(Rd) || "{}");
|
|
34323
34323
|
}
|
|
34324
|
-
function
|
|
34325
|
-
return Date.now() +
|
|
34324
|
+
function c(b) {
|
|
34325
|
+
return Date.now() + b * 1e3;
|
|
34326
34326
|
}
|
|
34327
|
-
async function
|
|
34327
|
+
async function d(b) {
|
|
34328
34328
|
try {
|
|
34329
|
-
return Bn.value = !0, await zr.requestPasswordReset(
|
|
34330
|
-
} catch (
|
|
34331
|
-
return { succeeded: !1, error:
|
|
34329
|
+
return Bn.value = !0, await zr.requestPasswordReset(b), { succeeded: !0 };
|
|
34330
|
+
} catch (w) {
|
|
34331
|
+
return { succeeded: !1, error: w };
|
|
34332
34332
|
} finally {
|
|
34333
34333
|
Bn.value = !1;
|
|
34334
34334
|
}
|
|
34335
34335
|
}
|
|
34336
|
-
async function
|
|
34337
|
-
const
|
|
34338
|
-
let
|
|
34339
|
-
if (
|
|
34336
|
+
async function p(b, w) {
|
|
34337
|
+
const S = await l();
|
|
34338
|
+
let T;
|
|
34339
|
+
if (S)
|
|
34340
34340
|
try {
|
|
34341
34341
|
Bn.value = !0;
|
|
34342
|
-
const
|
|
34343
|
-
oldPassword:
|
|
34344
|
-
newPassword:
|
|
34342
|
+
const k = new Tf({
|
|
34343
|
+
oldPassword: b,
|
|
34344
|
+
newPassword: w
|
|
34345
34345
|
});
|
|
34346
|
-
|
|
34347
|
-
} catch (
|
|
34348
|
-
return { succeeded: !1, errors: [
|
|
34346
|
+
T = await zr.changeCurrentUserPassword(k);
|
|
34347
|
+
} catch (k) {
|
|
34348
|
+
return { succeeded: !1, errors: [k.message] };
|
|
34349
34349
|
} finally {
|
|
34350
34350
|
Bn.value = !1;
|
|
34351
34351
|
}
|
|
34352
|
-
return
|
|
34352
|
+
return T;
|
|
34353
34353
|
}
|
|
34354
|
-
async function
|
|
34355
|
-
let
|
|
34354
|
+
async function m() {
|
|
34355
|
+
let b = null;
|
|
34356
34356
|
try {
|
|
34357
|
-
|
|
34358
|
-
} catch (
|
|
34359
|
-
throw console.error(
|
|
34357
|
+
b = await zr.getLoginTypes();
|
|
34358
|
+
} catch (w) {
|
|
34359
|
+
throw console.error(w), w;
|
|
34360
34360
|
}
|
|
34361
|
-
return
|
|
34361
|
+
return b;
|
|
34362
34362
|
}
|
|
34363
|
-
async function
|
|
34364
|
-
let
|
|
34363
|
+
async function v() {
|
|
34364
|
+
let b = null;
|
|
34365
34365
|
try {
|
|
34366
|
-
|
|
34367
|
-
} catch (
|
|
34368
|
-
console.error(
|
|
34366
|
+
b = await $S.getExternalLoginProviders();
|
|
34367
|
+
} catch (w) {
|
|
34368
|
+
console.error(w);
|
|
34369
34369
|
}
|
|
34370
|
-
return
|
|
34370
|
+
return b;
|
|
34371
34371
|
}
|
|
34372
|
-
async function
|
|
34372
|
+
async function y(b, w) {
|
|
34373
34373
|
try {
|
|
34374
|
-
let
|
|
34375
|
-
const
|
|
34376
|
-
providerType:
|
|
34374
|
+
let S = e + "externalsignin?";
|
|
34375
|
+
const T = {
|
|
34376
|
+
providerType: b
|
|
34377
34377
|
};
|
|
34378
|
-
if (
|
|
34378
|
+
if (t.value = T, b === null)
|
|
34379
34379
|
throw new Error("The parameter 'authenticationType' cannot be null.");
|
|
34380
|
-
|
|
34381
|
-
} catch (
|
|
34382
|
-
throw console.error(
|
|
34380
|
+
b !== void 0 && (S += "authenticationType=" + encodeURIComponent("" + b) + "&"), w !== void 0 && (S += "returnUrl=" + encodeURIComponent("" + w) + "&"), S = S.replace(/[?&]$/, ""), window.location.href = S;
|
|
34381
|
+
} catch (S) {
|
|
34382
|
+
throw console.error(S), S;
|
|
34383
34383
|
}
|
|
34384
34384
|
}
|
|
34385
|
-
async function
|
|
34385
|
+
async function _(b) {
|
|
34386
34386
|
try {
|
|
34387
|
-
const
|
|
34388
|
-
window.location.href =
|
|
34389
|
-
} catch (
|
|
34390
|
-
throw console.error(
|
|
34387
|
+
const w = e + "externalsignin/signout?authenticationType=" + b;
|
|
34388
|
+
window.location.href = w;
|
|
34389
|
+
} catch (w) {
|
|
34390
|
+
throw console.error(w), w;
|
|
34391
34391
|
}
|
|
34392
34392
|
}
|
|
34393
34393
|
return {
|
|
34394
34394
|
user: Ee(() => Io.value),
|
|
34395
34395
|
loading: Ee(() => Bn.value),
|
|
34396
|
-
isAuthenticated:
|
|
34397
|
-
getAccessToken:
|
|
34398
|
-
loadUser:
|
|
34399
|
-
signIn:
|
|
34400
|
-
signOut:
|
|
34401
|
-
validateToken:
|
|
34402
|
-
validatePassword:
|
|
34403
|
-
resetPasswordByToken:
|
|
34404
|
-
requestPasswordReset:
|
|
34405
|
-
changeUserPassword:
|
|
34406
|
-
getExternalLoginProviders:
|
|
34407
|
-
externalSignIn:
|
|
34408
|
-
getLoginType:
|
|
34396
|
+
isAuthenticated: r,
|
|
34397
|
+
getAccessToken: l,
|
|
34398
|
+
loadUser: h,
|
|
34399
|
+
signIn: g,
|
|
34400
|
+
signOut: u,
|
|
34401
|
+
validateToken: i,
|
|
34402
|
+
validatePassword: o,
|
|
34403
|
+
resetPasswordByToken: f,
|
|
34404
|
+
requestPasswordReset: d,
|
|
34405
|
+
changeUserPassword: p,
|
|
34406
|
+
getExternalLoginProviders: v,
|
|
34407
|
+
externalSignIn: y,
|
|
34408
|
+
getLoginType: m
|
|
34409
34409
|
};
|
|
34410
34410
|
}
|
|
34411
34411
|
var LS = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -34822,18 +34822,18 @@ function qA(n, e) {
|
|
|
34822
34822
|
var t = this.__data__;
|
|
34823
34823
|
return this.size += this.has(n) ? 0 : 1, t[n] = os && e === void 0 ? GA : e, this;
|
|
34824
34824
|
}
|
|
34825
|
-
function
|
|
34825
|
+
function Ei(n) {
|
|
34826
34826
|
var e = -1, t = n == null ? 0 : n.length;
|
|
34827
34827
|
for (this.clear(); ++e < t; ) {
|
|
34828
34828
|
var r = n[e];
|
|
34829
34829
|
this.set(r[0], r[1]);
|
|
34830
34830
|
}
|
|
34831
34831
|
}
|
|
34832
|
-
|
|
34833
|
-
|
|
34834
|
-
|
|
34835
|
-
|
|
34836
|
-
|
|
34832
|
+
Ei.prototype.clear = DA;
|
|
34833
|
+
Ei.prototype.delete = FA;
|
|
34834
|
+
Ei.prototype.get = HA;
|
|
34835
|
+
Ei.prototype.has = zA;
|
|
34836
|
+
Ei.prototype.set = qA;
|
|
34837
34837
|
function YA() {
|
|
34838
34838
|
this.__data__ = [], this.size = 0;
|
|
34839
34839
|
}
|
|
@@ -34878,9 +34878,9 @@ var tT = xi(pr, "Map");
|
|
|
34878
34878
|
const ss = tT;
|
|
34879
34879
|
function nT() {
|
|
34880
34880
|
this.size = 0, this.__data__ = {
|
|
34881
|
-
hash: new
|
|
34881
|
+
hash: new Ei(),
|
|
34882
34882
|
map: new (ss || Pr)(),
|
|
34883
|
-
string: new
|
|
34883
|
+
string: new Ei()
|
|
34884
34884
|
};
|
|
34885
34885
|
}
|
|
34886
34886
|
function rT(n) {
|
|
@@ -35076,8 +35076,8 @@ var UT = xi(pr, "Promise");
|
|
|
35076
35076
|
const xc = UT;
|
|
35077
35077
|
var HT = xi(pr, "Set");
|
|
35078
35078
|
const Cc = HT;
|
|
35079
|
-
var Kd = "[object Map]", WT = "[object Object]", Jd = "[object Promise]", Zd = "[object Set]", Xd = "[object WeakMap]", Qd = "[object DataView]", VT = ki(kc), zT = ki(ss), GT = ki(xc), qT = ki(Cc), YT = ki(Ac),
|
|
35080
|
-
(kc &&
|
|
35079
|
+
var Kd = "[object Map]", WT = "[object Object]", Jd = "[object Promise]", Zd = "[object Set]", Xd = "[object WeakMap]", Qd = "[object DataView]", VT = ki(kc), zT = ki(ss), GT = ki(xc), qT = ki(Cc), YT = ki(Ac), hi = vo;
|
|
35080
|
+
(kc && hi(new kc(new ArrayBuffer(1))) != Qd || ss && hi(new ss()) != Kd || xc && hi(xc.resolve()) != Jd || Cc && hi(new Cc()) != Zd || Ac && hi(new Ac()) != Xd) && (hi = function(n) {
|
|
35081
35081
|
var e = vo(n), t = e == WT ? n.constructor : void 0, r = t ? ki(t) : "";
|
|
35082
35082
|
if (r)
|
|
35083
35083
|
switch (r) {
|
|
@@ -35094,7 +35094,7 @@ var Kd = "[object Map]", WT = "[object Object]", Jd = "[object Promise]", Zd = "
|
|
|
35094
35094
|
}
|
|
35095
35095
|
return e;
|
|
35096
35096
|
});
|
|
35097
|
-
const as =
|
|
35097
|
+
const as = hi;
|
|
35098
35098
|
var KT = Object.prototype, JT = KT.hasOwnProperty;
|
|
35099
35099
|
function ZT(n) {
|
|
35100
35100
|
var e = n.length, t = new n.constructor(e);
|
|
@@ -35547,7 +35547,7 @@ const pC = dC;
|
|
|
35547
35547
|
function gC(n, e) {
|
|
35548
35548
|
return e.length < 2 ? n : Nl(n, bT(e, 0, -1));
|
|
35549
35549
|
}
|
|
35550
|
-
function
|
|
35550
|
+
function di(n, e) {
|
|
35551
35551
|
return Pl(n, e);
|
|
35552
35552
|
}
|
|
35553
35553
|
function mC(n, e) {
|
|
@@ -35686,7 +35686,7 @@ const sa = ce({
|
|
|
35686
35686
|
title: void 0
|
|
35687
35687
|
});
|
|
35688
35688
|
function xC() {
|
|
35689
|
-
const { getAccessToken: n } = dr(), e =
|
|
35689
|
+
const { getAccessToken: n } = dr(), e = oi("platformUrl");
|
|
35690
35690
|
async function t() {
|
|
35691
35691
|
const o = new P1();
|
|
35692
35692
|
return o.setAuthToken(await n()), o;
|
|
@@ -35775,7 +35775,7 @@ function TH(...n) {
|
|
|
35775
35775
|
return Ee(() => n.some((e) => e.value));
|
|
35776
35776
|
}
|
|
35777
35777
|
function CC(n) {
|
|
35778
|
-
const e = ce(null), t =
|
|
35778
|
+
const e = ce(null), t = ln();
|
|
35779
35779
|
function r() {
|
|
35780
35780
|
e.value = null, t && t.emit("reset");
|
|
35781
35781
|
}
|
|
@@ -36058,7 +36058,7 @@ const MC = /* @__PURE__ */ hl(IC, [["render", RC]]), ah = MC, NC = { class: "tw-
|
|
|
36058
36058
|
},
|
|
36059
36059
|
emits: ["upload"],
|
|
36060
36060
|
setup(n, { emit: e }) {
|
|
36061
|
-
const t = n, r =
|
|
36061
|
+
const t = n, r = ln(), i = te(t.rules) || "", o = ce(!1), { errorMessage: f, handleChange: g, validate: u } = lb(
|
|
36062
36062
|
`${t.name === "Gallery" ? r?.uid : t.name}`,
|
|
36063
36063
|
i
|
|
36064
36064
|
), h = ce(), l = async (p) => {
|
|
@@ -36660,7 +36660,7 @@ const hO = (n) => n?.matches("input") ? n : n?.querySelector("input");
|
|
|
36660
36660
|
var dO = (n, e) => {
|
|
36661
36661
|
var t;
|
|
36662
36662
|
let r, i;
|
|
36663
|
-
const o = ce(null), f = ce(null), g = ce(null), u =
|
|
36663
|
+
const o = ce(null), f = ce(null), g = ce(null), u = ln(), h = (y, _) => u?.emit(y, _), l = (t = u?.attrs.modelModifiers) === null || t === void 0 ? void 0 : t.lazy, s = Ee(() => u?.props.modelValue), a = "update:modelValue", c = l ? "update:modelValue" : "change", d = !l, p = l || !u?.attrs.onChange, m = (y) => {
|
|
36664
36664
|
y.detail && (e !== !1 && s.value !== y.detail.number && h(a, y.detail.number), g.value = y.detail.number, f.value = y.detail.formatted);
|
|
36665
36665
|
}, v = (y) => {
|
|
36666
36666
|
y.detail && (e !== !1 && h(c, y.detail.number), g.value = y.detail.number, f.value = y.detail.formatted);
|
|
@@ -36802,7 +36802,7 @@ const pO = ["onClick"], gO = ["placeholder"], mO = /* @__PURE__ */ Me({
|
|
|
36802
36802
|
}, e.timeout), i.value.start());
|
|
36803
36803
|
},
|
|
36804
36804
|
{ immediate: !0 }
|
|
36805
|
-
),
|
|
36805
|
+
), un(() => {
|
|
36806
36806
|
e.timeout && i.value.start();
|
|
36807
36807
|
});
|
|
36808
36808
|
function o(u, h) {
|
|
@@ -37000,7 +37000,7 @@ const Zm = Gf ? window : void 0;
|
|
|
37000
37000
|
function Sa(...n) {
|
|
37001
37001
|
let e, t, r, i;
|
|
37002
37002
|
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([t, r, i] = n, e = Zm) : [e, t, r, i] = n, !e)
|
|
37003
|
-
return
|
|
37003
|
+
return gi;
|
|
37004
37004
|
Array.isArray(t) || (t = [t]), Array.isArray(r) || (r = [r]);
|
|
37005
37005
|
const o = [], f = () => {
|
|
37006
37006
|
o.forEach((l) => l()), o.length = 0;
|
|
@@ -37022,7 +37022,7 @@ function cp(n, e, t = {}) {
|
|
|
37022
37022
|
const { window: r = Zm, ignore: i = [], capture: o = !0, detectIframe: f = !1 } = t;
|
|
37023
37023
|
if (!r)
|
|
37024
37024
|
return;
|
|
37025
|
-
Ec && !up && (up = !0, Array.from(r.document.body.children).forEach((a) => a.addEventListener("click",
|
|
37025
|
+
Ec && !up && (up = !0, Array.from(r.document.body.children).forEach((a) => a.addEventListener("click", gi)));
|
|
37026
37026
|
let g = !0;
|
|
37027
37027
|
const u = (a) => i.some((c) => {
|
|
37028
37028
|
if (typeof c == "string")
|
|
@@ -37133,17 +37133,17 @@ function $s(n) {
|
|
|
37133
37133
|
function lh(n) {
|
|
37134
37134
|
return n === "y" ? "height" : "width";
|
|
37135
37135
|
}
|
|
37136
|
-
function
|
|
37136
|
+
function mi(n) {
|
|
37137
37137
|
return n.split("-")[0];
|
|
37138
37138
|
}
|
|
37139
37139
|
function Ls(n) {
|
|
37140
|
-
return ["top", "bottom"].includes(
|
|
37140
|
+
return ["top", "bottom"].includes(mi(n)) ? "x" : "y";
|
|
37141
37141
|
}
|
|
37142
37142
|
function fp(n, e, t) {
|
|
37143
37143
|
let { reference: r, floating: i } = n;
|
|
37144
37144
|
const o = r.x + r.width / 2 - i.width / 2, f = r.y + r.height / 2 - i.height / 2, g = Ls(e), u = lh(g), h = r[u] / 2 - i[u] / 2, l = g === "x";
|
|
37145
37145
|
let s;
|
|
37146
|
-
switch (
|
|
37146
|
+
switch (mi(e)) {
|
|
37147
37147
|
case "top":
|
|
37148
37148
|
s = { x: o, y: r.y - i.height };
|
|
37149
37149
|
break;
|
|
@@ -37223,7 +37223,7 @@ function Ju(n) {
|
|
|
37223
37223
|
const uh = function(n) {
|
|
37224
37224
|
return n === void 0 && (n = {}), { name: "flip", options: n, async fn(e) {
|
|
37225
37225
|
var t;
|
|
37226
|
-
const { placement: r, middlewareData: i, rects: o, initialPlacement: f, platform: g, elements: u } = e, { mainAxis: h = !0, crossAxis: l = !0, fallbackPlacements: s, fallbackStrategy: a = "bestFit", fallbackAxisSideDirection: c = "none", flipAlignment: d = !0, ...p } = n, m =
|
|
37226
|
+
const { placement: r, middlewareData: i, rects: o, initialPlacement: f, platform: g, elements: u } = e, { mainAxis: h = !0, crossAxis: l = !0, fallbackPlacements: s, fallbackStrategy: a = "bestFit", fallbackAxisSideDirection: c = "none", flipAlignment: d = !0, ...p } = n, m = mi(r), v = mi(f) === f, y = await (g.isRTL == null ? void 0 : g.isRTL(u.floating)), _ = s || (v || !d ? [Ja(f)] : function(E) {
|
|
37227
37227
|
const $ = Ja(E);
|
|
37228
37228
|
return [Ju(E), $, Ju($)];
|
|
37229
37229
|
}(f));
|
|
@@ -37241,7 +37241,7 @@ const uh = function(n) {
|
|
|
37241
37241
|
default:
|
|
37242
37242
|
return [];
|
|
37243
37243
|
}
|
|
37244
|
-
}(
|
|
37244
|
+
}(mi(E), C === "start", x);
|
|
37245
37245
|
return L && (I = I.map((N) => N + "-" + L), $ && (I = I.concat(I.map(Ju)))), I;
|
|
37246
37246
|
}(f, d, c, y));
|
|
37247
37247
|
const b = [f, ..._], w = await ev(e, p), S = [];
|
|
@@ -37275,7 +37275,7 @@ const uh = function(n) {
|
|
|
37275
37275
|
}, Dl = function(n) {
|
|
37276
37276
|
return n === void 0 && (n = 0), { name: "offset", options: n, async fn(e) {
|
|
37277
37277
|
const { x: t, y: r } = e, i = await async function(o, f) {
|
|
37278
|
-
const { placement: g, platform: u, elements: h } = o, l = await (u.isRTL == null ? void 0 : u.isRTL(h.floating)), s =
|
|
37278
|
+
const { placement: g, platform: u, elements: h } = o, l = await (u.isRTL == null ? void 0 : u.isRTL(h.floating)), s = mi(g), a = $s(g), c = Ls(g) === "x", d = ["left", "top"].includes(s) ? -1 : 1, p = l && c ? -1 : 1, m = typeof f == "function" ? f(o) : f;
|
|
37279
37279
|
let { mainAxis: v, crossAxis: y, alignmentAxis: _ } = typeof m == "number" ? { mainAxis: m, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...m };
|
|
37280
37280
|
return a && typeof _ == "number" && (y = a === "end" ? -1 * _ : _), c ? { x: y * p, y: v * d } : { x: v * d, y: y * p };
|
|
37281
37281
|
}(e, n);
|
|
@@ -37290,7 +37290,7 @@ const tv = function(n) {
|
|
|
37290
37290
|
const { x: t, y: r, placement: i } = e, { mainAxis: o = !0, crossAxis: f = !1, limiter: g = { fn: (m) => {
|
|
37291
37291
|
let { x: v, y } = m;
|
|
37292
37292
|
return { x: v, y };
|
|
37293
|
-
} }, ...u } = n, h = { x: t, y: r }, l = await ev(e, u), s = Ls(
|
|
37293
|
+
} }, ...u } = n, h = { x: t, y: r }, l = await ev(e, u), s = Ls(mi(i)), a = UO(s);
|
|
37294
37294
|
let c = h[s], d = h[a];
|
|
37295
37295
|
if (o) {
|
|
37296
37296
|
const m = s === "y" ? "bottom" : "right";
|
|
@@ -37370,7 +37370,7 @@ function sv(n, e, t) {
|
|
|
37370
37370
|
const o = n ? Ln(n) : window;
|
|
37371
37371
|
return !t || e && t !== o ? pp : { x: ((r = o.visualViewport) == null ? void 0 : r.offsetLeft) || 0, y: ((i = o.visualViewport) == null ? void 0 : i.offsetTop) || 0 };
|
|
37372
37372
|
}
|
|
37373
|
-
function
|
|
37373
|
+
function Ai(n, e, t, r) {
|
|
37374
37374
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
37375
37375
|
const i = n.getBoundingClientRect(), o = iv(n);
|
|
37376
37376
|
let f = ov;
|
|
@@ -37394,7 +37394,7 @@ function jl(n) {
|
|
|
37394
37394
|
return Sn(n) ? { scrollLeft: n.scrollLeft, scrollTop: n.scrollTop } : { scrollLeft: n.pageXOffset, scrollTop: n.pageYOffset };
|
|
37395
37395
|
}
|
|
37396
37396
|
function av(n) {
|
|
37397
|
-
return
|
|
37397
|
+
return Ai(Qr(n)).left + jl(n).scrollLeft;
|
|
37398
37398
|
}
|
|
37399
37399
|
function uo(n) {
|
|
37400
37400
|
if (ii(n) === "html")
|
|
@@ -37434,7 +37434,7 @@ function gp(n, e, t) {
|
|
|
37434
37434
|
}(Qr(n));
|
|
37435
37435
|
else if (Sn(e))
|
|
37436
37436
|
r = function(i, o) {
|
|
37437
|
-
const f =
|
|
37437
|
+
const f = Ai(i, !0, o === "fixed"), g = f.top + i.clientTop, u = f.left + i.clientLeft, h = Gn(i) ? Ji(i) : { x: 1, y: 1 };
|
|
37438
37438
|
return { width: i.clientWidth * h.x, height: i.clientHeight * h.y, x: u * h.x, y: g * h.y };
|
|
37439
37439
|
}(e, t);
|
|
37440
37440
|
else {
|
|
@@ -37468,12 +37468,12 @@ function vp(n, e) {
|
|
|
37468
37468
|
}(n) || t;
|
|
37469
37469
|
}
|
|
37470
37470
|
function WO(n, e, t) {
|
|
37471
|
-
const r = Gn(e), i = Qr(e), o = t === "fixed", f =
|
|
37471
|
+
const r = Gn(e), i = Qr(e), o = t === "fixed", f = Ai(n, !0, o, e);
|
|
37472
37472
|
let g = { scrollLeft: 0, scrollTop: 0 };
|
|
37473
37473
|
const u = { x: 0, y: 0 };
|
|
37474
37474
|
if (r || !r && !o)
|
|
37475
37475
|
if ((ii(e) !== "body" || us(i)) && (g = jl(e)), Gn(e)) {
|
|
37476
|
-
const h =
|
|
37476
|
+
const h = Ai(e, !0, o, e);
|
|
37477
37477
|
u.x = h.x + e.clientLeft, u.y = h.y + e.clientTop;
|
|
37478
37478
|
} else
|
|
37479
37479
|
i && (u.x = av(i));
|
|
@@ -37506,7 +37506,7 @@ const VO = { getClippingRect: function(n) {
|
|
|
37506
37506
|
let f = { scrollLeft: 0, scrollTop: 0 }, g = { x: 1, y: 1 };
|
|
37507
37507
|
const u = { x: 0, y: 0 };
|
|
37508
37508
|
if ((i || !i && r !== "fixed") && ((ii(t) !== "body" || us(o)) && (f = jl(t)), Gn(t))) {
|
|
37509
|
-
const h =
|
|
37509
|
+
const h = Ai(t);
|
|
37510
37510
|
g = Ji(t), u.x = h.x + t.clientLeft, u.y = h.y + t.clientTop;
|
|
37511
37511
|
}
|
|
37512
37512
|
return { width: e.width * g.x, height: e.height * g.y, x: e.x * g.x - f.scrollLeft * g.x + u.x, y: e.y * g.y - f.scrollTop * g.y + u.y };
|
|
@@ -37528,9 +37528,9 @@ function cv(n, e, t, r) {
|
|
|
37528
37528
|
f && (l = new ResizeObserver(() => {
|
|
37529
37529
|
t();
|
|
37530
37530
|
}), Sn(n) && !g && l.observe(n), Sn(n) || !n.contextElement || g || l.observe(n.contextElement), l.observe(e));
|
|
37531
|
-
let s = g ?
|
|
37531
|
+
let s = g ? Ai(n) : null;
|
|
37532
37532
|
return g && function a() {
|
|
37533
|
-
const c =
|
|
37533
|
+
const c = Ai(n);
|
|
37534
37534
|
!s || c.x === s.x && c.y === s.y && c.width === s.width && c.height === s.height || t(), s = c, h = requestAnimationFrame(a);
|
|
37535
37535
|
}(), t(), () => {
|
|
37536
37536
|
var a;
|
|
@@ -37827,7 +37827,7 @@ const GO = ["innerHTML"], qO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
37827
37827
|
return typeof z == "function" ? z : (ee) => ee !== null && typeof ee == "object" && z in ee ? ee[z] : ee;
|
|
37828
37828
|
}
|
|
37829
37829
|
function B(oe, Y) {
|
|
37830
|
-
const z = (ee) =>
|
|
37830
|
+
const z = (ee) => di(T.value(ee), oe) || di(O.value(ee), oe);
|
|
37831
37831
|
return c.value.find(z) || d.value.find(z) || Y.find(z) || oe;
|
|
37832
37832
|
}
|
|
37833
37833
|
function D(oe) {
|
|
@@ -37846,7 +37846,7 @@ const GO = ["innerHTML"], qO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
37846
37846
|
}
|
|
37847
37847
|
function j(oe) {
|
|
37848
37848
|
const Y = T.value(oe) || O.value(oe);
|
|
37849
|
-
return x.value.find((z) =>
|
|
37849
|
+
return x.value.find((z) => di(z, Y)) !== void 0;
|
|
37850
37850
|
}
|
|
37851
37851
|
function F() {
|
|
37852
37852
|
o.value = !1, e("close"), H();
|
|
@@ -37884,7 +37884,7 @@ const GO = ["innerHTML"], qO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
37884
37884
|
return;
|
|
37885
37885
|
const Y = T.value(oe) || O.value(oe);
|
|
37886
37886
|
if (t.multiple !== !0) {
|
|
37887
|
-
(E.value.length === 0 ||
|
|
37887
|
+
(E.value.length === 0 || di(T.value(E.value[0]), Y) !== !0) && (e("update:modelValue", t.emitValue === !0 ? Y : oe), o.value = !1);
|
|
37888
37888
|
return;
|
|
37889
37889
|
}
|
|
37890
37890
|
if (E.value.length === 0) {
|
|
@@ -37892,7 +37892,7 @@ const GO = ["innerHTML"], qO = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
37892
37892
|
e("update:modelValue", t.multiple === !0 ? [ge] : ge);
|
|
37893
37893
|
return;
|
|
37894
37894
|
}
|
|
37895
|
-
const z = t.modelValue.slice(), ee = x.value.findIndex((ge) =>
|
|
37895
|
+
const z = t.modelValue.slice(), ee = x.value.findIndex((ge) => di(ge, Y));
|
|
37896
37896
|
if (ee > -1)
|
|
37897
37897
|
z.splice(ee, 1);
|
|
37898
37898
|
else {
|
|
@@ -40665,7 +40665,7 @@ const DI = {
|
|
|
40665
40665
|
}
|
|
40666
40666
|
}
|
|
40667
40667
|
};
|
|
40668
|
-
function
|
|
40668
|
+
function Ti(n) {
|
|
40669
40669
|
return typeof n == "object" && n !== null && n.constructor && Object.prototype.toString.call(n).slice(8, -1) === "Object";
|
|
40670
40670
|
}
|
|
40671
40671
|
function Jr(n, e) {
|
|
@@ -40673,7 +40673,7 @@ function Jr(n, e) {
|
|
|
40673
40673
|
Object.keys(e).filter(function(r) {
|
|
40674
40674
|
return t.indexOf(r) < 0;
|
|
40675
40675
|
}).forEach(function(r) {
|
|
40676
|
-
typeof n[r] > "u" ? n[r] = e[r] :
|
|
40676
|
+
typeof n[r] > "u" ? n[r] = e[r] : Ti(e[r]) && Ti(n[r]) && Object.keys(e[r]).length > 0 ? e[r].__swiper__ ? n[r] = e[r] : Jr(n[r], e[r]) : n[r] = e[r];
|
|
40677
40677
|
});
|
|
40678
40678
|
}
|
|
40679
40679
|
function vv(n) {
|
|
@@ -40826,7 +40826,7 @@ function Ap(n) {
|
|
|
40826
40826
|
return f.replace(/_/, "");
|
|
40827
40827
|
}), o = Object.assign({}, n);
|
|
40828
40828
|
return Object.keys(o).forEach(function(f) {
|
|
40829
|
-
typeof n[f] > "u" || (i.indexOf(f) >= 0 ?
|
|
40829
|
+
typeof n[f] > "u" || (i.indexOf(f) >= 0 ? Ti(n[f]) ? (e[f] = {}, t[f] = {}, Jr(e[f], n[f]), Jr(t[f], n[f])) : (e[f] = n[f], t[f] = n[f]) : f.search(/on[A-Z]/) === 0 && typeof n[f] == "function" ? e.on["" + f[2].toLowerCase() + f.substr(3)] = n[f] : r[f] = n[f]);
|
|
40830
40830
|
}), ["navigation", "pagination", "scrollbar"].forEach(function(f) {
|
|
40831
40831
|
e[f] === !0 && (e[f] = {}), e[f] === !1 && delete e[f];
|
|
40832
40832
|
}), {
|
|
@@ -40906,7 +40906,7 @@ function UI(n, e, t, r) {
|
|
|
40906
40906
|
});
|
|
40907
40907
|
return u.forEach(function(h) {
|
|
40908
40908
|
if (h in n && h in e)
|
|
40909
|
-
if (
|
|
40909
|
+
if (Ti(n[h]) && Ti(e[h])) {
|
|
40910
40910
|
var l = Object.keys(n[h]), s = Object.keys(e[h]);
|
|
40911
40911
|
l.length !== s.length ? o(h) : (l.forEach(function(a) {
|
|
40912
40912
|
n[h][a] !== e[h][a] && o(h);
|
|
@@ -40947,7 +40947,7 @@ function HI(n) {
|
|
|
40947
40947
|
e[k] && (e[k].destroy(), k === "navigation" ? (l[k].prevEl = void 0, l[k].nextEl = void 0, e[k].prevEl = void 0, e[k].nextEl = void 0) : (l[k].el = void 0, e[k].el = void 0));
|
|
40948
40948
|
};
|
|
40949
40949
|
if (h.forEach(function(T) {
|
|
40950
|
-
if (
|
|
40950
|
+
if (Ti(l[T]) && Ti(r[T]))
|
|
40951
40951
|
Jr(l[T], r[T]);
|
|
40952
40952
|
else {
|
|
40953
40953
|
var k = r[T];
|
|
@@ -41511,7 +41511,7 @@ var zI = {
|
|
|
41511
41511
|
an(function() {
|
|
41512
41512
|
WI(a.value);
|
|
41513
41513
|
});
|
|
41514
|
-
}),
|
|
41514
|
+
}), un(function() {
|
|
41515
41515
|
s.value && (jI({
|
|
41516
41516
|
el: s.value,
|
|
41517
41517
|
nextEl: m.value,
|
|
@@ -41572,7 +41572,7 @@ var zI = {
|
|
|
41572
41572
|
function u(l, s, a) {
|
|
41573
41573
|
s === f.value && (g.value = a);
|
|
41574
41574
|
}
|
|
41575
|
-
|
|
41575
|
+
un(function() {
|
|
41576
41576
|
o.value && (o.value.on("_slideClass", u), i = !0);
|
|
41577
41577
|
}), Xp(function() {
|
|
41578
41578
|
i || !o || !o.value || (o.value.on("_slideClass", u), i = !0);
|
|
@@ -41879,7 +41879,7 @@ const gR = {
|
|
|
41879
41879
|
emits: ["click", "child:click"],
|
|
41880
41880
|
setup(n, { emit: e }) {
|
|
41881
41881
|
const t = n, r = eg(), i = ce(!1);
|
|
41882
|
-
|
|
41882
|
+
un(() => {
|
|
41883
41883
|
t.children && t.children.length && t.children.find((f) => f.component?.url === r?.path) && (i.value = !0);
|
|
41884
41884
|
});
|
|
41885
41885
|
function o() {
|
|
@@ -42097,7 +42097,7 @@ function kR(n) {
|
|
|
42097
42097
|
function qn(n) {
|
|
42098
42098
|
return n instanceof Array || Object.prototype.toString.call(n) === "[object Array]";
|
|
42099
42099
|
}
|
|
42100
|
-
function
|
|
42100
|
+
function vi(n) {
|
|
42101
42101
|
return n != null && Object.prototype.toString.call(n) === "[object Object]";
|
|
42102
42102
|
}
|
|
42103
42103
|
function ft(n, e) {
|
|
@@ -42112,7 +42112,7 @@ function ph(n) {
|
|
|
42112
42112
|
return !1;
|
|
42113
42113
|
return !0;
|
|
42114
42114
|
}
|
|
42115
|
-
function
|
|
42115
|
+
function dn(n) {
|
|
42116
42116
|
return n === void 0;
|
|
42117
42117
|
}
|
|
42118
42118
|
function Ir(n) {
|
|
@@ -42185,9 +42185,9 @@ function Ul(n) {
|
|
|
42185
42185
|
var kp = Oe.momentProperties = [], rc = !1;
|
|
42186
42186
|
function mh(n, e) {
|
|
42187
42187
|
var t, r, i, o = kp.length;
|
|
42188
|
-
if (
|
|
42188
|
+
if (dn(e._isAMomentObject) || (n._isAMomentObject = e._isAMomentObject), dn(e._i) || (n._i = e._i), dn(e._f) || (n._f = e._f), dn(e._l) || (n._l = e._l), dn(e._strict) || (n._strict = e._strict), dn(e._tzm) || (n._tzm = e._tzm), dn(e._isUTC) || (n._isUTC = e._isUTC), dn(e._offset) || (n._offset = e._offset), dn(e._pf) || (n._pf = et(e)), dn(e._locale) || (n._locale = e._locale), o > 0)
|
|
42189
42189
|
for (t = 0; t < o; t++)
|
|
42190
|
-
r = kp[t], i = e[r],
|
|
42190
|
+
r = kp[t], i = e[r], dn(i) || (n[r] = i);
|
|
42191
42191
|
return n;
|
|
42192
42192
|
}
|
|
42193
42193
|
function Ms(n) {
|
|
@@ -42244,9 +42244,9 @@ function CR(n) {
|
|
|
42244
42244
|
function zc(n, e) {
|
|
42245
42245
|
var t = Zr({}, n), r;
|
|
42246
42246
|
for (r in e)
|
|
42247
|
-
ft(e, r) && (
|
|
42247
|
+
ft(e, r) && (vi(n[r]) && vi(e[r]) ? (t[r] = {}, Zr(t[r], n[r]), Zr(t[r], e[r])) : e[r] != null ? t[r] = e[r] : delete t[r]);
|
|
42248
42248
|
for (r in n)
|
|
42249
|
-
ft(n, r) && !ft(e, r) &&
|
|
42249
|
+
ft(n, r) && !ft(e, r) && vi(n[r]) && (t[r] = Zr({}, t[r]));
|
|
42250
42250
|
return t;
|
|
42251
42251
|
}
|
|
42252
42252
|
function vh(n) {
|
|
@@ -42469,7 +42469,7 @@ function Ps(n, e) {
|
|
|
42469
42469
|
function JR(n, e, t) {
|
|
42470
42470
|
e != null && ft(qc, n) && qc[n](e, t._a, t, n);
|
|
42471
42471
|
}
|
|
42472
|
-
var tn = 0, Cr = 1, rr = 2, Pt = 3, Wn = 4, Or = 5,
|
|
42472
|
+
var tn = 0, Cr = 1, rr = 2, Pt = 3, Wn = 4, Or = 5, pi = 6, ZR = 7, XR = 8;
|
|
42473
42473
|
function QR(n, e) {
|
|
42474
42474
|
return (n % e + e) % e;
|
|
42475
42475
|
}
|
|
@@ -42978,7 +42978,7 @@ function Kl(n) {
|
|
|
42978
42978
|
}
|
|
42979
42979
|
function ti(n, e) {
|
|
42980
42980
|
var t;
|
|
42981
|
-
return n && (
|
|
42981
|
+
return n && (dn(e) ? t = jr(n) : t = Th(n, e), t ? hs = t : typeof console < "u" && console.warn && console.warn(
|
|
42982
42982
|
"Locale " + n + " not found. Did you forget to load it?"
|
|
42983
42983
|
)), hs._abbr;
|
|
42984
42984
|
}
|
|
@@ -43030,7 +43030,7 @@ function zM() {
|
|
|
43030
43030
|
}
|
|
43031
43031
|
function kh(n) {
|
|
43032
43032
|
var e, t = n._a;
|
|
43033
|
-
return t && et(n).overflow === -2 && (e = t[Cr] < 0 || t[Cr] > 11 ? Cr : t[rr] < 1 || t[rr] > Yl(t[tn], t[Cr]) ? rr : t[Pt] < 0 || t[Pt] > 24 || t[Pt] === 24 && (t[Wn] !== 0 || t[Or] !== 0 || t[
|
|
43033
|
+
return t && et(n).overflow === -2 && (e = t[Cr] < 0 || t[Cr] > 11 ? Cr : t[rr] < 1 || t[rr] > Yl(t[tn], t[Cr]) ? rr : t[Pt] < 0 || t[Pt] > 24 || t[Pt] === 24 && (t[Wn] !== 0 || t[Or] !== 0 || t[pi] !== 0) ? Pt : t[Wn] < 0 || t[Wn] > 59 ? Wn : t[Or] < 0 || t[Or] > 59 ? Or : t[pi] < 0 || t[pi] > 999 ? pi : -1, et(n)._overflowDayOfYear && (e < tn || e > rr) && (e = rr), et(n)._overflowWeeks && e === -1 && (e = ZR), et(n)._overflowWeekday && e === -1 && (e = XR), et(n).overflow = e), n;
|
|
43034
43034
|
}
|
|
43035
43035
|
var GM = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, qM = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, YM = /Z|[+-]\d\d(?::?\d\d)?/, ua = [
|
|
43036
43036
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -43199,7 +43199,7 @@ function xh(n) {
|
|
|
43199
43199
|
n._a[e] = r[e] = i[e];
|
|
43200
43200
|
for (; e < 7; e++)
|
|
43201
43201
|
n._a[e] = r[e] = n._a[e] == null ? e === 2 ? 1 : 0 : n._a[e];
|
|
43202
|
-
n._a[Pt] === 24 && n._a[Wn] === 0 && n._a[Or] === 0 && n._a[
|
|
43202
|
+
n._a[Pt] === 24 && n._a[Wn] === 0 && n._a[Or] === 0 && n._a[pi] === 0 && (n._nextDay = !0, n._a[Pt] = 0), n._d = (n._useUTC ? cs : fM).apply(
|
|
43203
43203
|
null,
|
|
43204
43204
|
r
|
|
43205
43205
|
), o = n._useUTC ? n._d.getUTCDay() : n._d.getDay(), n._tzm != null && n._d.setUTCMinutes(n._d.getUTCMinutes() - n._tzm), n._nextDay && (n._a[Pt] = 24), n._w && typeof n._w.d < "u" && n._w.d !== o && (et(n).weekdayMismatch = !0);
|
|
@@ -43273,13 +43273,13 @@ function Yv(n) {
|
|
|
43273
43273
|
}
|
|
43274
43274
|
function cN(n) {
|
|
43275
43275
|
var e = n._i;
|
|
43276
|
-
|
|
43276
|
+
dn(e) ? n._d = new Date(Oe.now()) : Rs(e) ? n._d = new Date(e.valueOf()) : typeof e == "string" ? rN(n) : qn(e) ? (n._a = Tv(e.slice(0), function(t) {
|
|
43277
43277
|
return parseInt(t, 10);
|
|
43278
|
-
}), xh(n)) :
|
|
43278
|
+
}), xh(n)) : vi(e) ? lN(n) : Ir(e) ? n._d = new Date(e) : Oe.createFromInputFallback(n);
|
|
43279
43279
|
}
|
|
43280
43280
|
function Kv(n, e, t, r, i) {
|
|
43281
43281
|
var o = {};
|
|
43282
|
-
return (e === !0 || e === !1) && (r = e, e = void 0), (t === !0 || t === !1) && (r = t, t = void 0), (
|
|
43282
|
+
return (e === !0 || e === !1) && (r = e, e = void 0), (t === !0 || t === !1) && (r = t, t = void 0), (vi(n) && ph(n) || qn(n) && n.length === 0) && (n = void 0), o._isAMomentObject = !0, o._useUTC = o._isUTC = i, o._l = t, o._i = n, o._f = e, o._strict = r, uN(o);
|
|
43283
43283
|
}
|
|
43284
43284
|
function _t(n, e, t, r) {
|
|
43285
43285
|
return Kv(n, e, t, r, !1);
|
|
@@ -43434,7 +43434,7 @@ function xN() {
|
|
|
43434
43434
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
43435
43435
|
}
|
|
43436
43436
|
function CN() {
|
|
43437
|
-
if (!
|
|
43437
|
+
if (!dn(this._isDSTShifted))
|
|
43438
43438
|
return this._isDSTShifted;
|
|
43439
43439
|
var n = {}, e;
|
|
43440
43440
|
return mh(n, this), n = Yv(n), n._a ? (e = n._isUTC ? gr(n._a) : _t(n._a), this._isDSTShifted = this.isValid() && bN(n._a, e.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
@@ -43461,16 +43461,16 @@ function Kn(n, e) {
|
|
|
43461
43461
|
h: nt(r[Pt]) * i,
|
|
43462
43462
|
m: nt(r[Wn]) * i,
|
|
43463
43463
|
s: nt(r[Or]) * i,
|
|
43464
|
-
ms: nt(Yc(r[
|
|
43464
|
+
ms: nt(Yc(r[pi] * 1e3)) * i
|
|
43465
43465
|
// the millisecond decimal point is included in the match
|
|
43466
43466
|
}) : (r = IN.exec(n)) ? (i = r[1] === "-" ? -1 : 1, t = {
|
|
43467
|
-
y:
|
|
43468
|
-
M:
|
|
43469
|
-
w:
|
|
43470
|
-
d:
|
|
43471
|
-
h:
|
|
43472
|
-
m:
|
|
43473
|
-
s:
|
|
43467
|
+
y: ci(r[2], i),
|
|
43468
|
+
M: ci(r[3], i),
|
|
43469
|
+
w: ci(r[4], i),
|
|
43470
|
+
d: ci(r[5], i),
|
|
43471
|
+
h: ci(r[6], i),
|
|
43472
|
+
m: ci(r[7], i),
|
|
43473
|
+
s: ci(r[8], i)
|
|
43474
43474
|
}) : t == null ? t = {} : typeof t == "object" && ("from" in t || "to" in t) && (f = RN(
|
|
43475
43475
|
_t(t.from),
|
|
43476
43476
|
_t(t.to)
|
|
@@ -43478,7 +43478,7 @@ function Kn(n, e) {
|
|
|
43478
43478
|
}
|
|
43479
43479
|
Kn.fn = Jl.prototype;
|
|
43480
43480
|
Kn.invalid = yN;
|
|
43481
|
-
function
|
|
43481
|
+
function ci(n, e) {
|
|
43482
43482
|
var t = n && parseFloat(n.replace(",", "."));
|
|
43483
43483
|
return (isNaN(t) ? 0 : t) * e;
|
|
43484
43484
|
}
|
|
@@ -43511,7 +43511,7 @@ function PN(n) {
|
|
|
43511
43511
|
return Yn(n) || Rs(n) || ty(n) || Ir(n) || FN(n) || DN(n) || n === null || n === void 0;
|
|
43512
43512
|
}
|
|
43513
43513
|
function DN(n) {
|
|
43514
|
-
var e =
|
|
43514
|
+
var e = vi(n) && !ph(n), t = !1, r = [
|
|
43515
43515
|
"years",
|
|
43516
43516
|
"year",
|
|
43517
43517
|
"y",
|
|
@@ -43548,7 +43548,7 @@ function FN(n) {
|
|
|
43548
43548
|
}).length === 0), e && t;
|
|
43549
43549
|
}
|
|
43550
43550
|
function jN(n) {
|
|
43551
|
-
var e =
|
|
43551
|
+
var e = vi(n) && !ph(n), t = !1, r = [
|
|
43552
43552
|
"sameDay",
|
|
43553
43553
|
"nextDay",
|
|
43554
43554
|
"lastDay",
|
|
@@ -44153,7 +44153,7 @@ var Xr, cy;
|
|
|
44153
44153
|
for (Xr = "SSSS"; Xr.length <= 9; Xr += "S")
|
|
44154
44154
|
Pe(Xr, wo);
|
|
44155
44155
|
function BP(n, e) {
|
|
44156
|
-
e[
|
|
44156
|
+
e[pi] = nt(("0." + n) * 1e3);
|
|
44157
44157
|
}
|
|
44158
44158
|
for (Xr = "S"; Xr.length <= 9; Xr += "S")
|
|
44159
44159
|
mt(Xr, BP);
|
|
@@ -44870,7 +44870,7 @@ const kD = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
44870
44870
|
},
|
|
44871
44871
|
emits: ["onClick"],
|
|
44872
44872
|
setup(n, { emit: e }) {
|
|
44873
|
-
const t = n, r =
|
|
44873
|
+
const t = n, r = oi("platformUrl"), i = ce(!1), o = (l) => r.replace(/\/+$/, "") + l, f = (l) => {
|
|
44874
44874
|
const s = window.location.pathname.replace(/\/+$/, ""), a = l.match(s);
|
|
44875
44875
|
return a ? a[0] : null;
|
|
44876
44876
|
}, g = (l) => {
|
|
@@ -46616,10 +46616,10 @@ class Dp {
|
|
|
46616
46616
|
return this._retryDelays[e.previousRetryCount];
|
|
46617
46617
|
}
|
|
46618
46618
|
}
|
|
46619
|
-
class
|
|
46619
|
+
class yi {
|
|
46620
46620
|
}
|
|
46621
|
-
|
|
46622
|
-
|
|
46621
|
+
yi.Authorization = "Authorization";
|
|
46622
|
+
yi.Cookie = "Cookie";
|
|
46623
46623
|
class gF extends eu {
|
|
46624
46624
|
constructor(e, t) {
|
|
46625
46625
|
super(), this._innerClient = e, this._accessTokenFactory = t;
|
|
@@ -46631,7 +46631,7 @@ class gF extends eu {
|
|
|
46631
46631
|
return t && r.statusCode === 401 && this._accessTokenFactory ? (this._accessToken = await this._accessTokenFactory(), this._setAuthorizationHeader(e), await this._innerClient.send(e)) : r;
|
|
46632
46632
|
}
|
|
46633
46633
|
_setAuthorizationHeader(e) {
|
|
46634
|
-
e.headers || (e.headers = {}), this._accessToken ? e.headers[
|
|
46634
|
+
e.headers || (e.headers = {}), this._accessToken ? e.headers[yi.Authorization] = `Bearer ${this._accessToken}` : this._accessTokenFactory && e.headers[yi.Authorization] && delete e.headers[yi.Authorization];
|
|
46635
46635
|
}
|
|
46636
46636
|
getCookieString(e) {
|
|
46637
46637
|
return this._innerClient.getCookieString(e);
|
|
@@ -46787,7 +46787,7 @@ class yF {
|
|
|
46787
46787
|
let u = !1;
|
|
46788
46788
|
if (Bt.isNode || Bt.isReactNative) {
|
|
46789
46789
|
const h = {}, [l, s] = ho();
|
|
46790
|
-
h[l] = s, r && (h[
|
|
46790
|
+
h[l] = s, r && (h[yi.Authorization] = `Bearer ${r}`), g && (h[yi.Cookie] = g), f = new this._webSocketConstructor(e, void 0, {
|
|
46791
46791
|
headers: { ...h, ...this._headers }
|
|
46792
46792
|
});
|
|
46793
46793
|
} else
|
|
@@ -47617,9 +47617,9 @@ var Xc = { exports: {} };
|
|
|
47617
47617
|
});
|
|
47618
47618
|
})(Xc, Xc.exports);
|
|
47619
47619
|
var MF = Xc.exports;
|
|
47620
|
-
const NF = /* @__PURE__ */ vs(MF), va = ce(), ya = ce(),
|
|
47620
|
+
const NF = /* @__PURE__ */ vs(MF), va = ce(), ya = ce(), fi = qf("VC_BLADE_DATA", {});
|
|
47621
47621
|
function Py() {
|
|
47622
|
-
const n = fl(), e = new NF("(/:workspace(/:blade(/:param)))"), { checkPermission: t } = sh(), r = ce(!1), i = n.getRoutes(), o =
|
|
47622
|
+
const n = fl(), e = new NF("(/:workspace(/:blade(/:param)))"), { checkPermission: t } = sh(), r = ce(!1), i = n.getRoutes(), o = ln(), f = o && oi("bladeNavigationPlugin") || Ny;
|
|
47623
47623
|
ot(
|
|
47624
47624
|
f?.blades,
|
|
47625
47625
|
(_) => {
|
|
@@ -47651,7 +47651,7 @@ function Py() {
|
|
|
47651
47651
|
g({ blade: _, param: b, options: w });
|
|
47652
47652
|
return;
|
|
47653
47653
|
}
|
|
47654
|
-
const O = o && o.vnode.type, A = f.bladesRefs.value.findIndex((x) =>
|
|
47654
|
+
const O = o && o.vnode.type, A = f.bladesRefs.value.findIndex((x) => di(x.blade.blade, O)), E = A >= 0 ? f.bladesRefs.value[A + 1]?.blade.blade : void 0, $ = te(_), C = O?.idx ? O.idx : 0;
|
|
47655
47655
|
E === void 0 ? $.idx = C ? C + 1 : 1 : E && (await h(
|
|
47656
47656
|
f.blades.value.findIndex((x) => x.idx === E.idx)
|
|
47657
47657
|
), $.idx = E.idx), r.value || await l($, b, w, S, T, C);
|
|
@@ -47705,7 +47705,7 @@ function Py() {
|
|
|
47705
47705
|
function d(_) {
|
|
47706
47706
|
const b = e.match(_.path), w = (S) => i.find((T) => T.path === "/" + S);
|
|
47707
47707
|
if (w(b?.workspace) && _.path !== "/" + b.workspace)
|
|
47708
|
-
return w(b?.blade) && (
|
|
47708
|
+
return w(b?.blade) && (fi.value = {
|
|
47709
47709
|
blade: "/" + b?.blade,
|
|
47710
47710
|
param: b?.param
|
|
47711
47711
|
}), "/" + b.workspace;
|
|
@@ -47715,22 +47715,22 @@ function Py() {
|
|
|
47715
47715
|
return h(0), "/";
|
|
47716
47716
|
}
|
|
47717
47717
|
function m() {
|
|
47718
|
-
|
|
47718
|
+
fi.value = {};
|
|
47719
47719
|
}
|
|
47720
47720
|
async function v({ param: _, options: b }) {
|
|
47721
47721
|
va.value = b, ya.value = _;
|
|
47722
47722
|
}
|
|
47723
47723
|
function y(_) {
|
|
47724
|
-
if (
|
|
47725
|
-
const b = _?.find((w) => w.url ===
|
|
47726
|
-
v({ param:
|
|
47724
|
+
if (fi.value?.blade) {
|
|
47725
|
+
const b = _?.find((w) => w.url === fi.value?.blade);
|
|
47726
|
+
v({ param: fi.value?.param }), u({ blade: b, param: fi.value?.param }), m();
|
|
47727
47727
|
}
|
|
47728
47728
|
}
|
|
47729
47729
|
return {
|
|
47730
47730
|
blades: Ee(() => f.blades.value),
|
|
47731
47731
|
workspaceOptions: Ee(() => va.value),
|
|
47732
47732
|
workspaceParam: Ee(() => ya.value),
|
|
47733
|
-
lastBladeData: Ee(() =>
|
|
47733
|
+
lastBladeData: Ee(() => fi.value),
|
|
47734
47734
|
bladesRefs: f.bladesRefs,
|
|
47735
47735
|
openBlade: u,
|
|
47736
47736
|
closeBlade: h,
|
|
@@ -47818,10 +47818,10 @@ const PF = ["onDragover", "onDragleave", "onDrop"], DF = { class: "tw-w-full tw-
|
|
|
47818
47818
|
ot(
|
|
47819
47819
|
() => o.value,
|
|
47820
47820
|
(A) => {
|
|
47821
|
-
a.value = !
|
|
47821
|
+
a.value = !di(A, s);
|
|
47822
47822
|
},
|
|
47823
47823
|
{ deep: !0 }
|
|
47824
|
-
),
|
|
47824
|
+
), un(() => {
|
|
47825
47825
|
o.value = r.options?.assets, s = ux(r.options?.assets);
|
|
47826
47826
|
});
|
|
47827
47827
|
function m(A) {
|
|
@@ -48072,8 +48072,8 @@ const PF = ["onDragover", "onDragleave", "onDrop"], DF = { class: "tw-w-full tw-
|
|
|
48072
48072
|
en: tj
|
|
48073
48073
|
}, Symbol.toStringTag, { value: "Module" })), rj = Fr(QF, nj);
|
|
48074
48074
|
function ij() {
|
|
48075
|
-
if (
|
|
48076
|
-
return
|
|
48075
|
+
if (ln())
|
|
48076
|
+
return oi("popupPlugin");
|
|
48077
48077
|
}
|
|
48078
48078
|
const oj = { key: 0 }, sj = /* @__PURE__ */ Me({
|
|
48079
48079
|
__name: "vc-popup-container",
|
|
@@ -48107,7 +48107,7 @@ const uj = {
|
|
|
48107
48107
|
}
|
|
48108
48108
|
};
|
|
48109
48109
|
function jy(n) {
|
|
48110
|
-
const { t: e } = Mr({ useScope: "global" }), r =
|
|
48110
|
+
const { t: e } = Mr({ useScope: "global" }), r = ln() && oi("popupPlugin") || Fy, i = h(n);
|
|
48111
48111
|
async function o(l) {
|
|
48112
48112
|
let s;
|
|
48113
48113
|
await an(), r && (s = r), s.popups.push(i || l);
|
|
@@ -48508,7 +48508,7 @@ const MH = xj, Cj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
48508
48508
|
password: "",
|
|
48509
48509
|
confirmPassword: ""
|
|
48510
48510
|
}), s = Ee(() => !h.value || !u.value);
|
|
48511
|
-
|
|
48511
|
+
un(async () => {
|
|
48512
48512
|
l.tokenIsValid = await t(e.userId, e.token), l.tokenIsValid || l.errors.push("Invalid-token");
|
|
48513
48513
|
});
|
|
48514
48514
|
const a = async () => {
|
|
@@ -48695,13 +48695,13 @@ const MH = xj, Cj = { class: "vc-app tw-w-full tw-h-full tw-box-border tw-flex t
|
|
|
48695
48695
|
ms({ validateOnMount: !1 });
|
|
48696
48696
|
const { getUiCustomizationSettings: r, uiSettings: i } = xC();
|
|
48697
48697
|
let o;
|
|
48698
|
-
const f =
|
|
48698
|
+
const f = oi("commonPageComposables"), g = ce({ succeeded: !0 }), u = ce({ succeeded: !0 }), h = ce(!1), { signIn: l, loading: s, externalSignIn: a, getExternalLoginProviders: c } = dr(), d = ce(!0), p = ul(), m = cl(), v = ce(!1), y = ce(!1), _ = ce();
|
|
48699
48699
|
let b;
|
|
48700
48700
|
if (f && (o = f?.useLogin, o)) {
|
|
48701
48701
|
const { forgotPassword: x } = o();
|
|
48702
48702
|
b = x;
|
|
48703
48703
|
}
|
|
48704
|
-
|
|
48704
|
+
un(async () => {
|
|
48705
48705
|
try {
|
|
48706
48706
|
v.value = !0, _.value = await c(), await r();
|
|
48707
48707
|
} finally {
|
|
@@ -49019,7 +49019,7 @@ const Jj = Kj, Zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
49019
49019
|
password: "",
|
|
49020
49020
|
confirmPassword: ""
|
|
49021
49021
|
});
|
|
49022
|
-
|
|
49022
|
+
un(async () => {
|
|
49023
49023
|
h.tokenIsValid = await t(e.userId, e.token), h.tokenIsValid || h.errors.push("Invalid-token");
|
|
49024
49024
|
});
|
|
49025
49025
|
const l = Ee(() => f.value || !h.password || !h.confirmPassword || !h.isValid && h.tokenIsValid), s = async () => {
|
|
@@ -49205,7 +49205,7 @@ const Jj = Kj, Zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
49205
49205
|
emits: ["close", "backlink:click", "logo:click"],
|
|
49206
49206
|
setup(n, { expose: e }) {
|
|
49207
49207
|
console.debug("vc-app: Init vc-app");
|
|
49208
|
-
const { openBlade: t } = Py(), r =
|
|
49208
|
+
const { openBlade: t } = Py(), r = ln(), i = function({ item: f }) {
|
|
49209
49209
|
console.debug("vc-app#onMenuItemClick() called."), f.clickHandler && typeof f.clickHandler == "function" ? f.clickHandler(r?.exposed) : t(
|
|
49210
49210
|
{
|
|
49211
49211
|
blade: eo(f.component)
|
|
@@ -49600,7 +49600,7 @@ const Gy = RB, MB = /* @__PURE__ */ Me({
|
|
|
49600
49600
|
}
|
|
49601
49601
|
return s && r(s.toUpperCase()) ? i(s.toUpperCase()) : s;
|
|
49602
49602
|
});
|
|
49603
|
-
|
|
49603
|
+
un(async () => {
|
|
49604
49604
|
e.optionsGetter && (f.value = await e.optionsGetter(e.property));
|
|
49605
49605
|
}), (e.property.required || e.property.isRequired) && (o.required = !0), e.property.validationRule?.charCountMin && (o.min = Number(e.property.validationRule.charCountMin)), e.property.validationRule?.charCountMax && (o.max = Number(e.property.validationRule.charCountMax)), e.property.validationRule?.regExp && (o.regex = new RegExp(e.property.validationRule?.regExp));
|
|
49606
49606
|
async function h(s) {
|