@das-fed/mframe 0.0.12 → 0.0.13
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/es5.js +1169 -1161
- package/index.d.ts +12 -4
- package/index.js +991 -984
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -49,10 +49,10 @@ function jt(e) {
|
|
|
49
49
|
if (ce(e)) {
|
|
50
50
|
const t = {};
|
|
51
51
|
for (let n = 0; n < e.length; n++) {
|
|
52
|
-
const r = e[n],
|
|
53
|
-
if (
|
|
54
|
-
for (const
|
|
55
|
-
t[
|
|
52
|
+
const r = e[n], o = He(r) ? Ra(r) : jt(r);
|
|
53
|
+
if (o)
|
|
54
|
+
for (const s in o)
|
|
55
|
+
t[s] = o[s];
|
|
56
56
|
}
|
|
57
57
|
return t;
|
|
58
58
|
} else if (He(e) || De(e))
|
|
@@ -166,8 +166,8 @@ class Ca {
|
|
|
166
166
|
this.scopes.length = 0;
|
|
167
167
|
}
|
|
168
168
|
if (!this.detached && this.parent && !t) {
|
|
169
|
-
const
|
|
170
|
-
|
|
169
|
+
const o = this.parent.scopes.pop();
|
|
170
|
+
o && o !== this && (this.parent.scopes[this.index] = o, o.index = this.index);
|
|
171
171
|
}
|
|
172
172
|
this.parent = void 0;
|
|
173
173
|
}
|
|
@@ -272,8 +272,8 @@ function Ki(e) {
|
|
|
272
272
|
function ki(e) {
|
|
273
273
|
let t, n = e.depsTail, r = n;
|
|
274
274
|
for (; r; ) {
|
|
275
|
-
const
|
|
276
|
-
r.version === -1 ? (r === n && (n =
|
|
275
|
+
const o = r.prevDep;
|
|
276
|
+
r.version === -1 ? (r === n && (n = o), os(r), Ia(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = o;
|
|
277
277
|
}
|
|
278
278
|
e.deps = t, e.depsTail = n;
|
|
279
279
|
}
|
|
@@ -296,20 +296,20 @@ function Yi(e) {
|
|
|
296
296
|
Ae = e, mt = !0;
|
|
297
297
|
try {
|
|
298
298
|
Ki(e);
|
|
299
|
-
const
|
|
300
|
-
(t.version === 0 || Zt(
|
|
301
|
-
} catch (
|
|
302
|
-
throw t.version++,
|
|
299
|
+
const o = e.fn(e._value);
|
|
300
|
+
(t.version === 0 || Zt(o, e._value)) && (e._value = o, t.version++);
|
|
301
|
+
} catch (o) {
|
|
302
|
+
throw t.version++, o;
|
|
303
303
|
} finally {
|
|
304
304
|
Ae = n, mt = r, ki(e), e.flags &= -3;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
function os(e, t = !1) {
|
|
308
|
-
const { dep: n, prevSub: r, nextSub:
|
|
309
|
-
if (r && (r.nextSub =
|
|
308
|
+
const { dep: n, prevSub: r, nextSub: o } = e;
|
|
309
|
+
if (r && (r.nextSub = o, e.prevSub = void 0), o && (o.prevSub = r, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = o), n.subs === e && (n.subs = r, !r && n.computed)) {
|
|
310
310
|
n.computed.flags &= -5;
|
|
311
|
-
for (let
|
|
312
|
-
os(
|
|
311
|
+
for (let s = n.computed.deps; s; s = s.nextDep)
|
|
312
|
+
os(s, !0);
|
|
313
313
|
}
|
|
314
314
|
!t && !--n.sc && n.map && n.map.delete(n.key);
|
|
315
315
|
}
|
|
@@ -413,15 +413,15 @@ function We(e, t, n) {
|
|
|
413
413
|
if (mt && Ae) {
|
|
414
414
|
let r = Io.get(e);
|
|
415
415
|
r || Io.set(e, r = /* @__PURE__ */ new Map());
|
|
416
|
-
let
|
|
417
|
-
|
|
416
|
+
let o = r.get(n);
|
|
417
|
+
o || (r.set(n, o = new ss()), o.map = r, o.key = n), process.env.NODE_ENV !== "production" ? o.track({
|
|
418
418
|
target: e,
|
|
419
419
|
type: t,
|
|
420
420
|
key: n
|
|
421
|
-
}) :
|
|
421
|
+
}) : o.track();
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function St(e, t, n, r, o, s) {
|
|
425
425
|
const i = Io.get(e);
|
|
426
426
|
if (!i) {
|
|
427
427
|
nr++;
|
|
@@ -433,8 +433,8 @@ function Ot(e, t, n, r, s, o) {
|
|
|
433
433
|
type: t,
|
|
434
434
|
key: n,
|
|
435
435
|
newValue: r,
|
|
436
|
-
oldValue:
|
|
437
|
-
oldTarget:
|
|
436
|
+
oldValue: o,
|
|
437
|
+
oldTarget: s
|
|
438
438
|
}) : l.trigger());
|
|
439
439
|
};
|
|
440
440
|
if (ns(), t === "clear")
|
|
@@ -558,17 +558,17 @@ const Ma = {
|
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
560
|
function ho(e, t, n) {
|
|
561
|
-
const r = is(e),
|
|
562
|
-
return r !== e && !rt(e) && (
|
|
563
|
-
const
|
|
564
|
-
return
|
|
565
|
-
}),
|
|
561
|
+
const r = is(e), o = r[t]();
|
|
562
|
+
return r !== e && !rt(e) && (o._next = o.next, o.next = () => {
|
|
563
|
+
const s = o._next();
|
|
564
|
+
return s.value && (s.value = n(s.value)), s;
|
|
565
|
+
}), o;
|
|
566
566
|
}
|
|
567
567
|
const La = Array.prototype;
|
|
568
|
-
function $t(e, t, n, r,
|
|
568
|
+
function $t(e, t, n, r, o, s) {
|
|
569
569
|
const i = is(e), c = i !== e && !rt(e), l = i[t];
|
|
570
570
|
if (l !== La[t]) {
|
|
571
|
-
const d = l.apply(e,
|
|
571
|
+
const d = l.apply(e, s);
|
|
572
572
|
return c ? Ze(d) : d;
|
|
573
573
|
}
|
|
574
574
|
let E = n;
|
|
@@ -578,22 +578,22 @@ function $t(e, t, n, r, s, o) {
|
|
|
578
578
|
return n.call(this, d, h, e);
|
|
579
579
|
}));
|
|
580
580
|
const p = l.call(i, E, r);
|
|
581
|
-
return c &&
|
|
581
|
+
return c && o ? o(p) : p;
|
|
582
582
|
}
|
|
583
583
|
function Ds(e, t, n, r) {
|
|
584
|
-
const
|
|
585
|
-
let
|
|
586
|
-
return
|
|
584
|
+
const o = is(e);
|
|
585
|
+
let s = n;
|
|
586
|
+
return o !== e && (rt(e) ? n.length > 3 && (s = function(i, c, l) {
|
|
587
587
|
return n.call(this, i, c, l, e);
|
|
588
|
-
}) :
|
|
588
|
+
}) : s = function(i, c, l) {
|
|
589
589
|
return n.call(this, i, Ze(c), l, e);
|
|
590
|
-
}),
|
|
590
|
+
}), o[t](s, ...r);
|
|
591
591
|
}
|
|
592
592
|
function go(e, t, n) {
|
|
593
593
|
const r = me(e);
|
|
594
594
|
We(r, "iterate", rr);
|
|
595
|
-
const
|
|
596
|
-
return (
|
|
595
|
+
const o = r[t](...n);
|
|
596
|
+
return (o === -1 || o === !1) && Mr(n[0]) ? (n[0] = me(n[0]), r[t](...n)) : o;
|
|
597
597
|
}
|
|
598
598
|
function Bn(e, t, n = []) {
|
|
599
599
|
Bt(), ns();
|
|
@@ -614,19 +614,19 @@ class Xi {
|
|
|
614
614
|
}
|
|
615
615
|
get(t, n, r) {
|
|
616
616
|
if (n === "__v_skip") return t.__v_skip;
|
|
617
|
-
const
|
|
617
|
+
const o = this._isReadonly, s = this._isShallow;
|
|
618
618
|
if (n === "__v_isReactive")
|
|
619
|
-
return !
|
|
619
|
+
return !o;
|
|
620
620
|
if (n === "__v_isReadonly")
|
|
621
|
-
return s;
|
|
622
|
-
if (n === "__v_isShallow")
|
|
623
621
|
return o;
|
|
622
|
+
if (n === "__v_isShallow")
|
|
623
|
+
return s;
|
|
624
624
|
if (n === "__v_raw")
|
|
625
|
-
return r === (
|
|
625
|
+
return r === (o ? s ? rc : nc : s ? tc : ec).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
626
626
|
// this means the receiver is a user proxy of the reactive proxy
|
|
627
627
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
|
|
628
628
|
const i = ce(t);
|
|
629
|
-
if (!
|
|
629
|
+
if (!o) {
|
|
630
630
|
let l;
|
|
631
631
|
if (i && (l = Ma[n]))
|
|
632
632
|
return l;
|
|
@@ -641,31 +641,31 @@ class Xi {
|
|
|
641
641
|
// its class methods
|
|
642
642
|
Ve(t) ? t : r
|
|
643
643
|
);
|
|
644
|
-
return (In(n) ? Ji.has(n) : Va(n)) || (
|
|
644
|
+
return (In(n) ? Ji.has(n) : Va(n)) || (o || We(t, "get", n), s) ? c : Ve(c) ? i && es(n) ? c : c.value : De(c) ? o ? oc(c) : cs(c) : c;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
class Zi extends Xi {
|
|
648
648
|
constructor(t = !1) {
|
|
649
649
|
super(!1, t);
|
|
650
650
|
}
|
|
651
|
-
set(t, n, r,
|
|
652
|
-
let
|
|
651
|
+
set(t, n, r, o) {
|
|
652
|
+
let s = t[n];
|
|
653
653
|
if (!this._isShallow) {
|
|
654
|
-
const l = Ft(
|
|
655
|
-
if (!rt(r) && !Ft(r) && (
|
|
656
|
-
return l ? !1 : (
|
|
654
|
+
const l = Ft(s);
|
|
655
|
+
if (!rt(r) && !Ft(r) && (s = me(s), r = me(r)), !ce(t) && Ve(s) && !Ve(r))
|
|
656
|
+
return l ? !1 : (s.value = r, !0);
|
|
657
657
|
}
|
|
658
658
|
const i = ce(t) && es(n) ? Number(n) < t.length : be(t, n), c = Reflect.set(
|
|
659
659
|
t,
|
|
660
660
|
n,
|
|
661
661
|
r,
|
|
662
|
-
Ve(t) ? t :
|
|
662
|
+
Ve(t) ? t : o
|
|
663
663
|
);
|
|
664
|
-
return t === me(
|
|
664
|
+
return t === me(o) && (i ? Zt(r, s) && St(t, "set", n, r, s) : St(t, "add", n, r)), c;
|
|
665
665
|
}
|
|
666
666
|
deleteProperty(t, n) {
|
|
667
|
-
const r = be(t, n),
|
|
668
|
-
return
|
|
667
|
+
const r = be(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
|
|
668
|
+
return s && r && St(t, "delete", n, void 0, o), s;
|
|
669
669
|
}
|
|
670
670
|
has(t, n) {
|
|
671
671
|
const r = Reflect.has(t, n);
|
|
@@ -699,9 +699,9 @@ class Qi extends Xi {
|
|
|
699
699
|
const Ha = /* @__PURE__ */ new Zi(), Wa = /* @__PURE__ */ new Qi(), Fa = /* @__PURE__ */ new Zi(!0), Ba = /* @__PURE__ */ new Qi(!0), Mo = (e) => e, vr = (e) => Reflect.getPrototypeOf(e);
|
|
700
700
|
function Ua(e, t, n) {
|
|
701
701
|
return function(...r) {
|
|
702
|
-
const
|
|
702
|
+
const o = this.__v_raw, s = me(o), i = Sn(s), c = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, E = o[e](...r), p = n ? Mo : t ? Lo : Ze;
|
|
703
703
|
return !t && We(
|
|
704
|
-
|
|
704
|
+
s,
|
|
705
705
|
"iterate",
|
|
706
706
|
l ? $o : un
|
|
707
707
|
), {
|
|
@@ -734,27 +734,27 @@ function Er(e) {
|
|
|
734
734
|
}
|
|
735
735
|
function Ga(e, t) {
|
|
736
736
|
const n = {
|
|
737
|
-
get(
|
|
738
|
-
const
|
|
739
|
-
e || (Zt(
|
|
737
|
+
get(o) {
|
|
738
|
+
const s = this.__v_raw, i = me(s), c = me(o);
|
|
739
|
+
e || (Zt(o, c) && We(i, "get", o), We(i, "get", c));
|
|
740
740
|
const { has: l } = vr(i), E = t ? Mo : e ? Lo : Ze;
|
|
741
|
-
if (l.call(i,
|
|
742
|
-
return E(
|
|
741
|
+
if (l.call(i, o))
|
|
742
|
+
return E(s.get(o));
|
|
743
743
|
if (l.call(i, c))
|
|
744
|
-
return E(
|
|
745
|
-
|
|
744
|
+
return E(s.get(c));
|
|
745
|
+
s !== i && s.get(o);
|
|
746
746
|
},
|
|
747
747
|
get size() {
|
|
748
|
-
const
|
|
749
|
-
return !e && We(me(
|
|
748
|
+
const o = this.__v_raw;
|
|
749
|
+
return !e && We(me(o), "iterate", un), Reflect.get(o, "size", o);
|
|
750
750
|
},
|
|
751
|
-
has(
|
|
752
|
-
const
|
|
753
|
-
return e || (Zt(
|
|
751
|
+
has(o) {
|
|
752
|
+
const s = this.__v_raw, i = me(s), c = me(o);
|
|
753
|
+
return e || (Zt(o, c) && We(i, "has", o), We(i, "has", c)), o === c ? s.has(o) : s.has(o) || s.has(c);
|
|
754
754
|
},
|
|
755
|
-
forEach(
|
|
755
|
+
forEach(o, s) {
|
|
756
756
|
const i = this, c = i.__v_raw, l = me(c), E = t ? Mo : e ? Lo : Ze;
|
|
757
|
-
return !e && We(l, "iterate", un), c.forEach((p, d) =>
|
|
757
|
+
return !e && We(l, "iterate", un), c.forEach((p, d) => o.call(s, E(p), E(d), i));
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
760
|
return je(
|
|
@@ -765,30 +765,30 @@ function Ga(e, t) {
|
|
|
765
765
|
delete: Er("delete"),
|
|
766
766
|
clear: Er("clear")
|
|
767
767
|
} : {
|
|
768
|
-
add(
|
|
769
|
-
!t && !rt(s) && !Ft(s) && (s = me(s));
|
|
770
|
-
const o = me(this);
|
|
771
|
-
return vr(o).has.call(o, s) || (o.add(s), Ot(o, "add", s, s)), this;
|
|
772
|
-
},
|
|
773
|
-
set(s, o) {
|
|
768
|
+
add(o) {
|
|
774
769
|
!t && !rt(o) && !Ft(o) && (o = me(o));
|
|
770
|
+
const s = me(this);
|
|
771
|
+
return vr(s).has.call(s, o) || (s.add(o), St(s, "add", o, o)), this;
|
|
772
|
+
},
|
|
773
|
+
set(o, s) {
|
|
774
|
+
!t && !rt(s) && !Ft(s) && (s = me(s));
|
|
775
775
|
const i = me(this), { has: c, get: l } = vr(i);
|
|
776
|
-
let E = c.call(i,
|
|
777
|
-
E ? process.env.NODE_ENV !== "production" && Cs(i, c,
|
|
778
|
-
const p = l.call(i,
|
|
779
|
-
return i.set(
|
|
776
|
+
let E = c.call(i, o);
|
|
777
|
+
E ? process.env.NODE_ENV !== "production" && Cs(i, c, o) : (o = me(o), E = c.call(i, o));
|
|
778
|
+
const p = l.call(i, o);
|
|
779
|
+
return i.set(o, s), E ? Zt(s, p) && St(i, "set", o, s, p) : St(i, "add", o, s), this;
|
|
780
780
|
},
|
|
781
|
-
delete(
|
|
782
|
-
const
|
|
783
|
-
let l = i.call(
|
|
784
|
-
l ? process.env.NODE_ENV !== "production" && Cs(
|
|
785
|
-
const E = c ? c.call(
|
|
786
|
-
return l &&
|
|
781
|
+
delete(o) {
|
|
782
|
+
const s = me(this), { has: i, get: c } = vr(s);
|
|
783
|
+
let l = i.call(s, o);
|
|
784
|
+
l ? process.env.NODE_ENV !== "production" && Cs(s, i, o) : (o = me(o), l = i.call(s, o));
|
|
785
|
+
const E = c ? c.call(s, o) : void 0, p = s.delete(o);
|
|
786
|
+
return l && St(s, "delete", o, void 0, E), p;
|
|
787
787
|
},
|
|
788
788
|
clear() {
|
|
789
|
-
const
|
|
790
|
-
return
|
|
791
|
-
|
|
789
|
+
const o = me(this), s = o.size !== 0, i = process.env.NODE_ENV !== "production" ? Sn(o) ? new Map(o) : new Set(o) : void 0, c = o.clear();
|
|
790
|
+
return s && St(
|
|
791
|
+
o,
|
|
792
792
|
"clear",
|
|
793
793
|
void 0,
|
|
794
794
|
void 0,
|
|
@@ -801,16 +801,16 @@ function Ga(e, t) {
|
|
|
801
801
|
"values",
|
|
802
802
|
"entries",
|
|
803
803
|
Symbol.iterator
|
|
804
|
-
].forEach((
|
|
805
|
-
n[
|
|
804
|
+
].forEach((o) => {
|
|
805
|
+
n[o] = Ua(o, e, t);
|
|
806
806
|
}), n;
|
|
807
807
|
}
|
|
808
808
|
function zr(e, t) {
|
|
809
809
|
const n = Ga(e, t);
|
|
810
|
-
return (r,
|
|
811
|
-
be(n,
|
|
812
|
-
|
|
813
|
-
|
|
810
|
+
return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
|
|
811
|
+
be(n, o) && o in r ? n : r,
|
|
812
|
+
o,
|
|
813
|
+
s
|
|
814
814
|
);
|
|
815
815
|
}
|
|
816
816
|
const Ka = {
|
|
@@ -825,9 +825,9 @@ const Ka = {
|
|
|
825
825
|
function Cs(e, t, n) {
|
|
826
826
|
const r = me(n);
|
|
827
827
|
if (r !== n && t.call(e, r)) {
|
|
828
|
-
const
|
|
828
|
+
const o = Qo(e);
|
|
829
829
|
Rt(
|
|
830
|
-
`Reactive ${
|
|
830
|
+
`Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
831
831
|
);
|
|
832
832
|
}
|
|
833
833
|
}
|
|
@@ -876,7 +876,7 @@ function oc(e) {
|
|
|
876
876
|
nc
|
|
877
877
|
);
|
|
878
878
|
}
|
|
879
|
-
function
|
|
879
|
+
function Nt(e) {
|
|
880
880
|
return Jr(
|
|
881
881
|
e,
|
|
882
882
|
!0,
|
|
@@ -885,7 +885,7 @@ function At(e) {
|
|
|
885
885
|
rc
|
|
886
886
|
);
|
|
887
887
|
}
|
|
888
|
-
function Jr(e, t, n, r,
|
|
888
|
+
function Jr(e, t, n, r, o) {
|
|
889
889
|
if (!De(e))
|
|
890
890
|
return process.env.NODE_ENV !== "production" && Rt(
|
|
891
891
|
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
@@ -894,9 +894,9 @@ function Jr(e, t, n, r, s) {
|
|
|
894
894
|
), e;
|
|
895
895
|
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
896
896
|
return e;
|
|
897
|
-
const
|
|
898
|
-
if (
|
|
899
|
-
return
|
|
897
|
+
const s = o.get(e);
|
|
898
|
+
if (s)
|
|
899
|
+
return s;
|
|
900
900
|
const i = Ja(e);
|
|
901
901
|
if (i === 0)
|
|
902
902
|
return e;
|
|
@@ -904,7 +904,7 @@ function Jr(e, t, n, r, s) {
|
|
|
904
904
|
e,
|
|
905
905
|
i === 2 ? r : n
|
|
906
906
|
);
|
|
907
|
-
return
|
|
907
|
+
return o.set(e, c), c;
|
|
908
908
|
}
|
|
909
909
|
function An(e) {
|
|
910
910
|
return Ft(e) ? An(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
@@ -963,8 +963,8 @@ function qt(e) {
|
|
|
963
963
|
const tu = {
|
|
964
964
|
get: (e, t, n) => t === "__v_raw" ? e : qt(Reflect.get(e, t, n)),
|
|
965
965
|
set: (e, t, n, r) => {
|
|
966
|
-
const
|
|
967
|
-
return Ve(
|
|
966
|
+
const o = e[t];
|
|
967
|
+
return Ve(o) && !Ve(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
970
|
function sc(e) {
|
|
@@ -996,10 +996,10 @@ class nu {
|
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
function ru(e, t, n = !1) {
|
|
999
|
-
let r,
|
|
1000
|
-
ue(e) ? r = e : (r = e.get,
|
|
1001
|
-
const
|
|
1002
|
-
return process.env.NODE_ENV,
|
|
999
|
+
let r, o;
|
|
1000
|
+
ue(e) ? r = e : (r = e.get, o = e.set);
|
|
1001
|
+
const s = new nu(r, o, n);
|
|
1002
|
+
return process.env.NODE_ENV, s;
|
|
1003
1003
|
}
|
|
1004
1004
|
const yr = {}, Lr = /* @__PURE__ */ new WeakMap();
|
|
1005
1005
|
let an;
|
|
@@ -1012,13 +1012,13 @@ function ou(e, t = !1, n = an) {
|
|
|
1012
1012
|
);
|
|
1013
1013
|
}
|
|
1014
1014
|
function su(e, t, n = Ne) {
|
|
1015
|
-
const { immediate: r, deep:
|
|
1015
|
+
const { immediate: r, deep: o, once: s, scheduler: i, augmentJob: c, call: l } = n, E = (L) => {
|
|
1016
1016
|
(n.onWarn || Rt)(
|
|
1017
1017
|
"Invalid watch source: ",
|
|
1018
1018
|
L,
|
|
1019
1019
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
1020
1020
|
);
|
|
1021
|
-
}, p = (L) =>
|
|
1021
|
+
}, p = (L) => o ? L : rt(L) || o === !1 || o === 0 ? Wt(L, 1) : Wt(L);
|
|
1022
1022
|
let d, h, O, $, j = !1, B = !1;
|
|
1023
1023
|
if (Ve(e) ? (h = () => e.value, j = rt(e)) : An(e) ? (h = () => p(e), j = !0) : ce(e) ? (B = !0, j = e.some((L) => An(L) || rt(L)), h = () => e.map((L) => {
|
|
1024
1024
|
if (Ve(L))
|
|
@@ -1044,14 +1044,14 @@ function su(e, t, n = Ne) {
|
|
|
1044
1044
|
} finally {
|
|
1045
1045
|
an = L;
|
|
1046
1046
|
}
|
|
1047
|
-
} : (h = Fe, process.env.NODE_ENV !== "production" && E(e)), t &&
|
|
1048
|
-
const L = h, ne =
|
|
1047
|
+
} : (h = Fe, process.env.NODE_ENV !== "production" && E(e)), t && o) {
|
|
1048
|
+
const L = h, ne = o === !0 ? 1 / 0 : o;
|
|
1049
1049
|
h = () => Wt(L(), ne);
|
|
1050
1050
|
}
|
|
1051
1051
|
const J = Pa(), te = () => {
|
|
1052
1052
|
d.stop(), J && J.active && Xo(J.effects, d);
|
|
1053
1053
|
};
|
|
1054
|
-
if (
|
|
1054
|
+
if (s && t) {
|
|
1055
1055
|
const L = t;
|
|
1056
1056
|
t = (...ne) => {
|
|
1057
1057
|
L(...ne), te();
|
|
@@ -1062,7 +1062,7 @@ function su(e, t, n = Ne) {
|
|
|
1062
1062
|
if (!(!(d.flags & 1) || !d.dirty && !L))
|
|
1063
1063
|
if (t) {
|
|
1064
1064
|
const ne = d.run();
|
|
1065
|
-
if (
|
|
1065
|
+
if (o || j || (B ? ne.some((le, pe) => Zt(le, U[pe])) : Zt(ne, U))) {
|
|
1066
1066
|
O && O();
|
|
1067
1067
|
const le = an;
|
|
1068
1068
|
an = d;
|
|
@@ -1131,7 +1131,7 @@ let mo = !1;
|
|
|
1131
1131
|
function H(e, ...t) {
|
|
1132
1132
|
if (mo) return;
|
|
1133
1133
|
mo = !0, Bt();
|
|
1134
|
-
const n = ln.length ? ln[ln.length - 1].component : null, r = n && n.appContext.config.warnHandler,
|
|
1134
|
+
const n = ln.length ? ln[ln.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = iu();
|
|
1135
1135
|
if (r)
|
|
1136
1136
|
$n(
|
|
1137
1137
|
r,
|
|
@@ -1139,22 +1139,22 @@ function H(e, ...t) {
|
|
|
1139
1139
|
11,
|
|
1140
1140
|
[
|
|
1141
1141
|
// eslint-disable-next-line no-restricted-syntax
|
|
1142
|
-
e + t.map((
|
|
1142
|
+
e + t.map((s) => {
|
|
1143
1143
|
var i, c;
|
|
1144
|
-
return (c = (i =
|
|
1144
|
+
return (c = (i = s.toString) == null ? void 0 : i.call(s)) != null ? c : JSON.stringify(s);
|
|
1145
1145
|
}).join(""),
|
|
1146
1146
|
n && n.proxy,
|
|
1147
|
-
|
|
1148
|
-
({ vnode:
|
|
1147
|
+
o.map(
|
|
1148
|
+
({ vnode: s }) => `at <${to(n, s.type)}>`
|
|
1149
1149
|
).join(`
|
|
1150
1150
|
`),
|
|
1151
|
-
|
|
1151
|
+
o
|
|
1152
1152
|
]
|
|
1153
1153
|
);
|
|
1154
1154
|
else {
|
|
1155
|
-
const
|
|
1156
|
-
|
|
1157
|
-
`, ...cu(
|
|
1155
|
+
const s = [`[Vue warn]: ${e}`, ...t];
|
|
1156
|
+
o.length && s.push(`
|
|
1157
|
+
`, ...cu(o));
|
|
1158
1158
|
}
|
|
1159
1159
|
Ut(), mo = !1;
|
|
1160
1160
|
}
|
|
@@ -1182,12 +1182,12 @@ function cu(e) {
|
|
|
1182
1182
|
}), t;
|
|
1183
1183
|
}
|
|
1184
1184
|
function au({ vnode: e, recurseCount: t }) {
|
|
1185
|
-
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1,
|
|
1185
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${to(
|
|
1186
1186
|
e.component,
|
|
1187
1187
|
e.type,
|
|
1188
1188
|
r
|
|
1189
|
-
)}`,
|
|
1190
|
-
return e.props ? [
|
|
1189
|
+
)}`, s = ">" + n;
|
|
1190
|
+
return e.props ? [o, ...uu(e.props), s] : [o + s];
|
|
1191
1191
|
}
|
|
1192
1192
|
function uu(e) {
|
|
1193
1193
|
const t = [], n = Object.keys(e);
|
|
@@ -1234,28 +1234,28 @@ const as = {
|
|
|
1234
1234
|
function $n(e, t, n, r) {
|
|
1235
1235
|
try {
|
|
1236
1236
|
return r ? e(...r) : e();
|
|
1237
|
-
} catch (
|
|
1238
|
-
fr(
|
|
1237
|
+
} catch (o) {
|
|
1238
|
+
fr(o, t, n);
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
function xt(e, t, n, r) {
|
|
1242
1242
|
if (ue(e)) {
|
|
1243
|
-
const
|
|
1244
|
-
return
|
|
1245
|
-
fr(
|
|
1246
|
-
}),
|
|
1243
|
+
const o = $n(e, t, n, r);
|
|
1244
|
+
return o && Zo(o) && o.catch((s) => {
|
|
1245
|
+
fr(s, t, n);
|
|
1246
|
+
}), o;
|
|
1247
1247
|
}
|
|
1248
1248
|
if (ce(e)) {
|
|
1249
|
-
const
|
|
1250
|
-
for (let
|
|
1251
|
-
|
|
1252
|
-
return
|
|
1249
|
+
const o = [];
|
|
1250
|
+
for (let s = 0; s < e.length; s++)
|
|
1251
|
+
o.push(xt(e[s], t, n, r));
|
|
1252
|
+
return o;
|
|
1253
1253
|
} else process.env.NODE_ENV !== "production" && H(
|
|
1254
1254
|
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
1255
1255
|
);
|
|
1256
1256
|
}
|
|
1257
1257
|
function fr(e, t, n, r = !0) {
|
|
1258
|
-
const
|
|
1258
|
+
const o = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: i } = t && t.appContext.config || Ne;
|
|
1259
1259
|
if (t) {
|
|
1260
1260
|
let c = t.parent;
|
|
1261
1261
|
const l = t.proxy, E = process.env.NODE_ENV !== "production" ? as[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
@@ -1268,8 +1268,8 @@ function fr(e, t, n, r = !0) {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
c = c.parent;
|
|
1270
1270
|
}
|
|
1271
|
-
if (
|
|
1272
|
-
Bt(), $n(
|
|
1271
|
+
if (s) {
|
|
1272
|
+
Bt(), $n(s, null, 10, [
|
|
1273
1273
|
e,
|
|
1274
1274
|
l,
|
|
1275
1275
|
E
|
|
@@ -1277,18 +1277,18 @@ function fr(e, t, n, r = !0) {
|
|
|
1277
1277
|
return;
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
|
-
lu(e, n,
|
|
1280
|
+
lu(e, n, o, r, i);
|
|
1281
1281
|
}
|
|
1282
|
-
function lu(e, t, n, r = !0,
|
|
1282
|
+
function lu(e, t, n, r = !0, o = !1) {
|
|
1283
1283
|
if (process.env.NODE_ENV !== "production") {
|
|
1284
|
-
const
|
|
1285
|
-
if (n && wr(n), H(`Unhandled error${
|
|
1284
|
+
const s = as[t];
|
|
1285
|
+
if (n && wr(n), H(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Or(), r)
|
|
1286
1286
|
throw e;
|
|
1287
|
-
} else if (
|
|
1287
|
+
} else if (o)
|
|
1288
1288
|
throw e;
|
|
1289
1289
|
}
|
|
1290
1290
|
const Qe = [];
|
|
1291
|
-
let
|
|
1291
|
+
let wt = -1;
|
|
1292
1292
|
const Nn = [];
|
|
1293
1293
|
let zt = null, wn = 0;
|
|
1294
1294
|
const cc = /* @__PURE__ */ Promise.resolve();
|
|
@@ -1299,10 +1299,10 @@ function pu(e) {
|
|
|
1299
1299
|
return e ? t.then(this ? e.bind(this) : e) : t;
|
|
1300
1300
|
}
|
|
1301
1301
|
function du(e) {
|
|
1302
|
-
let t =
|
|
1302
|
+
let t = wt + 1, n = Qe.length;
|
|
1303
1303
|
for (; t < n; ) {
|
|
1304
|
-
const r = t + n >>> 1,
|
|
1305
|
-
|
|
1304
|
+
const r = t + n >>> 1, o = Qe[r], s = or(o);
|
|
1305
|
+
s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
|
|
1306
1306
|
}
|
|
1307
1307
|
return t;
|
|
1308
1308
|
}
|
|
@@ -1319,7 +1319,7 @@ function ac() {
|
|
|
1319
1319
|
function uc(e) {
|
|
1320
1320
|
ce(e) ? Nn.push(...e) : zt && e.id === -1 ? zt.splice(wn + 1, 0, e) : e.flags & 1 || (Nn.push(e), e.flags |= 1), ac();
|
|
1321
1321
|
}
|
|
1322
|
-
function Ps(e, t, n =
|
|
1322
|
+
function Ps(e, t, n = wt + 1) {
|
|
1323
1323
|
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < Qe.length; n++) {
|
|
1324
1324
|
const r = Qe[n];
|
|
1325
1325
|
if (r && r.flags & 2) {
|
|
@@ -1350,8 +1350,8 @@ function fc(e) {
|
|
|
1350
1350
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1351
1351
|
const t = process.env.NODE_ENV !== "production" ? (n) => us(e, n) : Fe;
|
|
1352
1352
|
try {
|
|
1353
|
-
for (
|
|
1354
|
-
const n = Qe[
|
|
1353
|
+
for (wt = 0; wt < Qe.length; wt++) {
|
|
1354
|
+
const n = Qe[wt];
|
|
1355
1355
|
if (n && !(n.flags & 8)) {
|
|
1356
1356
|
if (process.env.NODE_ENV !== "production" && t(n))
|
|
1357
1357
|
continue;
|
|
@@ -1363,26 +1363,26 @@ function fc(e) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
} finally {
|
|
1366
|
-
for (;
|
|
1367
|
-
const n = Qe[
|
|
1366
|
+
for (; wt < Qe.length; wt++) {
|
|
1367
|
+
const n = Qe[wt];
|
|
1368
1368
|
n && (n.flags &= -2);
|
|
1369
1369
|
}
|
|
1370
|
-
|
|
1370
|
+
wt = -1, Qe.length = 0, lc(e), Vr = null, (Qe.length || Nn.length) && fc(e);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
function us(e, t) {
|
|
1374
1374
|
const n = e.get(t) || 0;
|
|
1375
1375
|
if (n > fu) {
|
|
1376
|
-
const r = t.i,
|
|
1376
|
+
const r = t.i, o = r && kc(r.type);
|
|
1377
1377
|
return fr(
|
|
1378
|
-
`Maximum recursive updates exceeded${
|
|
1378
|
+
`Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1379
1379
|
null,
|
|
1380
1380
|
10
|
|
1381
1381
|
), !0;
|
|
1382
1382
|
}
|
|
1383
1383
|
return e.set(t, n + 1), !1;
|
|
1384
1384
|
}
|
|
1385
|
-
let
|
|
1385
|
+
let Tt = !1;
|
|
1386
1386
|
const Sr = /* @__PURE__ */ new Map();
|
|
1387
1387
|
process.env.NODE_ENV !== "production" && (lr().__VUE_HMR_RUNTIME__ = {
|
|
1388
1388
|
createRecord: vo(pc),
|
|
@@ -1410,7 +1410,7 @@ function jr(e) {
|
|
|
1410
1410
|
function mu(e, t) {
|
|
1411
1411
|
const n = pn.get(e);
|
|
1412
1412
|
n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
|
|
1413
|
-
t && (r.render = t, jr(r.type).render = t), r.renderCache = [],
|
|
1413
|
+
t && (r.render = t, jr(r.type).render = t), r.renderCache = [], Tt = !0, r.update(), Tt = !1;
|
|
1414
1414
|
}));
|
|
1415
1415
|
}
|
|
1416
1416
|
function vu(e, t) {
|
|
@@ -1418,12 +1418,12 @@ function vu(e, t) {
|
|
|
1418
1418
|
if (!n) return;
|
|
1419
1419
|
t = jr(t), Is(n.initialDef, t);
|
|
1420
1420
|
const r = [...n.instances];
|
|
1421
|
-
for (let
|
|
1422
|
-
const
|
|
1421
|
+
for (let o = 0; o < r.length; o++) {
|
|
1422
|
+
const s = r[o], i = jr(s.type);
|
|
1423
1423
|
let c = Sr.get(i);
|
|
1424
|
-
c || (i !== n.initialDef && Is(i, t), Sr.set(i, c = /* @__PURE__ */ new Set())), c.add(
|
|
1425
|
-
|
|
1426
|
-
}) :
|
|
1424
|
+
c || (i !== n.initialDef && Is(i, t), Sr.set(i, c = /* @__PURE__ */ new Set())), c.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (c.add(s), s.ceReload(t.styles), c.delete(s)) : s.parent ? Xr(() => {
|
|
1425
|
+
Tt = !0, s.parent.update(), Tt = !1, c.delete(s);
|
|
1426
|
+
}) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(i);
|
|
1427
1427
|
}
|
|
1428
1428
|
uc(() => {
|
|
1429
1429
|
Sr.clear();
|
|
@@ -1448,18 +1448,18 @@ function pr(e, ...t) {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
function ls(e, t) {
|
|
1450
1450
|
var n, r;
|
|
1451
|
-
ht = e, ht ? (ht.enabled = !0, Yn.forEach(({ event:
|
|
1451
|
+
ht = e, ht ? (ht.enabled = !0, Yn.forEach(({ event: o, args: s }) => ht.emit(o, ...s)), Yn = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1452
1452
|
window.HTMLElement && // also exclude jsdom
|
|
1453
1453
|
// eslint-disable-next-line no-restricted-syntax
|
|
1454
|
-
!((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((
|
|
1455
|
-
ls(
|
|
1454
|
+
!((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
1455
|
+
ls(s, t);
|
|
1456
1456
|
}), setTimeout(() => {
|
|
1457
1457
|
ht || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Vo = !0, Yn = []);
|
|
1458
1458
|
}, 3e3)) : (Vo = !0, Yn = []);
|
|
1459
1459
|
}
|
|
1460
1460
|
function Eu(e, t) {
|
|
1461
1461
|
pr("app:init", e, t, {
|
|
1462
|
-
Fragment:
|
|
1462
|
+
Fragment: Ot,
|
|
1463
1463
|
Text: dr,
|
|
1464
1464
|
Comment: ut,
|
|
1465
1465
|
Static: Tr
|
|
@@ -1523,14 +1523,14 @@ function Hr(e) {
|
|
|
1523
1523
|
function Nu(e, t = et, n) {
|
|
1524
1524
|
if (!t || e._n)
|
|
1525
1525
|
return e;
|
|
1526
|
-
const r = (...
|
|
1526
|
+
const r = (...o) => {
|
|
1527
1527
|
r._d && Ks(-1);
|
|
1528
|
-
const
|
|
1528
|
+
const s = Hr(t);
|
|
1529
1529
|
let i;
|
|
1530
1530
|
try {
|
|
1531
|
-
i = e(...
|
|
1531
|
+
i = e(...o);
|
|
1532
1532
|
} finally {
|
|
1533
|
-
Hr(
|
|
1533
|
+
Hr(s), r._d && Ks(1);
|
|
1534
1534
|
}
|
|
1535
1535
|
return process.env.NODE_ENV !== "production" && dc(t), i;
|
|
1536
1536
|
};
|
|
@@ -1543,13 +1543,13 @@ function _r(e, t) {
|
|
|
1543
1543
|
if (et === null)
|
|
1544
1544
|
return process.env.NODE_ENV !== "production" && H("withDirectives can only be used inside render functions."), e;
|
|
1545
1545
|
const n = eo(et), r = e.dirs || (e.dirs = []);
|
|
1546
|
-
for (let
|
|
1547
|
-
let [
|
|
1548
|
-
|
|
1549
|
-
mounted:
|
|
1550
|
-
updated:
|
|
1551
|
-
}),
|
|
1552
|
-
dir:
|
|
1546
|
+
for (let o = 0; o < t.length; o++) {
|
|
1547
|
+
let [s, i, c, l = Ne] = t[o];
|
|
1548
|
+
s && (ue(s) && (s = {
|
|
1549
|
+
mounted: s,
|
|
1550
|
+
updated: s
|
|
1551
|
+
}), s.deep && Wt(i), r.push({
|
|
1552
|
+
dir: s,
|
|
1553
1553
|
instance: n,
|
|
1554
1554
|
value: i,
|
|
1555
1555
|
oldValue: void 0,
|
|
@@ -1560,10 +1560,10 @@ function _r(e, t) {
|
|
|
1560
1560
|
return e;
|
|
1561
1561
|
}
|
|
1562
1562
|
function nn(e, t, n, r) {
|
|
1563
|
-
const
|
|
1564
|
-
for (let i = 0; i <
|
|
1565
|
-
const c =
|
|
1566
|
-
|
|
1563
|
+
const o = e.dirs, s = t && t.dirs;
|
|
1564
|
+
for (let i = 0; i < o.length; i++) {
|
|
1565
|
+
const c = o[i];
|
|
1566
|
+
s && (c.oldValue = s[i].value);
|
|
1567
1567
|
let l = c.dir[r];
|
|
1568
1568
|
l && (Bt(), xt(l, n, 8, [
|
|
1569
1569
|
e.el,
|
|
@@ -1590,7 +1590,7 @@ function vc(e) {
|
|
|
1590
1590
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1591
1591
|
}
|
|
1592
1592
|
const Du = /* @__PURE__ */ new WeakSet();
|
|
1593
|
-
function Wr(e, t, n, r,
|
|
1593
|
+
function Wr(e, t, n, r, o = !1) {
|
|
1594
1594
|
if (ce(e)) {
|
|
1595
1595
|
e.forEach(
|
|
1596
1596
|
($, j) => Wr(
|
|
@@ -1598,16 +1598,16 @@ function Wr(e, t, n, r, s = !1) {
|
|
|
1598
1598
|
t && (ce(t) ? t[j] : t),
|
|
1599
1599
|
n,
|
|
1600
1600
|
r,
|
|
1601
|
-
|
|
1601
|
+
o
|
|
1602
1602
|
)
|
|
1603
1603
|
);
|
|
1604
1604
|
return;
|
|
1605
1605
|
}
|
|
1606
|
-
if (Qn(r) && !
|
|
1606
|
+
if (Qn(r) && !o) {
|
|
1607
1607
|
r.shapeFlag & 512 && r.type.__asyncResolved && r.component.subTree.component && Wr(e, t, n, r.component.subTree);
|
|
1608
1608
|
return;
|
|
1609
1609
|
}
|
|
1610
|
-
const
|
|
1610
|
+
const s = r.shapeFlag & 4 ? eo(r.component) : r.el, i = o ? null : s, { i: c, r: l } = e;
|
|
1611
1611
|
if (process.env.NODE_ENV !== "production" && !c) {
|
|
1612
1612
|
H(
|
|
1613
1613
|
"Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function."
|
|
@@ -1625,7 +1625,7 @@ function Wr(e, t, n, r, s = !1) {
|
|
|
1625
1625
|
const B = () => {
|
|
1626
1626
|
if (e.f) {
|
|
1627
1627
|
const J = $ ? O(l) ? d[l] : p[l] : l.value;
|
|
1628
|
-
|
|
1628
|
+
o ? ce(J) && Xo(J, s) : ce(J) ? J.includes(s) || J.push(s) : $ ? (p[l] = [s], O(l) && (d[l] = p[l])) : (l.value = [s], e.k && (p[e.k] = l.value));
|
|
1629
1629
|
} else $ ? (p[l] = i, O(l) && (d[l] = i)) : j ? (l.value = i, e.k && (p[e.k] = i)) : process.env.NODE_ENV !== "production" && H("Invalid template ref type:", l, `(${typeof l})`);
|
|
1630
1630
|
};
|
|
1631
1631
|
i ? (B.id = -1, st(B, n)) : B();
|
|
@@ -1643,22 +1643,22 @@ function Pu(e, t) {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
function Ec(e, t, n = Ue) {
|
|
1645
1645
|
const r = e.__wdc || (e.__wdc = () => {
|
|
1646
|
-
let
|
|
1647
|
-
for (;
|
|
1648
|
-
if (
|
|
1646
|
+
let o = n;
|
|
1647
|
+
for (; o; ) {
|
|
1648
|
+
if (o.isDeactivated)
|
|
1649
1649
|
return;
|
|
1650
|
-
|
|
1650
|
+
o = o.parent;
|
|
1651
1651
|
}
|
|
1652
1652
|
return e();
|
|
1653
1653
|
});
|
|
1654
1654
|
if (Zr(t, r, n), n) {
|
|
1655
|
-
let
|
|
1656
|
-
for (;
|
|
1657
|
-
ds(
|
|
1655
|
+
let o = n.parent;
|
|
1656
|
+
for (; o && o.parent; )
|
|
1657
|
+
ds(o.parent.vnode) && Iu(r, t, n, o), o = o.parent;
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
1660
|
function Iu(e, t, n, r) {
|
|
1661
|
-
const
|
|
1661
|
+
const o = Zr(
|
|
1662
1662
|
t,
|
|
1663
1663
|
e,
|
|
1664
1664
|
r,
|
|
@@ -1666,21 +1666,21 @@ function Iu(e, t, n, r) {
|
|
|
1666
1666
|
/* prepend */
|
|
1667
1667
|
);
|
|
1668
1668
|
_c(() => {
|
|
1669
|
-
Xo(r[t],
|
|
1669
|
+
Xo(r[t], o);
|
|
1670
1670
|
}, n);
|
|
1671
1671
|
}
|
|
1672
1672
|
function Zr(e, t, n = Ue, r = !1) {
|
|
1673
1673
|
if (n) {
|
|
1674
|
-
const
|
|
1674
|
+
const o = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
|
|
1675
1675
|
Bt();
|
|
1676
1676
|
const c = hr(n), l = xt(t, n, e, i);
|
|
1677
1677
|
return c(), Ut(), l;
|
|
1678
1678
|
});
|
|
1679
|
-
return r ?
|
|
1679
|
+
return r ? o.unshift(s) : o.push(s), s;
|
|
1680
1680
|
} else if (process.env.NODE_ENV !== "production") {
|
|
1681
|
-
const
|
|
1681
|
+
const o = cn(as[e].replace(/ hook$/, ""));
|
|
1682
1682
|
H(
|
|
1683
|
-
`${
|
|
1683
|
+
`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
|
|
1684
1684
|
);
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
@@ -1703,10 +1703,10 @@ const Bu = Symbol.for("v-ndc"), jo = (e) => e ? Gc(e) ? eo(e) : jo(e.parent) : n
|
|
|
1703
1703
|
$: (e) => e,
|
|
1704
1704
|
$el: (e) => e.vnode.el,
|
|
1705
1705
|
$data: (e) => e.data,
|
|
1706
|
-
$props: (e) => process.env.NODE_ENV !== "production" ?
|
|
1707
|
-
$attrs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1708
|
-
$slots: (e) => process.env.NODE_ENV !== "production" ?
|
|
1709
|
-
$refs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1706
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? Nt(e.props) : e.props,
|
|
1707
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? Nt(e.attrs) : e.attrs,
|
|
1708
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? Nt(e.slots) : e.slots,
|
|
1709
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? Nt(e.refs) : e.refs,
|
|
1710
1710
|
$parent: (e) => jo(e.parent),
|
|
1711
1711
|
$root: (e) => jo(e.root),
|
|
1712
1712
|
$host: (e) => e.ce,
|
|
@@ -1722,7 +1722,7 @@ const Bu = Symbol.for("v-ndc"), jo = (e) => e ? Gc(e) ? eo(e) : jo(e.parent) : n
|
|
|
1722
1722
|
get({ _: e }, t) {
|
|
1723
1723
|
if (t === "__v_skip")
|
|
1724
1724
|
return !0;
|
|
1725
|
-
const { ctx: n, setupState: r, data:
|
|
1725
|
+
const { ctx: n, setupState: r, data: o, props: s, accessCache: i, type: c, appContext: l } = e;
|
|
1726
1726
|
if (process.env.NODE_ENV !== "production" && t === "__isVue")
|
|
1727
1727
|
return !0;
|
|
1728
1728
|
let E;
|
|
@@ -1733,23 +1733,23 @@ const Bu = Symbol.for("v-ndc"), jo = (e) => e ? Gc(e) ? eo(e) : jo(e.parent) : n
|
|
|
1733
1733
|
case 1:
|
|
1734
1734
|
return r[t];
|
|
1735
1735
|
case 2:
|
|
1736
|
-
return
|
|
1736
|
+
return o[t];
|
|
1737
1737
|
case 4:
|
|
1738
1738
|
return n[t];
|
|
1739
1739
|
case 3:
|
|
1740
|
-
return
|
|
1740
|
+
return s[t];
|
|
1741
1741
|
}
|
|
1742
1742
|
else {
|
|
1743
1743
|
if (Eo(r, t))
|
|
1744
1744
|
return i[t] = 1, r[t];
|
|
1745
|
-
if (
|
|
1746
|
-
return i[t] = 2,
|
|
1745
|
+
if (o !== Ne && be(o, t))
|
|
1746
|
+
return i[t] = 2, o[t];
|
|
1747
1747
|
if (
|
|
1748
1748
|
// only cache other properties when instance has declared (thus stable)
|
|
1749
1749
|
// props
|
|
1750
1750
|
(E = e.propsOptions[0]) && be(E, t)
|
|
1751
1751
|
)
|
|
1752
|
-
return i[t] = 3,
|
|
1752
|
+
return i[t] = 3, s[t];
|
|
1753
1753
|
if (n !== Ne && be(n, t))
|
|
1754
1754
|
return i[t] = 4, n[t];
|
|
1755
1755
|
Ho && (i[t] = 0);
|
|
@@ -1773,7 +1773,7 @@ const Bu = Symbol.for("v-ndc"), jo = (e) => e ? Gc(e) ? eo(e) : jo(e.parent) : n
|
|
|
1773
1773
|
return h[t];
|
|
1774
1774
|
process.env.NODE_ENV !== "production" && et && (!He(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
1775
1775
|
// to infinite warning loop
|
|
1776
|
-
t.indexOf("__v") !== 0) && (
|
|
1776
|
+
t.indexOf("__v") !== 0) && (o !== Ne && hs(t[0]) && be(o, t) ? H(
|
|
1777
1777
|
`Property ${JSON.stringify(
|
|
1778
1778
|
t
|
|
1779
1779
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
@@ -1782,20 +1782,20 @@ const Bu = Symbol.for("v-ndc"), jo = (e) => e ? Gc(e) ? eo(e) : jo(e.parent) : n
|
|
|
1782
1782
|
));
|
|
1783
1783
|
},
|
|
1784
1784
|
set({ _: e }, t, n) {
|
|
1785
|
-
const { data: r, setupState:
|
|
1786
|
-
return Eo(
|
|
1785
|
+
const { data: r, setupState: o, ctx: s } = e;
|
|
1786
|
+
return Eo(o, t) ? (o[t] = n, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && be(o, t) ? (H(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== Ne && be(r, t) ? (r[t] = n, !0) : be(e.props, t) ? (process.env.NODE_ENV !== "production" && H(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && H(
|
|
1787
1787
|
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
1788
|
-
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(
|
|
1788
|
+
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
|
|
1789
1789
|
enumerable: !0,
|
|
1790
1790
|
configurable: !0,
|
|
1791
1791
|
value: n
|
|
1792
|
-
}) :
|
|
1792
|
+
}) : s[t] = n, !0);
|
|
1793
1793
|
},
|
|
1794
1794
|
has({
|
|
1795
|
-
_: { data: e, setupState: t, accessCache: n, ctx: r, appContext:
|
|
1795
|
+
_: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
|
|
1796
1796
|
}, i) {
|
|
1797
1797
|
let c;
|
|
1798
|
-
return !!n[i] || e !== Ne && be(e, i) || Eo(t, i) || (c =
|
|
1798
|
+
return !!n[i] || e !== Ne && be(e, i) || Eo(t, i) || (c = s[0]) && be(c, i) || be(r, i) || be(fn, i) || be(o.config.globalProperties, i);
|
|
1799
1799
|
},
|
|
1800
1800
|
defineProperty(e, t, n) {
|
|
1801
1801
|
return n.get != null ? e._.accessCache[t] = 0 : be(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
@@ -1874,8 +1874,8 @@ function Yu(e) {
|
|
|
1874
1874
|
Ho = !1, t.beforeCreate && Ms(t.beforeCreate, e, "bc");
|
|
1875
1875
|
const {
|
|
1876
1876
|
// state
|
|
1877
|
-
data:
|
|
1878
|
-
computed:
|
|
1877
|
+
data: o,
|
|
1878
|
+
computed: s,
|
|
1879
1879
|
methods: i,
|
|
1880
1880
|
watch: c,
|
|
1881
1881
|
provide: l,
|
|
@@ -1923,11 +1923,11 @@ function Yu(e) {
|
|
|
1923
1923
|
`Method "${z}" has type "${typeof ie}" in the component definition. Did you reference the function correctly?`
|
|
1924
1924
|
);
|
|
1925
1925
|
}
|
|
1926
|
-
if (
|
|
1927
|
-
process.env.NODE_ENV !== "production" && !ue(
|
|
1926
|
+
if (o) {
|
|
1927
|
+
process.env.NODE_ENV !== "production" && !ue(o) && H(
|
|
1928
1928
|
"The data option must be a function. Plain object usage is no longer supported."
|
|
1929
1929
|
);
|
|
1930
|
-
const z =
|
|
1930
|
+
const z = o.call(n, n);
|
|
1931
1931
|
if (process.env.NODE_ENV !== "production" && Zo(z) && H(
|
|
1932
1932
|
"data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
|
|
1933
1933
|
), !De(z))
|
|
@@ -1941,15 +1941,15 @@ function Yu(e) {
|
|
|
1941
1941
|
set: Fe
|
|
1942
1942
|
});
|
|
1943
1943
|
}
|
|
1944
|
-
if (Ho = !0,
|
|
1945
|
-
for (const z in
|
|
1946
|
-
const ie =
|
|
1944
|
+
if (Ho = !0, s)
|
|
1945
|
+
for (const z in s) {
|
|
1946
|
+
const ie = s[z], ye = ue(ie) ? ie.bind(n, n) : ue(ie.get) ? ie.get.bind(n, n) : Fe;
|
|
1947
1947
|
process.env.NODE_ENV !== "production" && ye === Fe && H(`Computed property "${z}" has no getter.`);
|
|
1948
1948
|
const D = !ue(ie) && ue(ie.set) ? ie.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
1949
1949
|
H(
|
|
1950
1950
|
`Write operation failed: computed property "${z}" is readonly.`
|
|
1951
1951
|
);
|
|
1952
|
-
} : Fe, Oe =
|
|
1952
|
+
} : Fe, Oe = bt({
|
|
1953
1953
|
get: ye,
|
|
1954
1954
|
set: D
|
|
1955
1955
|
});
|
|
@@ -1988,18 +1988,18 @@ function Yu(e) {
|
|
|
1988
1988
|
function qu(e, t, n = Fe) {
|
|
1989
1989
|
ce(e) && (e = Wo(e));
|
|
1990
1990
|
for (const r in e) {
|
|
1991
|
-
const
|
|
1992
|
-
let
|
|
1993
|
-
De(
|
|
1994
|
-
|
|
1995
|
-
|
|
1991
|
+
const o = e[r];
|
|
1992
|
+
let s;
|
|
1993
|
+
De(o) ? "default" in o ? s = Ar(
|
|
1994
|
+
o.from || r,
|
|
1995
|
+
o.default,
|
|
1996
1996
|
!0
|
|
1997
|
-
) :
|
|
1997
|
+
) : s = Ar(o.from || r) : s = Ar(o), Ve(s) ? Object.defineProperty(t, r, {
|
|
1998
1998
|
enumerable: !0,
|
|
1999
1999
|
configurable: !0,
|
|
2000
|
-
get: () =>
|
|
2001
|
-
set: (i) =>
|
|
2002
|
-
}) : t[r] =
|
|
2000
|
+
get: () => s.value,
|
|
2001
|
+
set: (i) => s.value = i
|
|
2002
|
+
}) : t[r] = s, process.env.NODE_ENV !== "production" && n("Inject", r);
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
2005
|
function Ms(e, t, n) {
|
|
@@ -2010,35 +2010,35 @@ function Ms(e, t, n) {
|
|
|
2010
2010
|
);
|
|
2011
2011
|
}
|
|
2012
2012
|
function wc(e, t, n, r) {
|
|
2013
|
-
let
|
|
2013
|
+
let o = r.includes(".") ? Lc(n, r) : () => n[r];
|
|
2014
2014
|
if (He(e)) {
|
|
2015
|
-
const
|
|
2016
|
-
ue(
|
|
2015
|
+
const s = t[e];
|
|
2016
|
+
ue(s) ? At(o, s) : process.env.NODE_ENV !== "production" && H(`Invalid watch handler specified by key "${e}"`, s);
|
|
2017
2017
|
} else if (ue(e))
|
|
2018
|
-
|
|
2018
|
+
At(o, e.bind(n));
|
|
2019
2019
|
else if (De(e))
|
|
2020
2020
|
if (ce(e))
|
|
2021
|
-
e.forEach((
|
|
2021
|
+
e.forEach((s) => wc(s, t, n, r));
|
|
2022
2022
|
else {
|
|
2023
|
-
const
|
|
2024
|
-
ue(
|
|
2023
|
+
const s = ue(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
2024
|
+
ue(s) ? At(o, s, e) : process.env.NODE_ENV !== "production" && H(`Invalid watch handler specified by key "${e.handler}"`, s);
|
|
2025
2025
|
}
|
|
2026
2026
|
else process.env.NODE_ENV !== "production" && H(`Invalid watch option: "${r}"`, e);
|
|
2027
2027
|
}
|
|
2028
2028
|
function Oc(e) {
|
|
2029
2029
|
const t = e.type, { mixins: n, extends: r } = t, {
|
|
2030
|
-
mixins:
|
|
2031
|
-
optionsCache:
|
|
2030
|
+
mixins: o,
|
|
2031
|
+
optionsCache: s,
|
|
2032
2032
|
config: { optionMergeStrategies: i }
|
|
2033
|
-
} = e.appContext, c =
|
|
2033
|
+
} = e.appContext, c = s.get(t);
|
|
2034
2034
|
let l;
|
|
2035
|
-
return c ? l = c : !
|
|
2035
|
+
return c ? l = c : !o.length && !n && !r ? l = t : (l = {}, o.length && o.forEach(
|
|
2036
2036
|
(E) => Fr(l, E, i, !0)
|
|
2037
|
-
), Fr(l, t, i)), De(t) &&
|
|
2037
|
+
), Fr(l, t, i)), De(t) && s.set(t, l), l;
|
|
2038
2038
|
}
|
|
2039
2039
|
function Fr(e, t, n, r = !1) {
|
|
2040
|
-
const { mixins:
|
|
2041
|
-
|
|
2040
|
+
const { mixins: o, extends: s } = t;
|
|
2041
|
+
s && Fr(e, s, n, !0), o && o.forEach(
|
|
2042
2042
|
(i) => Fr(e, i, n, !0)
|
|
2043
2043
|
);
|
|
2044
2044
|
for (const i in t)
|
|
@@ -2147,20 +2147,20 @@ function Sc() {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
let Zu = 0;
|
|
2149
2149
|
function Qu(e, t) {
|
|
2150
|
-
return function(r,
|
|
2151
|
-
ue(r) || (r = je({}, r)),
|
|
2152
|
-
const
|
|
2150
|
+
return function(r, o = null) {
|
|
2151
|
+
ue(r) || (r = je({}, r)), o != null && !De(o) && (process.env.NODE_ENV !== "production" && H("root props passed to app.mount() must be an object."), o = null);
|
|
2152
|
+
const s = Sc(), i = /* @__PURE__ */ new WeakSet(), c = [];
|
|
2153
2153
|
let l = !1;
|
|
2154
|
-
const E =
|
|
2154
|
+
const E = s.app = {
|
|
2155
2155
|
_uid: Zu++,
|
|
2156
2156
|
_component: r,
|
|
2157
|
-
_props:
|
|
2157
|
+
_props: o,
|
|
2158
2158
|
_container: null,
|
|
2159
|
-
_context:
|
|
2159
|
+
_context: s,
|
|
2160
2160
|
_instance: null,
|
|
2161
2161
|
version: zs,
|
|
2162
2162
|
get config() {
|
|
2163
|
-
return
|
|
2163
|
+
return s.config;
|
|
2164
2164
|
},
|
|
2165
2165
|
set config(p) {
|
|
2166
2166
|
process.env.NODE_ENV !== "production" && H(
|
|
@@ -2173,15 +2173,15 @@ function Qu(e, t) {
|
|
|
2173
2173
|
), E;
|
|
2174
2174
|
},
|
|
2175
2175
|
mixin(p) {
|
|
2176
|
-
return
|
|
2176
|
+
return s.mixins.includes(p) ? process.env.NODE_ENV !== "production" && H(
|
|
2177
2177
|
"Mixin has already been applied to target app" + (p.name ? `: ${p.name}` : "")
|
|
2178
|
-
) :
|
|
2178
|
+
) : s.mixins.push(p), E;
|
|
2179
2179
|
},
|
|
2180
2180
|
component(p, d) {
|
|
2181
|
-
return process.env.NODE_ENV !== "production" && Ko(p,
|
|
2181
|
+
return process.env.NODE_ENV !== "production" && Ko(p, s.config), d ? (process.env.NODE_ENV !== "production" && s.components[p] && H(`Component "${p}" has already been registered in target app.`), s.components[p] = d, E) : s.components[p];
|
|
2182
2182
|
},
|
|
2183
2183
|
directive(p, d) {
|
|
2184
|
-
return process.env.NODE_ENV !== "production" && mc(p), d ? (process.env.NODE_ENV !== "production" &&
|
|
2184
|
+
return process.env.NODE_ENV !== "production" && mc(p), d ? (process.env.NODE_ENV !== "production" && s.directives[p] && H(`Directive "${p}" has already been registered in target app.`), s.directives[p] = d, E) : s.directives[p];
|
|
2185
2185
|
},
|
|
2186
2186
|
mount(p, d, h) {
|
|
2187
2187
|
if (l)
|
|
@@ -2192,8 +2192,8 @@ function Qu(e, t) {
|
|
|
2192
2192
|
process.env.NODE_ENV !== "production" && p.__vue_app__ && H(
|
|
2193
2193
|
"There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first."
|
|
2194
2194
|
);
|
|
2195
|
-
const O = E._ceVNode || at(r,
|
|
2196
|
-
return O.appContext =
|
|
2195
|
+
const O = E._ceVNode || at(r, o);
|
|
2196
|
+
return O.appContext = s, h === !0 ? h = "svg" : h === !1 && (h = void 0), process.env.NODE_ENV !== "production" && (s.reload = () => {
|
|
2197
2197
|
e(
|
|
2198
2198
|
en(O),
|
|
2199
2199
|
p,
|
|
@@ -2215,9 +2215,9 @@ function Qu(e, t) {
|
|
|
2215
2215
|
), e(null, E._container), process.env.NODE_ENV !== "production" && (E._instance = null, yu(E)), delete E._container.__vue_app__) : process.env.NODE_ENV !== "production" && H("Cannot unmount an app that is not mounted.");
|
|
2216
2216
|
},
|
|
2217
2217
|
provide(p, d) {
|
|
2218
|
-
return process.env.NODE_ENV !== "production" && p in
|
|
2218
|
+
return process.env.NODE_ENV !== "production" && p in s.provides && H(
|
|
2219
2219
|
`App already provides property with key "${String(p)}". It will be overwritten with the new value.`
|
|
2220
|
-
),
|
|
2220
|
+
), s.provides[p] = d, E;
|
|
2221
2221
|
},
|
|
2222
2222
|
runWithContext(p) {
|
|
2223
2223
|
const d = Tn;
|
|
@@ -2245,9 +2245,9 @@ function el(e, t) {
|
|
|
2245
2245
|
function Ar(e, t, n = !1) {
|
|
2246
2246
|
const r = Ue || et;
|
|
2247
2247
|
if (r || Tn) {
|
|
2248
|
-
const
|
|
2249
|
-
if (
|
|
2250
|
-
return
|
|
2248
|
+
const o = Tn ? Tn._context.provides : r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
|
|
2249
|
+
if (o && e in o)
|
|
2250
|
+
return o[e];
|
|
2251
2251
|
if (arguments.length > 1)
|
|
2252
2252
|
return n && ue(t) ? t.call(r && r.proxy) : t;
|
|
2253
2253
|
process.env.NODE_ENV !== "production" && H(`injection "${String(e)}" not found.`);
|
|
@@ -2255,11 +2255,11 @@ function Ar(e, t, n = !1) {
|
|
|
2255
2255
|
}
|
|
2256
2256
|
const Ac = {}, Nc = () => Object.create(Ac), Tc = (e) => Object.getPrototypeOf(e) === Ac;
|
|
2257
2257
|
function tl(e, t, n, r = !1) {
|
|
2258
|
-
const
|
|
2259
|
-
e.propsDefaults = /* @__PURE__ */ Object.create(null), Rc(e, t,
|
|
2258
|
+
const o = {}, s = Nc();
|
|
2259
|
+
e.propsDefaults = /* @__PURE__ */ Object.create(null), Rc(e, t, o, s);
|
|
2260
2260
|
for (const i in e.propsOptions[0])
|
|
2261
|
-
i in
|
|
2262
|
-
process.env.NODE_ENV !== "production" && Dc(t || {},
|
|
2261
|
+
i in o || (o[i] = void 0);
|
|
2262
|
+
process.env.NODE_ENV !== "production" && Dc(t || {}, o, e), n ? e.props = r ? o : Xa(o) : e.type.props ? e.props = o : e.props = s, e.attrs = s;
|
|
2263
2263
|
}
|
|
2264
2264
|
function nl(e) {
|
|
2265
2265
|
for (; e; ) {
|
|
@@ -2269,10 +2269,10 @@ function nl(e) {
|
|
|
2269
2269
|
}
|
|
2270
2270
|
function rl(e, t, n, r) {
|
|
2271
2271
|
const {
|
|
2272
|
-
props:
|
|
2273
|
-
attrs:
|
|
2272
|
+
props: o,
|
|
2273
|
+
attrs: s,
|
|
2274
2274
|
vnode: { patchFlag: i }
|
|
2275
|
-
} = e, c = me(
|
|
2275
|
+
} = e, c = me(o), [l] = e.propsOptions;
|
|
2276
2276
|
let E = !1;
|
|
2277
2277
|
if (
|
|
2278
2278
|
// always force full diff in dev
|
|
@@ -2288,11 +2288,11 @@ function rl(e, t, n, r) {
|
|
|
2288
2288
|
continue;
|
|
2289
2289
|
const O = t[h];
|
|
2290
2290
|
if (l)
|
|
2291
|
-
if (be(
|
|
2292
|
-
O !==
|
|
2291
|
+
if (be(s, h))
|
|
2292
|
+
O !== s[h] && (s[h] = O, E = !0);
|
|
2293
2293
|
else {
|
|
2294
2294
|
const $ = gt(h);
|
|
2295
|
-
|
|
2295
|
+
o[$] = Fo(
|
|
2296
2296
|
l,
|
|
2297
2297
|
c,
|
|
2298
2298
|
$,
|
|
@@ -2302,11 +2302,11 @@ function rl(e, t, n, r) {
|
|
|
2302
2302
|
);
|
|
2303
2303
|
}
|
|
2304
2304
|
else
|
|
2305
|
-
O !==
|
|
2305
|
+
O !== s[h] && (s[h] = O, E = !0);
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
} else {
|
|
2309
|
-
Rc(e, t,
|
|
2309
|
+
Rc(e, t, o, s) && (E = !0);
|
|
2310
2310
|
let p;
|
|
2311
2311
|
for (const d in c)
|
|
2312
2312
|
(!t || // for camelCase
|
|
@@ -2314,22 +2314,22 @@ function rl(e, t, n, r) {
|
|
|
2314
2314
|
// and converted to camelCase (#955)
|
|
2315
2315
|
((p = Qt(d)) === d || !be(t, p))) && (l ? n && // for camelCase
|
|
2316
2316
|
(n[d] !== void 0 || // for kebab-case
|
|
2317
|
-
n[p] !== void 0) && (
|
|
2317
|
+
n[p] !== void 0) && (o[d] = Fo(
|
|
2318
2318
|
l,
|
|
2319
2319
|
c,
|
|
2320
2320
|
d,
|
|
2321
2321
|
void 0,
|
|
2322
2322
|
e,
|
|
2323
2323
|
!0
|
|
2324
|
-
)) : delete
|
|
2325
|
-
if (
|
|
2326
|
-
for (const d in
|
|
2327
|
-
(!t || !be(t, d)) && (delete
|
|
2324
|
+
)) : delete o[d]);
|
|
2325
|
+
if (s !== c)
|
|
2326
|
+
for (const d in s)
|
|
2327
|
+
(!t || !be(t, d)) && (delete s[d], E = !0);
|
|
2328
2328
|
}
|
|
2329
|
-
E &&
|
|
2329
|
+
E && St(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && Dc(t || {}, o, e);
|
|
2330
2330
|
}
|
|
2331
2331
|
function Rc(e, t, n, r) {
|
|
2332
|
-
const [
|
|
2332
|
+
const [o, s] = e.propsOptions;
|
|
2333
2333
|
let i = !1, c;
|
|
2334
2334
|
if (t)
|
|
2335
2335
|
for (let l in t) {
|
|
@@ -2337,14 +2337,14 @@ function Rc(e, t, n, r) {
|
|
|
2337
2337
|
continue;
|
|
2338
2338
|
const E = t[l];
|
|
2339
2339
|
let p;
|
|
2340
|
-
|
|
2340
|
+
o && be(o, p = gt(l)) ? !s || !s.includes(p) ? n[p] = E : (c || (c = {}))[p] = E : Qr(e.emitsOptions, l) || (!(l in r) || E !== r[l]) && (r[l] = E, i = !0);
|
|
2341
2341
|
}
|
|
2342
|
-
if (
|
|
2342
|
+
if (s) {
|
|
2343
2343
|
const l = me(n), E = c || Ne;
|
|
2344
|
-
for (let p = 0; p <
|
|
2345
|
-
const d =
|
|
2344
|
+
for (let p = 0; p < s.length; p++) {
|
|
2345
|
+
const d = s[p];
|
|
2346
2346
|
n[d] = Fo(
|
|
2347
|
-
|
|
2347
|
+
o,
|
|
2348
2348
|
l,
|
|
2349
2349
|
d,
|
|
2350
2350
|
E[d],
|
|
@@ -2355,18 +2355,18 @@ function Rc(e, t, n, r) {
|
|
|
2355
2355
|
}
|
|
2356
2356
|
return i;
|
|
2357
2357
|
}
|
|
2358
|
-
function Fo(e, t, n, r,
|
|
2358
|
+
function Fo(e, t, n, r, o, s) {
|
|
2359
2359
|
const i = e[n];
|
|
2360
2360
|
if (i != null) {
|
|
2361
2361
|
const c = be(i, "default");
|
|
2362
2362
|
if (c && r === void 0) {
|
|
2363
2363
|
const l = i.default;
|
|
2364
2364
|
if (i.type !== Function && !i.skipFactory && ue(l)) {
|
|
2365
|
-
const { propsDefaults: E } =
|
|
2365
|
+
const { propsDefaults: E } = o;
|
|
2366
2366
|
if (n in E)
|
|
2367
2367
|
r = E[n];
|
|
2368
2368
|
else {
|
|
2369
|
-
const p = hr(
|
|
2369
|
+
const p = hr(o);
|
|
2370
2370
|
r = E[n] = l.call(
|
|
2371
2371
|
null,
|
|
2372
2372
|
t
|
|
@@ -2374,12 +2374,12 @@ function Fo(e, t, n, r, s, o) {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
} else
|
|
2376
2376
|
r = l;
|
|
2377
|
-
|
|
2377
|
+
o.ce && o.ce._setProp(n, r);
|
|
2378
2378
|
}
|
|
2379
2379
|
i[
|
|
2380
2380
|
0
|
|
2381
2381
|
/* shouldCast */
|
|
2382
|
-
] && (
|
|
2382
|
+
] && (s && !c ? r = !1 : i[
|
|
2383
2383
|
1
|
|
2384
2384
|
/* shouldCastTrue */
|
|
2385
2385
|
] && (r === "" || r === Qt(n)) && (r = !0));
|
|
@@ -2388,10 +2388,10 @@ function Fo(e, t, n, r, s, o) {
|
|
|
2388
2388
|
}
|
|
2389
2389
|
const ol = /* @__PURE__ */ new WeakMap();
|
|
2390
2390
|
function xc(e, t, n = !1) {
|
|
2391
|
-
const r = n ? ol : t.propsCache,
|
|
2392
|
-
if (
|
|
2393
|
-
return
|
|
2394
|
-
const
|
|
2391
|
+
const r = n ? ol : t.propsCache, o = r.get(e);
|
|
2392
|
+
if (o)
|
|
2393
|
+
return o;
|
|
2394
|
+
const s = e.props, i = {}, c = [];
|
|
2395
2395
|
let l = !1;
|
|
2396
2396
|
if (!ue(e)) {
|
|
2397
2397
|
const p = (d) => {
|
|
@@ -2401,20 +2401,20 @@ function xc(e, t, n = !1) {
|
|
|
2401
2401
|
};
|
|
2402
2402
|
!n && t.mixins.length && t.mixins.forEach(p), e.extends && p(e.extends), e.mixins && e.mixins.forEach(p);
|
|
2403
2403
|
}
|
|
2404
|
-
if (!
|
|
2404
|
+
if (!s && !l)
|
|
2405
2405
|
return De(e) && r.set(e, On), On;
|
|
2406
|
-
if (ce(
|
|
2407
|
-
for (let p = 0; p <
|
|
2408
|
-
process.env.NODE_ENV !== "production" && !He(
|
|
2409
|
-
const d = gt(
|
|
2406
|
+
if (ce(s))
|
|
2407
|
+
for (let p = 0; p < s.length; p++) {
|
|
2408
|
+
process.env.NODE_ENV !== "production" && !He(s[p]) && H("props must be strings when using array syntax.", s[p]);
|
|
2409
|
+
const d = gt(s[p]);
|
|
2410
2410
|
js(d) && (i[d] = Ne);
|
|
2411
2411
|
}
|
|
2412
|
-
else if (
|
|
2413
|
-
process.env.NODE_ENV !== "production" && !De(
|
|
2414
|
-
for (const p in
|
|
2412
|
+
else if (s) {
|
|
2413
|
+
process.env.NODE_ENV !== "production" && !De(s) && H("invalid props options", s);
|
|
2414
|
+
for (const p in s) {
|
|
2415
2415
|
const d = gt(p);
|
|
2416
2416
|
if (js(d)) {
|
|
2417
|
-
const h =
|
|
2417
|
+
const h = s[p], O = i[d] = ce(h) || ue(h) ? { type: h } : je({}, h), $ = O.type;
|
|
2418
2418
|
let j = !1, B = !0;
|
|
2419
2419
|
if (ce($))
|
|
2420
2420
|
for (let J = 0; J < $.length; ++J) {
|
|
@@ -2446,28 +2446,28 @@ function sl(e) {
|
|
|
2446
2446
|
return e === null ? "null" : typeof e == "function" ? e.name || "" : typeof e == "object" && e.constructor && e.constructor.name || "";
|
|
2447
2447
|
}
|
|
2448
2448
|
function Dc(e, t, n) {
|
|
2449
|
-
const r = me(t),
|
|
2450
|
-
for (const i in
|
|
2451
|
-
let c =
|
|
2449
|
+
const r = me(t), o = n.propsOptions[0], s = Object.keys(e).map((i) => gt(i));
|
|
2450
|
+
for (const i in o) {
|
|
2451
|
+
let c = o[i];
|
|
2452
2452
|
c != null && il(
|
|
2453
2453
|
i,
|
|
2454
2454
|
r[i],
|
|
2455
2455
|
c,
|
|
2456
|
-
process.env.NODE_ENV !== "production" ?
|
|
2457
|
-
!
|
|
2456
|
+
process.env.NODE_ENV !== "production" ? Nt(r) : r,
|
|
2457
|
+
!s.includes(i)
|
|
2458
2458
|
);
|
|
2459
2459
|
}
|
|
2460
2460
|
}
|
|
2461
|
-
function il(e, t, n, r,
|
|
2462
|
-
const { type:
|
|
2463
|
-
if (i &&
|
|
2461
|
+
function il(e, t, n, r, o) {
|
|
2462
|
+
const { type: s, required: i, validator: c, skipCheck: l } = n;
|
|
2463
|
+
if (i && o) {
|
|
2464
2464
|
H('Missing required prop: "' + e + '"');
|
|
2465
2465
|
return;
|
|
2466
2466
|
}
|
|
2467
2467
|
if (!(t == null && !i)) {
|
|
2468
|
-
if (
|
|
2468
|
+
if (s != null && s !== !0 && !l) {
|
|
2469
2469
|
let E = !1;
|
|
2470
|
-
const p = ce(
|
|
2470
|
+
const p = ce(s) ? s : [s], d = [];
|
|
2471
2471
|
for (let h = 0; h < p.length && !E; h++) {
|
|
2472
2472
|
const { valid: O, expectedType: $ } = al(t, p[h]);
|
|
2473
2473
|
d.push($ || ""), E = O;
|
|
@@ -2489,8 +2489,8 @@ function al(e, t) {
|
|
|
2489
2489
|
if (r === "null")
|
|
2490
2490
|
n = e === null;
|
|
2491
2491
|
else if (cl(r)) {
|
|
2492
|
-
const
|
|
2493
|
-
n =
|
|
2492
|
+
const o = typeof e;
|
|
2493
|
+
n = o === r.toLowerCase(), !n && o === "object" && (n = e instanceof t);
|
|
2494
2494
|
} else r === "Object" ? n = De(e) : r === "Array" ? n = ce(e) : n = e instanceof t;
|
|
2495
2495
|
return {
|
|
2496
2496
|
valid: n,
|
|
@@ -2501,8 +2501,8 @@ function ul(e, t, n) {
|
|
|
2501
2501
|
if (n.length === 0)
|
|
2502
2502
|
return `Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;
|
|
2503
2503
|
let r = `Invalid prop: type check failed for prop "${e}". Expected ${n.map(qr).join(" | ")}`;
|
|
2504
|
-
const
|
|
2505
|
-
return n.length === 1 && Ws(
|
|
2504
|
+
const o = n[0], s = Qo(t), i = Hs(t, o), c = Hs(t, s);
|
|
2505
|
+
return n.length === 1 && Ws(o) && !ll(o, s) && (r += ` with value ${i}`), r += `, got ${s} `, Ws(s) && (r += `with value ${c}.`), r;
|
|
2506
2506
|
}
|
|
2507
2507
|
function Hs(e, t) {
|
|
2508
2508
|
return t === "String" ? `"${e}"` : t === "Number" ? `${Number(e)}` : `${e}`;
|
|
@@ -2516,23 +2516,23 @@ function ll(...e) {
|
|
|
2516
2516
|
const Cc = (e) => e[0] === "_" || e === "$stable", gs = (e) => ce(e) ? e.map(dt) : [dt(e)], fl = (e, t, n) => {
|
|
2517
2517
|
if (t._n)
|
|
2518
2518
|
return t;
|
|
2519
|
-
const r = Nu((...
|
|
2519
|
+
const r = Nu((...o) => (process.env.NODE_ENV !== "production" && Ue && (!n || n.root === Ue.root) && H(
|
|
2520
2520
|
`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
2521
|
-
), gs(t(...
|
|
2521
|
+
), gs(t(...o))), n);
|
|
2522
2522
|
return r._c = !1, r;
|
|
2523
2523
|
}, Pc = (e, t, n) => {
|
|
2524
2524
|
const r = e._ctx;
|
|
2525
|
-
for (const
|
|
2526
|
-
if (Cc(
|
|
2527
|
-
const
|
|
2528
|
-
if (ue(
|
|
2529
|
-
t[
|
|
2530
|
-
else if (
|
|
2525
|
+
for (const o in e) {
|
|
2526
|
+
if (Cc(o)) continue;
|
|
2527
|
+
const s = e[o];
|
|
2528
|
+
if (ue(s))
|
|
2529
|
+
t[o] = fl(o, s, r);
|
|
2530
|
+
else if (s != null) {
|
|
2531
2531
|
process.env.NODE_ENV !== "production" && H(
|
|
2532
|
-
`Non-function value encountered for slot "${
|
|
2532
|
+
`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`
|
|
2533
2533
|
);
|
|
2534
|
-
const i = gs(
|
|
2535
|
-
t[
|
|
2534
|
+
const i = gs(s);
|
|
2535
|
+
t[o] = () => i;
|
|
2536
2536
|
}
|
|
2537
2537
|
}
|
|
2538
2538
|
}, Ic = (e, t) => {
|
|
@@ -2547,19 +2547,19 @@ const Cc = (e) => e[0] === "_" || e === "$stable", gs = (e) => ce(e) ? e.map(dt)
|
|
|
2547
2547
|
}, pl = (e, t, n) => {
|
|
2548
2548
|
const r = e.slots = Nc();
|
|
2549
2549
|
if (e.vnode.shapeFlag & 32) {
|
|
2550
|
-
const
|
|
2551
|
-
|
|
2550
|
+
const o = t._;
|
|
2551
|
+
o ? (Bo(r, t, n), n && $r(r, "_", o, !0)) : Pc(t, r);
|
|
2552
2552
|
} else t && Ic(e, t);
|
|
2553
2553
|
}, dl = (e, t, n) => {
|
|
2554
|
-
const { vnode: r, slots:
|
|
2555
|
-
let
|
|
2554
|
+
const { vnode: r, slots: o } = e;
|
|
2555
|
+
let s = !0, i = Ne;
|
|
2556
2556
|
if (r.shapeFlag & 32) {
|
|
2557
2557
|
const c = t._;
|
|
2558
|
-
c ? process.env.NODE_ENV !== "production" &&
|
|
2558
|
+
c ? process.env.NODE_ENV !== "production" && Tt ? (Bo(o, t, n), St(e, "set", "$slots")) : n && c === 1 ? s = !1 : Bo(o, t, n) : (s = !t.$stable, Pc(t, o)), i = t;
|
|
2559
2559
|
} else t && (Ic(e, t), i = { default: 1 });
|
|
2560
|
-
if (
|
|
2561
|
-
for (const c in
|
|
2562
|
-
!Cc(c) && i[c] == null && delete
|
|
2560
|
+
if (s)
|
|
2561
|
+
for (const c in o)
|
|
2562
|
+
!Cc(c) && i[c] == null && delete o[c];
|
|
2563
2563
|
};
|
|
2564
2564
|
let Un, Xt;
|
|
2565
2565
|
function _n(e, t) {
|
|
@@ -2595,8 +2595,8 @@ function ml(e, t) {
|
|
|
2595
2595
|
n.__VUE__ = !0, process.env.NODE_ENV !== "production" && ls(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
|
|
2596
2596
|
const {
|
|
2597
2597
|
insert: r,
|
|
2598
|
-
remove:
|
|
2599
|
-
patchProp:
|
|
2598
|
+
remove: o,
|
|
2599
|
+
patchProp: s,
|
|
2600
2600
|
createElement: i,
|
|
2601
2601
|
createText: c,
|
|
2602
2602
|
createComment: l,
|
|
@@ -2606,7 +2606,7 @@ function ml(e, t) {
|
|
|
2606
2606
|
nextSibling: h,
|
|
2607
2607
|
setScopeId: O = Fe,
|
|
2608
2608
|
insertStaticContent: $
|
|
2609
|
-
} = e, j = (f, g, y, C = null, R = null, _ = null, P = void 0, b = null, A = process.env.NODE_ENV !== "production" &&
|
|
2609
|
+
} = e, j = (f, g, y, C = null, R = null, _ = null, P = void 0, b = null, A = process.env.NODE_ENV !== "production" && Tt ? !1 : !!g.dynamicChildren) => {
|
|
2610
2610
|
if (f === g)
|
|
2611
2611
|
return;
|
|
2612
2612
|
f && !Gn(f, g) && (C = de(f), Pe(f, R, _, !0), f = null), g.patchFlag === -2 && (A = !1, g.dynamicChildren = null);
|
|
@@ -2621,7 +2621,7 @@ function ml(e, t) {
|
|
|
2621
2621
|
case Tr:
|
|
2622
2622
|
f == null ? te(g, y, C, P) : process.env.NODE_ENV !== "production" && U(f, g, y, P);
|
|
2623
2623
|
break;
|
|
2624
|
-
case
|
|
2624
|
+
case Ot:
|
|
2625
2625
|
se(
|
|
2626
2626
|
f,
|
|
2627
2627
|
g,
|
|
@@ -2714,8 +2714,8 @@ function ml(e, t) {
|
|
|
2714
2714
|
}, L = ({ el: f, anchor: g }) => {
|
|
2715
2715
|
let y;
|
|
2716
2716
|
for (; f && f !== g; )
|
|
2717
|
-
y = h(f),
|
|
2718
|
-
|
|
2717
|
+
y = h(f), o(f), f = y;
|
|
2718
|
+
o(g);
|
|
2719
2719
|
}, ne = (f, g, y, C, R, _, P, b, A) => {
|
|
2720
2720
|
g.type === "svg" ? P = "svg" : g.type === "math" && (P = "mathml"), f == null ? le(
|
|
2721
2721
|
g,
|
|
@@ -2754,13 +2754,13 @@ function ml(e, t) {
|
|
|
2754
2754
|
b
|
|
2755
2755
|
), oe && nn(f, null, C, "created"), pe(A, f, f.scopeId, P, C), G) {
|
|
2756
2756
|
for (const Te in G)
|
|
2757
|
-
Te !== "value" && !Jn(Te) &&
|
|
2758
|
-
"value" in G &&
|
|
2757
|
+
Te !== "value" && !Jn(Te) && s(A, Te, null, G[Te], _, C);
|
|
2758
|
+
"value" in G && s(A, "value", null, G.value, _), (T = G.onVnodeBeforeMount) && _t(T, C, f);
|
|
2759
2759
|
}
|
|
2760
2760
|
process.env.NODE_ENV !== "production" && ($r(A, "__vnode", f, !0), $r(A, "__vueParentComponent", C, !0)), oe && nn(f, null, C, "beforeMount");
|
|
2761
2761
|
const Ee = vl(R, Q);
|
|
2762
2762
|
Ee && Q.beforeEnter(A), r(A, g, y), ((T = G && G.onVnodeMounted) || Ee || oe) && st(() => {
|
|
2763
|
-
T &&
|
|
2763
|
+
T && _t(T, C, f), Ee && Q.enter(A), oe && nn(f, null, C, "mounted");
|
|
2764
2764
|
}, R);
|
|
2765
2765
|
}, pe = (f, g, y, C, R) => {
|
|
2766
2766
|
if (y && O(f, y), C)
|
|
@@ -2801,7 +2801,7 @@ function ml(e, t) {
|
|
|
2801
2801
|
A |= f.patchFlag & 16;
|
|
2802
2802
|
const M = f.props || Ne, Q = g.props || Ne;
|
|
2803
2803
|
let oe;
|
|
2804
|
-
if (y && rn(y, !1), (oe = Q.onVnodeBeforeUpdate) &&
|
|
2804
|
+
if (y && rn(y, !1), (oe = Q.onVnodeBeforeUpdate) && _t(oe, y, g, f), G && nn(g, f, y, "beforeUpdate"), y && rn(y, !0), process.env.NODE_ENV !== "production" && Tt && (A = 0, P = !1, T = null), (M.innerHTML && Q.innerHTML == null || M.textContent && Q.textContent == null) && p(b, ""), T ? (F(
|
|
2805
2805
|
f.dynamicChildren,
|
|
2806
2806
|
T,
|
|
2807
2807
|
b,
|
|
@@ -2822,17 +2822,17 @@ function ml(e, t) {
|
|
|
2822
2822
|
), A > 0) {
|
|
2823
2823
|
if (A & 16)
|
|
2824
2824
|
N(b, M, Q, y, R);
|
|
2825
|
-
else if (A & 2 && M.class !== Q.class &&
|
|
2825
|
+
else if (A & 2 && M.class !== Q.class && s(b, "class", null, Q.class, R), A & 4 && s(b, "style", M.style, Q.style, R), A & 8) {
|
|
2826
2826
|
const Ee = g.dynamicProps;
|
|
2827
2827
|
for (let Te = 0; Te < Ee.length; Te++) {
|
|
2828
2828
|
const Se = Ee[Te], Ye = M[Se], Ge = Q[Se];
|
|
2829
|
-
(Ge !== Ye || Se === "value") &&
|
|
2829
|
+
(Ge !== Ye || Se === "value") && s(b, Se, Ye, Ge, R, y);
|
|
2830
2830
|
}
|
|
2831
2831
|
}
|
|
2832
2832
|
A & 1 && f.children !== g.children && p(b, g.children);
|
|
2833
2833
|
} else !P && T == null && N(b, M, Q, y, R);
|
|
2834
2834
|
((oe = Q.onVnodeUpdated) || G) && st(() => {
|
|
2835
|
-
oe &&
|
|
2835
|
+
oe && _t(oe, y, g, f), G && nn(g, f, y, "updated");
|
|
2836
2836
|
}, C);
|
|
2837
2837
|
}, F = (f, g, y, C, R, _, P) => {
|
|
2838
2838
|
for (let b = 0; b < g.length; b++) {
|
|
@@ -2841,7 +2841,7 @@ function ml(e, t) {
|
|
|
2841
2841
|
// which will not have a mounted element
|
|
2842
2842
|
A.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
2843
2843
|
// of the Fragment itself so it can move its children.
|
|
2844
|
-
(A.type ===
|
|
2844
|
+
(A.type === Ot || // - In the case of different nodes, there is going to be a replacement
|
|
2845
2845
|
// which also requires the correct parent container
|
|
2846
2846
|
!Gn(A, T) || // - In the case of a component, it could contain anything.
|
|
2847
2847
|
A.shapeFlag & 70) ? d(A.el) : (
|
|
@@ -2866,7 +2866,7 @@ function ml(e, t) {
|
|
|
2866
2866
|
if (g !== y) {
|
|
2867
2867
|
if (g !== Ne)
|
|
2868
2868
|
for (const _ in g)
|
|
2869
|
-
!Jn(_) && !(_ in y) &&
|
|
2869
|
+
!Jn(_) && !(_ in y) && s(
|
|
2870
2870
|
f,
|
|
2871
2871
|
_,
|
|
2872
2872
|
g[_],
|
|
@@ -2877,15 +2877,15 @@ function ml(e, t) {
|
|
|
2877
2877
|
for (const _ in y) {
|
|
2878
2878
|
if (Jn(_)) continue;
|
|
2879
2879
|
const P = y[_], b = g[_];
|
|
2880
|
-
P !== b && _ !== "value" &&
|
|
2880
|
+
P !== b && _ !== "value" && s(f, _, b, P, R, C);
|
|
2881
2881
|
}
|
|
2882
|
-
"value" in y &&
|
|
2882
|
+
"value" in y && s(f, "value", g.value, y.value, R);
|
|
2883
2883
|
}
|
|
2884
2884
|
}, se = (f, g, y, C, R, _, P, b, A) => {
|
|
2885
2885
|
const T = g.el = f ? f.el : c(""), G = g.anchor = f ? f.anchor : c("");
|
|
2886
2886
|
let { patchFlag: M, dynamicChildren: Q, slotScopeIds: oe } = g;
|
|
2887
2887
|
process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
|
|
2888
|
-
(
|
|
2888
|
+
(Tt || M & 2048) && (M = 0, A = !1, Q = null), oe && (b = b ? b.concat(oe) : oe), f == null ? (r(T, y, C), r(G, y, C), K(
|
|
2889
2889
|
// #10007
|
|
2890
2890
|
// such fragment like `<></>` will be compiled into
|
|
2891
2891
|
// a fragment which doesn't have a children.
|
|
@@ -2953,7 +2953,7 @@ function ml(e, t) {
|
|
|
2953
2953
|
R
|
|
2954
2954
|
);
|
|
2955
2955
|
if (process.env.NODE_ENV !== "production" && b.type.__hmrId && hu(b), process.env.NODE_ENV !== "production" && (wr(f), _n(b, "mount")), ds(f) && (b.ctx.renderer = W), process.env.NODE_ENV !== "production" && _n(b, "init"), Wl(b, !1, P), process.env.NODE_ENV !== "production" && bn(b, "init"), b.asyncDep) {
|
|
2956
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
2956
|
+
if (process.env.NODE_ENV !== "production" && Tt && (f.el = null), R && R.registerDep(b, z, P), !f.el) {
|
|
2957
2957
|
const A = b.subTree = at(ut);
|
|
2958
2958
|
J(null, A, g, y);
|
|
2959
2959
|
}
|
|
@@ -2992,7 +2992,7 @@ function ml(e, t) {
|
|
|
2992
2992
|
}
|
|
2993
2993
|
}
|
|
2994
2994
|
let Se = M, Ye;
|
|
2995
|
-
process.env.NODE_ENV !== "production" && wr(M || f.vnode), rn(f, !1), M ? (M.el = Te.el, ie(f, M, P)) : M = Te, Q && Fn(Q), (Ye = M.props && M.props.onVnodeBeforeUpdate) &&
|
|
2995
|
+
process.env.NODE_ENV !== "production" && wr(M || f.vnode), rn(f, !1), M ? (M.el = Te.el, ie(f, M, P)) : M = Te, Q && Fn(Q), (Ye = M.props && M.props.onVnodeBeforeUpdate) && _t(Ye, Ee, M, Te), rn(f, !0), process.env.NODE_ENV !== "production" && _n(f, "render");
|
|
2996
2996
|
const Ge = Bs(f);
|
|
2997
2997
|
process.env.NODE_ENV !== "production" && bn(f, "render");
|
|
2998
2998
|
const ot = f.subTree;
|
|
@@ -3007,13 +3007,13 @@ function ml(e, t) {
|
|
|
3007
3007
|
R,
|
|
3008
3008
|
_
|
|
3009
3009
|
), process.env.NODE_ENV !== "production" && bn(f, "patch"), M.el = Ge.el, Se === null && Tl(f, Ge.el), oe && st(oe, R), (Ye = M.props && M.props.onVnodeUpdated) && st(
|
|
3010
|
-
() =>
|
|
3010
|
+
() => _t(Ye, Ee, M, Te),
|
|
3011
3011
|
R
|
|
3012
3012
|
), process.env.NODE_ENV !== "production" && dc(f), process.env.NODE_ENV !== "production" && Or();
|
|
3013
3013
|
} else {
|
|
3014
3014
|
let M;
|
|
3015
3015
|
const { el: Q, props: oe } = g, { bm: Ee, m: Te, parent: Se, root: Ye, type: Ge } = f, ot = Qn(g);
|
|
3016
|
-
rn(f, !1), Ee && Fn(Ee), !ot && (M = oe && oe.onVnodeBeforeMount) &&
|
|
3016
|
+
rn(f, !1), Ee && Fn(Ee), !ot && (M = oe && oe.onVnodeBeforeMount) && _t(M, Se, g), rn(f, !0);
|
|
3017
3017
|
{
|
|
3018
3018
|
Ye.ce && Ye.ce._injectChildStyle(Ge), process.env.NODE_ENV !== "production" && _n(f, "render");
|
|
3019
3019
|
const tt = f.subTree = Bs(f);
|
|
@@ -3030,7 +3030,7 @@ function ml(e, t) {
|
|
|
3030
3030
|
if (Te && st(Te, R), !ot && (M = oe && oe.onVnodeMounted)) {
|
|
3031
3031
|
const tt = g;
|
|
3032
3032
|
st(
|
|
3033
|
-
() =>
|
|
3033
|
+
() => _t(M, Se, tt),
|
|
3034
3034
|
R
|
|
3035
3035
|
);
|
|
3036
3036
|
}
|
|
@@ -3264,7 +3264,7 @@ function ml(e, t) {
|
|
|
3264
3264
|
P.move(f, g, y, W);
|
|
3265
3265
|
return;
|
|
3266
3266
|
}
|
|
3267
|
-
if (P ===
|
|
3267
|
+
if (P === Ot) {
|
|
3268
3268
|
r(_, g, y);
|
|
3269
3269
|
for (let M = 0; M < A.length; M++)
|
|
3270
3270
|
Re(A[M], g, y, C);
|
|
@@ -3306,7 +3306,7 @@ function ml(e, t) {
|
|
|
3306
3306
|
}
|
|
3307
3307
|
const Ee = G & 1 && Q, Te = !Qn(f);
|
|
3308
3308
|
let Se;
|
|
3309
|
-
if (Te && (Se = P && P.onVnodeBeforeUnmount) &&
|
|
3309
|
+
if (Te && (Se = P && P.onVnodeBeforeUnmount) && _t(Se, g, f), G & 6)
|
|
3310
3310
|
ke(f.component, y, C);
|
|
3311
3311
|
else {
|
|
3312
3312
|
if (G & 128) {
|
|
@@ -3325,22 +3325,22 @@ function ml(e, t) {
|
|
|
3325
3325
|
// so that it doesn't take the fast path during unmount - otherwise
|
|
3326
3326
|
// components nested in v-once are never unmounted.
|
|
3327
3327
|
!T.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3328
|
-
(_ !==
|
|
3328
|
+
(_ !== Ot || M > 0 && M & 64) ? Z(
|
|
3329
3329
|
T,
|
|
3330
3330
|
g,
|
|
3331
3331
|
y,
|
|
3332
3332
|
!1,
|
|
3333
3333
|
!0
|
|
3334
|
-
) : (_ ===
|
|
3334
|
+
) : (_ === Ot && M & 384 || !R && G & 16) && Z(A, g, y), C && S(f);
|
|
3335
3335
|
}
|
|
3336
3336
|
(Te && (Se = P && P.onVnodeUnmounted) || Ee) && st(() => {
|
|
3337
|
-
Se &&
|
|
3337
|
+
Se && _t(Se, g, f), Ee && nn(f, null, g, "unmounted");
|
|
3338
3338
|
}, y);
|
|
3339
3339
|
}, S = (f) => {
|
|
3340
3340
|
const { type: g, el: y, anchor: C, transition: R } = f;
|
|
3341
|
-
if (g ===
|
|
3341
|
+
if (g === Ot) {
|
|
3342
3342
|
process.env.NODE_ENV !== "production" && f.patchFlag > 0 && f.patchFlag & 2048 && R && !R.persisted ? f.children.forEach((P) => {
|
|
3343
|
-
P.type === ut ?
|
|
3343
|
+
P.type === ut ? o(P.el) : S(P);
|
|
3344
3344
|
}) : x(y, C);
|
|
3345
3345
|
return;
|
|
3346
3346
|
}
|
|
@@ -3349,7 +3349,7 @@ function ml(e, t) {
|
|
|
3349
3349
|
return;
|
|
3350
3350
|
}
|
|
3351
3351
|
const _ = () => {
|
|
3352
|
-
|
|
3352
|
+
o(y), R && !R.persisted && R.afterLeave && R.afterLeave();
|
|
3353
3353
|
};
|
|
3354
3354
|
if (f.shapeFlag & 1 && R && !R.persisted) {
|
|
3355
3355
|
const { leave: P, delayLeave: b } = R, A = () => P(y, _);
|
|
@@ -3359,8 +3359,8 @@ function ml(e, t) {
|
|
|
3359
3359
|
}, x = (f, g) => {
|
|
3360
3360
|
let y;
|
|
3361
3361
|
for (; f !== g; )
|
|
3362
|
-
y = h(f),
|
|
3363
|
-
|
|
3362
|
+
y = h(f), o(f), f = y;
|
|
3363
|
+
o(g);
|
|
3364
3364
|
}, ke = (f, g, y) => {
|
|
3365
3365
|
process.env.NODE_ENV !== "production" && f.type.__hmrId && gu(f);
|
|
3366
3366
|
const { bum: C, scope: R, job: _, subTree: P, um: b, m: A, a: T } = f;
|
|
@@ -3417,32 +3417,32 @@ function vl(e, t) {
|
|
|
3417
3417
|
return (!e || e && !e.pendingBranch) && t && !t.persisted;
|
|
3418
3418
|
}
|
|
3419
3419
|
function Nr(e, t, n = !1) {
|
|
3420
|
-
const r = e.children,
|
|
3421
|
-
if (ce(r) && ce(
|
|
3422
|
-
for (let
|
|
3423
|
-
const i = r[
|
|
3424
|
-
let c = s
|
|
3425
|
-
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = s
|
|
3420
|
+
const r = e.children, o = t.children;
|
|
3421
|
+
if (ce(r) && ce(o))
|
|
3422
|
+
for (let s = 0; s < r.length; s++) {
|
|
3423
|
+
const i = r[s];
|
|
3424
|
+
let c = o[s];
|
|
3425
|
+
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[s] = Jt(o[s]), c.el = i.el), !n && c.patchFlag !== -2 && Nr(i, c)), c.type === dr && (c.el = i.el), process.env.NODE_ENV !== "production" && c.type === ut && !c.el && (c.el = i.el);
|
|
3426
3426
|
}
|
|
3427
3427
|
}
|
|
3428
3428
|
function El(e) {
|
|
3429
3429
|
const t = e.slice(), n = [0];
|
|
3430
|
-
let r,
|
|
3430
|
+
let r, o, s, i, c;
|
|
3431
3431
|
const l = e.length;
|
|
3432
3432
|
for (r = 0; r < l; r++) {
|
|
3433
3433
|
const E = e[r];
|
|
3434
3434
|
if (E !== 0) {
|
|
3435
|
-
if (
|
|
3436
|
-
t[r] =
|
|
3435
|
+
if (o = n[n.length - 1], e[o] < E) {
|
|
3436
|
+
t[r] = o, n.push(r);
|
|
3437
3437
|
continue;
|
|
3438
3438
|
}
|
|
3439
|
-
for (
|
|
3440
|
-
c =
|
|
3441
|
-
E < e[n[
|
|
3439
|
+
for (s = 0, i = n.length - 1; s < i; )
|
|
3440
|
+
c = s + i >> 1, e[n[c]] < E ? s = c + 1 : i = c;
|
|
3441
|
+
E < e[n[s]] && (s > 0 && (t[r] = n[s - 1]), n[s] = r);
|
|
3442
3442
|
}
|
|
3443
3443
|
}
|
|
3444
|
-
for (
|
|
3445
|
-
n[
|
|
3444
|
+
for (s = n.length, i = n[s - 1]; s-- > 0; )
|
|
3445
|
+
n[s] = i, i = t[i];
|
|
3446
3446
|
return n;
|
|
3447
3447
|
}
|
|
3448
3448
|
function $c(e) {
|
|
@@ -3463,26 +3463,26 @@ const yl = Symbol.for("v-scx"), _l = () => {
|
|
|
3463
3463
|
), e;
|
|
3464
3464
|
}
|
|
3465
3465
|
};
|
|
3466
|
-
function
|
|
3466
|
+
function At(e, t, n) {
|
|
3467
3467
|
return process.env.NODE_ENV !== "production" && !ue(t) && H(
|
|
3468
3468
|
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
3469
3469
|
), Mc(e, t, n);
|
|
3470
3470
|
}
|
|
3471
3471
|
function Mc(e, t, n = Ne) {
|
|
3472
|
-
const { immediate: r, deep:
|
|
3472
|
+
const { immediate: r, deep: o, flush: s, once: i } = n;
|
|
3473
3473
|
process.env.NODE_ENV !== "production" && !t && (r !== void 0 && H(
|
|
3474
3474
|
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
|
|
3475
|
-
),
|
|
3475
|
+
), o !== void 0 && H(
|
|
3476
3476
|
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
|
|
3477
3477
|
), i !== void 0 && H(
|
|
3478
3478
|
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
|
|
3479
3479
|
));
|
|
3480
3480
|
const c = je({}, n);
|
|
3481
3481
|
process.env.NODE_ENV !== "production" && (c.onWarn = H);
|
|
3482
|
-
const l = t && r || !t &&
|
|
3482
|
+
const l = t && r || !t && s !== "post";
|
|
3483
3483
|
let E;
|
|
3484
3484
|
if (ir) {
|
|
3485
|
-
if (
|
|
3485
|
+
if (s === "sync") {
|
|
3486
3486
|
const O = _l();
|
|
3487
3487
|
E = O.__watcherHandles || (O.__watcherHandles = []);
|
|
3488
3488
|
} else if (!l) {
|
|
@@ -3494,9 +3494,9 @@ function Mc(e, t, n = Ne) {
|
|
|
3494
3494
|
const p = Ue;
|
|
3495
3495
|
c.call = (O, $, j) => xt(O, p, $, j);
|
|
3496
3496
|
let d = !1;
|
|
3497
|
-
|
|
3497
|
+
s === "post" ? c.scheduler = (O) => {
|
|
3498
3498
|
st(O, p && p.suspense);
|
|
3499
|
-
} :
|
|
3499
|
+
} : s !== "sync" && (d = !0, c.scheduler = (O, $) => {
|
|
3500
3500
|
$ ? O() : Xr(O);
|
|
3501
3501
|
}), c.augmentJob = (O) => {
|
|
3502
3502
|
t && (O.flags |= 4), d && (O.flags |= 2, p && (O.id = p.uid, O.i = p));
|
|
@@ -3505,18 +3505,18 @@ function Mc(e, t, n = Ne) {
|
|
|
3505
3505
|
return ir && (E ? E.push(h) : l && h()), h;
|
|
3506
3506
|
}
|
|
3507
3507
|
function bl(e, t, n) {
|
|
3508
|
-
const r = this.proxy,
|
|
3509
|
-
let
|
|
3510
|
-
ue(t) ?
|
|
3511
|
-
const i = hr(this), c = Mc(
|
|
3508
|
+
const r = this.proxy, o = He(e) ? e.includes(".") ? Lc(r, e) : () => r[e] : e.bind(r, r);
|
|
3509
|
+
let s;
|
|
3510
|
+
ue(t) ? s = t : (s = t.handler, n = t);
|
|
3511
|
+
const i = hr(this), c = Mc(o, s.bind(r), n);
|
|
3512
3512
|
return i(), c;
|
|
3513
3513
|
}
|
|
3514
3514
|
function Lc(e, t) {
|
|
3515
3515
|
const n = t.split(".");
|
|
3516
3516
|
return () => {
|
|
3517
3517
|
let r = e;
|
|
3518
|
-
for (let
|
|
3519
|
-
r = r[n[
|
|
3518
|
+
for (let o = 0; o < n.length && r; o++)
|
|
3519
|
+
r = r[n[o]];
|
|
3520
3520
|
return r;
|
|
3521
3521
|
};
|
|
3522
3522
|
}
|
|
@@ -3541,9 +3541,9 @@ function Ol(e, t, ...n) {
|
|
|
3541
3541
|
));
|
|
3542
3542
|
}
|
|
3543
3543
|
}
|
|
3544
|
-
let
|
|
3545
|
-
const
|
|
3546
|
-
if (i && (i.trim && (
|
|
3544
|
+
let o = n;
|
|
3545
|
+
const s = t.startsWith("update:"), i = s && wl(r, t.slice(7));
|
|
3546
|
+
if (i && (i.trim && (o = n.map((p) => He(p) ? p.trim() : p)), i.number && (o = n.map(Sa))), process.env.NODE_ENV !== "production" && Au(e, t, o), process.env.NODE_ENV !== "production") {
|
|
3547
3547
|
const p = t.toLowerCase();
|
|
3548
3548
|
p !== t && r[cn(p)] && H(
|
|
3549
3549
|
`Event "${p}" is emitted in component ${to(
|
|
@@ -3556,11 +3556,11 @@ function Ol(e, t, ...n) {
|
|
|
3556
3556
|
}
|
|
3557
3557
|
let c, l = r[c = cn(t)] || // also try camelCase event handler (#2249)
|
|
3558
3558
|
r[c = cn(gt(t))];
|
|
3559
|
-
!l &&
|
|
3559
|
+
!l && s && (l = r[c = cn(Qt(t))]), l && xt(
|
|
3560
3560
|
l,
|
|
3561
3561
|
e,
|
|
3562
3562
|
6,
|
|
3563
|
-
|
|
3563
|
+
o
|
|
3564
3564
|
);
|
|
3565
3565
|
const E = r[c + "Once"];
|
|
3566
3566
|
if (E) {
|
|
@@ -3572,15 +3572,15 @@ function Ol(e, t, ...n) {
|
|
|
3572
3572
|
E,
|
|
3573
3573
|
e,
|
|
3574
3574
|
6,
|
|
3575
|
-
|
|
3575
|
+
o
|
|
3576
3576
|
);
|
|
3577
3577
|
}
|
|
3578
3578
|
}
|
|
3579
3579
|
function Vc(e, t, n = !1) {
|
|
3580
|
-
const r = t.emitsCache,
|
|
3581
|
-
if (
|
|
3582
|
-
return
|
|
3583
|
-
const
|
|
3580
|
+
const r = t.emitsCache, o = r.get(e);
|
|
3581
|
+
if (o !== void 0)
|
|
3582
|
+
return o;
|
|
3583
|
+
const s = e.emits;
|
|
3584
3584
|
let i = {}, c = !1;
|
|
3585
3585
|
if (!ue(e)) {
|
|
3586
3586
|
const l = (E) => {
|
|
@@ -3589,7 +3589,7 @@ function Vc(e, t, n = !1) {
|
|
|
3589
3589
|
};
|
|
3590
3590
|
!n && t.mixins.length && t.mixins.forEach(l), e.extends && l(e.extends), e.mixins && e.mixins.forEach(l);
|
|
3591
3591
|
}
|
|
3592
|
-
return !
|
|
3592
|
+
return !s && !c ? (De(e) && r.set(e, null), null) : (ce(s) ? s.forEach((l) => i[l] = null) : je(i, s), De(e) && r.set(e, i), i);
|
|
3593
3593
|
}
|
|
3594
3594
|
function Qr(e, t) {
|
|
3595
3595
|
return !e || !ur(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), be(e, t[0].toLowerCase() + t.slice(1)) || be(e, Qt(t)) || be(e, t));
|
|
@@ -3603,8 +3603,8 @@ function Bs(e) {
|
|
|
3603
3603
|
type: t,
|
|
3604
3604
|
vnode: n,
|
|
3605
3605
|
proxy: r,
|
|
3606
|
-
withProxy:
|
|
3607
|
-
propsOptions: [
|
|
3606
|
+
withProxy: o,
|
|
3607
|
+
propsOptions: [s],
|
|
3608
3608
|
slots: i,
|
|
3609
3609
|
attrs: c,
|
|
3610
3610
|
emit: l,
|
|
@@ -3620,7 +3620,7 @@ function Bs(e) {
|
|
|
3620
3620
|
process.env.NODE_ENV !== "production" && (Uo = !1);
|
|
3621
3621
|
try {
|
|
3622
3622
|
if (n.shapeFlag & 4) {
|
|
3623
|
-
const L =
|
|
3623
|
+
const L = o || r, ne = process.env.NODE_ENV !== "production" && O.__isScriptSetup ? new Proxy(L, {
|
|
3624
3624
|
get(le, pe, K) {
|
|
3625
3625
|
return H(
|
|
3626
3626
|
`Property '${String(
|
|
@@ -3634,7 +3634,7 @@ function Bs(e) {
|
|
|
3634
3634
|
ne,
|
|
3635
3635
|
L,
|
|
3636
3636
|
p,
|
|
3637
|
-
process.env.NODE_ENV !== "production" ?
|
|
3637
|
+
process.env.NODE_ENV !== "production" ? Nt(d) : d,
|
|
3638
3638
|
O,
|
|
3639
3639
|
h,
|
|
3640
3640
|
$
|
|
@@ -3644,16 +3644,16 @@ function Bs(e) {
|
|
|
3644
3644
|
const L = t;
|
|
3645
3645
|
process.env.NODE_ENV !== "production" && c === d && Ur(), J = dt(
|
|
3646
3646
|
L.length > 1 ? L(
|
|
3647
|
-
process.env.NODE_ENV !== "production" ?
|
|
3647
|
+
process.env.NODE_ENV !== "production" ? Nt(d) : d,
|
|
3648
3648
|
process.env.NODE_ENV !== "production" ? {
|
|
3649
3649
|
get attrs() {
|
|
3650
|
-
return Ur(),
|
|
3650
|
+
return Ur(), Nt(c);
|
|
3651
3651
|
},
|
|
3652
3652
|
slots: i,
|
|
3653
3653
|
emit: l
|
|
3654
3654
|
} : { attrs: c, slots: i, emit: l }
|
|
3655
3655
|
) : L(
|
|
3656
|
-
process.env.NODE_ENV !== "production" ?
|
|
3656
|
+
process.env.NODE_ENV !== "production" ? Nt(d) : d,
|
|
3657
3657
|
null
|
|
3658
3658
|
)
|
|
3659
3659
|
), te = t.props ? c : Sl(c);
|
|
@@ -3666,9 +3666,9 @@ function Bs(e) {
|
|
|
3666
3666
|
const L = Object.keys(te), { shapeFlag: ne } = U;
|
|
3667
3667
|
if (L.length) {
|
|
3668
3668
|
if (ne & 7)
|
|
3669
|
-
|
|
3669
|
+
s && L.some(Ir) && (te = Al(
|
|
3670
3670
|
te,
|
|
3671
|
-
|
|
3671
|
+
s
|
|
3672
3672
|
)), U = en(U, te, !1, !0);
|
|
3673
3673
|
else if (process.env.NODE_ENV !== "production" && !Uo && U.type !== ut) {
|
|
3674
3674
|
const le = Object.keys(c), pe = [], K = [];
|
|
@@ -3696,20 +3696,20 @@ const jc = (e) => {
|
|
|
3696
3696
|
if (process.env.NODE_ENV !== "production" && r.patchFlag > 0 && r.patchFlag & 2048)
|
|
3697
3697
|
return jc(r);
|
|
3698
3698
|
} else return [e, void 0];
|
|
3699
|
-
const
|
|
3700
|
-
t[
|
|
3699
|
+
const o = t.indexOf(r), s = n ? n.indexOf(r) : -1, i = (c) => {
|
|
3700
|
+
t[o] = c, n && (s > -1 ? n[s] = c : c.patchFlag > 0 && (e.dynamicChildren = [...n, c]));
|
|
3701
3701
|
};
|
|
3702
3702
|
return [dt(r), i];
|
|
3703
3703
|
};
|
|
3704
3704
|
function ms(e, t = !0) {
|
|
3705
3705
|
let n;
|
|
3706
3706
|
for (let r = 0; r < e.length; r++) {
|
|
3707
|
-
const
|
|
3708
|
-
if (Rn(
|
|
3709
|
-
if (
|
|
3707
|
+
const o = e[r];
|
|
3708
|
+
if (Rn(o)) {
|
|
3709
|
+
if (o.type !== ut || o.children === "v-if") {
|
|
3710
3710
|
if (n)
|
|
3711
3711
|
return;
|
|
3712
|
-
if (n =
|
|
3712
|
+
if (n = o, process.env.NODE_ENV !== "production" && t && n.patchFlag > 0 && n.patchFlag & 2048)
|
|
3713
3713
|
return ms(n.children);
|
|
3714
3714
|
}
|
|
3715
3715
|
} else
|
|
@@ -3729,8 +3729,8 @@ const Sl = (e) => {
|
|
|
3729
3729
|
return n;
|
|
3730
3730
|
}, Us = (e) => e.shapeFlag & 7 || e.type === ut;
|
|
3731
3731
|
function Nl(e, t, n) {
|
|
3732
|
-
const { props: r, children:
|
|
3733
|
-
if (process.env.NODE_ENV !== "production" && (
|
|
3732
|
+
const { props: r, children: o, component: s } = e, { props: i, children: c, patchFlag: l } = t, E = s.emitsOptions;
|
|
3733
|
+
if (process.env.NODE_ENV !== "production" && (o || c) && Tt || t.dirs || t.transition)
|
|
3734
3734
|
return !0;
|
|
3735
3735
|
if (n && l >= 0) {
|
|
3736
3736
|
if (l & 1024)
|
|
@@ -3746,16 +3746,16 @@ function Nl(e, t, n) {
|
|
|
3746
3746
|
}
|
|
3747
3747
|
}
|
|
3748
3748
|
} else
|
|
3749
|
-
return (
|
|
3749
|
+
return (o || c) && (!c || !c.$stable) ? !0 : r === i ? !1 : r ? i ? Gs(r, i, E) : !0 : !!i;
|
|
3750
3750
|
return !1;
|
|
3751
3751
|
}
|
|
3752
3752
|
function Gs(e, t, n) {
|
|
3753
3753
|
const r = Object.keys(t);
|
|
3754
3754
|
if (r.length !== Object.keys(e).length)
|
|
3755
3755
|
return !0;
|
|
3756
|
-
for (let
|
|
3757
|
-
const
|
|
3758
|
-
if (t[
|
|
3756
|
+
for (let o = 0; o < r.length; o++) {
|
|
3757
|
+
const s = r[o];
|
|
3758
|
+
if (t[s] !== e[s] && !Qr(n, s))
|
|
3759
3759
|
return !0;
|
|
3760
3760
|
}
|
|
3761
3761
|
return !1;
|
|
@@ -3773,7 +3773,7 @@ const Hc = (e) => e.__isSuspense;
|
|
|
3773
3773
|
function Rl(e, t) {
|
|
3774
3774
|
t && t.pendingBranch ? ce(e) ? t.effects.push(...e) : t.effects.push(e) : uc(e);
|
|
3775
3775
|
}
|
|
3776
|
-
const
|
|
3776
|
+
const Ot = Symbol.for("v-fgt"), dr = Symbol.for("v-txt"), ut = Symbol.for("v-cmt"), Tr = Symbol.for("v-stc"), er = [];
|
|
3777
3777
|
let ct = null;
|
|
3778
3778
|
function Mt(e = !1) {
|
|
3779
3779
|
er.push(ct = e ? null : []);
|
|
@@ -3788,27 +3788,27 @@ function Ks(e, t = !1) {
|
|
|
3788
3788
|
function Wc(e) {
|
|
3789
3789
|
return e.dynamicChildren = sr > 0 ? ct || On : null, xl(), sr > 0 && ct && ct.push(e), e;
|
|
3790
3790
|
}
|
|
3791
|
-
function Yt(e, t, n, r,
|
|
3791
|
+
function Yt(e, t, n, r, o, s) {
|
|
3792
3792
|
return Wc(
|
|
3793
3793
|
Lt(
|
|
3794
3794
|
e,
|
|
3795
3795
|
t,
|
|
3796
3796
|
n,
|
|
3797
3797
|
r,
|
|
3798
|
-
s,
|
|
3799
3798
|
o,
|
|
3799
|
+
s,
|
|
3800
3800
|
!0
|
|
3801
3801
|
)
|
|
3802
3802
|
);
|
|
3803
3803
|
}
|
|
3804
|
-
function Dl(e, t, n, r,
|
|
3804
|
+
function Dl(e, t, n, r, o) {
|
|
3805
3805
|
return Wc(
|
|
3806
3806
|
at(
|
|
3807
3807
|
e,
|
|
3808
3808
|
t,
|
|
3809
3809
|
n,
|
|
3810
3810
|
r,
|
|
3811
|
-
|
|
3811
|
+
o,
|
|
3812
3812
|
!0
|
|
3813
3813
|
)
|
|
3814
3814
|
);
|
|
@@ -3831,7 +3831,7 @@ const Cl = (...e) => Bc(
|
|
|
3831
3831
|
ref_key: t,
|
|
3832
3832
|
ref_for: n
|
|
3833
3833
|
}) => (typeof e == "number" && (e = "" + e), e != null ? He(e) || Ve(e) || ue(e) ? { i: et, r: e, k: t, f: !!n } : e : null);
|
|
3834
|
-
function Lt(e, t = null, n = null, r = 0,
|
|
3834
|
+
function Lt(e, t = null, n = null, r = 0, o = null, s = e === Ot ? 0 : 1, i = !1, c = !1) {
|
|
3835
3835
|
const l = {
|
|
3836
3836
|
__v_isVNode: !0,
|
|
3837
3837
|
__v_skip: !0,
|
|
@@ -3854,25 +3854,25 @@ function Lt(e, t = null, n = null, r = 0, s = null, o = e === wt ? 0 : 1, i = !1
|
|
|
3854
3854
|
targetStart: null,
|
|
3855
3855
|
targetAnchor: null,
|
|
3856
3856
|
staticCount: 0,
|
|
3857
|
-
shapeFlag:
|
|
3857
|
+
shapeFlag: s,
|
|
3858
3858
|
patchFlag: r,
|
|
3859
|
-
dynamicProps:
|
|
3859
|
+
dynamicProps: o,
|
|
3860
3860
|
dynamicChildren: null,
|
|
3861
3861
|
appContext: null,
|
|
3862
3862
|
ctx: et
|
|
3863
3863
|
};
|
|
3864
|
-
return c ? (vs(l, n),
|
|
3864
|
+
return c ? (vs(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= He(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && H("VNode created with invalid key (NaN). VNode type:", l.type), sr > 0 && // avoid a block node from tracking itself
|
|
3865
3865
|
!i && // has current parent block
|
|
3866
3866
|
ct && // presence of a patch flag indicates this node needs patching on updates.
|
|
3867
3867
|
// component nodes also should always be patched, because even if the
|
|
3868
3868
|
// component doesn't need to update, it needs to persist the instance on to
|
|
3869
3869
|
// the next vnode so that it can be properly unmounted later.
|
|
3870
|
-
(l.patchFlag > 0 ||
|
|
3870
|
+
(l.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
3871
3871
|
// vnode should not be considered dynamic due to handler caching.
|
|
3872
3872
|
l.patchFlag !== 32 && ct.push(l), l;
|
|
3873
3873
|
}
|
|
3874
3874
|
const at = process.env.NODE_ENV !== "production" ? Cl : Bc;
|
|
3875
|
-
function Bc(e, t = null, n = null, r = 0,
|
|
3875
|
+
function Bc(e, t = null, n = null, r = 0, o = null, s = !1) {
|
|
3876
3876
|
if ((!e || e === Bu) && (process.env.NODE_ENV !== "production" && !e && H(`Invalid vnode type when creating vnode: ${e}.`), e = ut), Rn(e)) {
|
|
3877
3877
|
const c = en(
|
|
3878
3878
|
e,
|
|
@@ -3880,7 +3880,7 @@ function Bc(e, t = null, n = null, r = 0, s = null, o = !1) {
|
|
|
3880
3880
|
!0
|
|
3881
3881
|
/* mergeRef: true */
|
|
3882
3882
|
);
|
|
3883
|
-
return n && vs(c, n), sr > 0 && !
|
|
3883
|
+
return n && vs(c, n), sr > 0 && !s && ct && (c.shapeFlag & 6 ? ct[ct.indexOf(e)] = c : ct.push(c)), c.patchFlag = -2, c;
|
|
3884
3884
|
}
|
|
3885
3885
|
if (Yc(e) && (e = e.__vccOpts), t) {
|
|
3886
3886
|
t = Pl(t);
|
|
@@ -3898,9 +3898,9 @@ Component that was made reactive: `,
|
|
|
3898
3898
|
t,
|
|
3899
3899
|
n,
|
|
3900
3900
|
r,
|
|
3901
|
-
s,
|
|
3902
|
-
i,
|
|
3903
3901
|
o,
|
|
3902
|
+
i,
|
|
3903
|
+
s,
|
|
3904
3904
|
!0
|
|
3905
3905
|
);
|
|
3906
3906
|
}
|
|
@@ -3908,7 +3908,7 @@ function Pl(e) {
|
|
|
3908
3908
|
return e ? Mr(e) || Tc(e) ? je({}, e) : e : null;
|
|
3909
3909
|
}
|
|
3910
3910
|
function en(e, t, n = !1, r = !1) {
|
|
3911
|
-
const { props:
|
|
3911
|
+
const { props: o, ref: s, patchFlag: i, children: c, transition: l } = e, E = t ? $l(o || {}, t) : o, p = {
|
|
3912
3912
|
__v_isVNode: !0,
|
|
3913
3913
|
__v_skip: !0,
|
|
3914
3914
|
type: e.type,
|
|
@@ -3918,8 +3918,8 @@ function en(e, t, n = !1, r = !1) {
|
|
|
3918
3918
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3919
3919
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3920
3920
|
// the refs so the single vnode can be set on multiple refs
|
|
3921
|
-
n &&
|
|
3922
|
-
) :
|
|
3921
|
+
n && s ? ce(s) ? s.concat(Rr(t)) : [s, Rr(t)] : Rr(t)
|
|
3922
|
+
) : s,
|
|
3923
3923
|
scopeId: e.scopeId,
|
|
3924
3924
|
slotScopeIds: e.slotScopeIds,
|
|
3925
3925
|
children: process.env.NODE_ENV !== "production" && i === -1 && ce(c) ? c.map(Uc) : c,
|
|
@@ -3932,7 +3932,7 @@ function en(e, t, n = !1, r = !1) {
|
|
|
3932
3932
|
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
3933
3933
|
// note: preserve flag for fragments since they use the flag for children
|
|
3934
3934
|
// fast paths only.
|
|
3935
|
-
patchFlag: t && e.type !==
|
|
3935
|
+
patchFlag: t && e.type !== Ot ? i === -1 ? 16 : i | 16 : i,
|
|
3936
3936
|
dynamicProps: e.dynamicProps,
|
|
3937
3937
|
dynamicChildren: e.dynamicChildren,
|
|
3938
3938
|
appContext: e.appContext,
|
|
@@ -3968,7 +3968,7 @@ function on(e = "", t = !1) {
|
|
|
3968
3968
|
}
|
|
3969
3969
|
function dt(e) {
|
|
3970
3970
|
return e == null || typeof e == "boolean" ? at(ut) : ce(e) ? at(
|
|
3971
|
-
|
|
3971
|
+
Ot,
|
|
3972
3972
|
null,
|
|
3973
3973
|
// #3666, avoid reference pollution when reusing vnode
|
|
3974
3974
|
e.slice()
|
|
@@ -3986,13 +3986,13 @@ function vs(e, t) {
|
|
|
3986
3986
|
n = 16;
|
|
3987
3987
|
else if (typeof t == "object")
|
|
3988
3988
|
if (r & 65) {
|
|
3989
|
-
const
|
|
3990
|
-
|
|
3989
|
+
const o = t.default;
|
|
3990
|
+
o && (o._c && (o._d = !1), vs(e, o()), o._c && (o._d = !0));
|
|
3991
3991
|
return;
|
|
3992
3992
|
} else {
|
|
3993
3993
|
n = 32;
|
|
3994
|
-
const
|
|
3995
|
-
!
|
|
3994
|
+
const o = t._;
|
|
3995
|
+
!o && !Tc(t) ? t._ctx = et : o === 3 && et && (et.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
3996
3996
|
}
|
|
3997
3997
|
else ue(t) ? (t = { default: t, _ctx: et }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Il(t)]) : n = 8);
|
|
3998
3998
|
e.children = t, e.shapeFlag |= n;
|
|
@@ -4001,19 +4001,19 @@ function $l(...e) {
|
|
|
4001
4001
|
const t = {};
|
|
4002
4002
|
for (let n = 0; n < e.length; n++) {
|
|
4003
4003
|
const r = e[n];
|
|
4004
|
-
for (const
|
|
4005
|
-
if (
|
|
4004
|
+
for (const o in r)
|
|
4005
|
+
if (o === "class")
|
|
4006
4006
|
t.class !== r.class && (t.class = ts([t.class, r.class]));
|
|
4007
|
-
else if (
|
|
4007
|
+
else if (o === "style")
|
|
4008
4008
|
t.style = jt([t.style, r.style]);
|
|
4009
|
-
else if (ur(
|
|
4010
|
-
const
|
|
4011
|
-
i &&
|
|
4012
|
-
} else
|
|
4009
|
+
else if (ur(o)) {
|
|
4010
|
+
const s = t[o], i = r[o];
|
|
4011
|
+
i && s !== i && !(ce(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
|
|
4012
|
+
} else o !== "" && (t[o] = r[o]);
|
|
4013
4013
|
}
|
|
4014
4014
|
return t;
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function _t(e, t, n, r = null) {
|
|
4017
4017
|
xt(e, t, 7, [
|
|
4018
4018
|
n,
|
|
4019
4019
|
r
|
|
@@ -4022,12 +4022,12 @@ function yt(e, t, n, r = null) {
|
|
|
4022
4022
|
const Ml = Sc();
|
|
4023
4023
|
let Ll = 0;
|
|
4024
4024
|
function Vl(e, t, n) {
|
|
4025
|
-
const r = e.type,
|
|
4025
|
+
const r = e.type, o = (t ? t.appContext : e.appContext) || Ml, s = {
|
|
4026
4026
|
uid: Ll++,
|
|
4027
4027
|
vnode: e,
|
|
4028
4028
|
type: r,
|
|
4029
4029
|
parent: t,
|
|
4030
|
-
appContext:
|
|
4030
|
+
appContext: o,
|
|
4031
4031
|
root: null,
|
|
4032
4032
|
// to be immediately set
|
|
4033
4033
|
next: null,
|
|
@@ -4046,7 +4046,7 @@ function Vl(e, t, n) {
|
|
|
4046
4046
|
exposed: null,
|
|
4047
4047
|
exposeProxy: null,
|
|
4048
4048
|
withProxy: null,
|
|
4049
|
-
provides: t ? t.provides : Object.create(
|
|
4049
|
+
provides: t ? t.provides : Object.create(o.provides),
|
|
4050
4050
|
ids: t ? t.ids : ["", 0, 0],
|
|
4051
4051
|
accessCache: null,
|
|
4052
4052
|
renderCache: [],
|
|
@@ -4054,8 +4054,8 @@ function Vl(e, t, n) {
|
|
|
4054
4054
|
components: null,
|
|
4055
4055
|
directives: null,
|
|
4056
4056
|
// resolved props and emits options
|
|
4057
|
-
propsOptions: xc(r,
|
|
4058
|
-
emitsOptions: Vc(r,
|
|
4057
|
+
propsOptions: xc(r, o),
|
|
4058
|
+
emitsOptions: Vc(r, o),
|
|
4059
4059
|
// emit
|
|
4060
4060
|
emit: null,
|
|
4061
4061
|
// to be set immediately
|
|
@@ -4098,16 +4098,16 @@ function Vl(e, t, n) {
|
|
|
4098
4098
|
ec: null,
|
|
4099
4099
|
sp: null
|
|
4100
4100
|
};
|
|
4101
|
-
return process.env.NODE_ENV !== "production" ?
|
|
4101
|
+
return process.env.NODE_ENV !== "production" ? s.ctx = Uu(s) : s.ctx = { _: s }, s.root = t ? t.root : s, s.emit = Ol.bind(null, s), e.ce && e.ce(s), s;
|
|
4102
4102
|
}
|
|
4103
4103
|
let Ue = null;
|
|
4104
4104
|
const jl = () => Ue || et;
|
|
4105
4105
|
let Gr, Go;
|
|
4106
4106
|
{
|
|
4107
4107
|
const e = lr(), t = (n, r) => {
|
|
4108
|
-
let
|
|
4109
|
-
return (
|
|
4110
|
-
|
|
4108
|
+
let o;
|
|
4109
|
+
return (o = e[n]) || (o = e[n] = []), o.push(r), (s) => {
|
|
4110
|
+
o.length > 1 ? o.forEach((i) => i(s)) : o[0](s);
|
|
4111
4111
|
};
|
|
4112
4112
|
};
|
|
4113
4113
|
Gr = t(
|
|
@@ -4137,9 +4137,9 @@ function Gc(e) {
|
|
|
4137
4137
|
let ir = !1;
|
|
4138
4138
|
function Wl(e, t = !1, n = !1) {
|
|
4139
4139
|
t && Go(t);
|
|
4140
|
-
const { props: r, children:
|
|
4141
|
-
tl(e, r,
|
|
4142
|
-
const i =
|
|
4140
|
+
const { props: r, children: o } = e.vnode, s = Gc(e);
|
|
4141
|
+
tl(e, r, s, t), pl(e, o, n);
|
|
4142
|
+
const i = s ? Fl(e, t) : void 0;
|
|
4143
4143
|
return t && Go(!1), i;
|
|
4144
4144
|
}
|
|
4145
4145
|
function Fl(e, t) {
|
|
@@ -4147,30 +4147,30 @@ function Fl(e, t) {
|
|
|
4147
4147
|
const r = e.type;
|
|
4148
4148
|
if (process.env.NODE_ENV !== "production") {
|
|
4149
4149
|
if (r.name && Ko(r.name, e.appContext.config), r.components) {
|
|
4150
|
-
const
|
|
4151
|
-
for (let i = 0; i <
|
|
4152
|
-
Ko(
|
|
4150
|
+
const s = Object.keys(r.components);
|
|
4151
|
+
for (let i = 0; i < s.length; i++)
|
|
4152
|
+
Ko(s[i], e.appContext.config);
|
|
4153
4153
|
}
|
|
4154
4154
|
if (r.directives) {
|
|
4155
|
-
const
|
|
4156
|
-
for (let i = 0; i <
|
|
4157
|
-
mc(
|
|
4155
|
+
const s = Object.keys(r.directives);
|
|
4156
|
+
for (let i = 0; i < s.length; i++)
|
|
4157
|
+
mc(s[i]);
|
|
4158
4158
|
}
|
|
4159
4159
|
r.compilerOptions && Bl() && H(
|
|
4160
4160
|
'"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
|
|
4161
4161
|
);
|
|
4162
4162
|
}
|
|
4163
4163
|
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, bc), process.env.NODE_ENV !== "production" && Gu(e);
|
|
4164
|
-
const { setup:
|
|
4165
|
-
if (
|
|
4164
|
+
const { setup: o } = r;
|
|
4165
|
+
if (o) {
|
|
4166
4166
|
Bt();
|
|
4167
|
-
const
|
|
4168
|
-
|
|
4167
|
+
const s = e.setupContext = o.length > 1 ? Gl(e) : null, i = hr(e), c = $n(
|
|
4168
|
+
o,
|
|
4169
4169
|
e,
|
|
4170
4170
|
0,
|
|
4171
4171
|
[
|
|
4172
|
-
process.env.NODE_ENV !== "production" ?
|
|
4173
|
-
|
|
4172
|
+
process.env.NODE_ENV !== "production" ? Nt(e.props) : e.props,
|
|
4173
|
+
s
|
|
4174
4174
|
]
|
|
4175
4175
|
), l = Zo(c);
|
|
4176
4176
|
if (Ut(), i(), (l || e.sp) && !Qn(e) && vc(e), l) {
|
|
@@ -4203,12 +4203,12 @@ function Kc(e, t, n) {
|
|
|
4203
4203
|
const r = e.type;
|
|
4204
4204
|
e.render || (e.render = r.render || Fe);
|
|
4205
4205
|
{
|
|
4206
|
-
const
|
|
4206
|
+
const o = hr(e);
|
|
4207
4207
|
Bt();
|
|
4208
4208
|
try {
|
|
4209
4209
|
Yu(e);
|
|
4210
4210
|
} finally {
|
|
4211
|
-
Ut(),
|
|
4211
|
+
Ut(), o();
|
|
4212
4212
|
}
|
|
4213
4213
|
}
|
|
4214
4214
|
process.env.NODE_ENV !== "production" && !r.render && e.render === Fe && !t && (r.template ? H(
|
|
@@ -4257,7 +4257,7 @@ function Gl(e) {
|
|
|
4257
4257
|
return r || (r = Ul(e));
|
|
4258
4258
|
},
|
|
4259
4259
|
get emit() {
|
|
4260
|
-
return (
|
|
4260
|
+
return (o, ...s) => e.emit(o, ...s);
|
|
4261
4261
|
},
|
|
4262
4262
|
expose: t
|
|
4263
4263
|
});
|
|
@@ -4289,25 +4289,25 @@ function kc(e, t = !0) {
|
|
|
4289
4289
|
function to(e, t, n = !1) {
|
|
4290
4290
|
let r = kc(t);
|
|
4291
4291
|
if (!r && t.__file) {
|
|
4292
|
-
const
|
|
4293
|
-
|
|
4292
|
+
const o = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
4293
|
+
o && (r = o[1]);
|
|
4294
4294
|
}
|
|
4295
4295
|
if (!r && e && e.parent) {
|
|
4296
|
-
const
|
|
4297
|
-
for (const i in
|
|
4298
|
-
if (
|
|
4296
|
+
const o = (s) => {
|
|
4297
|
+
for (const i in s)
|
|
4298
|
+
if (s[i] === t)
|
|
4299
4299
|
return i;
|
|
4300
4300
|
};
|
|
4301
|
-
r =
|
|
4301
|
+
r = o(
|
|
4302
4302
|
e.components || e.parent.type.components
|
|
4303
|
-
) ||
|
|
4303
|
+
) || o(e.appContext.components);
|
|
4304
4304
|
}
|
|
4305
4305
|
return r ? kl(r) : n ? "App" : "Anonymous";
|
|
4306
4306
|
}
|
|
4307
4307
|
function Yc(e) {
|
|
4308
4308
|
return ue(e) && "__vccOpts" in e;
|
|
4309
4309
|
}
|
|
4310
|
-
const
|
|
4310
|
+
const bt = (e, t) => {
|
|
4311
4311
|
const n = ru(e, t, ir);
|
|
4312
4312
|
if (process.env.NODE_ENV !== "production") {
|
|
4313
4313
|
const r = jl();
|
|
@@ -4322,7 +4322,7 @@ function Yl(e, t, n) {
|
|
|
4322
4322
|
function ql() {
|
|
4323
4323
|
if (process.env.NODE_ENV === "production" || typeof window > "u")
|
|
4324
4324
|
return;
|
|
4325
|
-
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" },
|
|
4325
|
+
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, o = {
|
|
4326
4326
|
__vue_custom_formatter: !0,
|
|
4327
4327
|
header(d) {
|
|
4328
4328
|
return De(d) ? d.__isVue ? ["div", e, "VueInstance"] : Ve(d) ? [
|
|
@@ -4357,11 +4357,11 @@ function ql() {
|
|
|
4357
4357
|
return [
|
|
4358
4358
|
"div",
|
|
4359
4359
|
{},
|
|
4360
|
-
...
|
|
4360
|
+
...s(d.$)
|
|
4361
4361
|
];
|
|
4362
4362
|
}
|
|
4363
4363
|
};
|
|
4364
|
-
function
|
|
4364
|
+
function s(d) {
|
|
4365
4365
|
const h = [];
|
|
4366
4366
|
d.type.props && d.props && h.push(i("props", me(d.props))), d.setupState !== Ne && h.push(i("setup", d.setupState)), d.data !== Ne && h.push(i("data", me(d.data)));
|
|
4367
4367
|
const O = l(d, "computed");
|
|
@@ -4425,7 +4425,7 @@ function ql() {
|
|
|
4425
4425
|
function p(d) {
|
|
4426
4426
|
return rt(d) ? "ShallowRef" : d.effect ? "ComputedRef" : "Ref";
|
|
4427
4427
|
}
|
|
4428
|
-
window.devtoolsFormatters ? window.devtoolsFormatters.push(
|
|
4428
|
+
window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
|
|
4429
4429
|
}
|
|
4430
4430
|
const zs = "3.5.13", no = process.env.NODE_ENV !== "production" ? H : Fe;
|
|
4431
4431
|
process.env.NODE_ENV;
|
|
@@ -4454,8 +4454,8 @@ const qc = ko ? (e) => ko.createHTML(e) : (e) => e, zl = "http://www.w3.org/2000
|
|
|
4454
4454
|
t && t.removeChild(e);
|
|
4455
4455
|
},
|
|
4456
4456
|
createElement: (e, t, n, r) => {
|
|
4457
|
-
const
|
|
4458
|
-
return e === "select" && r && r.multiple != null &&
|
|
4457
|
+
const o = t === "svg" ? Vt.createElementNS(zl, e) : t === "mathml" ? Vt.createElementNS(Jl, e) : n ? Vt.createElement(e, { is: n }) : Vt.createElement(e);
|
|
4458
|
+
return e === "select" && r && r.multiple != null && o.setAttribute("multiple", r.multiple), o;
|
|
4459
4459
|
},
|
|
4460
4460
|
createText: (e) => Vt.createTextNode(e),
|
|
4461
4461
|
createComment: (e) => Vt.createComment(e),
|
|
@@ -4475,10 +4475,10 @@ const qc = ko ? (e) => ko.createHTML(e) : (e) => e, zl = "http://www.w3.org/2000
|
|
|
4475
4475
|
// Reason: innerHTML.
|
|
4476
4476
|
// Static content here can only come from compiled templates.
|
|
4477
4477
|
// As long as the user only uses trusted templates, this is safe.
|
|
4478
|
-
insertStaticContent(e, t, n, r,
|
|
4478
|
+
insertStaticContent(e, t, n, r, o, s) {
|
|
4479
4479
|
const i = n ? n.previousSibling : t.lastChild;
|
|
4480
|
-
if (
|
|
4481
|
-
for (; t.insertBefore(
|
|
4480
|
+
if (o && (o === s || o.nextSibling))
|
|
4481
|
+
for (; t.insertBefore(o.cloneNode(!0), n), !(o === s || !(o = o.nextSibling)); )
|
|
4482
4482
|
;
|
|
4483
4483
|
else {
|
|
4484
4484
|
Xs.innerHTML = qc(
|
|
@@ -4527,9 +4527,9 @@ function Kn(e, t) {
|
|
|
4527
4527
|
}
|
|
4528
4528
|
const ef = Symbol(process.env.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), tf = /(^|;)\s*display\s*:/;
|
|
4529
4529
|
function nf(e, t, n) {
|
|
4530
|
-
const r = e.style,
|
|
4531
|
-
let
|
|
4532
|
-
if (n && !
|
|
4530
|
+
const r = e.style, o = He(n);
|
|
4531
|
+
let s = !1;
|
|
4532
|
+
if (n && !o) {
|
|
4533
4533
|
if (t)
|
|
4534
4534
|
if (He(t))
|
|
4535
4535
|
for (const i of t.split(";")) {
|
|
@@ -4540,14 +4540,14 @@ function nf(e, t, n) {
|
|
|
4540
4540
|
for (const i in t)
|
|
4541
4541
|
n[i] == null && xr(r, i, "");
|
|
4542
4542
|
for (const i in n)
|
|
4543
|
-
i === "display" && (
|
|
4544
|
-
} else if (
|
|
4543
|
+
i === "display" && (s = !0), xr(r, i, n[i]);
|
|
4544
|
+
} else if (o) {
|
|
4545
4545
|
if (t !== n) {
|
|
4546
4546
|
const i = r[ef];
|
|
4547
|
-
i && (n += ";" + i), r.cssText = n,
|
|
4547
|
+
i && (n += ";" + i), r.cssText = n, s = tf.test(n);
|
|
4548
4548
|
}
|
|
4549
4549
|
} else t && e.removeAttribute("style");
|
|
4550
|
-
Kr in e && (e[Kr] =
|
|
4550
|
+
Kr in e && (e[Kr] = s ? r.display : "", e[zc] && (r.display = "none"));
|
|
4551
4551
|
}
|
|
4552
4552
|
const rf = /[^\\];\s*$/, Zs = /\s*!important$/;
|
|
4553
4553
|
function xr(e, t, n) {
|
|
@@ -4575,29 +4575,29 @@ function of(e, t) {
|
|
|
4575
4575
|
if (r !== "filter" && r in e)
|
|
4576
4576
|
return _o[t] = r;
|
|
4577
4577
|
r = qr(r);
|
|
4578
|
-
for (let
|
|
4579
|
-
const
|
|
4580
|
-
if (
|
|
4581
|
-
return _o[t] =
|
|
4578
|
+
for (let o = 0; o < Qs.length; o++) {
|
|
4579
|
+
const s = Qs[o] + r;
|
|
4580
|
+
if (s in e)
|
|
4581
|
+
return _o[t] = s;
|
|
4582
4582
|
}
|
|
4583
4583
|
return t;
|
|
4584
4584
|
}
|
|
4585
4585
|
const ei = "http://www.w3.org/1999/xlink";
|
|
4586
|
-
function ti(e, t, n, r,
|
|
4587
|
-
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ei, t.slice(6, t.length)) : e.setAttributeNS(ei, t, n) : n == null ||
|
|
4586
|
+
function ti(e, t, n, r, o, s = Da(t)) {
|
|
4587
|
+
r && t.startsWith("xlink:") ? n == null ? e.removeAttributeNS(ei, t.slice(6, t.length)) : e.setAttributeNS(ei, t, n) : n == null || s && !Fi(n) ? e.removeAttribute(t) : e.setAttribute(
|
|
4588
4588
|
t,
|
|
4589
|
-
|
|
4589
|
+
s ? "" : In(n) ? String(n) : n
|
|
4590
4590
|
);
|
|
4591
4591
|
}
|
|
4592
|
-
function ni(e, t, n, r,
|
|
4592
|
+
function ni(e, t, n, r, o) {
|
|
4593
4593
|
if (t === "innerHTML" || t === "textContent") {
|
|
4594
4594
|
n != null && (e[t] = t === "innerHTML" ? qc(n) : n);
|
|
4595
4595
|
return;
|
|
4596
4596
|
}
|
|
4597
|
-
const
|
|
4598
|
-
if (t === "value" &&
|
|
4599
|
-
!
|
|
4600
|
-
const c =
|
|
4597
|
+
const s = e.tagName;
|
|
4598
|
+
if (t === "value" && s !== "PROGRESS" && // custom elements may use _value internally
|
|
4599
|
+
!s.includes("-")) {
|
|
4600
|
+
const c = s === "OPTION" ? e.getAttribute("value") || "" : e.value, l = n == null ? (
|
|
4601
4601
|
// #11647: value should be set as empty string for null and undefined,
|
|
4602
4602
|
// but <input type="checkbox"> should be set as 'on'.
|
|
4603
4603
|
e.type === "checkbox" ? "on" : ""
|
|
@@ -4614,11 +4614,11 @@ function ni(e, t, n, r, s) {
|
|
|
4614
4614
|
e[t] = n;
|
|
4615
4615
|
} catch (c) {
|
|
4616
4616
|
process.env.NODE_ENV !== "production" && !i && no(
|
|
4617
|
-
`Failed setting prop "${t}" on <${
|
|
4617
|
+
`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${n} is invalid.`,
|
|
4618
4618
|
c
|
|
4619
4619
|
);
|
|
4620
4620
|
}
|
|
4621
|
-
i && e.removeAttribute(
|
|
4621
|
+
i && e.removeAttribute(o || t);
|
|
4622
4622
|
}
|
|
4623
4623
|
function sf(e, t, n, r) {
|
|
4624
4624
|
e.addEventListener(t, n, r);
|
|
@@ -4627,19 +4627,19 @@ function cf(e, t, n, r) {
|
|
|
4627
4627
|
e.removeEventListener(t, n, r);
|
|
4628
4628
|
}
|
|
4629
4629
|
const ri = Symbol("_vei");
|
|
4630
|
-
function af(e, t, n, r,
|
|
4631
|
-
const
|
|
4630
|
+
function af(e, t, n, r, o = null) {
|
|
4631
|
+
const s = e[ri] || (e[ri] = {}), i = s[t];
|
|
4632
4632
|
if (r && i)
|
|
4633
4633
|
i.value = process.env.NODE_ENV !== "production" ? si(r, t) : r;
|
|
4634
4634
|
else {
|
|
4635
4635
|
const [c, l] = uf(t);
|
|
4636
4636
|
if (r) {
|
|
4637
|
-
const E =
|
|
4637
|
+
const E = s[t] = pf(
|
|
4638
4638
|
process.env.NODE_ENV !== "production" ? si(r, t) : r,
|
|
4639
|
-
|
|
4639
|
+
o
|
|
4640
4640
|
);
|
|
4641
4641
|
sf(e, c, E, l);
|
|
4642
|
-
} else i && (cf(e, c, i, l),
|
|
4642
|
+
} else i && (cf(e, c, i, l), s[t] = void 0);
|
|
4643
4643
|
}
|
|
4644
4644
|
}
|
|
4645
4645
|
const oi = /(?:Once|Passive|Capture)$/;
|
|
@@ -4682,15 +4682,15 @@ function df(e, t) {
|
|
|
4682
4682
|
return e.stopImmediatePropagation = () => {
|
|
4683
4683
|
n.call(e), e._stopped = !0;
|
|
4684
4684
|
}, t.map(
|
|
4685
|
-
(r) => (
|
|
4685
|
+
(r) => (o) => !o._stopped && r && r(o)
|
|
4686
4686
|
);
|
|
4687
4687
|
} else
|
|
4688
4688
|
return t;
|
|
4689
4689
|
}
|
|
4690
4690
|
const ii = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4691
|
-
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, hf = (e, t, n, r,
|
|
4692
|
-
const i =
|
|
4693
|
-
t === "class" ? Ql(e, r, i) : t === "style" ? nf(e, n, r) : ur(t) ? Ir(t) || af(e, t, n, r,
|
|
4691
|
+
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, hf = (e, t, n, r, o, s) => {
|
|
4692
|
+
const i = o === "svg";
|
|
4693
|
+
t === "class" ? Ql(e, r, i) : t === "style" ? nf(e, n, r) : ur(t) ? Ir(t) || af(e, t, n, r, s) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : gf(e, t, r, i)) ? (ni(e, t, r), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && ti(e, t, r, i, s, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !He(r)) ? ni(e, gt(t), r, s, t) : (t === "true-value" ? e._trueValue = r : t === "false-value" && (e._falseValue = r), ti(e, t, r, i));
|
|
4694
4694
|
};
|
|
4695
4695
|
function gf(e, t, n, r) {
|
|
4696
4696
|
if (r)
|
|
@@ -4698,8 +4698,8 @@ function gf(e, t, n, r) {
|
|
|
4698
4698
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4699
4699
|
return !1;
|
|
4700
4700
|
if (t === "width" || t === "height") {
|
|
4701
|
-
const
|
|
4702
|
-
if (
|
|
4701
|
+
const o = e.tagName;
|
|
4702
|
+
if (o === "IMG" || o === "VIDEO" || o === "CANVAS" || o === "SOURCE")
|
|
4703
4703
|
return !1;
|
|
4704
4704
|
}
|
|
4705
4705
|
return ii(t) && He(n) ? !1 : t in e;
|
|
@@ -4726,9 +4726,9 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4726
4726
|
props: ["type", "clearBackgroundStyles", "microAppsContainerStyle"],
|
|
4727
4727
|
emits: ["layoutMounted"],
|
|
4728
4728
|
setup(e, { emit: t }) {
|
|
4729
|
-
const n = e, r = t,
|
|
4730
|
-
|
|
4731
|
-
const d =
|
|
4729
|
+
const n = e, r = t, o = bt(() => p.value.microApps || []), s = vt("container"), i = vt("mainApp"), c = vt("microApp"), l = bt(() => ["mainApp"].includes(n.type)), E = bt(() => ["microApp"].includes(n.type)), p = qe(s.data.get());
|
|
4730
|
+
s.data.watch((K) => p.value = K);
|
|
4731
|
+
const d = bt(() => ({
|
|
4732
4732
|
nav: p.value.navVisible ?? p.value.frameVisible ?? p.value.visible ?? !0,
|
|
4733
4733
|
menu: p.value.menuVisible ?? p.value.frameVisible ?? p.value.visible ?? !0,
|
|
4734
4734
|
tab: p.value.tabVisible ?? p.value.frameVisible ?? p.value.visible ?? !0,
|
|
@@ -4743,14 +4743,14 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4743
4743
|
menu: qe(null),
|
|
4744
4744
|
tab: qe(null),
|
|
4745
4745
|
mount: qe(null)
|
|
4746
|
-
}, $ =
|
|
4746
|
+
}, $ = bt(() => p.value.activeMicroAppName || ""), j = bt(() => {
|
|
4747
4747
|
var K, k, F, N, se, ge;
|
|
4748
4748
|
return {
|
|
4749
4749
|
navHeight: (((k = (K = p.value) == null ? void 0 : K.navRect) == null ? void 0 : k.height) || 0) + "px",
|
|
4750
4750
|
menuWidth: (((N = (F = p.value) == null ? void 0 : F.menuRect) == null ? void 0 : N.width) || 0) + "px",
|
|
4751
4751
|
tabHeight: (((ge = (se = p.value) == null ? void 0 : se.tabRect) == null ? void 0 : ge.height) || 0) + "px"
|
|
4752
4752
|
};
|
|
4753
|
-
}), B =
|
|
4753
|
+
}), B = bt(() => ({
|
|
4754
4754
|
position: "relative",
|
|
4755
4755
|
height: "100%",
|
|
4756
4756
|
display: "flex",
|
|
@@ -4789,8 +4789,8 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4789
4789
|
if (U.x = k.x, U.y = k.x, K === "mouseenter") {
|
|
4790
4790
|
if (l.value) {
|
|
4791
4791
|
if (!$.value)
|
|
4792
|
-
return
|
|
4793
|
-
|
|
4792
|
+
return s.data.set({ microAppStickStatus: !1 });
|
|
4793
|
+
s.data.set({ microAppStickStatus: F === "mount" });
|
|
4794
4794
|
}
|
|
4795
4795
|
if (E.value) {
|
|
4796
4796
|
if (te()) return c.cors.send("microAppStickStatus", !0);
|
|
@@ -4804,8 +4804,8 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4804
4804
|
}
|
|
4805
4805
|
},
|
|
4806
4806
|
20
|
|
4807
|
-
), L =
|
|
4808
|
-
|
|
4807
|
+
), L = bt(() => ({ ...E.value ? n.clearBackgroundStyles || {} : {} })), ne = qe(!1);
|
|
4808
|
+
At(
|
|
4809
4809
|
() => $.value,
|
|
4810
4810
|
() => {
|
|
4811
4811
|
ne.value = !0, setTimeout(() => {
|
|
@@ -4813,11 +4813,11 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4813
4813
|
}, 300);
|
|
4814
4814
|
}
|
|
4815
4815
|
);
|
|
4816
|
-
const le =
|
|
4816
|
+
const le = bt(() => {
|
|
4817
4817
|
var k;
|
|
4818
4818
|
let K = {
|
|
4819
4819
|
...n.microAppsContainerStyle || {},
|
|
4820
|
-
display: (k =
|
|
4820
|
+
display: (k = o.value) != null && k.length && $.value ? "block" : "none",
|
|
4821
4821
|
position: "absolute",
|
|
4822
4822
|
zIndex: ne.value ? -1 : 1,
|
|
4823
4823
|
top: 0,
|
|
@@ -4833,37 +4833,37 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4833
4833
|
var we;
|
|
4834
4834
|
const se = (we = h[N]) == null ? void 0 : we.value, ge = () => {
|
|
4835
4835
|
const { x: ve, y: z, width: ie, height: ye } = (se == null ? void 0 : se.getBoundingClientRect()) || {};
|
|
4836
|
-
|
|
4836
|
+
s.data.set({ [`${N}Rect`]: { x: ve, y: z, width: ie, height: ye } });
|
|
4837
4837
|
};
|
|
4838
4838
|
ge(), new MutationObserver(ge).observe(se, { childList: !0, subtree: !0 });
|
|
4839
4839
|
};
|
|
4840
4840
|
await Promise.all([
|
|
4841
4841
|
...Object.keys(h).map(async (N) => {
|
|
4842
4842
|
const se = h[N];
|
|
4843
|
-
await new Promise((ge) =>
|
|
4843
|
+
await new Promise((ge) => At(() => se.value, ge)), F(N);
|
|
4844
4844
|
}),
|
|
4845
4845
|
...Object.keys(O).map(async (N) => {
|
|
4846
|
-
await new Promise((se) =>
|
|
4846
|
+
await new Promise((se) => At(() => O[N].value, se));
|
|
4847
4847
|
})
|
|
4848
|
-
]),
|
|
4848
|
+
]), s.event.emit("onLayoutMounted"), r("layoutMounted", {
|
|
4849
4849
|
navDom: O.nav.value,
|
|
4850
4850
|
menuDom: O.menu.value,
|
|
4851
4851
|
tabDom: O.tab.value,
|
|
4852
4852
|
mountDom: O.mount.value
|
|
4853
4853
|
});
|
|
4854
|
-
})(),
|
|
4854
|
+
})(), s.data.watch(() => {
|
|
4855
4855
|
const F = p.value.activeMicroAppName;
|
|
4856
4856
|
if (!F) return;
|
|
4857
|
-
const N =
|
|
4857
|
+
const N = s.data.get(s.expose.getLayoutDataKeys());
|
|
4858
4858
|
i.cors.send(F, "layoutDataChange", N);
|
|
4859
|
-
},
|
|
4860
|
-
|
|
4859
|
+
}, s.expose.getLayoutDataKeys()), i.cors.on("microAppStickStatus", (F) => {
|
|
4860
|
+
s.data.set({ microAppStickStatus: F.data });
|
|
4861
4861
|
});
|
|
4862
4862
|
const { setIframeMountDom: k } = ga();
|
|
4863
|
-
|
|
4863
|
+
At(() => pe.value, k);
|
|
4864
4864
|
}
|
|
4865
4865
|
if (E.value) {
|
|
4866
|
-
|
|
4866
|
+
s.data.set({ microAppStickStatus: !0 });
|
|
4867
4867
|
let K = {};
|
|
4868
4868
|
try {
|
|
4869
4869
|
K = JSON.parse(window.name);
|
|
@@ -4871,22 +4871,22 @@ const _f = { style: { flex: "1", display: "flex", "min-height": "0" } }, bf = {
|
|
|
4871
4871
|
}
|
|
4872
4872
|
const { appInfo: k, parentData: F = {} } = K;
|
|
4873
4873
|
setTimeout(() => {
|
|
4874
|
-
|
|
4874
|
+
s.data.set(F.layoutData);
|
|
4875
4875
|
}, 0), c.data.set({ appInfo: k }), c.cors.on("layoutDataChange", (se) => {
|
|
4876
|
-
|
|
4876
|
+
s.data.set(se.data);
|
|
4877
4877
|
}), (async () => {
|
|
4878
4878
|
await Promise.all([
|
|
4879
4879
|
...Object.keys(h).map(async (se) => {
|
|
4880
4880
|
const ge = h[se];
|
|
4881
|
-
await new Promise((we) =>
|
|
4881
|
+
await new Promise((we) => At(() => ge.value, we));
|
|
4882
4882
|
})
|
|
4883
|
-
]),
|
|
4883
|
+
]), s.event.emit("onLayoutMounted"), r("layoutMounted", {
|
|
4884
4884
|
mountDom: O.mount.value
|
|
4885
4885
|
});
|
|
4886
4886
|
})();
|
|
4887
4887
|
}
|
|
4888
4888
|
return yc(() => {
|
|
4889
|
-
|
|
4889
|
+
s.event.emit("onMounted");
|
|
4890
4890
|
}), (K, k) => (Mt(), Yt("div", {
|
|
4891
4891
|
style: jt(B.value)
|
|
4892
4892
|
}, [
|
|
@@ -4979,19 +4979,19 @@ function wo(e) {
|
|
|
4979
4979
|
"box-shadow",
|
|
4980
4980
|
"filter"
|
|
4981
4981
|
], n = getComputedStyle(e), r = {};
|
|
4982
|
-
return t.map((
|
|
4983
|
-
r[
|
|
4984
|
-
}), t.map((
|
|
4985
|
-
e.style[
|
|
4982
|
+
return t.map((o) => {
|
|
4983
|
+
r[o] = n[o];
|
|
4984
|
+
}), t.map((o) => {
|
|
4985
|
+
e.style[o] = "none";
|
|
4986
4986
|
}), r;
|
|
4987
4987
|
}
|
|
4988
4988
|
const Jc = async (e) => {
|
|
4989
|
-
const { appendTo: t = "#app", type: n, autoClearBackground: r } = e || {},
|
|
4990
|
-
let
|
|
4991
|
-
if (typeof t == "string" && (
|
|
4992
|
-
|
|
4989
|
+
const { appendTo: t = "#app", type: n, autoClearBackground: r } = e || {}, o = n === "microApp";
|
|
4990
|
+
let s;
|
|
4991
|
+
if (typeof t == "string" && (s = document.getElementById(t.replace("#", ""))), t instanceof HTMLElement && (s = t), !s) throw new Error("appendTo must be #id string or HTMLElement");
|
|
4992
|
+
vt("container").data.set({ initOptions: e });
|
|
4993
4993
|
let c = {};
|
|
4994
|
-
|
|
4994
|
+
o && r !== !1 && (Object.assign(c, wo(document.documentElement)), Object.assign(c, wo(document.body)), Object.assign(c, wo(s)));
|
|
4995
4995
|
const l = qe(!0);
|
|
4996
4996
|
let E = {};
|
|
4997
4997
|
const p = Yl(wf, {
|
|
@@ -5001,15 +5001,15 @@ const Jc = async (e) => {
|
|
|
5001
5001
|
E = d, l.value = !1;
|
|
5002
5002
|
}
|
|
5003
5003
|
});
|
|
5004
|
-
return Ef(p,
|
|
5005
|
-
},
|
|
5004
|
+
return Ef(p, s), l.value && await new Promise((d) => At(() => l.value, d)), E;
|
|
5005
|
+
}, Dg = async (e) => {
|
|
5006
5006
|
e || (e = {});
|
|
5007
|
-
const { microApps: t = [] } = e, n = await Jc({ type: "mainApp", ...e }), r =
|
|
5007
|
+
const { microApps: t = [] } = e, n = await Jc({ type: "mainApp", ...e }), r = vt("container"), o = vt("mainApp"), { addRouterEventListener: s } = Zc(), i = Xc(), c = qe(t);
|
|
5008
5008
|
r.data.watch((B) => c.value = B.microApps, ["microApps"]), r.data.set({ microApps: t });
|
|
5009
5009
|
const { registerIframe: l, loadIframe: E, hideIframe: p, iframeEvent: d, checkIframeStatus: h } = ga();
|
|
5010
5010
|
d.on("mounted", (B) => {
|
|
5011
5011
|
var U;
|
|
5012
|
-
|
|
5012
|
+
o.expose.connectMicroApp(B);
|
|
5013
5013
|
const J = r.data.get().microApps.find((re) => re.name === B.name);
|
|
5014
5014
|
if (!J) return;
|
|
5015
5015
|
if (!(((U = J.router) == null ? void 0 : U.sync) ?? !0)) {
|
|
@@ -5020,7 +5020,7 @@ const Jc = async (e) => {
|
|
|
5020
5020
|
i.addRule(B.name, B.activeRule), l(B.name, B);
|
|
5021
5021
|
});
|
|
5022
5022
|
const O = qe(!1);
|
|
5023
|
-
|
|
5023
|
+
o.cors.on("reportRouter", (B) => {
|
|
5024
5024
|
var N, se, ge;
|
|
5025
5025
|
const { data: J } = B || {};
|
|
5026
5026
|
if (!J.appInfo) return;
|
|
@@ -5033,12 +5033,14 @@ const Jc = async (e) => {
|
|
|
5033
5033
|
((se = te.router) == null ? void 0 : se.mode) === "hash" && (F = K.replace("#", "")), ((ge = r.data.get().initOptions.router) == null ? void 0 : ge.mode) === "hash" && (le = `/${L}`, F = `/#${F}`), le !== F && (O.value = !0, setTimeout(() => {
|
|
5034
5034
|
O.value = !1;
|
|
5035
5035
|
}, 300), i.replaceState(F));
|
|
5036
|
+
}), o.cors.on("customEventFromMicro", (B) => {
|
|
5037
|
+
o.event.emit("customEventFromMicro", B.data);
|
|
5036
5038
|
});
|
|
5037
5039
|
const $ = (B, J) => {
|
|
5038
5040
|
var re;
|
|
5039
5041
|
const { path: te } = J;
|
|
5040
5042
|
let U = te;
|
|
5041
|
-
((re = B.router) == null ? void 0 : re.mode) === "hash" && (U = `/#${te}`),
|
|
5043
|
+
((re = B.router) == null ? void 0 : re.mode) === "hash" && (U = `/#${te}`), o.cors.send(B.name, "syncRouter", {
|
|
5042
5044
|
appInfo: B,
|
|
5043
5045
|
parentRouter: J,
|
|
5044
5046
|
replacePath: U
|
|
@@ -5064,7 +5066,7 @@ const Jc = async (e) => {
|
|
|
5064
5066
|
const pe = { href: window.location.href, mode: B, path: re };
|
|
5065
5067
|
h(ne.name, "deactivated") && (await E(ne.name), $(ne, pe)), h(ne.name, ["mounted", "activated"]) && $(ne, pe), h(ne.name, "registered") && await E(ne.name, { path: le });
|
|
5066
5068
|
};
|
|
5067
|
-
return
|
|
5069
|
+
return s(["replaceState"], j), n;
|
|
5068
5070
|
};
|
|
5069
5071
|
function Of(e) {
|
|
5070
5072
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -5073,11 +5075,11 @@ var Oo = {}, So, ai;
|
|
|
5073
5075
|
function ro() {
|
|
5074
5076
|
if (ai) return So;
|
|
5075
5077
|
ai = 1;
|
|
5076
|
-
const e = "\\\\/", t = `[^${e}]`, n = "\\.", r = "\\+",
|
|
5078
|
+
const e = "\\\\/", t = `[^${e}]`, n = "\\.", r = "\\+", o = "\\?", s = "\\/", i = "(?=.)", c = "[^/]", l = `(?:${s}|$)`, E = `(?:^|${s})`, p = `${n}{1,2}${l}`, d = `(?!${n})`, h = `(?!${E}${p})`, O = `(?!${n}{0,1}${l})`, $ = `(?!${p})`, j = `[^.${s}]`, B = `${c}*?`, te = {
|
|
5077
5079
|
DOT_LITERAL: n,
|
|
5078
5080
|
PLUS_LITERAL: r,
|
|
5079
|
-
QMARK_LITERAL:
|
|
5080
|
-
SLASH_LITERAL:
|
|
5081
|
+
QMARK_LITERAL: o,
|
|
5082
|
+
SLASH_LITERAL: s,
|
|
5081
5083
|
ONE_CHAR: i,
|
|
5082
5084
|
QMARK: c,
|
|
5083
5085
|
END_ANCHOR: l,
|
|
@@ -5252,26 +5254,26 @@ function oo() {
|
|
|
5252
5254
|
REGEX_BACKSLASH: t,
|
|
5253
5255
|
REGEX_REMOVE_BACKSLASH: n,
|
|
5254
5256
|
REGEX_SPECIAL_CHARS: r,
|
|
5255
|
-
REGEX_SPECIAL_CHARS_GLOBAL:
|
|
5257
|
+
REGEX_SPECIAL_CHARS_GLOBAL: o
|
|
5256
5258
|
} = /* @__PURE__ */ ro();
|
|
5257
|
-
e.isObject = (
|
|
5259
|
+
e.isObject = (s) => s !== null && typeof s == "object" && !Array.isArray(s), e.hasRegexChars = (s) => r.test(s), e.isRegexChar = (s) => s.length === 1 && e.hasRegexChars(s), e.escapeRegex = (s) => s.replace(o, "\\$1"), e.toPosixSlashes = (s) => s.replace(t, "/"), e.isWindows = () => {
|
|
5258
5260
|
if (typeof navigator < "u" && navigator.platform) {
|
|
5259
|
-
const
|
|
5260
|
-
return
|
|
5261
|
+
const s = navigator.platform.toLowerCase();
|
|
5262
|
+
return s === "win32" || s === "windows";
|
|
5261
5263
|
}
|
|
5262
5264
|
return typeof process < "u" && process.platform ? process.platform === "win32" : !1;
|
|
5263
|
-
}, e.removeBackslashes = (
|
|
5264
|
-
const l =
|
|
5265
|
-
return l === -1 ?
|
|
5266
|
-
}, e.removePrefix = (
|
|
5267
|
-
let c =
|
|
5265
|
+
}, e.removeBackslashes = (s) => s.replace(n, (i) => i === "\\" ? "" : i), e.escapeLast = (s, i, c) => {
|
|
5266
|
+
const l = s.lastIndexOf(i, c);
|
|
5267
|
+
return l === -1 ? s : s[l - 1] === "\\" ? e.escapeLast(s, i, l - 1) : `${s.slice(0, l)}\\${s.slice(l)}`;
|
|
5268
|
+
}, e.removePrefix = (s, i = {}) => {
|
|
5269
|
+
let c = s;
|
|
5268
5270
|
return c.startsWith("./") && (c = c.slice(2), i.prefix = "./"), c;
|
|
5269
|
-
}, e.wrapOutput = (
|
|
5271
|
+
}, e.wrapOutput = (s, i = {}, c = {}) => {
|
|
5270
5272
|
const l = c.contains ? "" : "^", E = c.contains ? "" : "$";
|
|
5271
|
-
let p = `${l}(?:${
|
|
5273
|
+
let p = `${l}(?:${s})${E}`;
|
|
5272
5274
|
return i.negated === !0 && (p = `(?:^(?!${p}).*$)`), p;
|
|
5273
|
-
}, e.basename = (
|
|
5274
|
-
const c =
|
|
5275
|
+
}, e.basename = (s, { windows: i } = {}) => {
|
|
5276
|
+
const c = s.split(i ? /[\\/]/ : "/"), l = c[c.length - 1];
|
|
5275
5277
|
return l === "" ? c[c.length - 2] : l;
|
|
5276
5278
|
};
|
|
5277
5279
|
}(Oo)), Oo;
|
|
@@ -5287,9 +5289,9 @@ function Sf() {
|
|
|
5287
5289
|
/* @ */
|
|
5288
5290
|
CHAR_BACKWARD_SLASH: r,
|
|
5289
5291
|
/* \ */
|
|
5290
|
-
CHAR_COMMA:
|
|
5292
|
+
CHAR_COMMA: o,
|
|
5291
5293
|
/* , */
|
|
5292
|
-
CHAR_DOT:
|
|
5294
|
+
CHAR_DOT: s,
|
|
5293
5295
|
/* . */
|
|
5294
5296
|
CHAR_EXCLAMATION_MARK: i,
|
|
5295
5297
|
/* ! */
|
|
@@ -5335,12 +5337,12 @@ function Sf() {
|
|
|
5335
5337
|
x++;
|
|
5336
5338
|
continue;
|
|
5337
5339
|
}
|
|
5338
|
-
if (D !== !0 && Z ===
|
|
5340
|
+
if (D !== !0 && Z === s && (Z = W()) === s) {
|
|
5339
5341
|
if (we = de.isBrace = !0, z = de.isGlob = !0, S = !0, le === !0)
|
|
5340
5342
|
continue;
|
|
5341
5343
|
break;
|
|
5342
5344
|
}
|
|
5343
|
-
if (D !== !0 && Z ===
|
|
5345
|
+
if (D !== !0 && Z === o) {
|
|
5344
5346
|
if (we = de.isBrace = !0, z = de.isGlob = !0, S = !0, le === !0)
|
|
5345
5347
|
continue;
|
|
5346
5348
|
break;
|
|
@@ -5356,7 +5358,7 @@ function Sf() {
|
|
|
5356
5358
|
}
|
|
5357
5359
|
if (Z === c) {
|
|
5358
5360
|
if (pe.push(N), K.push(de), de = { value: "", depth: 0, isGlob: !1 }, S === !0) continue;
|
|
5359
|
-
if (ke ===
|
|
5361
|
+
if (ke === s && N === se + 1) {
|
|
5360
5362
|
se += 2;
|
|
5361
5363
|
continue;
|
|
5362
5364
|
}
|
|
@@ -5469,8 +5471,8 @@ function Af() {
|
|
|
5469
5471
|
const e = /* @__PURE__ */ ro(), t = /* @__PURE__ */ oo(), {
|
|
5470
5472
|
MAX_LENGTH: n,
|
|
5471
5473
|
POSIX_REGEX_SOURCE: r,
|
|
5472
|
-
REGEX_NON_SPECIAL_CHARS:
|
|
5473
|
-
REGEX_SPECIAL_CHARS_BACKREF:
|
|
5474
|
+
REGEX_NON_SPECIAL_CHARS: o,
|
|
5475
|
+
REGEX_SPECIAL_CHARS_BACKREF: s,
|
|
5474
5476
|
REPLACEMENTS: i
|
|
5475
5477
|
} = e, c = (p, d) => {
|
|
5476
5478
|
if (typeof d.expandRange == "function")
|
|
@@ -5568,7 +5570,7 @@ function Af() {
|
|
|
5568
5570
|
y({ type: "paren", extglob: !0, value: x, output: P }), g("parens");
|
|
5569
5571
|
};
|
|
5570
5572
|
if (h.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(p)) {
|
|
5571
|
-
let _ = !1, P = p.replace(
|
|
5573
|
+
let _ = !1, P = p.replace(s, (b, A, T, G, M, Q) => G === "\\" ? (_ = !0, b) : G === "?" ? A ? A + G + (M ? N.repeat(M.length) : "") : Q === 0 ? ie + (M ? N.repeat(M.length) : "") : N.repeat(T.length) : G === "." ? re.repeat(T.length) : G === "*" ? A ? A + G + (M ? ye : "") : ye : A ? b : `\\${b}`);
|
|
5572
5574
|
return _ === !0 && (h.unescape === !0 ? P = P.replace(/\\/g, "") : P = P.replace(/\\+/g, (b) => b.length % 2 === 0 ? "\\\\" : b ? "\\" : "")), P === p && h.contains === !0 ? (D.output = p, D) : (D.output = t.wrapOutput(P, D, d), D);
|
|
5573
5575
|
}
|
|
5574
5576
|
for (; !ke(); ) {
|
|
@@ -5779,7 +5781,7 @@ function Af() {
|
|
|
5779
5781
|
}
|
|
5780
5782
|
if (x !== "*") {
|
|
5781
5783
|
(x === "$" || x === "^") && (x = `\\${x}`);
|
|
5782
|
-
const b =
|
|
5784
|
+
const b = o.exec($e());
|
|
5783
5785
|
b && (x += b[0], D.index += b[0].length), y({ type: "text", value: x });
|
|
5784
5786
|
continue;
|
|
5785
5787
|
}
|
|
@@ -5915,9 +5917,9 @@ var To, pi;
|
|
|
5915
5917
|
function Nf() {
|
|
5916
5918
|
if (pi) return To;
|
|
5917
5919
|
pi = 1;
|
|
5918
|
-
const e = /* @__PURE__ */ Sf(), t = /* @__PURE__ */ Af(), n = /* @__PURE__ */ oo(), r = /* @__PURE__ */ ro(),
|
|
5920
|
+
const e = /* @__PURE__ */ Sf(), t = /* @__PURE__ */ Af(), n = /* @__PURE__ */ oo(), r = /* @__PURE__ */ ro(), o = (i) => i && typeof i == "object" && !Array.isArray(i), s = (i, c, l = !1) => {
|
|
5919
5921
|
if (Array.isArray(i)) {
|
|
5920
|
-
const B = i.map((te) =>
|
|
5922
|
+
const B = i.map((te) => s(te, c, l));
|
|
5921
5923
|
return (te) => {
|
|
5922
5924
|
for (const U of B) {
|
|
5923
5925
|
const re = U(te);
|
|
@@ -5926,44 +5928,44 @@ function Nf() {
|
|
|
5926
5928
|
return !1;
|
|
5927
5929
|
};
|
|
5928
5930
|
}
|
|
5929
|
-
const E =
|
|
5931
|
+
const E = o(i) && i.tokens && i.input;
|
|
5930
5932
|
if (i === "" || typeof i != "string" && !E)
|
|
5931
5933
|
throw new TypeError("Expected pattern to be a non-empty string");
|
|
5932
|
-
const p = c || {}, d = p.windows, h = E ?
|
|
5934
|
+
const p = c || {}, d = p.windows, h = E ? s.compileRe(i, c) : s.makeRe(i, c, !1, !0), O = h.state;
|
|
5933
5935
|
delete h.state;
|
|
5934
5936
|
let $ = () => !1;
|
|
5935
5937
|
if (p.ignore) {
|
|
5936
5938
|
const B = { ...c, ignore: null, onMatch: null, onResult: null };
|
|
5937
|
-
$ =
|
|
5939
|
+
$ = s(p.ignore, B, l);
|
|
5938
5940
|
}
|
|
5939
5941
|
const j = (B, J = !1) => {
|
|
5940
|
-
const { isMatch: te, match: U, output: re } =
|
|
5942
|
+
const { isMatch: te, match: U, output: re } = s.test(B, h, c, { glob: i, posix: d }), L = { glob: i, state: O, regex: h, posix: d, input: B, output: re, match: U, isMatch: te };
|
|
5941
5943
|
return typeof p.onResult == "function" && p.onResult(L), te === !1 ? (L.isMatch = !1, J ? L : !1) : $(B) ? (typeof p.onIgnore == "function" && p.onIgnore(L), L.isMatch = !1, J ? L : !1) : (typeof p.onMatch == "function" && p.onMatch(L), J ? L : !0);
|
|
5942
5944
|
};
|
|
5943
5945
|
return l && (j.state = O), j;
|
|
5944
5946
|
};
|
|
5945
|
-
return
|
|
5947
|
+
return s.test = (i, c, l, { glob: E, posix: p } = {}) => {
|
|
5946
5948
|
if (typeof i != "string")
|
|
5947
5949
|
throw new TypeError("Expected input to be a string");
|
|
5948
5950
|
if (i === "")
|
|
5949
5951
|
return { isMatch: !1, output: "" };
|
|
5950
5952
|
const d = l || {}, h = d.format || (p ? n.toPosixSlashes : null);
|
|
5951
5953
|
let O = i === E, $ = O && h ? h(i) : i;
|
|
5952
|
-
return O === !1 && ($ = h ? h(i) : i, O = $ === E), (O === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? O =
|
|
5953
|
-
},
|
|
5954
|
+
return O === !1 && ($ = h ? h(i) : i, O = $ === E), (O === !1 || d.capture === !0) && (d.matchBase === !0 || d.basename === !0 ? O = s.matchBase(i, c, l, p) : O = c.exec($)), { isMatch: !!O, match: O, output: $ };
|
|
5955
|
+
}, s.matchBase = (i, c, l) => (c instanceof RegExp ? c : s.makeRe(c, l)).test(n.basename(i)), s.isMatch = (i, c, l) => s(c, l)(i), s.parse = (i, c) => Array.isArray(i) ? i.map((l) => s.parse(l, c)) : t(i, { ...c, fastpaths: !1 }), s.scan = (i, c) => e(i, c), s.compileRe = (i, c, l = !1, E = !1) => {
|
|
5954
5956
|
if (l === !0)
|
|
5955
5957
|
return i.output;
|
|
5956
5958
|
const p = c || {}, d = p.contains ? "" : "^", h = p.contains ? "" : "$";
|
|
5957
5959
|
let O = `${d}(?:${i.output})${h}`;
|
|
5958
5960
|
i && i.negated === !0 && (O = `^(?!${O}).*$`);
|
|
5959
|
-
const $ =
|
|
5961
|
+
const $ = s.toRegex(O, c);
|
|
5960
5962
|
return E === !0 && ($.state = i), $;
|
|
5961
|
-
},
|
|
5963
|
+
}, s.makeRe = (i, c = {}, l = !1, E = !1) => {
|
|
5962
5964
|
if (!i || typeof i != "string")
|
|
5963
5965
|
throw new TypeError("Expected a non-empty string");
|
|
5964
5966
|
let p = { negated: !1, fastpaths: !0 };
|
|
5965
|
-
return c.fastpaths !== !1 && (i[0] === "." || i[0] === "*") && (p.output = t.fastpaths(i, c)), p.output || (p = t(i, c)),
|
|
5966
|
-
},
|
|
5967
|
+
return c.fastpaths !== !1 && (i[0] === "." || i[0] === "*") && (p.output = t.fastpaths(i, c)), p.output || (p = t(i, c)), s.compileRe(p, c, l, E);
|
|
5968
|
+
}, s.toRegex = (i, c) => {
|
|
5967
5969
|
try {
|
|
5968
5970
|
const l = c || {};
|
|
5969
5971
|
return new RegExp(i, l.flags || (l.nocase ? "i" : ""));
|
|
@@ -5971,15 +5973,15 @@ function Nf() {
|
|
|
5971
5973
|
if (c && c.debug === !0) throw l;
|
|
5972
5974
|
return /$^/;
|
|
5973
5975
|
}
|
|
5974
|
-
},
|
|
5976
|
+
}, s.constants = r, To = s, To;
|
|
5975
5977
|
}
|
|
5976
5978
|
var Ro, di;
|
|
5977
5979
|
function Tf() {
|
|
5978
5980
|
if (di) return Ro;
|
|
5979
5981
|
di = 1;
|
|
5980
5982
|
const e = /* @__PURE__ */ Nf(), t = /* @__PURE__ */ oo();
|
|
5981
|
-
function n(r,
|
|
5982
|
-
return
|
|
5983
|
+
function n(r, o, s = !1) {
|
|
5984
|
+
return o && (o.windows === null || o.windows === void 0) && (o = { ...o, windows: t.isWindows() }), e(r, o, s);
|
|
5983
5985
|
}
|
|
5984
5986
|
return Object.assign(n, e), Ro = n, Ro;
|
|
5985
5987
|
}
|
|
@@ -5994,71 +5996,76 @@ const xf = /* @__PURE__ */ Of(Rf), hi = (e) => {
|
|
|
5994
5996
|
let gi = !1;
|
|
5995
5997
|
const Df = () => {
|
|
5996
5998
|
gi || (gi = !0, history.replaceState = hi("replaceState"), history.pushState = hi("pushState"));
|
|
5997
|
-
},
|
|
5998
|
-
|
|
5999
|
-
},
|
|
6000
|
-
const t =
|
|
5999
|
+
}, Cg = (e) => {
|
|
6000
|
+
vt("microApp").cors.on("syncRouter", (n) => e(n.data));
|
|
6001
|
+
}, Pg = async (e) => {
|
|
6002
|
+
const t = vt("microApp"), n = t.data.get().appInfo;
|
|
6001
6003
|
n && t.cors.send("reportRouter", { data: e, href: location.href, appInfo: n });
|
|
6002
6004
|
}, mi = /* @__PURE__ */ new Map(), Xc = () => ({
|
|
6003
6005
|
replaceState: (t) => {
|
|
6004
|
-
if (window.history.replaceState(history.state, "", t), ["back", "current", "forward", "position", "replaced", "scroll"].every((
|
|
6005
|
-
const
|
|
6006
|
-
window.dispatchEvent(
|
|
6006
|
+
if (window.history.replaceState(history.state, "", t), ["back", "current", "forward", "position", "replaced", "scroll"].every((o) => Object.keys(history.state || {}).includes(o))) {
|
|
6007
|
+
const o = new PopStateEvent("popstate", { state: history.state });
|
|
6008
|
+
window.dispatchEvent(o);
|
|
6007
6009
|
}
|
|
6008
6010
|
},
|
|
6009
6011
|
addRule: (t, n) => {
|
|
6010
6012
|
mi.set(t, xf(n));
|
|
6011
6013
|
},
|
|
6012
6014
|
match: (t) => {
|
|
6013
|
-
const n = [...mi].find(([r,
|
|
6015
|
+
const n = [...mi].find(([r, o]) => o(t));
|
|
6014
6016
|
return n ? n[0] : !1;
|
|
6015
6017
|
}
|
|
6016
6018
|
}), Zc = () => {
|
|
6017
6019
|
Df();
|
|
6018
6020
|
const e = {};
|
|
6019
|
-
return { addRouterEventListener: (r,
|
|
6020
|
-
let
|
|
6021
|
-
Array.isArray(r) && (
|
|
6022
|
-
for (const i of
|
|
6023
|
-
window.addEventListener(i,
|
|
6021
|
+
return { addRouterEventListener: (r, o) => {
|
|
6022
|
+
let s = [r];
|
|
6023
|
+
Array.isArray(r) && (s = r);
|
|
6024
|
+
for (const i of s)
|
|
6025
|
+
window.addEventListener(i, o), e[i] || (e[i] = []), e[i].push(o);
|
|
6024
6026
|
}, removeRouterEventListener: (r) => {
|
|
6025
|
-
let
|
|
6026
|
-
typeof r == "string" &&
|
|
6027
|
-
for (const
|
|
6028
|
-
e[
|
|
6029
|
-
window.removeEventListener(
|
|
6027
|
+
let o = [];
|
|
6028
|
+
typeof r == "string" && o.push(r), Array.isArray(r) && (o = r), o.length === 0 && !r && (o = Object.keys(e));
|
|
6029
|
+
for (const s of o)
|
|
6030
|
+
e[s] && e[s].map((i) => {
|
|
6031
|
+
window.removeEventListener(s, i);
|
|
6030
6032
|
});
|
|
6031
6033
|
} };
|
|
6032
6034
|
}, { replaceState: Cf } = Xc(), { addRouterEventListener: Pf } = Zc(), If = () => {
|
|
6033
|
-
const e =
|
|
6035
|
+
const e = vt("microApp"), t = qe(!1);
|
|
6034
6036
|
e.cors.on("syncRouter", (n) => {
|
|
6035
6037
|
var d, h;
|
|
6036
6038
|
if (t.value) return;
|
|
6037
6039
|
t.value = !0, setTimeout(() => t.value = !1, 300);
|
|
6038
|
-
const { data: r } = n,
|
|
6039
|
-
if (!
|
|
6040
|
-
const { pathname:
|
|
6041
|
-
let l =
|
|
6042
|
-
if (((d =
|
|
6040
|
+
const { data: r } = n, o = r.appInfo;
|
|
6041
|
+
if (!o) return;
|
|
6042
|
+
const { pathname: s, hash: i, search: c } = new URL(window.location.href);
|
|
6043
|
+
let l = s + c;
|
|
6044
|
+
if (((d = o.router) == null ? void 0 : d.mode) === "hash" && (l = i.replace("#", "")), l === r.path) return;
|
|
6043
6045
|
if (!(((h = e.data.get().appInfo.router) == null ? void 0 : h.sync) ?? !0)) {
|
|
6044
6046
|
e.event.emit("syncRouter", n);
|
|
6045
6047
|
return;
|
|
6046
6048
|
}
|
|
6047
6049
|
Cf(r.replacePath);
|
|
6048
6050
|
}), Pf(["replaceState"], async (n) => {
|
|
6049
|
-
var
|
|
6051
|
+
var s;
|
|
6050
6052
|
if (t.value) return;
|
|
6051
6053
|
const r = e.data.get().appInfo;
|
|
6052
|
-
!r || (await new Promise((i) => setTimeout(i, 0)), !(((
|
|
6054
|
+
!r || (await new Promise((i) => setTimeout(i, 0)), !(((s = r.router) == null ? void 0 : s.sync) ?? !0)) || e.cors.send("reportRouter", {
|
|
6053
6055
|
href: window.location.href,
|
|
6054
6056
|
appInfo: r,
|
|
6055
6057
|
historyEvent: { type: n.type, state: history.state }
|
|
6056
6058
|
});
|
|
6057
6059
|
});
|
|
6058
|
-
},
|
|
6060
|
+
}, $f = () => {
|
|
6061
|
+
const e = vt("microApp");
|
|
6062
|
+
e.cors.on("customEventFromMain", (t) => {
|
|
6063
|
+
e.event.emit("customEventFromMain", t.data);
|
|
6064
|
+
});
|
|
6065
|
+
}, Ig = async (e) => {
|
|
6059
6066
|
e || (e = {});
|
|
6060
6067
|
const t = await Jc({ type: "microApp", ...e });
|
|
6061
|
-
return If(), t;
|
|
6068
|
+
return If(), $f(), t;
|
|
6062
6069
|
};
|
|
6063
6070
|
function so(e) {
|
|
6064
6071
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
@@ -6069,14 +6076,14 @@ function so(e) {
|
|
|
6069
6076
|
r && (n ? r.splice(r.indexOf(n) >>> 0, 1) : e.set(t, []));
|
|
6070
6077
|
}, emit: function(t, n) {
|
|
6071
6078
|
var r = e.get(t);
|
|
6072
|
-
r && r.slice().map(function(
|
|
6073
|
-
|
|
6074
|
-
}), (r = e.get("*")) && r.slice().map(function(
|
|
6075
|
-
|
|
6079
|
+
r && r.slice().map(function(o) {
|
|
6080
|
+
o(n);
|
|
6081
|
+
}), (r = e.get("*")) && r.slice().map(function(o) {
|
|
6082
|
+
o(t, n);
|
|
6076
6083
|
});
|
|
6077
6084
|
} };
|
|
6078
6085
|
}
|
|
6079
|
-
function
|
|
6086
|
+
function Mf() {
|
|
6080
6087
|
this.__data__ = [], this.size = 0;
|
|
6081
6088
|
}
|
|
6082
6089
|
function Qc(e, t) {
|
|
@@ -6088,22 +6095,22 @@ function io(e, t) {
|
|
|
6088
6095
|
return n;
|
|
6089
6096
|
return -1;
|
|
6090
6097
|
}
|
|
6091
|
-
var
|
|
6092
|
-
function
|
|
6098
|
+
var Lf = Array.prototype, Vf = Lf.splice;
|
|
6099
|
+
function jf(e) {
|
|
6093
6100
|
var t = this.__data__, n = io(t, e);
|
|
6094
6101
|
if (n < 0)
|
|
6095
6102
|
return !1;
|
|
6096
6103
|
var r = t.length - 1;
|
|
6097
|
-
return n == r ? t.pop() :
|
|
6104
|
+
return n == r ? t.pop() : Vf.call(t, n, 1), --this.size, !0;
|
|
6098
6105
|
}
|
|
6099
|
-
function
|
|
6106
|
+
function Hf(e) {
|
|
6100
6107
|
var t = this.__data__, n = io(t, e);
|
|
6101
6108
|
return n < 0 ? void 0 : t[n][1];
|
|
6102
6109
|
}
|
|
6103
|
-
function
|
|
6110
|
+
function Wf(e) {
|
|
6104
6111
|
return io(this.__data__, e) > -1;
|
|
6105
6112
|
}
|
|
6106
|
-
function
|
|
6113
|
+
function Ff(e, t) {
|
|
6107
6114
|
var n = this.__data__, r = io(n, e);
|
|
6108
6115
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
6109
6116
|
}
|
|
@@ -6114,66 +6121,66 @@ function Kt(e) {
|
|
|
6114
6121
|
this.set(r[0], r[1]);
|
|
6115
6122
|
}
|
|
6116
6123
|
}
|
|
6117
|
-
Kt.prototype.clear =
|
|
6118
|
-
Kt.prototype.delete =
|
|
6119
|
-
Kt.prototype.get =
|
|
6120
|
-
Kt.prototype.has =
|
|
6121
|
-
Kt.prototype.set =
|
|
6122
|
-
function
|
|
6124
|
+
Kt.prototype.clear = Mf;
|
|
6125
|
+
Kt.prototype.delete = jf;
|
|
6126
|
+
Kt.prototype.get = Hf;
|
|
6127
|
+
Kt.prototype.has = Wf;
|
|
6128
|
+
Kt.prototype.set = Ff;
|
|
6129
|
+
function Bf() {
|
|
6123
6130
|
this.__data__ = new Kt(), this.size = 0;
|
|
6124
6131
|
}
|
|
6125
|
-
function
|
|
6132
|
+
function Uf(e) {
|
|
6126
6133
|
var t = this.__data__, n = t.delete(e);
|
|
6127
6134
|
return this.size = t.size, n;
|
|
6128
6135
|
}
|
|
6129
|
-
function
|
|
6136
|
+
function Gf(e) {
|
|
6130
6137
|
return this.__data__.get(e);
|
|
6131
6138
|
}
|
|
6132
|
-
function
|
|
6139
|
+
function Kf(e) {
|
|
6133
6140
|
return this.__data__.has(e);
|
|
6134
6141
|
}
|
|
6135
|
-
var ea = typeof global == "object" && global && global.Object === Object && global,
|
|
6136
|
-
function
|
|
6137
|
-
var t =
|
|
6142
|
+
var ea = typeof global == "object" && global && global.Object === Object && global, kf = typeof self == "object" && self && self.Object === Object && self, Dt = ea || kf || Function("return this")(), xn = Dt.Symbol, ta = Object.prototype, Yf = ta.hasOwnProperty, qf = ta.toString, kn = xn ? xn.toStringTag : void 0;
|
|
6143
|
+
function zf(e) {
|
|
6144
|
+
var t = Yf.call(e, kn), n = e[kn];
|
|
6138
6145
|
try {
|
|
6139
6146
|
e[kn] = void 0;
|
|
6140
6147
|
var r = !0;
|
|
6141
6148
|
} catch {
|
|
6142
6149
|
}
|
|
6143
|
-
var
|
|
6144
|
-
return r && (t ? e[kn] = n : delete e[kn]),
|
|
6150
|
+
var o = qf.call(e);
|
|
6151
|
+
return r && (t ? e[kn] = n : delete e[kn]), o;
|
|
6145
6152
|
}
|
|
6146
|
-
var
|
|
6147
|
-
function
|
|
6148
|
-
return
|
|
6153
|
+
var Jf = Object.prototype, Xf = Jf.toString;
|
|
6154
|
+
function Zf(e) {
|
|
6155
|
+
return Xf.call(e);
|
|
6149
6156
|
}
|
|
6150
|
-
var
|
|
6157
|
+
var Qf = "[object Null]", ep = "[object Undefined]", vi = xn ? xn.toStringTag : void 0;
|
|
6151
6158
|
function gr(e) {
|
|
6152
|
-
return e == null ? e === void 0 ?
|
|
6159
|
+
return e == null ? e === void 0 ? ep : Qf : vi && vi in Object(e) ? zf(e) : Zf(e);
|
|
6153
6160
|
}
|
|
6154
6161
|
function co(e) {
|
|
6155
6162
|
var t = typeof e;
|
|
6156
6163
|
return e != null && (t == "object" || t == "function");
|
|
6157
6164
|
}
|
|
6158
|
-
var
|
|
6165
|
+
var tp = "[object AsyncFunction]", np = "[object Function]", rp = "[object GeneratorFunction]", op = "[object Proxy]";
|
|
6159
6166
|
function na(e) {
|
|
6160
6167
|
if (!co(e))
|
|
6161
6168
|
return !1;
|
|
6162
6169
|
var t = gr(e);
|
|
6163
|
-
return t ==
|
|
6170
|
+
return t == np || t == rp || t == tp || t == op;
|
|
6164
6171
|
}
|
|
6165
6172
|
var xo = Dt["__core-js_shared__"], Ei = function() {
|
|
6166
6173
|
var e = /[^.]+$/.exec(xo && xo.keys && xo.keys.IE_PROTO || "");
|
|
6167
6174
|
return e ? "Symbol(src)_1." + e : "";
|
|
6168
6175
|
}();
|
|
6169
|
-
function
|
|
6176
|
+
function sp(e) {
|
|
6170
6177
|
return !!Ei && Ei in e;
|
|
6171
6178
|
}
|
|
6172
|
-
var
|
|
6179
|
+
var ip = Function.prototype, cp = ip.toString;
|
|
6173
6180
|
function hn(e) {
|
|
6174
6181
|
if (e != null) {
|
|
6175
6182
|
try {
|
|
6176
|
-
return
|
|
6183
|
+
return cp.call(e);
|
|
6177
6184
|
} catch {
|
|
6178
6185
|
}
|
|
6179
6186
|
try {
|
|
@@ -6183,48 +6190,48 @@ function hn(e) {
|
|
|
6183
6190
|
}
|
|
6184
6191
|
return "";
|
|
6185
6192
|
}
|
|
6186
|
-
var
|
|
6187
|
-
"^" +
|
|
6193
|
+
var ap = /[\\^$.*+?()[\]{}|]/g, up = /^\[object .+?Constructor\]$/, lp = Function.prototype, fp = Object.prototype, pp = lp.toString, dp = fp.hasOwnProperty, hp = RegExp(
|
|
6194
|
+
"^" + pp.call(dp).replace(ap, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
6188
6195
|
);
|
|
6189
|
-
function
|
|
6190
|
-
if (!co(e) ||
|
|
6196
|
+
function gp(e) {
|
|
6197
|
+
if (!co(e) || sp(e))
|
|
6191
6198
|
return !1;
|
|
6192
|
-
var t = na(e) ?
|
|
6199
|
+
var t = na(e) ? hp : up;
|
|
6193
6200
|
return t.test(hn(e));
|
|
6194
6201
|
}
|
|
6195
|
-
function
|
|
6202
|
+
function mp(e, t) {
|
|
6196
6203
|
return e == null ? void 0 : e[t];
|
|
6197
6204
|
}
|
|
6198
6205
|
function gn(e, t) {
|
|
6199
|
-
var n =
|
|
6200
|
-
return
|
|
6206
|
+
var n = mp(e, t);
|
|
6207
|
+
return gp(n) ? n : void 0;
|
|
6201
6208
|
}
|
|
6202
6209
|
var cr = gn(Dt, "Map"), ar = gn(Object, "create");
|
|
6203
|
-
function
|
|
6210
|
+
function vp() {
|
|
6204
6211
|
this.__data__ = ar ? ar(null) : {}, this.size = 0;
|
|
6205
6212
|
}
|
|
6206
|
-
function
|
|
6213
|
+
function Ep(e) {
|
|
6207
6214
|
var t = this.has(e) && delete this.__data__[e];
|
|
6208
6215
|
return this.size -= t ? 1 : 0, t;
|
|
6209
6216
|
}
|
|
6210
|
-
var
|
|
6211
|
-
function
|
|
6217
|
+
var yp = "__lodash_hash_undefined__", _p = Object.prototype, bp = _p.hasOwnProperty;
|
|
6218
|
+
function wp(e) {
|
|
6212
6219
|
var t = this.__data__;
|
|
6213
6220
|
if (ar) {
|
|
6214
6221
|
var n = t[e];
|
|
6215
|
-
return n ===
|
|
6222
|
+
return n === yp ? void 0 : n;
|
|
6216
6223
|
}
|
|
6217
|
-
return
|
|
6224
|
+
return bp.call(t, e) ? t[e] : void 0;
|
|
6218
6225
|
}
|
|
6219
|
-
var
|
|
6220
|
-
function
|
|
6226
|
+
var Op = Object.prototype, Sp = Op.hasOwnProperty;
|
|
6227
|
+
function Ap(e) {
|
|
6221
6228
|
var t = this.__data__;
|
|
6222
|
-
return ar ? t[e] !== void 0 :
|
|
6229
|
+
return ar ? t[e] !== void 0 : Sp.call(t, e);
|
|
6223
6230
|
}
|
|
6224
|
-
var
|
|
6225
|
-
function
|
|
6231
|
+
var Np = "__lodash_hash_undefined__";
|
|
6232
|
+
function Tp(e, t) {
|
|
6226
6233
|
var n = this.__data__;
|
|
6227
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = ar && t === void 0 ?
|
|
6234
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = ar && t === void 0 ? Np : t, this;
|
|
6228
6235
|
}
|
|
6229
6236
|
function dn(e) {
|
|
6230
6237
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -6233,37 +6240,37 @@ function dn(e) {
|
|
|
6233
6240
|
this.set(r[0], r[1]);
|
|
6234
6241
|
}
|
|
6235
6242
|
}
|
|
6236
|
-
dn.prototype.clear =
|
|
6237
|
-
dn.prototype.delete =
|
|
6238
|
-
dn.prototype.get =
|
|
6239
|
-
dn.prototype.has =
|
|
6240
|
-
dn.prototype.set =
|
|
6241
|
-
function
|
|
6243
|
+
dn.prototype.clear = vp;
|
|
6244
|
+
dn.prototype.delete = Ep;
|
|
6245
|
+
dn.prototype.get = wp;
|
|
6246
|
+
dn.prototype.has = Ap;
|
|
6247
|
+
dn.prototype.set = Tp;
|
|
6248
|
+
function Rp() {
|
|
6242
6249
|
this.size = 0, this.__data__ = {
|
|
6243
6250
|
hash: new dn(),
|
|
6244
6251
|
map: new (cr || Kt)(),
|
|
6245
6252
|
string: new dn()
|
|
6246
6253
|
};
|
|
6247
6254
|
}
|
|
6248
|
-
function
|
|
6255
|
+
function xp(e) {
|
|
6249
6256
|
var t = typeof e;
|
|
6250
6257
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
6251
6258
|
}
|
|
6252
6259
|
function ao(e, t) {
|
|
6253
6260
|
var n = e.__data__;
|
|
6254
|
-
return
|
|
6261
|
+
return xp(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
6255
6262
|
}
|
|
6256
|
-
function
|
|
6263
|
+
function Dp(e) {
|
|
6257
6264
|
var t = ao(this, e).delete(e);
|
|
6258
6265
|
return this.size -= t ? 1 : 0, t;
|
|
6259
6266
|
}
|
|
6260
|
-
function
|
|
6267
|
+
function Cp(e) {
|
|
6261
6268
|
return ao(this, e).get(e);
|
|
6262
6269
|
}
|
|
6263
|
-
function
|
|
6270
|
+
function Pp(e) {
|
|
6264
6271
|
return ao(this, e).has(e);
|
|
6265
6272
|
}
|
|
6266
|
-
function
|
|
6273
|
+
function Ip(e, t) {
|
|
6267
6274
|
var n = ao(this, e), r = n.size;
|
|
6268
6275
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
6269
6276
|
}
|
|
@@ -6274,17 +6281,17 @@ function Mn(e) {
|
|
|
6274
6281
|
this.set(r[0], r[1]);
|
|
6275
6282
|
}
|
|
6276
6283
|
}
|
|
6277
|
-
Mn.prototype.clear =
|
|
6278
|
-
Mn.prototype.delete =
|
|
6279
|
-
Mn.prototype.get =
|
|
6280
|
-
Mn.prototype.has =
|
|
6281
|
-
Mn.prototype.set =
|
|
6282
|
-
var
|
|
6283
|
-
function
|
|
6284
|
+
Mn.prototype.clear = Rp;
|
|
6285
|
+
Mn.prototype.delete = Dp;
|
|
6286
|
+
Mn.prototype.get = Cp;
|
|
6287
|
+
Mn.prototype.has = Pp;
|
|
6288
|
+
Mn.prototype.set = Ip;
|
|
6289
|
+
var $p = 200;
|
|
6290
|
+
function Mp(e, t) {
|
|
6284
6291
|
var n = this.__data__;
|
|
6285
6292
|
if (n instanceof Kt) {
|
|
6286
6293
|
var r = n.__data__;
|
|
6287
|
-
if (!cr || r.length <
|
|
6294
|
+
if (!cr || r.length < $p - 1)
|
|
6288
6295
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
6289
6296
|
n = this.__data__ = new Mn(r);
|
|
6290
6297
|
}
|
|
@@ -6294,12 +6301,12 @@ function Ln(e) {
|
|
|
6294
6301
|
var t = this.__data__ = new Kt(e);
|
|
6295
6302
|
this.size = t.size;
|
|
6296
6303
|
}
|
|
6297
|
-
Ln.prototype.clear =
|
|
6298
|
-
Ln.prototype.delete =
|
|
6299
|
-
Ln.prototype.get =
|
|
6300
|
-
Ln.prototype.has =
|
|
6301
|
-
Ln.prototype.set =
|
|
6302
|
-
function
|
|
6304
|
+
Ln.prototype.clear = Bf;
|
|
6305
|
+
Ln.prototype.delete = Uf;
|
|
6306
|
+
Ln.prototype.get = Gf;
|
|
6307
|
+
Ln.prototype.has = Kf;
|
|
6308
|
+
Ln.prototype.set = Mp;
|
|
6309
|
+
function Lp(e, t) {
|
|
6303
6310
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
6304
6311
|
;
|
|
6305
6312
|
return e;
|
|
@@ -6311,7 +6318,7 @@ var yi = function() {
|
|
|
6311
6318
|
} catch {
|
|
6312
6319
|
}
|
|
6313
6320
|
}();
|
|
6314
|
-
function
|
|
6321
|
+
function Vp(e, t, n) {
|
|
6315
6322
|
t == "__proto__" && yi ? yi(e, t, {
|
|
6316
6323
|
configurable: !0,
|
|
6317
6324
|
enumerable: !0,
|
|
@@ -6319,12 +6326,12 @@ function Lp(e, t, n) {
|
|
|
6319
6326
|
writable: !0
|
|
6320
6327
|
}) : e[t] = n;
|
|
6321
6328
|
}
|
|
6322
|
-
var
|
|
6323
|
-
function
|
|
6329
|
+
var jp = Object.prototype, Hp = jp.hasOwnProperty;
|
|
6330
|
+
function Wp(e, t, n) {
|
|
6324
6331
|
var r = e[t];
|
|
6325
|
-
(!(
|
|
6332
|
+
(!(Hp.call(e, t) && Qc(r, n)) || n === void 0 && !(t in e)) && Vp(e, t, n);
|
|
6326
6333
|
}
|
|
6327
|
-
function
|
|
6334
|
+
function Fp(e, t) {
|
|
6328
6335
|
for (var n = -1, r = Array(e); ++n < e; )
|
|
6329
6336
|
r[n] = t(n);
|
|
6330
6337
|
return r;
|
|
@@ -6332,31 +6339,31 @@ function Wp(e, t) {
|
|
|
6332
6339
|
function mr(e) {
|
|
6333
6340
|
return e != null && typeof e == "object";
|
|
6334
6341
|
}
|
|
6335
|
-
var
|
|
6342
|
+
var Bp = "[object Arguments]";
|
|
6336
6343
|
function _i(e) {
|
|
6337
|
-
return mr(e) && gr(e) ==
|
|
6344
|
+
return mr(e) && gr(e) == Bp;
|
|
6338
6345
|
}
|
|
6339
|
-
var ra = Object.prototype,
|
|
6346
|
+
var ra = Object.prototype, Up = ra.hasOwnProperty, Gp = ra.propertyIsEnumerable, Kp = _i(/* @__PURE__ */ function() {
|
|
6340
6347
|
return arguments;
|
|
6341
6348
|
}()) ? _i : function(e) {
|
|
6342
|
-
return mr(e) &&
|
|
6349
|
+
return mr(e) && Up.call(e, "callee") && !Gp.call(e, "callee");
|
|
6343
6350
|
}, Es = Array.isArray;
|
|
6344
|
-
function
|
|
6351
|
+
function kp() {
|
|
6345
6352
|
return !1;
|
|
6346
6353
|
}
|
|
6347
|
-
var oa = typeof exports == "object" && exports && !exports.nodeType && exports, bi = oa && typeof module == "object" && module && !module.nodeType && module,
|
|
6348
|
-
function
|
|
6354
|
+
var oa = typeof exports == "object" && exports && !exports.nodeType && exports, bi = oa && typeof module == "object" && module && !module.nodeType && module, Yp = bi && bi.exports === oa, wi = Yp ? Dt.Buffer : void 0, qp = wi ? wi.isBuffer : void 0, sa = qp || kp, zp = 9007199254740991, Jp = /^(?:0|[1-9]\d*)$/;
|
|
6355
|
+
function Xp(e, t) {
|
|
6349
6356
|
var n = typeof e;
|
|
6350
|
-
return t = t ??
|
|
6357
|
+
return t = t ?? zp, !!t && (n == "number" || n != "symbol" && Jp.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
6351
6358
|
}
|
|
6352
|
-
var
|
|
6359
|
+
var Zp = 9007199254740991;
|
|
6353
6360
|
function ia(e) {
|
|
6354
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
6361
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Zp;
|
|
6355
6362
|
}
|
|
6356
|
-
var
|
|
6357
|
-
Ce[
|
|
6358
|
-
Ce[
|
|
6359
|
-
function
|
|
6363
|
+
var Qp = "[object Arguments]", ed = "[object Array]", td = "[object Boolean]", nd = "[object Date]", rd = "[object Error]", od = "[object Function]", sd = "[object Map]", id = "[object Number]", cd = "[object Object]", ad = "[object RegExp]", ud = "[object Set]", ld = "[object String]", fd = "[object WeakMap]", pd = "[object ArrayBuffer]", dd = "[object DataView]", hd = "[object Float32Array]", gd = "[object Float64Array]", md = "[object Int8Array]", vd = "[object Int16Array]", Ed = "[object Int32Array]", yd = "[object Uint8Array]", _d = "[object Uint8ClampedArray]", bd = "[object Uint16Array]", wd = "[object Uint32Array]", Ce = {};
|
|
6364
|
+
Ce[hd] = Ce[gd] = Ce[md] = Ce[vd] = Ce[Ed] = Ce[yd] = Ce[_d] = Ce[bd] = Ce[wd] = !0;
|
|
6365
|
+
Ce[Qp] = Ce[ed] = Ce[pd] = Ce[td] = Ce[dd] = Ce[nd] = Ce[rd] = Ce[od] = Ce[sd] = Ce[id] = Ce[cd] = Ce[ad] = Ce[ud] = Ce[ld] = Ce[fd] = !1;
|
|
6366
|
+
function Od(e) {
|
|
6360
6367
|
return mr(e) && ia(e.length) && !!Ce[gr(e)];
|
|
6361
6368
|
}
|
|
6362
6369
|
function ys(e) {
|
|
@@ -6364,26 +6371,26 @@ function ys(e) {
|
|
|
6364
6371
|
return e(t);
|
|
6365
6372
|
};
|
|
6366
6373
|
}
|
|
6367
|
-
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, tr = ca && typeof module == "object" && module && !module.nodeType && module,
|
|
6374
|
+
var ca = typeof exports == "object" && exports && !exports.nodeType && exports, tr = ca && typeof module == "object" && module && !module.nodeType && module, Sd = tr && tr.exports === ca, Do = Sd && ea.process, Dn = function() {
|
|
6368
6375
|
try {
|
|
6369
6376
|
var e = tr && tr.require && tr.require("util").types;
|
|
6370
6377
|
return e || Do && Do.binding && Do.binding("util");
|
|
6371
6378
|
} catch {
|
|
6372
6379
|
}
|
|
6373
|
-
}(), Oi = Dn && Dn.isTypedArray,
|
|
6374
|
-
function
|
|
6375
|
-
var n = Es(e), r = !n &&
|
|
6380
|
+
}(), Oi = Dn && Dn.isTypedArray, Ad = Oi ? ys(Oi) : Od, Nd = Object.prototype, Td = Nd.hasOwnProperty;
|
|
6381
|
+
function Rd(e, t) {
|
|
6382
|
+
var n = Es(e), r = !n && Kp(e), o = !n && !r && sa(e), s = !n && !r && !o && Ad(e), i = n || r || o || s, c = i ? Fp(e.length, String) : [], l = c.length;
|
|
6376
6383
|
for (var E in e)
|
|
6377
|
-
|
|
6384
|
+
Td.call(e, E) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6378
6385
|
(E == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6386
|
+
o && (E == "offset" || E == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6387
|
+
s && (E == "buffer" || E == "byteLength" || E == "byteOffset") || // Skip index properties.
|
|
6388
|
+
Xp(E, l))) && c.push(E);
|
|
6382
6389
|
return c;
|
|
6383
6390
|
}
|
|
6384
|
-
var
|
|
6391
|
+
var xd = Object.prototype;
|
|
6385
6392
|
function aa(e) {
|
|
6386
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
6393
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || xd;
|
|
6387
6394
|
return e === n;
|
|
6388
6395
|
}
|
|
6389
6396
|
function ua(e, t) {
|
|
@@ -6391,111 +6398,110 @@ function ua(e, t) {
|
|
|
6391
6398
|
return e(t(n));
|
|
6392
6399
|
};
|
|
6393
6400
|
}
|
|
6394
|
-
var
|
|
6395
|
-
function
|
|
6401
|
+
var Dd = ua(Object.keys, Object), Cd = Object.prototype, Pd = Cd.hasOwnProperty;
|
|
6402
|
+
function Id(e) {
|
|
6396
6403
|
if (!aa(e))
|
|
6397
|
-
return
|
|
6404
|
+
return Dd(e);
|
|
6398
6405
|
var t = [];
|
|
6399
6406
|
for (var n in Object(e))
|
|
6400
|
-
|
|
6407
|
+
Pd.call(e, n) && n != "constructor" && t.push(n);
|
|
6401
6408
|
return t;
|
|
6402
6409
|
}
|
|
6403
|
-
function
|
|
6410
|
+
function $d(e) {
|
|
6404
6411
|
return e != null && ia(e.length) && !na(e);
|
|
6405
6412
|
}
|
|
6406
|
-
function
|
|
6407
|
-
return
|
|
6413
|
+
function Md(e) {
|
|
6414
|
+
return $d(e) ? Rd(e) : Id(e);
|
|
6408
6415
|
}
|
|
6409
|
-
var la = typeof exports == "object" && exports && !exports.nodeType && exports, Si = la && typeof module == "object" && module && !module.nodeType && module,
|
|
6416
|
+
var la = typeof exports == "object" && exports && !exports.nodeType && exports, Si = la && typeof module == "object" && module && !module.nodeType && module, Ld = Si && Si.exports === la, Ai = Ld ? Dt.Buffer : void 0;
|
|
6410
6417
|
Ai && Ai.allocUnsafe;
|
|
6411
|
-
function
|
|
6418
|
+
function Vd(e, t) {
|
|
6412
6419
|
return e.slice();
|
|
6413
6420
|
}
|
|
6414
|
-
function
|
|
6415
|
-
for (var n = -1, r = e == null ? 0 : e.length,
|
|
6421
|
+
function jd(e, t) {
|
|
6422
|
+
for (var n = -1, r = e == null ? 0 : e.length, o = 0, s = []; ++n < r; ) {
|
|
6416
6423
|
var i = e[n];
|
|
6417
|
-
t(i, n, e) && (o
|
|
6424
|
+
t(i, n, e) && (s[o++] = i);
|
|
6418
6425
|
}
|
|
6419
|
-
return
|
|
6426
|
+
return s;
|
|
6420
6427
|
}
|
|
6421
|
-
function
|
|
6428
|
+
function Hd() {
|
|
6422
6429
|
return [];
|
|
6423
6430
|
}
|
|
6424
|
-
var
|
|
6425
|
-
return e == null ? [] : (e = Object(e),
|
|
6426
|
-
return
|
|
6431
|
+
var Wd = Object.prototype, Fd = Wd.propertyIsEnumerable, Ni = Object.getOwnPropertySymbols, Bd = Ni ? function(e) {
|
|
6432
|
+
return e == null ? [] : (e = Object(e), jd(Ni(e), function(t) {
|
|
6433
|
+
return Fd.call(e, t);
|
|
6427
6434
|
}));
|
|
6428
|
-
} :
|
|
6429
|
-
function
|
|
6430
|
-
for (var n = -1, r = t.length,
|
|
6431
|
-
e[
|
|
6435
|
+
} : Hd;
|
|
6436
|
+
function Ud(e, t) {
|
|
6437
|
+
for (var n = -1, r = t.length, o = e.length; ++n < r; )
|
|
6438
|
+
e[o + n] = t[n];
|
|
6432
6439
|
return e;
|
|
6433
6440
|
}
|
|
6434
|
-
var
|
|
6435
|
-
function
|
|
6441
|
+
var Gd = ua(Object.getPrototypeOf, Object);
|
|
6442
|
+
function Kd(e, t, n) {
|
|
6436
6443
|
var r = t(e);
|
|
6437
|
-
return Es(e) ? r :
|
|
6444
|
+
return Es(e) ? r : Ud(r, n(e));
|
|
6438
6445
|
}
|
|
6439
|
-
function
|
|
6440
|
-
return
|
|
6446
|
+
function kd(e) {
|
|
6447
|
+
return Kd(e, Md, Bd);
|
|
6441
6448
|
}
|
|
6442
|
-
var Yo = gn(Dt, "DataView"), qo = gn(Dt, "Promise"), zo = gn(Dt, "Set"), Jo = gn(Dt, "WeakMap"), Ti = "[object Map]",
|
|
6449
|
+
var Yo = gn(Dt, "DataView"), qo = gn(Dt, "Promise"), zo = gn(Dt, "Set"), Jo = gn(Dt, "WeakMap"), Ti = "[object Map]", Yd = "[object Object]", Ri = "[object Promise]", xi = "[object Set]", Di = "[object WeakMap]", Ci = "[object DataView]", qd = hn(Yo), zd = hn(cr), Jd = hn(qo), Xd = hn(zo), Zd = hn(Jo), Ht = gr;
|
|
6443
6450
|
(Yo && Ht(new Yo(new ArrayBuffer(1))) != Ci || cr && Ht(new cr()) != Ti || qo && Ht(qo.resolve()) != Ri || zo && Ht(new zo()) != xi || Jo && Ht(new Jo()) != Di) && (Ht = function(e) {
|
|
6444
|
-
var t = gr(e), n = t ==
|
|
6451
|
+
var t = gr(e), n = t == Yd ? e.constructor : void 0, r = n ? hn(n) : "";
|
|
6445
6452
|
if (r)
|
|
6446
6453
|
switch (r) {
|
|
6447
|
-
case Yd:
|
|
6448
|
-
return Ci;
|
|
6449
6454
|
case qd:
|
|
6450
|
-
return
|
|
6455
|
+
return Ci;
|
|
6451
6456
|
case zd:
|
|
6452
|
-
return
|
|
6457
|
+
return Ti;
|
|
6453
6458
|
case Jd:
|
|
6454
|
-
return
|
|
6459
|
+
return Ri;
|
|
6455
6460
|
case Xd:
|
|
6461
|
+
return xi;
|
|
6462
|
+
case Zd:
|
|
6456
6463
|
return Di;
|
|
6457
6464
|
}
|
|
6458
6465
|
return t;
|
|
6459
6466
|
});
|
|
6460
|
-
var
|
|
6461
|
-
function
|
|
6467
|
+
var Qd = Object.prototype, eh = Qd.hasOwnProperty;
|
|
6468
|
+
function th(e) {
|
|
6462
6469
|
var t = e.length, n = new e.constructor(t);
|
|
6463
|
-
return t && typeof e[0] == "string" &&
|
|
6470
|
+
return t && typeof e[0] == "string" && eh.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
6464
6471
|
}
|
|
6465
6472
|
var Pi = Dt.Uint8Array;
|
|
6466
6473
|
function _s(e) {
|
|
6467
6474
|
var t = new e.constructor(e.byteLength);
|
|
6468
6475
|
return new Pi(t).set(new Pi(e)), t;
|
|
6469
6476
|
}
|
|
6470
|
-
function
|
|
6477
|
+
function nh(e, t) {
|
|
6471
6478
|
var n = _s(e.buffer);
|
|
6472
6479
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
6473
6480
|
}
|
|
6474
|
-
var
|
|
6475
|
-
function
|
|
6476
|
-
var t = new e.constructor(e.source,
|
|
6481
|
+
var rh = /\w*$/;
|
|
6482
|
+
function oh(e) {
|
|
6483
|
+
var t = new e.constructor(e.source, rh.exec(e));
|
|
6477
6484
|
return t.lastIndex = e.lastIndex, t;
|
|
6478
6485
|
}
|
|
6479
6486
|
var Ii = xn ? xn.prototype : void 0, $i = Ii ? Ii.valueOf : void 0;
|
|
6480
|
-
function
|
|
6487
|
+
function sh(e) {
|
|
6481
6488
|
return $i ? Object($i.call(e)) : {};
|
|
6482
6489
|
}
|
|
6483
|
-
function
|
|
6490
|
+
function ih(e, t) {
|
|
6484
6491
|
var n = _s(e.buffer);
|
|
6485
6492
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
6486
6493
|
}
|
|
6487
|
-
var
|
|
6488
|
-
function
|
|
6494
|
+
var ch = "[object Boolean]", ah = "[object Date]", uh = "[object Map]", lh = "[object Number]", fh = "[object RegExp]", ph = "[object Set]", dh = "[object String]", hh = "[object Symbol]", gh = "[object ArrayBuffer]", mh = "[object DataView]", vh = "[object Float32Array]", Eh = "[object Float64Array]", yh = "[object Int8Array]", _h = "[object Int16Array]", bh = "[object Int32Array]", wh = "[object Uint8Array]", Oh = "[object Uint8ClampedArray]", Sh = "[object Uint16Array]", Ah = "[object Uint32Array]";
|
|
6495
|
+
function Nh(e, t, n) {
|
|
6489
6496
|
var r = e.constructor;
|
|
6490
6497
|
switch (t) {
|
|
6491
|
-
case
|
|
6498
|
+
case gh:
|
|
6492
6499
|
return _s(e);
|
|
6493
|
-
case ih:
|
|
6494
6500
|
case ch:
|
|
6501
|
+
case ah:
|
|
6495
6502
|
return new r(+e);
|
|
6496
|
-
case gh:
|
|
6497
|
-
return th(e);
|
|
6498
6503
|
case mh:
|
|
6504
|
+
return nh(e);
|
|
6499
6505
|
case vh:
|
|
6500
6506
|
case Eh:
|
|
6501
6507
|
case yh:
|
|
@@ -6504,21 +6510,22 @@ function Ah(e, t, n) {
|
|
|
6504
6510
|
case wh:
|
|
6505
6511
|
case Oh:
|
|
6506
6512
|
case Sh:
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
return new r();
|
|
6513
|
+
case Ah:
|
|
6514
|
+
return ih(e);
|
|
6510
6515
|
case uh:
|
|
6511
|
-
case ph:
|
|
6512
|
-
return new r(e);
|
|
6513
|
-
case lh:
|
|
6514
|
-
return rh(e);
|
|
6515
|
-
case fh:
|
|
6516
6516
|
return new r();
|
|
6517
|
+
case lh:
|
|
6517
6518
|
case dh:
|
|
6519
|
+
return new r(e);
|
|
6520
|
+
case fh:
|
|
6518
6521
|
return oh(e);
|
|
6522
|
+
case ph:
|
|
6523
|
+
return new r();
|
|
6524
|
+
case hh:
|
|
6525
|
+
return sh(e);
|
|
6519
6526
|
}
|
|
6520
6527
|
}
|
|
6521
|
-
var Mi = Object.create,
|
|
6528
|
+
var Mi = Object.create, Th = /* @__PURE__ */ function() {
|
|
6522
6529
|
function e() {
|
|
6523
6530
|
}
|
|
6524
6531
|
return function(t) {
|
|
@@ -6531,21 +6538,21 @@ var Mi = Object.create, Nh = /* @__PURE__ */ function() {
|
|
|
6531
6538
|
return e.prototype = void 0, n;
|
|
6532
6539
|
};
|
|
6533
6540
|
}();
|
|
6534
|
-
function
|
|
6535
|
-
return typeof e.constructor == "function" && !aa(e) ?
|
|
6541
|
+
function Rh(e) {
|
|
6542
|
+
return typeof e.constructor == "function" && !aa(e) ? Th(Gd(e)) : {};
|
|
6536
6543
|
}
|
|
6537
|
-
var
|
|
6538
|
-
function
|
|
6539
|
-
return mr(e) && Ht(e) ==
|
|
6544
|
+
var xh = "[object Map]";
|
|
6545
|
+
function Dh(e) {
|
|
6546
|
+
return mr(e) && Ht(e) == xh;
|
|
6540
6547
|
}
|
|
6541
|
-
var Li = Dn && Dn.isMap,
|
|
6542
|
-
function
|
|
6543
|
-
return mr(e) && Ht(e) ==
|
|
6548
|
+
var Li = Dn && Dn.isMap, Ch = Li ? ys(Li) : Dh, Ph = "[object Set]";
|
|
6549
|
+
function Ih(e) {
|
|
6550
|
+
return mr(e) && Ht(e) == Ph;
|
|
6544
6551
|
}
|
|
6545
|
-
var Vi = Dn && Dn.isSet,
|
|
6546
|
-
xe[fa] = xe[
|
|
6547
|
-
xe[
|
|
6548
|
-
function Dr(e, t, n, r,
|
|
6552
|
+
var Vi = Dn && Dn.isSet, $h = Vi ? ys(Vi) : Ih, fa = "[object Arguments]", Mh = "[object Array]", Lh = "[object Boolean]", Vh = "[object Date]", jh = "[object Error]", pa = "[object Function]", Hh = "[object GeneratorFunction]", Wh = "[object Map]", Fh = "[object Number]", da = "[object Object]", Bh = "[object RegExp]", Uh = "[object Set]", Gh = "[object String]", Kh = "[object Symbol]", kh = "[object WeakMap]", Yh = "[object ArrayBuffer]", qh = "[object DataView]", zh = "[object Float32Array]", Jh = "[object Float64Array]", Xh = "[object Int8Array]", Zh = "[object Int16Array]", Qh = "[object Int32Array]", eg = "[object Uint8Array]", tg = "[object Uint8ClampedArray]", ng = "[object Uint16Array]", rg = "[object Uint32Array]", xe = {};
|
|
6553
|
+
xe[fa] = xe[Mh] = xe[Yh] = xe[qh] = xe[Lh] = xe[Vh] = xe[zh] = xe[Jh] = xe[Xh] = xe[Zh] = xe[Qh] = xe[Wh] = xe[Fh] = xe[da] = xe[Bh] = xe[Uh] = xe[Gh] = xe[Kh] = xe[eg] = xe[tg] = xe[ng] = xe[rg] = !0;
|
|
6554
|
+
xe[jh] = xe[pa] = xe[kh] = !1;
|
|
6555
|
+
function Dr(e, t, n, r, o, s) {
|
|
6549
6556
|
var i;
|
|
6550
6557
|
if (i !== void 0)
|
|
6551
6558
|
return i;
|
|
@@ -6553,69 +6560,69 @@ function Dr(e, t, n, r, s, o) {
|
|
|
6553
6560
|
return e;
|
|
6554
6561
|
var c = Es(e);
|
|
6555
6562
|
if (c)
|
|
6556
|
-
i =
|
|
6563
|
+
i = th(e);
|
|
6557
6564
|
else {
|
|
6558
|
-
var l = Ht(e), E = l == pa || l ==
|
|
6565
|
+
var l = Ht(e), E = l == pa || l == Hh;
|
|
6559
6566
|
if (sa(e))
|
|
6560
|
-
return
|
|
6561
|
-
if (l == da || l == fa || E && !
|
|
6562
|
-
i = E ? {} :
|
|
6567
|
+
return Vd(e);
|
|
6568
|
+
if (l == da || l == fa || E && !o)
|
|
6569
|
+
i = E ? {} : Rh(e);
|
|
6563
6570
|
else {
|
|
6564
6571
|
if (!xe[l])
|
|
6565
|
-
return
|
|
6566
|
-
i =
|
|
6572
|
+
return o ? e : {};
|
|
6573
|
+
i = Nh(e, l);
|
|
6567
6574
|
}
|
|
6568
6575
|
}
|
|
6569
|
-
|
|
6570
|
-
var p =
|
|
6576
|
+
s || (s = new Ln());
|
|
6577
|
+
var p = s.get(e);
|
|
6571
6578
|
if (p)
|
|
6572
6579
|
return p;
|
|
6573
|
-
|
|
6574
|
-
i.add(Dr(O, t, n, O, e,
|
|
6575
|
-
}) :
|
|
6576
|
-
i.set($, Dr(O, t, n, $, e,
|
|
6580
|
+
s.set(e, i), $h(e) ? e.forEach(function(O) {
|
|
6581
|
+
i.add(Dr(O, t, n, O, e, s));
|
|
6582
|
+
}) : Ch(e) && e.forEach(function(O, $) {
|
|
6583
|
+
i.set($, Dr(O, t, n, $, e, s));
|
|
6577
6584
|
});
|
|
6578
|
-
var d =
|
|
6579
|
-
return
|
|
6580
|
-
h && ($ = O, O = e[$]),
|
|
6585
|
+
var d = kd, h = c ? void 0 : d(e);
|
|
6586
|
+
return Lp(h || e, function(O, $) {
|
|
6587
|
+
h && ($ = O, O = e[$]), Wp(i, $, Dr(O, t, n, $, e, s));
|
|
6581
6588
|
}), i;
|
|
6582
6589
|
}
|
|
6583
|
-
var
|
|
6590
|
+
var og = 1, sg = 4;
|
|
6584
6591
|
function ji(e) {
|
|
6585
|
-
return Dr(e,
|
|
6592
|
+
return Dr(e, og | sg);
|
|
6586
6593
|
}
|
|
6587
6594
|
const sn = {};
|
|
6588
6595
|
let Cr = [];
|
|
6589
|
-
const
|
|
6596
|
+
const ig = (e, t, n) => {
|
|
6590
6597
|
Cr.map((r) => {
|
|
6591
|
-
var
|
|
6592
|
-
if (((
|
|
6598
|
+
var o;
|
|
6599
|
+
if (((o = r.watchKeys) == null ? void 0 : o.length) > 0 && Object.keys(e).some((s) => r.watchKeys.includes(s)))
|
|
6593
6600
|
return r.cb(t, n);
|
|
6594
6601
|
r.cb(t, n);
|
|
6595
6602
|
});
|
|
6596
|
-
},
|
|
6597
|
-
set: (r,
|
|
6603
|
+
}, cg = (e) => [...Array(e)].map(() => Math.random().toString(36)[2]).join("").padEnd(e, "0").slice(0, e), bs = (e, t) => (sn[e] = t, {
|
|
6604
|
+
set: (r, o) => {
|
|
6598
6605
|
if (!r || typeof r != "object") return;
|
|
6599
|
-
const
|
|
6606
|
+
const s = ji(sn[e]), { notMerge: i = !1 } = o || {};
|
|
6600
6607
|
i ? sn[e] = r : Object.keys(r || {}).map((c) => {
|
|
6601
6608
|
sn[e][c] = r[c];
|
|
6602
|
-
}),
|
|
6609
|
+
}), ig(r, ji(sn[e]), s);
|
|
6603
6610
|
},
|
|
6604
6611
|
get: (r) => {
|
|
6605
6612
|
if (!(r && r.length > 0)) return sn[e];
|
|
6606
|
-
let
|
|
6607
|
-
return r.map((
|
|
6613
|
+
let o = {};
|
|
6614
|
+
return r.map((s) => {
|
|
6608
6615
|
var i;
|
|
6609
|
-
s
|
|
6610
|
-
}),
|
|
6616
|
+
o[s] = (i = sn[e]) == null ? void 0 : i[s];
|
|
6617
|
+
}), o;
|
|
6611
6618
|
},
|
|
6612
|
-
watch: (r,
|
|
6613
|
-
const
|
|
6614
|
-
return Cr.push({ id:
|
|
6615
|
-
Cr = Cr.filter((i) => i.id !==
|
|
6619
|
+
watch: (r, o) => {
|
|
6620
|
+
const s = cg(10);
|
|
6621
|
+
return Cr.push({ id: s, watchKeys: o || [], cb: r }), () => {
|
|
6622
|
+
Cr = Cr.filter((i) => i.id !== s);
|
|
6616
6623
|
};
|
|
6617
6624
|
}
|
|
6618
|
-
}),
|
|
6625
|
+
}), ag = "container", ug = {
|
|
6619
6626
|
/** 整个容器是否显示,默认为true,包括内容区域 */
|
|
6620
6627
|
visible: void 0,
|
|
6621
6628
|
/** 外框是否显示,默认为true,外框包括顶部导航栏,左侧菜单栏,tab标签栏 */
|
|
@@ -6660,8 +6667,8 @@ const sg = (e, t, n) => {
|
|
|
6660
6667
|
microAppStickStatus: !1,
|
|
6661
6668
|
/** 容器创建时的初始化配置 */
|
|
6662
6669
|
initOptions: {}
|
|
6663
|
-
},
|
|
6664
|
-
data:
|
|
6670
|
+
}, lg = bs(ag, ug), fg = {
|
|
6671
|
+
data: lg,
|
|
6665
6672
|
event: so(),
|
|
6666
6673
|
expose: {
|
|
6667
6674
|
/** 获取布局相关的数据key */
|
|
@@ -6678,77 +6685,77 @@ const sg = (e, t, n) => {
|
|
|
6678
6685
|
"mountRect"
|
|
6679
6686
|
]
|
|
6680
6687
|
}
|
|
6681
|
-
},
|
|
6682
|
-
var Co = { exports: {} }, Pr = { exports: {} },
|
|
6683
|
-
function
|
|
6688
|
+
}, pg = { container: fg };
|
|
6689
|
+
var Co = { exports: {} }, Pr = { exports: {} }, dg = Pr.exports, Hi;
|
|
6690
|
+
function hg() {
|
|
6684
6691
|
return Hi || (Hi = 1, function(e, t) {
|
|
6685
6692
|
(function(n, r) {
|
|
6686
6693
|
e.exports = r();
|
|
6687
|
-
})(typeof self < "u" ? self :
|
|
6694
|
+
})(typeof self < "u" ? self : dg, function() {
|
|
6688
6695
|
return function(n) {
|
|
6689
6696
|
var r = {};
|
|
6690
|
-
function s
|
|
6691
|
-
if (r[
|
|
6692
|
-
var i = r[
|
|
6693
|
-
i:
|
|
6697
|
+
function o(s) {
|
|
6698
|
+
if (r[s]) return r[s].exports;
|
|
6699
|
+
var i = r[s] = {
|
|
6700
|
+
i: s,
|
|
6694
6701
|
l: !1,
|
|
6695
6702
|
exports: {}
|
|
6696
6703
|
};
|
|
6697
|
-
return n[
|
|
6704
|
+
return n[s].call(i.exports, i, i.exports, o), i.l = !0, i.exports;
|
|
6698
6705
|
}
|
|
6699
|
-
return
|
|
6700
|
-
|
|
6706
|
+
return o.m = n, o.c = r, o.d = function(s, i, c) {
|
|
6707
|
+
o.o(s, i) || Object.defineProperty(s, i, {
|
|
6701
6708
|
configurable: !1,
|
|
6702
6709
|
enumerable: !0,
|
|
6703
6710
|
get: c
|
|
6704
6711
|
});
|
|
6705
|
-
},
|
|
6706
|
-
var i =
|
|
6707
|
-
return
|
|
6712
|
+
}, o.n = function(s) {
|
|
6713
|
+
var i = s && s.__esModule ? function() {
|
|
6714
|
+
return s.default;
|
|
6708
6715
|
} : function() {
|
|
6709
|
-
return
|
|
6716
|
+
return s;
|
|
6710
6717
|
};
|
|
6711
|
-
return
|
|
6712
|
-
},
|
|
6713
|
-
return Object.prototype.hasOwnProperty.call(
|
|
6714
|
-
},
|
|
6718
|
+
return o.d(i, "a", i), i;
|
|
6719
|
+
}, o.o = function(s, i) {
|
|
6720
|
+
return Object.prototype.hasOwnProperty.call(s, i);
|
|
6721
|
+
}, o.p = "", o(o.s = "./src/index.js");
|
|
6715
6722
|
}({
|
|
6716
|
-
"./src/index.js": function(n, r,
|
|
6723
|
+
"./src/index.js": function(n, r, o) {
|
|
6717
6724
|
Object.defineProperty(r, "__esModule", {
|
|
6718
6725
|
value: !0
|
|
6719
6726
|
});
|
|
6720
|
-
var
|
|
6721
|
-
|
|
6727
|
+
var s = {};
|
|
6728
|
+
o.d(s, "cleanUpWindow", function() {
|
|
6722
6729
|
return Ns;
|
|
6723
|
-
}),
|
|
6730
|
+
}), o.d(s, "Promise", function() {
|
|
6724
6731
|
return _e;
|
|
6725
|
-
}),
|
|
6732
|
+
}), o.d(s, "bridge", function() {
|
|
6726
6733
|
return Ts;
|
|
6727
|
-
}),
|
|
6734
|
+
}), o.d(s, "init", function() {
|
|
6728
6735
|
return uo;
|
|
6729
|
-
}),
|
|
6736
|
+
}), o.d(s, "parent", function() {
|
|
6730
6737
|
return As;
|
|
6731
|
-
}),
|
|
6738
|
+
}), o.d(s, "send", function() {
|
|
6732
6739
|
return lt;
|
|
6733
|
-
}),
|
|
6740
|
+
}), o.d(s, "request", function() {
|
|
6734
6741
|
return tt;
|
|
6735
|
-
}),
|
|
6742
|
+
}), o.d(s, "sendToParent", function() {
|
|
6736
6743
|
return Vn;
|
|
6737
|
-
}),
|
|
6744
|
+
}), o.d(s, "client", function() {
|
|
6738
6745
|
return Be;
|
|
6739
|
-
}),
|
|
6746
|
+
}), o.d(s, "on", function() {
|
|
6740
6747
|
return jn;
|
|
6741
|
-
}),
|
|
6748
|
+
}), o.d(s, "listen", function() {
|
|
6742
6749
|
return tn;
|
|
6743
|
-
}),
|
|
6750
|
+
}), o.d(s, "once", function() {
|
|
6744
6751
|
return ws;
|
|
6745
|
-
}),
|
|
6752
|
+
}), o.d(s, "listener", function() {
|
|
6746
6753
|
return Os;
|
|
6747
|
-
}),
|
|
6754
|
+
}), o.d(s, "CONFIG", function() {
|
|
6748
6755
|
return ge;
|
|
6749
|
-
}),
|
|
6756
|
+
}), o.d(s, "CONSTANTS", function() {
|
|
6750
6757
|
return N;
|
|
6751
|
-
}),
|
|
6758
|
+
}), o.d(s, "disable", function() {
|
|
6752
6759
|
return Ss;
|
|
6753
6760
|
});
|
|
6754
6761
|
function i(a) {
|
|
@@ -7809,13 +7816,13 @@ function dg() {
|
|
|
7809
7816
|
for (var Hn = [], Wn = 0, mn = te(lo), kt = mn == null ? 0 : mn.length; Wn < kt; Wn++) {
|
|
7810
7817
|
var pt = mn[Wn];
|
|
7811
7818
|
Hn.push(pt);
|
|
7812
|
-
for (var vn = 0,
|
|
7813
|
-
var It =
|
|
7819
|
+
for (var vn = 0, yt = Pt(pt), En = yt == null ? 0 : yt.length; vn < En; vn++) {
|
|
7820
|
+
var It = yt[vn];
|
|
7814
7821
|
Hn.push(It);
|
|
7815
7822
|
}
|
|
7816
7823
|
}
|
|
7817
7824
|
return Hn;
|
|
7818
|
-
}(Ie),
|
|
7825
|
+
}(Ie), Et = Ke == null ? 0 : Ke.length; Je < Et; Je++) {
|
|
7819
7826
|
var Ct = Ke[Je];
|
|
7820
7827
|
try {
|
|
7821
7828
|
if (Ct.top) return Ct.top;
|
|
@@ -7845,14 +7852,14 @@ function dg() {
|
|
|
7845
7852
|
var q = v;
|
|
7846
7853
|
return new _e(function(fe, he) {
|
|
7847
7854
|
var Le = void 0;
|
|
7848
|
-
if (a.fireAndForget || function(Ke,
|
|
7849
|
-
W.responseListeners[Ke] =
|
|
7855
|
+
if (a.fireAndForget || function(Ke, Et) {
|
|
7856
|
+
W.responseListeners[Ke] = Et;
|
|
7850
7857
|
}(V, Le = {
|
|
7851
7858
|
name: u,
|
|
7852
7859
|
window: I,
|
|
7853
7860
|
domain: q,
|
|
7854
|
-
respond: function(Ke,
|
|
7855
|
-
Ke || (Y = !0, X.splice(X.indexOf(ae, 1))), Ke ? he(Ke) : fe(
|
|
7861
|
+
respond: function(Ke, Et) {
|
|
7862
|
+
Ke || (Y = !0, X.splice(X.indexOf(ae, 1))), Ke ? he(Ke) : fe(Et);
|
|
7856
7863
|
}
|
|
7857
7864
|
}), A(I, {
|
|
7858
7865
|
type: N.POST_MESSAGE_TYPE.REQUEST,
|
|
@@ -7939,9 +7946,9 @@ function dg() {
|
|
|
7939
7946
|
};
|
|
7940
7947
|
}
|
|
7941
7948
|
if (Array.isArray(he)) {
|
|
7942
|
-
for (var
|
|
7949
|
+
for (var Et = [], Ct = 0, Pt = he, lo = Pt == null ? 0 : Pt.length; Ct < lo; Ct++) {
|
|
7943
7950
|
var Hn = Pt[Ct];
|
|
7944
|
-
|
|
7951
|
+
Et.push(X({
|
|
7945
7952
|
name: q,
|
|
7946
7953
|
win: fe,
|
|
7947
7954
|
domain: Hn
|
|
@@ -7949,7 +7956,7 @@ function dg() {
|
|
|
7949
7956
|
}
|
|
7950
7957
|
return {
|
|
7951
7958
|
cancel: function() {
|
|
7952
|
-
for (var It = 0, fo =
|
|
7959
|
+
for (var It = 0, fo = Et == null ? 0 : Et.length; It < fo; It++) Et[It].cancel();
|
|
7953
7960
|
}
|
|
7954
7961
|
};
|
|
7955
7962
|
}
|
|
@@ -7963,13 +7970,13 @@ function dg() {
|
|
|
7963
7970
|
kt || (kt = new F(), mn[q] = kt);
|
|
7964
7971
|
var pt = kt.get(fe);
|
|
7965
7972
|
pt || (pt = {}, kt.set(fe, pt));
|
|
7966
|
-
var vn = he.toString(),
|
|
7967
|
-
return Oe(he) ? (
|
|
7973
|
+
var vn = he.toString(), yt = pt[G], En = void 0;
|
|
7974
|
+
return Oe(he) ? (yt || (yt = [], pt[G] = yt), En = {
|
|
7968
7975
|
regex: he,
|
|
7969
7976
|
listener: ee
|
|
7970
|
-
},
|
|
7977
|
+
}, yt.push(En)) : pt[vn] = ee, {
|
|
7971
7978
|
cancel: function() {
|
|
7972
|
-
pt && (delete pt[vn], fe && Object.keys(pt).length === 0 && kt.delete(fe), En &&
|
|
7979
|
+
pt && (delete pt[vn], fe && Object.keys(pt).length === 0 && kt.delete(fe), En && yt.splice(yt.indexOf(En, 1)));
|
|
7973
7980
|
}
|
|
7974
7981
|
};
|
|
7975
7982
|
}({
|
|
@@ -8060,82 +8067,82 @@ function dg() {
|
|
|
8060
8067
|
var a, u;
|
|
8061
8068
|
W.initialized = !0;
|
|
8062
8069
|
}
|
|
8063
|
-
uo(),
|
|
8070
|
+
uo(), o.d(r, "cleanUpWindow", function() {
|
|
8064
8071
|
return Ns;
|
|
8065
|
-
}),
|
|
8072
|
+
}), o.d(r, "Promise", function() {
|
|
8066
8073
|
return _e;
|
|
8067
|
-
}),
|
|
8074
|
+
}), o.d(r, "bridge", function() {
|
|
8068
8075
|
return Ts;
|
|
8069
|
-
}),
|
|
8076
|
+
}), o.d(r, "init", function() {
|
|
8070
8077
|
return uo;
|
|
8071
|
-
}),
|
|
8078
|
+
}), o.d(r, "parent", function() {
|
|
8072
8079
|
return As;
|
|
8073
|
-
}),
|
|
8080
|
+
}), o.d(r, "send", function() {
|
|
8074
8081
|
return lt;
|
|
8075
|
-
}),
|
|
8082
|
+
}), o.d(r, "request", function() {
|
|
8076
8083
|
return tt;
|
|
8077
|
-
}),
|
|
8084
|
+
}), o.d(r, "sendToParent", function() {
|
|
8078
8085
|
return Vn;
|
|
8079
|
-
}),
|
|
8086
|
+
}), o.d(r, "client", function() {
|
|
8080
8087
|
return Be;
|
|
8081
|
-
}),
|
|
8088
|
+
}), o.d(r, "on", function() {
|
|
8082
8089
|
return jn;
|
|
8083
|
-
}),
|
|
8090
|
+
}), o.d(r, "listen", function() {
|
|
8084
8091
|
return tn;
|
|
8085
|
-
}),
|
|
8092
|
+
}), o.d(r, "once", function() {
|
|
8086
8093
|
return ws;
|
|
8087
|
-
}),
|
|
8094
|
+
}), o.d(r, "listener", function() {
|
|
8088
8095
|
return Os;
|
|
8089
|
-
}),
|
|
8096
|
+
}), o.d(r, "CONFIG", function() {
|
|
8090
8097
|
return ge;
|
|
8091
|
-
}),
|
|
8098
|
+
}), o.d(r, "CONSTANTS", function() {
|
|
8092
8099
|
return N;
|
|
8093
|
-
}),
|
|
8100
|
+
}), o.d(r, "disable", function() {
|
|
8094
8101
|
return Ss;
|
|
8095
|
-
}), r.default =
|
|
8102
|
+
}), r.default = s;
|
|
8096
8103
|
}
|
|
8097
8104
|
});
|
|
8098
8105
|
});
|
|
8099
8106
|
}(Pr)), Pr.exports;
|
|
8100
8107
|
}
|
|
8101
8108
|
var Wi;
|
|
8102
|
-
function
|
|
8109
|
+
function gg() {
|
|
8103
8110
|
return Wi || (Wi = 1, function(e) {
|
|
8104
|
-
e.exports =
|
|
8111
|
+
e.exports = hg(), e.exports.default = e.exports;
|
|
8105
8112
|
}(Co)), Co.exports;
|
|
8106
8113
|
}
|
|
8107
|
-
var Cn =
|
|
8108
|
-
const ha = [],
|
|
8114
|
+
var Cn = gg();
|
|
8115
|
+
const ha = [], mg = async (e) => {
|
|
8109
8116
|
ha.push(e);
|
|
8110
|
-
},
|
|
8111
|
-
const r = ha.find((
|
|
8112
|
-
return r ? Cn.send(r.contentWindow, t, n).then((
|
|
8113
|
-
},
|
|
8114
|
-
data:
|
|
8117
|
+
}, vg = async (e, t, n) => {
|
|
8118
|
+
const r = ha.find((o) => o.name === e);
|
|
8119
|
+
return r ? Cn.send(r.contentWindow, t, n).then((o) => [null, o.data]).catch((o) => [o, null]) : [{ msg: "microApp not exit" }, null];
|
|
8120
|
+
}, Eg = "mainApp", yg = {}, _g = bs(Eg, yg), bg = {
|
|
8121
|
+
data: _g,
|
|
8115
8122
|
cors: {
|
|
8116
|
-
send:
|
|
8123
|
+
send: vg,
|
|
8117
8124
|
on: (e, t, n) => Cn.on(e, t, n),
|
|
8118
8125
|
once: (e, t, n) => Cn.once(e, t, n)
|
|
8119
8126
|
},
|
|
8120
8127
|
expose: {
|
|
8121
|
-
connectMicroApp:
|
|
8128
|
+
connectMicroApp: mg
|
|
8122
8129
|
},
|
|
8123
8130
|
event: so()
|
|
8124
|
-
},
|
|
8131
|
+
}, wg = { mainApp: bg }, Og = "microApp", Sg = async (e, t) => Cn.send(window.parent, e, t).then((n) => [null, n.data]).catch((n) => [n, null]), Ag = {
|
|
8125
8132
|
appInfo: {}
|
|
8126
|
-
},
|
|
8127
|
-
data:
|
|
8133
|
+
}, Ng = bs(Og, Ag), Tg = {
|
|
8134
|
+
data: Ng,
|
|
8128
8135
|
cors: {
|
|
8129
|
-
send:
|
|
8136
|
+
send: Sg,
|
|
8130
8137
|
on: (e, t, n) => Cn.on(e, t, n),
|
|
8131
8138
|
once: (e, t, n) => Cn.once(e, t, n)
|
|
8132
8139
|
},
|
|
8133
8140
|
event: so()
|
|
8134
|
-
},
|
|
8135
|
-
...
|
|
8136
|
-
...
|
|
8137
|
-
...
|
|
8138
|
-
},
|
|
8141
|
+
}, Rg = { microApp: Tg }, xg = {
|
|
8142
|
+
...pg,
|
|
8143
|
+
...wg,
|
|
8144
|
+
...Rg
|
|
8145
|
+
}, vt = (e) => xg[e], nt = {
|
|
8139
8146
|
registered: "registered",
|
|
8140
8147
|
loading: "loading",
|
|
8141
8148
|
mounted: "mounted",
|
|
@@ -8146,9 +8153,9 @@ const ha = [], gg = async (e) => {
|
|
|
8146
8153
|
};
|
|
8147
8154
|
let br = qe(null);
|
|
8148
8155
|
const ga = () => {
|
|
8149
|
-
const e =
|
|
8156
|
+
const e = vt("container"), t = /* @__PURE__ */ new Map(), n = so(), r = (s) => {
|
|
8150
8157
|
const i = Array.from(t).find(([E, p]) => {
|
|
8151
|
-
if (
|
|
8158
|
+
if (s) return s === E;
|
|
8152
8159
|
if (p.element)
|
|
8153
8160
|
return getComputedStyle(p.element).display === "block";
|
|
8154
8161
|
});
|
|
@@ -8157,34 +8164,34 @@ const ga = () => {
|
|
|
8157
8164
|
l.element && (l.element.style.display = "none", l.status = nt.deactivated, n.emit(nt.deactivated, l));
|
|
8158
8165
|
};
|
|
8159
8166
|
return {
|
|
8160
|
-
setIframeMountDom: (
|
|
8161
|
-
br.value =
|
|
8167
|
+
setIframeMountDom: (s) => {
|
|
8168
|
+
br.value = s;
|
|
8162
8169
|
},
|
|
8163
|
-
registerIframe: (
|
|
8170
|
+
registerIframe: (s, i) => {
|
|
8164
8171
|
const c = {
|
|
8165
|
-
id:
|
|
8172
|
+
id: s,
|
|
8166
8173
|
config: i,
|
|
8167
8174
|
status: nt.registered,
|
|
8168
8175
|
element: null
|
|
8169
8176
|
};
|
|
8170
|
-
t.set(
|
|
8177
|
+
t.set(s, c);
|
|
8171
8178
|
},
|
|
8172
|
-
getIframeInfo: (
|
|
8173
|
-
checkIframeStatus: (
|
|
8179
|
+
getIframeInfo: (s) => t.get(s),
|
|
8180
|
+
checkIframeStatus: (s, i) => Array.isArray(i) ? i.includes(t.get(s).status) : t.get(s).status === i,
|
|
8174
8181
|
iframeEvent: n,
|
|
8175
|
-
loadIframe: async (
|
|
8182
|
+
loadIframe: async (s, i) => {
|
|
8176
8183
|
var O, $;
|
|
8177
|
-
br.value || await new Promise((j) =>
|
|
8178
|
-
const c = t.get(
|
|
8184
|
+
br.value || await new Promise((j) => At(() => br.value, j));
|
|
8185
|
+
const c = t.get(s);
|
|
8179
8186
|
if (!c || c.status === nt.loading) return;
|
|
8180
|
-
if (Array.from(t).map((j) => j[1]).filter((j) => j.id !==
|
|
8187
|
+
if (Array.from(t).map((j) => j[1]).filter((j) => j.id !== s).map((j) => r(j.id)), c.element && getComputedStyle(c.element).display !== "block") {
|
|
8181
8188
|
c.element.style.display = "block", c.status = nt.activated, n.emit(nt.activated, c), await new Promise((j) => setTimeout(j, 0));
|
|
8182
8189
|
return;
|
|
8183
8190
|
}
|
|
8184
8191
|
c.status = nt.loading, n.emit(nt.activated, c);
|
|
8185
8192
|
const l = document.createElement("iframe");
|
|
8186
8193
|
let E = c.config.origin, p = (($ = (O = c == null ? void 0 : c.config) == null ? void 0 : O.router) == null ? void 0 : $.concatPath) ?? !0;
|
|
8187
|
-
i != null && i.path && p && (E = E + (i == null ? void 0 : i.path)), l.src = E, l.setAttribute("id",
|
|
8194
|
+
i != null && i.path && p && (E = E + (i == null ? void 0 : i.path)), l.src = E, l.setAttribute("id", s), l.setAttribute("frameBorder", "0"), l.style.width = "100%", l.style.height = "100%", l.style.display = "block", l.name = JSON.stringify({
|
|
8188
8195
|
appInfo: c.config,
|
|
8189
8196
|
parentData: {
|
|
8190
8197
|
layoutData: e.data.get(e.expose.getLayoutDataKeys()),
|
|
@@ -8192,7 +8199,7 @@ const ga = () => {
|
|
|
8192
8199
|
}
|
|
8193
8200
|
}), br.value.appendChild(l);
|
|
8194
8201
|
const [d, h] = await new Promise((j) => {
|
|
8195
|
-
l.onload = (B) => j([null, B]), l.onerror = () => j([new Error(`${
|
|
8202
|
+
l.onload = (B) => j([null, B]), l.onerror = () => j([new Error(`${s} IFrame load failed`), null]);
|
|
8196
8203
|
});
|
|
8197
8204
|
if (d) {
|
|
8198
8205
|
c.status = nt.error, n.emit(nt.error, c);
|
|
@@ -8204,31 +8211,31 @@ const ga = () => {
|
|
|
8204
8211
|
});
|
|
8205
8212
|
},
|
|
8206
8213
|
hideIframe: r,
|
|
8207
|
-
destroyIframe: (
|
|
8208
|
-
const i = t.get(
|
|
8209
|
-
i && (i.element.remove(), i.status = nt.destroy, n.emit(nt.destroy, i), t.delete(
|
|
8214
|
+
destroyIframe: (s) => {
|
|
8215
|
+
const i = t.get(s);
|
|
8216
|
+
i && (i.element.remove(), i.status = nt.destroy, n.emit(nt.destroy, i), t.delete(s));
|
|
8210
8217
|
}
|
|
8211
8218
|
};
|
|
8212
|
-
},
|
|
8219
|
+
}, $g = (e, t) => {
|
|
8213
8220
|
const { interval: n = 50, times: r = 10 } = t || {};
|
|
8214
|
-
return new Promise((
|
|
8215
|
-
let
|
|
8221
|
+
return new Promise((o) => {
|
|
8222
|
+
let s = 0;
|
|
8216
8223
|
const i = () => {
|
|
8217
8224
|
const c = e();
|
|
8218
|
-
if (c ||
|
|
8219
|
-
|
|
8225
|
+
if (c || s >= r) return o(c);
|
|
8226
|
+
s++, setTimeout(i, n);
|
|
8220
8227
|
};
|
|
8221
8228
|
i();
|
|
8222
8229
|
});
|
|
8223
8230
|
};
|
|
8224
8231
|
export {
|
|
8225
|
-
|
|
8232
|
+
vt as bus,
|
|
8226
8233
|
Jc as createContainer,
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8234
|
+
Dg as createMainApp,
|
|
8235
|
+
Ig as createMicroApp,
|
|
8236
|
+
$g as pollVariable,
|
|
8237
|
+
Pg as reportRouter,
|
|
8238
|
+
Cg as syncRouter,
|
|
8232
8239
|
ga as useIframeManager,
|
|
8233
8240
|
Xc as useRouter,
|
|
8234
8241
|
Zc as useRouterEventListener
|