@vue-mini/core 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-mini v1.1.0
2
+ * vue-mini v1.1.1
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
@@ -7,7 +7,7 @@
7
7
  'use strict';
8
8
 
9
9
  /**
10
- * @vue/shared v3.5.5
10
+ * @vue/shared v3.5.7
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
13
  **/
@@ -66,7 +66,7 @@ const def = (obj, key, value, writable = false) => {
66
66
  };
67
67
 
68
68
  /**
69
- * @vue/reactivity v3.5.5
69
+ * @vue/reactivity v3.5.7
70
70
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
71
71
  * @license MIT
72
72
  **/
@@ -224,7 +224,7 @@ class ReactiveEffect {
224
224
  /**
225
225
  * @internal
226
226
  */
227
- this.nextEffect = void 0;
227
+ this.next = void 0;
228
228
  /**
229
229
  * @internal
230
230
  */
@@ -254,9 +254,7 @@ class ReactiveEffect {
254
254
  return;
255
255
  }
256
256
  if (!(this.flags & 8)) {
257
- this.flags |= 8;
258
- this.nextEffect = batchedEffect;
259
- batchedEffect = this;
257
+ batch(this);
260
258
  }
261
259
  }
262
260
  run() {
@@ -317,7 +315,12 @@ class ReactiveEffect {
317
315
  }
318
316
  }
319
317
  let batchDepth = 0;
320
- let batchedEffect;
318
+ let batchedSub;
319
+ function batch(sub) {
320
+ sub.flags |= 8;
321
+ sub.next = batchedSub;
322
+ batchedSub = sub;
323
+ }
321
324
  function startBatch() {
322
325
  batchDepth++;
323
326
  }
@@ -326,15 +329,16 @@ function endBatch() {
326
329
  return;
327
330
  }
328
331
  let error;
