@zhangcf233/pay 1.0.3 → 1.0.5

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/pay.es.js CHANGED
@@ -1,6 +1,7 @@
1
- var Hl = Object.defineProperty;
2
- var jl = (e, t, i) => t in e ? Hl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
- var B = (e, t, i) => (jl(e, typeof t != "symbol" ? t + "" : t, i), i);
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";.pay-error-container[data-v-0817c014]{position:relative}.pay-error-container .loading[data-v-0817c014]{width:100%;height:100%;position:absolute;background:#fff;z-index:1;transition:all .3s;justify-content:center;align-items:center}.pay-error-container .message[data-v-0817c014]{font-size:.1rem}@font-face{font-family:WeChat-Bold;src:url(https://shangrao-qqzh.oss-cn-hangzhou.aliyuncs.com/pay/fonts/WeChatSansStd-Bold.ttf)}.wechat-font[data-v-75290345]{font-family:WeChat-Bold}.root[data-v-75290345]{text-align:center}.cell[data-v-4e4c306e]{display:flex;align-items:center;justify-content:space-between;height:.3rem}.cell .name[data-v-4e4c306e]{width:30vw;color:gray;font-size:.14rem;display:flex;align-items:center;justify-content:end}@font-face{font-family:WeChat-Bold;src:url(https://shangrao-qqzh.oss-cn-hangzhou.aliyuncs.com/pay/fonts/WeChatSansStd-Bold.ttf)}.wechat-font[data-v-ea027830]{font-family:WeChat-Bold}.custom-price .input[data-v-ea027830]{font-size:.2rem}@font-face{font-family:WeChat-Bold;src:url(https://shangrao-qqzh.oss-cn-hangzhou.aliyuncs.com/pay/fonts/WeChatSansStd-Bold.ttf)}.wechat-font[data-v-68d98a5c]{font-family:WeChat-Bold}.price-root[data-v-68d98a5c]{position:relative;text-align:center;background:#f3f3f3;border-radius:.08rem;padding:.1rem 0;display:flex;flex-direction:column;height:.6rem;box-sizing:border-box;justify-content:space-between;align-items:center}.price-root .gift[data-v-68d98a5c]{position:absolute;top:-.1rem;right:-.05rem;background:linear-gradient(248.45deg,#fa1e1e,#ff7752 99.44%);padding:0 .05rem;border-radius:.1rem .1rem .1rem 0;font-size:.1rem;border-width:.02rem;border-color:#fff;border-style:solid;box-sizing:border-box;color:#fff}.price-root .token-count[data-v-68d98a5c]{display:flex;justify-content:center;align-items:center;font-size:.2rem}.price-root .token-count img[data-v-68d98a5c]{width:.16rem;height:.16rem;margin-right:.02rem}.price-root .price[data-v-68d98a5c]{font-size:.14rem}.only-price[data-v-68d98a5c]{align-items:center;justify-content:center}.only-price .price[data-v-68d98a5c]{font-size:.2rem}.content[data-v-76333b1f]{width:100%;margin:.2rem 0;display:grid;grid-template-columns:repeat(3,1fr);gap:.1rem;box-sizing:border-box;font-weight:500}.loading[data-v-76333b1f]{display:flex;justify-content:center;align-items:center}.select[data-v-76333b1f]{color:#fff}@font-face{font-family:WeChat-Bold;src:url(https://shangrao-qqzh.oss-cn-hangzhou.aliyuncs.com/pay/fonts/WeChatSansStd-Bold.ttf)}.wechat-font[data-v-c1cac5f0]{font-family:WeChat-Bold}.pay-popup[data-v-c1cac5f0]{display:flex;flex-direction:column;width:100vw;box-sizing:border-box;overflow:hidden;padding:0 .15rem .2rem;transition:all .3s}.title[data-v-c1cac5f0]{text-align:center;margin:.16rem 0}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ var Wl = Object.defineProperty;
3
+ var Ul = (e, t, i) => t in e ? Wl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
4
+ var B = (e, t, i) => (Ul(e, typeof t != "symbol" ? t + "" : t, i), i);
4
5
  import P from "vue";
