@authup/client-auth-console 1.0.0-beta.69 → 1.0.0-beta.70

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.
@@ -54,7 +54,7 @@ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
54
54
  //#endregion
55
55
  //#region ../../node_modules/@vue/shared/dist/shared.cjs.prod.js
56
56
  /**
57
- * @vue/shared v3.5.43
57
+ * @vue/shared v3.5.44
58
58
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
59
59
  * @license MIT
60
60
  **/
@@ -334,7 +334,7 @@ var require_shared_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
334
334
  var isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
335
335
  var isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
336
336
  var isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
337
- var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
337
+ var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,playsinline,readonly`;
338
338
  var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
339
339
  var isBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);
340
340
  function includeBooleanAttr(value) {
@@ -581,7 +581,7 @@ var require_shared_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
581
581
  //#endregion
582
582
  //#region ../../node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
583
583
  /**
584
- * @vue/reactivity v3.5.43
584
+ * @vue/reactivity v3.5.44
585
585
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
586
586
  * @license MIT
587
587
  **/
@@ -1278,17 +1278,33 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
1278
1278
  };
1279
1279
  function iterator(self, method, wrapValue) {
1280
1280
  const arr = shallowReadArray(self);
1281
- const iter = arr[method]();
1281
+ const methodFn = arr[method];
1282
+ const iter = methodFn.call(arr);
1282
1283
  if (arr !== self && !/* @__PURE__ */ isShallow(self)) {
1284
+ if (iter[Symbol.toStringTag] === "Array Iterator") {
1285
+ const wrapped = Object.create(Object.getPrototypeOf(iter));
1286
+ wrapped.next = () => wrapResult(iter.next(), wrapValue);
1287
+ if (methodFn !== arrayProto[method]) Object.defineProperties(wrapped, {
1288
+ return: { get() {
1289
+ const fn = iter.return;
1290
+ return typeof fn === "function" ? fn.bind(iter) : fn;
1291
+ } },
1292
+ throw: { get() {
1293
+ const fn = iter.throw;
1294
+ return typeof fn === "function" ? fn.bind(iter) : fn;
1295
+ } }
1296
+ });
1297
+ return wrapped;
1298
+ }
1283
1299
  iter._next = iter.next;
1284
- iter.next = () => {
1285
- const result = iter._next();
1286
- if (!result.done) result.value = wrapValue(result.value);
1287
- return result;
1288
- };
1300
+ iter.next = () => wrapResult(iter._next(), wrapValue);
1289
1301
  }
1290
1302
  return iter;
1291
1303
  }
1304
+ function wrapResult(result, wrapValue) {
1305
+ if (!result.done) result.value = wrapValue(result.value);
1306
+ return result;
1307
+ }
1292
1308
  var arrayProto = Array.prototype;
1293
1309
  function apply(self, method, fn, thisArg, wrappedRetFn, args) {
1294
1310
  const arr = shallowReadArray(self);
@@ -1591,6 +1607,7 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
1591
1607
  return (target, key, receiver) => {
1592
1608
  if (key === "__v_isReactive") return !isReadonly2;
1593
1609
  else if (key === "__v_isReadonly") return isReadonly2;
1610
+ else if (key === "__v_isShallow") return shallow;
1594
1611
  else if (key === "__v_raw") return target;
1595
1612
  return Reflect.get(shared.hasOwn(instrumentations, key) && key in target ? instrumentations : target, key, receiver);
1596
1613
  };
@@ -1984,9 +2001,11 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
1984
2001
  if (once && cb) {
1985
2002
  const _cb = cb;
1986
2003
  cb = (...args) => {
1987
- const res = _cb(...args);
1988
- watchHandle();
1989
- return res;
2004
+ try {
2005
+ return _cb(...args);
2006
+ } finally {
2007
+ watchHandle();
2008
+ }
1990
2009
  };
1991
2010
  }
1992
2011
  let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
@@ -1995,10 +2014,11 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
1995
2014
  if (cb) {
1996
2015
  const newValue = effect.run();
1997
2016
  if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
1998
- if (cleanup) cleanup();
1999
2017
  const currentWatcher = activeWatcher;
2000
- activeWatcher = effect;
2018
+ pauseTracking();
2001
2019
  try {
2020
+ if (cleanup) cleanup();
2021
+ activeWatcher = effect;
2002
2022
  const args = [
2003
2023
  newValue,
2004
2024
  oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
@@ -2008,6 +2028,7 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
2008
2028
  call ? call(cb, 3, args) : cb(...args);
2009
2029
  } finally {
2010
2030
  activeWatcher = currentWatcher;
2031
+ resetTracking();
2011
2032
  }
2012
2033
  }
2013
2034
  } else effect.run();
@@ -2105,7 +2126,7 @@ var require_reactivity_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
2105
2126
  //#endregion
2106
2127
  //#region ../../node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js
2107
2128
  /**
2108
- * @vue/runtime-core v3.5.43
2129
+ * @vue/runtime-core v3.5.44
2109
2130
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
2110
2131
  * @license MIT
2111
2132
  **/
@@ -2277,23 +2298,33 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2277
2298
  } else for (let i = 0; i < cb.length; i++) pendingPostFlushCbs.push(cb[i]);
2278
2299
  queueFlush();
2279
2300
  }
2280
- function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
2301
+ function flushPreFlushCbs(instance, minUid, seen, i = flushIndex + 1) {
2281
2302
  for (; i < queue.length; i++) {
2282
2303
  const cb = queue[i];
2283
2304
  if (cb && cb.flags & 2) {
2284
- if (instance && cb.id !== instance.uid) continue;
2305
+ if (instance && cb.id !== instance.uid || minUid !== void 0 && !(cb.id >= minUid)) continue;
2285
2306
  queue.splice(i, 1);
2286
- i--;
2307
+ i = instance ? i - 1 : flushIndex;
2287
2308
  if (cb.flags & 4) cb.flags &= -2;
2288
2309
  cb();
2289
2310
  if (!(cb.flags & 4)) cb.flags &= -2;
2290
2311
  }
2291
2312
  }
2292
2313
  }
2293
- function flushPostFlushCbs(seen) {
2314
+ function flushPostFlushCbs(seen, skip, minUid = 0) {
2294
2315
  if (pendingPostFlushCbs.length) {
2295
- const deduped = [...new Set(pendingPostFlushCbs)].sort((a, b) => getId(a) - getId(b));
2296
- pendingPostFlushCbs.length = 0;
2316
+ let cbs = pendingPostFlushCbs;
2317
+ let kept = 0;
2318
+ if (skip) {
2319
+ cbs = [];
2320
+ for (let i = 0; i < pendingPostFlushCbs.length; i++) {
2321
+ const cb = pendingPostFlushCbs[i];
2322
+ if (cb.i !== void 0 ? !cb.i || cb.i.uid < minUid : skip.has(cb)) pendingPostFlushCbs[kept++] = cb;
2323
+ else cbs.push(cb);
2324
+ }
2325
+ }
2326
+ const deduped = [...new Set(cbs)].sort((a, b) => getId(a) - getId(b));
2327
+ pendingPostFlushCbs.length = kept;
2297
2328
  if (activePostFlushCbs) {
2298
2329
  for (let i = 0; i < deduped.length; i++) activePostFlushCbs.push(deduped[i]);
2299
2330
  return;
@@ -2309,6 +2340,22 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2309
2340
  postFlushIndex = 0;
2310
2341
  }
2311
2342
  }
2343
+ var isFlushing = false;
2344
+ function flushOnAppMount(fn, minUid) {
2345
+ if (isFlushing) {
2346
+ fn();
2347
+ return;
2348
+ }
2349
+ const queued = minUid === void 0 ? void 0 : new Set(pendingPostFlushCbs);
2350
+ fn();
2351
+ isFlushing = true;
2352
+ try {
2353
+ flushPreFlushCbs(void 0, minUid);
2354
+ flushPostFlushCbs(void 0, queued, minUid);
2355
+ } finally {
2356
+ isFlushing = false;
2357
+ }
2358
+ }
2312
2359
  var getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;
2313
2360
  function flushJobs(seen) {
2314
2361
  try {
@@ -2468,6 +2515,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2468
2515
  baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
2469
2516
  let isPre = false;
2470
2517
  if (flush === "post") baseWatchOptions.scheduler = (job) => {
2518
+ job.i = instance;
2471
2519
  queuePostRenderEffect(job, instance && instance.suspense);
2472
2520
  };
2473
2521
  else if (flush !== "sync") {
@@ -2640,7 +2688,11 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2640
2688
  hydrate: hydrateTeleport
2641
2689
  };
2642
2690
  function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2) {
2643
- if (moveType === 0) insert(vnode.targetAnchor, container, parentAnchor);
2691
+ if (moveType === 0) {
2692
+ if (vnode.targetStart) insert(vnode.targetStart, container, parentAnchor);
2693
+ insert(vnode.targetAnchor, container, parentAnchor);
2694
+ parentAnchor = vnode.targetAnchor;
2695
+ }
2644
2696
  const { el, anchor, shapeFlag, children, props } = vnode;
2645
2697
  const isReorder = moveType === 2;
2646
2698
  if (isReorder) insert(el, container, parentAnchor);
@@ -2757,10 +2809,6 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2757
2809
  onAfterAppear: TransitionHookValidator,
2758
2810
  onAppearCancelled: TransitionHookValidator
2759
2811
  };
2760
- var recursiveGetSubtree = (instance) => {
2761
- const subTree = instance.subTree;
2762
- return subTree.component ? recursiveGetSubtree(subTree.component) : subTree;
2763
- };
2764
2812
  var BaseTransitionImpl = {
2765
2813
  name: `BaseTransition`,
2766
2814
  props: BaseTransitionPropsValidators,
@@ -2779,7 +2827,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2779
2827
  let enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance, (hooks) => enterHooks = hooks);
2780
2828
  if (innerChild.type !== Comment) setTransitionHooks(innerChild, enterHooks);
2781
2829
  let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
2782
- if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && recursiveGetSubtree(instance).type !== Comment) {
2830
+ if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && getTransitionRoot(instance.subTree)) {
2783
2831
  let leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);
2784
2832
  setTransitionHooks(oldInnerChild, leavingHooks);
2785
2833
  if (mode === "out-in" && innerChild.type !== Comment) {
@@ -2857,7 +2905,14 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2857
2905
  }
2858
2906
  if (el[leaveCbKey]) el[leaveCbKey](true);
2859
2907
  const leavingVNode = leavingVNodesCache[key];
2860
- if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) leavingVNode.el[leaveCbKey]();
2908
+ if (leavingVNode && isSameVNodeType(vnode, leavingVNode)) {
2909
+ let leavingCb = leavingVNode.el[leaveCbKey];
2910
+ if (!leavingCb) {
2911
+ const leavingRoot = getTransitionRoot(leavingVNode);
2912
+ leavingCb = leavingRoot && leavingRoot.el[leaveCbKey];
2913
+ }
2914
+ if (leavingCb) leavingCb();
2915
+ }
2861
2916
  callHook(hook, [el]);
2862
2917
  },
2863
2918
  enter(el) {
@@ -2940,7 +2995,13 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2940
2995
  } else if (vnode.shapeFlag & 128) {
2941
2996
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
2942
2997
  vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
2943
- } else vnode.transition = hooks;
2998
+ } else {
2999
+ vnode.transition = hooks;
3000
+ if (vnode.type === Fragment && shared.isArray(vnode.children)) {
3001
+ const child = filterSingleRoot(vnode.children, false);
3002
+ if (child) setTransitionHooks(child, hooks);
3003
+ }
3004
+ }
2944
3005
  }
2945
3006
  function getTransitionRawChildren(children, keepComment = false, parentKey) {
2946
3007
  let ret = [];
@@ -2956,6 +3017,14 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
2956
3017
  if (keyedFragmentCount > 1) for (let i = 0; i < ret.length; i++) ret[i].patchFlag = -2;
2957
3018
  return ret;
2958
3019
  }
3020
+ function getTransitionRoot(vnode) {
3021
+ if (vnode.component) return getTransitionRoot(vnode.component.subTree);
3022
+ if (vnode.type === Fragment) {
3023
+ const child = shared.isArray(vnode.children) && filterSingleRoot(vnode.children, false);
3024
+ return child ? getTransitionRoot(child) : void 0;
3025
+ }
3026
+ if (vnode.type !== Comment) return vnode;
3027
+ }
2959
3028
  // @__NO_SIDE_EFFECTS__
2960
3029
  function defineComponent(options, extraOptions) {
2961
3030
  return shared.isFunction(options) ? /* @__PURE__ */ (() => shared.extend({ name: options.name }, extraOptions, { setup: options }))() : options;
@@ -3389,14 +3458,20 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
3389
3458
  break;
3390
3459
  }
3391
3460
  }, opts);
3392
- forEach((el) => {
3393
- if (!(el instanceof Element)) return;
3461
+ const observe = (el) => {
3394
3462
  if (elementIsVisibleInViewport(el)) {
3395
3463
  hydrate();
3396
3464
  ob.disconnect();
3397
3465
  return false;
3398
3466
  }
3467
+ if (getComputedStyle(el).display === "contents") {
3468
+ for (let i = 0; i < el.children.length; i++) if (observe(el.children[i]) === false) return false;
3469
+ }
3399
3470
  ob.observe(el);
3471
+ };
3472
+ forEach((el) => {
3473
+ if (!(el instanceof Element)) return;
3474
+ return observe(el);
3400
3475
  });
3401
3476
  return () => ob.disconnect();
3402
3477
  };
@@ -3628,7 +3703,10 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
3628
3703
  function pruneCacheEntry(key) {
3629
3704
  const cached = cache.get(key);
3630
3705
  if (cached && (!current || !isSameVNodeType(cached, current))) unmount(cached);
3631
- else if (current) resetShapeFlag(current);
3706
+ else if (current) {
3707
+ resetShapeFlag(current);
3708
+ if (cached) resetShapeFlag(cached);
3709
+ }
3632
3710
  cache.delete(key);
3633
3711
  keys.delete(key);
3634
3712
  }
@@ -3835,8 +3913,11 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
3835
3913
  ret = new Array(source.length);
3836
3914
  for (let i = 0, l = source.length; i < l; i++) ret[i] = renderItem(needsWrap ? isReadonlySource ? reactivity.toReadonly(reactivity.toReactive(source[i])) : reactivity.toReactive(source[i]) : source[i], i, void 0, cached && cached[i]);
3837
3915
  } else if (typeof source === "number") {
3838
- ret = new Array(source);
3839
- for (let i = 0; i < source; i++) ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
3916
+ if (!Number.isInteger(source) || source < 0) ret = [];
3917
+ else {
3918
+ ret = new Array(source);
3919
+ for (let i = 0; i < source; i++) ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
3920
+ }
3840
3921
  } else if (shared.isObject(source)) {
3841
3922
  if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
3842
3923
  else {
@@ -4597,7 +4678,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
4597
4678
  if (nextKeys.length !== Object.keys(prevProps).length) return true;
4598
4679
  for (let i = 0; i < nextKeys.length; i++) {
4599
4680
  const key = nextKeys[i];
4600
- if (hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emitsOptions, key)) return true;
4681
+ if (!shared.hasOwn(prevProps, key) || hasPropValueChanged(nextProps, prevProps, key) && !isEmitListener(emitsOptions, key)) return true;
4601
4682
  }
4602
4683
  return false;
4603
4684
  }
@@ -5037,7 +5118,8 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5037
5118
  for (let i = 0; i < newChildren.length; i++) {
5038
5119
  const oldVNode = oldChildren[i];
5039
5120
  const newVNode = newChildren[i];
5040
- const container = oldVNode.el && (oldVNode.type === Fragment || !isSameVNodeType(oldVNode, newVNode) || oldVNode.shapeFlag & 198) ? hostParentNode(oldVNode.el) : fallbackContainer;
5121
+ const oldEl = oldVNode.el || resolveAsyncComponentPlaceholder(oldVNode);
5122
+ const container = oldEl && (oldVNode.type === Fragment || !isSameVNodeType(oldVNode, newVNode) || oldVNode.shapeFlag & 198) ? hostParentNode(oldEl) : fallbackContainer;
5041
5123
  patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, namespace, slotScopeIds, true);
5042
5124
  }
5043
5125
  };
@@ -5081,7 +5163,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5081
5163
  if (isKeepAlive(initialVNode)) instance.ctx.renderer = internals;
5082
5164
  setupComponent(instance, false, optimized);
5083
5165
  if (instance.asyncDep) {
5084
- parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
5166
+ parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized, namespace);
5085
5167
  if (!initialVNode.el) {
5086
5168
  const placeholder = instance.subTree = createVNode(Comment);
5087
5169
  processCommentNode(null, placeholder, container, anchor);
@@ -5094,6 +5176,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5094
5176
  if (shouldUpdateComponent(n1, n2, optimized)) {
5095
5177
  if (instance.asyncDep && !instance.asyncResolved) {
5096
5178
  n2.el = n1.el;
5179
+ n2.placeholder = n1.placeholder;
5097
5180
  updateComponentPreRender(instance, n2, optimized);
5098
5181
  return;
5099
5182
  } else {
@@ -5102,6 +5185,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5102
5185
  }
5103
5186
  } else {
5104
5187
  n2.el = n1.el;
5188
+ n2.placeholder = n1.placeholder;
5105
5189
  instance.vnode = n2;
5106
5190
  }
5107
5191
  };
@@ -5409,7 +5493,8 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5409
5493
  };
5410
5494
  const remove = (vnode) => {
5411
5495
  const { type, el, anchor, transition } = vnode;
5412
- if (type === Fragment) {
5496
+ const isFragment = type === Fragment;
5497
+ if (isFragment && !transition) {
5413
5498
  removeFragment(el, anchor);
5414
5499
  return;
5415
5500
  }
@@ -5418,14 +5503,18 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5418
5503
  if (transition && !transition.persisted && transition.afterLeave) transition.afterLeave();
5419
5504
  return;
5420
5505
  }
5506
+ const leavingNode = isFragment ? getTransitionRoot(vnode) : vnode;
5421
5507
  const performRemove = () => {
5422
- hostRemove(el);
5508
+ if (isFragment) {
5509
+ if (hostParentNode(el)) removeFragment(el, anchor);
5510
+ } else hostRemove(el);
5423
5511
  if (transition && !transition.persisted && transition.afterLeave) transition.afterLeave();
5424
5512
  };
5425
- if (vnode.shapeFlag & 1 && transition && !transition.persisted) {
5513
+ if (leavingNode && leavingNode.shapeFlag & 1 && transition && !transition.persisted) {
5426
5514
  const { leave, delayLeave } = transition;
5427
- const performLeave = () => leave(el, performRemove);
5428
- if (delayLeave) delayLeave(vnode.el, performRemove, performLeave);
5515
+ const leavingEl = leavingNode.el;
5516
+ const performLeave = () => leave(leavingEl, performRemove);
5517
+ if (delayLeave) delayLeave(leavingEl, performRemove, performLeave);
5429
5518
  else performLeave();
5430
5519
  } else performRemove();
5431
5520
  };
@@ -5466,22 +5555,13 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5466
5555
  const teleportEnd = el && el[TeleportEndKey];
5467
5556
  return teleportEnd ? hostNextSibling(teleportEnd) : el;
5468
5557
  };
5469
- let isFlushing = false;
5470
5558
  const render = (vnode, container, namespace) => {
5471
- let instance;
5472
- if (vnode == null) {
5473
- if (container._vnode) {
5474
- unmount(container._vnode, null, null, true);
5475
- instance = container._vnode.component;
5476
- }
5477
- } else patch(container._vnode || null, vnode, container, null, null, null, namespace);
5478
- container._vnode = vnode;
5479
- if (!isFlushing) {
5480
- isFlushing = true;
5481
- flushPreFlushCbs(instance);
5482
- flushPostFlushCbs();
5483
- isFlushing = false;
5484
- }
5559
+ flushOnAppMount(() => {
5560
+ if (vnode == null) {
5561
+ if (container._vnode) unmount(container._vnode, null, null, true);
5562
+ } else patch(container._vnode || null, vnode, container, null, null, null, namespace);
5563
+ container._vnode = vnode;
5564
+ }, vnode && container._vnode ? void 0 : vnode && vnode.component ? vnode.component.uid : getNextUid());
5485
5565
  };
5486
5566
  const internals = {
5487
5567
  p: patch,
@@ -5795,7 +5875,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5795
5875
  next() {
5796
5876
  return suspense.activeBranch && next(suspense.activeBranch);
5797
5877
  },
5798
- registerDep(instance, setupRenderEffect, optimized2) {
5878
+ registerDep(instance, setupRenderEffect, optimized2, namespace2) {
5799
5879
  const isInPendingSuspense = !!suspense.pendingBranch;
5800
5880
  if (isInPendingSuspense) suspense.deps++;
5801
5881
  const hydratedEl = instance.vnode.el;
@@ -5804,7 +5884,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5804
5884
  }).then((asyncSetupResult) => {
5805
5885
  if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) return;
5806
5886
  unsetCurrentInstance();
5807
- if (hydratedEl && !instance.scope.active) {
5887
+ if (!instance.scope.active) {
5808
5888
  if (isInPendingSuspense && --suspense.deps === 0) suspense.resolve();
5809
5889
  return;
5810
5890
  }
@@ -5813,7 +5893,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
5813
5893
  handleSetupResult(instance, asyncSetupResult, false);
5814
5894
  if (hydratedEl) vnode2.el = hydratedEl;
5815
5895
  const placeholder = !hydratedEl && instance.subTree.el;
5816
- setupRenderEffect(instance, vnode2, parentNode(hydratedEl || instance.subTree.el), hydratedEl ? null : next(instance.subTree), suspense, namespace, optimized2);
5896
+ setupRenderEffect(instance, vnode2, parentNode(hydratedEl || instance.subTree.el), hydratedEl ? null : next(instance.subTree), suspense, namespace2, optimized2);
5817
5897
  if (placeholder) {
5818
5898
  vnode2.placeholder = null;
5819
5899
  remove(placeholder);
@@ -6125,6 +6205,9 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
6125
6205
  }
6126
6206
  var emptyAppContext = createAppContext();
6127
6207
  var uid = 0;
6208
+ function getNextUid() {
6209
+ return uid;
6210
+ }
6128
6211
  function createComponentInstance(vnode, parent, suspense) {
6129
6212
  const type = vnode.type;
6130
6213
  const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
@@ -6388,7 +6471,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
6388
6471
  if (isBlockTreeEnabled > 0 && currentBlock) currentBlock.push(cached);
6389
6472
  return true;
6390
6473
  }
6391
- var version = "3.5.43";
6474
+ var version = "3.5.44";
6392
6475
  var warn$1 = shared.NOOP;
6393
6476
  var ErrorTypeStrings = ErrorTypeStrings$1;
6394
6477
  var devtools = void 0;
@@ -6558,7 +6641,7 @@ var require_runtime_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
6558
6641
  //#endregion
6559
6642
  //#region ../../node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
6560
6643
  /**
6561
- * @vue/runtime-dom v3.5.43
6644
+ * @vue/runtime-dom v3.5.44
6562
6645
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
6563
6646
  * @license MIT
6564
6647
  **/
@@ -6916,7 +6999,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
6916
6999
  }
6917
7000
  } else if (prev) el.removeAttribute("style");
6918
7001
  if (vShowOriginalDisplay in el) {
6919
- el[vShowOriginalDisplay] = hasControlledDisplay ? style.display : "";
7002
+ if (!isCssString || prev !== next) el[vShowOriginalDisplay] = hasControlledDisplay ? style.display : "";
6920
7003
  if (el[vShowHidden]) style.display = "none";
6921
7004
  }
6922
7005
  }
@@ -7216,7 +7299,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7216
7299
  this._numberProps = numberProps;
7217
7300
  this._resolveProps(def);
7218
7301
  if (this.shadowRoot) this._applyStyles(styles);
7219
- this._mount(def);
7302
+ if (this._connected) this._mount(def);
7220
7303
  };
7221
7304
  const asyncDef = this._def.__asyncLoader;
7222
7305
  if (asyncDef) {
@@ -7455,6 +7538,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7455
7538
  var newPositionMap = /* @__PURE__ */ new WeakMap();
7456
7539
  var moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
7457
7540
  var enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
7541
+ var pendingGroups = /* @__PURE__ */ new WeakMap();
7458
7542
  var decorate = (t) => {
7459
7543
  delete t.props.mode;
7460
7544
  return t;
@@ -7470,15 +7554,24 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7470
7554
  const state = runtimeCore.useTransitionState();
7471
7555
  let prevChildren;
7472
7556
  let children;
7557
+ let origins;
7558
+ let moves;
7559
+ const willMove = () => {
7560
+ if (moves === void 0) moves = prevChildren.length > 0 && hasCSSTransform(prevChildren[0].el, instance.vnode.el, resolveMoveClass(props));
7561
+ return moves;
7562
+ };
7473
7563
  runtimeCore.onUpdated(() => {
7474
- if (!prevChildren.length) return;
7475
- const moveClass = props.moveClass || `${props.name || "v"}-move`;
7476
- if (!hasCSSTransform(prevChildren[0].el, instance.vnode.el, moveClass)) {
7564
+ pendingGroups.delete(instance);
7565
+ if (!willMove()) {
7477
7566
  prevChildren = [];
7567
+ origins = void 0;
7478
7568
  return;
7479
7569
  }
7570
+ const moveClass = resolveMoveClass(props);
7480
7571
  prevChildren.forEach(callPendingCbs);
7481
- prevChildren.forEach(recordPosition);
7572
+ const shift = origins && getOriginShift(origins, instance.vnode.el);
7573
+ origins = void 0;
7574
+ prevChildren.forEach((c) => recordPosition(c, shift));
7482
7575
  const movedChildren = prevChildren.filter(applyTranslation);
7483
7576
  forceReflow(instance.vnode.el);
7484
7577
  movedChildren.forEach((c) => {
@@ -7503,6 +7596,7 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7503
7596
  const cssTransitionProps = resolveTransitionProps(rawProps);
7504
7597
  let tag = rawProps.tag || runtimeCore.Fragment;
7505
7598
  prevChildren = [];
7599
+ moves = void 0;
7506
7600
  if (children) for (let i = 0; i < children.length; i++) {
7507
7601
  const child = children[i];
7508
7602
  if (child.el && child.el instanceof Element && !child.el[vShowHidden]) {
@@ -7516,6 +7610,10 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7516
7610
  const child = children[i];
7517
7611
  if (child.key != null) runtimeCore.setTransitionHooks(child, runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance));
7518
7612
  }
7613
+ if (prevChildren.length) {
7614
+ origins = getOrigins(instance);
7615
+ pendingGroups.set(instance, willMove);
7616
+ }
7519
7617
  return runtimeCore.createVNode(tag, null, children);
7520
7618
  };
7521
7619
  }
@@ -7525,8 +7623,11 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7525
7623
  if (el[moveCbKey]) el[moveCbKey]();
7526
7624
  if (el[enterCbKey]) el[enterCbKey]();
7527
7625
  }
7528
- function recordPosition(c) {
7529
- newPositionMap.set(c, getPosition(c.el));
7626
+ function resolveMoveClass(props) {
7627
+ return props.moveClass || `${props.name || "v"}-move`;
7628
+ }
7629
+ function recordPosition(c, shift) {
7630
+ newPositionMap.set(c, getPosition(c.el, shift));
7530
7631
  }
7531
7632
  function applyTranslation(c) {
7532
7633
  const oldPos = positionMap.get(c);
@@ -7550,13 +7651,36 @@ var require_runtime_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
7550
7651
  return c;
7551
7652
  }
7552
7653
  }
7553
- function getPosition(el) {
7654
+ function getPosition(el, shift) {
7554
7655
  const rect = el.getBoundingClientRect();
7555
7656
  return {
7556
- left: rect.left,
7557
- top: rect.top
7657
+ left: rect.left - (shift ? shift.left : 0),
7658
+ top: rect.top - (shift ? shift.top : 0)
7558
7659
  };
7559
7660
  }
7661
+ function getOrigins(instance) {
7662
+ let origins;
7663
+ for (let group = instance.parent; group; group = group.parent) {
7664
+ const willMove = pendingGroups.get(group);
7665
+ if (willMove) {
7666
+ const item = findItem(group.vnode.el, instance.vnode.el);
7667
+ if (item) (origins || (origins = [])).push(shared.extend(getPosition(item), {
7668
+ item,
7669
+ willMove
7670
+ }));
7671
+ }
7672
+ }
7673
+ return origins;
7674
+ }
7675
+ function findItem(root, node) {
7676
+ const container = root.nodeType === 1 ? root : root.parentNode;
7677
+ while (node && node.parentNode !== container) node = node.parentNode;
7678
+ if (node && node.nodeType === 1) return node;
7679
+ }
7680
+ function getOriginShift(origins, root) {
7681
+ const origin = origins.find((o) => o.willMove() && o.item.contains(root));
7682
+ return origin && getPosition(origin.item, origin);
7683
+ }
7560
7684
  function hasCSSTransform(el, root, moveClass) {
7561
7685
  const clone = el.cloneNode();
7562
7686
  const _vtc = el[vtcKey];
@@ -11964,10 +12088,10 @@ var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
11964
12088
  const arrows = [];
11965
12089
  while (stack.length !== 0) {
11966
12090
  const node = stack.pop();
11967
- if (node.type === "ArrowFunctionExpression" && node.body.type !== "BlockStatement") {
12091
+ if (node.type === "ArrowFunctionExpression") {
11968
12092
  if (node.typeParameters || !node.returnType) this.finishArrowValidation(node);
11969
12093
  else arrows.push(node);
11970
- stack.push(node.body);
12094
+ if (node.body.type !== "BlockStatement") stack.push(node.body);
11971
12095
  } else if (node.type === "ConditionalExpression") {
11972
12096
  stack.push(node.consequent);
11973
12097
  stack.push(node.alternate);
@@ -17756,6 +17880,9 @@ var require_lib$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
17756
17880
  }
17757
17881
  fillOptionalPropertiesForTSESLint(node) {
17758
17882
  switch (node.type) {
17883
+ case "ImportDeclaration":
17884
+ node.phase ??= null;
17885
+ return;
17759
17886
  case "ExpressionStatement":
17760
17887
  node.directive ??= void 0;
17761
17888
  return;
@@ -23548,7 +23675,7 @@ var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
23548
23675
  //#endregion
23549
23676
  //#region ../../node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js
23550
23677
  /**
23551
- * @vue/compiler-core v3.5.43
23678
+ * @vue/compiler-core v3.5.44
23552
23679
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
23553
23680
  * @license MIT
23554
23681
  **/
@@ -24899,7 +25026,8 @@ var require_compiler_core_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
24899
25026
  [42]: `v-model value must be a valid JavaScript member expression.`,
24900
25027
  [43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
24901
25028
  [44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
24902
- Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
25029
+ Use a v-bind binding combined with a v-on listener that emits update:x event instead.
25030
+ For props declared with defineModel(), assign the returned ref to a variable and use v-model on that variable.`,
24903
25031
  [45]: `v-model cannot be used on a const binding because it is not writable.`,
