@valaxyjs/devtools 0.22.7 → 0.22.8

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.
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-9_T8USRP.js","./splitpanes.es-Bj0Y5My3.js","./index-DKnSvpEK.css","./migration-CbwDNwNj.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BQkXqcq0.js","./splitpanes.es-D7KkGVRd.js","./index-DKnSvpEK.css","./migration-D_Kkfs-R.js"])))=>i.map(i=>d[i]);
2
2
  true&&(function polyfill() {
3
3
  const relList = document.createElement("link").relList;
4
4
  if (relList && relList.supports && relList.supports("modulepreload")) {
@@ -57,7 +57,7 @@ var __spreadValues$1 = (a, b) => {
57
57
 
58
58
  // src/object/methods/isEmpty.ts
59
59
  function isEmpty(value) {
60
- return value === null || value === undefined || value === "" || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && typeof value === "object" && Object.keys(value).length === 0;
60
+ return value === null || value === void 0 || value === "" || Array.isArray(value) && value.length === 0 || !(value instanceof Date) && typeof value === "object" && Object.keys(value).length === 0;
61
61
  }
62
62
 
63
63
  // src/object/methods/deepEquals.ts
@@ -174,7 +174,7 @@ function toFlatCase(str) {
174
174
  function getKeyValue(obj, key = "", params = {}) {
175
175
  const fKeys = toFlatCase(key).split(".");
176
176
  const fKey = fKeys.shift();
177
- return fKey ? isObject$3(obj) ? getKeyValue(resolve$1(obj[Object.keys(obj).find((k) => toFlatCase(k) === fKey) || ""], params), fKeys.join("."), params) : undefined : resolve$1(obj, params);
177
+ return fKey ? isObject$3(obj) ? getKeyValue(resolve$1(obj[Object.keys(obj).find((k) => toFlatCase(k) === fKey) || ""], params), fKeys.join("."), params) : void 0 : resolve$1(obj, params);
178
178
  }
179
179
 
180
180
  // src/object/methods/isArray.ts
@@ -189,7 +189,7 @@ function isNumber$1(value) {
189
189
 
190
190
  // src/object/methods/localeComparator.ts
191
191
  function localeComparator() {
192
- return new Intl.Collator(undefined, { numeric: true }).compare;
192
+ return new Intl.Collator(void 0, { numeric: true }).compare;
193
193
  }
194
194
 
195
195
  // src/object/methods/matchRegex.ts
@@ -339,7 +339,7 @@ function getVariableValue(value, variable = "", prefix = "", excludedKeyRegexes
339
339
  const regex = /{([^}]*)}/g;
340
340
  const val = value.trim();
341
341
  if (hasOddBraces(val)) {
342
- return undefined;
342
+ return void 0;
343
343
  } else if (matchRegex(val, regex)) {
344
344
  const _val = val.replaceAll(regex, (v) => {
345
345
  const path = v.replace(/{|}/g, "");
@@ -354,7 +354,7 @@ function getVariableValue(value, variable = "", prefix = "", excludedKeyRegexes
354
354
  } else if (isNumber$1(value)) {
355
355
  return value;
356
356
  }
357
- return undefined;
357
+ return void 0;
358
358
  }
359
359
  function setProperty(properties, key, value) {
360
360
  if (isString$2(key, false)) {
@@ -373,11 +373,11 @@ var dt = (...args) => {
373
373
  var dtwt = (theme = {}, tokenPath, fallback, type) => {
374
374
  if (tokenPath) {
375
375
  const { variable: VARIABLE, options: OPTIONS } = config_default.defaults || {};
376
- const { prefix, transform } = (theme == null ? undefined : theme.options) || OPTIONS || {};
376
+ const { prefix, transform } = (theme == null ? void 0 : theme.options) || OPTIONS || {};
377
377
  const regex = /{([^}]*)}/g;
378
378
  const token = matchRegex(tokenPath, regex) ? tokenPath : `{${tokenPath}}`;
379
379
  const isStrictTransform = type === "value" || isEmpty(type) && transform === "strict";
380
- return isStrictTransform ? config_default.getTokenValue(tokenPath) : getVariableValue(token, undefined, prefix, [VARIABLE.excludedKeyRegex], fallback);
380
+ return isStrictTransform ? config_default.getTokenValue(tokenPath) : getVariableValue(token, void 0, prefix, [VARIABLE.excludedKeyRegex], fallback);
381
381
  }
382
382
  return "";
383
383
  };
@@ -454,7 +454,7 @@ var themeUtils_default = {
454
454
  }
455
455
  },
456
456
  _toVariables(theme, options) {
457
- return toVariables_default(theme, { prefix: options == null ? undefined : options.prefix });
457
+ return toVariables_default(theme, { prefix: options == null ? void 0 : options.prefix });
458
458
  },
459
459
  getCommon({ name = "", theme = {}, params, set, defaults }) {
460
460
  var _e, _f, _g, _h, _i, _j, _k;
@@ -538,14 +538,14 @@ var themeUtils_default = {
538
538
  getPresetC({ name = "", theme = {}, params, set, defaults }) {
539
539
  var _a;
540
540
  const { preset, options } = theme;
541
- const cPreset = (_a = preset == null ? undefined : preset.components) == null ? undefined : _a[name];
541
+ const cPreset = (_a = preset == null ? void 0 : preset.components) == null ? void 0 : _a[name];
542
542
  return this.getPreset({ name, preset: cPreset, options, params, set, defaults });
543
543
  },
544
544
  getPresetD({ name = "", theme = {}, params, set, defaults }) {
545
545
  var _a;
546
546
  const dName = name.replace("-directive", "");
547
547
  const { preset, options } = theme;
548
- const dPreset = (_a = preset == null ? undefined : preset.directives) == null ? undefined : _a[dName];
548
+ const dPreset = (_a = preset == null ? void 0 : preset.directives) == null ? void 0 : _a[dName];
549
549
  return this.getPreset({ name: dName, preset: dPreset, options, params, set, defaults });
550
550
  },
551
551
  applyDarkColorScheme(options) {
@@ -567,8 +567,8 @@ var themeUtils_default = {
567
567
  const common = this.getCommon({ name, theme, params, set, defaults });
568
568
  const _props = Object.entries(props).reduce((acc, [k, v]) => acc.push(`${k}="${v}"`) && acc, []).join(" ");
569
569
  return Object.entries(common || {}).reduce((acc, [key, value]) => {
570
- if (value == null ? undefined : value.css) {
571
- const _css = minifyCSS(value == null ? undefined : value.css);
570
+ if (value == null ? void 0 : value.css) {
571
+ const _css = minifyCSS(value == null ? void 0 : value.css);
572
572
  const id = `${key}-variables`;
573
573
  acc.push(`<style type="text/css" data-primevue-style-id="${id}" ${_props}>${_css}</style>`);
574
574
  }
@@ -578,7 +578,7 @@ var themeUtils_default = {
578
578
  getStyleSheet({ name = "", theme = {}, params, props = {}, set, defaults }) {
579
579
  var _a;
580
580
  const options = { name, theme, params, set, defaults };
581
- const preset_css = (_a = name.includes("-directive") ? this.getPresetD(options) : this.getPresetC(options)) == null ? undefined : _a.css;
581
+ const preset_css = (_a = name.includes("-directive") ? this.getPresetD(options) : this.getPresetC(options)) == null ? void 0 : _a.css;
582
582
  const _props = Object.entries(props).reduce((acc, [k, v]) => acc.push(`${k}="${v}"`) && acc, []).join(" ");
583
583
  return preset_css ? `<style type="text/css" data-primevue-style-id="${name}-variables" ${_props}>${minifyCSS(preset_css)}</style>` : "";
584
584
  },
@@ -594,9 +594,9 @@ var themeUtils_default = {
594
594
  computed(colorScheme, tokenPathMap = {}) {
595
595
  var _a, _b;
596
596
  if (this.paths.length === 1) {
597
- return (_a = this.paths[0]) == null ? undefined : _a.computed(this.paths[0].scheme, tokenPathMap["binding"]);
597
+ return (_a = this.paths[0]) == null ? void 0 : _a.computed(this.paths[0].scheme, tokenPathMap["binding"]);
598
598
  } else if (colorScheme && colorScheme !== "none") {
599
- return (_b = this.paths.find((p) => p.scheme === colorScheme)) == null ? undefined : _b.computed(colorScheme, tokenPathMap["binding"]);
599
+ return (_b = this.paths.find((p) => p.scheme === colorScheme)) == null ? void 0 : _b.computed(colorScheme, tokenPathMap["binding"]);
600
600
  }
601
601
  return this.paths.map((p) => p.computed(p.scheme, tokenPathMap[p.scheme]));
602
602
  }
@@ -615,8 +615,8 @@ var themeUtils_default = {
615
615
  const _val = val.replaceAll(regex, (v) => {
616
616
  var _a;
617
617
  const path = v.replace(/{|}/g, "");
618
- const computed = (_a = tokens[path]) == null ? undefined : _a.computed(colorScheme, tokenPathMap);
619
- return isArray$3(computed) && computed.length === 2 ? `light-dark(${computed[0].value},${computed[1].value})` : computed == null ? undefined : computed.value;
618
+ const computed = (_a = tokens[path]) == null ? void 0 : _a.computed(colorScheme, tokenPathMap);
619
+ return isArray$3(computed) && computed.length === 2 ? `light-dark(${computed[0].value},${computed[1].value})` : computed == null ? void 0 : computed.value;
620
620
  });
621
621
  const calculationRegex = /(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g;
622
622
  const cleanedVarRegex = /var\([^)]+\)/g;
@@ -627,7 +627,7 @@ var themeUtils_default = {
627
627
  colorScheme,
628
628
  path: this.path,
629
629
  paths: tokenPathMap,
630
- value: computedValue.includes("undefined") ? undefined : computedValue
630
+ value: computedValue.includes("undefined") ? void 0 : computedValue
631
631
  };
632
632
  }
633
633
  });
@@ -642,13 +642,13 @@ var themeUtils_default = {
642
642
  return strArr.filter((s) => !matchRegex(s.toLowerCase(), defaults.variable.excludedKeyRegex)).join(".");
643
643
  };
644
644
  const token = normalizePath(path);
645
- const colorScheme = path.includes("colorScheme.light") ? "light" : path.includes("colorScheme.dark") ? "dark" : undefined;
646
- const computedValues = [(_a = tokens[token]) == null ? undefined : _a.computed(colorScheme)].flat().filter((computed) => computed);
645
+ const colorScheme = path.includes("colorScheme.light") ? "light" : path.includes("colorScheme.dark") ? "dark" : void 0;
646
+ const computedValues = [(_a = tokens[token]) == null ? void 0 : _a.computed(colorScheme)].flat().filter((computed) => computed);
647
647
  return computedValues.length === 1 ? computedValues[0].value : computedValues.reduce((acc = {}, computed) => {
648
648
  const _a2 = computed, { colorScheme: cs } = _a2, rest = __objRest(_a2, ["colorScheme"]);
649
649
  acc[cs] = rest;
650
650
  return acc;
651
- }, undefined);
651
+ }, void 0);
652
652
  },
653
653
  getSelectorRule(selector1, selector2, type, css2) {
654
654
  return type === "class" || type === "attr" ? getRule(isNotEmpty(selector2) ? `${selector1}${selector2},${selector1} ${selector2}` : selector1, css2) : getRule(selector1, isNotEmpty(selector2) ? getRule(selector2, css2) : css2);
@@ -667,13 +667,11 @@ var themeUtils_default = {
667
667
  }
668
668
  if (cssLayer) {
669
669
  const layerOptions = {
670
- name: "primeui",
671
- order: "primeui"
672
- };
670
+ name: "primeui"};
673
671
  isObject$3(cssLayer) && (layerOptions.name = resolve$1(cssLayer.name, { name, type }));
674
672
  if (isNotEmpty(layerOptions.name)) {
675
673
  css2 = getRule(`@layer ${layerOptions.name}`, css2);
676
- set == null ? undefined : set.layerNames(layerOptions.name);
674
+ set == null ? void 0 : set.layerNames(layerOptions.name);
677
675
  }
678
676
  }
679
677
  return css2;
@@ -696,7 +694,7 @@ var config_default = {
696
694
  cssLayer: false
697
695
  }
698
696
  },
699
- _theme: undefined,
697
+ _theme: void 0,
700
698
  _layerNames: /* @__PURE__ */ new Set(),
701
699
  _loadedStyleNames: /* @__PURE__ */ new Set(),
702
700
  _loadingStyles: /* @__PURE__ */ new Set(),
@@ -716,11 +714,11 @@ var config_default = {
716
714
  },
717
715
  get preset() {
718
716
  var _a;
719
- return ((_a = this.theme) == null ? undefined : _a.preset) || {};
717
+ return ((_a = this.theme) == null ? void 0 : _a.preset) || {};
720
718
  },
721
719
  get options() {
722
720
  var _a;
723
- return ((_a = this.theme) == null ? undefined : _a.options) || {};
721
+ return ((_a = this.theme) == null ? void 0 : _a.options) || {};
724
722
  },
725
723
  get tokens() {
726
724
  return this._tokens;
@@ -6398,7 +6396,7 @@ function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
6398
6396
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty$3(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6399
6397
  function _defineProperty$3(e, r, t) { return (r = _toPropertyKey$3(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
6400
6398
  function _toPropertyKey$3(t) { var i = _toPrimitive$3(t, "string"); return "symbol" == _typeof$3(i) ? i : i + ""; }
6401
- function _toPrimitive$3(t, r) { if ("object" != _typeof$3(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (undefined !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$3(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6399
+ function _toPrimitive$3(t, r) { if ("object" != _typeof$3(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof$3(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6402
6400
  var index = _objectSpread$3(_objectSpread$3({}, index$1l), {}, {
6403
6401
  components: {
6404
6402
  accordion: index$1p,
@@ -6851,7 +6849,7 @@ class EffectScope {
6851
6849
  last.index = this.index;
6852
6850
  }
6853
6851
  }
6854
- this.parent = undefined;
6852
+ this.parent = void 0;
6855
6853
  }
6856
6854
  }
6857
6855
  }
@@ -6871,12 +6869,12 @@ const pausedQueueEffects = /* @__PURE__ */ new WeakSet();
6871
6869
  class ReactiveEffect {
6872
6870
  constructor(fn) {
6873
6871
  this.fn = fn;
6874
- this.deps = undefined;
6875
- this.depsTail = undefined;
6872
+ this.deps = void 0;
6873
+ this.depsTail = void 0;
6876
6874
  this.flags = 1 | 4;
6877
- this.next = undefined;
6878
- this.cleanup = undefined;
6879
- this.scheduler = undefined;
6875
+ this.next = void 0;
6876
+ this.cleanup = void 0;
6877
+ this.scheduler = void 0;
6880
6878
  if (activeEffectScope && activeEffectScope.active) {
6881
6879
  activeEffectScope.effects.push(this);
6882
6880
  }
@@ -6929,7 +6927,7 @@ class ReactiveEffect {
6929
6927
  for (let link = this.deps; link; link = link.nextDep) {
6930
6928
  removeSub(link);
6931
6929
  }
6932
- this.deps = this.depsTail = undefined;
6930
+ this.deps = this.depsTail = void 0;
6933
6931
  cleanupEffect(this);
6934
6932
  this.onStop && this.onStop();
6935
6933
  this.flags &= -2;
@@ -6978,10 +6976,10 @@ function endBatch() {
6978
6976
  }
6979
6977
  if (batchedComputed) {
6980
6978
  let e = batchedComputed;
6981
- batchedComputed = undefined;
6979
+ batchedComputed = void 0;
6982
6980
  while (e) {
6983
6981
  const next = e.next;
6984
- e.next = undefined;
6982
+ e.next = void 0;
6985
6983
  e.flags &= -9;
6986
6984
  e = next;
6987
6985
  }
@@ -6989,10 +6987,10 @@ function endBatch() {
6989
6987
  let error;
6990
6988
  while (batchedSub) {
6991
6989
  let e = batchedSub;
6992
- batchedSub = undefined;
6990
+ batchedSub = void 0;
6993
6991
  while (e) {
6994
6992
  const next = e.next;
6995
- e.next = undefined;
6993
+ e.next = void 0;
6996
6994
  e.flags &= -9;
6997
6995
  if (e.flags & 1) {
6998
6996
  try {
@@ -7028,7 +7026,7 @@ function cleanupDeps(sub) {
7028
7026
  head = link;
7029
7027
  }
7030
7028
  link.dep.activeLink = link.prevActiveLink;
7031
- link.prevActiveLink = undefined;
7029
+ link.prevActiveLink = void 0;
7032
7030
  link = prev;
7033
7031
  }
7034
7032
  sub.deps = head;
@@ -7085,11 +7083,11 @@ function removeSub(link, soft = false) {
7085
7083
  const { dep, prevSub, nextSub } = link;
7086
7084
  if (prevSub) {
7087
7085
  prevSub.nextSub = nextSub;
7088
- link.prevSub = undefined;
7086
+ link.prevSub = void 0;
7089
7087
  }
7090
7088
  if (nextSub) {
7091
7089
  nextSub.prevSub = prevSub;
7092
- link.nextSub = undefined;
7090
+ link.nextSub = void 0;
7093
7091
  }
7094
7092
  if (dep.subs === link) {
7095
7093
  dep.subs = prevSub;
@@ -7108,11 +7106,11 @@ function removeDep(link) {
7108
7106
  const { prevDep, nextDep } = link;
7109
7107
  if (prevDep) {
7110
7108
  prevDep.nextDep = nextDep;
7111
- link.prevDep = undefined;
7109
+ link.prevDep = void 0;
7112
7110
  }
7113
7111
  if (nextDep) {
7114
7112
  nextDep.prevDep = prevDep;
7115
- link.nextDep = undefined;
7113
+ link.nextDep = void 0;
7116
7114
  }
7117
7115
  }
7118
7116
  let shouldTrack = true;
@@ -7123,14 +7121,14 @@ function pauseTracking() {
7123
7121
  }
7124
7122
  function resetTracking() {
7125
7123
  const last = trackStack.pop();
7126
- shouldTrack = last === undefined ? true : last;
7124
+ shouldTrack = last === void 0 ? true : last;
7127
7125
  }
7128
7126
  function cleanupEffect(e) {
7129
7127
  const { cleanup } = e;
7130
- e.cleanup = undefined;
7128
+ e.cleanup = void 0;
7131
7129
  if (cleanup) {
7132
7130
  const prevSub = activeSub;
7133
- activeSub = undefined;
7131
+ activeSub = void 0;
7134
7132
  try {
7135
7133
  cleanup();
7136
7134
  } finally {
@@ -7144,17 +7142,17 @@ class Link {
7144
7142
  this.sub = sub;
7145
7143
  this.dep = dep;
7146
7144
  this.version = dep.version;
7147
- this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = undefined;
7145
+ this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
7148
7146
  }
7149
7147
  }
7150
7148
  class Dep {
7151
7149
  constructor(computed2) {
7152
7150
  this.computed = computed2;
7153
7151
  this.version = 0;
7154
- this.activeLink = undefined;
7155
- this.subs = undefined;
7156
- this.map = undefined;
7157
- this.key = undefined;
7152
+ this.activeLink = void 0;
7153
+ this.subs = void 0;
7154
+ this.map = void 0;
7155
+ this.key = void 0;
7158
7156
  this.sc = 0;
7159
7157
  }
7160
7158
  track(debugInfo) {
@@ -7162,7 +7160,7 @@ class Dep {
7162
7160
  return;
7163
7161
  }
7164
7162
  let link = this.activeLink;
7165
- if (link === undefined || link.sub !== activeSub) {
7163
+ if (link === void 0 || link.sub !== activeSub) {
7166
7164
  link = this.activeLink = new Link(activeSub, this);
7167
7165
  if (!activeSub.deps) {
7168
7166
  activeSub.deps = activeSub.depsTail = link;
@@ -7181,7 +7179,7 @@ class Dep {
7181
7179
  link.prevDep.nextDep = next;
7182
7180
  }
7183
7181
  link.prevDep = activeSub.depsTail;
7184
- link.nextDep = undefined;
7182
+ link.nextDep = void 0;
7185
7183
  activeSub.depsTail.nextDep = link;
7186
7184
  activeSub.depsTail = link;
7187
7185
  if (activeSub.deps === link) {
@@ -7283,7 +7281,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
7283
7281
  }
7284
7282
  });
7285
7283
  } else {
7286
- if (key !== undefined || depsMap.has(undefined)) {
7284
+ if (key !== void 0 || depsMap.has(void 0)) {
7287
7285
  run(depsMap.get(key));
7288
7286
  }
7289
7287
  if (isArrayIndex) {
@@ -7349,7 +7347,7 @@ const arrayInstrumentations = {
7349
7347
  });
7350
7348
  },
7351
7349
  every(fn, thisArg) {
7352
- return apply$1(this, "every", fn, thisArg, undefined, arguments);
7350
+ return apply$1(this, "every", fn, thisArg, void 0, arguments);
7353
7351
  },
7354
7352
  filter(fn, thisArg) {
7355
7353
  return apply$1(this, "filter", fn, thisArg, (v) => v.map(toReactive), arguments);
@@ -7358,17 +7356,17 @@ const arrayInstrumentations = {
7358
7356
  return apply$1(this, "find", fn, thisArg, toReactive, arguments);
7359
7357
  },
7360
7358
  findIndex(fn, thisArg) {
7361
- return apply$1(this, "findIndex", fn, thisArg, undefined, arguments);
7359
+ return apply$1(this, "findIndex", fn, thisArg, void 0, arguments);
7362
7360
  },
7363
7361
  findLast(fn, thisArg) {
7364
7362
  return apply$1(this, "findLast", fn, thisArg, toReactive, arguments);
7365
7363
  },
7366
7364
  findLastIndex(fn, thisArg) {
7367
- return apply$1(this, "findLastIndex", fn, thisArg, undefined, arguments);
7365
+ return apply$1(this, "findLastIndex", fn, thisArg, void 0, arguments);
7368
7366
  },
7369
7367
  // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
7370
7368
  forEach(fn, thisArg) {
7371
- return apply$1(this, "forEach", fn, thisArg, undefined, arguments);
7369
+ return apply$1(this, "forEach", fn, thisArg, void 0, arguments);
7372
7370
  },
7373
7371
  includes(...args) {
7374
7372
  return searchProxy(this, "includes", args);
@@ -7384,7 +7382,7 @@ const arrayInstrumentations = {
7384
7382
  return searchProxy(this, "lastIndexOf", args);
7385
7383
  },
7386
7384
  map(fn, thisArg) {
7387
- return apply$1(this, "map", fn, thisArg, undefined, arguments);
7385
+ return apply$1(this, "map", fn, thisArg, void 0, arguments);
7388
7386
  },
7389
7387
  pop() {
7390
7388
  return noTracking(this, "pop");
@@ -7403,7 +7401,7 @@ const arrayInstrumentations = {
7403
7401
  },
7404
7402
  // slice could use ARRAY_ITERATE but also seems to beg for range tracking
7405
7403
  some(fn, thisArg) {
7406
- return apply$1(this, "some", fn, thisArg, undefined, arguments);
7404
+ return apply$1(this, "some", fn, thisArg, void 0, arguments);
7407
7405
  },
7408
7406
  splice(...args) {
7409
7407
  return noTracking(this, "splice", args);
@@ -7607,7 +7605,7 @@ class MutableReactiveHandler extends BaseReactiveHandler {
7607
7605
  target[key];
7608
7606
  const result = Reflect.deleteProperty(target, key);
7609
7607
  if (result && hadKey) {
7610
- trigger(target, "delete", key, undefined);
7608
+ trigger(target, "delete", key, void 0);
7611
7609
  }
7612
7610
  return result;
7613
7611
  }
@@ -7676,7 +7674,7 @@ function createIterableMethod(method, isReadonly2, isShallow2) {
7676
7674
  }
7677
7675
  function createReadonlyMethod(type) {
7678
7676
  return function(...args) {
7679
- return type === "delete" ? false : type === "clear" ? undefined : this;
7677
+ return type === "delete" ? false : type === "clear" ? void 0 : this;
7680
7678
  };
7681
7679
  }
7682
7680
  function createInstrumentations(readonly2, shallow) {
@@ -7778,10 +7776,10 @@ function createInstrumentations(readonly2, shallow) {
7778
7776
  key = toRaw(key);
7779
7777
  hadKey = has.call(target, key);
7780
7778
  }
7781
- get ? get.call(target, key) : undefined;
7779
+ get ? get.call(target, key) : void 0;
7782
7780
  const result = target.delete(key);
7783
7781
  if (hadKey) {
7784
- trigger(target, "delete", key, undefined);
7782
+ trigger(target, "delete", key, void 0);
7785
7783
  }
7786
7784
  return result;
7787
7785
  },
@@ -7793,8 +7791,8 @@ function createInstrumentations(readonly2, shallow) {
7793
7791
  trigger(
7794
7792
  target,
7795
7793
  "clear",
7796
- undefined,
7797
- undefined);
7794
+ void 0,
7795
+ void 0);
7798
7796
  }
7799
7797
  return result;
7800
7798
  }
@@ -8013,7 +8011,7 @@ function proxyRefs(objectWithRefs) {
8013
8011
  class CustomRefImpl {
8014
8012
  constructor(factory) {
8015
8013
  this["__v_isRef"] = true;
8016
- this._value = undefined;
8014
+ this._value = void 0;
8017
8015
  const dep = this.dep = new Dep();
8018
8016
  const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));
8019
8017
  this._get = get;
@@ -8035,11 +8033,11 @@ class ObjectRefImpl {
8035
8033
  this._key = _key;
8036
8034
  this._defaultValue = _defaultValue;
8037
8035
  this["__v_isRef"] = true;
8038
- this._value = undefined;
8036
+ this._value = void 0;
8039
8037
  }
8040
8038
  get value() {
8041
8039
  const val = this._object[this._key];
8042
- return this._value = val === undefined ? this._defaultValue : val;
8040
+ return this._value = val === void 0 ? this._defaultValue : val;
8043
8041
  }
8044
8042
  set value(newVal) {
8045
8043
  this._object[this._key] = newVal;
@@ -8053,7 +8051,7 @@ class GetterRefImpl {
8053
8051
  this._getter = _getter;
8054
8052
  this["__v_isRef"] = true;
8055
8053
  this["__v_isReadonly"] = true;
8056
- this._value = undefined;
8054
+ this._value = void 0;
8057
8055
  }
8058
8056
  get value() {
8059
8057
  return this._value = this._getter();
@@ -8078,14 +8076,14 @@ class ComputedRefImpl {
8078
8076
  constructor(fn, setter, isSSR) {
8079
8077
  this.fn = fn;
8080
8078
  this.setter = setter;
8081
- this._value = undefined;
8079
+ this._value = void 0;
8082
8080
  this.dep = new Dep(this);
8083
8081
  this.__v_isRef = true;
8084
- this.deps = undefined;
8085
- this.depsTail = undefined;
8082
+ this.deps = void 0;
8083
+ this.depsTail = void 0;
8086
8084
  this.flags = 16;
8087
8085
  this.globalVersion = globalVersion - 1;
8088
- this.next = undefined;
8086
+ this.next = void 0;
8089
8087
  this.effect = this;
8090
8088
  this["__v_isReadonly"] = !setter;
8091
8089
  this.isSSR = isSSR;
@@ -8129,7 +8127,7 @@ function computed$1(getterOrOptions, debugOptions, isSSR = false) {
8129
8127
  }
8130
8128
  const INITIAL_WATCHER_VALUE = {};
8131
8129
  const cleanupMap = /* @__PURE__ */ new WeakMap();
8132
- let activeWatcher = undefined;
8130
+ let activeWatcher = void 0;
8133
8131
  function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {
8134
8132
  if (owner) {
8135
8133
  let cleanups = cleanupMap.get(owner);
@@ -8337,7 +8335,7 @@ function warn$1(msg, ...args) {
8337
8335
  // eslint-disable-next-line no-restricted-syntax
8338
8336
  msg + args.map((a) => {
8339
8337
  var _a, _b;
8340
- return (_b = (_a = a.toString) == null ? undefined : _a.call(a)) != null ? _b : JSON.stringify(a);
8338
+ return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);
8341
8339
  }).join(""),
8342
8340
  instance && instance.proxy,
8343
8341
  trace.map(
@@ -8680,7 +8678,7 @@ function withDirectives(vnode, directives) {
8680
8678
  dir,
8681
8679
  instance,
8682
8680
  value,
8683
- oldValue: undefined,
8681
+ oldValue: void 0,
8684
8682
  arg,
8685
8683
  modifiers
8686
8684
  });
@@ -9120,7 +9118,7 @@ const BaseTransitionImpl = {
9120
9118
  instance.update();
9121
9119
  }
9122
9120
  delete leavingHooks.afterLeave;
9123
- oldInnerChild = undefined;
9121
+ oldInnerChild = void 0;
9124
9122
  };
9125
9123
  return emptyPlaceholder(child);
9126
9124
  } else if (mode === "in-out" && innerChild.type !== Comment) {
@@ -9132,21 +9130,21 @@ const BaseTransitionImpl = {
9132
9130
  leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;
9133
9131
  el[leaveCbKey] = () => {
9134
9132
  earlyRemove();
9135
- el[leaveCbKey] = undefined;
9133
+ el[leaveCbKey] = void 0;
9136
9134
  delete enterHooks.delayedLeave;
9137
- oldInnerChild = undefined;
9135
+ oldInnerChild = void 0;
9138
9136
  };
9139
9137
  enterHooks.delayedLeave = () => {
9140
9138
  delayedLeave();
9141
9139
  delete enterHooks.delayedLeave;
9142
- oldInnerChild = undefined;
9140
+ oldInnerChild = void 0;
9143
9141
  };
9144
9142
  };
9145
9143
  } else {
9146
- oldInnerChild = undefined;
9144
+ oldInnerChild = void 0;
9147
9145
  }
9148
9146
  } else if (oldInnerChild) {
9149
- oldInnerChild = undefined;
9147
+ oldInnerChild = void 0;
9150
9148
  }
9151
9149
  return child;
9152
9150
  };
@@ -9260,7 +9258,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
9260
9258
  if (hooks.delayedLeave) {
9261
9259
  hooks.delayedLeave();
9262
9260
  }
9263
- el[enterCbKey] = undefined;
9261
+ el[enterCbKey] = void 0;
9264
9262
  };
9265
9263
  if (hook) {
9266
9264
  callAsyncHook(hook, [el, done]);
@@ -9290,7 +9288,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
9290
9288
  } else {
9291
9289
  callHook2(onAfterLeave, [el]);
9292
9290
  }
9293
- el[leaveCbKey] = undefined;
9291
+ el[leaveCbKey] = void 0;
9294
9292
  if (leavingVNodesCache[key2] === vnode) {
9295
9293
  delete leavingVNodesCache[key2];
9296
9294
  }
@@ -9615,20 +9613,20 @@ function renderList(source, renderItem, cache, index) {
9615
9613
  ret[i] = renderItem(
9616
9614
  needsWrap ? toReactive(source[i]) : source[i],
9617
9615
  i,
9618
- undefined,
9616
+ void 0,
9619
9617
  cached
9620
9618
  );
9621
9619
  }
9622
9620
  } else if (typeof source === "number") {
9623
9621
  ret = new Array(source);
9624
9622
  for (let i = 0; i < source; i++) {
9625
- ret[i] = renderItem(i + 1, i, undefined, cached);
9623
+ ret[i] = renderItem(i + 1, i, void 0, cached);
9626
9624
  }
9627
9625
  } else if (isObject$2(source)) {
9628
9626
  if (source[Symbol.iterator]) {
9629
9627
  ret = Array.from(
9630
9628
  source,
9631
- (item, i) => renderItem(item, i, undefined, cached)
9629
+ (item, i) => renderItem(item, i, void 0, cached)
9632
9630
  );
9633
9631
  } else {
9634
9632
  const keys = Object.keys(source);
@@ -9750,7 +9748,7 @@ const PublicInstanceProxyHandlers = {
9750
9748
  let normalizedProps;
9751
9749
  if (key[0] !== "$") {
9752
9750
  const n = accessCache[key];
9753
- if (n !== undefined) {
9751
+ if (n !== void 0) {
9754
9752
  switch (n) {
9755
9753
  case 1:
9756
9754
  return setupState[key];
@@ -10190,8 +10188,8 @@ function createAppContext() {
10190
10188
  performance: false,
10191
10189
  globalProperties: {},
10192
10190
  optionMergeStrategies: {},
10193
- errorHandler: undefined,
10194
- warnHandler: undefined,
10191
+ errorHandler: void 0,
10192
+ warnHandler: void 0,
10195
10193
  compilerOptions: {}
10196
10194
  },
10197
10195
  mixins: [],
@@ -10268,7 +10266,7 @@ function createAppAPI(render, hydrate) {
10268
10266
  if (namespace === true) {
10269
10267
  namespace = "svg";
10270
10268
  } else if (namespace === false) {
10271
- namespace = undefined;
10269
+ namespace = void 0;
10272
10270
  }
10273
10271
  {
10274
10272
  render(vnode, rootContainer, namespace);
@@ -10324,7 +10322,7 @@ function provide(key, value) {
10324
10322
  function inject(key, defaultValue, treatDefaultAsFactory = false) {
10325
10323
  const instance = currentInstance || currentRenderingInstance;
10326
10324
  if (instance || currentApp) {
10327
- const provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : undefined;
10325
+ const provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
10328
10326
  if (provides && key in provides) {
10329
10327
  return provides[key];
10330
10328
  } else if (arguments.length > 1) {
@@ -10342,7 +10340,7 @@ function initProps(instance, rawProps, isStateful, isSSR = false) {
10342
10340
  setFullProps(instance, rawProps, props, attrs);
10343
10341
  for (const key in instance.propsOptions[0]) {
10344
10342
  if (!(key in props)) {
10345
- props[key] = undefined;
10343
+ props[key] = void 0;
10346
10344
  }
10347
10345
  }
10348
10346
  if (isStateful) {
@@ -10416,13 +10414,13 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
10416
10414
  ((kebabKey = hyphenate(key)) === key || !hasOwn$1(rawProps, kebabKey))) {
10417
10415
  if (options) {
10418
10416
  if (rawPrevProps && // for camelCase
10419
- (rawPrevProps[key] !== undefined || // for kebab-case
10420
- rawPrevProps[kebabKey] !== undefined)) {
10417
+ (rawPrevProps[key] !== void 0 || // for kebab-case
10418
+ rawPrevProps[kebabKey] !== void 0)) {
10421
10419
  props[key] = resolvePropValue(
10422
10420
  options,
10423
10421
  rawCurrentProps,
10424
10422
  key,
10425
- undefined,
10423
+ void 0,
10426
10424
  instance,
10427
10425
  true
10428
10426
  );
@@ -10491,7 +10489,7 @@ function resolvePropValue(options, props, key, value, instance, isAbsent) {
10491
10489
  const opt = options[key];
10492
10490
  if (opt != null) {
10493
10491
  const hasDefault = hasOwn$1(opt, "default");
10494
- if (hasDefault && value === undefined) {
10492
+ if (hasDefault && value === void 0) {
10495
10493
  const defaultValue = opt.default;
10496
10494
  if (opt.type !== Function && !opt.skipFactory && isFunction$1(defaultValue)) {
10497
10495
  const { propsDefaults } = instance;
@@ -10721,7 +10719,7 @@ function baseCreateRenderer(options, createHydrationFns) {
10721
10719
  setScopeId: hostSetScopeId = NOOP,
10722
10720
  insertStaticContent: hostInsertStaticContent
10723
10721
  } = options;
10724
- const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = undefined, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
10722
+ const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = void 0, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
10725
10723
  if (n1 === n2) {
10726
10724
  return;
10727
10725
  }
@@ -11627,7 +11625,7 @@ function baseCreateRenderer(options, createHydrationFns) {
11627
11625
  }
11628
11626
  }
11629
11627
  }
11630
- if (newIndex === undefined) {
11628
+ if (newIndex === void 0) {
11631
11629
  unmount(prevChild, parentComponent, parentSuspense, true);
11632
11630
  } else {
11633
11631
  newIndexToOldIndexMap[newIndex - s2] = i + 1;
@@ -11748,7 +11746,7 @@ function baseCreateRenderer(options, createHydrationFns) {
11748
11746
  setRef(ref3, null, parentSuspense, vnode, true);
11749
11747
  }
11750
11748
  if (cacheIndex != null) {
11751
- parentComponent.renderCache[cacheIndex] = undefined;
11749
+ parentComponent.renderCache[cacheIndex] = void 0;
11752
11750
  }
11753
11751
  if (shapeFlag & 256) {
11754
11752
  parentComponent.ctx.deactivate(vnode);
@@ -11931,7 +11929,7 @@ function baseCreateRenderer(options, createHydrationFns) {
11931
11929
  };
11932
11930
  }
11933
11931
  function resolveChildrenNamespace({ type, props }, currentNamespace) {
11934
- return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? undefined : currentNamespace;
11932
+ return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
11935
11933
  }
11936
11934
  function toggleRecurse({ effect: effect2, job }, allowed) {
11937
11935
  if (allowed) {
@@ -12229,7 +12227,7 @@ function emit(instance, event, ...rawArgs) {
12229
12227
  function normalizeEmitsOptions(comp, appContext, asMixin = false) {
12230
12228
  const cache = appContext.emitsCache;
12231
12229
  const cached = cache.get(comp);
12232
- if (cached !== undefined) {
12230
+ if (cached !== void 0) {
12233
12231
  return cached;
12234
12232
  }
12235
12233
  const raw = comp.emits;
@@ -12950,7 +12948,7 @@ function setupComponent(instance, isSSR = false, optimized = false) {
12950
12948
  const isStateful = isStatefulComponent(instance);
12951
12949
  initProps(instance, props, isStateful, isSSR);
12952
12950
  initSlots(instance, children, optimized);
12953
- const setupResult = isStateful ? setupStatefulComponent(instance, isSSR) : undefined;
12951
+ const setupResult = isStateful ? setupStatefulComponent(instance, isSSR) : void 0;
12954
12952
  isSSR && setInSSRSetupState(false);
12955
12953
  return setupResult;
12956
12954
  }
@@ -13124,7 +13122,7 @@ const version = "3.5.13";
13124
13122
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
13125
13123
  * @license MIT
13126
13124
  **/
13127
- let policy = undefined;
13125
+ let policy = void 0;
13128
13126
  const tt = typeof window !== "undefined" && window.trustedTypes;
13129
13127
  if (tt) {
13130
13128
  try {
@@ -13348,11 +13346,11 @@ function resolveTransitionProps(rawProps) {
13348
13346
  callHook(onLeave, [el, resolve]);
13349
13347
  },
13350
13348
  onEnterCancelled(el) {
13351
- finishEnter(el, false, undefined, true);
13349
+ finishEnter(el, false, void 0, true);
13352
13350
  callHook(onEnterCancelled, [el]);
13353
13351
  },
13354
13352
  onAppearCancelled(el) {
13355
- finishEnter(el, true, undefined, true);
13353
+ finishEnter(el, true, void 0, true);
13356
13354
  callHook(onAppearCancelled, [el]);
13357
13355
  },
13358
13356
  onLeaveCancelled(el) {
@@ -13385,7 +13383,7 @@ function removeTransitionClass(el, cls) {
13385
13383
  if (_vtc) {
13386
13384
  _vtc.delete(cls);
13387
13385
  if (!_vtc.size) {
13388
- el[vtcKey] = undefined;
13386
+ el[vtcKey] = void 0;
13389
13387
  }
13390
13388
  }
13391
13389
  }
@@ -13709,7 +13707,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
13709
13707
  addEventListener(el, name, invoker, options);
13710
13708
  } else if (existingInvoker) {
13711
13709
  removeEventListener(el, name, existingInvoker, options);
13712
- invokers[rawName] = undefined;
13710
+ invokers[rawName] = void 0;
13713
13711
  }
13714
13712
  }
13715
13713
  }
@@ -14022,7 +14020,7 @@ function normalizeContainer(container) {
14022
14020
  /* Injected with object hook! */
14023
14021
 
14024
14022
  /*!
14025
- * pinia v2.3.1
14023
+ * pinia v3.0.1
14026
14024
  * (c) 2025 Eduardo San Martin Morote
14027
14025
  * @license MIT
14028
14026
  */
@@ -14043,16 +14041,14 @@ function createPinia() {
14043
14041
  let toBeInstalled = [];
14044
14042
  const pinia = markRaw({
14045
14043
  install(app) {
14046
- {
14047
- pinia._a = app;
14048
- app.provide(piniaSymbol, pinia);
14049
- app.config.globalProperties.$pinia = pinia;
14050
- toBeInstalled.forEach((plugin) => _p.push(plugin));
14051
- toBeInstalled = [];
14052
- }
14044
+ pinia._a = app;
14045
+ app.provide(piniaSymbol, pinia);
14046
+ app.config.globalProperties.$pinia = pinia;
14047
+ toBeInstalled.forEach((plugin) => _p.push(plugin));
14048
+ toBeInstalled = [];
14053
14049
  },
14054
14050
  use(plugin) {
14055
- if (!this._a && true) {
14051
+ if (!this._a) {
14056
14052
  toBeInstalled.push(plugin);
14057
14053
  } else {
14058
14054
  _p.push(plugin);
@@ -14096,7 +14092,7 @@ function addClass(element, className) {
14096
14092
 
14097
14093
  // src/dom/methods/getCSSVariableByRegex.ts
14098
14094
  function getCSSVariableByRegex(variableRegex) {
14099
- for (const sheet of document == null ? undefined : document.styleSheets) {
14095
+ for (const sheet of document == null ? void 0 : document.styleSheets) {
14100
14096
  try {
14101
14097
  for (const rule of sheet == null ? void 0 : sheet.cssRules) {
14102
14098
  for (const property of rule == null ? void 0 : rule.style) {
@@ -14182,7 +14178,7 @@ function absolutePosition(element, target, gutter = true) {
14182
14178
  element.style.top = top + "px";
14183
14179
  element.style.left = left + "px";
14184
14180
  element.style.transformOrigin = origin;
14185
- gutter && (element.style.marginTop = origin === "bottom" ? `calc(${(_b = (_a = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? undefined : _a.value) != null ? _b : "2px"} * -1)` : (_d = (_c = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? undefined : _c.value) != null ? _d : "");
14181
+ gutter && (element.style.marginTop = origin === "bottom" ? `calc(${(_b = (_a = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? void 0 : _a.value) != null ? _b : "2px"} * -1)` : (_d = (_c = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? void 0 : _c.value) != null ? _d : "");
14186
14182
  }
14187
14183
  }
14188
14184
 
@@ -14234,7 +14230,7 @@ function relativePosition(element, target, gutter = true) {
14234
14230
  element.style.top = top + "px";
14235
14231
  element.style.left = left + "px";
14236
14232
  element.style.transformOrigin = origin;
14237
- gutter && (element.style.marginTop = origin === "bottom" ? `calc(${(_b = (_a = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? undefined : _a.value) != null ? _b : "2px"} * -1)` : (_d = (_c = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? undefined : _c.value) != null ? _d : "");
14233
+ gutter && (element.style.marginTop = origin === "bottom" ? `calc(${(_b = (_a = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? void 0 : _a.value) != null ? _b : "2px"} * -1)` : (_d = (_c = getCSSVariableByRegex(/-anchor-gutter$/)) == null ? void 0 : _c.value) != null ? _d : "");
14238
14234
  }
14239
14235
  }
14240
14236
 
@@ -14260,14 +14256,14 @@ function setAttributes(element, attributes = {}) {
14260
14256
  if (isElement(element)) {
14261
14257
  const computedStyles = (rule, value) => {
14262
14258
  var _a, _b;
14263
- const styles = ((_a = element == null ? undefined : element.$attrs) == null ? undefined : _a[rule]) ? [(_b = element == null ? undefined : element.$attrs) == null ? undefined : _b[rule]] : [];
14259
+ const styles = ((_a = element == null ? void 0 : element.$attrs) == null ? void 0 : _a[rule]) ? [(_b = element == null ? void 0 : element.$attrs) == null ? void 0 : _b[rule]] : [];
14264
14260
  return [value].flat().reduce((cv, v) => {
14265
- if (v !== null && v !== undefined) {
14261
+ if (v !== null && v !== void 0) {
14266
14262
  const type = typeof v;
14267
14263
  if (type === "string" || type === "number") {
14268
14264
  cv.push(v);
14269
14265
  } else if (type === "object") {
14270
- const _cv = Array.isArray(v) ? computedStyles(rule, v) : Object.entries(v).map(([_k, _v]) => rule === "style" && (!!_v || _v === 0) ? `${_k.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${_v}` : !!_v ? _k : undefined);
14266
+ const _cv = Array.isArray(v) ? computedStyles(rule, v) : Object.entries(v).map(([_k, _v]) => rule === "style" && (!!_v || _v === 0) ? `${_k.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}:${_v}` : !!_v ? _k : void 0);
14271
14267
  cv = _cv.length ? cv.concat(_cv.filter((c) => !!c)) : cv;
14272
14268
  }
14273
14269
  }
@@ -14275,7 +14271,7 @@ function setAttributes(element, attributes = {}) {
14275
14271
  }, styles);
14276
14272
  };
14277
14273
  Object.entries(attributes).forEach(([key, value]) => {
14278
- if (value !== undefined && value !== null) {
14274
+ if (value !== void 0 && value !== null) {
14279
14275
  const matchedEvent = key.match(/^on(.+)/);
14280
14276
  if (matchedEvent) {
14281
14277
  element.addEventListener(matchedEvent[1].toLowerCase(), value);
@@ -14323,7 +14319,7 @@ function getAttribute(element, name) {
14323
14319
  }
14324
14320
  return value;
14325
14321
  }
14326
- return undefined;
14322
+ return void 0;
14327
14323
  }
14328
14324
 
14329
14325
  // src/dom/methods/getFocusableElements.ts
@@ -14372,7 +14368,7 @@ function getParentNode(element) {
14372
14368
  function getIndex(element) {
14373
14369
  var _a;
14374
14370
  if (element) {
14375
- let children = (_a = getParentNode(element)) == null ? undefined : _a.childNodes;
14371
+ let children = (_a = getParentNode(element)) == null ? void 0 : _a.childNodes;
14376
14372
  let num = 0;
14377
14373
  if (children) {
14378
14374
  for (let i = 0; i < children.length; i++) {
@@ -14451,7 +14447,7 @@ function getScrollableParents(element) {
14451
14447
  function getSelection() {
14452
14448
  if (window.getSelection) return window.getSelection().toString();
14453
14449
  else if (document.getSelection) return document.getSelection().toString();
14454
- return undefined;
14450
+ return void 0;
14455
14451
  }
14456
14452
 
14457
14453
  // src/dom/methods/isExist.ts
@@ -14482,7 +14478,7 @@ function isTouchDevice() {
14482
14478
 
14483
14479
  // src/dom/methods/setAttribute.ts
14484
14480
  function setAttribute(element, attribute = "", value) {
14485
- if (isElement(element) && value !== null && value !== undefined) {
14481
+ if (isElement(element) && value !== null && value !== void 0) {
14486
14482
  element.setAttribute(attribute, value);
14487
14483
  }
14488
14484
  }
@@ -14496,12 +14492,10 @@ var FilterMatchMode = {
14496
14492
  ENDS_WITH: 'endsWith',
14497
14493
  EQUALS: 'equals',
14498
14494
  NOT_EQUALS: 'notEquals',
14499
- IN: 'in',
14500
14495
  LESS_THAN: 'lt',
14501
14496
  LESS_THAN_OR_EQUAL_TO: 'lte',
14502
14497
  GREATER_THAN: 'gt',
14503
14498
  GREATER_THAN_OR_EQUAL_TO: 'gte',
14504
- BETWEEN: 'between',
14505
14499
  DATE_IS: 'dateIs',
14506
14500
  DATE_IS_NOT: 'dateIsNot',
14507
14501
  DATE_BEFORE: 'dateBefore',
@@ -14516,7 +14510,7 @@ function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
14516
14510
  function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), true).forEach(function (r) { _defineProperty$2(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14517
14511
  function _defineProperty$2(e, r, t) { return (r = _toPropertyKey$2(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
14518
14512
  function _toPropertyKey$2(t) { var i = _toPrimitive$2(t, "string"); return "symbol" == _typeof$2(i) ? i : i + ""; }
14519
- function _toPrimitive$2(t, r) { if ("object" != _typeof$2(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (undefined !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$2(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14513
+ function _toPrimitive$2(t, r) { if ("object" != _typeof$2(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof$2(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14520
14514
  function tryOnMounted$1(fn) {
14521
14515
  var sync = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
14522
14516
  if (getCurrentInstance()) onMounted(fn);else if (sync) fn();else nextTick(fn);
@@ -14529,29 +14523,29 @@ function useStyle(css) {
14529
14523
  var styleRef = ref(null);
14530
14524
  var defaultDocument = isClient$1() ? window.document : undefined;
14531
14525
  var _options$document = options.document,
14532
- document = _options$document === undefined ? defaultDocument : _options$document,
14526
+ document = _options$document === void 0 ? defaultDocument : _options$document,
14533
14527
  _options$immediate = options.immediate,
14534
- immediate = _options$immediate === undefined ? true : _options$immediate,
14528
+ immediate = _options$immediate === void 0 ? true : _options$immediate,
14535
14529
  _options$manual = options.manual,
14536
- manual = _options$manual === undefined ? false : _options$manual,
14530
+ manual = _options$manual === void 0 ? false : _options$manual,
14537
14531
  _options$name = options.name,
14538
- name = _options$name === undefined ? "style_".concat(++_id) : _options$name,
14532
+ name = _options$name === void 0 ? "style_".concat(++_id) : _options$name,
14539
14533
  _options$id = options.id,
14540
- id = _options$id === undefined ? undefined : _options$id,
14534
+ id = _options$id === void 0 ? undefined : _options$id,
14541
14535
  _options$media = options.media,
14542
- media = _options$media === undefined ? undefined : _options$media,
14536
+ media = _options$media === void 0 ? undefined : _options$media,
14543
14537
  _options$nonce = options.nonce,
14544
- nonce = _options$nonce === undefined ? undefined : _options$nonce,
14538
+ nonce = _options$nonce === void 0 ? undefined : _options$nonce,
14545
14539
  _options$first = options.first,
14546
- first = _options$first === undefined ? false : _options$first,
14540
+ first = _options$first === void 0 ? false : _options$first,
14547
14541
  _options$onMounted = options.onMounted,
14548
- onStyleMounted = _options$onMounted === undefined ? undefined : _options$onMounted,
14542
+ onStyleMounted = _options$onMounted === void 0 ? undefined : _options$onMounted,
14549
14543
  _options$onUpdated = options.onUpdated,
14550
- onStyleUpdated = _options$onUpdated === undefined ? undefined : _options$onUpdated,
14544
+ onStyleUpdated = _options$onUpdated === void 0 ? undefined : _options$onUpdated,
14551
14545
  _options$onLoad = options.onLoad,
14552
- onStyleLoaded = _options$onLoad === undefined ? undefined : _options$onLoad,
14546
+ onStyleLoaded = _options$onLoad === void 0 ? undefined : _options$onLoad,
14553
14547
  _options$props = options.props,
14554
- props = _options$props === undefined ? {} : _options$props;
14548
+ props = _options$props === void 0 ? {} : _options$props;
14555
14549
  var stop = function stop() {};
14556
14550
 
14557
14551
  /* @todo: Improve _options params */
@@ -14575,16 +14569,16 @@ function useStyle(css) {
14575
14569
  setAttribute(styleRef.value, 'data-primevue-style-id', _name);
14576
14570
  setAttributes(styleRef.value, _styleProps);
14577
14571
  styleRef.value.onload = function (event) {
14578
- return onStyleLoaded === null || onStyleLoaded === undefined ? undefined : onStyleLoaded(event, {
14572
+ return onStyleLoaded === null || onStyleLoaded === void 0 ? void 0 : onStyleLoaded(event, {
14579
14573
  name: _name
14580
14574
  });
14581
14575
  };
14582
- onStyleMounted === null || onStyleMounted === undefined || onStyleMounted(_name);
14576
+ onStyleMounted === null || onStyleMounted === void 0 || onStyleMounted(_name);
14583
14577
  }
14584
14578
  if (isLoaded.value) return;
14585
14579
  stop = watch(cssRef, function (value) {
14586
14580
  styleRef.value.textContent = value;
14587
- onStyleUpdated === null || onStyleUpdated === undefined || onStyleUpdated(_name);
14581
+ onStyleUpdated === null || onStyleUpdated === void 0 || onStyleUpdated(_name);
14588
14582
  }, {
14589
14583
  immediate: true
14590
14584
  });
@@ -14618,7 +14612,7 @@ function useStyle(css) {
14618
14612
  function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
14619
14613
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
14620
14614
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14621
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : undefined; } }
14615
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14622
14616
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14623
14617
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = true, o = false; try { if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = true, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14624
14618
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
@@ -14626,7 +14620,7 @@ function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
14626
14620
  function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty$1(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14627
14621
  function _defineProperty$1(e, r, t) { return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
14628
14622
  function _toPropertyKey$1(t) { var i = _toPrimitive$1(t, "string"); return "symbol" == _typeof$1(i) ? i : i + ""; }
14629
- function _toPrimitive$1(t, r) { if ("object" != _typeof$1(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (undefined !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof$1(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14623
+ function _toPrimitive$1(t, r) { if ("object" != _typeof$1(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof$1(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14630
14624
  var theme = function theme(_ref) {
14631
14625
  var dt = _ref.dt;
14632
14626
  return "\n*,\n::before,\n::after {\n box-sizing: border-box;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),\n opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity 0.1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),\n opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity 0.1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n\n.p-disabled,\n.p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n}\n\n.p-disabled,\n.p-component:disabled {\n opacity: ".concat(dt('disabled.opacity'), ";\n}\n\n.pi {\n font-size: ").concat(dt('icon.size'), ";\n}\n\n.p-icon {\n width: ").concat(dt('icon.size'), ";\n height: ").concat(dt('icon.size'), ";\n}\n\n.p-overlay-mask {\n background: ").concat(dt('mask.background'), ";\n color: ").concat(dt('mask.color'), ";\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-overlay-mask-enter {\n animation: p-overlay-mask-enter-animation ").concat(dt('mask.transition.duration'), " forwards;\n}\n\n.p-overlay-mask-leave {\n animation: p-overlay-mask-leave-animation ").concat(dt('mask.transition.duration'), " forwards;\n}\n\n@keyframes p-overlay-mask-enter-animation {\n from {\n background: transparent;\n }\n to {\n background: ").concat(dt('mask.background'), ";\n }\n}\n@keyframes p-overlay-mask-leave-animation {\n from {\n background: ").concat(dt('mask.background'), ";\n }\n to {\n background: transparent;\n }\n}\n");
@@ -14745,7 +14739,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
14745
14739
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14746
14740
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
14747
14741
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14748
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (undefined !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14742
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
14749
14743
  var defaultOptions = {
14750
14744
  ripple: false,
14751
14745
  inputStyle: null,
@@ -14908,7 +14902,7 @@ var stopWatchers = [];
14908
14902
  function clearConfig() {
14909
14903
  service_default.clear();
14910
14904
  stopWatchers.forEach(function (fn) {
14911
- return fn === null || fn === undefined ? undefined : fn();
14905
+ return fn === null || fn === void 0 ? void 0 : fn();
14912
14906
  });
14913
14907
  stopWatchers = [];
14914
14908
  }
@@ -14918,26 +14912,26 @@ function setupConfig(app, PrimeVue) {
14918
14912
  /*** Methods and Services ***/
14919
14913
  var loadCommonTheme = function loadCommonTheme() {
14920
14914
  var _PrimeVue$config;
14921
- if (((_PrimeVue$config = PrimeVue.config) === null || _PrimeVue$config === undefined ? undefined : _PrimeVue$config.theme) === 'none') return;
14915
+ if (((_PrimeVue$config = PrimeVue.config) === null || _PrimeVue$config === void 0 ? void 0 : _PrimeVue$config.theme) === 'none') return;
14922
14916
 
14923
14917
  // common
14924
14918
  if (!config_default.isStyleNameLoaded('common')) {
14925
14919
  var _BaseStyle$getCommonT, _PrimeVue$config2;
14926
- var _ref = ((_BaseStyle$getCommonT = BaseStyle.getCommonTheme) === null || _BaseStyle$getCommonT === undefined ? undefined : _BaseStyle$getCommonT.call(BaseStyle)) || {},
14920
+ var _ref = ((_BaseStyle$getCommonT = BaseStyle.getCommonTheme) === null || _BaseStyle$getCommonT === void 0 ? void 0 : _BaseStyle$getCommonT.call(BaseStyle)) || {},
14927
14921
  primitive = _ref.primitive,
14928
14922
  semantic = _ref.semantic,
14929
14923
  global = _ref.global,
14930
14924
  style = _ref.style;
14931
14925
  var styleOptions = {
14932
- nonce: (_PrimeVue$config2 = PrimeVue.config) === null || _PrimeVue$config2 === undefined || (_PrimeVue$config2 = _PrimeVue$config2.csp) === null || _PrimeVue$config2 === undefined ? undefined : _PrimeVue$config2.nonce
14926
+ nonce: (_PrimeVue$config2 = PrimeVue.config) === null || _PrimeVue$config2 === void 0 || (_PrimeVue$config2 = _PrimeVue$config2.csp) === null || _PrimeVue$config2 === void 0 ? void 0 : _PrimeVue$config2.nonce
14933
14927
  };
14934
- BaseStyle.load(primitive === null || primitive === undefined ? undefined : primitive.css, _objectSpread({
14928
+ BaseStyle.load(primitive === null || primitive === void 0 ? void 0 : primitive.css, _objectSpread({
14935
14929
  name: 'primitive-variables'
14936
14930
  }, styleOptions));
14937
- BaseStyle.load(semantic === null || semantic === undefined ? undefined : semantic.css, _objectSpread({
14931
+ BaseStyle.load(semantic === null || semantic === void 0 ? void 0 : semantic.css, _objectSpread({
14938
14932
  name: 'semantic-variables'
14939
14933
  }, styleOptions));
14940
- BaseStyle.load(global === null || global === undefined ? undefined : global.css, _objectSpread({
14934
+ BaseStyle.load(global === null || global === void 0 ? void 0 : global.css, _objectSpread({
14941
14935
  name: 'global-variables'
14942
14936
  }, styleOptions));
14943
14937
  BaseStyle.loadTheme(_objectSpread({
@@ -15173,14 +15167,14 @@ function resolveRelativePath(to, from) {
15173
15167
  const START_LOCATION_NORMALIZED = {
15174
15168
  path: "/",
15175
15169
  // TODO: could we use a symbol in the future?
15176
- name: undefined,
15170
+ name: void 0,
15177
15171
  params: {},
15178
15172
  query: {},
15179
15173
  hash: "",
15180
15174
  fullPath: "/",
15181
15175
  matched: [],
15182
15176
  meta: {},
15183
- redirectedFrom: undefined
15177
+ redirectedFrom: void 0
15184
15178
  };
15185
15179
  var NavigationType;
15186
15180
  (function(NavigationType2) {
@@ -16055,14 +16049,14 @@ function stringifyQuery(query) {
16055
16049
  const value = query[key];
16056
16050
  key = encodeQueryKey(key);
16057
16051
  if (value == null) {
16058
- if (value !== undefined) {
16052
+ if (value !== void 0) {
16059
16053
  search += (search.length ? "&" : "") + key;
16060
16054
  }
16061
16055
  continue;
16062
16056
  }
16063
16057
  const values = isArray$1(value) ? value.map((v) => v && encodeQueryValue(v)) : [value && encodeQueryValue(value)];
16064
16058
  values.forEach((value2) => {
16065
- if (value2 !== undefined) {
16059
+ if (value2 !== void 0) {
16066
16060
  search += (search.length ? "&" : "") + key;
16067
16061
  if (value2 != null)
16068
16062
  search += "=" + value2;
@@ -16075,7 +16069,7 @@ function normalizeQuery(query) {
16075
16069
  const normalizedQuery = {};
16076
16070
  for (const key in query) {
16077
16071
  const value = query[key];
16078
- if (value !== undefined) {
16072
+ if (value !== void 0) {
16079
16073
  normalizedQuery[key] = isArray$1(value) ? value.map((v) => v == null ? null : "" + v) : value == null ? value : "" + value;
16080
16074
  }
16081
16075
  }
@@ -16268,7 +16262,7 @@ function guardEvent(e) {
16268
16262
  return;
16269
16263
  if (e.defaultPrevented)
16270
16264
  return;
16271
- if (e.button !== undefined && e.button !== 0)
16265
+ if (e.button !== void 0 && e.button !== 0)
16272
16266
  return;
16273
16267
  if (e.currentTarget && e.currentTarget.getAttribute) {
16274
16268
  const target = e.currentTarget.getAttribute("target");
@@ -16432,7 +16426,7 @@ function createRouter(options) {
16432
16426
  return assign$1(locationNormalized, matchedRoute2, {
16433
16427
  params: decodeParams(matchedRoute2.params),
16434
16428
  hash: decode(locationNormalized.hash),
16435
- redirectedFrom: undefined,
16429
+ redirectedFrom: void 0,
16436
16430
  href: href2
16437
16431
  });
16438
16432
  }
@@ -16475,7 +16469,7 @@ function createRouter(options) {
16475
16469
  stringifyQuery$1 === stringifyQuery ? normalizeQuery(rawLocation.query) : rawLocation.query || {}
16476
16470
  )
16477
16471
  }, matchedRoute, {
16478
- redirectedFrom: undefined,
16472
+ redirectedFrom: void 0,
16479
16473
  href
16480
16474
  });
16481
16475
  }
@@ -16961,31 +16955,31 @@ const routes = [
16961
16955
  {
16962
16956
  path: "/",
16963
16957
  name: "/",
16964
- component: () => __vitePreload(() => import('./index-9_T8USRP.js'),true?__vite__mapDeps([0,1,2]):undefined,import.meta.url)
16958
+ component: () => __vitePreload(() => import('./index-BQkXqcq0.js'),true?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
16965
16959
  /* no children */
16966
16960
  },
16967
16961
  {
16968
16962
  path: "/about",
16969
16963
  name: "/about",
16970
- component: () => __vitePreload(() => import('./about-CBPKVoP8.js'),true?[]:undefined,import.meta.url)
16964
+ component: () => __vitePreload(() => import('./about-CSnaTKCD.js'),true?[]:void 0,import.meta.url)
16971
16965
  /* no children */
16972
16966
  },
16973
16967
  {
16974
16968
  path: "/categories",
16975
16969
  name: "/categories",
16976
- component: () => __vitePreload(() => import('./categories-DLa5gNrB.js'),true?[]:undefined,import.meta.url)
16970
+ component: () => __vitePreload(() => import('./categories-hnpGAUGS.js'),true?[]:void 0,import.meta.url)
16977
16971
  /* no children */
16978
16972
  },
16979
16973
  {
16980
16974
  path: "/migration",
16981
16975
  name: "/migration",
16982
- component: () => __vitePreload(() => import('./migration-CbwDNwNj.js'),true?__vite__mapDeps([3,1]):undefined,import.meta.url)
16976
+ component: () => __vitePreload(() => import('./migration-D_Kkfs-R.js'),true?__vite__mapDeps([3,1]):void 0,import.meta.url)
16983
16977
  /* no children */
16984
16978
  },
16985
16979
  {
16986
16980
  path: "/tags",
16987
16981
  name: "/tags",
16988
- component: () => __vitePreload(() => import('./tags-_1lp2Ved.js'),true?[]:undefined,import.meta.url)
16982
+ component: () => __vitePreload(() => import('./tags-a0VL9Qr_.js'),true?[]:void 0,import.meta.url)
16989
16983
  /* no children */
16990
16984
  }
16991
16985
  ];
@@ -17012,8 +17006,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
17012
17006
  /* Injected with object hook! */
17013
17007
 
17014
17008
  /*!
17015
- * shared v11.0.1
17016
- * (c) 2024 kazuya kawaguchi
17009
+ * shared v11.1.1
17010
+ * (c) 2025 kazuya kawaguchi
17017
17011
  * Released under the MIT License.
17018
17012
  */
17019
17013
  const inBrowser = typeof window !== "undefined";
@@ -17090,8 +17084,8 @@ function deepCopy(src, des) {
17090
17084
  /* Injected with object hook! */
17091
17085
 
17092
17086
  /*!
17093
- * message-compiler v11.0.1
17094
- * (c) 2024 kazuya kawaguchi
17087
+ * message-compiler v11.1.1
17088
+ * (c) 2025 kazuya kawaguchi
17095
17089
  * Released under the MIT License.
17096
17090
  */
17097
17091
  function createPosition(line, column, offset) {
@@ -17117,12 +17111,7 @@ const CompileErrorCodes = {
17117
17111
  MUST_HAVE_MESSAGES_IN_PLURAL: 11,
17118
17112
  UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
17119
17113
  UNEXPECTED_EMPTY_LINKED_KEY: 13,
17120
- UNEXPECTED_LEXICAL_ANALYSIS: 14,
17121
- // generator error codes
17122
- UNHANDLED_CODEGEN_NODE_TYPE: 15,
17123
- // minifier error codes
17124
- UNHANDLED_MINIFIER_NODE_TYPE: 16
17125
- };
17114
+ UNEXPECTED_LEXICAL_ANALYSIS: 14};
17126
17115
  const COMPILE_ERROR_CODES_EXTEND_POINT = 17;
17127
17116
  function createCompileError(code, loc, options = {}) {
17128
17117
  const { domain, messages, args } = options;
@@ -17212,7 +17201,7 @@ function createScanner(str) {
17212
17201
  skipToPeek
17213
17202
  };
17214
17203
  }
17215
- const EOF = undefined;
17204
+ const EOF = void 0;
17216
17205
  const DOT = ".";
17217
17206
  const LITERAL_DELIMITER = "'";
17218
17207
  const ERROR_DOMAIN$3 = "tokenizer";
@@ -18312,7 +18301,7 @@ function minify(node) {
18312
18301
  delete node.type;
18313
18302
  }
18314
18303
  function createCodeGenerator(ast, options) {
18315
- const { sourceMap, filename, breakLineCode, needIndent: _needIndent } = options;
18304
+ const { filename, breakLineCode, needIndent: _needIndent } = options;
18316
18305
  const location = options.location !== false;
18317
18306
  const _context = {
18318
18307
  filename,
@@ -18320,7 +18309,7 @@ function createCodeGenerator(ast, options) {
18320
18309
  column: 1,
18321
18310
  line: 1,
18322
18311
  offset: 0,
18323
- map: undefined,
18312
+ map: void 0,
18324
18313
  breakLineCode,
18325
18314
  needIndent: _needIndent,
18326
18315
  indentLevel: 0
@@ -18470,14 +18459,12 @@ function generateNode(generator, node) {
18470
18459
  const generate = (ast, options = {}) => {
18471
18460
  const mode = isString(options.mode) ? options.mode : "normal";
18472
18461
  const filename = isString(options.filename) ? options.filename : "message.intl";
18473
- const sourceMap = !!options.sourceMap;
18462
+ !!options.sourceMap;
18474
18463
  const breakLineCode = options.breakLineCode != null ? options.breakLineCode : mode === "arrow" ? ";" : "\n";
18475
18464
  const needIndent = options.needIndent ? options.needIndent : mode !== "arrow";
18476
18465
  const helpers = ast.helpers || [];
18477
18466
  const generator = createCodeGenerator(ast, {
18478
- mode,
18479
18467
  filename,
18480
- sourceMap,
18481
18468
  breakLineCode,
18482
18469
  needIndent
18483
18470
  });
@@ -18496,7 +18483,7 @@ const generate = (ast, options = {}) => {
18496
18483
  return {
18497
18484
  ast,
18498
18485
  code,
18499
- map: map ? map.toJSON() : undefined
18486
+ map: map ? map.toJSON() : void 0
18500
18487
  // eslint-disable-line @typescript-eslint/no-explicit-any
18501
18488
  };
18502
18489
  };
@@ -18520,8 +18507,8 @@ function baseCompile$1(source, options = {}) {
18520
18507
  /* Injected with object hook! */
18521
18508
 
18522
18509
  /*!
18523
- * core-base v11.0.1
18524
- * (c) 2024 kazuya kawaguchi
18510
+ * core-base v11.1.1
18511
+ * (c) 2025 kazuya kawaguchi
18525
18512
  * Released under the MIT License.
18526
18513
  */
18527
18514
  function initFeatureFlags$1() {
@@ -18611,7 +18598,7 @@ function formatMessagePart(ctx, node) {
18611
18598
  const linked = node;
18612
18599
  const modifier = resolveLinkedModifier(linked);
18613
18600
  const key = resolveLinkedKey(linked);
18614
- return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : undefined, ctx.type);
18601
+ return ctx.linked(formatMessagePart(ctx, key), modifier ? formatMessagePart(ctx, modifier) : void 0, ctx.type);
18615
18602
  }
18616
18603
  case 7: {
18617
18604
  return resolveValue$1(node, type);
@@ -18729,14 +18716,13 @@ const CoreErrorCodes = {
18729
18716
  // 17
18730
18717
  INVALID_DATE_ARGUMENT: 18,
18731
18718
  INVALID_ISO_DATE_ARGUMENT: 19,
18732
- NOT_SUPPORT_NON_STRING_MESSAGE: 20,
18733
18719
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
18734
18720
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
18735
18721
  NOT_SUPPORT_LOCALE_TYPE: 23
18736
18722
  };
18737
18723
  const CORE_ERROR_CODES_EXTEND_POINT = 24;
18738
18724
  function createCoreError(code) {
18739
- return createCompileError(code, null, undefined);
18725
+ return createCompileError(code, null, void 0);
18740
18726
  }
18741
18727
  function getLocale(context, options) {
18742
18728
  return options.locale != null ? resolveLocale(options.locale) : resolveLocale(context.locale);
@@ -19084,7 +19070,7 @@ function stripQuotes(str) {
19084
19070
  return a === b && (a === 34 || a === 39) ? str.slice(1, -1) : str;
19085
19071
  }
19086
19072
  function getPathCharType(ch) {
19087
- if (ch === undefined || ch === null) {
19073
+ if (ch === void 0 || ch === null) {
19088
19074
  return "o";
19089
19075
  }
19090
19076
  const code = ch.charCodeAt(0);
@@ -19146,7 +19132,7 @@ function parse(path) {
19146
19132
  0
19147
19133
  /* Actions.APPEND */
19148
19134
  ] = () => {
19149
- if (key === undefined) {
19135
+ if (key === void 0) {
19150
19136
  key = newChar;
19151
19137
  } else {
19152
19138
  key += newChar;
@@ -19156,9 +19142,9 @@ function parse(path) {
19156
19142
  1
19157
19143
  /* Actions.PUSH */
19158
19144
  ] = () => {
19159
- if (key !== undefined) {
19145
+ if (key !== void 0) {
19160
19146
  keys.push(key);
19161
- key = undefined;
19147
+ key = void 0;
19162
19148
  }
19163
19149
  };
19164
19150
  actions[
@@ -19184,7 +19170,7 @@ function parse(path) {
19184
19170
  ]();
19185
19171
  } else {
19186
19172
  subPathDepth = 0;
19187
- if (key === undefined) {
19173
+ if (key === void 0) {
19188
19174
  return false;
19189
19175
  }
19190
19176
  key = formatSubPath(key);
@@ -19226,7 +19212,7 @@ function parse(path) {
19226
19212
  return;
19227
19213
  }
19228
19214
  mode = transition[0];
19229
- if (transition[1] !== undefined) {
19215
+ if (transition[1] !== void 0) {
19230
19216
  action = actions[transition[1]];
19231
19217
  if (action) {
19232
19218
  newChar = c;
@@ -19263,7 +19249,7 @@ function resolveValue(obj, path) {
19263
19249
  let i = 0;
19264
19250
  while (i < len) {
19265
19251
  const val = last[hit[i]];
19266
- if (val === undefined) {
19252
+ if (val === void 0) {
19267
19253
  return null;
19268
19254
  }
19269
19255
  if (isFunction(last)) {
@@ -19274,7 +19260,7 @@ function resolveValue(obj, path) {
19274
19260
  }
19275
19261
  return last;
19276
19262
  }
19277
- const VERSION$1 = "11.0.1";
19263
+ const VERSION$1 = "11.1.1";
19278
19264
  const NOT_REOSLVED = -1;
19279
19265
  const DEFAULT_LOCALE = "en-US";
19280
19266
  const MISSING_RESOLVE_VALUE = "";
@@ -19338,7 +19324,7 @@ function createCoreContext(options = {}) {
19338
19324
  const messageCompiler = isFunction(options.messageCompiler) ? options.messageCompiler : _compiler;
19339
19325
  const messageResolver = isFunction(options.messageResolver) ? options.messageResolver : _resolver || resolveWithKeyValue;
19340
19326
  const localeFallbacker = isFunction(options.localeFallbacker) ? options.localeFallbacker : _fallbacker || fallbackWithSimple;
19341
- const fallbackContext = isObject$1(options.fallbackContext) ? options.fallbackContext : undefined;
19327
+ const fallbackContext = isObject$1(options.fallbackContext) ? options.fallbackContext : void 0;
19342
19328
  const internalOptions = options;
19343
19329
  const __datetimeFormatters = isObject$1(internalOptions.__datetimeFormatters) ? internalOptions.__datetimeFormatters : /* @__PURE__ */ new Map();
19344
19330
  const __numberFormatters = isObject$1(internalOptions.__numberFormatters) ? internalOptions.__numberFormatters : /* @__PURE__ */ new Map();
@@ -19666,7 +19652,7 @@ function createMessageContext(options = {}) {
19666
19652
  const locale = options.locale;
19667
19653
  const pluralIndex = getPluralIndex(options);
19668
19654
  const pluralRule = isObject$1(options.pluralRules) && isString(locale) && isFunction(options.pluralRules[locale]) ? options.pluralRules[locale] : pluralDefault;
19669
- const orgPluralRule = isObject$1(options.pluralRules) && isString(locale) && isFunction(options.pluralRules[locale]) ? pluralDefault : undefined;
19655
+ const orgPluralRule = isObject$1(options.pluralRules) && isString(locale) && isFunction(options.pluralRules[locale]) ? pluralDefault : void 0;
19670
19656
  const plural = (messages) => {
19671
19657
  return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];
19672
19658
  };
@@ -19965,11 +19951,11 @@ function getMessageContextOptions(context, locale, message, options) {
19965
19951
  /* Injected with object hook! */
19966
19952
 
19967
19953
  /*!
19968
- * vue-i18n v11.0.1
19969
- * (c) 2024 kazuya kawaguchi
19954
+ * vue-i18n v11.1.1
19955
+ * (c) 2025 kazuya kawaguchi
19970
19956
  * Released under the MIT License.
19971
19957
  */
19972
- const VERSION = "11.0.1";
19958
+ const VERSION = "11.1.1";
19973
19959
  function initFeatureFlags() {
19974
19960
  if (typeof __INTLIFY_PROD_DEVTOOLS__ !== "boolean") {
19975
19961
  getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
@@ -19987,18 +19973,11 @@ const I18nErrorCodes = {
19987
19973
  // directive module errors
19988
19974
  REQUIRED_VALUE: 28,
19989
19975
  INVALID_VALUE: 29,
19990
- // vue-devtools errors
19991
- CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN: 30,
19992
19976
  NOT_INSTALLED_WITH_PROVIDE: 31,
19993
19977
  // unexpected error
19994
- UNEXPECTED_ERROR: 32,
19995
- // not compatible legacy vue-i18n constructor
19996
- NOT_COMPATIBLE_LEGACY_VUE_I18N: 33,
19997
- // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
19998
- NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
19999
- };
19978
+ UNEXPECTED_ERROR: 32};
20000
19979
  function createI18nError(code, ...args) {
20001
- return createCompileError(code, null, undefined);
19980
+ return createCompileError(code, null, void 0);
20002
19981
  }
20003
19982
  const TranslateVNodeSymbol = /* @__PURE__ */ makeSymbol("__translateVNode");
20004
19983
  const DatetimePartsSymbol = /* @__PURE__ */ makeSymbol("__datetimeParts");
@@ -20116,7 +20095,7 @@ const NOOP_RETURN_FALSE = () => false;
20116
20095
  let composerID = 0;
20117
20096
  function defineCoreMissingHandler(missing) {
20118
20097
  return (ctx, locale, key, type) => {
20119
- return missing(locale, key, getCurrentInstance() || undefined, type);
20098
+ return missing(locale, key, getCurrentInstance() || void 0, type);
20120
20099
  };
20121
20100
  }
20122
20101
  const getMetaInfo = /* @__NO_SIDE_EFFECTS__ */ () => {
@@ -20126,7 +20105,7 @@ const getMetaInfo = /* @__NO_SIDE_EFFECTS__ */ () => {
20126
20105
  };
20127
20106
  function createComposer(options = {}) {
20128
20107
  const { __root, __injectWithOption } = options;
20129
- const _isGlobal = __root === undefined;
20108
+ const _isGlobal = __root === void 0;
20130
20109
  const flatJson = options.flatJson;
20131
20110
  const _ref = inBrowser ? ref : shallowRef;
20132
20111
  let _inheritLocale = isBoolean(options.inheritLocale) ? options.inheritLocale : true;
@@ -20162,12 +20141,12 @@ function createComposer(options = {}) {
20162
20141
  messages: _messages.value,
20163
20142
  modifiers: _modifiers,
20164
20143
  pluralRules: _pluralRules,
20165
- missing: _runtimeMissing === null ? undefined : _runtimeMissing,
20144
+ missing: _runtimeMissing === null ? void 0 : _runtimeMissing,
20166
20145
  missingWarn: _missingWarn,
20167
20146
  fallbackWarn: _fallbackWarn,
20168
20147
  fallbackFormat: _fallbackFormat,
20169
20148
  unresolving: true,
20170
- postTranslation: _postTranslation === null ? undefined : _postTranslation,
20149
+ postTranslation: _postTranslation === null ? void 0 : _postTranslation,
20171
20150
  warnHtmlMessage: _warnHtmlMessage,
20172
20151
  escapeParameter: _escapeParameter,
20173
20152
  messageResolver: options.messageResolver,
@@ -20177,8 +20156,8 @@ function createComposer(options = {}) {
20177
20156
  {
20178
20157
  ctxOptions.datetimeFormats = _datetimeFormats.value;
20179
20158
  ctxOptions.numberFormats = _numberFormats.value;
20180
- ctxOptions.__datetimeFormatters = isPlainObject(_context) ? _context.__datetimeFormatters : undefined;
20181
- ctxOptions.__numberFormatters = isPlainObject(_context) ? _context.__numberFormatters : undefined;
20159
+ ctxOptions.__datetimeFormatters = isPlainObject(_context) ? _context.__datetimeFormatters : void 0;
20160
+ ctxOptions.__numberFormatters = isPlainObject(_context) ? _context.__numberFormatters : void 0;
20182
20161
  }
20183
20162
  const ctx = createCoreContext(ctxOptions);
20184
20163
  _isGlobal && setFallbackContext(ctx);
@@ -20198,15 +20177,15 @@ function createComposer(options = {}) {
20198
20177
  const locale = computed({
20199
20178
  get: () => _locale.value,
20200
20179
  set: (val) => {
20180
+ _context.locale = val;
20201
20181
  _locale.value = val;
20202
- _context.locale = _locale.value;
20203
20182
  }
20204
20183
  });
20205
20184
  const fallbackLocale = computed({
20206
20185
  get: () => _fallbackLocale.value,
20207
20186
  set: (val) => {
20187
+ _context.fallbackLocale = val;
20208
20188
  _fallbackLocale.value = val;
20209
- _context.fallbackLocale = _fallbackLocale.value;
20210
20189
  updateFallbackLocale(_context, _locale.value, val);
20211
20190
  }
20212
20191
  });
@@ -20244,7 +20223,7 @@ function createComposer(options = {}) {
20244
20223
  } finally {
20245
20224
  if (__INTLIFY_PROD_DEVTOOLS__) ;
20246
20225
  if (!_isGlobal) {
20247
- _context.fallbackContext = undefined;
20226
+ _context.fallbackContext = void 0;
20248
20227
  }
20249
20228
  }
20250
20229
  if (warnType !== "translate exists" && // for not `te` (e.g `t`)
@@ -20576,7 +20555,7 @@ const TranslationImpl = /* @__PURE__ */ defineComponent({
20576
20555
  if (props.locale) {
20577
20556
  options.locale = props.locale;
20578
20557
  }
20579
- if (props.plural !== undefined) {
20558
+ if (props.plural !== void 0) {
20580
20559
  options.plural = isString(props.plural) ? +props.plural : props.plural;
20581
20560
  }
20582
20561
  const arg = getInterpolateArg(context, keys);
@@ -20689,11 +20668,11 @@ function vTDirective(i18n) {
20689
20668
  const unregister = (el) => {
20690
20669
  if (inBrowser && el.__i18nWatcher) {
20691
20670
  el.__i18nWatcher();
20692
- el.__i18nWatcher = undefined;
20671
+ el.__i18nWatcher = void 0;
20693
20672
  delete el.__i18nWatcher;
20694
20673
  }
20695
20674
  if (el.__composer) {
20696
- el.__composer = undefined;
20675
+ el.__composer = void 0;
20697
20676
  delete el.__composer;
20698
20677
  }
20699
20678
  };
@@ -21046,7 +21025,7 @@ function debounceFilter(ms, options = {}) {
21046
21025
  const maxDuration = toValue(options.maxWait);
21047
21026
  if (timer)
21048
21027
  _clearTimeout(timer);
21049
- if (duration <= 0 || maxDuration !== undefined && maxDuration <= 0) {
21028
+ if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
21050
21029
  if (maxTimer) {
21051
21030
  _clearTimeout(maxTimer);
21052
21031
  maxTimer = null;
@@ -21090,7 +21069,7 @@ function throttleFilter(...args) {
21090
21069
  const clear = () => {
21091
21070
  if (timer) {
21092
21071
  clearTimeout(timer);
21093
- timer = undefined;
21072
+ timer = void 0;
21094
21073
  lastRejector();
21095
21074
  lastRejector = noop;
21096
21075
  }
@@ -21233,11 +21212,11 @@ function useToggle(initialValue = false, options = {}) {
21233
21212
 
21234
21213
  /* Injected with object hook! */
21235
21214
 
21236
- const defaultWindow = isClient ? window : undefined;
21215
+ const defaultWindow = isClient ? window : void 0;
21237
21216
  function unrefElement(elRef) {
21238
21217
  var _a;
21239
21218
  const plain = toValue(elRef);
21240
- return (_a = plain == null ? undefined : plain.$el) != null ? _a : plain;
21219
+ return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
21241
21220
  }
21242
21221
  function useEventListener(...args) {
21243
21222
  let target;
@@ -21334,7 +21313,7 @@ function useMediaQuery(query, options = {}) {
21334
21313
  tryOnScopeDispose(() => {
21335
21314
  stopWatch();
21336
21315
  cleanup();
21337
- mediaQuery = undefined;
21316
+ mediaQuery = void 0;
21338
21317
  });
21339
21318
  return matches;
21340
21319
  }
@@ -21542,7 +21521,7 @@ function useColorMode(options = {}) {
21542
21521
  const updateHTMLAttrs = getSSRHandler(
21543
21522
  "updateHTMLAttrs",
21544
21523
  (selector2, attribute2, value) => {
21545
- const el = typeof selector2 === "string" ? window2 == null ? undefined : window2.document.querySelector(selector2) : unrefElement(selector2);
21524
+ const el = typeof selector2 === "string" ? window2 == null ? void 0 : window2.document.querySelector(selector2) : unrefElement(selector2);
21546
21525
  if (!el)
21547
21526
  return;
21548
21527
  const classesToAdd = /* @__PURE__ */ new Set();
@@ -21614,7 +21593,7 @@ function useDark(options = {}) {
21614
21593
  onChanged: (mode2, defaultHandler) => {
21615
21594
  var _a;
21616
21595
  if (options.onChanged)
21617
- (_a = options.onChanged) == null ? undefined : _a.call(options, mode2 === "dark", defaultHandler, mode2);
21596
+ (_a = options.onChanged) == null ? void 0 : _a.call(options, mode2 === "dark", defaultHandler, mode2);
21618
21597
  else
21619
21598
  defaultHandler(mode2);
21620
21599
  },
@@ -21668,7 +21647,7 @@ function useScroll(element, options = {}) {
21668
21647
  return internalX.value;
21669
21648
  },
21670
21649
  set(x2) {
21671
- scrollTo2(x2, undefined);
21650
+ scrollTo2(x2, void 0);
21672
21651
  }
21673
21652
  });
21674
21653
  const y = computed({
@@ -21676,7 +21655,7 @@ function useScroll(element, options = {}) {
21676
21655
  return internalY.value;
21677
21656
  },
21678
21657
  set(y2) {
21679
- scrollTo2(undefined, y2);
21658
+ scrollTo2(void 0, y2);
21680
21659
  }
21681
21660
  });
21682
21661
  function scrollTo2(_x, _y) {
@@ -21686,12 +21665,12 @@ function useScroll(element, options = {}) {
21686
21665
  const _element = toValue(element);
21687
21666
  if (!_element)
21688
21667
  return;
21689
- (_c = _element instanceof Document ? window2.document.body : _element) == null ? undefined : _c.scrollTo({
21668
+ (_c = _element instanceof Document ? window2.document.body : _element) == null ? void 0 : _c.scrollTo({
21690
21669
  top: (_a = toValue(_y)) != null ? _a : y.value,
21691
21670
  left: (_b = toValue(_x)) != null ? _b : x.value,
21692
21671
  behavior: toValue(behavior)
21693
21672
  });
21694
- const scrollContainer = ((_d = _element == null ? undefined : _element.document) == null ? undefined : _d.documentElement) || (_element == null ? undefined : _element.documentElement) || _element;
21673
+ const scrollContainer = ((_d = _element == null ? void 0 : _element.document) == null ? void 0 : _d.documentElement) || (_element == null ? void 0 : _element.documentElement) || _element;
21695
21674
  if (x != null)
21696
21675
  internalX.value = scrollContainer.scrollLeft;
21697
21676
  if (y != null)
@@ -21725,7 +21704,7 @@ function useScroll(element, options = {}) {
21725
21704
  var _a;
21726
21705
  if (!window2)
21727
21706
  return;
21728
- const el = ((_a = target == null ? undefined : target.document) == null ? undefined : _a.documentElement) || (target == null ? undefined : target.documentElement) || unrefElement(target);
21707
+ const el = ((_a = target == null ? void 0 : target.document) == null ? void 0 : _a.documentElement) || (target == null ? void 0 : target.documentElement) || unrefElement(target);
21729
21708
  const { display, flexDirection } = getComputedStyle(el);
21730
21709
  const scrollLeft = el.scrollLeft;
21731
21710
  directions.left = scrollLeft < internalX.value;
@@ -21847,7 +21826,7 @@ function requireDayjs_min () {
21847
21826
  if (hasRequiredDayjs_min) return dayjs_min$1.exports;
21848
21827
  hasRequiredDayjs_min = 1;
21849
21828
  (function (module, exports) {
21850
- !function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return undefined===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
21829
+ !function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[p]=true;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,false)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case "YY":return String(e.$y).slice(-2);case "YYYY":return b.s(e.$y,4,"0");case "M":return a+1;case "MM":return b.s(a+1,2,"0");case "MMM":return h(n.monthsShort,a,c,3);case "MMMM":return h(c,a);case "D":return e.$D;case "DD":return b.s(e.$D,2,"0");case "d":return String(e.$W);case "dd":return h(n.weekdaysMin,e.$W,o,2);case "ddd":return h(n.weekdaysShort,e.$W,o,3);case "dddd":return o[e.$W];case "H":return String(s);case "HH":return b.s(s,2,"0");case "h":return d(1);case "hh":return d(2);case "a":return $(s,u,true);case "A":return $(s,u,false);case "m":return String(u);case "mm":return b.s(u,2,"0");case "s":return String(e.$s);case "ss":return b.s(e.$s,2,"0");case "SSS":return b.s(e.$ms,3,"0");case "Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,true);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=true),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
21851
21830
  } (dayjs_min$1));
21852
21831
  return dayjs_min$1.exports;
21853
21832
  }
@@ -21858,12 +21837,11 @@ const dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
21858
21837
  /* Injected with object hook! */
21859
21838
 
21860
21839
  const i18n = createI18n({
21861
- legacy: false,
21862
21840
  locale: "",
21863
21841
  messages: {}
21864
21842
  });
21865
21843
  const localesMap = Object.fromEntries(
21866
- Object.entries(/* #__PURE__ */ Object.assign({"../locales/en.yml": () => __vitePreload(() => import('./en-DQc-k8eq.js'),true?[]:undefined,import.meta.url),"../locales/zh-CN.yml": () => __vitePreload(() => import('./zh-CN-DrQHTX9V.js'),true?[]:undefined,import.meta.url)})).map(([path, loadLocale]) => [path.match(/([\w-]*)\.yml$/)?.[1], loadLocale])
21844
+ Object.entries(/* #__PURE__ */ Object.assign({"../locales/en.yml": () => __vitePreload(() => import('./en-DQc-k8eq.js'),true?[]:void 0,import.meta.url),"../locales/zh-CN.yml": () => __vitePreload(() => import('./zh-CN-DrQHTX9V.js'),true?[]:void 0,import.meta.url)})).map(([path, loadLocale]) => [path.match(/([\w-]*)\.yml$/)?.[1], loadLocale])
21867
21845
  );
21868
21846
  const availableLocales = Object.keys(localesMap);
21869
21847
  const loadedLanguages = [];
@@ -22024,6 +22002,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22024
22002
 
22025
22003
  /* Injected with object hook! */
22026
22004
 
22005
+ const TYPE_REQUEST = "q";
22006
+ const TYPE_RESPONSE = "s";
22027
22007
  const DEFAULT_TIMEOUT = 6e4;
22028
22008
  function defaultSerialize(i) {
22029
22009
  return i;
@@ -22056,7 +22036,7 @@ function createBirpc(functions, options) {
22056
22036
  if (method === "then" && !eventNames.includes("then") && !("then" in functions))
22057
22037
  return undefined;
22058
22038
  const sendEvent = (...args) => {
22059
- post(serialize({ m: method, a: args, t: "q" }));
22039
+ post(serialize({ m: method, a: args, t: TYPE_REQUEST }));
22060
22040
  };
22061
22041
  if (eventNames.includes(method)) {
22062
22042
  sendEvent.asEvent = sendEvent;
@@ -22078,8 +22058,9 @@ function createBirpc(functions, options) {
22078
22058
  if (timeout >= 0) {
22079
22059
  timeoutId = setTimeout$1(() => {
22080
22060
  try {
22081
- options.onTimeoutError?.(method, args);
22082
- throw new Error(`[birpc] timeout on calling "${method}"`);
22061
+ const handleResult = options.onTimeoutError?.(method, args);
22062
+ if (handleResult !== true)
22063
+ throw new Error(`[birpc] timeout on calling "${method}"`);
22083
22064
  } catch (e) {
22084
22065
  reject(e);
22085
22066
  }
@@ -22105,8 +22086,15 @@ function createBirpc(functions, options) {
22105
22086
  off(onMessage);
22106
22087
  }
22107
22088
  async function onMessage(data, ...extra) {
22108
- const msg = deserialize(data);
22109
- if (msg.t === "q") {
22089
+ let msg;
22090
+ try {
22091
+ msg = deserialize(data);
22092
+ } catch (e) {
22093
+ if (options.onGeneralError?.(e) !== true)
22094
+ throw e;
22095
+ return;
22096
+ }
22097
+ if (msg.t === TYPE_REQUEST) {
22110
22098
  const { m: method, a: args } = msg;
22111
22099
  let result, error;
22112
22100
  const fn = resolver ? resolver(method, functions[method]) : functions[method];
@@ -22122,7 +22110,26 @@ function createBirpc(functions, options) {
22122
22110
  if (msg.i) {
22123
22111
  if (error && options.onError)
22124
22112
  options.onError(error, method, args);
22125
- post(serialize({ t: "s", i: msg.i, r: result, e: error }), ...extra);
22113
+ if (error && options.onFunctionError) {
22114
+ if (options.onFunctionError(error, method, args) === true)
22115
+ return;
22116
+ }
22117
+ if (!error) {
22118
+ try {
22119
+ post(serialize({ t: TYPE_RESPONSE, i: msg.i, r: result }), ...extra);
22120
+ return;
22121
+ } catch (e) {
22122
+ error = e;
22123
+ if (options.onGeneralError?.(e, method, args) !== true)
22124
+ throw e;
22125
+ }
22126
+ }
22127
+ try {
22128
+ post(serialize({ t: TYPE_RESPONSE, i: msg.i, e: error }), ...extra);
22129
+ } catch (e) {
22130
+ if (options.onGeneralError?.(e, method, args) !== true)
22131
+ throw e;
22132
+ }
22126
22133
  }
22127
22134
  } else {
22128
22135
  const { i: ack, r: result, e: error } = msg;
@@ -22389,4 +22396,4 @@ app.mount("#app");
22389
22396
 
22390
22397
  /* Injected with object hook! */
22391
22398
 
22392
- export { contains as $, withDirectives as A, BaseStyle as B, openBlock as C, createElementBlock as D, createBaseVNode as E, renderSlot as F, normalizeClass as G, createCommentVNode as H, toDisplayString$1 as I, resolveFieldData as J, equals as K, resolveComponent as L, Fragment as M, renderList as N, createBlock as O, PrimeVueService as P, createSlots as Q, withCtx as R, defineComponent as S, useModel as T, ref as U, watch as V, createVNode as W, unref as X, createTextVNode as Y, resolveDynamicComponent as Z, _export_sfc as _, getKeyValue as a, getScrollableParents as a0, EventBus as a1, Teleport as a2, addStyle as a3, isTouchDevice as a4, relativePosition as a5, absolutePosition as a6, find as a7, getIndex as a8, getFocusableElements as a9, setAttribute as aa, localeComparator as ab, normalizeStyle as ac, Transition as ad, vShow as ae, withKeys as af, getSelection as ag, clearSelection as ah, toHandlers as ai, useI18n as aj, dayjs as ak, clientPageData as al, activePath as am, pageData as an, toRaw as ao, onMounted as ap, rpc as aq, getDefaultExportFromCjs as ar, useScroll as as, postList as at, isStaticMode as au, getGlobalValaxyProperty as av, vModelCheckbox as aw, vModelText as ax, h as ay, isString$2 as b, config_default as c, toCapitalCase as d, isFunction$2 as e, isArray$3 as f, getAppWindow as g, isEmpty as h, isObject$3 as i, createElement as j, removeClass as k, getHeight as l, mergeProps as m, getWidth as n, getOuterWidth as o, getOuterHeight as p, getOffset as q, resolve$1 as r, service_default as s, toFlatCase as t, addClass as u, getAttribute as v, findSingle as w, isNotEmpty as x, isClient$1 as y, resolveDirective as z };
22399
+ export { contains as $, withDirectives as A, BaseStyle as B, createElementBlock as C, openBlock as D, createBaseVNode as E, renderSlot as F, normalizeClass as G, createCommentVNode as H, toDisplayString$1 as I, equals as J, resolveFieldData as K, resolveComponent as L, Fragment as M, renderList as N, createBlock as O, PrimeVueService as P, createSlots as Q, withCtx as R, defineComponent as S, useModel as T, ref as U, watch as V, createVNode as W, unref as X, createTextVNode as Y, resolveDynamicComponent as Z, _export_sfc as _, getKeyValue as a, getScrollableParents as a0, EventBus as a1, Teleport as a2, setAttribute as a3, localeComparator as a4, getFocusableElements as a5, find as a6, getIndex as a7, relativePosition as a8, absolutePosition as a9, isTouchDevice as aa, addStyle as ab, normalizeStyle as ac, Transition as ad, vShow as ae, withKeys as af, clearSelection as ag, getSelection as ah, toHandlers as ai, useI18n as aj, dayjs as ak, clientPageData as al, toRaw as am, pageData as an, activePath as ao, onMounted as ap, rpc as aq, getDefaultExportFromCjs as ar, useScroll as as, postList as at, isStaticMode as au, getGlobalValaxyProperty as av, vModelCheckbox as aw, vModelText as ax, h as ay, isString$2 as b, config_default as c, toFlatCase as d, isObject$3 as e, isEmpty as f, getAppWindow as g, isArray$3 as h, isFunction$2 as i, getAttribute as j, removeClass as k, getHeight as l, mergeProps as m, getWidth as n, getOuterWidth as o, getOuterHeight as p, getOffset as q, resolve$1 as r, service_default as s, toCapitalCase as t, addClass as u, createElement as v, isNotEmpty as w, isClient$1 as x, findSingle as y, resolveDirective as z };