@pubinfo-pr/devtools 0.203.1 → 0.203.2

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.
Files changed (35) hide show
  1. package/dist/client/assets/Navbar-D8ux538U.css +18 -0
  2. package/dist/client/assets/Navbar-DCdslOKs.js +219 -0
  3. package/dist/client/assets/PanelGrids-Bq_2z9g3.js +9 -0
  4. package/dist/client/assets/SelectTabs-Chnu7x16.js +171 -0
  5. package/dist/client/assets/_plugin-vue_export-helper-D8E0syuh.js +6 -0
  6. package/dist/client/assets/component-Qe9twpoz.js +468 -0
  7. package/dist/client/assets/{core-DZ0_U_pO.js → core-D6JqxgYq.js} +134 -133
  8. package/dist/client/assets/{engine-oniguruma-Cxk0otvy.js → engine-oniguruma-n-bafM3H.js} +8 -8
  9. package/dist/client/assets/{fetch-Df05JmPt.js → fetch-CwAFBmMG.js} +122 -6
  10. package/dist/client/assets/import-DV9l8S2T.js +375 -0
  11. package/dist/client/assets/{index-Cn9-H915.js → index-ByOJyids.js} +1174 -1123
  12. package/dist/client/assets/index-DNthkvua.css +443 -0
  13. package/dist/client/assets/issue-BHrGN1_d.css +10 -0
  14. package/dist/client/assets/issue-MdUzHAB3.js +130 -0
  15. package/dist/client/assets/pages-D4LiKgxN.js +285 -0
  16. package/dist/client/assets/pages-DQ8FtB9Y.css +17 -0
  17. package/dist/client/assets/{server-router-8PynUpe5.css → server-router-B1AB70as.css} +0 -18
  18. package/dist/client/assets/{server-router-BHD-n_Wi.js → server-router-DuEpkdvh.js} +26 -238
  19. package/dist/client/assets/vue-DZSPIjN6.js +27 -0
  20. package/dist/client/component.svg +1 -0
  21. package/dist/client/import.svg +1 -0
  22. package/dist/client/index.html +2 -2
  23. package/dist/client/issue.svg +1 -0
  24. package/dist/client/logo.svg +1 -0
  25. package/dist/constants.d.mts +1 -2
  26. package/dist/dirs.mjs +15 -1
  27. package/dist/index.d.mts +0 -15
  28. package/dist/index.mjs +1968 -52
  29. package/dist/panel/index.d.mts +1 -0
  30. package/dist/panel/index.mjs +75 -3776
  31. package/package.json +29 -18
  32. package/dist/client/assets/index-Blntvu93.css +0 -443
  33. package/dist/client/assets/pages-BdQpgtx4.js +0 -20
  34. package/dist/client/assets/vue-Be3tcD1h.js +0 -27
  35. package/dist/dirs2.mjs +0 -17
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-BdQpgtx4.js","./fetch-Df05JmPt.js","./server-router-BHD-n_Wi.js","./server-router-8PynUpe5.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-D4LiKgxN.js","./_plugin-vue_export-helper-D8E0syuh.js","./fetch-CwAFBmMG.js","./PanelGrids-Bq_2z9g3.js","./pages-DQ8FtB9Y.css","./component-Qe9twpoz.js","./Navbar-DCdslOKs.js","./Navbar-D8ux538U.css","./SelectTabs-Chnu7x16.js","./import-DV9l8S2T.js","./issue-MdUzHAB3.js","./issue-BHrGN1_d.css","./server-router-DuEpkdvh.js","./server-router-B1AB70as.css"])))=>i.map(i=>d[i]);
2
2
  (function polyfill() {
3
3
  const relList = document.createElement("link").relList;
4
4
  if (relList && relList.supports && relList.supports("modulepreload")) return;
@@ -29,7 +29,7 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-BdQpgtx4.js","
29
29
  }
30
30
  })();
31
31
  /**
32
- * @vue/shared v3.5.26
32
+ * @vue/shared v3.5.28
33
33
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
34
34
  * @license MIT
35
35
  **/
@@ -47,8 +47,8 @@ var isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && (k
47
47
  var isModelListener = (key) => key.startsWith("onUpdate:");
48
48
  var extend = Object.assign;
49
49
  var remove = (arr, el) => {
50
- const i$1 = arr.indexOf(el);
51
- if (i$1 > -1) arr.splice(i$1, 1);
50
+ const i = arr.indexOf(el);
51
+ if (i > -1) arr.splice(i, 1);
52
52
  };
53
53
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
54
54
  var hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
@@ -80,7 +80,7 @@ var cacheStringFunction = (fn) => {
80
80
  };
81
81
  var camelizeRE = /-\w/g;
82
82
  var camelize = cacheStringFunction((str) => {
83
- return str.replace(camelizeRE, (c$2) => c$2.slice(1).toUpperCase());
83
+ return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
84
84
  });
85
85
  var hyphenateRE = /\B([A-Z])/g;
86
86
  var hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
@@ -92,7 +92,7 @@ var toHandlerKey = cacheStringFunction((str) => {
92
92
  });
93
93
  var hasChanged = (value, oldValue) => !Object.is(value, oldValue);
94
94
  var invokeArrayFns = (fns, ...arg) => {
95
- for (let i$1 = 0; i$1 < fns.length; i$1++) fns[i$1](...arg);
95
+ for (let i = 0; i < fns.length; i++) fns[i](...arg);
96
96
  };
97
97
  var def = (obj, key, value, writable = false) => {
98
98
  Object.defineProperty(obj, key, {
@@ -103,12 +103,12 @@ var def = (obj, key, value, writable = false) => {
103
103
  });
104
104
  };
105
105
  var looseToNumber = (val) => {
106
- const n$2 = parseFloat(val);
107
- return isNaN(n$2) ? val : n$2;
106
+ const n = parseFloat(val);
107
+ return isNaN(n) ? val : n;
108
108
  };
109
109
  var toNumber = (val) => {
110
- const n$2 = isString(val) ? Number(val) : NaN;
111
- return isNaN(n$2) ? val : n$2;
110
+ const n = isString(val) ? Number(val) : NaN;
111
+ return isNaN(n) ? val : n;
112
112
  };
113
113
  var _globalThis;
114
114
  var getGlobalThis = () => {
@@ -117,8 +117,8 @@ var getGlobalThis = () => {
117
117
  function normalizeStyle(value) {
118
118
  if (isArray$1(value)) {
119
119
  const res = {};
120
- for (let i$1 = 0; i$1 < value.length; i$1++) {
121
- const item = value[i$1];
120
+ for (let i = 0; i < value.length; i++) {
121
+ const item = value[i];
122
122
  const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);
123
123
  if (normalized) for (const key in normalized) res[key] = normalized[key];
124
124
  }
@@ -141,8 +141,8 @@ function parseStringStyle(cssText) {
141
141
  function normalizeClass(value) {
142
142
  let res = "";
143
143
  if (isString(value)) res = value;
144
- else if (isArray$1(value)) for (let i$1 = 0; i$1 < value.length; i$1++) {
145
- const normalized = normalizeClass(value[i$1]);
144
+ else if (isArray$1(value)) for (let i = 0; i < value.length; i++) {
145
+ const normalized = normalizeClass(value[i]);
146
146
  if (normalized) res += normalized + " ";
147
147
  }
148
148
  else if (isObject(value)) {
@@ -163,35 +163,35 @@ specialBooleanAttrs + "";
163
163
  function includeBooleanAttr(value) {
164
164
  return !!value || value === "";
165
165
  }
166
- function looseCompareArrays(a$1, b$2) {
167
- if (a$1.length !== b$2.length) return false;
166
+ function looseCompareArrays(a, b) {
167
+ if (a.length !== b.length) return false;
168
168
  let equal = true;
169
- for (let i$1 = 0; equal && i$1 < a$1.length; i$1++) equal = looseEqual(a$1[i$1], b$2[i$1]);
169
+ for (let i = 0; equal && i < a.length; i++) equal = looseEqual(a[i], b[i]);
170
170
  return equal;
171
171
  }
172
- function looseEqual(a$1, b$2) {
173
- if (a$1 === b$2) return true;
174
- let aValidType = isDate(a$1);
175
- let bValidType = isDate(b$2);
176
- if (aValidType || bValidType) return aValidType && bValidType ? a$1.getTime() === b$2.getTime() : false;
177
- aValidType = isSymbol(a$1);
178
- bValidType = isSymbol(b$2);
179
- if (aValidType || bValidType) return a$1 === b$2;
180
- aValidType = isArray$1(a$1);
181
- bValidType = isArray$1(b$2);
182
- if (aValidType || bValidType) return aValidType && bValidType ? looseCompareArrays(a$1, b$2) : false;
183
- aValidType = isObject(a$1);
184
- bValidType = isObject(b$2);
172
+ function looseEqual(a, b) {
173
+ if (a === b) return true;
174
+ let aValidType = isDate(a);
175
+ let bValidType = isDate(b);
176
+ if (aValidType || bValidType) return aValidType && bValidType ? a.getTime() === b.getTime() : false;
177
+ aValidType = isSymbol(a);
178
+ bValidType = isSymbol(b);
179
+ if (aValidType || bValidType) return a === b;
180
+ aValidType = isArray$1(a);
181
+ bValidType = isArray$1(b);
182
+ if (aValidType || bValidType) return aValidType && bValidType ? looseCompareArrays(a, b) : false;
183
+ aValidType = isObject(a);
184
+ bValidType = isObject(b);
185
185
  if (aValidType || bValidType) {
186
186
  if (!aValidType || !bValidType) return false;
187
- if (Object.keys(a$1).length !== Object.keys(b$2).length) return false;
188
- for (const key in a$1) {
189
- const aHasKey = a$1.hasOwnProperty(key);
190
- const bHasKey = b$2.hasOwnProperty(key);
191
- if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a$1[key], b$2[key])) return false;
187
+ if (Object.keys(a).length !== Object.keys(b).length) return false;
188
+ for (const key in a) {
189
+ const aHasKey = a.hasOwnProperty(key);
190
+ const bHasKey = b.hasOwnProperty(key);
191
+ if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) return false;
192
192
  }
193
193
  }
194
- return String(a$1) === String(b$2);
194
+ return String(a) === String(b);
195
195
  }
196
196
  function looseIndexOf(arr, val) {
197
197
  return arr.findIndex((item) => looseEqual(item, val));
@@ -204,21 +204,21 @@ var toDisplayString = (val) => {
204
204
  };
205
205
  var replacer = (_key, val) => {
206
206
  if (isRef$1(val)) return replacer(_key, val.value);
207
- else if (isMap(val)) return { [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2], i$1) => {
208
- entries[stringifySymbol(key, i$1) + " =>"] = val2;
207
+ else if (isMap(val)) return { [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2], i) => {
208
+ entries[stringifySymbol(key, i) + " =>"] = val2;
209
209
  return entries;
210
210
  }, {}) };
211
- else if (isSet(val)) return { [`Set(${val.size})`]: [...val.values()].map((v$1) => stringifySymbol(v$1)) };
211
+ else if (isSet(val)) return { [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v)) };
212
212
  else if (isSymbol(val)) return stringifySymbol(val);
213
213
  else if (isObject(val) && !isArray$1(val) && !isPlainObject(val)) return String(val);
214
214
  return val;
215
215
  };
216
- var stringifySymbol = (v$1, i$1 = "") => {
216
+ var stringifySymbol = (v, i = "") => {
217
217
  var _a;
218
- return isSymbol(v$1) ? `Symbol(${(_a = v$1.description) != null ? _a : i$1})` : v$1;
218
+ return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
219
219
  };
220
220
  /**
221
- * @vue/reactivity v3.5.26
221
+ * @vue/reactivity v3.5.28
222
222
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
223
223
  * @license MIT
224
224
  **/
@@ -231,6 +231,7 @@ var EffectScope = class {
231
231
  this.effects = [];
232
232
  this.cleanups = [];
233
233
  this._isPaused = false;
234
+ this.__v_skip = true;
234
235
  this.parent = activeEffectScope;
235
236
  if (!detached && activeEffectScope) this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
236
237
  }
@@ -240,18 +241,18 @@ var EffectScope = class {
240
241
  pause() {
241
242
  if (this._active) {
242
243
  this._isPaused = true;
243
- let i$1, l$1;
244
- if (this.scopes) for (i$1 = 0, l$1 = this.scopes.length; i$1 < l$1; i$1++) this.scopes[i$1].pause();
245
- for (i$1 = 0, l$1 = this.effects.length; i$1 < l$1; i$1++) this.effects[i$1].pause();
244
+ let i, l;
245
+ if (this.scopes) for (i = 0, l = this.scopes.length; i < l; i++) this.scopes[i].pause();
246
+ for (i = 0, l = this.effects.length; i < l; i++) this.effects[i].pause();
246
247
  }
247
248
  }
248
249
  resume() {
249
250
  if (this._active) {
250
251
  if (this._isPaused) {
251
252
  this._isPaused = false;
252
- let i$1, l$1;
253
- if (this.scopes) for (i$1 = 0, l$1 = this.scopes.length; i$1 < l$1; i$1++) this.scopes[i$1].resume();
254
- for (i$1 = 0, l$1 = this.effects.length; i$1 < l$1; i$1++) this.effects[i$1].resume();
253
+ let i, l;
254
+ if (this.scopes) for (i = 0, l = this.scopes.length; i < l; i++) this.scopes[i].resume();
255
+ for (i = 0, l = this.effects.length; i < l; i++) this.effects[i].resume();
255
256
  }
256
257
  }
257
258
  }
@@ -281,13 +282,13 @@ var EffectScope = class {
281
282
  stop(fromParent) {
282
283
  if (this._active) {
283
284
  this._active = false;
284
- let i$1, l$1;
285
- for (i$1 = 0, l$1 = this.effects.length; i$1 < l$1; i$1++) this.effects[i$1].stop();
285
+ let i, l;
286
+ for (i = 0, l = this.effects.length; i < l; i++) this.effects[i].stop();
286
287
  this.effects.length = 0;
287
- for (i$1 = 0, l$1 = this.cleanups.length; i$1 < l$1; i$1++) this.cleanups[i$1]();
288
+ for (i = 0, l = this.cleanups.length; i < l; i++) this.cleanups[i]();
288
289
  this.cleanups.length = 0;
289
290
  if (this.scopes) {
290
- for (i$1 = 0, l$1 = this.scopes.length; i$1 < l$1; i$1++) this.scopes[i$1].stop(true);
291
+ for (i = 0, l = this.scopes.length; i < l; i++) this.scopes[i].stop(true);
291
292
  this.scopes.length = 0;
292
293
  }
293
294
  if (!this.detached && this.parent && !fromParent) {
@@ -454,24 +455,24 @@ function isDirty(sub) {
454
455
  if (sub._dirty) return true;
455
456
  return false;
456
457
  }
457
- function refreshComputed(computed$2) {
458
- if (computed$2.flags & 4 && !(computed$2.flags & 16)) return;
459
- computed$2.flags &= -17;
460
- if (computed$2.globalVersion === globalVersion) return;
461
- computed$2.globalVersion = globalVersion;
462
- if (!computed$2.isSSR && computed$2.flags & 128 && (!computed$2.deps && !computed$2._dirty || !isDirty(computed$2))) return;
463
- computed$2.flags |= 2;
464
- const dep = computed$2.dep;
458
+ function refreshComputed(computed) {
459
+ if (computed.flags & 4 && !(computed.flags & 16)) return;
460
+ computed.flags &= -17;
461
+ if (computed.globalVersion === globalVersion) return;
462
+ computed.globalVersion = globalVersion;
463
+ if (!computed.isSSR && computed.flags & 128 && (!computed.deps && !computed._dirty || !isDirty(computed))) return;
464
+ computed.flags |= 2;
465
+ const dep = computed.dep;
465
466
  const prevSub = activeSub;
466
467
  const prevShouldTrack = shouldTrack;
467
- activeSub = computed$2;
468
+ activeSub = computed;
468
469
  shouldTrack = true;
469
470
  try {
470
- prepareDeps(computed$2);
471
- const value = computed$2.fn(computed$2._value);
472
- if (dep.version === 0 || hasChanged(value, computed$2._value)) {
473
- computed$2.flags |= 128;
474
- computed$2._value = value;
471
+ prepareDeps(computed);
472
+ const value = computed.fn(computed._value);
473
+ if (dep.version === 0 || hasChanged(value, computed._value)) {
474
+ computed.flags |= 128;
475
+ computed._value = value;
475
476
  dep.version++;
476
477
  }
477
478
  } catch (err) {
@@ -480,8 +481,8 @@ function refreshComputed(computed$2) {
480
481
  } finally {
481
482
  activeSub = prevSub;
482
483
  shouldTrack = prevShouldTrack;
483
- cleanupDeps(computed$2);
484
- computed$2.flags &= -3;
484
+ cleanupDeps(computed);
485
+ computed.flags &= -3;
485
486
  }
486
487
  }
487
488
  function removeSub(link, soft = false) {
@@ -498,7 +499,7 @@ function removeSub(link, soft = false) {
498
499
  dep.subs = prevSub;
499
500
  if (!prevSub && dep.computed) {
500
501
  dep.computed.flags &= -5;
501
- for (let l$1 = dep.computed.deps; l$1; l$1 = l$1.nextDep) removeSub(l$1, true);
502
+ for (let l = dep.computed.deps; l; l = l.nextDep) removeSub(l, true);
502
503
  }
503
504
  }
504
505
  if (!soft && !--dep.sc && dep.map) dep.map.delete(dep.key);
@@ -547,8 +548,8 @@ var Link = class {
547
548
  }
548
549
  };
549
550
  var Dep = class {
550
- constructor(computed$2) {
551
- this.computed = computed$2;
551
+ constructor(computed) {
552
+ this.computed = computed;
552
553
  this.version = 0;
553
554
  this.activeLink = void 0;
554
555
  this.subs = void 0;
@@ -601,10 +602,10 @@ var Dep = class {
601
602
  function addSub(link) {
602
603
  link.dep.sc++;
603
604
  if (link.sub.flags & 4) {
604
- const computed$2 = link.dep.computed;
605
- if (computed$2 && !link.dep.subs) {
606
- computed$2.flags |= 20;
607
- for (let l$1 = computed$2.deps; l$1; l$1 = l$1.nextDep) addSub(l$1);
605
+ const computed = link.dep.computed;
606
+ if (computed && !link.dep.subs) {
607
+ computed.flags |= 20;
608
+ for (let l = computed.deps; l; l = l.nextDep) addSub(l);
608
609
  }
609
610
  const currentTail = link.dep.subs;
610
611
  if (currentTail !== link) {
@@ -679,17 +680,17 @@ function getDepFromReactive(object, key) {
679
680
  return depMap && depMap.get(key);
680
681
  }
681
682
  function reactiveReadArray(array) {
682
- const raw = toRaw(array);
683
+ const raw = /* @__PURE__ */ toRaw(array);
683
684
  if (raw === array) return raw;
684
685
  track(raw, "iterate", ARRAY_ITERATE_KEY);
685
- return isShallow(array) ? raw : raw.map(toReactive);
686
+ return /* @__PURE__ */ isShallow(array) ? raw : raw.map(toReactive);
686
687
  }
687
688
  function shallowReadArray(arr) {
688
- track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
689
+ track(arr = /* @__PURE__ */ toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
689
690
  return arr;
690
691
  }
691
692
  function toWrapped(target, item) {
692
- if (isReadonly(target)) return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
693
+ if (/* @__PURE__ */ isReadonly(target)) return /* @__PURE__ */ isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
693
694
  return toReactive(item);
694
695
  }
695
696
  var arrayInstrumentations = {
@@ -698,7 +699,7 @@ var arrayInstrumentations = {
698
699
  return iterator(this, Symbol.iterator, (item) => toWrapped(this, item));
699
700
  },
700
701
  concat(...args) {
701
- return reactiveReadArray(this).concat(...args.map((x$2) => isArray$1(x$2) ? reactiveReadArray(x$2) : x$2));
702
+ return reactiveReadArray(this).concat(...args.map((x) => isArray$1(x) ? reactiveReadArray(x) : x));
702
703
  },
703
704
  entries() {
704
705
  return iterator(this, "entries", (value) => {
@@ -710,7 +711,7 @@ var arrayInstrumentations = {
710
711
  return apply(this, "every", fn, thisArg, void 0, arguments);
711
712
  },
712
713
  filter(fn, thisArg) {
713
- return apply(this, "filter", fn, thisArg, (v$1) => v$1.map((item) => toWrapped(this, item)), arguments);
714
+ return apply(this, "filter", fn, thisArg, (v) => v.map((item) => toWrapped(this, item)), arguments);
714
715
  },
715
716
  find(fn, thisArg) {
716
717
  return apply(this, "find", fn, thisArg, (item) => toWrapped(this, item), arguments);
@@ -779,10 +780,10 @@ var arrayInstrumentations = {
779
780
  return iterator(this, "values", (item) => toWrapped(this, item));
780
781
  }
781
782
  };
782
- function iterator(self$1, method, wrapValue) {
783
- const arr = shallowReadArray(self$1);
783
+ function iterator(self, method, wrapValue) {
784
+ const arr = shallowReadArray(self);
784
785
  const iter = arr[method]();
785
- if (arr !== self$1 && !isShallow(self$1)) {
786
+ if (arr !== self && !/* @__PURE__ */ isShallow(self)) {
786
787
  iter._next = iter.next;
787
788
  iter.next = () => {
788
789
  const result = iter._next();
@@ -793,53 +794,53 @@ function iterator(self$1, method, wrapValue) {
793
794
  return iter;
794
795
  }
795
796
  var arrayProto = Array.prototype;
796
- function apply(self$1, method, fn, thisArg, wrappedRetFn, args) {
797
- const arr = shallowReadArray(self$1);
798
- const needsWrap = arr !== self$1 && !isShallow(self$1);
797
+ function apply(self, method, fn, thisArg, wrappedRetFn, args) {
798
+ const arr = shallowReadArray(self);
799
+ const needsWrap = arr !== self && !/* @__PURE__ */ isShallow(self);
799
800
  const methodFn = arr[method];
800
801
  if (methodFn !== arrayProto[method]) {
801
- const result2 = methodFn.apply(self$1, args);
802
+ const result2 = methodFn.apply(self, args);
802
803
  return needsWrap ? toReactive(result2) : result2;
803
804
  }
804
805
  let wrappedFn = fn;
805
- if (arr !== self$1) {
806
+ if (arr !== self) {
806
807
  if (needsWrap) wrappedFn = function(item, index) {
807
- return fn.call(this, toWrapped(self$1, item), index, self$1);
808
+ return fn.call(this, toWrapped(self, item), index, self);
808
809
  };
809
810
  else if (fn.length > 2) wrappedFn = function(item, index) {
810
- return fn.call(this, item, index, self$1);
811
+ return fn.call(this, item, index, self);
811
812
  };
812
813
  }
813
814
  const result = methodFn.call(arr, wrappedFn, thisArg);
814
815
  return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;
815
816
  }
816
- function reduce(self$1, method, fn, args) {
817
- const arr = shallowReadArray(self$1);
817
+ function reduce(self, method, fn, args) {
818
+ const arr = shallowReadArray(self);
818
819
  let wrappedFn = fn;
819
- if (arr !== self$1) {
820
- if (!isShallow(self$1)) wrappedFn = function(acc, item, index) {
821
- return fn.call(this, acc, toWrapped(self$1, item), index, self$1);
820
+ if (arr !== self) {
821
+ if (!/* @__PURE__ */ isShallow(self)) wrappedFn = function(acc, item, index) {
822
+ return fn.call(this, acc, toWrapped(self, item), index, self);
822
823
  };
823
824
  else if (fn.length > 3) wrappedFn = function(acc, item, index) {
824
- return fn.call(this, acc, item, index, self$1);
825
+ return fn.call(this, acc, item, index, self);
825
826
  };
826
827
  }
827
828
  return arr[method](wrappedFn, ...args);
828
829
  }
829
- function searchProxy(self$1, method, args) {
830
- const arr = toRaw(self$1);
830
+ function searchProxy(self, method, args) {
831
+ const arr = /* @__PURE__ */ toRaw(self);
831
832
  track(arr, "iterate", ARRAY_ITERATE_KEY);
832
833
  const res = arr[method](...args);
833
- if ((res === -1 || res === false) && isProxy(args[0])) {
834
- args[0] = toRaw(args[0]);
834
+ if ((res === -1 || res === false) && /* @__PURE__ */ isProxy(args[0])) {
835
+ args[0] = /* @__PURE__ */ toRaw(args[0]);
835
836
  return arr[method](...args);
836
837
  }
837
838
  return res;
838
839
  }
839
- function noTracking(self$1, method, args = []) {
840
+ function noTracking(self, method, args = []) {
840
841
  pauseTracking();
841
842
  startBatch();
842
- const res = toRaw(self$1)[method].apply(self$1, args);
843
+ const res = (/* @__PURE__ */ toRaw(self))[method].apply(self, args);
843
844
  endBatch();
844
845
  resetTracking();
845
846
  return res;
@@ -848,7 +849,7 @@ var isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
848
849
  var builtInSymbols = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol));
849
850
  function hasOwnProperty(key) {
850
851
  if (!isSymbol(key)) key = String(key);
851
- const obj = toRaw(this);
852
+ const obj = /* @__PURE__ */ toRaw(this);
852
853
  track(obj, "has", key);
853
854
  return obj.hasOwnProperty(key);
854
855
  }
@@ -873,15 +874,15 @@ var BaseReactiveHandler = class {
873
874
  if (targetIsArray && (fn = arrayInstrumentations[key])) return fn;
874
875
  if (key === "hasOwnProperty") return hasOwnProperty;
875
876
  }
876
- const res = Reflect.get(target, key, isRef(target) ? target : receiver);
877
+ const res = Reflect.get(target, key, /* @__PURE__ */ isRef(target) ? target : receiver);
877
878
  if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) return res;
878
879
  if (!isReadonly2) track(target, "get", key);
879
880
  if (isShallow2) return res;
880
- if (isRef(res)) {
881
+ if (/* @__PURE__ */ isRef(res)) {
881
882
  const value = targetIsArray && isIntegerKey(key) ? res : res.value;
882
- return isReadonly2 && isObject(value) ? readonly(value) : value;
883
+ return isReadonly2 && isObject(value) ? /* @__PURE__ */ readonly(value) : value;
883
884
  }
884
- if (isObject(res)) return isReadonly2 ? readonly(res) : reactive(res);
885
+ if (isObject(res)) return isReadonly2 ? /* @__PURE__ */ readonly(res) : /* @__PURE__ */ reactive(res);
885
886
  return res;
886
887
  }
887
888
  };
@@ -893,20 +894,20 @@ var MutableReactiveHandler = class extends BaseReactiveHandler {
893
894
  let oldValue = target[key];
894
895
  const isArrayWithIntegerKey = isArray$1(target) && isIntegerKey(key);
895
896
  if (!this._isShallow) {
896
- const isOldValueReadonly = isReadonly(oldValue);
897
- if (!isShallow(value) && !isReadonly(value)) {
898
- oldValue = toRaw(oldValue);
899
- value = toRaw(value);
897
+ const isOldValueReadonly = /* @__PURE__ */ isReadonly(oldValue);
898
+ if (!/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) {
899
+ oldValue = /* @__PURE__ */ toRaw(oldValue);
900
+ value = /* @__PURE__ */ toRaw(value);
900
901
  }
901
- if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) if (isOldValueReadonly) return true;
902
+ if (!isArrayWithIntegerKey && /* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) if (isOldValueReadonly) return true;
902
903
  else {
903
904
  oldValue.value = value;
904
905
  return true;
905
906
  }
906
907
  }
907
908
  const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : hasOwn(target, key);
908
- const result = Reflect.set(target, key, value, isRef(target) ? target : receiver);
909
- if (target === toRaw(receiver)) {
909
+ const result = Reflect.set(target, key, value, /* @__PURE__ */ isRef(target) ? target : receiver);
910
+ if (target === /* @__PURE__ */ toRaw(receiver)) {
910
911
  if (!hadKey) trigger(target, "add", key, value);
911
912
  else if (hasChanged(value, oldValue)) trigger(target, "set", key, value, oldValue);
912
913
  }
@@ -945,32 +946,27 @@ var readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
945
946
  var shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
946
947
  var shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
947
948
  var toShallow = (value) => value;
948
- var getProto = (v$1) => Reflect.getPrototypeOf(v$1);
949
+ var getProto = (v) => Reflect.getPrototypeOf(v);
949
950
  function createIterableMethod(method, isReadonly2, isShallow2) {
950
951
  return function(...args) {
951
952
  const target = this["__v_raw"];
952
- const rawTarget = toRaw(target);
953
+ const rawTarget = /* @__PURE__ */ toRaw(target);
953
954
  const targetIsMap = isMap(rawTarget);
954
955
  const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
955
956
  const isKeyOnly = method === "keys" && targetIsMap;
956
957
  const innerIterator = target[method](...args);
957
958
  const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
958
959
  !isReadonly2 && track(rawTarget, "iterate", isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);
959
- return {
960
- next() {
961
- const { value, done } = innerIterator.next();
962
- return done ? {
963
- value,
964
- done
965
- } : {
966
- value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
967
- done
968
- };
969
- },
970
- [Symbol.iterator]() {
971
- return this;
972
- }
973
- };
960
+ return extend(Object.create(innerIterator), { next() {
961
+ const { value, done } = innerIterator.next();
962
+ return done ? {
963
+ value,
964
+ done
965
+ } : {
966
+ value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
967
+ done
968
+ };
969
+ } });
974
970
  };
975
971
  }
976
972
  function createReadonlyMethod(type) {
@@ -978,32 +974,32 @@ function createReadonlyMethod(type) {
978
974
  return type === "delete" ? false : type === "clear" ? void 0 : this;
979
975
  };
980
976
  }
981
- function createInstrumentations(readonly$1, shallow) {
977
+ function createInstrumentations(readonly, shallow) {
982
978
  const instrumentations = {
983
979
  get(key) {
984
980
  const target = this["__v_raw"];
985
- const rawTarget = toRaw(target);
986
- const rawKey = toRaw(key);
987
- if (!readonly$1) {
981
+ const rawTarget = /* @__PURE__ */ toRaw(target);
982
+ const rawKey = /* @__PURE__ */ toRaw(key);
983
+ if (!readonly) {
988
984
  if (hasChanged(key, rawKey)) track(rawTarget, "get", key);
989
985
  track(rawTarget, "get", rawKey);
990
986
  }
991
987
  const { has } = getProto(rawTarget);
992
- const wrap = shallow ? toShallow : readonly$1 ? toReadonly : toReactive;
988
+ const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
993
989
  if (has.call(rawTarget, key)) return wrap(target.get(key));
994
990
  else if (has.call(rawTarget, rawKey)) return wrap(target.get(rawKey));
995
991
  else if (target !== rawTarget) target.get(key);
996
992
  },
997
993
  get size() {
998
994
  const target = this["__v_raw"];
999
- !readonly$1 && track(toRaw(target), "iterate", ITERATE_KEY);
995
+ !readonly && track(/* @__PURE__ */ toRaw(target), "iterate", ITERATE_KEY);
1000
996
  return target.size;
1001
997
  },
1002
998
  has(key) {
1003
999
  const target = this["__v_raw"];
1004
- const rawTarget = toRaw(target);
1005
- const rawKey = toRaw(key);
1006
- if (!readonly$1) {
1000
+ const rawTarget = /* @__PURE__ */ toRaw(target);
1001
+ const rawKey = /* @__PURE__ */ toRaw(key);
1002
+ if (!readonly) {
1007
1003
  if (hasChanged(key, rawKey)) track(rawTarget, "has", key);
1008
1004
  track(rawTarget, "has", rawKey);
1009
1005
  }
@@ -1012,23 +1008,23 @@ function createInstrumentations(readonly$1, shallow) {
1012
1008
  forEach(callback, thisArg) {
1013
1009
  const observed = this;
1014
1010
  const target = observed["__v_raw"];
1015
- const rawTarget = toRaw(target);
1016
- const wrap = shallow ? toShallow : readonly$1 ? toReadonly : toReactive;
1017
- !readonly$1 && track(rawTarget, "iterate", ITERATE_KEY);
1011
+ const rawTarget = /* @__PURE__ */ toRaw(target);
1012
+ const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
1013
+ !readonly && track(rawTarget, "iterate", ITERATE_KEY);
1018
1014
  return target.forEach((value, key) => {
1019
1015
  return callback.call(thisArg, wrap(value), wrap(key), observed);
1020
1016
  });
1021
1017
  }
1022
1018
  };
1023
- extend(instrumentations, readonly$1 ? {
1019
+ extend(instrumentations, readonly ? {
1024
1020
  add: createReadonlyMethod("add"),
1025
1021
  set: createReadonlyMethod("set"),
1026
1022
  delete: createReadonlyMethod("delete"),
1027
1023
  clear: createReadonlyMethod("clear")
1028
1024
  } : {
1029
1025
  add(value) {
1030
- if (!shallow && !isShallow(value) && !isReadonly(value)) value = toRaw(value);
1031
- const target = toRaw(this);
1026
+ if (!shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) value = /* @__PURE__ */ toRaw(value);
1027
+ const target = /* @__PURE__ */ toRaw(this);
1032
1028
  if (!getProto(target).has.call(target, value)) {
1033
1029
  target.add(value);
1034
1030
  trigger(target, "add", value, value);
@@ -1036,12 +1032,12 @@ function createInstrumentations(readonly$1, shallow) {
1036
1032
  return this;
1037
1033
  },
1038
1034
  set(key, value) {
1039
- if (!shallow && !isShallow(value) && !isReadonly(value)) value = toRaw(value);
1040
- const target = toRaw(this);
1035
+ if (!shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) value = /* @__PURE__ */ toRaw(value);
1036
+ const target = /* @__PURE__ */ toRaw(this);
1041
1037
  const { has, get } = getProto(target);
1042
1038
  let hadKey = has.call(target, key);
1043
1039
  if (!hadKey) {
1044
- key = toRaw(key);
1040
+ key = /* @__PURE__ */ toRaw(key);
1045
1041
  hadKey = has.call(target, key);
1046
1042
  }
1047
1043
  const oldValue = get.call(target, key);
@@ -1051,11 +1047,11 @@ function createInstrumentations(readonly$1, shallow) {
1051
1047
  return this;
1052
1048
  },
1053
1049
  delete(key) {
1054
- const target = toRaw(this);
1050
+ const target = /* @__PURE__ */ toRaw(this);
1055
1051
  const { has, get } = getProto(target);
1056
1052
  let hadKey = has.call(target, key);
1057
1053
  if (!hadKey) {
1058
- key = toRaw(key);
1054
+ key = /* @__PURE__ */ toRaw(key);
1059
1055
  hadKey = has.call(target, key);
1060
1056
  }
1061
1057
  const oldValue = get ? get.call(target, key) : void 0;
@@ -1064,7 +1060,7 @@ function createInstrumentations(readonly$1, shallow) {
1064
1060
  return result;
1065
1061
  },
1066
1062
  clear() {
1067
- const target = toRaw(this);
1063
+ const target = /* @__PURE__ */ toRaw(this);
1068
1064
  const hadItems = target.size !== 0;
1069
1065
  const oldTarget = void 0;
1070
1066
  const result = target.clear();
@@ -1078,7 +1074,7 @@ function createInstrumentations(readonly$1, shallow) {
1078
1074
  "entries",
1079
1075
  Symbol.iterator
1080
1076
  ].forEach((method) => {
1081
- instrumentations[method] = createIterableMethod(method, readonly$1, shallow);
1077
+ instrumentations[method] = createIterableMethod(method, readonly, shallow);
1082
1078
  });
1083
1079
  return instrumentations;
1084
1080
  }
@@ -1113,16 +1109,20 @@ function targetTypeMap(rawType) {
1113
1109
  function getTargetType(value) {
1114
1110
  return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value));
1115
1111
  }
1112
+ /* @__NO_SIDE_EFFECTS__ */
1116
1113
  function reactive(target) {
1117
- if (isReadonly(target)) return target;
1114
+ if (/* @__PURE__ */ isReadonly(target)) return target;
1118
1115
  return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);
1119
1116
  }
1117
+ /* @__NO_SIDE_EFFECTS__ */
1120
1118
  function shallowReactive(target) {
1121
1119
  return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);
1122
1120
  }
1121
+ /* @__NO_SIDE_EFFECTS__ */
1123
1122
  function readonly(target) {
1124
1123
  return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);
1125
1124
  }
1125
+ /* @__NO_SIDE_EFFECTS__ */
1126
1126
  function shallowReadonly(target) {
1127
1127
  return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);
1128
1128
  }
@@ -1137,40 +1137,48 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl
1137
1137
  proxyMap.set(target, proxy);
1138
1138
  return proxy;
1139
1139
  }
1140
+ /* @__NO_SIDE_EFFECTS__ */
1140
1141
  function isReactive(value) {
1141
- if (isReadonly(value)) return isReactive(value["__v_raw"]);
1142
+ if (/* @__PURE__ */ isReadonly(value)) return /* @__PURE__ */ isReactive(value["__v_raw"]);
1142
1143
  return !!(value && value["__v_isReactive"]);
1143
1144
  }
1145
+ /* @__NO_SIDE_EFFECTS__ */
1144
1146
  function isReadonly(value) {
1145
1147
  return !!(value && value["__v_isReadonly"]);
1146
1148
  }
1149
+ /* @__NO_SIDE_EFFECTS__ */
1147
1150
  function isShallow(value) {
1148
1151
  return !!(value && value["__v_isShallow"]);
1149
1152
  }
1153
+ /* @__NO_SIDE_EFFECTS__ */
1150
1154
  function isProxy(value) {
1151
1155
  return value ? !!value["__v_raw"] : false;
1152
1156
  }
1157
+ /* @__NO_SIDE_EFFECTS__ */
1153
1158
  function toRaw(observed) {
1154
1159
  const raw = observed && observed["__v_raw"];
1155
- return raw ? toRaw(raw) : observed;
1160
+ return raw ? /* @__PURE__ */ toRaw(raw) : observed;
1156
1161
  }
1157
1162
  function markRaw(value) {
1158
1163
  if (!hasOwn(value, "__v_skip") && Object.isExtensible(value)) def(value, "__v_skip", true);
1159
1164
  return value;
1160
1165
  }
1161
- var toReactive = (value) => isObject(value) ? reactive(value) : value;
1162
- var toReadonly = (value) => isObject(value) ? readonly(value) : value;
1163
- function isRef(r$1) {
1164
- return r$1 ? r$1["__v_isRef"] === true : false;
1166
+ var toReactive = (value) => isObject(value) ? /* @__PURE__ */ reactive(value) : value;
1167
+ var toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;
1168
+ /* @__NO_SIDE_EFFECTS__ */
1169
+ function isRef(r) {
1170
+ return r ? r["__v_isRef"] === true : false;
1165
1171
  }
1172
+ /* @__NO_SIDE_EFFECTS__ */
1166
1173
  function ref(value) {
1167
1174
  return createRef(value, false);
1168
1175
  }
1176
+ /* @__NO_SIDE_EFFECTS__ */
1169
1177
  function shallowRef(value) {
1170
1178
  return createRef(value, true);
1171
1179
  }
1172
1180
  function createRef(rawValue, shallow) {
1173
- if (isRef(rawValue)) return rawValue;
1181
+ if (/* @__PURE__ */ isRef(rawValue)) return rawValue;
1174
1182
  return new RefImpl(rawValue, shallow);
1175
1183
  }
1176
1184
  var RefImpl = class {
@@ -1178,7 +1186,7 @@ var RefImpl = class {
1178
1186
  this.dep = new Dep();
1179
1187
  this["__v_isRef"] = true;
1180
1188
  this["__v_isShallow"] = false;
1181
- this._rawValue = isShallow2 ? value : toRaw(value);
1189
+ this._rawValue = isShallow2 ? value : /* @__PURE__ */ toRaw(value);
1182
1190
  this._value = isShallow2 ? value : toReactive(value);
1183
1191
  this["__v_isShallow"] = isShallow2;
1184
1192
  }
@@ -1188,8 +1196,8 @@ var RefImpl = class {
1188
1196
  }
1189
1197
  set value(newValue) {
1190
1198
  const oldValue = this._rawValue;
1191
- const useDirectValue = this["__v_isShallow"] || isShallow(newValue) || isReadonly(newValue);
1192
- newValue = useDirectValue ? newValue : toRaw(newValue);
1199
+ const useDirectValue = this["__v_isShallow"] || /* @__PURE__ */ isShallow(newValue) || /* @__PURE__ */ isReadonly(newValue);
1200
+ newValue = useDirectValue ? newValue : /* @__PURE__ */ toRaw(newValue);
1193
1201
  if (hasChanged(newValue, oldValue)) {
1194
1202
  this._rawValue = newValue;
1195
1203
  this._value = useDirectValue ? newValue : toReactive(newValue);
@@ -1198,7 +1206,7 @@ var RefImpl = class {
1198
1206
  }
1199
1207
  };
1200
1208
  function unref(ref2) {
1201
- return isRef(ref2) ? ref2.value : ref2;
1209
+ return /* @__PURE__ */ isRef(ref2) ? ref2.value : ref2;
1202
1210
  }
1203
1211
  function toValue(source) {
1204
1212
  return isFunction(source) ? source() : unref(source);
@@ -1207,14 +1215,14 @@ var shallowUnwrapHandlers = {
1207
1215
  get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1208
1216
  set: (target, key, value, receiver) => {
1209
1217
  const oldValue = target[key];
1210
- if (isRef(oldValue) && !isRef(value)) {
1218
+ if (/* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {
1211
1219
  oldValue.value = value;
1212
1220
  return true;
1213
1221
  } else return Reflect.set(target, key, value, receiver);
1214
1222
  }
1215
1223
  };
1216
1224
  function proxyRefs(objectWithRefs) {
1217
- return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
1225
+ return /* @__PURE__ */ isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
1218
1226
  }
1219
1227
  var CustomRefImpl = class {
1220
1228
  constructor(factory) {
@@ -1242,11 +1250,11 @@ var ObjectRefImpl = class {
1242
1250
  this._defaultValue = _defaultValue;
1243
1251
  this["__v_isRef"] = true;
1244
1252
  this._value = void 0;
1245
- this._raw = toRaw(_object);
1253
+ this._raw = /* @__PURE__ */ toRaw(_object);
1246
1254
  let shallow = true;
1247
1255
  let obj = _object;
1248
1256
  if (!isArray$1(_object) || !isIntegerKey(String(_key))) do
1249
- shallow = !isProxy(obj) || isShallow(obj);
1257
+ shallow = !/* @__PURE__ */ isProxy(obj) || /* @__PURE__ */ isShallow(obj);
1250
1258
  while (shallow && (obj = obj["__v_raw"]));
1251
1259
  this._shallow = shallow;
1252
1260
  }
@@ -1256,9 +1264,9 @@ var ObjectRefImpl = class {
1256
1264
  return this._value = val === void 0 ? this._defaultValue : val;
1257
1265
  }
1258
1266
  set value(newVal) {
1259
- if (this._shallow && isRef(this._raw[this._key])) {
1267
+ if (this._shallow && /* @__PURE__ */ isRef(this._raw[this._key])) {
1260
1268
  const nestedRef = this._object[this._key];
1261
- if (isRef(nestedRef)) {
1269
+ if (/* @__PURE__ */ isRef(nestedRef)) {
1262
1270
  nestedRef.value = newVal;
1263
1271
  return;
1264
1272
  }
@@ -1280,11 +1288,12 @@ var GetterRefImpl = class {
1280
1288
  return this._value = this._getter();
1281
1289
  }
1282
1290
  };
1291
+ /* @__NO_SIDE_EFFECTS__ */
1283
1292
  function toRef(source, key, defaultValue) {
1284
- if (isRef(source)) return source;
1293
+ if (/* @__PURE__ */ isRef(source)) return source;
1285
1294
  else if (isFunction(source)) return new GetterRefImpl(source);
1286
1295
  else if (isObject(source) && arguments.length > 1) return propertyToRef(source, key, defaultValue);
1287
- else return ref(source);
1296
+ else return /* @__PURE__ */ ref(source);
1288
1297
  }
1289
1298
  function propertyToRef(source, key, defaultValue) {
1290
1299
  return new ObjectRefImpl(source, key, defaultValue);
@@ -1322,6 +1331,7 @@ var ComputedRefImpl = class {
1322
1331
  if (this.setter) this.setter(newValue);
1323
1332
  }
1324
1333
  };
1334
+ /* @__NO_SIDE_EFFECTS__ */
1325
1335
  function computed$1(getterOrOptions, debugOptions, isSSR = false) {
1326
1336
  let getter;
1327
1337
  let setter;
@@ -1346,7 +1356,7 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
1346
1356
  const { immediate, deep, once, scheduler, augmentJob, call } = options;
1347
1357
  const reactiveGetter = (source2) => {
1348
1358
  if (deep) return source2;
1349
- if (isShallow(source2) || deep === false || deep === 0) return traverse(source2, 1);
1359
+ if (/* @__PURE__ */ isShallow(source2) || deep === false || deep === 0) return traverse(source2, 1);
1350
1360
  return traverse(source2);
1351
1361
  };
1352
1362
  let effect;
@@ -1355,19 +1365,19 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
1355
1365
  let boundCleanup;
1356
1366
  let forceTrigger = false;
1357
1367
  let isMultiSource = false;
1358
- if (isRef(source)) {
1368
+ if (/* @__PURE__ */ isRef(source)) {
1359
1369
  getter = () => source.value;
1360
- forceTrigger = isShallow(source);
1361
- } else if (isReactive(source)) {
1370
+ forceTrigger = /* @__PURE__ */ isShallow(source);
1371
+ } else if (/* @__PURE__ */ isReactive(source)) {
1362
1372
  getter = () => reactiveGetter(source);
1363
1373
  forceTrigger = true;
1364
1374
  } else if (isArray$1(source)) {
1365
1375
  isMultiSource = true;
1366
- forceTrigger = source.some((s$1) => isReactive(s$1) || isShallow(s$1));
1367
- getter = () => source.map((s$1) => {
1368
- if (isRef(s$1)) return s$1.value;
1369
- else if (isReactive(s$1)) return reactiveGetter(s$1);
1370
- else if (isFunction(s$1)) return call ? call(s$1, 2) : s$1();
1376
+ forceTrigger = source.some((s) => /* @__PURE__ */ isReactive(s) || /* @__PURE__ */ isShallow(s));
1377
+ getter = () => source.map((s) => {
1378
+ if (/* @__PURE__ */ isRef(s)) return s.value;
1379
+ else if (/* @__PURE__ */ isReactive(s)) return reactiveGetter(s);
1380
+ else if (isFunction(s)) return call ? call(s, 2) : s();
1371
1381
  });
1372
1382
  } else if (isFunction(source)) if (cb) getter = call ? () => call(source, 2) : source;
1373
1383
  else getter = () => {
@@ -1410,7 +1420,7 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
1410
1420
  if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) return;
1411
1421
  if (cb) {
1412
1422
  const newValue = effect.run();
1413
- if (deep || forceTrigger || (isMultiSource ? newValue.some((v$1, i$1) => hasChanged(v$1, oldValue[i$1])) : hasChanged(newValue, oldValue))) {
1423
+ if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) {
1414
1424
  if (cleanup) cleanup();
1415
1425
  const currentWatcher = activeWatcher;
1416
1426
  activeWatcher = effect;
@@ -1449,25 +1459,25 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
1449
1459
  watchHandle.stop = watchHandle;
1450
1460
  return watchHandle;
1451
1461
  }
1452
- function traverse(value, depth = Infinity, seen$1) {
1462
+ function traverse(value, depth = Infinity, seen) {
1453
1463
  if (depth <= 0 || !isObject(value) || value["__v_skip"]) return value;
1454
- seen$1 = seen$1 || /* @__PURE__ */ new Map();
1455
- if ((seen$1.get(value) || 0) >= depth) return value;
1456
- seen$1.set(value, depth);
1464
+ seen = seen || /* @__PURE__ */ new Map();
1465
+ if ((seen.get(value) || 0) >= depth) return value;
1466
+ seen.set(value, depth);
1457
1467
  depth--;
1458
- if (isRef(value)) traverse(value.value, depth, seen$1);
1459
- else if (isArray$1(value)) for (let i$1 = 0; i$1 < value.length; i$1++) traverse(value[i$1], depth, seen$1);
1460
- else if (isSet(value) || isMap(value)) value.forEach((v$1) => {
1461
- traverse(v$1, depth, seen$1);
1468
+ if (/* @__PURE__ */ isRef(value)) traverse(value.value, depth, seen);
1469
+ else if (isArray$1(value)) for (let i = 0; i < value.length; i++) traverse(value[i], depth, seen);
1470
+ else if (isSet(value) || isMap(value)) value.forEach((v) => {
1471
+ traverse(v, depth, seen);
1462
1472
  });
1463
1473
  else if (isPlainObject(value)) {
1464
- for (const key in value) traverse(value[key], depth, seen$1);
1465
- for (const key of Object.getOwnPropertySymbols(value)) if (Object.prototype.propertyIsEnumerable.call(value, key)) traverse(value[key], depth, seen$1);
1474
+ for (const key in value) traverse(value[key], depth, seen);
1475
+ for (const key of Object.getOwnPropertySymbols(value)) if (Object.prototype.propertyIsEnumerable.call(value, key)) traverse(value[key], depth, seen);
1466
1476
  }
1467
1477
  return value;
1468
1478
  }
1469
1479
  /**
1470
- * @vue/runtime-core v3.5.26
1480
+ * @vue/runtime-core v3.5.28
1471
1481
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
1472
1482
  * @license MIT
1473
1483
  **/
@@ -1488,7 +1498,7 @@ function callWithAsyncErrorHandling(fn, instance, type, args) {
1488
1498
  }
1489
1499
  if (isArray$1(fn)) {
1490
1500
  const values = [];
1491
- for (let i$1 = 0; i$1 < fn.length; i$1++) values.push(callWithAsyncErrorHandling(fn[i$1], instance, type, args));
1501
+ for (let i = 0; i < fn.length; i++) values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));
1492
1502
  return values;
1493
1503
  }
1494
1504
  }
@@ -1502,7 +1512,7 @@ function handleError(err, instance, type, throwInDev = true) {
1502
1512
  while (cur) {
1503
1513
  const errorCapturedHooks = cur.ec;
1504
1514
  if (errorCapturedHooks) {
1505
- for (let i$1 = 0; i$1 < errorCapturedHooks.length; i$1++) if (errorCapturedHooks[i$1](err, exposedInstance, errorInfo) === false) return;
1515
+ for (let i = 0; i < errorCapturedHooks.length; i++) if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) return;
1506
1516
  }
1507
1517
  cur = cur.parent;
1508
1518
  }
@@ -1531,8 +1541,8 @@ var postFlushIndex = 0;
1531
1541
  var resolvedPromise = /* @__PURE__ */ Promise.resolve();
1532
1542
  var currentFlushPromise = null;
1533
1543
  function nextTick(fn) {
1534
- const p$2 = currentFlushPromise || resolvedPromise;
1535
- return fn ? p$2.then(this ? fn.bind(this) : fn) : p$2;
1544
+ const p = currentFlushPromise || resolvedPromise;
1545
+ return fn ? p.then(this ? fn.bind(this) : fn) : p;
1536
1546
  }
1537
1547
  function findInsertionIndex$1(id) {
1538
1548
  let start = flushIndex + 1;
@@ -1569,22 +1579,22 @@ function queuePostFlushCb(cb) {
1569
1579
  } else pendingPostFlushCbs.push(...cb);
1570
1580
  queueFlush();
1571
1581
  }
1572
- function flushPreFlushCbs(instance, seen$1, i$1 = flushIndex + 1) {
1573
- for (; i$1 < queue.length; i$1++) {
1574
- const cb = queue[i$1];
1582
+ function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
1583
+ for (; i < queue.length; i++) {
1584
+ const cb = queue[i];
1575
1585
  if (cb && cb.flags & 2) {
1576
1586
  if (instance && cb.id !== instance.uid) continue;
1577
- queue.splice(i$1, 1);
1578
- i$1--;
1587
+ queue.splice(i, 1);
1588
+ i--;
1579
1589
  if (cb.flags & 4) cb.flags &= -2;
1580
1590
  cb();
1581
1591
  if (!(cb.flags & 4)) cb.flags &= -2;
1582
1592
  }
1583
1593
  }
1584
1594
  }
1585
- function flushPostFlushCbs(seen$1) {
1595
+ function flushPostFlushCbs(seen) {
1586
1596
  if (pendingPostFlushCbs.length) {
1587
- const deduped = [...new Set(pendingPostFlushCbs)].sort((a$1, b$2) => getId(a$1) - getId(b$2));
1597
+ const deduped = [...new Set(pendingPostFlushCbs)].sort((a, b) => getId(a) - getId(b));
1588
1598
  pendingPostFlushCbs.length = 0;
1589
1599
  if (activePostFlushCbs) {
1590
1600
  activePostFlushCbs.push(...deduped);
@@ -1602,7 +1612,7 @@ function flushPostFlushCbs(seen$1) {
1602
1612
  }
1603
1613
  }
1604
1614
  var getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;
1605
- function flushJobs(seen$1) {
1615
+ function flushJobs(seen) {
1606
1616
  try {
1607
1617
  for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
1608
1618
  const job = queue[flushIndex];
@@ -1619,9 +1629,9 @@ function flushJobs(seen$1) {
1619
1629
  }
1620
1630
  flushIndex = -1;
1621
1631
  queue.length = 0;
1622
- flushPostFlushCbs(seen$1);
1632
+ flushPostFlushCbs(seen);
1623
1633
  currentFlushPromise = null;
1624
- if (queue.length || pendingPostFlushCbs.length) flushJobs(seen$1);
1634
+ if (queue.length || pendingPostFlushCbs.length) flushJobs(seen);
1625
1635
  }
1626
1636
  }
1627
1637
  var currentRenderingInstance = null;
@@ -1663,8 +1673,8 @@ function withDirectives(vnode, directives) {
1663
1673
  if (currentRenderingInstance === null) return vnode;
1664
1674
  const instance = getComponentPublicInstance(currentRenderingInstance);
1665
1675
  const bindings = vnode.dirs || (vnode.dirs = []);
1666
- for (let i$1 = 0; i$1 < directives.length; i$1++) {
1667
- let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i$1];
1676
+ for (let i = 0; i < directives.length; i++) {
1677
+ let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];
1668
1678
  if (dir) {
1669
1679
  if (isFunction(dir)) dir = {
1670
1680
  mounted: dir,
@@ -1686,9 +1696,9 @@ function withDirectives(vnode, directives) {
1686
1696
  function invokeDirectiveHook(vnode, prevVNode, instance, name) {
1687
1697
  const bindings = vnode.dirs;
1688
1698
  const oldBindings = prevVNode && prevVNode.dirs;
1689
- for (let i$1 = 0; i$1 < bindings.length; i$1++) {
1690
- const binding = bindings[i$1];
1691
- if (oldBindings) binding.oldValue = oldBindings[i$1].value;
1699
+ for (let i = 0; i < bindings.length; i++) {
1700
+ const binding = bindings[i];
1701
+ if (oldBindings) binding.oldValue = oldBindings[i].value;
1692
1702
  let hook = binding.dir[name];
1693
1703
  if (hook) {
1694
1704
  pauseTracking();
@@ -1800,7 +1810,7 @@ function createPathGetter(ctx, path) {
1800
1810
  const segments = path.split(".");
1801
1811
  return () => {
1802
1812
  let cur = ctx;
1803
- for (let i$1 = 0; i$1 < segments.length && cur; i$1++) cur = cur[segments[i$1]];
1813
+ for (let i = 0; i < segments.length && cur; i++) cur = cur[segments[i]];
1804
1814
  return cur;
1805
1815
  };
1806
1816
  }
@@ -1855,7 +1865,7 @@ var BaseTransitionImpl = {
1855
1865
  const children = slots.default && getTransitionRawChildren(slots.default(), true);
1856
1866
  if (!children || !children.length) return;
1857
1867
  const child = findNonCommentChild(children);
1858
- const rawProps = toRaw(props);
1868
+ const rawProps = /* @__PURE__ */ toRaw(props);
1859
1869
  const { mode } = rawProps;
1860
1870
  if (state.isLeaving) return emptyPlaceholder(child);
1861
1871
  const innerChild = getInnerChild$1(child);
@@ -1899,8 +1909,8 @@ var BaseTransitionImpl = {
1899
1909
  function findNonCommentChild(children) {
1900
1910
  let child = children[0];
1901
1911
  if (children.length > 1) {
1902
- for (const c$2 of children) if (c$2.type !== Comment) {
1903
- child = c$2;
1912
+ for (const c of children) if (c.type !== Comment) {
1913
+ child = c;
1904
1914
  break;
1905
1915
  }
1906
1916
  }
@@ -1920,12 +1930,12 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
1920
1930
  const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;
1921
1931
  const key = String(vnode.key);
1922
1932
  const leavingVNodesCache = getLeavingNodesForType(state, vnode);
1923
- const callHook$2 = (hook, args) => {
1933
+ const callHook = (hook, args) => {
1924
1934
  hook && callWithAsyncErrorHandling(hook, instance, 9, args);
1925
1935
  };
1926
1936
  const callAsyncHook = (hook, args) => {
1927
1937
  const done = args[1];
1928
- callHook$2(hook, args);
1938
+ callHook(hook, args);
1929
1939
  if (isArray$1(hook)) {
1930
1940
  if (hook.every((hook2) => hook2.length <= 1)) done();
1931
1941
  } else if (hook.length <= 1) done();
@@ -1940,7 +1950,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
1940
1950
  if (el[leaveCbKey]) el[leaveCbKey](true);
1941
1951
  const leavingVNode = leavingVNodesCache[key];
1942
1952
  if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) leavingVNode.el[leaveCbKey]();
1943
- callHook$2(hook, [el]);
1953
+ callHook(hook, [el]);
1944
1954
  },
1945
1955
  enter(el) {
1946
1956
  let hook = onEnter;
@@ -1952,32 +1962,34 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
1952
1962
  cancelHook = onAppearCancelled || onEnterCancelled;
1953
1963
  } else return;
1954
1964
  let called = false;
1955
- const done = el[enterCbKey] = (cancelled) => {
1965
+ el[enterCbKey] = (cancelled) => {
1956
1966
  if (called) return;
1957
1967
  called = true;
1958
- if (cancelled) callHook$2(cancelHook, [el]);
1959
- else callHook$2(afterHook, [el]);
1968
+ if (cancelled) callHook(cancelHook, [el]);
1969
+ else callHook(afterHook, [el]);
1960
1970
  if (hooks.delayedLeave) hooks.delayedLeave();
1961
1971
  el[enterCbKey] = void 0;
1962
1972
  };
1973
+ const done = el[enterCbKey].bind(null, false);
1963
1974
  if (hook) callAsyncHook(hook, [el, done]);
1964
1975
  else done();
1965
1976
  },
1966
- leave(el, remove$1) {
1977
+ leave(el, remove) {
1967
1978
  const key2 = String(vnode.key);
1968
1979
  if (el[enterCbKey]) el[enterCbKey](true);
1969
- if (state.isUnmounting) return remove$1();
1970
- callHook$2(onBeforeLeave, [el]);
1980
+ if (state.isUnmounting) return remove();
1981
+ callHook(onBeforeLeave, [el]);
1971
1982
  let called = false;
1972
- const done = el[leaveCbKey] = (cancelled) => {
1983
+ el[leaveCbKey] = (cancelled) => {
1973
1984
  if (called) return;
1974
1985
  called = true;
1975
- remove$1();
1976
- if (cancelled) callHook$2(onLeaveCancelled, [el]);
1977
- else callHook$2(onAfterLeave, [el]);
1986
+ remove();
1987
+ if (cancelled) callHook(onLeaveCancelled, [el]);
1988
+ else callHook(onAfterLeave, [el]);
1978
1989
  el[leaveCbKey] = void 0;
1979
1990
  if (leavingVNodesCache[key2] === vnode) delete leavingVNodesCache[key2];
1980
1991
  };
1992
+ const done = el[leaveCbKey].bind(null, false);
1981
1993
  leavingVNodesCache[key2] = vnode;
1982
1994
  if (onLeave) callAsyncHook(onLeave, [el, done]);
1983
1995
  else done();
@@ -2021,20 +2033,20 @@ function setTransitionHooks(vnode, hooks) {
2021
2033
  function getTransitionRawChildren(children, keepComment = false, parentKey) {
2022
2034
  let ret = [];
2023
2035
  let keyedFragmentCount = 0;
2024
- for (let i$1 = 0; i$1 < children.length; i$1++) {
2025
- let child = children[i$1];
2026
- const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i$1);
2036
+ for (let i = 0; i < children.length; i++) {
2037
+ let child = children[i];
2038
+ const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);
2027
2039
  if (child.type === Fragment) {
2028
2040
  if (child.patchFlag & 128) keyedFragmentCount++;
2029
2041
  ret = ret.concat(getTransitionRawChildren(child.children, keepComment, key));
2030
2042
  } else if (keepComment || child.type !== Comment) ret.push(key != null ? cloneVNode(child, { key }) : child);
2031
2043
  }
2032
- if (keyedFragmentCount > 1) for (let i$1 = 0; i$1 < ret.length; i$1++) ret[i$1].patchFlag = -2;
2044
+ if (keyedFragmentCount > 1) for (let i = 0; i < ret.length; i++) ret[i].patchFlag = -2;
2033
2045
  return ret;
2034
2046
  }
2035
2047
  /* @__NO_SIDE_EFFECTS__ */
2036
2048
  function defineComponent(options, extraOptions) {
2037
- return isFunction(options) ? /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))() : options;
2049
+ return isFunction(options) ? extend({ name: options.name }, extraOptions, { setup: options }) : options;
2038
2050
  }
2039
2051
  function markAsyncBoundary(instance) {
2040
2052
  instance.ids = [
@@ -2043,10 +2055,14 @@ function markAsyncBoundary(instance) {
2043
2055
  0
2044
2056
  ];
2045
2057
  }
2058
+ function isTemplateRefKey(refs, key) {
2059
+ let desc;
2060
+ return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
2061
+ }
2046
2062
  var pendingSetRefMap = /* @__PURE__ */ new WeakMap();
2047
2063
  function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
2048
2064
  if (isArray$1(rawRef)) {
2049
- rawRef.forEach((r$1, i$1) => setRef(r$1, oldRawRef && (isArray$1(oldRawRef) ? oldRawRef[i$1] : oldRawRef), parentSuspense, vnode, isUnmount));
2065
+ rawRef.forEach((r, i) => setRef(r, oldRawRef && (isArray$1(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));
2050
2066
  return;
2051
2067
  }
2052
2068
  if (isAsyncWrapper(vnode) && !isUnmount) {
@@ -2055,51 +2071,53 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
2055
2071
  }
2056
2072
  const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;
2057
2073
  const value = isUnmount ? null : refValue;
2058
- const { i: owner, r: ref$1 } = rawRef;
2074
+ const { i: owner, r: ref } = rawRef;
2059
2075
  const oldRef = oldRawRef && oldRawRef.r;
2060
2076
  const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
2061
2077
  const setupState = owner.setupState;
2062
- const rawSetupState = toRaw(setupState);
2078
+ const rawSetupState = /* @__PURE__ */ toRaw(setupState);
2063
2079
  const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => {
2080
+ if (isTemplateRefKey(refs, key)) return false;
2064
2081
  return hasOwn(rawSetupState, key);
2065
2082
  };
2066
- const canSetRef = (ref2) => {
2083
+ const canSetRef = (ref2, key) => {
2084
+ if (key && isTemplateRefKey(refs, key)) return false;
2067
2085
  return true;
2068
2086
  };
2069
- if (oldRef != null && oldRef !== ref$1) {
2087
+ if (oldRef != null && oldRef !== ref) {
2070
2088
  invalidatePendingSetRef(oldRawRef);
2071
2089
  if (isString(oldRef)) {
2072
2090
  refs[oldRef] = null;
2073
2091
  if (canSetSetupRef(oldRef)) setupState[oldRef] = null;
2074
- } else if (isRef(oldRef)) {
2075
- if (canSetRef(oldRef)) oldRef.value = null;
2092
+ } else if (/* @__PURE__ */ isRef(oldRef)) {
2076
2093
  const oldRawRefAtom = oldRawRef;
2094
+ if (canSetRef(oldRef, oldRawRefAtom.k)) oldRef.value = null;
2077
2095
  if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;
2078
2096
  }
2079
2097
  }
2080
- if (isFunction(ref$1)) callWithErrorHandling(ref$1, owner, 12, [value, refs]);
2098
+ if (isFunction(ref)) callWithErrorHandling(ref, owner, 12, [value, refs]);
2081
2099
  else {
2082
- const _isString = isString(ref$1);
2083
- const _isRef = isRef(ref$1);
2100
+ const _isString = isString(ref);
2101
+ const _isRef = /* @__PURE__ */ isRef(ref);
2084
2102
  if (_isString || _isRef) {
2085
2103
  const doSet = () => {
2086
2104
  if (rawRef.f) {
2087
- const existing = _isString ? canSetSetupRef(ref$1) ? setupState[ref$1] : refs[ref$1] : canSetRef(ref$1) || !rawRef.k ? ref$1.value : refs[rawRef.k];
2105
+ const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : canSetRef(ref) || !rawRef.k ? ref.value : refs[rawRef.k];
2088
2106
  if (isUnmount) isArray$1(existing) && remove(existing, refValue);
2089
2107
  else if (!isArray$1(existing)) if (_isString) {
2090
- refs[ref$1] = [refValue];
2091
- if (canSetSetupRef(ref$1)) setupState[ref$1] = refs[ref$1];
2108
+ refs[ref] = [refValue];
2109
+ if (canSetSetupRef(ref)) setupState[ref] = refs[ref];
2092
2110
  } else {
2093
2111
  const newVal = [refValue];
2094
- if (canSetRef(ref$1)) ref$1.value = newVal;
2112
+ if (canSetRef(ref, rawRef.k)) ref.value = newVal;
2095
2113
  if (rawRef.k) refs[rawRef.k] = newVal;
2096
2114
  }
2097
2115
  else if (!existing.includes(refValue)) existing.push(refValue);
2098
2116
  } else if (_isString) {
2099
- refs[ref$1] = value;
2100
- if (canSetSetupRef(ref$1)) setupState[ref$1] = value;
2117
+ refs[ref] = value;
2118
+ if (canSetSetupRef(ref)) setupState[ref] = value;
2101
2119
  } else if (_isRef) {
2102
- if (canSetRef(ref$1)) ref$1.value = value;
2120
+ if (canSetRef(ref, rawRef.k)) ref.value = value;
2103
2121
  if (rawRef.k) refs[rawRef.k] = value;
2104
2122
  }
2105
2123
  };
@@ -2127,7 +2145,7 @@ function invalidatePendingSetRef(rawRef) {
2127
2145
  }
2128
2146
  getGlobalThis().requestIdleCallback;
2129
2147
  getGlobalThis().cancelIdleCallback;
2130
- var isAsyncWrapper = (i$1) => !!i$1.type.__asyncLoader;
2148
+ var isAsyncWrapper = (i) => !!i.type.__asyncLoader;
2131
2149
  var isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
2132
2150
  var KeepAlive = {
2133
2151
  name: `KeepAlive`,
@@ -2246,7 +2264,7 @@ var KeepAlive = {
2246
2264
  }
2247
2265
  const comp = vnode.type;
2248
2266
  const name = getComponentName(isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp);
2249
- const { include, exclude, max: max$1 } = props;
2267
+ const { include, exclude, max } = props;
2250
2268
  if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {
2251
2269
  vnode.shapeFlag &= -257;
2252
2270
  current = vnode;
@@ -2268,7 +2286,7 @@ var KeepAlive = {
2268
2286
  keys.add(key);
2269
2287
  } else {
2270
2288
  keys.add(key);
2271
- if (max$1 && keys.size > parseInt(max$1, 10)) pruneCacheEntry(keys.values().next().value);
2289
+ if (max && keys.size > parseInt(max, 10)) pruneCacheEntry(keys.values().next().value);
2272
2290
  }
2273
2291
  vnode.shapeFlag |= 256;
2274
2292
  current = vnode;
@@ -2277,7 +2295,7 @@ var KeepAlive = {
2277
2295
  }
2278
2296
  };
2279
2297
  function matches(pattern, name) {
2280
- if (isArray$1(pattern)) return pattern.some((p$2) => matches(p$2, name));
2298
+ if (isArray$1(pattern)) return pattern.some((p) => matches(p, name));
2281
2299
  else if (isString(pattern)) return pattern.split(",").includes(name);
2282
2300
  else if (isRegExp(pattern)) {
2283
2301
  pattern.lastIndex = 0;
@@ -2387,26 +2405,26 @@ function renderList(source, renderItem, cache, index) {
2387
2405
  const cached = cache && cache[index];
2388
2406
  const sourceIsArray = isArray$1(source);
2389
2407
  if (sourceIsArray || isString(source)) {
2390
- const sourceIsReactiveArray = sourceIsArray && isReactive(source);
2408
+ const sourceIsReactiveArray = sourceIsArray && /* @__PURE__ */ isReactive(source);
2391
2409
  let needsWrap = false;
2392
2410
  let isReadonlySource = false;
2393
2411
  if (sourceIsReactiveArray) {
2394
- needsWrap = !isShallow(source);
2395
- isReadonlySource = isReadonly(source);
2412
+ needsWrap = !/* @__PURE__ */ isShallow(source);
2413
+ isReadonlySource = /* @__PURE__ */ isReadonly(source);
2396
2414
  source = shallowReadArray(source);
2397
2415
  }
2398
2416
  ret = new Array(source.length);
2399
- for (let i$1 = 0, l$1 = source.length; i$1 < l$1; i$1++) ret[i$1] = renderItem(needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i$1])) : toReactive(source[i$1]) : source[i$1], i$1, void 0, cached && cached[i$1]);
2417
+ for (let i = 0, l = source.length; i < l; i++) ret[i] = renderItem(needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i], i, void 0, cached && cached[i]);
2400
2418
  } else if (typeof source === "number") {
2401
2419
  ret = new Array(source);
2402
- for (let i$1 = 0; i$1 < source; i$1++) ret[i$1] = renderItem(i$1 + 1, i$1, void 0, cached && cached[i$1]);
2403
- } else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i$1) => renderItem(item, i$1, void 0, cached && cached[i$1]));
2420
+ for (let i = 0; i < source; i++) ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
2421
+ } else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
2404
2422
  else {
2405
2423
  const keys = Object.keys(source);
2406
2424
  ret = new Array(keys.length);
2407
- for (let i$1 = 0, l$1 = keys.length; i$1 < l$1; i$1++) {
2408
- const key = keys[i$1];
2409
- ret[i$1] = renderItem(source[key], key, i$1, cached && cached[i$1]);
2425
+ for (let i = 0, l = keys.length; i < l; i++) {
2426
+ const key = keys[i];
2427
+ ret[i] = renderItem(source[key], key, i, cached && cached[i]);
2410
2428
  }
2411
2429
  }
2412
2430
  else ret = [];
@@ -2437,29 +2455,29 @@ function ensureValidVNode(vnodes) {
2437
2455
  return true;
2438
2456
  }) ? vnodes : null;
2439
2457
  }
2440
- var getPublicInstance = (i$1) => {
2441
- if (!i$1) return null;
2442
- if (isStatefulComponent(i$1)) return getComponentPublicInstance(i$1);
2443
- return getPublicInstance(i$1.parent);
2458
+ var getPublicInstance = (i) => {
2459
+ if (!i) return null;
2460
+ if (isStatefulComponent(i)) return getComponentPublicInstance(i);
2461
+ return getPublicInstance(i.parent);
2444
2462
  };
2445
2463
  var publicPropertiesMap = /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {
2446
- $: (i$1) => i$1,
2447
- $el: (i$1) => i$1.vnode.el,
2448
- $data: (i$1) => i$1.data,
2449
- $props: (i$1) => i$1.props,
2450
- $attrs: (i$1) => i$1.attrs,
2451
- $slots: (i$1) => i$1.slots,
2452
- $refs: (i$1) => i$1.refs,
2453
- $parent: (i$1) => getPublicInstance(i$1.parent),
2454
- $root: (i$1) => getPublicInstance(i$1.root),
2455
- $host: (i$1) => i$1.ce,
2456
- $emit: (i$1) => i$1.emit,
2457
- $options: (i$1) => resolveMergedOptions(i$1),
2458
- $forceUpdate: (i$1) => i$1.f || (i$1.f = () => {
2459
- queueJob(i$1.update);
2464
+ $: (i) => i,
2465
+ $el: (i) => i.vnode.el,
2466
+ $data: (i) => i.data,
2467
+ $props: (i) => i.props,
2468
+ $attrs: (i) => i.attrs,
2469
+ $slots: (i) => i.slots,
2470
+ $refs: (i) => i.refs,
2471
+ $parent: (i) => getPublicInstance(i.parent),
2472
+ $root: (i) => getPublicInstance(i.root),
2473
+ $host: (i) => i.ce,
2474
+ $emit: (i) => i.emit,
2475
+ $options: (i) => resolveMergedOptions(i),
2476
+ $forceUpdate: (i) => i.f || (i.f = () => {
2477
+ queueJob(i.update);
2460
2478
  }),
2461
- $nextTick: (i$1) => i$1.n || (i$1.n = nextTick.bind(i$1.proxy)),
2462
- $watch: (i$1) => instanceWatch.bind(i$1)
2479
+ $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),
2480
+ $watch: (i) => instanceWatch.bind(i)
2463
2481
  });
2464
2482
  var hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);
2465
2483
  var PublicInstanceProxyHandlers = {
@@ -2467,8 +2485,8 @@ var PublicInstanceProxyHandlers = {
2467
2485
  if (key === "__v_skip") return true;
2468
2486
  const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
2469
2487
  if (key[0] !== "$") {
2470
- const n$2 = accessCache[key];
2471
- if (n$2 !== void 0) switch (n$2) {
2488
+ const n = accessCache[key];
2489
+ if (n !== void 0) switch (n) {
2472
2490
  case 1: return setupState[key];
2473
2491
  case 2: return data[key];
2474
2492
  case 4: return ctx[key];
@@ -2526,16 +2544,16 @@ function useSlots() {
2526
2544
  return getContext("useSlots").slots;
2527
2545
  }
2528
2546
  function getContext(calledFunctionName) {
2529
- const i$1 = getCurrentInstance();
2530
- return i$1.setupContext || (i$1.setupContext = createSetupContext(i$1));
2547
+ const i = getCurrentInstance();
2548
+ return i.setupContext || (i.setupContext = createSetupContext(i));
2531
2549
  }
2532
2550
  function normalizePropsOrEmits(props) {
2533
- return isArray$1(props) ? props.reduce((normalized, p$2) => (normalized[p$2] = null, normalized), {}) : props;
2551
+ return isArray$1(props) ? props.reduce((normalized, p) => (normalized[p] = null, normalized), {}) : props;
2534
2552
  }
2535
- function mergeModels(a$1, b$2) {
2536
- if (!a$1 || !b$2) return a$1 || b$2;
2537
- if (isArray$1(a$1) && isArray$1(b$2)) return a$1.concat(b$2);
2538
- return extend({}, normalizePropsOrEmits(a$1), normalizePropsOrEmits(b$2));
2553
+ function mergeModels(a, b) {
2554
+ if (!a || !b) return a || b;
2555
+ if (isArray$1(a) && isArray$1(b)) return a.concat(b);
2556
+ return extend({}, normalizePropsOrEmits(a), normalizePropsOrEmits(b));
2539
2557
  }
2540
2558
  var shouldCacheAccess = true;
2541
2559
  function applyOptions(instance) {
@@ -2553,20 +2571,20 @@ function applyOptions(instance) {
2553
2571
  }
2554
2572
  if (dataOptions) {
2555
2573
  const data = dataOptions.call(publicThis, publicThis);
2556
- if (!isObject(data)) {} else instance.data = reactive(data);
2574
+ if (!isObject(data)) {} else instance.data = /* @__PURE__ */ reactive(data);
2557
2575
  }
2558
2576
  shouldCacheAccess = true;
2559
2577
  if (computedOptions) for (const key in computedOptions) {
2560
2578
  const opt = computedOptions[key];
2561
- const c$2 = computed({
2579
+ const c = computed({
2562
2580
  get: isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP,
2563
2581
  set: !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : NOOP
2564
2582
  });
2565
2583
  Object.defineProperty(ctx, key, {
2566
2584
  enumerable: true,
2567
2585
  configurable: true,
2568
- get: () => c$2.value,
2569
- set: (v$1) => c$2.value = v$1
2586
+ get: () => c.value,
2587
+ set: (v) => c.value = v
2570
2588
  });
2571
2589
  }
2572
2590
  if (watchOptions) for (const key in watchOptions) createWatcher(watchOptions[key], ctx, publicThis, key);
@@ -2619,17 +2637,17 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP)
2619
2637
  if (isObject(opt)) if ("default" in opt) injected = inject(opt.from || key, opt.default, true);
2620
2638
  else injected = inject(opt.from || key);
2621
2639
  else injected = inject(opt);
2622
- if (isRef(injected)) Object.defineProperty(ctx, key, {
2640
+ if (/* @__PURE__ */ isRef(injected)) Object.defineProperty(ctx, key, {
2623
2641
  enumerable: true,
2624
2642
  configurable: true,
2625
2643
  get: () => injected.value,
2626
- set: (v$1) => injected.value = v$1
2644
+ set: (v) => injected.value = v
2627
2645
  });
2628
2646
  else ctx[key] = injected;
2629
2647
  }
2630
2648
  }
2631
2649
  function callHook$1(hook, instance, type) {
2632
- callWithAsyncErrorHandling(isArray$1(hook) ? hook.map((h$3) => h$3.bind(instance.proxy)) : hook.bind(instance.proxy), instance, type);
2650
+ callWithAsyncErrorHandling(isArray$1(hook) ? hook.map((h) => h.bind(instance.proxy)) : hook.bind(instance.proxy), instance, type);
2633
2651
  }
2634
2652
  function createWatcher(raw, ctx, publicThis, key) {
2635
2653
  let getter = key.includes(".") ? createPathGetter(publicThis, key) : () => publicThis[key];
@@ -2637,7 +2655,7 @@ function createWatcher(raw, ctx, publicThis, key) {
2637
2655
  const handler = ctx[raw];
2638
2656
  if (isFunction(handler)) watch(getter, handler);
2639
2657
  } else if (isFunction(raw)) watch(getter, raw.bind(publicThis));
2640
- else if (isObject(raw)) if (isArray$1(raw)) raw.forEach((r$1) => createWatcher(r$1, ctx, publicThis, key));
2658
+ else if (isObject(raw)) if (isArray$1(raw)) raw.forEach((r) => createWatcher(r, ctx, publicThis, key));
2641
2659
  else {
2642
2660
  const handler = isFunction(raw.handler) ? raw.handler.bind(publicThis) : ctx[raw.handler];
2643
2661
  if (isFunction(handler)) watch(getter, handler, raw);
@@ -2653,7 +2671,7 @@ function resolveMergedOptions(instance) {
2653
2671
  else if (!globalMixins.length && !mixins && !extendsOptions) resolved = base;
2654
2672
  else {
2655
2673
  resolved = {};
2656
- if (globalMixins.length) globalMixins.forEach((m$2) => mergeOptions$1(resolved, m$2, optionMergeStrategies, true));
2674
+ if (globalMixins.length) globalMixins.forEach((m) => mergeOptions$1(resolved, m, optionMergeStrategies, true));
2657
2675
  mergeOptions$1(resolved, base, optionMergeStrategies);
2658
2676
  }
2659
2677
  if (isObject(base)) cache.set(base, resolved);
@@ -2662,7 +2680,7 @@ function resolveMergedOptions(instance) {
2662
2680
  function mergeOptions$1(to, from, strats, asMixin = false) {
2663
2681
  const { mixins, extends: extendsOptions } = from;
2664
2682
  if (extendsOptions) mergeOptions$1(to, extendsOptions, strats, true);
2665
- if (mixins) mixins.forEach((m$2) => mergeOptions$1(to, m$2, strats, true));
2683
+ if (mixins) mixins.forEach((m) => mergeOptions$1(to, m, strats, true));
2666
2684
  for (const key in from) if (asMixin && key === "expose") {} else {
2667
2685
  const strat = internalOptionMergeStrats[key] || strats && strats[key];
2668
2686
  to[key] = strat ? strat(to[key], from[key]) : from[key];
@@ -2708,7 +2726,7 @@ function mergeInject(to, from) {
2708
2726
  function normalizeInject(raw) {
2709
2727
  if (isArray$1(raw)) {
2710
2728
  const res = {};
2711
- for (let i$1 = 0; i$1 < raw.length; i$1++) res[raw[i$1]] = raw[i$1];
2729
+ for (let i = 0; i < raw.length; i++) res[raw[i]] = raw[i];
2712
2730
  return res;
2713
2731
  }
2714
2732
  return raw;
@@ -2755,14 +2773,14 @@ function createAppContext() {
2755
2773
  }
2756
2774
  var uid$1 = 0;
2757
2775
  function createAppAPI(render, hydrate) {
2758
- return function createApp$1(rootComponent, rootProps = null) {
2776
+ return function createApp(rootComponent, rootProps = null) {
2759
2777
  if (!isFunction(rootComponent)) rootComponent = extend({}, rootComponent);
2760
2778
  if (rootProps != null && !isObject(rootProps)) rootProps = null;
2761
2779
  const context = createAppContext();
2762
2780
  const installedPlugins = /* @__PURE__ */ new WeakSet();
2763
2781
  const pluginCleanupFns = [];
2764
2782
  let isMounted = false;
2765
- const app$1 = context.app = {
2783
+ const app = context.app = {
2766
2784
  _uid: uid$1++,
2767
2785
  _component: rootComponent,
2768
2786
  _props: rootProps,
@@ -2773,42 +2791,42 @@ function createAppAPI(render, hydrate) {
2773
2791
  get config() {
2774
2792
  return context.config;
2775
2793
  },
2776
- set config(v$1) {},
2794
+ set config(v) {},
2777
2795
  use(plugin, ...options) {
2778
2796
  if (installedPlugins.has(plugin)) {} else if (plugin && isFunction(plugin.install)) {
2779
2797
  installedPlugins.add(plugin);
2780
- plugin.install(app$1, ...options);
2798
+ plugin.install(app, ...options);
2781
2799
  } else if (isFunction(plugin)) {
2782
2800
  installedPlugins.add(plugin);
2783
- plugin(app$1, ...options);
2801
+ plugin(app, ...options);
2784
2802
  }
2785
- return app$1;
2803
+ return app;
2786
2804
  },
2787
2805
  mixin(mixin) {
2788
2806
  if (!context.mixins.includes(mixin)) context.mixins.push(mixin);
2789
- return app$1;
2807
+ return app;
2790
2808
  },
2791
2809
  component(name, component) {
2792
2810
  if (!component) return context.components[name];
2793
2811
  context.components[name] = component;
2794
- return app$1;
2812
+ return app;
2795
2813
  },
2796
2814
  directive(name, directive) {
2797
2815
  if (!directive) return context.directives[name];
2798
2816
  context.directives[name] = directive;
2799
- return app$1;
2817
+ return app;
2800
2818
  },
2801
2819
  mount(rootContainer, isHydrate, namespace) {
2802
2820
  if (!isMounted) {
2803
- const vnode = app$1._ceVNode || createVNode(rootComponent, rootProps);
2821
+ const vnode = app._ceVNode || createVNode(rootComponent, rootProps);
2804
2822
  vnode.appContext = context;
2805
2823
  if (namespace === true) namespace = "svg";
2806
2824
  else if (namespace === false) namespace = void 0;
2807
2825
  if (isHydrate && hydrate) hydrate(vnode, rootContainer);
2808
2826
  else render(vnode, rootContainer, namespace);
2809
2827
  isMounted = true;
2810
- app$1._container = rootContainer;
2811
- rootContainer.__vue_app__ = app$1;
2828
+ app._container = rootContainer;
2829
+ rootContainer.__vue_app__ = app;
2812
2830
  return getComponentPublicInstance(vnode.component);
2813
2831
  }
2814
2832
  },
@@ -2817,18 +2835,18 @@ function createAppAPI(render, hydrate) {
2817
2835
  },
2818
2836
  unmount() {
2819
2837
  if (isMounted) {
2820
- callWithAsyncErrorHandling(pluginCleanupFns, app$1._instance, 16);
2821
- render(null, app$1._container);
2822
- delete app$1._container.__vue_app__;
2838
+ callWithAsyncErrorHandling(pluginCleanupFns, app._instance, 16);
2839
+ render(null, app._container);
2840
+ delete app._container.__vue_app__;
2823
2841
  }
2824
2842
  },
2825
2843
  provide(key, value) {
2826
2844
  context.provides[key] = value;
2827
- return app$1;
2845
+ return app;
2828
2846
  },
2829
2847
  runWithContext(fn) {
2830
2848
  const lastApp = currentApp;
2831
- currentApp = app$1;
2849
+ currentApp = app;
2832
2850
  try {
2833
2851
  return fn();
2834
2852
  } finally {
@@ -2836,16 +2854,16 @@ function createAppAPI(render, hydrate) {
2836
2854
  }
2837
2855
  }
2838
2856
  };
2839
- return app$1;
2857
+ return app;
2840
2858
  };
2841
2859
  }
2842
2860
  var currentApp = null;
2843
2861
  function useModel(props, name, options = EMPTY_OBJ) {
2844
- const i$1 = getCurrentInstance();
2862
+ const i = getCurrentInstance();
2845
2863
  const camelizedName = camelize(name);
2846
2864
  const hyphenatedName = hyphenate(name);
2847
2865
  const modifiers = getModelModifiers(props, camelizedName);
2848
- const res = customRef((track$1, trigger$1) => {
2866
+ const res = customRef((track, trigger) => {
2849
2867
  let localValue;
2850
2868
  let prevSetValue = EMPTY_OBJ;
2851
2869
  let prevEmittedValue;
@@ -2853,24 +2871,24 @@ function useModel(props, name, options = EMPTY_OBJ) {
2853
2871
  const propValue = props[camelizedName];
2854
2872
  if (hasChanged(localValue, propValue)) {
2855
2873
  localValue = propValue;
2856
- trigger$1();
2874
+ trigger();
2857
2875
  }
2858
2876
  });
2859
2877
  return {
2860
2878
  get() {
2861
- track$1();
2879
+ track();
2862
2880
  return options.get ? options.get(localValue) : localValue;
2863
2881
  },
2864
2882
  set(value) {
2865
2883
  const emittedValue = options.set ? options.set(value) : value;
2866
2884
  if (!hasChanged(emittedValue, localValue) && !(prevSetValue !== EMPTY_OBJ && hasChanged(value, prevSetValue))) return;
2867
- const rawProps = i$1.vnode.props;
2885
+ const rawProps = i.vnode.props;
2868
2886
  if (!(rawProps && (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
2869
2887
  localValue = value;
2870
- trigger$1();
2888
+ trigger();
2871
2889
  }
2872
- i$1.emit(`update:${name}`, emittedValue);
2873
- if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) trigger$1();
2890
+ i.emit(`update:${name}`, emittedValue);
2891
+ if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) trigger();
2874
2892
  prevSetValue = value;
2875
2893
  prevEmittedValue = emittedValue;
2876
2894
  }
@@ -2895,15 +2913,15 @@ function emit(instance, event, ...rawArgs) {
2895
2913
  if (instance.isUnmounted) return;
2896
2914
  const props = instance.vnode.props || EMPTY_OBJ;
2897
2915
  let args = rawArgs;
2898
- const isModelListener$1 = event.startsWith("update:");
2899
- const modifiers = isModelListener$1 && getModelModifiers(props, event.slice(7));
2916
+ const isModelListener = event.startsWith("update:");
2917
+ const modifiers = isModelListener && getModelModifiers(props, event.slice(7));
2900
2918
  if (modifiers) {
2901
- if (modifiers.trim) args = rawArgs.map((a$1) => isString(a$1) ? a$1.trim() : a$1);
2919
+ if (modifiers.trim) args = rawArgs.map((a) => isString(a) ? a.trim() : a);
2902
2920
  if (modifiers.number) args = rawArgs.map(looseToNumber);
2903
2921
  }
2904
2922
  let handlerName;
2905
2923
  let handler = props[handlerName = toHandlerKey(event)] || props[handlerName = toHandlerKey(camelize(event))];
2906
- if (!handler && isModelListener$1) handler = props[handlerName = toHandlerKey(hyphenate(event))];
2924
+ if (!handler && isModelListener) handler = props[handlerName = toHandlerKey(hyphenate(event))];
2907
2925
  if (handler) callWithAsyncErrorHandling(handler, instance, 6, args);
2908
2926
  const onceHandler = props[handlerName + `Once`];
2909
2927
  if (onceHandler) {
@@ -2948,7 +2966,7 @@ function isEmitListener(options, key) {
2948
2966
  return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
2949
2967
  }
2950
2968
  function renderComponentRoot(instance) {
2951
- const { type: Component, vnode, proxy, withProxy, propsOptions: [propsOptions], slots, attrs, emit: emit$1, render, renderCache, props, data, setupState, ctx, inheritAttrs } = instance;
2969
+ const { type: Component, vnode, proxy, withProxy, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, props, data, setupState, ctx, inheritAttrs } = instance;
2952
2970
  const prev = setCurrentRenderingInstance(instance);
2953
2971
  let result;
2954
2972
  let fallthroughAttrs;
@@ -2963,7 +2981,7 @@ function renderComponentRoot(instance) {
2963
2981
  result = normalizeVNode(render2.length > 1 ? render2(props, {
2964
2982
  attrs,
2965
2983
  slots,
2966
- emit: emit$1
2984
+ emit
2967
2985
  }) : render2(props, null));
2968
2986
  fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
2969
2987
  }
@@ -2994,8 +3012,8 @@ function renderComponentRoot(instance) {
2994
3012
  }
2995
3013
  function filterSingleRoot(children, recurse = true) {
2996
3014
  let singleRoot;
2997
- for (let i$1 = 0; i$1 < children.length; i$1++) {
2998
- const child = children[i$1];
3015
+ for (let i = 0; i < children.length; i++) {
3016
+ const child = children[i];
2999
3017
  if (isVNode(child)) {
3000
3018
  if (child.type !== Comment || child.children === "v-if") if (singleRoot) return;
3001
3019
  else singleRoot = child;
@@ -3025,9 +3043,9 @@ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
3025
3043
  return hasPropsChanged(prevProps, nextProps, emits);
3026
3044
  } else if (patchFlag & 8) {
3027
3045
  const dynamicProps = nextVNode.dynamicProps;
3028
- for (let i$1 = 0; i$1 < dynamicProps.length; i$1++) {
3029
- const key = dynamicProps[i$1];
3030
- if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) return true;
3046
+ for (let i = 0; i < dynamicProps.length; i++) {
3047
+ const key = dynamicProps[i];
3048
+ if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emits, key)) return true;
3031
3049
  }
3032
3050
  }
3033
3051
  } else {
@@ -3044,12 +3062,18 @@ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
3044
3062
  function hasPropsChanged(prevProps, nextProps, emitsOptions) {
3045
3063
  const nextKeys = Object.keys(nextProps);
3046
3064
  if (nextKeys.length !== Object.keys(prevProps).length) return true;
3047
- for (let i$1 = 0; i$1 < nextKeys.length; i$1++) {
3048
- const key = nextKeys[i$1];
3049
- if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) return true;
3065
+ for (let i = 0; i < nextKeys.length; i++) {
3066
+ const key = nextKeys[i];
3067
+ if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emitsOptions, key)) return true;
3050
3068
  }
3051
3069
  return false;
3052
3070
  }
3071
+ function hasPropValueChanged(nextProps, prevProps, key) {
3072
+ const nextProp = nextProps[key];
3073
+ const prevProp = prevProps[key];
3074
+ if (key === "style" && isObject(nextProp) && isObject(prevProp)) return !looseEqual(nextProp, prevProp);
3075
+ return nextProp !== prevProp;
3076
+ }
3053
3077
  function updateHOCHostEl({ vnode, parent }, el) {
3054
3078
  while (parent) {
3055
3079
  const root = parent.subTree;
@@ -3069,21 +3093,21 @@ function initProps(instance, rawProps, isStateful, isSSR = false) {
3069
3093
  instance.propsDefaults = /* @__PURE__ */ Object.create(null);
3070
3094
  setFullProps(instance, rawProps, props, attrs);
3071
3095
  for (const key in instance.propsOptions[0]) if (!(key in props)) props[key] = void 0;
3072
- if (isStateful) instance.props = isSSR ? props : shallowReactive(props);
3096
+ if (isStateful) instance.props = isSSR ? props : /* @__PURE__ */ shallowReactive(props);
3073
3097
  else if (!instance.type.props) instance.props = attrs;
3074
3098
  else instance.props = props;
3075
3099
  instance.attrs = attrs;
3076
3100
  }
3077
3101
  function updateProps(instance, rawProps, rawPrevProps, optimized) {
3078
3102
  const { props, attrs, vnode: { patchFlag } } = instance;
3079
- const rawCurrentProps = toRaw(props);
3103
+ const rawCurrentProps = /* @__PURE__ */ toRaw(props);
3080
3104
  const [options] = instance.propsOptions;
3081
3105
  let hasAttrsChanged = false;
3082
3106
  if ((optimized || patchFlag > 0) && !(patchFlag & 16)) {
3083
3107
  if (patchFlag & 8) {
3084
3108
  const propsToUpdate = instance.vnode.dynamicProps;
3085
- for (let i$1 = 0; i$1 < propsToUpdate.length; i$1++) {
3086
- let key = propsToUpdate[i$1];
3109
+ for (let i = 0; i < propsToUpdate.length; i++) {
3110
+ let key = propsToUpdate[i];
3087
3111
  if (isEmitListener(instance.emitsOptions, key)) continue;
3088
3112
  const value = rawProps[key];
3089
3113
  if (options) if (hasOwn(attrs, key)) {
@@ -3134,10 +3158,10 @@ function setFullProps(instance, rawProps, props, attrs) {
3134
3158
  }
3135
3159
  }
3136
3160
  if (needCastKeys) {
3137
- const rawCurrentProps = toRaw(props);
3161
+ const rawCurrentProps = /* @__PURE__ */ toRaw(props);
3138
3162
  const castValues = rawCastValues || EMPTY_OBJ;
3139
- for (let i$1 = 0; i$1 < needCastKeys.length; i$1++) {
3140
- const key = needCastKeys[i$1];
3163
+ for (let i = 0; i < needCastKeys.length; i++) {
3164
+ const key = needCastKeys[i];
3141
3165
  props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !hasOwn(castValues, key));
3142
3166
  }
3143
3167
  }
@@ -3191,8 +3215,8 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
3191
3215
  if (isObject(comp)) cache.set(comp, EMPTY_ARR);
3192
3216
  return EMPTY_ARR;
3193
3217
  }
3194
- if (isArray$1(raw)) for (let i$1 = 0; i$1 < raw.length; i$1++) {
3195
- const normalizedKey = camelize(raw[i$1]);
3218
+ if (isArray$1(raw)) for (let i = 0; i < raw.length; i++) {
3219
+ const normalizedKey = camelize(raw[i]);
3196
3220
  if (validatePropName(normalizedKey)) normalized[normalizedKey] = EMPTY_OBJ;
3197
3221
  }
3198
3222
  else if (raw) for (const key in raw) {
@@ -3306,7 +3330,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3306
3330
  optimized = false;
3307
3331
  n2.dynamicChildren = null;
3308
3332
  }
3309
- const { type, ref: ref$1, shapeFlag } = n2;
3333
+ const { type, ref, shapeFlag } = n2;
3310
3334
  switch (type) {
3311
3335
  case Text:
3312
3336
  processText(n1, n2, container, anchor);
@@ -3325,8 +3349,8 @@ function baseCreateRenderer(options, createHydrationFns) {
3325
3349
  else if (shapeFlag & 64) type.process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals);
3326
3350
  else if (shapeFlag & 128) type.process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals);
3327
3351
  }
3328
- if (ref$1 != null && parentComponent) setRef(ref$1, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
3329
- else if (ref$1 == null && n1 && n1.ref != null) setRef(n1.ref, null, parentSuspense, n1, true);
3352
+ if (ref != null && parentComponent) setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
3353
+ else if (ref == null && n1 && n1.ref != null) setRef(n1.ref, null, parentSuspense, n1, true);
3330
3354
  };
3331
3355
  const processText = (n1, n2, container, anchor) => {
3332
3356
  if (n1 == null) hostInsert(n2.el = hostCreateText(n2.children), container, anchor);
@@ -3365,7 +3389,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3365
3389
  else if (n2.type === "math") namespace = "mathml";
3366
3390
  if (n1 == null) mountElement(n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3367
3391
  else {
3368
- const customElement = !!(n1.el && n1.el._isVueCE) ? n1.el : null;
3392
+ const customElement = n1.el && n1.el._isVueCE ? n1.el : null;
3369
3393
  try {
3370
3394
  if (customElement) customElement._beginPatch();
3371
3395
  patchElement(n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
@@ -3400,7 +3424,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3400
3424
  };
3401
3425
  const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
3402
3426
  if (scopeId) hostSetScopeId(el, scopeId);
3403
- if (slotScopeIds) for (let i$1 = 0; i$1 < slotScopeIds.length; i$1++) hostSetScopeId(el, slotScopeIds[i$1]);
3427
+ if (slotScopeIds) for (let i = 0; i < slotScopeIds.length; i++) hostSetScopeId(el, slotScopeIds[i]);
3404
3428
  if (parentComponent) {
3405
3429
  let subTree = parentComponent.subTree;
3406
3430
  if (vnode === subTree || isSuspense(subTree.type) && (subTree.ssContent === vnode || subTree.ssFallback === vnode)) {
@@ -3410,7 +3434,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3410
3434
  }
3411
3435
  };
3412
3436
  const mountChildren = (children, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, start = 0) => {
3413
- for (let i$1 = start; i$1 < children.length; i$1++) patch(null, children[i$1] = optimized ? cloneIfMounted(children[i$1]) : normalizeVNode(children[i$1]), container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3437
+ for (let i = start; i < children.length; i++) patch(null, children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]), container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3414
3438
  };
3415
3439
  const patchElement = (n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3416
3440
  const el = n2.el = n1.el;
@@ -3435,8 +3459,8 @@ function baseCreateRenderer(options, createHydrationFns) {
3435
3459
  if (patchFlag & 4) hostPatchProp(el, "style", oldProps.style, newProps.style, namespace);
3436
3460
  if (patchFlag & 8) {
3437
3461
  const propsToUpdate = n2.dynamicProps;
3438
- for (let i$1 = 0; i$1 < propsToUpdate.length; i$1++) {
3439
- const key = propsToUpdate[i$1];
3462
+ for (let i = 0; i < propsToUpdate.length; i++) {
3463
+ const key = propsToUpdate[i];
3440
3464
  const prev = oldProps[key];
3441
3465
  const next = newProps[key];
3442
3466
  if (next !== prev || key === "value") hostPatchProp(el, key, prev, next, namespace, parentComponent);
@@ -3453,9 +3477,9 @@ function baseCreateRenderer(options, createHydrationFns) {
3453
3477
  }, parentSuspense);
3454
3478
  };
3455
3479
  const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, namespace, slotScopeIds) => {
3456
- for (let i$1 = 0; i$1 < newChildren.length; i$1++) {
3457
- const oldVNode = oldChildren[i$1];
3458
- const newVNode = newChildren[i$1];
3480
+ for (let i = 0; i < newChildren.length; i++) {
3481
+ const oldVNode = oldChildren[i];
3482
+ const newVNode = newChildren[i];
3459
3483
  patch(oldVNode, newVNode, oldVNode.el && (oldVNode.type === Fragment || !isSameVNodeType(oldVNode, newVNode) || oldVNode.shapeFlag & 198) ? hostParentNode(oldVNode.el) : fallbackContainer, null, parentComponent, parentSuspense, namespace, slotScopeIds, true);
3460
3484
  }
3461
3485
  };
@@ -3525,7 +3549,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3525
3549
  if (!instance.isMounted) {
3526
3550
  let vnodeHook;
3527
3551
  const { el, props } = initialVNode;
3528
- const { bm, m: m$2, parent, root, type } = instance;
3552
+ const { bm, m, parent, root, type } = instance;
3529
3553
  const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
3530
3554
  toggleRecurse(instance, false);
3531
3555
  if (bm) invokeArrayFns(bm);
@@ -3539,12 +3563,12 @@ function baseCreateRenderer(options, createHydrationFns) {
3539
3563
  if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
3540
3564
  else hydrateSubTree();
3541
3565
  } else {
3542
- if (root.ce && root.ce._def.shadowRoot !== false) root.ce._injectChildStyle(type);
3566
+ if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
3543
3567
  const subTree = instance.subTree = renderComponentRoot(instance);
3544
3568
  patch(null, subTree, container, anchor, instance, parentSuspense, namespace);
3545
3569
  initialVNode.el = subTree.el;
3546
3570
  }
3547
- if (m$2) queuePostRenderEffect(m$2, parentSuspense);
3571
+ if (m) queuePostRenderEffect(m, parentSuspense);
3548
3572
  if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {
3549
3573
  const scopedInitialVNode = initialVNode;
3550
3574
  queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode), parentSuspense);
@@ -3553,7 +3577,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3553
3577
  instance.isMounted = true;
3554
3578
  initialVNode = container = anchor = null;
3555
3579
  } else {
3556
- let { next, bu, u: u$1, parent, vnode } = instance;
3580
+ let { next, bu, u, parent, vnode } = instance;
3557
3581
  {
3558
3582
  const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
3559
3583
  if (nonHydratedAsyncRoot) {
@@ -3562,7 +3586,9 @@ function baseCreateRenderer(options, createHydrationFns) {
3562
3586
  updateComponentPreRender(instance, next, optimized);
3563
3587
  }
3564
3588
  nonHydratedAsyncRoot.asyncDep.then(() => {
3565
- if (!instance.isUnmounted) componentUpdateFn();
3589
+ queuePostRenderEffect(() => {
3590
+ if (!instance.isUnmounted) update();
3591
+ }, parentSuspense);
3566
3592
  });
3567
3593
  return;
3568
3594
  }
@@ -3583,7 +3609,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3583
3609
  patch(prevTree, nextTree, hostParentNode(prevTree.el), getNextHostNode(prevTree), instance, parentSuspense, namespace);
3584
3610
  next.el = nextTree.el;
3585
3611
  if (originNext === null) updateHOCHostEl(instance, nextTree.el);
3586
- if (u$1) queuePostRenderEffect(u$1, parentSuspense);
3612
+ if (u) queuePostRenderEffect(u, parentSuspense);
3587
3613
  if (vnodeHook = next.props && next.props.onVnodeUpdated) queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, next, vnode), parentSuspense);
3588
3614
  }
3589
3615
  };
@@ -3639,27 +3665,27 @@ function baseCreateRenderer(options, createHydrationFns) {
3639
3665
  const oldLength = c1.length;
3640
3666
  const newLength = c2.length;
3641
3667
  const commonLength = Math.min(oldLength, newLength);
3642
- let i$1;
3643
- for (i$1 = 0; i$1 < commonLength; i$1++) {
3644
- const nextChild = c2[i$1] = optimized ? cloneIfMounted(c2[i$1]) : normalizeVNode(c2[i$1]);
3645
- patch(c1[i$1], nextChild, container, null, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3668
+ let i;
3669
+ for (i = 0; i < commonLength; i++) {
3670
+ const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
3671
+ patch(c1[i], nextChild, container, null, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3646
3672
  }
3647
3673
  if (oldLength > newLength) unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);
3648
3674
  else mountChildren(c2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, commonLength);
3649
3675
  };
3650
3676
  const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
3651
- let i$1 = 0;
3677
+ let i = 0;
3652
3678
  const l2 = c2.length;
3653
3679
  let e1 = c1.length - 1;
3654
3680
  let e2 = l2 - 1;
3655
- while (i$1 <= e1 && i$1 <= e2) {
3656
- const n1 = c1[i$1];
3657
- const n2 = c2[i$1] = optimized ? cloneIfMounted(c2[i$1]) : normalizeVNode(c2[i$1]);
3681
+ while (i <= e1 && i <= e2) {
3682
+ const n1 = c1[i];
3683
+ const n2 = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
3658
3684
  if (isSameVNodeType(n1, n2)) patch(n1, n2, container, null, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3659
3685
  else break;
3660
- i$1++;
3686
+ i++;
3661
3687
  }
3662
- while (i$1 <= e1 && i$1 <= e2) {
3688
+ while (i <= e1 && i <= e2) {
3663
3689
  const n1 = c1[e1];
3664
3690
  const n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);
3665
3691
  if (isSameVNodeType(n1, n2)) patch(n1, n2, container, null, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
@@ -3667,26 +3693,26 @@ function baseCreateRenderer(options, createHydrationFns) {
3667
3693
  e1--;
3668
3694
  e2--;
3669
3695
  }
3670
- if (i$1 > e1) {
3671
- if (i$1 <= e2) {
3696
+ if (i > e1) {
3697
+ if (i <= e2) {
3672
3698
  const nextPos = e2 + 1;
3673
3699
  const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
3674
- while (i$1 <= e2) {
3675
- patch(null, c2[i$1] = optimized ? cloneIfMounted(c2[i$1]) : normalizeVNode(c2[i$1]), container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3676
- i$1++;
3700
+ while (i <= e2) {
3701
+ patch(null, c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]), container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3702
+ i++;
3677
3703
  }
3678
3704
  }
3679
- } else if (i$1 > e2) while (i$1 <= e1) {
3680
- unmount(c1[i$1], parentComponent, parentSuspense, true);
3681
- i$1++;
3705
+ } else if (i > e2) while (i <= e1) {
3706
+ unmount(c1[i], parentComponent, parentSuspense, true);
3707
+ i++;
3682
3708
  }
3683
3709
  else {
3684
- const s1 = i$1;
3685
- const s2 = i$1;
3710
+ const s1 = i;
3711
+ const s2 = i;
3686
3712
  const keyToNewIndexMap = /* @__PURE__ */ new Map();
3687
- for (i$1 = s2; i$1 <= e2; i$1++) {
3688
- const nextChild = c2[i$1] = optimized ? cloneIfMounted(c2[i$1]) : normalizeVNode(c2[i$1]);
3689
- if (nextChild.key != null) keyToNewIndexMap.set(nextChild.key, i$1);
3713
+ for (i = s2; i <= e2; i++) {
3714
+ const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
3715
+ if (nextChild.key != null) keyToNewIndexMap.set(nextChild.key, i);
3690
3716
  }
3691
3717
  let j;
3692
3718
  let patched = 0;
@@ -3694,9 +3720,9 @@ function baseCreateRenderer(options, createHydrationFns) {
3694
3720
  let moved = false;
3695
3721
  let maxNewIndexSoFar = 0;
3696
3722
  const newIndexToOldIndexMap = new Array(toBePatched);
3697
- for (i$1 = 0; i$1 < toBePatched; i$1++) newIndexToOldIndexMap[i$1] = 0;
3698
- for (i$1 = s1; i$1 <= e1; i$1++) {
3699
- const prevChild = c1[i$1];
3723
+ for (i = 0; i < toBePatched; i++) newIndexToOldIndexMap[i] = 0;
3724
+ for (i = s1; i <= e1; i++) {
3725
+ const prevChild = c1[i];
3700
3726
  if (patched >= toBePatched) {
3701
3727
  unmount(prevChild, parentComponent, parentSuspense, true);
3702
3728
  continue;
@@ -3709,7 +3735,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3709
3735
  }
3710
3736
  if (newIndex === void 0) unmount(prevChild, parentComponent, parentSuspense, true);
3711
3737
  else {
3712
- newIndexToOldIndexMap[newIndex - s2] = i$1 + 1;
3738
+ newIndexToOldIndexMap[newIndex - s2] = i + 1;
3713
3739
  if (newIndex >= maxNewIndexSoFar) maxNewIndexSoFar = newIndex;
3714
3740
  else moved = true;
3715
3741
  patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
@@ -3718,13 +3744,13 @@ function baseCreateRenderer(options, createHydrationFns) {
3718
3744
  }
3719
3745
  const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : EMPTY_ARR;
3720
3746
  j = increasingNewIndexSequence.length - 1;
3721
- for (i$1 = toBePatched - 1; i$1 >= 0; i$1--) {
3722
- const nextIndex = s2 + i$1;
3747
+ for (i = toBePatched - 1; i >= 0; i--) {
3748
+ const nextIndex = s2 + i;
3723
3749
  const nextChild = c2[nextIndex];
3724
3750
  const anchorVNode = c2[nextIndex + 1];
3725
3751
  const anchor = nextIndex + 1 < l2 ? anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode) : parentAnchor;
3726
- if (newIndexToOldIndexMap[i$1] === 0) patch(null, nextChild, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3727
- else if (moved) if (j < 0 || i$1 !== increasingNewIndexSequence[j]) move(nextChild, container, anchor, 2);
3752
+ if (newIndexToOldIndexMap[i] === 0) patch(null, nextChild, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
3753
+ else if (moved) if (j < 0 || i !== increasingNewIndexSequence[j]) move(nextChild, container, anchor, 2);
3728
3754
  else j--;
3729
3755
  }
3730
3756
  }
@@ -3745,7 +3771,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3745
3771
  }
3746
3772
  if (type === Fragment) {
3747
3773
  hostInsert(el, container, anchor);
3748
- for (let i$1 = 0; i$1 < children.length; i$1++) move(children[i$1], container, anchor, moveType);
3774
+ for (let i = 0; i < children.length; i++) move(children[i], container, anchor, moveType);
3749
3775
  hostInsert(vnode.anchor, container, anchor);
3750
3776
  return;
3751
3777
  }
@@ -3776,11 +3802,11 @@ function baseCreateRenderer(options, createHydrationFns) {
3776
3802
  else hostInsert(el, container, anchor);
3777
3803
  };
3778
3804
  const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
3779
- const { type, props, ref: ref$1, children, dynamicChildren, shapeFlag, patchFlag, dirs, cacheIndex } = vnode;
3805
+ const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs, cacheIndex } = vnode;
3780
3806
  if (patchFlag === -2) optimized = false;
3781
- if (ref$1 != null) {
3807
+ if (ref != null) {
3782
3808
  pauseTracking();
3783
- setRef(ref$1, null, parentSuspense, vnode, true);
3809
+ setRef(ref, null, parentSuspense, vnode, true);
3784
3810
  resetTracking();
3785
3811
  }
3786
3812
  if (cacheIndex != null) parentComponent.renderCache[cacheIndex] = void 0;
@@ -3802,14 +3828,14 @@ function baseCreateRenderer(options, createHydrationFns) {
3802
3828
  if (shapeFlag & 64) vnode.type.remove(vnode, parentComponent, parentSuspense, internals, doRemove);
3803
3829
  else if (dynamicChildren && !dynamicChildren.hasOnce && (type !== Fragment || patchFlag > 0 && patchFlag & 64)) unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);
3804
3830
  else if (type === Fragment && patchFlag & 384 || !optimized && shapeFlag & 16) unmountChildren(children, parentComponent, parentSuspense);
3805
- if (doRemove) remove$1(vnode);
3831
+ if (doRemove) remove(vnode);
3806
3832
  }
3807
3833
  if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) queuePostRenderEffect(() => {
3808
3834
  vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
3809
3835
  shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
3810
3836
  }, parentSuspense);
3811
3837
  };
3812
- const remove$1 = (vnode) => {
3838
+ const remove = (vnode) => {
3813
3839
  const { type, el, anchor, transition } = vnode;
3814
3840
  if (type === Fragment) {
3815
3841
  removeFragment(el, anchor);
@@ -3840,9 +3866,9 @@ function baseCreateRenderer(options, createHydrationFns) {
3840
3866
  hostRemove(end);
3841
3867
  };
3842
3868
  const unmountComponent = (instance, parentSuspense, doRemove) => {
3843
- const { bum, scope, job, subTree, um, m: m$2, a: a$1 } = instance;
3844
- invalidateMount(m$2);
3845
- invalidateMount(a$1);
3869
+ const { bum, scope, job, subTree, um, m, a } = instance;
3870
+ invalidateMount(m);
3871
+ invalidateMount(a);
3846
3872
  if (bum) invokeArrayFns(bum);
3847
3873
  scope.stop();
3848
3874
  if (job) {
@@ -3855,7 +3881,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3855
3881
  }, parentSuspense);
3856
3882
  };
3857
3883
  const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
3858
- for (let i$1 = start; i$1 < children.length; i$1++) unmount(children[i$1], parentComponent, parentSuspense, doRemove, optimized);
3884
+ for (let i = start; i < children.length; i++) unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
3859
3885
  };
3860
3886
  const getNextHostNode = (vnode) => {
3861
3887
  if (vnode.shapeFlag & 6) return getNextHostNode(vnode.component.subTree);
@@ -3885,7 +3911,7 @@ function baseCreateRenderer(options, createHydrationFns) {
3885
3911
  p: patch,
3886
3912
  um: unmount,
3887
3913
  m: move,
3888
- r: remove$1,
3914
+ r: remove,
3889
3915
  mt: mountComponent,
3890
3916
  mc: mountChildren,
3891
3917
  pc: patchChildren,
@@ -3920,53 +3946,55 @@ function needTransition(parentSuspense, transition) {
3920
3946
  function traverseStaticChildren(n1, n2, shallow = false) {
3921
3947
  const ch1 = n1.children;
3922
3948
  const ch2 = n2.children;
3923
- if (isArray$1(ch1) && isArray$1(ch2)) for (let i$1 = 0; i$1 < ch1.length; i$1++) {
3924
- const c1 = ch1[i$1];
3925
- let c2 = ch2[i$1];
3949
+ if (isArray$1(ch1) && isArray$1(ch2)) for (let i = 0; i < ch1.length; i++) {
3950
+ const c1 = ch1[i];
3951
+ let c2 = ch2[i];
3926
3952
  if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
3927
3953
  if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
3928
- c2 = ch2[i$1] = cloneIfMounted(ch2[i$1]);
3954
+ c2 = ch2[i] = cloneIfMounted(ch2[i]);
3929
3955
  c2.el = c1.el;
3930
3956
  }
3931
3957
  if (!shallow && c2.patchFlag !== -2) traverseStaticChildren(c1, c2);
3932
3958
  }
3933
- if (c2.type === Text) if (c2.patchFlag !== -1) c2.el = c1.el;
3934
- else c2.__elIndex = i$1 + (n1.type === Fragment ? 1 : 0);
3959
+ if (c2.type === Text) {
3960
+ if (c2.patchFlag === -1) c2 = ch2[i] = cloneIfMounted(c2);
3961
+ c2.el = c1.el;
3962
+ }
3935
3963
  if (c2.type === Comment && !c2.el) c2.el = c1.el;
3936
3964
  }
3937
3965
  }
3938
3966
  function getSequence(arr) {
3939
- const p$2 = arr.slice();
3967
+ const p = arr.slice();
3940
3968
  const result = [0];
3941
- let i$1, j, u$1, v$1, c$2;
3969
+ let i, j, u, v, c;
3942
3970
  const len = arr.length;
3943
- for (i$1 = 0; i$1 < len; i$1++) {
3944
- const arrI = arr[i$1];
3971
+ for (i = 0; i < len; i++) {
3972
+ const arrI = arr[i];
3945
3973
  if (arrI !== 0) {
3946
3974
  j = result[result.length - 1];
3947
3975
  if (arr[j] < arrI) {
3948
- p$2[i$1] = j;
3949
- result.push(i$1);
3976
+ p[i] = j;
3977
+ result.push(i);
3950
3978
  continue;
3951
3979
  }
3952
- u$1 = 0;
3953
- v$1 = result.length - 1;
3954
- while (u$1 < v$1) {
3955
- c$2 = u$1 + v$1 >> 1;
3956
- if (arr[result[c$2]] < arrI) u$1 = c$2 + 1;
3957
- else v$1 = c$2;
3980
+ u = 0;
3981
+ v = result.length - 1;
3982
+ while (u < v) {
3983
+ c = u + v >> 1;
3984
+ if (arr[result[c]] < arrI) u = c + 1;
3985
+ else v = c;
3958
3986
  }
3959
- if (arrI < arr[result[u$1]]) {
3960
- if (u$1 > 0) p$2[i$1] = result[u$1 - 1];
3961
- result[u$1] = i$1;
3987
+ if (arrI < arr[result[u]]) {
3988
+ if (u > 0) p[i] = result[u - 1];
3989
+ result[u] = i;
3962
3990
  }
3963
3991
  }
3964
3992
  }
3965
- u$1 = result.length;
3966
- v$1 = result[u$1 - 1];
3967
- while (u$1-- > 0) {
3968
- result[u$1] = v$1;
3969
- v$1 = p$2[v$1];
3993
+ u = result.length;
3994
+ v = result[u - 1];
3995
+ while (u-- > 0) {
3996
+ result[u] = v;
3997
+ v = p[v];
3970
3998
  }
3971
3999
  return result;
3972
4000
  }
@@ -3976,7 +4004,7 @@ function locateNonHydratedAsyncRoot(instance) {
3976
4004
  else return locateNonHydratedAsyncRoot(subComponent);
3977
4005
  }
3978
4006
  function invalidateMount(hooks) {
3979
- if (hooks) for (let i$1 = 0; i$1 < hooks.length; i$1++) hooks[i$1].flags |= 8;
4007
+ if (hooks) for (let i = 0; i < hooks.length; i++) hooks[i].flags |= 8;
3980
4008
  }
3981
4009
  function resolveAsyncComponentPlaceholder(anchorVnode) {
3982
4010
  if (anchorVnode.placeholder) return anchorVnode.placeholder;
@@ -4082,7 +4110,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, namespace, sl
4082
4110
  }
4083
4111
  }
4084
4112
  function createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, namespace, slotScopeIds, optimized, rendererInternals, isHydrating = false) {
4085
- const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove: remove$1 } } = rendererInternals;
4113
+ const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;
4086
4114
  let parentSuspenseId;
4087
4115
  const isSuspensible = isVNodeSuspensible(vnode);
4088
4116
  if (isSuspensible) {
@@ -4191,7 +4219,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
4191
4219
  setupRenderEffect(instance, vnode2, parentNode(hydratedEl || instance.subTree.el), hydratedEl ? null : next(instance.subTree), suspense, namespace, optimized2);
4192
4220
  if (placeholder) {
4193
4221
  vnode2.placeholder = null;
4194
- remove$1(placeholder);
4222
+ remove(placeholder);
4195
4223
  }
4196
4224
  updateHOCHostEl(instance, vnode2.el);
4197
4225
  if (isInPendingSuspense && --suspense.deps === 0) suspense.resolve();
@@ -4217,25 +4245,25 @@ function normalizeSuspenseChildren(vnode) {
4217
4245
  vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);
4218
4246
  vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);
4219
4247
  }
4220
- function normalizeSuspenseSlot(s$1) {
4248
+ function normalizeSuspenseSlot(s) {
4221
4249
  let block;
4222
- if (isFunction(s$1)) {
4223
- const trackBlock = isBlockTreeEnabled && s$1._c;
4250
+ if (isFunction(s)) {
4251
+ const trackBlock = isBlockTreeEnabled && s._c;
4224
4252
  if (trackBlock) {
4225
- s$1._d = false;
4253
+ s._d = false;
4226
4254
  openBlock();
4227
4255
  }
4228
- s$1 = s$1();
4256
+ s = s();
4229
4257
  if (trackBlock) {
4230
- s$1._d = true;
4258
+ s._d = true;
4231
4259
  block = currentBlock;
4232
4260
  closeBlock();
4233
4261
  }
4234
4262
  }
4235
- if (isArray$1(s$1)) s$1 = filterSingleRoot(s$1);
4236
- s$1 = normalizeVNode(s$1);
4237
- if (block && !s$1.dynamicChildren) s$1.dynamicChildren = block.filter((c$2) => c$2 !== s$1);
4238
- return s$1;
4263
+ if (isArray$1(s)) s = filterSingleRoot(s);
4264
+ s = normalizeVNode(s);
4265
+ if (block && !s.dynamicChildren) s.dynamicChildren = block.filter((c) => c !== s);
4266
+ return s;
4239
4267
  }
4240
4268
  function queueEffectWithSuspense(fn, suspense) {
4241
4269
  if (suspense && suspense.pendingBranch) if (isArray$1(fn)) suspense.effects.push(...fn);
@@ -4297,14 +4325,14 @@ function isSameVNodeType(n1, n2) {
4297
4325
  return n1.type === n2.type && n1.key === n2.key;
4298
4326
  }
4299
4327
  var normalizeKey = ({ key }) => key != null ? key : null;
4300
- var normalizeRef = ({ ref: ref$1, ref_key, ref_for }) => {
4301
- if (typeof ref$1 === "number") ref$1 = "" + ref$1;
4302
- return ref$1 != null ? isString(ref$1) || isRef(ref$1) || isFunction(ref$1) ? {
4328
+ var normalizeRef = ({ ref, ref_key, ref_for }) => {
4329
+ if (typeof ref === "number") ref = "" + ref;
4330
+ return ref != null ? isString(ref) || /* @__PURE__ */ isRef(ref) || isFunction(ref) ? {
4303
4331
  i: currentRenderingInstance,
4304
- r: ref$1,
4332
+ r: ref,
4305
4333
  k: ref_key,
4306
4334
  f: !!ref_for
4307
- } : ref$1 : null;
4335
+ } : ref : null;
4308
4336
  };
4309
4337
  function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
4310
4338
  const vnode = {
@@ -4360,7 +4388,7 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
4360
4388
  let { class: klass, style } = props;
4361
4389
  if (klass && !isString(klass)) props.class = normalizeClass(klass);
4362
4390
  if (isObject(style)) {
4363
- if (isProxy(style) && !isArray$1(style)) style = extend({}, style);
4391
+ if (/* @__PURE__ */ isProxy(style) && !isArray$1(style)) style = extend({}, style);
4364
4392
  props.style = normalizeStyle(style);
4365
4393
  }
4366
4394
  }
@@ -4369,10 +4397,10 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
4369
4397
  }
4370
4398
  function guardReactiveProps(props) {
4371
4399
  if (!props) return null;
4372
- return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
4400
+ return /* @__PURE__ */ isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
4373
4401
  }
4374
4402
  function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
4375
- const { props, ref: ref$1, patchFlag, children, transition } = vnode;
4403
+ const { props, ref, patchFlag, children, transition } = vnode;
4376
4404
  const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
4377
4405
  const cloned = {
4378
4406
  __v_isVNode: true,
@@ -4380,7 +4408,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
4380
4408
  type: vnode.type,
4381
4409
  props: mergedProps,
4382
4410
  key: mergedProps && normalizeKey(mergedProps),
4383
- ref: extraProps && extraProps.ref ? mergeRef && ref$1 ? isArray$1(ref$1) ? ref$1.concat(normalizeRef(extraProps)) : [ref$1, normalizeRef(extraProps)] : normalizeRef(extraProps) : ref$1,
4411
+ ref: extraProps && extraProps.ref ? mergeRef && ref ? isArray$1(ref) ? ref.concat(normalizeRef(extraProps)) : [ref, normalizeRef(extraProps)] : normalizeRef(extraProps) : ref,
4384
4412
  scopeId: vnode.scopeId,
4385
4413
  slotScopeIds: vnode.slotScopeIds,
4386
4414
  children,
@@ -4411,6 +4439,11 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
4411
4439
  function createTextVNode(text = " ", flag = 0) {
4412
4440
  return createVNode(Text, null, text, flag);
4413
4441
  }
4442
+ function createStaticVNode(content, numberOfNodes) {
4443
+ const vnode = createVNode(Static, null, content);
4444
+ vnode.staticCount = numberOfNodes;
4445
+ return vnode;
4446
+ }
4414
4447
  function createCommentVNode(text = "", asBlock = false) {
4415
4448
  return asBlock ? (openBlock(), createBlock(Comment, null, text)) : createVNode(Comment, null, text);
4416
4449
  }
@@ -4464,8 +4497,8 @@ function normalizeChildren(vnode, children) {
4464
4497
  }
4465
4498
  function mergeProps(...args) {
4466
4499
  const ret = {};
4467
- for (let i$1 = 0; i$1 < args.length; i$1++) {
4468
- const toMerge = args[i$1];
4500
+ for (let i = 0; i < args.length; i++) {
4501
+ const toMerge = args[i];
4469
4502
  for (const key in toMerge) if (key === "class") {
4470
4503
  if (ret.class !== toMerge.class) ret.class = normalizeClass([ret.class, toMerge.class]);
4471
4504
  } else if (key === "style") ret.style = normalizeStyle([ret.style, toMerge.style]);
@@ -4560,18 +4593,18 @@ var getCurrentInstance = () => currentInstance || currentRenderingInstance;
4560
4593
  var internalSetCurrentInstance;
4561
4594
  var setInSSRSetupState;
4562
4595
  {
4563
- const g$2 = getGlobalThis();
4596
+ const g = getGlobalThis();
4564
4597
  const registerGlobalSetter = (key, setter) => {
4565
4598
  let setters;
4566
- if (!(setters = g$2[key])) setters = g$2[key] = [];
4599
+ if (!(setters = g[key])) setters = g[key] = [];
4567
4600
  setters.push(setter);
4568
- return (v$1) => {
4569
- if (setters.length > 1) setters.forEach((set) => set(v$1));
4570
- else setters[0](v$1);
4601
+ return (v) => {
4602
+ if (setters.length > 1) setters.forEach((set) => set(v));
4603
+ else setters[0](v);
4571
4604
  };
4572
4605
  };
4573
- internalSetCurrentInstance = registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`, (v$1) => currentInstance = v$1);
4574
- setInSSRSetupState = registerGlobalSetter(`__VUE_SSR_SETTERS__`, (v$1) => isInSSRComponentSetup = v$1);
4606
+ internalSetCurrentInstance = registerGlobalSetter(`__VUE_INSTANCE_SETTERS__`, (v) => currentInstance = v);
4607
+ setInSSRSetupState = registerGlobalSetter(`__VUE_SSR_SETTERS__`, (v) => isInSSRComponentSetup = v);
4575
4608
  }
4576
4609
  var setCurrentInstance = (instance) => {
4577
4610
  const prev = currentInstance;
@@ -4695,28 +4728,28 @@ function isClassComponent(value) {
4695
4728
  return isFunction(value) && "__vccOpts" in value;
4696
4729
  }
4697
4730
  var computed = (getterOrOptions, debugOptions) => {
4698
- return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
4731
+ return /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
4699
4732
  };
4700
4733
  function h$2(type, propsOrChildren, children) {
4701
4734
  try {
4702
4735
  setBlockTracking(-1);
4703
- const l$1 = arguments.length;
4704
- if (l$1 === 2) if (isObject(propsOrChildren) && !isArray$1(propsOrChildren)) {
4736
+ const l = arguments.length;
4737
+ if (l === 2) if (isObject(propsOrChildren) && !isArray$1(propsOrChildren)) {
4705
4738
  if (isVNode(propsOrChildren)) return createVNode(type, null, [propsOrChildren]);
4706
4739
  return createVNode(type, propsOrChildren);
4707
4740
  } else return createVNode(type, null, propsOrChildren);
4708
4741
  else {
4709
- if (l$1 > 3) children = Array.prototype.slice.call(arguments, 2);
4710
- else if (l$1 === 3 && isVNode(children)) children = [children];
4742
+ if (l > 3) children = Array.prototype.slice.call(arguments, 2);
4743
+ else if (l === 3 && isVNode(children)) children = [children];
4711
4744
  return createVNode(type, propsOrChildren, children);
4712
4745
  }
4713
4746
  } finally {
4714
4747
  setBlockTracking(1);
4715
4748
  }
4716
4749
  }
4717
- var version = "3.5.26";
4750
+ var version = "3.5.28";
4718
4751
  /**
4719
- * @vue/runtime-dom v3.5.26
4752
+ * @vue/runtime-dom v3.5.28
4720
4753
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4721
4754
  * @license MIT
4722
4755
  **/
@@ -4840,12 +4873,12 @@ function resolveTransitionProps(rawProps) {
4840
4873
  const makeEnterHook = (isAppear) => {
4841
4874
  return (el, done) => {
4842
4875
  const hook = isAppear ? onAppear : onEnter;
4843
- const resolve$1 = () => finishEnter(el, isAppear, done);
4844
- callHook(hook, [el, resolve$1]);
4876
+ const resolve = () => finishEnter(el, isAppear, done);
4877
+ callHook(hook, [el, resolve]);
4845
4878
  nextFrame(() => {
4846
4879
  removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
4847
4880
  addTransitionClass(el, isAppear ? appearToClass : enterToClass);
4848
- if (!hasExplicitCallback(hook)) whenTransitionEnds(el, type, enterDuration, resolve$1);
4881
+ if (!hasExplicitCallback(hook)) whenTransitionEnds(el, type, enterDuration, resolve);
4849
4882
  });
4850
4883
  };
4851
4884
  };
@@ -4864,7 +4897,7 @@ function resolveTransitionProps(rawProps) {
4864
4897
  onAppear: makeEnterHook(true),
4865
4898
  onLeave(el, done) {
4866
4899
  el._isLeaving = true;
4867
- const resolve$1 = () => finishLeave(el, done);
4900
+ const resolve = () => finishLeave(el, done);
4868
4901
  addTransitionClass(el, leaveFromClass);
4869
4902
  if (!el._enterCancelled) {
4870
4903
  forceReflow(el);
@@ -4877,9 +4910,9 @@ function resolveTransitionProps(rawProps) {
4877
4910
  if (!el._isLeaving) return;
4878
4911
  removeTransitionClass(el, leaveFromClass);
4879
4912
  addTransitionClass(el, leaveToClass);
4880
- if (!hasExplicitCallback(onLeave)) whenTransitionEnds(el, type, leaveDuration, resolve$1);
4913
+ if (!hasExplicitCallback(onLeave)) whenTransitionEnds(el, type, leaveDuration, resolve);
4881
4914
  });
4882
- callHook(onLeave, [el, resolve$1]);
4915
+ callHook(onLeave, [el, resolve]);
4883
4916
  },
4884
4917
  onEnterCancelled(el) {
4885
4918
  finishEnter(el, false, void 0, true);
@@ -4899,19 +4932,19 @@ function normalizeDuration(duration) {
4899
4932
  if (duration == null) return null;
4900
4933
  else if (isObject(duration)) return [NumberOf(duration.enter), NumberOf(duration.leave)];
4901
4934
  else {
4902
- const n$2 = NumberOf(duration);
4903
- return [n$2, n$2];
4935
+ const n = NumberOf(duration);
4936
+ return [n, n];
4904
4937
  }
4905
4938
  }
4906
4939
  function NumberOf(val) {
4907
4940
  return toNumber(val);
4908
4941
  }
4909
4942
  function addTransitionClass(el, cls) {
4910
- cls.split(/\s+/).forEach((c$2) => c$2 && el.classList.add(c$2));
4943
+ cls.split(/\s+/).forEach((c) => c && el.classList.add(c));
4911
4944
  (el[vtcKey] || (el[vtcKey] = /* @__PURE__ */ new Set())).add(cls);
4912
4945
  }
4913
4946
  function removeTransitionClass(el, cls) {
4914
- cls.split(/\s+/).forEach((c$2) => c$2 && el.classList.remove(c$2));
4947
+ cls.split(/\s+/).forEach((c) => c && el.classList.remove(c));
4915
4948
  const _vtc = el[vtcKey];
4916
4949
  if (_vtc) {
4917
4950
  _vtc.delete(cls);
@@ -4924,14 +4957,14 @@ function nextFrame(cb) {
4924
4957
  });
4925
4958
  }
4926
4959
  var endId = 0;
4927
- function whenTransitionEnds(el, expectedType, explicitTimeout, resolve$1) {
4960
+ function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
4928
4961
  const id = el._endId = ++endId;
4929
4962
  const resolveIfNotStale = () => {
4930
- if (id === el._endId) resolve$1();
4963
+ if (id === el._endId) resolve();
4931
4964
  };
4932
4965
  if (explicitTimeout != null) return setTimeout(resolveIfNotStale, explicitTimeout);
4933
4966
  const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
4934
- if (!type) return resolve$1();
4967
+ if (!type) return resolve();
4935
4968
  const endEvent = type + "end";
4936
4969
  let ended = 0;
4937
4970
  const end = () => {
@@ -4985,11 +5018,11 @@ function getTransitionInfo(el, expectedType) {
4985
5018
  }
4986
5019
  function getTimeout(delays, durations) {
4987
5020
  while (delays.length < durations.length) delays = delays.concat(delays);
4988
- return Math.max(...durations.map((d$2, i$1) => toMs(d$2) + toMs(delays[i$1])));
5021
+ return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));
4989
5022
  }
4990
- function toMs(s$1) {
4991
- if (s$1 === "auto") return 0;
4992
- return Number(s$1.slice(0, -1).replace(",", ".")) * 1e3;
5023
+ function toMs(s) {
5024
+ if (s === "auto") return 0;
5025
+ return Number(s.slice(0, -1).replace(",", ".")) * 1e3;
4993
5026
  }
4994
5027
  function forceReflow(el) {
4995
5028
  return (el ? el.ownerDocument : document).body.offsetHeight;
@@ -5035,7 +5068,7 @@ function patchStyle(el, prev, next) {
5035
5068
  }
5036
5069
  var importantRE = /\s*!important$/;
5037
5070
  function setStyle(style, name, val) {
5038
- if (isArray$1(val)) val.forEach((v$1) => setStyle(style, name, v$1));
5071
+ if (isArray$1(val)) val.forEach((v) => setStyle(style, name, v));
5039
5072
  else {
5040
5073
  if (val == null) val = "";
5041
5074
  if (name.startsWith("--")) style.setProperty(name, val);
@@ -5058,8 +5091,8 @@ function autoPrefix(style, rawName) {
5058
5091
  let name = camelize(rawName);
5059
5092
  if (name !== "filter" && name in style) return prefixCache[rawName] = name;
5060
5093
  name = capitalize(name);
5061
- for (let i$1 = 0; i$1 < prefixes.length; i$1++) {
5062
- const prefixed = prefixes[i$1] + name;
5094
+ for (let i = 0; i < prefixes.length; i++) {
5095
+ const prefixed = prefixes[i] + name;
5063
5096
  if (prefixed in style) return prefixCache[rawName] = prefixed;
5064
5097
  }
5065
5098
  return rawName;
@@ -5127,10 +5160,10 @@ function parseName(name) {
5127
5160
  let options;
5128
5161
  if (optionsModifierRE.test(name)) {
5129
5162
  options = {};
5130
- let m$2;
5131
- while (m$2 = name.match(optionsModifierRE)) {
5132
- name = name.slice(0, name.length - m$2[0].length);
5133
- options[m$2[0].toLowerCase()] = true;
5163
+ let m;
5164
+ while (m = name.match(optionsModifierRE)) {
5165
+ name = name.slice(0, name.length - m[0].length);
5166
+ options[m[0].toLowerCase()] = true;
5134
5167
  }
5135
5168
  }
5136
5169
  return [name[2] === ":" ? name.slice(3) : hyphenate(name.slice(2)), options];
@@ -5248,28 +5281,28 @@ var vModelText = {
5248
5281
  };
5249
5282
  var vModelCheckbox = {
5250
5283
  deep: true,
5251
- created(el, _$1, vnode) {
5284
+ created(el, _, vnode) {
5252
5285
  el[assignKey] = getModelAssigner(vnode);
5253
5286
  addEventListener(el, "change", () => {
5254
5287
  const modelValue = el._modelValue;
5255
5288
  const elementValue = getValue(el);
5256
5289
  const checked = el.checked;
5257
- const assign$1 = el[assignKey];
5290
+ const assign = el[assignKey];
5258
5291
  if (isArray$1(modelValue)) {
5259
5292
  const index = looseIndexOf(modelValue, elementValue);
5260
5293
  const found = index !== -1;
5261
- if (checked && !found) assign$1(modelValue.concat(elementValue));
5294
+ if (checked && !found) assign(modelValue.concat(elementValue));
5262
5295
  else if (!checked && found) {
5263
5296
  const filtered = [...modelValue];
5264
5297
  filtered.splice(index, 1);
5265
- assign$1(filtered);
5298
+ assign(filtered);
5266
5299
  }
5267
5300
  } else if (isSet(modelValue)) {
5268
5301
  const cloned = new Set(modelValue);
5269
5302
  if (checked) cloned.add(elementValue);
5270
5303
  else cloned.delete(elementValue);
5271
- assign$1(cloned);
5272
- } else assign$1(getCheckboxValue(el, checked));
5304
+ assign(cloned);
5305
+ } else assign(getCheckboxValue(el, checked));
5273
5306
  });
5274
5307
  },
5275
5308
  mounted: setChecked,
@@ -5307,7 +5340,7 @@ var vModelSelect = {
5307
5340
  created(el, { value, modifiers: { number } }, vnode) {
5308
5341
  const isSetModel = isSet(value);
5309
5342
  addEventListener(el, "change", () => {
5310
- const selectedVal = Array.prototype.filter.call(el.options, (o$1) => o$1.selected).map((o$1) => number ? looseToNumber(getValue(o$1)) : getValue(o$1));
5343
+ const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map((o) => number ? looseToNumber(getValue(o)) : getValue(o));
5311
5344
  el[assignKey](el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]);
5312
5345
  el._assigning = true;
5313
5346
  nextTick(() => {
@@ -5330,16 +5363,16 @@ function setSelected(el, value) {
5330
5363
  const isMultiple = el.multiple;
5331
5364
  const isArrayValue = isArray$1(value);
5332
5365
  if (isMultiple && !isArrayValue && !isSet(value)) return;
5333
- for (let i$1 = 0, l$1 = el.options.length; i$1 < l$1; i$1++) {
5334
- const option = el.options[i$1];
5366
+ for (let i = 0, l = el.options.length; i < l; i++) {
5367
+ const option = el.options[i];
5335
5368
  const optionValue = getValue(option);
5336
5369
  if (isMultiple) if (isArrayValue) {
5337
5370
  const optionType = typeof optionValue;
5338
- if (optionType === "string" || optionType === "number") option.selected = value.some((v$1) => String(v$1) === String(optionValue));
5371
+ if (optionType === "string" || optionType === "number") option.selected = value.some((v) => String(v) === String(optionValue));
5339
5372
  else option.selected = looseIndexOf(value, optionValue) > -1;
5340
5373
  } else option.selected = value.has(optionValue);
5341
5374
  else if (looseEqual(getValue(option), value)) {
5342
- if (el.selectedIndex !== i$1) el.selectedIndex = i$1;
5375
+ if (el.selectedIndex !== i) el.selectedIndex = i;
5343
5376
  return;
5344
5377
  }
5345
5378
  }
@@ -5396,7 +5429,7 @@ var withKeys = (fn, modifiers) => {
5396
5429
  return cache[cacheKey] || (cache[cacheKey] = ((event) => {
5397
5430
  if (!("key" in event)) return;
5398
5431
  const eventKey = hyphenate(event.key);
5399
- if (modifiers.some((k$1) => k$1 === eventKey || keyNames[k$1] === eventKey)) return fn(event);
5432
+ if (modifiers.some((k) => k === eventKey || keyNames[k] === eventKey)) return fn(event);
5400
5433
  }));
5401
5434
  };
5402
5435
  var rendererOptions = /* @__PURE__ */ extend({ patchProp }, nodeOps);
@@ -5405,12 +5438,12 @@ function ensureRenderer() {
5405
5438
  return renderer || (renderer = createRenderer(rendererOptions));
5406
5439
  }
5407
5440
  var createApp = ((...args) => {
5408
- const app$1 = ensureRenderer().createApp(...args);
5409
- const { mount } = app$1;
5410
- app$1.mount = (containerOrSelector) => {
5441
+ const app = ensureRenderer().createApp(...args);
5442
+ const { mount } = app;
5443
+ app.mount = (containerOrSelector) => {
5411
5444
  const container = normalizeContainer(containerOrSelector);
5412
5445
  if (!container) return;
5413
- const component = app$1._component;
5446
+ const component = app._component;
5414
5447
  if (!isFunction(component) && !component.render && !component.template) component.template = container.innerHTML;
5415
5448
  if (container.nodeType === 1) container.textContent = "";
5416
5449
  const proxy = mount(container, false, resolveRootNamespace(container));
@@ -5420,7 +5453,7 @@ var createApp = ((...args) => {
5420
5453
  }
5421
5454
  return proxy;
5422
5455
  };
5423
- return app$1;
5456
+ return app;
5424
5457
  });
5425
5458
  function resolveRootNamespace(container) {
5426
5459
  if (container instanceof SVGElement) return "svg";
@@ -5540,16 +5573,16 @@ function getPaddingObject(padding) {
5540
5573
  };
5541
5574
  }
5542
5575
  function rectToClientRect(rect) {
5543
- const { x: x$2, y: y$2, width, height } = rect;
5576
+ const { x, y, width, height } = rect;
5544
5577
  return {
5545
5578
  width,
5546
5579
  height,
5547
- top: y$2,
5548
- left: x$2,
5549
- right: x$2 + width,
5550
- bottom: y$2 + height,
5551
- x: x$2,
5552
- y: y$2
5580
+ top: y,
5581
+ left: x,
5582
+ right: x + width,
5583
+ bottom: y + height,
5584
+ x,
5585
+ y
5553
5586
  };
5554
5587
  }
5555
5588
  function computeCoordsFromPlacement(_ref, placement, rtl) {
@@ -5612,15 +5645,15 @@ var computePosition = async (reference, floating, config) => {
5612
5645
  floating,
5613
5646
  strategy
5614
5647
  });
5615
- let { x: x$2, y: y$2 } = computeCoordsFromPlacement(rects, placement, rtl);
5648
+ let { x, y } = computeCoordsFromPlacement(rects, placement, rtl);
5616
5649
  let statefulPlacement = placement;
5617
5650
  let middlewareData = {};
5618
5651
  let resetCount = 0;
5619
- for (let i$1 = 0; i$1 < validMiddleware.length; i$1++) {
5620
- const { name, fn } = validMiddleware[i$1];
5652
+ for (let i = 0; i < validMiddleware.length; i++) {
5653
+ const { name, fn } = validMiddleware[i];
5621
5654
  const { x: nextX, y: nextY, data, reset } = await fn({
5622
- x: x$2,
5623
- y: y$2,
5655
+ x,
5656
+ y,
5624
5657
  initialPlacement: placement,
5625
5658
  placement: statefulPlacement,
5626
5659
  strategy,
@@ -5632,8 +5665,8 @@ var computePosition = async (reference, floating, config) => {
5632
5665
  floating
5633
5666
  }
5634
5667
  });
5635
- x$2 = nextX != null ? nextX : x$2;
5636
- y$2 = nextY != null ? nextY : y$2;
5668
+ x = nextX != null ? nextX : x;
5669
+ y = nextY != null ? nextY : y;
5637
5670
  middlewareData = {
5638
5671
  ...middlewareData,
5639
5672
  [name]: {
@@ -5650,14 +5683,14 @@ var computePosition = async (reference, floating, config) => {
5650
5683
  floating,
5651
5684
  strategy
5652
5685
  }) : reset.rects;
5653
- ({x: x$2, y: y$2} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
5686
+ ({x, y} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
5654
5687
  }
5655
- i$1 = -1;
5688
+ i = -1;
5656
5689
  }
5657
5690
  }
5658
5691
  return {
5659
- x: x$2,
5660
- y: y$2,
5692
+ x,
5693
+ y,
5661
5694
  placement: statefulPlacement,
5662
5695
  strategy,
5663
5696
  middlewareData
@@ -5666,7 +5699,7 @@ var computePosition = async (reference, floating, config) => {
5666
5699
  async function detectOverflow(state, options) {
5667
5700
  var _await$platform$isEle;
5668
5701
  if (options === void 0) options = {};
5669
- const { x: x$2, y: y$2, platform, rects, elements, strategy } = state;
5702
+ const { x, y, platform, rects, elements, strategy } = state;
5670
5703
  const { boundary = "clippingAncestors", rootBoundary = "viewport", elementContext = "floating", altBoundary = false, padding = 0 } = evaluate(options, state);
5671
5704
  const paddingObject = getPaddingObject(padding);
5672
5705
  const element = elements[altBoundary ? elementContext === "floating" ? "reference" : "floating" : elementContext];
@@ -5677,8 +5710,8 @@ async function detectOverflow(state, options) {
5677
5710
  strategy
5678
5711
  }));
5679
5712
  const rect = elementContext === "floating" ? {
5680
- x: x$2,
5681
- y: y$2,
5713
+ x,
5714
+ y,
5682
5715
  width: rects.floating.width,
5683
5716
  height: rects.floating.height
5684
5717
  } : rects.reference;
@@ -5707,13 +5740,13 @@ var arrow = (options) => ({
5707
5740
  name: "arrow",
5708
5741
  options,
5709
5742
  async fn(state) {
5710
- const { x: x$2, y: y$2, placement, rects, platform, elements, middlewareData } = state;
5743
+ const { x, y, placement, rects, platform, elements, middlewareData } = state;
5711
5744
  const { element, padding = 0 } = evaluate(options, state) || {};
5712
5745
  if (element == null) return {};
5713
5746
  const paddingObject = getPaddingObject(padding);
5714
5747
  const coords = {
5715
- x: x$2,
5716
- y: y$2
5748
+ x,
5749
+ y
5717
5750
  };
5718
5751
  const axis = getAlignmentAxis(placement);
5719
5752
  const length = getAxisLength(axis);
@@ -5732,16 +5765,16 @@ var arrow = (options) => ({
5732
5765
  const minPadding = min(paddingObject[minProp], largestPossiblePadding);
5733
5766
  const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
5734
5767
  const min$1 = minPadding;
5735
- const max$1 = clientSize - arrowDimensions[length] - maxPadding;
5768
+ const max = clientSize - arrowDimensions[length] - maxPadding;
5736
5769
  const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
5737
- const offset$1 = clamp(min$1, center, max$1);
5738
- const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset$1 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
5739
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max$1 : 0;
5770
+ const offset = clamp(min$1, center, max);
5771
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
5772
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
5740
5773
  return {
5741
5774
  [axis]: coords[axis] + alignmentOffset,
5742
5775
  data: {
5743
- [axis]: offset$1,
5744
- centerOffset: center - offset$1 - alignmentOffset,
5776
+ [axis]: offset,
5777
+ centerOffset: center - offset - alignmentOffset,
5745
5778
  ...shouldAddOffset && { alignmentOffset }
5746
5779
  },
5747
5780
  reset: shouldAddOffset
@@ -5787,15 +5820,15 @@ var autoPlacement = function(options) {
5787
5820
  },
5788
5821
  reset: { placement: nextPlacement }
5789
5822
  };
5790
- const placementsSortedByMostSpace = allOverflows.map((d$2) => {
5791
- const alignment$1 = getAlignment(d$2.placement);
5823
+ const placementsSortedByMostSpace = allOverflows.map((d) => {
5824
+ const alignment = getAlignment(d.placement);
5792
5825
  return [
5793
- d$2.placement,
5794
- alignment$1 && crossAxis ? d$2.overflows.slice(0, 2).reduce((acc, v$1) => acc + v$1, 0) : d$2.overflows[0],
5795
- d$2.overflows
5826
+ d.placement,
5827
+ alignment && crossAxis ? d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) : d.overflows[0],
5828
+ d.overflows
5796
5829
  ];
5797
- }).sort((a$1, b$2) => a$1[1] - b$2[1]);
5798
- const resetPlacement = ((_placementsThatFitOnE = placementsSortedByMostSpace.filter((d$2) => d$2[2].slice(0, getAlignment(d$2[0]) ? 2 : 3).every((v$1) => v$1 <= 0))[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
5830
+ }).sort((a, b) => a[1] - b[1]);
5831
+ const resetPlacement = ((_placementsThatFitOnE = placementsSortedByMostSpace.filter((d) => d[2].slice(0, getAlignment(d[0]) ? 2 : 3).every((v) => v <= 0))[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
5799
5832
  if (resetPlacement !== placement) return {
5800
5833
  data: {
5801
5834
  index: currentIndex + 1,
@@ -5824,25 +5857,25 @@ var flip = function(options) {
5824
5857
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
5825
5858
  const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
5826
5859
  if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
5827
- const placements$1 = [initialPlacement, ...fallbackPlacements];
5860
+ const placements = [initialPlacement, ...fallbackPlacements];
5828
5861
  const overflow = await detectOverflow(state, detectOverflowOptions);
5829
5862
  const overflows = [];
5830
5863
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
5831
5864
  if (checkMainAxis) overflows.push(overflow[side]);
5832
5865
  if (checkCrossAxis) {
5833
- const sides$1 = getAlignmentSides(placement, rects, rtl);
5834
- overflows.push(overflow[sides$1[0]], overflow[sides$1[1]]);
5866
+ const sides = getAlignmentSides(placement, rects, rtl);
5867
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
5835
5868
  }
5836
5869
  overflowsData = [...overflowsData, {
5837
5870
  placement,
5838
5871
  overflows
5839
5872
  }];
5840
- if (!overflows.every((side$1) => side$1 <= 0)) {
5873
+ if (!overflows.every((side) => side <= 0)) {
5841
5874
  var _middlewareData$flip2, _overflowsData$filter;
5842
5875
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
5843
- const nextPlacement = placements$1[nextIndex];
5876
+ const nextPlacement = placements[nextIndex];
5844
5877
  if (nextPlacement) {
5845
- if (!(checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false) || overflowsData.every((d$2) => d$2.overflows[0] > 0 && getSideAxis(d$2.placement) === initialSideAxis)) return {
5878
+ if (!(checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false) || overflowsData.every((d) => d.overflows[0] > 0 && getSideAxis(d.placement) === initialSideAxis)) return {
5846
5879
  data: {
5847
5880
  index: nextIndex,
5848
5881
  overflows: overflowsData
@@ -5850,18 +5883,18 @@ var flip = function(options) {
5850
5883
  reset: { placement: nextPlacement }
5851
5884
  };
5852
5885
  }
5853
- let resetPlacement = (_overflowsData$filter = overflowsData.filter((d$2) => d$2.overflows[0] <= 0).sort((a$1, b$2) => a$1.overflows[1] - b$2.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
5886
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
5854
5887
  if (!resetPlacement) switch (fallbackStrategy) {
5855
5888
  case "bestFit": {
5856
5889
  var _overflowsData$filter2;
5857
- const placement$1 = (_overflowsData$filter2 = overflowsData.filter((d$2) => {
5890
+ const placement = (_overflowsData$filter2 = overflowsData.filter((d) => {
5858
5891
  if (hasFallbackAxisSideDirection) {
5859
- const currentSideAxis = getSideAxis(d$2.placement);
5892
+ const currentSideAxis = getSideAxis(d.placement);
5860
5893
  return currentSideAxis === initialSideAxis || currentSideAxis === "y";
5861
5894
  }
5862
5895
  return true;
5863
- }).map((d$2) => [d$2.placement, d$2.overflows.filter((overflow$1) => overflow$1 > 0).reduce((acc, overflow$1) => acc + overflow$1, 0)]).sort((a$1, b$2) => a$1[1] - b$2[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
5864
- if (placement$1) resetPlacement = placement$1;
5896
+ }).map((d) => [d.placement, d.overflows.filter((overflow) => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
5897
+ if (placement) resetPlacement = placement;
5865
5898
  break;
5866
5899
  }
5867
5900
  case "initialPlacement":
@@ -5909,12 +5942,12 @@ var offset = function(options) {
5909
5942
  options,
5910
5943
  async fn(state) {
5911
5944
  var _middlewareData$offse, _middlewareData$arrow;
5912
- const { x: x$2, y: y$2, placement, middlewareData } = state;
5945
+ const { x, y, placement, middlewareData } = state;
5913
5946
  const diffCoords = await convertValueToCoords(state, options);
5914
5947
  if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
5915
5948
  return {
5916
- x: x$2 + diffCoords.x,
5917
- y: y$2 + diffCoords.y,
5949
+ x: x + diffCoords.x,
5950
+ y: y + diffCoords.y,
5918
5951
  data: {
5919
5952
  ...diffCoords,
5920
5953
  placement
@@ -5929,17 +5962,17 @@ var shift = function(options) {
5929
5962
  name: "shift",
5930
5963
  options,
5931
5964
  async fn(state) {
5932
- const { x: x$2, y: y$2, placement } = state;
5965
+ const { x, y, placement } = state;
5933
5966
  const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false, limiter = { fn: (_ref) => {
5934
- let { x: x$3, y: y$3 } = _ref;
5967
+ let { x, y } = _ref;
5935
5968
  return {
5936
- x: x$3,
5937
- y: y$3
5969
+ x,
5970
+ y
5938
5971
  };
5939
5972
  } }, ...detectOverflowOptions } = evaluate(options, state);
5940
5973
  const coords = {
5941
- x: x$2,
5942
- y: y$2
5974
+ x,
5975
+ y
5943
5976
  };
5944
5977
  const overflow = await detectOverflow(state, detectOverflowOptions);
5945
5978
  const crossAxis = getSideAxis(getSide(placement));
@@ -5949,16 +5982,16 @@ var shift = function(options) {
5949
5982
  if (checkMainAxis) {
5950
5983
  const minSide = mainAxis === "y" ? "top" : "left";
5951
5984
  const maxSide = mainAxis === "y" ? "bottom" : "right";
5952
- const min$1 = mainAxisCoord + overflow[minSide];
5953
- const max$1 = mainAxisCoord - overflow[maxSide];
5954
- mainAxisCoord = clamp(min$1, mainAxisCoord, max$1);
5985
+ const min = mainAxisCoord + overflow[minSide];
5986
+ const max = mainAxisCoord - overflow[maxSide];
5987
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
5955
5988
  }
5956
5989
  if (checkCrossAxis) {
5957
5990
  const minSide = crossAxis === "y" ? "top" : "left";
5958
5991
  const maxSide = crossAxis === "y" ? "bottom" : "right";
5959
- const min$1 = crossAxisCoord + overflow[minSide];
5960
- const max$1 = crossAxisCoord - overflow[maxSide];
5961
- crossAxisCoord = clamp(min$1, crossAxisCoord, max$1);
5992
+ const min = crossAxisCoord + overflow[minSide];
5993
+ const max = crossAxisCoord - overflow[maxSide];
5994
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
5962
5995
  }
5963
5996
  const limitedCoords = limiter.fn({
5964
5997
  ...state,
@@ -5968,8 +6001,8 @@ var shift = function(options) {
5968
6001
  return {
5969
6002
  ...limitedCoords,
5970
6003
  data: {
5971
- x: limitedCoords.x - x$2,
5972
- y: limitedCoords.y - y$2,
6004
+ x: limitedCoords.x - x,
6005
+ y: limitedCoords.y - y,
5973
6006
  enabled: {
5974
6007
  [mainAxis]: checkMainAxis,
5975
6008
  [crossAxis]: checkCrossAxis
@@ -5987,7 +6020,7 @@ var size = function(options) {
5987
6020
  async fn(state) {
5988
6021
  var _state$middlewareData, _state$middlewareData2;
5989
6022
  const { placement, rects, platform, elements } = state;
5990
- const { apply: apply$1 = () => {}, ...detectOverflowOptions } = evaluate(options, state);
6023
+ const { apply = () => {}, ...detectOverflowOptions } = evaluate(options, state);
5991
6024
  const overflow = await detectOverflow(state, detectOverflowOptions);
5992
6025
  const side = getSide(placement);
5993
6026
  const alignment = getAlignment(placement);
@@ -6019,7 +6052,7 @@ var size = function(options) {
6019
6052
  if (isYAxis) availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
6020
6053
  else availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
6021
6054
  }
6022
- await apply$1({
6055
+ await apply({
6023
6056
  ...state,
6024
6057
  availableWidth,
6025
6058
  availableHeight
@@ -6040,12 +6073,12 @@ function o(t) {
6040
6073
  var i = Math.min, r = Math.max, l = Math.round;
6041
6074
  function c$1(t) {
6042
6075
  const e = o(t);
6043
- let n$2 = parseFloat(e.width), i$1 = parseFloat(e.height);
6044
- const r$1 = t.offsetWidth, c$2 = t.offsetHeight, s$1 = l(n$2) !== r$1 || l(i$1) !== c$2;
6045
- return s$1 && (n$2 = r$1, i$1 = c$2), {
6046
- width: n$2,
6047
- height: i$1,
6048
- fallback: s$1
6076
+ let n = parseFloat(e.width), i = parseFloat(e.height);
6077
+ const r = t.offsetWidth, c = t.offsetHeight, s = l(n) !== r || l(i) !== c;
6078
+ return s && (n = r, i = c), {
6079
+ width: n,
6080
+ height: i,
6081
+ fallback: s
6049
6082
  };
6050
6083
  }
6051
6084
  function s(t) {
@@ -6055,7 +6088,7 @@ var f;
6055
6088
  function u() {
6056
6089
  if (f) return f;
6057
6090
  const t = navigator.userAgentData;
6058
- return t && Array.isArray(t.brands) ? (f = t.brands.map(((t$1) => t$1.brand + "/" + t$1.version)).join(" "), f) : navigator.userAgent;
6091
+ return t && Array.isArray(t.brands) ? (f = t.brands.map(((t) => t.brand + "/" + t.version)).join(" "), f) : navigator.userAgent;
6059
6092
  }
6060
6093
  function a(t) {
6061
6094
  return t instanceof n$1(t).HTMLElement;
@@ -6071,8 +6104,8 @@ function p(t) {
6071
6104
  return t instanceof n$1(t).ShadowRoot || t instanceof ShadowRoot;
6072
6105
  }
6073
6106
  function g$1(t) {
6074
- const { overflow: e, overflowX: n$2, overflowY: i$1, display: r$1 } = o(t);
6075
- return /auto|scroll|overlay|hidden|clip/.test(e + i$1 + n$2) && !["inline", "contents"].includes(r$1);
6107
+ const { overflow: e, overflowX: n, overflowY: i, display: r } = o(t);
6108
+ return /auto|scroll|overlay|hidden|clip/.test(e + i + n) && !["inline", "contents"].includes(r);
6076
6109
  }
6077
6110
  function m$1(t) {
6078
6111
  return [
@@ -6082,15 +6115,15 @@ function m$1(t) {
6082
6115
  ].includes(s(t));
6083
6116
  }
6084
6117
  function y$1(t) {
6085
- const e = /firefox/i.test(u()), n$2 = o(t), i$1 = n$2.backdropFilter || n$2.WebkitBackdropFilter;
6086
- return "none" !== n$2.transform || "none" !== n$2.perspective || !!i$1 && "none" !== i$1 || e && "filter" === n$2.willChange || e && !!n$2.filter && "none" !== n$2.filter || ["transform", "perspective"].some(((t$1) => n$2.willChange.includes(t$1))) || [
6118
+ const e = /firefox/i.test(u()), n = o(t), i = n.backdropFilter || n.WebkitBackdropFilter;
6119
+ return "none" !== n.transform || "none" !== n.perspective || !!i && "none" !== i || e && "filter" === n.willChange || e && !!n.filter && "none" !== n.filter || ["transform", "perspective"].some(((t) => n.willChange.includes(t))) || [
6087
6120
  "paint",
6088
6121
  "layout",
6089
6122
  "strict",
6090
6123
  "content"
6091
- ].some(((t$1) => {
6092
- const e$1 = n$2.contain;
6093
- return null != e$1 && e$1.includes(t$1);
6124
+ ].some(((t) => {
6125
+ const e = n.contain;
6126
+ return null != e && e.includes(t);
6094
6127
  }));
6095
6128
  }
6096
6129
  function x$1() {
@@ -6113,38 +6146,38 @@ var b$1 = {
6113
6146
  function L(t) {
6114
6147
  const e = v(t);
6115
6148
  if (!a(e)) return b$1;
6116
- const n$2 = e.getBoundingClientRect(), { width: o$1, height: i$1, fallback: r$1 } = c$1(e);
6117
- let s$1 = (r$1 ? l(n$2.width) : n$2.width) / o$1, f$1 = (r$1 ? l(n$2.height) : n$2.height) / i$1;
6118
- return s$1 && Number.isFinite(s$1) || (s$1 = 1), f$1 && Number.isFinite(f$1) || (f$1 = 1), {
6119
- x: s$1,
6120
- y: f$1
6149
+ const n = e.getBoundingClientRect(), { width: o, height: i, fallback: r } = c$1(e);
6150
+ let s = (r ? l(n.width) : n.width) / o, f = (r ? l(n.height) : n.height) / i;
6151
+ return s && Number.isFinite(s) || (s = 1), f && Number.isFinite(f) || (f = 1), {
6152
+ x: s,
6153
+ y: f
6121
6154
  };
6122
6155
  }
6123
- function E$1(t, e, o$1, i$1) {
6124
- var r$1, l$1;
6125
- void 0 === e && (e = !1), void 0 === o$1 && (o$1 = !1);
6126
- const c$2 = t.getBoundingClientRect(), s$1 = v(t);
6127
- let f$1 = b$1;
6128
- e && (i$1 ? d$1(i$1) && (f$1 = L(i$1)) : f$1 = L(t));
6129
- const u$1 = s$1 ? n$1(s$1) : window, a$1 = !x$1() && o$1;
6130
- let h$3 = (c$2.left + (a$1 && (null == (r$1 = u$1.visualViewport) ? void 0 : r$1.offsetLeft) || 0)) / f$1.x, p$2 = (c$2.top + (a$1 && (null == (l$1 = u$1.visualViewport) ? void 0 : l$1.offsetTop) || 0)) / f$1.y, g$2 = c$2.width / f$1.x, m$2 = c$2.height / f$1.y;
6131
- if (s$1) {
6132
- const t$1 = n$1(s$1), e$1 = i$1 && d$1(i$1) ? n$1(i$1) : i$1;
6133
- let o$2 = t$1.frameElement;
6134
- for (; o$2 && i$1 && e$1 !== t$1;) {
6135
- const t$2 = L(o$2), e$2 = o$2.getBoundingClientRect(), i$2 = getComputedStyle(o$2);
6136
- e$2.x += (o$2.clientLeft + parseFloat(i$2.paddingLeft)) * t$2.x, e$2.y += (o$2.clientTop + parseFloat(i$2.paddingTop)) * t$2.y, h$3 *= t$2.x, p$2 *= t$2.y, g$2 *= t$2.x, m$2 *= t$2.y, h$3 += e$2.x, p$2 += e$2.y, o$2 = n$1(o$2).frameElement;
6156
+ function E$1(t, e, o, i) {
6157
+ var r, l;
6158
+ void 0 === e && (e = !1), void 0 === o && (o = !1);
6159
+ const c = t.getBoundingClientRect(), s = v(t);
6160
+ let f = b$1;
6161
+ e && (i ? d$1(i) && (f = L(i)) : f = L(t));
6162
+ const u = s ? n$1(s) : window, a = !x$1() && o;
6163
+ let h = (c.left + (a && (null == (r = u.visualViewport) ? void 0 : r.offsetLeft) || 0)) / f.x, p = (c.top + (a && (null == (l = u.visualViewport) ? void 0 : l.offsetTop) || 0)) / f.y, g = c.width / f.x, m = c.height / f.y;
6164
+ if (s) {
6165
+ const t = n$1(s), e = i && d$1(i) ? n$1(i) : i;
6166
+ let o = t.frameElement;
6167
+ for (; o && i && e !== t;) {
6168
+ const t = L(o), e = o.getBoundingClientRect(), i = getComputedStyle(o);
6169
+ e.x += (o.clientLeft + parseFloat(i.paddingLeft)) * t.x, e.y += (o.clientTop + parseFloat(i.paddingTop)) * t.y, h *= t.x, p *= t.y, g *= t.x, m *= t.y, h += e.x, p += e.y, o = n$1(o).frameElement;
6137
6170
  }
6138
6171
  }
6139
6172
  return {
6140
- width: g$2,
6141
- height: m$2,
6142
- top: p$2,
6143
- right: h$3 + g$2,
6144
- bottom: p$2 + m$2,
6145
- left: h$3,
6146
- x: h$3,
6147
- y: p$2
6173
+ width: g,
6174
+ height: m,
6175
+ top: p,
6176
+ right: h + g,
6177
+ bottom: p + m,
6178
+ left: h,
6179
+ x: h,
6180
+ y: p
6148
6181
  };
6149
6182
  }
6150
6183
  function R(t) {
@@ -6172,46 +6205,46 @@ function W(t) {
6172
6205
  return w(e) ? e.ownerDocument.body : a(e) && g$1(e) ? e : W(e);
6173
6206
  }
6174
6207
  function D(t, e) {
6175
- var o$1;
6208
+ var o;
6176
6209
  void 0 === e && (e = []);
6177
- const i$1 = W(t), r$1 = i$1 === (null == (o$1 = t.ownerDocument) ? void 0 : o$1.body), l$1 = n$1(i$1);
6178
- return r$1 ? e.concat(l$1, l$1.visualViewport || [], g$1(i$1) ? i$1 : []) : e.concat(i$1, D(i$1));
6179
- }
6180
- function S$1(e, i$1, l$1) {
6181
- return "viewport" === i$1 ? rectToClientRect(function(t, e$1) {
6182
- const o$1 = n$1(t), i$2 = R(t), r$1 = o$1.visualViewport;
6183
- let l$2 = i$2.clientWidth, c$2 = i$2.clientHeight, s$1 = 0, f$1 = 0;
6184
- if (r$1) {
6185
- l$2 = r$1.width, c$2 = r$1.height;
6186
- const t$1 = x$1();
6187
- (t$1 || !t$1 && "fixed" === e$1) && (s$1 = r$1.offsetLeft, f$1 = r$1.offsetTop);
6210
+ const i = W(t), r = i === (null == (o = t.ownerDocument) ? void 0 : o.body), l = n$1(i);
6211
+ return r ? e.concat(l, l.visualViewport || [], g$1(i) ? i : []) : e.concat(i, D(i));
6212
+ }
6213
+ function S$1(e, i, l) {
6214
+ return "viewport" === i ? rectToClientRect(function(t, e) {
6215
+ const o = n$1(t), i = R(t), r = o.visualViewport;
6216
+ let l = i.clientWidth, c = i.clientHeight, s = 0, f = 0;
6217
+ if (r) {
6218
+ l = r.width, c = r.height;
6219
+ const t = x$1();
6220
+ (t || !t && "fixed" === e) && (s = r.offsetLeft, f = r.offsetTop);
6188
6221
  }
6189
6222
  return {
6190
- width: l$2,
6191
- height: c$2,
6192
- x: s$1,
6193
- y: f$1
6223
+ width: l,
6224
+ height: c,
6225
+ x: s,
6226
+ y: f
6194
6227
  };
6195
- }(e, l$1)) : d$1(i$1) ? rectToClientRect(function(t, e$1) {
6196
- const n$2 = E$1(t, !0, "fixed" === e$1), o$1 = n$2.top + t.clientTop, i$2 = n$2.left + t.clientLeft, r$1 = a(t) ? L(t) : {
6228
+ }(e, l)) : d$1(i) ? rectToClientRect(function(t, e) {
6229
+ const n = E$1(t, !0, "fixed" === e), o = n.top + t.clientTop, i = n.left + t.clientLeft, r = a(t) ? L(t) : {
6197
6230
  x: 1,
6198
6231
  y: 1
6199
6232
  };
6200
6233
  return {
6201
- width: t.clientWidth * r$1.x,
6202
- height: t.clientHeight * r$1.y,
6203
- x: i$2 * r$1.x,
6204
- y: o$1 * r$1.y
6234
+ width: t.clientWidth * r.x,
6235
+ height: t.clientHeight * r.y,
6236
+ x: i * r.x,
6237
+ y: o * r.y
6205
6238
  };
6206
- }(i$1, l$1)) : rectToClientRect(function(t) {
6207
- const e$1 = R(t), n$2 = T(t), i$2 = t.ownerDocument.body, l$2 = r(e$1.scrollWidth, e$1.clientWidth, i$2.scrollWidth, i$2.clientWidth), c$2 = r(e$1.scrollHeight, e$1.clientHeight, i$2.scrollHeight, i$2.clientHeight);
6208
- let s$1 = -n$2.scrollLeft + C$1(t);
6209
- const f$1 = -n$2.scrollTop;
6210
- return "rtl" === o(i$2).direction && (s$1 += r(e$1.clientWidth, i$2.clientWidth) - l$2), {
6211
- width: l$2,
6212
- height: c$2,
6213
- x: s$1,
6214
- y: f$1
6239
+ }(i, l)) : rectToClientRect(function(t) {
6240
+ const e = R(t), n = T(t), i = t.ownerDocument.body, l = r(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), c = r(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
6241
+ let s = -n.scrollLeft + C$1(t);
6242
+ const f = -n.scrollTop;
6243
+ return "rtl" === o(i).direction && (s += r(e.clientWidth, i.clientWidth) - l), {
6244
+ width: l,
6245
+ height: c,
6246
+ x: s,
6247
+ y: f
6215
6248
  };
6216
6249
  }(R(e)));
6217
6250
  }
@@ -6220,87 +6253,87 @@ function A(t) {
6220
6253
  }
6221
6254
  function H$1(t) {
6222
6255
  const e = n$1(t);
6223
- let i$1 = A(t);
6224
- for (; i$1 && m$1(i$1) && "static" === o(i$1).position;) i$1 = A(i$1);
6225
- return i$1 && ("html" === s(i$1) || "body" === s(i$1) && "static" === o(i$1).position && !y$1(i$1)) ? e : i$1 || function(t$1) {
6226
- let e$1 = F(t$1);
6227
- for (; a(e$1) && !w(e$1);) {
6228
- if (y$1(e$1)) return e$1;
6229
- e$1 = F(e$1);
6256
+ let i = A(t);
6257
+ for (; i && m$1(i) && "static" === o(i).position;) i = A(i);
6258
+ return i && ("html" === s(i) || "body" === s(i) && "static" === o(i).position && !y$1(i)) ? e : i || function(t) {
6259
+ let e = F(t);
6260
+ for (; a(e) && !w(e);) {
6261
+ if (y$1(e)) return e;
6262
+ e = F(e);
6230
6263
  }
6231
6264
  return null;
6232
6265
  }(t) || e;
6233
6266
  }
6234
- function O(t, e, n$2) {
6235
- const o$1 = a(e), i$1 = R(e), r$1 = E$1(t, !0, "fixed" === n$2, e);
6236
- let l$1 = {
6267
+ function O(t, e, n) {
6268
+ const o = a(e), i = R(e), r = E$1(t, !0, "fixed" === n, e);
6269
+ let l = {
6237
6270
  scrollLeft: 0,
6238
6271
  scrollTop: 0
6239
6272
  };
6240
- const c$2 = {
6273
+ const c = {
6241
6274
  x: 0,
6242
6275
  y: 0
6243
6276
  };
6244
- if (o$1 || !o$1 && "fixed" !== n$2) if (("body" !== s(e) || g$1(i$1)) && (l$1 = T(e)), a(e)) {
6245
- const t$1 = E$1(e, !0);
6246
- c$2.x = t$1.x + e.clientLeft, c$2.y = t$1.y + e.clientTop;
6247
- } else i$1 && (c$2.x = C$1(i$1));
6277
+ if (o || !o && "fixed" !== n) if (("body" !== s(e) || g$1(i)) && (l = T(e)), a(e)) {
6278
+ const t = E$1(e, !0);
6279
+ c.x = t.x + e.clientLeft, c.y = t.y + e.clientTop;
6280
+ } else i && (c.x = C$1(i));
6248
6281
  return {
6249
- x: r$1.left + l$1.scrollLeft - c$2.x,
6250
- y: r$1.top + l$1.scrollTop - c$2.y,
6251
- width: r$1.width,
6252
- height: r$1.height
6282
+ x: r.left + l.scrollLeft - c.x,
6283
+ y: r.top + l.scrollTop - c.y,
6284
+ width: r.width,
6285
+ height: r.height
6253
6286
  };
6254
6287
  }
6255
6288
  var P = {
6256
6289
  getClippingRect: function(t) {
6257
- let { element: e, boundary: n$2, rootBoundary: l$1, strategy: c$2 } = t;
6258
- const u$1 = [..."clippingAncestors" === n$2 ? function(t$1, e$1) {
6259
- const n$3 = e$1.get(t$1);
6260
- if (n$3) return n$3;
6261
- let i$1 = D(t$1).filter(((t$2) => d$1(t$2) && "body" !== s(t$2))), r$1 = null;
6262
- const l$2 = "fixed" === o(t$1).position;
6263
- let c$3 = l$2 ? F(t$1) : t$1;
6264
- for (; d$1(c$3) && !w(c$3);) {
6265
- const t$2 = o(c$3), e$2 = y$1(c$3);
6266
- (l$2 ? e$2 || r$1 : e$2 || "static" !== t$2.position || !r$1 || !["absolute", "fixed"].includes(r$1.position)) ? r$1 = t$2 : i$1 = i$1.filter(((t$3) => t$3 !== c$3)), c$3 = F(c$3);
6290
+ let { element: e, boundary: n, rootBoundary: l, strategy: c } = t;
6291
+ const u = [..."clippingAncestors" === n ? function(t, e) {
6292
+ const n = e.get(t);
6293
+ if (n) return n;
6294
+ let i = D(t).filter(((t) => d$1(t) && "body" !== s(t))), r = null;
6295
+ const l = "fixed" === o(t).position;
6296
+ let c = l ? F(t) : t;
6297
+ for (; d$1(c) && !w(c);) {
6298
+ const t = o(c), e = y$1(c);
6299
+ (l ? e || r : e || "static" !== t.position || !r || !["absolute", "fixed"].includes(r.position)) ? r = t : i = i.filter(((t) => t !== c)), c = F(c);
6267
6300
  }
6268
- return e$1.set(t$1, i$1), i$1;
6269
- }(e, this._c) : [].concat(n$2), l$1], a$1 = u$1[0], h$3 = u$1.reduce(((t$1, n$3) => {
6270
- const o$1 = S$1(e, n$3, c$2);
6271
- return t$1.top = r(o$1.top, t$1.top), t$1.right = i(o$1.right, t$1.right), t$1.bottom = i(o$1.bottom, t$1.bottom), t$1.left = r(o$1.left, t$1.left), t$1;
6272
- }), S$1(e, a$1, c$2));
6301
+ return e.set(t, i), i;
6302
+ }(e, this._c) : [].concat(n), l], a = u[0], h = u.reduce(((t, n) => {
6303
+ const o = S$1(e, n, c);
6304
+ return t.top = r(o.top, t.top), t.right = i(o.right, t.right), t.bottom = i(o.bottom, t.bottom), t.left = r(o.left, t.left), t;
6305
+ }), S$1(e, a, c));
6273
6306
  return {
6274
- width: h$3.right - h$3.left,
6275
- height: h$3.bottom - h$3.top,
6276
- x: h$3.left,
6277
- y: h$3.top
6307
+ width: h.right - h.left,
6308
+ height: h.bottom - h.top,
6309
+ x: h.left,
6310
+ y: h.top
6278
6311
  };
6279
6312
  },
6280
6313
  convertOffsetParentRelativeRectToViewportRelativeRect: function(t) {
6281
- let { rect: e, offsetParent: n$2, strategy: o$1 } = t;
6282
- const i$1 = a(n$2), r$1 = R(n$2);
6283
- if (n$2 === r$1) return e;
6284
- let l$1 = {
6314
+ let { rect: e, offsetParent: n, strategy: o } = t;
6315
+ const i = a(n), r = R(n);
6316
+ if (n === r) return e;
6317
+ let l = {
6285
6318
  scrollLeft: 0,
6286
6319
  scrollTop: 0
6287
- }, c$2 = {
6320
+ }, c = {
6288
6321
  x: 1,
6289
6322
  y: 1
6290
6323
  };
6291
- const f$1 = {
6324
+ const f = {
6292
6325
  x: 0,
6293
6326
  y: 0
6294
6327
  };
6295
- if ((i$1 || !i$1 && "fixed" !== o$1) && (("body" !== s(n$2) || g$1(r$1)) && (l$1 = T(n$2)), a(n$2))) {
6296
- const t$1 = E$1(n$2);
6297
- c$2 = L(n$2), f$1.x = t$1.x + n$2.clientLeft, f$1.y = t$1.y + n$2.clientTop;
6328
+ if ((i || !i && "fixed" !== o) && (("body" !== s(n) || g$1(r)) && (l = T(n)), a(n))) {
6329
+ const t = E$1(n);
6330
+ c = L(n), f.x = t.x + n.clientLeft, f.y = t.y + n.clientTop;
6298
6331
  }
6299
6332
  return {
6300
- width: e.width * c$2.x,
6301
- height: e.height * c$2.y,
6302
- x: e.x * c$2.x - l$1.scrollLeft * c$2.x + f$1.x,
6303
- y: e.y * c$2.y - l$1.scrollTop * c$2.y + f$1.y
6333
+ width: e.width * c.x,
6334
+ height: e.height * c.y,
6335
+ x: e.x * c.x - l.scrollLeft * c.x + f.x,
6336
+ y: e.y * c.y - l.scrollTop * c.y + f.y
6304
6337
  };
6305
6338
  },
6306
6339
  isElement: d$1,
@@ -6311,35 +6344,35 @@ var P = {
6311
6344
  getDocumentElement: R,
6312
6345
  getScale: L,
6313
6346
  async getElementRects(t) {
6314
- let { reference: e, floating: n$2, strategy: o$1 } = t;
6315
- const i$1 = this.getOffsetParent || H$1, r$1 = this.getDimensions;
6347
+ let { reference: e, floating: n, strategy: o } = t;
6348
+ const i = this.getOffsetParent || H$1, r = this.getDimensions;
6316
6349
  return {
6317
- reference: O(e, await i$1(n$2), o$1),
6350
+ reference: O(e, await i(n), o),
6318
6351
  floating: {
6319
6352
  x: 0,
6320
6353
  y: 0,
6321
- ...await r$1(n$2)
6354
+ ...await r(n)
6322
6355
  }
6323
6356
  };
6324
6357
  },
6325
6358
  getClientRects: (t) => Array.from(t.getClientRects()),
6326
6359
  isRTL: (t) => "rtl" === o(t).direction
6327
6360
  };
6328
- var B$1 = (t, n$2, o$1) => {
6329
- const i$1 = /* @__PURE__ */ new Map(), r$1 = {
6361
+ var B$1 = (t, n, o) => {
6362
+ const i = /* @__PURE__ */ new Map(), r = {
6330
6363
  platform: P,
6331
- ...o$1
6332
- }, l$1 = {
6333
- ...r$1.platform,
6334
- _c: i$1
6364
+ ...o
6365
+ }, l = {
6366
+ ...r.platform,
6367
+ _c: i
6335
6368
  };
6336
- return computePosition(t, n$2, {
6337
- ...r$1,
6338
- platform: l$1
6369
+ return computePosition(t, n, {
6370
+ ...r,
6371
+ platform: l
6339
6372
  });
6340
6373
  };
6341
6374
  function ye(e, t) {
6342
- for (const o$1 in t) Object.prototype.hasOwnProperty.call(t, o$1) && (typeof t[o$1] == "object" && e[o$1] ? ye(e[o$1], t[o$1]) : e[o$1] = t[o$1]);
6375
+ for (const o in t) Object.prototype.hasOwnProperty.call(t, o) && (typeof t[o] == "object" && e[o] ? ye(e[o], t[o]) : e[o] = t[o]);
6343
6376
  }
6344
6377
  var h = {
6345
6378
  disabled: !1,
@@ -6394,26 +6427,26 @@ var h = {
6394
6427
  }
6395
6428
  };
6396
6429
  function S(e, t) {
6397
- let o$1 = h.themes[e] || {}, i$1;
6430
+ let o = h.themes[e] || {}, i;
6398
6431
  do
6399
- i$1 = o$1[t], typeof i$1 > "u" ? o$1.$extend ? o$1 = h.themes[o$1.$extend] || {} : (o$1 = null, i$1 = h[t]) : o$1 = null;
6400
- while (o$1);
6401
- return i$1;
6432
+ i = o[t], typeof i > "u" ? o.$extend ? o = h.themes[o.$extend] || {} : (o = null, i = h[t]) : o = null;
6433
+ while (o);
6434
+ return i;
6402
6435
  }
6403
6436
  function Ze(e) {
6404
6437
  const t = [e];
6405
- let o$1 = h.themes[e] || {};
6438
+ let o = h.themes[e] || {};
6406
6439
  do
6407
- o$1.$extend && !o$1.$resetCss ? (t.push(o$1.$extend), o$1 = h.themes[o$1.$extend] || {}) : o$1 = null;
6408
- while (o$1);
6409
- return t.map((i$1) => `v-popper--theme-${i$1}`);
6440
+ o.$extend && !o.$resetCss ? (t.push(o.$extend), o = h.themes[o.$extend] || {}) : o = null;
6441
+ while (o);
6442
+ return t.map((i) => `v-popper--theme-${i}`);
6410
6443
  }
6411
6444
  function re(e) {
6412
6445
  const t = [e];
6413
- let o$1 = h.themes[e] || {};
6446
+ let o = h.themes[e] || {};
6414
6447
  do
6415
- o$1.$extend ? (t.push(o$1.$extend), o$1 = h.themes[o$1.$extend] || {}) : o$1 = null;
6416
- while (o$1);
6448
+ o.$extend ? (t.push(o.$extend), o = h.themes[o.$extend] || {}) : o = null;
6449
+ while (o);
6417
6450
  return t;
6418
6451
  }
6419
6452
  var $ = !1;
@@ -6452,8 +6485,8 @@ var Te = [
6452
6485
  pointer: "pointerup"
6453
6486
  };
6454
6487
  function de(e, t) {
6455
- const o$1 = e.indexOf(t);
6456
- o$1 !== -1 && e.splice(o$1, 1);
6488
+ const o = e.indexOf(t);
6489
+ o !== -1 && e.splice(o, 1);
6457
6490
  }
6458
6491
  function G() {
6459
6492
  return new Promise((e) => requestAnimationFrame(() => {
@@ -6779,14 +6812,14 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6779
6812
  this.dispose();
6780
6813
  },
6781
6814
  methods: {
6782
- show({ event: e = null, skipDelay: t = !1, force: o$1 = !1 } = {}) {
6783
- var i$1, s$1;
6784
- (i$1 = this.parentPopper) != null && i$1.lockedChild && this.parentPopper.lockedChild !== this || (this.pendingHide = !1, (o$1 || !this.disabled) && (((s$1 = this.parentPopper) == null ? void 0 : s$1.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_scheduleShow(e, t), this.$emit("show"), this.$_showFrameLocked = !0, requestAnimationFrame(() => {
6815
+ show({ event: e = null, skipDelay: t = !1, force: o = !1 } = {}) {
6816
+ var i, s;
6817
+ (i = this.parentPopper) != null && i.lockedChild && this.parentPopper.lockedChild !== this || (this.pendingHide = !1, (o || !this.disabled) && (((s = this.parentPopper) == null ? void 0 : s.lockedChild) === this && (this.parentPopper.lockedChild = null), this.$_scheduleShow(e, t), this.$emit("show"), this.$_showFrameLocked = !0, requestAnimationFrame(() => {
6785
6818
  this.$_showFrameLocked = !1;
6786
6819
  })), this.$emit("update:shown", !0));
6787
6820
  },
6788
6821
  hide({ event: e = null, skipDelay: t = !1 } = {}) {
6789
- var o$1;
6822
+ var o;
6790
6823
  if (!this.$_hideInProgress) {
6791
6824
  if (this.shownChildren.size > 0) {
6792
6825
  this.pendingHide = !0;
@@ -6798,7 +6831,7 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6798
6831
  }, 1e3));
6799
6832
  return;
6800
6833
  }
6801
- ((o$1 = this.parentPopper) == null ? void 0 : o$1.lockedChild) === this && (this.parentPopper.lockedChild = null), this.pendingHide = !1, this.$_scheduleHide(e, t), this.$emit("hide"), this.$emit("update:shown", !1);
6834
+ ((o = this.parentPopper) == null ? void 0 : o.lockedChild) === this && (this.parentPopper.lockedChild = null), this.pendingHide = !1, this.$_scheduleHide(e, t), this.$emit("hide"), this.$emit("update:shown", !1);
6802
6835
  }
6803
6836
  },
6804
6837
  init() {
@@ -6834,20 +6867,20 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6834
6867
  padding: this.arrowPadding
6835
6868
  })), this.arrowOverflow && e.middleware.push({
6836
6869
  name: "arrowOverflow",
6837
- fn: ({ placement: i$1, rects: s$1, middlewareData: r$1 }) => {
6838
- let p$2;
6839
- const { centerOffset: a$1 } = r$1.arrow;
6840
- return i$1.startsWith("top") || i$1.startsWith("bottom") ? p$2 = Math.abs(a$1) > s$1.reference.width / 2 : p$2 = Math.abs(a$1) > s$1.reference.height / 2, { data: { overflow: p$2 } };
6870
+ fn: ({ placement: i, rects: s, middlewareData: r }) => {
6871
+ let p;
6872
+ const { centerOffset: a } = r.arrow;
6873
+ return i.startsWith("top") || i.startsWith("bottom") ? p = Math.abs(a) > s.reference.width / 2 : p = Math.abs(a) > s.reference.height / 2, { data: { overflow: p } };
6841
6874
  }
6842
6875
  }), this.autoMinSize || this.autoSize) {
6843
- const i$1 = this.autoSize ? this.autoSize : this.autoMinSize ? "min" : null;
6876
+ const i = this.autoSize ? this.autoSize : this.autoMinSize ? "min" : null;
6844
6877
  e.middleware.push({
6845
6878
  name: "autoSize",
6846
- fn: ({ rects: s$1, placement: r$1, middlewareData: p$2 }) => {
6847
- var u$1;
6848
- if ((u$1 = p$2.autoSize) != null && u$1.skip) return {};
6849
- let a$1, l$1;
6850
- return r$1.startsWith("top") || r$1.startsWith("bottom") ? a$1 = s$1.reference.width : l$1 = s$1.reference.height, this.$_innerNode.style[i$1 === "min" ? "minWidth" : i$1 === "max" ? "maxWidth" : "width"] = a$1 != null ? `${a$1}px` : null, this.$_innerNode.style[i$1 === "min" ? "minHeight" : i$1 === "max" ? "maxHeight" : "height"] = l$1 != null ? `${l$1}px` : null, {
6879
+ fn: ({ rects: s, placement: r, middlewareData: p }) => {
6880
+ var u;
6881
+ if ((u = p.autoSize) != null && u.skip) return {};
6882
+ let a, l;
6883
+ return r.startsWith("top") || r.startsWith("bottom") ? a = s.reference.width : l = s.reference.height, this.$_innerNode.style[i === "min" ? "minWidth" : i === "max" ? "maxWidth" : "width"] = a != null ? `${a}px` : null, this.$_innerNode.style[i === "min" ? "minHeight" : i === "max" ? "maxHeight" : "height"] = l != null ? `${l}px` : null, {
6851
6884
  data: { skip: !0 },
6852
6885
  reset: { rects: !0 }
6853
6886
  };
@@ -6857,19 +6890,19 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6857
6890
  (this.autoMaxSize || this.autoBoundaryMaxSize) && (this.$_innerNode.style.maxWidth = null, this.$_innerNode.style.maxHeight = null, e.middleware.push(size({
6858
6891
  boundary: this.boundary,
6859
6892
  padding: this.overflowPadding,
6860
- apply: ({ availableWidth: i$1, availableHeight: s$1 }) => {
6861
- this.$_innerNode.style.maxWidth = i$1 != null ? `${i$1}px` : null, this.$_innerNode.style.maxHeight = s$1 != null ? `${s$1}px` : null;
6893
+ apply: ({ availableWidth: i, availableHeight: s }) => {
6894
+ this.$_innerNode.style.maxWidth = i != null ? `${i}px` : null, this.$_innerNode.style.maxHeight = s != null ? `${s}px` : null;
6862
6895
  }
6863
6896
  })));
6864
- const o$1 = await B$1(this.$_referenceNode, this.$_popperNode, e);
6897
+ const o = await B$1(this.$_referenceNode, this.$_popperNode, e);
6865
6898
  Object.assign(this.result, {
6866
- x: o$1.x,
6867
- y: o$1.y,
6868
- placement: o$1.placement,
6869
- strategy: o$1.strategy,
6899
+ x: o.x,
6900
+ y: o.y,
6901
+ placement: o.placement,
6902
+ strategy: o.strategy,
6870
6903
  arrow: {
6871
- ...o$1.middlewareData.arrow,
6872
- ...o$1.middlewareData.arrowOverflow
6904
+ ...o.middlewareData.arrow,
6905
+ ...o.middlewareData.arrowOverflow
6873
6906
  }
6874
6907
  });
6875
6908
  },
@@ -6899,8 +6932,8 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6899
6932
  async $_applyShowEffect() {
6900
6933
  if (this.$_hideInProgress) return;
6901
6934
  if (this.computeTransformOrigin) {
6902
- const t = this.$_referenceNode.getBoundingClientRect(), o$1 = this.$_popperNode.querySelector(".v-popper__wrapper"), i$1 = o$1.parentNode.getBoundingClientRect(), s$1 = t.x + t.width / 2 - (i$1.left + o$1.offsetLeft), r$1 = t.y + t.height / 2 - (i$1.top + o$1.offsetTop);
6903
- this.result.transformOrigin = `${s$1}px ${r$1}px`;
6935
+ const t = this.$_referenceNode.getBoundingClientRect(), o = this.$_popperNode.querySelector(".v-popper__wrapper"), i = o.parentNode.getBoundingClientRect(), s = t.x + t.width / 2 - (i.left + o.offsetLeft), r = t.y + t.height / 2 - (i.top + o.offsetTop);
6936
+ this.result.transformOrigin = `${s}px ${r}px`;
6904
6937
  }
6905
6938
  this.isShown = !0, this.$_applyAttrsToTarget({
6906
6939
  "aria-describedby": this.popperId,
@@ -6909,7 +6942,7 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6909
6942
  const e = this.showGroup;
6910
6943
  if (e) {
6911
6944
  let t;
6912
- for (let o$1 = 0; o$1 < d.length; o$1++) t = d[o$1], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
6945
+ for (let o = 0; o < d.length; o++) t = d[o], t.showGroup !== e && (t.hide(), t.$emit("close-group"));
6913
6946
  }
6914
6947
  d.push(this), document.body.classList.add("v-popper--some-open");
6915
6948
  for (const t of re(this.theme)) he(t).push(this), document.body.classList.add(`v-popper--some-open--${t}`);
@@ -6922,9 +6955,9 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6922
6955
  }
6923
6956
  if (clearTimeout(this.$_scheduleTimer), !this.isShown) return;
6924
6957
  this.skipTransition = e, de(d, this), d.length === 0 && document.body.classList.remove("v-popper--some-open");
6925
- for (const o$1 of re(this.theme)) {
6926
- const i$1 = he(o$1);
6927
- de(i$1, this), i$1.length === 0 && document.body.classList.remove(`v-popper--some-open--${o$1}`);
6958
+ for (const o of re(this.theme)) {
6959
+ const i = he(o);
6960
+ de(i, this), i.length === 0 && document.body.classList.remove(`v-popper--some-open--${o}`);
6928
6961
  }
6929
6962
  g === this && (g = null), this.isShown = !1, this.$_applyAttrsToTarget({
6930
6963
  "aria-describedby": void 0,
@@ -6945,34 +6978,34 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6945
6978
  e.appendChild(this.$_popperNode), this.isMounted = !0;
6946
6979
  },
6947
6980
  $_addEventListeners() {
6948
- const e = (o$1) => {
6949
- this.isShown && !this.$_hideInProgress || (o$1.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o$1 }));
6981
+ const e = (o) => {
6982
+ this.isShown && !this.$_hideInProgress || (o.usedByTooltip = !0, !this.$_preventShow && this.show({ event: o }));
6950
6983
  };
6951
6984
  this.$_registerTriggerListeners(this.$_targetNodes, pe, this.triggers, this.showTriggers, e), this.$_registerTriggerListeners([this.$_popperNode], pe, this.popperTriggers, this.popperShowTriggers, e);
6952
- const t = (o$1) => {
6953
- o$1.usedByTooltip || this.hide({ event: o$1 });
6985
+ const t = (o) => {
6986
+ o.usedByTooltip || this.hide({ event: o });
6954
6987
  };
6955
6988
  this.$_registerTriggerListeners(this.$_targetNodes, ae, this.triggers, this.hideTriggers, t), this.$_registerTriggerListeners([this.$_popperNode], ae, this.popperTriggers, this.popperHideTriggers, t);
6956
6989
  },
6957
- $_registerEventListeners(e, t, o$1) {
6990
+ $_registerEventListeners(e, t, o) {
6958
6991
  this.$_events.push({
6959
6992
  targetNodes: e,
6960
6993
  eventType: t,
6961
- handler: o$1
6962
- }), e.forEach((i$1) => i$1.addEventListener(t, o$1, $ ? { passive: !0 } : void 0));
6963
- },
6964
- $_registerTriggerListeners(e, t, o$1, i$1, s$1) {
6965
- let r$1 = o$1;
6966
- i$1 != null && (r$1 = typeof i$1 == "function" ? i$1(r$1) : i$1), r$1.forEach((p$2) => {
6967
- const a$1 = t[p$2];
6968
- a$1 && this.$_registerEventListeners(e, a$1, s$1);
6994
+ handler: o
6995
+ }), e.forEach((i) => i.addEventListener(t, o, $ ? { passive: !0 } : void 0));
6996
+ },
6997
+ $_registerTriggerListeners(e, t, o, i, s) {
6998
+ let r = o;
6999
+ i != null && (r = typeof i == "function" ? i(r) : i), r.forEach((p) => {
7000
+ const a = t[p];
7001
+ a && this.$_registerEventListeners(e, a, s);
6969
7002
  });
6970
7003
  },
6971
7004
  $_removeEventListeners(e) {
6972
7005
  const t = [];
6973
- this.$_events.forEach((o$1) => {
6974
- const { targetNodes: i$1, eventType: s$1, handler: r$1 } = o$1;
6975
- !e || e === s$1 ? i$1.forEach((p$2) => p$2.removeEventListener(s$1, r$1)) : t.push(o$1);
7006
+ this.$_events.forEach((o) => {
7007
+ const { targetNodes: i, eventType: s, handler: r } = o;
7008
+ !e || e === s ? i.forEach((p) => p.removeEventListener(s, r)) : t.push(o);
6976
7009
  }), this.$_events = t;
6977
7010
  },
6978
7011
  $_refreshListeners() {
@@ -6987,15 +7020,15 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
6987
7020
  this.$_popperNode.parentNode && this.$_popperNode.parentNode.removeChild(this.$_popperNode);
6988
7021
  },
6989
7022
  $_swapTargetAttrs(e, t) {
6990
- for (const o$1 of this.$_targetNodes) {
6991
- const i$1 = o$1.getAttribute(e);
6992
- i$1 && (o$1.removeAttribute(e), o$1.setAttribute(t, i$1));
7023
+ for (const o of this.$_targetNodes) {
7024
+ const i = o.getAttribute(e);
7025
+ i && (o.removeAttribute(e), o.setAttribute(t, i));
6993
7026
  }
6994
7027
  },
6995
7028
  $_applyAttrsToTarget(e) {
6996
- for (const t of this.$_targetNodes) for (const o$1 in e) {
6997
- const i$1 = e[o$1];
6998
- i$1 == null ? t.removeAttribute(o$1) : t.setAttribute(o$1, i$1);
7029
+ for (const t of this.$_targetNodes) for (const o in e) {
7030
+ const i = e[o];
7031
+ i == null ? t.removeAttribute(o) : t.setAttribute(o, i);
6999
7032
  }
7000
7033
  },
7001
7034
  $_updateParentShownChildren(e) {
@@ -7005,8 +7038,8 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
7005
7038
  $_isAimingPopper() {
7006
7039
  const e = this.$_referenceNode.getBoundingClientRect();
7007
7040
  if (y >= e.left && y <= e.right && _ >= e.top && _ <= e.bottom) {
7008
- const t = this.$_popperNode.getBoundingClientRect(), o$1 = y - c, i$1 = _ - m, r$1 = t.left + t.width / 2 - c + (t.top + t.height / 2) - m + t.width + t.height, p$2 = c + o$1 * r$1, a$1 = m + i$1 * r$1;
7009
- return C(c, m, p$2, a$1, t.left, t.top, t.left, t.bottom) || C(c, m, p$2, a$1, t.left, t.top, t.right, t.top) || C(c, m, p$2, a$1, t.right, t.top, t.right, t.bottom) || C(c, m, p$2, a$1, t.left, t.bottom, t.right, t.bottom);
7041
+ const t = this.$_popperNode.getBoundingClientRect(), o = y - c, i = _ - m, r = t.left + t.width / 2 - c + (t.top + t.height / 2) - m + t.width + t.height, p = c + o * r, a = m + i * r;
7042
+ return C(c, m, p, a, t.left, t.top, t.left, t.bottom) || C(c, m, p, a, t.left, t.top, t.right, t.top) || C(c, m, p, a, t.right, t.top, t.right, t.bottom) || C(c, m, p, a, t.left, t.bottom, t.right, t.bottom);
7010
7043
  }
7011
7044
  return !1;
7012
7045
  }
@@ -7027,10 +7060,10 @@ if (typeof document < "u" && typeof window < "u") {
7027
7060
  }
7028
7061
  function ue(e, t) {
7029
7062
  if (h.autoHideOnMousedown) Pe(e, t);
7030
- else for (let o$1 = 0; o$1 < d.length; o$1++) {
7031
- const i$1 = d[o$1];
7063
+ else for (let o = 0; o < d.length; o++) {
7064
+ const i = d[o];
7032
7065
  try {
7033
- i$1.mouseDownContains = i$1.popperNode().contains(e.target);
7066
+ i.mouseDownContains = i.popperNode().contains(e.target);
7034
7067
  } catch {}
7035
7068
  }
7036
7069
  }
@@ -7038,35 +7071,35 @@ function fe(e, t) {
7038
7071
  h.autoHideOnMousedown || Pe(e, t);
7039
7072
  }
7040
7073
  function Pe(e, t) {
7041
- const o$1 = {};
7042
- for (let i$1 = d.length - 1; i$1 >= 0; i$1--) {
7043
- const s$1 = d[i$1];
7074
+ const o = {};
7075
+ for (let i = d.length - 1; i >= 0; i--) {
7076
+ const s = d[i];
7044
7077
  try {
7045
- const r$1 = s$1.containsGlobalTarget = s$1.mouseDownContains || s$1.popperNode().contains(e.target);
7046
- s$1.pendingHide = !1, requestAnimationFrame(() => {
7047
- if (s$1.pendingHide = !1, !o$1[s$1.randomId] && ce(s$1, r$1, e)) {
7048
- if (s$1.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && r$1) {
7049
- let a$1 = s$1.parentPopper;
7050
- for (; a$1;) o$1[a$1.randomId] = !0, a$1 = a$1.parentPopper;
7078
+ const r = s.containsGlobalTarget = s.mouseDownContains || s.popperNode().contains(e.target);
7079
+ s.pendingHide = !1, requestAnimationFrame(() => {
7080
+ if (s.pendingHide = !1, !o[s.randomId] && ce(s, r, e)) {
7081
+ if (s.$_handleGlobalClose(e, t), !e.closeAllPopover && e.closePopover && r) {
7082
+ let a = s.parentPopper;
7083
+ for (; a;) o[a.randomId] = !0, a = a.parentPopper;
7051
7084
  return;
7052
7085
  }
7053
- let p$2 = s$1.parentPopper;
7054
- for (; p$2 && ce(p$2, p$2.containsGlobalTarget, e);) {
7055
- p$2.$_handleGlobalClose(e, t);
7056
- p$2 = p$2.parentPopper;
7086
+ let p = s.parentPopper;
7087
+ for (; p && ce(p, p.containsGlobalTarget, e);) {
7088
+ p.$_handleGlobalClose(e, t);
7089
+ p = p.parentPopper;
7057
7090
  }
7058
7091
  }
7059
7092
  });
7060
7093
  } catch {}
7061
7094
  }
7062
7095
  }
7063
- function ce(e, t, o$1) {
7064
- return o$1.closeAllPopover || o$1.closePopover && t || et(e, o$1) && !t;
7096
+ function ce(e, t, o) {
7097
+ return o.closeAllPopover || o.closePopover && t || et(e, o) && !t;
7065
7098
  }
7066
7099
  function et(e, t) {
7067
7100
  if (typeof e.autoHide == "function") {
7068
- const o$1 = e.autoHide(t);
7069
- return e.lastAutoHide = o$1, o$1;
7101
+ const o = e.autoHide(t);
7102
+ return e.lastAutoHide = o, o;
7070
7103
  }
7071
7104
  return e.autoHide;
7072
7105
  }
@@ -7077,16 +7110,16 @@ var c = 0, m = 0, y = 0, _ = 0;
7077
7110
  typeof window < "u" && window.addEventListener("mousemove", (e) => {
7078
7111
  c = y, m = _, y = e.clientX, _ = e.clientY;
7079
7112
  }, $ ? { passive: !0 } : void 0);
7080
- function C(e, t, o$1, i$1, s$1, r$1, p$2, a$1) {
7081
- const l$1 = ((p$2 - s$1) * (t - r$1) - (a$1 - r$1) * (e - s$1)) / ((a$1 - r$1) * (o$1 - e) - (p$2 - s$1) * (i$1 - t)), u$1 = ((o$1 - e) * (t - r$1) - (i$1 - t) * (e - s$1)) / ((a$1 - r$1) * (o$1 - e) - (p$2 - s$1) * (i$1 - t));
7082
- return l$1 >= 0 && l$1 <= 1 && u$1 >= 0 && u$1 <= 1;
7113
+ function C(e, t, o, i, s, r, p, a) {
7114
+ const l = ((p - s) * (t - r) - (a - r) * (e - s)) / ((a - r) * (o - e) - (p - s) * (i - t)), u = ((o - e) * (t - r) - (i - t) * (e - s)) / ((a - r) * (o - e) - (p - s) * (i - t));
7115
+ return l >= 0 && l <= 1 && u >= 0 && u <= 1;
7083
7116
  }
7084
7117
  var ot = { extends: Q() }, B = (e, t) => {
7085
- const o$1 = e.__vccOpts || e;
7086
- for (const [i$1, s$1] of t) o$1[i$1] = s$1;
7087
- return o$1;
7118
+ const o = e.__vccOpts || e;
7119
+ for (const [i, s] of t) o[i] = s;
7120
+ return o;
7088
7121
  };
7089
- function it(e, t, o$1, i$1, s$1, r$1) {
7122
+ function it(e, t, o, i, s, r) {
7090
7123
  return openBlock(), createElementBlock("div", {
7091
7124
  ref: "reference",
7092
7125
  class: normalizeClass(["v-popper", { "v-popper--shown": e.slotData.isShown }])
@@ -7097,11 +7130,11 @@ function nt() {
7097
7130
  var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
7098
7131
  if (t > 0) return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
7099
7132
  if (e.indexOf("Trident/") > 0) {
7100
- var i$1 = e.indexOf("rv:");
7101
- return parseInt(e.substring(i$1 + 3, e.indexOf(".", i$1)), 10);
7133
+ var i = e.indexOf("rv:");
7134
+ return parseInt(e.substring(i + 3, e.indexOf(".", i)), 10);
7102
7135
  }
7103
- var s$1 = e.indexOf("Edge/");
7104
- return s$1 > 0 ? parseInt(e.substring(s$1 + 5, e.indexOf(".", s$1)), 10) : -1;
7136
+ var s = e.indexOf("Edge/");
7137
+ return s > 0 ? parseInt(e.substring(s + 5, e.indexOf(".", s)), 10) : -1;
7105
7138
  }
7106
7139
  var z;
7107
7140
  function X() {
@@ -7159,7 +7192,7 @@ var pt = {
7159
7192
  tabindex: "-1"
7160
7193
  };
7161
7194
  popScopeId();
7162
- E.render = /* @__PURE__ */ rt((e, t, o$1, i$1, s$1, r$1) => (openBlock(), createBlock("div", pt)));
7195
+ E.render = /* @__PURE__ */ rt((e, t, o, i, s, r) => (openBlock(), createBlock("div", pt)));
7163
7196
  E.__scopeId = "data-v-b329ee4c";
7164
7197
  E.__file = "src/components/ResizeObserver.vue";
7165
7198
  var Z = (e = "theme") => ({ computed: { themeClass() {
@@ -7192,8 +7225,8 @@ var Z = (e = "theme") => ({ computed: { themeClass() {
7192
7225
  ref: "inner",
7193
7226
  class: "v-popper__inner"
7194
7227
  }, ct = [/* @__PURE__ */ createBaseVNode("div", { class: "v-popper__arrow-outer" }, null, -1), /* @__PURE__ */ createBaseVNode("div", { class: "v-popper__arrow-inner" }, null, -1)];
7195
- function mt(e, t, o$1, i$1, s$1, r$1) {
7196
- const p$2 = resolveComponent("ResizeObserver");
7228
+ function mt(e, t, o, i, s, r) {
7229
+ const p = resolveComponent("ResizeObserver");
7197
7230
  return openBlock(), createElementBlock("div", {
7198
7231
  id: e.popperId,
7199
7232
  ref: "popover",
@@ -7219,16 +7252,16 @@ function mt(e, t, o$1, i$1, s$1, r$1) {
7219
7252
  "aria-hidden": e.shown ? "false" : "true",
7220
7253
  tabindex: e.autoHide ? 0 : void 0,
7221
7254
  "data-popper-placement": e.result ? e.result.placement : void 0,
7222
- onKeyup: t[2] || (t[2] = withKeys((a$1) => e.autoHide && e.$emit("hide"), ["esc"]))
7255
+ onKeyup: t[2] || (t[2] = withKeys((a) => e.autoHide && e.$emit("hide"), ["esc"]))
7223
7256
  }, [createBaseVNode("div", {
7224
7257
  class: "v-popper__backdrop",
7225
- onClick: t[0] || (t[0] = (a$1) => e.autoHide && e.$emit("hide"))
7258
+ onClick: t[0] || (t[0] = (a) => e.autoHide && e.$emit("hide"))
7226
7259
  }), createBaseVNode("div", {
7227
7260
  class: "v-popper__wrapper",
7228
7261
  style: normalizeStyle(e.result ? { transformOrigin: e.result.transformOrigin } : void 0)
7229
- }, [createBaseVNode("div", ht, [e.mounted ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createBaseVNode("div", null, [renderSlot(e.$slots, "default")]), e.handleResize ? (openBlock(), createBlock(p$2, {
7262
+ }, [createBaseVNode("div", ht, [e.mounted ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createBaseVNode("div", null, [renderSlot(e.$slots, "default")]), e.handleResize ? (openBlock(), createBlock(p, {
7230
7263
  key: 0,
7231
- onNotify: t[1] || (t[1] = (a$1) => e.$emit("resize", a$1))
7264
+ onNotify: t[1] || (t[1] = (a) => e.$emit("resize", a))
7232
7265
  })) : createCommentVNode("", !0)], 64)) : createCommentVNode("", !0)], 512), createBaseVNode("div", {
7233
7266
  ref: "arrow",
7234
7267
  class: "v-popper__arrow-container",
@@ -7447,16 +7480,16 @@ var gt = /* @__PURE__ */ defineComponent({
7447
7480
  return Array.from(this.$el.children).filter((e) => e !== this.$refs.popperContent.$el);
7448
7481
  } }
7449
7482
  });
7450
- function wt(e, t, o$1, i$1, s$1, r$1) {
7451
- const p$2 = resolveComponent("PopperContent"), a$1 = resolveComponent("Popper");
7452
- return openBlock(), createBlock(a$1, mergeProps({ ref: "popper" }, e.$props, {
7483
+ function wt(e, t, o, i, s, r) {
7484
+ const p = resolveComponent("PopperContent"), a = resolveComponent("Popper");
7485
+ return openBlock(), createBlock(a, mergeProps({ ref: "popper" }, e.$props, {
7453
7486
  theme: e.finalTheme,
7454
7487
  "target-nodes": e.getTargetNodes,
7455
7488
  "popper-node": () => e.$refs.popperContent.$el,
7456
7489
  class: [e.themeClass],
7457
7490
  onShow: t[0] || (t[0] = () => e.$emit("show")),
7458
7491
  onHide: t[1] || (t[1] = () => e.$emit("hide")),
7459
- "onUpdate:shown": t[2] || (t[2] = (l$1) => e.$emit("update:shown", l$1)),
7492
+ "onUpdate:shown": t[2] || (t[2] = (l) => e.$emit("update:shown", l)),
7460
7493
  onApplyShow: t[3] || (t[3] = () => e.$emit("apply-show")),
7461
7494
  onApplyHide: t[4] || (t[4] = () => e.$emit("apply-hide")),
7462
7495
  onCloseGroup: t[5] || (t[5] = () => e.$emit("close-group")),
@@ -7464,27 +7497,27 @@ function wt(e, t, o$1, i$1, s$1, r$1) {
7464
7497
  onAutoHide: t[7] || (t[7] = () => e.$emit("auto-hide")),
7465
7498
  onResize: t[8] || (t[8] = () => e.$emit("resize"))
7466
7499
  }), {
7467
- default: withCtx(({ popperId: l$1, isShown: u$1, shouldMountContent: L$1, skipTransition: D$1, autoHide: I, show: F$1, hide: v$1, handleResize: R$1, onResize: j, classes: V, result: Ee }) => [renderSlot(e.$slots, "default", {
7468
- shown: u$1,
7469
- show: F$1,
7470
- hide: v$1
7471
- }), createVNode(p$2, {
7500
+ default: withCtx(({ popperId: l, isShown: u, shouldMountContent: L, skipTransition: D, autoHide: I, show: F, hide: v, handleResize: R, onResize: j, classes: V, result: Ee }) => [renderSlot(e.$slots, "default", {
7501
+ shown: u,
7502
+ show: F,
7503
+ hide: v
7504
+ }), createVNode(p, {
7472
7505
  ref: "popperContent",
7473
- "popper-id": l$1,
7506
+ "popper-id": l,
7474
7507
  theme: e.finalTheme,
7475
- shown: u$1,
7476
- mounted: L$1,
7477
- "skip-transition": D$1,
7508
+ shown: u,
7509
+ mounted: L,
7510
+ "skip-transition": D,
7478
7511
  "auto-hide": I,
7479
- "handle-resize": R$1,
7512
+ "handle-resize": R,
7480
7513
  classes: V,
7481
7514
  result: Ee,
7482
- onHide: v$1,
7515
+ onHide: v,
7483
7516
  onResize: j
7484
7517
  }, {
7485
7518
  default: withCtx(() => [renderSlot(e.$slots, "popper", {
7486
- shown: u$1,
7487
- hide: v$1
7519
+ shown: u,
7520
+ hide: v
7488
7521
  })]),
7489
7522
  _: 2
7490
7523
  }, 1032, [
@@ -7586,8 +7619,8 @@ var k = /* @__PURE__ */ B(gt, [["render", wt]]), Se = {
7586
7619
  fetchContent(e) {
7587
7620
  if (typeof this.content == "function" && this.$_isShown && (e || !this.$_loading && this.asyncContent == null)) {
7588
7621
  this.asyncContent = null, this.$_loading = !0;
7589
- const t = ++this.$_fetchId, o$1 = this.content(this);
7590
- o$1.then ? o$1.then((i$1) => this.onResult(t, i$1)) : this.onResult(t, o$1);
7622
+ const t = ++this.$_fetchId, o = this.content(this);
7623
+ o.then ? o.then((i) => this.onResult(t, i)) : this.onResult(t, o);
7591
7624
  }
7592
7625
  },
7593
7626
  onResult(e, t) {
@@ -7601,29 +7634,29 @@ var k = /* @__PURE__ */ B(gt, [["render", wt]]), Se = {
7601
7634
  }
7602
7635
  }
7603
7636
  }), vt = ["innerHTML"], yt = ["textContent"];
7604
- function _t(e, t, o$1, i$1, s$1, r$1) {
7605
- const p$2 = resolveComponent("PopperContent"), a$1 = resolveComponent("Popper");
7606
- return openBlock(), createBlock(a$1, mergeProps({ ref: "popper" }, e.$attrs, {
7637
+ function _t(e, t, o, i, s, r) {
7638
+ const p = resolveComponent("PopperContent"), a = resolveComponent("Popper");
7639
+ return openBlock(), createBlock(a, mergeProps({ ref: "popper" }, e.$attrs, {
7607
7640
  theme: e.theme,
7608
7641
  "target-nodes": e.targetNodes,
7609
7642
  "popper-node": () => e.$refs.popperContent.$el,
7610
7643
  onApplyShow: e.onShow,
7611
7644
  onApplyHide: e.onHide
7612
7645
  }), {
7613
- default: withCtx(({ popperId: l$1, isShown: u$1, shouldMountContent: L$1, skipTransition: D$1, autoHide: I, hide: F$1, handleResize: v$1, onResize: R$1, classes: j, result: V }) => [createVNode(p$2, {
7646
+ default: withCtx(({ popperId: l, isShown: u, shouldMountContent: L, skipTransition: D, autoHide: I, hide: F, handleResize: v, onResize: R, classes: j, result: V }) => [createVNode(p, {
7614
7647
  ref: "popperContent",
7615
7648
  class: normalizeClass({ "v-popper--tooltip-loading": e.loading }),
7616
- "popper-id": l$1,
7649
+ "popper-id": l,
7617
7650
  theme: e.theme,
7618
- shown: u$1,
7619
- mounted: L$1,
7620
- "skip-transition": D$1,
7651
+ shown: u,
7652
+ mounted: L,
7653
+ "skip-transition": D,
7621
7654
  "auto-hide": I,
7622
- "handle-resize": v$1,
7655
+ "handle-resize": v,
7623
7656
  classes: j,
7624
7657
  result: V,
7625
- onHide: F$1,
7626
- onResize: R$1
7658
+ onHide: F,
7659
+ onResize: R
7627
7660
  }, {
7628
7661
  default: withCtx(() => [e.html ? (openBlock(), createElementBlock("div", {
7629
7662
  key: 0,
@@ -7658,19 +7691,19 @@ function _t(e, t, o$1, i$1, s$1, r$1) {
7658
7691
  }
7659
7692
  var ze = /* @__PURE__ */ B($t, [["render", _t]]), Ae = "v-popper--has-tooltip";
7660
7693
  function Tt(e, t) {
7661
- let o$1 = e.placement;
7662
- if (!o$1 && t) for (const i$1 of Te) t[i$1] && (o$1 = i$1);
7663
- return o$1 || (o$1 = S(e.theme || "tooltip", "placement")), o$1;
7694
+ let o = e.placement;
7695
+ if (!o && t) for (const i of Te) t[i] && (o = i);
7696
+ return o || (o = S(e.theme || "tooltip", "placement")), o;
7664
7697
  }
7665
- function Ne(e, t, o$1) {
7666
- let i$1;
7667
- const s$1 = typeof t;
7668
- return s$1 === "string" ? i$1 = { content: t } : t && s$1 === "object" ? i$1 = t : i$1 = { content: !1 }, i$1.placement = Tt(i$1, o$1), i$1.targetNodes = () => [e], i$1.referenceNode = () => e, i$1;
7698
+ function Ne(e, t, o) {
7699
+ let i;
7700
+ const s = typeof t;
7701
+ return s === "string" ? i = { content: t } : t && s === "object" ? i = t : i = { content: !1 }, i.placement = Tt(i, o), i.targetNodes = () => [e], i.referenceNode = () => e, i;
7669
7702
  }
7670
7703
  var x, b, Pt = 0;
7671
7704
  function St() {
7672
7705
  if (x) return;
7673
- b = ref([]), x = createApp({
7706
+ b = /* @__PURE__ */ ref([]), x = createApp({
7674
7707
  name: "VTooltipDirectiveApp",
7675
7708
  setup() {
7676
7709
  return { directives: b };
@@ -7687,21 +7720,21 @@ function St() {
7687
7720
  const e = document.createElement("div");
7688
7721
  document.body.appendChild(e), x.mount(e);
7689
7722
  }
7690
- function bt(e, t, o$1) {
7723
+ function bt(e, t, o) {
7691
7724
  St();
7692
- const i$1 = ref(Ne(e, t, o$1)), s$1 = ref(!1), r$1 = {
7725
+ const i = /* @__PURE__ */ ref(Ne(e, t, o)), s = /* @__PURE__ */ ref(!1), r = {
7693
7726
  id: Pt++,
7694
- options: i$1,
7695
- shown: s$1
7727
+ options: i,
7728
+ shown: s
7696
7729
  };
7697
- return b.value.push(r$1), e.classList && e.classList.add(Ae), e.$_popper = {
7698
- options: i$1,
7699
- item: r$1,
7730
+ return b.value.push(r), e.classList && e.classList.add(Ae), e.$_popper = {
7731
+ options: i,
7732
+ item: r,
7700
7733
  show() {
7701
- s$1.value = !0;
7734
+ s.value = !0;
7702
7735
  },
7703
7736
  hide() {
7704
- s$1.value = !1;
7737
+ s.value = !1;
7705
7738
  }
7706
7739
  };
7707
7740
  }
@@ -7712,12 +7745,12 @@ function He(e) {
7712
7745
  }
7713
7746
  e.classList && e.classList.remove(Ae);
7714
7747
  }
7715
- function me(e, { value: t, modifiers: o$1 }) {
7716
- const i$1 = Ne(e, t, o$1);
7717
- if (!i$1.content || S(i$1.theme || "tooltip", "disabled")) He(e);
7748
+ function me(e, { value: t, modifiers: o }) {
7749
+ const i = Ne(e, t, o);
7750
+ if (!i.content || S(i.theme || "tooltip", "disabled")) He(e);
7718
7751
  else {
7719
- let s$1;
7720
- e.$_popper ? (s$1 = e.$_popper, s$1.options.value = i$1) : s$1 = bt(e, t, o$1), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? s$1.show() : s$1.hide());
7752
+ let s;
7753
+ e.$_popper ? (s = e.$_popper, s.options.value = i) : s = bt(e, t, o), typeof t.shown < "u" && t.shown !== e.$_popperOldShown && (e.$_popperOldShown = t.shown, t.shown ? s.show() : s.hide());
7721
7754
  }
7722
7755
  }
7723
7756
  var oe = {
@@ -7747,8 +7780,8 @@ function Oe(e) {
7747
7780
  function Me(e) {
7748
7781
  const t = e.currentTarget;
7749
7782
  if (t.$_vclosepopover_touch = !1, e.changedTouches.length === 1) {
7750
- const o$1 = e.changedTouches[0], i$1 = t.$_vclosepopover_touchPoint;
7751
- e.closePopover = Math.abs(o$1.screenY - i$1.screenY) < 20 && Math.abs(o$1.screenX - i$1.screenX) < 20, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
7783
+ const o = e.changedTouches[0], i = t.$_vclosepopover_touchPoint;
7784
+ e.closePopover = Math.abs(o.screenY - i.screenY) < 20 && Math.abs(o.screenX - i.screenX) < 20, e.closeAllPopover = t.$_closePopoverModifiers && !!t.$_closePopoverModifiers.all;
7752
7785
  }
7753
7786
  }
7754
7787
  function Be(e) {
@@ -7756,11 +7789,11 @@ function Be(e) {
7756
7789
  t.$_vclosepopover_touch = !1;
7757
7790
  }
7758
7791
  var ie = {
7759
- beforeMount(e, { value: t, modifiers: o$1 }) {
7760
- e.$_closePopoverModifiers = o$1, (typeof t > "u" || t) && ge(e);
7792
+ beforeMount(e, { value: t, modifiers: o }) {
7793
+ e.$_closePopoverModifiers = o, (typeof t > "u" || t) && ge(e);
7761
7794
  },
7762
- updated(e, { value: t, oldValue: o$1, modifiers: i$1 }) {
7763
- e.$_closePopoverModifiers = i$1, t !== o$1 && (typeof t > "u" || t ? ge(e) : we(e));
7795
+ updated(e, { value: t, oldValue: o, modifiers: i }) {
7796
+ e.$_closePopoverModifiers = i, t !== o && (typeof t > "u" || t ? ge(e) : we(e));
7764
7797
  },
7765
7798
  beforeUnmount(e) {
7766
7799
  we(e);
@@ -7797,6 +7830,30 @@ function mergeOptions(defaults, partialOptions) {
7797
7830
  for (const key in defaults) options[key] = key in partialOptions ? partialOptions[key] : defaults[key];
7798
7831
  return options;
7799
7832
  }
7833
+ var ErrorTypes = /* @__PURE__ */ function(ErrorTypes) {
7834
+ ErrorTypes[ErrorTypes["MATCHER_NOT_FOUND"] = 1] = "MATCHER_NOT_FOUND";
7835
+ ErrorTypes[ErrorTypes["NAVIGATION_GUARD_REDIRECT"] = 2] = "NAVIGATION_GUARD_REDIRECT";
7836
+ ErrorTypes[ErrorTypes["NAVIGATION_ABORTED"] = 4] = "NAVIGATION_ABORTED";
7837
+ ErrorTypes[ErrorTypes["NAVIGATION_CANCELLED"] = 8] = "NAVIGATION_CANCELLED";
7838
+ ErrorTypes[ErrorTypes["NAVIGATION_DUPLICATED"] = 16] = "NAVIGATION_DUPLICATED";
7839
+ return ErrorTypes;
7840
+ }({});
7841
+ var NavigationFailureSymbol = Symbol("");
7842
+ ErrorTypes.MATCHER_NOT_FOUND, ErrorTypes.NAVIGATION_GUARD_REDIRECT, ErrorTypes.NAVIGATION_ABORTED, ErrorTypes.NAVIGATION_CANCELLED, ErrorTypes.NAVIGATION_DUPLICATED;
7843
+ function createRouterError(type, params) {
7844
+ return assign(/* @__PURE__ */ new Error(), {
7845
+ type,
7846
+ [NavigationFailureSymbol]: true
7847
+ }, params);
7848
+ }
7849
+ function isNavigationFailure(error, type) {
7850
+ return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
7851
+ }
7852
+ var matchedRouteKey = Symbol("");
7853
+ var viewDepthKey = Symbol("");
7854
+ var routerKey = Symbol("");
7855
+ var routeLocationKey = Symbol("");
7856
+ var routerViewLocationKey = Symbol("");
7800
7857
  var HASH_RE = /#/g;
7801
7858
  var AMPERSAND_RE = /&/g;
7802
7859
  var SLASH_RE = /\//g;
@@ -7838,21 +7895,21 @@ function decode(text) {
7838
7895
  }
7839
7896
  var TRAILING_SLASH_RE = /\/$/;
7840
7897
  var removeTrailingSlash = (path) => path.replace(TRAILING_SLASH_RE, "");
7841
- function parseURL(parseQuery$1, location$1, currentLocation = "/") {
7898
+ function parseURL(parseQuery, location, currentLocation = "/") {
7842
7899
  let path, query = {}, searchString = "", hash = "";
7843
- const hashPos = location$1.indexOf("#");
7844
- let searchPos = location$1.indexOf("?");
7900
+ const hashPos = location.indexOf("#");
7901
+ let searchPos = location.indexOf("?");
7845
7902
  searchPos = hashPos >= 0 && searchPos > hashPos ? -1 : searchPos;
7846
7903
  if (searchPos >= 0) {
7847
- path = location$1.slice(0, searchPos);
7848
- searchString = location$1.slice(searchPos, hashPos > 0 ? hashPos : location$1.length);
7849
- query = parseQuery$1(searchString.slice(1));
7904
+ path = location.slice(0, searchPos);
7905
+ searchString = location.slice(searchPos, hashPos > 0 ? hashPos : location.length);
7906
+ query = parseQuery(searchString.slice(1));
7850
7907
  }
7851
7908
  if (hashPos >= 0) {
7852
- path = path || location$1.slice(0, hashPos);
7853
- hash = location$1.slice(hashPos, location$1.length);
7909
+ path = path || location.slice(0, hashPos);
7910
+ hash = location.slice(hashPos, location.length);
7854
7911
  }
7855
- path = resolveRelativePath(path != null ? path : location$1, currentLocation);
7912
+ path = resolveRelativePath(path != null ? path : location, currentLocation);
7856
7913
  return {
7857
7914
  fullPath: path + searchString + hash,
7858
7915
  path,
@@ -7860,32 +7917,32 @@ function parseURL(parseQuery$1, location$1, currentLocation = "/") {
7860
7917
  hash: decode(hash)
7861
7918
  };
7862
7919
  }
7863
- function stringifyURL(stringifyQuery$1, location$1) {
7864
- const query = location$1.query ? stringifyQuery$1(location$1.query) : "";
7865
- return location$1.path + (query && "?") + query + (location$1.hash || "");
7920
+ function stringifyURL(stringifyQuery, location) {
7921
+ const query = location.query ? stringifyQuery(location.query) : "";
7922
+ return location.path + (query && "?") + query + (location.hash || "");
7866
7923
  }
7867
7924
  function stripBase(pathname, base) {
7868
7925
  if (!base || !pathname.toLowerCase().startsWith(base.toLowerCase())) return pathname;
7869
7926
  return pathname.slice(base.length) || "/";
7870
7927
  }
7871
- function isSameRouteLocation(stringifyQuery$1, a$1, b$2) {
7872
- const aLastIndex = a$1.matched.length - 1;
7873
- const bLastIndex = b$2.matched.length - 1;
7874
- return aLastIndex > -1 && aLastIndex === bLastIndex && isSameRouteRecord(a$1.matched[aLastIndex], b$2.matched[bLastIndex]) && isSameRouteLocationParams(a$1.params, b$2.params) && stringifyQuery$1(a$1.query) === stringifyQuery$1(b$2.query) && a$1.hash === b$2.hash;
7928
+ function isSameRouteLocation(stringifyQuery, a, b) {
7929
+ const aLastIndex = a.matched.length - 1;
7930
+ const bLastIndex = b.matched.length - 1;
7931
+ return aLastIndex > -1 && aLastIndex === bLastIndex && isSameRouteRecord(a.matched[aLastIndex], b.matched[bLastIndex]) && isSameRouteLocationParams(a.params, b.params) && stringifyQuery(a.query) === stringifyQuery(b.query) && a.hash === b.hash;
7875
7932
  }
7876
- function isSameRouteRecord(a$1, b$2) {
7877
- return (a$1.aliasOf || a$1) === (b$2.aliasOf || b$2);
7933
+ function isSameRouteRecord(a, b) {
7934
+ return (a.aliasOf || a) === (b.aliasOf || b);
7878
7935
  }
7879
- function isSameRouteLocationParams(a$1, b$2) {
7880
- if (Object.keys(a$1).length !== Object.keys(b$2).length) return false;
7881
- for (var key in a$1) if (!isSameRouteLocationParamsValue(a$1[key], b$2[key])) return false;
7936
+ function isSameRouteLocationParams(a, b) {
7937
+ if (Object.keys(a).length !== Object.keys(b).length) return false;
7938
+ for (var key in a) if (!isSameRouteLocationParamsValue(a[key], b[key])) return false;
7882
7939
  return true;
7883
7940
  }
7884
- function isSameRouteLocationParamsValue(a$1, b$2) {
7885
- return isArray(a$1) ? isEquivalentArray(a$1, b$2) : isArray(b$2) ? isEquivalentArray(b$2, a$1) : a$1?.valueOf() === b$2?.valueOf();
7941
+ function isSameRouteLocationParamsValue(a, b) {
7942
+ return isArray(a) ? isEquivalentArray(a, b) : isArray(b) ? isEquivalentArray(b, a) : (a && a.valueOf()) === (b && b.valueOf());
7886
7943
  }
7887
- function isEquivalentArray(a$1, b$2) {
7888
- return isArray(b$2) ? a$1.length === b$2.length && a$1.every((value, i$1) => value === b$2[i$1]) : a$1.length === 1 && a$1[0] === b$2;
7944
+ function isEquivalentArray(a, b) {
7945
+ return isArray(b) ? a.length === b.length && a.every((value, i) => value === b[i]) : a.length === 1 && a[0] === b;
7889
7946
  }
7890
7947
  function resolveRelativePath(to, from) {
7891
7948
  if (to.startsWith("/")) return to;
@@ -7917,16 +7974,16 @@ var START_LOCATION_NORMALIZED = {
7917
7974
  meta: {},
7918
7975
  redirectedFrom: void 0
7919
7976
  };
7920
- var NavigationType = /* @__PURE__ */ function(NavigationType$1) {
7921
- NavigationType$1["pop"] = "pop";
7922
- NavigationType$1["push"] = "push";
7923
- return NavigationType$1;
7977
+ var NavigationType = /* @__PURE__ */ function(NavigationType) {
7978
+ NavigationType["pop"] = "pop";
7979
+ NavigationType["push"] = "push";
7980
+ return NavigationType;
7924
7981
  }({});
7925
- var NavigationDirection = /* @__PURE__ */ function(NavigationDirection$1) {
7926
- NavigationDirection$1["back"] = "back";
7927
- NavigationDirection$1["forward"] = "forward";
7928
- NavigationDirection$1["unknown"] = "";
7929
- return NavigationDirection$1;
7982
+ var NavigationDirection = /* @__PURE__ */ function(NavigationDirection) {
7983
+ NavigationDirection["back"] = "back";
7984
+ NavigationDirection["forward"] = "forward";
7985
+ NavigationDirection["unknown"] = "";
7986
+ return NavigationDirection;
7930
7987
  }({});
7931
7988
  function normalizeBase(base) {
7932
7989
  if (!base) if (isBrowser) {
@@ -7938,16 +7995,16 @@ function normalizeBase(base) {
7938
7995
  return removeTrailingSlash(base);
7939
7996
  }
7940
7997
  var BEFORE_HASH_RE = /^[^#]+#/;
7941
- function createHref(base, location$1) {
7942
- return base.replace(BEFORE_HASH_RE, "#") + location$1;
7998
+ function createHref(base, location) {
7999
+ return base.replace(BEFORE_HASH_RE, "#") + location;
7943
8000
  }
7944
- function getElementPosition(el, offset$1) {
8001
+ function getElementPosition(el, offset) {
7945
8002
  const docRect = document.documentElement.getBoundingClientRect();
7946
8003
  const elRect = el.getBoundingClientRect();
7947
8004
  return {
7948
- behavior: offset$1.behavior,
7949
- left: elRect.left - docRect.left - (offset$1.left || 0),
7950
- top: elRect.top - docRect.top - (offset$1.top || 0)
8005
+ behavior: offset.behavior,
8006
+ left: elRect.left - docRect.left - (offset.left || 0),
8007
+ top: elRect.top - docRect.top - (offset.top || 0)
7951
8008
  };
7952
8009
  }
7953
8010
  var computeScrollPosition = () => ({
@@ -7984,31 +8041,12 @@ function isRouteLocation(route) {
7984
8041
  function isRouteName(name) {
7985
8042
  return typeof name === "string" || typeof name === "symbol";
7986
8043
  }
7987
- var ErrorTypes = /* @__PURE__ */ function(ErrorTypes$1) {
7988
- ErrorTypes$1[ErrorTypes$1["MATCHER_NOT_FOUND"] = 1] = "MATCHER_NOT_FOUND";
7989
- ErrorTypes$1[ErrorTypes$1["NAVIGATION_GUARD_REDIRECT"] = 2] = "NAVIGATION_GUARD_REDIRECT";
7990
- ErrorTypes$1[ErrorTypes$1["NAVIGATION_ABORTED"] = 4] = "NAVIGATION_ABORTED";
7991
- ErrorTypes$1[ErrorTypes$1["NAVIGATION_CANCELLED"] = 8] = "NAVIGATION_CANCELLED";
7992
- ErrorTypes$1[ErrorTypes$1["NAVIGATION_DUPLICATED"] = 16] = "NAVIGATION_DUPLICATED";
7993
- return ErrorTypes$1;
7994
- }({});
7995
- var NavigationFailureSymbol = Symbol("");
7996
- ErrorTypes.MATCHER_NOT_FOUND, ErrorTypes.NAVIGATION_GUARD_REDIRECT, ErrorTypes.NAVIGATION_ABORTED, ErrorTypes.NAVIGATION_CANCELLED, ErrorTypes.NAVIGATION_DUPLICATED;
7997
- function createRouterError(type, params) {
7998
- return assign(/* @__PURE__ */ new Error(), {
7999
- type,
8000
- [NavigationFailureSymbol]: true
8001
- }, params);
8002
- }
8003
- function isNavigationFailure(error, type) {
8004
- return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
8005
- }
8006
8044
  function parseQuery(search) {
8007
8045
  const query = {};
8008
8046
  if (search === "" || search === "?") return query;
8009
8047
  const searchParams = (search[0] === "?" ? search.slice(1) : search).split("&");
8010
- for (let i$1 = 0; i$1 < searchParams.length; ++i$1) {
8011
- const searchParam = searchParams[i$1].replace(PLUS_RE, " ");
8048
+ for (let i = 0; i < searchParams.length; ++i) {
8049
+ const searchParam = searchParams[i].replace(PLUS_RE, " ");
8012
8050
  const eqPos = searchParam.indexOf("=");
8013
8051
  const key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));
8014
8052
  const value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));
@@ -8029,10 +8067,10 @@ function stringifyQuery(query) {
8029
8067
  if (value !== void 0) search += (search.length ? "&" : "") + key;
8030
8068
  continue;
8031
8069
  }
8032
- (isArray(value) ? value.map((v$1) => v$1 && encodeQueryValue(v$1)) : [value && encodeQueryValue(value)]).forEach((value$1) => {
8033
- if (value$1 !== void 0) {
8070
+ (isArray(value) ? value.map((v) => v && encodeQueryValue(v)) : [value && encodeQueryValue(value)]).forEach((value) => {
8071
+ if (value !== void 0) {
8034
8072
  search += (search.length ? "&" : "") + key;
8035
- if (value$1 != null) search += "=" + value$1;
8073
+ if (value != null) search += "=" + value;
8036
8074
  }
8037
8075
  });
8038
8076
  }
@@ -8042,22 +8080,17 @@ function normalizeQuery(query) {
8042
8080
  const normalizedQuery = {};
8043
8081
  for (const key in query) {
8044
8082
  const value = query[key];
8045
- if (value !== void 0) normalizedQuery[key] = isArray(value) ? value.map((v$1) => v$1 == null ? null : "" + v$1) : value == null ? value : "" + value;
8083
+ if (value !== void 0) normalizedQuery[key] = isArray(value) ? value.map((v) => v == null ? null : "" + v) : value == null ? value : "" + value;
8046
8084
  }
8047
8085
  return normalizedQuery;
8048
8086
  }
8049
- var matchedRouteKey = Symbol("");
8050
- var viewDepthKey = Symbol("");
8051
- var routerKey = Symbol("");
8052
- var routeLocationKey = Symbol("");
8053
- var routerViewLocationKey = Symbol("");
8054
8087
  function useCallbacks() {
8055
8088
  let handlers = [];
8056
8089
  function add(handler) {
8057
8090
  handlers.push(handler);
8058
8091
  return () => {
8059
- const i$1 = handlers.indexOf(handler);
8060
- if (i$1 > -1) handlers.splice(i$1, 1);
8092
+ const i = handlers.indexOf(handler);
8093
+ if (i > -1) handlers.splice(i, 1);
8061
8094
  };
8062
8095
  }
8063
8096
  function reset() {
@@ -8071,7 +8104,7 @@ function useCallbacks() {
8071
8104
  }
8072
8105
  function guardToPromiseFn(guard, to, from, record, name, runWithContext = (fn) => fn()) {
8073
8106
  const enterCallbackArray = record && (record.enterCallbacks[name] = record.enterCallbacks[name] || []);
8074
- return () => new Promise((resolve$1, reject) => {
8107
+ return () => new Promise((resolve, reject) => {
8075
8108
  const next = (valid) => {
8076
8109
  if (valid === false) reject(createRouterError(ErrorTypes.NAVIGATION_ABORTED, {
8077
8110
  from,
@@ -8084,7 +8117,7 @@ function guardToPromiseFn(guard, to, from, record, name, runWithContext = (fn) =
8084
8117
  }));
8085
8118
  else {
8086
8119
  if (enterCallbackArray && record.enterCallbacks[name] === enterCallbackArray && typeof valid === "function") enterCallbackArray.push(valid);
8087
- resolve$1();
8120
+ resolve();
8088
8121
  }
8089
8122
  };
8090
8123
  const guardReturn = runWithContext(() => guard.call(record && record.instances[name], to, from, next));
@@ -8120,11 +8153,11 @@ function extractChangingRecords(to, from) {
8120
8153
  const updatingRecords = [];
8121
8154
  const enteringRecords = [];
8122
8155
  const len = Math.max(from.matched.length, to.matched.length);
8123
- for (let i$1 = 0; i$1 < len; i$1++) {
8124
- const recordFrom = from.matched[i$1];
8156
+ for (let i = 0; i < len; i++) {
8157
+ const recordFrom = from.matched[i];
8125
8158
  if (recordFrom) if (to.matched.find((record) => isSameRouteRecord(record, recordFrom))) updatingRecords.push(recordFrom);
8126
8159
  else leavingRecords.push(recordFrom);
8127
- const recordTo = to.matched[i$1];
8160
+ const recordTo = to.matched[i];
8128
8161
  if (recordTo) {
8129
8162
  if (!from.matched.find((record) => isSameRouteRecord(record, recordTo))) enteringRecords.push(recordTo);
8130
8163
  }
@@ -8136,8 +8169,8 @@ function extractChangingRecords(to, from) {
8136
8169
  ];
8137
8170
  }
8138
8171
  var createBaseLocation = () => location.protocol + "//" + location.host;
8139
- function createCurrentLocation(base, location$1) {
8140
- const { pathname, search, hash } = location$1;
8172
+ function createCurrentLocation(base, location) {
8173
+ const { pathname, search, hash } = location;
8141
8174
  const hashPos = base.indexOf("#");
8142
8175
  if (hashPos > -1) {
8143
8176
  let slicePos = hash.includes(base.slice(hashPos)) ? base.slice(hashPos).length : 1;
@@ -8187,9 +8220,9 @@ function useHistoryListeners(base, historyState, currentLocation, replace) {
8187
8220
  }
8188
8221
  function beforeUnloadListener() {
8189
8222
  if (document.visibilityState === "hidden") {
8190
- const { history: history$1 } = window;
8191
- if (!history$1.state) return;
8192
- history$1.replaceState(assign({}, history$1.state, { scroll: computeScrollPosition() }), "");
8223
+ const { history } = window;
8224
+ if (!history.state) return;
8225
+ history.replaceState(assign({}, history.state, { scroll: computeScrollPosition() }), "");
8193
8226
  }
8194
8227
  }
8195
8228
  function destroy() {
@@ -8219,34 +8252,34 @@ function buildState(back, current, forward, replaced = false, computeScroll = fa
8219
8252
  };
8220
8253
  }
8221
8254
  function useHistoryStateNavigation(base) {
8222
- const { history: history$1, location: location$1 } = window;
8223
- const currentLocation = { value: createCurrentLocation(base, location$1) };
8224
- const historyState = { value: history$1.state };
8255
+ const { history, location } = window;
8256
+ const currentLocation = { value: createCurrentLocation(base, location) };
8257
+ const historyState = { value: history.state };
8225
8258
  if (!historyState.value) changeLocation(currentLocation.value, {
8226
8259
  back: null,
8227
8260
  current: currentLocation.value,
8228
8261
  forward: null,
8229
- position: history$1.length - 1,
8262
+ position: history.length - 1,
8230
8263
  replaced: true,
8231
8264
  scroll: null
8232
8265
  }, true);
8233
- function changeLocation(to, state, replace$1) {
8266
+ function changeLocation(to, state, replace) {
8234
8267
  const hashIndex = base.indexOf("#");
8235
- const url = hashIndex > -1 ? (location$1.host && document.querySelector("base") ? base : base.slice(hashIndex)) + to : createBaseLocation() + base + to;
8268
+ const url = hashIndex > -1 ? (location.host && document.querySelector("base") ? base : base.slice(hashIndex)) + to : createBaseLocation() + base + to;
8236
8269
  try {
8237
- history$1[replace$1 ? "replaceState" : "pushState"](state, "", url);
8270
+ history[replace ? "replaceState" : "pushState"](state, "", url);
8238
8271
  historyState.value = state;
8239
8272
  } catch (err) {
8240
8273
  console.error(err);
8241
- location$1[replace$1 ? "replace" : "assign"](url);
8274
+ location[replace ? "replace" : "assign"](url);
8242
8275
  }
8243
8276
  }
8244
8277
  function replace(to, data) {
8245
- changeLocation(to, assign({}, history$1.state, buildState(historyState.value.back, to, historyState.value.forward, true), data, { position: historyState.value.position }), true);
8278
+ changeLocation(to, assign({}, history.state, buildState(historyState.value.back, to, historyState.value.forward, true), data, { position: historyState.value.position }), true);
8246
8279
  currentLocation.value = to;
8247
8280
  }
8248
8281
  function push(to, data) {
8249
- const currentState = assign({}, historyState.value, history$1.state, {
8282
+ const currentState = assign({}, historyState.value, history.state, {
8250
8283
  forward: to,
8251
8284
  scroll: computeScrollPosition()
8252
8285
  });
@@ -8290,19 +8323,19 @@ function createWebHashHistory(base) {
8290
8323
  if (!base.includes("#")) base += "#";
8291
8324
  return createWebHistory(base);
8292
8325
  }
8293
- var TokenType = /* @__PURE__ */ function(TokenType$1) {
8294
- TokenType$1[TokenType$1["Static"] = 0] = "Static";
8295
- TokenType$1[TokenType$1["Param"] = 1] = "Param";
8296
- TokenType$1[TokenType$1["Group"] = 2] = "Group";
8297
- return TokenType$1;
8326
+ var TokenType = /* @__PURE__ */ function(TokenType) {
8327
+ TokenType[TokenType["Static"] = 0] = "Static";
8328
+ TokenType[TokenType["Param"] = 1] = "Param";
8329
+ TokenType[TokenType["Group"] = 2] = "Group";
8330
+ return TokenType;
8298
8331
  }({});
8299
- var TokenizerState = /* @__PURE__ */ function(TokenizerState$1) {
8300
- TokenizerState$1[TokenizerState$1["Static"] = 0] = "Static";
8301
- TokenizerState$1[TokenizerState$1["Param"] = 1] = "Param";
8302
- TokenizerState$1[TokenizerState$1["ParamRegExp"] = 2] = "ParamRegExp";
8303
- TokenizerState$1[TokenizerState$1["ParamRegExpEnd"] = 3] = "ParamRegExpEnd";
8304
- TokenizerState$1[TokenizerState$1["EscapeNext"] = 4] = "EscapeNext";
8305
- return TokenizerState$1;
8332
+ var TokenizerState = /* @__PURE__ */ function(TokenizerState) {
8333
+ TokenizerState[TokenizerState["Static"] = 0] = "Static";
8334
+ TokenizerState[TokenizerState["Param"] = 1] = "Param";
8335
+ TokenizerState[TokenizerState["ParamRegExp"] = 2] = "ParamRegExp";
8336
+ TokenizerState[TokenizerState["ParamRegExpEnd"] = 3] = "ParamRegExpEnd";
8337
+ TokenizerState[TokenizerState["EscapeNext"] = 4] = "EscapeNext";
8338
+ return TokenizerState;
8306
8339
  }(TokenizerState || {});
8307
8340
  var ROOT_TOKEN = {
8308
8341
  type: TokenType.Static,
@@ -8324,7 +8357,7 @@ function tokenizePath(path) {
8324
8357
  if (segment) tokens.push(segment);
8325
8358
  segment = [];
8326
8359
  }
8327
- let i$1 = 0;
8360
+ let i = 0;
8328
8361
  let char;
8329
8362
  let buffer = "";
8330
8363
  let customRe = "";
@@ -8349,8 +8382,8 @@ function tokenizePath(path) {
8349
8382
  function addCharToBuffer() {
8350
8383
  buffer += char;
8351
8384
  }
8352
- while (i$1 < path.length) {
8353
- char = path[i$1++];
8385
+ while (i < path.length) {
8386
+ char = path[i++];
8354
8387
  if (char === "\\" && state !== TokenizerState.ParamRegExp) {
8355
8388
  previousState = state;
8356
8389
  state = TokenizerState.EscapeNext;
@@ -8376,7 +8409,7 @@ function tokenizePath(path) {
8376
8409
  else {
8377
8410
  consumeBuffer();
8378
8411
  state = TokenizerState.Static;
8379
- if (char !== "*" && char !== "?" && char !== "+") i$1--;
8412
+ if (char !== "*" && char !== "?" && char !== "+") i--;
8380
8413
  }
8381
8414
  break;
8382
8415
  case TokenizerState.ParamRegExp:
@@ -8387,7 +8420,7 @@ function tokenizePath(path) {
8387
8420
  case TokenizerState.ParamRegExpEnd:
8388
8421
  consumeBuffer();
8389
8422
  state = TokenizerState.Static;
8390
- if (char !== "*" && char !== "?" && char !== "+") i$1--;
8423
+ if (char !== "*" && char !== "?" && char !== "+") i--;
8391
8424
  customRe = "";
8392
8425
  break;
8393
8426
  default:
@@ -8407,20 +8440,20 @@ var BASE_PATH_PARSER_OPTIONS = {
8407
8440
  start: true,
8408
8441
  end: true
8409
8442
  };
8410
- var PathScore = /* @__PURE__ */ function(PathScore$1) {
8411
- PathScore$1[PathScore$1["_multiplier"] = 10] = "_multiplier";
8412
- PathScore$1[PathScore$1["Root"] = 90] = "Root";
8413
- PathScore$1[PathScore$1["Segment"] = 40] = "Segment";
8414
- PathScore$1[PathScore$1["SubSegment"] = 30] = "SubSegment";
8415
- PathScore$1[PathScore$1["Static"] = 40] = "Static";
8416
- PathScore$1[PathScore$1["Dynamic"] = 20] = "Dynamic";
8417
- PathScore$1[PathScore$1["BonusCustomRegExp"] = 10] = "BonusCustomRegExp";
8418
- PathScore$1[PathScore$1["BonusWildcard"] = -50] = "BonusWildcard";
8419
- PathScore$1[PathScore$1["BonusRepeatable"] = -20] = "BonusRepeatable";
8420
- PathScore$1[PathScore$1["BonusOptional"] = -8] = "BonusOptional";
8421
- PathScore$1[PathScore$1["BonusStrict"] = .7000000000000001] = "BonusStrict";
8422
- PathScore$1[PathScore$1["BonusCaseSensitive"] = .25] = "BonusCaseSensitive";
8423
- return PathScore$1;
8443
+ var PathScore = /* @__PURE__ */ function(PathScore) {
8444
+ PathScore[PathScore["_multiplier"] = 10] = "_multiplier";
8445
+ PathScore[PathScore["Root"] = 90] = "Root";
8446
+ PathScore[PathScore["Segment"] = 40] = "Segment";
8447
+ PathScore[PathScore["SubSegment"] = 30] = "SubSegment";
8448
+ PathScore[PathScore["Static"] = 40] = "Static";
8449
+ PathScore[PathScore["Dynamic"] = 20] = "Dynamic";
8450
+ PathScore[PathScore["BonusCustomRegExp"] = 10] = "BonusCustomRegExp";
8451
+ PathScore[PathScore["BonusWildcard"] = -50] = "BonusWildcard";
8452
+ PathScore[PathScore["BonusRepeatable"] = -20] = "BonusRepeatable";
8453
+ PathScore[PathScore["BonusOptional"] = -8] = "BonusOptional";
8454
+ PathScore[PathScore["BonusStrict"] = .7000000000000001] = "BonusStrict";
8455
+ PathScore[PathScore["BonusCaseSensitive"] = .25] = "BonusCaseSensitive";
8456
+ return PathScore;
8424
8457
  }(PathScore || {});
8425
8458
  var REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g;
8426
8459
  function tokensToParser(segments, extraOptions) {
@@ -8445,43 +8478,43 @@ function tokensToParser(segments, extraOptions) {
8445
8478
  repeatable,
8446
8479
  optional
8447
8480
  });
8448
- const re$1$1 = regexp ? regexp : BASE_PARAM_PATTERN;
8449
- if (re$1$1 !== BASE_PARAM_PATTERN) {
8481
+ const re = regexp ? regexp : BASE_PARAM_PATTERN;
8482
+ if (re !== BASE_PARAM_PATTERN) {
8450
8483
  subSegmentScore += PathScore.BonusCustomRegExp;
8451
8484
  try {
8452
- `${re$1$1}`;
8485
+ new RegExp(`(${re})`);
8453
8486
  } catch (err) {
8454
- throw new Error(`Invalid custom RegExp for param "${value}" (${re$1$1}): ` + err.message);
8487
+ throw new Error(`Invalid custom RegExp for param "${value}" (${re}): ` + err.message);
8455
8488
  }
8456
8489
  }
8457
- let subPattern = repeatable ? `((?:${re$1$1})(?:/(?:${re$1$1}))*)` : `(${re$1$1})`;
8490
+ let subPattern = repeatable ? `((?:${re})(?:/(?:${re}))*)` : `(${re})`;
8458
8491
  if (!tokenIndex) subPattern = optional && segment.length < 2 ? `(?:/${subPattern})` : "/" + subPattern;
8459
8492
  if (optional) subPattern += "?";
8460
8493
  pattern += subPattern;
8461
8494
  subSegmentScore += PathScore.Dynamic;
8462
8495
  if (optional) subSegmentScore += PathScore.BonusOptional;
8463
8496
  if (repeatable) subSegmentScore += PathScore.BonusRepeatable;
8464
- if (re$1$1 === ".*") subSegmentScore += PathScore.BonusWildcard;
8497
+ if (re === ".*") subSegmentScore += PathScore.BonusWildcard;
8465
8498
  }
8466
8499
  segmentScores.push(subSegmentScore);
8467
8500
  }
8468
8501
  score.push(segmentScores);
8469
8502
  }
8470
8503
  if (options.strict && options.end) {
8471
- const i$1 = score.length - 1;
8472
- score[i$1][score[i$1].length - 1] += PathScore.BonusStrict;
8504
+ const i = score.length - 1;
8505
+ score[i][score[i].length - 1] += PathScore.BonusStrict;
8473
8506
  }
8474
8507
  if (!options.strict) pattern += "/?";
8475
8508
  if (options.end) pattern += "$";
8476
8509
  else if (options.strict && !pattern.endsWith("/")) pattern += "(?:/|$)";
8477
- const re$1 = new RegExp(pattern, options.sensitive ? "" : "i");
8510
+ const re = new RegExp(pattern, options.sensitive ? "" : "i");
8478
8511
  function parse(path) {
8479
- const match = path.match(re$1);
8512
+ const match = path.match(re);
8480
8513
  const params = {};
8481
8514
  if (!match) return null;
8482
- for (let i$1 = 1; i$1 < match.length; i$1++) {
8483
- const value = match[i$1] || "";
8484
- const key = keys[i$1 - 1];
8515
+ for (let i = 1; i < match.length; i++) {
8516
+ const value = match[i] || "";
8517
+ const key = keys[i - 1];
8485
8518
  params[key.name] = value && key.repeatable ? value.split("/") : value;
8486
8519
  }
8487
8520
  return params;
@@ -8508,32 +8541,32 @@ function tokensToParser(segments, extraOptions) {
8508
8541
  return path || "/";
8509
8542
  }
8510
8543
  return {
8511
- re: re$1,
8544
+ re,
8512
8545
  score,
8513
8546
  keys,
8514
8547
  parse,
8515
8548
  stringify
8516
8549
  };
8517
8550
  }
8518
- function compareScoreArray(a$1, b$2) {
8519
- let i$1 = 0;
8520
- while (i$1 < a$1.length && i$1 < b$2.length) {
8521
- const diff = b$2[i$1] - a$1[i$1];
8551
+ function compareScoreArray(a, b) {
8552
+ let i = 0;
8553
+ while (i < a.length && i < b.length) {
8554
+ const diff = b[i] - a[i];
8522
8555
  if (diff) return diff;
8523
- i$1++;
8556
+ i++;
8524
8557
  }
8525
- if (a$1.length < b$2.length) return a$1.length === 1 && a$1[0] === PathScore.Static + PathScore.Segment ? -1 : 1;
8526
- else if (a$1.length > b$2.length) return b$2.length === 1 && b$2[0] === PathScore.Static + PathScore.Segment ? 1 : -1;
8558
+ if (a.length < b.length) return a.length === 1 && a[0] === PathScore.Static + PathScore.Segment ? -1 : 1;
8559
+ else if (a.length > b.length) return b.length === 1 && b[0] === PathScore.Static + PathScore.Segment ? 1 : -1;
8527
8560
  return 0;
8528
8561
  }
8529
- function comparePathParserScore(a$1, b$2) {
8530
- let i$1 = 0;
8531
- const aScore = a$1.score;
8532
- const bScore = b$2.score;
8533
- while (i$1 < aScore.length && i$1 < bScore.length) {
8534
- const comp = compareScoreArray(aScore[i$1], bScore[i$1]);
8562
+ function comparePathParserScore(a, b) {
8563
+ let i = 0;
8564
+ const aScore = a.score;
8565
+ const bScore = b.score;
8566
+ while (i < aScore.length && i < bScore.length) {
8567
+ const comp = compareScoreArray(aScore[i], bScore[i]);
8535
8568
  if (comp) return comp;
8536
- i$1++;
8569
+ i++;
8537
8570
  }
8538
8571
  if (Math.abs(bScore.length - aScore.length) === 1) {
8539
8572
  if (isLastScoreNegative(aScore)) return 1;
@@ -8562,7 +8595,7 @@ function createRouteRecordMatcher(record, parent, options) {
8562
8595
  }
8563
8596
  return matcher;
8564
8597
  }
8565
- function createRouterMatcher(routes$1, globalOptions) {
8598
+ function createRouterMatcher(routes, globalOptions) {
8566
8599
  const matchers = [];
8567
8600
  const matcherMap = /* @__PURE__ */ new Map();
8568
8601
  globalOptions = mergeOptions(PATH_PARSER_OPTIONS_DEFAULTS, globalOptions);
@@ -8602,7 +8635,7 @@ function createRouterMatcher(routes$1, globalOptions) {
8602
8635
  if (isMatchable(matcher)) insertMatcher(matcher);
8603
8636
  if (mainNormalizedRecord.children) {
8604
8637
  const children = mainNormalizedRecord.children;
8605
- for (let i$1 = 0; i$1 < children.length; i$1++) addRoute(children[i$1], matcher, originalRecord && originalRecord.children[i$1]);
8638
+ for (let i = 0; i < children.length; i++) addRoute(children[i], matcher, originalRecord && originalRecord.children[i]);
8606
8639
  }
8607
8640
  originalRecord = originalRecord || matcher;
8608
8641
  }
@@ -8637,32 +8670,32 @@ function createRouterMatcher(routes$1, globalOptions) {
8637
8670
  matchers.splice(index, 0, matcher);
8638
8671
  if (matcher.record.name && !isAliasRecord(matcher)) matcherMap.set(matcher.record.name, matcher);
8639
8672
  }
8640
- function resolve$1(location$1, currentLocation) {
8673
+ function resolve(location, currentLocation) {
8641
8674
  let matcher;
8642
8675
  let params = {};
8643
8676
  let path;
8644
8677
  let name;
8645
- if ("name" in location$1 && location$1.name) {
8646
- matcher = matcherMap.get(location$1.name);
8647
- if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, { location: location$1 });
8678
+ if ("name" in location && location.name) {
8679
+ matcher = matcherMap.get(location.name);
8680
+ if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, { location });
8648
8681
  name = matcher.record.name;
8649
- params = assign(pickParams(currentLocation.params, matcher.keys.filter((k$1) => !k$1.optional).concat(matcher.parent ? matcher.parent.keys.filter((k$1) => k$1.optional) : []).map((k$1) => k$1.name)), location$1.params && pickParams(location$1.params, matcher.keys.map((k$1) => k$1.name)));
8682
+ params = assign(pickParams(currentLocation.params, matcher.keys.filter((k) => !k.optional).concat(matcher.parent ? matcher.parent.keys.filter((k) => k.optional) : []).map((k) => k.name)), location.params && pickParams(location.params, matcher.keys.map((k) => k.name)));
8650
8683
  path = matcher.stringify(params);
8651
- } else if (location$1.path != null) {
8652
- path = location$1.path;
8653
- matcher = matchers.find((m$2) => m$2.re.test(path));
8684
+ } else if (location.path != null) {
8685
+ path = location.path;
8686
+ matcher = matchers.find((m) => m.re.test(path));
8654
8687
  if (matcher) {
8655
8688
  params = matcher.parse(path);
8656
8689
  name = matcher.record.name;
8657
8690
  }
8658
8691
  } else {
8659
- matcher = currentLocation.name ? matcherMap.get(currentLocation.name) : matchers.find((m$2) => m$2.re.test(currentLocation.path));
8692
+ matcher = currentLocation.name ? matcherMap.get(currentLocation.name) : matchers.find((m) => m.re.test(currentLocation.path));
8660
8693
  if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, {
8661
- location: location$1,
8694
+ location,
8662
8695
  currentLocation
8663
8696
  });
8664
8697
  name = matcher.record.name;
8665
- params = assign({}, currentLocation.params, location$1.params);
8698
+ params = assign({}, currentLocation.params, location.params);
8666
8699
  path = matcher.stringify(params);
8667
8700
  }
8668
8701
  const matched = [];
@@ -8679,14 +8712,14 @@ function createRouterMatcher(routes$1, globalOptions) {
8679
8712
  meta: mergeMetaFields(matched)
8680
8713
  };
8681
8714
  }
8682
- routes$1.forEach((route) => addRoute(route));
8715
+ routes.forEach((route) => addRoute(route));
8683
8716
  function clearRoutes() {
8684
8717
  matchers.length = 0;
8685
8718
  matcherMap.clear();
8686
8719
  }
8687
8720
  return {
8688
8721
  addRoute,
8689
- resolve: resolve$1,
8722
+ resolve,
8690
8723
  removeRoute,
8691
8724
  clearRoutes,
8692
8725
  getRoutes,
@@ -8754,11 +8787,11 @@ function isMatchable({ record }) {
8754
8787
  return !!(record.name || record.components && Object.keys(record.components).length || record.redirect);
8755
8788
  }
8756
8789
  function useLink(props) {
8757
- const router$1 = inject(routerKey);
8790
+ const router = inject(routerKey);
8758
8791
  const currentRoute = inject(routeLocationKey);
8759
8792
  const route = computed(() => {
8760
8793
  const to = unref(props.to);
8761
- return router$1.resolve(to);
8794
+ return router.resolve(to);
8762
8795
  });
8763
8796
  const activeRecordIndex = computed(() => {
8764
8797
  const { matched } = route.value;
@@ -8775,9 +8808,9 @@ function useLink(props) {
8775
8808
  const isExactActive = computed(() => activeRecordIndex.value > -1 && activeRecordIndex.value === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.value.params));
8776
8809
  function navigate(e = {}) {
8777
8810
  if (guardEvent(e)) {
8778
- const p$2 = router$1[unref(props.replace) ? "replace" : "push"](unref(props.to)).catch(noop);
8779
- if (props.viewTransition && typeof document !== "undefined" && "startViewTransition" in document) document.startViewTransition(() => p$2);
8780
- return p$2;
8811
+ const p = router[unref(props.replace) ? "replace" : "push"](unref(props.to)).catch(noop);
8812
+ if (props.viewTransition && typeof document !== "undefined" && "startViewTransition" in document) document.startViewTransition(() => p);
8813
+ return p;
8781
8814
  }
8782
8815
  return Promise.resolve();
8783
8816
  }
@@ -8812,7 +8845,7 @@ var RouterLink = /* @__PURE__ */ defineComponent({
8812
8845
  },
8813
8846
  useLink,
8814
8847
  setup(props, { slots }) {
8815
- const link = reactive(useLink(props));
8848
+ const link = /* @__PURE__ */ reactive(useLink(props));
8816
8849
  const { options } = inject(routerKey);
8817
8850
  const elClass = computed(() => ({
8818
8851
  [getLinkClass(props.activeClass, options.linkActiveClass, "router-link-active")]: link.isActive,
@@ -8846,7 +8879,7 @@ function includesParams(outer, inner) {
8846
8879
  const outerValue = outer[key];
8847
8880
  if (typeof innerValue === "string") {
8848
8881
  if (innerValue !== outerValue) return false;
8849
- } else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i$1) => value.valueOf() !== outerValue[i$1].valueOf())) return false;
8882
+ } else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value.valueOf() !== outerValue[i].valueOf())) return false;
8850
8883
  }
8851
8884
  return true;
8852
8885
  }
@@ -8880,7 +8913,7 @@ var RouterViewImpl = /* @__PURE__ */ defineComponent({
8880
8913
  provide(viewDepthKey, computed(() => depth.value + 1));
8881
8914
  provide(matchedRouteKey, matchedRouteRef);
8882
8915
  provide(routerViewLocationKey, routeToDisplay);
8883
- const viewRef = ref();
8916
+ const viewRef = /* @__PURE__ */ ref();
8884
8917
  watch(() => [
8885
8918
  viewRef.value,
8886
8919
  matchedRouteRef.value,
@@ -8934,7 +8967,7 @@ function createRouter(options) {
8934
8967
  const beforeGuards = useCallbacks();
8935
8968
  const beforeResolveGuards = useCallbacks();
8936
8969
  const afterGuards = useCallbacks();
8937
- const currentRoute = shallowRef(START_LOCATION_NORMALIZED);
8970
+ const currentRoute = /* @__PURE__ */ shallowRef(START_LOCATION_NORMALIZED);
8938
8971
  let pendingLocation = START_LOCATION_NORMALIZED;
8939
8972
  if (isBrowser && options.scrollBehavior && "scrollRestoration" in history) history.scrollRestoration = "manual";
8940
8973
  const normalizeParams = applyToParams.bind(null, (paramValue) => "" + paramValue);
@@ -8959,17 +8992,17 @@ function createRouter(options) {
8959
8992
  function hasRoute(name) {
8960
8993
  return !!matcher.getRecordMatcher(name);
8961
8994
  }
8962
- function resolve$1(rawLocation, currentLocation) {
8995
+ function resolve(rawLocation, currentLocation) {
8963
8996
  currentLocation = assign({}, currentLocation || currentRoute.value);
8964
8997
  if (typeof rawLocation === "string") {
8965
8998
  const locationNormalized = parseURL(parseQuery$1, rawLocation, currentLocation.path);
8966
- const matchedRoute$1 = matcher.resolve({ path: locationNormalized.path }, currentLocation);
8967
- const href$1 = routerHistory.createHref(locationNormalized.fullPath);
8968
- return assign(locationNormalized, matchedRoute$1, {
8969
- params: decodeParams(matchedRoute$1.params),
8999
+ const matchedRoute = matcher.resolve({ path: locationNormalized.path }, currentLocation);
9000
+ const href = routerHistory.createHref(locationNormalized.fullPath);
9001
+ return assign(locationNormalized, matchedRoute, {
9002
+ params: decodeParams(matchedRoute.params),
8970
9003
  hash: decode(locationNormalized.hash),
8971
9004
  redirectedFrom: void 0,
8972
- href: href$1
9005
+ href
8973
9006
  });
8974
9007
  }
8975
9008
  let matcherLocation;
@@ -9029,16 +9062,16 @@ function createRouter(options) {
9029
9062
  }
9030
9063
  }
9031
9064
  function pushWithRedirect(to, redirectedFrom) {
9032
- const targetLocation = pendingLocation = resolve$1(to);
9065
+ const targetLocation = pendingLocation = resolve(to);
9033
9066
  const from = currentRoute.value;
9034
9067
  const data = to.state;
9035
9068
  const force = to.force;
9036
- const replace$1 = to.replace === true;
9069
+ const replace = to.replace === true;
9037
9070
  const shouldRedirect = handleRedirectRecord(targetLocation, from);
9038
9071
  if (shouldRedirect) return pushWithRedirect(assign(locationAsObject(shouldRedirect), {
9039
9072
  state: typeof shouldRedirect === "object" ? assign({}, data, shouldRedirect.state) : data,
9040
9073
  force,
9041
- replace: replace$1
9074
+ replace
9042
9075
  }), redirectedFrom || targetLocation);
9043
9076
  const toLocation = targetLocation;
9044
9077
  toLocation.redirectedFrom = redirectedFrom;
@@ -9050,15 +9083,15 @@ function createRouter(options) {
9050
9083
  });
9051
9084
  handleScroll(from, from, true, false);
9052
9085
  }
9053
- return (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT) ? error : markAsReady(error) : triggerError(error, toLocation, from)).then((failure$1) => {
9054
- if (failure$1) {
9055
- if (isNavigationFailure(failure$1, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) return pushWithRedirect(assign({ replace: replace$1 }, locationAsObject(failure$1.to), {
9056
- state: typeof failure$1.to === "object" ? assign({}, data, failure$1.to.state) : data,
9086
+ return (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT) ? error : markAsReady(error) : triggerError(error, toLocation, from)).then((failure) => {
9087
+ if (failure) {
9088
+ if (isNavigationFailure(failure, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) return pushWithRedirect(assign({ replace }, locationAsObject(failure.to), {
9089
+ state: typeof failure.to === "object" ? assign({}, data, failure.to.state) : data,
9057
9090
  force
9058
9091
  }), redirectedFrom || toLocation);
9059
- } else failure$1 = finalizeNavigation(toLocation, from, true, replace$1, data);
9060
- triggerAfterEach(toLocation, from, failure$1);
9061
- return failure$1;
9092
+ } else failure = finalizeNavigation(toLocation, from, true, replace, data);
9093
+ triggerAfterEach(toLocation, from, failure);
9094
+ return failure;
9062
9095
  });
9063
9096
  }
9064
9097
  function checkCanceledNavigationAndReject(to, from) {
@@ -9066,8 +9099,8 @@ function createRouter(options) {
9066
9099
  return error ? Promise.reject(error) : Promise.resolve();
9067
9100
  }
9068
9101
  function runWithContext(fn) {
9069
- const app$1 = installedApps.values().next().value;
9070
- return app$1 && typeof app$1.runWithContext === "function" ? app$1.runWithContext(fn) : fn();
9102
+ const app = installedApps.values().next().value;
9103
+ return app && typeof app.runWithContext === "function" ? app.runWithContext(fn) : fn();
9071
9104
  }
9072
9105
  function navigate(to, from) {
9073
9106
  let guards;
@@ -9111,12 +9144,12 @@ function createRouter(options) {
9111
9144
  function triggerAfterEach(to, from, failure) {
9112
9145
  afterGuards.list().forEach((guard) => runWithContext(() => guard(to, from, failure)));
9113
9146
  }
9114
- function finalizeNavigation(toLocation, from, isPush, replace$1, data) {
9147
+ function finalizeNavigation(toLocation, from, isPush, replace, data) {
9115
9148
  const error = checkCanceledNavigation(toLocation, from);
9116
9149
  if (error) return error;
9117
9150
  const isFirstNavigation = from === START_LOCATION_NORMALIZED;
9118
9151
  const state = !isBrowser ? {} : history.state;
9119
- if (isPush) if (replace$1 || isFirstNavigation) routerHistory.replace(toLocation.fullPath, assign({ scroll: isFirstNavigation && state && state.scroll }, data));
9152
+ if (isPush) if (replace || isFirstNavigation) routerHistory.replace(toLocation.fullPath, assign({ scroll: isFirstNavigation && state && state.scroll }, data));
9120
9153
  else routerHistory.push(toLocation.fullPath, data);
9121
9154
  currentRoute.value = toLocation;
9122
9155
  handleScroll(toLocation, from, isPush, isFirstNavigation);
@@ -9126,9 +9159,9 @@ function createRouter(options) {
9126
9159
  function setupListeners() {
9127
9160
  if (removeHistoryListener) return;
9128
9161
  removeHistoryListener = routerHistory.listen((to, _from, info) => {
9129
- if (!router$1.listening) return;
9130
- const toLocation = resolve$1(to);
9131
- const shouldRedirect = handleRedirectRecord(toLocation, router$1.currentRoute.value);
9162
+ if (!router.listening) return;
9163
+ const toLocation = resolve(to);
9164
+ const shouldRedirect = handleRedirectRecord(toLocation, router.currentRoute.value);
9132
9165
  if (shouldRedirect) {
9133
9166
  pushWithRedirect(assign(shouldRedirect, {
9134
9167
  replace: true,
@@ -9171,15 +9204,15 @@ function createRouter(options) {
9171
9204
  }
9172
9205
  function isReady() {
9173
9206
  if (ready && currentRoute.value !== START_LOCATION_NORMALIZED) return Promise.resolve();
9174
- return new Promise((resolve$1$1, reject) => {
9175
- readyHandlers.add([resolve$1$1, reject]);
9207
+ return new Promise((resolve, reject) => {
9208
+ readyHandlers.add([resolve, reject]);
9176
9209
  });
9177
9210
  }
9178
9211
  function markAsReady(err) {
9179
9212
  if (!ready) {
9180
9213
  ready = !err;
9181
9214
  setupListeners();
9182
- readyHandlers.list().forEach(([resolve$1$1, reject]) => err ? reject(err) : resolve$1$1());
9215
+ readyHandlers.list().forEach(([resolve, reject]) => err ? reject(err) : resolve());
9183
9216
  readyHandlers.reset();
9184
9217
  }
9185
9218
  return err;
@@ -9193,7 +9226,7 @@ function createRouter(options) {
9193
9226
  const go = (delta) => routerHistory.go(delta);
9194
9227
  let started;
9195
9228
  const installedApps = /* @__PURE__ */ new Set();
9196
- const router$1 = {
9229
+ const router = {
9197
9230
  currentRoute,
9198
9231
  listening: true,
9199
9232
  addRoute,
@@ -9201,7 +9234,7 @@ function createRouter(options) {
9201
9234
  clearRoutes: matcher.clearRoutes,
9202
9235
  hasRoute,
9203
9236
  getRoutes,
9204
- resolve: resolve$1,
9237
+ resolve,
9205
9238
  options,
9206
9239
  push,
9207
9240
  replace,
@@ -9213,11 +9246,11 @@ function createRouter(options) {
9213
9246
  afterEach: afterGuards.add,
9214
9247
  onError: errorListeners.add,
9215
9248
  isReady,
9216
- install(app$1) {
9217
- app$1.component("RouterLink", RouterLink);
9218
- app$1.component("RouterView", RouterView);
9219
- app$1.config.globalProperties.$router = router$1;
9220
- Object.defineProperty(app$1.config.globalProperties, "$route", {
9249
+ install(app) {
9250
+ app.component("RouterLink", RouterLink);
9251
+ app.component("RouterView", RouterView);
9252
+ app.config.globalProperties.$router = router;
9253
+ Object.defineProperty(app.config.globalProperties, "$route", {
9221
9254
  enumerable: true,
9222
9255
  get: () => unref(currentRoute)
9223
9256
  });
@@ -9230,13 +9263,13 @@ function createRouter(options) {
9230
9263
  get: () => currentRoute.value[key],
9231
9264
  enumerable: true
9232
9265
  });
9233
- app$1.provide(routerKey, router$1);
9234
- app$1.provide(routeLocationKey, shallowReactive(reactiveRoute));
9235
- app$1.provide(routerViewLocationKey, currentRoute);
9236
- const unmountApp = app$1.unmount;
9237
- installedApps.add(app$1);
9238
- app$1.unmount = function() {
9239
- installedApps.delete(app$1);
9266
+ app.provide(routerKey, router);
9267
+ app.provide(routeLocationKey, /* @__PURE__ */ shallowReactive(reactiveRoute));
9268
+ app.provide(routerViewLocationKey, currentRoute);
9269
+ const unmountApp = app.unmount;
9270
+ installedApps.add(app);
9271
+ app.unmount = function() {
9272
+ installedApps.delete(app);
9240
9273
  if (installedApps.size < 1) {
9241
9274
  pendingLocation = START_LOCATION_NORMALIZED;
9242
9275
  removeHistoryListener && removeHistoryListener();
@@ -9252,7 +9285,7 @@ function createRouter(options) {
9252
9285
  function runGuardQueue(guards) {
9253
9286
  return guards.reduce((promise, guard) => promise.then(() => runWithContext(guard)), Promise.resolve());
9254
9287
  }
9255
- return router$1;
9288
+ return router;
9256
9289
  }
9257
9290
  var scriptRel = "modulepreload";
9258
9291
  var assetsURL = function(dep, importerUrl) {
@@ -9265,10 +9298,10 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
9265
9298
  const links = document.getElementsByTagName("link");
9266
9299
  const cspNonceMeta = document.querySelector("meta[property=csp-nonce]");
9267
9300
  const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce");
9268
- function allSettled(promises$2) {
9269
- return Promise.all(promises$2.map((p$2) => Promise.resolve(p$2).then((value$1) => ({
9301
+ function allSettled(promises) {
9302
+ return Promise.all(promises.map((p) => Promise.resolve(p).then((value) => ({
9270
9303
  status: "fulfilled",
9271
- value: value$1
9304
+ value
9272
9305
  }), (reason) => ({
9273
9306
  status: "rejected",
9274
9307
  reason
@@ -9280,9 +9313,9 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
9280
9313
  seen[dep] = true;
9281
9314
  const isCss = dep.endsWith(".css");
9282
9315
  const cssSelector = isCss ? "[rel=\"stylesheet\"]" : "";
9283
- if (!!importerUrl) for (let i$1 = links.length - 1; i$1 >= 0; i$1--) {
9284
- const link$1 = links[i$1];
9285
- if (link$1.href === dep && (!isCss || link$1.rel === "stylesheet")) return;
9316
+ if (!!importerUrl) for (let i = links.length - 1; i >= 0; i--) {
9317
+ const link = links[i];
9318
+ if (link.href === dep && (!isCss || link.rel === "stylesheet")) return;
9286
9319
  }
9287
9320
  else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) return;
9288
9321
  const link = document.createElement("link");
@@ -9298,11 +9331,11 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
9298
9331
  });
9299
9332
  }));
9300
9333
  }
9301
- function handlePreloadError(err$2) {
9302
- const e$1 = new Event("vite:preloadError", { cancelable: true });
9303
- e$1.payload = err$2;
9304
- window.dispatchEvent(e$1);
9305
- if (!e$1.defaultPrevented) throw err$2;
9334
+ function handlePreloadError(err) {
9335
+ const e = new Event("vite:preloadError", { cancelable: true });
9336
+ e.payload = err;
9337
+ window.dispatchEvent(e);
9338
+ if (!e.defaultPrevented) throw err;
9306
9339
  }
9307
9340
  return promise.then((res) => {
9308
9341
  for (const item of res || []) {
@@ -9312,15 +9345,33 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
9312
9345
  return baseModule().catch(handlePreloadError);
9313
9346
  });
9314
9347
  };
9315
- const routes = [{
9316
- path: "/",
9317
- name: "/",
9318
- component: () => __vitePreload(() => import("./pages-BdQpgtx4.js"), __vite__mapDeps([0,1]), import.meta.url)
9319
- }, {
9320
- path: "/server-router",
9321
- name: "/server-router",
9322
- component: () => __vitePreload(() => import("./server-router-BHD-n_Wi.js"), __vite__mapDeps([2,1,3]), import.meta.url)
9323
- }];
9348
+ const routes = [
9349
+ {
9350
+ path: "/",
9351
+ name: "/",
9352
+ component: () => __vitePreload(() => import("./pages-D4LiKgxN.js"), __vite__mapDeps([0,1,2,3,4]), import.meta.url)
9353
+ },
9354
+ {
9355
+ path: "/component",
9356
+ name: "/component",
9357
+ component: () => __vitePreload(() => import("./component-Qe9twpoz.js"), __vite__mapDeps([5,2,6,1,7,8]), import.meta.url)
9358
+ },
9359
+ {
9360
+ path: "/import",
9361
+ name: "/import",
9362
+ component: () => __vitePreload(() => import("./import-DV9l8S2T.js"), __vite__mapDeps([9,2,6,1,7,8]), import.meta.url)
9363
+ },
9364
+ {
9365
+ path: "/issue",
9366
+ name: "/issue",
9367
+ component: () => __vitePreload(() => import("./issue-MdUzHAB3.js"), __vite__mapDeps([10,1,3,11]), import.meta.url)
9368
+ },
9369
+ {
9370
+ path: "/server-router",
9371
+ name: "/server-router",
9372
+ component: () => __vitePreload(() => import("./server-router-DuEpkdvh.js"), __vite__mapDeps([12,1,2,6,7,3,13]), import.meta.url)
9373
+ }
9374
+ ];
9324
9375
  var _hoisted_1$1 = { class: "w-full h-full of-auto!" };
9325
9376
  var Layout_default = /* @__PURE__ */ defineComponent({
9326
9377
  name: "Layout",
@@ -9361,4 +9412,4 @@ var router = createRouter({
9361
9412
  app.use(router);
9362
9413
  app.use(Gt);
9363
9414
  app.mount("#app");
9364
- export { normalizeStyle as $, resolveComponent as A, effectScope as B, nextTick as C, provide as D, openBlock as E, watch as F, readonly as G, isRef as H, watchEffect as I, shallowRef as J, ref as K, withCtx as L, resolveDynamicComponent as M, useModel as N, renderList as O, useSlots as P, normalizeClass as Q, withDirectives as R, mergeProps as S, onMounted as T, onScopeDispose as U, getCurrentScope as V, reactive as W, toValue as X, toRef as Y, unref as Z, defineComponent as _, vModelDynamic as a, inject as b, Fragment as c, createBaseVNode as d, toDisplayString as et, createBlock as f, createVNode as g, createTextVNode as h, vModelCheckbox as i, resolveDirective as j, renderSlot as k, KeepAlive as l, createElementBlock as m, RouterLink as n, vModelSelect as o, createCommentVNode as p, shallowReadonly as q, Transition as r, withKeys as s, __vitePreload as t, computed as u, getCurrentInstance as v, onBeforeUnmount as w, mergeModels as x, h$2 as y, customRef as z };
9415
+ export { toRef as $, provide as A, withCtx as B, inject as C, onBeforeUnmount as D, nextTick as E, resolveDynamicComponent as F, isRef as G, customRef as H, useModel as I, readonly as J, onScopeDispose as K, useSlots as L, renderSlot as M, resolveComponent as N, onMounted as O, resolveDirective as P, toRaw as Q, watch as R, h$2 as S, mergeProps as T, effectScope as U, withDirectives as V, getCurrentScope as W, shallowReadonly as X, ref as Y, shallowRef as Z, createStaticVNode as _, vModelDynamic as a, defineComponent as b, vModelText as c, KeepAlive as d, toValue as et, computed as f, createElementBlock as g, createCommentVNode as h, vModelCheckbox as i, toDisplayString as it, renderList as j, openBlock as k, withKeys as l, createBlock as m, RouterLink as n, normalizeClass as nt, vModelRadio as o, createBaseVNode as p, reactive as q, Transition as r, normalizeStyle as rt, vModelSelect as s, __vitePreload as t, unref as tt, Fragment as u, createTextVNode as v, mergeModels as w, getCurrentInstance as x, createVNode as y, watchEffect as z };