24904
25032
  [46]: `Error parsing JavaScript expression: `,
24905
25033
  [47]: `<KeepAlive> expects exactly one child component.`,
@@ -27194,7 +27322,11 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
27194
27322
  ]),
27195
27323
  createCompoundExpression([
27196
27324
  `if (_cached && _cached.el`,
27197
- ...keyExp ? [` && _cached.key === `, keyExp] : [],
27325
+ ...keyExp ? [
27326
+ ` && _cached.key === (`,
27327
+ keyExp,
27328
+ `)`
27329
+ ] : [],
27198
27330
  ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`
27199
27331
  ]),
27200
27332
  createCompoundExpression([`const _item = `, childBlock]),
@@ -28370,7 +28502,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
28370
28502
  //#endregion
28371
28503
  //#region ../../node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js
28372
28504
  /**
28373
- * @vue/compiler-dom v3.5.43
28505
+ * @vue/compiler-dom v3.5.44
28374
28506
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
28375
28507
  * @license MIT
28376
28508
  **/
@@ -28602,6 +28734,29 @@ var require_compiler_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
28602
28734
  needRuntime: context.helper(V_SHOW)
28603
28735
  };
28604
28736
  };
28737
+ var transformTransition = (node, context) => {
28738
+ if (node.type === 1 && node.tagType === 1) {
28739
+ if (context.isBuiltInComponent(node.tag) === TRANSITION) return () => {
28740
+ if (!node.children.length) return;
28741
+ hasMultipleChildren(node);
28742
+ const child = node.children[0];
28743
+ if (child.type === 1) {
28744
+ for (const p of child.props) if (p.type === 7 && p.name === "show") node.props.push({
28745
+ type: 6,
28746
+ name: "persisted",
28747
+ nameLoc: node.loc,
28748
+ value: void 0,
28749
+ loc: node.loc
28750
+ });
28751
+ }
28752
+ };
28753
+ }
28754
+ };
28755
+ function hasMultipleChildren(node) {
28756
+ const children = node.children = node.children.filter((c) => !compilerCore.isCommentOrWhitespace(c));
28757
+ const child = children[0];
28758
+ return children.length !== 1 || child.type === 11 || child.type === 9 && child.branches.some(hasMultipleChildren);
28759
+ }
28605
28760
  var expReplaceRE = /__VUE_EXP_START__(.*?)__VUE_EXP_END__/g;
28606
28761
  var stringifyStatic = (children, context, parent) => {
28607
28762
  if (context.scopes.vSlot > 0) return;
@@ -28708,8 +28863,9 @@ var require_compiler_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
28708
28863
  }
28709
28864
  }
28710
28865
  function stringifyElement(node, context) {
28866
+ var _a;
28711
28867
  let res = `<${node.tag}`;
28712
- let innerHTML = "";
28868
+ let innerHTML = void 0;
28713
28869
  for (let i = 0; i < node.props.length; i++) {
28714
28870
  const p = node.props[i];
28715
28871
  if (p.type === 6) {
@@ -28731,13 +28887,13 @@ var require_compiler_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
28731
28887
  else if (arg === "style") evaluated = shared.stringifyStyle(shared.normalizeStyle(evaluated));
28732
28888
  res += ` ${p.arg.content}="${shared.escapeHtml(evaluated)}"`;
28733
28889
  }
28734
- } else if (p.name === "html") innerHTML = evaluateConstant(p.exp);
28890
+ } else if (p.name === "html") innerHTML = (_a = evaluateConstant(p.exp)) != null ? _a : "";
28735
28891
  else if (p.name === "text") innerHTML = shared.escapeHtml(shared.toDisplayString(evaluateConstant(p.exp)));
28736
28892
  }
28737
28893
  }
28738
28894
  if (context.scopeId) res += ` ${context.scopeId}`;
28739
28895
  res += `>`;
28740
- if (innerHTML) res += innerHTML;
28896
+ if (innerHTML !== void 0) res += innerHTML;
28741
28897
  else for (let i = 0; i < node.children.length; i++) res += stringifyNode(node.children[i], context);
28742
28898
  if (!shared.isVoidTag(node.tag)) res += `</${node.tag}>`;
28743
28899
  return res;
@@ -28758,7 +28914,11 @@ var require_compiler_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
28758
28914
  var ignoreSideEffectTags = (node, context) => {
28759
28915
  if (node.type === 1 && node.tagType === 0 && (node.tag === "script" || node.tag === "style")) context.removeNode();
28760
28916
  };
28761
- var DOMNodeTransforms = [transformStyle, ...[]];
28917
+ var DOMNodeTransforms = [
28918
+ transformStyle,
28919
+ transformTransition,
28920
+ ...[]
28921
+ ];
28762
28922
  var DOMDirectiveTransforms = {
28763
28923
  cloak: compilerCore.noopDirectiveTransform,
28764
28924
  html: transformVHtml,
@@ -28807,7 +28967,7 @@ var require_compiler_dom_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) =>
28807
28967
  //#endregion
28808
28968
  //#region ../../node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js
28809
28969
  /**
28810
- * @vue/compiler-ssr v3.5.43
28970
+ * @vue/compiler-ssr v3.5.44
28811
28971
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
28812
28972
  * @license MIT
28813
28973
  **/
@@ -29649,7 +29809,7 @@ var require_compiler_ssr_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
29649
29809
  //#endregion
29650
29810
  //#region ../../node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js
29651
29811
  /**
29652
- * @vue/server-renderer v3.5.43
29812
+ * @vue/server-renderer v3.5.44
29653
29813
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
29654
29814
  * @license MIT
29655
29815
  **/
@@ -29790,8 +29950,10 @@ var require_server_renderer_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports)
29790
29950
  }
29791
29951
  function ssrRenderList(source, renderItem) {
29792
29952
  if (shared.isArray(source) || shared.isString(source)) for (let i = 0, l = source.length; i < l; i++) renderItem(source[i], i);
29793
- else if (typeof source === "number") for (let i = 0; i < source; i++) renderItem(i + 1, i);
29794
- else if (shared.isObject(source)) {
29953
+ else if (typeof source === "number") {
29954
+ if (!Number.isInteger(source) || source < 0) return;
29955
+ for (let i = 0; i < source; i++) renderItem(i + 1, i);
29956
+ } else if (shared.isObject(source)) {
29795
29957
  if (source[Symbol.iterator]) {
29796
29958
  let i = 0;
29797
29959
  for (const item of source) renderItem(item, i++);
@@ -29915,15 +30077,20 @@ var require_server_renderer_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports)
29915
30077
  const res = setupComponent(instance, true);
29916
30078
  const hasAsyncSetup = shared.isPromise(res);
29917
30079
  let prefetches = instance.sp;
29918
- if (hasAsyncSetup || prefetches) return Promise.resolve(res).then(() => {
30080
+ let p;
30081
+ if (hasAsyncSetup || prefetches) p = Promise.resolve(res).then(() => {
29919
30082
  if (hasAsyncSetup) prefetches = instance.sp;
29920
- if (prefetches) return Promise.all(prefetches.map((prefetch) => prefetch.call(instance.proxy)));
29921
- }).catch(shared.NOOP).then(() => renderComponentSubTree(instance, slotScopeId));
30083
+ if (prefetches) try {
30084
+ return Promise.all(prefetches.map((prefetch) => prefetch.call(instance.proxy))).catch(shared.NOOP);
30085
+ } catch {}
30086
+ }).then(() => renderComponentSubTree(instance, slotScopeId));
29922
30087
  else try {
29923
30088
  return renderComponentSubTree(instance, slotScopeId);
29924
30089
  } catch (err) {
29925
- return Promise.reject(err);
30090
+ p = Promise.reject(err);
29926
30091
  }
30092
+ p.catch(shared.NOOP);
30093
+ return p;
29927
30094
  }
29928
30095
  function renderComponentSubTree(instance, slotScopeId) {
29929
30096
  const comp = instance.type;
@@ -30033,13 +30200,13 @@ var require_server_renderer_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports)
30033
30200
  if (!shared.isVoidTag(tag)) {
30034
30201
  let hasChildrenOverride = false;
30035
30202
  if (props) {
30036
- if (props.innerHTML) {
30203
+ if (props.innerHTML != null) {
30037
30204
  hasChildrenOverride = true;
30038
- push(props.innerHTML);
30039
- } else if (props.textContent) {
30205
+ push(String(props.innerHTML));
30206
+ } else if (props.textContent != null) {
30040
30207
  hasChildrenOverride = true;
30041
30208
  push(shared.escapeHtml(props.textContent));
30042
- } else if (tag === "textarea" && props.value) {
30209
+ } else if (tag === "textarea" && props.value != null) {
30043
30210
  hasChildrenOverride = true;
30044
30211
  push(shared.escapeHtml(props.value));
30045
30212
  }
@@ -30118,11 +30285,41 @@ var require_server_renderer_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports)
30118
30285
  const vnode = Vue.createVNode(input._component, input._props);
30119
30286
  vnode.appContext = input._context;
30120
30287
  input.provide(Vue.ssrContextKey, context);
30121
- const result = await unrollBuffer$1(await renderComponentVNode(vnode));
30122
- await resolveTeleports(context);
30123
- if (context.__watcherHandles) for (const unwatch of context.__watcherHandles) unwatch();
30288
+ let buffer;
30289
+ let result;
30290
+ try {
30291
+ buffer = await renderComponentVNode(vnode);
30292
+ result = await unrollBuffer$1(buffer);
30293
+ await resolveTeleports(context);
30294
+ } catch (err) {
30295
+ cleanupFailedRender(buffer, context);
30296
+ throw err;
30297
+ }
30298
+ stopWatchers(context);
30124
30299
  return result;
30125
30300
  }
30301
+ function stopWatchers(context, start = 0) {
30302
+ const handles = context.__watcherHandles;
30303
+ if (handles) for (let i = start; i < handles.length; i++) handles[i]();
30304
+ }
30305
+ function cleanupFailedRender(buffer, context) {
30306
+ const stopped = context.__watcherHandles ? context.__watcherHandles.length : 0;
30307
+ try {
30308
+ stopWatchers(context);
30309
+ } catch {}
30310
+ (async () => {
30311
+ if (buffer) await settleBuffer(buffer);
30312
+ for (const key in context.__teleportBuffers) await settleBuffer(context.__teleportBuffers[key]);
30313
+ stopWatchers(context, stopped);
30314
+ })().catch(shared.NOOP);
30315
+ }
30316
+ async function settleBuffer(buffer) {
30317
+ if (!buffer.hasAsync) return;
30318
+ for (let item of buffer) try {
30319
+ if (shared.isPromise(item)) item = await item;
30320
+ if (!shared.isString(item)) await settleBuffer(item);
30321
+ } catch {}
30322
+ }
30126
30323
  async function resolveTeleports(context) {
30127
30324
  if (context.__teleportBuffers) {
30128
30325
  context.teleports = context.teleports || {};
@@ -30151,7 +30348,7 @@ __reExport(server_renderer_exports, /* @__PURE__ */ __toESM(require_server_rende
30151
30348
  //#endregion
30152
30349
  //#region ../../node_modules/vue/dist/vue.cjs.prod.js
30153
30350
  /**
30154
- * vue v3.5.43
30351
+ * vue v3.5.44
30155
30352
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
30156
30353
  * @license MIT
30157
30354
  **/
@@ -30200,7 +30397,7 @@ var require_vue_cjs_prod = /* @__PURE__ */ __commonJSMin(((exports) => {
30200
30397
  //#endregion
30201
30398
  //#region ../../node_modules/vue/dist/vue.cjs.js
30202
30399
  /**
30203
- * vue v3.5.43
30400
+ * vue v3.5.44
30204
30401
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
30205
30402
  * @license MIT
30206
30403
  **/
@@ -33713,6 +33910,17 @@ function prefixIssues(path, issues) {
33713
33910
  function unwrapMessage(message) {
33714
33911
  return typeof message === "string" ? message : message?.message;
33715
33912
  }
33913
+ /** The leading size checks of `defChecks` that set an upper bound, each paired with it. */
33914
+ function sizeCaps(defChecks) {
33915
+ const caps = [];
33916
+ for (const ch of defChecks ?? []) {
33917
+ const d = ch._zod.def;
33918
+ if (!/_(length|size)$|_equals$/.test(d.check)) break;
33919
+ const max = d.maximum ?? d.length ?? d.size;
33920
+ if (max >= 0) caps.push([max, ch]);
33921
+ }
33922
+ return caps;
33923
+ }
33716
33924
  function attachSchema(issues, start, inst) {
33717
33925
  var _a;
33718
33926
  for (let i = start; i < issues.length; i++) (_a = issues[i]).schema ?? (_a.schema = inst);
@@ -34762,7 +34970,7 @@ var Doc = class {
34762
34970
  var version = {
34763
34971
  major: 4,
34764
34972
  minor: 6,
34765
- patch: 5
34973
+ patch: 7
34766
34974
  };
34767
34975
  //#endregion
34768
34976
  //#region ../../node_modules/zod/v4/core/schemas.js
@@ -35313,6 +35521,26 @@ var $ZodDate = /*@__PURE__*/ $constructor("$ZodDate", (inst, def) => {
35313
35521
  return payload;
35314
35522
  };
35315
35523
  });
35524
+ function capSize(inst, size) {
35525
+ const caps = sizeCaps(inst._zod.def.checks);
35526
+ if (!caps.length) return;
35527
+ const cap = Math.min(...caps.map((c) => c[0]));
35528
+ const parse = inst._zod.parse;
35529
+ inst._zod.parse = (payload, ctx) => {
35530
+ const n = size(payload.value);
35531
+ if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
35532
+ for (const [max, ch] of sizeCaps(inst._zod.def.checks)) if (n > max && ch._zod.def.when(payload)) {
35533
+ const start = payload.issues.length;
35534
+ ch._zod.check(payload);
35535
+ payload.issues[start].continue = false;
35536
+ attachSchema(payload.issues, start, inst);
35537
+ return payload;
35538
+ }
35539
+ }
35540
+ return parse(payload, ctx);
35541
+ };
35542
+ }
35543
+ var arraySize = (input) => Array.isArray(input) ? input.length : -1;
35316
35544
  function handleArrayResult(result, final, index) {
35317
35545
  if (result.issues.length) final.issues.push(...prefixIssues(index, result.issues));
35318
35546
  final.value[index] = result.value;
@@ -35350,6 +35578,7 @@ var $ZodArray = /*@__PURE__*/ $constructor("$ZodArray", (inst, def) => {
35350
35578
  if (proms.length) return Promise.all(proms).then(() => payload);
35351
35579
  return payload;
35352
35580
  };
35581
+ capSize(inst, arraySize);
35353
35582
  });
35354
35583
  function handlePropertyResult(result, final, key, input, optin, optout) {
35355
35584
  const isPresent = key in input;
@@ -40456,6 +40685,9 @@ var EntityDefaultEventName = /* @__PURE__ */ function(EntityDefaultEventName) {
40456
40685
  function buildEntityChannelName(entity, id) {
40457
40686
  return id ? `${entity}:${id}` : entity;
40458
40687
  }
40688
+ function buildEntityNamespaceName(id) {
40689
+ return `/realm#${id}`;
40690
+ }
40459
40691
  //#endregion
40460
40692
  //#region ../../node_modules/ilingo/dist/index.mjs
40461
40693
  /**
@@ -87431,6 +87663,12 @@ var OAuth2DeviceAuthorizationAPI = class extends BaseAPI$1 {
87431
87663
  //#endregion
87432
87664
  //#region ../../packages/core-http-kit/src/domains/workflows/oauth2/token/module.ts
87433
87665
  var OAuth2TokenAPI = class extends TokenAPI {
87666
+ async createWithPassword(parameters, options = {}) {
87667
+ return this.create({
87668
+ grant_type: OAuth2TokenGrant.PASSWORD,
87669
+ ...parameters
87670
+ }, options);
87671
+ }
87434
87672
  async createWithDeviceCode(parameters, options) {
87435
87673
  return this.create({
87436
87674
  grant_type: OAuth2TokenGrant.DEVICE_CODE,
@@ -87772,7 +88010,7 @@ var ClientAuthenticationHook = class extends EventEmitter$2 {
87772
88010
  //#endregion
87773
88011
  //#region ../../node_modules/pinia/dist/pinia.js
87774
88012
  /*!
87775
- * pinia v4.0.3
88013
+ * pinia v4.1.0
87776
88014
  * (c) 2026 Eduardo San Martin Morote
87777
88015
  * @license MIT
87778
88016
  */
@@ -87818,6 +88056,11 @@ var diagnostics = /*#__PURE__*/ defineDiagnostics({
87818
88056
  why: (p) => `The same callback was passed to "$subscribe()" of store "${p.id}" more than once. Subscriptions are deduplicated, so the duplicate is ignored.`,
87819
88057
  fix: "Subscribe each callback only once. If you need to resubscribe, call the returned function to remove the previous subscription first, or create a new function.",
87820
88058
  docs: "https://pinia.vuejs.org/core-concepts/state.html#Subscribing-to-the-state"
88059
+ },
88060
+ PINIA_R1008: {
88061
+ why: (p) => `"$dispose()" was called on an old instance of store "${p.id}" that has already been replaced by a new one. This also removes the new store.`,
88062
+ fix: "Avoid keeping references to disposed stores. Call the useStore() function again to get the current store.",
88063
+ docs: "https://pinia.vuejs.org/api/pinia/interfaces/StoreWithState.html#-dispose-"
87821
88064
  }
87822
88065
  }
87823
88066
  });
