@fox-js/fox 3.1.1-23 → 3.1.1-24

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/libs/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as Cr, effectScope as as, getCurrentInstance as Vt, h as ce, inject as G, onUnmounted as ct, provide as te, reactive as us, readonly as fs, ref as cs, shallowReactive as hs, shallowRef as Ar, toRaw as Ot, watch as ys } from "vue";
2
- var Pe = typeof window < "u", C = function() {
1
+ import { defineComponent as Fr, effectScope as as, getCurrentInstance as Vt, h as ce, inject as G, onUnmounted as ct, provide as te, reactive as us, readonly as fs, ref as cs, shallowReactive as hs, shallowRef as Ar, toRaw as Ot, watch as ys } from "vue";
2
+ var Pe = typeof window < "u", F = function() {
3
3
  return window;
4
4
  }, Ue = function() {
5
5
  return window.document;
@@ -20,12 +20,12 @@ var Ve = (e, t, r) => {
20
20
  let i = !0, n = !0;
21
21
  for (let a in t) a === "bubbles" ? i = !!t[a] : a === "cancelable" ? n = !!t[a] : s[a] = t[a];
22
22
  s.initEvent(e, i, n), (r ?? document).dispatchEvent(s);
23
- }, er = Array.isArray, Ai = (e) => Jt(e) === "[object Map]", Ki = (e) => Jt(e) === "[object Set]", $i = (e) => e instanceof Date, b = (e) => typeof e == "function", qi = (e) => typeof e == "string", ji = (e) => typeof e == "symbol", ds = (e) => e !== null && typeof e == "object", Li = (e) => ds(e) && b(e.then) && b(e.catch), He = (e) => e == null, ms = Object.prototype.toString, Jt = (e) => ms.call(e), vs = (e) => Jt(e) === "[object Object]", ps = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
23
+ }, er = Array.isArray, Ai = (e) => Jt(e) === "[object Map]", qi = (e) => Jt(e) === "[object Set]", Ki = (e) => e instanceof Date, w = (e) => typeof e == "function", $i = (e) => typeof e == "string", ji = (e) => typeof e == "symbol", ds = (e) => e !== null && typeof e == "object", Li = (e) => ds(e) && w(e.then) && w(e.catch), He = (e) => e == null, ms = Object.prototype.toString, Jt = (e) => ms.call(e), vs = (e) => Jt(e) === "[object Object]", ps = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
24
24
  function zt(e) {
25
25
  return e.__esModule || ps && e[Symbol.toStringTag] === "Module";
26
26
  }
27
27
  var gs = typeof Promise < "u" && Promise.toString().indexOf("[native code]") !== -1;
28
- function q(...e) {
28
+ function $(...e) {
29
29
  let t = e[0] !== void 0 && e[0] !== null ? e[0] : {}, r = 1, s = e.length, i = !1;
30
30
  for (typeof t == "boolean" && (i = t, t = e[r] ?? {}, r++), typeof t != "object" && (t = {}); r < s; r++) if (e[r] !== null && e[r] !== void 0) {
31
31
  let n = e[r];
@@ -34,13 +34,13 @@ function q(...e) {
34
34
  if (l !== o)
35
35
  if (i === !0 && o && typeof o == "object") {
36
36
  let u;
37
- Array.isArray(o) ? u = l && Array.isArray(l) ? l : [] : u = l && typeof l == "object" ? l : {}, t[a] = q(i, u, o);
37
+ Array.isArray(o) ? u = l && Array.isArray(l) ? l : [] : u = l && typeof l == "object" ? l : {}, t[a] = $(i, u, o);
38
38
  } else o !== void 0 && (t[a] = o);
39
39
  }
40
40
  }
41
41
  return t;
42
42
  }
43
- function Kr(e, t, r = !1) {
43
+ function qr(e, t, r = !1) {
44
44
  if (typeof t != "object") return {};
45
45
  typeof e != "object" && (e = {});
46
46
  for (let s of Reflect.ownKeys(t)) {
@@ -48,7 +48,7 @@ function Kr(e, t, r = !1) {
48
48
  if (i !== n)
49
49
  if (typeof n == "object") {
50
50
  if (!Array.isArray(n) && !vs(n)) continue;
51
- i = Kr(i, n, r), e[s] = i;
51
+ i = qr(i, n, r), e[s] = i;
52
52
  } else {
53
53
  if (typeof n == "function") continue;
54
54
  e[s] = n;
@@ -70,13 +70,13 @@ function Be(e, ...t) {
70
70
  e(t);
71
71
  }) : setTimeout(e);
72
72
  }
73
- function $r(e) {
73
+ function Kr(e) {
74
74
  return e == null ? !1 : typeof e == "boolean" ? e : typeof e == "string" ? e.toLocaleLowerCase() === "true" : !!e;
75
75
  }
76
76
  function Ti(e) {
77
77
  return typeof e == "number" ? e : Number(e);
78
78
  }
79
- var ws = {
79
+ var bs = {
80
80
  "[object Boolean]": "boolean",
81
81
  "[object Number]": "number",
82
82
  "[object String]": "string",
@@ -88,7 +88,7 @@ var ws = {
88
88
  };
89
89
  function tr(e) {
90
90
  let t = Object.prototype.toString.call(e);
91
- return e == null ? String(e) : ws[t] || "object";
91
+ return e == null ? String(e) : bs[t] || "object";
92
92
  }
93
93
  function rr(e, t) {
94
94
  if (e == t) return !0;
@@ -113,19 +113,19 @@ function rr(e, t) {
113
113
  }
114
114
  return !1;
115
115
  }
116
- var qr = (e) => {
116
+ var $r = (e) => {
117
117
  const t = {};
118
118
  for (let r of Reflect.ownKeys(e)) {
119
119
  let s = e[r];
120
- s && !Array.isArray(s) && typeof s == "object" && (s = qr(s)), typeof r == "symbol" ? t[String(r)] = s : t[r] = s;
120
+ s && !Array.isArray(s) && typeof s == "object" && (s = $r(s)), typeof r == "symbol" ? t[String(r)] = s : t[r] = s;
121
121
  }
122
122
  return t;
123
- }, bs = /^Symbol\((.*)\)$/, jr = (e) => {
123
+ }, ws = /^Symbol\((.*)\)$/, jr = (e) => {
124
124
  const t = {};
125
125
  for (let r of Reflect.ownKeys(e)) {
126
126
  let s = e[r];
127
127
  s && !Array.isArray(s) && typeof s == "object" && (s = jr(s));
128
- const i = bs.exec(r);
128
+ const i = ws.exec(r);
129
129
  if (i && i[1]) {
130
130
  const n = Symbol.for(i[1]);
131
131
  t[n] = s;
@@ -159,7 +159,7 @@ var sr = /* @__PURE__ */ Symbol("idKey"), me = /* @__PURE__ */ Symbol("valueKey"
159
159
  return r = Xt(t), r[X] = e[X], e[R].set(t, r), De(r);
160
160
  }
161
161
  set(e, t, r) {
162
- return t == "value" ? (e[me].value = r, !0) : t === "grow" ? (e[X] = $r(r), !0) : r == null ? (e[R].delete(t), !0) : (console.error(`illegal property:${t}`), !1);
162
+ return t == "value" ? (e[me].value = r, !0) : t === "grow" ? (e[X] = Kr(r), !0) : r == null ? (e[R].delete(t), !0) : (console.error(`illegal property:${t}`), !1);
163
163
  }
164
164
  deleteProperty(e, t) {
165
165
  return t === "value" || t == "grow" ? (console.error(`can not delete property:${String(t)}`), !1) : (e[R].delete(t), !0);
@@ -190,7 +190,7 @@ var Ss = class {
190
190
  let e = null;
191
191
  if (this.persistPolicy === "custom") e = this.storage;
192
192
  else if (Pe) {
193
- const t = C();
193
+ const t = F();
194
194
  e = this.persistPolicy === "session" ? t.sessionStorage : t.localStorage;
195
195
  }
196
196
  return e;
@@ -251,7 +251,7 @@ var Ss = class {
251
251
  console.error(e);
252
252
  }
253
253
  }
254
- }, Mr = class extends Tr {
254
+ }, kr = class extends Tr {
255
255
  _persistHandler;
256
256
  constructor(e = {}, t) {
257
257
  super("__root__"), this._persistHandler = new Ss(e, t), this._persistHandler.init(this);
@@ -329,20 +329,20 @@ var Ps = class {
329
329
  return s = Xt(r), s[X] = e[X], e[R].set(r, s), De(s);
330
330
  }
331
331
  set(e, t, r) {
332
- return t == "value" ? (e[me].value = r, !0) : t === "grow" ? (e[X] = $r(r), !0) : ir(t) ? !1 : r == null ? (e[R].delete(t), !0) : (console.error(`illegal property:${t}`), !1);
332
+ return t == "value" ? (e[me].value = r, !0) : t === "grow" ? (e[X] = Kr(r), !0) : ir(t) ? !1 : r == null ? (e[R].delete(t), !0) : (console.error(`illegal property:${t}`), !1);
333
333
  }
334
334
  deleteProperty(e, t) {
335
335
  return t === "value" || t == "grow" ? (console.error(`can not delete property:${String(t)}`), !1) : (e[R].delete(t), !0);
336
336
  }
337
337
  };
338
338
  function Es(e, t) {
339
- const r = new Mr(e, t), s = new Ps(), i = new Proxy(r, s);
339
+ const r = new kr(e, t), s = new Ps(), i = new Proxy(r, s);
340
340
  return Reflect.set(r, Gt, i), r;
341
341
  }
342
- var nr = new Proxy(Mr, { construct(e, t) {
342
+ var nr = new Proxy(kr, { construct(e, t) {
343
343
  const r = t[0] ?? {}, s = t[1];
344
344
  return De(Es(r, s));
345
- } }), Qt = (e) => !e || typeof e != "object" ? !0 : Reflect.ownKeys(e).length === 0, kr = class {
345
+ } }), Qt = (e) => !e || typeof e != "object" ? !0 : Reflect.ownKeys(e).length === 0, Mr = class {
346
346
  name = "";
347
347
  persistPolicy = "memory";
348
348
  storage;
@@ -355,7 +355,7 @@ var nr = new Proxy(Mr, { construct(e, t) {
355
355
  let e = null;
356
356
  if (this.persistPolicy === "custom") e = this.storage;
357
357
  else if (Pe) {
358
- const t = C();
358
+ const t = F();
359
359
  e = this.persistPolicy === "session" ? t.sessionStorage : t.localStorage;
360
360
  }
361
361
  return e;
@@ -386,7 +386,7 @@ var nr = new Proxy(Mr, { construct(e, t) {
386
386
  }
387
387
  };
388
388
  function Ir(e, t, r) {
389
- const s = new kr(r);
389
+ const s = new Mr(r);
390
390
  s.restore(t);
391
391
  const i = (l) => {
392
392
  const o = Ot(l), u = {};
@@ -406,14 +406,14 @@ function Ir(e, t, r) {
406
406
  });
407
407
  }), a;
408
408
  }
409
- function Mi(e, t) {
409
+ function ki(e, t) {
410
410
  return Ir(!1, e, t);
411
411
  }
412
- function ki(e, t) {
412
+ function Mi(e, t) {
413
413
  return Ir(!0, e, t);
414
414
  }
415
- function Fs(e, t) {
416
- const r = new kr(t);
415
+ function _s(e, t) {
416
+ const r = new Mr(t);
417
417
  r.restore(e);
418
418
  const s = (n) => {
419
419
  const a = Ot(n), l = {};
@@ -434,7 +434,7 @@ function Fs(e, t) {
434
434
  });
435
435
  }
436
436
  function Ii(e, t) {
437
- return Fs(e, t);
437
+ return _s(e, t);
438
438
  }
439
439
  var Or = "default", Br = /* @__PURE__ */ Symbol("sync"), I = /* @__PURE__ */ Symbol("normalizeRoute");
440
440
  function or(e) {
@@ -444,7 +444,7 @@ function or(e) {
444
444
  return t = !0, Reflect.apply(e, {}, r);
445
445
  };
446
446
  }
447
- function _s(e) {
447
+ function Cs(e) {
448
448
  let t = e.src;
449
449
  return new Promise((r, s) => {
450
450
  const i = or((l) => {
@@ -465,7 +465,7 @@ function _s(e) {
465
465
  }
466
466
  });
467
467
  }
468
- var Cs = class {
468
+ var Fs = class {
469
469
  name;
470
470
  level;
471
471
  rootName;
@@ -483,7 +483,7 @@ var Cs = class {
483
483
  }
484
484
  static from(t) {
485
485
  const r = new Dr(t.to, t.from), s = t.data ?? {};
486
- return q(!0, r.data, s), r;
486
+ return $(!0, r.data, s), r;
487
487
  }
488
488
  static clear(t) {
489
489
  for (let r in t) t[r] = void 0;
@@ -515,7 +515,7 @@ var Cs = class {
515
515
  slot;
516
516
  static clone(t, r) {
517
517
  let s = new Dt();
518
- return Kr(s, t, r), s;
518
+ return qr(s, t, r), s;
519
519
  }
520
520
  static isSame(t, r) {
521
521
  return !t || !r ? !1 : t === r ? !0 : t.root !== r.root || t.index !== r.index ? !1 : t.path && r.path && t.path === r.path ? !0 : !!(t.name && r.name && t.name === r.name);
@@ -545,7 +545,7 @@ var Cs = class {
545
545
  return this.component !== void 0;
546
546
  }
547
547
  resolve() {
548
- return _s(this);
548
+ return Cs(this);
549
549
  }
550
550
  }, lr = class {
551
551
  models = [];
@@ -557,23 +557,23 @@ var Cs = class {
557
557
  meta;
558
558
  matchedRoutes;
559
559
  layers = [];
560
- }, _ = /* @__PURE__ */ (function(e) {
560
+ }, C = /* @__PURE__ */ (function(e) {
561
561
  return e[e.Push = 0] = "Push", e[e.Replace = 1] = "Replace", e[e.Put = 2] = "Put", e[e.Append = 3] = "Append", e[e.Open = 4] = "Open", e;
562
- })({}), Ks = "FoxBeforeEnter", $s = "FoxEnter", qs = "FoxLeave", js = "FoxLeave", Ht = "FoxLeaveEnd", ht = /* @__PURE__ */ Symbol("rk"), gt = /* @__PURE__ */ Symbol("vd"), ar = /* @__PURE__ */ Symbol("rv"), wt = /* @__PURE__ */ Symbol("rvi"), ur = /* @__PURE__ */ Symbol("pv"), bt = /* @__PURE__ */ Symbol("pvi"), Ce = /* @__PURE__ */ Symbol("registerKey"), Ls = class {
563
- [Ce] = /* @__PURE__ */ new Map();
562
+ })({}), qs = "FoxBeforeEnter", Ks = "FoxEnter", $s = "FoxLeave", js = "FoxLeave", Ht = "FoxLeaveEnd", ht = /* @__PURE__ */ Symbol("rk"), gt = /* @__PURE__ */ Symbol("vd"), ar = /* @__PURE__ */ Symbol("rv"), bt = /* @__PURE__ */ Symbol("rvi"), ur = /* @__PURE__ */ Symbol("pv"), wt = /* @__PURE__ */ Symbol("pvi"), Fe = /* @__PURE__ */ Symbol("registerKey"), Ls = class {
563
+ [Fe] = /* @__PURE__ */ new Map();
564
564
  constructor() {
565
565
  }
566
566
  set(e, t) {
567
- this[Ce].set(e, t);
567
+ this[Fe].set(e, t);
568
568
  }
569
569
  get(e) {
570
- return this[Ce].get(e);
570
+ return this[Fe].get(e);
571
571
  }
572
572
  has(e) {
573
- return this[Ce].has(e);
573
+ return this[Fe].has(e);
574
574
  }
575
575
  delete(e) {
576
- return this[Ce].delete(e);
576
+ return this[Fe].delete(e);
577
577
  }
578
578
  }, de = /* @__PURE__ */ Symbol("lc");
579
579
  function lt(e, t = !1) {
@@ -639,7 +639,7 @@ function cr(e, t) {
639
639
  }
640
640
  var ut = /* @__PURE__ */ (function(e) {
641
641
  return e.DEACTIVATED = "da", e.ACTIVATED = "a", e;
642
- })({}), Ms = class {
642
+ })({}), ks = class {
643
643
  type;
644
644
  hook;
645
645
  target;
@@ -647,8 +647,8 @@ var ut = /* @__PURE__ */ (function(e) {
647
647
  this.target = r, this.hook = t, this.type = e;
648
648
  }
649
649
  };
650
- function ks(e, t, r, s) {
651
- let i = new Ms(t, r, s);
650
+ function Ms(e, t, r, s) {
651
+ let i = new ks(t, r, s);
652
652
  return e.push(i), !0;
653
653
  }
654
654
  function Is(e, t, r, s) {
@@ -681,7 +681,7 @@ function Ur(e) {
681
681
  }
682
682
  ct(() => {
683
683
  Is(i, e, t, s);
684
- }), ks(i, e, t, s);
684
+ }), Ms(i, e, t, s);
685
685
  };
686
686
  }
687
687
  var Di = Ur(ut.ACTIVATED), Hi = Ur(ut.DEACTIVATED), Vr = /* @__PURE__ */ Symbol("routeKey");
@@ -773,7 +773,7 @@ function yt(e) {
773
773
  Gs(e);
774
774
  }
775
775
  function A(e, t, r) {
776
- b(t) && (e == null && (e = {}), Reflect.apply(t, e, r));
776
+ w(t) && (e == null && (e = {}), Reflect.apply(t, e, r));
777
777
  }
778
778
  function Xr(e, t, r, s = -1, i, n, a) {
779
779
  let l = [];
@@ -781,7 +781,7 @@ function Xr(e, t, r, s = -1, i, n, a) {
781
781
  for (let u of l) Wt(t, u.type, u.listener);
782
782
  l = [];
783
783
  };
784
- if (b(n)) {
784
+ if (w(n)) {
785
785
  if (i !== void 0 && i >= 0) {
786
786
  setTimeout(() => {
787
787
  Reflect.apply(n, e, [
@@ -810,7 +810,7 @@ function Xr(e, t, r, s = -1, i, n, a) {
810
810
  });
811
811
  });
812
812
  }
813
- if (b(a)) {
813
+ if (w(a)) {
814
814
  const u = "animationcancel", f = (c) => {
815
815
  (c.target || c.srcElement) === c.currentTarget && (o(), Reflect.apply(a, e, [
816
816
  t,
@@ -825,7 +825,7 @@ function Xr(e, t, r, s = -1, i, n, a) {
825
825
  }
826
826
  }
827
827
  function dt(e) {
828
- return !Pe || e === null ? !1 : e.opsType === _.Append || e.opsType === _.Open;
828
+ return !Pe || e === null ? !1 : e.opsType === C.Append || e.opsType === C.Open;
829
829
  }
830
830
  function Qr(e, t, r, s = {}, i, n = -1) {
831
831
  if (t || dt(i)) {
@@ -842,30 +842,30 @@ function Qr(e, t, r, s = {}, i, n = -1) {
842
842
  }
843
843
  function Zr(e, t, r, s = {}, i, n, a, l) {
844
844
  if (!dt(n) && !t) {
845
- b(l) && l(e, l, [r]);
845
+ w(l) && l(e, l, [r]);
846
846
  return;
847
847
  }
848
848
  const o = Wr(s, t), u = Jr(s, t), f = Os(s, t), c = Hs(s, t), h = Ns(s, t), y = Us(s, t);
849
849
  if (!o && !u && !f && !c) {
850
- b(l) && l(e, l, [r]);
850
+ w(l) && l(e, l, [r]);
851
851
  return;
852
852
  }
853
853
  yt(() => {
854
854
  Xr(e, r, n, a, i, () => {
855
- u && xe(r, u), f && xe(r, f), b(h) && A(e, h, [
855
+ u && xe(r, u), f && xe(r, f), w(h) && A(e, h, [
856
856
  r,
857
857
  t,
858
858
  n,
859
859
  a
860
- ]), b(l) && l(e, l, [r]);
860
+ ]), w(l) && l(e, l, [r]);
861
861
  }, () => {
862
- b(y) && A(e, y, [
862
+ w(y) && A(e, y, [
863
863
  r,
864
864
  t,
865
865
  n,
866
866
  a
867
867
  ]);
868
- }), o && xe(r, o), f && Ee(r, f), b(c) && A(e, c, [
868
+ }), o && xe(r, o), f && Ee(r, f), w(c) && A(e, c, [
869
869
  r,
870
870
  t,
871
871
  n,
@@ -888,38 +888,38 @@ function Yr(e, t, r, s = {}, i, n = -1) {
888
888
  }
889
889
  function es(e, t, r, s = {}, i, n, a, l, o) {
890
890
  if (!dt(a) && !t) {
891
- b(o) && A(e, o, [r]), !t && b(n) && n();
891
+ w(o) && A(e, o, [r]), !t && w(n) && n();
892
892
  return;
893
893
  }
894
894
  const u = zr(s, t), f = Gr(s, t), c = Bs(s, t), h = Ws(s, t), y = Js(s, t), d = zs(s, t);
895
895
  if (!u && !f && !c && !h) {
896
- b(o) && A(e, o, [r]), !t && b(n) && n();
896
+ w(o) && A(e, o, [r]), !t && w(n) && n();
897
897
  return;
898
898
  }
899
899
  yt(() => {
900
900
  Xr(e, r, a, l, i, () => {
901
901
  try {
902
- f && xe(r, f), c && xe(r, c), b(y) && A(e, y, [
902
+ f && xe(r, f), c && xe(r, c), w(y) && A(e, y, [
903
903
  r,
904
904
  t,
905
905
  a,
906
906
  l
907
- ]), b(o) && A(e, o, [r]);
907
+ ]), w(o) && A(e, o, [r]);
908
908
  } finally {
909
- !t && b(n) && n();
909
+ !t && w(n) && n();
910
910
  }
911
911
  }, () => {
912
912
  try {
913
- b(d) && A(e, d, [
913
+ w(d) && A(e, d, [
914
914
  r,
915
915
  t,
916
916
  a,
917
917
  l
918
- ]), b(o) && A(e, o, [r]);
918
+ ]), w(o) && A(e, o, [r]);
919
919
  } finally {
920
- !t && b(n) && n();
920
+ !t && w(n) && n();
921
921
  }
922
- }), u && xe(r, u), c && Ee(r, c), b(h) && A(e, h, [
922
+ }), u && xe(r, u), c && Ee(r, c), w(h) && A(e, h, [
923
923
  r,
924
924
  t,
925
925
  a,
@@ -955,9 +955,9 @@ function Xs(e, t, r = {}, s, i, n, a) {
955
955
  if (l == null) return;
956
956
  const o = Yt(r);
957
957
  Qr(e, !0, l, r, s, i), Zr(e, !0, l, r, o.show, s, i, (u) => {
958
- b(a) && A(e, a, [u]);
958
+ w(a) && A(e, a, [u]);
959
959
  });
960
- } else b(a) && A(e, a, []);
960
+ } else w(a) && A(e, a, []);
961
961
  }
962
962
  function Qs(e, t, r = {}, s, i, n, a) {
963
963
  if (n === !0) {
@@ -965,9 +965,9 @@ function Qs(e, t, r = {}, s, i, n, a) {
965
965
  if (l == null) return;
966
966
  const o = Yt(r);
967
967
  Yr(e, !0, l, r, s, i), es(e, !0, l, r, o.hide, null, s, i, (u) => {
968
- b(a) && A(e, a, [u]);
968
+ w(a) && A(e, a, [u]);
969
969
  });
970
- } else b(a) && A(e, a, []);
970
+ } else w(a) && A(e, a, []);
971
971
  }
972
972
  function Zs(e, t = {}) {
973
973
  yt(() => {
@@ -979,13 +979,13 @@ function rs(e, t, r = {}, s, i = -1) {
979
979
  mode: r.mode ?? "default",
980
980
  persisted: !1,
981
981
  beforeEnter: (n) => {
982
- Ve(Ks, {}, n);
982
+ Ve(qs, {}, n);
983
983
  },
984
984
  enter: (n) => {
985
- Ve($s, {}, n);
985
+ Ve(Ks, {}, n);
986
986
  },
987
987
  leave: (n, a) => {
988
- Ve(qs, {}, n), yt(() => {
988
+ Ve($s, {}, n), yt(() => {
989
989
  const l = (o) => {
990
990
  (o.target || o.srcElement) === o.currentTarget && (Wt(n, Ht, l), a && Reflect.apply(a, e, []), t.transition = null, t = null);
991
991
  };
@@ -1058,7 +1058,7 @@ var ei = class {
1058
1058
  constructor(e, t) {
1059
1059
  this.node = e, this.state = t;
1060
1060
  }
1061
- }, Ut = Cr({
1061
+ }, Ut = Fr({
1062
1062
  name: "RouterView",
1063
1063
  inheritAttrs: !1,
1064
1064
  props: {
@@ -1253,10 +1253,10 @@ var ei = class {
1253
1253
  console.error("instance or instance.proxy not exist");
1254
1254
  return;
1255
1255
  }
1256
- const s = e.multi === !0, i = G(ht, null), n = G(gt, 0), a = G(ar, null), l = G(wt, -1);
1256
+ const s = e.multi === !0, i = G(ht, null), n = G(gt, 0), a = G(ar, null), l = G(bt, -1);
1257
1257
  let o = null, u = e.modelSlot;
1258
1258
  if (u) {
1259
- if (te(gt, n + 1), te(wt, u.index), te(bt, u.index), !u.route) {
1259
+ if (te(gt, n + 1), te(bt, u.index), te(wt, u.index), !u.route) {
1260
1260
  console.warn("child view render error, route not exist");
1261
1261
  return;
1262
1262
  }
@@ -1267,11 +1267,11 @@ var ei = class {
1267
1267
  console.error("router is not been injected");
1268
1268
  return;
1269
1269
  }
1270
- const c = e.name, h = G(ur, null), y = G(bt, 0);
1270
+ const c = e.name, h = G(ur, null), y = G(wt, 0);
1271
1271
  if (o = i[Br](c, n, a, l, h, y), o === null) return;
1272
1272
  te(ur, o);
1273
1273
  const d = o[z] === !0;
1274
- d && te(ar, o), s || (te(wt, -1), te(gt, n + 1), te(bt, -1), d && hr(lt(r.proxy, !0), () => {
1274
+ d && te(ar, o), s || (te(bt, -1), te(gt, n + 1), te(wt, -1), d && hr(lt(r.proxy, !0), () => {
1275
1275
  const m = o.slots.value;
1276
1276
  return m.length > 0 ? m[0].route : null;
1277
1277
  }));
@@ -1286,42 +1286,42 @@ var ei = class {
1286
1286
  if (s) {
1287
1287
  const c = /* @__PURE__ */ new Map(), h = [], y = o?.slots.value, d = [];
1288
1288
  for (let g = 0; g < y.length; g++) {
1289
- const v = y[g], j = `${e.name}_${v.index}`, L = se(e.transition, v.route, g) ?? !0, Fe = { modelSlot: v };
1289
+ const v = y[g], j = `${e.name}_${v.index}`, L = se(e.transition, v.route, g) ?? !0, _e = { modelSlot: v };
1290
1290
  let T;
1291
- t.slots.default ? T = ce(Ut, Fe, { default: t.slots.default }) : T = ce(Ut, Fe);
1292
- const K = {}, ne = se(e.viewClass, v.route, g);
1293
- typeof ne == "string" && ne.length > 0 && (K[ne] = !0);
1294
- const ee = se(e.viewActiveClass, v.route, g), M = se(e.viewInactiveClass, v.route, g), Q = f.value.get(j);
1295
- if (typeof ee == "string" && ee.length > 0 && (K[ee] = v.active), typeof M == "string" && M.length > 0 && (K[M] = !v.active), Q && v.active !== Q.state) {
1291
+ t.slots.default ? T = ce(Ut, _e, { default: t.slots.default }) : T = ce(Ut, _e);
1292
+ const q = {}, ne = se(e.viewClass, v.route, g);
1293
+ typeof ne == "string" && ne.length > 0 && (q[ne] = !0);
1294
+ const ee = se(e.viewActiveClass, v.route, g), k = se(e.viewInactiveClass, v.route, g), Q = f.value.get(j);
1295
+ if (typeof ee == "string" && ee.length > 0 && (q[ee] = v.active), typeof k == "string" && k.length > 0 && (q[k] = !v.active), Q && v.active !== Q.state) {
1296
1296
  const Ne = Q.node;
1297
1297
  v.active ? d.unshift(() => {
1298
1298
  const mt = () => {
1299
- let _e = fr(Ne);
1300
- _e != null && cr(_e, ut.ACTIVATED);
1299
+ let Ce = fr(Ne);
1300
+ Ce != null && cr(Ce, ut.ACTIVATED);
1301
1301
  };
1302
1302
  Xs(r, Ne, e, v.route, g, L, mt);
1303
1303
  }) : d.push(() => {
1304
1304
  const mt = () => {
1305
- const _e = fr(Ne);
1306
- _e != null && cr(_e, ut.DEACTIVATED);
1305
+ const Ce = fr(Ne);
1306
+ Ce != null && cr(Ce, ut.DEACTIVATED);
1307
1307
  };
1308
1308
  Qs(r, Ne, e, v.route, g, L, mt);
1309
1309
  });
1310
1310
  }
1311
1311
  const N = {
1312
- class: K,
1312
+ class: q,
1313
1313
  key: j
1314
1314
  }, U = se(e.viewTagProps, v.route, g);
1315
- U !== null && typeof U == "object" && q(!0, N, pe(U, i?.propsFilter)), v.route?.viewTagAttrs && typeof v.route?.viewTagAttrs == "object" && q(!0, N, pe(v.route.viewTagAttrs, i?.propsFilter));
1315
+ U !== null && typeof U == "object" && $(!0, N, pe(U, i?.propsFilter)), v.route?.viewTagAttrs && typeof v.route?.viewTagAttrs == "object" && $(!0, N, pe(v.route.viewTagAttrs, i?.propsFilter));
1316
1316
  const ve = ce(se(e.viewTag, v.route, g), N, { default: () => [T] });
1317
1317
  c.set(j, new ei(ve, v.active)), f.value.delete(j), L === !0 ? ve.transition = Nt(r, ve, e, v.route, g) : L === "custom" && (ve.transition = rs(r, ve, e, v.route, g)), h.push(ve);
1318
1318
  }
1319
1319
  f.value = c, Zs(d, r);
1320
- const m = se(e.tag, null, -1), w = {};
1321
- return Object.assign(w, t.attrs), ce(m, w, { default: () => h });
1320
+ const m = se(e.tag, null, -1), b = {};
1321
+ return Object.assign(b, t.attrs), ce(m, b, { default: () => h });
1322
1322
  } else if (u != null) {
1323
1323
  const c = u.model, h = {};
1324
- c.props && (typeof c.props == "object" ? q(!1, h, pe(c.props, i?.propsFilter)) : c.props === !0 && typeof u.route?.params == "object" && q(!1, h, pe(u.route.params, i?.propsFilter)));
1324
+ c.props && (typeof c.props == "object" ? $(!1, h, pe(c.props, i?.propsFilter)) : c.props === !0 && typeof u.route?.params == "object" && $(!1, h, pe(u.route.params, i?.propsFilter)));
1325
1325
  const y = ce(c.component, h);
1326
1326
  return St(t.slots.default, {
1327
1327
  Component: y,
@@ -1331,12 +1331,12 @@ var ei = class {
1331
1331
  const c = o.slots.value;
1332
1332
  if (c.length > 0) {
1333
1333
  const h = c[0], y = h.route ?? (r.proxy && Zt(r.proxy)) ?? null, d = h.model, m = {};
1334
- d.props && (typeof d.props == "object" ? q(!1, m, pe(d.props, i?.propsFilter)) : d.props === !0 && typeof y?.params == "object" && q(!1, m, pe(y.params, i?.propsFilter)));
1335
- const w = ce(d.component, m);
1336
- return (se(e.transition, y, -1) ?? !0) && (w.transition = Nt(r, w, e, y, -1)), St(t.slots.default, {
1337
- Component: w,
1334
+ d.props && (typeof d.props == "object" ? $(!1, m, pe(d.props, i?.propsFilter)) : d.props === !0 && typeof y?.params == "object" && $(!1, m, pe(y.params, i?.propsFilter)));
1335
+ const b = ce(d.component, m);
1336
+ return (se(e.transition, y, -1) ?? !0) && (b.transition = Nt(r, b, e, y, -1)), St(t.slots.default, {
1337
+ Component: b,
1338
1338
  route: y
1339
- }) ?? w;
1339
+ }) ?? b;
1340
1340
  } else return St(t.slots.fallback, {});
1341
1341
  }
1342
1342
  };
@@ -1360,7 +1360,7 @@ function si(e, t) {
1360
1360
  function ge(e, t) {
1361
1361
  return typeof e == "function" ? Reflect.apply(e, {}, [t]) : e;
1362
1362
  }
1363
- var ii = Cr({
1363
+ var ii = Fr({
1364
1364
  name: "RouterLink",
1365
1365
  inheritAttrs: !1,
1366
1366
  props: {
@@ -1422,7 +1422,7 @@ var ii = Cr({
1422
1422
  typeof c == "string" && c.length > 0 && (l[c] = ri(n, a));
1423
1423
  }
1424
1424
  let u = { class: l };
1425
- (i === "a" || i === "A") && (u.href = n?.path ?? n?.name ?? "#"), q(!0, u, t.attrs);
1425
+ (i === "a" || i === "A") && (u.href = n?.path ?? n?.name ?? "#"), $(!0, u, t.attrs);
1426
1426
  let f = ge(e.event, n);
1427
1427
  if (typeof f == "string") {
1428
1428
  const c = (h) => {
@@ -1443,15 +1443,15 @@ var ii = Cr({
1443
1443
  }
1444
1444
  }), P = /* @__PURE__ */ (function(e) {
1445
1445
  return e.Busy = "Busy", e.Free = "Free", e.Reject = "Reject", e.Exception = "Exception", e.Finished = "Finished", e;
1446
- })(P || {}), B = /* @__PURE__ */ Symbol("chainKey"), k = /* @__PURE__ */ Symbol("cursorKey"), xt = /* @__PURE__ */ Symbol("$persistentModeKey"), F = /* @__PURE__ */ Symbol("statusKey"), Z = /* @__PURE__ */ Symbol("argsKey"), Je = /* @__PURE__ */ Symbol("exArgsKey"), we = /* @__PURE__ */ Symbol("successFnsKey"), Ke = /* @__PURE__ */ Symbol("errorFnsKey"), oe = /* @__PURE__ */ Symbol("sessionKey"), Y = /* @__PURE__ */ Symbol("_go"), ft = class {
1446
+ })(P || {}), B = /* @__PURE__ */ Symbol("chainKey"), M = /* @__PURE__ */ Symbol("cursorKey"), xt = /* @__PURE__ */ Symbol("$persistentModeKey"), _ = /* @__PURE__ */ Symbol("statusKey"), Z = /* @__PURE__ */ Symbol("argsKey"), Je = /* @__PURE__ */ Symbol("exArgsKey"), be = /* @__PURE__ */ Symbol("successFnsKey"), qe = /* @__PURE__ */ Symbol("errorFnsKey"), oe = /* @__PURE__ */ Symbol("sessionKey"), Y = /* @__PURE__ */ Symbol("_go"), ft = class {
1447
1447
  [B] = [];
1448
- [k] = 0;
1448
+ [M] = 0;
1449
1449
  [xt] = !1;
1450
- [F] = P.Free;
1450
+ [_] = P.Free;
1451
1451
  [Z] = [];
1452
1452
  [Je] = [];
1453
- [we] = [];
1454
- [Ke] = [];
1453
+ [be] = [];
1454
+ [qe] = [];
1455
1455
  [oe];
1456
1456
  get session() {
1457
1457
  return this[oe];
@@ -1460,33 +1460,33 @@ var ii = Cr({
1460
1460
  this[oe] = e, this[xt] = t;
1461
1461
  }
1462
1462
  [Y](e, ...t) {
1463
- let r = this[F];
1464
- if (this[F] = P.Busy, this[k] += e, this[k] < 0 && (this[k] = 0), this[Z] = t, r === P.Exception || r === P.Reject) {
1463
+ let r = this[_];
1464
+ if (this[_] = P.Busy, this[M] += e, this[M] < 0 && (this[M] = 0), this[Z] = t, r === P.Exception || r === P.Reject) {
1465
1465
  let n = [{ session: this[oe] }, ...this[Je]];
1466
- for (; this[Ke].length > 0; ) try {
1467
- let a = this[Ke].shift();
1466
+ for (; this[qe].length > 0; ) try {
1467
+ let a = this[qe].shift();
1468
1468
  typeof a == "function" && Be(() => {
1469
1469
  Reflect.apply(a, {}, n);
1470
1470
  });
1471
1471
  } catch (a) {
1472
1472
  console.error(a.message, a);
1473
1473
  }
1474
- return this[F] = r, this[B] = [], this[k] = 0, this;
1475
- } else if (r === P.Finished || this[k] >= this[B].length) {
1474
+ return this[_] = r, this[B] = [], this[M] = 0, this;
1475
+ } else if (r === P.Finished || this[M] >= this[B].length) {
1476
1476
  let n = [{ session: this[oe] }, ...this[Z]];
1477
- for (; this[we].length > 0; ) {
1478
- let a = this[we].shift();
1477
+ for (; this[be].length > 0; ) {
1478
+ let a = this[be].shift();
1479
1479
  typeof a == "function" && Be(() => {
1480
1480
  Reflect.apply(a, {}, n);
1481
1481
  });
1482
1482
  }
1483
- return this[F] = P.Free, this;
1483
+ return this[_] = P.Free, this;
1484
1484
  }
1485
- if (this[k] >= this[B].length)
1486
- return this[F] = P.Free, this;
1487
- let s = this[B][this[k]];
1488
- this[xt] || (this[B].splice(0, this[k] + 1), this[k] = -1);
1489
- let i = this[k] + 1;
1485
+ if (this[M] >= this[B].length)
1486
+ return this[_] = P.Free, this;
1487
+ let s = this[B][this[M]];
1488
+ this[xt] || (this[B].splice(0, this[M] + 1), this[M] = -1);
1489
+ let i = this[M] + 1;
1490
1490
  try {
1491
1491
  let n = !1, a = {
1492
1492
  go: (l, ...o) => {
@@ -1515,59 +1515,59 @@ var ii = Cr({
1515
1515
  return Reflect.apply(this[Y], this, [e, ...t]);
1516
1516
  }
1517
1517
  finish(...e) {
1518
- return this[F] = P.Finished, this[Z] = e, Reflect.apply(this[Y], this, [0]);
1518
+ return this[_] = P.Finished, this[Z] = e, Reflect.apply(this[Y], this, [0]);
1519
1519
  }
1520
1520
  reject(...e) {
1521
- return this[F] = P.Reject, this[Je] = e, Reflect.apply(this[Y], this, [0]);
1521
+ return this[_] = P.Reject, this[Je] = e, Reflect.apply(this[Y], this, [0]);
1522
1522
  }
1523
1523
  throw(...e) {
1524
- return this[F] = P.Exception, this[Je] = e, Reflect.apply(this[Y], this, [0]);
1524
+ return this[_] = P.Exception, this[Je] = e, Reflect.apply(this[Y], this, [0]);
1525
1525
  }
1526
1526
  reset(...e) {
1527
- this[F] = P.Busy, this[Z] = e, this[B] = [], this[k] = 0;
1527
+ this[_] = P.Busy, this[Z] = e, this[B] = [], this[M] = 0;
1528
1528
  let t = [{ session: this[oe] }, ...this[Z]];
1529
- for (; this[we].length > 0; ) {
1530
- let r = this[we].shift();
1529
+ for (; this[be].length > 0; ) {
1530
+ let r = this[be].shift();
1531
1531
  Be(() => {
1532
1532
  Reflect.apply(r, this, t);
1533
1533
  });
1534
1534
  }
1535
- return this[F] = P.Free, this;
1535
+ return this[_] = P.Free, this;
1536
1536
  }
1537
1537
  post(e) {
1538
- return this[F] === P.Reject || this[F] === P.Exception ? this : (Array.isArray(e) ? this[B] = [...this[B], ...e] : this[B].push(e), this[F] === P.Busy ? this : (Reflect.apply(this[Y], this, [0, ...this[Z]]), this));
1538
+ return this[_] === P.Reject || this[_] === P.Exception ? this : (Array.isArray(e) ? this[B] = [...this[B], ...e] : this[B].push(e), this[_] === P.Busy ? this : (Reflect.apply(this[Y], this, [0, ...this[Z]]), this));
1539
1539
  }
1540
1540
  wait(e, t) {
1541
- return e && typeof e == "function" && this[we].push(e), t && typeof t == "function" && this[Ke].push(t), this[F] === P.Busy ? this : (Reflect.apply(this[Y], this, [0, ...this[Z]]), this);
1541
+ return e && typeof e == "function" && this[be].push(e), t && typeof t == "function" && this[qe].push(t), this[_] === P.Busy ? this : (Reflect.apply(this[Y], this, [0, ...this[Z]]), this);
1542
1542
  }
1543
1543
  exception(e) {
1544
- return e && typeof e == "function" && this[Ke].push(e), this[F] === P.Busy ? this : Reflect.apply(this[Y], this, [0, ...this[Z]]);
1544
+ return e && typeof e == "function" && this[qe].push(e), this[_] === P.Busy ? this : Reflect.apply(this[Y], this, [0, ...this[Z]]);
1545
1545
  }
1546
1546
  isFinish() {
1547
- return this[F] == P.Reject || this[F] == P.Free && this[k] >= this[B].length;
1547
+ return this[_] == P.Reject || this[_] == P.Free && this[M] >= this[B].length;
1548
1548
  }
1549
1549
  }, nt = /* @__PURE__ */ (function(e) {
1550
1550
  return e[e.limitless = 0] = "limitless", e[e.once = 1] = "once", e;
1551
- })(nt || {}), be = /* @__PURE__ */ Symbol("registerKey"), ni = class {
1551
+ })(nt || {}), we = /* @__PURE__ */ Symbol("registerKey"), ni = class {
1552
1552
  policy;
1553
1553
  callback;
1554
1554
  constructor(e, t) {
1555
1555
  this.callback = e, this.policy = t;
1556
1556
  }
1557
1557
  }, yr = class {
1558
- [be] = /* @__PURE__ */ new Map();
1558
+ [we] = /* @__PURE__ */ new Map();
1559
1559
  constructor() {
1560
1560
  }
1561
1561
  on(e, t, r = !1) {
1562
- let s = this[be].get(e);
1563
- s || (s = new Array(), this[be].set(e, s));
1562
+ let s = this[we].get(e);
1563
+ s || (s = new Array(), this[we].set(e, s));
1564
1564
  let i = new ni(t, r === !0 ? nt.once : nt.limitless);
1565
1565
  return s.push(i), this;
1566
1566
  }
1567
1567
  off(e, t) {
1568
1568
  if (!t)
1569
- return this[be].delete(e), this;
1570
- let r = this[be].get(e);
1569
+ return this[we].delete(e), this;
1570
+ let r = this[we].get(e);
1571
1571
  if (r) {
1572
1572
  for (let s = 0; s < r.length; s++) if (r[s].callback === t) {
1573
1573
  r.splice(s, 1);
@@ -1598,7 +1598,7 @@ var ii = Cr({
1598
1598
  return this;
1599
1599
  }
1600
1600
  emit(e, ...t) {
1601
- let r = this[be].get(e);
1601
+ let r = this[we].get(e);
1602
1602
  if (!r) return this;
1603
1603
  for (let s = 0; s < r.length; ) {
1604
1604
  let i = r[s];
@@ -1689,7 +1689,7 @@ var dr = "[^/]+?", ui = {
1689
1689
  return e[e._multiplier = 10] = "_multiplier", e[e.Root = 90] = "Root", e[e.Segment = 40] = "Segment", e[e.SubSegment = 30] = "SubSegment", e[e.Static = 40] = "Static", e[e.Dynamic = 20] = "Dynamic", e[e.BonusCustomRegExp = 10] = "BonusCustomRegExp", e[e.BonusWildcard = -50] = "BonusWildcard", e[e.BonusRepeatable = -20] = "BonusRepeatable", e[e.BonusOptional = -8] = "BonusOptional", e[e.BonusStrict = 0.7000000000000001] = "BonusStrict", e[e.BonusCaseSensitive = 0.25] = "BonusCaseSensitive", e;
1690
1690
  })(W || {}), fi = /[.+*?^${}()[\]/\\]/g;
1691
1691
  function ci(e, t) {
1692
- const r = q(!0, {}, ui, t), s = [];
1692
+ const r = $(!0, {}, ui, t), s = [];
1693
1693
  let i = r.start ? "^" : "";
1694
1694
  const n = [];
1695
1695
  for (const u of e) {
@@ -1701,11 +1701,11 @@ function ci(e, t) {
1701
1701
  if (h.type === ye.Static)
1702
1702
  c || (i += "/"), i += h.value.replace(fi, "\\$&"), y += W.Static;
1703
1703
  else if (h.type === ye.Param) {
1704
- const { value: d, repeatable: m, optional: w, regexp: g } = h;
1704
+ const { value: d, repeatable: m, optional: b, regexp: g } = h;
1705
1705
  n.push({
1706
1706
  name: d,
1707
1707
  repeatable: m,
1708
- optional: w
1708
+ optional: b
1709
1709
  });
1710
1710
  const v = g || dr;
1711
1711
  if (v !== dr) {
@@ -1717,7 +1717,7 @@ function ci(e, t) {
1717
1717
  }
1718
1718
  }
1719
1719
  let j = m ? `((?:${v})(?:/(?:${v}))*)` : `(${v})`;
1720
- c || (j = w && u.length < 2 ? `(?:/${j})` : "/" + j), w && (j += "?"), i += j, y += W.Dynamic, w && (y += W.BonusOptional), m && (y += W.BonusRepeatable), v === ".*" && (y += W.BonusWildcard);
1720
+ c || (j = b && u.length < 2 ? `(?:/${j})` : "/" + j), b && (j += "?"), i += j, y += W.Dynamic, b && (y += W.BonusOptional), m && (y += W.BonusRepeatable), v === ".*" && (y += W.BonusWildcard);
1721
1721
  }
1722
1722
  f.push(y);
1723
1723
  }
@@ -1744,10 +1744,10 @@ function ci(e, t) {
1744
1744
  (!c || !f.endsWith("/")) && (f += "/"), c = !1;
1745
1745
  for (const y of h) if (y.type === ye.Static) f += y.value;
1746
1746
  else if (y.type === ye.Param) {
1747
- const { value: d, repeatable: m, optional: w } = y, g = d in u ? u[d] : "";
1747
+ const { value: d, repeatable: m, optional: b } = y, g = d in u ? u[d] : "";
1748
1748
  if (er(g) && !m) throw new Error(`Provided param "${d}" is an array but it is not repeatable (* or + modifiers)`);
1749
1749
  const v = er(g) ? g.join("/") : g;
1750
- if (!v) if (w)
1750
+ if (!v) if (b)
1751
1751
  h.length < 2 && (f.endsWith("/") ? f = f.slice(0, -1) : c = !0);
1752
1752
  else throw new Error(`Missing required param "${d}"`);
1753
1753
  f += v;
@@ -1801,11 +1801,11 @@ var Pt = /* @__PURE__ */ (function(e) {
1801
1801
  constructor(e, t) {
1802
1802
  this.currentRoute = e, this.routes = t;
1803
1803
  }
1804
- }, le = /* @__PURE__ */ Symbol("historyChangeConsumerKey"), vr = /* @__PURE__ */ Symbol("_navigateFirstRoute"), ze = /* @__PURE__ */ Symbol("_getRouteMark"), Et = /* @__PURE__ */ Symbol("_getUrlSearch"), Ft = /* @__PURE__ */ Symbol("_generateLocation"), Ge = /* @__PURE__ */ Symbol("_setRouteMarkRecorder"), $e = /* @__PURE__ */ Symbol("beforeRestoreFiltersKey"), pr = /* @__PURE__ */ Symbol("_beforeRestore"), gr = "Symbol(_fox_restore_point)";
1805
- function qe(e, ...t) {
1804
+ }, le = /* @__PURE__ */ Symbol("historyChangeConsumerKey"), vr = /* @__PURE__ */ Symbol("_navigateFirstRoute"), ze = /* @__PURE__ */ Symbol("_getRouteMark"), Et = /* @__PURE__ */ Symbol("_getUrlSearch"), _t = /* @__PURE__ */ Symbol("_generateLocation"), Ge = /* @__PURE__ */ Symbol("_setRouteMarkRecorder"), Ke = /* @__PURE__ */ Symbol("beforeRestoreFiltersKey"), pr = /* @__PURE__ */ Symbol("_beforeRestore"), gr = "Symbol(_fox_restore_point)";
1805
+ function $e(e, ...t) {
1806
1806
  return typeof e == "function" ? Reflect.apply(e, null, [...t]) : e;
1807
1807
  }
1808
- function wr(e) {
1808
+ function br(e) {
1809
1809
  if (!Array.isArray(e)) return !1;
1810
1810
  if (e.length === 0) return !0;
1811
1811
  const t = e[0];
@@ -1822,13 +1822,13 @@ var ss = class {
1822
1822
  changeHandler;
1823
1823
  historyChange;
1824
1824
  [le] = !1;
1825
- [$e] = new Array();
1825
+ [Ke] = new Array();
1826
1826
  backTimeout = 320;
1827
1827
  constructor(e = "hash", t = "", r = "", s = !0, i = !0, n = !1, a, l) {
1828
- this.mode = e, this.base = t, this.query = r, this.firstNavigate = s, this.historyMonitor = i, this.traceless = n, this.storage = a ?? C().sessionStorage, this.backTimeout = l ?? 320;
1828
+ this.mode = e, this.base = t, this.query = r, this.firstNavigate = s, this.historyMonitor = i, this.traceless = n, this.storage = a ?? F().sessionStorage, this.backTimeout = l ?? 320;
1829
1829
  }
1830
1830
  init(e = !0) {
1831
- const t = C();
1831
+ const t = F();
1832
1832
  return typeof this.historyChange != "function" && (this.historyChange = () => {
1833
1833
  if (typeof this[le] == "function") {
1834
1834
  const r = this[le]();
@@ -1837,7 +1837,7 @@ var ss = class {
1837
1837
  this[le] = !1;
1838
1838
  return;
1839
1839
  }
1840
- if (qe(this.historyMonitor)) {
1840
+ if ($e(this.historyMonitor)) {
1841
1841
  const r = t.history.state;
1842
1842
  this[Se](r);
1843
1843
  try {
@@ -1852,10 +1852,10 @@ var ss = class {
1852
1852
  }), ot(t, "popstate", this.historyChange), this.firstNavigate && e && this[vr](), Promise.resolve();
1853
1853
  }
1854
1854
  destroy() {
1855
- this.historyChange && Wt(C(), "popstate", this.historyChange);
1855
+ this.historyChange && Wt(F(), "popstate", this.historyChange);
1856
1856
  }
1857
1857
  [pr](e, t, r, s) {
1858
- for (let i of this[$e]) try {
1858
+ for (let i of this[Ke]) try {
1859
1859
  const n = Reflect.apply(i, {}, [
1860
1860
  e,
1861
1861
  t,
@@ -1869,11 +1869,11 @@ var ss = class {
1869
1869
  return !0;
1870
1870
  }
1871
1871
  beforeRestoreEach(e) {
1872
- this[$e].push(e);
1872
+ this[Ke].push(e);
1873
1873
  }
1874
1874
  removeBeforeRestoreEach(e) {
1875
- const t = this[$e].indexOf(e);
1876
- return t !== -1 ? (this[$e].splice(t, 1), !0) : !1;
1875
+ const t = this[Ke].indexOf(e);
1876
+ return t !== -1 ? (this[Ke].splice(t, 1), !0) : !1;
1877
1877
  }
1878
1878
  [vr]() {
1879
1879
  const e = this[ze]() ?? "/", t = this.storage.getItem(gr);
@@ -1898,7 +1898,7 @@ var ss = class {
1898
1898
  [Ge](e, t) {
1899
1899
  try {
1900
1900
  t.forEach((s) => {
1901
- s.params = s.params ? qr(s.params) : {};
1901
+ s.params = s.params ? $r(s.params) : {};
1902
1902
  });
1903
1903
  const r = JSON.stringify({
1904
1904
  mark: e,
@@ -1917,7 +1917,7 @@ var ss = class {
1917
1917
  typeof this.changeHandler == "function" && this.changeHandler(e);
1918
1918
  }
1919
1919
  [ze]() {
1920
- const e = C();
1920
+ const e = F();
1921
1921
  if (this.mode === "path") {
1922
1922
  let t = e.location.pathname;
1923
1923
  return this.base && t.indexOf(this.base) === 0 && (t = t.substring(this.base.length)), t;
@@ -1928,23 +1928,23 @@ var ss = class {
1928
1928
  return null;
1929
1929
  }
1930
1930
  [Et]() {
1931
- let e = C().location.search;
1931
+ let e = F().location.search;
1932
1932
  return e.length > 0 && e.indexOf("?") === 0 && (e = e.substring(1)), e;
1933
1933
  }
1934
1934
  listen(e) {
1935
1935
  this.changeHandler = e;
1936
1936
  }
1937
1937
  go(e, t = !1) {
1938
- const r = C();
1938
+ const r = F();
1939
1939
  this[le] = t, r.history.go(e);
1940
1940
  }
1941
1941
  goBack(e, t) {
1942
- const r = C(), s = r.history.state;
1943
- if (wr(s) && s.length > 0) {
1942
+ const r = F(), s = r.history.state;
1943
+ if (br(s) && s.length > 0) {
1944
1944
  let i = !1;
1945
1945
  for (let u = s.length - 1; u >= 0; u--) {
1946
1946
  const f = x.from(s[u]);
1947
- if (!(f.historyUpdatePolicy === "traceless" || qe(this.traceless, f)) && x.isSame(f, e)) {
1947
+ if (!(f.historyUpdatePolicy === "traceless" || $e(this.traceless, f)) && x.isSame(f, e)) {
1948
1948
  i = !0;
1949
1949
  break;
1950
1950
  }
@@ -1959,8 +1959,8 @@ var ss = class {
1959
1959
  r.history.go(-1), a = setTimeout(l, n);
1960
1960
  }, o = () => {
1961
1961
  clearTimeout(a);
1962
- const u = C().history.state;
1963
- if (wr(u) && u.length > 0) {
1962
+ const u = F().history.state;
1963
+ if (br(u) && u.length > 0) {
1964
1964
  let f = u.length;
1965
1965
  const c = u[f - 1], h = x.from(c);
1966
1966
  if (x.isSame(h, e))
@@ -1969,7 +1969,7 @@ var ss = class {
1969
1969
  let y = !1;
1970
1970
  for (let d = f - 1; d >= 0; d--) {
1971
1971
  const m = x.from(u[d]);
1972
- if (!(m.traceless === !0 || qe(this.traceless, m)) && x.isSame(m, e)) {
1972
+ if (!(m.traceless === !0 || $e(this.traceless, m)) && x.isSame(m, e)) {
1973
1973
  y = !0;
1974
1974
  break;
1975
1975
  }
@@ -1989,15 +1989,15 @@ var ss = class {
1989
1989
  this[Ge](t, e.routes);
1990
1990
  }
1991
1991
  push(e) {
1992
- const t = this[Ft](e.currentRoute);
1993
- e.currentRoute.historyUpdatePolicy !== "traceless" && !qe(this.traceless, e.currentRoute) && C().history.pushState(e.routes, "", t), this.setRouteMark(e);
1992
+ const t = this[_t](e.currentRoute);
1993
+ e.currentRoute.historyUpdatePolicy !== "traceless" && !$e(this.traceless, e.currentRoute) && F().history.pushState(e.routes, "", t), this.setRouteMark(e);
1994
1994
  }
1995
1995
  replace(e) {
1996
- const t = this[Ft](e.currentRoute);
1997
- (e.currentRoute.historyUpdatePolicy !== "traceless" || !qe(this.traceless, e.currentRoute)) && C().history.replaceState(e.routes, "", t), this.setRouteMark(e);
1996
+ const t = this[_t](e.currentRoute);
1997
+ (e.currentRoute.historyUpdatePolicy !== "traceless" || !$e(this.traceless, e.currentRoute)) && F().history.replaceState(e.routes, "", t), this.setRouteMark(e);
1998
1998
  }
1999
- [Ft](e) {
2000
- const t = C();
1999
+ [_t](e) {
2000
+ const t = F();
2001
2001
  let r = "";
2002
2002
  if (e.query) {
2003
2003
  let a = "";
@@ -2016,7 +2016,7 @@ var ss = class {
2016
2016
  }
2017
2017
  };
2018
2018
  function Ni(e = !0, t = null, r = "", s = !0, i = !1, n) {
2019
- return t !== null && (t = C().location.pathname), t && t.endsWith("/") && (t = t.substring(0, t.length - 1)), new ss("path", t ?? "", r, e, s, i, n);
2019
+ return t !== null && (t = F().location.pathname), t && t.endsWith("/") && (t = t.substring(0, t.length - 1)), new ss("path", t ?? "", r, e, s, i, n);
2020
2020
  }
2021
2021
  function mi(e = !0, t = "", r = !0, s = !1, i) {
2022
2022
  return new ss("hash", "", t, e, r, s, i);
@@ -2091,14 +2091,14 @@ var vi = class {
2091
2091
  function pi(e = "", t = 50) {
2092
2092
  return new vi(e, t);
2093
2093
  }
2094
- var Xe = /* @__PURE__ */ Symbol("_constructRouteModel"), Qe = /* @__PURE__ */ Symbol("_findRouteModel"), _t = /* @__PURE__ */ Symbol("_findRootView"), gi = /* @__PURE__ */ Symbol("_getFirstView"), ae = /* @__PURE__ */ Symbol("_removeView"), br = /* @__PURE__ */ Symbol("_buildPage"), Rr = /* @__PURE__ */ Symbol("_resolveComponent"), Sr = /* @__PURE__ */ Symbol("_update"), ie = /* @__PURE__ */ Symbol("_merge"), Ct = /* @__PURE__ */ Symbol("_handleHistoryChange"), ue = /* @__PURE__ */ Symbol("_handleRouteUpdated"), Ze = /* @__PURE__ */ Symbol("routeUpdatedCallback"), At = /* @__PURE__ */ Symbol("currentRoute"), p = /* @__PURE__ */ Symbol("currentRoutes"), Ye = /* @__PURE__ */ Symbol("routeSessionCacheKey"), xr = /* @__PURE__ */ Symbol("_addRouteRecorder"), je = /* @__PURE__ */ Symbol("_removeRouteRecorder"), et = /* @__PURE__ */ Symbol("_cloneRouteRecorder"), $ = /* @__PURE__ */ Symbol("_handleError"), tt = /* @__PURE__ */ Symbol("errorCallback"), D = /* @__PURE__ */ Symbol("registerKey"), rt = /* @__PURE__ */ Symbol("notFoundKey"), Kt = /* @__PURE__ */ Symbol("notFoundPathKey"), V = /* @__PURE__ */ Symbol("forestKey"), S = /* @__PURE__ */ Symbol("historyKey"), Le = /* @__PURE__ */ Symbol("beforeFiltersKey"), Te = /* @__PURE__ */ Symbol("afterFiltersKey"), Me = /* @__PURE__ */ Symbol("destroyFiltersKey"), $t = /* @__PURE__ */ Symbol("propsFilterKey"), Re = /* @__PURE__ */ Symbol("mainDispatcherKey"), qt = /* @__PURE__ */ Symbol("initKey"), fe = /* @__PURE__ */ Symbol("readyKey"), jt = /* @__PURE__ */ Symbol("readyHandlersKey"), st = /* @__PURE__ */ Symbol("_markReady"), Pr = /* @__PURE__ */ Symbol("_createNextFn"), Lt = /* @__PURE__ */ Symbol("_start"), Tt = /* @__PURE__ */ Symbol("_before"), Mt = /* @__PURE__ */ Symbol("_after"), Er = /* @__PURE__ */ Symbol("_destroy"), kt = /* @__PURE__ */ Symbol("_load"), ke = /* @__PURE__ */ Symbol("_unload"), Ie = /* @__PURE__ */ Symbol("routerGuardKey");
2095
- function wi(e) {
2094
+ var Xe = /* @__PURE__ */ Symbol("_constructRouteModel"), Qe = /* @__PURE__ */ Symbol("_findRouteModel"), Ct = /* @__PURE__ */ Symbol("_findRootView"), gi = /* @__PURE__ */ Symbol("_getFirstView"), ae = /* @__PURE__ */ Symbol("_removeView"), wr = /* @__PURE__ */ Symbol("_buildPage"), Rr = /* @__PURE__ */ Symbol("_resolveComponent"), Sr = /* @__PURE__ */ Symbol("_update"), ie = /* @__PURE__ */ Symbol("_merge"), Ft = /* @__PURE__ */ Symbol("_handleHistoryChange"), ue = /* @__PURE__ */ Symbol("_handleRouteUpdated"), Ze = /* @__PURE__ */ Symbol("routeUpdatedCallback"), At = /* @__PURE__ */ Symbol("currentRoute"), p = /* @__PURE__ */ Symbol("currentRoutes"), Ye = /* @__PURE__ */ Symbol("routeSessionCacheKey"), xr = /* @__PURE__ */ Symbol("_addRouteRecorder"), je = /* @__PURE__ */ Symbol("_removeRouteRecorder"), et = /* @__PURE__ */ Symbol("_cloneRouteRecorder"), K = /* @__PURE__ */ Symbol("_handleError"), tt = /* @__PURE__ */ Symbol("errorCallback"), D = /* @__PURE__ */ Symbol("registerKey"), rt = /* @__PURE__ */ Symbol("notFoundKey"), qt = /* @__PURE__ */ Symbol("notFoundPathKey"), V = /* @__PURE__ */ Symbol("forestKey"), S = /* @__PURE__ */ Symbol("historyKey"), Le = /* @__PURE__ */ Symbol("beforeFiltersKey"), Te = /* @__PURE__ */ Symbol("afterFiltersKey"), ke = /* @__PURE__ */ Symbol("destroyFiltersKey"), Kt = /* @__PURE__ */ Symbol("propsFilterKey"), Re = /* @__PURE__ */ Symbol("mainDispatcherKey"), $t = /* @__PURE__ */ Symbol("initKey"), fe = /* @__PURE__ */ Symbol("readyKey"), jt = /* @__PURE__ */ Symbol("readyHandlersKey"), st = /* @__PURE__ */ Symbol("_markReady"), Pr = /* @__PURE__ */ Symbol("_createNextFn"), Lt = /* @__PURE__ */ Symbol("_start"), Tt = /* @__PURE__ */ Symbol("_before"), kt = /* @__PURE__ */ Symbol("_after"), Er = /* @__PURE__ */ Symbol("_destroy"), Mt = /* @__PURE__ */ Symbol("_load"), Me = /* @__PURE__ */ Symbol("_unload"), Ie = /* @__PURE__ */ Symbol("routerGuardKey");
2095
+ function bi(e) {
2096
2096
  return e.layers.length == 0 || e.layers[0].views.length == 0;
2097
2097
  }
2098
- var bi = class {
2098
+ var wi = class {
2099
2099
  [D] = new Array();
2100
2100
  [rt];
2101
- [Kt] = "*";
2101
+ [qt] = "*";
2102
2102
  [fe] = !1;
2103
2103
  [jt] = [];
2104
2104
  [V] = new Ys();
@@ -2110,11 +2110,11 @@ var bi = class {
2110
2110
  [Ze] = null;
2111
2111
  [Le] = new Array();
2112
2112
  [Te] = new Array();
2113
- [Me] = new Array();
2114
- [$t] = null;
2113
+ [ke] = new Array();
2114
+ [Kt] = null;
2115
2115
  [Re] = new ft();
2116
2116
  [Ie] = new di();
2117
- [qt] = !1;
2117
+ [$t] = !1;
2118
2118
  get currentRoute() {
2119
2119
  return fs(this[At]);
2120
2120
  }
@@ -2127,15 +2127,15 @@ var bi = class {
2127
2127
  try {
2128
2128
  if (typeof r == "string") {
2129
2129
  const i = this[I](r);
2130
- i && await this[Ct]([i]);
2131
- } else await this[Ct](r);
2130
+ i && await this[Ft]([i]);
2131
+ } else await this[Ft](r);
2132
2132
  } catch (i) {
2133
2133
  console.error(i.message, i), s = !1;
2134
2134
  }
2135
2135
  this[fe] === !1 && this[st](s);
2136
2136
  });
2137
2137
  }
2138
- [$](e = "error", t) {
2138
+ [K](e = "error", t) {
2139
2139
  if (t && typeof t.error == "function") try {
2140
2140
  t.error(e);
2141
2141
  } catch {
@@ -2147,7 +2147,7 @@ var bi = class {
2147
2147
  console.error(e);
2148
2148
  }
2149
2149
  init() {
2150
- this[qt] !== !0 && (this[S]?.init(!this[fe]), this[qt] = !0);
2150
+ this[$t] !== !0 && (this[S]?.init(!this[fe]), this[$t] = !0);
2151
2151
  }
2152
2152
  isReady() {
2153
2153
  return this[fe] ? Promise.resolve() : new Promise((e, t) => {
@@ -2163,11 +2163,11 @@ var bi = class {
2163
2163
  }
2164
2164
  });
2165
2165
  }
2166
- [Ct](e) {
2166
+ [Ft](e) {
2167
2167
  try {
2168
2168
  if (!e) {
2169
2169
  let n = [...this[p]].reverse();
2170
- return this[ke](n), Pe && C().location.reload(), Promise.resolve();
2170
+ return this[Me](n), Pe && F().location.reload(), Promise.resolve();
2171
2171
  }
2172
2172
  let t = null, r = [], s = [], i = 0;
2173
2173
  for (; i < e.length && i < this[p].length && x.isSame(e[i], this[p][i]); i++)
@@ -2175,13 +2175,13 @@ var bi = class {
2175
2175
  if (i < e.length && (r = e.slice(i)), i < this[p].length && (s = this[p].slice(i).reverse()), s.length === 0 && r.length === 0) {
2176
2176
  if (t !== null) return this.restore([t]);
2177
2177
  } else if (s.length > 0) {
2178
- if (this[ke](s)) {
2178
+ if (this[Me](s)) {
2179
2179
  if (r.length > 0) return this.restore(r);
2180
2180
  if (t !== null) return this.restore([t]);
2181
2181
  }
2182
2182
  } else return this.restore(r);
2183
2183
  } catch (t) {
2184
- this[$](t);
2184
+ this[K](t);
2185
2185
  }
2186
2186
  return Promise.resolve();
2187
2187
  }
@@ -2192,7 +2192,7 @@ var bi = class {
2192
2192
  }
2193
2193
  }
2194
2194
  [xr](e, t) {
2195
- if (e.opsType === _.Open) {
2195
+ if (e.opsType === C.Open) {
2196
2196
  let r = !1;
2197
2197
  const s = this[p].length - 1;
2198
2198
  for (let i = s; i >= 0; i--) {
@@ -2231,7 +2231,7 @@ var bi = class {
2231
2231
  const r = this[p][t];
2232
2232
  this[p].splice(t, 1);
2233
2233
  const s = this[Ye].get(r);
2234
- if (this[Ye].delete(r), this[Er](r, s), r.opsType === _.Append) {
2234
+ if (this[Ye].delete(r), this[Er](r, s), r.opsType === C.Append) {
2235
2235
  const i = this[p].length - 1;
2236
2236
  this[ue](this[p][i] ?? null);
2237
2237
  } else this[ue](null);
@@ -2250,10 +2250,10 @@ var bi = class {
2250
2250
  return this[S] ? this[S].traceless : !1;
2251
2251
  }
2252
2252
  set propsFilter(e) {
2253
- this[$t] = e;
2253
+ this[Kt] = e;
2254
2254
  }
2255
2255
  get propsFilter() {
2256
- return this[$t];
2256
+ return this[Kt];
2257
2257
  }
2258
2258
  setRestorePoint() {
2259
2259
  const e = this[et]();
@@ -2280,11 +2280,11 @@ var bi = class {
2280
2280
  return t !== -1 ? (this[Te].splice(t, 1), !0) : !1;
2281
2281
  }
2282
2282
  destroyEach(e) {
2283
- this[Me].push(e);
2283
+ this[ke].push(e);
2284
2284
  }
2285
2285
  removeDestroyEach(e) {
2286
- const t = this[Me].indexOf(e);
2287
- return t !== -1 ? (this[Me].splice(t, 1), !0) : !1;
2286
+ const t = this[ke].indexOf(e);
2287
+ return t !== -1 ? (this[ke].splice(t, 1), !0) : !1;
2288
2288
  }
2289
2289
  beforeRestoreEach(e) {
2290
2290
  this[S]?.beforeRestoreEach(e);
@@ -2296,7 +2296,7 @@ var bi = class {
2296
2296
  for (let t of e) this.addRoute(t);
2297
2297
  }
2298
2298
  addRoute(e, t = -1) {
2299
- if (e.path === this[Kt]) {
2299
+ if (e.path === this[qt]) {
2300
2300
  this.setNotFoundRoute(e);
2301
2301
  return;
2302
2302
  }
@@ -2324,7 +2324,7 @@ var bi = class {
2324
2324
  }) !== -1;
2325
2325
  }
2326
2326
  setNotFoundPath(e) {
2327
- this[Kt] = e;
2327
+ this[qt] = e;
2328
2328
  }
2329
2329
  setNotFoundRoute(e) {
2330
2330
  this[rt] = this[Xe](e)[0];
@@ -2379,14 +2379,14 @@ var bi = class {
2379
2379
  if (!a) continue;
2380
2380
  if (r.redirect) {
2381
2381
  const l = new x();
2382
- q(!0, l, t), l.path = r.redirect;
2382
+ $(!0, l, t), l.path = r.redirect;
2383
2383
  const o = {
2384
2384
  route: l,
2385
2385
  find: void 0
2386
2386
  };
2387
2387
  return this[Qe](o) ? (e.route = o.route, e.find = o.find, t.template && e.find && (e.find = { ...e.find }, e.find.path = t.path), !0) : !1;
2388
2388
  }
2389
- if (t.params = t.params ?? {}, q(!0, t.params, a.params), t.query) {
2389
+ if (t.params = t.params ?? {}, $(!0, t.params, a.params), t.query) {
2390
2390
  const l = t.query;
2391
2391
  if (typeof l == "string") {
2392
2392
  const o = {}, u = l.split("&");
@@ -2396,8 +2396,8 @@ var bi = class {
2396
2396
  const h = decodeURIComponent(c[0].trim());
2397
2397
  o[h] = decodeURIComponent(c[1].trim());
2398
2398
  }
2399
- q(!0, t.params, o);
2400
- } else typeof l == "object" && q(!0, t.params, l);
2399
+ $(!0, t.params, o);
2400
+ } else typeof l == "object" && $(!0, t.params, l);
2401
2401
  }
2402
2402
  return e.find = r, t.template && e.find && (e.find = { ...e.find }, e.find.path = t.path), !0;
2403
2403
  } else if (i === r.name)
@@ -2412,32 +2412,32 @@ var bi = class {
2412
2412
  let t = null;
2413
2413
  if (Array.isArray(e))
2414
2414
  if (t = new x(), typeof e[0] == "object") t = x.from(e[0]);
2415
- else for (let r = 0; r < e.length; r++) r === 0 ? e[r].charAt(0) === "/" ? t.path = e[r] : t.name = e[r] : r === 1 ? t.params = e[r] : r === 2 ? t.root = e[r] : r === 3 && q(!1, t, e[r]);
2415
+ else for (let r = 0; r < e.length; r++) r === 0 ? e[r].charAt(0) === "/" ? t.path = e[r] : t.name = e[r] : r === 1 ? t.params = e[r] : r === 2 ? t.root = e[r] : r === 3 && $(!1, t, e[r]);
2416
2416
  else typeof e == "object" ? t = x.from(e) : typeof e == "string" && (t = new x(), e.charAt(0) == "/" ? t.path = e : t.name = e);
2417
2417
  if (t) {
2418
2418
  if (t.path) {
2419
2419
  let r = t.path.indexOf("?");
2420
2420
  r !== -1 && r < t.path.length - 1 && (t.query = t.path.substring(r + 1), t.path = t.path.substring(0, r));
2421
2421
  }
2422
- t.root = t.root ?? "default", t.opsType = t.opsType ?? this.options.defaultOperationType ?? _.Push, t.traceless && !t.historyUpdatePolicy && (t.historyUpdatePolicy = "traceless");
2422
+ t.root = t.root ?? "default", t.opsType = t.opsType ?? this.options.defaultOperationType ?? C.Push, t.traceless && !t.historyUpdatePolicy && (t.historyUpdatePolicy = "traceless");
2423
2423
  }
2424
2424
  return t;
2425
2425
  }
2426
2426
  push(...e) {
2427
2427
  const t = this[I](e);
2428
- return t ? (t.opsType = _.Push, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "push", this.to(t)) : (this[$]("resolve route fail", t), this);
2428
+ return t ? (t.opsType = C.Push, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "push", this.to(t)) : (this[K]("resolve route fail", t), this);
2429
2429
  }
2430
2430
  put(...e) {
2431
2431
  const t = this[I](e);
2432
- return t ? (t.opsType = _.Put, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "traceless", this.to(t)) : (this[$]("resolve route fail", t), this);
2432
+ return t ? (t.opsType = C.Put, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "traceless", this.to(t)) : (this[K]("resolve route fail", t), this);
2433
2433
  }
2434
2434
  replace(...e) {
2435
2435
  const t = this[I](e);
2436
- return t ? (t.opsType = _.Replace, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "replace", this.to(t)) : (this[$]("resolve route fail", t), this);
2436
+ return t ? (t.opsType = C.Replace, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "replace", this.to(t)) : (this[K]("resolve route fail", t), this);
2437
2437
  }
2438
2438
  append(...e) {
2439
2439
  const t = this[I](e);
2440
- return t ? (t.opsType = _.Append, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "push", this.to(t)) : (this[$]("resolve route fail", t), this);
2440
+ return t ? (t.opsType = C.Append, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "push", this.to(t)) : (this[K]("resolve route fail", t), this);
2441
2441
  }
2442
2442
  remove(e, t) {
2443
2443
  return new Promise((r) => {
@@ -2451,7 +2451,7 @@ var bi = class {
2451
2451
  if (e) {
2452
2452
  if (n = e.root ?? null, e.all) for (let o = this[p].length - 1; o > 0; o--) {
2453
2453
  const u = this[p][o];
2454
- if (u.opsType === _.Append) {
2454
+ if (u.opsType === C.Append) {
2455
2455
  const f = u.root ?? "default";
2456
2456
  if (n && n !== f) continue;
2457
2457
  a.splice(0, 0, u), i = o - 1;
@@ -2459,7 +2459,7 @@ var bi = class {
2459
2459
  }
2460
2460
  else if (e.until) for (let o = this[p].length - 1; o > 0; o--) {
2461
2461
  let u = this[p][o];
2462
- if (u.opsType === _.Append && u.root === n) {
2462
+ if (u.opsType === C.Append && u.root === n) {
2463
2463
  if (e.until.charAt(0) === "/" && e.until === u.path) {
2464
2464
  i = o;
2465
2465
  break;
@@ -2472,7 +2472,7 @@ var bi = class {
2472
2472
  }
2473
2473
  else if (e.to) for (let o = this[p].length - 1; o > 0; o--) {
2474
2474
  const u = this[p][o];
2475
- if (u.opsType === _.Append) {
2475
+ if (u.opsType === C.Append) {
2476
2476
  const f = u.root ?? "default";
2477
2477
  if (n && n !== f) continue;
2478
2478
  if (a.splice(0, 0, u), e.to.charAt(0) === "/" && e.to === u.path) {
@@ -2486,7 +2486,7 @@ var bi = class {
2486
2486
  }
2487
2487
  } else for (let o = this[p].length - 1; o > 0; o--) {
2488
2488
  let u = this[p][o];
2489
- if (u.opsType === _.Append) {
2489
+ if (u.opsType === C.Append) {
2490
2490
  a.push(u), i = o - 1;
2491
2491
  break;
2492
2492
  }
@@ -2497,7 +2497,7 @@ var bi = class {
2497
2497
  return;
2498
2498
  }
2499
2499
  let l = null;
2500
- if (i !== -1 && (l = this[p][i]), this[ke](a)) {
2500
+ if (i !== -1 && (l = this[p][i]), this[Me](a)) {
2501
2501
  if (t === !1)
2502
2502
  return s.resolve(), r(!0), !0;
2503
2503
  const o = () => (s.resolve(), r(!0), !0), u = this[p].length;
@@ -2508,14 +2508,14 @@ var bi = class {
2508
2508
  o();
2509
2509
  }
2510
2510
  } catch (i) {
2511
- this[$](i), s.resolve(), r(!1);
2511
+ this[K](i), s.resolve(), r(!1);
2512
2512
  }
2513
2513
  });
2514
2514
  });
2515
2515
  }
2516
2516
  open(...e) {
2517
2517
  let t = this[I](e);
2518
- return t ? (t.opsType = _.Open, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "push", this.to(t)) : (this[$]("resolve route fail", t), this);
2518
+ return t ? (t.opsType = C.Open, t.historyUpdatePolicy = t.historyUpdatePolicy ?? "push", this.to(t)) : (this[K]("resolve route fail", t), this);
2519
2519
  }
2520
2520
  close(e) {
2521
2521
  return this[Re].post((t) => {
@@ -2546,21 +2546,21 @@ var bi = class {
2546
2546
  t.resolve();
2547
2547
  return;
2548
2548
  }
2549
- this[ke](s), t.resolve();
2549
+ this[Me](s), t.resolve();
2550
2550
  } catch (r) {
2551
- this[$](r), t.resolve();
2551
+ this[K](r), t.resolve();
2552
2552
  }
2553
2553
  }), this;
2554
2554
  }
2555
2555
  to(...e) {
2556
2556
  let t = this[I](e);
2557
2557
  if (!t)
2558
- return this[$]("resolve route fail", t), this;
2558
+ return this[K]("resolve route fail", t), this;
2559
2559
  let r = this[Ie].acquire(t);
2560
- return r == null ? (this[$]("route forbid", t), this) : (this[Re].post((s) => {
2560
+ return r == null ? (this[K]("route forbid", t), this) : (this[Re].post((s) => {
2561
2561
  try {
2562
2562
  let i = this[Lt](t);
2563
- this[Tt](i), this[kt](i), this[Mt](i), i.wait((n, a) => {
2563
+ this[Tt](i), this[Mt](i), this[kt](i), i.wait((n, a) => {
2564
2564
  const l = n.session.to;
2565
2565
  if (n.session.updateResult && n.session.updateResult.status === "success") try {
2566
2566
  const o = new mr(x.clone(l, !0), this[et]());
@@ -2575,10 +2575,10 @@ var bi = class {
2575
2575
  }
2576
2576
  this[fe] === !1 && this[st](!0), i = null, s.resolve();
2577
2577
  }, (n, a) => {
2578
- this[Ie].release(r), a !== null && this[$](a, t), this[fe] === !1 && this[st](!1), We.clear(n.session), i = null, s.resolve();
2578
+ this[Ie].release(r), a !== null && this[K](a, t), this[fe] === !1 && this[st](!1), We.clear(n.session), i = null, s.resolve();
2579
2579
  });
2580
2580
  } catch (i) {
2581
- this[Ie].release(r), this[$](i, t), s.resolve();
2581
+ this[Ie].release(r), this[K](i, t), s.resolve();
2582
2582
  }
2583
2583
  }), this);
2584
2584
  }
@@ -2627,7 +2627,7 @@ var bi = class {
2627
2627
  ]);
2628
2628
  });
2629
2629
  }
2630
- [Mt](e) {
2630
+ [kt](e) {
2631
2631
  e.post((t) => {
2632
2632
  for (let r of this[Te]) try {
2633
2633
  Reflect.apply(r, {}, [
@@ -2642,14 +2642,14 @@ var bi = class {
2642
2642
  });
2643
2643
  }
2644
2644
  [Er](e, t) {
2645
- for (let r of this[Me]) try {
2645
+ for (let r of this[ke]) try {
2646
2646
  Reflect.apply(r, {}, [e, t]);
2647
2647
  } catch (s) {
2648
2648
  console.error(s.message, s);
2649
2649
  }
2650
2650
  typeof e.destroy == "function" && Reflect.apply(e.destroy, e, []);
2651
2651
  }
2652
- [kt](e) {
2652
+ [Mt](e) {
2653
2653
  e.post((t) => {
2654
2654
  const r = t.session.to;
2655
2655
  let s = t.session.routeModel;
@@ -2666,7 +2666,7 @@ var bi = class {
2666
2666
  }
2667
2667
  }
2668
2668
  const i = We.from(t.session);
2669
- this[br](r, s, i).then((n) => {
2669
+ this[wr](r, s, i).then((n) => {
2670
2670
  this[V], t.session.updateResult = n ?? {
2671
2671
  status: "success",
2672
2672
  message: ""
@@ -2676,25 +2676,25 @@ var bi = class {
2676
2676
  });
2677
2677
  });
2678
2678
  }
2679
- [ke](e) {
2679
+ [Me](e) {
2680
2680
  if (e.length == 0) return !0;
2681
2681
  let t = this[V], r = [];
2682
2682
  for (let s of e) {
2683
- let i = this[_t](t, s);
2683
+ let i = this[Ct](t, s);
2684
2684
  i != null && r.push({
2685
2685
  ...i,
2686
2686
  route: s
2687
2687
  });
2688
2688
  }
2689
2689
  if (r.length == 0)
2690
- return this[$]("can not find view index"), !1;
2690
+ return this[K]("can not find view index"), !1;
2691
2691
  for (let s of r.reverse()) this[ae](t, {
2692
2692
  x: s.x,
2693
2693
  y: s.y
2694
2694
  }, [s.route.index ?? 0], !0);
2695
2695
  return !0;
2696
2696
  }
2697
- [_t](e, t) {
2697
+ [Ct](e, t) {
2698
2698
  const r = t.root ?? "default";
2699
2699
  let s;
2700
2700
  for (let i = 0; i < e.layers.length; i++) {
@@ -2718,7 +2718,7 @@ var bi = class {
2718
2718
  let i = e.layers[t.y].views[t.x], n = !1, a = [], l = !1, o = [...i.slots.value];
2719
2719
  for (let f = o.length - 1; f >= 0; f--) {
2720
2720
  let c = o[f];
2721
- (!r || r.indexOf(c.index) != -1) && (c.route && i[z] && (this[je](c.route), c.active === !0 && c.route.opsType == _.Append && (l = !0)), a.push(new O(i, c.index, t.y)), o.splice(f, 1));
2721
+ (!r || r.indexOf(c.index) != -1) && (c.route && i[z] && (this[je](c.route), c.active === !0 && c.route.opsType == C.Append && (l = !0)), a.push(new O(i, c.index, t.y)), o.splice(f, 1));
2722
2722
  }
2723
2723
  if (o.length == 0) s ? i.slots.value = o : e.layers[t.y].views.splice(t.x, 1);
2724
2724
  else {
@@ -2737,8 +2737,8 @@ var bi = class {
2737
2737
  if (y[he] && (n || O.include(a, y[he]))) {
2738
2738
  let d = y.slots.value;
2739
2739
  for (let m = d.length - 1; m >= 0; m--) {
2740
- let w = d[m];
2741
- w.route && y[z] && this[je](w.route), c.push(new O(y, w.index, u)), d.splice(m, 1);
2740
+ let b = d[m];
2741
+ b.route && y[z] && this[je](b.route), c.push(new O(y, b.index, u)), d.splice(m, 1);
2742
2742
  }
2743
2743
  e.layers[u].views.splice(h, 1);
2744
2744
  }
@@ -2760,10 +2760,10 @@ var bi = class {
2760
2760
  const a = e[n];
2761
2761
  this[Re].post((l) => {
2762
2762
  const o = this[Lt](a);
2763
- this[Tt](o), this[kt](o), this[Mt](o), o.wait((u, f) => {
2763
+ this[Tt](o), this[Mt](o), this[kt](o), o.wait((u, f) => {
2764
2764
  s = u.session.to, i = u.session.redirect, l.resolve();
2765
2765
  }, (u, f) => {
2766
- s = null, f !== null && this[$](f), l.resolve();
2766
+ s = null, f !== null && this[K](f), l.resolve();
2767
2767
  });
2768
2768
  });
2769
2769
  }
@@ -2776,7 +2776,7 @@ var bi = class {
2776
2776
  });
2777
2777
  });
2778
2778
  }
2779
- [br](e, t, r) {
2779
+ [wr](e, t, r) {
2780
2780
  const s = e.updateType ?? Pt.Part;
2781
2781
  return this[Rr](t).then(() => {
2782
2782
  const i = this[Sr](t, e, r, s);
@@ -2801,8 +2801,8 @@ var bi = class {
2801
2801
  message: "illegal route structure(multi root node)"
2802
2802
  };
2803
2803
  const i = e.layers[0].models[0];
2804
- let n = this[V], a = wi(n), l = t.root ?? "default", o;
2805
- !a && s == Pt.Part && (o = this[_t](n, t));
2804
+ let n = this[V], a = bi(n), l = t.root ?? "default", o;
2805
+ !a && s == Pt.Part && (o = this[Ct](n, t));
2806
2806
  let u, f = 0;
2807
2807
  if (o == null || o == null) if (a || s === Pt.All)
2808
2808
  n.layers.length == 0 && (n.layers[0] = new Rt()), n.layers[0].views.length == 0 ? (u = new Ae(t.root ?? "default", !0, null), n.layers[0].views = [u]) : u = n.layers[0].views[0], o = {
@@ -2844,18 +2844,18 @@ var bi = class {
2844
2844
  };
2845
2845
  }
2846
2846
  else u = n.layers[o.y].views[o.x];
2847
- if (f = o.y, u[z] = !0, t.opsType === _.Append) {
2847
+ if (f = o.y, u[z] = !0, t.opsType === C.Append) {
2848
2848
  t.index = t.index ?? Oe.get(), t.active = !0;
2849
2849
  let c = u.slots.value;
2850
2850
  if (c.length > 0) {
2851
- let w = c[c.length - 1];
2852
- w.active = !1, w.route && (w.route.active = w.active);
2851
+ let b = c[c.length - 1];
2852
+ b.active = !1, b.route && (b.route.active = b.active);
2853
2853
  }
2854
2854
  let h = new re(t, i, t.index, !0);
2855
2855
  u.slots.value = [...c, h];
2856
2856
  let y = f + 1, d = 1, m = new O(u, t.index, f);
2857
2857
  this[ie](n, y, e, d, m);
2858
- } else if (t.opsType === _.Open) {
2858
+ } else if (t.opsType === C.Open) {
2859
2859
  let c = u.slots.value;
2860
2860
  const h = t.active ?? !0;
2861
2861
  let y = !1;
@@ -2874,8 +2874,8 @@ var bi = class {
2874
2874
  t.index = t.index ?? Oe.get(), t.active = h;
2875
2875
  let d = new re(t, i, t.index, h);
2876
2876
  c.push(d);
2877
- let m = f + 1, w = 1, g = new O(u, t.index, f);
2878
- this[ie](n, m, e, w, g);
2877
+ let m = f + 1, b = 1, g = new O(u, t.index, f);
2878
+ this[ie](n, m, e, b, g);
2879
2879
  }
2880
2880
  u.slots.value = [...c];
2881
2881
  } else {
@@ -2898,18 +2898,18 @@ var bi = class {
2898
2898
  let m = [];
2899
2899
  for (let L = 1; L < c.length; L++) m.push(c[L].index);
2900
2900
  m.length > 0 ? this[ae](n, o, m, !0) : y && (u.slots.value = [...c]);
2901
- let w = [new O(u, t.index, f)], g = f + 1, v = 1, j = new O(u, t.index, f);
2902
- for (; w.length > 0 && g < n.layers.length && v < e.layers.length; g++, v++) {
2901
+ let b = [new O(u, t.index, f)], g = f + 1, v = 1, j = new O(u, t.index, f);
2902
+ for (; b.length > 0 && g < n.layers.length && v < e.layers.length; g++, v++) {
2903
2903
  let L = [];
2904
2904
  for (let T = 0; T < n.layers[g].views.length; T++) {
2905
- let K = n.layers[g].views[T];
2906
- K[he] && O.include(w, K[he]) && L.unshift(T);
2905
+ let q = n.layers[g].views[T];
2906
+ q[he] && O.include(b, q[he]) && L.unshift(T);
2907
2907
  }
2908
- let Fe = [];
2908
+ let _e = [];
2909
2909
  for (let T of L) {
2910
- let K = n.layers[g].views[T], ne = e.layers[v].models, ee;
2911
- for (let M = 0; M < ne.length; M++) if (K.name === ne[M].name) {
2912
- ee = ne[M];
2910
+ let q = n.layers[g].views[T], ne = e.layers[v].models, ee;
2911
+ for (let k = 0; k < ne.length; k++) if (q.name === ne[k].name) {
2912
+ ee = ne[k];
2913
2913
  break;
2914
2914
  }
2915
2915
  if (!ee) this[ae](n, {
@@ -2917,35 +2917,35 @@ var bi = class {
2917
2917
  y: g
2918
2918
  }, null, !1);
2919
2919
  else {
2920
- let M = K.slots.value;
2921
- if (M.length == 0) {
2920
+ let k = q.slots.value;
2921
+ if (k.length == 0) {
2922
2922
  let Q = 0;
2923
- K.slots.value = [new re(null, ee, Q)];
2923
+ q.slots.value = [new re(null, ee, Q)];
2924
2924
  let N = g + 1, U = v + 1;
2925
2925
  this[ie](n, N, e, U, j);
2926
2926
  } else {
2927
- let Q = M[0];
2927
+ let Q = k[0];
2928
2928
  if (Q.model !== ee) {
2929
2929
  this[ae](n, {
2930
2930
  x: T,
2931
2931
  y: g
2932
- }, null, !0), K.slots.value = [new re(null, ee, 0)];
2932
+ }, null, !0), q.slots.value = [new re(null, ee, 0)];
2933
2933
  let N = g + 1, U = v + 1;
2934
2934
  this[ie](n, N, e, U, j);
2935
2935
  } else {
2936
- K[z] && Q.route !== null && this[je](Q.route);
2936
+ q[z] && Q.route !== null && this[je](Q.route);
2937
2937
  let N = [];
2938
- for (let U = 1; U < M.length; U++) N.push(M[U].index);
2938
+ for (let U = 1; U < k.length; U++) N.push(k[U].index);
2939
2939
  N.length > 0 && this[ae](n, {
2940
2940
  x: T,
2941
2941
  y: g
2942
- }, N, !0), Fe.push(new O(K, Q.index, g));
2942
+ }, N, !0), _e.push(new O(q, Q.index, g));
2943
2943
  }
2944
2944
  }
2945
- K[z] = !1;
2945
+ q[z] = !1;
2946
2946
  }
2947
2947
  }
2948
- w = Fe;
2948
+ b = _e;
2949
2949
  }
2950
2950
  this[ie](n, g, e, v, j);
2951
2951
  }
@@ -2953,7 +2953,7 @@ var bi = class {
2953
2953
  }
2954
2954
  if (u && u[J]) {
2955
2955
  let c = u[J];
2956
- c && (t.slot = new Cs(l, f, c?.view.name, c?.index ?? 0));
2956
+ c && (t.slot = new Fs(l, f, c?.view.name, c?.index ?? 0));
2957
2957
  }
2958
2958
  return r.to = void 0, r.routeModel = void 0, this[xr](t, r), {
2959
2959
  status: "success",
@@ -3019,7 +3019,7 @@ var bi = class {
3019
3019
  function xi(e) {
3020
3020
  return e == H.Loaded || e === H.Defined;
3021
3021
  }
3022
- var Fr = /* @__PURE__ */ (function(e) {
3022
+ var _r = /* @__PURE__ */ (function(e) {
3023
3023
  return e[e.normal = 0] = "normal", e[e.factory = 1] = "factory", e;
3024
3024
  })({}), Pi = class {
3025
3025
  register = /* @__PURE__ */ new Map();
@@ -3067,7 +3067,7 @@ var Fr = /* @__PURE__ */ (function(e) {
3067
3067
  async function Ei(e) {
3068
3068
  return await new Function("url", "return import(url)")(e);
3069
3069
  }
3070
- var _r = class {
3070
+ var Cr = class {
3071
3071
  moduleManager = new Pi();
3072
3072
  _alias = {};
3073
3073
  set alias(e) {
@@ -3120,17 +3120,17 @@ var _r = class {
3120
3120
  src: "",
3121
3121
  status: H.Loaded
3122
3122
  };
3123
- typeof t == "function" ? (r.exports = t, r.type = Fr.factory) : r.exports = t, this.moduleManager.set(e, r);
3123
+ typeof t == "function" ? (r.exports = t, r.type = _r.factory) : r.exports = t, this.moduleManager.set(e, r);
3124
3124
  }
3125
3125
  removeModule(e) {
3126
3126
  this.moduleManager.remove(e);
3127
3127
  }
3128
3128
  getModuleExports(e) {
3129
3129
  const t = this.moduleManager.get(e);
3130
- return t && xi(t.status) ? t.type === Fr.factory && typeof t.exports == "function" ? t.exports() : t.exports : null;
3130
+ return t && xi(t.status) ? t.type === _r.factory && typeof t.exports == "function" ? t.exports() : t.exports : null;
3131
3131
  }
3132
3132
  exposeRequire(e = "__foxRequire", t, r) {
3133
- const s = t ?? C();
3133
+ const s = t ?? F();
3134
3134
  return s && typeof s == "object" ? (s[e] = (i) => {
3135
3135
  const n = this.getModuleExports(i);
3136
3136
  return r && !n && console.error(`[Fox] module:${i}, not found!`), n;
@@ -3180,7 +3180,7 @@ var _r = class {
3180
3180
  const u = this.resloveResource(e[o]);
3181
3181
  s.push(u);
3182
3182
  }
3183
- const a = new Fi(s.length, (o, u) => {
3183
+ const a = new _i(s.length, (o, u) => {
3184
3184
  if (a.isOK()) try {
3185
3185
  typeof n == "function" && Reflect.apply(n, {}, u), t(u);
3186
3186
  } catch (f) {
@@ -3193,7 +3193,7 @@ var _r = class {
3193
3193
  }
3194
3194
  }), l = new ft();
3195
3195
  for (let o = 0; o < s.length; o++) {
3196
- const u = new _i(o, s[o], a);
3196
+ const u = new Ci(o, s[o], a);
3197
3197
  this.mount(l, u);
3198
3198
  }
3199
3199
  return this;
@@ -3301,21 +3301,25 @@ var _r = class {
3301
3301
  }, l.onerror = () => {
3302
3302
  try {
3303
3303
  r.removeChild(l);
3304
- } catch (c) {
3305
- console.error(c);
3304
+ } catch (h) {
3305
+ console.error(h);
3306
3306
  }
3307
3307
  l.onload = null, l.onerror = null, this.moduleManager.remove(i.path), t.progress.work(!1, t.index, null), s.resolve();
3308
3308
  };
3309
3309
  else {
3310
- const c = l;
3311
- c.onreadystatechange = () => {
3312
- /loaded|complete/.test(c.readyState) && (c.onreadystatechange = null, a.status == H.Loading && (a.status = H.Loaded, t.progress.work(!0, t.index, i.path)), s.resolve());
3310
+ const h = l;
3311
+ h.onreadystatechange = () => {
3312
+ /loaded|complete/.test(h.readyState) && (h.onreadystatechange = null, a.status == H.Loading && (a.status = H.Loaded, t.progress.work(!0, t.index, i.path)), s.resolve());
3313
3313
  };
3314
3314
  }
3315
3315
  const o = this.constructResourceUri(i.path);
3316
3316
  l.defer = !0, l.src = o;
3317
- const u = C(), f = this.createRequireLoad();
3318
- u.require = f, u.define = this.createDefine(a, f, t), r.appendChild(l);
3317
+ const u = F(), f = this.createRequireLoad();
3318
+ u.__require = u.__require ?? u.require, u.require = f;
3319
+ const c = this.createDefine(a, f, t);
3320
+ u.__define = u.__define ?? u.define, u.define = c, typeof t.progress.finalCallback != "function" && (t.progress.finalCallback = function() {
3321
+ u.require = u.__require, u.__require = void 0, u.define = u.__define, u.__define = void 0;
3322
+ }), r.appendChild(l);
3319
3323
  });
3320
3324
  }
3321
3325
  mountCJS(e, t) {
@@ -3422,7 +3426,8 @@ var _r = class {
3422
3426
  let r = e.lastIndexOf(".", t);
3423
3427
  return r == -1 ? "" : e.substring(r + 1, t);
3424
3428
  }
3425
- }, Fi = class {
3429
+ }, _i = class {
3430
+ finalCallback;
3426
3431
  callback;
3427
3432
  values;
3428
3433
  status;
@@ -3436,12 +3441,14 @@ var _r = class {
3436
3441
  Reflect.apply(this.callback, this, [this.status, this.values]);
3437
3442
  } catch (s) {
3438
3443
  console.error(s.message, s);
3444
+ } finally {
3445
+ typeof this.finalCallback == "function" && (Reflect.apply(this.finalCallback, null, []), this.finalCallback = null);
3439
3446
  }
3440
3447
  }
3441
3448
  isOK() {
3442
3449
  return this.status;
3443
3450
  }
3444
- }, _i = class {
3451
+ }, Ci = class {
3445
3452
  index;
3446
3453
  resource;
3447
3454
  progress;
@@ -3450,7 +3457,7 @@ var _r = class {
3450
3457
  }
3451
3458
  }, is = /* @__PURE__ */ Symbol("fk"), ns = /* @__PURE__ */ Symbol("fbk"), os = /* @__PURE__ */ Symbol("fepk");
3452
3459
  function Ui(e = {}) {
3453
- const t = new bi(e), r = new nr(), s = new yr(), i = new _r(), n = {
3460
+ const t = new wi(e), r = new nr(), s = new yr(), i = new Cr(), n = {
3454
3461
  get router() {
3455
3462
  return t;
3456
3463
  },
@@ -3470,7 +3477,7 @@ function Ui(e = {}) {
3470
3477
  return ft;
3471
3478
  },
3472
3479
  get Require() {
3473
- return _r;
3480
+ return Cr;
3474
3481
  },
3475
3482
  get require() {
3476
3483
  return i;
@@ -3556,12 +3563,12 @@ export {
3556
3563
  nr as Bus,
3557
3564
  ft as EventChain,
3558
3565
  yr as EventProxy,
3559
- Ks as FoxBeforeEnter,
3560
- qs as FoxBeforeLeave,
3561
- $s as FoxEnter,
3566
+ qs as FoxBeforeEnter,
3567
+ $s as FoxBeforeLeave,
3568
+ Ks as FoxEnter,
3562
3569
  js as FoxLeave,
3563
3570
  Ht as FoxLeaveEnd,
3564
- _ as OperationType,
3571
+ C as OperationType,
3565
3572
  x as Route,
3566
3573
  ii as RouterLink,
3567
3574
  Ut as RouterView,
@@ -3570,23 +3577,23 @@ export {
3570
3577
  mi as createWebHashHistory,
3571
3578
  Ni as createWebHistory,
3572
3579
  Bi as deleteContextValue,
3573
- q as extend,
3580
+ $ as extend,
3574
3581
  ns as foxBusKey,
3575
3582
  os as foxEventProxyKey,
3576
3583
  is as foxKey,
3577
3584
  Nr as injectContextValue,
3578
3585
  er as isArray,
3579
- $i as isDate,
3586
+ Ki as isDate,
3580
3587
  zt as isESModule,
3581
3588
  rr as isEqual,
3582
- b as isFunction,
3589
+ w as isFunction,
3583
3590
  Ai as isMap,
3584
3591
  He as isNil,
3585
3592
  ds as isObject,
3586
3593
  vs as isPlainObject,
3587
3594
  Li as isPromise,
3588
- Ki as isSet,
3589
- qi as isString,
3595
+ qi as isSet,
3596
+ $i as isString,
3590
3597
  ji as isSymbol,
3591
3598
  Xi as onAfterRouteUpdate,
3592
3599
  Gi as onBeforeRouteUpdate,
@@ -3594,10 +3601,10 @@ export {
3594
3601
  Hi as onFoxInactivated,
3595
3602
  Oi as provideContextValue,
3596
3603
  Ii as rawState,
3597
- Mi as reactiveState,
3604
+ ki as reactiveState,
3598
3605
  oe as sessionKey,
3599
- ki as shallowReactiveState,
3600
- $r as toBoolean,
3606
+ Mi as shallowReactiveState,
3607
+ Kr as toBoolean,
3601
3608
  Ti as toNumber,
3602
3609
  Jt as toTypeString,
3603
3610
  tr as typeOf,