@vue-mini/core 1.0.0-rc.13 → 1.0.0-rc.15

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.0.0-rc.13
2
+ * vue-mini v1.0.0-rc.15
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.4.30
10
+ * @vue/shared v3.4.31
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
13
  **/
@@ -55,7 +55,7 @@ const def = (obj, key, value, writable = false) => {
55
55
  };
56
56
 
57
57
  /**
58
- * @vue/reactivity v3.4.30
58
+ * @vue/reactivity v3.4.31
59
59
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
60
60
  * @license MIT
61
61
  **/
@@ -175,7 +175,7 @@ class ReactiveEffect {
175
175
  /**
176
176
  * @internal
177
177
  */
178
- this._dirtyLevel = 5;
178
+ this._dirtyLevel = 4;
179
179
  /**
180
180
  * @internal
181
181
  */
@@ -195,20 +195,14 @@ class ReactiveEffect {
195
195
  recordEffectScope(this, scope);
196
196
  }
197
197
  get dirty() {
198
- if (this._dirtyLevel === 2)
199
- return false;
200
- if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
198
+ if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
201
199
  this._dirtyLevel = 1;
202
200
  pauseTracking();
203
201
  for (let i = 0; i < this._depsLength; i++) {
204
202
  const dep = this.deps[i];
205
203
  if (dep.computed) {
206
- if (dep.computed.effect._dirtyLevel === 2) {
207
- resetTracking();
208
- return true;
209
- }
210
204
  triggerComputed(dep.computed);
211
- if (this._dirtyLevel >= 5) {
205
+ if (this._dirtyLevel >= 4) {
212
206
  break;
213
207
  }
214
208
  }
@@ -218,10 +212,10 @@ class ReactiveEffect {
218
212
  }
219
213
  resetTracking();
220
214
  }
221
- return this._dirtyLevel >= 5;
215
+ return this._dirtyLevel >= 4;
222
216
  }
223
217
  set dirty(v) {
224
- this._dirtyLevel = v ? 5 : 0;
218
+ this._dirtyLevel = v ? 4 : 0;
225
219
  }
226
220
  run() {
227
221
  this._dirtyLevel = 0;
@@ -343,17 +337,8 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
343
337
  pauseScheduling();
344
338
  for (const effect2 of dep.keys()) {
345
339
  let tracking;
346
- if (!dep.computed && effect2.computed) {
347
- if (effect2._runnings > 0 && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
348
- effect2._dirtyLevel = 2;
349
- continue;
350
- }
351
- }
352
340
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
353
341
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
354
- if (effect2.computed && effect2._dirtyLevel === 2) {
355
- effect2._shouldSchedule = true;
356
- }
357
342
  effect2._dirtyLevel = dirtyLevel;
358
343
  }
359
344
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
@@ -361,7 +346,7 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
361
346
  (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend$1({ effect: effect2 }, debuggerEventExtraInfo));
362
347
  }
363
348
  effect2.trigger();
364
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
349
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
365
350
  effect2._shouldSchedule = false;
366
351
  if (effect2.scheduler) {
367
352
  queueEffectSchedulers.push(effect2.scheduler);
@@ -453,7 +438,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
453
438
  if (dep) {
454
439
  triggerEffects(
455
440
  dep,
456
- 5,
441
+ 4,
457
442
  {
458
443
  target,
459
444
  type,
@@ -1056,7 +1041,7 @@ class ComputedRefImpl {
1056
1041
  () => getter(this._value),
1057
1042
  () => triggerRefValue(
1058
1043
  this,
1059
- this.effect._dirtyLevel === 3 ? 3 : 4
1044
+ this.effect._dirtyLevel === 2 ? 2 : 3
1060
1045
  )
1061
1046
  );
1062
1047
  this.effect.computed = this;
@@ -1065,11 +1050,8 @@ class ComputedRefImpl {
1065
1050
  }
1066
1051
  get value() {
1067
1052
  const self = toRaw(this);
1068
- const lastDirtyLevel = self.effect._dirtyLevel;
1069
1053
  if ((!self._cacheable || self.effect.dirty) && hasChanged$1(self._value, self._value = self.effect.run())) {
1070
- if (lastDirtyLevel !== 3) {
1071
- triggerRefValue(self, 5);
1072
- }
1054
+ triggerRefValue(self, 4);
1073
1055
  }
1074
1056
  trackRefValue(self);
1075
1057
  if (self.effect._dirtyLevel >= 2) {
@@ -1078,7 +1060,7 @@ class ComputedRefImpl {
1078
1060
 
1079
1061
  getter: `, this.getter);
1080
1062
  }
1081
- triggerRefValue(self, 3);
1063
+ triggerRefValue(self, 2);
1082
1064
  }
1083
1065
  return self._value;
1084
1066
  }
@@ -1133,7 +1115,7 @@ function trackRefValue(ref2) {
1133
1115
  );
1134
1116
  }
1135
1117
  }
1136
- function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1118
+ function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1137
1119
  ref2 = toRaw(ref2);
1138
1120
  const dep = ref2.dep;
1139
1121
  if (dep) {
@@ -1184,12 +1166,12 @@ class RefImpl {
1184
1166
  const oldVal = this._rawValue;
1185
1167
  this._rawValue = newVal;
1186
1168
  this._value = useDirectValue ? newVal : toReactive(newVal);
1187
- triggerRefValue(this, 5, newVal, oldVal);
1169
+ triggerRefValue(this, 4, newVal, oldVal);
1188
1170
  }
1189
1171
  }
1190
1172
  }
1191
1173
  function triggerRef(ref2) {
1192
- triggerRefValue(ref2, 5, ref2.value );
1174
+ triggerRefValue(ref2, 4, ref2.value );
1193
1175
  }
1194
1176
  function unref(ref2) {
1195
1177
  return isRef(ref2) ? ref2.value : ref2;
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * vue-mini v1.0.0-rc.13
2
+ * vue-mini v1.0.0-rc.15
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 e(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const t=()=>{},n=Object.assign,s=Object.prototype.hasOwnProperty,i=(e,t)=>s.call(e,t),o=Array.isArray,r=e=>"[object Map]"===h(e),c=e=>"function"==typeof e,_=e=>"symbol"==typeof e,a=e=>null!==e&&"object"==typeof e,l=Object.prototype.toString,h=e=>l.call(e),u=e=>h(e).slice(8,-1),f=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,d=(e,t)=>!Object.is(e,t);let p,O;class E{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=p,!e&&p&&(this.index=(p.scopes||(p.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=p;try{return p=this,e()}finally{p=t}}}on(){p=this}off(){p=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function v(e,t=p){t&&t.active&&t.effects.push(e)}function S(){return p}class N{constructor(e,t,n,s){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,v(this,s)}get dirty(){if(2===this._dirtyLevel)return!1;if(3===this._dirtyLevel||4===this._dirtyLevel){this._dirtyLevel=1,I();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed){if(2===t.computed.effect._dirtyLevel)return D(),!0;if(A(t.computed),this._dirtyLevel>=5)break}}1===this._dirtyLevel&&(this._dirtyLevel=0),D()}return this._dirtyLevel>=5}set dirty(e){this._dirtyLevel=e?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=O;try{return y=!0,O=this,this._runnings++,R(this),this.fn()}finally{g(this),this._runnings--,O=t,y=e}}stop(){this.active&&(R(this),g(this),this.onStop&&this.onStop(),this.active=!1)}}function A(e){return e.value}function R(e){e._trackId++,e._depsLength=0}function g(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)T(e.deps[t],e);e.deps.length=e._depsLength}}function T(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let y=!0,m=0;const b=[];function I(){b.push(y),y=!1}function D(){const e=b.pop();y=void 0===e||e}function L(){m++}function P(){for(m--;!m&&x.length;)x.shift()()}function H(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&T(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const x=[];function w(e,t,n){L();for(const n of e.keys()){let s;!e.computed&&n.computed&&n._runnings>0&&(null!=s?s:s=e.get(n)===n._trackId)?n._dirtyLevel=2:(n._dirtyLevel<t&&(null!=s?s:s=e.get(n)===n._trackId)&&(n._shouldSchedule||(n._shouldSchedule=0===n._dirtyLevel),n.computed&&2===n._dirtyLevel&&(n._shouldSchedule=!0),n._dirtyLevel=t),n._shouldSchedule&&(null!=s?s:s=e.get(n)===n._trackId)&&(n.trigger(),n._runnings&&!n.allowRecurse||3===n._dirtyLevel||(n._shouldSchedule=!1,n.scheduler&&x.push(n.scheduler))))}P()}const M=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,k=Symbol(""),j=Symbol("");function U(e,t,n){if(y&&O){let t=C.get(e);t||C.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=M((()=>t.delete(n)))),H(O,s)}}function V(e,t,n,s,i,c){const a=C.get(e);if(!a)return;let l=[];if("clear"===t)l=[...a.values()];else if("length"===n&&o(e)){const e=Number(s);a.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(a.get(n)),t){case"add":o(e)?f(n)&&l.push(a.get("length")):(l.push(a.get(k)),r(e)&&l.push(a.get(j)));break;case"delete":o(e)||(l.push(a.get(k)),r(e)&&l.push(a.get(j)));break;case"set":r(e)&&l.push(a.get(k))}L();for(const e of l)e&&w(e,5);P()}const F=e("__proto__,__v_isRef,__isVue"),G=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),W=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=xe(this);for(let e=0,t=this.length;e<t;e++)U(n,0,e+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(xe)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){I(),L();const n=xe(this)[t].apply(this,e);return P(),D(),n}})),e}function Y(e){_(e)||(e=String(e));const t=xe(this);return U(t,0,e),t.hasOwnProperty(e)}class z{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(s?r?Te:ge:r?Re:Ae).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=o(e);if(!s){if(c&&i(W,t))return Reflect.get(W,t,n);if("hasOwnProperty"===t)return Y}const l=Reflect.get(e,t,n);return(_(t)?G.has(t):F(t))?l:(s||U(e,0,t),r?l:Ue(l)?c&&f(t)?l:l.value:a(l)?s?be(l):ye(l):l)}}class Q extends z{constructor(e=!1){super(!1,e)}set(e,t,n,s){let r=e[t];if(!this._isShallow){const t=Le(r);if(Pe(n)||Le(n)||(r=xe(r),n=xe(n)),!o(e)&&Ue(r)&&!Ue(n))return!t&&(r.value=n,!0)}const c=o(e)&&f(t)?Number(t)<e.length:i(e,t),_=Reflect.set(e,t,n,s);return e===xe(s)&&(c?d(n,r)&&V(e,"set",t,n):V(e,"add",t,n)),_}deleteProperty(e,t){const n=i(e,t),s=Reflect.deleteProperty(e,t);return s&&n&&V(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return _(t)&&G.has(t)||U(e,0,t),n}ownKeys(e){return U(e,0,o(e)?"length":k),Reflect.ownKeys(e)}}class X extends z{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Z=new Q,J=new X,K=new Q(!0),$=new X(!0),q=e=>e,ee=e=>Reflect.getPrototypeOf(e);function te(e,t,n=!1,s=!1){const i=xe(e=e.__v_raw),o=xe(t);n||(d(t,o)&&U(i,0,t),U(i,0,o));const{has:r}=ee(i),c=s?q:n?Me:we;return r.call(i,t)?c(e.get(t)):r.call(i,o)?c(e.get(o)):void(e!==i&&e.get(t))}function ne(e,t=!1){const n=this.__v_raw,s=xe(n),i=xe(e);return t||(d(e,i)&&U(s,0,e),U(s,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function se(e,t=!1){return e=e.__v_raw,!t&&U(xe(e),0,k),Reflect.get(e,"size",e)}function ie(e){e=xe(e);const t=xe(this);return ee(t).has.call(t,e)||(t.add(e),V(t,"add",e,e)),this}function oe(e,t){t=xe(t);const n=xe(this),{has:s,get:i}=ee(n);let o=s.call(n,e);o||(e=xe(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?d(t,r)&&V(n,"set",e,t):V(n,"add",e,t),this}function re(e){const t=xe(this),{has:n,get:s}=ee(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&V(t,"delete",e,void 0),o}function ce(){const e=xe(this),t=0!==e.size,n=e.clear();return t&&V(e,"clear",void 0,void 0),n}function _e(e,t){return function(n,s){const i=this,o=i.__v_raw,r=xe(o),c=t?q:e?Me:we;return!e&&U(r,0,k),o.forEach(((e,t)=>n.call(s,c(e),c(t),i)))}}function ae(e,t,n){return function(...s){const i=this.__v_raw,o=xe(i),c=r(o),_="entries"===e||e===Symbol.iterator&&c,a="keys"===e&&c,l=i[e](...s),h=n?q:t?Me:we;return!t&&U(o,0,a?j:k),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:_?[h(e[0]),h(e[1])]:h(e),done:t}},[Symbol.iterator](){return this}}}}function le(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function he(){const e={get(e){return te(this,e)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!1)},t={get(e){return te(this,e,!1,!0)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!0)},n={get(e){return te(this,e,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear"),forEach:_e(!0,!1)},s={get(e){return te(this,e,!0,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:le("add"),set:le("set"),delete:le("delete"),clear:le("clear"),forEach:_e(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=ae(i,!1,!1),n[i]=ae(i,!0,!1),t[i]=ae(i,!1,!0),s[i]=ae(i,!0,!0)})),[e,n,t,s]}const[ue,fe,de,pe]=he();function Oe(e,t){const n=t?e?pe:de:e?fe:ue;return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(i(n,s)&&s in t?n:t,s,o)}const Ee={get:Oe(!1,!1)},ve={get:Oe(!1,!0)},Se={get:Oe(!0,!1)},Ne={get:Oe(!0,!0)},Ae=new WeakMap,Re=new WeakMap,ge=new WeakMap,Te=new WeakMap;function ye(e){return Le(e)?e:Ie(e,!1,Z,Ee,Ae)}function me(e){return Ie(e,!1,K,ve,Re)}function be(e){return Ie(e,!0,J,Se,ge)}function Ie(e,t,n,s,i){if(!a(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(u(c));var c;if(0===r)return e;const _=new Proxy(e,2===r?s:n);return i.set(e,_),_}function De(e){return Le(e)?De(e.__v_raw):!(!e||!e.__v_isReactive)}function Le(e){return!(!e||!e.__v_isReadonly)}function Pe(e){return!(!e||!e.__v_isShallow)}function He(e){return!!e&&!!e.__v_raw}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}const we=e=>a(e)?ye(e):e,Me=e=>a(e)?be(e):e;class Ce{constructor(e,t,n,s){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new N((()=>e(this._value)),(()=>je(this,3===this.effect._dirtyLevel?3:4))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=xe(this),t=e.effect._dirtyLevel;return e._cacheable&&!e.effect.dirty||!d(e._value,e._value=e.effect.run())||3!==t&&je(e,5),ke(e),e.effect._dirtyLevel>=2&&je(e,3),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ke(e){var t;y&&O&&(e=xe(e),H(O,null!=(t=e.dep)?t:e.dep=M((()=>e.dep=void 0),e instanceof Ce?e:void 0)))}function je(e,t=5,n,s){const i=(e=xe(e)).dep;i&&w(i,t)}function Ue(e){return!(!e||!0!==e.__v_isRef)}function Ve(e){return Fe(e,!1)}function Fe(e,t){return Ue(e)?e:new Ge(e,t)}class Ge{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:xe(e),this._value=t?e:we(e)}get value(){return ke(this),this._value}set value(e){const t=this.__v_isShallow||Pe(e)||Le(e);e=t?e:xe(e),d(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:we(e),je(this,5))}}function We(e){return Ue(e)?e.value:e}const Be={get:(e,t,n)=>We(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ue(i)&&!Ue(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};class Ye{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>ke(this)),(()=>je(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class ze{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=C.get(e);return n&&n.get(t)}(xe(this._object),this._key)}}class Qe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){const s=e[t];return Ue(s)?s:new ze(e,t,n)}const Ze={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"},Je=()=>{},{isArray:Ke}=Array,$e=Object.assign;function qe(e,t){const n={};return Object.keys(e).forEach((s=>{t.includes(s)||(n[s]=e[s])})),n}function et(e){return Object.prototype.toString.call(e).slice(8,-1)}function tt(e){return null!==e&&"object"==typeof e}function nt(e){return"Object"===et(e)}function st(e){return"function"==typeof e}function it(e,t){return e!==t&&(e==e||t==t)}function ot(e){return`__${e}__`}let rt=!1,ct=!1;const _t=[];let at=0;const lt=[];let ht=null,ut=0;const ft=Promise.resolve();let dt=null;function pt(e){0!==_t.length&&_t.includes(e,rt&&e.allowRecurse?at+1:at)||(_t.push(e),rt||ct||(ct=!0,dt=ft.then(Et)))}function Ot(){if(lt.length>0){for(ht=[...new Set(lt)],lt.length=0,ut=0;ut<ht.length;ut++){const e=ht[ut];!1!==e.active&&e()}ht=null,ut=0}}function Et(e){ct=!1,rt=!0;try{for(at=0;at<_t.length;at++){const e=_t[at];!1!==e.active&&e()}}finally{at=0,_t.length=0,rt=!1,dt=null}}const vt={};function St(e,t,n){return Nt(e,t,n)}function Nt(e,t,{immediate:n,deep:s,flush:i,once:o}={}){if(t&&o){const e=t;t=(...t)=>{e(...t),E()}}const r=e=>!0===s?e:At(e,!1===s?1:void 0);let c,_,a=!1,l=!1;if(Ue(e)?(c=()=>e.value,a=Pe(e)):De(e)?(c=()=>r(e),a=!0):Ke(e)?(l=!0,a=e.some((e=>De(e)||Pe(e))),c=()=>e.map((e=>Ue(e)?e.value:De(e)?r(e):st(e)?e():void 0))):c=st(e)?t?()=>e():()=>(_&&_(),e(h)):Je,t&&s){const e=c;c=()=>At(e())}const h=e=>{_=p.onStop=()=>{e(),_=p.onStop=void 0}};let u=l?Array.from({length:e.length}).fill(vt):vt;const f=()=>{if(p.active&&p.dirty)if(t){const e=p.run();(s||a||(l?e.some(((e,t)=>it(e,u[t]))):it(e,u)))&&(_&&_(),t(e,u===vt?void 0:l&&u[0]===vt?[]:u,h),u=e)}else p.run()};let d;f.allowRecurse=Boolean(t),d="sync"===i?f:"post"===i?()=>{!function(e){ht&&ht.includes(e,e.allowRecurse?ut+1:ut)||lt.push(e)}(f)}:()=>{pt(f)};const p=new N(c,Je,d),O=S(),E=()=>{p.stop(),O&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(O.effects,p)};return t?n?f():u=p.run():p.run(),E}function At(e,t=Number.POSITIVE_INFINITY,n){if(t<=0||!tt(e)||e[Ze.SKIP])return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ue(e))At(e.value,t,n);else if(Ke(e))for(let s=0;s<e.length;s++)At(e[s],t,n);else if("Set"===et(e)||function(e){return"Map"===et(e)}(e))e.forEach((e=>{At(e,t,n)}));else if(nt(e)){for(const s in e)At(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&At(e[s],t,n)}return e}const Rt=Object.create(null);let gt=null,Tt=null,yt=null;function mt(){return Tt||yt}var bt,It,Dt;function Lt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}function Pt(e){if(function(e){const t=new Set(["undefined","boolean","number","string"]);return null===e||t.has(typeof e)}(e)||st(e))return e;if(Ue(e))return Pt(e.value);if(He(e))return Pt(xe(e));if(Ke(e))return e.map((e=>Pt(e)));if(nt(e)){const t={};return Object.keys(e).forEach((n=>{t[n]=Pt(e[n])})),t}throw new TypeError(`${et(e)} value is not supported`)}function Ht(e,t){tt(t)&&St(Ue(t)?t:()=>t,(()=>{this.setData({[e]:Pt(t)},Ot)}),{deep:!0})}function xt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}!function(e){e.ON_LAUNCH="onLaunch",e.ON_SHOW="onShow",e.ON_HIDE="onHide",e.ON_ERROR="onError",e.ON_PAGE_NOT_FOUND="onPageNotFound",e.ON_UNHANDLED_REJECTION="onUnhandledRejection",e.ON_THEME_CHANGE="onThemeChange"}(bt||(bt={})),function(e){e.ON_LOAD="onLoad",e.ON_SHOW="onShow",e.ON_READY="onReady",e.ON_HIDE="onHide",e.ON_UNLOAD="onUnload",e.ON_ROUTE_DONE="onRouteDone",e.ON_PULL_DOWN_REFRESH="onPullDownRefresh",e.ON_REACH_BOTTOM="onReachBottom",e.ON_PAGE_SCROLL="onPageScroll",e.ON_SHARE_APP_MESSAGE="onShareAppMessage",e.ON_SHARE_TIMELINE="onShareTimeline",e.ON_ADD_TO_FAVORITES="onAddToFavorites",e.ON_RESIZE="onResize",e.ON_TAB_ITEM_TAP="onTabItemTap",e.ON_SAVE_EXIT_STATE="onSaveExitState"}(It||(It={})),function(e){e.ATTACHED="attached",e.READY="ready",e.MOVED="moved",e.DETACHED="detached",e.ERROR="error"}(Dt||(Dt={}));const wt={[It.ON_SHOW]:"show",[It.ON_HIDE]:"hide",[It.ON_RESIZE]:"resize",[It.ON_ROUTE_DONE]:"routeDone",[Dt.READY]:It.ON_READY};function Mt(e,t){return jt(t,e.lifetimes[t]||e[t])}function Ct(e,t){return jt(t,e.methods[t])}function kt(e,t){return jt(t,e.pageLifetimes[wt[t]])}function jt(e,t){const n=ot(e);return function(...e){const s=this[n];s&&s.forEach((t=>t(...e))),void 0!==t&&t.call(this,...e)}}const Ut=sn(bt.ON_SHOW),Vt=sn(bt.ON_HIDE),Ft=sn(bt.ON_ERROR),Gt=sn(bt.ON_PAGE_NOT_FOUND),Wt=sn(bt.ON_UNHANDLED_REJECTION),Bt=sn(bt.ON_THEME_CHANGE),Yt=on(It.ON_SHOW),zt=on(It.ON_HIDE),Qt=on(It.ON_UNLOAD),Xt=on(It.ON_ROUTE_DONE),Zt=on(It.ON_PULL_DOWN_REFRESH),Jt=on(It.ON_REACH_BOTTOM),Kt=on(It.ON_RESIZE),$t=on(It.ON_TAB_ITEM_TAP),qt=rn(It.ON_LOAD),en=rn(Dt.MOVED),tn=rn(Dt.DETACHED),nn=rn(Dt.ERROR);function sn(e){return t=>{gt&&cn(gt,e,t)}}function on(e){return t=>{const n=mt();n&&cn(n,e,t)}}function rn(e){return t=>{yt&&cn(yt,e,t)}}function cn(e,t,n){const s=ot(t);void 0===e[s]&&(e[s]=[]),e[s].push(n)}exports.EffectScope=E,exports.ReactiveEffect=N,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(e,n,s=!1){let i,o;const r=c(e);return r?(i=e,o=t):(i=e.get,o=e.set),new Ce(i,o,r||!o,s)},exports.createApp=function(e){let t,n;if(st(e))t=e,n={};else{if(void 0===e.setup)return void App(e);t=e.setup,n=qe(e,["setup"])}const s=n[bt.ON_LAUNCH];n[bt.ON_LAUNCH]=function(e){gt=this;const n=t(e);void 0!==n&&Object.keys(n).forEach((e=>{this[e]=n[e]})),gt=null,void 0!==s&&s.call(this,e)},n[bt.ON_SHOW]=Lt(n,bt.ON_SHOW),n[bt.ON_HIDE]=Lt(n,bt.ON_HIDE),n[bt.ON_ERROR]=Lt(n,bt.ON_ERROR),n[bt.ON_PAGE_NOT_FOUND]=Lt(n,bt.ON_PAGE_NOT_FOUND),n[bt.ON_UNHANDLED_REJECTION]=Lt(n,bt.ON_UNHANDLED_REJECTION),n[bt.ON_THEME_CHANGE]=Lt(n,bt.ON_THEME_CHANGE),App(n)},exports.customRef=function(e){return new Ye(e)},exports.defineComponent=function(e,t){let n,s;t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t);let i=null;if(st(e))n=e,s={};else{if(void 0===e.setup)return Component(e);n=e.setup,s=qe(e,["setup"]),s.properties&&(i=Object.keys(s.properties))}void 0===s.lifetimes&&(s.lifetimes={});const o=s.lifetimes[Dt.ATTACHED]||s[Dt.ATTACHED];s.lifetimes[Dt.ATTACHED]=function(){var e;this.__scope__=new E,yt=e=this,e.__scope__.on();const t={};i&&i.forEach((e=>{t[e]=this.data[e]})),this.__props__=me(t);const s={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=n(this.__props__,s);void 0!==r&&Object.keys(r).forEach((e=>{const t=r[e];st(t)?this[e]=t:(this.setData({[e]:Pt(t)}),Ht.call(this,e,t))})),yt&&yt.__scope__.off(),yt=null,void 0!==o&&o.call(this)};const r=Mt(s,Dt.DETACHED);return s.lifetimes[Dt.DETACHED]=function(){r.call(this),this.__scope__.stop()},s.lifetimes[Dt.READY]=jt(wt[Dt.READY],s.lifetimes[Dt.READY]||s[Dt.READY]),s.lifetimes[Dt.MOVED]=Mt(s,Dt.MOVED),s.lifetimes[Dt.ERROR]=Mt(s,Dt.ERROR),void 0===s.methods&&(s.methods={}),(s.methods[It.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s.methods[It.ON_PAGE_SCROLL]=Ct(s,It.ON_PAGE_SCROLL),s.methods.__listenPageScroll__=()=>!0),void 0===s.methods[It.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s.methods[It.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(It.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===s.methods[It.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s.methods[It.ON_SHARE_TIMELINE]=function(){const e=this[ot(It.ON_SHARE_TIMELINE)];return e?e():{}},s.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===s.methods[It.ON_ADD_TO_FAVORITES]&&(s.methods[It.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(It.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.methods.__isInjectedFavoritesHook__=()=>!0),void 0===s.methods[It.ON_SAVE_EXIT_STATE]&&(s.methods[It.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(It.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.methods.__isInjectedExitStateHook__=()=>!0),s.methods[It.ON_LOAD]=Ct(s,It.ON_LOAD),s.methods[It.ON_PULL_DOWN_REFRESH]=Ct(s,It.ON_PULL_DOWN_REFRESH),s.methods[It.ON_REACH_BOTTOM]=Ct(s,It.ON_REACH_BOTTOM),s.methods[It.ON_TAB_ITEM_TAP]=Ct(s,It.ON_TAB_ITEM_TAP),void 0===s.pageLifetimes&&(s.pageLifetimes={}),s.pageLifetimes[wt[It.ON_SHOW]]=kt(s,It.ON_SHOW),s.pageLifetimes[wt[It.ON_HIDE]]=kt(s,It.ON_HIDE),s.pageLifetimes[wt[It.ON_RESIZE]]=kt(s,It.ON_RESIZE),s.pageLifetimes[wt[It.ON_ROUTE_DONE]]=kt(s,It.ON_ROUTE_DONE),i&&(void 0===s.observers&&(s.observers={}),i.forEach((e=>{const t=s.observers[e];s.observers[e]=function(n){this.__props__&&(this.__props__[e]=n),void 0!==t&&t.call(this,n)}}))),Component(s)},exports.definePage=function(e,t){let n,s;if(t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t),st(e))n=e,s={};else{if(void 0===e.setup)return void Page(e);n=e.setup,s=qe(e,["setup"])}const i=s[It.ON_LOAD];s[It.ON_LOAD]=function(e){var t;this.__scope__=new E,Tt=t=this,t.__scope__.on();const s={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=n(e,s);void 0!==o&&Object.keys(o).forEach((e=>{const t=o[e];st(t)?this[e]=t:(this.setData({[e]:Pt(t)}),Ht.call(this,e,t))})),Tt&&Tt.__scope__.off(),Tt=null,void 0!==i&&i.call(this,e)};const o=xt(s,It.ON_UNLOAD);s[It.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(s[It.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s[It.ON_PAGE_SCROLL]=xt(s,It.ON_PAGE_SCROLL),s.__listenPageScroll__=()=>!0),void 0===s[It.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s[It.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(It.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.__isInjectedShareToOthersHook__=()=>!0),void 0===s[It.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s[It.ON_SHARE_TIMELINE]=function(){const e=this[ot(It.ON_SHARE_TIMELINE)];return e?e():{}},s.__isInjectedShareToTimelineHook__=()=>!0),void 0===s[It.ON_ADD_TO_FAVORITES]&&(s[It.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(It.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.__isInjectedFavoritesHook__=()=>!0),void 0===s[It.ON_SAVE_EXIT_STATE]&&(s[It.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(It.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.__isInjectedExitStateHook__=()=>!0),s[It.ON_SHOW]=xt(s,It.ON_SHOW),s[It.ON_READY]=xt(s,It.ON_READY),s[It.ON_HIDE]=xt(s,It.ON_HIDE),s[It.ON_ROUTE_DONE]=xt(s,It.ON_ROUTE_DONE),s[It.ON_PULL_DOWN_REFRESH]=xt(s,It.ON_PULL_DOWN_REFRESH),s[It.ON_REACH_BOTTOM]=xt(s,It.ON_REACH_BOTTOM),s[It.ON_RESIZE]=xt(s,It.ON_RESIZE),s[It.ON_TAB_ITEM_TAP]=xt(s,It.ON_TAB_ITEM_TAP),Page(s)},exports.effect=function(e,s){e.effect instanceof N&&(e=e.effect.fn);const i=new N(e,t,(()=>{i.dirty&&i.run()}));s&&(n(i,s),s.scope&&v(i,s.scope)),s&&s.lazy||i.run();const o=i.run.bind(i);return o.effect=i,o},exports.effectScope=function(e){return new E(e)},exports.getCurrentScope=S,exports.inject=function(e,t,n=!1){return e in Rt?Rt[e]:arguments.length>1?n&&st(t)?t():t:void 0},exports.isProxy=He,exports.isReactive=De,exports.isReadonly=Le,exports.isRef=Ue,exports.isShallow=Pe,exports.markRaw=function(e){return Object.isExtensible(e)&&((e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})})(e,"__v_skip",!0),e},exports.nextTick=function(e){const t=dt||ft;return e?t.then(e):t},exports.onAddToFavorites=e=>{const t=mt();if(t&&t.__isInjectedFavoritesHook__){const n=ot(It.ON_ADD_TO_FAVORITES);void 0===t[n]&&(t[n]=e)}},exports.onAppError=Ft,exports.onAppHide=Vt,exports.onAppShow=Ut,exports.onDetach=tn,exports.onError=nn,exports.onHide=zt,exports.onLoad=qt,exports.onMove=en,exports.onPageNotFound=Gt,exports.onPageScroll=e=>{const t=mt();t&&t.__listenPageScroll__&&cn(t,It.ON_PAGE_SCROLL,e)},exports.onPullDownRefresh=Zt,exports.onReachBottom=Jt,exports.onReady=e=>{const t=mt();t&&cn(t,It.ON_READY,e)},exports.onResize=Kt,exports.onRouteDone=Xt,exports.onSaveExitState=e=>{const t=mt();if(t&&t.__isInjectedExitStateHook__){const n=ot(It.ON_SAVE_EXIT_STATE);void 0===t[n]&&(t[n]=e)}},exports.onScopeDispose=function(e){p&&p.cleanups.push(e)},exports.onShareAppMessage=e=>{const t=mt();if(t&&t[It.ON_SHARE_APP_MESSAGE]&&t.__isInjectedShareToOthersHook__){const n=ot(It.ON_SHARE_APP_MESSAGE);void 0===t[n]&&(t[n]=e)}},exports.onShareTimeline=e=>{const t=mt();if(t&&t[It.ON_SHARE_TIMELINE]&&t.__isInjectedShareToTimelineHook__){const n=ot(It.ON_SHARE_TIMELINE);void 0===t[n]&&(t[n]=e)}},exports.onShow=Yt,exports.onTabItemTap=$t,exports.onThemeChange=Bt,exports.onUnhandledRejection=Wt,exports.onUnload=Qt,exports.provide=function(e,t){Rt[e]=t},exports.proxyRefs=function(e){return De(e)?e:new Proxy(e,Be)},exports.reactive=ye,exports.readonly=be,exports.ref=Ve,exports.shallowReactive=me,exports.shallowReadonly=function(e){return Ie(e,!0,$,Ne,Te)},exports.shallowRef=function(e){return Fe(e,!0)},exports.stop=function(e){e.effect.stop()},exports.toRaw=xe,exports.toRef=function(e,t,n){return Ue(e)?e:c(e)?new Qe(e):a(e)&&arguments.length>1?Xe(e,t,n):Ve(e)},exports.toRefs=function(e){const t=o(e)?new Array(e.length):{};for(const n in e)t[n]=Xe(e,n);return t},exports.toValue=function(e){return c(e)?e():We(e)},exports.triggerRef=function(e){je(e,5)},exports.unref=We,exports.watch=St,exports.watchEffect=function(e,t){return Nt(e,null,t)},exports.watchPostEffect=function(e,t){return Nt(e,null,{flush:"post"})},exports.watchSyncEffect=function(e,t){return Nt(e,null,{flush:"sync"})};
8
+ /*! #__NO_SIDE_EFFECTS__ */function e(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const t=()=>{},n=Object.assign,s=Object.prototype.hasOwnProperty,i=(e,t)=>s.call(e,t),o=Array.isArray,r=e=>"[object Map]"===l(e),c=e=>"function"==typeof e,_=e=>"symbol"==typeof e,a=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,l=e=>h.call(e),u=e=>l(e).slice(8,-1),f=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,d=(e,t)=>!Object.is(e,t);let p,O;class E{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=p,!e&&p&&(this.index=(p.scopes||(p.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=p;try{return p=this,e()}finally{p=t}}}on(){p=this}off(){p=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function v(e,t=p){t&&t.active&&t.effects.push(e)}function S(){return p}class N{constructor(e,t,n,s){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,v(this,s)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,I();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(A(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),D()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=O;try{return y=!0,O=this,this._runnings++,R(this),this.fn()}finally{g(this),this._runnings--,O=t,y=e}}stop(){this.active&&(R(this),g(this),this.onStop&&this.onStop(),this.active=!1)}}function A(e){return e.value}function R(e){e._trackId++,e._depsLength=0}function g(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)T(e.deps[t],e);e.deps.length=e._depsLength}}function T(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let y=!0,m=0;const b=[];function I(){b.push(y),y=!1}function D(){const e=b.pop();y=void 0===e||e}function L(){m++}function P(){for(m--;!m&&x.length;)x.shift()()}function H(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&T(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const x=[];function w(e,t,n){L();for(const n of e.keys()){let s;n._dirtyLevel<t&&(null!=s?s:s=e.get(n)===n._trackId)&&(n._shouldSchedule||(n._shouldSchedule=0===n._dirtyLevel),n._dirtyLevel=t),n._shouldSchedule&&(null!=s?s:s=e.get(n)===n._trackId)&&(n.trigger(),n._runnings&&!n.allowRecurse||2===n._dirtyLevel||(n._shouldSchedule=!1,n.scheduler&&x.push(n.scheduler)))}P()}const M=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},C=new WeakMap,k=Symbol(""),j=Symbol("");function U(e,t,n){if(y&&O){let t=C.get(e);t||C.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=M((()=>t.delete(n)))),H(O,s)}}function V(e,t,n,s,i,c){const a=C.get(e);if(!a)return;let h=[];if("clear"===t)h=[...a.values()];else if("length"===n&&o(e)){const e=Number(s);a.forEach(((t,n)=>{("length"===n||!_(n)&&n>=e)&&h.push(t)}))}else switch(void 0!==n&&h.push(a.get(n)),t){case"add":o(e)?f(n)&&h.push(a.get("length")):(h.push(a.get(k)),r(e)&&h.push(a.get(j)));break;case"delete":o(e)||(h.push(a.get(k)),r(e)&&h.push(a.get(j)));break;case"set":r(e)&&h.push(a.get(k))}L();for(const e of h)e&&w(e,4);P()}const F=e("__proto__,__v_isRef,__isVue"),G=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_)),W=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=xe(this);for(let e=0,t=this.length;e<t;e++)U(n,0,e+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(xe)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){I(),L();const n=xe(this)[t].apply(this,e);return P(),D(),n}})),e}function Y(e){_(e)||(e=String(e));const t=xe(this);return U(t,0,e),t.hasOwnProperty(e)}class z{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(s?r?Te:ge:r?Re:Ae).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=o(e);if(!s){if(c&&i(W,t))return Reflect.get(W,t,n);if("hasOwnProperty"===t)return Y}const h=Reflect.get(e,t,n);return(_(t)?G.has(t):F(t))?h:(s||U(e,0,t),r?h:Ue(h)?c&&f(t)?h:h.value:a(h)?s?be(h):ye(h):h)}}class Q extends z{constructor(e=!1){super(!1,e)}set(e,t,n,s){let r=e[t];if(!this._isShallow){const t=Le(r);if(Pe(n)||Le(n)||(r=xe(r),n=xe(n)),!o(e)&&Ue(r)&&!Ue(n))return!t&&(r.value=n,!0)}const c=o(e)&&f(t)?Number(t)<e.length:i(e,t),_=Reflect.set(e,t,n,s);return e===xe(s)&&(c?d(n,r)&&V(e,"set",t,n):V(e,"add",t,n)),_}deleteProperty(e,t){const n=i(e,t),s=Reflect.deleteProperty(e,t);return s&&n&&V(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return _(t)&&G.has(t)||U(e,0,t),n}ownKeys(e){return U(e,0,o(e)?"length":k),Reflect.ownKeys(e)}}class X extends z{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Z=new Q,J=new X,K=new Q(!0),$=new X(!0),q=e=>e,ee=e=>Reflect.getPrototypeOf(e);function te(e,t,n=!1,s=!1){const i=xe(e=e.__v_raw),o=xe(t);n||(d(t,o)&&U(i,0,t),U(i,0,o));const{has:r}=ee(i),c=s?q:n?Me:we;return r.call(i,t)?c(e.get(t)):r.call(i,o)?c(e.get(o)):void(e!==i&&e.get(t))}function ne(e,t=!1){const n=this.__v_raw,s=xe(n),i=xe(e);return t||(d(e,i)&&U(s,0,e),U(s,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function se(e,t=!1){return e=e.__v_raw,!t&&U(xe(e),0,k),Reflect.get(e,"size",e)}function ie(e){e=xe(e);const t=xe(this);return ee(t).has.call(t,e)||(t.add(e),V(t,"add",e,e)),this}function oe(e,t){t=xe(t);const n=xe(this),{has:s,get:i}=ee(n);let o=s.call(n,e);o||(e=xe(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?d(t,r)&&V(n,"set",e,t):V(n,"add",e,t),this}function re(e){const t=xe(this),{has:n,get:s}=ee(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&V(t,"delete",e,void 0),o}function ce(){const e=xe(this),t=0!==e.size,n=e.clear();return t&&V(e,"clear",void 0,void 0),n}function _e(e,t){return function(n,s){const i=this,o=i.__v_raw,r=xe(o),c=t?q:e?Me:we;return!e&&U(r,0,k),o.forEach(((e,t)=>n.call(s,c(e),c(t),i)))}}function ae(e,t,n){return function(...s){const i=this.__v_raw,o=xe(i),c=r(o),_="entries"===e||e===Symbol.iterator&&c,a="keys"===e&&c,h=i[e](...s),l=n?q:t?Me:we;return!t&&U(o,0,a?j:k),{next(){const{value:e,done:t}=h.next();return t?{value:e,done:t}:{value:_?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function he(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function le(){const e={get(e){return te(this,e)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!1)},t={get(e){return te(this,e,!1,!0)},get size(){return se(this)},has:ne,add:ie,set:oe,delete:re,clear:ce,forEach:_e(!1,!0)},n={get(e){return te(this,e,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:_e(!0,!1)},s={get(e){return te(this,e,!0,!0)},get size(){return se(this,!0)},has(e){return ne.call(this,e,!0)},add:he("add"),set:he("set"),delete:he("delete"),clear:he("clear"),forEach:_e(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=ae(i,!1,!1),n[i]=ae(i,!0,!1),t[i]=ae(i,!1,!0),s[i]=ae(i,!0,!0)})),[e,n,t,s]}const[ue,fe,de,pe]=le();function Oe(e,t){const n=t?e?pe:de:e?fe:ue;return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(i(n,s)&&s in t?n:t,s,o)}const Ee={get:Oe(!1,!1)},ve={get:Oe(!1,!0)},Se={get:Oe(!0,!1)},Ne={get:Oe(!0,!0)},Ae=new WeakMap,Re=new WeakMap,ge=new WeakMap,Te=new WeakMap;function ye(e){return Le(e)?e:Ie(e,!1,Z,Ee,Ae)}function me(e){return Ie(e,!1,K,ve,Re)}function be(e){return Ie(e,!0,J,Se,ge)}function Ie(e,t,n,s,i){if(!a(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(u(c));var c;if(0===r)return e;const _=new Proxy(e,2===r?s:n);return i.set(e,_),_}function De(e){return Le(e)?De(e.__v_raw):!(!e||!e.__v_isReactive)}function Le(e){return!(!e||!e.__v_isReadonly)}function Pe(e){return!(!e||!e.__v_isShallow)}function He(e){return!!e&&!!e.__v_raw}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}const we=e=>a(e)?ye(e):e,Me=e=>a(e)?be(e):e;class Ce{constructor(e,t,n,s){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new N((()=>e(this._value)),(()=>je(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=xe(this);return e._cacheable&&!e.effect.dirty||!d(e._value,e._value=e.effect.run())||je(e,4),ke(e),e.effect._dirtyLevel>=2&&je(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function ke(e){var t;y&&O&&(e=xe(e),H(O,null!=(t=e.dep)?t:e.dep=M((()=>e.dep=void 0),e instanceof Ce?e:void 0)))}function je(e,t=4,n,s){const i=(e=xe(e)).dep;i&&w(i,t)}function Ue(e){return!(!e||!0!==e.__v_isRef)}function Ve(e){return Fe(e,!1)}function Fe(e,t){return Ue(e)?e:new Ge(e,t)}class Ge{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:xe(e),this._value=t?e:we(e)}get value(){return ke(this),this._value}set value(e){const t=this.__v_isShallow||Pe(e)||Le(e);e=t?e:xe(e),d(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:we(e),je(this,4))}}function We(e){return Ue(e)?e.value:e}const Be={get:(e,t,n)=>We(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ue(i)&&!Ue(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};class Ye{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>ke(this)),(()=>je(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}class ze{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=C.get(e);return n&&n.get(t)}(xe(this._object),this._key)}}class Qe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xe(e,t,n){const s=e[t];return Ue(s)?s:new ze(e,t,n)}const Ze={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw"},Je=()=>{},{isArray:Ke}=Array,$e=Object.assign;function qe(e,t){const n={};return Object.keys(e).forEach((s=>{t.includes(s)||(n[s]=e[s])})),n}function et(e){return Object.prototype.toString.call(e).slice(8,-1)}function tt(e){return null!==e&&"object"==typeof e}function nt(e){return"Object"===et(e)}function st(e){return"function"==typeof e}function it(e,t){return e!==t&&(e==e||t==t)}function ot(e){return`__${e}__`}let rt=!1,ct=!1;const _t=[];let at=0;const ht=[];let lt=null,ut=0;const ft=Promise.resolve();let dt=null;function pt(e){0!==_t.length&&_t.includes(e,rt&&e.allowRecurse?at+1:at)||(_t.push(e),rt||ct||(ct=!0,dt=ft.then(Et)))}function Ot(){if(ht.length>0){for(lt=[...new Set(ht)],ht.length=0,ut=0;ut<lt.length;ut++){const e=lt[ut];!1!==e.active&&e()}lt=null,ut=0}}function Et(e){ct=!1,rt=!0;try{for(at=0;at<_t.length;at++){const e=_t[at];!1!==e.active&&e()}}finally{at=0,_t.length=0,rt=!1,dt=null}}const vt={};function St(e,t,n){return Nt(e,t,n)}function Nt(e,t,{immediate:n,deep:s,flush:i,once:o}={}){if(t&&o){const e=t;t=(...t)=>{e(...t),E()}}const r=e=>!0===s?e:At(e,!1===s?1:void 0);let c,_,a=!1,h=!1;if(Ue(e)?(c=()=>e.value,a=Pe(e)):De(e)?(c=()=>r(e),a=!0):Ke(e)?(h=!0,a=e.some((e=>De(e)||Pe(e))),c=()=>e.map((e=>Ue(e)?e.value:De(e)?r(e):st(e)?e():void 0))):c=st(e)?t?()=>e():()=>(_&&_(),e(l)):Je,t&&s){const e=c;c=()=>At(e())}const l=e=>{_=p.onStop=()=>{e(),_=p.onStop=void 0}};let u=h?Array.from({length:e.length}).fill(vt):vt;const f=()=>{if(p.active&&p.dirty)if(t){const e=p.run();(s||a||(h?e.some(((e,t)=>it(e,u[t]))):it(e,u)))&&(_&&_(),t(e,u===vt?void 0:h&&u[0]===vt?[]:u,l),u=e)}else p.run()};let d;f.allowRecurse=Boolean(t),d="sync"===i?f:"post"===i?()=>{!function(e){lt&&lt.includes(e,e.allowRecurse?ut+1:ut)||ht.push(e)}(f)}:()=>{pt(f)};const p=new N(c,Je,d),O=S(),E=()=>{p.stop(),O&&function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(O.effects,p)};return t?n?f():u=p.run():p.run(),E}function At(e,t=Number.POSITIVE_INFINITY,n){if(t<=0||!tt(e)||e[Ze.SKIP])return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Ue(e))At(e.value,t,n);else if(Ke(e))for(let s=0;s<e.length;s++)At(e[s],t,n);else if("Set"===et(e)||function(e){return"Map"===et(e)}(e))e.forEach((e=>{At(e,t,n)}));else if(nt(e)){for(const s in e)At(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&At(e[s],t,n)}return e}const Rt=Object.create(null);let gt=null,Tt=null,yt=null;function mt(){return Tt||yt}var bt,It,Dt;function Lt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}function Pt(e){if(function(e){const t=new Set(["undefined","boolean","number","string"]);return null===e||t.has(typeof e)}(e)||st(e))return e;if(Ue(e))return Pt(e.value);if(He(e))return Pt(xe(e));if(Ke(e))return e.map((e=>Pt(e)));if(nt(e)){const t={};return Object.keys(e).forEach((n=>{t[n]=Pt(e[n])})),t}throw new TypeError(`${et(e)} value is not supported`)}function Ht(e,t){tt(t)&&St(Ue(t)?t:()=>t,(()=>{this.setData({[e]:Pt(t)},Ot)}),{deep:!0})}function xt(e,t){const n=e[t];return function(...e){const s=this[ot(t)];s&&s.forEach((t=>t(...e))),void 0!==n&&n.call(this,...e)}}!function(e){e.ON_LAUNCH="onLaunch",e.ON_SHOW="onShow",e.ON_HIDE="onHide",e.ON_ERROR="onError",e.ON_PAGE_NOT_FOUND="onPageNotFound",e.ON_UNHANDLED_REJECTION="onUnhandledRejection",e.ON_THEME_CHANGE="onThemeChange"}(bt||(bt={})),function(e){e.ON_LOAD="onLoad",e.ON_SHOW="onShow",e.ON_READY="onReady",e.ON_HIDE="onHide",e.ON_UNLOAD="onUnload",e.ON_ROUTE_DONE="onRouteDone",e.ON_PULL_DOWN_REFRESH="onPullDownRefresh",e.ON_REACH_BOTTOM="onReachBottom",e.ON_PAGE_SCROLL="onPageScroll",e.ON_SHARE_APP_MESSAGE="onShareAppMessage",e.ON_SHARE_TIMELINE="onShareTimeline",e.ON_ADD_TO_FAVORITES="onAddToFavorites",e.ON_RESIZE="onResize",e.ON_TAB_ITEM_TAP="onTabItemTap",e.ON_SAVE_EXIT_STATE="onSaveExitState"}(It||(It={})),function(e){e.ATTACHED="attached",e.READY="ready",e.MOVED="moved",e.DETACHED="detached",e.ERROR="error"}(Dt||(Dt={}));const wt={[It.ON_SHOW]:"show",[It.ON_HIDE]:"hide",[It.ON_RESIZE]:"resize",[It.ON_ROUTE_DONE]:"routeDone",[Dt.READY]:It.ON_READY};function Mt(e,t){return jt(t,e.lifetimes[t]||e[t])}function Ct(e,t){return jt(t,e.methods[t])}function kt(e,t){return jt(t,e.pageLifetimes[wt[t]])}function jt(e,t){const n=ot(e);return function(...e){const s=this[n];s&&s.forEach((t=>t(...e))),void 0!==t&&t.call(this,...e)}}const Ut=sn(bt.ON_SHOW),Vt=sn(bt.ON_HIDE),Ft=sn(bt.ON_ERROR),Gt=sn(bt.ON_PAGE_NOT_FOUND),Wt=sn(bt.ON_UNHANDLED_REJECTION),Bt=sn(bt.ON_THEME_CHANGE),Yt=on(It.ON_SHOW),zt=on(It.ON_HIDE),Qt=on(It.ON_UNLOAD),Xt=on(It.ON_ROUTE_DONE),Zt=on(It.ON_PULL_DOWN_REFRESH),Jt=on(It.ON_REACH_BOTTOM),Kt=on(It.ON_RESIZE),$t=on(It.ON_TAB_ITEM_TAP),qt=rn(It.ON_LOAD),en=rn(Dt.MOVED),tn=rn(Dt.DETACHED),nn=rn(Dt.ERROR);function sn(e){return t=>{gt&&cn(gt,e,t)}}function on(e){return t=>{const n=mt();n&&cn(n,e,t)}}function rn(e){return t=>{yt&&cn(yt,e,t)}}function cn(e,t,n){const s=ot(t);void 0===e[s]&&(e[s]=[]),e[s].push(n)}exports.EffectScope=E,exports.ReactiveEffect=N,exports.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},exports.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},exports.computed=function(e,n,s=!1){let i,o;const r=c(e);return r?(i=e,o=t):(i=e.get,o=e.set),new Ce(i,o,r||!o,s)},exports.createApp=function(e){let t,n;if(st(e))t=e,n={};else{if(void 0===e.setup)return void App(e);t=e.setup,n=qe(e,["setup"])}const s=n[bt.ON_LAUNCH];n[bt.ON_LAUNCH]=function(e){gt=this;const n=t(e);void 0!==n&&Object.keys(n).forEach((e=>{this[e]=n[e]})),gt=null,void 0!==s&&s.call(this,e)},n[bt.ON_SHOW]=Lt(n,bt.ON_SHOW),n[bt.ON_HIDE]=Lt(n,bt.ON_HIDE),n[bt.ON_ERROR]=Lt(n,bt.ON_ERROR),n[bt.ON_PAGE_NOT_FOUND]=Lt(n,bt.ON_PAGE_NOT_FOUND),n[bt.ON_UNHANDLED_REJECTION]=Lt(n,bt.ON_UNHANDLED_REJECTION),n[bt.ON_THEME_CHANGE]=Lt(n,bt.ON_THEME_CHANGE),App(n)},exports.customRef=function(e){return new Ye(e)},exports.defineComponent=function(e,t){let n,s;t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t);let i=null;if(st(e))n=e,s={};else{if(void 0===e.setup)return Component(e);n=e.setup,s=qe(e,["setup"]),s.properties&&(i=Object.keys(s.properties))}void 0===s.lifetimes&&(s.lifetimes={});const o=s.lifetimes[Dt.ATTACHED]||s[Dt.ATTACHED];s.lifetimes[Dt.ATTACHED]=function(){var e;this.__scope__=new E,yt=e=this,e.__scope__.on();const t={};i&&i.forEach((e=>{t[e]=this.data[e]})),this.__props__=me(t);const s={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=n(this.__props__,s);void 0!==r&&Object.keys(r).forEach((e=>{const t=r[e];st(t)?this[e]=t:(this.setData({[e]:Pt(t)}),Ht.call(this,e,t))})),yt&&yt.__scope__.off(),yt=null,void 0!==o&&o.call(this)};const r=Mt(s,Dt.DETACHED);return s.lifetimes[Dt.DETACHED]=function(){r.call(this),this.__scope__.stop()},s.lifetimes[Dt.READY]=jt(wt[Dt.READY],s.lifetimes[Dt.READY]||s[Dt.READY]),s.lifetimes[Dt.MOVED]=Mt(s,Dt.MOVED),s.lifetimes[Dt.ERROR]=Mt(s,Dt.ERROR),void 0===s.methods&&(s.methods={}),(s.methods[It.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s.methods[It.ON_PAGE_SCROLL]=Ct(s,It.ON_PAGE_SCROLL),s.methods.__listenPageScroll__=()=>!0),void 0===s.methods[It.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s.methods[It.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(It.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.methods.__isInjectedShareToOthersHook__=()=>!0),void 0===s.methods[It.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s.methods[It.ON_SHARE_TIMELINE]=function(){const e=this[ot(It.ON_SHARE_TIMELINE)];return e?e():{}},s.methods.__isInjectedShareToTimelineHook__=()=>!0),void 0===s.methods[It.ON_ADD_TO_FAVORITES]&&(s.methods[It.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(It.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.methods.__isInjectedFavoritesHook__=()=>!0),void 0===s.methods[It.ON_SAVE_EXIT_STATE]&&(s.methods[It.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(It.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.methods.__isInjectedExitStateHook__=()=>!0),s.methods[It.ON_LOAD]=Ct(s,It.ON_LOAD),s.methods[It.ON_PULL_DOWN_REFRESH]=Ct(s,It.ON_PULL_DOWN_REFRESH),s.methods[It.ON_REACH_BOTTOM]=Ct(s,It.ON_REACH_BOTTOM),s.methods[It.ON_TAB_ITEM_TAP]=Ct(s,It.ON_TAB_ITEM_TAP),void 0===s.pageLifetimes&&(s.pageLifetimes={}),s.pageLifetimes[wt[It.ON_SHOW]]=kt(s,It.ON_SHOW),s.pageLifetimes[wt[It.ON_HIDE]]=kt(s,It.ON_HIDE),s.pageLifetimes[wt[It.ON_RESIZE]]=kt(s,It.ON_RESIZE),s.pageLifetimes[wt[It.ON_ROUTE_DONE]]=kt(s,It.ON_ROUTE_DONE),i&&(void 0===s.observers&&(s.observers={}),i.forEach((e=>{const t=s.observers[e];s.observers[e]=function(n){this.__props__&&(this.__props__[e]=n),void 0!==t&&t.call(this,n)}}))),Component(s)},exports.definePage=function(e,t){let n,s;if(t=$e({listenPageScroll:!1,canShareToOthers:!1,canShareToTimeline:!1},t),st(e))n=e,s={};else{if(void 0===e.setup)return void Page(e);n=e.setup,s=qe(e,["setup"])}const i=s[It.ON_LOAD];s[It.ON_LOAD]=function(e){var t;this.__scope__=new E,Tt=t=this,t.__scope__.on();const s={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=n(e,s);void 0!==o&&Object.keys(o).forEach((e=>{const t=o[e];st(t)?this[e]=t:(this.setData({[e]:Pt(t)}),Ht.call(this,e,t))})),Tt&&Tt.__scope__.off(),Tt=null,void 0!==i&&i.call(this,e)};const o=xt(s,It.ON_UNLOAD);s[It.ON_UNLOAD]=function(){o.call(this),this.__scope__.stop()},(s[It.ON_PAGE_SCROLL]||t.listenPageScroll)&&(s[It.ON_PAGE_SCROLL]=xt(s,It.ON_PAGE_SCROLL),s.__listenPageScroll__=()=>!0),void 0===s[It.ON_SHARE_APP_MESSAGE]&&t.canShareToOthers&&(s[It.ON_SHARE_APP_MESSAGE]=function(e){const t=this[ot(It.ON_SHARE_APP_MESSAGE)];return t?t(e):{}},s.__isInjectedShareToOthersHook__=()=>!0),void 0===s[It.ON_SHARE_TIMELINE]&&t.canShareToTimeline&&(s[It.ON_SHARE_TIMELINE]=function(){const e=this[ot(It.ON_SHARE_TIMELINE)];return e?e():{}},s.__isInjectedShareToTimelineHook__=()=>!0),void 0===s[It.ON_ADD_TO_FAVORITES]&&(s[It.ON_ADD_TO_FAVORITES]=function(e){const t=this[ot(It.ON_ADD_TO_FAVORITES)];return t?t(e):{}},s.__isInjectedFavoritesHook__=()=>!0),void 0===s[It.ON_SAVE_EXIT_STATE]&&(s[It.ON_SAVE_EXIT_STATE]=function(){const e=this[ot(It.ON_SAVE_EXIT_STATE)];return e?e():{data:void 0}},s.__isInjectedExitStateHook__=()=>!0),s[It.ON_SHOW]=xt(s,It.ON_SHOW),s[It.ON_READY]=xt(s,It.ON_READY),s[It.ON_HIDE]=xt(s,It.ON_HIDE),s[It.ON_ROUTE_DONE]=xt(s,It.ON_ROUTE_DONE),s[It.ON_PULL_DOWN_REFRESH]=xt(s,It.ON_PULL_DOWN_REFRESH),s[It.ON_REACH_BOTTOM]=xt(s,It.ON_REACH_BOTTOM),s[It.ON_RESIZE]=xt(s,It.ON_RESIZE),s[It.ON_TAB_ITEM_TAP]=xt(s,It.ON_TAB_ITEM_TAP),Page(s)},exports.effect=function(e,s){e.effect instanceof N&&(e=e.effect.fn);const i=new N(e,t,(()=>{i.dirty&&i.run()}));s&&(n(i,s),s.scope&&v(i,s.scope)),s&&s.lazy||i.run();const o=i.run.bind(i);return o.effect=i,o},exports.effectScope=function(e){return new E(e)},exports.getCurrentScope=S,exports.inject=function(e,t,n=!1){return e in Rt?Rt[e]:arguments.length>1?n&&st(t)?t():t:void 0},exports.isProxy=He,exports.isReactive=De,exports.isReadonly=Le,exports.isRef=Ue,exports.isShallow=Pe,exports.markRaw=function(e){return Object.isExtensible(e)&&((e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})})(e,"__v_skip",!0),e},exports.nextTick=function(e){const t=dt||ft;return e?t.then(e):t},exports.onAddToFavorites=e=>{const t=mt();if(t&&t.__isInjectedFavoritesHook__){const n=ot(It.ON_ADD_TO_FAVORITES);void 0===t[n]&&(t[n]=e)}},exports.onAppError=Ft,exports.onAppHide=Vt,exports.onAppShow=Ut,exports.onDetach=tn,exports.onError=nn,exports.onHide=zt,exports.onLoad=qt,exports.onMove=en,exports.onPageNotFound=Gt,exports.onPageScroll=e=>{const t=mt();t&&t.__listenPageScroll__&&cn(t,It.ON_PAGE_SCROLL,e)},exports.onPullDownRefresh=Zt,exports.onReachBottom=Jt,exports.onReady=e=>{const t=mt();t&&cn(t,It.ON_READY,e)},exports.onResize=Kt,exports.onRouteDone=Xt,exports.onSaveExitState=e=>{const t=mt();if(t&&t.__isInjectedExitStateHook__){const n=ot(It.ON_SAVE_EXIT_STATE);void 0===t[n]&&(t[n]=e)}},exports.onScopeDispose=function(e){p&&p.cleanups.push(e)},exports.onShareAppMessage=e=>{const t=mt();if(t&&t[It.ON_SHARE_APP_MESSAGE]&&t.__isInjectedShareToOthersHook__){const n=ot(It.ON_SHARE_APP_MESSAGE);void 0===t[n]&&(t[n]=e)}},exports.onShareTimeline=e=>{const t=mt();if(t&&t[It.ON_SHARE_TIMELINE]&&t.__isInjectedShareToTimelineHook__){const n=ot(It.ON_SHARE_TIMELINE);void 0===t[n]&&(t[n]=e)}},exports.onShow=Yt,exports.onTabItemTap=$t,exports.onThemeChange=Bt,exports.onUnhandledRejection=Wt,exports.onUnload=Qt,exports.provide=function(e,t){Rt[e]=t},exports.proxyRefs=function(e){return De(e)?e:new Proxy(e,Be)},exports.reactive=ye,exports.readonly=be,exports.ref=Ve,exports.shallowReactive=me,exports.shallowReadonly=function(e){return Ie(e,!0,$,Ne,Te)},exports.shallowRef=function(e){return Fe(e,!0)},exports.stop=function(e){e.effect.stop()},exports.toRaw=xe,exports.toRef=function(e,t,n){return Ue(e)?e:c(e)?new Qe(e):a(e)&&arguments.length>1?Xe(e,t,n):Ve(e)},exports.toRefs=function(e){const t=o(e)?new Array(e.length):{};for(const n in e)t[n]=Xe(e,n);return t},exports.toValue=function(e){return c(e)?e():We(e)},exports.triggerRef=function(e){je(e,4)},exports.unref=We,exports.watch=St,exports.watchEffect=function(e,t){return Nt(e,null,t)},exports.watchPostEffect=function(e,t){return Nt(e,null,{flush:"post"})},exports.watchSyncEffect=function(e,t){return Nt(e,null,{flush:"sync"})};
@@ -1,3 +1,4 @@
1
+ /// <reference types="@vue-mini/miniprogram-api-typings" />
1
2
  import { Ref, ComputedRef, DebuggerOptions, ReactiveMarker } from '@vue/reactivity';
2
3
  export { ComputedGetter, ComputedRef, ComputedSetter, CustomRefFactory, DebuggerEvent, DebuggerEventExtraInfo, DebuggerOptions, DeepReadonly, EffectScheduler, EffectScope, MaybeRef, MaybeRefOrGetter, Raw, Reactive, ReactiveEffect, ReactiveEffectOptions, ReactiveEffectRunner, ReactiveFlags, Ref, ShallowReactive, ShallowRef, ShallowUnwrapRef, ToRef, ToRefs, TrackOpTypes, TriggerOpTypes, UnwrapNestedRefs, UnwrapRef, WritableComputedOptions, WritableComputedRef, computed, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';
3
4
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * vue-mini v1.0.0-rc.13
2
+ * vue-mini v1.0.0-rc.15
3
3
  * https://github.com/vue-mini/vue-mini
4
4
  * (c) 2019-present Yang Mingshan
5
5
  * @license MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-mini/core",
3
- "version": "1.0.0-rc.13",
3
+ "version": "1.0.0-rc.15",
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.4.30",
35
+ "@vue/reactivity": "3.4.31",
36
36
  "@vue-mini/miniprogram-api-typings": "3.12.2-patch.1"
37
37
  }
38
38
  }