@@ -87906,12 +88149,13 @@ function downloadSaveAs(blob, name = "download", opts) {
87906
88149
  a.rel = "noopener";
87907
88150
  if (typeof blob === "string") {
87908
88151
  a.href = blob;
87909
- if (a.origin !== location.origin) if (corsEnabled(a.href)) download(blob, name, opts);
87910
- else {
87911
- a.target = "_blank";
87912
- click(a);
87913
- }
87914
- else click(a);
88152
+ if (a.origin !== location.origin) {
88153
+ if (corsEnabled(a.href)) download(blob, name, opts);
88154
+ else {
88155
+ a.target = "_blank";
88156
+ click(a);
88157
+ }
88158
+ } else click(a);
87915
88159
  } else {
87916
88160
  a.href = URL.createObjectURL(blob);
87917
88161
  setTimeout(function() {
@@ -87923,16 +88167,17 @@ function downloadSaveAs(blob, name = "download", opts) {
87923
88167
  }
87924
88168
  }
87925
88169
  function msSaveAs(blob, name = "download", opts) {
87926
- if (typeof blob === "string") if (corsEnabled(blob)) download(blob, name, opts);
87927
- else {
87928
- const a = document.createElement("a");
87929
- a.href = blob;
87930
- a.target = "_blank";
87931
- setTimeout(function() {
87932
- click(a);
87933
- });
87934
- }
87935
- else navigator.msSaveOrOpenBlob(bom(blob, opts), name);
88170
+ if (typeof blob === "string") {
88171
+ if (corsEnabled(blob)) download(blob, name, opts);
88172
+ else {
88173
+ const a = document.createElement("a");
88174
+ a.href = blob;
88175
+ a.target = "_blank";
88176
+ setTimeout(function() {
88177
+ click(a);
88178
+ });
88179
+ }
88180
+ } else navigator.msSaveOrOpenBlob(bom(blob, opts), name);
87936
88181
  }
87937
88182
  function fileSaverSaveAs(blob, name, opts, popup) {
87938
88183
  popup = popup || open("", "_blank");
@@ -88102,8 +88347,11 @@ function mergeReactiveObjects(target, patchToApply) {
88102
88347
  if (!Object.hasOwn(patchToApply, key)) continue;
88103
88348
  const subPatch = patchToApply[key];
88104
88349
  const targetValue = target[key];
88105
- if (isPlainObject$1(targetValue) && isPlainObject$1(subPatch) && Object.hasOwn(target, key) && !(0, vue_exports.isRef)(subPatch) && !(0, vue_exports.isReactive)(subPatch)) target[key] = mergeReactiveObjects(targetValue, subPatch);
88106
- else target[key] = subPatch;
88350
+ if (isPlainObject$1(targetValue) && isPlainObject$1(subPatch) && Object.hasOwn(target, key) && !(0, vue_exports.isRef)(subPatch) && !(0, vue_exports.isReactive)(subPatch)) {
88351
+ target[key] = mergeReactiveObjects(targetValue, subPatch);
88352
+ const targetRef = (0, vue_exports.toRaw)(target)[key];
88353
+ if ((0, vue_exports.isRef)(targetRef) && (0, vue_exports.isShallow)(targetRef)) (0, vue_exports.triggerRef)(targetRef);
88354
+ } else target[key] = subPatch;
88107
88355
  }
88108
88356
  return target;
88109
88357
  }
@@ -88156,10 +88404,11 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
88156
88404
  if (process.env.NODE_ENV !== "production") $subscribeOptions.onTrigger = (event) => {
88157
88405
  /* istanbul ignore else */
88158
88406
  if (isListening) debuggerEvents = event;
88159
- else if (isListening === false && !store._hotUpdating)
88160
- /* istanbul ignore else */
88161
- if (Array.isArray(debuggerEvents)) debuggerEvents.push(event);
88162
- else console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug.");
88407
+ else if (isListening === false && !store._hotUpdating) {
88408
+ /* istanbul ignore else */
88409
+ if (Array.isArray(debuggerEvents)) debuggerEvents.push(event);
88410
+ else console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug.");
88411
+ }
88163
88412
  };
88164
88413
  let isListening;
88165
88414
  let isSyncListening;
@@ -88213,6 +88462,10 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
88213
88462
  scope.stop();
88214
88463
  subscriptions.clear();
88215
88464
  actionSubscriptions.clear();
88465
+ if (process.env.NODE_ENV !== "production") {
88466
+ const registeredStore = pinia._s.get($id);
88467
+ if (registeredStore && registeredStore !== store) diagnostics.PINIA_R1008({ id: $id });
88468
+ }
88216
88469
  pinia._s.delete($id);
88217
88470
  }
88218
88471
  /**
@@ -88268,6 +88521,7 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
88268
88521
  actions: {},
88269
88522
  getters: {},
88270
88523
  state: [],
88524
+ stateKeys: {},
88271
88525
  hotState
88272
88526
  });
88273
88527
  const partialStore = {
@@ -88304,15 +88558,21 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
88304
88558
  if ((0, vue_exports.isRef)(prop) && !isComputed(prop) || (0, vue_exports.isReactive)(prop)) {
88305
88559
  if (process.env.NODE_ENV !== "production" && hot) hotState.value[key] = (0, vue_exports.toRef)(setupStore, key);
88306
88560
  else if (!isOptionsStore) {
88307
- if (initialState && shouldHydrate(prop)) if ((0, vue_exports.isRef)(prop)) prop.value = initialState[key];
88308
- else {
88309
- if (prop instanceof Set || prop instanceof Map) prop.clear();
88310
- mergeReactiveObjects(prop, initialState[key]);
88561
+ if (initialState && shouldHydrate(prop)) {
88562
+ if ((0, vue_exports.isRef)(prop)) prop.value = initialState[key];
88563
+ else {
88564
+ if (prop instanceof Set || prop instanceof Map) prop.clear();
88565
+ mergeReactiveObjects(prop, initialState[key]);
88566
+ }
88311
88567
  }
88312
88568
  pinia.state.value[$id][key] = prop;
88313
88569
  }
88314
88570
  /* istanbul ignore else */
88315
- if (process.env.NODE_ENV !== "production") _hmrPayload.state.push(key);
88571
+ if (process.env.NODE_ENV !== "production") {
88572
+ _hmrPayload.state.push(key);
88573
+ const stateValue = (0, vue_exports.isRef)(prop) ? prop.value : prop;
88574
+ if (isPlainObject$1(stateValue) && !((0, vue_exports.isRef)(prop) && (0, vue_exports.isShallow)(prop))) _hmrPayload.stateKeys[key] = Object.keys(stateValue);
88575
+ }
88316
88576
  } else if (typeof prop === "function") {
88317
88577
  setupStore[key] = process.env.NODE_ENV !== "production" && hot ? prop : action(prop, key);
88318
88578
  /* istanbul ignore else */
@@ -88345,8 +88605,20 @@ function createSetupStore($id, setup, options = {}, pinia, hot, isOptionsStore)
88345
88605
  if (stateKey in store.$state) {
88346
88606
  const newStateTarget = newStore.$state[stateKey];
88347
88607
  const oldStateSource = store.$state[stateKey];
88348
- if (isOptionsStore && typeof newStateTarget === "object" && isPlainObject$1(newStateTarget) && isPlainObject$1(oldStateSource)) patchObject(newStateTarget, oldStateSource);
88349
- else newStore.$state[stateKey] = oldStateSource;
88608
+ const newStoreProperty = (0, vue_exports.toRaw)(newStore)[stateKey];
88609
+ if (!((0, vue_exports.isRef)(newStoreProperty) && (0, vue_exports.isShallow)(newStoreProperty))) {
88610
+ if (Object.hasOwn(newStore._hmrPayload.stateKeys, stateKey) && typeof newStateTarget === "object" && isPlainObject$1(newStateTarget) && isPlainObject$1(oldStateSource)) {
88611
+ if ((0, vue_exports.isShallow)(newStoreProperty)) {
88612
+ for (const key in oldStateSource) if (Object.hasOwn(oldStateSource, key) && key in newStateTarget) newStateTarget[key] = oldStateSource[key];
88613
+ (0, vue_exports.triggerRef)(newStoreProperty);
88614
+ } else patchObject(newStateTarget, oldStateSource);
88615
+ const oldStateKeys = store._hmrPayload.stateKeys[stateKey];
88616
+ if (oldStateKeys) {
88617
+ for (const key in oldStateSource) if (Object.hasOwn(oldStateSource, key) && !oldStateKeys.includes(key)) newStateTarget[key] = oldStateSource[key];
88618
+ }
88619
+ if ((0, vue_exports.isShallow)(newStoreProperty)) (0, vue_exports.triggerRef)(newStoreProperty);
88620
+ } else newStore.$state[stateKey] = oldStateSource;
88621
+ }
88350
88622
  }
88351
88623
  store[stateKey] = (0, vue_exports.toRef)(newStore.$state, stateKey);
88352
88624
  });
@@ -90164,7 +90436,6 @@ function installHTTPClientAuthenticationHook(app, options = {}) {
90164
90436
  const { refreshToken } = storeToRefs$1(store);
90165
90437
  let refreshTokenInUse = null;
90166
90438
  const hook = new ClientAuthenticationHook({
90167
- baseURL: options.baseURL,
90168
90439
  tokenCreator: () => {
90169
90440
  if (!refreshToken.value) throw new Error("No refresh token available.");
90170
90441
  refreshTokenInUse = refreshToken.value;
@@ -123767,6 +124038,7 @@ function create$2(ctx) {
123767
124038
  if (ctx.realmId) return ctx.realmId;
123768
124039
  return storeRefs.realmId.value;
123769
124040
  });
124041
+ const namespace = (0, vue_exports.computed)(() => realmId.value ? buildEntityNamespaceName(realmId.value) : "/");
123770
124042
  const targetId = (0, vue_exports.computed)(() => (0, vue_exports.isRef)(ctx.targetId) ? ctx.targetId.value : ctx.targetId);
123771
124043
  const lockId = (0, vue_exports.computed)(() => (0, vue_exports.isRef)(ctx.lockId) ? ctx.lockId.value : ctx.lockId);
123772
124044
  const processEvent = (event) => {
@@ -123792,7 +124064,7 @@ function create$2(ctx) {
123792
124064
  const mount = async () => {
123793
124065
  if (mounted || ctx.target && !targetId.value) return;
123794
124066
  mounted = true;
123795
- const socket = await socketManager.connect(`/resources#${realmId.value}`);
124067
+ const socket = await socketManager.connect(namespace.value);
123796
124068
  let event;
123797
124069
  if (ctx.buildSubscribeEventName) event = ctx.buildSubscribeEventName();
123798
124070
  else event = buildEventFullName(ctx.type, EventNameSuffix.SUBSCRIBE);
@@ -123804,12 +124076,12 @@ function create$2(ctx) {
123804
124076
  const unmount = async () => {
123805
124077
  if (!mounted || ctx.target && !targetId.value) return;
123806
124078
  mounted = false;
123807
- const socket = await socketManager.connect(`/resources#${realmId.value}`);
124079
+ const socket = await socketManager.connect(namespace.value);
123808
124080
  let event;
123809
124081
  if (ctx.buildUnsubscribeEventName) event = ctx.buildUnsubscribeEventName();
123810
124082
  else event = buildEventFullName(ctx.type, EventNameSuffix.UNSUBSCRIBE);
123811
124083
  socket.emit(event, targetId.value);
123812
- if (ctx.onCreated) socket.off(buildEventFullName(ctx.type, EntityDefaultEventName.UPDATED), handleCreated);
124084
+ if (ctx.onCreated) socket.off(buildEventFullName(ctx.type, EntityDefaultEventName.CREATED), handleCreated);
123813
124085
  if (ctx.onUpdated) socket.off(buildEventFullName(ctx.type, EntityDefaultEventName.UPDATED), handleUpdated);
123814
124086
  if (ctx.onDeleted) socket.off(buildEventFullName(ctx.type, EntityDefaultEventName.DELETED), handleDeleted);
123815
124087
  };