5
6
  function g() {
6
7
  return g = Object.assign ? Object.assign.bind() : function(e) {
@@ -12,7 +13,7 @@ function g() {
12
13
  return e;
13
14
  }, g.apply(null, arguments);
14
15
  }
15
- function Wl(e) {
16
+ function ql(e) {
16
17
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
17
18
  }
18
19
  function an() {
@@ -23,17 +24,17 @@ function an() {
23
24
  return e;
24
25
  }, an.apply(this, arguments);
25
26
  }
26
- var Ul = ["attrs", "props", "domProps"], ql = ["class", "style", "directives"], Kl = ["on", "nativeOn"], Yl = function(e) {
27
+ var Kl = ["attrs", "props", "domProps"], Yl = ["class", "style", "directives"], Xl = ["on", "nativeOn"], Gl = function(e) {
27
28
  return e.reduce(function(t, i) {
28
29
  for (var n in i)
29
30
  if (!t[n])
30
31
  t[n] = i[n];
31
- else if (Ul.indexOf(n) !== -1)
32
+ else if (Kl.indexOf(n) !== -1)
32
33
  t[n] = an({}, t[n], i[n]);
33
- else if (ql.indexOf(n) !== -1) {
34
+ else if (Yl.indexOf(n) !== -1) {
34
35
  var r = t[n] instanceof Array ? t[n] : [t[n]], a = i[n] instanceof Array ? i[n] : [i[n]];
35
36
  t[n] = [].concat(r, a);
36
- } else if (Kl.indexOf(n) !== -1)
37
+ } else if (Xl.indexOf(n) !== -1)
37
38
  for (var s in i[n])
38
39
  if (t[n][s]) {
39
40
  var o = t[n][s] instanceof Array ? t[n][s] : [t[n][s]], l = i[n][s] instanceof Array ? i[n][s] : [i[n][s]];
@@ -42,17 +43,17 @@ var Ul = ["attrs", "props", "domProps"], ql = ["class", "style", "directives"],
42
43
  t[n][s] = i[n][s];
43
44
  else if (n === "hook")
44
45
  for (var c in i[n])
45
- t[n][c] = t[n][c] ? Xl(t[n][c], i[n][c]) : i[n][c];
46
+ t[n][c] = t[n][c] ? Zl(t[n][c], i[n][c]) : i[n][c];
46
47
  else
47
48
  t[n] = i[n];
48
49
  return t;
49
50
  }, {});
50
- }, Xl = function(e, t) {
51
+ }, Zl = function(e, t) {
51
52
  return function() {
52
53
  e && e.apply(this, arguments), t && t.apply(this, arguments);
53
54
  };
54
- }, Gl = Yl;
55
- const x = /* @__PURE__ */ Wl(Gl);
55
+ }, Jl = Gl;
56
+ const x = /* @__PURE__ */ ql(Jl);
56
57
  function sn(e, t) {
57
58
  return t ? typeof t == "string" ? " " + e + "--" + t : Array.isArray(t) ? t.reduce(function(i, n) {
58
59
  return i + sn(e, n);
@@ -60,22 +61,22 @@ function sn(e, t) {
60
61
  return i + (t[n] ? sn(e, n) : "");
61
62
  }, "") : "";
62
63
  }
63
- function Zl(e) {
64
+ function Ql(e) {
64
65
  return function(t, i) {
65
66
  return t && typeof t != "string" && (i = t, t = ""), t = t ? e + "__" + t : e, "" + t + sn(t, i);
66
67
  };
67
68
  }
68
- var Jl = Object.prototype.hasOwnProperty;
69
- function Ql(e, t, i) {
69
+ var tc = Object.prototype.hasOwnProperty;
70
+ function ec(e, t, i) {
70
71
  var n = t[i];
71
- T(n) && (!Jl.call(e, i) || !pt(n) ? e[i] = n : e[i] = Ta(Object(e[i]), t[i]));
72
+ T(n) && (!tc.call(e, i) || !pt(n) ? e[i] = n : e[i] = Ta(Object(e[i]), t[i]));
72
73
  }
73
74
  function Ta(e, t) {
74
75
  return Object.keys(t).forEach(function(i) {
75
- Ql(e, t, i);
76
+ ec(e, t, i);
76
77
  }), e;
77
78
  }
78
- const tc = {
79
+ const ic = {
79
80
  name: "姓名",
80
81
  tel: "电话",
81
82
  save: "保存",
@@ -169,7 +170,7 @@ const tc = {
169
170
  var le = P.prototype, _a = P.util.defineReactive;
170
171
  _a(le, "$vantLang", "zh-CN");
171
172
  _a(le, "$vantMessages", {
172
- "zh-CN": tc
173
+ "zh-CN": ic
173
174
  });
174
175
  const Cn = {
175
176
  messages: function() {
@@ -183,19 +184,19 @@ const Cn = {
183
184
  t === void 0 && (t = {}), Ta(le.$vantMessages, t);
184
185
  }
185
186
  };
186
- var ec = /-(\w)/g;
187
+ var nc = /-(\w)/g;
187
188
  function Ia(e) {
188
- return e.replace(ec, function(t, i) {
189
+ return e.replace(nc, function(t, i) {
189
190
  return i.toUpperCase();
190
191
  });
191
192
  }
192
- function M(e, t) {
193
+ function L(e, t) {
193
194
  t === void 0 && (t = 2);
194
195
  for (var i = e + ""; i.length < t; )
195
196
  i = "0" + i;
196
197
  return i;
197
198
  }
198
- var ic = {
199
+ var rc = {
199
200
  methods: {
200
201
  slots: function(t, i) {
201
202
  t === void 0 && (t = "default");
@@ -204,11 +205,11 @@ var ic = {
204
205
  }
205
206
  }
206
207
  };
207
- function nc(e) {
208
+ function ac(e) {
208
209
  var t = this.name;
209
210
  e.component(t, this), e.component(Ia("-" + t), this);
210
211
  }
211
- function rc(e) {
212
+ function sc(e) {
212
213
  var t = e.scopedSlots || e.data.scopedSlots || {}, i = e.slots();
213
214
  return Object.keys(i).forEach(function(n) {
214
215
  t[n] || (t[n] = function() {
@@ -216,22 +217,22 @@ function rc(e) {
216
217
  });
217
218
  }), t;
218
219
  }
219
- function ac(e) {
220
+ function oc(e) {
220
221
  return {
221
222
  functional: !0,
222
223
  props: e.props,
223
224
  model: e.model,
224
225
  render: function(i, n) {
225
- return e(i, n.props, rc(n), n);
226
+ return e(i, n.props, sc(n), n);
226
227
  }
227
228
  };
228
229
  }
229
- function sc(e) {
230
+ function lc(e) {
230
231
  return function(t) {
231
- return ue(t) && (t = ac(t)), t.functional || (t.mixins = t.mixins || [], t.mixins.push(ic)), t.name = e, t.install = nc, t;
232
+ return ue(t) && (t = oc(t)), t.functional || (t.mixins = t.mixins || [], t.mixins.push(rc)), t.name = e, t.install = ac, t;
232
233
  };
233
234
  }
234
- function oc(e) {
235
+ function cc(e) {
235
236
  var t = Ia(e) + ".";
236
237
  return function(i) {
237
238
  for (var n = Cn.messages(), r = kr(n, t + i) || kr(n, i), a = arguments.length, s = new Array(a > 1 ? a - 1 : 0), o = 1; o < a; o++)
@@ -240,7 +241,7 @@ function oc(e) {
240
241
  };
241
242
  }
242
243
  function p(e) {
243
- return e = "van-" + e, [sc(e), Zl(e), oc(e)];
244
+ return e = "van-" + e, [lc(e), Ql(e), cc(e)];
244
245
  }
245
246
  function $n(e) {
246
247
  return /^\d+(\.\d+)?$/.test(e);
@@ -253,20 +254,20 @@ function O(e) {
253
254
  return e = String(e), $n(e) ? e + "px" : e;
254
255
  }
255
256
  var Ni;
256
- function lc() {
257
+ function uc() {
257
258
  if (!Ni) {
258
259
  var e = document.documentElement, t = e.style.fontSize || window.getComputedStyle(e).fontSize;
259
260
  Ni = parseFloat(t);
260
261
  }
261
262
  return Ni;
262
263
  }
263
- function cc(e) {
264
- return e = e.replace(/rem/g, ""), +e * lc();
264
+ function hc(e) {
265
+ return e = e.replace(/rem/g, ""), +e * uc();
265
266
  }
266
- function uc(e) {
267
+ function dc(e) {
267
268
  return e = e.replace(/vw/g, ""), +e * window.innerWidth / 100;
268
269
  }
269
- function hc(e) {
270
+ function fc(e) {
270
271
  return e = e.replace(/vh/g, ""), +e * window.innerHeight / 100;
271
272
  }
272
273
  function xn(e) {
@@ -274,11 +275,11 @@ function xn(e) {
274
275
  return e;
275
276
  if (ki) {
276
277
  if (e.indexOf("rem") !== -1)
277
- return cc(e);
278
+ return hc(e);
278
279
  if (e.indexOf("vw") !== -1)
279
- return uc(e);
280
+ return dc(e);
280
281
  if (e.indexOf("vh") !== -1)
281
- return hc(e);
282
+ return fc(e);
282
283
  }
283
284
  return parseFloat(e);
284
285
  }
@@ -307,12 +308,12 @@ function kr(e, t) {
307
308
  function Cr(e) {
308
309
  return e == null || typeof e != "object" ? !0 : Object.keys(e).length === 0;
309
310
  }
310
- var dc = ["ref", "key", "style", "class", "attrs", "refInFor", "nativeOn", "directives", "staticClass", "staticStyle"], fc = {
311
+ var pc = ["ref", "key", "style", "class", "attrs", "refInFor", "nativeOn", "directives", "staticClass", "staticStyle"], vc = {
311
312
  nativeOn: "on"
312
313
  };
313
314
  function E(e, t) {
314
- var i = dc.reduce(function(n, r) {
315
- return e.data[r] && (n[fc[r] || r] = e.data[r]), n;
315
+ var i = pc.reduce(function(n, r) {
316
+ return e.data[r] && (n[vc[r] || r] = e.data[r]), n;
316
317
  }, {});
317
318
  return t && (i.on = i.on || {}, g(i.on, e.data.on)), i;
318
319
  }
@@ -380,8 +381,8 @@ function Ba(e) {
380
381
  function H(e, t) {
381
382
  (typeof e.cancelable != "boolean" || e.cancelable) && e.preventDefault(), t && Ba(e);
382
383
  }
383
- var Ea = p("overlay"), pc = Ea[0], vc = Ea[1];
384
- function mc(e) {
384
+ var Ea = p("overlay"), mc = Ea[0], gc = Ea[1];
385
+ function yc(e) {
385
386
  H(e, !0);
386
387
  }
387
388
  function Da(e, t, i, n) {
@@ -398,9 +399,9 @@ function Da(e, t, i, n) {
398
399
  value: t.show
399
400
  }],
400
401
  style: r,
401
- class: [vc(), t.className],
402
+ class: [gc(), t.className],
402
403
  on: {
403
- touchmove: t.lockScroll ? mc : Te
404
+ touchmove: t.lockScroll ? yc : Te
404
405
  }
405
406
  }, E(n, !0)]), [i.default == null ? void 0 : i.default()])]);
406
407
  }
@@ -415,16 +416,16 @@ Da.props = {
415
416
  default: !0
416
417
  }
417
418
  };
418
- const Na = pc(Da);
419
+ const Na = mc(Da);
419
420
  function Tn(e) {
420
421
  var t = e.parentNode;
421
422
  t && t.removeChild(e);
422
423
  }
423
- var gc = {
424
+ var bc = {
424
425
  className: "",
425
426
  customStyle: {}
426
427
  };
427
- function yc(e) {
428
+ function Sc(e) {
428
429
  return Oa(Na, {
429
430
  on: {
430
431
  // close popup when overlay clicked & closeOnClickOverlay is true
@@ -438,17 +439,17 @@ function Ma(e) {
438
439
  var t = Y.find(e);
439
440
  if (t) {
440
441
  var i = e.$el, n = t.config, r = t.overlay;
441
- i && i.parentNode && i.parentNode.insertBefore(r.$el, i), g(r, gc, n, {
442
+ i && i.parentNode && i.parentNode.insertBefore(r.$el, i), g(r, bc, n, {
442
443
  show: !0
443
444
  });
444
445
  }
445
446
  }
446
- function bc(e, t) {
447
+ function kc(e, t) {
447
448
  var i = Y.find(e);
448
449
  if (i)
449
450
  i.config = t;
450
451
  else {
451
- var n = yc(e);
452
+ var n = Sc(e);
452
453
  Y.stack.push({
453
454
  vm: e,
454
455
  config: t,
@@ -461,19 +462,19 @@ function wr(e) {
461
462
  var t = Y.find(e);
462
463
  t && (t.overlay.show = !1);
463
464
  }
464
- function Sc(e) {
465
+ function Cc(e) {
465
466
  var t = Y.find(e);
466
467
  t && (Tn(t.overlay.$el), Y.remove(e));
467
468
  }
468
469
  function _n(e) {
469
470
  return e === window;
470
471
  }
471
- var kc = /scroll|auto|overlay/i;
472
+ var $c = /scroll|auto|overlay/i;
472
473
  function Xt(e, t) {
473
474
  t === void 0 && (t = window);
474
475
  for (var i = e; i && i.tagName !== "HTML" && i.tagName !== "BODY" && i.nodeType === 1 && i !== t; ) {
475
476
  var n = window.getComputedStyle(i), r = n.overflowY;
476
- if (kc.test(r))
477
+ if ($c.test(r))
477
478
  return i;
478
479
  i = i.parentNode;
479
480
  }
@@ -498,13 +499,13 @@ function on(e, t) {
498
499
  var i = t ? Gt(t) : Ee();
499
500
  return e.getBoundingClientRect().top + i;
500
501
  }
501
- function Cc(e) {
502
+ function wc(e) {
502
503
  return _n(e) ? e.innerHeight : e.getBoundingClientRect().height;
503
504
  }
504
- function $c(e) {
505
+ function xc(e) {
505
506
  return _n(e) ? 0 : e.getBoundingClientRect().top;
506
507
  }
507
- function wc(e, t) {
508
+ function Tc(e, t) {
508
509
  return e > t ? "horizontal" : t > e ? "vertical" : "";
509
510
  }
510
511
  var ot = {
@@ -521,7 +522,7 @@ var ot = {
521
522
  var i = t.touches[0];
522
523
  this.deltaX = i.clientX < 0 ? 0 : i.clientX - this.startX, this.deltaY = i.clientY - this.startY, this.offsetX = Math.abs(this.deltaX), this.offsetY = Math.abs(this.deltaY);
523
524
  var n = 10;
524
- (!this.direction || this.offsetX < n && this.offsetY < n) && (this.direction = wc(this.offsetX, this.offsetY));
525
+ (!this.direction || this.offsetX < n && this.offsetY < n) && (this.direction = Tc(this.offsetX, this.offsetY));
525
526
  },
526
527
  resetTouchStatus: function() {
527
528
  this.direction = "", this.deltaX = 0, this.deltaY = 0, this.offsetX = 0, this.offsetY = 0;
@@ -534,7 +535,7 @@ var ot = {
534
535
  }
535
536
  }
536
537
  };
537
- function xc(e) {
538
+ function _c(e) {
538
539
  return typeof e == "string" ? document.querySelector(e) : e();
539
540
  }
540
541
  function In(e) {
@@ -552,14 +553,14 @@ function In(e) {
552
553
  methods: {
553
554
  portal: function() {
554
555
  var a = this.getContainer, s = i ? this.$refs[i] : this.$el, o;
555
- a ? o = xc(a) : this.$parent && (o = this.$parent.$el), o && o !== s.parentNode && o.appendChild(s), n && n.call(this);
556
+ a ? o = _c(a) : this.$parent && (o = this.$parent.$el), o && o !== s.parentNode && o.appendChild(s), n && n.call(this);
556
557
  }
557
558
  }
558
559
  };
559
560
  }
560
- var Tc = 0;
561
+ var Ic = 0;
561
562
  function vt(e) {
562
- var t = "binded_" + Tc++;
563
+ var t = "binded_" + Ic++;
563
564
  function i() {
564
565
  this[t] || (e.call(this, nt, !0), this[t] = !0);
565
566
  }
@@ -573,7 +574,7 @@ function vt(e) {
573
574
  beforeDestroy: n
574
575
  };
575
576
  }
576
- var _c = {
577
+ var Oc = {
577
578
  mixins: [vt(function(e, t) {
578
579
  this.handlePopstate(t && this.closeOnPopstate);
579
580
  })],
@@ -630,7 +631,7 @@ var _c = {
630
631
  };
631
632
  function wi(e) {
632
633
  return e === void 0 && (e = {}), {
633
- mixins: [ot, _c, In({
634
+ mixins: [ot, Oc, In({
634
635
  afterPortal: function() {
635
636
  this.overlay && Ma();
636
637
  }
@@ -666,7 +667,7 @@ function wi(e) {
666
667
  this.shouldReopen && (this.$emit("input", !0), this.shouldReopen = !1);
667
668
  },
668
669
  beforeDestroy: function() {
669
- Sc(this), this.opened && this.removeLock(), this.getContainer && Tn(this.$el);
670
+ Cc(this), this.opened && this.removeLock(), this.getContainer && Tn(this.$el);
670
671
  },
671
672
  /* istanbul ignore next */
672
673
  deactivated: function() {
@@ -695,7 +696,7 @@ function wi(e) {
695
696
  renderOverlay: function() {
696
697
  var i = this;
697
698
  this.$isServer || !this.value || this.$nextTick(function() {
698
- i.updateZIndex(i.overlay ? 1 : 0), i.overlay ? bc(i, {
699
+ i.updateZIndex(i.overlay ? 1 : 0), i.overlay ? kc(i, {
699
700
  zIndex: Y.zIndex++,
700
701
  duration: i.duration,
701
702
  className: i.overlayClass,
@@ -712,12 +713,12 @@ function wi(e) {
712
713
  }
713
714
  };
714
715
  }
715
- var La = p("info"), Ic = La[0], Oc = La[1];
716
+ var La = p("info"), Pc = La[0], Bc = La[1];
716
717
  function Aa(e, t, i, n) {
717
718
  var r = t.dot, a = t.info, s = T(a) && a !== "";
718
719
  if (!(!r && !s))
719
720
  return e("div", x([{
720
- class: Oc({
721
+ class: Bc({
721
722
  dot: r
722
723
  })
723
724
  }, E(n, !0)]), [r ? "" : t.info]);
@@ -726,21 +727,21 @@ Aa.props = {
726
727
  dot: Boolean,
727
728
  info: [Number, String]
728
729
  };
729
- const Zt = Ic(Aa);
730
- var Ra = p("icon"), Pc = Ra[0], Va = Ra[1];
731
- function Bc(e) {
730
+ const Zt = Pc(Aa);
731
+ var Ra = p("icon"), Ec = Ra[0], Va = Ra[1];
732
+ function Dc(e) {
732
733
  return e ? e.indexOf("/") !== -1 : !1;
733
734
  }
734
- var Ec = {
735
+ var Nc = {
735
736
  medel: "medal",
736
737
  "medel-o": "medal-o",
737
738
  "calender-o": "calendar-o"
738
739
  };
739
- function Dc(e) {
740
- return e && Ec[e] || e;
740
+ function Mc(e) {
741
+ return e && Nc[e] || e;
741
742
  }
742
743
  function za(e, t, i, n) {
743
- var r, a = Dc(t.name), s = Bc(a);
744
+ var r, a = Mc(t.name), s = Dc(a);
744
745
  return process.env.NODE_ENV === "development" && t.info && console.warn('[Vant] Icon: "info" prop is deprecated, use "badge" prop instead.'), e(t.tag, x([{
745
746
  class: [t.classPrefix, s ? "" : t.classPrefix + "-" + a],
746
747
  style: {
@@ -777,9 +778,9 @@ za.props = {
777
778
  default: Va()
778
779
  }
779
780
  };
780
- const w = Pc(za);
781
- var Fa = p("popup"), Nc = Fa[0], xr = Fa[1];
782
- const Tt = Nc({
781
+ const w = Ec(za);
782
+ var Fa = p("popup"), Lc = Fa[0], xr = Fa[1];
783
+ const Tt = Lc({
783
784
  mixins: [wi()],
784
785
  props: {
785
786
  round: Boolean,
@@ -864,8 +865,8 @@ const Tt = Nc({
864
865
  }
865
866
  }
866
867
  });
867
- var Ha = p("loading"), Mc = Ha[0], ci = Ha[1];
868
- function Lc(e, t) {
868
+ var Ha = p("loading"), Ac = Ha[0], ci = Ha[1];
869
+ function Rc(e, t) {
869
870
  if (t.type === "spinner") {
870
871
  for (var i = [], n = 0; n < 12; n++)
871
872
  i.push(e("i"));
@@ -885,7 +886,7 @@ function Lc(e, t) {
885
886
  }
886
887
  })]);
887
888
  }
888
- function Ac(e, t, i) {
889
+ function Vc(e, t, i) {
889
890
  if (i.default) {
890
891
  var n, r = {
891
892
  fontSize: O(t.textSize),
@@ -912,7 +913,7 @@ function ja(e, t, i, n) {
912
913
  }, E(n, !0)]), [e("span", {
913
914
  class: ci("spinner", s),
914
915
  style: o
915
- }, [Lc(e, t)]), Ac(e, t, i)]);
916
+ }, [Rc(e, t)]), Vc(e, t, i)]);
916
917
  }
917
918
  ja.props = {
918
919
  color: String,
@@ -925,8 +926,8 @@ ja.props = {
925
926
  default: "circular"
926
927
  }
927
928
  };
928
- const mt = Mc(ja);
929
- var Wa = p("action-sheet"), Rc = Wa[0], lt = Wa[1];
929
+ const mt = Ac(ja);
930
+ var Wa = p("action-sheet"), zc = Wa[0], lt = Wa[1];
930
931
  function Ua(e, t, i, n) {
931
932
  var r = t.title, a = t.cancelText, s = t.closeable;
932
933
  function o() {
@@ -1052,11 +1053,11 @@ Ua.props = g({}, $i, {
1052
1053
  default: !0
1053
1054
  }
1054
1055
  });
1055
- const Vc = Rc(Ua);
1056
+ const Fc = zc(Ua);
1056
1057
  function qa(e) {
1057
1058
  return e = e.replace(/[^-|\d]/g, ""), /^((\+86)|(86))?(1)\d{10}$/.test(e) || /^0[0-9-]{10,13}$/.test(e);
1058
1059
  }
1059
- var zc = 44, xi = {
1060
+ var Hc = 44, xi = {
1060
1061
  title: String,
1061
1062
  loading: Boolean,
1062
1063
  readonly: Boolean,
@@ -1076,7 +1077,7 @@ var zc = 44, xi = {
1076
1077
  type: [Number, String],
1077
1078
  default: 1e3
1078
1079
  }
1079
- }, Ka = "#ee0a24", dt = "van-hairline", On = dt + "--top", Ya = dt + "--left", De = dt + "--bottom", Xa = dt + "--surround", Ti = dt + "--top-bottom", Fc = dt + "-unset--top-bottom";
1080
+ }, Ka = "#ee0a24", dt = "van-hairline", On = dt + "--top", Ya = dt + "--left", De = dt + "--bottom", Xa = dt + "--surround", Ti = dt + "--top-bottom", jc = dt + "-unset--top-bottom";
1080
1081
  function _e(e) {
1081
1082
  if (!T(e))
1082
1083
  return e;
@@ -1108,7 +1109,7 @@ function Za(e, t) {
1108
1109
  var i = Math.pow(10, 10);
1109
1110
  return Math.round((e + t) * i) / i;
1110
1111
  }
1111
- var _r = 200, Mi = 300, Hc = 15, Ja = p("picker-column"), jc = Ja[0], Li = Ja[1];
1112
+ var _r = 200, Mi = 300, Wc = 15, Ja = p("picker-column"), Uc = Ja[0], Li = Ja[1];
1112
1113
  function Ir(e) {
1113
1114
  var t = window.getComputedStyle(e), i = t.transform || t.webkitTransform, n = i.slice(7, i.length - 1).split(", ")[5];
1114
1115
  return Number(n);
@@ -1117,7 +1118,7 @@ function Ai(e) {
1117
1118
  return pt(e) && e.disabled;
1118
1119
  }
1119
1120
  var Or = ki && "onwheel" in window, Ri = null;
1120
- const Wc = jc({
1121
+ const qc = Uc({
1121
1122
  mixins: [ot],
1122
1123
  props: {
1123
1124
  valueKey: String,
@@ -1191,7 +1192,7 @@ const Wc = jc({
1191
1192
  onTouchEnd: function() {
1192
1193
  var t = this;
1193
1194
  if (!this.readonly) {
1194
- var i = this.offset - this.momentumOffset, n = Date.now() - this.touchStartTime, r = n < Mi && Math.abs(i) > Hc;
1195
+ var i = this.offset - this.momentumOffset, n = Date.now() - this.touchStartTime, r = n < Mi && Math.abs(i) > Wc;
1195
1196
  if (r) {
1196
1197
  this.momentum(i, n);
1197
1198
  return;
@@ -1309,8 +1310,8 @@ const Wc = jc({
1309
1310
  }, [this.genOptions()])]);
1310
1311
  }
1311
1312
  });
1312
- var Pn = p("picker"), Uc = Pn[0], _t = Pn[1], Pr = Pn[2];
1313
- const Bn = Uc({
1313
+ var Pn = p("picker"), Kc = Pn[0], _t = Pn[1], Pr = Pn[2];
1314
+ const Bn = Kc({
1314
1315
  props: g({}, xi, {
1315
1316
  defaultIndex: {
1316
1317
  type: [Number, String],
@@ -1339,7 +1340,7 @@ const Bn = Uc({
1339
1340
  },
1340
1341
  computed: {
1341
1342
  itemPxHeight: function() {
1342
- return this.itemHeight ? xn(this.itemHeight) : zc;
1343
+ return this.itemHeight ? xn(this.itemHeight) : Hc;
1343
1344
  },
1344
1345
  dataType: function() {
1345
1346
  var t = this.columns, i = t[0] || {};
@@ -1543,7 +1544,7 @@ const Bn = Uc({
1543
1544
  class: _t("mask"),
1544
1545
  style: s
1545
1546
  }), t("div", {
1546
- class: [Fc, _t("frame")],
1547
+ class: [jc, _t("frame")],
1547
1548
  style: r
1548
1549
  })]);
1549
1550
  },
@@ -1551,7 +1552,7 @@ const Bn = Uc({
1551
1552
  var t = this, i = this.$createElement;
1552
1553
  return this.formattedColumns.map(function(n, r) {
1553
1554
  var a;
1554
- return i(Wc, {
1555
+ return i(qc, {
1555
1556
  attrs: {
1556
1557
  readonly: t.readonly,
1557
1558
  valueKey: t.valueKey,
@@ -1583,11 +1584,11 @@ const Bn = Uc({
1583
1584
  }) : t(), this.slots("columns-top"), this.genColumns(), this.slots("columns-bottom"), this.toolbarPosition === "bottom" ? this.genToolbar() : t()]);
1584
1585
  }
1585
1586
  });
1586
- var Qa = p("area"), qc = Qa[0], Kc = Qa[1], Vi = "000000";
1587
- function Yc(e) {
1587
+ var Qa = p("area"), Yc = Qa[0], Xc = Qa[1], Vi = "000000";
1588
+ function Gc(e) {
1588
1589
  return e[0] === "9";
1589
1590
  }
1590
- function Xc(e, t) {
1591
+ function Zc(e, t) {
1591
1592
  var i = e.$slots, n = e.$scopedSlots, r = {};
1592
1593
  return t.forEach(function(a) {
1593
1594
  n[a] ? r[a] = n[a] : i[a] && (r[a] = function() {
@@ -1595,7 +1596,7 @@ function Xc(e, t) {
1595
1596
  });
1596
1597
  }), r;
1597
1598
  }
1598
- const ts = qc({
1599
+ const ts = Yc({
1599
1600
  props: g({}, xi, {
1600
1601
  value: String,
1601
1602
  areaList: {
@@ -1610,7 +1611,7 @@ const ts = qc({
1610
1611
  },
1611
1612
  isOverseaCode: {
1612
1613
  type: Function,
1613
- default: Yc
1614
+ default: Gc
1614
1615
  },
1615
1616
  columnsPlaceholder: {
1616
1617
  type: Array,
@@ -1767,7 +1768,7 @@ const ts = qc({
1767
1768
  });
1768
1769
  return t(Bn, {
1769
1770
  ref: "picker",
1770
- class: Kc(),
1771
+ class: Xc(),
1771
1772
  attrs: {
1772
1773
  showToolbar: !0,
1773
1774
  valueKey: "name",
@@ -1781,12 +1782,12 @@ const ts = qc({
1781
1782
  cancelButtonText: this.cancelButtonText,
1782
1783
  confirmButtonText: this.confirmButtonText
1783
1784
  },
1784
- scopedSlots: Xc(this, ["title", "columns-top", "columns-bottom"]),
1785
+ scopedSlots: Zc(this, ["title", "columns-top", "columns-bottom"]),
1785
1786
  on: g({}, i)
1786
1787
  });
1787
1788
  }
1788
1789
  });
1789
- function Gc(e) {
1790
+ function Jc(e) {
1790
1791
  return e.name === "NavigationDuplicated" || // compatible with vue-router@3.3
1791
1792
  e.message && e.message.indexOf("redundant navigation") !== -1;
1792
1793
  }
@@ -1795,7 +1796,7 @@ function Jt(e, t) {
1795
1796
  if (i && e) {
1796
1797
  var a = e[r ? "replace" : "push"](i);
1797
1798
  a && a.catch && a.catch(function(s) {
1798
- if (s && !Gc(s))
1799
+ if (s && !Jc(s))
1799
1800
  throw s;
1800
1801
  });
1801
1802
  } else
@@ -1831,7 +1832,7 @@ var Ft = {
1831
1832
  type: Boolean,
1832
1833
  default: null
1833
1834
  }
1834
- }, is = p("cell"), Zc = is[0], ee = is[1];
1835
+ }, is = p("cell"), Qc = is[0], ee = is[1];
1835
1836
  function ns(e, t, i, n) {
1836
1837
  var r, a = t.icon, s = t.size, o = t.title, l = t.label, c = t.value, u = t.isLink, h = i.title || T(o);
1837
1838
  function d() {
@@ -1904,19 +1905,19 @@ function ns(e, t, i, n) {
1904
1905
  }, E(n)]), [m(), f(), v(), y(), i.extra == null ? void 0 : i.extra()]);
1905
1906
  }
1906
1907
  ns.props = g({}, En, Ft);
1907
- const q = Zc(ns);
1908
- function Jc() {
1908
+ const q = Qc(ns);
1909
+ function tu() {
1909
1910
  return X ? !1 : /android/.test(navigator.userAgent.toLowerCase());
1910
1911
  }
1911
- function Qc() {
1912
+ function eu() {
1912
1913
  return X ? !1 : /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase());
1913
1914
  }
1914
- var tu = Qc();
1915
+ var iu = eu();
1915
1916
  function rs() {
1916
- tu && Ci(Ee());
1917
+ iu && Ci(Ee());
1917
1918
  }
1918
- var as = p("field"), eu = as[0], Q = as[1];
1919
- const rt = eu({
1919
+ var as = p("field"), nu = as[0], Q = as[1];
1920
+ const rt = nu({
1920
1921
  inheritAttrs: !1,
1921
1922
  provide: function() {
1922
1923
  return {
@@ -2306,11 +2307,11 @@ const rt = eu({
2306
2307
  }
2307
2308
  });
2308
2309
  var Le = 0;
2309
- function iu(e) {
2310
+ function ru(e) {
2310
2311
  e ? (Le || document.body.classList.add("van-toast--unclickable"), Le++) : (Le--, Le || document.body.classList.remove("van-toast--unclickable"));
2311
2312
  }
2312
- var ss = p("toast"), nu = ss[0], ve = ss[1];
2313
- const os = nu({
2313
+ var ss = p("toast"), au = ss[0], ve = ss[1];
2314
+ const os = au({
2314
2315
  mixins: [wi()],
2315
2316
  props: {
2316
2317
  icon: String,
@@ -2358,7 +2359,7 @@ const os = nu({
2358
2359
  },
2359
2360
  toggleClickable: function() {
2360
2361
  var t = this.value && this.forbidClick;
2361
- this.clickable !== t && (this.clickable = t, iu(t));
2362
+ this.clickable !== t && (this.clickable = t, ru(t));
2362
2363
  },
2363
2364
  /* istanbul ignore next */
2364
2365
  onAfterEnter: function() {
@@ -2447,14 +2448,14 @@ function cs(e) {
2447
2448
  message: e
2448
2449
  };
2449
2450
  }
2450
- function ru(e) {
2451
+ function su(e) {
2451
2452
  return document.body.contains(e);
2452
2453
  }
2453
- function au() {
2454
+ function ou() {
2454
2455
  if (X)
2455
2456
  return {};
2456
2457
  if (tt = tt.filter(function(t) {
2457
- return !t.$el.parentNode || ru(t.$el);
2458
+ return !t.$el.parentNode || su(t.$el);
2458
2459
  }), !tt.length || _i) {
2459
2460
  var e = new (P.extend(os))({
2460
2461
  el: document.createElement("div")
@@ -2465,55 +2466,55 @@ function au() {
2465
2466
  }
2466
2467
  return tt[tt.length - 1];
2467
2468
  }
2468
- function su(e) {
2469
+ function lu(e) {
2469
2470
  return g({}, e, {
2470
2471
  overlay: e.mask || e.overlay,
2471
2472
  mask: void 0,
2472
2473
  duration: void 0
2473
2474
  });
2474
2475
  }
2475
- function R(e) {
2476
+ function M(e) {
2476
2477
  e === void 0 && (e = {});
2477
- var t = au();
2478
+ var t = ou();
2478
2479
  return t.value && t.updateZIndex(), e = cs(e), e = g({}, hi, ui[e.type || hi.type], e), process.env.NODE_ENV === "development" && e.mask && console.warn('[Vant] Toast: "mask" option is deprecated, use "overlay" option instead.'), e.clear = function() {
2479
2480
  t.value = !1, e.onClose && (e.onClose(), e.onClose = null), _i && !X && t.$on("closed", function() {
2480
2481
  clearTimeout(t.timer), tt = tt.filter(function(i) {
2481
2482
  return i !== t;
2482
2483
  }), Tn(t.$el), t.$destroy();
2483
2484
  });
2484
- }, g(t, su(e)), clearTimeout(t.timer), e.duration > 0 && (t.timer = setTimeout(function() {
2485
+ }, g(t, lu(e)), clearTimeout(t.timer), e.duration > 0 && (t.timer = setTimeout(function() {
2485
2486
  t.clear();
2486
2487
  }, e.duration)), t;
2487
2488
  }
2488
- var ou = function(t) {
2489
+ var cu = function(t) {
2489
2490
  return function(i) {
2490
- return R(g({
2491
+ return M(g({
2491
2492
  type: t
2492
2493
  }, cs(i)));
2493
2494
  };
2494
2495
  };
2495
2496
  ["loading", "success", "fail"].forEach(function(e) {
2496
- R[e] = ou(e);
2497
+ M[e] = cu(e);
2497
2498
  });
2498
- R.clear = function(e) {
2499
+ M.clear = function(e) {
2499
2500
  tt.length && (e ? (tt.forEach(function(t) {
2500
2501
  t.clear();
2501
2502
  }), tt = []) : _i ? tt.shift().clear() : tt[0].clear());
2502
2503
  };
2503
- R.setDefaultOptions = function(e, t) {
2504
+ M.setDefaultOptions = function(e, t) {
2504
2505
  typeof e == "string" ? ui[e] = t : g(hi, e);
2505
2506
  };
2506
- R.resetDefaultOptions = function(e) {
2507
+ M.resetDefaultOptions = function(e) {
2507
2508
  typeof e == "string" ? ui[e] = null : (hi = g({}, ls), ui = {});
2508
2509
  };
2509
- R.allowMultiple = function(e) {
2510
+ M.allowMultiple = function(e) {
2510
2511
  e === void 0 && (e = !0), _i = e;
2511
2512
  };
2512
- R.install = function() {
2513
+ M.install = function() {
2513
2514
  P.use(os);
2514
2515
  };
2515
- P.prototype.$toast = R;
2516
- var us = p("button"), lu = us[0], ie = us[1];
2516
+ P.prototype.$toast = M;
2517
+ var us = p("button"), uu = us[0], ie = us[1];
2517
2518
  function hs(e, t, i, n) {
2518
2519
  var r, a = t.tag, s = t.icon, o = t.type, l = t.color, c = t.plain, u = t.disabled, h = t.loading, d = t.hairline, f = t.loadingText, v = t.iconPosition, m = {};
2519
2520
  l && (m.color = c ? l : "white", c || (m.background = l), l.indexOf("gradient") !== -1 ? m.border = 0 : m.borderColor = l);
@@ -2614,8 +2615,8 @@ hs.props = g({}, Ft, {
2614
2615
  default: "left"
2615
2616
  }
2616
2617
  });
2617
- const j = lu(hs);
2618
- function cu(e) {
2618
+ const j = uu(hs);
2619
+ function hu(e) {
2619
2620
  var t = [];
2620
2621
  function i(n) {
2621
2622
  n.forEach(function(r) {
@@ -2629,7 +2630,7 @@ function cu(e) {
2629
2630
  function ds(e, t) {
2630
2631
  var i = t.$vnode.componentOptions;
2631
2632
  if (!(!i || !i.children)) {
2632
- var n = cu(i.children);
2633
+ var n = hu(i.children);
2633
2634
  e.sort(function(r, a) {
2634
2635
  return n.indexOf(r.$vnode) - n.indexOf(a.$vnode);
2635
2636
  });
@@ -2687,8 +2688,8 @@ function Z(e) {
2687
2688
  }
2688
2689
  };
2689
2690
  }
2690
- var fs = p("goods-action"), uu = fs[0], hu = fs[1];
2691
- const ps = uu({
2691
+ var fs = p("goods-action"), du = fs[0], fu = fs[1];
2692
+ const ps = du({
2692
2693
  mixins: [Z("vanGoodsAction")],
2693
2694
  props: {
2694
2695
  safeAreaInsetBottom: {
@@ -2699,14 +2700,14 @@ const ps = uu({
2699
2700
  render: function() {
2700
2701
  var t = arguments[0];
2701
2702
  return t("div", {
2702
- class: hu({
2703
+ class: fu({
2703
2704
  unfit: !this.safeAreaInsetBottom
2704
2705
  })
2705
2706
  }, [this.slots()]);
2706
2707
  }
2707
2708
  });
2708
- var vs = p("goods-action-button"), du = vs[0], fu = vs[1];
2709
- const ln = du({
2709
+ var vs = p("goods-action-button"), pu = vs[0], vu = vs[1];
2710
+ const ln = pu({
2710
2711
  mixins: [G("vanGoodsAction")],
2711
2712
  props: g({}, Ft, {
2712
2713
  type: String,
@@ -2734,7 +2735,7 @@ const ln = du({
2734
2735
  render: function() {
2735
2736
  var t = arguments[0];
2736
2737
  return t(j, {
2737
- class: fu([{
2738
+ class: vu([{
2738
2739
  first: this.isFirst,
2739
2740
  last: this.isLast
2740
2741
  }, this.type]),
@@ -2752,8 +2753,8 @@ const ln = du({
2752
2753
  }, [this.slots() || this.text]);
2753
2754
  }
2754
2755
  });
2755
- var Dn = p("dialog"), pu = Dn[0], ct = Dn[1], Ae = Dn[2];
2756
- const Nn = pu({
2756
+ var Dn = p("dialog"), mu = Dn[0], ct = Dn[1], Ae = Dn[2];
2757
+ const Nn = mu({
2757
2758
  mixins: [wi()],
2758
2759
  props: {
2759
2760
  title: String,
@@ -2974,10 +2975,10 @@ const Nn = pu({
2974
2975
  }
2975
2976
  });
2976
2977
  var ht;
2977
- function vu(e) {
2978
+ function gu(e) {
2978
2979
  return document.body.contains(e);
2979
2980
  }
2980
- function mu() {
2981
+ function yu() {
2981
2982
  ht && ht.$destroy(), ht = new (P.extend(Nn))({
2982
2983
  el: document.createElement("div"),
2983
2984
  // avoid missing animation when first rendered
@@ -2990,7 +2991,7 @@ function mu() {
2990
2991
  }
2991
2992
  function D(e) {
2992
2993
  return X ? Promise.resolve() : new Promise(function(t, i) {
2993
- (!ht || !vu(ht.$el)) && mu(), g(ht, D.currentOptions, e, {
2994
+ (!ht || !gu(ht.$el)) && yu(), g(ht, D.currentOptions, e, {
2994
2995
  resolve: t,
2995
2996
  reject: i
2996
2997
  });
@@ -3045,8 +3046,8 @@ D.install = function() {
3045
3046
  };
3046
3047
  D.Component = Nn;
3047
3048
  P.prototype.$dialog = D;
3048
- var Mn = p("address-edit-detail"), gu = Mn[0], Re = Mn[1], zi = Mn[2], Br = Jc();
3049
- const yu = gu({
3049
+ var Mn = p("address-edit-detail"), bu = Mn[0], Re = Mn[1], zi = Mn[2], Br = tu();
3050
+ const Su = bu({
3050
3051
  props: {
3051
3052
  value: String,
3052
3053
  errorMessage: String,
@@ -3168,8 +3169,8 @@ var ms = {
3168
3169
  var t = this.vanField;
3169
3170
  t && !t.children && (t.children = this);
3170
3171
  }
3171
- }, gs = p("switch"), bu = gs[0], Fi = gs[1];
3172
- const Ii = bu({
3172
+ }, gs = p("switch"), ku = gs[0], Fi = gs[1];
3173
+ const Ii = ku({
3173
3174
  mixins: [Ht],
3174
3175
  props: ms,
3175
3176
  computed: {
@@ -3224,7 +3225,7 @@ const Ii = bu({
3224
3225
  }, [this.genLoading()])]);
3225
3226
  }
3226
3227
  });
3227
- var Ln = p("address-edit"), Su = Ln[0], Ve = Ln[1], V = Ln[2], Er = {
3228
+ var Ln = p("address-edit"), Cu = Ln[0], Ve = Ln[1], V = Ln[2], Er = {
3228
3229
  name: "",
3229
3230
  tel: "",
3230
3231
  country: "",
@@ -3236,10 +3237,10 @@ var Ln = p("address-edit"), Su = Ln[0], Ve = Ln[1], V = Ln[2], Er = {
3236
3237
  addressDetail: "",
3237
3238
  isDefault: !1
3238
3239
  };
3239
- function ku(e) {
3240
+ function $u(e) {
3240
3241
  return /^\d{6}$/.test(e);
3241
3242
  }
3242
- const Cu = Su({
3243
+ const wu = Cu({
3243
3244
  props: {
3244
3245
  areaList: Object,
3245
3246
  isSaving: Boolean,
@@ -3283,7 +3284,7 @@ const Cu = Su({
3283
3284
  },
3284
3285
  postalValidator: {
3285
3286
  type: Function,
3286
- default: ku
3287
+ default: $u
3287
3288
  },
3288
3289
  areaColumnsPlaceholder: {
3289
3290
  type: Array,
@@ -3351,7 +3352,7 @@ const Cu = Su({
3351
3352
  }), t.some(function(i) {
3352
3353
  return !i.code;
3353
3354
  })) {
3354
- R(V("areaEmpty"));
3355
+ M(V("areaEmpty"));
3355
3356
  return;
3356
3357
  }
3357
3358
  this.showAreaPopup = !1, this.assignAreaValues(), this.$emit("change-area", t);
@@ -3523,7 +3524,7 @@ const Cu = Su({
3523
3524
  i.$emit("click-area"), i.showAreaPopup = !a;
3524
3525
  }
3525
3526
  }
3526
- }), t(yu, {
3527
+ }), t(Su, {
3527
3528
  directives: [{
3528
3529
  name: "show",
3529
3530
  value: this.showDetail
@@ -3623,8 +3624,8 @@ const Cu = Su({
3623
3624
  })])]);
3624
3625
  }
3625
3626
  });
3626
- var ys = p("radio-group"), $u = ys[0], wu = ys[1];
3627
- const An = $u({
3627
+ var ys = p("radio-group"), xu = ys[0], Tu = ys[1];
3628
+ const An = xu({
3628
3629
  mixins: [Z("vanRadio"), Ht],
3629
3630
  props: {
3630
3631
  value: null,
@@ -3641,14 +3642,14 @@ const An = $u({
3641
3642
  render: function() {
3642
3643
  var t = arguments[0];
3643
3644
  return t("div", {
3644
- class: wu([this.direction]),
3645
+ class: Tu([this.direction]),
3645
3646
  attrs: {
3646
3647
  role: "radiogroup"
3647
3648
  }
3648
3649
  }, [this.slots()]);
3649
3650
  }
3650
3651
  });
3651
- var bs = p("tag"), xu = bs[0], Dr = bs[1];
3652
+ var bs = p("tag"), _u = bs[0], Dr = bs[1];
3652
3653
  function Ss(e, t, i, n) {
3653
3654
  var r, a = t.type, s = t.mark, o = t.plain, l = t.color, c = t.round, u = t.size, h = t.textColor, d = o ? "color" : "backgroundColor", f = (r = {}, r[d] = l, r);
3654
3655
  o ? (f.color = h || l, f.borderColor = l) : (f.color = h, f.background = l);
@@ -3692,7 +3693,7 @@ Ss.props = {
3692
3693
  default: "default"
3693
3694
  }
3694
3695
  };
3695
- const Oi = xu(Ss);
3696
+ const Oi = _u(Ss);
3696
3697
  var ks = function(t) {
3697
3698
  var i = t.parent, n = t.bem, r = t.role;
3698
3699
  return {
@@ -3791,10 +3792,10 @@ var ks = function(t) {
3791
3792
  }, [o]);
3792
3793
  }
3793
3794
  };
3794
- }, Cs = p("radio"), Tu = Cs[0], _u = Cs[1];
3795
- const Rn = Tu({
3795
+ }, Cs = p("radio"), Iu = Cs[0], Ou = Cs[1];
3796
+ const Rn = Iu({
3796
3797
  mixins: [ks({
3797
- bem: _u,
3798
+ bem: Ou,
3798
3799
  role: "radio",
3799
3800
  parent: "vanRadio"
3800
3801
  })],
@@ -3817,7 +3818,7 @@ const Rn = Tu({
3817
3818
  }
3818
3819
  }
3819
3820
  });
3820
- var $s = p("address-item"), Iu = $s[0], ne = $s[1];
3821
+ var $s = p("address-item"), Pu = $s[0], ne = $s[1];
3821
3822
  function ws(e, t, i, n) {
3822
3823
  var r = t.disabled, a = t.switchable;
3823
3824
  function s() {
@@ -3887,13 +3888,13 @@ ws.props = {
3887
3888
  switchable: Boolean,
3888
3889
  defaultTagText: String
3889
3890
  };
3890
- const Ou = Iu(ws);
3891
- var Vn = p("address-list"), Pu = Vn[0], ze = Vn[1], Bu = Vn[2];
3891
+ const Bu = Pu(ws);
3892
+ var Vn = p("address-list"), Eu = Vn[0], ze = Vn[1], Du = Vn[2];
3892
3893
  function xs(e, t, i, n) {
3893
3894
  function r(o, l) {
3894
3895
  if (o)
3895
3896
  return o.map(function(c, u) {
3896
- return e(Ou, {
3897
+ return e(Bu, {
3897
3898
  attrs: {
3898
3899
  data: c,
3899
3900
  disabled: l,
@@ -3935,7 +3936,7 @@ function xs(e, t, i, n) {
3935
3936
  round: !0,
3936
3937
  block: !0,
3937
3938
  type: "danger",
3938
- text: t.addButtonText || Bu("add")
3939
+ text: t.addButtonText || Du("add")
3939
3940
  },
3940
3941
  class: ze("add"),
3941
3942
  on: {
@@ -3957,9 +3958,9 @@ xs.props = {
3957
3958
  default: !0
3958
3959
  }
3959
3960
  };
3960
- const Eu = Pu(xs);
3961
- var Ts = p("badge"), Du = Ts[0], Nr = Ts[1];
3962
- const Nu = Du({
3961
+ const Nu = Eu(xs);
3962
+ var Ts = p("badge"), Mu = Ts[0], Nr = Ts[1];
3963
+ const Lu = Mu({
3963
3964
  props: {
3964
3965
  dot: Boolean,
3965
3966
  max: [Number, String],
@@ -4005,13 +4006,13 @@ const Nu = Du({
4005
4006
  }
4006
4007
  });
4007
4008
  var Mr = Date.now();
4008
- function Mu(e) {
4009
+ function Au(e) {
4009
4010
  var t = Date.now(), i = Math.max(0, 16 - (t - Mr)), n = setTimeout(e, i);
4010
4011
  return Mr = t + i, n;
4011
4012
  }
4012
- var Ie = X ? global : window, Lu = Ie.requestAnimationFrame || Mu, Au = Ie.cancelAnimationFrame || Ie.clearTimeout;
4013
+ var Ie = X ? global : window, Ru = Ie.requestAnimationFrame || Au, Vu = Ie.cancelAnimationFrame || Ie.clearTimeout;
4013
4014
  function at(e) {
4014
- return Lu.call(Ie, e);
4015
+ return Ru.call(Ie, e);
4015
4016
  }
4016
4017
  function Kt(e) {
4017
4018
  at(function() {
@@ -4019,13 +4020,13 @@ function Kt(e) {
4019
4020
  });
4020
4021
  }
4021
4022
  function _s(e) {
4022
- Au.call(Ie, e);
4023
+ Vu.call(Ie, e);
4023
4024
  }
4024
4025
  function $e(e) {
4025
4026
  return Object.prototype.toString.call(e) === "[object Date]" && !wn(e.getTime());
4026
4027
  }
4027
- var zn = p("calendar"), Ru = zn[0], A = zn[1], Vt = zn[2];
4028
- function Vu(e) {
4028
+ var zn = p("calendar"), zu = zn[0], R = zn[1], Vt = zn[2];
4029
+ function Fu(e) {
4029
4030
  return Vt("monthTitle", e.getFullYear(), e.getMonth() + 1);
4030
4031
  }
4031
4032
  function cn(e, t) {
@@ -4043,13 +4044,13 @@ function wt(e, t) {
4043
4044
  function Fn(e, t) {
4044
4045
  return e = new Date(e), e.setDate(e.getDate() + t), e;
4045
4046
  }
4046
- function zu(e) {
4047
+ function Hu(e) {
4047
4048
  return Fn(e, -1);
4048
4049
  }
4049
4050
  function Is(e) {
4050
4051
  return Fn(e, 1);
4051
4052
  }
4052
- function Fu(e) {
4053
+ function ju(e) {
4053
4054
  var t = e[0].getTime(), i = e[1].getTime();
4054
4055
  return (i - t) / (1e3 * 60 * 60 * 24) + 1;
4055
4056
  }
@@ -4061,7 +4062,7 @@ function Lr(e) {
4061
4062
  return t === null ? t : un(t);
4062
4063
  }) : un(e);
4063
4064
  }
4064
- function Hu(e, t) {
4065
+ function Wu(e, t) {
4065
4066
  if (e < 0)
4066
4067
  return [];
4067
4068
  for (var i = -1, n = Array(e); ++i < e; )
@@ -4081,8 +4082,8 @@ function Hi(e) {
4081
4082
  function hn(e, t) {
4082
4083
  return 32 - new Date(e, t - 1, 32).getDate();
4083
4084
  }
4084
- var ju = p("calendar-month"), Wu = ju[0];
4085
- const Uu = Wu({
4085
+ var Uu = p("calendar-month"), qu = Uu[0];
4086
+ const Ku = qu({
4086
4087
  props: {
4087
4088
  date: Date,
4088
4089
  type: String,
@@ -4106,7 +4107,7 @@ const Uu = Wu({
4106
4107
  },
4107
4108
  computed: {
4108
4109
  title: function() {
4109
- return Vu(this.date);
4110
+ return Fu(this.date);
4110
4111
  },
4111
4112
  rowHeightWithUnit: function() {
4112
4113
  return O(this.rowHeight);
@@ -4157,7 +4158,7 @@ const Uu = Wu({
4157
4158
  });
4158
4159
  };
4159
4160
  if (n(t)) {
4160
- var r = zu(t), a = Is(t), s = n(r), o = n(a);
4161
+ var r = Hu(t), a = Is(t), s = n(r), o = n(a);
4161
4162
  return s && o ? "multiple-middle" : s ? "end" : o ? "start" : "multiple-selected";
4162
4163
  }
4163
4164
  return "";
@@ -4210,14 +4211,14 @@ const Uu = Wu({
4210
4211
  var t = this.$createElement;
4211
4212
  if (this.showMonthTitle)
4212
4213
  return t("div", {
4213
- class: A("month-title")
4214
+ class: R("month-title")
4214
4215
  }, [this.title]);
4215
4216
  },
4216
4217
  genMark: function() {
4217
4218
  var t = this.$createElement;
4218
4219
  if (this.showMark && this.shouldRender)
4219
4220
  return t("div", {
4220
- class: A("month-mark")
4221
+ class: R("month-mark")
4221
4222
  }, [this.date.getMonth() + 1]);
4222
4223
  },
4223
4224
  genDays: function() {
@@ -4227,21 +4228,21 @@ const Uu = Wu({
4227
4228
  attrs: {
4228
4229
  role: "grid"
4229
4230
  },
4230
- class: A("days")
4231
+ class: R("days")
4231
4232
  }, [this.genMark(), i.map(this.genDay)]);
4232
4233
  },
4233
4234
  genTopInfo: function(t) {
4234
4235
  var i = this.$createElement, n = this.$scopedSlots["top-info"];
4235
4236
  if (t.topInfo || n)
4236
4237
  return i("div", {
4237
- class: A("top-info")
4238
+ class: R("top-info")
4238
4239
  }, [n ? n(t) : t.topInfo]);
4239
4240
  },
4240
4241
  genBottomInfo: function(t) {
4241
4242
  var i = this.$createElement, n = this.$scopedSlots["bottom-info"];
4242
4243
  if (t.bottomInfo || n)
4243
4244
  return i("div", {
4244
- class: A("bottom-info")
4245
+ class: R("bottom-info")
4245
4246
  }, [n ? n(t) : t.bottomInfo]);
4246
4247
  },
4247
4248
  genDay: function(t, i) {
@@ -4254,12 +4255,12 @@ const Uu = Wu({
4254
4255
  tabindex: -1
4255
4256
  },
4256
4257
  style: s,
4257
- class: [A("day"), t.className],
4258
+ class: [R("day"), t.className],
4258
4259
  on: {
4259
4260
  click: l
4260
4261
  }
4261
4262
  }, [r("div", {
4262
- class: A("selected-day"),
4263
+ class: R("selected-day"),
4263
4264
  style: {
4264
4265
  width: this.rowHeightWithUnit,
4265
4266
  height: this.rowHeightWithUnit,
@@ -4271,7 +4272,7 @@ const Uu = Wu({
4271
4272
  tabindex: o ? null : -1
4272
4273
  },
4273
4274
  style: s,
4274
- class: [A("day", a), t.className],
4275
+ class: [R("day", a), t.className],
4275
4276
  on: {
4276
4277
  click: l
4277
4278
  }
@@ -4281,13 +4282,13 @@ const Uu = Wu({
4281
4282
  render: function() {
4282
4283
  var t = arguments[0];
4283
4284
  return t("div", {
4284
- class: A("month"),
4285
+ class: R("month"),
4285
4286
  ref: "month"
4286
4287
  }, [this.genTitle(), this.genDays()]);
4287
4288
  }
4288
4289
  });
4289
- var qu = p("calendar-header"), Ku = qu[0];
4290
- const Yu = Ku({
4290
+ var Yu = p("calendar-header"), Xu = Yu[0];
4291
+ const Gu = Xu({
4291
4292
  props: {
4292
4293
  title: String,
4293
4294
  subtitle: String,
@@ -4301,7 +4302,7 @@ const Yu = Ku({
4301
4302
  if (this.showTitle) {
4302
4303
  var i = this.slots("title") || this.title || Vt("title");
4303
4304
  return t("div", {
4304
- class: A("header-title")
4305
+ class: R("header-title")
4305
4306
  }, [i]);
4306
4307
  }
4307
4308
  },
@@ -4309,16 +4310,16 @@ const Yu = Ku({
4309
4310
  var t = this.$createElement;
4310
4311
  if (this.showSubtitle)
4311
4312
  return t("div", {
4312
- class: A("header-subtitle")
4313
+ class: R("header-subtitle")
4313
4314
  }, [this.subtitle]);
4314
4315
  },
4315
4316
  genWeekDays: function() {
4316
4317
  var t = this.$createElement, i = Vt("weekdays"), n = this.firstDayOfWeek, r = [].concat(i.slice(n, 7), i.slice(0, n));
4317
4318
  return t("div", {
4318
- class: A("weekdays")
4319
+ class: R("weekdays")
4319
4320
  }, [r.map(function(a) {
4320
4321
  return t("span", {
4321
- class: A("weekday")
4322
+ class: R("weekday")
4322
4323
  }, [a]);
4323
4324
  })]);
4324
4325
  }
@@ -4326,10 +4327,10 @@ const Yu = Ku({
4326
4327
  render: function() {
4327
4328
  var t = arguments[0];
4328
4329
  return t("div", {
4329
- class: A("header")
4330
+ class: R("header")
4330
4331
  }, [this.genTitle(), this.genSubtitle(), this.genWeekDays()]);
4331
4332
  }
4332
- }), Xu = Ru({
4333
+ }), Zu = zu({
4333
4334
  props: {
4334
4335
  title: String,
4335
4336
  color: String,
@@ -4563,7 +4564,7 @@ const Yu = Ku({
4563
4564
  var u = r.splice(l, 1), h = u[0];
4564
4565
  this.$emit("unselect", un(h));
4565
4566
  } else
4566
- this.maxRange && r.length >= this.maxRange ? R(this.rangePrompt || Vt("rangePrompt", this.maxRange)) : this.select([].concat(r, [i]));
4567
+ this.maxRange && r.length >= this.maxRange ? M(this.rangePrompt || Vt("rangePrompt", this.maxRange)) : this.select([].concat(r, [i]));
4567
4568
  } else
4568
4569
  this.select(i, !0);
4569
4570
  }
@@ -4586,14 +4587,14 @@ const Yu = Ku({
4586
4587
  },
4587
4588
  checkRange: function(t) {
4588
4589
  var i = this.maxRange, n = this.rangePrompt;
4589
- return i && Fu(t) > i ? (R(n || Vt("rangePrompt", i)), !1) : !0;
4590
+ return i && ju(t) > i ? (M(n || Vt("rangePrompt", i)), !1) : !0;
4590
4591
  },
4591
4592
  onConfirm: function() {
4592
4593
  this.$emit("confirm", Lr(this.currentDate));
4593
4594
  },
4594
4595
  genMonth: function(t, i) {
4595
4596
  var n = this.$createElement, r = i !== 0 || !this.showSubtitle;
4596
- return n(Uu, {
4597
+ return n(Ku, {
4597
4598
  ref: "months",
4598
4599
  refInFor: !0,
4599
4600
  attrs: {
@@ -4636,7 +4637,7 @@ const Yu = Ku({
4636
4637
  disabled: this.buttonDisabled,
4637
4638
  nativeType: "button"
4638
4639
  },
4639
- class: A("confirm"),
4640
+ class: R("confirm"),
4640
4641
  on: {
4641
4642
  click: this.onConfirm
4642
4643
  }
@@ -4646,7 +4647,7 @@ const Yu = Ku({
4646
4647
  genFooter: function() {
4647
4648
  var t = this.$createElement;
4648
4649
  return t("div", {
4649
- class: A("footer", {
4650
+ class: R("footer", {
4650
4651
  unfit: !this.safeAreaInsetBottom
4651
4652
  })
4652
4653
  }, [this.genFooterContent()]);
@@ -4654,8 +4655,8 @@ const Yu = Ku({
4654
4655
  genCalendar: function() {
4655
4656
  var t = this, i = this.$createElement;
4656
4657
  return i("div", {
4657
- class: A()
4658
- }, [i(Yu, {
4658
+ class: R()
4659
+ }, [i(Gu, {
4659
4660
  attrs: {
4660
4661
  title: this.title,
4661
4662
  showTitle: this.showTitle,
@@ -4670,7 +4671,7 @@ const Yu = Ku({
4670
4671
  }
4671
4672
  }), i("div", {
4672
4673
  ref: "body",
4673
- class: A("body"),
4674
+ class: R("body"),
4674
4675
  on: {
4675
4676
  scroll: this.onScroll
4676
4677
  }
@@ -4690,7 +4691,7 @@ const Yu = Ku({
4690
4691
  round: !0,
4691
4692
  value: this.value
4692
4693
  }, n.round = this.round, n.position = this.position, n.closeable = this.showTitle || this.showSubtitle, n.getContainer = this.getContainer, n.closeOnPopstate = this.closeOnPopstate, n.closeOnClickOverlay = this.closeOnClickOverlay, n),
4693
- class: A("popup"),
4694
+ class: R("popup"),
4694
4695
  on: {
4695
4696
  input: this.togglePopup,
4696
4697
  open: r("open"),
@@ -4703,8 +4704,8 @@ const Yu = Ku({
4703
4704
  return this.genCalendar();
4704
4705
  }
4705
4706
  });
4706
- var Os = p("image"), Gu = Os[0], re = Os[1];
4707
- const de = Gu({
4707
+ var Os = p("image"), Ju = Os[0], re = Os[1];
4708
+ const de = Ju({
4708
4709
  props: {
4709
4710
  src: String,
4710
4711
  fit: String,
@@ -4839,7 +4840,7 @@ const de = Gu({
4839
4840
  }, [this.genImage(), this.genPlaceholder(), this.slots()]);
4840
4841
  }
4841
4842
  });
4842
- var Ps = p("card"), Zu = Ps[0], K = Ps[1];
4843
+ var Ps = p("card"), Qu = Ps[0], K = Ps[1];
4843
4844
  function Bs(e, t, i, n) {
4844
4845
  var r, a = t.thumb, s = i.num || T(t.num), o = i.price || T(t.price), l = i["origin-price"] || T(t.originPrice), c = s || o || l || i.bottom;
4845
4846
  function u(k) {
@@ -4956,9 +4957,9 @@ Bs.props = {
4956
4957
  default: "¥"
4957
4958
  }
4958
4959
  };
4959
- const Ju = Zu(Bs);
4960
- var Es = p("tab"), Qu = Es[0], ji = Es[1];
4961
- const di = Qu({
4960
+ const th = Qu(Bs);
4961
+ var Es = p("tab"), eh = Es[0], ji = Es[1];
4962
+ const di = eh({
4962
4963
  mixins: [G("vanTabs")],
4963
4964
  props: g({}, Ft, {
4964
4965
  dot: Boolean,
@@ -5024,14 +5025,14 @@ const di = Qu({
5024
5025
  }
5025
5026
  }
5026
5027
  });
5027
- function th(e, t, i) {
5028
+ function ih(e, t, i) {
5028
5029
  var n = 0, r = e.scrollLeft, a = i === 0 ? 1 : Math.round(i * 1e3 / 16);
5029
5030
  function s() {
5030
5031
  e.scrollLeft += (t - r) / a, ++n < a && at(s);
5031
5032
  }
5032
5033
  s();
5033
5034
  }
5034
- function eh(e, t, i, n) {
5035
+ function nh(e, t, i, n) {
5035
5036
  var r = Gt(e), a = r < t, s = i === 0 ? 1 : Math.round(i * 1e3 / 16), o = (t - r) / s;
5036
5037
  function l() {
5037
5038
  r += o, (a && r > t || !a && r < t) && (r = t), li(e, r), a && r < t || !a && r > t ? at(l) : n && at(n);
@@ -5052,8 +5053,8 @@ function Ds(e) {
5052
5053
  } else
5053
5054
  n();
5054
5055
  }
5055
- var Ns = p("tab"), ih = Ns[0], Wi = Ns[1];
5056
- const nh = ih({
5056
+ var Ns = p("tab"), rh = Ns[0], Wi = Ns[1];
5057
+ const ah = rh({
5057
5058
  props: {
5058
5059
  dot: Boolean,
5059
5060
  type: String,
@@ -5112,8 +5113,8 @@ const nh = ih({
5112
5113
  }, [this.genText()]);
5113
5114
  }
5114
5115
  });
5115
- var Ms = p("sticky"), rh = Ms[0], ah = Ms[1];
5116
- const Ls = rh({
5116
+ var Ms = p("sticky"), sh = Ms[0], oh = Ms[1];
5117
+ const Ls = sh({
5117
5118
  mixins: [vt(function(e, t) {
5118
5119
  if (this.scroller || (this.scroller = Xt(this.$el)), this.observer) {
5119
5120
  var i = t ? "observe" : "unobserve";
@@ -5190,15 +5191,15 @@ const Ls = rh({
5190
5191
  return t("div", {
5191
5192
  style: n
5192
5193
  }, [t("div", {
5193
- class: ah({
5194
+ class: oh({
5194
5195
  fixed: i
5195
5196
  }),
5196
5197
  style: this.style
5197
5198
  }, [this.slots()])]);
5198
5199
  }
5199
5200
  });
5200
- var As = p("tabs"), sh = As[0], Ar = As[1], oh = 50;
5201
- const lh = sh({
5201
+ var As = p("tabs"), lh = As[0], Ar = As[1], ch = 50;
5202
+ const uh = lh({
5202
5203
  mixins: [ot],
5203
5204
  props: {
5204
5205
  count: Number,
@@ -5229,7 +5230,7 @@ const lh = sh({
5229
5230
  // watch swipe touch end
5230
5231
  onTouchEnd: function() {
5231
5232
  var t = this.direction, i = this.deltaX, n = this.currentIndex;
5232
- t === "horizontal" && this.offsetX >= oh && (i > 0 && n !== 0 ? this.$emit("change", n - 1) : i < 0 && n !== this.count - 1 && this.$emit("change", n + 1));
5233
+ t === "horizontal" && this.offsetX >= ch && (i > 0 && n !== 0 ? this.$emit("change", n - 1) : i < 0 && n !== this.count - 1 && this.$emit("change", n + 1));
5233
5234
  },
5234
5235
  genChildren: function() {
5235
5236
  var t = this.$createElement;
@@ -5249,8 +5250,8 @@ const lh = sh({
5249
5250
  }, [this.genChildren()]);
5250
5251
  }
5251
5252
  });
5252
- var Rs = p("tabs"), ch = Rs[0], Fe = Rs[1];
5253
- const Hn = ch({
5253
+ var Rs = p("tabs"), hh = Rs[0], Fe = Rs[1];
5254
+ const Hn = hh({
5254
5255
  mixins: [Z("vanTabs"), vt(function(e) {
5255
5256
  this.scroller || (this.scroller = Xt(this.$el)), e(window, "resize", this.resize, !0), this.scrollspy && e(this.scroller, "scroll", this.onScroll, !0);
5256
5257
  })],
@@ -5371,7 +5372,7 @@ const Hn = ch({
5371
5372
  init: function() {
5372
5373
  var t = this;
5373
5374
  this.$nextTick(function() {
5374
- t.inited = !0, t.tabHeight = Cc(t.$refs.wrap), t.scrollIntoView(!0);
5375
+ t.inited = !0, t.tabHeight = wc(t.$refs.wrap), t.scrollIntoView(!0);
5375
5376
  });
5376
5377
  },
5377
5378
  // update nav bar style
@@ -5430,7 +5431,7 @@ const Hn = ch({
5430
5431
  var i = this.$refs.titles;
5431
5432
  if (!(!this.scrollable || !i || !i[this.currentIndex])) {
5432
5433
  var n = this.$refs.nav, r = i[this.currentIndex].$el, a = r.offsetLeft - (n.offsetWidth - r.offsetWidth) / 2;
5433
- th(n, a, t ? 0 : +this.duration);
5434
+ ih(n, a, t ? 0 : +this.duration);
5434
5435
  }
5435
5436
  },
5436
5437
  onSticktScroll: function(t) {
@@ -5449,7 +5450,7 @@ const Hn = ch({
5449
5450
  var n = this.children[this.currentIndex], r = n == null ? void 0 : n.$el;
5450
5451
  if (r) {
5451
5452
  var a = on(r, this.scroller) - this.scrollOffset;
5452
- this.lockScroll = !0, eh(this.scroller, a, t ? 0 : +this.duration, function() {
5453
+ this.lockScroll = !0, nh(this.scroller, a, t ? 0 : +this.duration, function() {
5453
5454
  i.lockScroll = !1;
5454
5455
  });
5455
5456
  }
@@ -5463,7 +5464,7 @@ const Hn = ch({
5463
5464
  },
5464
5465
  getCurrentIndexOnScroll: function() {
5465
5466
  for (var t = this.children, i = 0; i < t.length; i++) {
5466
- var n = $c(t[i].$el);
5467
+ var n = xc(t[i].$el);
5467
5468
  if (n > this.scrollOffset)
5468
5469
  return i === 0 ? 0 : i - 1;
5469
5470
  }
@@ -5473,7 +5474,7 @@ const Hn = ch({
5473
5474
  render: function() {
5474
5475
  var t = this, i, n = arguments[0], r = this.type, a = this.animated, s = this.scrollable, o = this.children.map(function(c, u) {
5475
5476
  var h;
5476
- return n(nh, {
5477
+ return n(ah, {
5477
5478
  ref: "titles",
5478
5479
  refInFor: !0,
5479
5480
  attrs: {
@@ -5529,7 +5530,7 @@ const Hn = ch({
5529
5530
  on: {
5530
5531
  scroll: this.onSticktScroll
5531
5532
  }
5532
- }, [l]) : l, n(lh, {
5533
+ }, [l]) : l, n(uh, {
5533
5534
  attrs: {
5534
5535
  count: this.children.length,
5535
5536
  animated: a,
@@ -5543,8 +5544,8 @@ const Hn = ch({
5543
5544
  }, [this.slots()])]);
5544
5545
  }
5545
5546
  });
5546
- var jn = p("cascader"), uh = jn[0], It = jn[1], hh = jn[2];
5547
- const dh = uh({
5547
+ var jn = p("cascader"), dh = jn[0], It = jn[1], fh = jn[2];
5548
+ const ph = dh({
5548
5549
  props: {
5549
5550
  title: String,
5550
5551
  value: [Number, String],
@@ -5720,7 +5721,7 @@ const dh = uh({
5720
5721
  }, [t.map(s)]);
5721
5722
  },
5722
5723
  renderTab: function(t, i) {
5723
- var n = this.$createElement, r = t.options, a = t.selectedOption, s = a ? a[this.textKey] : this.placeholder || hh("select");
5724
+ var n = this.$createElement, r = t.options, a = t.selectedOption, s = a ? a[this.textKey] : this.placeholder || fh("select");
5724
5725
  return n(di, {
5725
5726
  attrs: {
5726
5727
  title: s,
@@ -5756,7 +5757,7 @@ const dh = uh({
5756
5757
  }, [this.renderHeader(), this.renderTabs()]);
5757
5758
  }
5758
5759
  });
5759
- var Vs = p("cell-group"), fh = Vs[0], Rr = Vs[1];
5760
+ var Vs = p("cell-group"), vh = Vs[0], Rr = Vs[1];
5760
5761
  function zs(e, t, i, n) {
5761
5762
  var r, a = e("div", x([{
5762
5763
  class: [Rr({
@@ -5779,11 +5780,11 @@ zs.props = {
5779
5780
  default: !0
5780
5781
  }
5781
5782
  };
5782
- const Fs = fh(zs);
5783
- var Hs = p("checkbox"), ph = Hs[0], vh = Hs[1];
5784
- const js = ph({
5783
+ const Fs = vh(zs);
5784
+ var Hs = p("checkbox"), mh = Hs[0], gh = Hs[1];
5785
+ const js = mh({
5785
5786
  mixins: [ks({
5786
- bem: vh,
5787
+ bem: gh,
5787
5788
  role: "checkbox",
5788
5789
  parent: "vanCheckbox"
5789
5790
  })],
@@ -5823,8 +5824,8 @@ const js = ph({
5823
5824
  }
5824
5825
  }
5825
5826
  });
5826
- var Ws = p("checkbox-group"), mh = Ws[0], gh = Ws[1];
5827
- const yh = mh({
5827
+ var Ws = p("checkbox-group"), yh = Ws[0], bh = Ws[1];
5828
+ const Sh = yh({
5828
5829
  mixins: [Z("vanCheckbox"), Ht],
5829
5830
  props: {
5830
5831
  max: [Number, String],
@@ -5861,19 +5862,19 @@ const yh = mh({
5861
5862
  render: function() {
5862
5863
  var t = arguments[0];
5863
5864
  return t("div", {
5864
- class: gh([this.direction])
5865
+ class: bh([this.direction])
5865
5866
  }, [this.slots()]);
5866
5867
  }
5867
5868
  });
5868
- var Us = p("circle"), bh = Us[0], He = Us[1], Vr = 3140, Sh = 0;
5869
+ var Us = p("circle"), kh = Us[0], He = Us[1], Vr = 3140, Ch = 0;
5869
5870
  function zr(e) {
5870
5871
  return Math.min(Math.max(e, 0), 100);
5871
5872
  }
5872
- function kh(e, t) {
5873
+ function $h(e, t) {
5873
5874
  var i = e ? 1 : 0;
5874
5875
  return "M " + t / 2 + " " + t / 2 + " m 0, -500 a 500, 500 0 1, " + i + " 0, 1000 a 500, 500 0 1, " + i + " 0, -1000";
5875
5876
  }
5876
- const Ch = bh({
5877
+ const wh = kh({
5877
5878
  props: {
5878
5879
  text: String,
5879
5880
  size: [Number, String],
@@ -5906,7 +5907,7 @@ const Ch = bh({
5906
5907
  }
5907
5908
  },
5908
5909
  beforeCreate: function() {
5909
- this.uid = "van-circle-gradient-" + Sh++;
5910
+ this.uid = "van-circle-gradient-" + Ch++;
5910
5911
  },
5911
5912
  computed: {
5912
5913
  style: function() {
@@ -5917,7 +5918,7 @@ const Ch = bh({
5917
5918
  };
5918
5919
  },
5919
5920
  path: function() {
5920
- return kh(this.clockwise, this.viewBoxSize);
5921
+ return $h(this.clockwise, this.viewBoxSize);
5921
5922
  },
5922
5923
  viewBoxSize: function() {
5923
5924
  return +this.strokeWidth + 1e3;
@@ -6007,8 +6008,8 @@ const Ch = bh({
6007
6008
  }, [this.text])]);
6008
6009
  }
6009
6010
  });
6010
- var qs = p("col"), $h = qs[0], wh = qs[1];
6011
- const xh = $h({
6011
+ var qs = p("col"), xh = qs[0], Th = qs[1];
6012
+ const _h = xh({
6012
6013
  mixins: [G("vanRow")],
6013
6014
  props: {
6014
6015
  span: [Number, String],
@@ -6039,15 +6040,15 @@ const xh = $h({
6039
6040
  var t, i = arguments[0], n = this.span, r = this.offset;
6040
6041
  return i(this.tag, {
6041
6042
  style: this.style,
6042
- class: wh((t = {}, t[n] = n, t["offset-" + r] = r, t)),
6043
+ class: Th((t = {}, t[n] = n, t["offset-" + r] = r, t)),
6043
6044
  on: {
6044
6045
  click: this.onClick
6045
6046
  }
6046
6047
  }, [this.slots()]);
6047
6048
  }
6048
6049
  });
6049
- var Ks = p("collapse"), Th = Ks[0], _h = Ks[1];
6050
- const Ih = Th({
6050
+ var Ks = p("collapse"), Ih = Ks[0], Oh = Ks[1];
6051
+ const Ph = Ih({
6051
6052
  mixins: [Z("vanCollapse")],
6052
6053
  props: {
6053
6054
  accordion: Boolean,
@@ -6067,12 +6068,12 @@ const Ih = Th({
6067
6068
  render: function() {
6068
6069
  var t, i = arguments[0];
6069
6070
  return i("div", {
6070
- class: [_h(), (t = {}, t[Ti] = this.border, t)]
6071
+ class: [Oh(), (t = {}, t[Ti] = this.border, t)]
6071
6072
  }, [this.slots()]);
6072
6073
  }
6073
6074
  });
6074
- var Ys = p("collapse-item"), Oh = Ys[0], je = Ys[1], Ph = ["title", "icon", "right-icon"];
6075
- const Bh = Oh({
6075
+ var Ys = p("collapse-item"), Bh = Ys[0], je = Ys[1], Eh = ["title", "icon", "right-icon"];
6076
+ const Dh = Bh({
6076
6077
  mixins: [G("vanCollapse")],
6077
6078
  props: g({}, En, {
6078
6079
  name: [Number, String],
@@ -6150,7 +6151,7 @@ const Bh = Oh({
6150
6151
  this.expanded ? this.$refs.wrapper.style.height = "" : this.show = !1;
6151
6152
  },
6152
6153
  genTitle: function() {
6153
- var t = this, i = this.$createElement, n = this.border, r = this.disabled, a = this.expanded, s = Ph.reduce(function(o, l) {
6154
+ var t = this, i = this.$createElement, n = this.border, r = this.disabled, a = this.expanded, s = Eh.reduce(function(o, l) {
6154
6155
  return t.slots(l) && (o[l] = function() {
6155
6156
  return t.slots(l);
6156
6157
  }), o;
@@ -6203,7 +6204,7 @@ const Bh = Oh({
6203
6204
  }, [this.genTitle(), this.genContent()]);
6204
6205
  }
6205
6206
  });
6206
- var Wn = p("contact-card"), Eh = Wn[0], Fr = Wn[1], Ui = Wn[2];
6207
+ var Wn = p("contact-card"), Nh = Wn[0], Fr = Wn[1], Ui = Wn[2];
6207
6208
  function Xs(e, t, i, n) {
6208
6209
  var r = t.type, a = t.editable;
6209
6210
  function s(l) {
@@ -6239,12 +6240,12 @@ Xs.props = {
6239
6240
  default: "add"
6240
6241
  }
6241
6242
  };
6242
- const Dh = Eh(Xs);
6243
- var Un = p("contact-edit"), Nh = Un[0], We = Un[1], Ot = Un[2], qi = {
6243
+ const Mh = Nh(Xs);
6244
+ var Un = p("contact-edit"), Lh = Un[0], We = Un[1], Ot = Un[2], qi = {
6244
6245
  tel: "",
6245
6246
  name: ""
6246
6247
  };
6247
- const Mh = Nh({
6248
+ const Ah = Lh({
6248
6249
  props: {
6249
6250
  isEdit: Boolean,
6250
6251
  isSaving: Boolean,
@@ -6397,7 +6398,7 @@ const Mh = Nh({
6397
6398
  })])]);
6398
6399
  }
6399
6400
  });
6400
- var qn = p("contact-list"), Lh = qn[0], Dt = qn[1], Ah = qn[2];
6401
+ var qn = p("contact-list"), Rh = qn[0], Dt = qn[1], Vh = qn[2];
6401
6402
  function Gs(e, t, i, n) {
6402
6403
  var r = t.list && t.list.map(function(a, s) {
6403
6404
  function o() {
@@ -6470,7 +6471,7 @@ function Gs(e, t, i, n) {
6470
6471
  round: !0,
6471
6472
  block: !0,
6472
6473
  type: "danger",
6473
- text: t.addText || Ah("addText")
6474
+ text: t.addText || Vh("addText")
6474
6475
  },
6475
6476
  class: Dt("add"),
6476
6477
  on: {
@@ -6486,9 +6487,9 @@ Gs.props = {
6486
6487
  addText: String,
6487
6488
  defaultTagText: String
6488
6489
  };
6489
- const Rh = Lh(Gs);
6490
+ const zh = Rh(Gs);
6490
6491
  var dn = 1e3, fn = 60 * dn, pn = 60 * fn, Hr = 24 * pn;
6491
- function Vh(e) {
6492
+ function Fh(e) {
6492
6493
  var t = Math.floor(e / Hr), i = Math.floor(e % Hr / pn), n = Math.floor(e % pn / fn), r = Math.floor(e % fn / dn), a = Math.floor(e % dn);
6493
6494
  return {
6494
6495
  days: t,
@@ -6498,19 +6499,19 @@ function Vh(e) {
6498
6499
  milliseconds: a
6499
6500
  };
6500
6501
  }
6501
- function zh(e, t) {
6502
+ function Hh(e, t) {
6502
6503
  var i = t.days, n = t.hours, r = t.minutes, a = t.seconds, s = t.milliseconds;
6503
- if (e.indexOf("DD") === -1 ? n += i * 24 : e = e.replace("DD", M(i)), e.indexOf("HH") === -1 ? r += n * 60 : e = e.replace("HH", M(n)), e.indexOf("mm") === -1 ? a += r * 60 : e = e.replace("mm", M(r)), e.indexOf("ss") === -1 ? s += a * 1e3 : e = e.replace("ss", M(a)), e.indexOf("S") !== -1) {
6504
- var o = M(s, 3);
6504
+ if (e.indexOf("DD") === -1 ? n += i * 24 : e = e.replace("DD", L(i)), e.indexOf("HH") === -1 ? r += n * 60 : e = e.replace("HH", L(n)), e.indexOf("mm") === -1 ? a += r * 60 : e = e.replace("mm", L(r)), e.indexOf("ss") === -1 ? s += a * 1e3 : e = e.replace("ss", L(a)), e.indexOf("S") !== -1) {
6505
+ var o = L(s, 3);
6505
6506
  e.indexOf("SSS") !== -1 ? e = e.replace("SSS", o) : e.indexOf("SS") !== -1 ? e = e.replace("SS", o.slice(0, 2)) : e = e.replace("S", o.charAt(0));
6506
6507
  }
6507
6508
  return e;
6508
6509
  }
6509
- function Fh(e, t) {
6510
+ function jh(e, t) {
6510
6511
  return Math.floor(e / 1e3) === Math.floor(t / 1e3);
6511
6512
  }
6512
- var Zs = p("count-down"), Hh = Zs[0], jh = Zs[1];
6513
- const Wh = Hh({
6513
+ var Zs = p("count-down"), Wh = Zs[0], Uh = Zs[1];
6514
+ const qh = Wh({
6514
6515
  props: {
6515
6516
  millisecond: Boolean,
6516
6517
  time: {
@@ -6533,10 +6534,10 @@ const Wh = Hh({
6533
6534
  },
6534
6535
  computed: {
6535
6536
  timeData: function() {
6536
- return Vh(this.remain);
6537
+ return Fh(this.remain);
6537
6538
  },
6538
6539
  formattedTime: function() {
6539
- return zh(this.format, this.timeData);
6540
+ return Hh(this.format, this.timeData);
6540
6541
  }
6541
6542
  },
6542
6543
  watch: {
@@ -6581,7 +6582,7 @@ const Wh = Hh({
6581
6582
  this.rafId = at(function() {
6582
6583
  if (t.counting) {
6583
6584
  var i = t.getRemain();
6584
- (!Fh(i, t.remain) || i === 0) && t.setRemain(i), t.remain > 0 && t.macroTick();
6585
+ (!jh(i, t.remain) || i === 0) && t.setRemain(i), t.remain > 0 && t.macroTick();
6585
6586
  }
6586
6587
  });
6587
6588
  },
@@ -6595,25 +6596,25 @@ const Wh = Hh({
6595
6596
  render: function() {
6596
6597
  var t = arguments[0];
6597
6598
  return t("div", {
6598
- class: jh()
6599
+ class: Uh()
6599
6600
  }, [this.slots("default", this.timeData) || this.formattedTime]);
6600
6601
  }
6601
6602
  });
6602
- var Kn = p("coupon"), Uh = Kn[0], St = Kn[1], Ki = Kn[2];
6603
- function qh(e) {
6603
+ var Kn = p("coupon"), Kh = Kn[0], St = Kn[1], Ki = Kn[2];
6604
+ function Yh(e) {
6604
6605
  return e < Math.pow(10, 12) ? e * 1e3 : +e;
6605
6606
  }
6606
6607
  function jr(e) {
6607
- var t = new Date(qh(e));
6608
- return t.getFullYear() + "." + M(t.getMonth() + 1) + "." + M(t.getDate());
6608
+ var t = new Date(Yh(e));
6609
+ return t.getFullYear() + "." + L(t.getMonth() + 1) + "." + L(t.getDate());
6609
6610
  }
6610
- function Kh(e) {
6611
+ function Xh(e) {
6611
6612
  return (e / 10).toFixed(e % 10 === 0 ? 0 : 1);
6612
6613
  }
6613
6614
  function Wr(e) {
6614
6615
  return (e / 100).toFixed(e % 100 === 0 ? 0 : e % 10 === 0 ? 1 : 2);
6615
6616
  }
6616
- const vn = Uh({
6617
+ const vn = Kh({
6617
6618
  props: {
6618
6619
  coupon: Object,
6619
6620
  chosen: Boolean,
@@ -6636,7 +6637,7 @@ const vn = Uh({
6636
6637
  var i = Wr(t.denominations);
6637
6638
  return "<span>" + this.currency + "</span> " + i;
6638
6639
  }
6639
- return t.discount ? Ki("discount", Kh(t.discount)) : "";
6640
+ return t.discount ? Ki("discount", Xh(t.discount)) : "";
6640
6641
  },
6641
6642
  conditionMessage: function() {
6642
6643
  var t = Wr(this.coupon.originCondition);
@@ -6678,8 +6679,8 @@ const vn = Uh({
6678
6679
  }, [r])]);
6679
6680
  }
6680
6681
  });
6681
- var Yn = p("coupon-cell"), Yh = Yn[0], Ur = Yn[1], mn = Yn[2];
6682
- function Xh(e) {
6682
+ var Yn = p("coupon-cell"), Gh = Yn[0], Ur = Yn[1], mn = Yn[2];
6683
+ function Zh(e) {
6683
6684
  var t = e.coupons, i = e.chosenCoupon, n = e.currency, r = t[+i];
6684
6685
  if (r) {
6685
6686
  var a = 0;
@@ -6688,7 +6689,7 @@ function Xh(e) {
6688
6689
  return t.length === 0 ? mn("tips") : mn("count", t.length);
6689
6690
  }
6690
6691
  function Xn(e, t, i, n) {
6691
- var r = t.coupons[+t.chosenCoupon], a = Xh(t);
6692
+ var r = t.coupons[+t.chosenCoupon], a = Zh(t);
6692
6693
  return e(q, x([{
6693
6694
  class: Ur(),
6694
6695
  attrs: {
@@ -6730,9 +6731,9 @@ Xn.props = {
6730
6731
  default: -1
6731
6732
  }
6732
6733
  };
6733
- const Gh = Yh(Xn);
6734
- var Gn = p("coupon-list"), Zh = Gn[0], kt = Gn[1], ae = Gn[2], Jh = "https://img01.yzcdn.cn/vant/coupon-empty.png";
6735
- const Qh = Zh({
6734
+ const Jh = Gh(Xn);
6735
+ var Gn = p("coupon-list"), Qh = Gn[0], kt = Gn[1], ae = Gn[2], td = "https://img01.yzcdn.cn/vant/coupon-empty.png";
6736
+ const ed = Qh({
6736
6737
  model: {
6737
6738
  prop: "code"
6738
6739
  },
@@ -6787,7 +6788,7 @@ const Qh = Zh({
6787
6788
  },
6788
6789
  emptyImage: {
6789
6790
  type: String,
6790
- default: Jh
6791
+ default: td
6791
6792
  }
6792
6793
  },
6793
6794
  data: function() {
@@ -6977,8 +6978,8 @@ var Js = g({}, xi, {
6977
6978
  originColumns: function() {
6978
6979
  var t = this;
6979
6980
  return this.ranges.map(function(i) {
6980
- var n = i.type, r = i.range, a = Hu(r[1] - r[0] + 1, function(s) {
6981
- var o = M(r[0] + s);
6981
+ var n = i.type, r = i.range, a = Wu(r[1] - r[0] + 1, function(s) {
6982
+ var o = L(r[0] + s);
6982
6983
  return o;
6983
6984
  });
6984
6985
  return t.filter && (a = t.filter(n, a)), {
@@ -7057,8 +7058,8 @@ var Js = g({}, xi, {
7057
7058
  props: g({}, n)
7058
7059
  });
7059
7060
  }
7060
- }, td = p("time-picker"), ed = td[0];
7061
- const qr = ed({
7061
+ }, id = p("time-picker"), nd = id[0];
7062
+ const qr = nd({
7062
7063
  mixins: [Qs],
7063
7064
  props: g({}, Js, {
7064
7065
  minHour: {
@@ -7112,9 +7113,9 @@ const qr = ed({
7112
7113
  },
7113
7114
  methods: {
7114
7115
  formatValue: function(t) {
7115
- t || (t = M(this.minHour) + ":" + M(this.minMinute));
7116
+ t || (t = L(this.minHour) + ":" + L(this.minMinute));
7116
7117
  var i = t.split(":"), n = i[0], r = i[1];
7117
- return n = M(U(n, this.minHour, this.maxHour)), r = M(U(r, this.minMinute, this.maxMinute)), n + ":" + r;
7118
+ return n = L(U(n, this.minHour, this.maxHour)), r = L(U(r, this.minMinute, this.maxMinute)), n + ":" + r;
7118
7119
  },
7119
7120
  updateInnerValue: function() {
7120
7121
  var t = this.getPicker().getIndexes(), i = t[0], n = t[1], r = this.originColumns, a = r[0], s = r[1], o = a.values[i] || a.values[0], l = s.values[n] || s.values[0];
@@ -7159,8 +7160,8 @@ function Kr(e, t, i) {
7159
7160
  var r = new (e.bind.apply(e, n))();
7160
7161
  return i && gn(r, i.prototype), r;
7161
7162
  }
7162
- var Yr = (/* @__PURE__ */ new Date()).getFullYear(), id = p("date-picker"), nd = id[0];
7163
- const Xr = nd({
7163
+ var Yr = (/* @__PURE__ */ new Date()).getFullYear(), rd = p("date-picker"), ad = rd[0];
7164
+ const Xr = ad({
7164
7165
  mixins: [Qs],
7165
7166
  props: g({}, Js, {
7166
7167
  type: {
@@ -7318,13 +7319,13 @@ const Xr = nd({
7318
7319
  case "year":
7319
7320
  return n("year", "" + i.getFullYear());
7320
7321
  case "month":
7321
- return n("month", M(i.getMonth() + 1));
7322
+ return n("month", L(i.getMonth() + 1));
7322
7323
  case "day":
7323
- return n("day", M(i.getDate()));
7324
+ return n("day", L(i.getDate()));
7324
7325
  case "hour":
7325
- return n("hour", M(i.getHours()));
7326
+ return n("hour", L(i.getHours()));
7326
7327
  case "minute":
7327
- return n("minute", M(i.getMinutes()));
7328
+ return n("minute", L(i.getMinutes()));
7328
7329
  default:
7329
7330
  return null;
7330
7331
  }
@@ -7335,8 +7336,8 @@ const Xr = nd({
7335
7336
  }
7336
7337
  }
7337
7338
  });
7338
- var eo = p("datetime-picker"), rd = eo[0], ad = eo[1];
7339
- const io = rd({
7339
+ var eo = p("datetime-picker"), sd = eo[0], od = eo[1];
7340
+ const io = sd({
7340
7341
  props: g({}, qr.props, Xr.props),
7341
7342
  methods: {
7342
7343
  // @exposed-api
@@ -7348,14 +7349,14 @@ const io = rd({
7348
7349
  var t = arguments[0], i = this.type === "time" ? qr : Xr;
7349
7350
  return t(i, {
7350
7351
  ref: "root",
7351
- class: ad(),
7352
+ class: od(),
7352
7353
  scopedSlots: this.$scopedSlots,
7353
7354
  props: g({}, this.$props),
7354
7355
  on: g({}, this.$listeners)
7355
7356
  });
7356
7357
  }
7357
7358
  });
7358
- var no = p("divider"), sd = no[0], od = no[1];
7359
+ var no = p("divider"), ld = no[0], cd = no[1];
7359
7360
  function ro(e, t, i, n) {
7360
7361
  var r;
7361
7362
  return e("div", x([{
@@ -7365,7 +7366,7 @@ function ro(e, t, i, n) {
7365
7366
  style: {
7366
7367
  borderColor: t.borderColor
7367
7368
  },
7368
- class: od((r = {
7369
+ class: cd((r = {
7369
7370
  dashed: t.dashed,
7370
7371
  hairline: t.hairline
7371
7372
  }, r["content-" + t.contentPosition] = i.default, r))
@@ -7382,9 +7383,9 @@ ro.props = {
7382
7383
  default: "center"
7383
7384
  }
7384
7385
  };
7385
- const ao = sd(ro);
7386
- var so = p("dropdown-item"), ld = so[0], Ue = so[1];
7387
- const cd = ld({
7386
+ const ao = ld(ro);
7387
+ var so = p("dropdown-item"), ud = so[0], Ue = so[1];
7388
+ const hd = ud({
7388
7389
  mixins: [In({
7389
7390
  ref: "wrapper"
7390
7391
  }), G("vanDropdownMenu")],
@@ -7545,8 +7546,8 @@ var Zn = function(t) {
7545
7546
  zt(document, t.event, this.clickOutsideHandler);
7546
7547
  }
7547
7548
  };
7548
- }, oo = p("dropdown-menu"), ud = oo[0], qe = oo[1];
7549
- const hd = ud({
7549
+ }, oo = p("dropdown-menu"), dd = oo[0], qe = oo[1];
7550
+ const fd = dd({
7550
7551
  mixins: [Z("vanDropdownMenu"), Zn({
7551
7552
  event: "click",
7552
7553
  method: "onClickOutside"
@@ -7651,7 +7652,7 @@ const hd = ud({
7651
7652
  }
7652
7653
  });
7653
7654
  var z = "van-empty-network-";
7654
- const dd = {
7655
+ const pd = {
7655
7656
  render: function() {
7656
7657
  var t = arguments[0], i = function(r, a, s) {
7657
7658
  return t("stop", {
@@ -7821,8 +7822,8 @@ const dd = {
7821
7822
  })])])]);
7822
7823
  }
7823
7824
  };
7824
- var lo = p("empty"), fd = lo[0], Ke = lo[1], pd = ["error", "search", "default"];
7825
- const vd = fd({
7825
+ var lo = p("empty"), vd = lo[0], Ke = lo[1], md = ["error", "search", "default"];
7826
+ const gd = vd({
7826
7827
  props: {
7827
7828
  imageSize: [Number, String],
7828
7829
  description: String,
@@ -7837,9 +7838,9 @@ const vd = fd({
7837
7838
  if (i)
7838
7839
  return i;
7839
7840
  if (this.image === "network")
7840
- return t(dd);
7841
+ return t(pd);
7841
7842
  var n = this.image;
7842
- return pd.indexOf(n) !== -1 && (n = "https://img01.yzcdn.cn/vant/empty-image-" + n + ".png"), t("img", {
7843
+ return md.indexOf(n) !== -1 && (n = "https://img01.yzcdn.cn/vant/empty-image-" + n + ".png"), t("img", {
7843
7844
  attrs: {
7844
7845
  src: n
7845
7846
  }
@@ -7877,8 +7878,8 @@ const vd = fd({
7877
7878
  }, [this.genImage(), this.genDescription(), this.genBottom()]);
7878
7879
  }
7879
7880
  });
7880
- var co = p("form"), md = co[0], gd = co[1];
7881
- const yd = md({
7881
+ var co = p("form"), yd = co[0], bd = co[1];
7882
+ const Sd = yd({
7882
7883
  props: {
7883
7884
  colon: Boolean,
7884
7885
  disabled: Boolean,
@@ -8011,15 +8012,15 @@ const yd = md({
8011
8012
  render: function() {
8012
8013
  var t = arguments[0];
8013
8014
  return t("form", {
8014
- class: gd(),
8015
+ class: bd(),
8015
8016
  on: {
8016
8017
  submit: this.onSubmit
8017
8018
  }
8018
8019
  }, [this.slots()]);
8019
8020
  }
8020
8021
  });
8021
- var uo = p("goods-action-icon"), bd = uo[0], Yi = uo[1];
8022
- const Sd = bd({
8022
+ var uo = p("goods-action-icon"), kd = uo[0], Yi = uo[1];
8023
+ const Cd = kd({
8023
8024
  mixins: [G("vanGoodsAction")],
8024
8025
  props: g({}, Ft, {
8025
8026
  dot: Boolean,
@@ -8070,8 +8071,8 @@ const Sd = bd({
8070
8071
  }, [this.genIcon(), this.slots() || this.text]);
8071
8072
  }
8072
8073
  });
8073
- var ho = p("grid"), kd = ho[0], Cd = ho[1];
8074
- const $d = kd({
8074
+ var ho = p("grid"), $d = ho[0], wd = ho[1];
8075
+ const xd = $d({
8075
8076
  mixins: [Z("vanGrid")],
8076
8077
  props: {
8077
8078
  square: Boolean,
@@ -8105,12 +8106,12 @@ const $d = kd({
8105
8106
  var t, i = arguments[0];
8106
8107
  return i("div", {
8107
8108
  style: this.style,
8108
- class: [Cd(), (t = {}, t[On] = this.border && !this.gutter, t)]
8109
+ class: [wd(), (t = {}, t[On] = this.border && !this.gutter, t)]
8109
8110
  }, [this.slots()]);
8110
8111
  }
8111
8112
  });
8112
- var fo = p("grid-item"), wd = fo[0], me = fo[1];
8113
- const xd = wd({
8113
+ var fo = p("grid-item"), Td = fo[0], me = fo[1];
8114
+ const _d = Td({
8114
8115
  mixins: [G("vanGrid")],
8115
8116
  props: g({}, Ft, {
8116
8117
  dot: Boolean,
@@ -8212,8 +8213,8 @@ const xd = wd({
8212
8213
  }, [this.genContent()])]);
8213
8214
  }
8214
8215
  });
8215
- var po = p("image-preview"), Td = po[0], Rt = po[1], vo = p("swipe"), _d = vo[0], Ye = vo[1];
8216
- const mo = _d({
8216
+ var po = p("image-preview"), Id = po[0], Rt = po[1], vo = p("swipe"), Od = vo[0], Ye = vo[1];
8217
+ const mo = Od({
8217
8218
  mixins: [ot, Z("vanSwipe"), vt(function(e, t) {
8218
8219
  e(window, "resize", this.resize, !0), e(window, "orientationchange", this.resize, !0), e(window, "visibilitychange", this.onVisibilityChange), t ? this.initialize() : this.clear();
8219
8220
  })],
@@ -8472,8 +8473,8 @@ const mo = _d({
8472
8473
  }, [this.slots()]), this.genIndicator()]);
8473
8474
  }
8474
8475
  });
8475
- var go = p("swipe-item"), Id = go[0], Od = go[1];
8476
- const yo = Id({
8476
+ var go = p("swipe-item"), Pd = go[0], Bd = go[1];
8477
+ const yo = Pd({
8477
8478
  mixins: [G("vanSwipe")],
8478
8479
  data: function() {
8479
8480
  return {
@@ -8506,7 +8507,7 @@ const yo = Id({
8506
8507
  render: function() {
8507
8508
  var t = arguments[0];
8508
8509
  return t("div", {
8509
- class: Od(),
8510
+ class: Bd(),
8510
8511
  style: this.style,
8511
8512
  on: g({}, this.$listeners)
8512
8513
  }, [this.shouldRender && this.slots()]);
@@ -8515,7 +8516,7 @@ const yo = Id({
8515
8516
  function Gr(e) {
8516
8517
  return Math.sqrt(Math.pow(e[0].clientX - e[1].clientX, 2) + Math.pow(e[0].clientY - e[1].clientY, 2));
8517
8518
  }
8518
- const Pd = {
8519
+ const Ed = {
8519
8520
  mixins: [ot],
8520
8521
  props: {
8521
8522
  src: String,
@@ -8651,7 +8652,7 @@ const Pd = {
8651
8652
  }
8652
8653
  })]);
8653
8654
  }
8654
- }, Jn = Td({
8655
+ }, Jn = Id({
8655
8656
  mixins: [ot, wi({
8656
8657
  skipToggleEvent: !0
8657
8658
  }), vt(function(e) {
@@ -8792,7 +8793,7 @@ const Pd = {
8792
8793
  change: this.setActive
8793
8794
  }
8794
8795
  }, [this.images.map(function(n) {
8795
- return i(Pd, {
8796
+ return i(Ed, {
8796
8797
  attrs: {
8797
8798
  src: n,
8798
8799
  show: t.value,
@@ -8849,7 +8850,7 @@ const Pd = {
8849
8850
  }, [this.genClose(), this.genImages(), this.genIndex(), this.genCover()]) : null]);
8850
8851
  }
8851
8852
  });
8852
- var F, Bd = {
8853
+ var F, Dd = {
8853
8854
  loop: !0,
8854
8855
  value: !0,
8855
8856
  images: [],
@@ -8870,7 +8871,7 @@ var F, Bd = {
8870
8871
  showIndicators: !1,
8871
8872
  closeOnPopstate: !0,
8872
8873
  closeIconPosition: "top-right"
8873
- }, Ed = function() {
8874
+ }, Nd = function() {
8874
8875
  F = new (P.extend(Jn))({
8875
8876
  el: document.createElement("div")
8876
8877
  }), document.body.appendChild(F.$el), F.$on("change", function(t) {
@@ -8880,12 +8881,12 @@ var F, Bd = {
8880
8881
  });
8881
8882
  }, Qn = function(t, i) {
8882
8883
  if (i === void 0 && (i = 0), !X) {
8883
- F || Ed();
8884
+ F || Nd();
8884
8885
  var n = Array.isArray(t) ? {
8885
8886
  images: t,
8886
8887
  startPosition: i
8887
8888
  } : t;
8888
- return g(F, Bd, n), F.$once("input", function(r) {
8889
+ return g(F, Dd, n), F.$once("input", function(r) {
8889
8890
  F.value = r;
8890
8891
  }), F.$once("closed", function() {
8891
8892
  F.images = [];
@@ -8897,8 +8898,8 @@ Qn.install = function() {
8897
8898
  P.use(Jn);
8898
8899
  };
8899
8900
  const tr = Qn;
8900
- var bo = p("index-anchor"), Dd = bo[0], Nd = bo[1];
8901
- const Md = Dd({
8901
+ var bo = p("index-anchor"), Md = bo[0], Ld = bo[1];
8902
+ const Ad = Md({
8902
8903
  mixins: [G("vanIndexBar", {
8903
8904
  indexKey: "childrenIndex"
8904
8905
  })],
@@ -8953,19 +8954,19 @@ const Md = Dd({
8953
8954
  }
8954
8955
  }, [i("div", {
8955
8956
  style: this.anchorStyle,
8956
- class: [Nd({
8957
+ class: [Ld({
8957
8958
  sticky: n
8958
8959
  }), (t = {}, t[De] = n, t)]
8959
8960
  }, [this.slots("default") || this.index])]);
8960
8961
  }
8961
8962
  });
8962
- function Ld() {
8963
+ function Rd() {
8963
8964
  for (var e = [], t = "A".charCodeAt(0), i = 0; i < 26; i++)
8964
8965
  e.push(String.fromCharCode(t + i));
8965
8966
  return e;
8966
8967
  }
8967
- var So = p("index-bar"), Ad = So[0], Xi = So[1];
8968
- const Rd = Ad({
8968
+ var So = p("index-bar"), Vd = So[0], Xi = So[1];
8969
+ const zd = Vd({
8969
8970
  mixins: [ot, Z("vanIndexBar"), vt(function(e) {
8970
8971
  this.scroller || (this.scroller = Xt(this.$el)), e(this.scroller, "scroll", this.onScroll);
8971
8972
  })],
@@ -8982,7 +8983,7 @@ const Rd = Ad({
8982
8983
  },
8983
8984
  indexList: {
8984
8985
  type: Array,
8985
- default: Ld
8986
+ default: Rd
8986
8987
  }
8987
8988
  },
8988
8989
  data: function() {
@@ -9105,8 +9106,8 @@ const Rd = Ad({
9105
9106
  }, [n]), this.slots("default")]);
9106
9107
  }
9107
9108
  });
9108
- var er = p("list"), Vd = er[0], ge = er[1], zd = er[2];
9109
- const Fd = Vd({
9109
+ var er = p("list"), Fd = er[0], ge = er[1], Hd = er[2];
9110
+ const jd = Fd({
9110
9111
  mixins: [vt(function(e) {
9111
9112
  this.scroller || (this.scroller = Xt(this.$el)), e(this.scroller, "scroll", this.check);
9112
9113
  })],
@@ -9181,7 +9182,7 @@ const Fd = Vd({
9181
9182
  attrs: {
9182
9183
  size: "16"
9183
9184
  }
9184
- }, [this.loadingText || zd("loading")])]);
9185
+ }, [this.loadingText || Hd("loading")])]);
9185
9186
  },
9186
9187
  genFinishedText: function() {
9187
9188
  var t = this.$createElement;
@@ -9222,8 +9223,8 @@ const Fd = Vd({
9222
9223
  }, [this.direction === "down" ? this.slots() : i, this.genLoading(), this.genFinishedText(), this.genErrorText(), this.direction === "up" ? this.slots() : i]);
9223
9224
  }
9224
9225
  });
9225
- var ko = p("nav-bar"), Hd = ko[0], Pt = ko[1];
9226
- const jd = Hd({
9226
+ var ko = p("nav-bar"), Wd = ko[0], Pt = ko[1];
9227
+ const Ud = Wd({
9227
9228
  props: {
9228
9229
  title: String,
9229
9230
  fixed: Boolean,
@@ -9323,8 +9324,8 @@ const jd = Hd({
9323
9324
  }, [this.genNavBar()]) : this.genNavBar();
9324
9325
  }
9325
9326
  });
9326
- var Co = p("notice-bar"), Wd = Co[0], ye = Co[1];
9327
- const Ud = Wd({
9327
+ var Co = p("notice-bar"), qd = Co[0], ye = Co[1];
9328
+ const Kd = qd({
9328
9329
  mixins: [vt(function(e) {
9329
9330
  e(window, "pageshow", this.reset);
9330
9331
  })],
@@ -9476,7 +9477,7 @@ const Ud = Wd({
9476
9477
  }, [this.slots() || this.text])]), u()]);
9477
9478
  }
9478
9479
  });
9479
- var $o = p("notify"), qd = $o[0], Kd = $o[1];
9480
+ var $o = p("notify"), Yd = $o[0], Xd = $o[1];
9480
9481
  function wo(e, t, i, n) {
9481
9482
  var r = {
9482
9483
  color: t.color,
@@ -9491,7 +9492,7 @@ function wo(e, t, i, n) {
9491
9492
  lockScroll: !1
9492
9493
  },
9493
9494
  style: r,
9494
- class: [Kd([t.type]), t.className]
9495
+ class: [Xd([t.type]), t.className]
9495
9496
  }, E(n, !0)]), [(i.default == null ? void 0 : i.default()) || t.message]);
9496
9497
  }
9497
9498
  wo.props = g({}, $i, {
@@ -9506,9 +9507,9 @@ wo.props = g({}, $i, {
9506
9507
  default: "danger"
9507
9508
  }
9508
9509
  });
9509
- const ir = qd(wo);
9510
+ const ir = Yd(wo);
9510
9511
  var Zr, it;
9511
- function Yd(e) {
9512
+ function Gd(e) {
9512
9513
  return pt(e) ? e : {
9513
9514
  message: e
9514
9515
  };
@@ -9527,7 +9528,7 @@ function st(e) {
9527
9528
  it.onOpened && it.onOpened();
9528
9529
  }
9529
9530
  }
9530
- })), e = g({}, st.currentOptions, Yd(e)), g(it, e), clearTimeout(Zr), e.duration && e.duration > 0 && (Zr = setTimeout(st.clear, e.duration)), it;
9531
+ })), e = g({}, st.currentOptions, Gd(e)), g(it, e), clearTimeout(Zr), e.duration && e.duration > 0 && (Zr = setTimeout(st.clear, e.duration)), it;
9531
9532
  }
9532
9533
  function xo() {
9533
9534
  return {
@@ -9558,7 +9559,7 @@ st.install = function() {
9558
9559
  };
9559
9560
  st.Component = ir;
9560
9561
  P.prototype.$notify = st;
9561
- const Xd = {
9562
+ const Zd = {
9562
9563
  render: function() {
9563
9564
  var t = arguments[0];
9564
9565
  return t("svg", {
@@ -9573,7 +9574,7 @@ const Xd = {
9573
9574
  }
9574
9575
  })]);
9575
9576
  }
9576
- }, Gd = {
9577
+ }, Jd = {
9577
9578
  render: function() {
9578
9579
  var t = arguments[0];
9579
9580
  return t("svg", {
@@ -9589,8 +9590,8 @@ const Xd = {
9589
9590
  })]);
9590
9591
  }
9591
9592
  };
9592
- var To = p("key"), Zd = To[0], be = To[1];
9593
- const Gi = Zd({
9593
+ var To = p("key"), Qd = To[0], be = To[1];
9594
+ const Gi = Qd({
9594
9595
  mixins: [ot],
9595
9596
  props: {
9596
9597
  type: String,
@@ -9622,9 +9623,9 @@ const Gi = Zd({
9622
9623
  var t = this.$createElement, i = this.type === "extra", n = this.type === "delete", r = this.slots("default") || this.text;
9623
9624
  return this.loading ? t(mt, {
9624
9625
  class: be("loading-icon")
9625
- }) : n ? r || t(Xd, {
9626
+ }) : n ? r || t(Zd, {
9626
9627
  class: be("delete-icon")
9627
- }) : i ? r || t(Gd, {
9628
+ }) : i ? r || t(Jd, {
9628
9629
  class: be("collapse-icon")
9629
9630
  }) : r;
9630
9631
  }
@@ -9648,8 +9649,8 @@ const Gi = Zd({
9648
9649
  }, [this.genContent()])]);
9649
9650
  }
9650
9651
  });
9651
- var _o = p("number-keyboard"), Jd = _o[0], Nt = _o[1];
9652
- const Qd = Jd({
9652
+ var _o = p("number-keyboard"), tf = _o[0], Nt = _o[1];
9653
+ const ef = tf({
9653
9654
  mixins: [In(), vt(function(e) {
9654
9655
  this.hideOnClickOutside && e(document.body, "touchstart", this.onBlur);
9655
9656
  })],
@@ -9857,7 +9858,7 @@ const Qd = Jd({
9857
9858
  }, [this.genKeys()]), this.genSidebar()])])]);
9858
9859
  }
9859
9860
  });
9860
- var nr = p("pagination"), tf = nr[0], Mt = nr[1], Jr = nr[2];
9861
+ var nr = p("pagination"), nf = nr[0], Mt = nr[1], Jr = nr[2];
9861
9862
  function Zi(e, t, i) {
9862
9863
  return {
9863
9864
  number: e,
@@ -9865,7 +9866,7 @@ function Zi(e, t, i) {
9865
9866
  active: i
9866
9867
  };
9867
9868
  }
9868
- const ef = tf({
9869
+ const rf = nf({
9869
9870
  props: {
9870
9871
  prevText: String,
9871
9872
  nextText: String,
@@ -9975,7 +9976,7 @@ const ef = tf({
9975
9976
  }, [((n = this.slots("next-text")) != null ? n : this.nextText) || Jr("next")])]);
9976
9977
  }
9977
9978
  });
9978
- var Io = p("panel"), nf = Io[0], Se = Io[1];
9979
+ var Io = p("panel"), af = Io[0], Se = Io[1];
9979
9980
  function Oo(e, t, i, n) {
9980
9981
  var r = function() {
9981
9982
  return [i.header ? i.header() : e(q, {
@@ -10006,8 +10007,8 @@ Oo.props = {
10006
10007
  title: String,
10007
10008
  status: String
10008
10009
  };
10009
- const rf = nf(Oo);
10010
- var Po = p("password-input"), af = Po[0], ke = Po[1];
10010
+ const sf = af(Oo);
10011
+ var Po = p("password-input"), of = Po[0], ke = Po[1];
10011
10012
  function Bo(e, t, i, n) {
10012
10013
  for (var r, a = t.mask, s = t.value, o = t.length, l = t.gutter, c = t.focused, u = t.errorInfo, h = u || t.info, d = [], f = 0; f < o; f++) {
10013
10014
  var v, m = s[f], y = f !== 0 && !l, b = c && f === s.length, S = void 0;
@@ -10057,7 +10058,7 @@ Bo.props = {
10057
10058
  default: 6
10058
10059
  }
10059
10060
  };
10060
- const sf = af(Bo);
10061
+ const lf = of(Bo);
10061
10062
  function gt(e) {
10062
10063
  if (e == null)
10063
10064
  return window;
@@ -10088,14 +10089,14 @@ function yn() {
10088
10089
  return t.brand + "/" + t.version;
10089
10090
  }).join(" ") : navigator.userAgent;
10090
10091
  }
10091
- function of() {
10092
+ function cf() {
10092
10093
  return !/^((?!chrome|android).)*safari/i.test(yn());
10093
10094
  }
10094
10095
  function fi(e, t, i) {
10095
10096
  t === void 0 && (t = !1), i === void 0 && (i = !1);
10096
10097
  var n = e.getBoundingClientRect(), r = 1, a = 1;
10097
10098
  t && ft(e) && (r = e.offsetWidth > 0 && he(n.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && he(n.height) / e.offsetHeight || 1);
10098
- var s = rr(e) ? gt(e) : window, o = s.visualViewport, l = !of() && i, c = (n.left + (l && o ? o.offsetLeft : 0)) / r, u = (n.top + (l && o ? o.offsetTop : 0)) / a, h = n.width / r, d = n.height / a;
10099
+ var s = rr(e) ? gt(e) : window, o = s.visualViewport, l = !cf() && i, c = (n.left + (l && o ? o.offsetLeft : 0)) / r, u = (n.top + (l && o ? o.offsetTop : 0)) / a, h = n.width / r, d = n.height / a;
10099
10100
  return {
10100
10101
  width: h,
10101
10102
  height: d,
@@ -10114,14 +10115,14 @@ function Do(e) {
10114
10115
  scrollTop: n
10115
10116
  };
10116
10117
  }
10117
- function lf(e) {
10118
+ function uf(e) {
10118
10119
  return {
10119
10120
  scrollLeft: e.scrollLeft,
10120
10121
  scrollTop: e.scrollTop
10121
10122
  };
10122
10123
  }
10123
- function cf(e) {
10124
- return e === gt(e) || !ft(e) ? Do(e) : lf(e);
10124
+ function hf(e) {
10125
+ return e === gt(e) || !ft(e) ? Do(e) : uf(e);
10125
10126
  }
10126
10127
  function Bt(e) {
10127
10128
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -10129,7 +10130,7 @@ function Bt(e) {
10129
10130
  function Pi(e) {
10130
10131
  return ((rr(e) ? e.ownerDocument : e.document) || window.document).documentElement;
10131
10132
  }
10132
- function uf(e) {
10133
+ function df(e) {
10133
10134
  return fi(Pi(e)).left + Do(e).scrollLeft;
10134
10135
  }
10135
10136
  function Et(e) {
@@ -10139,27 +10140,27 @@ function ar(e) {
10139
10140
  var t = Et(e), i = t.overflow, n = t.overflowX, r = t.overflowY;
10140
10141
  return /auto|scroll|overlay|hidden/.test(i + r + n);
10141
10142
  }
10142
- function hf(e) {
10143
+ function ff(e) {
10143
10144
  var t = e.getBoundingClientRect(), i = he(t.width) / e.offsetWidth || 1, n = he(t.height) / e.offsetHeight || 1;
10144
10145
  return i !== 1 || n !== 1;
10145
10146
  }
10146
- function df(e, t, i) {
10147
+ function pf(e, t, i) {
10147
10148
  i === void 0 && (i = !1);
10148
- var n = ft(t), r = ft(t) && hf(t), a = Pi(t), s = fi(e, r, i), o = {
10149
+ var n = ft(t), r = ft(t) && ff(t), a = Pi(t), s = fi(e, r, i), o = {
10149
10150
  scrollLeft: 0,
10150
10151
  scrollTop: 0
10151
10152
  }, l = {
10152
10153
  x: 0,
10153
10154
  y: 0
10154
10155
  };
10155
- return (n || !n && !i) && ((Bt(t) !== "body" || ar(a)) && (o = cf(t)), ft(t) ? (l = fi(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : a && (l.x = uf(a))), {
10156
+ return (n || !n && !i) && ((Bt(t) !== "body" || ar(a)) && (o = hf(t)), ft(t) ? (l = fi(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : a && (l.x = df(a))), {
10156
10157
  x: s.left + o.scrollLeft - l.x,
10157
10158
  y: s.top + o.scrollTop - l.y,
10158
10159
  width: s.width,
10159
10160
  height: s.height
10160
10161
  };
10161
10162
  }
10162
- function ff(e) {
10163
+ function vf(e) {
10163
10164
  var t = fi(e), i = e.offsetWidth, n = e.offsetHeight;
10164
10165
  return Math.abs(t.width - i) <= 1 && (i = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
10165
10166
  x: e.offsetLeft,
@@ -10180,13 +10181,13 @@ function ri(e, t) {
10180
10181
  var n = No(e), r = n === ((i = e.ownerDocument) == null ? void 0 : i.body), a = gt(n), s = r ? [a].concat(a.visualViewport || [], ar(n) ? n : []) : n, o = t.concat(s);
10181
10182
  return r ? o : o.concat(ri(sr(s)));
10182
10183
  }
10183
- function pf(e) {
10184
+ function mf(e) {
10184
10185
  return ["table", "td", "th"].indexOf(Bt(e)) >= 0;
10185
10186
  }
10186
10187
  function Qr(e) {
10187
10188
  return !ft(e) || Et(e).position === "fixed" ? null : e.offsetParent;
10188
10189
  }
10189
- function vf(e) {
10190
+ function gf(e) {
10190
10191
  var t = /firefox/i.test(yn()), i = /Trident/i.test(yn());
10191
10192
  if (i && ft(e)) {
10192
10193
  var n = Et(e);
@@ -10203,14 +10204,14 @@ function vf(e) {
10203
10204
  return null;
10204
10205
  }
10205
10206
  function Mo(e) {
10206
- for (var t = gt(e), i = Qr(e); i && pf(i) && Et(i).position === "static"; )
10207
+ for (var t = gt(e), i = Qr(e); i && mf(i) && Et(i).position === "static"; )
10207
10208
  i = Qr(i);
10208
- return i && (Bt(i) === "html" || Bt(i) === "body" && Et(i).position === "static") ? t : i || vf(e) || t;
10209
+ return i && (Bt(i) === "html" || Bt(i) === "body" && Et(i).position === "static") ? t : i || gf(e) || t;
10209
10210
  }
10210
- var ce = "top", pi = "bottom", Oe = "right", Yt = "left", Lo = "auto", mf = [ce, pi, Oe, Yt], Ao = "start", vi = "end", gf = /* @__PURE__ */ [].concat(mf, [Lo]).reduce(function(e, t) {
10211
+ var ce = "top", pi = "bottom", Oe = "right", Yt = "left", Lo = "auto", yf = [ce, pi, Oe, Yt], Ao = "start", vi = "end", bf = /* @__PURE__ */ [].concat(yf, [Lo]).reduce(function(e, t) {
10211
10212
  return e.concat([t, t + "-" + Ao, t + "-" + vi]);
10212
- }, []), yf = "beforeRead", bf = "read", Sf = "afterRead", kf = "beforeMain", Cf = "main", $f = "afterMain", wf = "beforeWrite", xf = "write", Tf = "afterWrite", bn = [yf, bf, Sf, kf, Cf, $f, wf, xf, Tf];
10213
- function _f(e) {
10213
+ }, []), Sf = "beforeRead", kf = "read", Cf = "afterRead", $f = "beforeMain", wf = "main", xf = "afterMain", Tf = "beforeWrite", _f = "write", If = "afterWrite", bn = [Sf, kf, Cf, $f, wf, xf, Tf, _f, If];
10214
+ function Of(e) {
10214
10215
  var t = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set(), n = [];
10215
10216
  e.forEach(function(a) {
10216
10217
  t.set(a.name, a);
@@ -10229,15 +10230,15 @@ function _f(e) {
10229
10230
  i.has(a.name) || r(a);
10230
10231
  }), n;
10231
10232
  }
10232
- function If(e) {
10233
- var t = _f(e);
10233
+ function Pf(e) {
10234
+ var t = Of(e);
10234
10235
  return bn.reduce(function(i, n) {
10235
10236
  return i.concat(t.filter(function(r) {
10236
10237
  return r.phase === n;
10237
10238
  }));
10238
10239
  }, []);
10239
10240
  }
10240
- function Of(e) {
10241
+ function Bf(e) {
10241
10242
  var t;
10242
10243
  return function() {
10243
10244
  return t || (t = new Promise(function(i) {
@@ -10254,8 +10255,8 @@ function Lt(e) {
10254
10255
  return r.replace(/%s/, a);
10255
10256
  }, e);
10256
10257
  }
10257
- var Wt = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Pf = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', ta = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
10258
- function Bf(e) {
10258
+ var Wt = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Ef = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', ta = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
10259
+ function Df(e) {
10259
10260
  e.forEach(function(t) {
10260
10261
  [].concat(Object.keys(t), ta).filter(function(i, n, r) {
10261
10262
  return r.indexOf(i) === n;
@@ -10293,12 +10294,12 @@ function Bf(e) {
10293
10294
  t.requires && t.requires.forEach(function(n) {
10294
10295
  e.find(function(r) {
10295
10296
  return r.name === n;
10296
- }) == null && console.error(Lt(Pf, String(t.name), n, n));
10297
+ }) == null && console.error(Lt(Ef, String(t.name), n, n));
10297
10298
  });
10298
10299
  });
10299
10300
  });
10300
10301
  }
10301
- function Ef(e, t) {
10302
+ function Nf(e, t) {
10302
10303
  var i = /* @__PURE__ */ new Set();
10303
10304
  return e.filter(function(n) {
10304
10305
  var r = t(n);
@@ -10309,7 +10310,7 @@ function Ef(e, t) {
10309
10310
  function Bi(e) {
10310
10311
  return e.split("-")[0];
10311
10312
  }
10312
- function Df(e) {
10313
+ function Mf(e) {
10313
10314
  var t = e.reduce(function(i, n) {
10314
10315
  var r = i[n.name];
10315
10316
  return i[n.name] = r ? Object.assign({}, r, n, {
@@ -10324,10 +10325,10 @@ function Df(e) {
10324
10325
  function Ro(e) {
10325
10326
  return e.split("-")[1];
10326
10327
  }
10327
- function Nf(e) {
10328
+ function Lf(e) {
10328
10329
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
10329
10330
  }
10330
- function Mf(e) {
10331
+ function Af(e) {
10331
10332
  var t = e.reference, i = e.element, n = e.placement, r = n ? Bi(n) : null, a = n ? Ro(n) : null, s = t.x + t.width / 2 - i.width / 2, o = t.y + t.height / 2 - i.height / 2, l;
10332
10333
  switch (r) {
10333
10334
  case ce:
@@ -10360,7 +10361,7 @@ function Mf(e) {
10360
10361
  y: t.y
10361
10362
  };
10362
10363
  }
10363
- var c = r ? Nf(r) : null;
10364
+ var c = r ? Lf(r) : null;
10364
10365
  if (c != null) {
10365
10366
  var u = c === "y" ? "height" : "width";
10366
10367
  switch (a) {
@@ -10374,7 +10375,7 @@ function Mf(e) {
10374
10375
  }
10375
10376
  return l;
10376
10377
  }
10377
- var ea = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", Lf = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", ia = {
10378
+ var ea = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", Rf = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", ia = {
10378
10379
  placement: "bottom",
10379
10380
  modifiers: [],
10380
10381
  strategy: "absolute"
@@ -10386,7 +10387,7 @@ function na() {
10386
10387
  return !(n && typeof n.getBoundingClientRect == "function");
10387
10388
  });
10388
10389
  }
10389
- function Af(e) {
10390
+ function Vf(e) {
10390
10391
  e === void 0 && (e = {});
10391
10392
  var t = e, i = t.defaultModifiers, n = i === void 0 ? [] : i, r = t.defaultOptions, a = r === void 0 ? ia : r;
10392
10393
  return function(o, l, c) {
@@ -10410,16 +10411,16 @@ function Af(e) {
10410
10411
  reference: rr(o) ? ri(o) : o.contextElement ? ri(o.contextElement) : [],
10411
10412
  popper: ri(l)
10412
10413
  };
10413
- var $ = If(Df([].concat(n, u.options.modifiers)));
10414
+ var $ = Pf(Mf([].concat(n, u.options.modifiers)));
10414
10415
  u.orderedModifiers = $.filter(function(J) {
10415
10416
  return J.enabled;
10416
10417
  });
10417
10418
  {
10418
- var k = Ef([].concat($, u.options.modifiers), function(J) {
10419
+ var k = Nf([].concat($, u.options.modifiers), function(J) {
10419
10420
  var te = J.name;
10420
10421
  return te;
10421
10422
  });
10422
- if (Bf(k), Bi(u.options.placement) === Lo) {
10423
+ if (Df(k), Bi(u.options.placement) === Lo) {
10423
10424
  var C = u.orderedModifiers.find(function(J) {
10424
10425
  var te = J.name;
10425
10426
  return te === "flip";
@@ -10441,14 +10442,14 @@ function Af(e) {
10441
10442
  return;
10442
10443
  }
10443
10444
  u.rects = {
10444
- reference: df(S, Mo($), u.options.strategy === "fixed"),
10445
- popper: ff($)
10445
+ reference: pf(S, Mo($), u.options.strategy === "fixed"),
10446
+ popper: vf($)
10446
10447
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(J) {
10447
10448
  return u.modifiersData[J.name] = Object.assign({}, J.data);
10448
10449
  });
10449
10450
  for (var k = 0, C = 0; C < u.orderedModifiers.length; C++) {
10450
10451
  if (k += 1, k > 100) {
10451
- console.error(Lf);
10452
+ console.error(Rf);
10452
10453
  break;
10453
10454
  }
10454
10455
  if (u.reset === !0) {
@@ -10465,7 +10466,7 @@ function Af(e) {
10465
10466
  }
10466
10467
  }
10467
10468
  },
10468
- update: Of(function() {
10469
+ update: Bf(function() {
10469
10470
  return new Promise(function(y) {
10470
10471
  f.forceUpdate(), y(u);
10471
10472
  });
@@ -10505,7 +10506,7 @@ function Af(e) {
10505
10506
  var Xe = {
10506
10507
  passive: !0
10507
10508
  };
10508
- function Rf(e) {
10509
+ function zf(e) {
10509
10510
  var t = e.state, i = e.instance, n = e.options, r = n.scroll, a = r === void 0 ? !0 : r, s = n.resize, o = s === void 0 ? !0 : s, l = gt(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
10510
10511
  return a && c.forEach(function(u) {
10511
10512
  u.addEventListener("scroll", i.update, Xe);
@@ -10515,37 +10516,37 @@ function Rf(e) {
10515
10516
  }), o && l.removeEventListener("resize", i.update, Xe);
10516
10517
  };
10517
10518
  }
10518
- var Vf = {
10519
+ var Ff = {
10519
10520
  name: "eventListeners",
10520
10521
  enabled: !0,
10521
10522
  phase: "write",
10522
10523
  fn: function() {
10523
10524
  },
10524
- effect: Rf,
10525
+ effect: zf,
10525
10526
  data: {}
10526
10527
  };
10527
- function zf(e) {
10528
+ function Hf(e) {
10528
10529
  var t = e.state, i = e.name;
10529
- t.modifiersData[i] = Mf({
10530
+ t.modifiersData[i] = Af({
10530
10531
  reference: t.rects.reference,
10531
10532
  element: t.rects.popper,
10532
10533
  strategy: "absolute",
10533
10534
  placement: t.placement
10534
10535
  });
10535
10536
  }
10536
- var Ff = {
10537
+ var jf = {
10537
10538
  name: "popperOffsets",
10538
10539
  enabled: !0,
10539
10540
  phase: "read",
10540
- fn: zf,
10541
+ fn: Hf,
10541
10542
  data: {}
10542
- }, Hf = {
10543
+ }, Wf = {
10543
10544
  top: "auto",
10544
10545
  right: "auto",
10545
10546
  bottom: "auto",
10546
10547
  left: "auto"
10547
10548
  };
10548
- function jf(e) {
10549
+ function Uf(e) {
10549
10550
  var t = e.x, i = e.y, n = window, r = n.devicePixelRatio || 1;
10550
10551
  return {
10551
10552
  x: he(t * r) / r || 0,
@@ -10577,7 +10578,7 @@ function ra(e) {
10577
10578
  }
10578
10579
  var J = Object.assign({
10579
10580
  position: o
10580
- }, c && Hf), te = u === !0 ? jf({
10581
+ }, c && Wf), te = u === !0 ? Uf({
10581
10582
  x: f,
10582
10583
  y: m
10583
10584
  }) : {
@@ -10590,7 +10591,7 @@ function ra(e) {
10590
10591
  }
10591
10592
  return Object.assign({}, J, (t = {}, t[k] = S ? m + "px" : "", t[$] = b ? f + "px" : "", t.transform = "", t));
10592
10593
  }
10593
- function Wf(e) {
10594
+ function qf(e) {
10594
10595
  var t = e.state, i = e.options, n = i.gpuAcceleration, r = n === void 0 ? !0 : n, a = i.adaptive, s = a === void 0 ? !0 : a, o = i.roundOffsets, l = o === void 0 ? !0 : o;
10595
10596
  {
10596
10597
  var c = Et(t.elements.popper).transitionProperty || "";
@@ -10624,14 +10625,14 @@ function Wf(e) {
10624
10625
  "data-popper-placement": t.placement
10625
10626
  });
10626
10627
  }
10627
- var Uf = {
10628
+ var Kf = {
10628
10629
  name: "computeStyles",
10629
10630
  enabled: !0,
10630
10631
  phase: "beforeWrite",
10631
- fn: Wf,
10632
+ fn: qf,
10632
10633
  data: {}
10633
10634
  };
10634
- function qf(e) {
10635
+ function Yf(e) {
10635
10636
  var t = e.state;
10636
10637
  Object.keys(t.elements).forEach(function(i) {
10637
10638
  var n = t.styles[i] || {}, r = t.attributes[i] || {}, a = t.elements[i];
@@ -10641,7 +10642,7 @@ function qf(e) {
10641
10642
  }));
10642
10643
  });
10643
10644
  }
10644
- function Kf(e) {
10645
+ function Xf(e) {
10645
10646
  var t = e.state, i = {
10646
10647
  popper: {
10647
10648
  position: t.options.strategy,
@@ -10665,17 +10666,17 @@ function Kf(e) {
10665
10666
  });
10666
10667
  };
10667
10668
  }
10668
- var Yf = {
10669
+ var Gf = {
10669
10670
  name: "applyStyles",
10670
10671
  enabled: !0,
10671
10672
  phase: "write",
10672
- fn: qf,
10673
- effect: Kf,
10673
+ fn: Yf,
10674
+ effect: Xf,
10674
10675
  requires: ["computeStyles"]
10675
- }, Xf = [Vf, Ff, Uf, Yf], Gf = /* @__PURE__ */ Af({
10676
- defaultModifiers: Xf
10676
+ }, Zf = [Ff, jf, Kf, Gf], Jf = /* @__PURE__ */ Vf({
10677
+ defaultModifiers: Zf
10677
10678
  });
10678
- function Zf(e, t, i) {
10679
+ function Qf(e, t, i) {
10679
10680
  var n = Bi(e), r = [Yt, ce].indexOf(n) >= 0 ? -1 : 1, a = typeof i == "function" ? i(Object.assign({}, t, {
10680
10681
  placement: e
10681
10682
  })) : i, s = a[0], o = a[1];
@@ -10687,20 +10688,20 @@ function Zf(e, t, i) {
10687
10688
  y: o
10688
10689
  };
10689
10690
  }
10690
- function Jf(e) {
10691
- var t = e.state, i = e.options, n = e.name, r = i.offset, a = r === void 0 ? [0, 0] : r, s = gf.reduce(function(u, h) {
10692
- return u[h] = Zf(h, t.rects, a), u;
10691
+ function tp(e) {
10692
+ var t = e.state, i = e.options, n = e.name, r = i.offset, a = r === void 0 ? [0, 0] : r, s = bf.reduce(function(u, h) {
10693
+ return u[h] = Qf(h, t.rects, a), u;
10693
10694
  }, {}), o = s[t.placement], l = o.x, c = o.y;
10694
10695
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += l, t.modifiersData.popperOffsets.y += c), t.modifiersData[n] = s;
10695
10696
  }
10696
- var Qf = {
10697
+ var ep = {
10697
10698
  name: "offset",
10698
10699
  enabled: !0,
10699
10700
  phase: "main",
10700
10701
  requires: ["popperOffsets"],
10701
- fn: Jf
10702
- }, Vo = p("popover"), tp = Vo[0], Ut = Vo[1];
10703
- const ep = tp({
10702
+ fn: tp
10703
+ }, Vo = p("popover"), ip = Vo[0], Ut = Vo[1];
10704
+ const np = ip({
10704
10705
  mixins: [Zn({
10705
10706
  event: "touchstart",
10706
10707
  method: "onClickOutside"
@@ -10750,7 +10751,7 @@ const ep = tp({
10750
10751
  },
10751
10752
  methods: {
10752
10753
  createPopper: function() {
10753
- var t = Gf(this.$refs.wrapper, this.$refs.popover.$el, {
10754
+ var t = Jf(this.$refs.wrapper, this.$refs.popover.$el, {
10754
10755
  placement: this.placement,
10755
10756
  modifiers: [{
10756
10757
  name: "computeStyles",
@@ -10758,7 +10759,7 @@ const ep = tp({
10758
10759
  adaptive: !1,
10759
10760
  gpuAcceleration: !1
10760
10761
  }
10761
- }, g({}, Qf, {
10762
+ }, g({}, ep, {
10762
10763
  options: {
10763
10764
  offset: this.offset
10764
10765
  }
@@ -10867,8 +10868,8 @@ const ep = tp({
10867
10868
  }, [this.slots("default") || this.actions.map(this.renderAction)])]), this.slots("reference")]);
10868
10869
  }
10869
10870
  });
10870
- var zo = p("progress"), ip = zo[0], Ji = zo[1];
10871
- const np = ip({
10871
+ var zo = p("progress"), rp = zo[0], Ji = zo[1];
10872
+ const ap = rp({
10872
10873
  mixins: [vt(function(e) {
10873
10874
  e(window, "resize", this.resize, !0), e(window, "orientationchange", this.resize, !0);
10874
10875
  })],
@@ -10939,8 +10940,8 @@ const np = ip({
10939
10940
  }, [r])])]);
10940
10941
  }
10941
10942
  });
10942
- var or = p("pull-refresh"), rp = or[0], Ge = or[1], ap = or[2], aa = 50, sp = ["pulling", "loosing", "success"];
10943
- const op = rp({
10943
+ var or = p("pull-refresh"), sp = or[0], Ge = or[1], op = or[2], aa = 50, lp = ["pulling", "loosing", "success"];
10944
+ const cp = sp({
10944
10945
  mixins: [ot],
10945
10946
  props: {
10946
10947
  disabled: Boolean,
@@ -11022,8 +11023,8 @@ const op = rp({
11022
11023
  });
11023
11024
  if (r)
11024
11025
  return r;
11025
- var a = [], s = this[i + "Text"] || ap(i);
11026
- return sp.indexOf(i) !== -1 && a.push(t("div", {
11026
+ var a = [], s = this[i + "Text"] || op(i);
11027
+ return lp.indexOf(i) !== -1 && a.push(t("div", {
11027
11028
  class: Ge("text")
11028
11029
  }, [s])), i === "loading" && a.push(t(mt, {
11029
11030
  attrs: {
@@ -11055,11 +11056,11 @@ const op = rp({
11055
11056
  }, [this.genStatus()]), this.slots()])]);
11056
11057
  }
11057
11058
  });
11058
- var Fo = p("rate"), lp = Fo[0], Ze = Fo[1];
11059
- function cp(e, t, i) {
11059
+ var Fo = p("rate"), up = Fo[0], Ze = Fo[1];
11060
+ function hp(e, t, i) {
11060
11061
  return e >= t ? "full" : e + 0.5 >= t && i ? "half" : "void";
11061
11062
  }
11062
- const up = lp({
11063
+ const dp = up({
11063
11064
  mixins: [ot, Ht],
11064
11065
  props: {
11065
11066
  size: [Number, String],
@@ -11095,7 +11096,7 @@ const up = lp({
11095
11096
  computed: {
11096
11097
  list: function() {
11097
11098
  for (var t = [], i = 1; i <= this.count; i++)
11098
- t.push(cp(this.value, i, this.allowHalf));
11099
+ t.push(hp(this.value, i, this.allowHalf));
11099
11100
  return t;
11100
11101
  },
11101
11102
  sizeWithUnit: function() {
@@ -11216,8 +11217,8 @@ const up = lp({
11216
11217
  })]);
11217
11218
  }
11218
11219
  });
11219
- var Ho = p("row"), hp = Ho[0], dp = Ho[1];
11220
- const fp = hp({
11220
+ var Ho = p("row"), fp = Ho[0], pp = Ho[1];
11221
+ const vp = fp({
11221
11222
  mixins: [Z("vanRow")],
11222
11223
  props: {
11223
11224
  type: String,
@@ -11266,7 +11267,7 @@ const fp = hp({
11266
11267
  render: function() {
11267
11268
  var t, i = arguments[0], n = this.align, r = this.justify, a = this.type === "flex";
11268
11269
  return i(this.tag, {
11269
- class: dp((t = {
11270
+ class: pp((t = {
11270
11271
  flex: a
11271
11272
  }, t["align-" + n] = a && n, t["justify-" + r] = a && r, t)),
11272
11273
  on: {
@@ -11275,7 +11276,7 @@ const fp = hp({
11275
11276
  }, [this.slots()]);
11276
11277
  }
11277
11278
  });
11278
- var lr = p("search"), pp = lr[0], Je = lr[1], vp = lr[2];
11279
+ var lr = p("search"), mp = lr[0], Je = lr[1], gp = lr[2];
11279
11280
  function jo(e, t, i, n) {
11280
11281
  function r() {
11281
11282
  if (i.label || t.label)
@@ -11298,7 +11299,7 @@ function jo(e, t, i, n) {
11298
11299
  on: {
11299
11300
  click: l
11300
11301
  }
11301
- }, [i.action ? i.action() : t.actionText || vp("cancel")]);
11302
+ }, [i.action ? i.action() : t.actionText || gp("cancel")]);
11302
11303
  }
11303
11304
  var s = {
11304
11305
  attrs: n.data.attrs,
@@ -11354,9 +11355,9 @@ jo.props = {
11354
11355
  default: "search"
11355
11356
  }
11356
11357
  };
11357
- const mp = pp(jo);
11358
- var gp = ["qq", "link", "weibo", "wechat", "poster", "qrcode", "weapp-qrcode", "wechat-moments"], cr = p("share-sheet"), yp = cr[0], Ct = cr[1], bp = cr[2];
11359
- const Sp = yp({
11358
+ const yp = mp(jo);
11359
+ var bp = ["qq", "link", "weibo", "wechat", "poster", "qrcode", "weapp-qrcode", "wechat-moments"], cr = p("share-sheet"), Sp = cr[0], Ct = cr[1], kp = cr[2];
11360
+ const Cp = Sp({
11360
11361
  props: g({}, $i, {
11361
11362
  title: String,
11362
11363
  duration: String,
@@ -11397,7 +11398,7 @@ const Sp = yp({
11397
11398
  this.$emit("input", t);
11398
11399
  },
11399
11400
  getIconURL: function(t) {
11400
- return gp.indexOf(t) !== -1 ? "https://img01.yzcdn.cn/vant/share-sheet-" + t + ".png" : t;
11401
+ return bp.indexOf(t) !== -1 ? "https://img01.yzcdn.cn/vant/share-sheet-" + t + ".png" : t;
11401
11402
  },
11402
11403
  genHeader: function() {
11403
11404
  var t = this.$createElement, i = this.slots("title") || this.title, n = this.slots("description") || this.description;
@@ -11447,7 +11448,7 @@ const Sp = yp({
11447
11448
  }) : this.genOptions(i);
11448
11449
  },
11449
11450
  genCancelText: function() {
11450
- var t, i = this.$createElement, n = (t = this.cancelText) != null ? t : bp("cancel");
11451
+ var t, i = this.$createElement, n = (t = this.cancelText) != null ? t : kp("cancel");
11451
11452
  if (n)
11452
11453
  return i("button", {
11453
11454
  attrs: {
@@ -11487,8 +11488,8 @@ const Sp = yp({
11487
11488
  }, [this.genHeader(), this.genRows(), this.genCancelText()]);
11488
11489
  }
11489
11490
  });
11490
- var Wo = p("sidebar"), kp = Wo[0], Cp = Wo[1];
11491
- const Uo = kp({
11491
+ var Wo = p("sidebar"), $p = Wo[0], wp = Wo[1];
11492
+ const Uo = $p({
11492
11493
  mixins: [Z("vanSidebar")],
11493
11494
  model: {
11494
11495
  prop: "activeKey"
@@ -11517,12 +11518,12 @@ const Uo = kp({
11517
11518
  render: function() {
11518
11519
  var t = arguments[0];
11519
11520
  return t("div", {
11520
- class: Cp()
11521
+ class: wp()
11521
11522
  }, [this.slots()]);
11522
11523
  }
11523
11524
  });
11524
- var qo = p("sidebar-item"), $p = qo[0], Qi = qo[1];
11525
- const Ko = $p({
11525
+ var qo = p("sidebar-item"), xp = qo[0], Qi = qo[1];
11526
+ const Ko = xp({
11526
11527
  mixins: [G("vanSidebar")],
11527
11528
  props: g({}, Ft, {
11528
11529
  dot: Boolean,
@@ -11563,7 +11564,7 @@ const Ko = $p({
11563
11564
  })])]);
11564
11565
  }
11565
11566
  });
11566
- var Yo = p("skeleton"), wp = Yo[0], Ce = Yo[1], Xo = "100%", xp = "60%";
11567
+ var Yo = p("skeleton"), Tp = Yo[0], Ce = Yo[1], Xo = "100%", _p = "60%";
11567
11568
  function Go(e, t, i, n) {
11568
11569
  if (!t.loading)
11569
11570
  return i.default && i.default();
@@ -11579,7 +11580,7 @@ function Go(e, t, i, n) {
11579
11580
  function a() {
11580
11581
  var o = [], l = t.rowWidth;
11581
11582
  function c(h) {
11582
- return l === Xo && h === +t.row - 1 ? xp : Array.isArray(l) ? l[h] : l;
11583
+ return l === Xo && h === +t.row - 1 ? _p : Array.isArray(l) ? l[h] : l;
11583
11584
  }
11584
11585
  for (var u = 0; u < t.row; u++)
11585
11586
  o.push(e("div", {
@@ -11638,7 +11639,7 @@ Go.props = {
11638
11639
  default: Xo
11639
11640
  }
11640
11641
  };
11641
- const Tp = wp(Go), _p = {
11642
+ const Ip = Tp(Go), Op = {
11642
11643
  "zh-CN": {
11643
11644
  vanSku: {
11644
11645
  select: "请选择",
@@ -11725,7 +11726,7 @@ var Ei = {
11725
11726
  QUOTA_LIMIT: 0,
11726
11727
  STOCK_LIMIT: 1
11727
11728
  }, xt = "";
11728
- const Ip = {
11729
+ const Pp = {
11729
11730
  LIMIT_TYPE: Ei,
11730
11731
  UNSELECTED_SKU_VALUE_ID: xt
11731
11732
  };
@@ -11734,7 +11735,7 @@ var Zo = function(t) {
11734
11735
  return t.forEach(function(n) {
11735
11736
  i[n.k_s] = n.v;
11736
11737
  }), i;
11737
- }, Op = function(t) {
11738
+ }, Bp = function(t) {
11738
11739
  var i = {};
11739
11740
  return t.forEach(function(n) {
11740
11741
  var r = {};
@@ -11846,7 +11847,7 @@ var Zo = function(t) {
11846
11847
  return s.v.length > 0;
11847
11848
  });
11848
11849
  }, il = function(t, i) {
11849
- var n = Op(t);
11850
+ var n = Bp(t);
11850
11851
  return Object.keys(i).reduce(function(r, a) {
11851
11852
  return i[a].forEach(function(s) {
11852
11853
  r.push(g({}, n[a][s]));
@@ -11865,7 +11866,7 @@ var Zo = function(t) {
11865
11866
  }
11866
11867
  }), n;
11867
11868
  };
11868
- const Pp = {
11869
+ const Ep = {
11869
11870
  normalizeSkuTree: Zo,
11870
11871
  getSkuComb: Qo,
11871
11872
  getSelectedSkuValues: tl,
@@ -11875,8 +11876,8 @@ const Pp = {
11875
11876
  getSelectedProperties: nl,
11876
11877
  filterDisabledSkuTree: el
11877
11878
  };
11878
- var rl = p("sku-header"), Bp = rl[0], tn = rl[1];
11879
- function Ep(e, t) {
11879
+ var rl = p("sku-header"), Dp = rl[0], tn = rl[1];
11880
+ function Np(e, t) {
11880
11881
  var i;
11881
11882
  return e.tree.some(function(n) {
11882
11883
  var r = t[n.k_s];
@@ -11894,7 +11895,7 @@ function Ep(e, t) {
11894
11895
  }), i;
11895
11896
  }
11896
11897
  function al(e, t, i, n) {
11897
- var r, a = t.sku, s = t.goods, o = t.skuEventBus, l = t.selectedSku, c = t.showHeaderImage, u = c === void 0 ? !0 : c, h = Ep(a, l), d = h ? h.imgUrl : s.picture, f = function() {
11898
+ var r, a = t.sku, s = t.goods, o = t.skuEventBus, l = t.selectedSku, c = t.showHeaderImage, u = c === void 0 ? !0 : c, h = Np(a, l), d = h ? h.imgUrl : s.picture, f = function() {
11898
11899
  o.$emit("sku:previewImage", h);
11899
11900
  };
11900
11901
  return e("div", x([{
@@ -11919,16 +11920,16 @@ al.props = {
11919
11920
  selectedSku: Object,
11920
11921
  showHeaderImage: Boolean
11921
11922
  };
11922
- const sl = Bp(al);
11923
- var ol = p("sku-header-item"), Dp = ol[0], Np = ol[1];
11924
- function Mp(e, t, i, n) {
11923
+ const sl = Dp(al);
11924
+ var ol = p("sku-header-item"), Mp = ol[0], Lp = ol[1];
11925
+ function Ap(e, t, i, n) {
11925
11926
  return e("div", x([{
11926
- class: Np()
11927
+ class: Lp()
11927
11928
  }, E(n)]), [i.default && i.default()]);
11928
11929
  }
11929
- const ai = Dp(Mp);
11930
- var hr = p("sku-row"), Lp = hr[0], ut = hr[1], Ap = hr[2];
11931
- const Sn = Lp({
11930
+ const ai = Mp(Ap);
11931
+ var hr = p("sku-row"), Rp = hr[0], ut = hr[1], Vp = hr[2];
11932
+ const Sn = Rp({
11932
11933
  mixins: [Z("vanSkuRows"), vt(function(e) {
11933
11934
  this.scrollable && this.$refs.scroller && e(this.$refs.scroller, "scroll", this.onScroll);
11934
11935
  })],
@@ -11956,7 +11957,7 @@ const Sn = Lp({
11956
11957
  class: ut("title")
11957
11958
  }, [this.skuRow.k, this.skuRow.is_multiple && t("span", {
11958
11959
  class: ut("title-multiple")
11959
- }, ["(", Ap("multiple"), ")"])]);
11960
+ }, ["(", Vp("multiple"), ")"])]);
11960
11961
  },
11961
11962
  genIndicator: function() {
11962
11963
  var t = this.$createElement;
@@ -12012,8 +12013,8 @@ const Sn = Lp({
12012
12013
  }, [this.genTitle(), this.genContent(), this.genIndicator()]);
12013
12014
  }
12014
12015
  });
12015
- var Rp = p("sku-row-item"), Vp = Rp[0];
12016
- const ll = Vp({
12016
+ var zp = p("sku-row-item"), Fp = zp[0];
12017
+ const ll = Fp({
12017
12018
  mixins: [G("vanSkuRows")],
12018
12019
  props: {
12019
12020
  lazyLoad: Boolean,
@@ -12093,8 +12094,8 @@ const ll = Vp({
12093
12094
  })]);
12094
12095
  }
12095
12096
  });
12096
- var zp = p("sku-row-prop-item"), Fp = zp[0];
12097
- const cl = Fp({
12097
+ var Hp = p("sku-row-prop-item"), jp = Hp[0];
12098
+ const cl = jp({
12098
12099
  props: {
12099
12100
  skuValue: Object,
12100
12101
  skuKeyStr: String,
@@ -12133,11 +12134,11 @@ const cl = Fp({
12133
12134
  }, [this.skuValue.name])]);
12134
12135
  }
12135
12136
  });
12136
- var ul = p("stepper"), Hp = ul[0], Qe = ul[1], jp = 600, Wp = 200;
12137
+ var ul = p("stepper"), Wp = ul[0], Qe = ul[1], Up = 600, qp = 200;
12137
12138
  function ti(e, t) {
12138
12139
  return String(e) === String(t);
12139
12140
  }
12140
- const hl = Hp({
12141
+ const hl = Wp({
12141
12142
  mixins: [Ht],
12142
12143
  props: {
12143
12144
  value: null,
@@ -12276,13 +12277,13 @@ const hl = Hp({
12276
12277
  var t = this;
12277
12278
  this.longPressTimer = setTimeout(function() {
12278
12279
  t.onChange(), t.longPressStep(t.type);
12279
- }, Wp);
12280
+ }, qp);
12280
12281
  },
12281
12282
  onTouchStart: function() {
12282
12283
  var t = this;
12283
12284
  this.longPress && (clearTimeout(this.longPressTimer), this.isLongPress = !1, this.longPressTimer = setTimeout(function() {
12284
12285
  t.isLongPress = !0, t.onChange(), t.longPressStep();
12285
- }, jp));
12286
+ }, Up));
12286
12287
  },
12287
12288
  onTouchEnd: function(t) {
12288
12289
  this.longPress && (clearTimeout(this.longPressTimer), this.isLongPress && H(t));
@@ -12363,8 +12364,8 @@ const hl = Hp({
12363
12364
  }, n("plus")]))]);
12364
12365
  }
12365
12366
  });
12366
- var dl = p("sku-stepper"), Up = dl[0], ei = dl[2], qp = Ei.QUOTA_LIMIT, sa = Ei.STOCK_LIMIT;
12367
- const fl = Up({
12367
+ var dl = p("sku-stepper"), Kp = dl[0], ei = dl[2], Yp = Ei.QUOTA_LIMIT, sa = Ei.STOCK_LIMIT;
12368
+ const fl = Kp({
12368
12369
  props: {
12369
12370
  stock: Number,
12370
12371
  skuEventBus: Object,
@@ -12409,7 +12410,7 @@ const fl = Up({
12409
12410
  computed: {
12410
12411
  stepperLimit: function() {
12411
12412
  var t = this.quota - this.quotaUsed, i;
12412
- return this.quota > 0 && t <= this.stock ? (i = t < 0 ? 0 : t, this.limitType = qp) : (i = this.stock, this.limitType = sa), i;
12413
+ return this.quota > 0 && t <= this.stock ? (i = t < 0 ? 0 : t, this.limitType = Yp) : (i = this.stock, this.limitType = sa), i;
12413
12414
  },
12414
12415
  stepperMinLimit: function() {
12415
12416
  return this.startSaleNum < 1 ? 1 : this.startSaleNum;
@@ -12489,7 +12490,7 @@ const fl = Up({
12489
12490
  }, ["(", this.quotaText, ")"])]);
12490
12491
  }
12491
12492
  });
12492
- function Kp(e) {
12493
+ function Xp(e) {
12493
12494
  var t = /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/;
12494
12495
  return t.test(e.trim());
12495
12496
  }
@@ -12513,15 +12514,15 @@ function la(e, t) {
12513
12514
  return i ? ue(t) ? t(i) : i.size > t : !1;
12514
12515
  });
12515
12516
  }
12516
- var Yp = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
12517
- function Xp(e) {
12518
- return Yp.test(e);
12517
+ var Gp = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
12518
+ function Zp(e) {
12519
+ return Gp.test(e);
12519
12520
  }
12520
12521
  function ca(e) {
12521
- return e.isImage ? !0 : e.file && e.file.type ? e.file.type.indexOf("image") === 0 : e.url ? Xp(e.url) : e.content ? e.content.indexOf("data:image") === 0 : !1;
12522
+ return e.isImage ? !0 : e.file && e.file.type ? e.file.type.indexOf("image") === 0 : e.url ? Zp(e.url) : e.content ? e.content.indexOf("data:image") === 0 : !1;
12522
12523
  }
12523
- var vl = p("uploader"), Gp = vl[0], L = vl[1];
12524
- const ml = Gp({
12524
+ var vl = p("uploader"), Jp = vl[0], A = vl[1];
12525
+ const ml = Jp({
12525
12526
  inheritAttrs: !1,
12526
12527
  mixins: [Ht],
12527
12528
  model: {
@@ -12728,20 +12729,20 @@ const ml = Gp({
12728
12729
  attrs: {
12729
12730
  name: "close"
12730
12731
  },
12731
- class: L("mask-icon")
12732
+ class: A("mask-icon")
12732
12733
  }) : i(mt, {
12733
- class: L("loading")
12734
+ class: A("loading")
12734
12735
  }), s = T(r) && r !== "";
12735
12736
  return i("div", {
12736
- class: L("mask")
12737
+ class: A("mask")
12737
12738
  }, [a, s && i("div", {
12738
- class: L("mask-message")
12739
+ class: A("mask-message")
12739
12740
  }, [r])]);
12740
12741
  }
12741
12742
  },
12742
12743
  genPreviewItem: function(t, i) {
12743
12744
  var n, r = this, a, s, o = this.$createElement, l = (n = t.deletable) != null ? n : this.deletable, c = t.status !== "uploading" && l, u = c && o("div", {
12744
- class: L("preview-delete"),
12745
+ class: A("preview-delete"),
12745
12746
  on: {
12746
12747
  click: function(b) {
12747
12748
  b.stopPropagation(), r.onDelete(t, i);
@@ -12751,11 +12752,11 @@ const ml = Gp({
12751
12752
  attrs: {
12752
12753
  name: "cross"
12753
12754
  },
12754
- class: L("preview-delete-icon")
12755
+ class: A("preview-delete-icon")
12755
12756
  })]), h = this.slots("preview-cover", g({
12756
12757
  index: i
12757
12758
  }, t)), d = h && o("div", {
12758
- class: L("preview-cover")
12759
+ class: A("preview-cover")
12759
12760
  }, [h]), f = (a = t.previewSize) != null ? a : this.previewSize, v = (s = t.imageFit) != null ? s : this.imageFit, m = ca(t) ? o(de, {
12760
12761
  attrs: {
12761
12762
  fit: v,
@@ -12764,28 +12765,28 @@ const ml = Gp({
12764
12765
  height: f,
12765
12766
  lazyLoad: this.lazyLoad
12766
12767
  },
12767
- class: L("preview-image"),
12768
+ class: A("preview-image"),
12768
12769
  on: {
12769
12770
  click: function() {
12770
12771
  r.onPreviewImage(t);
12771
12772
  }
12772
12773
  }
12773
12774
  }, [d]) : o("div", {
12774
- class: L("file"),
12775
+ class: A("file"),
12775
12776
  style: {
12776
12777
  width: this.previewSizeWithUnit,
12777
12778
  height: this.previewSizeWithUnit
12778
12779
  }
12779
12780
  }, [o(w, {
12780
- class: L("file-icon"),
12781
+ class: A("file-icon"),
12781
12782
  attrs: {
12782
12783
  name: "description"
12783
12784
  }
12784
12785
  }), o("div", {
12785
- class: [L("file-name"), "van-ellipsis"]
12786
+ class: [A("file-name"), "van-ellipsis"]
12786
12787
  }, [t.file ? t.file.name : t.url]), d]);
12787
12788
  return o("div", {
12788
- class: L("preview"),
12789
+ class: A("preview"),
12789
12790
  on: {
12790
12791
  click: function() {
12791
12792
  r.$emit("click-preview", t, r.getDetail(i));
@@ -12807,14 +12808,14 @@ const ml = Gp({
12807
12808
  disabled: this.disabled
12808
12809
  }),
12809
12810
  ref: "input",
12810
- class: L("input"),
12811
+ class: A("input"),
12811
12812
  on: {
12812
12813
  change: this.onChange
12813
12814
  }
12814
12815
  });
12815
12816
  if (i)
12816
12817
  return t("div", {
12817
- class: L("input-wrapper"),
12818
+ class: A("input-wrapper"),
12818
12819
  key: "input-wrapper",
12819
12820
  on: {
12820
12821
  click: this.onClickUpload
@@ -12833,7 +12834,7 @@ const ml = Gp({
12833
12834
  name: "show",
12834
12835
  value: this.showUpload
12835
12836
  }],
12836
- class: L("upload", {
12837
+ class: A("upload", {
12837
12838
  readonly: this.readonly
12838
12839
  }),
12839
12840
  style: r,
@@ -12844,9 +12845,9 @@ const ml = Gp({
12844
12845
  attrs: {
12845
12846
  name: this.uploadIcon
12846
12847
  },
12847
- class: L("upload-icon")
12848
+ class: A("upload-icon")
12848
12849
  }), this.uploadText && t("span", {
12849
- class: L("upload-text")
12850
+ class: A("upload-text")
12850
12851
  }, [this.uploadText]), n]);
12851
12852
  }
12852
12853
  }
@@ -12854,16 +12855,16 @@ const ml = Gp({
12854
12855
  render: function() {
12855
12856
  var t = arguments[0];
12856
12857
  return t("div", {
12857
- class: L()
12858
+ class: A()
12858
12859
  }, [t("div", {
12859
- class: L("wrapper", {
12860
+ class: A("wrapper", {
12860
12861
  disabled: this.disabled
12861
12862
  })
12862
12863
  }, [this.genPreviewList(), this.genUpload()])]);
12863
12864
  }
12864
12865
  });
12865
- var gl = p("sku-img-uploader"), Zp = gl[0], en = gl[2];
12866
- const Jp = Zp({
12866
+ var gl = p("sku-img-uploader"), Qp = gl[0], en = gl[2];
12867
+ const tv = Qp({
12867
12868
  props: {
12868
12869
  value: String,
12869
12870
  uploadImg: Function,
@@ -12933,21 +12934,21 @@ const Jp = Zp({
12933
12934
  });
12934
12935
  }
12935
12936
  });
12936
- function Qp(e) {
12937
+ function ev(e) {
12937
12938
  return e ? new Date(e.replace(/-/g, "/")) : null;
12938
12939
  }
12939
- function tv(e, t) {
12940
+ function iv(e, t) {
12940
12941
  if (t === void 0 && (t = "date"), !e)
12941
12942
  return "";
12942
- var i = e.getFullYear(), n = e.getMonth() + 1, r = e.getDate(), a = i + "-" + M(n) + "-" + M(r);
12943
+ var i = e.getFullYear(), n = e.getMonth() + 1, r = e.getDate(), a = i + "-" + L(n) + "-" + L(r);
12943
12944
  if (t === "datetime") {
12944
12945
  var s = e.getHours(), o = e.getMinutes();
12945
- a += " " + M(s) + ":" + M(o);
12946
+ a += " " + L(s) + ":" + L(o);
12946
12947
  }
12947
12948
  return a;
12948
12949
  }
12949
- var yl = p("sku-datetime-field"), ev = yl[0], ua = yl[2];
12950
- const iv = ev({
12950
+ var yl = p("sku-datetime-field"), nv = yl[0], ua = yl[2];
12951
+ const rv = nv({
12951
12952
  props: {
12952
12953
  value: String,
12953
12954
  label: String,
@@ -12973,7 +12974,7 @@ const iv = ev({
12973
12974
  break;
12974
12975
  case "date":
12975
12976
  case "datetime":
12976
- this.currentDate = Qp(t) || /* @__PURE__ */ new Date();
12977
+ this.currentDate = ev(t) || /* @__PURE__ */ new Date();
12977
12978
  break;
12978
12979
  }
12979
12980
  }
@@ -12989,7 +12990,7 @@ const iv = ev({
12989
12990
  },
12990
12991
  onConfirm: function(t) {
12991
12992
  var i = t;
12992
- this.type !== "time" && (i = tv(t, this.type)), this.$emit("input", i), this.showDatePicker = !1;
12993
+ this.type !== "time" && (i = iv(t, this.type)), this.$emit("input", i), this.showDatePicker = !1;
12993
12994
  },
12994
12995
  onCancel: function() {
12995
12996
  this.showDatePicker = !1;
@@ -13042,8 +13043,8 @@ const iv = ev({
13042
13043
  })])]);
13043
13044
  }
13044
13045
  });
13045
- var dr = p("sku-messages"), nv = dr[0], se = dr[1], qt = dr[2];
13046
- const bl = nv({
13046
+ var dr = p("sku-messages"), av = dr[0], se = dr[1], qt = dr[2];
13047
+ const bl = av({
13047
13048
  props: {
13048
13049
  messageConfig: Object,
13049
13050
  goodsId: [Number, String],
@@ -13106,7 +13107,7 @@ const bl = nv({
13106
13107
  return qt("invalid.tel");
13107
13108
  if (r.type === "mobile" && !/^\d{6,20}$/.test(n))
13108
13109
  return qt("invalid.mobile");
13109
- if (r.type === "email" && !Kp(n))
13110
+ if (r.type === "email" && !Xp(n))
13110
13111
  return qt("invalid.email");
13111
13112
  if (r.type === "id_no" && (n.length < 15 || n.length > 18))
13112
13113
  return qt("invalid.id_no");
@@ -13142,7 +13143,7 @@ const bl = nv({
13142
13143
  valueClass: se("image-cell-value")
13143
13144
  },
13144
13145
  class: se("image-cell")
13145
- }, [r(Jp, {
13146
+ }, [r(tv, {
13146
13147
  attrs: {
13147
13148
  maxSize: this.messageConfig.uploadMaxSize,
13148
13149
  uploadImg: this.messageConfig.uploadImg,
@@ -13158,7 +13159,7 @@ const bl = nv({
13158
13159
  class: se("image-cell-label")
13159
13160
  }, [qt("imageLabel")])]);
13160
13161
  var a = ["date", "time"].indexOf(t.type) > -1;
13161
- return a ? r(iv, {
13162
+ return a ? r(rv, {
13162
13163
  attrs: {
13163
13164
  label: t.name,
13164
13165
  required: String(t.required) === "1",
@@ -13202,7 +13203,7 @@ const bl = nv({
13202
13203
  }, [this.messages.map(this.genMessage)]);
13203
13204
  }
13204
13205
  });
13205
- var fr = p("sku-actions"), rv = fr[0], av = fr[1], ha = fr[2];
13206
+ var fr = p("sku-actions"), sv = fr[0], ov = fr[1], ha = fr[2];
13206
13207
  function Sl(e, t, i, n) {
13207
13208
  var r = function(s) {
13208
13209
  return function() {
@@ -13210,7 +13211,7 @@ function Sl(e, t, i, n) {
13210
13211
  };
13211
13212
  };
13212
13213
  return e("div", x([{
13213
- class: av()
13214
+ class: ov()
13214
13215
  }, E(n)]), [t.showAddCartBtn && e(j, {
13215
13216
  attrs: {
13216
13217
  size: "large",
@@ -13237,9 +13238,9 @@ Sl.props = {
13237
13238
  skuEventBus: Object,
13238
13239
  showAddCartBtn: Boolean
13239
13240
  };
13240
- const kl = rv(Sl);
13241
- var pr = p("sku"), sv = pr[0], ov = pr[1], et = pr[2], lv = Ei.QUOTA_LIMIT;
13242
- const yt = sv({
13241
+ const kl = sv(Sl);
13242
+ var pr = p("sku"), lv = pr[0], cv = pr[1], et = pr[2], uv = Ei.QUOTA_LIMIT;
13243
+ const yt = lv({
13243
13244
  props: {
13244
13245
  sku: Object,
13245
13246
  goods: Object,
@@ -13440,7 +13441,7 @@ const yt = sv({
13440
13441
  stockText: function() {
13441
13442
  var t = this.$createElement, i = this.customStepperConfig.stockFormatter;
13442
13443
  return i ? i(this.stock) : [et("stock") + " ", t("span", {
13443
- class: ov("stock-num", {
13444
+ class: cv("stock-num", {
13444
13445
  highlight: this.stock < this.stockThreshold
13445
13446
  })
13446
13447
  }, [this.stock]), " " + et("stockUnit")];
@@ -13634,7 +13635,7 @@ const yt = sv({
13634
13635
  s(t);
13635
13636
  return;
13636
13637
  }
13637
- i === "minus" ? this.startSaleNum > 1 ? R(et("minusStartTip", this.startSaleNum)) : R(et("minusTip")) : i === "plus" && (n === lv ? a > 0 ? R(et("quotaUsedTip", r, a)) : R(et("quotaTip", r)) : R(et("soldout")));
13638
+ i === "minus" ? this.startSaleNum > 1 ? M(et("minusStartTip", this.startSaleNum)) : M(et("minusTip")) : i === "plus" && (n === uv ? a > 0 ? M(et("quotaUsedTip", r, a)) : M(et("quotaTip", r)) : M(et("soldout")));
13638
13639
  },
13639
13640
  onStepperState: function(t) {
13640
13641
  this.stepperError = t.valid ? null : g({}, t, {
@@ -13651,7 +13652,7 @@ const yt = sv({
13651
13652
  if (this.stepperError)
13652
13653
  return this.onOverLimit(this.stepperError);
13653
13654
  var i = this.validateSku();
13654
- i ? R(i) : this.$emit(t, this.getSkuData());
13655
+ i ? M(i) : this.$emit(t, this.getSkuData());
13655
13656
  },
13656
13657
  // @exposed-api
13657
13658
  getSkuData: function() {
@@ -13808,7 +13809,7 @@ const yt = sv({
13808
13809
  }
13809
13810
  }
13810
13811
  });
13811
- Cn.add(_p);
13812
+ Cn.add(Op);
13812
13813
  yt.SkuActions = kl;
13813
13814
  yt.SkuHeader = sl;
13814
13815
  yt.SkuHeaderItem = ai;
@@ -13817,12 +13818,12 @@ yt.SkuStepper = fl;
13817
13818
  yt.SkuRow = Sn;
13818
13819
  yt.SkuRowItem = ll;
13819
13820
  yt.SkuRowPropItem = cl;
13820
- yt.skuHelper = Pp;
13821
- yt.skuConstants = Ip;
13822
- var Cl = p("slider"), cv = Cl[0], ii = Cl[1], da = function(t, i) {
13821
+ yt.skuHelper = Ep;
13822
+ yt.skuConstants = Pp;
13823
+ var Cl = p("slider"), hv = Cl[0], ii = Cl[1], da = function(t, i) {
13823
13824
  return JSON.stringify(t) === JSON.stringify(i);
13824
13825
  };
13825
- const uv = cv({
13826
+ const dv = hv({
13826
13827
  mixins: [ot, Ht],
13827
13828
  props: {
13828
13829
  disabled: Boolean,
@@ -13977,8 +13978,8 @@ const uv = cv({
13977
13978
  }, [this.range ? [d(0), d(1)] : d()])]);
13978
13979
  }
13979
13980
  });
13980
- var $l = p("step"), hv = $l[0], At = $l[1];
13981
- const dv = hv({
13981
+ var $l = p("step"), fv = $l[0], At = $l[1];
13982
+ const pv = fv({
13982
13983
  mixins: [G("vanSteps")],
13983
13984
  computed: {
13984
13985
  status: function() {
@@ -14075,8 +14076,8 @@ const dv = hv({
14075
14076
  })]);
14076
14077
  }
14077
14078
  });
14078
- var wl = p("steps"), fv = wl[0], fa = wl[1];
14079
- const pv = fv({
14079
+ var wl = p("steps"), vv = wl[0], fa = wl[1];
14080
+ const mv = vv({
14080
14081
  mixins: [Z("vanSteps")],
14081
14082
  props: {
14082
14083
  center: Boolean,
@@ -14107,7 +14108,7 @@ const pv = fv({
14107
14108
  }, [this.slots()])]);
14108
14109
  }
14109
14110
  });
14110
- var vr = p("submit-bar"), vv = vr[0], $t = vr[1], mv = vr[2];
14111
+ var vr = p("submit-bar"), gv = vr[0], $t = vr[1], yv = vr[2];
14111
14112
  function xl(e, t, i, n) {
14112
14113
  var r = t.tip, a = t.price, s = t.tipIcon;
14113
14114
  function o() {
@@ -14118,7 +14119,7 @@ function xl(e, t, i, n) {
14118
14119
  textAlign: t.textAlign ? t.textAlign : ""
14119
14120
  },
14120
14121
  class: $t("text")
14121
- }, [e("span", [t.label || mv("label")]), e("span", {
14122
+ }, [e("span", [t.label || yv("label")]), e("span", {
14122
14123
  class: $t("price")
14123
14124
  }, [t.currency, e("span", {
14124
14125
  class: $t("price", "integer")
@@ -14191,9 +14192,9 @@ xl.props = {
14191
14192
  default: "danger"
14192
14193
  }
14193
14194
  };
14194
- const gv = vv(xl);
14195
- var Tl = p("swipe-cell"), yv = Tl[0], ni = Tl[1], pa = 0.15;
14196
- const bv = yv({
14195
+ const bv = gv(xl);
14196
+ var Tl = p("swipe-cell"), Sv = Tl[0], ni = Tl[1], pa = 0.15;
14197
+ const kv = Sv({
14197
14198
  mixins: [ot, Zn({
14198
14199
  event: "touchstart",
14199
14200
  method: "onClick"
@@ -14329,7 +14330,7 @@ const bv = yv({
14329
14330
  }, [this.genLeftPart(), this.slots(), this.genRightPart()])]);
14330
14331
  }
14331
14332
  });
14332
- var _l = p("switch-cell"), Sv = _l[0], kv = _l[1];
14333
+ var _l = p("switch-cell"), Cv = _l[0], $v = _l[1];
14333
14334
  function Il(e, t, i, n) {
14334
14335
  return process.env.NODE_ENV === "development" && console.warn('[Vant] "SwitchCell" component is deprecated, see: https://vant-ui.github.io/vant/v2/#/zh-CN/switch-cell.'), e(q, x([{
14335
14336
  attrs: {
@@ -14338,7 +14339,7 @@ function Il(e, t, i, n) {
14338
14339
  title: t.title,
14339
14340
  border: t.border
14340
14341
  },
14341
- class: kv([t.cellSize])
14342
+ class: $v([t.cellSize])
14342
14343
  }, E(n)]), [e(Ii, {
14343
14344
  props: g({}, t),
14344
14345
  on: g({}, n.listeners)
@@ -14356,9 +14357,9 @@ Il.props = g({}, ms, {
14356
14357
  default: "24px"
14357
14358
  }
14358
14359
  });
14359
- const Cv = Sv(Il);
14360
- var Ol = p("tabbar"), $v = Ol[0], va = Ol[1];
14361
- const wv = $v({
14360
+ const wv = Cv(Il);
14361
+ var Ol = p("tabbar"), xv = Ol[0], va = Ol[1];
14362
+ const Tv = xv({
14362
14363
  mixins: [Z("vanTabbar")],
14363
14364
  props: {
14364
14365
  route: Boolean,
@@ -14448,8 +14449,8 @@ const wv = $v({
14448
14449
  }, [this.genTabbar()]) : this.genTabbar();
14449
14450
  }
14450
14451
  });
14451
- var Pl = p("tabbar-item"), xv = Pl[0], nn = Pl[1];
14452
- const Tv = xv({
14452
+ var Pl = p("tabbar-item"), _v = Pl[0], nn = Pl[1];
14453
+ const Iv = _v({
14453
14454
  mixins: [G("vanTabbar")],
14454
14455
  props: g({}, Ft, {
14455
14456
  dot: Boolean,
@@ -14528,7 +14529,7 @@ const Tv = xv({
14528
14529
  })])]);
14529
14530
  }
14530
14531
  });
14531
- var Bl = p("tree-select"), _v = Bl[0], oe = Bl[1];
14532
+ var Bl = p("tree-select"), Ov = Bl[0], oe = Bl[1];
14532
14533
  function El(e, t, i, n) {
14533
14534
  var r = t.items, a = t.height, s = t.activeId, o = t.selectedIcon, l = t.mainActiveIndex;
14534
14535
  process.env.NODE_ENV === "development" && (n.listeners.navclick && console.warn('[Vant] TreeSelect: "navclick" event is deprecated, use "click-nav" instead.'), n.listeners.itemclick && console.warn('[Vant] TreeSelect: "itemclick" event is deprecated, use "click-item" instead.'));
@@ -14624,14 +14625,14 @@ El.props = {
14624
14625
  default: 0
14625
14626
  }
14626
14627
  };
14627
- const Iv = _v(El);
14628
- function Ov(e) {
14629
- var t = [Vc, Cu, Eu, ts, Nu, j, Xu, Ju, dh, q, Fs, js, yh, Ch, xh, Ih, Bh, Dh, Mh, Rh, Wh, vn, Gh, Qh, io, D, ao, cd, hd, vd, rt, yd, ps, ln, Sd, $d, xd, w, de, tr, Md, Rd, Zt, Fd, mt, Cn, jd, Ud, st, Qd, Na, ef, rf, sf, Bn, ep, Tt, np, op, Rn, An, up, fp, mp, Sp, Uo, Ko, Tp, yt, uv, dv, hl, pv, Ls, gv, mo, bv, yo, Ii, Cv, di, wv, Tv, Hn, Oi, R, Iv, ml];
14628
+ const Pv = Ov(El);
14629
+ function Bv(e) {
14630
+ var t = [Fc, wu, Nu, ts, Lu, j, Zu, th, ph, q, Fs, js, Sh, wh, _h, Ph, Dh, Mh, Ah, zh, qh, vn, Jh, ed, io, D, ao, hd, fd, gd, rt, Sd, ps, ln, Cd, xd, _d, w, de, tr, Ad, zd, Zt, jd, mt, Cn, Ud, Kd, st, ef, Na, rf, sf, lf, Bn, np, Tt, ap, cp, Rn, An, dp, vp, yp, Cp, Uo, Ko, Ip, yt, dv, pv, hl, mv, Ls, bv, mo, kv, yo, Ii, wv, di, Tv, Iv, Hn, Oi, M, Pv, ml];
14630
14631
  t.forEach(function(i) {
14631
14632
  i.install ? e.use(i) : i.name && e.component(i.name, i);
14632
14633
  });
14633
14634
  }
14634
- typeof window < "u" && window.Vue && Ov(window.Vue);
14635
+ typeof window < "u" && window.Vue && Bv(window.Vue);
14635
14636
  /**
14636
14637
  * vue-class-component v7.2.6
14637
14638
  * (c) 2015-present Evan You
@@ -14644,7 +14645,7 @@ function si(e) {
14644
14645
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
14645
14646
  }, si(e);
14646
14647
  }
14647
- function Pv(e, t, i) {
14648
+ function Ev(e, t, i) {
14648
14649
  return t in e ? Object.defineProperty(e, t, {
14649
14650
  value: i,
14650
14651
  enumerable: !0,
@@ -14652,27 +14653,27 @@ function Pv(e, t, i) {
14652
14653
  writable: !0
14653
14654
  }) : e[t] = i, e;
14654
14655
  }
14655
- function Bv(e) {
14656
- return Ev(e) || Dv(e) || Nv();
14656
+ function Dv(e) {
14657
+ return Nv(e) || Mv(e) || Lv();
14657
14658
  }
14658
- function Ev(e) {
14659
+ function Nv(e) {
14659
14660
  if (Array.isArray(e)) {
14660
14661
  for (var t = 0, i = new Array(e.length); t < e.length; t++)
14661
14662
  i[t] = e[t];
14662
14663
  return i;
14663
14664
  }
14664
14665
  }
14665
- function Dv(e) {
14666
+ function Mv(e) {
14666
14667
  if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]")
14667
14668
  return Array.from(e);
14668
14669
  }
14669
- function Nv() {
14670
+ function Lv() {
14670
14671
  throw new TypeError("Invalid attempt to spread non-iterable instance");
14671
14672
  }
14672
- function Mv() {
14673
+ function Av() {
14673
14674
  return typeof Reflect < "u" && Reflect.defineMetadata && Reflect.getOwnMetadataKeys;
14674
14675
  }
14675
- function Lv(e, t) {
14676
+ function Rv(e, t) {
14676
14677
  rn(e, t), Object.getOwnPropertyNames(t.prototype).forEach(function(i) {
14677
14678
  rn(e.prototype, t.prototype, i);
14678
14679
  }), Object.getOwnPropertyNames(t).forEach(function(i) {
@@ -14686,9 +14687,9 @@ function rn(e, t, i) {
14686
14687
  i ? Reflect.defineMetadata(r, a, e, i) : Reflect.defineMetadata(r, a, e);
14687
14688
  });
14688
14689
  }
14689
- var Av = {
14690
+ var Vv = {
14690
14691
  __proto__: []
14691
- }, Rv = Av instanceof Array;
14692
+ }, zv = Vv instanceof Array;
14692
14693
  function Di(e) {
14693
14694
  return function(t, i, n) {
14694
14695
  var r = typeof t == "function" ? t : t.constructor;
@@ -14697,14 +14698,14 @@ function Di(e) {
14697
14698
  });
14698
14699
  };
14699
14700
  }
14700
- function Vv(e) {
14701
+ function Fv(e) {
14701
14702
  var t = si(e);
14702
14703
  return e == null || t !== "object" && t !== "function";
14703
14704
  }
14704
14705
  function Dl(e) {
14705
14706
  typeof console < "u" && console.warn("[vue-class-component] " + e);
14706
14707
  }
14707
- function zv(e, t) {
14708
+ function Hv(e, t) {
14708
14709
  var i = t.prototype._init;
14709
14710
  t.prototype._init = function() {
14710
14711
  var a = this, s = Object.getOwnPropertyNames(e);
@@ -14760,7 +14761,7 @@ function ma(e) {
14760
14761
  var l = Object.getOwnPropertyDescriptor(i, o);
14761
14762
  l.value !== void 0 ? typeof l.value == "function" ? (t.methods || (t.methods = {}))[o] = l.value : (t.mixins || (t.mixins = [])).push({
14762
14763
  data: function() {
14763
- return Pv({}, o, l.value);
14764
+ return Ev({}, o, l.value);
14764
14765
  }
14765
14766
  }) : (l.get || l.set) && ((t.computed || (t.computed = {}))[o] = {
14766
14767
  get: l.get,
@@ -14769,7 +14770,7 @@ function ma(e) {
14769
14770
  }
14770
14771
  }), (t.mixins || (t.mixins = [])).push({
14771
14772
  data: function() {
14772
- return zv(this, e);
14773
+ return Hv(this, e);
14773
14774
  }
14774
14775
  });
14775
14776
  var n = e.__decorators__;
@@ -14777,9 +14778,9 @@ function ma(e) {
14777
14778
  return o(t);
14778
14779
  }), delete e.__decorators__);
14779
14780
  var r = Object.getPrototypeOf(e.prototype), a = r instanceof P ? r.constructor : P, s = a.extend(t);
14780
- return jv(s, e, a), Mv() && Lv(s, e), s;
14781
+ return Uv(s, e, a), Av() && Rv(s, e), s;
14781
14782
  }
14782
- var Fv = [
14783
+ var jv = [
14783
14784
  // Unique id
14784
14785
  "cid",
14785
14786
  // Super Vue constructor
@@ -14793,26 +14794,26 @@ var Fv = [
14793
14794
  "component",
14794
14795
  "directive",
14795
14796
  "filter"
14796
- ], Hv = {
14797
+ ], Wv = {
14797
14798
  prototype: !0,
14798
14799
  arguments: !0,
14799
14800
  callee: !0,
14800
14801
  caller: !0
14801
14802
  };
14802
- function jv(e, t, i) {
14803
+ function Uv(e, t, i) {
14803
14804
  Object.getOwnPropertyNames(t).forEach(function(n) {
14804
- if (!Hv[n]) {
14805
+ if (!Wv[n]) {
14805
14806
  var r = Object.getOwnPropertyDescriptor(e, n);
14806
14807
  if (!(r && !r.configurable)) {
14807
14808
  var a = Object.getOwnPropertyDescriptor(t, n);
14808
- if (!Rv) {
14809
+ if (!zv) {
14809
14810
  if (n === "cid")
14810
14811
  return;
14811
14812
  var s = Object.getOwnPropertyDescriptor(i, n);
14812
- if (!Vv(a.value) && s && s.value === a.value)
14813
+ if (!Fv(a.value) && s && s.value === a.value)
14813
14814
  return;
14814
14815
  }
14815
- process.env.NODE_ENV !== "production" && Fv.indexOf(n) >= 0 && Dl("Static property name '".concat(n, "' declared on class '").concat(t.name, "' ") + "conflicts with reserved property name of Vue internal. It may cause unexpected behavior of the component. Consider renaming the property."), Object.defineProperty(e, n, a);
14816
+ process.env.NODE_ENV !== "production" && jv.indexOf(n) >= 0 && Dl("Static property name '".concat(n, "' declared on class '").concat(t.name, "' ") + "conflicts with reserved property name of Vue internal. It may cause unexpected behavior of the component. Consider renaming the property."), Object.defineProperty(e, n, a);
14816
14817
  }
14817
14818
  }
14818
14819
  });
@@ -14823,7 +14824,7 @@ function jt(e) {
14823
14824
  };
14824
14825
  }
14825
14826
  jt.registerHooks = function(t) {
14826
- kn.push.apply(kn, Bv(t));
14827
+ kn.push.apply(kn, Dv(t));
14827
14828
  };
14828
14829
  globalThis && globalThis.__spreadArrays;
14829
14830
  function mr(e) {
@@ -14831,10 +14832,10 @@ function mr(e) {
14831
14832
  typeof t.inject > "u" && (t.inject = {}), Array.isArray(t.inject) || (t.inject[i] = e || i);
14832
14833
  });
14833
14834
  }
14834
- function Wv(e) {
14835
+ function qv(e) {
14835
14836
  return typeof e != "function" || !e.managed && !e.managedReactive;
14836
14837
  }
14837
- function Uv(e) {
14838
+ function Kv(e) {
14838
14839
  var t = function() {
14839
14840
  var i = this, n = typeof e == "function" ? e.call(this) : e;
14840
14841
  n = Object.create(n || null), n[we] = Object.create(this[we] || {});
@@ -14856,33 +14857,33 @@ function Uv(e) {
14856
14857
  return t.managed = {}, t.managedReactive = {}, t;
14857
14858
  }
14858
14859
  var we = "__reactiveInject__";
14859
- function qv(e) {
14860
+ function Yv(e) {
14860
14861
  Array.isArray(e.inject) || (e.inject = e.inject || {}, e.inject[we] = {
14861
14862
  from: we,
14862
14863
  default: {}
14863
14864
  });
14864
14865
  }
14865
- var Kv = typeof Reflect < "u" && typeof Reflect.getMetadata < "u";
14866
- function Yv(e, t, i) {
14867
- if (Kv && !Array.isArray(e) && typeof e != "function" && !e.hasOwnProperty("type") && typeof e.type > "u") {
14866
+ var Xv = typeof Reflect < "u" && typeof Reflect.getMetadata < "u";
14867
+ function Gv(e, t, i) {
14868
+ if (Xv && !Array.isArray(e) && typeof e != "function" && !e.hasOwnProperty("type") && typeof e.type > "u") {
14868
14869
  var n = Reflect.getMetadata("design:type", t, i);
14869
14870
  n !== Object && (e.type = n);
14870
14871
  }
14871
14872
  }
14872
14873
  function Me(e) {
14873
14874
  return e === void 0 && (e = {}), function(t, i) {
14874
- Yv(e, t, i), Di(function(n, r) {
14875
+ Gv(e, t, i), Di(function(n, r) {
14875
14876
  (n.props || (n.props = {}))[r] = e;
14876
14877
  })(t, i);
14877
14878
  };
14878
14879
  }
14879
- function Xv(e) {
14880
+ function Zv(e) {
14880
14881
  return Di(function(t, i) {
14881
14882
  var n = t.provide;
14882
- qv(t), Wv(n) && (n = t.provide = Uv(n)), n.managed[i] = e || i;
14883
+ Yv(t), qv(n) && (n = t.provide = Kv(n)), n.managed[i] = e || i;
14883
14884
  });
14884
14885
  }
14885
- function Gv(e, t) {
14886
+ function Jv(e, t) {
14886
14887
  t === void 0 && (t = {});
14887
14888
  var i = t.deep, n = i === void 0 ? !1 : i, r = t.immediate, a = r === void 0 ? !1 : r;
14888
14889
  return Di(function(s, o) {
@@ -14921,20 +14922,20 @@ const xe = (e, t = "请求失败") => (D({ title: t, message: e }), {
14921
14922
  let o = (s == null ? void 0 : s.message) || "未知异常";
14922
14923
  s.message.includes("404") ? o = "资源未找到" : s.message.includes("500") ? o = "服务器错误" : s instanceof TypeError && s.message === "Failed to fetch" && (o = "网络连接失败"), r(o);
14923
14924
  });
14924
- }), Zv = (e) => ({
14925
+ }), Qv = (e) => ({
14925
14926
  status: !0,
14926
14927
  message: "成功",
14927
14928
  data: e
14928
- }), Jv = /LT-APP/.test(navigator.userAgent);
14929
+ }), tm = /LT-APP/.test(navigator.userAgent);
14929
14930
  var wa, xa;
14930
- const Nl = (xa = (wa = P.prototype) == null ? void 0 : wa.$jsBridge) == null ? void 0 : xa.inApp, Qv = !!window.ReactNativeWebView, tm = async (e) => {
14931
+ const Nl = (xa = (wa = P.prototype) == null ? void 0 : wa.$jsBridge) == null ? void 0 : xa.inApp, em = !!window.ReactNativeWebView, Ml = async (e) => {
14931
14932
  const { id: t, key: i, value: n, prefix: r } = e;
14932
14933
  let a = location.origin + `/Payment/${r || ""}Alipay`;
14933
- const s = em();
14934
+ const s = im();
14934
14935
  if (a += `?qrcode=${s}&id=${t}`, !(i && n))
14935
14936
  return xe("支付参数异常", `支付时缺少 key value 参数:${JSON.stringify(e)}`);
14936
14937
  if (a += `&${i}=${n}`, !s)
14937
- return location.href = a, Zv();
14938
+ return location.href = a, Qv();
14938
14939
  const { Data: o, Status: l, Message: c } = await gr(a, {}, "GET");
14939
14940
  if (!l)
14940
14941
  return xe("支付请求失败", c || "请求支付结果异常");
@@ -14946,22 +14947,30 @@ const Nl = (xa = (wa = P.prototype) == null ? void 0 : wa.$jsBridge) == null ? v
14946
14947
  }
14947
14948
  location.href = o;
14948
14949
  };
14949
- function em() {
14950
- return Jv || Nl || Qv;
14950
+ function im() {
14951
+ return tm || Nl || em;
14951
14952
  }
14952
- const im = async ({ channel: e, key: t, value: i, prefix: n }) => {
14953
+ const Ll = {
14954
+ alipay: Ml
14955
+ };
14956
+ function nm(e) {
14957
+ return e.filter(({ type: t }) => {
14958
+ if (t in Ll)
14959
+ return !0;
14960
+ });
14961
+ }
14962
+ const rm = async ({ channel: e, key: t, value: i, prefix: n }) => {
14953
14963
  const { type: r, id: a } = e, s = String(Number(i) / 100);
14954
- switch (r) {
14964
+ switch (r in Ll || M("暂不支持此渠道"), r) {
14955
14965
  case "alipay":
14956
- return await tm({ id: a, key: t, value: s, prefix: n });
14966
+ return await Ml({ id: a, key: t, value: s, prefix: n });
14957
14967
  default:
14958
- R("暂不支持此渠道");
14968
+ M("暂不支持此渠道");
14959
14969
  }
14960
- }, nm = "orange", Ml = {
14970
+ }, am = "orange", Al = {
14971
+ needId: !1,
14961
14972
  name: "店铺余额",
14962
14973
  theme: "#4089ff",
14963
- /** 是否需要 id*/
14964
- needId: !1,
14965
14974
  /** 余额*/
14966
14975
  balance: {
14967
14976
  disabled: !1,
@@ -14998,31 +15007,56 @@ const im = async ({ channel: e, key: t, value: i, prefix: n }) => {
14998
15007
  pay: {
14999
15008
  key: "Money"
15000
15009
  }
15001
- }, rm = {
15002
- agent: Ml,
15003
- vip: {
15004
- needId: !0,
15005
- balance: {
15006
- disabled: !0
15007
- },
15008
- price: {
15009
- disabled: !0
15010
- },
15011
- channel: {
15012
- api: "/SystemPayment/GetVipList"
15013
- },
15014
- pay: {
15015
- key: "vipId"
15016
- }
15010
+ }, sm = {
15011
+ theme: "#ff4f4f",
15012
+ name: "幸运币余额",
15013
+ needId: !1,
15014
+ balance: {
15015
+ disabled: !1,
15016
+ key: "PlaMoney",
15017
+ api: "/PlayerUser/GetMoney"
15018
+ },
15019
+ price: {
15020
+ disabled: !1,
15021
+ custom: !0,
15022
+ prices: [
15023
+ {
15024
+ price: 200
15025
+ },
15026
+ {
15027
+ price: 500
15028
+ },
15029
+ {
15030
+ price: 1e3
15031
+ },
15032
+ {
15033
+ price: 5e3
15034
+ },
15035
+ {
15036
+ price: 1e4
15037
+ },
15038
+ {
15039
+ price: 2e4
15040
+ }
15041
+ ]
15042
+ },
15043
+ channel: {
15044
+ api: "/SystemPayment/GetList"
15045
+ },
15046
+ pay: {
15047
+ key: "Money"
15017
15048
  }
15018
- }, am = async (e, t) => {
15049
+ }, om = {
15050
+ agent: Al,
15051
+ user: sm
15052
+ }, lm = async (e, t) => {
15019
15053
  const i = await gr(e);
15020
15054
  return t in i ? i[t] : (xe(JSON.stringify(i) || "解析数据异常", `余额数据中不存在 ${t}`), 0);
15021
15055
  };
15022
- var sm = Object.defineProperty, om = Object.getOwnPropertyDescriptor, Ll = (e, t, i, n) => {
15023
- for (var r = n > 1 ? void 0 : n ? om(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15056
+ var cm = Object.defineProperty, um = Object.getOwnPropertyDescriptor, Rl = (e, t, i, n) => {
15057
+ for (var r = n > 1 ? void 0 : n ? um(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15024
15058
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15025
- return n && r && sm(t, i, r), r;
15059
+ return n && r && cm(t, i, r), r;
15026
15060
  };
15027
15061
  let mi = class extends P {
15028
15062
  constructor() {
@@ -15052,13 +15086,13 @@ let mi = class extends P {
15052
15086
  i != null && this.$emit("done", i);
15053
15087
  }
15054
15088
  };
15055
- Ll([
15089
+ Rl([
15056
15090
  Me()
15057
15091
  ], mi.prototype, "load", 2);
15058
- mi = Ll([
15092
+ mi = Rl([
15059
15093
  jt
15060
15094
  ], mi);
15061
- var lm = function() {
15095
+ var hm = function() {
15062
15096
  var e = this, t = e.$createElement, i = e._self._c || t;
15063
15097
  return i("div", {
15064
15098
  staticClass: "pay-error-container"
@@ -15081,7 +15115,7 @@ var lm = function() {
15081
15115
  type: "spinner"
15082
15116
  }
15083
15117
  })], 1), e._t("default")], 2);
15084
- }, cm = [];
15118
+ }, dm = [];
15085
15119
  function Qt(e, t, i, n, r, a, s, o) {
15086
15120
  var l = typeof e == "function" ? e.options : e;
15087
15121
  t && (l.render = t, l.staticRenderFns = i, l._compiled = !0), n && (l.functional = !0), a && (l._scopeId = "data-v-" + a);
@@ -15112,27 +15146,27 @@ function Qt(e, t, i, n, r, a, s, o) {
15112
15146
  };
15113
15147
  }
15114
15148
  const ga = {};
15115
- var um = /* @__PURE__ */ Qt(
15149
+ var fm = /* @__PURE__ */ Qt(
15116
15150
  mi,
15117
- lm,
15118
- cm,
15119
- !1,
15120
15151
  hm,
15152
+ dm,
15153
+ !1,
15154
+ pm,
15121
15155
  "0817c014",
15122
15156
  null,
15123
15157
  null
15124
15158
  );
15125
- function hm(e) {
15159
+ function pm(e) {
15126
15160
  for (let t in ga)
15127
15161
  this[t] = ga[t];
15128
15162
  }
15129
15163
  const yr = /* @__PURE__ */ function() {
15130
- return um.exports;
15164
+ return fm.exports;
15131
15165
  }();
15132
- var dm = Object.defineProperty, fm = Object.getOwnPropertyDescriptor, Al = (e, t, i, n) => {
15133
- for (var r = n > 1 ? void 0 : n ? fm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15166
+ var vm = Object.defineProperty, mm = Object.getOwnPropertyDescriptor, Vl = (e, t, i, n) => {
15167
+ for (var r = n > 1 ? void 0 : n ? mm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15134
15168
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15135
- return n && r && dm(t, i, r), r;
15169
+ return n && r && vm(t, i, r), r;
15136
15170
  };
15137
15171
  let gi = class extends P {
15138
15172
  constructor() {
@@ -15144,21 +15178,21 @@ let gi = class extends P {
15144
15178
  const { key: i, api: n } = this.config.balance;
15145
15179
  if (!n || !i)
15146
15180
  throw new Error("不存在 key 或 api");
15147
- return am(n, i);
15181
+ return lm(n, i);
15148
15182
  }
15149
15183
  onBalanceLoad(i) {
15150
15184
  this.value = i / 100, this.$emit("change", i);
15151
15185
  }
15152
15186
  };
15153
- Al([
15187
+ Vl([
15154
15188
  mr()
15155
15189
  ], gi.prototype, "config", 2);
15156
- gi = Al([
15190
+ gi = Vl([
15157
15191
  jt({
15158
15192
  components: { PayError: yr }
15159
15193
  })
15160
15194
  ], gi);
15161
- var pm = function() {
15195
+ var gm = function() {
15162
15196
  var e = this, t = e.$createElement, i = e._self._c || t;
15163
15197
  return i("div", {
15164
15198
  staticClass: "root wechat-font"
@@ -15170,31 +15204,31 @@ var pm = function() {
15170
15204
  done: e.onBalanceLoad
15171
15205
  }
15172
15206
  }, [i("h1", [e._v(" " + e._s(e.value) + " ")])])], 1);
15173
- }, vm = [];
15207
+ }, ym = [];
15174
15208
  const ya = {};
15175
- var mm = /* @__PURE__ */ Qt(
15209
+ var bm = /* @__PURE__ */ Qt(
15176
15210
  gi,
15177
- pm,
15178
- vm,
15179
- !1,
15180
15211
  gm,
15212
+ ym,
15213
+ !1,
15214
+ Sm,
15181
15215
  "75290345",
15182
15216
  null,
15183
15217
  null
15184
15218
  );
15185
- function gm(e) {
15219
+ function Sm(e) {
15186
15220
  for (let t in ya)
15187
15221
  this[t] = ya[t];
15188
15222
  }
15189
- const ym = /* @__PURE__ */ function() {
15190
- return mm.exports;
15191
- }(), bm = async (e) => (await gr(e)).map(({
15223
+ const km = /* @__PURE__ */ function() {
15224
+ return bm.exports;
15225
+ }(), Cm = async (e) => (await gr(e)).map(({
15192
15226
  Id: i,
15193
15227
  PaymentValue: n,
15194
15228
  PaymentName: r,
15195
15229
  PaymentIcon: a
15196
15230
  }) => {
15197
- const s = Sm(n);
15231
+ const s = $m(n);
15198
15232
  return {
15199
15233
  id: i,
15200
15234
  name: n,
@@ -15202,13 +15236,13 @@ const ym = /* @__PURE__ */ function() {
15202
15236
  type: s
15203
15237
  };
15204
15238
  });
15205
- function Sm(e) {
15239
+ function $m(e) {
15206
15240
  return e.includes("支付宝") ? "alipay" : e.includes("微信") ? "wechat" : "unknow";
15207
15241
  }
15208
- var km = Object.defineProperty, Cm = Object.getOwnPropertyDescriptor, Rl = (e, t, i, n) => {
15209
- for (var r = n > 1 ? void 0 : n ? Cm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15242
+ var wm = Object.defineProperty, xm = Object.getOwnPropertyDescriptor, zl = (e, t, i, n) => {
15243
+ for (var r = n > 1 ? void 0 : n ? xm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15210
15244
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15211
- return n && r && km(t, i, r), r;
15245
+ return n && r && wm(t, i, r), r;
15212
15246
  };
15213
15247
  let yi = class extends P {
15214
15248
  constructor() {
@@ -15238,23 +15272,23 @@ let yi = class extends P {
15238
15272
  return i ? i.name : "";
15239
15273
  }
15240
15274
  load() {
15241
- return bm(this.config.channel.api);
15275
+ return Cm(this.config.channel.api);
15242
15276
  }
15243
15277
  onLoadChannels(i) {
15244
- this.channels = i, this.$emit("change", this.channels[0]);
15278
+ this.channels = nm(i), this.$emit("change", this.channels[0]);
15245
15279
  }
15246
15280
  };
15247
- Rl([
15281
+ zl([
15248
15282
  mr()
15249
15283
  ], yi.prototype, "config", 2);
15250
- yi = Rl([
15284
+ yi = zl([
15251
15285
  jt({
15252
15286
  components: {
15253
15287
  PayError: yr
15254
15288
  }
15255
15289
  })
15256
15290
  ], yi);
15257
- var $m = function() {
15291
+ var Tm = function() {
15258
15292
  var e = this, t = e.$createElement, i = e._self._c || t;
15259
15293
  return i("van-popover", {
15260
15294
  attrs: {
@@ -15294,29 +15328,29 @@ var $m = function() {
15294
15328
  expression: "showPopover"
15295
15329
  }
15296
15330
  });
15297
- }, wm = [];
15331
+ }, _m = [];
15298
15332
  const ba = {};
15299
- var xm = /* @__PURE__ */ Qt(
15333
+ var Im = /* @__PURE__ */ Qt(
15300
15334
  yi,
15301
- $m,
15302
- wm,
15303
- !1,
15304
15335
  Tm,
15305
- "be539772",
15336
+ _m,
15337
+ !1,
15338
+ Om,
15339
+ "4e4c306e",
15306
15340
  null,
15307
15341
  null
15308
15342
  );
15309
- function Tm(e) {
15343
+ function Om(e) {
15310
15344
  for (let t in ba)
15311
15345
  this[t] = ba[t];
15312
15346
  }
15313
- const _m = /* @__PURE__ */ function() {
15314
- return xm.exports;
15347
+ const Pm = /* @__PURE__ */ function() {
15348
+ return Im.exports;
15315
15349
  }();
15316
- var Im = Object.defineProperty, Om = Object.getOwnPropertyDescriptor, Vl = (e, t, i, n) => {
15317
- for (var r = n > 1 ? void 0 : n ? Om(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15350
+ var Bm = Object.defineProperty, Em = Object.getOwnPropertyDescriptor, Fl = (e, t, i, n) => {
15351
+ for (var r = n > 1 ? void 0 : n ? Em(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15318
15352
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15319
- return n && r && Im(t, i, r), r;
15353
+ return n && r && Bm(t, i, r), r;
15320
15354
  };
15321
15355
  let bi = class extends P {
15322
15356
  constructor() {
@@ -15328,13 +15362,13 @@ let bi = class extends P {
15328
15362
  this.$emit("input", Number(i));
15329
15363
  }
15330
15364
  };
15331
- Vl([
15365
+ Fl([
15332
15366
  Me({ default: null })
15333
15367
  ], bi.prototype, "customPrice", 2);
15334
- bi = Vl([
15368
+ bi = Fl([
15335
15369
  jt
15336
15370
  ], bi);
15337
- var Pm = function() {
15371
+ var Dm = function() {
15338
15372
  var e = this, t = e.$createElement, i = e._self._c || t;
15339
15373
  return i("div", {
15340
15374
  staticClass: "custom-price"
@@ -15356,29 +15390,29 @@ var Pm = function() {
15356
15390
  expression: "value"
15357
15391
  }
15358
15392
  })], 1);
15359
- }, Bm = [];
15393
+ }, Nm = [];
15360
15394
  const Sa = {};
15361
- var Em = /* @__PURE__ */ Qt(
15395
+ var Mm = /* @__PURE__ */ Qt(
15362
15396
  bi,
15363
- Pm,
15364
- Bm,
15365
- !1,
15366
15397
  Dm,
15398
+ Nm,
15399
+ !1,
15400
+ Lm,
15367
15401
  "ea027830",
15368
15402
  null,
15369
15403
  null
15370
15404
  );
15371
- function Dm(e) {
15405
+ function Lm(e) {
15372
15406
  for (let t in Sa)
15373
15407
  this[t] = Sa[t];
15374
15408
  }
15375
- const zl = /* @__PURE__ */ function() {
15376
- return Em.exports;
15409
+ const Hl = /* @__PURE__ */ function() {
15410
+ return Mm.exports;
15377
15411
  }();
15378
- var Nm = Object.defineProperty, Mm = Object.getOwnPropertyDescriptor, Fl = (e, t, i, n) => {
15379
- for (var r = n > 1 ? void 0 : n ? Mm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15412
+ var Am = Object.defineProperty, Rm = Object.getOwnPropertyDescriptor, jl = (e, t, i, n) => {
15413
+ for (var r = n > 1 ? void 0 : n ? Rm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15380
15414
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15381
- return n && r && Nm(t, i, r), r;
15415
+ return n && r && Am(t, i, r), r;
15382
15416
  };
15383
15417
  let Si = class extends P {
15384
15418
  constructor() {
@@ -15393,13 +15427,13 @@ let Si = class extends P {
15393
15427
  return !this.price.count;
15394
15428
  }
15395
15429
  };
15396
- Fl([
15430
+ jl([
15397
15431
  Me({ default: {} })
15398
15432
  ], Si.prototype, "price", 2);
15399
- Si = Fl([
15433
+ Si = jl([
15400
15434
  jt
15401
15435
  ], Si);
15402
- var Lm = function() {
15436
+ var Vm = function() {
15403
15437
  var e = this, t = e.$createElement, i = e._self._c || t;
15404
15438
  return i("div", {
15405
15439
  staticClass: "price-root wechat-font",
@@ -15417,29 +15451,29 @@ var Lm = function() {
15417
15451
  }), e._v(" " + e._s(e.price.count) + " ")]) : e._e(), i("span", {
15418
15452
  staticClass: "price"
15419
15453
  }, [e._v("¥" + e._s(e.realPrice))])]);
15420
- }, Am = [];
15454
+ }, zm = [];
15421
15455
  const ka = {};
15422
- var Rm = /* @__PURE__ */ Qt(
15456
+ var Fm = /* @__PURE__ */ Qt(
15423
15457
  Si,
15424
- Lm,
15425
- Am,
15426
- !1,
15427
15458
  Vm,
15459
+ zm,
15460
+ !1,
15461
+ Hm,
15428
15462
  "68d98a5c",
15429
15463
  null,
15430
15464
  null
15431
15465
  );
15432
- function Vm(e) {
15466
+ function Hm(e) {
15433
15467
  for (let t in ka)
15434
15468
  this[t] = ka[t];
15435
15469
  }
15436
- const zm = /* @__PURE__ */ function() {
15437
- return Rm.exports;
15470
+ const jm = /* @__PURE__ */ function() {
15471
+ return Fm.exports;
15438
15472
  }();
15439
- var Fm = Object.defineProperty, Hm = Object.getOwnPropertyDescriptor, br = (e, t, i, n) => {
15440
- for (var r = n > 1 ? void 0 : n ? Hm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15473
+ var Wm = Object.defineProperty, Um = Object.getOwnPropertyDescriptor, br = (e, t, i, n) => {
15474
+ for (var r = n > 1 ? void 0 : n ? Um(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15441
15475
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15442
- return n && r && Fm(t, i, r), r;
15476
+ return n && r && Wm(t, i, r), r;
15443
15477
  };
15444
15478
  let Pe = class extends P {
15445
15479
  constructor() {
@@ -15477,18 +15511,18 @@ br([
15477
15511
  mr()
15478
15512
  ], Pe.prototype, "config", 2);
15479
15513
  br([
15480
- Gv("customPrice")
15514
+ Jv("customPrice")
15481
15515
  ], Pe.prototype, "onCustomPriceChange", 1);
15482
15516
  Pe = br([
15483
15517
  jt({
15484
15518
  components: {
15485
- PriceItem: zm,
15519
+ PriceItem: jm,
15486
15520
  PayError: yr,
15487
- PriceCustom: zl
15521
+ PriceCustom: Hl
15488
15522
  }
15489
15523
  })
15490
15524
  ], Pe);
15491
- var jm = function() {
15525
+ var qm = function() {
15492
15526
  var e = this, t = e.$createElement, i = e._self._c || t;
15493
15527
  return e.config.price.disabled ? e._e() : i("div", {
15494
15528
  staticClass: "price-container"
@@ -15529,29 +15563,29 @@ var jm = function() {
15529
15563
  expression: "customPrice"
15530
15564
  }
15531
15565
  })] : e._e()], 2);
15532
- }, Wm = [];
15566
+ }, Km = [];
15533
15567
  const Ca = {};
15534
- var Um = /* @__PURE__ */ Qt(
15568
+ var Ym = /* @__PURE__ */ Qt(
15535
15569
  Pe,
15536
- jm,
15537
- Wm,
15538
- !1,
15539
15570
  qm,
15571
+ Km,
15572
+ !1,
15573
+ Xm,
15540
15574
  "76333b1f",
15541
15575
  null,
15542
15576
  null
15543
15577
  );
15544
- function qm(e) {
15578
+ function Xm(e) {
15545
15579
  for (let t in Ca)
15546
15580
  this[t] = Ca[t];
15547
15581
  }
15548
- const Km = /* @__PURE__ */ function() {
15549
- return Um.exports;
15582
+ const Gm = /* @__PURE__ */ function() {
15583
+ return Ym.exports;
15550
15584
  }();
15551
- var Ym = Object.defineProperty, Xm = Object.getOwnPropertyDescriptor, Sr = (e, t, i, n) => {
15552
- for (var r = n > 1 ? void 0 : n ? Xm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15585
+ var Zm = Object.defineProperty, Jm = Object.getOwnPropertyDescriptor, Sr = (e, t, i, n) => {
15586
+ for (var r = n > 1 ? void 0 : n ? Jm(t, i) : t, a = e.length - 1, s; a >= 0; a--)
15553
15587
  (s = e[a]) && (r = (n ? s(t, i, r) : s(r)) || r);
15554
- return n && r && Ym(t, i, r), r;
15588
+ return n && r && Zm(t, i, r), r;
15555
15589
  };
15556
15590
  let Be = class extends P {
15557
15591
  constructor() {
@@ -15559,7 +15593,7 @@ let Be = class extends P {
15559
15593
  B(this, "config");
15560
15594
  B(this, "id");
15561
15595
  // 默认主题
15562
- B(this, "baseTheme", nm);
15596
+ B(this, "baseTheme", am);
15563
15597
  // 弹出层是否显示
15564
15598
  B(this, "visible", !1);
15565
15599
  // 余额
@@ -15591,7 +15625,11 @@ let Be = class extends P {
15591
15625
  }
15592
15626
  // 关闭弹出层
15593
15627
  onClose() {
15594
- this.$emit("cancel");
15628
+ this.$emit("onClose");
15629
+ }
15630
+ // 弹出层动画结束
15631
+ onClosed() {
15632
+ this.$emit("onClosed"), console.log("触发onClosed事件");
15595
15633
  }
15596
15634
  // 点击充值
15597
15635
  async onTopup() {
@@ -15600,7 +15638,7 @@ let Be = class extends P {
15600
15638
  xe("渠道不存在");
15601
15639
  return;
15602
15640
  }
15603
- await im({
15641
+ await rm({
15604
15642
  channel: this.channel,
15605
15643
  key: i,
15606
15644
  value: r,
@@ -15631,8 +15669,8 @@ let Be = class extends P {
15631
15669
  }
15632
15670
  };
15633
15671
  Sr([
15634
- Xv("config"),
15635
- Me({ default: Ml })
15672
+ Zv("config"),
15673
+ Me({ default: Al })
15636
15674
  ], Be.prototype, "config", 2);
15637
15675
  Sr([
15638
15676
  Me({ default: void 0 })
@@ -15640,16 +15678,16 @@ Sr([
15640
15678
  Be = Sr([
15641
15679
  jt({
15642
15680
  components: {
15643
- Balance: ym,
15681
+ Balance: km,
15644
15682
  Divider: ao,
15645
- PriceContainer: Km,
15683
+ PriceContainer: Gm,
15646
15684
  Button: j,
15647
- PriceCustom: zl,
15648
- Channels: _m
15685
+ PriceCustom: Hl,
15686
+ Channels: Pm
15649
15687
  }
15650
15688
  })
15651
15689
  ], Be);
15652
- var Gm = function() {
15690
+ var Qm = function() {
15653
15691
  var e = this, t = e.$createElement, i = e._self._c || t;
15654
15692
  return i("van-popup", {
15655
15693
  staticClass: "pay-popup",
@@ -15659,7 +15697,8 @@ var Gm = function() {
15659
15697
  round: ""
15660
15698
  },
15661
15699
  on: {
15662
- closed: e.onClose
15700
+ closed: e.onClosed,
15701
+ close: e.onClose
15663
15702
  },
15664
15703
  model: {
15665
15704
  value: e.visible,
@@ -15692,52 +15731,52 @@ var Gm = function() {
15692
15731
  click: e.onTopup
15693
15732
  }
15694
15733
  }, [e._v(" 立即支付 " + e._s(e.finalPrice) + " 元 ")])], 2);
15695
- }, Zm = [];
15734
+ }, tg = [];
15696
15735
  const $a = {};
15697
- var Jm = /* @__PURE__ */ Qt(
15736
+ var eg = /* @__PURE__ */ Qt(
15698
15737
  Be,
15699
- Gm,
15700
- Zm,
15701
- !1,
15702
15738
  Qm,
15703
- "20ed35e0",
15739
+ tg,
15740
+ !1,
15741
+ ig,
15742
+ "c1cac5f0",
15704
15743
  null,
15705
15744
  null
15706
15745
  );
15707
- function Qm(e) {
15746
+ function ig(e) {
15708
15747
  for (let t in $a)
15709
15748
  this[t] = $a[t];
15710
15749
  }
15711
- const tg = /* @__PURE__ */ function() {
15712
- return Jm.exports;
15713
- }(), ug = {
15750
+ const ng = /* @__PURE__ */ function() {
15751
+ return eg.exports;
15752
+ }(), fg = {
15714
15753
  install(e) {
15715
- const t = (i, ...n) => {
15716
- const r = rm[i], { needId: a } = r, s = n[0];
15717
- if (a && !s) {
15754
+ const t = (i, ...n) => new Promise((r, a) => {
15755
+ const s = om[i], { needId: o } = s, l = n[0];
15756
+ if (o && !l) {
15718
15757
  D({
15719
15758
  title: "参数异常",
15720
15759
  message: `${i} 类型需要传入订单号 当前未传入!`
15721
15760
  });
15722
15761
  return;
15723
15762
  }
15724
- const o = P.extend(tg), l = new o({
15763
+ const c = P.extend(ng), u = new c({
15725
15764
  // 注入配置
15726
15765
  propsData: {
15727
- config: r,
15728
- id: s
15766
+ config: s,
15767
+ id: l
15729
15768
  }
15730
15769
  });
15731
- l.$on("cancel", () => {
15732
- setTimeout(() => {
15733
- var c;
15734
- l.$destroy(), (c = l.$el.parentNode) == null || c.removeChild(l.$el);
15770
+ u.$on("onClosed", () => {
15771
+ console.log("接收onClosed事件 调用 promise rej"), r(), setTimeout(() => {
15772
+ var h;
15773
+ u.$destroy(), (h = u.$el.parentNode) == null || h.removeChild(u.$el);
15735
15774
  }, 300);
15736
- }), l.$mount(), document.body.appendChild(l.$el);
15737
- };
15775
+ }), u.$mount(), document.body.appendChild(u.$el);
15776
+ });
15738
15777
  e.prototype.$pay = { create: t };
15739
15778
  }
15740
15779
  };
15741
15780
  export {
15742
- ug as PayPlugin
15781
+ fg as PayPlugin
15743
15782
  };