yann-useorderfun 0.1.0 → 0.1.2

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.
package/dist/index.js CHANGED
@@ -1,60 +1,60 @@
1
- /*! yann-useorderfun v0.1.0 by Yann */
2
- import { ref as E, readonly as G } from "vue";
3
- var Qt = typeof global == "object" && global && global.Object === Object && global;
4
- const At = Qt;
5
- var kt = typeof self == "object" && self && self.Object === Object && self, te = At || kt || Function("return this")();
6
- const p = te;
7
- var ee = p.Symbol;
8
- const T = ee;
9
- var Ot = Object.prototype, re = Ot.hasOwnProperty, ne = Ot.toString, A = T ? T.toStringTag : void 0;
10
- function ae(t) {
11
- var e = re.call(t, A), r = t[A];
1
+ /*! yann-useorderfun v0.1.2 by Yann */
2
+ import { isRef as kt, ref as d, watch as te, readonly as w } from "vue";
3
+ var ee = typeof global == "object" && global && global.Object === Object && global;
4
+ const Et = ee;
5
+ var re = typeof self == "object" && self && self.Object === Object && self, ne = Et || re || Function("return this")();
6
+ const p = ne;
7
+ var ae = p.Symbol;
8
+ const m = ae;
9
+ var Ct = Object.prototype, oe = Ct.hasOwnProperty, se = Ct.toString, E = m ? m.toStringTag : void 0;
10
+ function ie(t) {
11
+ var e = oe.call(t, E), r = t[E];
12
12
  try {
13
- t[A] = void 0;
13
+ t[E] = void 0;
14
14
  var n = !0;
15
15
  } catch {
16
16
  }
17
- var c = ne.call(t);
18
- return n && (e ? t[A] = r : delete t[A]), c;
17
+ var s = se.call(t);
18
+ return n && (e ? t[E] = r : delete t[E]), s;
19
19
  }
20
- var oe = Object.prototype, ie = oe.toString;
21
- function se(t) {
22
- return ie.call(t);
20
+ var ce = Object.prototype, ue = ce.toString;
21
+ function fe(t) {
22
+ return ue.call(t);
23
23
  }
24
- var ce = "[object Null]", ue = "[object Undefined]", rt = T ? T.toStringTag : void 0;
25
- function C(t) {
26
- return t == null ? t === void 0 ? ue : ce : rt && rt in Object(t) ? ae(t) : se(t);
24
+ var le = "[object Null]", pe = "[object Undefined]", st = m ? m.toStringTag : void 0;
25
+ function M(t) {
26
+ return t == null ? t === void 0 ? pe : le : st && st in Object(t) ? ie(t) : fe(t);
27
27
  }
28
- function I(t) {
28
+ function D(t) {
29
29
  return t != null && typeof t == "object";
30
30
  }
31
- var fe = Array.isArray;
32
- const M = fe;
33
- function x(t) {
31
+ var ge = Array.isArray;
32
+ const O = ge;
33
+ function U(t) {
34
34
  var e = typeof t;
35
35
  return t != null && (e == "object" || e == "function");
36
36
  }
37
- var le = "[object AsyncFunction]", pe = "[object Function]", ge = "[object GeneratorFunction]", be = "[object Proxy]";
38
- function St(t) {
39
- if (!x(t))
37
+ var he = "[object AsyncFunction]", be = "[object Function]", de = "[object GeneratorFunction]", ye = "[object Proxy]";
38
+ function It(t) {
39
+ if (!U(t))
40
40
  return !1;
41
- var e = C(t);
42
- return e == pe || e == ge || e == le || e == be;
41
+ var e = M(t);
42
+ return e == be || e == de || e == he || e == ye;
43
43
  }
44
- var he = p["__core-js_shared__"];
45
- const N = he;
46
- var nt = function() {
47
- var t = /[^.]+$/.exec(N && N.keys && N.keys.IE_PROTO || "");
44
+ var ve = p["__core-js_shared__"];
45
+ const R = ve;
46
+ var it = function() {
47
+ var t = /[^.]+$/.exec(R && R.keys && R.keys.IE_PROTO || "");
48
48
  return t ? "Symbol(src)_1." + t : "";
49
49
  }();
50
- function de(t) {
51
- return !!nt && nt in t;
50
+ function $e(t) {
51
+ return !!it && it in t;
52
52
  }
53
- var ye = Function.prototype, ve = ye.toString;
54
- function v(t) {
53
+ var _e = Function.prototype, Te = _e.toString;
54
+ function _(t) {
55
55
  if (t != null) {
56
56
  try {
57
- return ve.call(t);
57
+ return Te.call(t);
58
58
  } catch {
59
59
  }
60
60
  try {
@@ -64,255 +64,255 @@ function v(t) {
64
64
  }
65
65
  return "";
66
66
  }
67
- var $e = /[\\^$.*+?()[\]{}|]/g, _e = /^\[object .+?Constructor\]$/, Te = Function.prototype, je = Object.prototype, we = Te.toString, me = je.hasOwnProperty, Ae = RegExp(
68
- "^" + we.call(me).replace($e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
67
+ var je = /[\\^$.*+?()[\]{}|]/g, we = /^\[object .+?Constructor\]$/, me = Function.prototype, Oe = Object.prototype, Ae = me.toString, Se = Oe.hasOwnProperty, Pe = RegExp(
68
+ "^" + Ae.call(Se).replace(je, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
69
69
  );
70
- function Oe(t) {
71
- if (!x(t) || de(t))
70
+ function Ee(t) {
71
+ if (!U(t) || $e(t))
72
72
  return !1;
73
- var e = St(t) ? Ae : _e;
74
- return e.test(v(t));
73
+ var e = It(t) ? Pe : we;
74
+ return e.test(_(t));
75
75
  }
76
- function Se(t, e) {
76
+ function Ce(t, e) {
77
77
  return t == null ? void 0 : t[e];
78
78
  }
79
- function $(t, e) {
80
- var r = Se(t, e);
81
- return Oe(r) ? r : void 0;
79
+ function T(t, e) {
80
+ var r = Ce(t, e);
81
+ return Ee(r) ? r : void 0;
82
82
  }
83
- var Pe = $(p, "WeakMap");
84
- const z = Pe;
85
- var at = Object.create, Ce = function() {
83
+ var Ie = T(p, "WeakMap");
84
+ const H = Ie;
85
+ var ct = Object.create, xe = function() {
86
86
  function t() {
87
87
  }
88
88
  return function(e) {
89
- if (!x(e))
89
+ if (!U(e))
90
90
  return {};
91
- if (at)
92
- return at(e);
91
+ if (ct)
92
+ return ct(e);
93
93
  t.prototype = e;
94
94
  var r = new t();
95
95
  return t.prototype = void 0, r;
96
96
  };
97
97
  }();
98
- const Ie = Ce;
99
- function xe(t, e) {
98
+ const Fe = xe;
99
+ function Me(t, e) {
100
100
  var r = -1, n = t.length;
101
101
  for (e || (e = Array(n)); ++r < n; )
102
102
  e[r] = t[r];
103
103
  return e;
104
104
  }
105
- var Ee = function() {
105
+ var De = function() {
106
106
  try {
107
- var t = $(Object, "defineProperty");
107
+ var t = T(Object, "defineProperty");
108
108
  return t({}, "", {}), t;
109
109
  } catch {
110
110
  }
111
111
  }();
112
- const ot = Ee;
113
- function Fe(t, e) {
112
+ const ut = De;
113
+ function Ue(t, e) {
114
114
  for (var r = -1, n = t == null ? 0 : t.length; ++r < n && e(t[r], r, t) !== !1; )
115
115
  ;
116
116
  return t;
117
117
  }
118
- var Me = 9007199254740991, De = /^(?:0|[1-9]\d*)$/;
119
- function Ue(t, e) {
118
+ var Be = 9007199254740991, Le = /^(?:0|[1-9]\d*)$/;
119
+ function Ge(t, e) {
120
120
  var r = typeof t;
121
- return e = e ?? Me, !!e && (r == "number" || r != "symbol" && De.test(t)) && t > -1 && t % 1 == 0 && t < e;
121
+ return e = e ?? Be, !!e && (r == "number" || r != "symbol" && Le.test(t)) && t > -1 && t % 1 == 0 && t < e;
122
122
  }
123
- function Pt(t, e, r) {
124
- e == "__proto__" && ot ? ot(t, e, {
123
+ function xt(t, e, r) {
124
+ e == "__proto__" && ut ? ut(t, e, {
125
125
  configurable: !0,
126
126
  enumerable: !0,
127
127
  value: r,
128
128
  writable: !0
129
129
  }) : t[e] = r;
130
130
  }
131
- function Ct(t, e) {
131
+ function Ft(t, e) {
132
132
  return t === e || t !== t && e !== e;
133
133
  }
134
- var Be = Object.prototype, Ge = Be.hasOwnProperty;
135
- function It(t, e, r) {
134
+ var Ne = Object.prototype, ze = Ne.hasOwnProperty;
135
+ function Mt(t, e, r) {
136
136
  var n = t[e];
137
- (!(Ge.call(t, e) && Ct(n, r)) || r === void 0 && !(e in t)) && Pt(t, e, r);
137
+ (!(ze.call(t, e) && Ft(n, r)) || r === void 0 && !(e in t)) && xt(t, e, r);
138
138
  }
139
- function D(t, e, r, n) {
140
- var c = !r;
139
+ function G(t, e, r, n) {
140
+ var s = !r;
141
141
  r || (r = {});
142
- for (var s = -1, a = e.length; ++s < a; ) {
143
- var u = e[s], f = n ? n(r[u], t[u], u, r, t) : void 0;
144
- f === void 0 && (f = t[u]), c ? Pt(r, u, f) : It(r, u, f);
142
+ for (var o = -1, a = e.length; ++o < a; ) {
143
+ var f = e[o], i = n ? n(r[f], t[f], f, r, t) : void 0;
144
+ i === void 0 && (i = t[f]), s ? xt(r, f, i) : Mt(r, f, i);
145
145
  }
146
146
  return r;
147
147
  }
148
- var Ne = 9007199254740991;
149
- function xt(t) {
150
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Ne;
148
+ var Re = 9007199254740991;
149
+ function Dt(t) {
150
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Re;
151
151
  }
152
- function Et(t) {
153
- return t != null && xt(t.length) && !St(t);
152
+ function Ut(t) {
153
+ return t != null && Dt(t.length) && !It(t);
154
154
  }
155
- var Le = Object.prototype;
156
- function V(t) {
157
- var e = t && t.constructor, r = typeof e == "function" && e.prototype || Le;
155
+ var Ke = Object.prototype;
156
+ function Y(t) {
157
+ var e = t && t.constructor, r = typeof e == "function" && e.prototype || Ke;
158
158
  return t === r;
159
159
  }
160
- function ze(t, e) {
160
+ function He(t, e) {
161
161
  for (var r = -1, n = Array(t); ++r < t; )
162
162
  n[r] = e(r);
163
163
  return n;
164
164
  }
165
- var Re = "[object Arguments]";
166
- function it(t) {
167
- return I(t) && C(t) == Re;
165
+ var Ve = "[object Arguments]";
166
+ function ft(t) {
167
+ return D(t) && M(t) == Ve;
168
168
  }
169
- var Ft = Object.prototype, Ke = Ft.hasOwnProperty, He = Ft.propertyIsEnumerable, Ve = it(function() {
169
+ var Bt = Object.prototype, We = Bt.hasOwnProperty, qe = Bt.propertyIsEnumerable, Ye = ft(function() {
170
170
  return arguments;
171
- }()) ? it : function(t) {
172
- return I(t) && Ke.call(t, "callee") && !He.call(t, "callee");
171
+ }()) ? ft : function(t) {
172
+ return D(t) && We.call(t, "callee") && !qe.call(t, "callee");
173
173
  };
174
- const We = Ve;
175
- function qe() {
174
+ const Je = Ye;
175
+ function Xe() {
176
176
  return !1;
177
177
  }
178
- var Mt = typeof exports == "object" && exports && !exports.nodeType && exports, st = Mt && typeof module == "object" && module && !module.nodeType && module, Ye = st && st.exports === Mt, ct = Ye ? p.Buffer : void 0, Je = ct ? ct.isBuffer : void 0, Xe = Je || qe;
179
- const Dt = Xe;
180
- var Ze = "[object Arguments]", Qe = "[object Array]", ke = "[object Boolean]", tr = "[object Date]", er = "[object Error]", rr = "[object Function]", nr = "[object Map]", ar = "[object Number]", or = "[object Object]", ir = "[object RegExp]", sr = "[object Set]", cr = "[object String]", ur = "[object WeakMap]", fr = "[object ArrayBuffer]", lr = "[object DataView]", pr = "[object Float32Array]", gr = "[object Float64Array]", br = "[object Int8Array]", hr = "[object Int16Array]", dr = "[object Int32Array]", yr = "[object Uint8Array]", vr = "[object Uint8ClampedArray]", $r = "[object Uint16Array]", _r = "[object Uint32Array]", i = {};
181
- i[pr] = i[gr] = i[br] = i[hr] = i[dr] = i[yr] = i[vr] = i[$r] = i[_r] = !0;
182
- i[Ze] = i[Qe] = i[fr] = i[ke] = i[lr] = i[tr] = i[er] = i[rr] = i[nr] = i[ar] = i[or] = i[ir] = i[sr] = i[cr] = i[ur] = !1;
183
- function Tr(t) {
184
- return I(t) && xt(t.length) && !!i[C(t)];
178
+ var Lt = typeof exports == "object" && exports && !exports.nodeType && exports, lt = Lt && typeof module == "object" && module && !module.nodeType && module, Ze = lt && lt.exports === Lt, pt = Ze ? p.Buffer : void 0, Qe = pt ? pt.isBuffer : void 0, ke = Qe || Xe;
179
+ const Gt = ke;
180
+ var tr = "[object Arguments]", er = "[object Array]", rr = "[object Boolean]", nr = "[object Date]", ar = "[object Error]", or = "[object Function]", sr = "[object Map]", ir = "[object Number]", cr = "[object Object]", ur = "[object RegExp]", fr = "[object Set]", lr = "[object String]", pr = "[object WeakMap]", gr = "[object ArrayBuffer]", hr = "[object DataView]", br = "[object Float32Array]", dr = "[object Float64Array]", yr = "[object Int8Array]", vr = "[object Int16Array]", $r = "[object Int32Array]", _r = "[object Uint8Array]", Tr = "[object Uint8ClampedArray]", jr = "[object Uint16Array]", wr = "[object Uint32Array]", u = {};
181
+ u[br] = u[dr] = u[yr] = u[vr] = u[$r] = u[_r] = u[Tr] = u[jr] = u[wr] = !0;
182
+ u[tr] = u[er] = u[gr] = u[rr] = u[hr] = u[nr] = u[ar] = u[or] = u[sr] = u[ir] = u[cr] = u[ur] = u[fr] = u[lr] = u[pr] = !1;
183
+ function mr(t) {
184
+ return D(t) && Dt(t.length) && !!u[M(t)];
185
185
  }
186
- function W(t) {
186
+ function J(t) {
187
187
  return function(e) {
188
188
  return t(e);
189
189
  };
190
190
  }
191
- var Ut = typeof exports == "object" && exports && !exports.nodeType && exports, O = Ut && typeof module == "object" && module && !module.nodeType && module, jr = O && O.exports === Ut, L = jr && At.process, wr = function() {
191
+ var Nt = typeof exports == "object" && exports && !exports.nodeType && exports, C = Nt && typeof module == "object" && module && !module.nodeType && module, Or = C && C.exports === Nt, K = Or && Et.process, Ar = function() {
192
192
  try {
193
- var t = O && O.require && O.require("util").types;
194
- return t || L && L.binding && L.binding("util");
193
+ var t = C && C.require && C.require("util").types;
194
+ return t || K && K.binding && K.binding("util");
195
195
  } catch {
196
196
  }
197
197
  }();
198
- const j = wr;
199
- var ut = j && j.isTypedArray, mr = ut ? W(ut) : Tr;
200
- const Ar = mr;
201
- var Or = Object.prototype, Sr = Or.hasOwnProperty;
202
- function Bt(t, e) {
203
- var r = M(t), n = !r && We(t), c = !r && !n && Dt(t), s = !r && !n && !c && Ar(t), a = r || n || c || s, u = a ? ze(t.length, String) : [], f = u.length;
198
+ const A = Ar;
199
+ var gt = A && A.isTypedArray, Sr = gt ? J(gt) : mr;
200
+ const Pr = Sr;
201
+ var Er = Object.prototype, Cr = Er.hasOwnProperty;
202
+ function zt(t, e) {
203
+ var r = O(t), n = !r && Je(t), s = !r && !n && Gt(t), o = !r && !n && !s && Pr(t), a = r || n || s || o, f = a ? He(t.length, String) : [], i = f.length;
204
204
  for (var l in t)
205
- (e || Sr.call(t, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
205
+ (e || Cr.call(t, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
206
206
  (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
207
- c && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
208
- s && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
209
- Ue(l, f))) && u.push(l);
210
- return u;
207
+ s && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
208
+ o && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
209
+ Ge(l, i))) && f.push(l);
210
+ return f;
211
211
  }
212
- function Gt(t, e) {
212
+ function Rt(t, e) {
213
213
  return function(r) {
214
214
  return t(e(r));
215
215
  };
216
216
  }
217
- var Pr = Gt(Object.keys, Object);
218
- const Cr = Pr;
219
- var Ir = Object.prototype, xr = Ir.hasOwnProperty;
220
- function Er(t) {
221
- if (!V(t))
222
- return Cr(t);
217
+ var Ir = Rt(Object.keys, Object);
218
+ const xr = Ir;
219
+ var Fr = Object.prototype, Mr = Fr.hasOwnProperty;
220
+ function Dr(t) {
221
+ if (!Y(t))
222
+ return xr(t);
223
223
  var e = [];
224
224
  for (var r in Object(t))
225
- xr.call(t, r) && r != "constructor" && e.push(r);
225
+ Mr.call(t, r) && r != "constructor" && e.push(r);
226
226
  return e;
227
227
  }
228
- function q(t) {
229
- return Et(t) ? Bt(t) : Er(t);
228
+ function X(t) {
229
+ return Ut(t) ? zt(t) : Dr(t);
230
230
  }
231
- function Fr(t) {
231
+ function Ur(t) {
232
232
  var e = [];
233
233
  if (t != null)
234
234
  for (var r in Object(t))
235
235
  e.push(r);
236
236
  return e;
237
237
  }
238
- var Mr = Object.prototype, Dr = Mr.hasOwnProperty;
239
- function Ur(t) {
240
- if (!x(t))
241
- return Fr(t);
242
- var e = V(t), r = [];
238
+ var Br = Object.prototype, Lr = Br.hasOwnProperty;
239
+ function Gr(t) {
240
+ if (!U(t))
241
+ return Ur(t);
242
+ var e = Y(t), r = [];
243
243
  for (var n in t)
244
- n == "constructor" && (e || !Dr.call(t, n)) || r.push(n);
244
+ n == "constructor" && (e || !Lr.call(t, n)) || r.push(n);
245
245
  return r;
246
246
  }
247
- function Y(t) {
248
- return Et(t) ? Bt(t, !0) : Ur(t);
247
+ function Z(t) {
248
+ return Ut(t) ? zt(t, !0) : Gr(t);
249
249
  }
250
- var Br = $(Object, "create");
251
- const S = Br;
252
- function Gr() {
253
- this.__data__ = S ? S(null) : {}, this.size = 0;
250
+ var Nr = T(Object, "create");
251
+ const I = Nr;
252
+ function zr() {
253
+ this.__data__ = I ? I(null) : {}, this.size = 0;
254
254
  }
255
- function Nr(t) {
255
+ function Rr(t) {
256
256
  var e = this.has(t) && delete this.__data__[t];
257
257
  return this.size -= e ? 1 : 0, e;
258
258
  }
259
- var Lr = "__lodash_hash_undefined__", zr = Object.prototype, Rr = zr.hasOwnProperty;
260
- function Kr(t) {
259
+ var Kr = "__lodash_hash_undefined__", Hr = Object.prototype, Vr = Hr.hasOwnProperty;
260
+ function Wr(t) {
261
261
  var e = this.__data__;
262
- if (S) {
262
+ if (I) {
263
263
  var r = e[t];
264
- return r === Lr ? void 0 : r;
264
+ return r === Kr ? void 0 : r;
265
265
  }
266
- return Rr.call(e, t) ? e[t] : void 0;
266
+ return Vr.call(e, t) ? e[t] : void 0;
267
267
  }
268
- var Hr = Object.prototype, Vr = Hr.hasOwnProperty;
269
- function Wr(t) {
268
+ var qr = Object.prototype, Yr = qr.hasOwnProperty;
269
+ function Jr(t) {
270
270
  var e = this.__data__;
271
- return S ? e[t] !== void 0 : Vr.call(e, t);
271
+ return I ? e[t] !== void 0 : Yr.call(e, t);
272
272
  }
273
- var qr = "__lodash_hash_undefined__";
274
- function Yr(t, e) {
273
+ var Xr = "__lodash_hash_undefined__";
274
+ function Zr(t, e) {
275
275
  var r = this.__data__;
276
- return this.size += this.has(t) ? 0 : 1, r[t] = S && e === void 0 ? qr : e, this;
276
+ return this.size += this.has(t) ? 0 : 1, r[t] = I && e === void 0 ? Xr : e, this;
277
277
  }
278
- function y(t) {
278
+ function $(t) {
279
279
  var e = -1, r = t == null ? 0 : t.length;
280
280
  for (this.clear(); ++e < r; ) {
281
281
  var n = t[e];
282
282
  this.set(n[0], n[1]);
283
283
  }
284
284
  }
285
- y.prototype.clear = Gr;
286
- y.prototype.delete = Nr;
287
- y.prototype.get = Kr;
288
- y.prototype.has = Wr;
289
- y.prototype.set = Yr;
290
- function Jr() {
285
+ $.prototype.clear = zr;
286
+ $.prototype.delete = Rr;
287
+ $.prototype.get = Wr;
288
+ $.prototype.has = Jr;
289
+ $.prototype.set = Zr;
290
+ function Qr() {
291
291
  this.__data__ = [], this.size = 0;
292
292
  }
293
- function U(t, e) {
293
+ function N(t, e) {
294
294
  for (var r = t.length; r--; )
295
- if (Ct(t[r][0], e))
295
+ if (Ft(t[r][0], e))
296
296
  return r;
297
297
  return -1;
298
298
  }
299
- var Xr = Array.prototype, Zr = Xr.splice;
300
- function Qr(t) {
301
- var e = this.__data__, r = U(e, t);
299
+ var kr = Array.prototype, tn = kr.splice;
300
+ function en(t) {
301
+ var e = this.__data__, r = N(e, t);
302
302
  if (r < 0)
303
303
  return !1;
304
304
  var n = e.length - 1;
305
- return r == n ? e.pop() : Zr.call(e, r, 1), --this.size, !0;
305
+ return r == n ? e.pop() : tn.call(e, r, 1), --this.size, !0;
306
306
  }
307
- function kr(t) {
308
- var e = this.__data__, r = U(e, t);
307
+ function rn(t) {
308
+ var e = this.__data__, r = N(e, t);
309
309
  return r < 0 ? void 0 : e[r][1];
310
310
  }
311
- function tn(t) {
312
- return U(this.__data__, t) > -1;
311
+ function nn(t) {
312
+ return N(this.__data__, t) > -1;
313
313
  }
314
- function en(t, e) {
315
- var r = this.__data__, n = U(r, t);
314
+ function an(t, e) {
315
+ var r = this.__data__, n = N(r, t);
316
316
  return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
317
317
  }
318
318
  function g(t) {
@@ -322,341 +322,384 @@ function g(t) {
322
322
  this.set(n[0], n[1]);
323
323
  }
324
324
  }
325
- g.prototype.clear = Jr;
326
- g.prototype.delete = Qr;
327
- g.prototype.get = kr;
328
- g.prototype.has = tn;
329
- g.prototype.set = en;
330
- var rn = $(p, "Map");
331
- const P = rn;
332
- function nn() {
325
+ g.prototype.clear = Qr;
326
+ g.prototype.delete = en;
327
+ g.prototype.get = rn;
328
+ g.prototype.has = nn;
329
+ g.prototype.set = an;
330
+ var on = T(p, "Map");
331
+ const x = on;
332
+ function sn() {
333
333
  this.size = 0, this.__data__ = {
334
- hash: new y(),
335
- map: new (P || g)(),
336
- string: new y()
334
+ hash: new $(),
335
+ map: new (x || g)(),
336
+ string: new $()
337
337
  };
338
338
  }
339
- function an(t) {
339
+ function cn(t) {
340
340
  var e = typeof t;
341
341
  return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
342
342
  }
343
- function B(t, e) {
343
+ function z(t, e) {
344
344
  var r = t.__data__;
345
- return an(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
345
+ return cn(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
346
346
  }
347
- function on(t) {
348
- var e = B(this, t).delete(t);
347
+ function un(t) {
348
+ var e = z(this, t).delete(t);
349
349
  return this.size -= e ? 1 : 0, e;
350
350
  }
351
- function sn(t) {
352
- return B(this, t).get(t);
351
+ function fn(t) {
352
+ return z(this, t).get(t);
353
353
  }
354
- function cn(t) {
355
- return B(this, t).has(t);
354
+ function ln(t) {
355
+ return z(this, t).has(t);
356
356
  }
357
- function un(t, e) {
358
- var r = B(this, t), n = r.size;
357
+ function pn(t, e) {
358
+ var r = z(this, t), n = r.size;
359
359
  return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
360
360
  }
361
- function w(t) {
361
+ function S(t) {
362
362
  var e = -1, r = t == null ? 0 : t.length;
363
363
  for (this.clear(); ++e < r; ) {
364
364
  var n = t[e];
365
365
  this.set(n[0], n[1]);
366
366
  }
367
367
  }
368
- w.prototype.clear = nn;
369
- w.prototype.delete = on;
370
- w.prototype.get = sn;
371
- w.prototype.has = cn;
372
- w.prototype.set = un;
373
- function Nt(t, e) {
374
- for (var r = -1, n = e.length, c = t.length; ++r < n; )
375
- t[c + r] = e[r];
368
+ S.prototype.clear = sn;
369
+ S.prototype.delete = un;
370
+ S.prototype.get = fn;
371
+ S.prototype.has = ln;
372
+ S.prototype.set = pn;
373
+ function Kt(t, e) {
374
+ for (var r = -1, n = e.length, s = t.length; ++r < n; )
375
+ t[s + r] = e[r];
376
376
  return t;
377
377
  }
378
- var fn = Gt(Object.getPrototypeOf, Object);
379
- const Lt = fn;
380
- function ln() {
378
+ var gn = Rt(Object.getPrototypeOf, Object);
379
+ const Ht = gn;
380
+ function hn() {
381
381
  this.__data__ = new g(), this.size = 0;
382
382
  }
383
- function pn(t) {
383
+ function bn(t) {
384
384
  var e = this.__data__, r = e.delete(t);
385
385
  return this.size = e.size, r;
386
386
  }
387
- function gn(t) {
387
+ function dn(t) {
388
388
  return this.__data__.get(t);
389
389
  }
390
- function bn(t) {
390
+ function yn(t) {
391
391
  return this.__data__.has(t);
392
392
  }
393
- var hn = 200;
394
- function dn(t, e) {
393
+ var vn = 200;
394
+ function $n(t, e) {
395
395
  var r = this.__data__;
396
396
  if (r instanceof g) {
397
397
  var n = r.__data__;
398
- if (!P || n.length < hn - 1)
398
+ if (!x || n.length < vn - 1)
399
399
  return n.push([t, e]), this.size = ++r.size, this;
400
- r = this.__data__ = new w(n);
400
+ r = this.__data__ = new S(n);
401
401
  }
402
402
  return r.set(t, e), this.size = r.size, this;
403
403
  }
404
- function m(t) {
404
+ function P(t) {
405
405
  var e = this.__data__ = new g(t);
406
406
  this.size = e.size;
407
407
  }
408
- m.prototype.clear = ln;
409
- m.prototype.delete = pn;
410
- m.prototype.get = gn;
411
- m.prototype.has = bn;
412
- m.prototype.set = dn;
413
- function yn(t, e) {
414
- return t && D(e, q(e), t);
408
+ P.prototype.clear = hn;
409
+ P.prototype.delete = bn;
410
+ P.prototype.get = dn;
411
+ P.prototype.has = yn;
412
+ P.prototype.set = $n;
413
+ function _n(t, e) {
414
+ return t && G(e, X(e), t);
415
415
  }
416
- function vn(t, e) {
417
- return t && D(e, Y(e), t);
416
+ function Tn(t, e) {
417
+ return t && G(e, Z(e), t);
418
418
  }
419
- var zt = typeof exports == "object" && exports && !exports.nodeType && exports, ft = zt && typeof module == "object" && module && !module.nodeType && module, $n = ft && ft.exports === zt, lt = $n ? p.Buffer : void 0, pt = lt ? lt.allocUnsafe : void 0;
420
- function _n(t, e) {
419
+ var Vt = typeof exports == "object" && exports && !exports.nodeType && exports, ht = Vt && typeof module == "object" && module && !module.nodeType && module, jn = ht && ht.exports === Vt, bt = jn ? p.Buffer : void 0, dt = bt ? bt.allocUnsafe : void 0;
420
+ function wn(t, e) {
421
421
  if (e)
422
422
  return t.slice();
423
- var r = t.length, n = pt ? pt(r) : new t.constructor(r);
423
+ var r = t.length, n = dt ? dt(r) : new t.constructor(r);
424
424
  return t.copy(n), n;
425
425
  }
426
- function Tn(t, e) {
427
- for (var r = -1, n = t == null ? 0 : t.length, c = 0, s = []; ++r < n; ) {
426
+ function mn(t, e) {
427
+ for (var r = -1, n = t == null ? 0 : t.length, s = 0, o = []; ++r < n; ) {
428
428
  var a = t[r];
429
- e(a, r, t) && (s[c++] = a);
429
+ e(a, r, t) && (o[s++] = a);
430
430
  }
431
- return s;
431
+ return o;
432
432
  }
433
- function Rt() {
433
+ function Wt() {
434
434
  return [];
435
435
  }
436
- var jn = Object.prototype, wn = jn.propertyIsEnumerable, gt = Object.getOwnPropertySymbols, mn = gt ? function(t) {
437
- return t == null ? [] : (t = Object(t), Tn(gt(t), function(e) {
438
- return wn.call(t, e);
436
+ var On = Object.prototype, An = On.propertyIsEnumerable, yt = Object.getOwnPropertySymbols, Sn = yt ? function(t) {
437
+ return t == null ? [] : (t = Object(t), mn(yt(t), function(e) {
438
+ return An.call(t, e);
439
439
  }));
440
- } : Rt;
441
- const J = mn;
442
- function An(t, e) {
443
- return D(t, J(t), e);
440
+ } : Wt;
441
+ const Q = Sn;
442
+ function Pn(t, e) {
443
+ return G(t, Q(t), e);
444
444
  }
445
- var On = Object.getOwnPropertySymbols, Sn = On ? function(t) {
445
+ var En = Object.getOwnPropertySymbols, Cn = En ? function(t) {
446
446
  for (var e = []; t; )
447
- Nt(e, J(t)), t = Lt(t);
447
+ Kt(e, Q(t)), t = Ht(t);
448
448
  return e;
449
- } : Rt;
450
- const Kt = Sn;
451
- function Pn(t, e) {
452
- return D(t, Kt(t), e);
449
+ } : Wt;
450
+ const qt = Cn;
451
+ function In(t, e) {
452
+ return G(t, qt(t), e);
453
453
  }
454
- function Ht(t, e, r) {
454
+ function Yt(t, e, r) {
455
455
  var n = e(t);
456
- return M(t) ? n : Nt(n, r(t));
457
- }
458
- function Cn(t) {
459
- return Ht(t, q, J);
460
- }
461
- function In(t) {
462
- return Ht(t, Y, Kt);
463
- }
464
- var xn = $(p, "DataView");
465
- const R = xn;
466
- var En = $(p, "Promise");
467
- const K = En;
468
- var Fn = $(p, "Set");
469
- const H = Fn;
470
- var bt = "[object Map]", Mn = "[object Object]", ht = "[object Promise]", dt = "[object Set]", yt = "[object WeakMap]", vt = "[object DataView]", Dn = v(R), Un = v(P), Bn = v(K), Gn = v(H), Nn = v(z), d = C;
471
- (R && d(new R(new ArrayBuffer(1))) != vt || P && d(new P()) != bt || K && d(K.resolve()) != ht || H && d(new H()) != dt || z && d(new z()) != yt) && (d = function(t) {
472
- var e = C(t), r = e == Mn ? t.constructor : void 0, n = r ? v(r) : "";
456
+ return O(t) ? n : Kt(n, r(t));
457
+ }
458
+ function xn(t) {
459
+ return Yt(t, X, Q);
460
+ }
461
+ function Fn(t) {
462
+ return Yt(t, Z, qt);
463
+ }
464
+ var Mn = T(p, "DataView");
465
+ const V = Mn;
466
+ var Dn = T(p, "Promise");
467
+ const W = Dn;
468
+ var Un = T(p, "Set");
469
+ const q = Un;
470
+ var vt = "[object Map]", Bn = "[object Object]", $t = "[object Promise]", _t = "[object Set]", Tt = "[object WeakMap]", jt = "[object DataView]", Ln = _(V), Gn = _(x), Nn = _(W), zn = _(q), Rn = _(H), v = M;
471
+ (V && v(new V(new ArrayBuffer(1))) != jt || x && v(new x()) != vt || W && v(W.resolve()) != $t || q && v(new q()) != _t || H && v(new H()) != Tt) && (v = function(t) {
472
+ var e = M(t), r = e == Bn ? t.constructor : void 0, n = r ? _(r) : "";
473
473
  if (n)
474
474
  switch (n) {
475
- case Dn:
476
- return vt;
477
- case Un:
478
- return bt;
479
- case Bn:
480
- return ht;
475
+ case Ln:
476
+ return jt;
481
477
  case Gn:
482
- return dt;
478
+ return vt;
483
479
  case Nn:
484
- return yt;
480
+ return $t;
481
+ case zn:
482
+ return _t;
483
+ case Rn:
484
+ return Tt;
485
485
  }
486
486
  return e;
487
487
  });
488
- const X = d;
489
- var Ln = Object.prototype, zn = Ln.hasOwnProperty;
490
- function Rn(t) {
488
+ const k = v;
489
+ var Kn = Object.prototype, Hn = Kn.hasOwnProperty;
490
+ function Vn(t) {
491
491
  var e = t.length, r = new t.constructor(e);
492
- return e && typeof t[0] == "string" && zn.call(t, "index") && (r.index = t.index, r.input = t.input), r;
492
+ return e && typeof t[0] == "string" && Hn.call(t, "index") && (r.index = t.index, r.input = t.input), r;
493
493
  }
494
- var Kn = p.Uint8Array;
495
- const $t = Kn;
496
- function Z(t) {
494
+ var Wn = p.Uint8Array;
495
+ const wt = Wn;
496
+ function tt(t) {
497
497
  var e = new t.constructor(t.byteLength);
498
- return new $t(e).set(new $t(t)), e;
498
+ return new wt(e).set(new wt(t)), e;
499
499
  }
500
- function Hn(t, e) {
501
- var r = e ? Z(t.buffer) : t.buffer;
500
+ function qn(t, e) {
501
+ var r = e ? tt(t.buffer) : t.buffer;
502
502
  return new t.constructor(r, t.byteOffset, t.byteLength);
503
503
  }
504
- var Vn = /\w*$/;
505
- function Wn(t) {
506
- var e = new t.constructor(t.source, Vn.exec(t));
504
+ var Yn = /\w*$/;
505
+ function Jn(t) {
506
+ var e = new t.constructor(t.source, Yn.exec(t));
507
507
  return e.lastIndex = t.lastIndex, e;
508
508
  }
509
- var _t = T ? T.prototype : void 0, Tt = _t ? _t.valueOf : void 0;
510
- function qn(t) {
511
- return Tt ? Object(Tt.call(t)) : {};
509
+ var mt = m ? m.prototype : void 0, Ot = mt ? mt.valueOf : void 0;
510
+ function Xn(t) {
511
+ return Ot ? Object(Ot.call(t)) : {};
512
512
  }
513
- function Yn(t, e) {
514
- var r = e ? Z(t.buffer) : t.buffer;
513
+ function Zn(t, e) {
514
+ var r = e ? tt(t.buffer) : t.buffer;
515
515
  return new t.constructor(r, t.byteOffset, t.length);
516
516
  }
517
- var Jn = "[object Boolean]", Xn = "[object Date]", Zn = "[object Map]", Qn = "[object Number]", kn = "[object RegExp]", ta = "[object Set]", ea = "[object String]", ra = "[object Symbol]", na = "[object ArrayBuffer]", aa = "[object DataView]", oa = "[object Float32Array]", ia = "[object Float64Array]", sa = "[object Int8Array]", ca = "[object Int16Array]", ua = "[object Int32Array]", fa = "[object Uint8Array]", la = "[object Uint8ClampedArray]", pa = "[object Uint16Array]", ga = "[object Uint32Array]";
518
- function ba(t, e, r) {
517
+ var Qn = "[object Boolean]", kn = "[object Date]", ta = "[object Map]", ea = "[object Number]", ra = "[object RegExp]", na = "[object Set]", aa = "[object String]", oa = "[object Symbol]", sa = "[object ArrayBuffer]", ia = "[object DataView]", ca = "[object Float32Array]", ua = "[object Float64Array]", fa = "[object Int8Array]", la = "[object Int16Array]", pa = "[object Int32Array]", ga = "[object Uint8Array]", ha = "[object Uint8ClampedArray]", ba = "[object Uint16Array]", da = "[object Uint32Array]";
518
+ function ya(t, e, r) {
519
519
  var n = t.constructor;
520
520
  switch (e) {
521
- case na:
522
- return Z(t);
523
- case Jn:
524
- case Xn:
521
+ case sa:
522
+ return tt(t);
523
+ case Qn:
524
+ case kn:
525
525
  return new n(+t);
526
- case aa:
527
- return Hn(t, r);
528
- case oa:
529
526
  case ia:
530
- case sa:
527
+ return qn(t, r);
531
528
  case ca:
532
529
  case ua:
533
530
  case fa:
534
531
  case la:
535
532
  case pa:
536
533
  case ga:
537
- return Yn(t, r);
538
- case Zn:
534
+ case ha:
535
+ case ba:
536
+ case da:
537
+ return Zn(t, r);
538
+ case ta:
539
539
  return new n();
540
- case Qn:
541
540
  case ea:
541
+ case aa:
542
542
  return new n(t);
543
- case kn:
544
- return Wn(t);
545
- case ta:
546
- return new n();
547
543
  case ra:
548
- return qn(t);
544
+ return Jn(t);
545
+ case na:
546
+ return new n();
547
+ case oa:
548
+ return Xn(t);
549
549
  }
550
550
  }
551
- function ha(t) {
552
- return typeof t.constructor == "function" && !V(t) ? Ie(Lt(t)) : {};
553
- }
554
- var da = "[object Map]";
555
- function ya(t) {
556
- return I(t) && X(t) == da;
557
- }
558
- var jt = j && j.isMap, va = jt ? W(jt) : ya;
559
- const $a = va;
560
- var _a = "[object Set]";
561
- function Ta(t) {
562
- return I(t) && X(t) == _a;
563
- }
564
- var wt = j && j.isSet, ja = wt ? W(wt) : Ta;
565
- const wa = ja;
566
- var ma = 1, Aa = 2, Oa = 4, Vt = "[object Arguments]", Sa = "[object Array]", Pa = "[object Boolean]", Ca = "[object Date]", Ia = "[object Error]", Wt = "[object Function]", xa = "[object GeneratorFunction]", Ea = "[object Map]", Fa = "[object Number]", qt = "[object Object]", Ma = "[object RegExp]", Da = "[object Set]", Ua = "[object String]", Ba = "[object Symbol]", Ga = "[object WeakMap]", Na = "[object ArrayBuffer]", La = "[object DataView]", za = "[object Float32Array]", Ra = "[object Float64Array]", Ka = "[object Int8Array]", Ha = "[object Int16Array]", Va = "[object Int32Array]", Wa = "[object Uint8Array]", qa = "[object Uint8ClampedArray]", Ya = "[object Uint16Array]", Ja = "[object Uint32Array]", o = {};
567
- o[Vt] = o[Sa] = o[Na] = o[La] = o[Pa] = o[Ca] = o[za] = o[Ra] = o[Ka] = o[Ha] = o[Va] = o[Ea] = o[Fa] = o[qt] = o[Ma] = o[Da] = o[Ua] = o[Ba] = o[Wa] = o[qa] = o[Ya] = o[Ja] = !0;
568
- o[Ia] = o[Wt] = o[Ga] = !1;
569
- function F(t, e, r, n, c, s) {
570
- var a, u = e & ma, f = e & Aa, l = e & Oa;
571
- if (r && (a = c ? r(t, n, c, s) : r(t)), a !== void 0)
551
+ function va(t) {
552
+ return typeof t.constructor == "function" && !Y(t) ? Fe(Ht(t)) : {};
553
+ }
554
+ var $a = "[object Map]";
555
+ function _a(t) {
556
+ return D(t) && k(t) == $a;
557
+ }
558
+ var At = A && A.isMap, Ta = At ? J(At) : _a;
559
+ const ja = Ta;
560
+ var wa = "[object Set]";
561
+ function ma(t) {
562
+ return D(t) && k(t) == wa;
563
+ }
564
+ var St = A && A.isSet, Oa = St ? J(St) : ma;
565
+ const Aa = Oa;
566
+ var Sa = 1, Pa = 2, Ea = 4, Jt = "[object Arguments]", Ca = "[object Array]", Ia = "[object Boolean]", xa = "[object Date]", Fa = "[object Error]", Xt = "[object Function]", Ma = "[object GeneratorFunction]", Da = "[object Map]", Ua = "[object Number]", Zt = "[object Object]", Ba = "[object RegExp]", La = "[object Set]", Ga = "[object String]", Na = "[object Symbol]", za = "[object WeakMap]", Ra = "[object ArrayBuffer]", Ka = "[object DataView]", Ha = "[object Float32Array]", Va = "[object Float64Array]", Wa = "[object Int8Array]", qa = "[object Int16Array]", Ya = "[object Int32Array]", Ja = "[object Uint8Array]", Xa = "[object Uint8ClampedArray]", Za = "[object Uint16Array]", Qa = "[object Uint32Array]", c = {};
567
+ c[Jt] = c[Ca] = c[Ra] = c[Ka] = c[Ia] = c[xa] = c[Ha] = c[Va] = c[Wa] = c[qa] = c[Ya] = c[Da] = c[Ua] = c[Zt] = c[Ba] = c[La] = c[Ga] = c[Na] = c[Ja] = c[Xa] = c[Za] = c[Qa] = !0;
568
+ c[Fa] = c[Xt] = c[za] = !1;
569
+ function B(t, e, r, n, s, o) {
570
+ var a, f = e & Sa, i = e & Pa, l = e & Ea;
571
+ if (r && (a = s ? r(t, n, s, o) : r(t)), a !== void 0)
572
572
  return a;
573
- if (!x(t))
573
+ if (!U(t))
574
574
  return t;
575
- var Q = M(t);
576
- if (Q) {
577
- if (a = Rn(t), !u)
578
- return xe(t, a);
575
+ var h = O(t);
576
+ if (h) {
577
+ if (a = Vn(t), !f)
578
+ return Me(t, a);
579
579
  } else {
580
- var _ = X(t), k = _ == Wt || _ == xa;
581
- if (Dt(t))
582
- return _n(t, u);
583
- if (_ == qt || _ == Vt || k && !c) {
584
- if (a = f || k ? {} : ha(t), !u)
585
- return f ? Pn(t, vn(a, t)) : An(t, yn(a, t));
580
+ var j = k(t), nt = j == Xt || j == Ma;
581
+ if (Gt(t))
582
+ return wn(t, f);
583
+ if (j == Zt || j == Jt || nt && !s) {
584
+ if (a = i || nt ? {} : va(t), !f)
585
+ return i ? In(t, Tn(a, t)) : Pn(t, _n(a, t));
586
586
  } else {
587
- if (!o[_])
588
- return c ? t : {};
589
- a = ba(t, _, u);
587
+ if (!c[j])
588
+ return s ? t : {};
589
+ a = ya(t, j, f);
590
590
  }
591
591
  }
592
- s || (s = new m());
593
- var tt = s.get(t);
594
- if (tt)
595
- return tt;
596
- s.set(t, a), wa(t) ? t.forEach(function(b) {
597
- a.add(F(b, e, r, b, t, s));
598
- }) : $a(t) && t.forEach(function(b, h) {
599
- a.set(h, F(b, e, r, h, t, s));
592
+ o || (o = new P());
593
+ var at = o.get(t);
594
+ if (at)
595
+ return at;
596
+ o.set(t, a), Aa(t) ? t.forEach(function(b) {
597
+ a.add(B(b, e, r, b, t, o));
598
+ }) : ja(t) && t.forEach(function(b, y) {
599
+ a.set(y, B(b, e, r, y, t, o));
600
600
  });
601
- var Zt = l ? f ? In : Cn : f ? Y : q, et = Q ? void 0 : Zt(t);
602
- return Fe(et || t, function(b, h) {
603
- et && (h = b, b = t[h]), It(a, h, F(b, e, r, h, t, s));
601
+ var Qt = l ? i ? Fn : xn : i ? Z : X, ot = h ? void 0 : Qt(t);
602
+ return Ue(ot || t, function(b, y) {
603
+ ot && (y = b, b = t[y]), Mt(a, y, B(b, e, r, y, t, o));
604
604
  }), a;
605
605
  }
606
- var Xa = 1, Za = 4;
607
- function Yt(t) {
608
- return F(t, Xa | Za);
606
+ var ka = 1, to = 4;
607
+ function F(t) {
608
+ return B(t, ka | to);
609
609
  }
610
- function Jt(t, e) {
610
+ function et(t, e) {
611
611
  return t.then(function(r) {
612
612
  return [null, r];
613
613
  }).catch(function(r) {
614
614
  return e && Object.assign(r, e), [r, void 0];
615
615
  });
616
616
  }
617
- const Qa = (t, e) => new Promise((r, n) => {
618
- Promise.resolve(Yt(e)).then(t).then(r).catch(n);
619
- }), mt = (t, e) => t < e.length, Xt = async (t, e, r, n, c) => {
620
- if (!mt(n, t))
617
+ const eo = (t, e) => new Promise((r, n) => {
618
+ Promise.resolve(F(e)).then(t).then(r).catch(n);
619
+ }), Pt = (t, e) => t < e.length, rt = async (t, e, r, n, s) => {
620
+ if (!Pt(n, t))
621
621
  return e.value[t.length - 1].data;
622
- const s = t[n];
623
- if (typeof s == "function") {
624
- const [a, u] = await Jt(Qa(s, c));
622
+ const o = t[n];
623
+ if (typeof o == "function") {
624
+ const [a, f] = await et(eo(o, s));
625
625
  if (a)
626
626
  throw e.value[n].status = "rejected", new Error(n + "");
627
627
  {
628
- e.value[n].data = u, e.value[n].status = "fulfilled";
629
- const f = n + 1;
630
- return mt(f, t) && !r.value ? Xt(t, e, r, f, u) : e.value[t.length - 1].data;
628
+ e.value[n].data = f, e.value[n].status = "fulfilled";
629
+ const i = n + 1;
630
+ return Pt(i, t) && !r.value ? rt(t, e, r, i, f) : e.value[t.length - 1].data;
631
631
  }
632
632
  } else
633
633
  throw e.value[n].status = "rejected", new Error(n + "");
634
- };
635
- function to(t) {
636
- if (!M(t))
634
+ }, L = (t) => t.map(() => ({
635
+ status: "unStart",
636
+ data: void 0
637
+ }));
638
+ function no(t) {
639
+ if (!kt(t))
640
+ throw new Error("Entry must be a ref");
641
+ if (!O(t.value))
642
+ throw new Error("Entry must be a list of functions");
643
+ const e = d(null), r = d(), n = d(!1), s = d(L(t.value)), o = () => {
644
+ s.value = L(t.value);
645
+ };
646
+ te(
647
+ t,
648
+ () => {
649
+ o();
650
+ },
651
+ {
652
+ deep: !0
653
+ }
654
+ );
655
+ const a = async (i) => {
656
+ if (n.value = !1, o(), t.value.length === 0)
657
+ return r.value = i, e.value = null, [null, F(i)];
658
+ const [l, h] = await et(
659
+ rt(t.value, s, n, 0, i)
660
+ );
661
+ return l ? (e.value = l, r.value = null, [l, void 0]) : (r.value = h, e.value = null, [null, F(h)]);
662
+ }, f = () => {
663
+ n.value = !0;
664
+ };
665
+ return {
666
+ error: w(e),
667
+ result: w(r),
668
+ statusList: w(s),
669
+ start: a,
670
+ suspend: f
671
+ };
672
+ }
673
+ function ao(t) {
674
+ if (!O(t))
637
675
  throw new Error("Entry must be a list of functions");
638
- const e = E(null), r = E(), n = E(!1), c = E(
639
- t.map(() => ({
640
- status: "unStart",
641
- data: void 0
642
- }))
643
- ), s = async (u) => {
644
- n.value = !1;
645
- const [f, l] = await Jt(
646
- Xt(t, c, n, 0, u)
676
+ const e = d(null), r = d(), n = d(!1), s = d(L(t)), o = (i) => {
677
+ if (i) {
678
+ if (!O(i))
679
+ throw new Error("Entry must be a list of functions");
680
+ t = i;
681
+ }
682
+ s.value = L(t);
683
+ }, a = async (i) => {
684
+ if (n.value = !1, o(), t.length === 0)
685
+ return r.value = i, e.value = null, [null, F(i)];
686
+ const [l, h] = await et(
687
+ rt(t, s, n, 0, i)
647
688
  );
648
- return f ? (e.value = f, r.value = null, [f, void 0]) : (r.value = l, e.value = null, [null, Yt(l)]);
649
- }, a = () => {
689
+ return l ? (e.value = l, r.value = null, [l, void 0]) : (r.value = h, e.value = null, [null, F(h)]);
690
+ }, f = () => {
650
691
  n.value = !0;
651
692
  };
652
693
  return {
653
- error: G(e),
654
- result: G(r),
655
- statusList: G(c),
656
- start: s,
657
- suspend: a
694
+ error: w(e),
695
+ result: w(r),
696
+ statusList: w(s),
697
+ start: a,
698
+ suspend: f,
699
+ update: o
658
700
  };
659
701
  }
660
702
  export {
661
- to as useOrderFun
703
+ ao as useOrderFun,
704
+ no as useWatchOrderFun
662
705
  };