329
- while (batchedEffect) {
330
- let e = batchedEffect;
331
- batchedEffect = void 0;
332
+ while (batchedSub) {
333
+ let e = batchedSub;
334
+ batchedSub = void 0;
332
335
  while (e) {
333
- const next = e.nextEffect;
334
- e.nextEffect = void 0;
336
+ const next = e.next;
337
+ e.next = void 0;
335
338
  e.flags &= ~8;
336
339
  if (e.flags & 1) {
337
340
  try {
341
+ ;
338
342
  e.trigger();
339
343
  } catch (err) {
340
344
  if (!error) error = err;
@@ -374,7 +378,7 @@ function cleanupDeps(sub) {
374
378
  }
375
379
  function isDirty(sub) {
376
380
  for (let link = sub.deps; link; link = link.nextDep) {
377
- if (link.dep.version !== link.version || link.dep.computed && refreshComputed(link.dep.computed) || link.dep.version !== link.version) {
381
+ if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) {
378
382
  return true;
379
383
  }
380
384
  }
@@ -394,7 +398,7 @@ function refreshComputed(computed) {
394
398
  computed.globalVersion = globalVersion;
395
399
  const dep = computed.dep;
396
400
  computed.flags |= 2;
397
- if (dep.version > 0 && !computed.isSSR && !isDirty(computed)) {
401
+ if (dep.version > 0 && !computed.isSSR && computed.deps && !isDirty(computed)) {
398
402
  computed.flags &= ~2;
399
403
  return;
400
404
  }
@@ -419,7 +423,7 @@ function refreshComputed(computed) {
419
423
  computed.flags &= ~2;
420
424
  }
421
425
  }
422
- function removeSub(link) {
426
+ function removeSub(link, fromComputed = false) {
423
427
  const { dep, prevSub, nextSub } = link;
424
428
  if (prevSub) {
425
429
  prevSub.nextSub = nextSub;
@@ -432,10 +436,18 @@ function removeSub(link) {
432
436
  if (dep.subs === link) {
433
437
  dep.subs = prevSub;
434
438
  }
435
- if (!dep.subs && dep.computed) {
436
- dep.computed.flags &= ~4;
437
- for (let l = dep.computed.deps; l; l = l.nextDep) {
438
- removeSub(l);
439
+ if (dep.subsHead === link) {
440
+ dep.subsHead = nextSub;
441
+ }
442
+ if (!dep.subs) {
443
+ if (dep.computed) {
444
+ dep.computed.flags &= ~4;
445
+ for (let l = dep.computed.deps; l; l = l.nextDep) {
446
+ removeSub(l, true);
447
+ }
448
+ } else if (dep.map && !fromComputed) {
449
+ dep.map.delete(dep.key);
450
+ if (!dep.map.size) targetMap.delete(dep.target);
439
451
  }
440
452
  }
441
453
  }
@@ -516,6 +528,12 @@ class Dep {
516
528
  * Doubly linked list representing the subscribing effects (tail)
517
529
  */
518
530
  this.subs = void 0;
531
+ /**
532
+ * For object property deps cleanup
533
+ */
534
+ this.target = void 0;
535
+ this.map = void 0;
536
+ this.key = void 0;
519
537
  {
520
538
  this.subsHead = void 0;
521
539
  }
@@ -576,7 +594,7 @@ class Dep {
576
594
  try {
577
595
  if (!!("development" !== "production")) {
578
596
  for (let head = this.subsHead; head; head = head.nextSub) {
579
- if (!!("development" !== "production") && head.sub.onTrigger && !(head.sub.flags & 8)) {
597
+ if (head.sub.onTrigger && !(head.sub.flags & 8)) {
580
598
  head.sub.onTrigger(
581
599
  extend$1(
582
600
  {
@@ -589,7 +607,10 @@ class Dep {
589
607
  }
590
608
  }
591
609
  for (let link = this.subs; link; link = link.prevSub) {
592
- link.sub.notify();
610
+ if (link.sub.notify()) {
611
+ ;
612
+ link.sub.dep.notify();
613
+ }
593
614
  }
594
615
  } finally {
595
616
  endBatch();
@@ -633,6 +654,9 @@ function track(target, type, key) {
633
654
  let dep = depsMap.get(key);
634
655
  if (!dep) {
635
656
  depsMap.set(key, dep = new Dep());
657
+ dep.target = target;
658
+ dep.map = depsMap;
659
+ dep.key = key;
636
660
  }
637
661
  {
638
662
  dep.track({
@@ -1509,13 +1533,15 @@ class RefImpl {
1509
1533
  }
1510
1534
  }
1511
1535
  function triggerRef(ref2) {
1512
- {
1513
- ref2.dep.trigger({
1514
- target: ref2,
1515
- type: "set",
1516
- key: "value",
1517
- newValue: ref2._value
1518
- });
1536
+ if (ref2.dep) {
1537
+ {
1538
+ ref2.dep.trigger({
1539
+ target: ref2,
1540
+ type: "set",
1541
+ key: "value",
1542
+ newValue: ref2._value
1543
+ });
1544
+ }
1519
1545
  }
1520
1546
  }
1521
1547
  function unref(ref2) {
@@ -1658,8 +1684,10 @@ class ComputedRefImpl {
1658
1684
  */
1659
1685
  notify() {
1660
1686
  this.flags |= 16;
1661
- if (activeSub !== this) {
1662
- this.dep.notify();
1687
+ if (!(this.flags & 8) && // avoid infinite self recursion
1688
+ activeSub !== this) {
1689
+ batch(this);
1690
+ return true;
1663
1691
  }
1664
1692
  }
1665
1693
  get value() {
@@ -1806,20 +1834,12 @@ function watch$1(source, cb, options = EMPTY_OBJ$1) {
1806
1834
  remove(scope.effects, effect);
1807
1835
  }
1808
1836
  };
1809
- if (once) {
1810
- if (cb) {
1811
- const _cb = cb;
1812
- cb = (...args) => {
1813
- _cb(...args);
1814
- watchHandle();
1815
- };
1816
- } else {
1817
- const _getter = getter;
1818
- getter = () => {
1819
- _getter();
1820
- watchHandle();
1821
- };
1822
- }
1837
+ if (once && cb) {
1838
+ const _cb = cb;
1839
+ cb = (...args) => {
1840
+ _cb(...args);
1841
+ watchHandle();
1842
+ };
1823
1843
  }
1824
1844
  let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
1825
1845
  const job = (immediateFirstRun) => {
@@ -2039,7 +2059,9 @@ function flushJobs(seen) {
2039
2059
  job.flags &= ~SchedulerJobFlags.QUEUED;
2040
2060
  }
2041
2061
  job();
2042
- job.flags &= ~SchedulerJobFlags.QUEUED;
2062
+ if (!(job.flags & SchedulerJobFlags.ALLOW_RECURSE)) {
2063
+ job.flags &= ~SchedulerJobFlags.QUEUED;
2064
+ }
2043
2065
  }
2044
2066
  }
2045
2067
  finally {
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * vue-mini v1.1.0
2
+ * vue-mini v1.1.1
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
6
6
  */
7
7
  "use strict";
8
- /*! #__NO_SIDE_EFFECTS__ */function t(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return t=>t in e}const e={},s=()=>{},n=Object.assign,i=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},o=Object.prototype.hasOwnProperty,r=(t,e)=>o.call(t,e),c=Array.isArray,a=t=>"[object Map]"===p(t),l=t=>"[object Set]"===p(t),u=t=>"function"==typeof t,h=t=>"symbol"==typeof t,_=t=>null!==t&&"object"==typeof t,f=Object.prototype.toString,p=t=>f.call(t),d=t=>p(t).slice(8,-1),E=t=>"[object Object]"===p(t),O=t=>"string"==typeof t&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,v=(t,e)=>!Object.is(t,e);let g,S;class N{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=g,!t&&g&&(this.index=(g.scopes||(g.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=g;try{return g=this,t()}finally{g=e}}}on(){g=this}off(){g=this.parent}stop(t){if(this._active){let e,s;for(e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}function A(){return g}const R=new WeakSet;class T{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,g&&g.active&&g.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,R.has(this)&&(R.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||(this.flags|=8,this.nextEffect=b,b=this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,j(this),x(this);const t=S,e=U;S=this,U=!0;try{return this.fn()}finally{I(this),S=t,U=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)w(t);this.deps=this.depsTail=void 0,j(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?R.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){P(this)&&this.run()}get dirty(){return P(this)}}let b,m=0;function D(){m++}function y(){if(--m>0)return;let t;for(;b;){let e=b;for(b=void 0;e;){const s=e.nextEffect;if(e.nextEffect=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=s}}if(t)throw t}function x(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function I(t){let e,s=t.depsTail,n=s;for(;n;){const t=n.prevDep;-1===n.version?(n===s&&(s=t),w(n),H(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=t}t.deps=e,t.depsTail=s}function P(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&L(e.dep.computed)||e.dep.version!==e.version)return!0;return!!t._dirty}function L(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===W)return;t.globalVersion=W;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&!P(t))return void(t.flags&=-3);const s=S,n=U;S=t,U=!0;try{x(t);const s=t.fn(t._value);(0===e.version||v(s,t._value))&&(t._value=s,e.version++)}catch(t){throw e.version++,t}finally{S=s,U=n,I(t),t.flags&=-3}}function w(t){const{dep:e,prevSub:s,nextSub:n}=t;if(s&&(s.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=s,t.nextSub=void 0),e.subs===t&&(e.subs=s),!e.subs&&e.computed){e.computed.flags&=-5;for(let t=e.computed.deps;t;t=t.nextDep)w(t)}}function H(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let U=!0;const C=[];function k(){C.push(U),U=!1}function M(){const t=C.pop();U=void 0===t||t}function j(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=S;S=void 0;try{e()}finally{S=t}}}let W=0;class V{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class G{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!S||!U||S===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==S)e=this.activeLink=new V(S,this),S.deps?(e.prevDep=S.depsTail,S.depsTail.nextDep=e,S.depsTail=e):S.deps=S.depsTail=e,4&S.flags&&F(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=S.depsTail,e.nextDep=void 0,S.depsTail.nextDep=e,S.depsTail=e,S.deps===e&&(S.deps=t)}return e}trigger(t){this.version++,W++,this.notify(t)}notify(t){D();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()}finally{y()}}}function F(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)F(t)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}const Q=new WeakMap,B=Symbol(""),Y=Symbol(""),z=Symbol("");function X(t,e,s){if(U&&S){let e=Q.get(t);e||Q.set(t,e=new Map);let n=e.get(s);n||e.set(s,n=new G),n.track()}}function Z(t,e,s,n,i,o){const r=Q.get(t);if(!r)return void W++;const l=t=>{t&&t.trigger()};if(D(),"clear"===e)r.forEach(l);else{const i=c(t),o=i&&O(s);if(i&&"length"===s){const t=Number(n);r.forEach(((e,s)=>{("length"===s||s===z||!h(s)&&s>=t)&&l(e)}))}else switch(void 0!==s&&l(r.get(s)),o&&l(r.get(z)),e){case"add":i?o&&l(r.get("length")):(l(r.get(B)),a(t)&&l(r.get(Y)));break;case"delete":i||(l(r.get(B)),a(t)&&l(r.get(Y)));break;case"set":a(t)&&l(r.get(B))}}y()}function J(t){const e=Zt(t);return e===t?e:(X(e,0,z),zt(t)?e:e.map(Jt))}function K(t){return X(t=Zt(t),0,z),t}const $={__proto__:null,[Symbol.iterator](){return q(this,Symbol.iterator,Jt)},concat(...t){return J(this).concat(...t.map((t=>c(t)?J(t):t)))},entries(){return q(this,"entries",(t=>(t[1]=Jt(t[1]),t)))},every(t,e){return et(this,"every",t,e,void 0,arguments)},filter(t,e){return et(this,"filter",t,e,(t=>t.map(Jt)),arguments)},find(t,e){return et(this,"find",t,e,Jt,arguments)},findIndex(t,e){return et(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return et(this,"findLast",t,e,Jt,arguments)},findLastIndex(t,e){return et(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return et(this,"forEach",t,e,void 0,arguments)},includes(...t){return nt(this,"includes",t)},indexOf(...t){return nt(this,"indexOf",t)},join(t){return J(this).join(t)},lastIndexOf(...t){return nt(this,"lastIndexOf",t)},map(t,e){return et(this,"map",t,e,void 0,arguments)},pop(){return it(this,"pop")},push(...t){return it(this,"push",t)},reduce(t,...e){return st(this,"reduce",t,e)},reduceRight(t,...e){return st(this,"reduceRight",t,e)},shift(){return it(this,"shift")},some(t,e){return et(this,"some",t,e,void 0,arguments)},splice(...t){return it(this,"splice",t)},toReversed(){return J(this).toReversed()},toSorted(t){return J(this).toSorted(t)},toSpliced(...t){return J(this).toSpliced(...t)},unshift(...t){return it(this,"unshift",t)},values(){return q(this,"values",Jt)}};function q(t,e,s){const n=K(t),i=n[e]();return n===t||zt(t)||(i._next=i.next,i.next=()=>{const t=i._next();return t.value&&(t.value=s(t.value)),t}),i}const tt=Array.prototype;function et(t,e,s,n,i,o){const r=K(t),c=r!==t&&!zt(t),a=r[e];if(a!==tt[e]){const e=a.apply(t,o);return c?Jt(e):e}let l=s;r!==t&&(c?l=function(e,n){return s.call(this,Jt(e),n,t)}:s.length>2&&(l=function(e,n){return s.call(this,e,n,t)}));const u=a.call(r,l,n);return c&&i?i(u):u}function st(t,e,s,n){const i=K(t);let o=s;return i!==t&&(zt(t)?s.length>3&&(o=function(e,n,i){return s.call(this,e,n,i,t)}):o=function(e,n,i){return s.call(this,e,Jt(n),i,t)}),i[e](o,...n)}function nt(t,e,s){const n=Zt(t);X(n,0,z);const i=n[e](...s);return-1!==i&&!1!==i||!Xt(s[0])?i:(s[0]=Zt(s[0]),n[e](...s))}function it(t,e,s=[]){k(),D();const n=Zt(t)[e].apply(t,s);return y(),M(),n}const ot=t("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(h));function ct(t){h(t)||(t=String(t));const e=Zt(this);return X(e,0,t),e.hasOwnProperty(t)}class at{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,s){const n=this._isReadonly,i=this._isShallow;if("__v_isReactive"===e)return!n;if("__v_isReadonly"===e)return n;if("__v_isShallow"===e)return i;if("__v_raw"===e)return s===(n?i?Wt:jt:i?Mt:kt).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=c(t);if(!n){let t;if(o&&(t=$[e]))return t;if("hasOwnProperty"===e)return ct}const r=Reflect.get(t,e,$t(t)?t:s);return(h(e)?rt.has(e):ot(e))?r:(n||X(t,0,e),i?r:$t(r)?o&&O(e)?r:r.value:_(r)?n?Ft(r):Vt(r):r)}}class lt extends at{constructor(t=!1){super(!1,t)}set(t,e,s,n){let i=t[e];if(!this._isShallow){const e=Yt(i);if(zt(s)||Yt(s)||(i=Zt(i),s=Zt(s)),!c(t)&&$t(i)&&!$t(s))return!e&&(i.value=s,!0)}const o=c(t)&&O(e)?Number(e)<t.length:r(t,e),a=Reflect.set(t,e,s,$t(t)?t:n);return t===Zt(n)&&(o?v(s,i)&&Z(t,"set",e,s):Z(t,"add",e,s)),a}deleteProperty(t,e){const s=r(t,e),n=Reflect.deleteProperty(t,e);return n&&s&&Z(t,"delete",e,void 0),n}has(t,e){const s=Reflect.has(t,e);return h(e)&&rt.has(e)||X(t,0,e),s}ownKeys(t){return X(t,0,c(t)?"length":B),Reflect.ownKeys(t)}}class ut extends at{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const ht=new lt,_t=new ut,ft=new lt(!0),pt=new ut(!0),dt=t=>t,Et=t=>Reflect.getPrototypeOf(t);function Ot(t,e,s=!1,n=!1){const i=Zt(t=t.__v_raw),o=Zt(e);s||(v(e,o)&&X(i,0,e),X(i,0,o));const{has:r}=Et(i),c=n?dt:s?Kt:Jt;return r.call(i,e)?c(t.get(e)):r.call(i,o)?c(t.get(o)):void(t!==i&&t.get(e))}function vt(t,e=!1){const s=this.__v_raw,n=Zt(s),i=Zt(t);return e||(v(t,i)&&X(n,0,t),X(n,0,i)),t===i?s.has(t):s.has(t)||s.has(i)}function gt(t,e=!1){return t=t.__v_raw,!e&&X(Zt(t),0,B),Reflect.get(t,"size",t)}function St(t,e=!1){e||zt(t)||Yt(t)||(t=Zt(t));const s=Zt(this);return Et(s).has.call(s,t)||(s.add(t),Z(s,"add",t,t)),this}function Nt(t,e,s=!1){s||zt(e)||Yt(e)||(e=Zt(e));const n=Zt(this),{has:i,get:o}=Et(n);let r=i.call(n,t);r||(t=Zt(t),r=i.call(n,t));const c=o.call(n,t);return n.set(t,e),r?v(e,c)&&Z(n,"set",t,e):Z(n,"add",t,e),this}function At(t){const e=Zt(this),{has:s,get:n}=Et(e);let i=s.call(e,t);i||(t=Zt(t),i=s.call(e,t)),n&&n.call(e,t);const o=e.delete(t);return i&&Z(e,"delete",t,void 0),o}function Rt(){const t=Zt(this),e=0!==t.size,s=t.clear();return e&&Z(t,"clear",void 0,void 0),s}function Tt(t,e){return function(s,n){const i=this,o=i.__v_raw,r=Zt(o),c=e?dt:t?Kt:Jt;return!t&&X(r,0,B),o.forEach(((t,e)=>s.call(n,c(t),c(e),i)))}}function bt(t,e,s){return function(...n){const i=this.__v_raw,o=Zt(i),r=a(o),c="entries"===t||t===Symbol.iterator&&r,l="keys"===t&&r,u=i[t](...n),h=s?dt:e?Kt:Jt;return!e&&X(o,0,l?Y:B),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:c?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function mt(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function Dt(){const t={get(t){return Ot(this,t)},get size(){return gt(this)},has:vt,add:St,set:Nt,delete:At,clear:Rt,forEach:Tt(!1,!1)},e={get(t){return Ot(this,t,!1,!0)},get size(){return gt(this)},has:vt,add(t){return St.call(this,t,!0)},set(t,e){return Nt.call(this,t,e,!0)},delete:At,clear:Rt,forEach:Tt(!1,!0)},s={get(t){return Ot(this,t,!0)},get size(){return gt(this,!0)},has(t){return vt.call(this,t,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:Tt(!0,!1)},n={get(t){return Ot(this,t,!0,!0)},get size(){return gt(this,!0)},has(t){return vt.call(this,t,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:Tt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{t[i]=bt(i,!1,!1),s[i]=bt(i,!0,!1),e[i]=bt(i,!1,!0),n[i]=bt(i,!0,!0)})),[t,s,e,n]}const[yt,xt,It,Pt]=Dt();function Lt(t,e){const s=e?t?Pt:It:t?xt:yt;return(e,n,i)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(r(s,n)&&n in e?s:e,n,i)}const wt={get:Lt(!1,!1)},Ht={get:Lt(!1,!0)},Ut={get:Lt(!0,!1)},Ct={get:Lt(!0,!0)},kt=new WeakMap,Mt=new WeakMap,jt=new WeakMap,Wt=new WeakMap;function Vt(t){return Yt(t)?t:Qt(t,!1,ht,wt,kt)}function Gt(t){return Qt(t,!1,ft,Ht,Mt)}function Ft(t){return Qt(t,!0,_t,Ut,jt)}function Qt(t,e,s,n,i){if(!_(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=(c=t).__v_skip||!Object.isExtensible(c)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(d(c));var c;if(0===r)return t;const a=new Proxy(t,2===r?n:s);return i.set(t,a),a}function Bt(t){return Yt(t)?Bt(t.__v_raw):!(!t||!t.__v_isReactive)}function Yt(t){return!(!t||!t.__v_isReadonly)}function zt(t){return!(!t||!t.__v_isShallow)}function Xt(t){return!!t&&!!t.__v_raw}function Zt(t){const e=t&&t.__v_raw;return e?Zt(e):t}const Jt=t=>_(t)?Vt(t):t,Kt=t=>_(t)?Ft(t):t;function $t(t){return!!t&&!0===t.__v_isRef}function qt(t){return te(t,!1)}function te(t,e){return $t(t)?t:new ee(t,e)}class ee{constructor(t,e){this.dep=new G,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Zt(t),this._value=e?t:Jt(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,s=this.__v_isShallow||zt(t)||Yt(t);t=s?t:Zt(t),v(t,e)&&(this._rawValue=t,this._value=s?t:Jt(t),this.dep.trigger())}}function se(t){return $t(t)?t.value:t}const ne={get:(t,e,s)=>"__v_raw"===e?t:se(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return $t(i)&&!$t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};class ie{constructor(t){this.__v_isRef=!0,this._value=void 0;const e=this.dep=new G,{get:s,set:n}=t(e.track.bind(e),e.trigger.bind(e));this._get=s,this._set=n}get value(){return this._value=this._get()}set value(t){this._set(t)}}class oe{constructor(t,e,s){this._object=t,this._key=e,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return t=Zt(this._object),e=this._key,null==(s=Q.get(t))?void 0:s.get(e);var t,e,s}}class re{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ce(t,e,s){const n=t[e];return $t(n)?n:new oe(t,e,s)}class ae{constructor(t,e,s){this.fn=t,this.setter=e,this._value=void 0,this.dep=new G(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=W-1,this.effect=this,this.__v_isReadonly=!e,this.isSSR=s}notify(){this.flags|=16,S!==this&&this.dep.notify()}get value(){const t=this.dep.track();return L(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const le={},ue=new WeakMap;let he;function _e(t,e=!1,s=he){if(s){let e=ue.get(s);e||ue.set(s,e=[]),e.push(t)}}function fe(t,e=1/0,s){if(e<=0||!_(t)||t.__v_skip)return t;if((s=s||new Set).has(t))return t;if(s.add(t),e--,$t(t))fe(t.value,e,s);else if(c(t))for(let n=0;n<t.length;n++)fe(t[n],e,s);else if(l(t)||a(t))t.forEach((t=>{fe(t,e,s)}));else if(E(t)){for(const n in t)fe(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&fe(t[n],e,s)}return t}const pe={},{isArray:de}=Array,Ee=Object.assign;function Oe(t,e){const s={};return Object.keys(t).forEach((n=>{e.includes(n)||(s[n]=t[n])})),s}function ve(t){return Object.prototype.toString.call(t).slice(8,-1)}function ge(t){return"function"==typeof t}function Se(t){return`__${t}__`}var Ne;!function(t){t[t.QUEUED=1]="QUEUED",t[t.ALLOW_RECURSE=4]="ALLOW_RECURSE"}(Ne||(Ne={}));let Ae=!1,Re=!1;const Te=[];let be=0;const me=[];let De=null,ye=0;const xe=Promise.resolve();let Ie=null;function Pe(t){t.flags&Ne.QUEUED||(Te.push(t),t.flags|=Ne.QUEUED,Ae||Re||(Re=!0,Ie=xe.then(we)))}function Le(){if(me.length>0){for(De=[...new Set(me)],me.length=0,ye=0;ye<De.length;ye++){const t=De[ye];t.flags&Ne.ALLOW_RECURSE&&(t.flags&=~Ne.QUEUED),t(),t.flags&=~Ne.QUEUED}De=null,ye=0}}function we(t){Re=!1,Ae=!0;try{for(be=0;be<Te.length;be++){const t=Te[be];0,t.flags&Ne.ALLOW_RECURSE&&(t.flags&=~Ne.QUEUED),t(),t.flags&=~Ne.QUEUED}}finally{for(;be<Te.length;be++){Te[be].flags&=~Ne.QUEUED}be=0,Te.length=0,Ae=!1,Ie=null}}function He(t,e,s){return Ue(t,e,s)}function Ue(t,n,o=pe){const{flush:r}=o,a=Ee({},o);"post"===r?a.scheduler=t=>{!function(t){t.flags&Ne.QUEUED||(me.push(t),t.flags|=Ne.QUEUED)}(t)}:"sync"!==r&&(a.scheduler=(t,e)=>{e?t():Pe(t)}),a.augmentJob=t=>{n&&(t.flags|=Ne.ALLOW_RECURSE)};const l=function(t,n,o=e){const{immediate:r,deep:a,once:l,scheduler:h,augmentJob:_,call:f}=o,p=t=>a?t:zt(t)||!1===a||0===a?fe(t,1):fe(t);let d,E,O,g,S=!1,N=!1;if($t(t)?(E=()=>t.value,S=zt(t)):Bt(t)?(E=()=>p(t),S=!0):c(t)?(N=!0,S=t.some((t=>Bt(t)||zt(t))),E=()=>t.map((t=>$t(t)?t.value:Bt(t)?p(t):u(t)?f?f(t,2):t():void 0))):E=u(t)?n?f?()=>f(t,2):t:()=>{if(O){k();try{O()}finally{M()}}const e=he;he=d;try{return f?f(t,3,[g]):t(g)}finally{he=e}}:s,n&&a){const t=E,e=!0===a?1/0:a;E=()=>fe(t(),e)}const R=A(),b=()=>{d.stop(),R&&i(R.effects,d)};if(l)if(n){const t=n;n=(...e)=>{t(...e),b()}}else{const t=E;E=()=>{t(),b()}}let m=N?new Array(t.length).fill(le):le;const D=t=>{if(1&d.flags&&(d.dirty||t))if(n){const t=d.run();if(a||S||(N?t.some(((t,e)=>v(t,m[e]))):v(t,m))){O&&O();const e=he;he=d;try{const e=[t,m===le?void 0:N&&m[0]===le?[]:m,g];f?f(n,3,e):n(...e),m=t}finally{he=e}}}else d.run()};return _&&_(D),d=new T(E),d.scheduler=h?()=>h(D,!1):D,g=t=>_e(t,!1,d),O=d.onStop=()=>{const t=ue.get(d);if(t){if(f)f(t,4);else for(const e of t)e();ue.delete(d)}},n?r?D(!0):m=d.run():h?h(D.bind(null,!0),!0):d.run(),b.pause=d.pause.bind(d),b.resume=d.resume.bind(d),b.stop=b,b}(t,n,a);return l}const Ce=Object.create(null);let ke=null,Me=null,je=null;function We(){return Me||je}var Ve,Ge,Fe;function Qe(t,e){const s=t[e];return function(...t){const n=this[Se(e)];n&&n.forEach((e=>e(...t))),void 0!==s&&s.call(this,...t)}}function Be(t){if(function(t){const e=new Set(["undefined","boolean","number","string"]);return null===t||e.has(typeof t)}(t)||ge(t))return t;if($t(t))return Be(t.value);if(Xt(t))return Be(Zt(t));if(de(t))return t.map((t=>Be(t)));if(function(t){return"Object"===ve(t)}(t)){const e={};return Object.keys(t).forEach((s=>{e[s]=Be(t[s])})),e}throw new TypeError(`${ve(t)} value is not supported`)}function Ye(t,e){var s;null!==(s=e)&&"object"==typeof s&&He($t(e)?e:()=>e,(()=>{this.setData({[t]:Be(e)},Le)}),{deep:!0})}function ze(t,e){const s=t[e];return function(...t){const n=this[Se(e)];n&&n.forEach((e=>e(...t))),void 0!==s&&s.call(this,...t)}}!function(t){t.ON_LAUNCH="onLaunch",t.ON_SHOW="onShow",t.ON_HIDE="onHide",t.ON_ERROR="onError",t.ON_PAGE_NOT_FOUND="onPageNotFound",t.ON_UNHANDLED_REJECTION="onUnhandledRejection",t.ON_THEME_CHANGE="onThemeChange"}(Ve||(Ve={})),function(t){t.ON_LOAD="onLoad",t.ON_SHOW="onShow",t.ON_READY="onReady",t.ON_HIDE="onHide",t.ON_UNLOAD="onUnload",t.ON_ROUTE_DONE="onRouteDone",t.ON_PULL_DOWN_REFRESH="onPullDownRefresh",t.ON_REACH_BOTTOM="onReachBottom",t.ON_PAGE_SCROLL="onPageScroll",t.ON_SHARE_APP_MESSAGE="onShareAppMessage",t.ON_SHARE_TIMELINE="onShareTimeline",t.ON_ADD_TO_FAVORITES="onAddToFavorites",t.ON_RESIZE="onResize",t.ON_TAB_ITEM_TAP="onTabItemTap",t.ON_SAVE_EXIT_STATE="onSaveExitState"}(Ge||(Ge={})),function(t){t.ATTACHED="attached",t.READY="ready",t.MOVED="moved",t.DETACHED="detached",t.ERROR="error"}(Fe||(Fe={}));const Xe={[Ge.ON_SHOW]:"show",[Ge.ON_HIDE]:"hide",[Ge.ON_RESIZE]:"resize",[Ge.ON_ROUTE_DONE]:"routeDone",[Fe.READY]:Ge.ON_READY};function Ze(t,e){return $e(e,t.lifetimes[e]||t[e])}function Je(t,e){return $e(e,t.methods[e])}function Ke(t,e){return $e(e,t.pageLifetimes[Xe[e]])}function $e(t,e){const s=Se(t);return function(...t){const n=this[s];n&&n.forEach((e=>e(...t))),void 0!==e&&e.call(this,...t)}}const qe=Os(Ve.ON_SHOW),ts=Os(Ve.ON_HIDE),es=Os(Ve.ON_ERROR),ss=Os(Ve.ON_PAGE_NOT_FOUND),ns=Os(Ve.ON_UNHANDLED_REJECTION),is=Os(Ve.ON_THEME_CHANGE),os=vs(Ge.ON_SHOW),rs=vs(Ge.ON_HIDE),cs=vs(Ge.ON_UNLOAD),as=vs(Ge.ON_ROUTE_DONE),ls=vs(Ge.ON_PULL_DOWN_REFRESH),us=vs(Ge.ON_REACH_BOTTOM),hs=vs(Ge.ON_RESIZE),_s=vs(Ge.ON_TAB_ITEM_TAP),fs=gs(Ge.ON_LOAD),ps=gs(Fe.MOVED),ds=gs(Fe.DETACHED),Es=gs(Fe.ERROR);function Os(t){return e=>{ke&&Ss(ke,t,e)}}function vs(t){return e=>{const s=We();s&&Ss(s,t,e)}}function gs(t){return e=>{je&&Ss(je,t,e)}}function Ss(t,e,s){const n=Se(e);void 0===t[n]&&(t[n]=[]),t[n].push(s)}exports.EffectScope=N,exports.ReactiveEffect=T,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(t,e,s=!1){let n,i;return u(t)?n=t:(n=t.get,i=t.set),new ae(n,i,s)},exports.createApp=function(t){let e,s;if(ge(t))e=t,s={};else{if(void 0===t.setup)return void App(t);e=t.setup,s=Oe(t,["setup"])}const n=s[Ve.ON_LAUNCH];s[Ve.ON_LAUNCH]=function(t){ke=this;const s=e(t);void 0!==s&&Object.keys(s).forEach((t=>{this[t]=s[t]})),ke=null,void 0!==n&&n.call(this,t)},s[Ve.ON_SHOW]=Qe(s,Ve.ON_SHOW),s[Ve.ON_HIDE]=Qe(s,Ve.ON_HIDE),s[Ve.ON_ERROR]=Qe(s,Ve.ON_ERROR),s[Ve.ON_PAGE_NOT_FOUND]=Qe(s,Ve.ON_PAGE_NOT_FOUND),s[Ve.ON_UNHANDLED_REJECTION]=Qe(s,Ve.ON_UNHANDLED_REJECTION),s[Ve.ON_THEME_CHANGE]=Qe(s,Ve.ON_THEME_CHANGE),App(s)},exports.customRef=function(t){return new ie(t)},exports.defineComponent=function(t,e){let s,n;e=Ee({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e);let i=null;if(ge(t))s=t,n={};else{if(void 0===t.setup)return Component(t);s=t.setup,n=Oe(t,["setup"]),n.properties&&(i=Object.keys(n.properties))}void 0===n.lifetimes&&(n.lifetimes={});const o=n.lifetimes[Fe.ATTACHED]||n[Fe.ATTACHED];n.lifetimes[Fe.ATTACHED]=function(){var t;this.__scope__=new N,je=t=this,t.__scope__.on();const e={};i&&i.forEach((t=>{e[t]=this.data[t]})),this.__props__=Gt(e);const n={is:this.is,id:this.id,dataset:this.dataset,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,triggerEvent:this.triggerEvent.bind(this),createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),selectOwnerComponent:this.selectOwnerComponent.bind(this),getRelationNodes:this.getRelationNodes.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},r=s(this.__props__,n);if(void 0!==r){let t;Object.keys(r).forEach((e=>{const s=r[e];ge(s)?this[e]=s:(t=t||{},t[e]=Be(s),Ye.call(this,e,s))})),void 0!==t&&this.setData(t,Le)}je&&je.__scope__.off(),je=null,void 0!==o&&o.call(this)};const r=Ze(n,Fe.DETACHED);return n.lifetimes[Fe.DETACHED]=function(){r.call(this),this.__scope__.stop()},n.lifetimes[Fe.READY]=$e(Xe[Fe.READY],n.lifetimes[Fe.READY]||n[Fe.READY]),n.lifetimes[Fe.MOVED]=Ze(n,Fe.MOVED),n.lifetimes[Fe.ERROR]=Ze(n,Fe.ERROR),void 0===n.methods&&(n.methods={}),(n.methods[Ge.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n.methods[Ge.ON_PAGE_SCROLL]=Je(n,Ge.ON_PAGE_SCROLL),n.methods.__listenPageScroll__=()=>!0),void 0===n.methods[Ge.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n.methods[Ge.ON_SHARE_APP_MESSAGE]=function(t){const e=this[Se(Ge.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===n.methods[Ge.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n.methods[Ge.ON_SHARE_TIMELINE]=function(){const t=this[Se(Ge.ON_SHARE_TIMELINE)];return t?t():{}},n.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===n.methods[Ge.ON_ADD_TO_FAVORITES]&&(n.methods[Ge.ON_ADD_TO_FAVORITES]=function(t){const e=this[Se(Ge.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.methods.__isInjectedFavoritesHook__=()=>!0),void 0===n.methods[Ge.ON_SAVE_EXIT_STATE]&&(n.methods[Ge.ON_SAVE_EXIT_STATE]=function(){const t=this[Se(Ge.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.methods.__isInjectedExitStateHook__=()=>!0),n.methods[Ge.ON_LOAD]=Je(n,Ge.ON_LOAD),n.methods[Ge.ON_PULL_DOWN_REFRESH]=Je(n,Ge.ON_PULL_DOWN_REFRESH),n.methods[Ge.ON_REACH_BOTTOM]=Je(n,Ge.ON_REACH_BOTTOM),n.methods[Ge.ON_TAB_ITEM_TAP]=Je(n,Ge.ON_TAB_ITEM_TAP),void 0===n.pageLifetimes&&(n.pageLifetimes={}),n.pageLifetimes[Xe[Ge.ON_SHOW]]=Ke(n,Ge.ON_SHOW),n.pageLifetimes[Xe[Ge.ON_HIDE]]=Ke(n,Ge.ON_HIDE),n.pageLifetimes[Xe[Ge.ON_RESIZE]]=Ke(n,Ge.ON_RESIZE),n.pageLifetimes[Xe[Ge.ON_ROUTE_DONE]]=Ke(n,Ge.ON_ROUTE_DONE),i&&(void 0===n.observers&&(n.observers={}),i.forEach((t=>{const e=n.observers[t];n.observers[t]=function(s){this.__props__&&(this.__props__[t]=s),void 0!==e&&e.call(this,s)}}))),Component(n)},exports.definePage=function(t,e){let s,n;if(e=Ee({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e),ge(t))s=t,n={};else{if(void 0===t.setup)return void Page(t);s=t.setup,n=Oe(t,["setup"])}const i=n[Ge.ON_LOAD];n[Ge.ON_LOAD]=function(t){var e;this.__scope__=new N,Me=e=this,e.__scope__.on();const n={is:this.is,route:this.route,options:this.options,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},o=s(t,n);if(void 0!==o){let t;Object.keys(o).forEach((e=>{const s=o[e];ge(s)?this[e]=s:(t=t||{},t[e]=Be(s),Ye.call(this,e,s))})),void 0!==t&&this.setData(t,Le)}Me&&Me.__scope__.off(),Me=null,void 0!==i&&i.call(this,t)};const o=ze(n,Ge.ON_UNLOAD);n[Ge.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(n[Ge.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n[Ge.ON_PAGE_SCROLL]=ze(n,Ge.ON_PAGE_SCROLL),n.__listenPageScroll__=()=>!0),void 0===n[Ge.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n[Ge.ON_SHARE_APP_MESSAGE]=function(t){const e=this[Se(Ge.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.__isInjectedShareToOthersHook__=()=>!0),void 0===n[Ge.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n[Ge.ON_SHARE_TIMELINE]=function(){const t=this[Se(Ge.ON_SHARE_TIMELINE)];return t?t():{}},n.__isInjectedShareToTimelineHook__=()=>!0),void 0===n[Ge.ON_ADD_TO_FAVORITES]&&(n[Ge.ON_ADD_TO_FAVORITES]=function(t){const e=this[Se(Ge.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.__isInjectedFavoritesHook__=()=>!0),void 0===n[Ge.ON_SAVE_EXIT_STATE]&&(n[Ge.ON_SAVE_EXIT_STATE]=function(){const t=this[Se(Ge.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.__isInjectedExitStateHook__=()=>!0),n[Ge.ON_SHOW]=ze(n,Ge.ON_SHOW),n[Ge.ON_READY]=ze(n,Ge.ON_READY),n[Ge.ON_HIDE]=ze(n,Ge.ON_HIDE),n[Ge.ON_ROUTE_DONE]=ze(n,Ge.ON_ROUTE_DONE),n[Ge.ON_PULL_DOWN_REFRESH]=ze(n,Ge.ON_PULL_DOWN_REFRESH),n[Ge.ON_REACH_BOTTOM]=ze(n,Ge.ON_REACH_BOTTOM),n[Ge.ON_RESIZE]=ze(n,Ge.ON_RESIZE),n[Ge.ON_TAB_ITEM_TAP]=ze(n,Ge.ON_TAB_ITEM_TAP),Page(n)},exports.effect=function(t,e){t.effect instanceof T&&(t=t.effect.fn);const s=new T(t);e&&n(s,e);try{s.run()}catch(t){throw s.stop(),t}const i=s.run.bind(s);return i.effect=s,i},exports.effectScope=function(t){return new N(t)},exports.getCurrentScope=A,exports.getCurrentWatcher=function(){return he},exports.inject=function(t,e,s=!1){return t in Ce?Ce[t]:arguments.length>1?s&&ge(e)?e():e:void 0},exports.isProxy=Xt,exports.isReactive=Bt,exports.isReadonly=Yt,exports.isRef=$t,exports.isShallow=zt,exports.markRaw=function(t){return!r(t,"__v_skip")&&Object.isExtensible(t)&&((t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})})(t,"__v_skip",!0),t},exports.nextTick=function(t){const e=Ie||xe;return t?e.then(t):e},exports.onAddToFavorites=t=>{const e=We();if(e&&e.__isInjectedFavoritesHook__){const s=Se(Ge.ON_ADD_TO_FAVORITES);void 0===e[s]&&(e[s]=t)}},exports.onAppError=es,exports.onAppHide=ts,exports.onAppShow=qe,exports.onDetach=ds,exports.onError=Es,exports.onHide=rs,exports.onLoad=fs,exports.onMove=ps,exports.onPageNotFound=ss,exports.onPageScroll=t=>{const e=We();e&&e.__listenPageScroll__&&Ss(e,Ge.ON_PAGE_SCROLL,t)},exports.onPullDownRefresh=ls,exports.onReachBottom=us,exports.onReady=t=>{const e=We();e&&Ss(e,Ge.ON_READY,t)},exports.onResize=hs,exports.onRouteDone=as,exports.onSaveExitState=t=>{const e=We();if(e&&e.__isInjectedExitStateHook__){const s=Se(Ge.ON_SAVE_EXIT_STATE);void 0===e[s]&&(e[s]=t)}},exports.onScopeDispose=function(t,e=!1){g&&g.cleanups.push(t)},exports.onShareAppMessage=t=>{const e=We();if(e&&e[Ge.ON_SHARE_APP_MESSAGE]&&e.__isInjectedShareToOthersHook__){const s=Se(Ge.ON_SHARE_APP_MESSAGE);void 0===e[s]&&(e[s]=t)}},exports.onShareTimeline=t=>{const e=We();if(e&&e[Ge.ON_SHARE_TIMELINE]&&e.__isInjectedShareToTimelineHook__){const s=Se(Ge.ON_SHARE_TIMELINE);void 0===e[s]&&(e[s]=t)}},exports.onShow=os,exports.onTabItemTap=_s,exports.onThemeChange=is,exports.onUnhandledRejection=ns,exports.onUnload=cs,exports.onWatcherCleanup=_e,exports.provide=function(t,e){Ce[t]=e},exports.proxyRefs=function(t){return Bt(t)?t:new Proxy(t,ne)},exports.reactive=Vt,exports.readonly=Ft,exports.ref=qt,exports.shallowReactive=Gt,exports.shallowReadonly=function(t){return Qt(t,!0,pt,Ct,Wt)},exports.shallowRef=function(t){return te(t,!0)},exports.stop=function(t){t.effect.stop()},exports.toRaw=Zt,exports.toRef=function(t,e,s){return $t(t)?t:u(t)?new re(t):_(t)&&arguments.length>1?ce(t,e,s):qt(t)},exports.toRefs=function(t){const e=c(t)?new Array(t.length):{};for(const s in t)e[s]=ce(t,s);return e},exports.toValue=function(t){return u(t)?t():se(t)},exports.triggerRef=function(t){t.dep.trigger()},exports.unref=se,exports.watch=He,exports.watchEffect=function(t,e){return Ue(t,null,e)},exports.watchPostEffect=function(t,e){return Ue(t,null,{flush:"post"})},exports.watchSyncEffect=function(t,e){return Ue(t,null,{flush:"sync"})};
8
+ /*! #__NO_SIDE_EFFECTS__ */function t(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return t=>t in e}const e={},s=()=>{},n=Object.assign,i=Object.prototype.hasOwnProperty,o=(t,e)=>i.call(t,e),r=Array.isArray,c=t=>"[object Map]"===_(t),a=t=>"function"==typeof t,l=t=>"symbol"==typeof t,u=t=>null!==t&&"object"==typeof t,h=Object.prototype.toString,_=t=>h.call(t),f=t=>"string"==typeof t&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,p=(t,e)=>!Object.is(t,e);let d,E;class O{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=d,!t&&d&&(this.index=(d.scopes||(d.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].pause();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){let t,e;if(this._isPaused=!1,this.scopes)for(t=0,e=this.scopes.length;t<e;t++)this.scopes[t].resume();for(t=0,e=this.effects.length;t<e;t++)this.effects[t].resume()}}run(t){if(this._active){const e=d;try{return d=this,t()}finally{d=e}}}on(){d=this}off(){d=this.parent}stop(t){if(this._active){let e,s;for(e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}function v(){return d}const g=new WeakSet;class S{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,d&&d.active&&d.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,g.has(this)&&(g.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||R(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,C(this),b(this);const t=E,e=P;E=this,P=!0;try{return this.fn()}finally{D(this),E=t,P=e,this.flags&=-3}}stop(){if(1&this.flags){for(let t=this.deps;t;t=t.nextDep)L(t);this.deps=this.depsTail=void 0,C(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?g.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){y(this)&&this.run()}get dirty(){return y(this)}}let N,A=0;function R(t){t.flags|=8,t.next=N,N=t}function T(){A++}function m(){if(--A>0)return;let t;for(;N;){let e=N;for(N=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,1&e.flags)try{e.trigger()}catch(e){t||(t=e)}e=s}}if(t)throw t}function b(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function D(t){let e,s=t.depsTail,n=s;for(;n;){const t=n.prevDep;-1===n.version?(n===s&&(s=t),L(n),I(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=t}t.deps=e,t.depsTail=s}function y(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(x(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function x(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===k)return;t.globalVersion=k;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!y(t))return void(t.flags&=-3);const s=E,n=P;E=t,P=!0;try{b(t);const s=t.fn(t._value);(0===e.version||p(s,t._value))&&(t._value=s,e.version++)}catch(t){throw e.version++,t}finally{E=s,P=n,D(t),t.flags&=-3}}function L(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n),!s.subs)if(s.computed){s.computed.flags&=-5;for(let t=s.computed.deps;t;t=t.nextDep)L(t,!0)}else s.map&&!e&&(s.map.delete(s.key),s.map.size||V.delete(s.target))}function I(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let P=!0;const w=[];function H(){w.push(P),P=!1}function U(){const t=w.pop();P=void 0===t||t}function C(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=E;E=void 0;try{e()}finally{E=t}}}let k=0;class M{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class j{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(t){if(!E||!P||E===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==E)e=this.activeLink=new M(E,this),E.deps?(e.prevDep=E.depsTail,E.depsTail.nextDep=e,E.depsTail=e):E.deps=E.depsTail=e,4&E.flags&&W(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=E.depsTail,e.nextDep=void 0,E.depsTail.nextDep=e,E.depsTail=e,E.deps===e&&(E.deps=t)}return e}trigger(t){this.version++,k++,this.notify(t)}notify(t){T();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{m()}}}function W(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)W(t)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}const V=new WeakMap,G=Symbol(""),F=Symbol(""),Q=Symbol("");function B(t,e,s){if(P&&E){let e=V.get(t);e||V.set(t,e=new Map);let n=e.get(s);n||(e.set(s,n=new j),n.target=t,n.map=e,n.key=s),n.track()}}function Y(t,e,s,n,i,o){const a=V.get(t);if(!a)return void k++;const u=t=>{t&&t.trigger()};if(T(),"clear"===e)a.forEach(u);else{const i=r(t),o=i&&f(s);if(i&&"length"===s){const t=Number(n);a.forEach(((e,s)=>{("length"===s||s===Q||!l(s)&&s>=t)&&u(e)}))}else switch(void 0!==s&&u(a.get(s)),o&&u(a.get(Q)),e){case"add":i?o&&u(a.get("length")):(u(a.get(G)),c(t)&&u(a.get(F)));break;case"delete":i||(u(a.get(G)),c(t)&&u(a.get(F)));break;case"set":c(t)&&u(a.get(G))}}m()}function z(t){const e=zt(t);return e===t?e:(B(e,0,Q),Bt(t)?e:e.map(Xt))}function X(t){return B(t=zt(t),0,Q),t}const Z={__proto__:null,[Symbol.iterator](){return J(this,Symbol.iterator,Xt)},concat(...t){return z(this).concat(...t.map((t=>r(t)?z(t):t)))},entries(){return J(this,"entries",(t=>(t[1]=Xt(t[1]),t)))},every(t,e){return $(this,"every",t,e,void 0,arguments)},filter(t,e){return $(this,"filter",t,e,(t=>t.map(Xt)),arguments)},find(t,e){return $(this,"find",t,e,Xt,arguments)},findIndex(t,e){return $(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return $(this,"findLast",t,e,Xt,arguments)},findLastIndex(t,e){return $(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return $(this,"forEach",t,e,void 0,arguments)},includes(...t){return tt(this,"includes",t)},indexOf(...t){return tt(this,"indexOf",t)},join(t){return z(this).join(t)},lastIndexOf(...t){return tt(this,"lastIndexOf",t)},map(t,e){return $(this,"map",t,e,void 0,arguments)},pop(){return et(this,"pop")},push(...t){return et(this,"push",t)},reduce(t,...e){return q(this,"reduce",t,e)},reduceRight(t,...e){return q(this,"reduceRight",t,e)},shift(){return et(this,"shift")},some(t,e){return $(this,"some",t,e,void 0,arguments)},splice(...t){return et(this,"splice",t)},toReversed(){return z(this).toReversed()},toSorted(t){return z(this).toSorted(t)},toSpliced(...t){return z(this).toSpliced(...t)},unshift(...t){return et(this,"unshift",t)},values(){return J(this,"values",Xt)}};function J(t,e,s){const n=X(t),i=n[e]();return n===t||Bt(t)||(i._next=i.next,i.next=()=>{const t=i._next();return t.value&&(t.value=s(t.value)),t}),i}const K=Array.prototype;function $(t,e,s,n,i,o){const r=X(t),c=r!==t&&!Bt(t),a=r[e];if(a!==K[e]){const e=a.apply(t,o);return c?Xt(e):e}let l=s;r!==t&&(c?l=function(e,n){return s.call(this,Xt(e),n,t)}:s.length>2&&(l=function(e,n){return s.call(this,e,n,t)}));const u=a.call(r,l,n);return c&&i?i(u):u}function q(t,e,s,n){const i=X(t);let o=s;return i!==t&&(Bt(t)?s.length>3&&(o=function(e,n,i){return s.call(this,e,n,i,t)}):o=function(e,n,i){return s.call(this,e,Xt(n),i,t)}),i[e](o,...n)}function tt(t,e,s){const n=zt(t);B(n,0,Q);const i=n[e](...s);return-1!==i&&!1!==i||!Yt(s[0])?i:(s[0]=zt(s[0]),n[e](...s))}function et(t,e,s=[]){H(),T();const n=zt(t)[e].apply(t,s);return m(),U(),n}const st=t("__proto__,__v_isRef,__isVue"),nt=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(l));function it(t){l(t)||(t=String(t));const e=zt(this);return B(e,0,t),e.hasOwnProperty(t)}class ot{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,s){const n=this._isReadonly,i=this._isShallow;if("__v_isReactive"===e)return!n;if("__v_isReadonly"===e)return n;if("__v_isShallow"===e)return i;if("__v_raw"===e)return s===(n?i?kt:Ct:i?Ut:Ht).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=r(t);if(!n){let t;if(o&&(t=Z[e]))return t;if("hasOwnProperty"===e)return it}const c=Reflect.get(t,e,Jt(t)?t:s);return(l(e)?nt.has(e):st(e))?c:(n||B(t,0,e),i?c:Jt(c)?o&&f(e)?c:c.value:u(c)?n?Vt(c):jt(c):c)}}class rt extends ot{constructor(t=!1){super(!1,t)}set(t,e,s,n){let i=t[e];if(!this._isShallow){const e=Qt(i);if(Bt(s)||Qt(s)||(i=zt(i),s=zt(s)),!r(t)&&Jt(i)&&!Jt(s))return!e&&(i.value=s,!0)}const c=r(t)&&f(e)?Number(e)<t.length:o(t,e),a=Reflect.set(t,e,s,Jt(t)?t:n);return t===zt(n)&&(c?p(s,i)&&Y(t,"set",e,s):Y(t,"add",e,s)),a}deleteProperty(t,e){const s=o(t,e),n=Reflect.deleteProperty(t,e);return n&&s&&Y(t,"delete",e,void 0),n}has(t,e){const s=Reflect.has(t,e);return l(e)&&nt.has(e)||B(t,0,e),s}ownKeys(t){return B(t,0,r(t)?"length":G),Reflect.ownKeys(t)}}class ct extends ot{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const at=new rt,lt=new ct,ut=new rt(!0),ht=new ct(!0),_t=t=>t,ft=t=>Reflect.getPrototypeOf(t);function pt(t,e,s=!1,n=!1){const i=zt(t=t.__v_raw),o=zt(e);s||(p(e,o)&&B(i,0,e),B(i,0,o));const{has:r}=ft(i),c=n?_t:s?Zt:Xt;return r.call(i,e)?c(t.get(e)):r.call(i,o)?c(t.get(o)):void(t!==i&&t.get(e))}function dt(t,e=!1){const s=this.__v_raw,n=zt(s),i=zt(t);return e||(p(t,i)&&B(n,0,t),B(n,0,i)),t===i?s.has(t):s.has(t)||s.has(i)}function Et(t,e=!1){return t=t.__v_raw,!e&&B(zt(t),0,G),Reflect.get(t,"size",t)}function Ot(t,e=!1){e||Bt(t)||Qt(t)||(t=zt(t));const s=zt(this);return ft(s).has.call(s,t)||(s.add(t),Y(s,"add",t,t)),this}function vt(t,e,s=!1){s||Bt(e)||Qt(e)||(e=zt(e));const n=zt(this),{has:i,get:o}=ft(n);let r=i.call(n,t);r||(t=zt(t),r=i.call(n,t));const c=o.call(n,t);return n.set(t,e),r?p(e,c)&&Y(n,"set",t,e):Y(n,"add",t,e),this}function gt(t){const e=zt(this),{has:s,get:n}=ft(e);let i=s.call(e,t);i||(t=zt(t),i=s.call(e,t)),n&&n.call(e,t);const o=e.delete(t);return i&&Y(e,"delete",t,void 0),o}function St(){const t=zt(this),e=0!==t.size,s=t.clear();return e&&Y(t,"clear",void 0,void 0),s}function Nt(t,e){return function(s,n){const i=this,o=i.__v_raw,r=zt(o),c=e?_t:t?Zt:Xt;return!t&&B(r,0,G),o.forEach(((t,e)=>s.call(n,c(t),c(e),i)))}}function At(t,e,s){return function(...n){const i=this.__v_raw,o=zt(i),r=c(o),a="entries"===t||t===Symbol.iterator&&r,l="keys"===t&&r,u=i[t](...n),h=s?_t:e?Zt:Xt;return!e&&B(o,0,l?F:G),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:a?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function Rt(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function Tt(){const t={get(t){return pt(this,t)},get size(){return Et(this)},has:dt,add:Ot,set:vt,delete:gt,clear:St,forEach:Nt(!1,!1)},e={get(t){return pt(this,t,!1,!0)},get size(){return Et(this)},has:dt,add(t){return Ot.call(this,t,!0)},set(t,e){return vt.call(this,t,e,!0)},delete:gt,clear:St,forEach:Nt(!1,!0)},s={get(t){return pt(this,t,!0)},get size(){return Et(this,!0)},has(t){return dt.call(this,t,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Nt(!0,!1)},n={get(t){return pt(this,t,!0,!0)},get size(){return Et(this,!0)},has(t){return dt.call(this,t,!0)},add:Rt("add"),set:Rt("set"),delete:Rt("delete"),clear:Rt("clear"),forEach:Nt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{t[i]=At(i,!1,!1),s[i]=At(i,!0,!1),e[i]=At(i,!1,!0),n[i]=At(i,!0,!0)})),[t,s,e,n]}const[mt,bt,Dt,yt]=Tt();function xt(t,e){const s=e?t?yt:Dt:t?bt:mt;return(e,n,i)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(o(s,n)&&n in e?s:e,n,i)}const Lt={get:xt(!1,!1)},It={get:xt(!1,!0)},Pt={get:xt(!0,!1)},wt={get:xt(!0,!0)},Ht=new WeakMap,Ut=new WeakMap,Ct=new WeakMap,kt=new WeakMap;function Mt(t){return t.__v_skip||!Object.isExtensible(t)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((t=>_(t).slice(8,-1))(t))}function jt(t){return Qt(t)?t:Gt(t,!1,at,Lt,Ht)}function Wt(t){return Gt(t,!1,ut,It,Ut)}function Vt(t){return Gt(t,!0,lt,Pt,Ct)}function Gt(t,e,s,n,i){if(!u(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=i.get(t);if(o)return o;const r=Mt(t);if(0===r)return t;const c=new Proxy(t,2===r?n:s);return i.set(t,c),c}function Ft(t){return Qt(t)?Ft(t.__v_raw):!(!t||!t.__v_isReactive)}function Qt(t){return!(!t||!t.__v_isReadonly)}function Bt(t){return!(!t||!t.__v_isShallow)}function Yt(t){return!!t&&!!t.__v_raw}function zt(t){const e=t&&t.__v_raw;return e?zt(e):t}const Xt=t=>u(t)?jt(t):t,Zt=t=>u(t)?Vt(t):t;function Jt(t){return!!t&&!0===t.__v_isRef}function Kt(t){return $t(t,!1)}function $t(t,e){return Jt(t)?t:new qt(t,e)}class qt{constructor(t,e){this.dep=new j,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:zt(t),this._value=e?t:Xt(t),this.__v_isShallow=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,s=this.__v_isShallow||Bt(t)||Qt(t);t=s?t:zt(t),p(t,e)&&(this._rawValue=t,this._value=s?t:Xt(t),this.dep.trigger())}}function te(t){return Jt(t)?t.value:t}const ee={get:(t,e,s)=>"__v_raw"===e?t:te(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return Jt(i)&&!Jt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};class se{constructor(t){this.__v_isRef=!0,this._value=void 0;const e=this.dep=new j,{get:s,set:n}=t(e.track.bind(e),e.trigger.bind(e));this._get=s,this._set=n}get value(){return this._value=this._get()}set value(t){this._set(t)}}class ne{constructor(t,e,s){this._object=t,this._key=e,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return t=zt(this._object),e=this._key,null==(s=V.get(t))?void 0:s.get(e);var t,e,s}}class ie{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function oe(t,e,s){const n=t[e];return Jt(n)?n:new ne(t,e,s)}class re{constructor(t,e,s){this.fn=t,this.setter=e,this._value=void 0,this.dep=new j(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=k-1,this.effect=this,this.__v_isReadonly=!e,this.isSSR=s}notify(){if(this.flags|=16,!(8&this.flags)&&E!==this)return R(this),!0}get value(){const t=this.dep.track();return x(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}const ce={},ae=new WeakMap;let le;function ue(t,e=!1,s=le){if(s){let e=ae.get(s);e||ae.set(s,e=[]),e.push(t)}}function he(t,e=1/0,s){if(e<=0||!u(t)||t.__v_skip)return t;if((s=s||new Set).has(t))return t;if(s.add(t),e--,Jt(t))he(t.value,e,s);else if(r(t))for(let n=0;n<t.length;n++)he(t[n],e,s);else if("[object Set]"===_(t)||c(t))t.forEach((t=>{he(t,e,s)}));else if((t=>"[object Object]"===_(t))(t)){for(const n in t)he(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&he(t[n],e,s)}return t}const _e={},{isArray:fe}=Array,pe=Object.assign;function de(t,e){const s={};return Object.keys(t).forEach((n=>{e.includes(n)||(s[n]=t[n])})),s}function Ee(t){return Object.prototype.toString.call(t).slice(8,-1)}function Oe(t){return"function"==typeof t}function ve(t){return`__${t}__`}var ge;!function(t){t[t.QUEUED=1]="QUEUED",t[t.ALLOW_RECURSE=4]="ALLOW_RECURSE"}(ge||(ge={}));let Se=!1,Ne=!1;const Ae=[];let Re=0;const Te=[];let me=null,be=0;const De=Promise.resolve();let ye=null;function xe(t){t.flags&ge.QUEUED||(Ae.push(t),t.flags|=ge.QUEUED,Se||Ne||(Ne=!0,ye=De.then(Ie)))}function Le(){if(Te.length>0){for(me=[...new Set(Te)],Te.length=0,be=0;be<me.length;be++){const t=me[be];t.flags&ge.ALLOW_RECURSE&&(t.flags&=~ge.QUEUED),t(),t.flags&=~ge.QUEUED}me=null,be=0}}function Ie(t){Ne=!1,Se=!0;try{for(Re=0;Re<Ae.length;Re++){const t=Ae[Re];0,t.flags&ge.ALLOW_RECURSE&&(t.flags&=~ge.QUEUED),t(),t.flags&ge.ALLOW_RECURSE||(t.flags&=~ge.QUEUED)}}finally{for(;Re<Ae.length;Re++){Ae[Re].flags&=~ge.QUEUED}Re=0,Ae.length=0,Se=!1,ye=null}}function Pe(t,e,s){return we(t,e,s)}function we(t,n,i=_e){const{flush:o}=i,c=pe({},i);"post"===o?c.scheduler=t=>{!function(t){t.flags&ge.QUEUED||(Te.push(t),t.flags|=ge.QUEUED)}(t)}:"sync"!==o&&(c.scheduler=(t,e)=>{e?t():xe(t)}),c.augmentJob=t=>{n&&(t.flags|=ge.ALLOW_RECURSE)};const l=function(t,n,i=e){const{immediate:o,deep:c,once:l,scheduler:u,augmentJob:h,call:_}=i,f=t=>c?t:Bt(t)||!1===c||0===c?he(t,1):he(t);let d,E,O,g,N=!1,A=!1;if(Jt(t)?(E=()=>t.value,N=Bt(t)):Ft(t)?(E=()=>f(t),N=!0):r(t)?(A=!0,N=t.some((t=>Ft(t)||Bt(t))),E=()=>t.map((t=>Jt(t)?t.value:Ft(t)?f(t):a(t)?_?_(t,2):t():void 0))):E=a(t)?n?_?()=>_(t,2):t:()=>{if(O){H();try{O()}finally{U()}}const e=le;le=d;try{return _?_(t,3,[g]):t(g)}finally{le=e}}:s,n&&c){const t=E,e=!0===c?1/0:c;E=()=>he(t(),e)}const R=v(),T=()=>{d.stop(),R&&((t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)})(R.effects,d)};if(l&&n){const t=n;n=(...e)=>{t(...e),T()}}let m=A?new Array(t.length).fill(ce):ce;const b=t=>{if(1&d.flags&&(d.dirty||t))if(n){const t=d.run();if(c||N||(A?t.some(((t,e)=>p(t,m[e]))):p(t,m))){O&&O();const e=le;le=d;try{const e=[t,m===ce?void 0:A&&m[0]===ce?[]:m,g];_?_(n,3,e):n(...e),m=t}finally{le=e}}}else d.run()};return h&&h(b),d=new S(E),d.scheduler=u?()=>u(b,!1):b,g=t=>ue(t,!1,d),O=d.onStop=()=>{const t=ae.get(d);if(t){if(_)_(t,4);else for(const e of t)e();ae.delete(d)}},n?o?b(!0):m=d.run():u?u(b.bind(null,!0),!0):d.run(),T.pause=d.pause.bind(d),T.resume=d.resume.bind(d),T.stop=T,T}(t,n,c);return l}const He=Object.create(null);let Ue=null,Ce=null,ke=null;function Me(){return Ce||ke}var je,We,Ve;function Ge(t,e){const s=t[e];return function(...t){const n=this[ve(e)];n&&n.forEach((e=>e(...t))),void 0!==s&&s.call(this,...t)}}function Fe(t){if(function(t){const e=new Set(["undefined","boolean","number","string"]);return null===t||e.has(typeof t)}(t)||Oe(t))return t;if(Jt(t))return Fe(t.value);if(Yt(t))return Fe(zt(t));if(fe(t))return t.map((t=>Fe(t)));if(function(t){return"Object"===Ee(t)}(t)){const e={};return Object.keys(t).forEach((s=>{e[s]=Fe(t[s])})),e}throw new TypeError(`${Ee(t)} value is not supported`)}function Qe(t,e){var s;null!==(s=e)&&"object"==typeof s&&Pe(Jt(e)?e:()=>e,(()=>{this.setData({[t]:Fe(e)},Le)}),{deep:!0})}function Be(t,e){const s=t[e];return function(...t){const n=this[ve(e)];n&&n.forEach((e=>e(...t))),void 0!==s&&s.call(this,...t)}}!function(t){t.ON_LAUNCH="onLaunch",t.ON_SHOW="onShow",t.ON_HIDE="onHide",t.ON_ERROR="onError",t.ON_PAGE_NOT_FOUND="onPageNotFound",t.ON_UNHANDLED_REJECTION="onUnhandledRejection",t.ON_THEME_CHANGE="onThemeChange"}(je||(je={})),function(t){t.ON_LOAD="onLoad",t.ON_SHOW="onShow",t.ON_READY="onReady",t.ON_HIDE="onHide",t.ON_UNLOAD="onUnload",t.ON_ROUTE_DONE="onRouteDone",t.ON_PULL_DOWN_REFRESH="onPullDownRefresh",t.ON_REACH_BOTTOM="onReachBottom",t.ON_PAGE_SCROLL="onPageScroll",t.ON_SHARE_APP_MESSAGE="onShareAppMessage",t.ON_SHARE_TIMELINE="onShareTimeline",t.ON_ADD_TO_FAVORITES="onAddToFavorites",t.ON_RESIZE="onResize",t.ON_TAB_ITEM_TAP="onTabItemTap",t.ON_SAVE_EXIT_STATE="onSaveExitState"}(We||(We={})),function(t){t.ATTACHED="attached",t.READY="ready",t.MOVED="moved",t.DETACHED="detached",t.ERROR="error"}(Ve||(Ve={}));const Ye={[We.ON_SHOW]:"show",[We.ON_HIDE]:"hide",[We.ON_RESIZE]:"resize",[We.ON_ROUTE_DONE]:"routeDone",[Ve.READY]:We.ON_READY};function ze(t,e){return Je(e,t.lifetimes[e]||t[e])}function Xe(t,e){return Je(e,t.methods[e])}function Ze(t,e){return Je(e,t.pageLifetimes[Ye[e]])}function Je(t,e){const s=ve(t);return function(...t){const n=this[s];n&&n.forEach((e=>e(...t))),void 0!==e&&e.call(this,...t)}}const Ke=ds(je.ON_SHOW),$e=ds(je.ON_HIDE),qe=ds(je.ON_ERROR),ts=ds(je.ON_PAGE_NOT_FOUND),es=ds(je.ON_UNHANDLED_REJECTION),ss=ds(je.ON_THEME_CHANGE),ns=Es(We.ON_SHOW),is=Es(We.ON_HIDE),os=Es(We.ON_UNLOAD),rs=Es(We.ON_ROUTE_DONE),cs=Es(We.ON_PULL_DOWN_REFRESH),as=Es(We.ON_REACH_BOTTOM),ls=Es(We.ON_RESIZE),us=Es(We.ON_TAB_ITEM_TAP),hs=Os(We.ON_LOAD),_s=Os(Ve.MOVED),fs=Os(Ve.DETACHED),ps=Os(Ve.ERROR);function ds(t){return e=>{Ue&&vs(Ue,t,e)}}function Es(t){return e=>{const s=Me();s&&vs(s,t,e)}}function Os(t){return e=>{ke&&vs(ke,t,e)}}function vs(t,e,s){const n=ve(e);void 0===t[n]&&(t[n]=[]),t[n].push(s)}exports.EffectScope=O,exports.ReactiveEffect=S,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(t,e,s=!1){let n,i;return a(t)?n=t:(n=t.get,i=t.set),new re(n,i,s)},exports.createApp=function(t){let e,s;if(Oe(t))e=t,s={};else{if(void 0===t.setup)return void App(t);e=t.setup,s=de(t,["setup"])}const n=s[je.ON_LAUNCH];s[je.ON_LAUNCH]=function(t){Ue=this;const s=e(t);void 0!==s&&Object.keys(s).forEach((t=>{this[t]=s[t]})),Ue=null,void 0!==n&&n.call(this,t)},s[je.ON_SHOW]=Ge(s,je.ON_SHOW),s[je.ON_HIDE]=Ge(s,je.ON_HIDE),s[je.ON_ERROR]=Ge(s,je.ON_ERROR),s[je.ON_PAGE_NOT_FOUND]=Ge(s,je.ON_PAGE_NOT_FOUND),s[je.ON_UNHANDLED_REJECTION]=Ge(s,je.ON_UNHANDLED_REJECTION),s[je.ON_THEME_CHANGE]=Ge(s,je.ON_THEME_CHANGE),App(s)},exports.customRef=function(t){return new se(t)},exports.defineComponent=function(t,e){let s,n;e=pe({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e);let i=null;if(Oe(t))s=t,n={};else{if(void 0===t.setup)return Component(t);s=t.setup,n=de(t,["setup"]),n.properties&&(i=Object.keys(n.properties))}void 0===n.lifetimes&&(n.lifetimes={});const o=n.lifetimes[Ve.ATTACHED]||n[Ve.ATTACHED];n.lifetimes[Ve.ATTACHED]=function(){var t;this.__scope__=new O,ke=t=this,t.__scope__.on();const e={};i&&i.forEach((t=>{e[t]=this.data[t]})),this.__props__=Wt(e);const n={is:this.is,id:this.id,dataset:this.dataset,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,triggerEvent:this.triggerEvent.bind(this),createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),selectOwnerComponent:this.selectOwnerComponent.bind(this),getRelationNodes:this.getRelationNodes.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},r=s(this.__props__,n);if(void 0!==r){let t;Object.keys(r).forEach((e=>{const s=r[e];Oe(s)?this[e]=s:(t=t||{},t[e]=Fe(s),Qe.call(this,e,s))})),void 0!==t&&this.setData(t,Le)}ke&&ke.__scope__.off(),ke=null,void 0!==o&&o.call(this)};const r=ze(n,Ve.DETACHED);return n.lifetimes[Ve.DETACHED]=function(){r.call(this),this.__scope__.stop()},n.lifetimes[Ve.READY]=Je(Ye[Ve.READY],n.lifetimes[Ve.READY]||n[Ve.READY]),n.lifetimes[Ve.MOVED]=ze(n,Ve.MOVED),n.lifetimes[Ve.ERROR]=ze(n,Ve.ERROR),void 0===n.methods&&(n.methods={}),(n.methods[We.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n.methods[We.ON_PAGE_SCROLL]=Xe(n,We.ON_PAGE_SCROLL),n.methods.__listenPageScroll__=()=>!0),void 0===n.methods[We.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n.methods[We.ON_SHARE_APP_MESSAGE]=function(t){const e=this[ve(We.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===n.methods[We.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n.methods[We.ON_SHARE_TIMELINE]=function(){const t=this[ve(We.ON_SHARE_TIMELINE)];return t?t():{}},n.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===n.methods[We.ON_ADD_TO_FAVORITES]&&(n.methods[We.ON_ADD_TO_FAVORITES]=function(t){const e=this[ve(We.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.methods.__isInjectedFavoritesHook__=()=>!0),void 0===n.methods[We.ON_SAVE_EXIT_STATE]&&(n.methods[We.ON_SAVE_EXIT_STATE]=function(){const t=this[ve(We.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.methods.__isInjectedExitStateHook__=()=>!0),n.methods[We.ON_LOAD]=Xe(n,We.ON_LOAD),n.methods[We.ON_PULL_DOWN_REFRESH]=Xe(n,We.ON_PULL_DOWN_REFRESH),n.methods[We.ON_REACH_BOTTOM]=Xe(n,We.ON_REACH_BOTTOM),n.methods[We.ON_TAB_ITEM_TAP]=Xe(n,We.ON_TAB_ITEM_TAP),void 0===n.pageLifetimes&&(n.pageLifetimes={}),n.pageLifetimes[Ye[We.ON_SHOW]]=Ze(n,We.ON_SHOW),n.pageLifetimes[Ye[We.ON_HIDE]]=Ze(n,We.ON_HIDE),n.pageLifetimes[Ye[We.ON_RESIZE]]=Ze(n,We.ON_RESIZE),n.pageLifetimes[Ye[We.ON_ROUTE_DONE]]=Ze(n,We.ON_ROUTE_DONE),i&&(void 0===n.observers&&(n.observers={}),i.forEach((t=>{const e=n.observers[t];n.observers[t]=function(s){this.__props__&&(this.__props__[t]=s),void 0!==e&&e.call(this,s)}}))),Component(n)},exports.definePage=function(t,e){let s,n;if(e=pe({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},e),Oe(t))s=t,n={};else{if(void 0===t.setup)return void Page(t);s=t.setup,n=de(t,["setup"])}const i=n[We.ON_LOAD];n[We.ON_LOAD]=function(t){var e;this.__scope__=new O,Ce=e=this,e.__scope__.on();const n={is:this.is,route:this.route,options:this.options,exitState:this.exitState,router:this.router,pageRouter:this.pageRouter,renderer:this.renderer,createSelectorQuery:this.createSelectorQuery.bind(this),createIntersectionObserver:this.createIntersectionObserver.bind(this),createMediaQueryObserver:this.createMediaQueryObserver.bind(this),selectComponent:this.selectComponent.bind(this),selectAllComponents:this.selectAllComponents.bind(this),getTabBar:this.getTabBar.bind(this),getPageId:this.getPageId.bind(this),animate:this.animate.bind(this),clearAnimation:this.clearAnimation.bind(this),getOpenerEventChannel:this.getOpenerEventChannel.bind(this),applyAnimatedStyle:this.applyAnimatedStyle.bind(this),clearAnimatedStyle:this.clearAnimatedStyle.bind(this),setUpdatePerformanceListener:this.setUpdatePerformanceListener.bind(this),getPassiveEvent:this.getPassiveEvent.bind(this),setPassiveEvent:this.setPassiveEvent.bind(this)},o=s(t,n);if(void 0!==o){let t;Object.keys(o).forEach((e=>{const s=o[e];Oe(s)?this[e]=s:(t=t||{},t[e]=Fe(s),Qe.call(this,e,s))})),void 0!==t&&this.setData(t,Le)}Ce&&Ce.__scope__.off(),Ce=null,void 0!==i&&i.call(this,t)};const o=Be(n,We.ON_UNLOAD);n[We.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(n[We.ON_PAGE_SCROLL]||e.listenPageScroll)&&(n[We.ON_PAGE_SCROLL]=Be(n,We.ON_PAGE_SCROLL),n.__listenPageScroll__=()=>!0),void 0===n[We.ON_SHARE_APP_MESSAGE]&&e.canShareToOthers&&(n[We.ON_SHARE_APP_MESSAGE]=function(t){const e=this[ve(We.ON_SHARE_APP_MESSAGE)];return e?e(t):{}},n.__isInjectedShareToOthersHook__=()=>!0),void 0===n[We.ON_SHARE_TIMELINE]&&e.canShareToTimeline&&(n[We.ON_SHARE_TIMELINE]=function(){const t=this[ve(We.ON_SHARE_TIMELINE)];return t?t():{}},n.__isInjectedShareToTimelineHook__=()=>!0),void 0===n[We.ON_ADD_TO_FAVORITES]&&(n[We.ON_ADD_TO_FAVORITES]=function(t){const e=this[ve(We.ON_ADD_TO_FAVORITES)];return e?e(t):{}},n.__isInjectedFavoritesHook__=()=>!0),void 0===n[We.ON_SAVE_EXIT_STATE]&&(n[We.ON_SAVE_EXIT_STATE]=function(){const t=this[ve(We.ON_SAVE_EXIT_STATE)];return t?t():{data:void 0}},n.__isInjectedExitStateHook__=()=>!0),n[We.ON_SHOW]=Be(n,We.ON_SHOW),n[We.ON_READY]=Be(n,We.ON_READY),n[We.ON_HIDE]=Be(n,We.ON_HIDE),n[We.ON_ROUTE_DONE]=Be(n,We.ON_ROUTE_DONE),n[We.ON_PULL_DOWN_REFRESH]=Be(n,We.ON_PULL_DOWN_REFRESH),n[We.ON_REACH_BOTTOM]=Be(n,We.ON_REACH_BOTTOM),n[We.ON_RESIZE]=Be(n,We.ON_RESIZE),n[We.ON_TAB_ITEM_TAP]=Be(n,We.ON_TAB_ITEM_TAP),Page(n)},exports.effect=function(t,e){t.effect instanceof S&&(t=t.effect.fn);const s=new S(t);e&&n(s,e);try{s.run()}catch(t){throw s.stop(),t}const i=s.run.bind(s);return i.effect=s,i},exports.effectScope=function(t){return new O(t)},exports.getCurrentScope=v,exports.getCurrentWatcher=function(){return le},exports.inject=function(t,e,s=!1){return t in He?He[t]:arguments.length>1?s&&Oe(e)?e():e:void 0},exports.isProxy=Yt,exports.isReactive=Ft,exports.isReadonly=Qt,exports.isRef=Jt,exports.isShallow=Bt,exports.markRaw=function(t){return!o(t,"__v_skip")&&Object.isExtensible(t)&&((t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})})(t,"__v_skip",!0),t},exports.nextTick=function(t){const e=ye||De;return t?e.then(t):e},exports.onAddToFavorites=t=>{const e=Me();if(e&&e.__isInjectedFavoritesHook__){const s=ve(We.ON_ADD_TO_FAVORITES);void 0===e[s]&&(e[s]=t)}},exports.onAppError=qe,exports.onAppHide=$e,exports.onAppShow=Ke,exports.onDetach=fs,exports.onError=ps,exports.onHide=is,exports.onLoad=hs,exports.onMove=_s,exports.onPageNotFound=ts,exports.onPageScroll=t=>{const e=Me();e&&e.__listenPageScroll__&&vs(e,We.ON_PAGE_SCROLL,t)},exports.onPullDownRefresh=cs,exports.onReachBottom=as,exports.onReady=t=>{const e=Me();e&&vs(e,We.ON_READY,t)},exports.onResize=ls,exports.onRouteDone=rs,exports.onSaveExitState=t=>{const e=Me();if(e&&e.__isInjectedExitStateHook__){const s=ve(We.ON_SAVE_EXIT_STATE);void 0===e[s]&&(e[s]=t)}},exports.onScopeDispose=function(t,e=!1){d&&d.cleanups.push(t)},exports.onShareAppMessage=t=>{const e=Me();if(e&&e[We.ON_SHARE_APP_MESSAGE]&&e.__isInjectedShareToOthersHook__){const s=ve(We.ON_SHARE_APP_MESSAGE);void 0===e[s]&&(e[s]=t)}},exports.onShareTimeline=t=>{const e=Me();if(e&&e[We.ON_SHARE_TIMELINE]&&e.__isInjectedShareToTimelineHook__){const s=ve(We.ON_SHARE_TIMELINE);void 0===e[s]&&(e[s]=t)}},exports.onShow=ns,exports.onTabItemTap=us,exports.onThemeChange=ss,exports.onUnhandledRejection=es,exports.onUnload=os,exports.onWatcherCleanup=ue,exports.provide=function(t,e){He[t]=e},exports.proxyRefs=function(t){return Ft(t)?t:new Proxy(t,ee)},exports.reactive=jt,exports.readonly=Vt,exports.ref=Kt,exports.shallowReactive=Wt,exports.shallowReadonly=function(t){return Gt(t,!0,ht,wt,kt)},exports.shallowRef=function(t){return $t(t,!0)},exports.stop=function(t){t.effect.stop()},exports.toRaw=zt,exports.toRef=function(t,e,s){return Jt(t)?t:a(t)?new ie(t):u(t)&&arguments.length>1?oe(t,e,s):Kt(t)},exports.toRefs=function(t){const e=r(t)?new Array(t.length):{};for(const s in t)e[s]=oe(t,s);return e},exports.toValue=function(t){return a(t)?t():te(t)},exports.triggerRef=function(t){t.dep&&t.dep.trigger()},exports.unref=te,exports.watch=Pe,exports.watchEffect=function(t,e){return we(t,null,e)},exports.watchPostEffect=function(t,e){return we(t,null,{flush:"post"})},exports.watchSyncEffect=function(t,e){return we(t,null,{flush:"sync"})};
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-mini v1.1.0
2
+ * vue-mini v1.1.1
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
@@ -126,7 +126,9 @@ function flushJobs(seen) {
126
126
  job.flags &= ~SchedulerJobFlags.QUEUED;
127
127
  }
128
128
  job();
129
- job.flags &= ~SchedulerJobFlags.QUEUED;
129
+ if (!(job.flags & SchedulerJobFlags.ALLOW_RECURSE)) {
130
+ job.flags &= ~SchedulerJobFlags.QUEUED;
131
+ }
130
132
  }
131
133
  }
132
134
  finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-mini/core",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "基于 Vue 3 的小程序框架。简单,强大,高性能。 ",
5
5
  "main": "dist/vue-mini.cjs.js",
6
6
  "module": "dist/vue-mini.esm-bundler.js",
@@ -32,7 +32,7 @@
32
32
  "小程序"
33
33
  ],
34
34
  "dependencies": {
35
- "@vue/reactivity": "3.5.5",
35
+ "@vue/reactivity": "3.5.7",
36
36
  "miniprogram-api-typings": "^3.12.3"
37
37
  }
38
38
  }