@vue/compat 3.2.45 → 3.2.47

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.
@@ -96,7 +96,7 @@ function normalizeProps(props) {
96
96
  // These tag configs are shared between compiler-dom and runtime-dom, so they
97
97
  // https://developer.mozilla.org/en-US/docs/Web/HTML/Element
98
98
  const HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
99
- 'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
99
+ 'header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
100
100
  'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +
101
101
  'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +
102
102
  'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +
@@ -108,7 +108,7 @@ const HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,asi
108
108
  const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +
109
109
  'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +
110
110
  'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +
111
- 'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +
111
+ 'feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +
112
112
  'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +
113
113
  'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +
114
114
  'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +
@@ -260,12 +260,13 @@ const remove = (arr, el) => {
260
260
  arr.splice(i, 1);
261
261
  }
262
262
  };
263
- const hasOwnProperty = Object.prototype.hasOwnProperty;
264
- const hasOwn = (val, key) => hasOwnProperty.call(val, key);
263
+ const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
264
+ const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
265
265
  const isArray = Array.isArray;
266
266
  const isMap = (val) => toTypeString(val) === '[object Map]';
267
267
  const isSet = (val) => toTypeString(val) === '[object Set]';
268
268
  const isDate = (val) => toTypeString(val) === '[object Date]';
269
+ const isRegExp = (val) => toTypeString(val) === '[object RegExp]';
269
270
  const isFunction = (val) => typeof val === 'function';
270
271
  const isString = (val) => typeof val === 'string';
271
272
  const isSymbol = (val) => typeof val === 'symbol';
@@ -332,10 +333,22 @@ const def = (obj, key, value) => {
332
333
  value
333
334
  });
334
335
  };
335
- const toNumber = (val) => {
336
+ /**
337
+ * "123-foo" will be parsed to 123
338
+ * This is used for the .number modifier in v-model
339
+ */
340
+ const looseToNumber = (val) => {
336
341
  const n = parseFloat(val);
337
342
  return isNaN(n) ? val : n;
338
343
  };
344
+ /**
345
+ * Only conerces number-like strings
346
+ * "123-foo" will be returned as-is
347
+ */
348
+ const toNumber = (val) => {
349
+ const n = isString(val) ? Number(val) : NaN;
350
+ return isNaN(n) ? val : n;
351
+ };
339
352
  let _globalThis;
340
353
  const getGlobalThis = () => {
341
354
  return (_globalThis ||
@@ -351,7 +364,7 @@ const getGlobalThis = () => {
351
364
  : {}));
352
365
  };
353
366
 
354
- function warn(msg, ...args) {
367
+ function warn$1(msg, ...args) {
355
368
  console.warn(`[Vue warn] ${msg}`, ...args);
356
369
  }
357
370
 
@@ -362,7 +375,7 @@ class EffectScope {
362
375
  /**
363
376
  * @internal
364
377
  */
365
- this.active = true;
378
+ this._active = true;
366
379
  /**
367
380
  * @internal
368
381
  */
@@ -377,8 +390,11 @@ class EffectScope {
377
390
  (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
378
391
  }
379
392
  }
393
+ get active() {
394
+ return this._active;
395
+ }
380
396
  run(fn) {
381
- if (this.active) {
397
+ if (this._active) {
382
398
  const currentEffectScope = activeEffectScope;
383
399
  try {
384
400
  activeEffectScope = this;
@@ -389,7 +405,7 @@ class EffectScope {
389
405
  }
390
406
  }
391
407
  else if ((process.env.NODE_ENV !== 'production')) {
392
- warn(`cannot run an inactive effect scope.`);
408
+ warn$1(`cannot run an inactive effect scope.`);
393
409
  }
394
410
  }
395
411
  /**
@@ -407,7 +423,7 @@ class EffectScope {
407
423
  activeEffectScope = this.parent;
408
424
  }
409
425
  stop(fromParent) {
410
- if (this.active) {
426
+ if (this._active) {
411
427
  let i, l;
412
428
  for (i = 0, l = this.effects.length; i < l; i++) {
413
429
  this.effects[i].stop();
@@ -430,7 +446,7 @@ class EffectScope {
430
446
  }
431
447
  }
432
448
  this.parent = undefined;
433
- this.active = false;
449
+ this._active = false;
434
450
  }
435
451
  }
436
452
  }
@@ -450,7 +466,7 @@ function onScopeDispose(fn) {
450
466
  activeEffectScope.cleanups.push(fn);
451
467
  }
452
468
  else if ((process.env.NODE_ENV !== 'production')) {
453
- warn(`onScopeDispose() is called when there is no active effect scope` +
469
+ warn$1(`onScopeDispose() is called when there is no active effect scope` +
454
470
  ` to be associated with.`);
455
471
  }
456
472
  }
@@ -652,7 +668,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
652
668
  deps = [...depsMap.values()];
653
669
  }
654
670
  else if (key === 'length' && isArray(target)) {
655
- const newLength = toNumber(newValue);
671
+ const newLength = Number(newValue);
656
672
  depsMap.forEach((dep, key) => {
657
673
  if (key === 'length' || key >= newLength) {
658
674
  deps.push(dep);
@@ -748,6 +764,10 @@ function triggerEffect(effect, debuggerEventExtraInfo) {
748
764
  }
749
765
  }
750
766
  }
767
+ function getDepFromReactive(object, key) {
768
+ var _a;
769
+ return (_a = targetMap.get(object)) === null || _a === void 0 ? void 0 : _a.get(key);
770
+ }
751
771
 
752
772
  const isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);
753
773
  const builtInSymbols = new Set(
@@ -759,7 +779,7 @@ Object.getOwnPropertyNames(Symbol)
759
779
  .filter(key => key !== 'arguments' && key !== 'caller')
760
780
  .map(key => Symbol[key])
761
781
  .filter(isSymbol));
762
- const get = /*#__PURE__*/ createGetter();
782
+ const get$1 = /*#__PURE__*/ createGetter();
763
783
  const shallowGet = /*#__PURE__*/ createGetter(false, true);
764
784
  const readonlyGet = /*#__PURE__*/ createGetter(true);
765
785
  const shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);
@@ -793,6 +813,11 @@ function createArrayInstrumentations() {
793
813
  });
794
814
  return instrumentations;
795
815
  }
816
+ function hasOwnProperty(key) {
817
+ const obj = toRaw(this);
818
+ track(obj, "has" /* TrackOpTypes.HAS */, key);
819
+ return obj.hasOwnProperty(key);
820
+ }
796
821
  function createGetter(isReadonly = false, shallow = false) {
797
822
  return function get(target, key, receiver) {
798
823
  if (key === "__v_isReactive" /* ReactiveFlags.IS_REACTIVE */) {
@@ -816,8 +841,13 @@ function createGetter(isReadonly = false, shallow = false) {
816
841
  return target;
817
842
  }
818
843
  const targetIsArray = isArray(target);
819
- if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {
820
- return Reflect.get(arrayInstrumentations, key, receiver);
844
+ if (!isReadonly) {
845
+ if (targetIsArray && hasOwn(arrayInstrumentations, key)) {
846
+ return Reflect.get(arrayInstrumentations, key, receiver);
847
+ }
848
+ if (key === 'hasOwnProperty') {
849
+ return hasOwnProperty;
850
+ }
821
851
  }
822
852
  const res = Reflect.get(target, key, receiver);
823
853
  if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
@@ -842,7 +872,7 @@ function createGetter(isReadonly = false, shallow = false) {
842
872
  return res;
843
873
  };
844
874
  }
845
- const set = /*#__PURE__*/ createSetter();
875
+ const set$1 = /*#__PURE__*/ createSetter();
846
876
  const shallowSet = /*#__PURE__*/ createSetter(true);
847
877
  function createSetter(shallow = false) {
848
878
  return function set(target, key, value, receiver) {
@@ -885,7 +915,7 @@ function deleteProperty(target, key) {
885
915
  }
886
916
  return result;
887
917
  }
888
- function has(target, key) {
918
+ function has$1(target, key) {
889
919
  const result = Reflect.has(target, key);
890
920
  if (!isSymbol(key) || !builtInSymbols.has(key)) {
891
921
  track(target, "has" /* TrackOpTypes.HAS */, key);
@@ -897,23 +927,23 @@ function ownKeys(target) {
897
927
  return Reflect.ownKeys(target);
898
928
  }
899
929
  const mutableHandlers = {
900
- get,
901
- set,
930
+ get: get$1,
931
+ set: set$1,
902
932
  deleteProperty,
903
- has,
933
+ has: has$1,
904
934
  ownKeys
905
935
  };
906
936
  const readonlyHandlers = {
907
937
  get: readonlyGet,
908
938
  set(target, key) {
909
939
  if ((process.env.NODE_ENV !== 'production')) {
910
- warn(`Set operation on key "${String(key)}" failed: target is readonly.`, target);
940
+ warn$1(`Set operation on key "${String(key)}" failed: target is readonly.`, target);
911
941
  }
912
942
  return true;
913
943
  },
914
944
  deleteProperty(target, key) {
915
945
  if ((process.env.NODE_ENV !== 'production')) {
916
- warn(`Delete operation on key "${String(key)}" failed: target is readonly.`, target);
946
+ warn$1(`Delete operation on key "${String(key)}" failed: target is readonly.`, target);
917
947
  }
918
948
  return true;
919
949
  }
@@ -931,7 +961,7 @@ const shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {
931
961
 
932
962
  const toShallow = (value) => value;
933
963
  const getProto = (v) => Reflect.getPrototypeOf(v);
934
- function get$1(target, key, isReadonly = false, isShallow = false) {
964
+ function get(target, key, isReadonly = false, isShallow = false) {
935
965
  // #1772: readonly(reactive(Map)) should return readonly + reactive version
936
966
  // of the value
937
967
  target = target["__v_raw" /* ReactiveFlags.RAW */];
@@ -957,7 +987,7 @@ function get$1(target, key, isReadonly = false, isShallow = false) {
957
987
  target.get(key);
958
988
  }
959
989
  }
960
- function has$1(key, isReadonly = false) {
990
+ function has(key, isReadonly = false) {
961
991
  const target = this["__v_raw" /* ReactiveFlags.RAW */];
962
992
  const rawTarget = toRaw(target);
963
993
  const rawKey = toRaw(key);
@@ -987,7 +1017,7 @@ function add(value) {
987
1017
  }
988
1018
  return this;
989
1019
  }
990
- function set$1(key, value) {
1020
+ function set(key, value) {
991
1021
  value = toRaw(value);
992
1022
  const target = toRaw(this);
993
1023
  const { has, get } = getProto(target);
@@ -1101,41 +1131,41 @@ function createReadonlyMethod(type) {
1101
1131
  function createInstrumentations() {
1102
1132
  const mutableInstrumentations = {
1103
1133
  get(key) {
1104
- return get$1(this, key);
1134
+ return get(this, key);
1105
1135
  },
1106
1136
  get size() {
1107
1137
  return size(this);
1108
1138
  },
1109
- has: has$1,
1139
+ has,
1110
1140
  add,
1111
- set: set$1,
1141
+ set,
1112
1142
  delete: deleteEntry,
1113
1143
  clear,
1114
1144
  forEach: createForEach(false, false)
1115
1145
  };
1116
1146
  const shallowInstrumentations = {
1117
1147
  get(key) {
1118
- return get$1(this, key, false, true);
1148
+ return get(this, key, false, true);
1119
1149
  },
1120
1150
  get size() {
1121
1151
  return size(this);
1122
1152
  },
1123
- has: has$1,
1153
+ has,
1124
1154
  add,
1125
- set: set$1,
1155
+ set,
1126
1156
  delete: deleteEntry,
1127
1157
  clear,
1128
1158
  forEach: createForEach(false, true)
1129
1159
  };
1130
1160
  const readonlyInstrumentations = {
1131
1161
  get(key) {
1132
- return get$1(this, key, true);
1162
+ return get(this, key, true);
1133
1163
  },
1134
1164
  get size() {
1135
1165
  return size(this, true);
1136
1166
  },
1137
1167
  has(key) {
1138
- return has$1.call(this, key, true);
1168
+ return has.call(this, key, true);
1139
1169
  },
1140
1170
  add: createReadonlyMethod("add" /* TriggerOpTypes.ADD */),
1141
1171
  set: createReadonlyMethod("set" /* TriggerOpTypes.SET */),
@@ -1145,13 +1175,13 @@ function createInstrumentations() {
1145
1175
  };
1146
1176
  const shallowReadonlyInstrumentations = {
1147
1177
  get(key) {
1148
- return get$1(this, key, true, true);
1178
+ return get(this, key, true, true);
1149
1179
  },
1150
1180
  get size() {
1151
1181
  return size(this, true);
1152
1182
  },
1153
1183
  has(key) {
1154
- return has$1.call(this, key, true);
1184
+ return has.call(this, key, true);
1155
1185
  },
1156
1186
  add: createReadonlyMethod("add" /* TriggerOpTypes.ADD */),
1157
1187
  set: createReadonlyMethod("set" /* TriggerOpTypes.SET */),
@@ -1345,9 +1375,10 @@ function trackRefValue(ref) {
1345
1375
  }
1346
1376
  function triggerRefValue(ref, newVal) {
1347
1377
  ref = toRaw(ref);
1348
- if (ref.dep) {
1378
+ const dep = ref.dep;
1379
+ if (dep) {
1349
1380
  if ((process.env.NODE_ENV !== 'production')) {
1350
- triggerEffects(ref.dep, {
1381
+ triggerEffects(dep, {
1351
1382
  target: ref,
1352
1383
  type: "set" /* TriggerOpTypes.SET */,
1353
1384
  key: 'value',
@@ -1355,7 +1386,7 @@ function triggerRefValue(ref, newVal) {
1355
1386
  });
1356
1387
  }
1357
1388
  else {
1358
- triggerEffects(ref.dep);
1389
+ triggerEffects(dep);
1359
1390
  }
1360
1391
  }
1361
1392
  }
@@ -1462,6 +1493,9 @@ class ObjectRefImpl {
1462
1493
  set value(newVal) {
1463
1494
  this._object[this._key] = newVal;
1464
1495
  }
1496
+ get dep() {
1497
+ return getDepFromReactive(toRaw(this._object), this._key);
1498
+ }
1465
1499
  }
1466
1500
  function toRef(object, key, defaultValue) {
1467
1501
  const val = object[key];
@@ -1503,7 +1537,7 @@ class ComputedRefImpl {
1503
1537
  }
1504
1538
  }
1505
1539
  _a = "__v_isReadonly" /* ReactiveFlags.IS_READONLY */;
1506
- function computed(getterOrOptions, debugOptions, isSSR = false) {
1540
+ function computed$1(getterOrOptions, debugOptions, isSSR = false) {
1507
1541
  let getter;
1508
1542
  let setter;
1509
1543
  const onlyGetter = isFunction(getterOrOptions);
@@ -1534,7 +1568,7 @@ function pushWarningContext(vnode) {
1534
1568
  function popWarningContext() {
1535
1569
  stack.pop();
1536
1570
  }
1537
- function warn$1(msg, ...args) {
1571
+ function warn(msg, ...args) {
1538
1572
  if (!(process.env.NODE_ENV !== 'production'))
1539
1573
  return;
1540
1574
  // avoid props formatting or warn handler tracking deps that might be mutated
@@ -1642,6 +1676,22 @@ function formatProp(key, value, raw) {
1642
1676
  return raw ? value : [`${key}=`, value];
1643
1677
  }
1644
1678
  }
1679
+ /**
1680
+ * @internal
1681
+ */
1682
+ function assertNumber(val, type) {
1683
+ if (!(process.env.NODE_ENV !== 'production'))
1684
+ return;
1685
+ if (val === undefined) {
1686
+ return;
1687
+ }
1688
+ else if (typeof val !== 'number') {
1689
+ warn(`${type} is not a valid number - ` + `got ${JSON.stringify(val)}.`);
1690
+ }
1691
+ else if (isNaN(val)) {
1692
+ warn(`${type} is NaN - ` + 'the duration expression might be incorrect.');
1693
+ }
1694
+ }
1645
1695
 
1646
1696
  const ErrorTypeStrings = {
1647
1697
  ["sp" /* LifecycleHooks.SERVER_PREFETCH */]: 'serverPrefetch hook',
@@ -1735,7 +1785,7 @@ function logError(err, type, contextVNode, throwInDev = true) {
1735
1785
  if (contextVNode) {
1736
1786
  pushWarningContext(contextVNode);
1737
1787
  }
1738
- warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
1788
+ warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
1739
1789
  if (contextVNode) {
1740
1790
  popWarningContext();
1741
1791
  }
@@ -1937,7 +1987,7 @@ function checkRecursiveUpdates(seen, fn) {
1937
1987
  if (count > RECURSION_LIMIT) {
1938
1988
  const instance = fn.ownerInstance;
1939
1989
  const componentName = instance && getComponentName(instance.type);
1940
- warn$1(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +
1990
+ warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +
1941
1991
  `This means you have a reactive effect that is mutating its own ` +
1942
1992
  `dependencies and thus recursively triggering itself. Possible sources ` +
1943
1993
  `include component template, render function, updated hook or ` +
@@ -2088,7 +2138,7 @@ function tryWrap(fn) {
2088
2138
  let devtools;
2089
2139
  let buffer = [];
2090
2140
  let devtoolsNotInstalled = false;
2091
- function emit(event, ...args) {
2141
+ function emit$2(event, ...args) {
2092
2142
  if (devtools) {
2093
2143
  devtools.emit(event, ...args);
2094
2144
  }
@@ -2135,7 +2185,7 @@ function setDevtoolsHook(hook, target) {
2135
2185
  }
2136
2186
  }
2137
2187
  function devtoolsInitApp(app, version) {
2138
- emit("app:init" /* DevtoolsHooks.APP_INIT */, app, version, {
2188
+ emit$2("app:init" /* DevtoolsHooks.APP_INIT */, app, version, {
2139
2189
  Fragment,
2140
2190
  Text,
2141
2191
  Comment,
@@ -2143,7 +2193,7 @@ function devtoolsInitApp(app, version) {
2143
2193
  });
2144
2194
  }
2145
2195
  function devtoolsUnmountApp(app) {
2146
- emit("app:unmount" /* DevtoolsHooks.APP_UNMOUNT */, app);
2196
+ emit$2("app:unmount" /* DevtoolsHooks.APP_UNMOUNT */, app);
2147
2197
  }
2148
2198
  const devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook("component:added" /* DevtoolsHooks.COMPONENT_ADDED */);
2149
2199
  const devtoolsComponentUpdated =
@@ -2159,18 +2209,18 @@ const devtoolsComponentRemoved = (component) => {
2159
2209
  };
2160
2210
  function createDevtoolsComponentHook(hook) {
2161
2211
  return (component) => {
2162
- emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);
2212
+ emit$2(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);
2163
2213
  };
2164
2214
  }
2165
2215
  const devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook("perf:start" /* DevtoolsHooks.PERFORMANCE_START */);
2166
2216
  const devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook("perf:end" /* DevtoolsHooks.PERFORMANCE_END */);
2167
2217
  function createDevtoolsPerformanceHook(hook) {
2168
2218
  return (component, type, time) => {
2169
- emit(hook, component.appContext.app, component.uid, component, type, time);
2219
+ emit$2(hook, component.appContext.app, component.uid, component, type, time);
2170
2220
  };
2171
2221
  }
2172
2222
  function devtoolsComponentEmit(component, event, params) {
2173
- emit("component:emit" /* DevtoolsHooks.COMPONENT_EMIT */, component.appContext.app, component, event, params);
2223
+ emit$2("component:emit" /* DevtoolsHooks.COMPONENT_EMIT */, component.appContext.app, component, event, params);
2174
2224
  }
2175
2225
 
2176
2226
  const deprecationData = {
@@ -2461,12 +2511,12 @@ function warnDeprecation(key, instance, ...args) {
2461
2511
  // same warning, but different component. skip the long message and just
2462
2512
  // log the key and count.
2463
2513
  if (dupKey in warnCount) {
2464
- warn$1(`(deprecation ${key}) (${++warnCount[dupKey] + 1})`);
2514
+ warn(`(deprecation ${key}) (${++warnCount[dupKey] + 1})`);
2465
2515
  return;
2466
2516
  }
2467
2517
  warnCount[dupKey] = 0;
2468
2518
  const { message, link } = deprecationData[key];
2469
- warn$1(`(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\n Details: ${link}` : ``}`);
2519
+ warn(`(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\n Details: ${link}` : ``}`);
2470
2520
  if (!isCompatEnabled(key, instance, true)) {
2471
2521
  console.error(`^ The above deprecation's compat behavior is disabled and will likely ` +
2472
2522
  `lead to runtime errors.`);
@@ -2475,7 +2525,7 @@ function warnDeprecation(key, instance, ...args) {
2475
2525
  const globalCompatConfig = {
2476
2526
  MODE: 2
2477
2527
  };
2478
- function configureCompat(config) {
2528
+ function configureCompat$1(config) {
2479
2529
  if ((process.env.NODE_ENV !== 'production')) {
2480
2530
  validateCompatConfig(config);
2481
2531
  }
@@ -2495,20 +2545,20 @@ function validateCompatConfig(config, instance) {
2495
2545
  !(key in warnedInvalidKeys)) {
2496
2546
  if (key.startsWith('COMPILER_')) {
2497
2547
  if (isRuntimeOnly()) {
2498
- warn$1(`Deprecation config "${key}" is compiler-specific and you are ` +
2548
+ warn(`Deprecation config "${key}" is compiler-specific and you are ` +
2499
2549
  `running a runtime-only build of Vue. This deprecation should be ` +
2500
2550
  `configured via compiler options in your build setup instead.\n` +
2501
2551
  `Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`);
2502
2552
  }
2503
2553
  }
2504
2554
  else {
2505
- warn$1(`Invalid deprecation config "${key}".`);
2555
+ warn(`Invalid deprecation config "${key}".`);
2506
2556
  }
2507
2557
  warnedInvalidKeys[key] = true;
2508
2558
  }
2509
2559
  }
2510
2560
  if (instance && config["OPTIONS_DATA_MERGE" /* DeprecationTypes.OPTIONS_DATA_MERGE */] != null) {
2511
- warn$1(`Deprecation config "${"OPTIONS_DATA_MERGE" /* DeprecationTypes.OPTIONS_DATA_MERGE */}" can only be configured globally.`);
2561
+ warn(`Deprecation config "${"OPTIONS_DATA_MERGE" /* DeprecationTypes.OPTIONS_DATA_MERGE */}" can only be configured globally.`);
2512
2562
  }
2513
2563
  }
2514
2564
  function getCompatConfigForKey(key, instance) {
@@ -2694,7 +2744,7 @@ function compatModelEmit(instance, event, args) {
2694
2744
  }
2695
2745
  }
2696
2746
 
2697
- function emit$2(instance, event, ...rawArgs) {
2747
+ function emit(instance, event, ...rawArgs) {
2698
2748
  if (instance.isUnmounted)
2699
2749
  return;
2700
2750
  const props = instance.vnode.props || EMPTY_OBJ;
@@ -2705,7 +2755,7 @@ function emit$2(instance, event, ...rawArgs) {
2705
2755
  !((event.startsWith('hook:') ||
2706
2756
  event.startsWith(compatModelEventPrefix)))) {
2707
2757
  if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {
2708
- warn$1(`Component emitted event "${event}" but it is neither declared in ` +
2758
+ warn(`Component emitted event "${event}" but it is neither declared in ` +
2709
2759
  `the emits option nor as an "${toHandlerKey(event)}" prop.`);
2710
2760
  }
2711
2761
  }
@@ -2714,7 +2764,7 @@ function emit$2(instance, event, ...rawArgs) {
2714
2764
  if (isFunction(validator)) {
2715
2765
  const isValid = validator(...rawArgs);
2716
2766
  if (!isValid) {
2717
- warn$1(`Invalid event arguments: event validation failed for event "${event}".`);
2767
+ warn(`Invalid event arguments: event validation failed for event "${event}".`);
2718
2768
  }
2719
2769
  }
2720
2770
  }
@@ -2731,7 +2781,7 @@ function emit$2(instance, event, ...rawArgs) {
2731
2781
  args = rawArgs.map(a => (isString(a) ? a.trim() : a));
2732
2782
  }
2733
2783
  if (number) {
2734
- args = rawArgs.map(toNumber);
2784
+ args = rawArgs.map(looseToNumber);
2735
2785
  }
2736
2786
  }
2737
2787
  if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {
@@ -2740,7 +2790,7 @@ function emit$2(instance, event, ...rawArgs) {
2740
2790
  if ((process.env.NODE_ENV !== 'production')) {
2741
2791
  const lowerCaseEvent = event.toLowerCase();
2742
2792
  if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {
2743
- warn$1(`Event "${lowerCaseEvent}" is emitted in component ` +
2793
+ warn(`Event "${lowerCaseEvent}" is emitted in component ` +
2744
2794
  `${formatComponentName(instance, instance.type)} but the handler is registered for "${event}". ` +
2745
2795
  `Note that HTML attributes are case-insensitive and you cannot use ` +
2746
2796
  `v-on to listen to camelCase events when using in-DOM templates. ` +
@@ -3031,13 +3081,13 @@ function renderComponentRoot(instance) {
3031
3081
  }
3032
3082
  }
3033
3083
  if (extraAttrs.length) {
3034
- warn$1(`Extraneous non-props attributes (` +
3084
+ warn(`Extraneous non-props attributes (` +
3035
3085
  `${extraAttrs.join(', ')}) ` +
3036
3086
  `were passed to component but could not be automatically inherited ` +
3037
3087
  `because component renders fragment or text root nodes.`);
3038
3088
  }
3039
3089
  if (eventAttrs.length) {
3040
- warn$1(`Extraneous non-emits event listeners (` +
3090
+ warn(`Extraneous non-emits event listeners (` +
3041
3091
  `${eventAttrs.join(', ')}) ` +
3042
3092
  `were passed to component but could not be automatically inherited ` +
3043
3093
  `because component renders fragment or text root nodes. ` +
@@ -3064,7 +3114,7 @@ function renderComponentRoot(instance) {
3064
3114
  // inherit directives
3065
3115
  if (vnode.dirs) {
3066
3116
  if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {
3067
- warn$1(`Runtime directive used on component with non-element root node. ` +
3117
+ warn(`Runtime directive used on component with non-element root node. ` +
3068
3118
  `The directives will not function as intended.`);
3069
3119
  }
3070
3120
  // clone before mutating since the root may be a hoisted vnode
@@ -3074,7 +3124,7 @@ function renderComponentRoot(instance) {
3074
3124
  // inherit transition data
3075
3125
  if (vnode.transition) {
3076
3126
  if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {
3077
- warn$1(`Component inside <Transition> renders non-element root node ` +
3127
+ warn(`Component inside <Transition> renders non-element root node ` +
3078
3128
  `that cannot be animated.`);
3079
3129
  }
3080
3130
  root.transition = vnode.transition;
@@ -3409,7 +3459,10 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde
3409
3459
  console[console.info ? 'info' : 'log'](`<Suspense> is an experimental feature and its API will likely change.`);
3410
3460
  }
3411
3461
  const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;
3412
- const timeout = toNumber(vnode.props && vnode.props.timeout);
3462
+ const timeout = vnode.props ? toNumber(vnode.props.timeout) : undefined;
3463
+ if ((process.env.NODE_ENV !== 'production')) {
3464
+ assertNumber(timeout, `Suspense timeout`);
3465
+ }
3413
3466
  const suspense = {
3414
3467
  vnode,
3415
3468
  parent,
@@ -3637,7 +3690,7 @@ function normalizeSuspenseSlot(s) {
3637
3690
  if (isArray(s)) {
3638
3691
  const singleChild = filterSingleRoot(s);
3639
3692
  if ((process.env.NODE_ENV !== 'production') && !singleChild) {
3640
- warn$1(`<Suspense> slots expect a single root node.`);
3693
+ warn(`<Suspense> slots expect a single root node.`);
3641
3694
  }
3642
3695
  s = singleChild;
3643
3696
  }
@@ -3675,7 +3728,7 @@ function setActiveBranch(suspense, branch) {
3675
3728
  function provide(key, value) {
3676
3729
  if (!currentInstance) {
3677
3730
  if ((process.env.NODE_ENV !== 'production')) {
3678
- warn$1(`provide() can only be used inside setup().`);
3731
+ warn(`provide() can only be used inside setup().`);
3679
3732
  }
3680
3733
  }
3681
3734
  else {
@@ -3714,11 +3767,11 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
3714
3767
  : defaultValue;
3715
3768
  }
3716
3769
  else if ((process.env.NODE_ENV !== 'production')) {
3717
- warn$1(`injection "${String(key)}" not found.`);
3770
+ warn(`injection "${String(key)}" not found.`);
3718
3771
  }
3719
3772
  }
3720
3773
  else if ((process.env.NODE_ENV !== 'production')) {
3721
- warn$1(`inject() can only be used inside setup() or functional components.`);
3774
+ warn(`inject() can only be used inside setup() or functional components.`);
3722
3775
  }
3723
3776
  }
3724
3777
 
@@ -3727,19 +3780,17 @@ function watchEffect(effect, options) {
3727
3780
  return doWatch(effect, null, options);
3728
3781
  }
3729
3782
  function watchPostEffect(effect, options) {
3730
- return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')
3731
- ? Object.assign(Object.assign({}, options), { flush: 'post' }) : { flush: 'post' }));
3783
+ return doWatch(effect, null, (process.env.NODE_ENV !== 'production') ? Object.assign(Object.assign({}, options), { flush: 'post' }) : { flush: 'post' });
3732
3784
  }
3733
3785
  function watchSyncEffect(effect, options) {
3734
- return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')
3735
- ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));
3786
+ return doWatch(effect, null, (process.env.NODE_ENV !== 'production') ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : { flush: 'sync' });
3736
3787
  }
3737
3788
  // initial value for watchers to trigger on undefined initial values
3738
3789
  const INITIAL_WATCHER_VALUE = {};
3739
3790
  // implementation
3740
3791
  function watch(source, cb, options) {
3741
3792
  if ((process.env.NODE_ENV !== 'production') && !isFunction(cb)) {
3742
- warn$1(`\`watch(fn, options?)\` signature has been moved to a separate API. ` +
3793
+ warn(`\`watch(fn, options?)\` signature has been moved to a separate API. ` +
3743
3794
  `Use \`watchEffect(fn, options?)\` instead. \`watch\` now only ` +
3744
3795
  `supports \`watch(source, cb, options?) signature.`);
3745
3796
  }
@@ -3748,19 +3799,20 @@ function watch(source, cb, options) {
3748
3799
  function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {
3749
3800
  if ((process.env.NODE_ENV !== 'production') && !cb) {
3750
3801
  if (immediate !== undefined) {
3751
- warn$1(`watch() "immediate" option is only respected when using the ` +
3802
+ warn(`watch() "immediate" option is only respected when using the ` +
3752
3803
  `watch(source, callback, options?) signature.`);
3753
3804
  }
3754
3805
  if (deep !== undefined) {
3755
- warn$1(`watch() "deep" option is only respected when using the ` +
3806
+ warn(`watch() "deep" option is only respected when using the ` +
3756
3807
  `watch(source, callback, options?) signature.`);
3757
3808
  }
3758
3809
  }
3759
3810
  const warnInvalidSource = (s) => {
3760
- warn$1(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +
3811
+ warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +
3761
3812
  `a reactive object, or an array of these types.`);
3762
3813
  };
3763
- const instance = currentInstance;
3814
+ const instance = getCurrentScope() === (currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.scope) ? currentInstance : null;
3815
+ // const instance = currentInstance
3764
3816
  let getter;
3765
3817
  let forceTrigger = false;
3766
3818
  let isMultiSource = false;
@@ -3884,7 +3936,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
3884
3936
  // pass undefined as the old value when it's changed for the first time
3885
3937
  oldValue === INITIAL_WATCHER_VALUE
3886
3938
  ? undefined
3887
- : (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
3939
+ : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE
3888
3940
  ? []
3889
3941
  : oldValue,
3890
3942
  onCleanup
@@ -4066,7 +4118,7 @@ const BaseTransitionImpl = {
4066
4118
  if (c.type !== Comment) {
4067
4119
  if ((process.env.NODE_ENV !== 'production') && hasFound) {
4068
4120
  // warn more than one non-comment child
4069
- warn$1('<transition> can only be used on a single element or component. ' +
4121
+ warn('<transition> can only be used on a single element or component. ' +
4070
4122
  'Use <transition-group> for lists.');
4071
4123
  break;
4072
4124
  }
@@ -4087,7 +4139,7 @@ const BaseTransitionImpl = {
4087
4139
  mode !== 'in-out' &&
4088
4140
  mode !== 'out-in' &&
4089
4141
  mode !== 'default') {
4090
- warn$1(`invalid <transition> mode: ${mode}`);
4142
+ warn(`invalid <transition> mode: ${mode}`);
4091
4143
  }
4092
4144
  if (state.isLeaving) {
4093
4145
  return emptyPlaceholder(child);
@@ -4398,7 +4450,7 @@ function defineAsyncComponent(source) {
4398
4450
  return pendingRequest;
4399
4451
  }
4400
4452
  if ((process.env.NODE_ENV !== 'production') && !comp) {
4401
- warn$1(`Async component loader resolved to undefined. ` +
4453
+ warn(`Async component loader resolved to undefined. ` +
4402
4454
  `If you are using retry(), make sure to return its return value.`);
4403
4455
  }
4404
4456
  // interop module default
@@ -4593,7 +4645,7 @@ const KeepAliveImpl = {
4593
4645
  }
4594
4646
  function pruneCacheEntry(key) {
4595
4647
  const cached = cache.get(key);
4596
- if (!current || cached.type !== current.type) {
4648
+ if (!current || !isSameVNodeType(cached, current)) {
4597
4649
  unmount(cached);
4598
4650
  }
4599
4651
  else if (current) {
@@ -4625,7 +4677,7 @@ const KeepAliveImpl = {
4625
4677
  cache.forEach(cached => {
4626
4678
  const { subTree, suspense } = instance;
4627
4679
  const vnode = getInnerChild(subTree);
4628
- if (cached.type === vnode.type) {
4680
+ if (cached.type === vnode.type && cached.key === vnode.key) {
4629
4681
  // current instance will be unmounted as part of keep-alive's unmount
4630
4682
  resetShapeFlag(vnode);
4631
4683
  // but invoke its deactivated hook here
@@ -4645,7 +4697,7 @@ const KeepAliveImpl = {
4645
4697
  const rawVNode = children[0];
4646
4698
  if (children.length > 1) {
4647
4699
  if ((process.env.NODE_ENV !== 'production')) {
4648
- warn$1(`KeepAlive should contain exactly one component child.`);
4700
+ warn(`KeepAlive should contain exactly one component child.`);
4649
4701
  }
4650
4702
  current = null;
4651
4703
  return children;
@@ -4725,7 +4777,7 @@ function matches(pattern, name) {
4725
4777
  else if (isString(pattern)) {
4726
4778
  return pattern.split(',').includes(name);
4727
4779
  }
4728
- else if (pattern.test) {
4780
+ else if (isRegExp(pattern)) {
4729
4781
  return pattern.test(name);
4730
4782
  }
4731
4783
  /* istanbul ignore next */
@@ -4819,7 +4871,7 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
4819
4871
  }
4820
4872
  else if ((process.env.NODE_ENV !== 'production')) {
4821
4873
  const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ''));
4822
- warn$1(`${apiName} is called when there is no active component instance to be ` +
4874
+ warn(`${apiName} is called when there is no active component instance to be ` +
4823
4875
  `associated with. ` +
4824
4876
  `Lifecycle injection APIs can only be used during execution of setup().` +
4825
4877
  (` If you are using async setup(), make sure to register lifecycle ` +
@@ -4923,7 +4975,7 @@ return withDirectives(h(comp), [
4923
4975
  */
4924
4976
  function validateDirectiveName(name) {
4925
4977
  if (isBuiltInDirective(name)) {
4926
- warn$1('Do not use built-in directive ids as custom directive id: ' + name);
4978
+ warn('Do not use built-in directive ids as custom directive id: ' + name);
4927
4979
  }
4928
4980
  }
4929
4981
  /**
@@ -4932,7 +4984,7 @@ function validateDirectiveName(name) {
4932
4984
  function withDirectives(vnode, directives) {
4933
4985
  const internalInstance = currentRenderingInstance;
4934
4986
  if (internalInstance === null) {
4935
- (process.env.NODE_ENV !== 'production') && warn$1(`withDirectives can only be used inside render functions.`);
4987
+ (process.env.NODE_ENV !== 'production') && warn(`withDirectives can only be used inside render functions.`);
4936
4988
  return vnode;
4937
4989
  }
4938
4990
  const instance = getExposeProxy(internalInstance) ||
@@ -5021,7 +5073,7 @@ function resolveDirective(name) {
5021
5073
  * v2 compat only
5022
5074
  * @internal
5023
5075
  */
5024
- function resolveFilter(name) {
5076
+ function resolveFilter$1(name) {
5025
5077
  return resolveAsset(FILTERS, name);
5026
5078
  }
5027
5079
  // implementation
@@ -5054,12 +5106,12 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
5054
5106
  ? `\nIf this is a native custom element, make sure to exclude it from ` +
5055
5107
  `component resolution via compilerOptions.isCustomElement.`
5056
5108
  : ``;
5057
- warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
5109
+ warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
5058
5110
  }
5059
5111
  return res;
5060
5112
  }
5061
5113
  else if ((process.env.NODE_ENV !== 'production')) {
5062
- warn$1(`resolve${capitalize(type.slice(0, -1))} ` +
5114
+ warn(`resolve${capitalize(type.slice(0, -1))} ` +
5063
5115
  `can only be used in render() or setup().`);
5064
5116
  }
5065
5117
  }
@@ -5337,7 +5389,7 @@ function renderList(source, renderItem, cache, index) {
5337
5389
  }
5338
5390
  else if (typeof source === 'number') {
5339
5391
  if ((process.env.NODE_ENV !== 'production') && !Number.isInteger(source)) {
5340
- warn$1(`The v-for range expect an integer value but got ${source}.`);
5392
+ warn(`The v-for range expect an integer value but got ${source}.`);
5341
5393
  }
5342
5394
  ret = new Array(source);
5343
5395
  for (let i = 0; i < source; i++) {
@@ -5414,7 +5466,7 @@ fallback, noSlotted) {
5414
5466
  }
5415
5467
  let slot = slots[name];
5416
5468
  if ((process.env.NODE_ENV !== 'production') && slot && slot.length > 1) {
5417
- warn$1(`SSR-optimized slot function detected in a non-SSR-optimized render ` +
5469
+ warn(`SSR-optimized slot function detected in a non-SSR-optimized render ` +
5418
5470
  `function. You need to mark this component with $dynamic-slots in the ` +
5419
5471
  `parent template.`);
5420
5472
  slot = () => [];
@@ -5467,7 +5519,7 @@ function ensureValidVNode(vnodes) {
5467
5519
  function toHandlers(obj, preserveCaseIfNecessary) {
5468
5520
  const ret = {};
5469
5521
  if ((process.env.NODE_ENV !== 'production') && !isObject(obj)) {
5470
- warn$1(`v-on with no argument expects an object value.`);
5522
+ warn(`v-on with no argument expects an object value.`);
5471
5523
  return ret;
5472
5524
  }
5473
5525
  for (const key in obj) {
@@ -5675,14 +5727,14 @@ function installCompatInstanceProperties(map) {
5675
5727
  $createElement: () => compatH,
5676
5728
  _c: () => compatH,
5677
5729
  _o: () => legacyMarkOnce,
5678
- _n: () => toNumber,
5730
+ _n: () => looseToNumber,
5679
5731
  _s: () => toDisplayString,
5680
5732
  _l: () => renderList,
5681
5733
  _t: i => legacyRenderSlot.bind(null, i),
5682
5734
  _q: () => looseEqual,
5683
5735
  _i: () => looseIndexOf,
5684
5736
  _m: i => legacyRenderStatic.bind(null, i),
5685
- _f: () => resolveFilter,
5737
+ _f: () => resolveFilter$1,
5686
5738
  _k: i => legacyCheckKeyCodes.bind(null, i),
5687
5739
  _b: () => legacyBindObjectProps,
5688
5740
  _v: () => createTextVNode,
@@ -5829,11 +5881,11 @@ const PublicInstanceProxyHandlers = {
5829
5881
  // to infinite warning loop
5830
5882
  key.indexOf('__v') !== 0)) {
5831
5883
  if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {
5832
- warn$1(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved ` +
5884
+ warn(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved ` +
5833
5885
  `character ("$" or "_") and is not proxied on the render context.`);
5834
5886
  }
5835
5887
  else if (instance === currentRenderingInstance) {
5836
- warn$1(`Property ${JSON.stringify(key)} was accessed during render ` +
5888
+ warn(`Property ${JSON.stringify(key)} was accessed during render ` +
5837
5889
  `but is not defined on instance.`);
5838
5890
  }
5839
5891
  }
@@ -5847,7 +5899,7 @@ const PublicInstanceProxyHandlers = {
5847
5899
  else if ((process.env.NODE_ENV !== 'production') &&
5848
5900
  setupState.__isScriptSetup &&
5849
5901
  hasOwn(setupState, key)) {
5850
- warn$1(`Cannot mutate <script setup> binding "${key}" from Options API.`);
5902
+ warn(`Cannot mutate <script setup> binding "${key}" from Options API.`);
5851
5903
  return false;
5852
5904
  }
5853
5905
  else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
@@ -5855,12 +5907,12 @@ const PublicInstanceProxyHandlers = {
5855
5907
  return true;
5856
5908
  }
5857
5909
  else if (hasOwn(instance.props, key)) {
5858
- (process.env.NODE_ENV !== 'production') && warn$1(`Attempting to mutate prop "${key}". Props are readonly.`);
5910
+ (process.env.NODE_ENV !== 'production') && warn(`Attempting to mutate prop "${key}". Props are readonly.`);
5859
5911
  return false;
5860
5912
  }
5861
5913
  if (key[0] === '$' && key.slice(1) in instance) {
5862
5914
  (process.env.NODE_ENV !== 'production') &&
5863
- warn$1(`Attempting to mutate public property "${key}". ` +
5915
+ warn(`Attempting to mutate public property "${key}". ` +
5864
5916
  `Properties starting with $ are reserved and readonly.`);
5865
5917
  return false;
5866
5918
  }
@@ -5901,7 +5953,7 @@ const PublicInstanceProxyHandlers = {
5901
5953
  };
5902
5954
  if ((process.env.NODE_ENV !== 'production') && !false) {
5903
5955
  PublicInstanceProxyHandlers.ownKeys = (target) => {
5904
- warn$1(`Avoid app logic that relies on enumerating keys on a component instance. ` +
5956
+ warn(`Avoid app logic that relies on enumerating keys on a component instance. ` +
5905
5957
  `The keys will be empty in production mode to avoid performance overhead.`);
5906
5958
  return Reflect.ownKeys(target);
5907
5959
  };
@@ -5917,7 +5969,7 @@ const RuntimeCompiledPublicInstanceProxyHandlers = /*#__PURE__*/ extend({}, Publ
5917
5969
  has(_, key) {
5918
5970
  const has = key[0] !== '_' && !isGloballyWhitelisted(key);
5919
5971
  if ((process.env.NODE_ENV !== 'production') && !has && PublicInstanceProxyHandlers.has(_, key)) {
5920
- warn$1(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);
5972
+ warn(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);
5921
5973
  }
5922
5974
  return has;
5923
5975
  }
@@ -5967,7 +6019,7 @@ function exposeSetupStateOnRenderContext(instance) {
5967
6019
  Object.keys(toRaw(setupState)).forEach(key => {
5968
6020
  if (!setupState.__isScriptSetup) {
5969
6021
  if (isReservedPrefix(key[0])) {
5970
- warn$1(`setup() return property ${JSON.stringify(key)} should not start with "$" or "_" ` +
6022
+ warn(`setup() return property ${JSON.stringify(key)} should not start with "$" or "_" ` +
5971
6023
  `which are reserved prefixes for Vue internals.`);
5972
6024
  return;
5973
6025
  }
@@ -6000,7 +6052,7 @@ function createDuplicateChecker() {
6000
6052
  const cache = Object.create(null);
6001
6053
  return (type, key) => {
6002
6054
  if (cache[key]) {
6003
- warn$1(`${type} property "${key}" is already defined in ${cache[key]}.`);
6055
+ warn(`${type} property "${key}" is already defined in ${cache[key]}.`);
6004
6056
  }
6005
6057
  else {
6006
6058
  cache[key] = type;
@@ -6017,7 +6069,7 @@ function applyOptions(instance) {
6017
6069
  // call beforeCreate first before accessing other options since
6018
6070
  // the hook may mutate resolved options (#2791)
6019
6071
  if (options.beforeCreate) {
6020
- callHook(options.beforeCreate, instance, "bc" /* LifecycleHooks.BEFORE_CREATE */);
6072
+ callHook$1(options.beforeCreate, instance, "bc" /* LifecycleHooks.BEFORE_CREATE */);
6021
6073
  }
6022
6074
  const {
6023
6075
  // state
@@ -6070,24 +6122,24 @@ function applyOptions(instance) {
6070
6122
  }
6071
6123
  }
6072
6124
  else if ((process.env.NODE_ENV !== 'production')) {
6073
- warn$1(`Method "${key}" has type "${typeof methodHandler}" in the component definition. ` +
6125
+ warn(`Method "${key}" has type "${typeof methodHandler}" in the component definition. ` +
6074
6126
  `Did you reference the function correctly?`);
6075
6127
  }
6076
6128
  }
6077
6129
  }
6078
6130
  if (dataOptions) {
6079
6131
  if ((process.env.NODE_ENV !== 'production') && !isFunction(dataOptions)) {
6080
- warn$1(`The data option must be a function. ` +
6132
+ warn(`The data option must be a function. ` +
6081
6133
  `Plain object usage is no longer supported.`);
6082
6134
  }
6083
6135
  const data = dataOptions.call(publicThis, publicThis);
6084
6136
  if ((process.env.NODE_ENV !== 'production') && isPromise(data)) {
6085
- warn$1(`data() returned a Promise - note data() cannot be async; If you ` +
6137
+ warn(`data() returned a Promise - note data() cannot be async; If you ` +
6086
6138
  `intend to perform data fetching before component renders, use ` +
6087
6139
  `async setup() + <Suspense>.`);
6088
6140
  }
6089
6141
  if (!isObject(data)) {
6090
- (process.env.NODE_ENV !== 'production') && warn$1(`data() should return an object.`);
6142
+ (process.env.NODE_ENV !== 'production') && warn(`data() should return an object.`);
6091
6143
  }
6092
6144
  else {
6093
6145
  instance.data = reactive(data);
@@ -6118,16 +6170,16 @@ function applyOptions(instance) {
6118
6170
  ? opt.get.bind(publicThis, publicThis)
6119
6171
  : NOOP;
6120
6172
  if ((process.env.NODE_ENV !== 'production') && get === NOOP) {
6121
- warn$1(`Computed property "${key}" has no getter.`);
6173
+ warn(`Computed property "${key}" has no getter.`);
6122
6174
  }
6123
6175
  const set = !isFunction(opt) && isFunction(opt.set)
6124
6176
  ? opt.set.bind(publicThis)
6125
6177
  : (process.env.NODE_ENV !== 'production')
6126
6178
  ? () => {
6127
- warn$1(`Write operation failed: computed property "${key}" is readonly.`);
6179
+ warn(`Write operation failed: computed property "${key}" is readonly.`);
6128
6180
  }
6129
6181
  : NOOP;
6130
- const c = computed$1({
6182
+ const c = computed({
6131
6183
  get,
6132
6184
  set
6133
6185
  });
@@ -6156,7 +6208,7 @@ function applyOptions(instance) {
6156
6208
  });
6157
6209
  }
6158
6210
  if (created) {
6159
- callHook(created, instance, "c" /* LifecycleHooks.CREATED */);
6211
+ callHook$1(created, instance, "c" /* LifecycleHooks.CREATED */);
6160
6212
  }
6161
6213
  function registerLifecycleHook(register, hook) {
6162
6214
  if (isArray(hook)) {
@@ -6250,7 +6302,7 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP,
6250
6302
  }
6251
6303
  else {
6252
6304
  if ((process.env.NODE_ENV !== 'production')) {
6253
- warn$1(`injected property "${key}" is a ref and will be auto-unwrapped ` +
6305
+ warn(`injected property "${key}" is a ref and will be auto-unwrapped ` +
6254
6306
  `and no longer needs \`.value\` in the next minor release. ` +
6255
6307
  `To opt-in to the new behavior now, ` +
6256
6308
  `set \`app.config.unwrapInjectedRef = true\` (this config is ` +
@@ -6267,7 +6319,7 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP,
6267
6319
  }
6268
6320
  }
6269
6321
  }
6270
- function callHook(hook, instance, type) {
6322
+ function callHook$1(hook, instance, type) {
6271
6323
  callWithAsyncErrorHandling(isArray(hook)
6272
6324
  ? hook.map(h => h.bind(instance.proxy))
6273
6325
  : hook.bind(instance.proxy), instance, type);
@@ -6282,7 +6334,7 @@ function createWatcher(raw, ctx, publicThis, key) {
6282
6334
  watch(getter, handler);
6283
6335
  }
6284
6336
  else if ((process.env.NODE_ENV !== 'production')) {
6285
- warn$1(`Invalid watch handler specified by key "${raw}"`, handler);
6337
+ warn(`Invalid watch handler specified by key "${raw}"`, handler);
6286
6338
  }
6287
6339
  }
6288
6340
  else if (isFunction(raw)) {
@@ -6300,12 +6352,12 @@ function createWatcher(raw, ctx, publicThis, key) {
6300
6352
  watch(getter, handler, raw);
6301
6353
  }
6302
6354
  else if ((process.env.NODE_ENV !== 'production')) {
6303
- warn$1(`Invalid watch handler specified by key "${raw.handler}"`, handler);
6355
+ warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
6304
6356
  }
6305
6357
  }
6306
6358
  }
6307
6359
  else if ((process.env.NODE_ENV !== 'production')) {
6308
- warn$1(`Invalid watch option: "${key}"`, raw);
6360
+ warn(`Invalid watch option: "${key}"`, raw);
6309
6361
  }
6310
6362
  }
6311
6363
  /**
@@ -6358,7 +6410,7 @@ function mergeOptions(to, from, strats, asMixin = false) {
6358
6410
  for (const key in from) {
6359
6411
  if (asMixin && key === 'expose') {
6360
6412
  (process.env.NODE_ENV !== 'production') &&
6361
- warn$1(`"expose" option is ignored when declared in mixins or extends. ` +
6413
+ warn(`"expose" option is ignored when declared in mixins or extends. ` +
6362
6414
  `It should only be declared in the base component itself.`);
6363
6415
  }
6364
6416
  else {
@@ -6776,7 +6828,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
6776
6828
  if (isArray(raw)) {
6777
6829
  for (let i = 0; i < raw.length; i++) {
6778
6830
  if ((process.env.NODE_ENV !== 'production') && !isString(raw[i])) {
6779
- warn$1(`props must be strings when using array syntax.`, raw[i]);
6831
+ warn(`props must be strings when using array syntax.`, raw[i]);
6780
6832
  }
6781
6833
  const normalizedKey = camelize(raw[i]);
6782
6834
  if (validatePropName(normalizedKey)) {
@@ -6786,7 +6838,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
6786
6838
  }
6787
6839
  else if (raw) {
6788
6840
  if ((process.env.NODE_ENV !== 'production') && !isObject(raw)) {
6789
- warn$1(`invalid props options`, raw);
6841
+ warn(`invalid props options`, raw);
6790
6842
  }
6791
6843
  for (const key in raw) {
6792
6844
  const normalizedKey = camelize(key);
@@ -6819,15 +6871,15 @@ function validatePropName(key) {
6819
6871
  return true;
6820
6872
  }
6821
6873
  else if ((process.env.NODE_ENV !== 'production')) {
6822
- warn$1(`Invalid prop name: "${key}" is a reserved property.`);
6874
+ warn(`Invalid prop name: "${key}" is a reserved property.`);
6823
6875
  }
6824
6876
  return false;
6825
6877
  }
6826
6878
  // use function string name to check type constructors
6827
6879
  // so that it works across vms / iframes.
6828
6880
  function getType(ctor) {
6829
- const match = ctor && ctor.toString().match(/^\s*function (\w+)/);
6830
- return match ? match[1] : ctor === null ? 'null' : '';
6881
+ const match = ctor && ctor.toString().match(/^\s*(function|class) (\w+)/);
6882
+ return match ? match[2] : ctor === null ? 'null' : '';
6831
6883
  }
6832
6884
  function isSameType(a, b) {
6833
6885
  return getType(a) === getType(b);
@@ -6861,7 +6913,7 @@ function validateProp(name, value, prop, isAbsent) {
6861
6913
  const { type, required, validator } = prop;
6862
6914
  // required!
6863
6915
  if (required && isAbsent) {
6864
- warn$1('Missing required prop: "' + name + '"');
6916
+ warn('Missing required prop: "' + name + '"');
6865
6917
  return;
6866
6918
  }
6867
6919
  // missing but optional
@@ -6880,13 +6932,13 @@ function validateProp(name, value, prop, isAbsent) {
6880
6932
  isValid = valid;
6881
6933
  }
6882
6934
  if (!isValid) {
6883
- warn$1(getInvalidTypeMessage(name, value, expectedTypes));
6935
+ warn(getInvalidTypeMessage(name, value, expectedTypes));
6884
6936
  return;
6885
6937
  }
6886
6938
  }
6887
6939
  // custom validator
6888
6940
  if (validator && !validator(value)) {
6889
- warn$1('Invalid prop: custom validator check failed for prop "' + name + '".');
6941
+ warn('Invalid prop: custom validator check failed for prop "' + name + '".');
6890
6942
  }
6891
6943
  }
6892
6944
  const isSimpleType = /*#__PURE__*/ makeMap('String,Number,Boolean,Function,Symbol,BigInt');
@@ -6983,7 +7035,7 @@ const normalizeSlot = (key, rawSlot, ctx) => {
6983
7035
  }
6984
7036
  const normalized = withCtx((...args) => {
6985
7037
  if ((process.env.NODE_ENV !== 'production') && currentInstance) {
6986
- warn$1(`Slot "${key}" invoked outside of the render function: ` +
7038
+ warn(`Slot "${key}" invoked outside of the render function: ` +
6987
7039
  `this will not track dependencies used in the slot. ` +
6988
7040
  `Invoke the slot function inside the render function instead.`);
6989
7041
  }
@@ -7004,7 +7056,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
7004
7056
  else if (value != null) {
7005
7057
  if ((process.env.NODE_ENV !== 'production') &&
7006
7058
  !(isCompatEnabled("RENDER_FUNCTION" /* DeprecationTypes.RENDER_FUNCTION */, instance))) {
7007
- warn$1(`Non-function value encountered for slot "${key}". ` +
7059
+ warn(`Non-function value encountered for slot "${key}". ` +
7008
7060
  `Prefer function slots for better performance.`);
7009
7061
  }
7010
7062
  const normalized = normalizeSlotValue(value);
@@ -7016,7 +7068,7 @@ const normalizeVNodeSlots = (instance, children) => {
7016
7068
  if ((process.env.NODE_ENV !== 'production') &&
7017
7069
  !isKeepAlive(instance.vnode) &&
7018
7070
  !(isCompatEnabled("RENDER_FUNCTION" /* DeprecationTypes.RENDER_FUNCTION */, instance))) {
7019
- warn$1(`Non-function value encountered for default slot. ` +
7071
+ warn(`Non-function value encountered for default slot. ` +
7020
7072
  `Prefer function slots for better performance.`);
7021
7073
  }
7022
7074
  const normalized = normalizeSlotValue(children);
@@ -7140,7 +7192,7 @@ let isCopyingConfig = false;
7140
7192
  let singletonApp;
7141
7193
  let singletonCtor;
7142
7194
  // Legacy global Vue constructor
7143
- function createCompatVue(createApp, createSingletonApp) {
7195
+ function createCompatVue$1(createApp, createSingletonApp) {
7144
7196
  singletonApp = createSingletonApp({});
7145
7197
  const Vue = (singletonCtor = function Vue(options = {}) {
7146
7198
  return createCompatApp(options, Vue);
@@ -7165,7 +7217,7 @@ function createCompatVue(createApp, createSingletonApp) {
7165
7217
  return vm;
7166
7218
  }
7167
7219
  }
7168
- Vue.version = `2.6.14-compat:${"3.2.45"}`;
7220
+ Vue.version = `2.6.14-compat:${"3.2.47"}`;
7169
7221
  Vue.config = singletonApp.config;
7170
7222
  Vue.use = (p, ...options) => {
7171
7223
  if (p && isFunction(p.install)) {
@@ -7267,7 +7319,7 @@ function createCompatVue(createApp, createSingletonApp) {
7267
7319
  });
7268
7320
  // internal utils - these are technically internal but some plugins use it.
7269
7321
  const util = {
7270
- warn: (process.env.NODE_ENV !== 'production') ? warn$1 : NOOP,
7322
+ warn: (process.env.NODE_ENV !== 'production') ? warn : NOOP,
7271
7323
  extend,
7272
7324
  mergeOptions: (parent, child, vm) => mergeOptions(parent, child, vm ? undefined : internalOptionMergeStrats),
7273
7325
  defineReactive
@@ -7278,7 +7330,7 @@ function createCompatVue(createApp, createSingletonApp) {
7278
7330
  return util;
7279
7331
  }
7280
7332
  });
7281
- Vue.configureCompat = configureCompat;
7333
+ Vue.configureCompat = configureCompat$1;
7282
7334
  return Vue;
7283
7335
  }
7284
7336
  function installAppCompatProperties(app, context, render) {
@@ -7303,7 +7355,7 @@ function installFilterMethod(app, context) {
7303
7355
  return context.filters[name];
7304
7356
  }
7305
7357
  if ((process.env.NODE_ENV !== 'production') && context.filters[name]) {
7306
- warn$1(`Filter "${name}" has already been registered.`);
7358
+ warn(`Filter "${name}" has already been registered.`);
7307
7359
  }
7308
7360
  context.filters[name] = filter;
7309
7361
  return app;
@@ -7414,7 +7466,7 @@ function installCompatMount(app, context, render) {
7414
7466
  // both runtime-core AND runtime-dom.
7415
7467
  instance.ctx._compat_mount = (selectorOrEl) => {
7416
7468
  if (isMounted) {
7417
- (process.env.NODE_ENV !== 'production') && warn$1(`Root instance is already mounted.`);
7469
+ (process.env.NODE_ENV !== 'production') && warn(`Root instance is already mounted.`);
7418
7470
  return;
7419
7471
  }
7420
7472
  let container;
@@ -7423,7 +7475,7 @@ function installCompatMount(app, context, render) {
7423
7475
  const result = document.querySelector(selectorOrEl);
7424
7476
  if (!result) {
7425
7477
  (process.env.NODE_ENV !== 'production') &&
7426
- warn$1(`Failed to mount root instance: selector "${selectorOrEl}" returned null.`);
7478
+ warn(`Failed to mount root instance: selector "${selectorOrEl}" returned null.`);
7427
7479
  return;
7428
7480
  }
7429
7481
  container = result;
@@ -7593,21 +7645,21 @@ function createAppContext() {
7593
7645
  emitsCache: new WeakMap()
7594
7646
  };
7595
7647
  }
7596
- let uid = 0;
7648
+ let uid$1 = 0;
7597
7649
  function createAppAPI(render, hydrate) {
7598
7650
  return function createApp(rootComponent, rootProps = null) {
7599
7651
  if (!isFunction(rootComponent)) {
7600
7652
  rootComponent = Object.assign({}, rootComponent);
7601
7653
  }
7602
7654
  if (rootProps != null && !isObject(rootProps)) {
7603
- (process.env.NODE_ENV !== 'production') && warn$1(`root props passed to app.mount() must be an object.`);
7655
+ (process.env.NODE_ENV !== 'production') && warn(`root props passed to app.mount() must be an object.`);
7604
7656
  rootProps = null;
7605
7657
  }
7606
7658
  const context = createAppContext();
7607
7659
  const installedPlugins = new Set();
7608
7660
  let isMounted = false;
7609
7661
  const app = (context.app = {
7610
- _uid: uid++,
7662
+ _uid: uid$1++,
7611
7663
  _component: rootComponent,
7612
7664
  _props: rootProps,
7613
7665
  _container: null,
@@ -7619,12 +7671,12 @@ function createAppAPI(render, hydrate) {
7619
7671
  },
7620
7672
  set config(v) {
7621
7673
  if ((process.env.NODE_ENV !== 'production')) {
7622
- warn$1(`app.config cannot be replaced. Modify individual options instead.`);
7674
+ warn(`app.config cannot be replaced. Modify individual options instead.`);
7623
7675
  }
7624
7676
  },
7625
7677
  use(plugin, ...options) {
7626
7678
  if (installedPlugins.has(plugin)) {
7627
- (process.env.NODE_ENV !== 'production') && warn$1(`Plugin has already been applied to target app.`);
7679
+ (process.env.NODE_ENV !== 'production') && warn(`Plugin has already been applied to target app.`);
7628
7680
  }
7629
7681
  else if (plugin && isFunction(plugin.install)) {
7630
7682
  installedPlugins.add(plugin);
@@ -7635,7 +7687,7 @@ function createAppAPI(render, hydrate) {
7635
7687
  plugin(app, ...options);
7636
7688
  }
7637
7689
  else if ((process.env.NODE_ENV !== 'production')) {
7638
- warn$1(`A plugin must either be a function or an object with an "install" ` +
7690
+ warn(`A plugin must either be a function or an object with an "install" ` +
7639
7691
  `function.`);
7640
7692
  }
7641
7693
  return app;
@@ -7646,12 +7698,12 @@ function createAppAPI(render, hydrate) {
7646
7698
  context.mixins.push(mixin);
7647
7699
  }
7648
7700
  else if ((process.env.NODE_ENV !== 'production')) {
7649
- warn$1('Mixin has already been applied to target app' +
7701
+ warn('Mixin has already been applied to target app' +
7650
7702
  (mixin.name ? `: ${mixin.name}` : ''));
7651
7703
  }
7652
7704
  }
7653
7705
  else if ((process.env.NODE_ENV !== 'production')) {
7654
- warn$1('Mixins are only available in builds supporting Options API');
7706
+ warn('Mixins are only available in builds supporting Options API');
7655
7707
  }
7656
7708
  return app;
7657
7709
  },
@@ -7663,7 +7715,7 @@ function createAppAPI(render, hydrate) {
7663
7715
  return context.components[name];
7664
7716
  }
7665
7717
  if ((process.env.NODE_ENV !== 'production') && context.components[name]) {
7666
- warn$1(`Component "${name}" has already been registered in target app.`);
7718
+ warn(`Component "${name}" has already been registered in target app.`);
7667
7719
  }
7668
7720
  context.components[name] = component;
7669
7721
  return app;
@@ -7676,7 +7728,7 @@ function createAppAPI(render, hydrate) {
7676
7728
  return context.directives[name];
7677
7729
  }
7678
7730
  if ((process.env.NODE_ENV !== 'production') && context.directives[name]) {
7679
- warn$1(`Directive "${name}" has already been registered in target app.`);
7731
+ warn(`Directive "${name}" has already been registered in target app.`);
7680
7732
  }
7681
7733
  context.directives[name] = directive;
7682
7734
  return app;
@@ -7685,7 +7737,7 @@ function createAppAPI(render, hydrate) {
7685
7737
  if (!isMounted) {
7686
7738
  // #5571
7687
7739
  if ((process.env.NODE_ENV !== 'production') && rootContainer.__vue_app__) {
7688
- warn$1(`There is already an app instance mounted on the host container.\n` +
7740
+ warn(`There is already an app instance mounted on the host container.\n` +
7689
7741
  ` If you want to mount another app on the same host container,` +
7690
7742
  ` you need to unmount the previous app by calling \`app.unmount()\` first.`);
7691
7743
  }
@@ -7715,7 +7767,7 @@ function createAppAPI(render, hydrate) {
7715
7767
  return getExposeProxy(vnode.component) || vnode.component.proxy;
7716
7768
  }
7717
7769
  else if ((process.env.NODE_ENV !== 'production')) {
7718
- warn$1(`App has already been mounted.\n` +
7770
+ warn(`App has already been mounted.\n` +
7719
7771
  `If you want to remount the same app, move your app creation logic ` +
7720
7772
  `into a factory function and create fresh app instances for each ` +
7721
7773
  `mount - e.g. \`const createMyApp = () => createApp(App)\``);
@@ -7731,12 +7783,12 @@ function createAppAPI(render, hydrate) {
7731
7783
  delete app._container.__vue_app__;
7732
7784
  }
7733
7785
  else if ((process.env.NODE_ENV !== 'production')) {
7734
- warn$1(`Cannot unmount an app that is not mounted.`);
7786
+ warn(`Cannot unmount an app that is not mounted.`);
7735
7787
  }
7736
7788
  },
7737
7789
  provide(key, value) {
7738
7790
  if ((process.env.NODE_ENV !== 'production') && key in context.provides) {
7739
- warn$1(`App already provides property with key "${String(key)}". ` +
7791
+ warn(`App already provides property with key "${String(key)}". ` +
7740
7792
  `It will be overwritten with the new value.`);
7741
7793
  }
7742
7794
  context.provides[key] = value;
@@ -7769,7 +7821,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7769
7821
  const value = isUnmount ? null : refValue;
7770
7822
  const { i: owner, r: ref } = rawRef;
7771
7823
  if ((process.env.NODE_ENV !== 'production') && !owner) {
7772
- warn$1(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +
7824
+ warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +
7773
7825
  `A vnode with ref must be created inside the render function.`);
7774
7826
  return;
7775
7827
  }
@@ -7836,7 +7888,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7836
7888
  refs[rawRef.k] = value;
7837
7889
  }
7838
7890
  else if ((process.env.NODE_ENV !== 'production')) {
7839
- warn$1('Invalid template ref type:', ref, `(${typeof ref})`);
7891
+ warn('Invalid template ref type:', ref, `(${typeof ref})`);
7840
7892
  }
7841
7893
  };
7842
7894
  if (value) {
@@ -7848,7 +7900,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
7848
7900
  }
7849
7901
  }
7850
7902
  else if ((process.env.NODE_ENV !== 'production')) {
7851
- warn$1('Invalid template ref type:', ref, `(${typeof ref})`);
7903
+ warn('Invalid template ref type:', ref, `(${typeof ref})`);
7852
7904
  }
7853
7905
  }
7854
7906
  }
@@ -7866,7 +7918,7 @@ function createHydrationFunctions(rendererInternals) {
7866
7918
  const hydrate = (vnode, container) => {
7867
7919
  if (!container.hasChildNodes()) {
7868
7920
  (process.env.NODE_ENV !== 'production') &&
7869
- warn$1(`Attempting to hydrate existing markup but container is empty. ` +
7921
+ warn(`Attempting to hydrate existing markup but container is empty. ` +
7870
7922
  `Performing full mount instead.`);
7871
7923
  patch(null, vnode, container);
7872
7924
  flushPostFlushCbs();
@@ -7910,7 +7962,7 @@ function createHydrationFunctions(rendererInternals) {
7910
7962
  if (node.data !== vnode.children) {
7911
7963
  hasMismatch = true;
7912
7964
  (process.env.NODE_ENV !== 'production') &&
7913
- warn$1(`Hydration text mismatch:` +
7965
+ warn(`Hydration text mismatch:` +
7914
7966
  `\n- Client: ${JSON.stringify(node.data)}` +
7915
7967
  `\n- Server: ${JSON.stringify(vnode.children)}`);
7916
7968
  node.data = vnode.children;
@@ -8025,7 +8077,7 @@ function createHydrationFunctions(rendererInternals) {
8025
8077
  nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);
8026
8078
  }
8027
8079
  else if ((process.env.NODE_ENV !== 'production')) {
8028
- warn$1('Invalid HostVNode type:', type, `(${typeof type})`);
8080
+ warn('Invalid HostVNode type:', type, `(${typeof type})`);
8029
8081
  }
8030
8082
  }
8031
8083
  if (ref != null) {
@@ -8086,7 +8138,7 @@ function createHydrationFunctions(rendererInternals) {
8086
8138
  while (next) {
8087
8139
  hasMismatch = true;
8088
8140
  if ((process.env.NODE_ENV !== 'production') && !hasWarned) {
8089
- warn$1(`Hydration children mismatch in <${vnode.type}>: ` +
8141
+ warn(`Hydration children mismatch in <${vnode.type}>: ` +
8090
8142
  `server rendered element contains more child nodes than client vdom.`);
8091
8143
  hasWarned = true;
8092
8144
  }
@@ -8100,7 +8152,7 @@ function createHydrationFunctions(rendererInternals) {
8100
8152
  if (el.textContent !== vnode.children) {
8101
8153
  hasMismatch = true;
8102
8154
  (process.env.NODE_ENV !== 'production') &&
8103
- warn$1(`Hydration text content mismatch in <${vnode.type}>:\n` +
8155
+ warn(`Hydration text content mismatch in <${vnode.type}>:\n` +
8104
8156
  `- Client: ${el.textContent}\n` +
8105
8157
  `- Server: ${vnode.children}`);
8106
8158
  el.textContent = vnode.children;
@@ -8127,7 +8179,7 @@ function createHydrationFunctions(rendererInternals) {
8127
8179
  else {
8128
8180
  hasMismatch = true;
8129
8181
  if ((process.env.NODE_ENV !== 'production') && !hasWarned) {
8130
- warn$1(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +
8182
+ warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +
8131
8183
  `server rendered element contains fewer child nodes than client vdom.`);
8132
8184
  hasWarned = true;
8133
8185
  }
@@ -8161,7 +8213,7 @@ function createHydrationFunctions(rendererInternals) {
8161
8213
  const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
8162
8214
  hasMismatch = true;
8163
8215
  (process.env.NODE_ENV !== 'production') &&
8164
- warn$1(`Hydration node mismatch:\n- Client vnode:`, vnode.type, `\n- Server rendered DOM:`, node, node.nodeType === 3 /* DOMNodeTypes.TEXT */
8216
+ warn(`Hydration node mismatch:\n- Client vnode:`, vnode.type, `\n- Server rendered DOM:`, node, node.nodeType === 3 /* DOMNodeTypes.TEXT */
8165
8217
  ? `(text)`
8166
8218
  : isComment(node) && node.data === '['
8167
8219
  ? `(start of fragment)`
@@ -8360,7 +8412,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8360
8412
  type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);
8361
8413
  }
8362
8414
  else if ((process.env.NODE_ENV !== 'production')) {
8363
- warn$1('Invalid VNode type:', type, `(${typeof type})`);
8415
+ warn('Invalid VNode type:', type, `(${typeof type})`);
8364
8416
  }
8365
8417
  }
8366
8418
  // set ref
@@ -8450,6 +8502,8 @@ function baseCreateRenderer(options, createHydrationFns) {
8450
8502
  if (dirs) {
8451
8503
  invokeDirectiveHook(vnode, null, parentComponent, 'created');
8452
8504
  }
8505
+ // scopeId
8506
+ setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
8453
8507
  // props
8454
8508
  if (props) {
8455
8509
  for (const key in props) {
@@ -8473,8 +8527,6 @@ function baseCreateRenderer(options, createHydrationFns) {
8473
8527
  invokeVNodeHook(vnodeHook, parentComponent, vnode);
8474
8528
  }
8475
8529
  }
8476
- // scopeId
8477
- setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
8478
8530
  if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {
8479
8531
  Object.defineProperty(el, '__vnode', {
8480
8532
  value: vnode,
@@ -9205,7 +9257,7 @@ function baseCreateRenderer(options, createHydrationFns) {
9205
9257
  : normalizeVNode(c2[i]));
9206
9258
  if (nextChild.key != null) {
9207
9259
  if ((process.env.NODE_ENV !== 'production') && keyToNewIndexMap.has(nextChild.key)) {
9208
- warn$1(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);
9260
+ warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);
9209
9261
  }
9210
9262
  keyToNewIndexMap.set(nextChild.key, i);
9211
9263
  }
@@ -9658,7 +9710,7 @@ const resolveTarget = (props, select) => {
9658
9710
  if (isString(targetSelector)) {
9659
9711
  if (!select) {
9660
9712
  (process.env.NODE_ENV !== 'production') &&
9661
- warn$1(`Current renderer does not support string target for Teleports. ` +
9713
+ warn(`Current renderer does not support string target for Teleports. ` +
9662
9714
  `(missing querySelector renderer option)`);
9663
9715
  return null;
9664
9716
  }
@@ -9666,7 +9718,7 @@ const resolveTarget = (props, select) => {
9666
9718
  const target = select(targetSelector);
9667
9719
  if (!target) {
9668
9720
  (process.env.NODE_ENV !== 'production') &&
9669
- warn$1(`Failed to locate Teleport target with selector "${targetSelector}". ` +
9721
+ warn(`Failed to locate Teleport target with selector "${targetSelector}". ` +
9670
9722
  `Note the target element must exist before the component is mounted - ` +
9671
9723
  `i.e. the target cannot be rendered by the component itself, and ` +
9672
9724
  `ideally should be outside of the entire Vue component tree.`);
@@ -9676,7 +9728,7 @@ const resolveTarget = (props, select) => {
9676
9728
  }
9677
9729
  else {
9678
9730
  if ((process.env.NODE_ENV !== 'production') && !targetSelector && !isTeleportDisabled(props)) {
9679
- warn$1(`Invalid Teleport target: ${targetSelector}`);
9731
+ warn(`Invalid Teleport target: ${targetSelector}`);
9680
9732
  }
9681
9733
  return targetSelector;
9682
9734
  }
@@ -9711,7 +9763,7 @@ const TeleportImpl = {
9711
9763
  isSVG = isSVG || isTargetSVG(target);
9712
9764
  }
9713
9765
  else if ((process.env.NODE_ENV !== 'production') && !disabled) {
9714
- warn$1('Invalid Teleport target on mount:', target, `(${typeof target})`);
9766
+ warn('Invalid Teleport target on mount:', target, `(${typeof target})`);
9715
9767
  }
9716
9768
  const mount = (container, anchor) => {
9717
9769
  // Teleport *always* has Array children. This is enforced in both the
@@ -9763,7 +9815,7 @@ const TeleportImpl = {
9763
9815
  moveTeleport(n2, nextTarget, null, internals, 0 /* TeleportMoveTypes.TARGET_CHANGE */);
9764
9816
  }
9765
9817
  else if ((process.env.NODE_ENV !== 'production')) {
9766
- warn$1('Invalid Teleport target on update:', target, `(${typeof target})`);
9818
+ warn('Invalid Teleport target on update:', target, `(${typeof target})`);
9767
9819
  }
9768
9820
  }
9769
9821
  else if (wasDisabled) {
@@ -10105,7 +10157,7 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
10105
10157
  }
10106
10158
  // validate key
10107
10159
  if ((process.env.NODE_ENV !== 'production') && vnode.key !== vnode.key) {
10108
- warn$1(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
10160
+ warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
10109
10161
  }
10110
10162
  // track vnode for block tree
10111
10163
  if (isBlockTreeEnabled > 0 &&
@@ -10133,7 +10185,7 @@ const createVNode = ((process.env.NODE_ENV !== 'production') ? createVNodeWithAr
10133
10185
  function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
10134
10186
  if (!type || type === NULL_DYNAMIC_COMPONENT) {
10135
10187
  if ((process.env.NODE_ENV !== 'production') && !type) {
10136
- warn$1(`Invalid vnode type when creating vnode: ${type}.`);
10188
+ warn(`Invalid vnode type when creating vnode: ${type}.`);
10137
10189
  }
10138
10190
  type = Comment;
10139
10191
  }
@@ -10195,7 +10247,7 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
10195
10247
  : 0;
10196
10248
  if ((process.env.NODE_ENV !== 'production') && shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */ && isProxy(type)) {
10197
10249
  type = toRaw(type);
10198
- warn$1(`Vue received a Component which was made a reactive object. This can ` +
10250
+ warn(`Vue received a Component which was made a reactive object. This can ` +
10199
10251
  `lead to unnecessary performance overhead, and should be avoided by ` +
10200
10252
  `marking the component with \`markRaw\` or using \`shallowRef\` ` +
10201
10253
  `instead of \`ref\`.`, `\nComponent that was made reactive: `, type);
@@ -10263,7 +10315,8 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
10263
10315
  ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
10264
10316
  el: vnode.el,
10265
10317
  anchor: vnode.anchor,
10266
- ctx: vnode.ctx
10318
+ ctx: vnode.ctx,
10319
+ ce: vnode.ce
10267
10320
  };
10268
10321
  {
10269
10322
  defineLegacyVNodeProperties(cloned);
@@ -10433,13 +10486,13 @@ function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
10433
10486
  }
10434
10487
 
10435
10488
  const emptyAppContext = createAppContext();
10436
- let uid$1 = 0;
10489
+ let uid = 0;
10437
10490
  function createComponentInstance(vnode, parent, suspense) {
10438
10491
  const type = vnode.type;
10439
10492
  // inherit parent app context - or - if root, adopt from root vnode
10440
10493
  const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
10441
10494
  const instance = {
10442
- uid: uid$1++,
10495
+ uid: uid++,
10443
10496
  vnode,
10444
10497
  type,
10445
10498
  parent,
@@ -10512,7 +10565,7 @@ function createComponentInstance(vnode, parent, suspense) {
10512
10565
  instance.ctx = { _: instance };
10513
10566
  }
10514
10567
  instance.root = parent ? parent.root : instance;
10515
- instance.emit = emit$2.bind(null, instance);
10568
+ instance.emit = emit.bind(null, instance);
10516
10569
  // apply custom element special handling
10517
10570
  if (vnode.ce) {
10518
10571
  vnode.ce(instance);
@@ -10533,7 +10586,7 @@ const isBuiltInTag = /*#__PURE__*/ makeMap('slot,component');
10533
10586
  function validateComponentName(name, config) {
10534
10587
  const appIsNativeTag = config.isNativeTag || NO;
10535
10588
  if (isBuiltInTag(name) || appIsNativeTag(name)) {
10536
- warn$1('Do not use built-in or reserved HTML elements as component id: ' + name);
10589
+ warn('Do not use built-in or reserved HTML elements as component id: ' + name);
10537
10590
  }
10538
10591
  }
10539
10592
  function isStatefulComponent(instance) {
@@ -10572,7 +10625,7 @@ function setupStatefulComponent(instance, isSSR) {
10572
10625
  }
10573
10626
  }
10574
10627
  if (Component.compilerOptions && isRuntimeOnly()) {
10575
- warn$1(`"compilerOptions" is only supported when using a build of Vue that ` +
10628
+ warn(`"compilerOptions" is only supported when using a build of Vue that ` +
10576
10629
  `includes the runtime compiler. Since you are using a runtime-only ` +
10577
10630
  `build, the options should be passed via your build tool config instead.`);
10578
10631
  }
@@ -10613,7 +10666,7 @@ function setupStatefulComponent(instance, isSSR) {
10613
10666
  instance.asyncDep = setupResult;
10614
10667
  if ((process.env.NODE_ENV !== 'production') && !instance.suspense) {
10615
10668
  const name = (_a = Component.name) !== null && _a !== void 0 ? _a : 'Anonymous';
10616
- warn$1(`Component <${name}>: setup function returned a promise, but no ` +
10669
+ warn(`Component <${name}>: setup function returned a promise, but no ` +
10617
10670
  `<Suspense> boundary was found in the parent component tree. ` +
10618
10671
  `A component with async setup() must be nested in a <Suspense> ` +
10619
10672
  `in order to be rendered.`);
@@ -10642,7 +10695,7 @@ function handleSetupResult(instance, setupResult, isSSR) {
10642
10695
  }
10643
10696
  else if (isObject(setupResult)) {
10644
10697
  if ((process.env.NODE_ENV !== 'production') && isVNode(setupResult)) {
10645
- warn$1(`setup() should not return VNodes directly - ` +
10698
+ warn(`setup() should not return VNodes directly - ` +
10646
10699
  `return a render function instead.`);
10647
10700
  }
10648
10701
  // setup returned bindings.
@@ -10656,7 +10709,7 @@ function handleSetupResult(instance, setupResult, isSSR) {
10656
10709
  }
10657
10710
  }
10658
10711
  else if ((process.env.NODE_ENV !== 'production') && setupResult !== undefined) {
10659
- warn$1(`setup() should return an object. Received: ${setupResult === null ? 'null' : typeof setupResult}`);
10712
+ warn(`setup() should return an object. Received: ${setupResult === null ? 'null' : typeof setupResult}`);
10660
10713
  }
10661
10714
  finishComponentSetup(instance, isSSR);
10662
10715
  }
@@ -10739,13 +10792,13 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
10739
10792
  if ((process.env.NODE_ENV !== 'production') && !Component.render && instance.render === NOOP && !isSSR) {
10740
10793
  /* istanbul ignore if */
10741
10794
  if (!compile && Component.template) {
10742
- warn$1(`Component provided template option but ` +
10795
+ warn(`Component provided template option but ` +
10743
10796
  `runtime compilation is not supported in this build of Vue.` +
10744
10797
  (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
10745
10798
  ) /* should not happen */);
10746
10799
  }
10747
10800
  else {
10748
- warn$1(`Component is missing template or render function.`);
10801
+ warn(`Component is missing template or render function.`);
10749
10802
  }
10750
10803
  }
10751
10804
  }
@@ -10758,11 +10811,11 @@ function createAttrsProxy(instance) {
10758
10811
  return target[key];
10759
10812
  },
10760
10813
  set() {
10761
- warn$1(`setupContext.attrs is readonly.`);
10814
+ warn(`setupContext.attrs is readonly.`);
10762
10815
  return false;
10763
10816
  },
10764
10817
  deleteProperty() {
10765
- warn$1(`setupContext.attrs is readonly.`);
10818
+ warn(`setupContext.attrs is readonly.`);
10766
10819
  return false;
10767
10820
  }
10768
10821
  }
@@ -10775,8 +10828,24 @@ function createAttrsProxy(instance) {
10775
10828
  }
10776
10829
  function createSetupContext(instance) {
10777
10830
  const expose = exposed => {
10778
- if ((process.env.NODE_ENV !== 'production') && instance.exposed) {
10779
- warn$1(`expose() should be called only once per setup().`);
10831
+ if ((process.env.NODE_ENV !== 'production')) {
10832
+ if (instance.exposed) {
10833
+ warn(`expose() should be called only once per setup().`);
10834
+ }
10835
+ if (exposed != null) {
10836
+ let exposedType = typeof exposed;
10837
+ if (exposedType === 'object') {
10838
+ if (isArray(exposed)) {
10839
+ exposedType = 'array';
10840
+ }
10841
+ else if (isRef(exposed)) {
10842
+ exposedType = 'ref';
10843
+ }
10844
+ }
10845
+ if (exposedType !== 'object') {
10846
+ warn(`expose() should be passed a plain object, received ${exposedType}.`);
10847
+ }
10848
+ }
10780
10849
  }
10781
10850
  instance.exposed = exposed || {};
10782
10851
  };
@@ -10861,13 +10930,13 @@ function isClassComponent(value) {
10861
10930
  return isFunction(value) && '__vccOpts' in value;
10862
10931
  }
10863
10932
 
10864
- const computed$1 = ((getterOrOptions, debugOptions) => {
10933
+ const computed = ((getterOrOptions, debugOptions) => {
10865
10934
  // @ts-ignore
10866
- return computed(getterOrOptions, debugOptions, isInSSRComponentSetup);
10935
+ return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
10867
10936
  });
10868
10937
 
10869
10938
  // dev only
10870
- const warnRuntimeUsage = (method) => warn$1(`${method}() is a compiler-hint helper that is only usable inside ` +
10939
+ const warnRuntimeUsage = (method) => warn(`${method}() is a compiler-hint helper that is only usable inside ` +
10871
10940
  `<script setup> of a single file component. Its arguments should be ` +
10872
10941
  `compiled away and passing it at runtime has no effect.`);
10873
10942
  // implementation
@@ -10934,7 +11003,7 @@ function useAttrs() {
10934
11003
  function getContext() {
10935
11004
  const i = getCurrentInstance();
10936
11005
  if ((process.env.NODE_ENV !== 'production') && !i) {
10937
- warn$1(`useContext() called without active instance.`);
11006
+ warn(`useContext() called without active instance.`);
10938
11007
  }
10939
11008
  return i.setupContext || (i.setupContext = createSetupContext(i));
10940
11009
  }
@@ -10961,7 +11030,7 @@ function mergeDefaults(raw, defaults) {
10961
11030
  props[key] = { default: defaults[key] };
10962
11031
  }
10963
11032
  else if ((process.env.NODE_ENV !== 'production')) {
10964
- warn$1(`props default key "${key}" has no corresponding declaration.`);
11033
+ warn(`props default key "${key}" has no corresponding declaration.`);
10965
11034
  }
10966
11035
  }
10967
11036
  return props;
@@ -11004,7 +11073,7 @@ function createPropsRestProxy(props, excludedKeys) {
11004
11073
  function withAsyncContext(getAwaitable) {
11005
11074
  const ctx = getCurrentInstance();
11006
11075
  if ((process.env.NODE_ENV !== 'production') && !ctx) {
11007
- warn$1(`withAsyncContext called without active current instance. ` +
11076
+ warn(`withAsyncContext called without active current instance. ` +
11008
11077
  `This is likely a bug.`);
11009
11078
  }
11010
11079
  let awaitable = getAwaitable();
@@ -11052,7 +11121,7 @@ const useSSRContext = () => {
11052
11121
  const ctx = inject(ssrContextKey);
11053
11122
  if (!ctx) {
11054
11123
  (process.env.NODE_ENV !== 'production') &&
11055
- warn$1(`Server rendering context not provided. Make sure to only call ` +
11124
+ warn(`Server rendering context not provided. Make sure to only call ` +
11056
11125
  `useSSRContext() conditionally in the server build.`);
11057
11126
  }
11058
11127
  return ctx;
@@ -11276,7 +11345,7 @@ function isMemoSame(cached, memo) {
11276
11345
  }
11277
11346
 
11278
11347
  // Core API ------------------------------------------------------------------
11279
- const version = "3.2.45";
11348
+ const version = "3.2.47";
11280
11349
  const _ssrUtils = {
11281
11350
  createComponentInstance,
11282
11351
  setupComponent,
@@ -11293,10 +11362,10 @@ const ssrUtils = (_ssrUtils );
11293
11362
  /**
11294
11363
  * @internal only exposed in compat builds
11295
11364
  */
11296
- const resolveFilter$1 = resolveFilter ;
11365
+ const resolveFilter = resolveFilter$1 ;
11297
11366
  const _compatUtils = {
11298
11367
  warnDeprecation,
11299
- createCompatVue,
11368
+ createCompatVue: createCompatVue$1,
11300
11369
  isCompatEnabled,
11301
11370
  checkCompatEnabled,
11302
11371
  softAssertCompatEnabled
@@ -11408,9 +11477,6 @@ function patchStyle(el, prev, next) {
11408
11477
  const style = el.style;
11409
11478
  const isCssString = isString(next);
11410
11479
  if (next && !isCssString) {
11411
- for (const key in next) {
11412
- setStyle(style, key, next[key]);
11413
- }
11414
11480
  if (prev && !isString(prev)) {
11415
11481
  for (const key in prev) {
11416
11482
  if (next[key] == null) {
@@ -11418,6 +11484,9 @@ function patchStyle(el, prev, next) {
11418
11484
  }
11419
11485
  }
11420
11486
  }
11487
+ for (const key in next) {
11488
+ setStyle(style, key, next[key]);
11489
+ }
11421
11490
  }
11422
11491
  else {
11423
11492
  const currentDisplay = style.display;
@@ -11448,7 +11517,7 @@ function setStyle(style, name, val) {
11448
11517
  val = '';
11449
11518
  if ((process.env.NODE_ENV !== 'production')) {
11450
11519
  if (semicolonRE.test(val)) {
11451
- warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
11520
+ warn(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
11452
11521
  }
11453
11522
  }
11454
11523
  if (name.startsWith('--')) {
@@ -11611,7 +11680,7 @@ prevChildren, parentComponent, parentSuspense, unmountChildren) {
11611
11680
  catch (e) {
11612
11681
  // do not warn if value is auto-coerced from nullish values
11613
11682
  if ((process.env.NODE_ENV !== 'production') && !needRemove) {
11614
- warn$1(`Failed setting prop "${key}" on <${el.tagName.toLowerCase()}>: ` +
11683
+ warn(`Failed setting prop "${key}" on <${el.tagName.toLowerCase()}>: ` +
11615
11684
  `value ${value} is invalid.`, e);
11616
11685
  }
11617
11686
  }
@@ -11815,7 +11884,7 @@ class VueElement extends BaseClass {
11815
11884
  }
11816
11885
  else {
11817
11886
  if ((process.env.NODE_ENV !== 'production') && this.shadowRoot) {
11818
- warn$1(`Custom element has pre-rendered declarative shadow root but is not ` +
11887
+ warn(`Custom element has pre-rendered declarative shadow root but is not ` +
11819
11888
  `defined as hydratable. Use \`defineSSRCustomElement\`.`);
11820
11889
  }
11821
11890
  this.attachShadow({ mode: 'open' });
@@ -12022,18 +12091,18 @@ function useCssModule(name = '$style') {
12022
12091
  {
12023
12092
  const instance = getCurrentInstance();
12024
12093
  if (!instance) {
12025
- (process.env.NODE_ENV !== 'production') && warn$1(`useCssModule must be called inside setup()`);
12094
+ (process.env.NODE_ENV !== 'production') && warn(`useCssModule must be called inside setup()`);
12026
12095
  return EMPTY_OBJ;
12027
12096
  }
12028
12097
  const modules = instance.type.__cssModules;
12029
12098
  if (!modules) {
12030
- (process.env.NODE_ENV !== 'production') && warn$1(`Current instance does not have CSS modules injected.`);
12099
+ (process.env.NODE_ENV !== 'production') && warn(`Current instance does not have CSS modules injected.`);
12031
12100
  return EMPTY_OBJ;
12032
12101
  }
12033
12102
  const mod = modules[name];
12034
12103
  if (!mod) {
12035
12104
  (process.env.NODE_ENV !== 'production') &&
12036
- warn$1(`Current instance does not have CSS module named "${name}".`);
12105
+ warn(`Current instance does not have CSS module named "${name}".`);
12037
12106
  return EMPTY_OBJ;
12038
12107
  }
12039
12108
  return mod;
@@ -12049,7 +12118,7 @@ function useCssVars(getter) {
12049
12118
  /* istanbul ignore next */
12050
12119
  if (!instance) {
12051
12120
  (process.env.NODE_ENV !== 'production') &&
12052
- warn$1(`useCssVars is called without current active component instance.`);
12121
+ warn(`useCssVars is called without current active component instance.`);
12053
12122
  return;
12054
12123
  }
12055
12124
  const updateTeleports = (instance.ut = (vars = getter(instance.proxy)) => {
@@ -12139,7 +12208,7 @@ const TransitionPropsValidators = (Transition.props =
12139
12208
  * #3227 Incoming hooks may be merged into arrays when wrapping Transition
12140
12209
  * with custom HOCs.
12141
12210
  */
12142
- const callHook$1 = (hook, args = []) => {
12211
+ const callHook = (hook, args = []) => {
12143
12212
  if (isArray(hook)) {
12144
12213
  hook.forEach(h => h(...args));
12145
12214
  }
@@ -12206,11 +12275,16 @@ function resolveTransitionProps(rawProps) {
12206
12275
  return (el, done) => {
12207
12276
  const hook = isAppear ? onAppear : onEnter;
12208
12277
  const resolve = () => finishEnter(el, isAppear, done);
12209
- callHook$1(hook, [el, resolve]);
12278
+ callHook(hook, [el, resolve]);
12210
12279
  nextFrame(() => {
12211
12280
  removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
12212
12281
  if (legacyClassEnabled) {
12213
- removeTransitionClass(el, isAppear ? legacyAppearFromClass : legacyEnterFromClass);
12282
+ const legacyClass = isAppear
12283
+ ? legacyAppearFromClass
12284
+ : legacyEnterFromClass;
12285
+ if (legacyClass) {
12286
+ removeTransitionClass(el, legacyClass);
12287
+ }
12214
12288
  }
12215
12289
  addTransitionClass(el, isAppear ? appearToClass : enterToClass);
12216
12290
  if (!hasExplicitCallback(hook)) {
@@ -12221,17 +12295,17 @@ function resolveTransitionProps(rawProps) {
12221
12295
  };
12222
12296
  return extend(baseProps, {
12223
12297
  onBeforeEnter(el) {
12224
- callHook$1(onBeforeEnter, [el]);
12298
+ callHook(onBeforeEnter, [el]);
12225
12299
  addTransitionClass(el, enterFromClass);
12226
- if (legacyClassEnabled) {
12300
+ if (legacyClassEnabled && legacyEnterFromClass) {
12227
12301
  addTransitionClass(el, legacyEnterFromClass);
12228
12302
  }
12229
12303
  addTransitionClass(el, enterActiveClass);
12230
12304
  },
12231
12305
  onBeforeAppear(el) {
12232
- callHook$1(onBeforeAppear, [el]);
12306
+ callHook(onBeforeAppear, [el]);
12233
12307
  addTransitionClass(el, appearFromClass);
12234
- if (legacyClassEnabled) {
12308
+ if (legacyClassEnabled && legacyAppearFromClass) {
12235
12309
  addTransitionClass(el, legacyAppearFromClass);
12236
12310
  }
12237
12311
  addTransitionClass(el, appearActiveClass);
@@ -12242,7 +12316,7 @@ function resolveTransitionProps(rawProps) {
12242
12316
  el._isLeaving = true;
12243
12317
  const resolve = () => finishLeave(el, done);
12244
12318
  addTransitionClass(el, leaveFromClass);
12245
- if (legacyClassEnabled) {
12319
+ if (legacyClassEnabled && legacyLeaveFromClass) {
12246
12320
  addTransitionClass(el, legacyLeaveFromClass);
12247
12321
  }
12248
12322
  // force reflow so *-leave-from classes immediately take effect (#2593)
@@ -12254,7 +12328,7 @@ function resolveTransitionProps(rawProps) {
12254
12328
  return;
12255
12329
  }
12256
12330
  removeTransitionClass(el, leaveFromClass);
12257
- if (legacyClassEnabled) {
12331
+ if (legacyClassEnabled && legacyLeaveFromClass) {
12258
12332
  removeTransitionClass(el, legacyLeaveFromClass);
12259
12333
  }
12260
12334
  addTransitionClass(el, leaveToClass);
@@ -12262,19 +12336,19 @@ function resolveTransitionProps(rawProps) {
12262
12336
  whenTransitionEnds(el, type, leaveDuration, resolve);
12263
12337
  }
12264
12338
  });
12265
- callHook$1(onLeave, [el, resolve]);
12339
+ callHook(onLeave, [el, resolve]);
12266
12340
  },
12267
12341
  onEnterCancelled(el) {
12268
12342
  finishEnter(el, false);
12269
- callHook$1(onEnterCancelled, [el]);
12343
+ callHook(onEnterCancelled, [el]);
12270
12344
  },
12271
12345
  onAppearCancelled(el) {
12272
12346
  finishEnter(el, true);
12273
- callHook$1(onAppearCancelled, [el]);
12347
+ callHook(onAppearCancelled, [el]);
12274
12348
  },
12275
12349
  onLeaveCancelled(el) {
12276
12350
  finishLeave(el);
12277
- callHook$1(onLeaveCancelled, [el]);
12351
+ callHook(onLeaveCancelled, [el]);
12278
12352
  }
12279
12353
  });
12280
12354
  }
@@ -12292,19 +12366,10 @@ function normalizeDuration(duration) {
12292
12366
  }
12293
12367
  function NumberOf(val) {
12294
12368
  const res = toNumber(val);
12295
- if ((process.env.NODE_ENV !== 'production'))
12296
- validateDuration(res);
12297
- return res;
12298
- }
12299
- function validateDuration(val) {
12300
- if (typeof val !== 'number') {
12301
- warn$1(`<transition> explicit duration is not a valid number - ` +
12302
- `got ${JSON.stringify(val)}.`);
12303
- }
12304
- else if (isNaN(val)) {
12305
- warn$1(`<transition> explicit duration is NaN - ` +
12306
- 'the duration expression might be incorrect.');
12369
+ if ((process.env.NODE_ENV !== 'production')) {
12370
+ assertNumber(res, '<transition> explicit duration');
12307
12371
  }
12372
+ return res;
12308
12373
  }
12309
12374
  function addTransitionClass(el, cls) {
12310
12375
  cls.split(/\s+/).forEach(c => c && el.classList.add(c));
@@ -12491,7 +12556,7 @@ const TransitionGroupImpl = {
12491
12556
  setTransitionHooks(child, resolveTransitionHooks(child, cssTransitionProps, state, instance));
12492
12557
  }
12493
12558
  else if ((process.env.NODE_ENV !== 'production')) {
12494
- warn$1(`<TransitionGroup> children must be keyed.`);
12559
+ warn(`<TransitionGroup> children must be keyed.`);
12495
12560
  }
12496
12561
  }
12497
12562
  if (prevChildren) {
@@ -12508,6 +12573,14 @@ const TransitionGroupImpl = {
12508
12573
  {
12509
12574
  TransitionGroupImpl.__isBuiltIn = true;
12510
12575
  }
12576
+ /**
12577
+ * TransitionGroup does not support "mode" so we need to remove it from the
12578
+ * props declarations, but direct delete operation is considered a side effect
12579
+ * and will make the entire transition feature non-tree-shakeable, so we do it
12580
+ * in a function and mark the function's invocation as pure.
12581
+ */
12582
+ const removeMode = (props) => delete props.mode;
12583
+ /*#__PURE__*/ removeMode(TransitionGroupImpl.props);
12511
12584
  const TransitionGroup = TransitionGroupImpl;
12512
12585
  function callPendingCbs(c) {
12513
12586
  const el = c.el;
@@ -12583,7 +12656,7 @@ const vModelText = {
12583
12656
  domValue = domValue.trim();
12584
12657
  }
12585
12658
  if (castToNumber) {
12586
- domValue = toNumber(domValue);
12659
+ domValue = looseToNumber(domValue);
12587
12660
  }
12588
12661
  el._assign(domValue);
12589
12662
  });
@@ -12618,7 +12691,8 @@ const vModelText = {
12618
12691
  if (trim && el.value.trim() === value) {
12619
12692
  return;
12620
12693
  }
12621
- if ((number || el.type === 'number') && toNumber(el.value) === value) {
12694
+ if ((number || el.type === 'number') &&
12695
+ looseToNumber(el.value) === value) {
12622
12696
  return;
12623
12697
  }
12624
12698
  }
@@ -12707,7 +12781,7 @@ const vModelSelect = {
12707
12781
  addEventListener(el, 'change', () => {
12708
12782
  const selectedVal = Array.prototype.filter
12709
12783
  .call(el.options, (o) => o.selected)
12710
- .map((o) => number ? toNumber(getValue(o)) : getValue(o));
12784
+ .map((o) => number ? looseToNumber(getValue(o)) : getValue(o));
12711
12785
  el._assign(el.multiple
12712
12786
  ? isSetModel
12713
12787
  ? new Set(selectedVal)
@@ -12732,7 +12806,7 @@ function setSelected(el, value) {
12732
12806
  const isMultiple = el.multiple;
12733
12807
  if (isMultiple && !isArray(value) && !isSet(value)) {
12734
12808
  (process.env.NODE_ENV !== 'production') &&
12735
- warn$1(`<select multiple v-model> expects an Array or Set value for its binding, ` +
12809
+ warn(`<select multiple v-model> expects an Array or Set value for its binding, ` +
12736
12810
  `but got ${Object.prototype.toString.call(value).slice(8, -1)}.`);
12737
12811
  return;
12738
12812
  }
@@ -13073,7 +13147,7 @@ function injectCompilerOptionsCheck(app) {
13073
13147
  return isCustomElement;
13074
13148
  },
13075
13149
  set() {
13076
- warn$1(`The \`isCustomElement\` config option is deprecated. Use ` +
13150
+ warn(`The \`isCustomElement\` config option is deprecated. Use ` +
13077
13151
  `\`compilerOptions.isCustomElement\` instead.`);
13078
13152
  }
13079
13153
  });
@@ -13087,11 +13161,11 @@ function injectCompilerOptionsCheck(app) {
13087
13161
  `- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom`;
13088
13162
  Object.defineProperty(app.config, 'compilerOptions', {
13089
13163
  get() {
13090
- warn$1(msg);
13164
+ warn(msg);
13091
13165
  return compilerOptions;
13092
13166
  },
13093
13167
  set() {
13094
- warn$1(msg);
13168
+ warn(msg);
13095
13169
  }
13096
13170
  });
13097
13171
  }
@@ -13100,7 +13174,7 @@ function normalizeContainer(container) {
13100
13174
  if (isString(container)) {
13101
13175
  const res = document.querySelector(container);
13102
13176
  if ((process.env.NODE_ENV !== 'production') && !res) {
13103
- warn$1(`Failed to mount app: mount target selector "${container}" returned null.`);
13177
+ warn(`Failed to mount app: mount target selector "${container}" returned null.`);
13104
13178
  }
13105
13179
  return res;
13106
13180
  }
@@ -13108,7 +13182,7 @@ function normalizeContainer(container) {
13108
13182
  window.ShadowRoot &&
13109
13183
  container instanceof window.ShadowRoot &&
13110
13184
  container.mode === 'closed') {
13111
- warn$1(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
13185
+ warn(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
13112
13186
  }
13113
13187
  return container;
13114
13188
  }
@@ -13127,150 +13201,151 @@ const initDirectivesForSSR = () => {
13127
13201
 
13128
13202
  var runtimeDom = /*#__PURE__*/Object.freeze({
13129
13203
  __proto__: null,
13130
- render: render,
13131
- hydrate: hydrate,
13204
+ BaseTransition: BaseTransition,
13205
+ Comment: Comment,
13206
+ EffectScope: EffectScope,
13207
+ Fragment: Fragment,
13208
+ KeepAlive: KeepAlive,
13209
+ ReactiveEffect: ReactiveEffect,
13210
+ Static: Static,
13211
+ Suspense: Suspense,
13212
+ Teleport: Teleport,
13213
+ Text: Text,
13214
+ Transition: Transition,
13215
+ TransitionGroup: TransitionGroup,
13216
+ VueElement: VueElement,
13217
+ assertNumber: assertNumber,
13218
+ callWithAsyncErrorHandling: callWithAsyncErrorHandling,
13219
+ callWithErrorHandling: callWithErrorHandling,
13220
+ camelize: camelize,
13221
+ capitalize: capitalize,
13222
+ cloneVNode: cloneVNode,
13223
+ compatUtils: compatUtils,
13224
+ computed: computed,
13132
13225
  createApp: createApp,
13226
+ createBlock: createBlock,
13227
+ createCommentVNode: createCommentVNode,
13228
+ createElementBlock: createElementBlock,
13229
+ createElementVNode: createBaseVNode,
13230
+ createHydrationRenderer: createHydrationRenderer,
13231
+ createPropsRestProxy: createPropsRestProxy,
13232
+ createRenderer: createRenderer,
13133
13233
  createSSRApp: createSSRApp,
13134
- initDirectivesForSSR: initDirectivesForSSR,
13234
+ createSlots: createSlots,
13235
+ createStaticVNode: createStaticVNode,
13236
+ createTextVNode: createTextVNode,
13237
+ createVNode: createVNode,
13238
+ customRef: customRef,
13239
+ defineAsyncComponent: defineAsyncComponent,
13240
+ defineComponent: defineComponent,
13135
13241
  defineCustomElement: defineCustomElement,
13242
+ defineEmits: defineEmits,
13243
+ defineExpose: defineExpose,
13244
+ defineProps: defineProps,
13136
13245
  defineSSRCustomElement: defineSSRCustomElement,
13137
- VueElement: VueElement,
13138
- useCssModule: useCssModule,
13139
- useCssVars: useCssVars,
13140
- Transition: Transition,
13141
- TransitionGroup: TransitionGroup,
13142
- vModelText: vModelText,
13143
- vModelCheckbox: vModelCheckbox,
13144
- vModelRadio: vModelRadio,
13145
- vModelSelect: vModelSelect,
13146
- vModelDynamic: vModelDynamic,
13147
- withModifiers: withModifiers,
13148
- withKeys: withKeys,
13149
- vShow: vShow,
13150
- reactive: reactive,
13151
- ref: ref,
13152
- readonly: readonly,
13153
- unref: unref,
13154
- proxyRefs: proxyRefs,
13155
- isRef: isRef,
13156
- toRef: toRef,
13157
- toRefs: toRefs,
13246
+ get devtools () { return devtools; },
13247
+ effect: effect,
13248
+ effectScope: effectScope,
13249
+ getCurrentInstance: getCurrentInstance,
13250
+ getCurrentScope: getCurrentScope,
13251
+ getTransitionRawChildren: getTransitionRawChildren,
13252
+ guardReactiveProps: guardReactiveProps,
13253
+ h: h,
13254
+ handleError: handleError,
13255
+ hydrate: hydrate,
13256
+ initCustomFormatter: initCustomFormatter,
13257
+ initDirectivesForSSR: initDirectivesForSSR,
13258
+ inject: inject,
13259
+ isMemoSame: isMemoSame,
13158
13260
  isProxy: isProxy,
13159
13261
  isReactive: isReactive,
13160
13262
  isReadonly: isReadonly,
13263
+ isRef: isRef,
13264
+ isRuntimeOnly: isRuntimeOnly,
13161
13265
  isShallow: isShallow,
13162
- customRef: customRef,
13163
- triggerRef: triggerRef,
13164
- shallowRef: shallowRef,
13165
- shallowReactive: shallowReactive,
13166
- shallowReadonly: shallowReadonly,
13266
+ isVNode: isVNode,
13167
13267
  markRaw: markRaw,
13168
- toRaw: toRaw,
13169
- effect: effect,
13170
- stop: stop,
13171
- ReactiveEffect: ReactiveEffect,
13172
- effectScope: effectScope,
13173
- EffectScope: EffectScope,
13174
- getCurrentScope: getCurrentScope,
13175
- onScopeDispose: onScopeDispose,
13176
- computed: computed$1,
13177
- watch: watch,
13178
- watchEffect: watchEffect,
13179
- watchPostEffect: watchPostEffect,
13180
- watchSyncEffect: watchSyncEffect,
13268
+ mergeDefaults: mergeDefaults,
13269
+ mergeProps: mergeProps,
13270
+ nextTick: nextTick,
13271
+ normalizeClass: normalizeClass,
13272
+ normalizeProps: normalizeProps,
13273
+ normalizeStyle: normalizeStyle,
13274
+ onActivated: onActivated,
13181
13275
  onBeforeMount: onBeforeMount,
13182
- onMounted: onMounted,
13183
- onBeforeUpdate: onBeforeUpdate,
13184
- onUpdated: onUpdated,
13185
13276
  onBeforeUnmount: onBeforeUnmount,
13186
- onUnmounted: onUnmounted,
13187
- onActivated: onActivated,
13277
+ onBeforeUpdate: onBeforeUpdate,
13188
13278
  onDeactivated: onDeactivated,
13279
+ onErrorCaptured: onErrorCaptured,
13280
+ onMounted: onMounted,
13189
13281
  onRenderTracked: onRenderTracked,
13190
13282
  onRenderTriggered: onRenderTriggered,
13191
- onErrorCaptured: onErrorCaptured,
13283
+ onScopeDispose: onScopeDispose,
13192
13284
  onServerPrefetch: onServerPrefetch,
13285
+ onUnmounted: onUnmounted,
13286
+ onUpdated: onUpdated,
13287
+ openBlock: openBlock,
13288
+ popScopeId: popScopeId,
13193
13289
  provide: provide,
13194
- inject: inject,
13195
- nextTick: nextTick,
13196
- defineComponent: defineComponent,
13197
- defineAsyncComponent: defineAsyncComponent,
13198
- useAttrs: useAttrs,
13199
- useSlots: useSlots,
13200
- defineProps: defineProps,
13201
- defineEmits: defineEmits,
13202
- defineExpose: defineExpose,
13203
- withDefaults: withDefaults,
13204
- mergeDefaults: mergeDefaults,
13205
- createPropsRestProxy: createPropsRestProxy,
13206
- withAsyncContext: withAsyncContext,
13207
- getCurrentInstance: getCurrentInstance,
13208
- h: h,
13209
- createVNode: createVNode,
13210
- cloneVNode: cloneVNode,
13211
- mergeProps: mergeProps,
13212
- isVNode: isVNode,
13213
- Fragment: Fragment,
13214
- Text: Text,
13215
- Comment: Comment,
13216
- Static: Static,
13217
- Teleport: Teleport,
13218
- Suspense: Suspense,
13219
- KeepAlive: KeepAlive,
13220
- BaseTransition: BaseTransition,
13221
- withDirectives: withDirectives,
13222
- useSSRContext: useSSRContext,
13223
- ssrContextKey: ssrContextKey,
13224
- createRenderer: createRenderer,
13225
- createHydrationRenderer: createHydrationRenderer,
13290
+ proxyRefs: proxyRefs,
13291
+ pushScopeId: pushScopeId,
13226
13292
  queuePostFlushCb: queuePostFlushCb,
13227
- warn: warn$1,
13228
- handleError: handleError,
13229
- callWithErrorHandling: callWithErrorHandling,
13230
- callWithAsyncErrorHandling: callWithAsyncErrorHandling,
13293
+ reactive: reactive,
13294
+ readonly: readonly,
13295
+ ref: ref,
13296
+ registerRuntimeCompiler: registerRuntimeCompiler,
13297
+ render: render,
13298
+ renderList: renderList,
13299
+ renderSlot: renderSlot,
13231
13300
  resolveComponent: resolveComponent,
13232
13301
  resolveDirective: resolveDirective,
13233
13302
  resolveDynamicComponent: resolveDynamicComponent,
13234
- registerRuntimeCompiler: registerRuntimeCompiler,
13235
- isRuntimeOnly: isRuntimeOnly,
13236
- useTransitionState: useTransitionState,
13303
+ resolveFilter: resolveFilter,
13237
13304
  resolveTransitionHooks: resolveTransitionHooks,
13238
- setTransitionHooks: setTransitionHooks,
13239
- getTransitionRawChildren: getTransitionRawChildren,
13240
- initCustomFormatter: initCustomFormatter,
13241
- get devtools () { return devtools; },
13242
- setDevtoolsHook: setDevtoolsHook,
13243
- withCtx: withCtx,
13244
- pushScopeId: pushScopeId,
13245
- popScopeId: popScopeId,
13246
- withScopeId: withScopeId,
13247
- renderList: renderList,
13248
- toHandlers: toHandlers,
13249
- renderSlot: renderSlot,
13250
- createSlots: createSlots,
13251
- withMemo: withMemo,
13252
- isMemoSame: isMemoSame,
13253
- openBlock: openBlock,
13254
- createBlock: createBlock,
13255
13305
  setBlockTracking: setBlockTracking,
13256
- createTextVNode: createTextVNode,
13257
- createCommentVNode: createCommentVNode,
13258
- createStaticVNode: createStaticVNode,
13259
- createElementVNode: createBaseVNode,
13260
- createElementBlock: createElementBlock,
13261
- guardReactiveProps: guardReactiveProps,
13306
+ setDevtoolsHook: setDevtoolsHook,
13307
+ setTransitionHooks: setTransitionHooks,
13308
+ shallowReactive: shallowReactive,
13309
+ shallowReadonly: shallowReadonly,
13310
+ shallowRef: shallowRef,
13311
+ ssrContextKey: ssrContextKey,
13312
+ ssrUtils: ssrUtils,
13313
+ stop: stop,
13262
13314
  toDisplayString: toDisplayString,
13263
- camelize: camelize,
13264
- capitalize: capitalize,
13265
13315
  toHandlerKey: toHandlerKey,
13266
- normalizeProps: normalizeProps,
13267
- normalizeClass: normalizeClass,
13268
- normalizeStyle: normalizeStyle,
13316
+ toHandlers: toHandlers,
13317
+ toRaw: toRaw,
13318
+ toRef: toRef,
13319
+ toRefs: toRefs,
13269
13320
  transformVNodeArgs: transformVNodeArgs,
13321
+ triggerRef: triggerRef,
13322
+ unref: unref,
13323
+ useAttrs: useAttrs,
13324
+ useCssModule: useCssModule,
13325
+ useCssVars: useCssVars,
13326
+ useSSRContext: useSSRContext,
13327
+ useSlots: useSlots,
13328
+ useTransitionState: useTransitionState,
13329
+ vModelCheckbox: vModelCheckbox,
13330
+ vModelDynamic: vModelDynamic,
13331
+ vModelRadio: vModelRadio,
13332
+ vModelSelect: vModelSelect,
13333
+ vModelText: vModelText,
13334
+ vShow: vShow,
13270
13335
  version: version,
13271
- ssrUtils: ssrUtils,
13272
- resolveFilter: resolveFilter$1,
13273
- compatUtils: compatUtils
13336
+ warn: warn,
13337
+ watch: watch,
13338
+ watchEffect: watchEffect,
13339
+ watchPostEffect: watchPostEffect,
13340
+ watchSyncEffect: watchSyncEffect,
13341
+ withAsyncContext: withAsyncContext,
13342
+ withCtx: withCtx,
13343
+ withDefaults: withDefaults,
13344
+ withDirectives: withDirectives,
13345
+ withKeys: withKeys,
13346
+ withMemo: withMemo,
13347
+ withModifiers: withModifiers,
13348
+ withScopeId: withScopeId
13274
13349
  });
13275
13350
 
13276
13351
  function initDev() {
@@ -13300,23 +13375,23 @@ function wrappedCreateApp(...args) {
13300
13375
  }
13301
13376
  return app;
13302
13377
  }
13303
- function createCompatVue$1() {
13378
+ function createCompatVue() {
13304
13379
  const Vue = compatUtils.createCompatVue(createApp, wrappedCreateApp);
13305
13380
  extend(Vue, runtimeDom);
13306
13381
  return Vue;
13307
13382
  }
13308
13383
 
13309
13384
  // This entry exports the runtime only, and is built as
13310
- const Vue = createCompatVue$1();
13385
+ const Vue = createCompatVue();
13311
13386
  Vue.compile = (() => {
13312
13387
  if ((process.env.NODE_ENV !== 'production')) {
13313
- warn$1(`Runtime compilation is not supported in this build of Vue.` +
13388
+ warn(`Runtime compilation is not supported in this build of Vue.` +
13314
13389
  (` Configure your bundler to alias "vue" to "@vue/compat/dist/vue.esm-bundler.js".`
13315
13390
  ) /* should not happen */);
13316
13391
  }
13317
13392
  });
13393
+ var Vue$1 = Vue;
13318
13394
 
13319
- const { configureCompat: configureCompat$1 } = Vue;
13395
+ const { configureCompat } = Vue$1;
13320
13396
 
13321
- export default Vue;
13322
- export { BaseTransition, Comment, EffectScope, Fragment, KeepAlive, ReactiveEffect, Static, Suspense, Teleport, Text, Transition, TransitionGroup, VueElement, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, computed$1 as computed, configureCompat$1 as configureCompat, createApp, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineProps, defineSSRCustomElement, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getTransitionRawChildren, guardReactiveProps, h, handleError, hydrate, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, openBlock, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter$1 as resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useSSRContext, useSlots, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn$1 as warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };
13397
+ export { BaseTransition, Comment, EffectScope, Fragment, KeepAlive, ReactiveEffect, Static, Suspense, Teleport, Text, Transition, TransitionGroup, VueElement, assertNumber, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, computed, configureCompat, createApp, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, Vue$1 as default, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineProps, defineSSRCustomElement, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getTransitionRawChildren, guardReactiveProps, h, handleError, hydrate, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, openBlock, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useSSRContext, useSlots, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };