@heycar/heycars-map 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,100 +1,100 @@
1
- import Pn, { defineComponent as Mt, h as g, inject as Oe, provide as Ge, watch as T, watchPostEffect as V, shallowRef as z, onMounted as Ae, onUnmounted as Le, watchEffect as ae, computed as D, reactive as P, toRefs as mt, ref as x } from "vue";
2
- const ke = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", We = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
3
- var bn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Tn = typeof global == "object" && global && global.Object === Object && global;
4
- const zn = Tn;
5
- var Rn = typeof self == "object" && self && self.Object === Object && self, En = zn || Rn || Function("return this")();
6
- const ft = En;
7
- var Zn = ft.Symbol;
8
- const $ = Zn;
9
- var vt = Object.prototype, On = vt.hasOwnProperty, Gn = vt.toString, ne = $ ? $.toStringTag : void 0;
10
- function kn(t) {
11
- var e = On.call(t, ne), n = t[ne];
1
+ import bn, { defineComponent as ft, h as I, inject as Ge, provide as ke, watch as z, watchPostEffect as H, shallowRef as E, onMounted as Ae, onUnmounted as Le, watchEffect as ae, computed as D, reactive as P, toRefs as vt, ref as x } from "vue";
2
+ const We = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", Ue = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
3
+ var Tn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, zn = typeof global == "object" && global && global.Object === Object && global;
4
+ const Rn = zn;
5
+ var En = typeof self == "object" && self && self.Object === Object && self, Zn = Rn || En || Function("return this")();
6
+ const pt = Zn;
7
+ var On = pt.Symbol;
8
+ const _ = On;
9
+ var yt = Object.prototype, Gn = yt.hasOwnProperty, kn = yt.toString, ne = _ ? _.toStringTag : void 0;
10
+ function Wn(t) {
11
+ var e = Gn.call(t, ne), n = t[ne];
12
12
  try {
13
13
  t[ne] = void 0;
14
14
  var i = !0;
15
15
  } catch {
16
16
  }
17
- var a = Gn.call(t);
17
+ var a = kn.call(t);
18
18
  return i && (e ? t[ne] = n : delete t[ne]), a;
19
19
  }
20
- var Wn = Object.prototype, Un = Wn.toString;
21
- function Bn(t) {
22
- return Un.call(t);
23
- }
24
- var Yn = "[object Null]", Vn = "[object Undefined]", Ye = $ ? $.toStringTag : void 0;
25
- function Hn(t) {
26
- return t == null ? t === void 0 ? Vn : Yn : Ye && Ye in Object(t) ? kn(t) : Bn(t);
20
+ var Un = Object.prototype, Bn = Un.toString;
21
+ function Yn(t) {
22
+ return Bn.call(t);
27
23
  }
24
+ var Vn = "[object Null]", Hn = "[object Undefined]", He = _ ? _.toStringTag : void 0;
28
25
  function Qn(t) {
26
+ return t == null ? t === void 0 ? Hn : Vn : He && He in Object(t) ? Wn(t) : Yn(t);
27
+ }
28
+ function Jn(t) {
29
29
  return t != null && typeof t == "object";
30
30
  }
31
- var Jn = "[object Symbol]";
32
- function pt(t) {
33
- return typeof t == "symbol" || Qn(t) && Hn(t) == Jn;
31
+ var Fn = "[object Symbol]";
32
+ function jt(t) {
33
+ return typeof t == "symbol" || Jn(t) && Qn(t) == Fn;
34
34
  }
35
- function Fn(t, e) {
35
+ function Xn(t, e) {
36
36
  for (var n = -1, i = t == null ? 0 : t.length, a = Array(i); ++n < i; )
37
37
  a[n] = e(t[n], n, t);
38
38
  return a;
39
39
  }
40
- var Xn = Array.isArray;
41
- const $n = Xn;
42
- var _n = 1 / 0, Ve = $ ? $.prototype : void 0, He = Ve ? Ve.toString : void 0;
43
- function yt(t) {
40
+ var $n = Array.isArray;
41
+ const _n = $n;
42
+ var Kn = 1 / 0, Qe = _ ? _.prototype : void 0, Je = Qe ? Qe.toString : void 0;
43
+ function At(t) {
44
44
  if (typeof t == "string")
45
45
  return t;
46
- if ($n(t))
47
- return Fn(t, yt) + "";
48
- if (pt(t))
49
- return He ? He.call(t) : "";
46
+ if (_n(t))
47
+ return Xn(t, At) + "";
48
+ if (jt(t))
49
+ return Je ? Je.call(t) : "";
50
50
  var e = t + "";
51
- return e == "0" && 1 / t == -_n ? "-0" : e;
51
+ return e == "0" && 1 / t == -Kn ? "-0" : e;
52
52
  }
53
- var Kn = /\s/;
54
- function qn(t) {
55
- for (var e = t.length; e-- && Kn.test(t.charAt(e)); )
53
+ var qn = /\s/;
54
+ function ei(t) {
55
+ for (var e = t.length; e-- && qn.test(t.charAt(e)); )
56
56
  ;
57
57
  return e;
58
58
  }
59
- var ei = /^\s+/;
60
- function ti(t) {
61
- return t && t.slice(0, qn(t) + 1).replace(ei, "");
59
+ var ti = /^\s+/;
60
+ function ni(t) {
61
+ return t && t.slice(0, ei(t) + 1).replace(ti, "");
62
62
  }
63
- function ze(t) {
63
+ function Re(t) {
64
64
  var e = typeof t;
65
65
  return t != null && (e == "object" || e == "function");
66
66
  }
67
- var Qe = 0 / 0, ni = /^[-+]0x[0-9a-f]+$/i, ii = /^0b[01]+$/i, ai = /^0o[0-7]+$/i, oi = parseInt;
68
- function Je(t) {
67
+ var Fe = 0 / 0, ii = /^[-+]0x[0-9a-f]+$/i, ai = /^0b[01]+$/i, oi = /^0o[0-7]+$/i, ri = parseInt;
68
+ function Xe(t) {
69
69
  if (typeof t == "number")
70
70
  return t;
71
- if (pt(t))
72
- return Qe;
73
- if (ze(t)) {
71
+ if (jt(t))
72
+ return Fe;
73
+ if (Re(t)) {
74
74
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
75
- t = ze(e) ? e + "" : e;
75
+ t = Re(e) ? e + "" : e;
76
76
  }
77
77
  if (typeof t != "string")
78
78
  return t === 0 ? t : +t;
79
- t = ti(t);
80
- var n = ii.test(t);
81
- return n || ai.test(t) ? oi(t.slice(2), n ? 2 : 8) : ni.test(t) ? Qe : +t;
79
+ t = ni(t);
80
+ var n = ai.test(t);
81
+ return n || oi.test(t) ? ri(t.slice(2), n ? 2 : 8) : ii.test(t) ? Fe : +t;
82
82
  }
83
- function jt(t) {
84
- return t == null ? "" : yt(t);
83
+ function Lt(t) {
84
+ return t == null ? "" : At(t);
85
85
  }
86
- function ri(t, e, n, i) {
86
+ function si(t, e, n, i) {
87
87
  var a = -1, o = t == null ? 0 : t.length;
88
88
  for (i && o && (n = t[++a]); ++a < o; )
89
89
  n = e(n, t[a], a, t);
90
90
  return n;
91
91
  }
92
- function si(t) {
92
+ function ci(t) {
93
93
  return function(e) {
94
94
  return t == null ? void 0 : t[e];
95
95
  };
96
96
  }
97
- var ci = {
97
+ var li = {
98
98
  // Latin-1 Supplement block.
99
99
  À: "A",
100
100
  Á: "A",
@@ -287,141 +287,141 @@ var ci = {
287
287
  œ: "oe",
288
288
  ʼn: "'n",
289
289
  ſ: "s"
290
- }, li = si(ci);
291
- const ui = li;
292
- var di = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, gi = "\\u0300-\\u036f", Ii = "\\ufe20-\\ufe2f", Mi = "\\u20d0-\\u20ff", mi = gi + Ii + Mi, fi = "[" + mi + "]", vi = RegExp(fi, "g");
293
- function pi(t) {
294
- return t = jt(t), t && t.replace(di, ui).replace(vi, "");
290
+ }, ui = ci(li);
291
+ const di = ui;
292
+ var gi = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ii = "\\u0300-\\u036f", Mi = "\\ufe20-\\ufe2f", mi = "\\u20d0-\\u20ff", fi = Ii + Mi + mi, vi = "[" + fi + "]", pi = RegExp(vi, "g");
293
+ function yi(t) {
294
+ return t = Lt(t), t && t.replace(gi, di).replace(pi, "");
295
295
  }
296
- var yi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
297
- function ji(t) {
298
- return t.match(yi) || [];
296
+ var ji = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
297
+ function Ai(t) {
298
+ return t.match(ji) || [];
299
299
  }
300
- var Ai = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
301
- function Li(t) {
302
- return Ai.test(t);
300
+ var Li = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
301
+ function Si(t) {
302
+ return Li.test(t);
303
303
  }
304
- var At = "\\ud800-\\udfff", Si = "\\u0300-\\u036f", Ni = "\\ufe20-\\ufe2f", hi = "\\u20d0-\\u20ff", Di = Si + Ni + hi, Lt = "\\u2700-\\u27bf", St = "a-z\\xdf-\\xf6\\xf8-\\xff", Ci = "\\xac\\xb1\\xd7\\xf7", xi = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wi = "\\u2000-\\u206f", Pi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Nt = "A-Z\\xc0-\\xd6\\xd8-\\xde", bi = "\\ufe0e\\ufe0f", ht = Ci + xi + wi + Pi, Dt = "['’]", Fe = "[" + ht + "]", Ti = "[" + Di + "]", Ct = "\\d+", zi = "[" + Lt + "]", xt = "[" + St + "]", wt = "[^" + At + ht + Ct + Lt + St + Nt + "]", Ri = "\\ud83c[\\udffb-\\udfff]", Ei = "(?:" + Ti + "|" + Ri + ")", Zi = "[^" + At + "]", Pt = "(?:\\ud83c[\\udde6-\\uddff]){2}", bt = "[\\ud800-\\udbff][\\udc00-\\udfff]", J = "[" + Nt + "]", Oi = "\\u200d", Xe = "(?:" + xt + "|" + wt + ")", Gi = "(?:" + J + "|" + wt + ")", $e = "(?:" + Dt + "(?:d|ll|m|re|s|t|ve))?", _e = "(?:" + Dt + "(?:D|LL|M|RE|S|T|VE))?", Tt = Ei + "?", zt = "[" + bi + "]?", ki = "(?:" + Oi + "(?:" + [Zi, Pt, bt].join("|") + ")" + zt + Tt + ")*", Wi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ui = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Bi = zt + Tt + ki, Yi = "(?:" + [zi, Pt, bt].join("|") + ")" + Bi, Vi = RegExp([
305
- J + "?" + xt + "+" + $e + "(?=" + [Fe, J, "$"].join("|") + ")",
306
- Gi + "+" + _e + "(?=" + [Fe, J + Xe, "$"].join("|") + ")",
307
- J + "?" + Xe + "+" + $e,
308
- J + "+" + _e,
304
+ var St = "\\ud800-\\udfff", Ni = "\\u0300-\\u036f", hi = "\\ufe20-\\ufe2f", Di = "\\u20d0-\\u20ff", Ci = Ni + hi + Di, Nt = "\\u2700-\\u27bf", ht = "a-z\\xdf-\\xf6\\xf8-\\xff", xi = "\\xac\\xb1\\xd7\\xf7", wi = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Pi = "\\u2000-\\u206f", bi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Dt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ti = "\\ufe0e\\ufe0f", Ct = xi + wi + Pi + bi, xt = "['’]", $e = "[" + Ct + "]", zi = "[" + Ci + "]", wt = "\\d+", Ri = "[" + Nt + "]", Pt = "[" + ht + "]", bt = "[^" + St + Ct + wt + Nt + ht + Dt + "]", Ei = "\\ud83c[\\udffb-\\udfff]", Zi = "(?:" + zi + "|" + Ei + ")", Oi = "[^" + St + "]", Tt = "(?:\\ud83c[\\udde6-\\uddff]){2}", zt = "[\\ud800-\\udbff][\\udc00-\\udfff]", F = "[" + Dt + "]", Gi = "\\u200d", _e = "(?:" + Pt + "|" + bt + ")", ki = "(?:" + F + "|" + bt + ")", Ke = "(?:" + xt + "(?:d|ll|m|re|s|t|ve))?", qe = "(?:" + xt + "(?:D|LL|M|RE|S|T|VE))?", Rt = Zi + "?", Et = "[" + Ti + "]?", Wi = "(?:" + Gi + "(?:" + [Oi, Tt, zt].join("|") + ")" + Et + Rt + ")*", Ui = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Bi = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Yi = Et + Rt + Wi, Vi = "(?:" + [Ri, Tt, zt].join("|") + ")" + Yi, Hi = RegExp([
305
+ F + "?" + Pt + "+" + Ke + "(?=" + [$e, F, "$"].join("|") + ")",
306
+ ki + "+" + qe + "(?=" + [$e, F + _e, "$"].join("|") + ")",
307
+ F + "?" + _e + "+" + Ke,
308
+ F + "+" + qe,
309
+ Bi,
309
310
  Ui,
310
- Wi,
311
- Ct,
312
- Yi
311
+ wt,
312
+ Vi
313
313
  ].join("|"), "g");
314
- function Hi(t) {
315
- return t.match(Vi) || [];
314
+ function Qi(t) {
315
+ return t.match(Hi) || [];
316
316
  }
317
- function Qi(t, e, n) {
318
- return t = jt(t), e = n ? void 0 : e, e === void 0 ? Li(t) ? Hi(t) : ji(t) : t.match(e) || [];
317
+ function Ji(t, e, n) {
318
+ return t = Lt(t), e = n ? void 0 : e, e === void 0 ? Si(t) ? Qi(t) : Ai(t) : t.match(e) || [];
319
319
  }
320
- var Ji = "['’]", Fi = RegExp(Ji, "g");
321
- function Xi(t) {
320
+ var Fi = "['’]", Xi = RegExp(Fi, "g");
321
+ function $i(t) {
322
322
  return function(e) {
323
- return ri(Qi(pi(e).replace(Fi, "")), t, "");
323
+ return si(Ji(yi(e).replace(Xi, "")), t, "");
324
324
  };
325
325
  }
326
- var $i = function() {
327
- return ft.Date.now();
326
+ var _i = function() {
327
+ return pt.Date.now();
328
328
  };
329
- const Te = $i;
330
- var _i = "Expected a function", Ki = Math.max, qi = Math.min;
331
- function ea(t, e, n) {
332
- var i, a, o, r, s, l, d = 0, u = !1, c = !1, I = !0;
329
+ const ze = _i;
330
+ var Ki = "Expected a function", qi = Math.max, ea = Math.min;
331
+ function ta(t, e, n) {
332
+ var i, a, o, r, s, l, u = 0, d = !1, c = !1, g = !0;
333
333
  if (typeof t != "function")
334
- throw new TypeError(_i);
335
- e = Je(e) || 0, ze(n) && (u = !!n.leading, c = "maxWait" in n, o = c ? Ki(Je(n.maxWait) || 0, e) : o, I = "trailing" in n ? !!n.trailing : I);
336
- function M(h) {
337
- var Z = i, W = a;
338
- return i = a = void 0, d = h, r = t.apply(W, Z), r;
334
+ throw new TypeError(Ki);
335
+ e = Xe(e) || 0, Re(n) && (d = !!n.leading, c = "maxWait" in n, o = c ? qi(Xe(n.maxWait) || 0, e) : o, g = "trailing" in n ? !!n.trailing : g);
336
+ function M(S) {
337
+ var R = i, O = a;
338
+ return i = a = void 0, u = S, r = t.apply(O, R), r;
339
339
  }
340
- function m(h) {
341
- return d = h, s = setTimeout(j, e), u ? M(h) : r;
340
+ function m(S) {
341
+ return u = S, s = setTimeout(y, e), d ? M(S) : r;
342
342
  }
343
- function v(h) {
344
- var Z = h - l, W = h - d, te = e - Z;
345
- return c ? qi(te, o - W) : te;
343
+ function v(S) {
344
+ var R = S - l, O = S - u, U = e - R;
345
+ return c ? ea(U, o - O) : U;
346
346
  }
347
- function p(h) {
348
- var Z = h - l, W = h - d;
349
- return l === void 0 || Z >= e || Z < 0 || c && W >= o;
347
+ function p(S) {
348
+ var R = S - l, O = S - u;
349
+ return l === void 0 || R >= e || R < 0 || c && O >= o;
350
350
  }
351
- function j() {
352
- var h = Te();
353
- if (p(h))
354
- return f(h);
355
- s = setTimeout(j, v(h));
351
+ function y() {
352
+ var S = ze();
353
+ if (p(S))
354
+ return f(S);
355
+ s = setTimeout(y, v(S));
356
356
  }
357
- function f(h) {
358
- return s = void 0, I && i ? M(h) : (i = a = void 0, r);
357
+ function f(S) {
358
+ return s = void 0, g && i ? M(S) : (i = a = void 0, r);
359
359
  }
360
- function N() {
361
- s !== void 0 && clearTimeout(s), d = 0, i = l = a = s = void 0;
360
+ function h() {
361
+ s !== void 0 && clearTimeout(s), u = 0, i = l = a = s = void 0;
362
362
  }
363
363
  function C() {
364
- return s === void 0 ? r : f(Te());
364
+ return s === void 0 ? r : f(ze());
365
365
  }
366
- function R() {
367
- var h = Te(), Z = p(h);
368
- if (i = arguments, a = this, l = h, Z) {
366
+ function b() {
367
+ var S = ze(), R = p(S);
368
+ if (i = arguments, a = this, l = S, R) {
369
369
  if (s === void 0)
370
370
  return m(l);
371
371
  if (c)
372
- return clearTimeout(s), s = setTimeout(j, e), M(l);
372
+ return clearTimeout(s), s = setTimeout(y, e), M(l);
373
373
  }
374
- return s === void 0 && (s = setTimeout(j, e)), r;
374
+ return s === void 0 && (s = setTimeout(y, e)), r;
375
375
  }
376
- return R.cancel = N, R.flush = C, R;
376
+ return b.cancel = h, b.flush = C, b;
377
377
  }
378
- var ta = Xi(function(t, e, n) {
378
+ var na = $i(function(t, e, n) {
379
379
  return t + (n ? "-" : "") + e.toLowerCase();
380
380
  });
381
- const Rt = ta;
382
- Pn.util.warn;
383
- function y(t) {
384
- return Mt({
381
+ const Zt = na;
382
+ bn.util.warn;
383
+ function j(t) {
384
+ return ft({
385
385
  name: t.name,
386
386
  inheritAttrs: !1,
387
387
  setup(e, n) {
388
- const { attrs: i, slots: a, emit: o } = n, r = i, s = o, l = (u, c) => {
389
- const I = Rt(u);
390
- s(u, c), u !== I && s(I, c);
391
- }, d = new Proxy(a, {
392
- get(u, c, I) {
388
+ const { attrs: i, slots: a, emit: o } = n, r = i, s = o, l = (d, c) => {
389
+ const g = Zt(d);
390
+ s(d, c), d !== g && s(g, c);
391
+ }, u = new Proxy(a, {
392
+ get(d, c, g) {
393
393
  var M;
394
- return (M = Reflect.get(u, c, I)) != null ? M : Reflect.get(r, c);
394
+ return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(r, c);
395
395
  }
396
396
  });
397
- return t(r, { ...n, slots: d, emit: l });
397
+ return t(r, { ...n, slots: u, emit: l });
398
398
  }
399
399
  });
400
400
  }
401
401
  function ce(t) {
402
402
  return {
403
- props: (e) => Mt({
403
+ props: (e) => ft({
404
404
  name: t.name,
405
405
  inheritAttrs: !1,
406
406
  props: e,
407
407
  setup(n, i) {
408
- const a = n, { slots: o, emit: r } = i, s = r, l = (u, c) => {
409
- const I = Rt(u);
410
- s(u, c), u !== I && s(I, c);
411
- }, d = new Proxy(o, {
412
- get(u, c, I) {
408
+ const a = n, { slots: o, emit: r } = i, s = r, l = (d, c) => {
409
+ const g = Zt(d);
410
+ s(d, c), d !== g && s(g, c);
411
+ }, u = new Proxy(o, {
412
+ get(d, c, g) {
413
413
  var M;
414
- return (M = Reflect.get(u, c, I)) != null ? M : Reflect.get(a, c);
414
+ return (M = Reflect.get(d, c, g)) != null ? M : Reflect.get(a, c);
415
415
  }
416
416
  });
417
- return t(a, { ...i, slots: d, emit: l });
417
+ return t(a, { ...i, slots: u, emit: l });
418
418
  }
419
419
  })
420
420
  };
421
421
  }
422
- const G = g, oe = "zh-CN";
423
- var na = "n8tgem1", Ke = "n8tgem0", ia = "n8tgem5", aa = "n8tgem4", oa = "n8tgem2", ra = "n8tgem3", sa = "n8tgem7", ca = "n8tgem6";
424
- const la = y(function(e, {
422
+ const k = I, oe = "zh-CN";
423
+ var ia = "n8tgem1", et = "n8tgem0", aa = "n8tgem5", oa = "n8tgem4", ra = "n8tgem2", sa = "n8tgem3", ca = "n8tgem7", la = "n8tgem6";
424
+ const ua = j(function(e, {
425
425
  emit: n
426
426
  }) {
427
427
  const i = () => n("click");
@@ -431,74 +431,74 @@ const la = y(function(e, {
431
431
  title: o,
432
432
  description: r
433
433
  } = e;
434
- return a === "locator" ? g("div", {
435
- class: Ke
436
- }, [g("img", {
437
- class: sa,
434
+ return a === "locator" ? I("div", {
435
+ class: et
436
+ }, [I("img", {
437
+ class: ca,
438
438
  attrs: {
439
- src: ke
439
+ src: We
440
440
  }
441
- })]) : g("div", {
442
- class: Ke
443
- }, [g("div", {
444
- class: na,
441
+ })]) : I("div", {
442
+ class: et
443
+ }, [I("div", {
444
+ class: ia,
445
445
  on: {
446
446
  click: i
447
447
  }
448
- }, [g("div", {
449
- class: oa
450
- }, [g("div", {
448
+ }, [I("div", {
451
449
  class: ra
452
- }, [o]), r && g("div", {
453
- class: aa
454
- }, [r])]), g("img", {
455
- class: ia,
450
+ }, [I("div", {
451
+ class: sa
452
+ }, [o]), r && I("div", {
453
+ class: oa
454
+ }, [r])]), I("img", {
455
+ class: aa,
456
456
  attrs: {
457
- src: We
457
+ src: Ue
458
458
  }
459
- })]), g("i", {
460
- class: ca
459
+ })]), I("i", {
460
+ class: la
461
461
  })]);
462
462
  };
463
- }), U = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxjaXJjbGUgaWQ9InBhdGgtMSIgY3g9IjQuNSIgY3k9IjkuNSIgcj0iNC41Ij48L2NpcmNsZT4KICAgICAgICA8ZmlsdGVyIHg9Ii02MS4xJSIgeT0iLTYxLjElIiB3aWR0aD0iMjIyLjIlIiBoZWlnaHQ9IjIyMi4yJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0iZmlsdGVyLTIiPgogICAgICAgICAgICA8ZmVNb3JwaG9sb2d5IHJhZGl1cz0iMSIgb3BlcmF0b3I9ImRpbGF0ZSIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSI+PC9mZU1vcnBob2xvZ3k+CiAgICAgICAgICAgIDxmZU9mZnNldCBkeD0iMCIgZHk9IjAiIGluPSJzaGFkb3dTcHJlYWRPdXRlcjEiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIj48L2ZlT2Zmc2V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oPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", Ot = Symbol(), L = () => {
464
+ const t = Ge(Ot);
465
465
  if (!t)
466
466
  throw new Error("MyError: useMapSupplier should be under MapProvider");
467
467
  return t;
468
- }, ua = (t) => Ge(Et, t), Zt = Symbol("amap"), Se = () => Oe(Zt), da = (t) => Ge(Zt, t), Ot = Symbol("gmap"), Ne = () => Oe(Ot), ga = (t) => Ge(Ot, t), Gt = () => {
468
+ }, da = (t) => ke(Ot, t), Gt = Symbol("amap"), Se = () => Ge(Gt), ga = (t) => ke(Gt, t), kt = Symbol("gmap"), Ne = () => Ge(kt), Ia = (t) => ke(kt, t), Wt = () => {
469
469
  const { supplier: t } = L();
470
470
  return t === "gmap" ? Ne() : Se();
471
- }, H = (t) => {
472
- const e = Gt();
473
- T(
471
+ }, Q = (t) => {
472
+ const e = Wt();
473
+ z(
474
474
  () => e.value,
475
475
  (n) => {
476
476
  n && Promise.resolve().then(t);
477
477
  }
478
478
  );
479
- }, kt = (t) => {
479
+ }, Ut = (t) => {
480
480
  const { registerOverlay: e, overlayRef: n } = t;
481
- T(
481
+ z(
482
482
  () => n.value,
483
483
  (i, a) => {
484
484
  e && (a && e.remove(a), i && e.add(i));
485
485
  }
486
486
  );
487
- }, qe = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
488
- var Ia = typeof WeakMap == "function", et = Object.keys;
487
+ }, tt = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
488
+ var Ma = typeof WeakMap == "function", nt = Object.keys;
489
489
  function Me(t, e) {
490
490
  return t === e || t !== t && e !== e;
491
491
  }
492
- function tt(t) {
492
+ function it(t) {
493
493
  return t.constructor === Object || t.constructor == null;
494
494
  }
495
- function nt(t) {
495
+ function at(t) {
496
496
  return !!t && typeof t.then == "function";
497
497
  }
498
- function it(t) {
498
+ function ot(t) {
499
499
  return !!(t && t.$$typeof);
500
500
  }
501
- function Ma() {
501
+ function ma() {
502
502
  var t = [];
503
503
  return {
504
504
  delete: function(e) {
@@ -523,20 +523,20 @@ function Ma() {
523
523
  }
524
524
  };
525
525
  }
526
- var ma = function(t) {
526
+ var fa = function(t) {
527
527
  return t ? function() {
528
528
  return /* @__PURE__ */ new WeakMap();
529
- } : Ma;
530
- }(Ia);
531
- function Wt(t) {
529
+ } : ma;
530
+ }(Ma);
531
+ function Bt(t) {
532
532
  return function(n) {
533
533
  var i = t || n;
534
- return function(o, r, s, l, d, u, c) {
535
- c === void 0 && (c = ma());
536
- var I = !!o && typeof o == "object", M = !!r && typeof r == "object";
537
- if (I !== M)
534
+ return function(o, r, s, l, u, d, c) {
535
+ c === void 0 && (c = fa());
536
+ var g = !!o && typeof o == "object", M = !!r && typeof r == "object";
537
+ if (g !== M)
538
538
  return !1;
539
- if (!I && !M)
539
+ if (!g && !M)
540
540
  return i(o, r, c);
541
541
  var m = c.get(o);
542
542
  if (m && c.get(r))
@@ -547,7 +547,7 @@ function Wt(t) {
547
547
  };
548
548
  };
549
549
  }
550
- function fa(t, e, n, i) {
550
+ function va(t, e, n, i) {
551
551
  var a = t.length;
552
552
  if (e.length !== a)
553
553
  return !1;
@@ -556,76 +556,76 @@ function fa(t, e, n, i) {
556
556
  return !1;
557
557
  return !0;
558
558
  }
559
- function va(t, e, n, i) {
559
+ function pa(t, e, n, i) {
560
560
  var a = t.size === e.size;
561
561
  if (a && t.size) {
562
562
  var o = {}, r = 0;
563
563
  t.forEach(function(s, l) {
564
564
  if (a) {
565
- var d = !1, u = 0;
566
- e.forEach(function(c, I) {
567
- !d && !o[u] && (d = n(l, I, r, u, t, e, i) && n(s, c, l, I, t, e, i), d && (o[u] = !0)), u++;
568
- }), r++, a = d;
565
+ var u = !1, d = 0;
566
+ e.forEach(function(c, g) {
567
+ !u && !o[d] && (u = n(l, g, r, d, t, e, i) && n(s, c, l, g, t, e, i), u && (o[d] = !0)), d++;
568
+ }), r++, a = u;
569
569
  }
570
570
  });
571
571
  }
572
572
  return a;
573
573
  }
574
- var pa = "_owner", ya = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
575
- function at(t, e, n, i) {
576
- var a = et(t), o = a.length;
577
- if (et(e).length !== o)
574
+ var ya = "_owner", ja = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
575
+ function rt(t, e, n, i) {
576
+ var a = nt(t), o = a.length;
577
+ if (nt(e).length !== o)
578
578
  return !1;
579
579
  if (o)
580
580
  for (var r = void 0; o-- > 0; ) {
581
- if (r = a[o], r === pa) {
582
- var s = it(t), l = it(e);
581
+ if (r = a[o], r === ya) {
582
+ var s = ot(t), l = ot(e);
583
583
  if ((s || l) && s !== l)
584
584
  return !1;
585
585
  }
586
- if (!ya(e, r) || !n(t[r], e[r], r, r, t, e, i))
586
+ if (!ja(e, r) || !n(t[r], e[r], r, r, t, e, i))
587
587
  return !1;
588
588
  }
589
589
  return !0;
590
590
  }
591
- var ja = function() {
591
+ var Aa = function() {
592
592
  return /foo/g.flags === "g" ? function(e, n) {
593
593
  return e.source === n.source && e.flags === n.flags;
594
594
  } : function(e, n) {
595
595
  return e.source === n.source && e.global === n.global && e.ignoreCase === n.ignoreCase && e.multiline === n.multiline && e.unicode === n.unicode && e.sticky === n.sticky && e.lastIndex === n.lastIndex;
596
596
  };
597
597
  }();
598
- function Aa(t, e, n, i) {
598
+ function La(t, e, n, i) {
599
599
  var a = t.size === e.size;
600
600
  if (a && t.size) {
601
601
  var o = {};
602
602
  t.forEach(function(r, s) {
603
603
  if (a) {
604
- var l = !1, d = 0;
605
- e.forEach(function(u, c) {
606
- !l && !o[d] && (l = n(r, u, s, c, t, e, i), l && (o[d] = !0)), d++;
604
+ var l = !1, u = 0;
605
+ e.forEach(function(d, c) {
606
+ !l && !o[u] && (l = n(r, d, s, c, t, e, i), l && (o[u] = !0)), u++;
607
607
  }), a = l;
608
608
  }
609
609
  });
610
610
  }
611
611
  return a;
612
612
  }
613
- var La = typeof Map == "function", Sa = typeof Set == "function", ot = Object.prototype.valueOf;
613
+ var Sa = typeof Map == "function", Na = typeof Set == "function", st = Object.prototype.valueOf;
614
614
  function le(t) {
615
615
  var e = (
616
616
  /* eslint-disable no-use-before-define */
617
- typeof t == "function" ? t(n) : function(i, a, o, r, s, l, d) {
618
- return n(i, a, d);
617
+ typeof t == "function" ? t(n) : function(i, a, o, r, s, l, u) {
618
+ return n(i, a, u);
619
619
  }
620
620
  );
621
621
  function n(i, a, o) {
622
622
  if (i === a)
623
623
  return !0;
624
624
  if (i && a && typeof i == "object" && typeof a == "object") {
625
- if (tt(i) && tt(a))
626
- return at(i, a, e, o);
625
+ if (it(i) && it(a))
626
+ return rt(i, a, e, o);
627
627
  var r = Array.isArray(i), s = Array.isArray(a);
628
- return r || s ? r === s && fa(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && Me(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && ja(i, a) : nt(i) || nt(a) ? i === a : La && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && va(i, a, e, o) : Sa && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Aa(i, a, e, o) : i.valueOf !== ot || a.valueOf !== ot ? Me(i.valueOf(), a.valueOf()) : at(i, a, e, o)));
628
+ return r || s ? r === s && va(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && Me(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && Aa(i, a) : at(i) || at(a) ? i === a : Sa && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && pa(i, a, e, o) : Na && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && La(i, a, e, o) : i.valueOf !== st || a.valueOf !== st ? Me(i.valueOf(), a.valueOf()) : rt(i, a, e, o)));
629
629
  }
630
630
  return i !== i && a !== a;
631
631
  }
@@ -635,9 +635,9 @@ le();
635
635
  le(function() {
636
636
  return Me;
637
637
  });
638
- le(Wt());
639
- le(Wt(Me));
640
- const b = ([t, e]) => ({
638
+ le(Bt());
639
+ le(Bt(Me));
640
+ const T = ([t, e]) => ({
641
641
  lng: t,
642
642
  lat: e
643
643
  }), he = (t) => {
@@ -645,16 +645,16 @@ const b = ([t, e]) => ({
645
645
  for (const [i, a] of n.entries())
646
646
  a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
647
647
  return e;
648
- }, Ut = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, Bt = (t) => t.slice(2).toLowerCase(), Na = (t) => {
648
+ }, Yt = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, Vt = (t) => t.slice(2).toLowerCase(), ha = (t) => {
649
649
  switch (t) {
650
650
  case "en":
651
651
  return "style_en";
652
652
  case "zh":
653
653
  return "style_zh_cn";
654
654
  }
655
- }, w = (t) => [t.lng, t.lat], Yt = (t) => (...e) => {
655
+ }, w = (t) => [t.lng, t.lat], Ht = (t) => (...e) => {
656
656
  setTimeout(() => t == null ? void 0 : t(...e));
657
- }, rt = (t) => {
657
+ }, ct = (t) => {
658
658
  const { address_components: e } = t, n = e.find(
659
659
  (a) => a.types[0] === "administrative_area_level_1" || a.types[0] === "administrative_area_level_2"
660
660
  );
@@ -663,44 +663,44 @@ const b = ([t, e]) => ({
663
663
  const i = e.findIndex((a) => a.types[0] === "country");
664
664
  if (i > 0)
665
665
  return e[i - 1].long_name;
666
- }, Vt = le((t) => (e, n) => qe(e) || qe(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
667
- function Ht() {
666
+ }, Qt = le((t) => (e, n) => tt(e) || tt(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
667
+ function Jt() {
668
668
  let t;
669
669
  return function(n) {
670
- return Vt(n, t) || (t = n), t;
670
+ return Qt(n, t) || (t = n), t;
671
671
  };
672
672
  }
673
673
  function ue(t, e, n) {
674
- const i = Ht();
675
- return T(() => i(t()), e, {
674
+ const i = Jt();
675
+ return z(() => i(t()), e, {
676
676
  immediate: !1,
677
677
  flush: "post",
678
678
  ...n
679
679
  });
680
680
  }
681
- function K(t, e, n) {
682
- const i = Ht();
683
- return T(() => i(t()), e, {
681
+ function q(t, e, n) {
682
+ const i = Jt();
683
+ return z(() => i(t()), e, {
684
684
  immediate: !0,
685
685
  flush: "post",
686
686
  ...n
687
687
  });
688
688
  }
689
- function ha(t) {
689
+ function Da(t) {
690
690
  return `set${t.charAt(0).toUpperCase()}${t.slice(1)}`;
691
691
  }
692
- function Da(t, e, n, i) {
692
+ function Ca(t, e, n, i) {
693
693
  const a = n.map(
694
694
  ({ name: o }) => () => e[o]
695
695
  );
696
- T(
696
+ z(
697
697
  a,
698
698
  (o, r) => {
699
699
  const s = t.value;
700
700
  if (s)
701
- for (const [l, d] of o.entries()) {
702
- const { name: u, defaultValue: c } = n[l], I = r[l];
703
- Vt(d, I) || s[ha(u)](d != null ? d : c);
701
+ for (const [l, u] of o.entries()) {
702
+ const { name: d, defaultValue: c } = n[l], g = r[l];
703
+ Qt(u, g) || s[Da(d)](u != null ? u : c);
704
704
  }
705
705
  },
706
706
  {
@@ -710,21 +710,21 @@ function Da(t, e, n, i) {
710
710
  }
711
711
  );
712
712
  }
713
- function Ue(t, e, n, i) {
714
- return Da(t, e, n, {
713
+ function Be(t, e, n, i) {
714
+ return Ca(t, e, n, {
715
715
  immediate: !1,
716
716
  ...i
717
717
  });
718
718
  }
719
719
  function re(t, e, n, i) {
720
- V((a) => {
720
+ H((a) => {
721
721
  const o = t == null ? void 0 : t.value;
722
722
  if (!o)
723
723
  return;
724
724
  const r = [];
725
725
  for (const s of i) {
726
- const l = Ut(s), d = Bt(s), u = (c) => n(l, c);
727
- o.on(d, u), r.push(() => o == null ? void 0 : o.off(d, u));
726
+ const l = Yt(s), u = Vt(s), d = (c) => n(l, c);
727
+ o.on(u, d), r.push(() => o == null ? void 0 : o.off(u, d));
728
728
  }
729
729
  a(() => {
730
730
  for (const s of r)
@@ -732,14 +732,14 @@ function re(t, e, n, i) {
732
732
  });
733
733
  });
734
734
  }
735
- function _(t, e, n, i) {
736
- V((a) => {
735
+ function K(t, e, n, i) {
736
+ H((a) => {
737
737
  const o = t == null ? void 0 : t.value;
738
738
  if (!o)
739
739
  return;
740
740
  const r = [];
741
741
  for (const s of i) {
742
- const l = Ut(s), d = Bt(s), u = (I) => n(l, I), c = o.addListener(d, u);
742
+ const l = Yt(s), u = Vt(s), d = (g) => n(l, g), c = o.addListener(u, d);
743
743
  r.push(() => google.maps.event.removeListener(c));
744
744
  }
745
745
  a(() => {
@@ -748,18 +748,18 @@ function _(t, e, n, i) {
748
748
  });
749
749
  });
750
750
  }
751
- const B = y(function(e, { emit: n }) {
752
- const { registerOverlay: i } = e, a = z(), o = Se();
751
+ const Y = j(function(e, { emit: n }) {
752
+ const { registerOverlay: i } = e, a = E(), o = Se();
753
753
  return Ae(() => {
754
754
  a.value = new AMap.Marker({ ...e });
755
755
  }), Le(() => {
756
756
  var r;
757
757
  (r = a.value) == null || r.setMap(null);
758
- }), kt({ registerOverlay: i, overlayRef: a }), V(() => {
758
+ }), Ut({ registerOverlay: i, overlayRef: a }), H(() => {
759
759
  var s;
760
760
  const r = o == null ? void 0 : o.value;
761
761
  r && ((s = a.value) == null || s.setMap(r));
762
- }), Ue(a, e, [
762
+ }), Be(a, e, [
763
763
  { name: "anchor", defaultValue: "" },
764
764
  { name: "offset", defaultValue: [0, 0] },
765
765
  { name: "clickable", defaultValue: !1 },
@@ -774,25 +774,25 @@ const B = y(function(e, { emit: n }) {
774
774
  { name: "title", defaultValue: "" },
775
775
  { name: "extData", defaultValue: "" }
776
776
  ]), re(a, e, n, ["onClick"]), () => null;
777
- }), Y = y(function(e, { emit: n }) {
778
- const { registerOverlay: i } = e, a = z(), o = Ne(), r = (s) => n(s, { target: a.value });
779
- return kt({ registerOverlay: i, overlayRef: a }), Ae(() => {
777
+ }), V = j(function(e, { emit: n }) {
778
+ const { registerOverlay: i } = e, a = E(), o = Ne(), r = (s) => n(s, { target: a.value });
779
+ return Ut({ registerOverlay: i, overlayRef: a }), Ae(() => {
780
780
  const { registerOverlay: s, ...l } = e;
781
781
  a.value = new google.maps.marker.AdvancedMarkerView({ ...l }), a.value.addListener;
782
782
  }), Le(() => {
783
783
  a.value && (a.value.map = null);
784
- }), V(() => {
784
+ }), H(() => {
785
785
  const s = o == null ? void 0 : o.value;
786
786
  !s || !a.value || (a.value.map = s);
787
787
  }), ue(
788
788
  () => {
789
- const { content: s, registerOverlay: l, ...d } = e;
790
- return d;
789
+ const { content: s, registerOverlay: l, ...u } = e;
790
+ return u;
791
791
  },
792
792
  (s) => {
793
793
  a.value && Object.assign(a.value, s);
794
794
  }
795
- ), T(
795
+ ), z(
796
796
  () => e.content,
797
797
  (s) => {
798
798
  a.value && (a.value.content = s);
@@ -800,131 +800,131 @@ const B = y(function(e, { emit: n }) {
800
800
  {
801
801
  flush: "post"
802
802
  }
803
- ), _(a, e, r, ["onClick"]), () => null;
804
- }), S = (t, e) => {
803
+ ), K(a, e, r, ["onClick"]), () => null;
804
+ }), N = (t, e) => {
805
805
  ae(() => {
806
806
  t.log && console.log(`log ${e} props = `, { ...t });
807
807
  });
808
- }, Ca = (t, e, n, i) => {
808
+ }, xa = (t, e, n, i) => {
809
809
  ae(() => {
810
810
  t.log && console.log(`log ${e} ${i} = `, { ...n });
811
811
  });
812
- }, E = (t, e, n) => {
812
+ }, Z = (t, e, n) => {
813
813
  const { class: i, ...a } = e != null ? e : {}, o = document.createElement(t);
814
814
  return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
815
815
  };
816
- var Qt = "rgf09w0";
817
- const Jt = y(function(e) {
816
+ var Ft = "rgf09w0";
817
+ const Xt = j(function(e) {
818
818
  const n = D(() => `
819
- <img src="${ke}" class="${Qt}">
819
+ <img src="${We}" class="${Ft}">
820
820
  `);
821
- return () => g(B, {
821
+ return () => I(Y, {
822
822
  attrs: {
823
823
  position: e.position,
824
824
  content: n.value,
825
825
  anchor: "bottom-center"
826
826
  }
827
827
  });
828
- }), Ft = y(function(e) {
829
- const n = D(() => E("img", {
830
- class: Qt,
831
- src: ke
828
+ }), $t = j(function(e) {
829
+ const n = D(() => Z("img", {
830
+ class: Ft,
831
+ src: We
832
832
  }));
833
- return () => g(Y, {
833
+ return () => I(V, {
834
834
  attrs: {
835
- position: b(e.position),
835
+ position: T(e.position),
836
836
  content: n.value
837
837
  }
838
838
  });
839
839
  });
840
- y(function(e) {
840
+ j(function(e) {
841
841
  const n = L();
842
- return () => G(n.supplier === "gmap" ? Ft : Jt, {
842
+ return () => k(n.supplier === "gmap" ? $t : Xt, {
843
843
  attrs: e
844
844
  });
845
845
  });
846
- var Xt = "_15rq2xn1", $t = "_15rq2xn0", _t = "_15rq2xn3", Kt = "_15rq2xn2", qt = "_15rq2xn4", en = "_15rq2xn6", tn = "_15rq2xn5";
847
- const xa = y(function(e) {
848
- S(e, "AAddressBox");
846
+ var _t = "_15rq2xn1", Kt = "_15rq2xn0", qt = "_15rq2xn3", en = "_15rq2xn2", tn = "_15rq2xn4", nn = "_15rq2xn6", an = "_15rq2xn5";
847
+ const wa = j(function(e) {
848
+ N(e, "AAddressBox");
849
849
  const n = D(() => {
850
850
  var i;
851
851
  return `
852
- <div class="${$t}">
853
- <div class="${Xt}">
852
+ <div class="${Kt}">
853
+ <div class="${_t}">
854
854
  <div>
855
- <div class="${Kt}">${e.title}</div>
856
- <div class="${_t}">${(i = e.description) != null ? i : ""}</div>
855
+ <div class="${en}">${e.title}</div>
856
+ <div class="${qt}">${(i = e.description) != null ? i : ""}</div>
857
857
  </div>
858
- <img class="${qt}" src="${We}" >
858
+ <img class="${tn}" src="${Ue}" >
859
859
  </div>
860
- <div class="${tn}"></div>
861
- <img src="${U}" class="${en}">
860
+ <div class="${an}"></div>
861
+ <img src="${B}" class="${nn}">
862
862
  </div>
863
863
  `;
864
864
  });
865
- return () => e.type === "locator" ? g(Jt, {
865
+ return () => e.type === "locator" ? I(Xt, {
866
866
  attrs: {
867
867
  position: e.position
868
868
  }
869
- }) : g(B, {
869
+ }) : I(Y, {
870
870
  attrs: {
871
871
  position: e.position,
872
872
  content: n.value,
873
873
  anchor: "bottom-center"
874
874
  }
875
875
  });
876
- }), wa = y(function(e) {
877
- S(e, "GAddressBox");
876
+ }), Pa = j(function(e) {
877
+ N(e, "GAddressBox");
878
878
  const n = D(() => {
879
879
  var i;
880
- return E("div", {
881
- class: $t
880
+ return Z("div", {
881
+ class: Kt
882
882
  }, `
883
- <div class="${Xt}">
883
+ <div class="${_t}">
884
884
  <div>
885
- <div class="${Kt}">${e.title}</div>
886
- <div class="${_t}">${(i = e.description) != null ? i : ""}</div>
885
+ <div class="${en}">${e.title}</div>
886
+ <div class="${qt}">${(i = e.description) != null ? i : ""}</div>
887
887
  </div>
888
- <img class="${qt}" src="${We}" >
888
+ <img class="${tn}" src="${Ue}" >
889
889
  </div>
890
- <div class="${tn}"></div>
891
- <img src="${U}" class="${en}">
890
+ <div class="${an}"></div>
891
+ <img src="${B}" class="${nn}">
892
892
  `);
893
893
  });
894
- return () => e.type === "locator" ? g(Ft, {
894
+ return () => e.type === "locator" ? I($t, {
895
895
  attrs: {
896
896
  position: e.position
897
897
  }
898
- }) : g(Y, {
898
+ }) : I(V, {
899
899
  attrs: {
900
- position: b(e.position),
900
+ position: T(e.position),
901
901
  content: n.value
902
902
  }
903
903
  });
904
- }), Ho = y(function(e) {
904
+ }), Ho = j(function(e) {
905
905
  const n = L();
906
- return () => G(n.supplier === "gmap" ? wa : xa, {
906
+ return () => k(n.supplier === "gmap" ? Pa : wa, {
907
907
  attrs: e
908
908
  });
909
909
  });
910
- var Re = {}, Pa = {
910
+ var Ee = {}, ba = {
911
911
  get exports() {
912
- return Re;
912
+ return Ee;
913
913
  },
914
914
  set exports(t) {
915
- Re = t;
915
+ Ee = t;
916
916
  }
917
917
  };
918
918
  (function(t, e) {
919
919
  (function(n, i) {
920
920
  t.exports = i();
921
- })(bn, function() {
921
+ })(Tn, function() {
922
922
  function n(c) {
923
- var I = [];
924
- return c.AMapUI && I.push(i(c.AMapUI)), c.Loca && I.push(a(c.Loca)), Promise.all(I);
923
+ var g = [];
924
+ return c.AMapUI && g.push(i(c.AMapUI)), c.Loca && g.push(a(c.Loca)), Promise.all(g);
925
925
  }
926
926
  function i(c) {
927
- return new Promise(function(I, M) {
927
+ return new Promise(function(g, M) {
928
928
  var m = [];
929
929
  if (c.plugins)
930
930
  for (var v = 0; v < c.plugins.length; v += 1)
@@ -933,43 +933,43 @@ var Re = {}, Pa = {
933
933
  M("前次请求 AMapUI 失败");
934
934
  else if (s.AMapUI === o.notload) {
935
935
  s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version, v = r.AMapUI.version;
936
- var p = document.body || document.head, j = document.createElement("script");
937
- j.type = "text/javascript", j.src = "https://webapi.amap.com/ui/" + v + "/main.js", j.onerror = function(f) {
936
+ var p = document.body || document.head, y = document.createElement("script");
937
+ y.type = "text/javascript", y.src = "https://webapi.amap.com/ui/" + v + "/main.js", y.onerror = function(f) {
938
938
  s.AMapUI = o.failed, M("请求 AMapUI 失败");
939
- }, j.onload = function() {
939
+ }, y.onload = function() {
940
940
  if (s.AMapUI = o.loaded, m.length)
941
941
  window.AMapUI.loadUI(m, function() {
942
- for (var f = 0, N = m.length; f < N; f++) {
942
+ for (var f = 0, h = m.length; f < h; f++) {
943
943
  var C = m[f].split("/").slice(-1)[0];
944
944
  window.AMapUI[C] = arguments[f];
945
945
  }
946
- for (I(); l.AMapUI.length; )
946
+ for (g(); l.AMapUI.length; )
947
947
  l.AMapUI.splice(0, 1)[0]();
948
948
  });
949
949
  else
950
- for (I(); l.AMapUI.length; )
950
+ for (g(); l.AMapUI.length; )
951
951
  l.AMapUI.splice(0, 1)[0]();
952
- }, p.appendChild(j);
952
+ }, p.appendChild(y);
953
953
  } else
954
954
  s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
955
- for (var f = 0, N = m.length; f < N; f++) {
955
+ for (var f = 0, h = m.length; f < h; f++) {
956
956
  var C = m[f].split("/").slice(-1)[0];
957
957
  window.AMapUI[C] = arguments[f];
958
958
  }
959
- I();
960
- }) : I() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : l.AMapUI.push(function(f) {
959
+ g();
960
+ }) : g() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : l.AMapUI.push(function(f) {
961
961
  f ? M(f) : m.length ? window.AMapUI.loadUI(m, function() {
962
- for (var N = 0, C = m.length; N < C; N++) {
963
- var R = m[N].split("/").slice(-1)[0];
964
- window.AMapUI[R] = arguments[N];
962
+ for (var h = 0, C = m.length; h < C; h++) {
963
+ var b = m[h].split("/").slice(-1)[0];
964
+ window.AMapUI[b] = arguments[h];
965
965
  }
966
- I();
967
- }) : I();
966
+ g();
967
+ }) : g();
968
968
  });
969
969
  });
970
970
  }
971
971
  function a(c) {
972
- return new Promise(function(I, M) {
972
+ return new Promise(function(g, M) {
973
973
  if (s.Loca === o.failed)
974
974
  M("前次请求 Loca 失败");
975
975
  else if (s.Loca === o.notload) {
@@ -979,16 +979,16 @@ var Re = {}, Pa = {
979
979
  M("JSAPI 与 Loca 版本不对应!!");
980
980
  else {
981
981
  v = r.key, p = document.body || document.head;
982
- var j = document.createElement("script");
983
- j.type = "text/javascript", j.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + v, j.onerror = function(f) {
982
+ var y = document.createElement("script");
983
+ y.type = "text/javascript", y.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + v, y.onerror = function(f) {
984
984
  s.Loca = o.failed, M("请求 AMapUI 失败");
985
- }, j.onload = function() {
986
- for (s.Loca = o.loaded, I(); l.Loca.length; )
985
+ }, y.onload = function() {
986
+ for (s.Loca = o.loaded, g(); l.Loca.length; )
987
987
  l.Loca.splice(0, 1)[0]();
988
- }, p.appendChild(j);
988
+ }, p.appendChild(y);
989
989
  }
990
990
  } else
991
- s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : I() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : l.Loca.push(function(f) {
991
+ s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : g() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : l.Loca.push(function(f) {
992
992
  f ? M(f) : M();
993
993
  });
994
994
  });
@@ -999,11 +999,11 @@ var Re = {}, Pa = {
999
999
  (function(c) {
1000
1000
  c.notload = "notload", c.loading = "loading", c.loaded = "loaded", c.failed = "failed";
1001
1001
  })(o || (o = {}));
1002
- var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, l = { AMap: [], AMapUI: [], Loca: [] }, d = [], u = function(c) {
1003
- typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) : d.push(c));
1002
+ var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, l = { AMap: [], AMapUI: [], Loca: [] }, u = [], d = function(c) {
1003
+ typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) : u.push(c));
1004
1004
  };
1005
1005
  return { load: function(c) {
1006
- return new Promise(function(I, M) {
1006
+ return new Promise(function(g, M) {
1007
1007
  if (s.AMap == o.failed)
1008
1008
  M("");
1009
1009
  else if (s.AMap == o.notload) {
@@ -1013,9 +1013,9 @@ var Re = {}, Pa = {
1013
1013
  s.AMap = o.failed, M(f);
1014
1014
  else
1015
1015
  for (s.AMap = o.loaded, n(c).then(function() {
1016
- I(window.AMap);
1017
- }).catch(M); d.length; )
1018
- d.splice(0, 1)[0]();
1016
+ g(window.AMap);
1017
+ }).catch(M); u.length; )
1018
+ u.splice(0, 1)[0]();
1019
1019
  }, p = document.createElement("script"), p.type = "text/javascript", p.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), p.onerror = function(f) {
1020
1020
  s.AMap = o.failed, M(f);
1021
1021
  }, v.appendChild(p)) : M("请填写key");
@@ -1030,10 +1030,10 @@ var Re = {}, Pa = {
1030
1030
  r.AMap.plugins.indexOf(c.plugins[v]) == -1 && m.push(c.plugins[v]);
1031
1031
  m.length ? window.AMap.plugin(m, function() {
1032
1032
  n(c).then(function() {
1033
- I(window.AMap);
1033
+ g(window.AMap);
1034
1034
  }).catch(M);
1035
1035
  }) : n(c).then(function() {
1036
- I(window.AMap);
1036
+ g(window.AMap);
1037
1037
  }).catch(M);
1038
1038
  }
1039
1039
  else if (c.key && c.key !== r.key)
@@ -1041,17 +1041,17 @@ var Re = {}, Pa = {
1041
1041
  else if (c.version && c.version !== r.AMap.version)
1042
1042
  M("不允许多个版本 JSAPI 混用");
1043
1043
  else {
1044
- var j = [];
1044
+ var y = [];
1045
1045
  if (c.plugins)
1046
1046
  for (v = 0; v < c.plugins.length; v += 1)
1047
- r.AMap.plugins.indexOf(c.plugins[v]) == -1 && j.push(c.plugins[v]);
1048
- u(function() {
1049
- j.length ? window.AMap.plugin(j, function() {
1047
+ r.AMap.plugins.indexOf(c.plugins[v]) == -1 && y.push(c.plugins[v]);
1048
+ d(function() {
1049
+ y.length ? window.AMap.plugin(y, function() {
1050
1050
  n(c).then(function() {
1051
- I(window.AMap);
1051
+ g(window.AMap);
1052
1052
  }).catch(M);
1053
1053
  }) : n(c).then(function() {
1054
- I(window.AMap);
1054
+ g(window.AMap);
1055
1055
  }).catch(M);
1056
1056
  });
1057
1057
  }
@@ -1064,8 +1064,8 @@ var Re = {}, Pa = {
1064
1064
  }, l = { AMap: [], AMapUI: [], Loca: [] };
1065
1065
  } };
1066
1066
  });
1067
- })(Pa);
1068
- var ba = function t(e, n) {
1067
+ })(ba);
1068
+ var Ta = function t(e, n) {
1069
1069
  if (e === n)
1070
1070
  return !0;
1071
1071
  if (e && n && typeof e == "object" && typeof n == "object") {
@@ -1100,12 +1100,12 @@ var ba = function t(e, n) {
1100
1100
  }
1101
1101
  return e !== e && n !== n;
1102
1102
  };
1103
- const st = "__googleMapsScriptId";
1104
- var F;
1103
+ const lt = "__googleMapsScriptId";
1104
+ var X;
1105
1105
  (function(t) {
1106
1106
  t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
1107
- })(F || (F = {}));
1108
- class Q {
1107
+ })(X || (X = {}));
1108
+ class J {
1109
1109
  /**
1110
1110
  * Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
1111
1111
  * using this library, instead the defaults are set by the Google Maps
@@ -1115,13 +1115,13 @@ class Q {
1115
1115
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1116
1116
  * ```
1117
1117
  */
1118
- constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = st, language: r, libraries: s = [], mapIds: l, nonce: d, region: u, retries: c = 3, url: I = "https://maps.googleapis.com/maps/api/js", version: M }) {
1119
- if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || st, this.language = r, this.libraries = s, this.mapIds = l, this.nonce = d, this.region = u, this.retries = c, this.url = I, this.version = M, Q.instance) {
1120
- if (!ba(this.options, Q.instance.options))
1121
- throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Q.instance.options)}`);
1122
- return Q.instance;
1118
+ constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = lt, language: r, libraries: s = [], mapIds: l, nonce: u, region: d, retries: c = 3, url: g = "https://maps.googleapis.com/maps/api/js", version: M }) {
1119
+ if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || lt, this.language = r, this.libraries = s, this.mapIds = l, this.nonce = u, this.region = d, this.retries = c, this.url = g, this.version = M, J.instance) {
1120
+ if (!Ta(this.options, J.instance.options))
1121
+ throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(J.instance.options)}`);
1122
+ return J.instance;
1123
1123
  }
1124
- Q.instance = this;
1124
+ J.instance = this;
1125
1125
  }
1126
1126
  get options() {
1127
1127
  return {
@@ -1140,7 +1140,7 @@ class Q {
1140
1140
  };
1141
1141
  }
1142
1142
  get status() {
1143
- return this.errors.length ? F.FAILURE : this.done ? F.SUCCESS : this.loading ? F.LOADING : F.INITIALIZED;
1143
+ return this.errors.length ? X.FAILURE : this.done ? X.SUCCESS : this.loading ? X.LOADING : X.INITIALIZED;
1144
1144
  }
1145
1145
  get failed() {
1146
1146
  return this.done && !this.loading && this.errors.length >= this.retries + 1;
@@ -1231,38 +1231,38 @@ class Q {
1231
1231
  }
1232
1232
  }
1233
1233
  }
1234
- const Ta = [
1234
+ const za = [
1235
1235
  "AMap.Geolocation",
1236
1236
  "AMap.Geocoder",
1237
1237
  "AMap.PlaceSearch",
1238
1238
  "AMap.Driving",
1239
1239
  "AMap.Walking"
1240
- ], za = ["marker", "places", "geometry"];
1240
+ ], Ra = ["marker", "places", "geometry"];
1241
1241
  var se = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(se || {});
1242
- const Ra = (t) => {
1242
+ const Ea = (t) => {
1243
1243
  const { onChange: e } = t;
1244
1244
  let n, i;
1245
1245
  const a = new Promise((s, l) => {
1246
1246
  n = s, i = l;
1247
- }), o = z(
1247
+ }), o = E(
1248
1248
  "LOADING"
1249
1249
  /* LOADING */
1250
1250
  ), r = D(() => {
1251
- const { onChange: s, loading: l, fallback: d, apiKey: u, apiSecret: c, apiServiceHost: I, version: M, ...m } = t;
1252
- return { ...m, key: u, version: M != null ? M : "2.0.5.16" };
1251
+ const { onChange: s, loading: l, fallback: u, apiKey: d, apiSecret: c, apiServiceHost: g, version: M, ...m } = t;
1252
+ return { ...m, key: d, version: M != null ? M : "2.0.5.16" };
1253
1253
  });
1254
- return K(
1254
+ return q(
1255
1255
  () => r.value,
1256
1256
  (s) => {
1257
- const l = (d) => {
1258
- o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && i(), e == null || e(o.value);
1257
+ const l = (u) => {
1258
+ o.value = u, u === "SUCCESS" && n(), u === "FAILURE" && i(), e == null || e(o.value);
1259
1259
  };
1260
1260
  l(
1261
1261
  "LOADING"
1262
1262
  /* LOADING */
1263
1263
  ), window._AMapSecurityConfig = t.apiServiceHost ? {
1264
1264
  serviceHost: t.apiServiceHost
1265
- } : { securityJsCode: t.apiSecret }, Re.load(s).then(
1265
+ } : { securityJsCode: t.apiSecret }, Ee.load(s).then(
1266
1266
  () => l(
1267
1267
  "SUCCESS"
1268
1268
  /* SUCCESS */
@@ -1274,64 +1274,64 @@ const Ra = (t) => {
1274
1274
  );
1275
1275
  }
1276
1276
  ), { statusRef: o, readyPromise: a };
1277
- }, Ea = (t) => {
1277
+ }, Za = (t) => {
1278
1278
  const { onChange: e } = t;
1279
1279
  let n, i;
1280
1280
  const a = new Promise((s, l) => {
1281
1281
  n = s, i = l;
1282
- }), o = z(
1282
+ }), o = E(
1283
1283
  "LOADING"
1284
1284
  /* LOADING */
1285
1285
  ), r = D(() => {
1286
- const { onChange: s, fallback: l, loading: d, ...u } = t;
1287
- return u;
1286
+ const { onChange: s, fallback: l, loading: u, ...d } = t;
1287
+ return d;
1288
1288
  });
1289
- return K(
1289
+ return q(
1290
1290
  () => r.value,
1291
1291
  (s) => {
1292
- const l = new Q(s), d = (u) => {
1293
- o.value = u, u === "SUCCESS" && n(), u === "FAILURE" && i(), e == null || e(o.value);
1292
+ const l = new J(s), u = (d) => {
1293
+ o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && i(), e == null || e(o.value);
1294
1294
  };
1295
- d(
1295
+ u(
1296
1296
  "LOADING"
1297
1297
  /* LOADING */
1298
1298
  ), l.load().then(
1299
- () => d(
1299
+ () => u(
1300
1300
  "SUCCESS"
1301
1301
  /* SUCCESS */
1302
1302
  ),
1303
- () => d(
1303
+ () => u(
1304
1304
  "FAILURE"
1305
1305
  /* FAILURE */
1306
1306
  )
1307
1307
  );
1308
1308
  }
1309
1309
  ), { statusRef: o, readyPromise: a };
1310
- }, Za = (t) => {
1310
+ }, Oa = (t) => {
1311
1311
  const { gmapKey: e, amapKey: n, amapSecret: i, amapServiceHost: a, supplier: o, language: r, onChange: s } = t;
1312
- return o === "gmap" ? Ea({
1312
+ return o === "gmap" ? Za({
1313
1313
  apiKey: e,
1314
1314
  language: r,
1315
1315
  version: "beta",
1316
- libraries: za,
1316
+ libraries: Ra,
1317
1317
  onChange: s
1318
- }) : Ra({
1318
+ }) : Ea({
1319
1319
  apiKey: n,
1320
1320
  apiSecret: i,
1321
1321
  apiServiceHost: a,
1322
- plugins: Ta,
1322
+ plugins: za,
1323
1323
  onChange: s
1324
1324
  });
1325
1325
  };
1326
- var Oa = "_1d8ur7t0";
1327
- const Ga = y(function(e, { slots: n, emit: i }) {
1326
+ var Ga = "_1d8ur7t0";
1327
+ const ka = j(function(e, { slots: n, emit: i }) {
1328
1328
  const {
1329
1329
  onDragStart: a,
1330
1330
  onDragEnd: o,
1331
1331
  mapRef: r,
1332
1332
  vectorMapForeign: s = "style_zh_cn",
1333
1333
  ...l
1334
- } = e, d = D(() => ({
1334
+ } = e, u = D(() => ({
1335
1335
  dragEnable: !!e.dragEnable,
1336
1336
  zoomEnable: !!e.zoomEnable,
1337
1337
  jogEnable: !!e.jogEnable,
@@ -1339,23 +1339,23 @@ const Ga = y(function(e, { slots: n, emit: i }) {
1339
1339
  rotateEnable: !!e.rotateEnable,
1340
1340
  animateEnable: !!e.animateEnable,
1341
1341
  keyboardEnable: !!e.keyboardEnable
1342
- })), u = z(), c = z();
1343
- return da(c), V(() => {
1344
- if (c.value || !u.value)
1342
+ })), d = E(), c = E();
1343
+ return ga(c), H(() => {
1344
+ if (c.value || !d.value)
1345
1345
  return;
1346
- const I = new AMap.Map(u.value, {
1346
+ const g = new AMap.Map(d.value, {
1347
1347
  ...l,
1348
1348
  vectorMapForeign: s,
1349
1349
  mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
1350
1350
  });
1351
- c.value = I, r == null || r(I);
1351
+ c.value = g, r == null || r(g);
1352
1352
  }), ue(
1353
- () => d.value,
1354
- (I) => {
1353
+ () => u.value,
1354
+ (g) => {
1355
1355
  var M;
1356
- (M = c.value) == null || M.setStatus(I);
1356
+ (M = c.value) == null || M.setStatus(g);
1357
1357
  }
1358
- ), Ue(c, e, [
1358
+ ), Be(c, e, [
1359
1359
  { name: "center", defaultValue: [0, 0] },
1360
1360
  { name: "zooms", defaultValue: [0, 0] },
1361
1361
  { name: "zoom", defaultValue: 0 },
@@ -1369,12 +1369,12 @@ const Ga = y(function(e, { slots: n, emit: i }) {
1369
1369
  { name: "mask", defaultValue: [] },
1370
1370
  { name: "labelRejectMask", defaultValue: !1 }
1371
1371
  ]), re(c, e, i, ["onDragStart", "onDragEnd"]), () => {
1372
- var I;
1373
- return g("div", { ref: u, class: Oa }, (I = n.default) == null ? void 0 : I.call(n));
1372
+ var g;
1373
+ return I("div", { ref: d, class: Ga }, (g = n.default) == null ? void 0 : g.call(n));
1374
1374
  };
1375
1375
  });
1376
1376
  let ge = "user";
1377
- const ka = () => ge, nn = () => ({ executeMapApi: (e) => {
1377
+ const Wa = () => ge, on = () => ({ executeMapApi: (e) => {
1378
1378
  ge = "api";
1379
1379
  try {
1380
1380
  e(), setTimeout(() => {
@@ -1384,30 +1384,30 @@ const ka = () => ge, nn = () => ({ executeMapApi: (e) => {
1384
1384
  throw ge = "user", n;
1385
1385
  }
1386
1386
  } });
1387
- var Wa = "_7anfuo0";
1388
- const Ua = y(function(e, { slots: n, emit: i }) {
1387
+ var Ua = "_7anfuo0";
1388
+ const Ba = j(function(e, { slots: n, emit: i }) {
1389
1389
  const a = e.mapRef, o = D(() => {
1390
- const { mapRef: c, onDragStart: I, onDragEnd: M, ...m } = e;
1390
+ const { mapRef: c, onDragStart: g, onDragEnd: M, ...m } = e;
1391
1391
  return m;
1392
- }), r = o.value, s = z(), l = z(), { executeMapApi: d } = nn(), u = (c) => i(c, { target: l.value });
1393
- return ga(l), V(() => {
1392
+ }), r = o.value, s = E(), l = E(), { executeMapApi: u } = on(), d = (c) => i(c, { target: l.value });
1393
+ return Ia(l), H(() => {
1394
1394
  if (l.value || !s.value)
1395
1395
  return;
1396
1396
  let c;
1397
- d(() => {
1397
+ u(() => {
1398
1398
  c = new google.maps.Map(s.value, { ...r });
1399
1399
  }), l.value = c, a == null || a(c);
1400
1400
  }), ue(
1401
1401
  () => o.value,
1402
1402
  (c) => {
1403
- d(() => {
1404
- var I;
1405
- return (I = l.value) == null ? void 0 : I.setOptions({ ...c });
1403
+ u(() => {
1404
+ var g;
1405
+ return (g = l.value) == null ? void 0 : g.setOptions({ ...c });
1406
1406
  });
1407
1407
  }
1408
- ), _(l, e, u, ["onDragStart", "onDragEnd"]), () => {
1408
+ ), K(l, e, d, ["onDragStart", "onDragEnd"]), () => {
1409
1409
  var c;
1410
- return g("div", { ref: s, class: Wa }, (c = n.default) == null ? void 0 : c.call(n));
1410
+ return I("div", { ref: s, class: Ua }, (c = n.default) == null ? void 0 : c.call(n));
1411
1411
  };
1412
1412
  }), Qo = ce(function(e, {
1413
1413
  slots: n
@@ -1415,61 +1415,61 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1415
1415
  const {
1416
1416
  statusRef: i,
1417
1417
  readyPromise: a
1418
- } = Za(e), o = new Proxy(e, {
1418
+ } = Oa(e), o = new Proxy(e, {
1419
1419
  get(r, s, l) {
1420
1420
  return s === "status" ? i.value : s === "readyPromise" ? a : Reflect.get(r, s, l);
1421
1421
  }
1422
1422
  });
1423
- return ua(o), () => {
1423
+ return da(o), () => {
1424
1424
  var r;
1425
- return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1425
+ return I("div", [(r = n.default) == null ? void 0 : r.call(n)]);
1426
1426
  };
1427
1427
  }).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), De = ce(function(e, {
1428
1428
  slots: n,
1429
1429
  emit: i
1430
1430
  }) {
1431
- S(e, "HeycarMap");
1431
+ N(e, "HeycarMap");
1432
1432
  const a = L(), o = ({
1433
1433
  target: s
1434
1434
  }) => {
1435
1435
  const {
1436
1436
  lng: l,
1437
- lat: d
1437
+ lat: u
1438
1438
  } = s.getCenter();
1439
- i("dragEnd", [l(), d()]);
1439
+ i("dragEnd", [l(), u()]);
1440
1440
  }, r = ({
1441
1441
  target: s
1442
1442
  }) => {
1443
1443
  const {
1444
1444
  lng: l,
1445
- lat: d
1445
+ lat: u
1446
1446
  } = s.getCenter();
1447
- i("dragEnd", [l, d]);
1447
+ i("dragEnd", [l, u]);
1448
1448
  };
1449
1449
  return () => {
1450
- var v, p, j;
1450
+ var v, p, y;
1451
1451
  const {
1452
1452
  supplier: s,
1453
1453
  gmapId: l,
1454
- language: d = "zh",
1455
- status: u
1454
+ language: u = "zh",
1455
+ status: d
1456
1456
  } = a, {
1457
1457
  mapRef: c,
1458
- center: I,
1458
+ center: g,
1459
1459
  zoom: M
1460
1460
  } = e;
1461
- if (u === se.LOADING)
1461
+ if (d === se.LOADING)
1462
1462
  return (v = n.loading) == null ? void 0 : v.call(n);
1463
- if (u === se.FAILURE)
1463
+ if (d === se.FAILURE)
1464
1464
  return (p = n.fallback) == null ? void 0 : p.call(n);
1465
- const m = (j = n.default) == null ? void 0 : j.call(n);
1465
+ const m = (y = n.default) == null ? void 0 : y.call(n);
1466
1466
  switch (s) {
1467
1467
  case "gmap":
1468
- return g(Ua, {
1468
+ return I(Ba, {
1469
1469
  attrs: {
1470
1470
  mapRef: c,
1471
1471
  mapId: l,
1472
- center: I ? b(I) : void 0,
1472
+ center: g ? T(g) : void 0,
1473
1473
  zoom: M
1474
1474
  },
1475
1475
  on: {
@@ -1477,11 +1477,11 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1477
1477
  }
1478
1478
  }, [m]);
1479
1479
  default:
1480
- return g(Ga, {
1480
+ return I(ka, {
1481
1481
  attrs: {
1482
1482
  mapRef: c,
1483
- vectorMapForeign: Na(d),
1484
- center: I,
1483
+ vectorMapForeign: ha(u),
1484
+ center: g,
1485
1485
  zoom: M
1486
1486
  },
1487
1487
  on: {
@@ -1490,18 +1490,18 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1490
1490
  }, [m]);
1491
1491
  }
1492
1492
  };
1493
- }).props(["center", "fallback", "loading", "mapRef", "zoom"]), ie = y(function(e) {
1494
- const n = z(), i = Se();
1493
+ }).props(["center", "fallback", "loading", "mapRef", "zoom"]), ie = j(function(e) {
1494
+ const n = E(), i = Se();
1495
1495
  return Ae(() => {
1496
1496
  n.value = new AMap.Polyline({ ...e });
1497
1497
  }), Le(() => {
1498
1498
  var a;
1499
1499
  (a = n.value) == null || a.setMap(null);
1500
- }), V(() => {
1500
+ }), H(() => {
1501
1501
  var o;
1502
1502
  const a = i == null ? void 0 : i.value;
1503
1503
  a && ((o = n.value) == null || o.setMap(a));
1504
- }), Ue(n, e, [
1504
+ }), Be(n, e, [
1505
1505
  { name: "path", defaultValue: [[0, 0]] },
1506
1506
  { name: "extData", defaultValue: void 0 },
1507
1507
  { name: "draggable", defaultValue: !1 }
@@ -1515,14 +1515,14 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1515
1515
  (o = n.value) == null || o.setOptions({ ...a });
1516
1516
  }
1517
1517
  ), () => null;
1518
- }), Ie = y(function(e) {
1519
- const n = z(), i = Ne();
1518
+ }), Ie = j(function(e) {
1519
+ const n = E(), i = Ne();
1520
1520
  return Ae(() => {
1521
1521
  n.value = new google.maps.Polyline({ ...e });
1522
1522
  }), Le(() => {
1523
1523
  var a;
1524
1524
  (a = n.value) == null || a.setMap(null);
1525
- }), V(() => {
1525
+ }), H(() => {
1526
1526
  var o;
1527
1527
  const a = i == null ? void 0 : i.value;
1528
1528
  a && ((o = n.value) == null || o.setMap(a));
@@ -1533,30 +1533,30 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1533
1533
  (o = n.value) == null || o.setOptions({ ...a });
1534
1534
  }
1535
1535
  ), () => null;
1536
- }), Ba = y(function(e) {
1537
- return S(e, "ADrivingLine"), () => {
1538
- const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, l = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
1539
- return g("div", [g(ie, {
1536
+ }), Ya = j(function(e) {
1537
+ return N(e, "ADrivingLine"), () => {
1538
+ const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, l = e.done ? "#96B2CA" : "#487BF4", u = e.done ? "#7693AF" : "#4175F1", d = e.done ? "#7693AF" : "#6C95F5";
1539
+ return I("div", [I(ie, {
1540
1540
  attrs: {
1541
1541
  path: e.path,
1542
1542
  strokeWeight: i + 2 * a + 2 * r,
1543
1543
  strokeOpacity: 1,
1544
- strokeColor: d,
1544
+ strokeColor: u,
1545
1545
  lineJoin: "round",
1546
1546
  lineCap: "round"
1547
1547
  }
1548
- }), g(ie, {
1548
+ }), I(ie, {
1549
1549
  attrs: {
1550
1550
  path: e.path,
1551
1551
  strokeWeight: i + 2 * a,
1552
1552
  strokeOpacity: 1,
1553
- strokeColor: u,
1553
+ strokeColor: d,
1554
1554
  lineJoin: "round",
1555
1555
  lineCap: "round",
1556
1556
  strokeStyle: "dashed",
1557
1557
  strokeDasharray: [s, s * 0.5]
1558
1558
  }
1559
- }), g(ie, {
1559
+ }), I(ie, {
1560
1560
  attrs: {
1561
1561
  path: e.path,
1562
1562
  strokeWeight: i,
@@ -1565,7 +1565,7 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1565
1565
  lineJoin: "round",
1566
1566
  lineCap: "round"
1567
1567
  }
1568
- }), g(ie, {
1568
+ }), I(ie, {
1569
1569
  attrs: {
1570
1570
  showDir: !0,
1571
1571
  path: e.path,
@@ -1577,19 +1577,19 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1577
1577
  }
1578
1578
  })]);
1579
1579
  };
1580
- }), Ya = y(function(e) {
1581
- S(e, "ADrivingLine");
1582
- const n = D(() => e.path.map(b));
1580
+ }), Va = j(function(e) {
1581
+ N(e, "ADrivingLine");
1582
+ const n = D(() => e.path.map(T));
1583
1583
  return () => {
1584
- const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, l = 1 * i, d = e.done ? "#96B2CA" : "#487BF4", u = e.done ? "#7693AF" : "#4175F1", c = e.done ? "#7693AF" : "#6C95F5";
1585
- return g("div", [g(Ie, {
1584
+ const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, l = 1 * i, u = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", c = e.done ? "#7693AF" : "#6C95F5";
1585
+ return I("div", [I(Ie, {
1586
1586
  attrs: {
1587
1587
  path: n.value,
1588
1588
  strokeWeight: o + 2 * r + 2 * l,
1589
1589
  strokeOpacity: 1,
1590
- strokeColor: u
1590
+ strokeColor: d
1591
1591
  }
1592
- }), g(Ie, {
1592
+ }), I(Ie, {
1593
1593
  attrs: {
1594
1594
  path: n.value,
1595
1595
  icons: [{
@@ -1604,12 +1604,12 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1604
1604
  offset: `${o / 2}px`
1605
1605
  }]
1606
1606
  }
1607
- }), g(Ie, {
1607
+ }), I(Ie, {
1608
1608
  attrs: {
1609
1609
  path: n.value,
1610
1610
  strokeWeight: o,
1611
1611
  strokeOpacity: 1,
1612
- strokeColor: d,
1612
+ strokeColor: u,
1613
1613
  icons: [{
1614
1614
  icon: {
1615
1615
  path: google.maps.SymbolPath.FORWARD_OPEN_ARROW,
@@ -1623,14 +1623,14 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1623
1623
  }
1624
1624
  })]);
1625
1625
  };
1626
- }), Ce = y(function(e) {
1626
+ }), Ce = j(function(e) {
1627
1627
  const n = L();
1628
- return () => e.path.length ? G(n.supplier === "gmap" ? Ya : Ba, {
1628
+ return () => e.path.length ? k(n.supplier === "gmap" ? Va : Ya, {
1629
1629
  attrs: e
1630
1630
  }) : null;
1631
- }), an = (t) => {
1631
+ }), rn = (t) => {
1632
1632
  const e = P({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
1633
- return K(
1633
+ return q(
1634
1634
  () => ({ ...t }),
1635
1635
  ({ from: i, to: a }) => {
1636
1636
  n.search(
@@ -1641,12 +1641,12 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1641
1641
  switch (o) {
1642
1642
  case "complete": {
1643
1643
  let s = [];
1644
- const d = r.routes[0];
1645
- for (const u of d.steps) {
1646
- const I = u.path.map(({ lng: M, lat: m }) => [M, m]);
1647
- s = s.concat(I);
1644
+ const u = r.routes[0];
1645
+ for (const d of u.steps) {
1646
+ const g = d.path.map(({ lng: M, lat: m }) => [M, m]);
1647
+ s = s.concat(g);
1648
1648
  }
1649
- e.path = s, e.distance = d.distance, e.duration = d.time;
1649
+ e.path = s, e.distance = u.distance, e.duration = u.time;
1650
1650
  return;
1651
1651
  }
1652
1652
  case "no_data":
@@ -1659,9 +1659,9 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1659
1659
  );
1660
1660
  }
1661
1661
  ), e;
1662
- }, on = (t) => {
1662
+ }, sn = (t) => {
1663
1663
  const e = P({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
1664
- return K(
1664
+ return q(
1665
1665
  () => ({ ...t }),
1666
1666
  ({ from: i, to: a }) => {
1667
1667
  n.route(
@@ -1671,18 +1671,18 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1671
1671
  travelMode: google.maps.TravelMode.DRIVING
1672
1672
  },
1673
1673
  (o, r) => {
1674
- var s, l, d, u;
1674
+ var s, l, u, d;
1675
1675
  switch (r) {
1676
1676
  case google.maps.DirectionsStatus.OK: {
1677
- let c = [], I = 0, M = 0;
1677
+ let c = [], g = 0, M = 0;
1678
1678
  const m = o.routes[0], v = m.overview_path.map((p) => [
1679
1679
  p.lng(),
1680
1680
  p.lat()
1681
1681
  ]);
1682
1682
  c = c.concat(v);
1683
1683
  for (const p of m.legs)
1684
- I += (l = (s = p.distance) == null ? void 0 : s.value) != null ? l : 0, M += (u = (d = p.duration) == null ? void 0 : d.value) != null ? u : 0;
1685
- e.path = c, e.distance = I, e.duration = M;
1684
+ g += (l = (s = p.distance) == null ? void 0 : s.value) != null ? l : 0, M += (d = (u = p.duration) == null ? void 0 : u.value) != null ? d : 0;
1685
+ e.path = c, e.distance = g, e.duration = M;
1686
1686
  return;
1687
1687
  }
1688
1688
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -1698,76 +1698,76 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1698
1698
  ), e;
1699
1699
  }, Jo = (t) => {
1700
1700
  const { supplier: e } = L();
1701
- return e === "gmap" ? on(t) : an(t);
1702
- }, Va = (t, e, n) => {
1701
+ return e === "gmap" ? sn(t) : rn(t);
1702
+ }, Ha = (t, e, n) => {
1703
1703
  if (!n)
1704
1704
  return 0;
1705
1705
  const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), s = Math.atan2(a - r, o - i);
1706
1706
  return (Math.PI / 2 - s) / Math.PI * 180;
1707
- }, rn = (t) => D(() => {
1707
+ }, cn = (t) => D(() => {
1708
1708
  const { map: e, path: n } = t, [i, a] = n;
1709
1709
  if (!(!i || !a || !e))
1710
- return Va(i, a, e);
1711
- }), sn = (t) => D(() => {
1710
+ return Ha(i, a, e);
1711
+ }), ln = (t) => D(() => {
1712
1712
  const { path: e } = t, [n, i] = e;
1713
1713
  if (!(!n || !i))
1714
- return google.maps.geometry.spherical.computeHeading(b(n), b(i));
1714
+ return google.maps.geometry.spherical.computeHeading(T(n), T(i));
1715
1715
  }), Fo = (t) => {
1716
1716
  const { supplier: e } = L();
1717
- return e === "gmap" ? sn(t) : rn(t);
1718
- }, Ha = y(function(e, {
1717
+ return e === "gmap" ? ln(t) : cn(t);
1718
+ }, Qa = j(function(e, {
1719
1719
  slots: n
1720
1720
  }) {
1721
- S(e, "ADrivingRoute");
1721
+ N(e, "ADrivingRoute");
1722
1722
  const i = Se(), {
1723
1723
  path: a,
1724
1724
  distance: o,
1725
1725
  duration: r
1726
- } = mt(an(e)), s = rn(P({
1726
+ } = vt(rn(e)), s = cn(P({
1727
1727
  path: a,
1728
1728
  map: i
1729
1729
  }));
1730
1730
  return () => {
1731
1731
  var l;
1732
- return g("div", [(l = n.render) == null ? void 0 : l.call(n, P({
1732
+ return I("div", [(l = n.render) == null ? void 0 : l.call(n, P({
1733
1733
  path: a,
1734
1734
  angle: s,
1735
1735
  distance: o,
1736
1736
  duration: r
1737
1737
  }))]);
1738
1738
  };
1739
- }), Qa = y(function(e, {
1739
+ }), Ja = j(function(e, {
1740
1740
  slots: n
1741
1741
  }) {
1742
- S(e, "GDrivingRoute");
1742
+ N(e, "GDrivingRoute");
1743
1743
  const i = Ne(), {
1744
1744
  path: a,
1745
1745
  distance: o,
1746
1746
  duration: r
1747
- } = mt(on(e)), s = sn(P({
1747
+ } = vt(sn(e)), s = ln(P({
1748
1748
  path: a,
1749
1749
  map: i
1750
1750
  }));
1751
1751
  return () => {
1752
1752
  var l;
1753
- return g("div", [(l = n.render) == null ? void 0 : l.call(n, P({
1753
+ return I("div", [(l = n.render) == null ? void 0 : l.call(n, P({
1754
1754
  path: a,
1755
1755
  angle: s,
1756
1756
  distance: o,
1757
1757
  duration: r
1758
1758
  }))]);
1759
1759
  };
1760
- }), xe = y(function(e, {
1760
+ }), xe = j(function(e, {
1761
1761
  slots: n
1762
1762
  }) {
1763
1763
  const {
1764
1764
  supplier: i
1765
1765
  } = L();
1766
- return () => G(i === "gmap" ? Qa : Ha, {
1766
+ return () => k(i === "gmap" ? Ja : Qa, {
1767
1767
  attrs: e,
1768
1768
  scopedSlots: n
1769
1769
  });
1770
- }), Ja = 20, Fa = (t) => {
1770
+ }), Fa = 20, Xa = (t) => {
1771
1771
  const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
1772
1772
  let a;
1773
1773
  const o = () => {
@@ -1775,8 +1775,8 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1775
1775
  const l = e.value;
1776
1776
  if (!l)
1777
1777
  return;
1778
- const d = window.innerWidth / 100, [u, c, I, M] = (m = t.padding) != null ? m : [0, 0, 0, 0];
1779
- console.log([...i]), l.setFitView([...i], !1, [u * d, I * d, M * d, c * d]);
1778
+ const u = window.innerWidth / 100, [d, c, g, M] = (m = t.padding) != null ? m : [0, 0, 0, 0];
1779
+ console.log([...i]), l.setFitView([...i], !1, [d * u, g * u, M * u, c * u]);
1780
1780
  }, r = {
1781
1781
  add: (l) => {
1782
1782
  i.add(l);
@@ -1797,7 +1797,7 @@ const Ua = y(function(e, { slots: n, emit: i }) {
1797
1797
  ["onDragEnd"]
1798
1798
  ), { registerFitVeiw: r, setFitView: o };
1799
1799
  };
1800
- class Xa extends Set {
1800
+ class $a extends Set {
1801
1801
  getBound() {
1802
1802
  const e = new google.maps.LatLngBounds();
1803
1803
  for (const n of this.values()) {
@@ -1807,59 +1807,59 @@ class Xa extends Set {
1807
1807
  return e;
1808
1808
  }
1809
1809
  }
1810
- const $a = (t) => {
1811
- const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = nn(), a = new Xa();
1810
+ const _a = (t) => {
1811
+ const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = on(), a = new $a();
1812
1812
  let o;
1813
1813
  const r = () => {
1814
1814
  var p;
1815
- const u = e.value;
1816
- if (!u)
1815
+ const d = e.value;
1816
+ if (!d)
1817
1817
  return;
1818
- const c = window.innerWidth / 100, [I, M, m, v] = (p = t.padding) != null ? p : [0, 0, 0, 0];
1818
+ const c = window.innerWidth / 100, [g, M, m, v] = (p = t.padding) != null ? p : [0, 0, 0, 0];
1819
1819
  i(
1820
- () => u.fitBounds(a.getBound(), {
1821
- top: I * c,
1820
+ () => d.fitBounds(a.getBound(), {
1821
+ top: g * c,
1822
1822
  right: M * c,
1823
1823
  bottom: m * c,
1824
1824
  left: v * c
1825
1825
  })
1826
1826
  );
1827
1827
  }, s = {
1828
- add: (u) => {
1829
- a.add(u);
1828
+ add: (d) => {
1829
+ a.add(d);
1830
1830
  },
1831
- remove: (u) => {
1832
- a.delete(u);
1831
+ remove: (d) => {
1832
+ a.delete(d);
1833
1833
  },
1834
1834
  setFitView: r
1835
- }, l = (u) => {
1836
- const c = ka();
1837
- console.log("handleMoveEndOrZomEnd name, eventSource = ", u, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
1835
+ }, l = (d) => {
1836
+ const c = Wa();
1837
+ console.log("handleMoveEndOrZomEnd name, eventSource = ", d, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
1838
1838
  o = void 0, r();
1839
1839
  }, n));
1840
- }, d = ea(l, Ja);
1841
- return _(e, {}, l, [
1840
+ }, u = ta(l, Fa);
1841
+ return K(e, {}, l, [
1842
1842
  "onDragEnd"
1843
- ]), _(e, {}, d, [
1843
+ ]), K(e, {}, u, [
1844
1844
  "onZoom_changed"
1845
1845
  ]), { registerFitVeiw: s, setFitView: r };
1846
1846
  }, we = (t) => {
1847
1847
  const { supplier: e } = L();
1848
- return e === "gmap" ? $a(t) : Fa(t);
1848
+ return e === "gmap" ? _a(t) : Xa(t);
1849
1849
  };
1850
- y(function(e, {
1850
+ j(function(e, {
1851
1851
  slots: n
1852
1852
  }) {
1853
- const i = Gt(), a = we({
1853
+ const i = Wt(), a = we({
1854
1854
  ...e,
1855
1855
  mapRef: i
1856
1856
  });
1857
1857
  return () => {
1858
1858
  var o;
1859
- return g("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
1859
+ return I("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
1860
1860
  };
1861
1861
  });
1862
- const _a = y(function(e, {
1862
+ const Ka = j(function(e, {
1863
1863
  slots: n
1864
1864
  }) {
1865
1865
  const {
@@ -1867,12 +1867,12 @@ const _a = y(function(e, {
1867
1867
  } = e, {
1868
1868
  setFitView: a
1869
1869
  } = i;
1870
- return H(a), () => {
1870
+ return Q(a), () => {
1871
1871
  var o;
1872
- return g("div", [(o = n.default) == null ? void 0 : o.call(n)]);
1872
+ return I("div", [(o = n.default) == null ? void 0 : o.call(n)]);
1873
1873
  };
1874
- }), cn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsP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c1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
1875
+ function qa(t, e, n) {
1876
1876
  return e in t ? Object.defineProperty(t, e, {
1877
1877
  value: n,
1878
1878
  enumerable: !0,
@@ -1880,7 +1880,7 @@ function Ka(t, e, n) {
1880
1880
  writable: !0
1881
1881
  }) : t[e] = n, t;
1882
1882
  }
1883
- function ct(t, e) {
1883
+ function ut(t, e) {
1884
1884
  var n = Object.keys(t);
1885
1885
  if (Object.getOwnPropertySymbols) {
1886
1886
  var i = Object.getOwnPropertySymbols(t);
@@ -1890,26 +1890,26 @@ function ct(t, e) {
1890
1890
  }
1891
1891
  return n;
1892
1892
  }
1893
- function lt(t) {
1893
+ function dt(t) {
1894
1894
  for (var e = 1; e < arguments.length; e++) {
1895
1895
  var n = arguments[e] != null ? arguments[e] : {};
1896
- e % 2 ? ct(Object(n), !0).forEach(function(i) {
1897
- Ka(t, i, n[i]);
1898
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : ct(Object(n)).forEach(function(i) {
1896
+ e % 2 ? ut(Object(n), !0).forEach(function(i) {
1897
+ qa(t, i, n[i]);
1898
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : ut(Object(n)).forEach(function(i) {
1899
1899
  Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
1900
1900
  });
1901
1901
  }
1902
1902
  return t;
1903
1903
  }
1904
- var qa = (t, e, n) => {
1904
+ var eo = (t, e, n) => {
1905
1905
  for (var i of Object.keys(t)) {
1906
1906
  var a;
1907
1907
  if (t[i] !== ((a = e[i]) !== null && a !== void 0 ? a : n[i]))
1908
1908
  return !1;
1909
1909
  }
1910
1910
  return !0;
1911
- }, q = (t) => (e) => {
1912
- var n = t.defaultClassName, i = lt(lt({}, t.defaultVariants), e);
1911
+ }, ee = (t) => (e) => {
1912
+ var n = t.defaultClassName, i = dt(dt({}, t.defaultVariants), e);
1913
1913
  for (var a in i) {
1914
1914
  var o, r = (o = i[a]) !== null && o !== void 0 ? o : t.defaultVariants[a];
1915
1915
  if (r != null) {
@@ -1922,37 +1922,37 @@ var qa = (t, e, n) => {
1922
1922
  l && (n += " " + l);
1923
1923
  }
1924
1924
  }
1925
- for (var [d, u] of t.compoundVariants)
1926
- qa(d, i, t.defaultVariants) && (n += " " + u);
1925
+ for (var [u, d] of t.compoundVariants)
1926
+ eo(u, i, t.defaultVariants) && (n += " " + d);
1927
1927
  return n;
1928
- }, X = q({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), un = "_4a4ovk1", dn = "_4a4ovk4", gn = "_4a4ovk5", In = "_4a4ovk3", me = "_4a4ovk0", Mn = "_4a4ovk2";
1929
- const eo = y(function(e) {
1930
- S(e, "AStartEndPoint");
1928
+ }, $ = ee({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), gn = "_4a4ovk1", In = "_4a4ovk4", Mn = "_4a4ovk5", mn = "_4a4ovk3", me = "_4a4ovk0", fn = "_4a4ovk2";
1929
+ const to = j(function(e) {
1930
+ N(e, "AStartEndPoint");
1931
1931
  const n = D(() => {
1932
1932
  var o;
1933
- const i = e.type === "start" ? ln : cn, a = e.description ? he(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${gn}">${r.value}</span>`).join("") : "";
1934
- return !e.description && !e.title ? `<img src="${i}" class="${X({
1933
+ const i = e.type === "start" ? dn : un, a = e.description ? he(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Mn}">${r.value}</span>`).join("") : "";
1934
+ return !e.description && !e.title ? `<img src="${i}" class="${$({
1935
1935
  type: e.type
1936
1936
  })}">` : e.description ? `
1937
1937
  <div class="${me}">
1938
- <div class="${un}">
1939
- <div class="${In}">${(o = e.title) != null ? o : ""}</div>
1940
- <div class="${dn}">${a}</div>
1938
+ <div class="${gn}">
1939
+ <div class="${mn}">${(o = e.title) != null ? o : ""}</div>
1940
+ <div class="${In}">${a}</div>
1941
1941
  </div>
1942
- <img src="${i}" class="${X({
1942
+ <img src="${i}" class="${$({
1943
1943
  type: e.type
1944
1944
  })}">
1945
1945
  </div>
1946
1946
  ` : `
1947
1947
  <div class="${me}">
1948
- <div class="${Mn}">${e.title}</div>
1949
- <img src="${i}" class="${X({
1948
+ <div class="${fn}">${e.title}</div>
1949
+ <img src="${i}" class="${$({
1950
1950
  type: e.type
1951
1951
  })}">
1952
1952
  </div>
1953
1953
  `;
1954
1954
  });
1955
- return () => g(B, {
1955
+ return () => I(Y, {
1956
1956
  attrs: {
1957
1957
  registerOverlay: e.registerOverlay,
1958
1958
  position: e.position,
@@ -1960,45 +1960,45 @@ const eo = y(function(e) {
1960
1960
  anchor: "bottom-center"
1961
1961
  }
1962
1962
  });
1963
- }), to = y(function(e) {
1964
- S(e, "GStartEndPoint");
1963
+ }), no = j(function(e) {
1964
+ N(e, "GStartEndPoint");
1965
1965
  const n = D(() => {
1966
1966
  var o;
1967
- const i = e.type === "start" ? ln : cn, a = e.description ? he(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${gn}">${r.value}</span>`).join("") : "";
1968
- return !e.description && !e.title ? E("img", {
1969
- class: X({
1967
+ const i = e.type === "start" ? dn : un, a = e.description ? he(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${Mn}">${r.value}</span>`).join("") : "";
1968
+ return !e.description && !e.title ? Z("img", {
1969
+ class: $({
1970
1970
  type: e.type
1971
1971
  }),
1972
1972
  src: i
1973
- }) : e.description ? E("div", {
1973
+ }) : e.description ? Z("div", {
1974
1974
  class: me
1975
1975
  }, `
1976
- <div class="${un}">
1977
- <div class="${In}">${(o = e.title) != null ? o : ""}</div>
1978
- <div class="${dn}">${a}</div>
1976
+ <div class="${gn}">
1977
+ <div class="${mn}">${(o = e.title) != null ? o : ""}</div>
1978
+ <div class="${In}">${a}</div>
1979
1979
  </div>
1980
- <img src="${i}" class="${X({
1980
+ <img src="${i}" class="${$({
1981
1981
  type: e.type
1982
1982
  })}">
1983
- `) : E("div", {
1983
+ `) : Z("div", {
1984
1984
  class: me
1985
1985
  }, `
1986
- <div class="${Mn}">${e.title}</div>
1987
- <img src="${i}" class="${X({
1986
+ <div class="${fn}">${e.title}</div>
1987
+ <img src="${i}" class="${$({
1988
1988
  type: e.type
1989
1989
  })}">
1990
1990
  `);
1991
1991
  });
1992
- return () => g(Y, {
1992
+ return () => I(V, {
1993
1993
  attrs: {
1994
1994
  registerOverlay: e.registerOverlay,
1995
- position: b(e.position),
1995
+ position: T(e.position),
1996
1996
  content: n.value
1997
1997
  }
1998
1998
  });
1999
- }), O = y(function(e) {
1999
+ }), G = j(function(e) {
2000
2000
  const n = L();
2001
- return () => G(n.supplier === "gmap" ? to : eo, {
2001
+ return () => k(n.supplier === "gmap" ? no : to, {
2002
2002
  attrs: e
2003
2003
  });
2004
2004
  }), Xo = ce((t) => {
@@ -2012,171 +2012,171 @@ const eo = y(function(e) {
2012
2012
  from: a,
2013
2013
  to: o
2014
2014
  } = t, r = w(a), s = w(o);
2015
- return g(De, {
2015
+ return I(De, {
2016
2016
  attrs: {
2017
2017
  mapRef: n,
2018
2018
  center: r,
2019
2019
  zoom: 13
2020
2020
  }
2021
- }, [g(O, {
2021
+ }, [I(G, {
2022
2022
  attrs: {
2023
2023
  type: "start",
2024
2024
  registerOverlay: e,
2025
2025
  position: r,
2026
2026
  title: a.name
2027
2027
  }
2028
- }), g(xe, {
2028
+ }), I(xe, {
2029
2029
  attrs: {
2030
2030
  to: s,
2031
2031
  from: r,
2032
2032
  render: ({
2033
2033
  path: l,
2034
- distance: d,
2035
- duration: u
2036
- }) => [g(Ce, {
2034
+ distance: u,
2035
+ duration: d
2036
+ }) => [I(Ce, {
2037
2037
  attrs: {
2038
2038
  path: l
2039
2039
  }
2040
- }), g(O, {
2040
+ }), I(G, {
2041
2041
  attrs: {
2042
2042
  type: "end",
2043
2043
  registerOverlay: e,
2044
2044
  position: s,
2045
2045
  title: o.name,
2046
2046
  description: i({
2047
- distance: d,
2048
- duration: u
2047
+ distance: u,
2048
+ duration: d
2049
2049
  })
2050
2050
  }
2051
2051
  })]
2052
2052
  }
2053
- }), g(_a, {
2053
+ }), I(Ka, {
2054
2054
  attrs: {
2055
2055
  registerOverlay: e
2056
2056
  }
2057
2057
  })]);
2058
2058
  };
2059
- }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]), mn = (t) => {
2060
- var I, M;
2059
+ }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]), Pe = (t) => {
2060
+ var g, M;
2061
2061
  const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {};
2062
2062
  let r = !1;
2063
- const s = x(!1), l = x(!1), d = x(), u = x({
2063
+ const s = x(!1), l = x(!1), u = x(), d = x({
2064
2064
  accuracy: 0,
2065
2065
  altitude: 0,
2066
2066
  altitudeAccuracy: 0,
2067
2067
  heading: 0,
2068
- latitude: (I = o == null ? void 0 : o[1]) != null ? I : 0,
2068
+ latitude: (g = o == null ? void 0 : o[1]) != null ? g : 0,
2069
2069
  longitude: (M = o == null ? void 0 : o[0]) != null ? M : 0,
2070
2070
  speed: 0
2071
- }), c = x([u.value.longitude, u.value.latitude]);
2072
- return T(
2071
+ }), c = x([d.value.longitude, d.value.latitude]);
2072
+ return z(
2073
2073
  () => !0,
2074
2074
  (m, v, p) => {
2075
2075
  s.value = !0;
2076
- const j = navigator.geolocation.watchPosition(
2076
+ const y = navigator.geolocation.watchPosition(
2077
2077
  (f) => {
2078
- const N = f.coords, C = [f.coords.longitude, f.coords.latitude];
2079
- u.value = N, c.value = C, s.value && (s.value = !1, l.value = !0, n == null || n({ position: C, coordinate: N })), e == null || e({ position: C, coordinate: N });
2078
+ const h = f.coords, C = [f.coords.longitude, f.coords.latitude];
2079
+ d.value = h, c.value = C, s.value && (s.value = !1, l.value = !0, n == null || n({ position: C, coordinate: h })), e == null || e({ position: C, coordinate: h });
2080
2080
  },
2081
2081
  (f) => {
2082
- s.value = !1, d.value = f;
2083
- const N = t == null ? void 0 : t.geoDefaultPosition;
2084
- N && !r && (r = !0, i == null || i({ position: N })), a == null || a(f), console.log("errorRef = ", d);
2082
+ s.value = !1, u.value = f;
2083
+ const h = t == null ? void 0 : t.geoDefaultPosition;
2084
+ h && !r && (r = !0, i == null || i({ position: h })), a == null || a(f), console.log("errorRef = ", u);
2085
2085
  },
2086
2086
  // todo 要不要 timeout
2087
2087
  { timeout: 3e3, maximumAge: 0, enableHighAccuracy: !1 }
2088
2088
  );
2089
- p(() => navigator.geolocation.clearWatch(j));
2089
+ p(() => navigator.geolocation.clearWatch(y));
2090
2090
  },
2091
2091
  { immediate: !0 }
2092
2092
  ), {
2093
- geoError: d,
2093
+ geoError: u,
2094
2094
  geoPosition: c,
2095
- geoCoordinate: u,
2095
+ geoCoordinate: d,
2096
2096
  geoLoading: s,
2097
2097
  geoReady: l
2098
2098
  };
2099
- }, no = () => {
2100
- const t = z();
2099
+ }, io = () => {
2100
+ const t = E();
2101
2101
  return { mapRef: t, panTo: (i) => {
2102
2102
  var a;
2103
2103
  return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(i);
2104
2104
  }, setMap: (i) => {
2105
2105
  t.value = i;
2106
2106
  } };
2107
- }, io = () => {
2108
- const t = z();
2107
+ }, ao = () => {
2108
+ const t = E();
2109
2109
  return { mapRef: t, panTo: (i) => {
2110
2110
  var a;
2111
- return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(b(i));
2111
+ return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(T(i));
2112
2112
  }, setMap: (i) => {
2113
2113
  t.value = i;
2114
2114
  } };
2115
- }, Pe = () => {
2115
+ }, be = () => {
2116
2116
  const { supplier: t } = L();
2117
- return t === "gmap" ? io() : no();
2118
- }, ao = (t) => {
2117
+ return t === "gmap" ? ao() : io();
2118
+ }, oo = (t) => {
2119
2119
  const { mapRef: e, onChange: n } = t, i = x([0, 0]), a = x(!1), o = () => {
2120
2120
  }, r = (s, { target: l }) => {
2121
2121
  var c;
2122
2122
  console.log("on DragEnd ------"), a.value = !1;
2123
- const { lng: d, lat: u } = l.getCenter();
2124
- i.value = [d, u], (c = Yt(n)) == null || c([d, u]);
2123
+ const { lng: u, lat: d } = l.getCenter();
2124
+ i.value = [u, d], (c = Ht(n)) == null || c([u, d]);
2125
2125
  };
2126
2126
  return re(e, {}, o, [
2127
2127
  "onDragStart"
2128
2128
  ]), re(e, {}, r, [
2129
2129
  "onDragEnd"
2130
2130
  ]), { centerRef: i, isDragging: a };
2131
- }, oo = (t) => {
2131
+ }, ro = (t) => {
2132
2132
  const { mapRef: e, onChange: n } = t, i = x([0, 0]), a = x(!1), o = () => {
2133
2133
  }, r = async () => {
2134
- var u, c;
2134
+ var d, c;
2135
2135
  a.value = !1;
2136
- const s = (u = e.value) == null ? void 0 : u.getCenter(), l = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
2137
- i.value = [l, d], (c = Yt(n)) == null || c([l, d]);
2136
+ const s = (d = e.value) == null ? void 0 : d.getCenter(), l = s == null ? void 0 : s.lng(), u = s == null ? void 0 : s.lat();
2137
+ i.value = [l, u], (c = Ht(n)) == null || c([l, u]);
2138
2138
  };
2139
- return _(e, {}, o, [
2139
+ return K(e, {}, o, [
2140
2140
  "onDragStart"
2141
- ]), _(e, {}, r, [
2141
+ ]), K(e, {}, r, [
2142
2142
  "onDragEnd"
2143
2143
  ]), { centerRef: i, isDragging: a };
2144
- }, ro = (t) => {
2144
+ }, so = (t) => {
2145
2145
  const { supplier: e } = L();
2146
- return e === "gmap" ? oo(t) : ao(t);
2147
- }, ee = () => {
2146
+ return e === "gmap" ? ro(t) : oo(t);
2147
+ }, te = () => {
2148
2148
  const t = x(0);
2149
2149
  return { idx: t, update: () => {
2150
2150
  t.value += 1;
2151
2151
  } };
2152
- }, fn = (t) => {
2152
+ }, vn = (t) => {
2153
2153
  const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = x(i), { readyPromise: o } = L(), r = P({
2154
2154
  lng: a.value[0],
2155
2155
  lat: a.value[1],
2156
2156
  name: ""
2157
- }), { idx: s, update: l } = ee(), d = (I) => {
2158
- const M = new AMap.Geocoder({ lang: oe }), { lng: m, lat: v } = I;
2159
- M.getAddress(new AMap.LngLat(m, v), (p, j) => {
2157
+ }), { idx: s, update: l } = te(), u = (g) => {
2158
+ const M = new AMap.Geocoder({ lang: oe }), { lng: m, lat: v } = g;
2159
+ M.getAddress(new AMap.LngLat(m, v), (p, y) => {
2160
2160
  if (p !== "complete")
2161
2161
  return;
2162
- const { addressComponent: f } = j.regeocode, N = f.city ? f.city : f.province, C = f.province;
2163
- n == null || n({ cityName: N, cityParentName: C });
2162
+ const { addressComponent: f } = y.regeocode, h = f.city ? f.city : f.province, C = f.province;
2163
+ n == null || n({ cityName: h, cityParentName: C });
2164
2164
  });
2165
- }, u = (I) => {
2166
- a.value = I, l();
2167
- }, c = (I) => {
2168
- r.lng = I.lng, r.lat = I.lat, r.name = I.name;
2165
+ }, d = (g) => {
2166
+ a.value = g, l();
2167
+ }, c = (g) => {
2168
+ r.lng = g.lng, r.lat = g.lat, r.name = g.name;
2169
2169
  };
2170
- return T(
2170
+ return z(
2171
2171
  () => s.value,
2172
2172
  async () => {
2173
2173
  await o;
2174
- const I = new AMap.Geocoder({ lang: oe }), [M, m] = a.value;
2175
- I.getAddress(new AMap.LngLat(M, m), (v, p) => {
2174
+ const g = new AMap.Geocoder({ lang: oe }), [M, m] = a.value;
2175
+ g.getAddress(new AMap.LngLat(M, m), (v, p) => {
2176
2176
  switch (v) {
2177
2177
  case "complete": {
2178
- const { formattedAddress: j, addressComponent: f } = p.regeocode, N = f.city ? f.city : f.province, C = f.province;
2179
- r.name = j, r.lng = M, r.lat = m, e == null || e({ lng: M, lat: m, name: j }), n == null || n({ cityName: N, cityParentName: C });
2178
+ const { formattedAddress: y, addressComponent: f } = p.regeocode, h = f.city ? f.city : f.province, C = f.province;
2179
+ r.name = y, r.lng = M, r.lat = m, e == null || e({ lng: M, lat: m, name: y }), n == null || n({ cityName: h, cityParentName: C });
2180
2180
  return;
2181
2181
  }
2182
2182
  case "no_data":
@@ -2187,115 +2187,115 @@ const eo = y(function(e) {
2187
2187
  }
2188
2188
  });
2189
2189
  }
2190
- ), { place: r, updatePlace: u, setPlace: c, updateCity: d };
2191
- }, vn = (t) => {
2192
- const { pointRef: e, onChange: n, onChangeCity: i } = t, { readyPromise: a } = L(), { idx: o, update: r } = ee(), s = P({
2190
+ ), { place: r, updatePlace: d, setPlace: c, updateCity: u };
2191
+ }, pn = (t) => {
2192
+ const { pointRef: e, onChange: n, onChangeCity: i } = t, { readyPromise: a } = L(), { idx: o, update: r } = te(), s = P({
2193
2193
  lng: e.value[0],
2194
2194
  lat: e.value[1],
2195
2195
  name: ""
2196
- }), l = (u) => {
2197
- s.lng = u.lng, s.lat = u.lat, s.name = u.name;
2198
- }, d = async (u) => {
2199
- const c = new google.maps.Geocoder(), { lng: I, lat: M } = u, { results: m } = await c.geocode({ language: oe, location: { lng: I, lat: M } }), v = rt(m[0]), p = m.slice(-2)[0].address_components[0].long_name;
2196
+ }), l = (d) => {
2197
+ s.lng = d.lng, s.lat = d.lat, s.name = d.name;
2198
+ }, u = async (d) => {
2199
+ const c = new google.maps.Geocoder(), { lng: g, lat: M } = d, { results: m } = await c.geocode({ language: oe, location: { lng: g, lat: M } }), v = ct(m[0]), p = m.slice(-2)[0].address_components[0].long_name;
2200
2200
  i == null || i({ cityName: v, cityParentName: p });
2201
2201
  };
2202
- return T(
2202
+ return z(
2203
2203
  () => o.value,
2204
2204
  async () => {
2205
2205
  await a;
2206
- const u = new google.maps.Geocoder(), [c, I] = e.value, { results: M } = await u.geocode({ language: oe, location: { lng: c, lat: I } }), m = M[0].formatted_address, v = rt(M[0]), p = M.slice(-2)[0].address_components[0].long_name;
2207
- s.lng = c, s.lat = I, s.name = m, n == null || n({ lng: c, lat: I, name: m }), i == null || i({ cityName: v, cityParentName: p });
2206
+ const d = new google.maps.Geocoder(), [c, g] = e.value, { results: M } = await d.geocode({ language: oe, location: { lng: c, lat: g } }), m = M[0].formatted_address, v = ct(M[0]), p = M.slice(-2)[0].address_components[0].long_name;
2207
+ s.lng = c, s.lat = g, s.name = m, n == null || n({ lng: c, lat: g, name: m }), i == null || i({ cityName: v, cityParentName: p });
2208
2208
  }
2209
- ), { place: s, updatePlace: r, setPlace: l, updateCity: d };
2209
+ ), { place: s, updatePlace: r, setPlace: l, updateCity: u };
2210
2210
  }, $o = (t) => {
2211
2211
  const { supplier: e } = L();
2212
- return e === "gmap" ? vn(t) : fn(t);
2213
- }, so = (t, e) => {
2212
+ return e === "gmap" ? pn(t) : vn(t);
2213
+ }, co = (t, e) => {
2214
2214
  let n = 1 / 0, i = t;
2215
2215
  for (const a of e) {
2216
2216
  const o = AMap.GeometryUtil.distance(w(t), w(a));
2217
2217
  o >= n || (i = a, n = o);
2218
2218
  }
2219
2219
  return { shortestPlace: i, shortestDistance: n };
2220
- }, co = (t, e) => {
2220
+ }, lo = (t, e) => {
2221
2221
  let n = 1 / 0, i = t;
2222
2222
  for (const a of e) {
2223
2223
  const o = google.maps.geometry.spherical.computeDistanceBetween(t, a);
2224
2224
  o >= n || (i = a, n = o);
2225
2225
  }
2226
2226
  return { shortestPlace: i, shortestDistance: n };
2227
- }, lo = (t) => {
2228
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l = x(!0), d = x([]), { idx: u, update: c } = ee(), { readyPromise: I } = L(), { place: M, updatePlace: m, setPlace: v, updateCity: p } = fn({
2227
+ }, uo = (t) => {
2228
+ const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l = x(!0), u = x([]), { idx: d, update: c } = te(), { readyPromise: g } = L(), { place: M, updatePlace: m, setPlace: v, updateCity: p } = vn({
2229
2229
  pointRef: e,
2230
2230
  onChange: r,
2231
2231
  onChangeCity: s
2232
- }), j = P({ ...M });
2233
- return T(
2234
- () => u.value,
2232
+ }), y = P({ ...M });
2233
+ return z(
2234
+ () => d.value,
2235
2235
  async () => {
2236
- await I;
2236
+ await g;
2237
2237
  const f = await n({ ...M }, a);
2238
2238
  if (f === void 0) {
2239
- l.value = !1, d.value = [], Object.assign(j, { ...M }), o == null || o({ ...M });
2239
+ l.value = !1, u.value = [], Object.assign(y, { ...M }), o == null || o({ ...M });
2240
2240
  return;
2241
2241
  }
2242
- const { shortestPlace: N, shortestDistance: C } = so(M, f), R = i(a), h = C > R ? M : N;
2243
- l.value = !0, d.value = f, Object.assign(j, { ...h }), o == null || o({ ...h });
2242
+ const { shortestPlace: h, shortestDistance: C } = co(M, f), b = i(a), S = C > b ? M : h;
2243
+ l.value = !0, u.value = f, Object.assign(y, { ...S }), o == null || o({ ...S });
2244
2244
  }
2245
2245
  ), {
2246
- recomendPlace: j,
2247
- placeCandidates: d,
2246
+ recomendPlace: y,
2247
+ placeCandidates: u,
2248
2248
  availableRef: l,
2249
2249
  updateRecomandPlace: c,
2250
2250
  updatePlace: m,
2251
2251
  setPlace: v,
2252
2252
  updateCity: p
2253
2253
  };
2254
- }, uo = (t) => {
2255
- const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l = x(!0), d = x([]), { idx: u, update: c } = ee(), { readyPromise: I } = L(), { place: M, updatePlace: m, setPlace: v, updateCity: p } = vn({
2254
+ }, go = (t) => {
2255
+ const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l = x(!0), u = x([]), { idx: d, update: c } = te(), { readyPromise: g } = L(), { place: M, updatePlace: m, setPlace: v, updateCity: p } = pn({
2256
2256
  pointRef: e,
2257
2257
  onChange: r,
2258
2258
  onChangeCity: s
2259
- }), j = P({ ...M });
2260
- return T(
2261
- () => u.value,
2259
+ }), y = P({ ...M });
2260
+ return z(
2261
+ () => d.value,
2262
2262
  async () => {
2263
- await I;
2263
+ await g;
2264
2264
  const f = await n({ ...M }, a);
2265
2265
  if (f === void 0) {
2266
- l.value = !1, d.value = [], Object.assign(j, { ...M }), o == null || o({ ...M });
2266
+ l.value = !1, u.value = [], Object.assign(y, { ...M }), o == null || o({ ...M });
2267
2267
  return;
2268
2268
  }
2269
- const { shortestPlace: N, shortestDistance: C } = co(M, f), R = i(a), h = C > R ? M : N;
2270
- l.value = !0, d.value = f, Object.assign(j, { ...h }), o == null || o({ ...h });
2269
+ const { shortestPlace: h, shortestDistance: C } = lo(M, f), b = i(a), S = C > b ? M : h;
2270
+ l.value = !0, u.value = f, Object.assign(y, { ...S }), o == null || o({ ...S });
2271
2271
  }
2272
2272
  ), {
2273
- recomendPlace: j,
2274
- placeCandidates: d,
2273
+ recomendPlace: y,
2274
+ placeCandidates: u,
2275
2275
  availableRef: l,
2276
2276
  updateRecomandPlace: c,
2277
2277
  updatePlace: m,
2278
2278
  setPlace: v,
2279
2279
  updateCity: p
2280
2280
  };
2281
- }, go = (t) => {
2281
+ }, Io = (t) => {
2282
2282
  const { supplier: e } = L();
2283
- return e === "gmap" ? uo(t) : lo(t);
2284
- }, pn = "data:image/svg+xml;base64,PHN2ZyB3aWR0a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iBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2285
- var yn = q({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2286
- const Io = y(function(e) {
2287
- S(e, "APassengerCircle");
2283
+ return e === "gmap" ? go(t) : uo(t);
2284
+ }, yn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
2285
+ var jn = ee({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
2286
+ const Mo = j(function(e) {
2287
+ N(e, "APassengerCircle");
2288
2288
  const n = D(() => {
2289
2289
  const {
2290
2290
  size: i = "large"
2291
2291
  } = e;
2292
2292
  return `
2293
- <img src="${i === "large" ? pn : U}" class="${yn({
2293
+ <img src="${i === "large" ? yn : B}" class="${jn({
2294
2294
  size: i
2295
2295
  })}">
2296
2296
  `;
2297
2297
  });
2298
- return () => g(B, {
2298
+ return () => I(Y, {
2299
2299
  attrs: {
2300
2300
  position: e.position,
2301
2301
  content: n.value,
@@ -2303,38 +2303,38 @@ const Io = y(function(e) {
2303
2303
  registerOverlay: e.registerOverlay
2304
2304
  }
2305
2305
  });
2306
- }), Mo = y(function(e) {
2307
- S(e, "GPassengerCircle");
2306
+ }), mo = j(function(e) {
2307
+ N(e, "GPassengerCircle");
2308
2308
  const n = D(() => {
2309
2309
  const {
2310
2310
  size: i = "large"
2311
- } = e, a = i === "large" ? pn : U;
2312
- return E("img", {
2313
- class: yn({
2311
+ } = e, a = i === "large" ? yn : B;
2312
+ return Z("img", {
2313
+ class: jn({
2314
2314
  size: i
2315
2315
  }),
2316
2316
  src: a
2317
2317
  });
2318
2318
  });
2319
- return () => g(Y, {
2319
+ return () => I(V, {
2320
2320
  attrs: {
2321
- position: b(e.position),
2321
+ position: T(e.position),
2322
2322
  content: n.value,
2323
2323
  registerOverlay: e.registerOverlay
2324
2324
  }
2325
2325
  });
2326
- }), be = y(function(e) {
2326
+ }), Te = j(function(e) {
2327
2327
  const n = L();
2328
- return () => G(n.supplier === "gmap" ? Mo : Io, {
2328
+ return () => k(n.supplier === "gmap" ? mo : Mo, {
2329
2329
  attrs: e
2330
2330
  });
2331
2331
  });
2332
- var Ee = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(Ee || {});
2333
- var ut = q({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), dt = q({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), jn = "fhyw8b", An = q({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), fe = q({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2334
- const mo = y(function(e, {
2332
+ var Ze = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(Ze || {});
2333
+ var gt = ee({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), It = ee({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), An = "fhyw8b", Ln = ee({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), fe = ee({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
2334
+ const fo = j(function(e, {
2335
2335
  emit: n
2336
2336
  }) {
2337
- S(e, "APlaceCircle");
2337
+ N(e, "APlaceCircle");
2338
2338
  const i = D(() => {
2339
2339
  var s;
2340
2340
  return (s = e.textAlign) != null ? s : "right";
@@ -2343,15 +2343,15 @@ const mo = y(function(e, {
2343
2343
  hideIcon: s = !1
2344
2344
  } = e;
2345
2345
  return `
2346
- <div class="${An({
2346
+ <div class="${Ln({
2347
2347
  textAlign: i.value
2348
2348
  })}">
2349
2349
  <img class="${fe({
2350
2350
  hideIcon: s
2351
- })} ${ut({
2351
+ })} ${gt({
2352
2352
  textAlign: i.value
2353
- })}" src="${U}">
2354
- <div class="${jn}">${e.label}</div>
2353
+ })}" src="${B}">
2354
+ <div class="${An}">${e.label}</div>
2355
2355
  </div>
2356
2356
  `;
2357
2357
  }), o = D(() => {
@@ -2360,26 +2360,26 @@ const mo = y(function(e, {
2360
2360
  } = e;
2361
2361
  return `<img class="${fe({
2362
2362
  hideIcon: s
2363
- })} ${ut({
2363
+ })} ${gt({
2364
2364
  textAlign: i.value
2365
- })}" src="${U}">`;
2365
+ })}" src="${B}">`;
2366
2366
  }), r = (s) => {
2367
2367
  console.log("on amap marker e = ", s), n("click", e.position);
2368
2368
  };
2369
- return () => g(B, {
2369
+ return () => I(Y, {
2370
2370
  attrs: {
2371
2371
  position: e.position,
2372
2372
  content: e.label ? a.value : o.value,
2373
- anchor: i.value === "left" ? Ee.middleRight : Ee.middleLeft
2373
+ anchor: i.value === "left" ? Ze.middleRight : Ze.middleLeft
2374
2374
  },
2375
2375
  on: {
2376
2376
  click: r
2377
2377
  }
2378
2378
  });
2379
- }), fo = y(function(e, {
2379
+ }), vo = j(function(e, {
2380
2380
  emit: n
2381
2381
  }) {
2382
- S(e, "GPlaceCircle");
2382
+ N(e, "GPlaceCircle");
2383
2383
  const i = D(() => {
2384
2384
  var s;
2385
2385
  return (s = e.textAlign) != null ? s : "right";
@@ -2387,56 +2387,56 @@ const mo = y(function(e, {
2387
2387
  const {
2388
2388
  hideIcon: s = !1
2389
2389
  } = e;
2390
- return E("div", {
2391
- class: `${An({
2390
+ return Z("div", {
2391
+ class: `${Ln({
2392
2392
  textAlign: i.value
2393
- })} ${dt({
2393
+ })} ${It({
2394
2394
  textAlign: i.value
2395
2395
  })}`
2396
2396
  }, `
2397
2397
  <img class="${fe({
2398
2398
  hideIcon: s
2399
- })}" src="${U}">
2400
- <div class="${jn}">${e.label}</div>
2399
+ })}" src="${B}">
2400
+ <div class="${An}">${e.label}</div>
2401
2401
  `);
2402
2402
  }), o = D(() => {
2403
2403
  const {
2404
2404
  hideIcon: s = !1
2405
2405
  } = e;
2406
- return E("img", {
2406
+ return Z("img", {
2407
2407
  class: `${fe({
2408
2408
  hideIcon: s
2409
- })} ${dt({
2409
+ })} ${It({
2410
2410
  textAlign: i.value
2411
2411
  })}`,
2412
- src: U
2412
+ src: B
2413
2413
  });
2414
2414
  }), r = (s) => {
2415
2415
  console.log("on gmap advanced marker view e = ", s), n("click", e.position);
2416
2416
  };
2417
- return () => g(Y, {
2417
+ return () => I(V, {
2418
2418
  attrs: {
2419
- position: b(e.position),
2419
+ position: T(e.position),
2420
2420
  content: e.label ? a.value : o.value
2421
2421
  },
2422
2422
  on: {
2423
2423
  click: r
2424
2424
  }
2425
2425
  });
2426
- }), k = y(function(e, {
2426
+ }), W = j(function(e, {
2427
2427
  emit: n
2428
2428
  }) {
2429
2429
  const i = L();
2430
- return () => G(i.supplier === "gmap" ? fo : mo, {
2430
+ return () => k(i.supplier === "gmap" ? vo : fo, {
2431
2431
  attrs: e,
2432
2432
  on: {
2433
2433
  click: (a) => n("click", a)
2434
2434
  }
2435
2435
  });
2436
- }), vo = y(function(e, {
2436
+ }), po = j(function(e, {
2437
2437
  emit: n
2438
2438
  }) {
2439
- return S(e, "PickupPoints"), () => g("div", [e.places.map((i) => g(k, {
2439
+ return N(e, "PickupPoints"), () => I("div", [e.places.map((i) => I(W, {
2440
2440
  attrs: {
2441
2441
  position: w(i),
2442
2442
  label: i.name,
@@ -2446,11 +2446,11 @@ const mo = y(function(e, {
2446
2446
  click: () => n("click", i)
2447
2447
  }
2448
2448
  }))]);
2449
- }), po = 30, _o = ce((t, {
2449
+ }), yo = 30, _o = ce((t, {
2450
2450
  emit: e
2451
2451
  }) => {
2452
- var W, te;
2453
- S(t, "BusinessRecomendPlaceMap");
2452
+ var O, U;
2453
+ N(t, "BusinessRecomendPlaceMap");
2454
2454
  const {
2455
2455
  geoDefaultPosition: n,
2456
2456
  getRecomendPlace: i,
@@ -2458,60 +2458,60 @@ const mo = y(function(e, {
2458
2458
  } = t, {
2459
2459
  mapRef: o,
2460
2460
  setMap: r
2461
- } = Pe(), {
2461
+ } = be(), {
2462
2462
  readyPromise: s
2463
2463
  } = L(), l = P({
2464
- lng: (W = n == null ? void 0 : n[0]) != null ? W : 0,
2465
- lat: (te = n == null ? void 0 : n[1]) != null ? te : 0,
2464
+ lng: (O = n == null ? void 0 : n[0]) != null ? O : 0,
2465
+ lat: (U = n == null ? void 0 : n[1]) != null ? U : 0,
2466
2466
  name: ""
2467
- }), d = D(() => [l.lng, l.lat]), u = {
2467
+ }), u = D(() => [l.lng, l.lat]), d = {
2468
2468
  source: "geo"
2469
2469
  }, c = (A) => {
2470
- u.source = "api", f(A);
2471
- }, I = (A) => {
2472
- u.source = "api", N(A), C(A), R();
2470
+ d.source = "api", f(A);
2471
+ }, g = (A) => {
2472
+ d.source = "api", h(A), C(A), b();
2473
2473
  }, M = (A) => {
2474
- u.source = "api", l.lng = A.lng, l.lat = A.lat, l.name = A.name;
2474
+ d.source = "api", l.lng = A.lng, l.lat = A.lat, l.name = A.name;
2475
2475
  }, {
2476
2476
  geoPosition: m,
2477
2477
  geoError: v,
2478
2478
  geoLoading: p
2479
- } = mn({
2479
+ } = Pe({
2480
2480
  geoDefaultPosition: n,
2481
2481
  onLoad: async (A) => {
2482
- await s, u.source = "geo", f(A.position), e("loadGeoLocation", A);
2482
+ await s, d.source = "geo", f(A.position), e("loadGeoLocation", A);
2483
2483
  },
2484
2484
  onLoadDefault: async (A) => {
2485
- await s, u.source = "geo", f(A.position), e("loadDefaultGeoLocation", A);
2485
+ await s, d.source = "geo", f(A.position), e("loadDefaultGeoLocation", A);
2486
2486
  },
2487
2487
  onChange: (A) => e("changeGeoLocation", A),
2488
2488
  onError: (A) => e("geoError", A)
2489
2489
  });
2490
- a.setCenterPlaceByUserSpecified = I, a.panToGeoPositionByRecomend = () => v.value ? !1 : (c(m.value), !0);
2490
+ a.setCenterPlaceByUserSpecified = g, a.panToGeoPositionByRecomend = () => v.value ? !1 : (c(m.value), !0);
2491
2491
  const {
2492
- isDragging: j
2493
- } = ro({
2492
+ isDragging: y
2493
+ } = so({
2494
2494
  mapRef: o,
2495
2495
  onChange: (A) => {
2496
- u.source = "drag", f(A), e("changeByDrag", A);
2496
+ d.source = "drag", f(A), e("changeByDrag", A);
2497
2497
  }
2498
2498
  }), {
2499
2499
  updatePlace: f,
2500
- setPlace: N,
2500
+ setPlace: h,
2501
2501
  updateCity: C,
2502
- updateRecomandPlace: R,
2503
- placeCandidates: h,
2504
- availableRef: Z
2505
- } = go({
2506
- pointRef: d,
2507
- context: u,
2502
+ updateRecomandPlace: b,
2503
+ placeCandidates: S,
2504
+ availableRef: R
2505
+ } = Io({
2506
+ pointRef: u,
2507
+ context: d,
2508
2508
  getRecomendPlace: i,
2509
2509
  getLimit: (A) => {
2510
2510
  const de = A == null ? void 0 : A.source;
2511
2511
  switch (de) {
2512
2512
  case "drag":
2513
2513
  case "api":
2514
- return po;
2514
+ return yo;
2515
2515
  case "geo":
2516
2516
  case "default":
2517
2517
  return 1 / 0;
@@ -2520,10 +2520,10 @@ const mo = y(function(e, {
2520
2520
  }
2521
2521
  },
2522
2522
  onChangePlace: (A) => {
2523
- u.source !== "recomend" && R(), e("changePlace", A);
2523
+ d.source !== "recomend" && b(), e("changePlace", A);
2524
2524
  },
2525
2525
  onChange: (A) => {
2526
- u.source = "recomend", Object.assign(l, {
2526
+ d.source = "recomend", Object.assign(l, {
2527
2527
  ...A
2528
2528
  }), e("changeRecomandPlace", A);
2529
2529
  },
@@ -2536,33 +2536,33 @@ const mo = y(function(e, {
2536
2536
  ...l
2537
2537
  });
2538
2538
  }), ae(() => {
2539
- a.onChangeRecomendPlaces([...h.value]);
2539
+ a.onChangeRecomendPlaces([...S.value]);
2540
2540
  }), () => {
2541
- const A = p.value ? t.geoLoadingTitle : Z.value ? l.name : t.unavailableTitle, de = Z.value ? h.value.length > 0 ? t.recomendDescription : t.noRecomendDescription : void 0;
2542
- return g(De, {
2541
+ const A = p.value ? t.geoLoadingTitle : R.value ? l.name : t.unavailableTitle, de = R.value ? S.value.length > 0 ? t.recomendDescription : t.noRecomendDescription : void 0;
2542
+ return I(De, {
2543
2543
  attrs: {
2544
- center: d.value,
2544
+ center: u.value,
2545
2545
  zoom: 18,
2546
2546
  mapRef: r,
2547
2547
  log: t.log
2548
2548
  }
2549
- }, [g(be, {
2549
+ }, [I(Te, {
2550
2550
  attrs: {
2551
2551
  position: m.value
2552
2552
  }
2553
- }), g(vo, {
2553
+ }), I(po, {
2554
2554
  attrs: {
2555
- places: h.value,
2555
+ places: S.value,
2556
2556
  log: t.log
2557
2557
  },
2558
2558
  on: {
2559
2559
  click: M
2560
2560
  }
2561
- }), g(la, {
2561
+ }), I(ua, {
2562
2562
  attrs: {
2563
2563
  title: A,
2564
2564
  description: de,
2565
- type: j.value ? "locator" : "box",
2565
+ type: y.value ? "locator" : "box",
2566
2566
  log: t.log
2567
2567
  },
2568
2568
  on: {
@@ -2570,21 +2570,21 @@ const mo = y(function(e, {
2570
2570
  }
2571
2571
  })]);
2572
2572
  };
2573
- }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), yo = [116.2317, 39.5427], gt = (t) => t.lng !== void 0 && t.lat !== void 0, ve = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuMjM2LjgzM2MuNzc4Ljg2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4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2574
- var pe = "_65j3sr1", Ln = "_4a4ovk5", Sn = "_4a4ovk0", Nn = "_4a4ovk2";
2575
- const jo = y(function(e) {
2576
- S(e, "ATaxiCar");
2573
+ }).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), jo = [116.2317, 39.5427], Mt = (t) => t.lng !== void 0 && t.lat !== void 0, ve = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5Mn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LjI5LjIxOC0xLjc0NC4zOC0yLjE3My4yMzMtNS4wNTN6IiBmaWxsPSIjRjJGQUZGIi8+PHBhdGggZD0iTTEyLjA2NyAxOS43MTZsLTQuNjQ1LjY5MmMtLjQzMS0yLjkyLS44MzItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
2574
+ var pe = "_65j3sr1", Sn = "_4a4ovk5", Nn = "_4a4ovk0", hn = "_4a4ovk2";
2575
+ const Ao = j(function(e) {
2576
+ N(e, "ATaxiCar");
2577
2577
  const n = D(() => {
2578
2578
  var o;
2579
- const i = e.title ? he(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Ln}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2579
+ const i = e.title ? he(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Sn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2580
2580
  return e.title ? `
2581
- <div class="${Sn}">
2582
- <div class="${Nn}">${i}</div>
2581
+ <div class="${Nn}">
2582
+ <div class="${hn}">${i}</div>
2583
2583
  <img src="${ve}" class="${pe}" style="${a}">
2584
2584
  </div>
2585
2585
  ` : `<img src="${ve}" class="${pe}" style="${a}">`;
2586
2586
  });
2587
- return () => g(B, {
2587
+ return () => I(Y, {
2588
2588
  attrs: {
2589
2589
  position: e.position,
2590
2590
  content: n.value,
@@ -2592,43 +2592,43 @@ const jo = y(function(e) {
2592
2592
  registerOverlay: e.registerOverlay
2593
2593
  }
2594
2594
  });
2595
- }), Ao = y(function(e) {
2596
- S(e, "GTaxiCar");
2595
+ }), Lo = j(function(e) {
2596
+ N(e, "GTaxiCar");
2597
2597
  const n = D(() => {
2598
2598
  var o;
2599
- const i = e.title ? he(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Ln}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2600
- return e.title ? E("div", {
2601
- class: Sn
2599
+ const i = e.title ? he(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Sn}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
2600
+ return e.title ? Z("div", {
2601
+ class: Nn
2602
2602
  }, `
2603
- <div class="${Nn}">${i}</div>
2603
+ <div class="${hn}">${i}</div>
2604
2604
  <img src="${ve}" class="${pe}" style="${a}">
2605
- `) : E("img", {
2605
+ `) : Z("img", {
2606
2606
  class: pe,
2607
2607
  src: ve,
2608
2608
  style: a
2609
2609
  });
2610
2610
  });
2611
- return () => g(Y, {
2611
+ return () => I(V, {
2612
2612
  attrs: {
2613
- position: b(e.position),
2613
+ position: T(e.position),
2614
2614
  content: n.value,
2615
2615
  registerOverlay: e.registerOverlay
2616
2616
  }
2617
2617
  });
2618
- }), Be = y(function(e) {
2618
+ }), Ye = j(function(e) {
2619
2619
  const n = L();
2620
- return () => G(n.supplier === "gmap" ? Ao : jo, {
2620
+ return () => k(n.supplier === "gmap" ? Lo : Ao, {
2621
2621
  attrs: e
2622
2622
  });
2623
- }), Lo = y(function(e) {
2624
- return S(e, "AWalkingLine"), () => {
2623
+ }), So = j(function(e) {
2624
+ return N(e, "AWalkingLine"), () => {
2625
2625
  const {
2626
2626
  path: n
2627
2627
  } = e;
2628
2628
  if (n.length === 0)
2629
2629
  return null;
2630
2630
  const a = 2 * (window.innerWidth * 0.01);
2631
- return g(ie, {
2631
+ return I(ie, {
2632
2632
  attrs: {
2633
2633
  path: n,
2634
2634
  strokeWeight: a,
@@ -2641,15 +2641,15 @@ const jo = y(function(e) {
2641
2641
  }
2642
2642
  });
2643
2643
  };
2644
- }), So = y(function(e) {
2645
- S(e, "GWalkingLine");
2646
- const n = D(() => e.path.map(b));
2644
+ }), No = j(function(e) {
2645
+ N(e, "GWalkingLine");
2646
+ const n = D(() => e.path.map(T));
2647
2647
  return () => {
2648
2648
  const i = n.value;
2649
2649
  if (i.length === 0)
2650
2650
  return null;
2651
2651
  const o = 2 * (window.innerWidth * 0.01), r = o / 4;
2652
- return g(Ie, {
2652
+ return I(Ie, {
2653
2653
  attrs: {
2654
2654
  path: i,
2655
2655
  strokeWeight: o,
@@ -2675,14 +2675,14 @@ const jo = y(function(e) {
2675
2675
  }
2676
2676
  });
2677
2677
  };
2678
- }), hn = y(function(e) {
2678
+ }), Dn = j(function(e) {
2679
2679
  const n = L();
2680
- return () => G(n.supplier === "gmap" ? So : Lo, {
2680
+ return () => k(n.supplier === "gmap" ? No : So, {
2681
2681
  attrs: e
2682
2682
  });
2683
- }), Dn = (t) => {
2684
- const e = z([]), n = new AMap.Walking({});
2685
- return K(
2683
+ }), Cn = (t) => {
2684
+ const e = E([]), n = new AMap.Walking({});
2685
+ return q(
2686
2686
  () => ({ ...t }),
2687
2687
  ({ from: i, to: a }) => {
2688
2688
  n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
@@ -2692,10 +2692,10 @@ const jo = y(function(e) {
2692
2692
  const l = r;
2693
2693
  if (!l.routes)
2694
2694
  return;
2695
- const d = l.routes[0];
2696
- console.log("firstRoute = ", d);
2697
- for (const u of d.steps) {
2698
- const c = u.path.map(({ lng: I, lat: M }) => [I, M]);
2695
+ const u = l.routes[0];
2696
+ console.log("firstRoute = ", u);
2697
+ for (const d of u.steps) {
2698
+ const c = d.path.map(({ lng: g, lat: M }) => [g, M]);
2699
2699
  s = s.concat(c);
2700
2700
  }
2701
2701
  e.value = s;
@@ -2710,9 +2710,9 @@ const jo = y(function(e) {
2710
2710
  });
2711
2711
  }
2712
2712
  ), e;
2713
- }, Cn = (t) => {
2714
- const e = z([]), n = new google.maps.DirectionsService();
2715
- return K(
2713
+ }, xn = (t) => {
2714
+ const e = E([]), n = new google.maps.DirectionsService();
2715
+ return q(
2716
2716
  () => ({ ...t }),
2717
2717
  ({ from: i, to: a }) => {
2718
2718
  n.route(
@@ -2725,11 +2725,11 @@ const jo = y(function(e) {
2725
2725
  switch (r) {
2726
2726
  case google.maps.DirectionsStatus.OK: {
2727
2727
  let s = [];
2728
- const d = o.routes[0].overview_path.map((u) => [
2729
- u.lng(),
2730
- u.lat()
2728
+ const u = o.routes[0].overview_path.map((d) => [
2729
+ d.lng(),
2730
+ d.lat()
2731
2731
  ]);
2732
- s = s.concat(d), e.value = s;
2732
+ s = s.concat(u), e.value = s;
2733
2733
  return;
2734
2734
  }
2735
2735
  case google.maps.DirectionsStatus.ZERO_RESULTS:
@@ -2745,94 +2745,94 @@ const jo = y(function(e) {
2745
2745
  ), e;
2746
2746
  }, Ko = (t) => {
2747
2747
  const { supplier: e } = L();
2748
- return e === "gmap" ? Cn(t) : Dn(t);
2749
- }, No = y(function(e, {
2748
+ return e === "gmap" ? xn(t) : Cn(t);
2749
+ }, ho = j(function(e, {
2750
2750
  slots: n
2751
2751
  }) {
2752
- S(e, "AWalkingRoute");
2753
- const i = Dn(e);
2752
+ N(e, "AWalkingRoute");
2753
+ const i = Cn(e);
2754
2754
  return () => {
2755
2755
  var a;
2756
- return g("div", [(a = n.render) == null ? void 0 : a.call(n, P({
2756
+ return I("div", [(a = n.render) == null ? void 0 : a.call(n, P({
2757
2757
  path: i
2758
2758
  }))]);
2759
2759
  };
2760
- }), ho = y(function(e, {
2760
+ }), Do = j(function(e, {
2761
2761
  slots: n
2762
2762
  }) {
2763
- S(e, "GWalkingRoute");
2764
- const i = Cn(e);
2763
+ N(e, "GWalkingRoute");
2764
+ const i = xn(e);
2765
2765
  return () => {
2766
2766
  var a;
2767
- return g("div", [(a = n.render) == null ? void 0 : a.call(n, P({
2767
+ return I("div", [(a = n.render) == null ? void 0 : a.call(n, P({
2768
2768
  path: i
2769
2769
  }))]);
2770
2770
  };
2771
- }), xn = y(function(e, {
2771
+ }), wn = j(function(e, {
2772
2772
  slots: n
2773
2773
  }) {
2774
2774
  const {
2775
2775
  supplier: i
2776
2776
  } = L();
2777
- return () => G(i === "gmap" ? ho : No, {
2777
+ return () => k(i === "gmap" ? Do : ho, {
2778
2778
  attrs: e,
2779
2779
  scopedSlots: n
2780
2780
  });
2781
2781
  }), ye = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
2782
- var wn = "rrvp0y3", je = "rrvp0y2";
2783
- const Do = y(function(e) {
2784
- S(e, "AWaveCircle");
2785
- const n = D(() => `<img src="${ye}" class="${je}">`), i = D(() => `<img src="${ye}" class="${je} ${wn}">`);
2786
- return () => g("div", [g(B, {
2782
+ var Pn = "rrvp0y3", je = "rrvp0y2";
2783
+ const Co = j(function(e) {
2784
+ N(e, "AWaveCircle");
2785
+ const n = D(() => `<img src="${ye}" class="${je}">`), i = D(() => `<img src="${ye}" class="${je} ${Pn}">`);
2786
+ return () => I("div", [I(Y, {
2787
2787
  attrs: {
2788
2788
  position: e.position,
2789
2789
  anchor: "bottom-center",
2790
2790
  content: n.value
2791
2791
  }
2792
- }), g(B, {
2792
+ }), I(Y, {
2793
2793
  attrs: {
2794
2794
  position: e.position,
2795
2795
  anchor: "bottom-center",
2796
2796
  content: i.value
2797
2797
  }
2798
2798
  })]);
2799
- }), Co = y(function(e) {
2800
- S(e, "GWaveCircle");
2801
- const n = D(() => E("img", {
2799
+ }), xo = j(function(e) {
2800
+ N(e, "GWaveCircle");
2801
+ const n = D(() => Z("img", {
2802
2802
  class: je,
2803
2803
  src: ye
2804
- })), i = D(() => E("img", {
2805
- class: `${je} ${wn}`,
2804
+ })), i = D(() => Z("img", {
2805
+ class: `${je} ${Pn}`,
2806
2806
  src: ye
2807
2807
  }));
2808
2808
  return () => {
2809
- const a = b(e.position);
2810
- return g("div", [g(Y, {
2809
+ const a = T(e.position);
2810
+ return I("div", [I(V, {
2811
2811
  attrs: {
2812
2812
  position: a,
2813
2813
  content: n.value
2814
2814
  }
2815
- }), g(Y, {
2815
+ }), I(V, {
2816
2816
  attrs: {
2817
2817
  position: a,
2818
2818
  content: i.value
2819
2819
  }
2820
2820
  })]);
2821
2821
  };
2822
- }), xo = y(function(e) {
2822
+ }), wo = j(function(e) {
2823
2823
  const n = L();
2824
- return () => G(n.supplier === "gmap" ? Co : Do, {
2824
+ return () => k(n.supplier === "gmap" ? xo : Co, {
2825
2825
  attrs: e
2826
2826
  });
2827
- }), wo = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], It = y((t, {
2827
+ }), Po = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], mt = j((t, {
2828
2828
  emit: e
2829
- }) => (S(t, "SectionDispatching"), H(() => e("mapMounted")), () => {
2829
+ }) => (N(t, "SectionDispatching"), Q(() => e("mapMounted")), () => {
2830
2830
  const {
2831
2831
  from: n,
2832
2832
  title: i,
2833
2833
  registerOverlay: a
2834
2834
  } = t, o = w(n);
2835
- return g("div", [g(O, {
2835
+ return I("div", [I(G, {
2836
2836
  attrs: {
2837
2837
  type: "start",
2838
2838
  position: o,
@@ -2840,12 +2840,12 @@ const Do = y(function(e) {
2840
2840
  registerOverlay: a,
2841
2841
  log: t.log
2842
2842
  }
2843
- }), g(xo, {
2843
+ }), I(wo, {
2844
2844
  attrs: {
2845
2845
  position: o,
2846
2846
  log: t.log
2847
2847
  }
2848
- }), g(k, {
2848
+ }), I(W, {
2849
2849
  attrs: {
2850
2850
  position: o,
2851
2851
  label: n.name,
@@ -2853,9 +2853,9 @@ const Do = y(function(e) {
2853
2853
  log: t.log
2854
2854
  }
2855
2855
  })]);
2856
- })), Po = y((t, {
2856
+ })), bo = j((t, {
2857
2857
  emit: e
2858
- }) => (S(t, "SectionDriverStartService"), H(() => e("mapMounted")), () => {
2858
+ }) => (N(t, "SectionDriverStartService"), Q(() => e("mapMounted")), () => {
2859
2859
  const {
2860
2860
  from: n,
2861
2861
  carPosition: i,
@@ -2863,76 +2863,76 @@ const Do = y(function(e) {
2863
2863
  renderTitle: o,
2864
2864
  registerOverlay: r
2865
2865
  } = t, s = w(n);
2866
- return g("div", [g(O, {
2866
+ return I("div", [I(G, {
2867
2867
  attrs: {
2868
2868
  type: "start",
2869
2869
  position: s,
2870
2870
  registerOverlay: r,
2871
2871
  log: t.log
2872
2872
  }
2873
- }), g(k, {
2873
+ }), I(W, {
2874
2874
  attrs: {
2875
2875
  position: s,
2876
2876
  label: n.name,
2877
2877
  hideIcon: !0,
2878
2878
  log: t.log
2879
2879
  }
2880
- }), g(xe, {
2880
+ }), I(xe, {
2881
2881
  attrs: {
2882
2882
  from: i,
2883
2883
  to: s,
2884
2884
  log: t.log,
2885
2885
  render: ({
2886
2886
  path: l,
2887
- distance: d,
2888
- duration: u
2889
- }) => [g(Ce, {
2887
+ distance: u,
2888
+ duration: d
2889
+ }) => [I(Ce, {
2890
2890
  attrs: {
2891
2891
  path: l,
2892
2892
  log: t.log
2893
2893
  }
2894
- }), g(Be, {
2894
+ }), I(Ye, {
2895
2895
  attrs: {
2896
2896
  position: i,
2897
2897
  title: o({
2898
- distance: d,
2899
- duration: u
2898
+ distance: u,
2899
+ duration: d
2900
2900
  }),
2901
2901
  log: t.log
2902
2902
  }
2903
2903
  })]
2904
2904
  }
2905
- }), g(xn, {
2905
+ }), I(wn, {
2906
2906
  attrs: {
2907
2907
  from: a,
2908
2908
  to: s,
2909
2909
  log: t.log,
2910
2910
  render: ({
2911
2911
  path: l
2912
- }) => g(hn, {
2912
+ }) => I(Dn, {
2913
2913
  attrs: {
2914
2914
  path: l,
2915
2915
  log: t.log
2916
2916
  }
2917
2917
  })
2918
2918
  }
2919
- }), g(be, {
2919
+ }), I(Te, {
2920
2920
  attrs: {
2921
2921
  position: a,
2922
2922
  registerOverlay: r,
2923
2923
  log: t.log
2924
2924
  }
2925
2925
  })]);
2926
- })), bo = y((t, {
2926
+ })), To = j((t, {
2927
2927
  emit: e
2928
- }) => (S(t, "SectionBookDispatched"), H(() => e("mapMounted")), () => {
2928
+ }) => (N(t, "SectionBookDispatched"), Q(() => e("mapMounted")), () => {
2929
2929
  const {
2930
2930
  from: n,
2931
2931
  passengerPosition: i,
2932
2932
  title: a,
2933
2933
  registerOverlay: o
2934
2934
  } = t, r = w(n);
2935
- return g("div", [g(O, {
2935
+ return I("div", [I(G, {
2936
2936
  attrs: {
2937
2937
  type: "start",
2938
2938
  position: r,
@@ -2940,23 +2940,23 @@ const Do = y(function(e) {
2940
2940
  registerOverlay: o,
2941
2941
  log: t.log
2942
2942
  }
2943
- }), g(k, {
2943
+ }), I(W, {
2944
2944
  attrs: {
2945
2945
  position: r,
2946
2946
  label: n.name,
2947
2947
  hideIcon: !0,
2948
2948
  log: t.log
2949
2949
  }
2950
- }), g(be, {
2950
+ }), I(Te, {
2951
2951
  attrs: {
2952
2952
  position: i,
2953
2953
  registerOverlay: o,
2954
2954
  log: t.log
2955
2955
  }
2956
2956
  })]);
2957
- })), To = y((t, {
2957
+ })), zo = j((t, {
2958
2958
  emit: e
2959
- }) => (S(t, "SectionDriverArrived"), H(() => e("mapMounted")), () => {
2959
+ }) => (N(t, "SectionDriverArrived"), Q(() => e("mapMounted")), () => {
2960
2960
  const {
2961
2961
  from: n,
2962
2962
  carPosition: i,
@@ -2964,41 +2964,41 @@ const Do = y(function(e) {
2964
2964
  title: o,
2965
2965
  registerOverlay: r
2966
2966
  } = t, s = w(n);
2967
- return g("div", [g(Be, {
2967
+ return I("div", [I(Ye, {
2968
2968
  attrs: {
2969
2969
  position: i,
2970
2970
  title: o,
2971
2971
  registerOverlay: r,
2972
2972
  log: t.log
2973
2973
  }
2974
- }), g(O, {
2974
+ }), I(G, {
2975
2975
  attrs: {
2976
2976
  type: "start",
2977
2977
  position: s,
2978
2978
  registerOverlay: r,
2979
2979
  log: t.log
2980
2980
  }
2981
- }), g(k, {
2981
+ }), I(W, {
2982
2982
  attrs: {
2983
2983
  position: s,
2984
2984
  label: n.name,
2985
2985
  hideIcon: !0,
2986
2986
  log: t.log
2987
2987
  }
2988
- }), g(xn, {
2988
+ }), I(wn, {
2989
2989
  attrs: {
2990
2990
  from: a,
2991
2991
  to: s,
2992
2992
  log: t.log,
2993
2993
  render: ({
2994
2994
  path: l
2995
- }) => g(hn, {
2995
+ }) => I(Dn, {
2996
2996
  attrs: {
2997
2997
  path: l
2998
2998
  }
2999
2999
  })
3000
3000
  }
3001
- }), g(be, {
3001
+ }), I(Te, {
3002
3002
  attrs: {
3003
3003
  position: a,
3004
3004
  size: "small",
@@ -3006,30 +3006,30 @@ const Do = y(function(e) {
3006
3006
  log: t.log
3007
3007
  }
3008
3008
  })]);
3009
- })), zo = y((t, {
3009
+ })), Ro = j((t, {
3010
3010
  emit: e
3011
- }) => (S(t, "SectionInService"), H(() => e("mapMounted")), () => {
3011
+ }) => (N(t, "SectionInService"), Q(() => e("mapMounted")), () => {
3012
3012
  const {
3013
3013
  to: n,
3014
3014
  carPosition: i,
3015
3015
  renderTitle: a,
3016
3016
  registerOverlay: o
3017
3017
  } = t, r = w(n);
3018
- return g("div", [g(O, {
3018
+ return I("div", [I(G, {
3019
3019
  attrs: {
3020
3020
  type: "end",
3021
3021
  position: r,
3022
3022
  registerOverlay: o,
3023
3023
  log: t.log
3024
3024
  }
3025
- }), g(k, {
3025
+ }), I(W, {
3026
3026
  attrs: {
3027
3027
  position: i,
3028
3028
  label: "'WebSter Dental Plaza'",
3029
3029
  hideIcon: !0,
3030
3030
  log: t.log
3031
3031
  }
3032
- }), g(xe, {
3032
+ }), I(xe, {
3033
3033
  attrs: {
3034
3034
  from: i,
3035
3035
  to: r,
@@ -3037,18 +3037,18 @@ const Do = y(function(e) {
3037
3037
  render: ({
3038
3038
  path: s,
3039
3039
  distance: l,
3040
- duration: d
3041
- }) => [g(Ce, {
3040
+ duration: u
3041
+ }) => [I(Ce, {
3042
3042
  attrs: {
3043
3043
  path: s,
3044
3044
  log: t.log
3045
3045
  }
3046
- }), g(Be, {
3046
+ }), I(Ye, {
3047
3047
  attrs: {
3048
3048
  position: i,
3049
3049
  title: a({
3050
3050
  distance: l,
3051
- duration: d
3051
+ duration: u
3052
3052
  }),
3053
3053
  registerOverlay: o,
3054
3054
  log: t.log
@@ -3056,36 +3056,36 @@ const Do = y(function(e) {
3056
3056
  })]
3057
3057
  }
3058
3058
  })]);
3059
- })), Ro = y((t, {
3059
+ })), Eo = j((t, {
3060
3060
  emit: e
3061
- }) => (S(t, "SectionCanceled"), H(() => e("mapMounted")), () => {
3061
+ }) => (N(t, "SectionCanceled"), Q(() => e("mapMounted")), () => {
3062
3062
  const {
3063
3063
  from: n,
3064
3064
  to: i,
3065
3065
  registerOverlay: a
3066
3066
  } = t, o = w(n), r = w(i);
3067
- return g("div", [g(O, {
3067
+ return I("div", [I(G, {
3068
3068
  attrs: {
3069
3069
  type: "start",
3070
3070
  position: o,
3071
3071
  registerOverlay: a,
3072
3072
  log: t.log
3073
3073
  }
3074
- }), g(O, {
3074
+ }), I(G, {
3075
3075
  attrs: {
3076
3076
  type: "end",
3077
3077
  position: r,
3078
3078
  registerOverlay: a,
3079
3079
  log: t.log
3080
3080
  }
3081
- }), g(k, {
3081
+ }), I(W, {
3082
3082
  attrs: {
3083
3083
  position: o,
3084
3084
  label: n.name,
3085
3085
  hideIcon: !0,
3086
3086
  log: t.log
3087
3087
  }
3088
- }), g(k, {
3088
+ }), I(W, {
3089
3089
  attrs: {
3090
3090
  position: r,
3091
3091
  label: i.name,
@@ -3093,49 +3093,49 @@ const Do = y(function(e) {
3093
3093
  log: t.log
3094
3094
  }
3095
3095
  })]);
3096
- })), Ze = y((t, {
3096
+ })), Oe = j((t, {
3097
3097
  emit: e
3098
- }) => (S(t, "SectionEndService"), H(() => e("mapMounted")), () => {
3098
+ }) => (N(t, "SectionEndService"), Q(() => e("mapMounted")), () => {
3099
3099
  const {
3100
3100
  from: n,
3101
3101
  to: i,
3102
3102
  registerOverlay: a
3103
3103
  } = t, o = w(n), r = w(i);
3104
- return g("div", [g(O, {
3104
+ return I("div", [I(G, {
3105
3105
  attrs: {
3106
3106
  type: "start",
3107
3107
  position: o,
3108
3108
  registerOverlay: a,
3109
3109
  log: t.log
3110
3110
  }
3111
- }), g(O, {
3111
+ }), I(G, {
3112
3112
  attrs: {
3113
3113
  type: "end",
3114
3114
  position: r,
3115
3115
  registerOverlay: a,
3116
3116
  log: t.log
3117
3117
  }
3118
- }), g(k, {
3118
+ }), I(W, {
3119
3119
  attrs: {
3120
3120
  position: o,
3121
3121
  label: n.name,
3122
3122
  hideIcon: !0,
3123
3123
  log: t.log
3124
3124
  }
3125
- }), g(k, {
3125
+ }), I(W, {
3126
3126
  attrs: {
3127
3127
  position: r,
3128
3128
  label: i.name,
3129
3129
  hideIcon: !0,
3130
3130
  log: t.log
3131
3131
  }
3132
- }), g(xe, {
3132
+ }), I(xe, {
3133
3133
  attrs: {
3134
3134
  from: o,
3135
3135
  to: r,
3136
3136
  render: ({
3137
3137
  path: s
3138
- }) => g(Ce, {
3138
+ }) => I(Ce, {
3139
3139
  attrs: {
3140
3140
  path: s,
3141
3141
  done: !0,
@@ -3146,7 +3146,7 @@ const Do = y(function(e) {
3146
3146
  }
3147
3147
  })]);
3148
3148
  })), qo = ce((t) => {
3149
- S(t, "BusinessTaxiServiceMap");
3149
+ N(t, "BusinessTaxiServiceMap");
3150
3150
  const {
3151
3151
  from: e,
3152
3152
  interval: n,
@@ -3158,15 +3158,15 @@ const Do = y(function(e) {
3158
3158
  } = t, {
3159
3159
  setFitView: l
3160
3160
  } = i, {
3161
- geoPosition: d
3162
- } = mn({
3161
+ geoPosition: u
3162
+ } = Pe({
3163
3163
  geoDefaultPosition: w(e)
3164
- }), u = x(w(t.from));
3165
- return T(() => t.driverStatus, (c, I, M) => {
3166
- if (!wo.includes(c))
3164
+ }), d = x(w(t.from));
3165
+ return z(() => t.driverStatus, (c, g, M) => {
3166
+ if (!Po.includes(c))
3167
3167
  return;
3168
3168
  const m = setInterval(() => {
3169
- o().then((v) => u.value = v);
3169
+ o().then((v) => d.value = v);
3170
3170
  }, n);
3171
3171
  M(() => clearInterval(m));
3172
3172
  }, {
@@ -3174,23 +3174,23 @@ const Do = y(function(e) {
3174
3174
  }), () => {
3175
3175
  const {
3176
3176
  driverStatus: c,
3177
- from: I,
3177
+ from: g,
3178
3178
  to: M,
3179
3179
  dispatchingTitle: m,
3180
3180
  bookDispatchingTitle: v,
3181
3181
  bookDispatchedTitle: p,
3182
- driverArrivedTitle: j
3183
- } = t, f = u.value;
3184
- return g(De, {
3182
+ driverArrivedTitle: y
3183
+ } = t, f = d.value;
3184
+ return I(De, {
3185
3185
  attrs: {
3186
- center: w(I),
3186
+ center: w(g),
3187
3187
  zoom: 13,
3188
3188
  mapRef: a,
3189
3189
  log: t.log
3190
3190
  }
3191
- }, [c === "dispatching" ? g(It, {
3191
+ }, [c === "dispatching" ? I(mt, {
3192
3192
  attrs: {
3193
- from: I,
3193
+ from: g,
3194
3194
  title: m,
3195
3195
  registerOverlay: i,
3196
3196
  log: t.log
@@ -3198,9 +3198,9 @@ const Do = y(function(e) {
3198
3198
  on: {
3199
3199
  mapMounted: l
3200
3200
  }
3201
- }) : c === "book-dispatching" ? g(It, {
3201
+ }) : c === "book-dispatching" ? I(mt, {
3202
3202
  attrs: {
3203
- from: I,
3203
+ from: g,
3204
3204
  title: v,
3205
3205
  registerOverlay: i,
3206
3206
  log: t.log
@@ -3208,11 +3208,11 @@ const Do = y(function(e) {
3208
3208
  on: {
3209
3209
  mapMounted: l
3210
3210
  }
3211
- }) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? g(Po, {
3211
+ }) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? I(bo, {
3212
3212
  attrs: {
3213
- from: I,
3213
+ from: g,
3214
3214
  carPosition: f,
3215
- passengerPosition: d.value,
3215
+ passengerPosition: u.value,
3216
3216
  renderTitle: r,
3217
3217
  registerOverlay: i,
3218
3218
  log: t.log
@@ -3220,10 +3220,10 @@ const Do = y(function(e) {
3220
3220
  on: {
3221
3221
  mapMounted: l
3222
3222
  }
3223
- }) : c === "book-dispatched" ? g(bo, {
3223
+ }) : c === "book-dispatched" ? I(To, {
3224
3224
  attrs: {
3225
- from: I,
3226
- passengerPosition: d.value,
3225
+ from: g,
3226
+ passengerPosition: u.value,
3227
3227
  title: p,
3228
3228
  registerOverlay: i,
3229
3229
  log: t.log
@@ -3231,7 +3231,7 @@ const Do = y(function(e) {
3231
3231
  on: {
3232
3232
  mapMounted: l
3233
3233
  }
3234
- }) : c === "inService" ? g(zo, {
3234
+ }) : c === "inService" ? I(Ro, {
3235
3235
  attrs: {
3236
3236
  to: M,
3237
3237
  carPosition: f,
@@ -3242,28 +3242,28 @@ const Do = y(function(e) {
3242
3242
  on: {
3243
3243
  mapMounted: l
3244
3244
  }
3245
- }) : c === "driverArrived" ? g(To, {
3245
+ }) : c === "driverArrived" ? I(zo, {
3246
3246
  attrs: {
3247
- from: I,
3247
+ from: g,
3248
3248
  carPosition: f,
3249
- passengerPosition: d.value,
3250
- title: j,
3249
+ passengerPosition: u.value,
3250
+ title: y,
3251
3251
  registerOverlay: i,
3252
3252
  log: t.log
3253
3253
  },
3254
3254
  on: {
3255
3255
  mapMounted: l
3256
3256
  }
3257
- }) : c === "canceled" || c === "canceling" ? g(Ro, {
3257
+ }) : c === "canceled" || c === "canceling" ? I(Eo, {
3258
3258
  attrs: {
3259
- from: I,
3259
+ from: g,
3260
3260
  to: M,
3261
3261
  registerOverlay: i,
3262
3262
  log: t.log
3263
3263
  }
3264
- }) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? g(Ze, {
3264
+ }) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? I(Oe, {
3265
3265
  attrs: {
3266
- from: I,
3266
+ from: g,
3267
3267
  to: M,
3268
3268
  registerOverlay: i,
3269
3269
  log: t.log
@@ -3273,9 +3273,9 @@ const Do = y(function(e) {
3273
3273
  }
3274
3274
  }) : (
3275
3275
  // 匹配不到就显示灰色路线
3276
- g(Ze, {
3276
+ I(Oe, {
3277
3277
  attrs: {
3278
- from: I,
3278
+ from: g,
3279
3279
  to: M,
3280
3280
  registerOverlay: i,
3281
3281
  log: t.log
@@ -3286,12 +3286,12 @@ const Do = y(function(e) {
3286
3286
  })
3287
3287
  )]);
3288
3288
  };
3289
- }).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), er = y((t) => {
3290
- S(t, "BusinessTaxiEndMap");
3289
+ }).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), er = j((t) => {
3290
+ N(t, "BusinessTaxiEndMap");
3291
3291
  const {
3292
3292
  mapRef: e,
3293
3293
  setMap: n
3294
- } = Pe(), {
3294
+ } = be(), {
3295
3295
  registerFitVeiw: i,
3296
3296
  setFitView: a
3297
3297
  } = we({
@@ -3303,15 +3303,15 @@ const Do = y(function(e) {
3303
3303
  const {
3304
3304
  from: o,
3305
3305
  to: r
3306
- } = t, s = gt(o) && gt(r), l = s ? w(o) : [...yo];
3307
- return g(De, {
3306
+ } = t, s = Mt(o) && Mt(r), l = s ? w(o) : [...jo];
3307
+ return I(De, {
3308
3308
  attrs: {
3309
3309
  center: l,
3310
3310
  zoom: s ? 13 : 3,
3311
3311
  mapRef: n,
3312
3312
  log: t.log
3313
3313
  }
3314
- }, [s && g(Ze, {
3314
+ }, [s && I(Oe, {
3315
3315
  attrs: {
3316
3316
  from: o,
3317
3317
  to: r,
@@ -3323,98 +3323,119 @@ const Do = y(function(e) {
3323
3323
  }
3324
3324
  })]);
3325
3325
  };
3326
- }), Eo = (t) => {
3326
+ }), Zo = () => {
3327
+ const t = L();
3328
+ return { apiMapDistance: (n, i) => {
3329
+ if (t.status === se.SUCCESS)
3330
+ return AMap.GeometryUtil.distance(n, i);
3331
+ } };
3332
+ }, Oo = () => {
3333
+ const t = L();
3334
+ return { apiMapDistance: (n, i) => {
3335
+ if (t.status === se.SUCCESS)
3336
+ return google.maps.geometry.spherical.computeDistanceBetween(T(n), T(i));
3337
+ } };
3338
+ }, Ve = () => {
3339
+ const { supplier: t } = L();
3340
+ return t === "gmap" ? Oo() : Zo();
3341
+ }, Go = (t) => {
3327
3342
  const { city: e } = t, n = x(e);
3328
- Ca(t, "useAmapAutoComplete", n, "cityRef");
3329
- const { readyPromise: i } = L(), a = x(""), o = x([]), { update: r, idx: s } = ee(), l = (u) => {
3330
- n.value = u, r();
3331
- }, d = (u) => {
3332
- a.value = u, r();
3343
+ xa(t, "useAmapAutoComplete", n, "cityRef");
3344
+ const { readyPromise: i } = L(), { apiMapDistance: a } = Ve(), { geoPosition: o } = Pe(), r = x(""), s = x([]), { update: l, idx: u } = te(), d = (g) => {
3345
+ n.value = g, l();
3346
+ }, c = (g) => {
3347
+ r.value = g, l();
3333
3348
  };
3334
- return T(
3335
- () => s.value,
3349
+ return z(
3350
+ () => u.value,
3336
3351
  async () => {
3337
- if (!a.value)
3352
+ if (!r.value)
3338
3353
  return;
3339
- await i, new AMap.PlaceSearch({ city: n.value.name }).search(a.value, (c, I) => {
3340
- switch (c) {
3354
+ await i, new AMap.PlaceSearch({ city: n.value.name }).search(r.value, (M, m) => {
3355
+ const v = o.value;
3356
+ switch (M) {
3341
3357
  case "complete": {
3342
- o.value = I.poiList.pois.map(
3343
- (M) => ({
3344
- lat: M.location.lat,
3345
- lng: M.location.lng,
3346
- name: M.name,
3347
- description: M.address
3348
- })
3358
+ s.value = m.poiList.pois.map(
3359
+ (p) => {
3360
+ const { lat: y, lng: f } = p.location;
3361
+ return {
3362
+ lat: y,
3363
+ lng: f,
3364
+ name: p.name,
3365
+ description: p.address,
3366
+ distance: v ? a(v, [f, y]) : void 0
3367
+ };
3368
+ }
3349
3369
  );
3350
3370
  return;
3351
3371
  }
3352
3372
  case "no_data":
3353
- o.value = [];
3373
+ s.value = [];
3354
3374
  return;
3355
3375
  default:
3356
- throw I;
3376
+ throw m;
3357
3377
  }
3358
3378
  });
3359
3379
  },
3360
3380
  {
3361
3381
  immediate: !0
3362
3382
  }
3363
- ), { setKeyword: d, setCity: l, autoCompletePlaces: o };
3364
- }, Zo = (t) => {
3365
- const { city: e } = t, n = x({ ...e }), { readyPromise: i } = L(), a = x(""), o = x([]), { update: r, idx: s } = ee(), l = (c) => {
3366
- n.value = c, r();
3367
- }, d = (c) => {
3368
- a.value = c, r();
3369
- }, u = document.createElement("div");
3370
- return T(
3371
- () => s.value,
3383
+ ), { setKeyword: c, setCity: d, autoCompletePlaces: s };
3384
+ }, ko = (t) => {
3385
+ const { city: e } = t, n = x({ ...e }), { readyPromise: i } = L(), { apiMapDistance: a } = Ve(), { geoPosition: o } = Pe(), r = x(""), s = x([]), { update: l, idx: u } = te(), d = (M) => {
3386
+ n.value = M, l();
3387
+ }, c = (M) => {
3388
+ r.value = M, l();
3389
+ }, g = document.createElement("div");
3390
+ return z(
3391
+ () => u.value,
3372
3392
  async () => {
3373
- if (!a.value)
3393
+ if (!r.value)
3374
3394
  return;
3375
- await i, new google.maps.places.PlacesService(u).textSearch(
3395
+ await i, new google.maps.places.PlacesService(g).textSearch(
3376
3396
  {
3377
- query: a.value,
3397
+ query: r.value,
3378
3398
  bounds: n.value.bound
3379
3399
  },
3380
- (I, M) => {
3381
- switch (M) {
3400
+ (m, v) => {
3401
+ const p = o.value;
3402
+ switch (v) {
3382
3403
  case google.maps.places.PlacesServiceStatus.OK:
3383
- o.value = I.map(
3384
- ({ geometry: m, name: v, formatted_address: p }) => {
3385
- var j, f, N, C;
3386
- return {
3387
- lng: (f = (j = m == null ? void 0 : m.location) == null ? void 0 : j.lng()) != null ? f : 0,
3388
- lat: (C = (N = m == null ? void 0 : m.location) == null ? void 0 : N.lat()) != null ? C : 0,
3389
- name: v != null ? v : "",
3390
- description: p != null ? p : ""
3391
- };
3392
- }
3393
- );
3404
+ s.value = m.map(({ geometry: y, name: f, formatted_address: h }) => {
3405
+ var S, R, O, U;
3406
+ const C = (R = (S = y == null ? void 0 : y.location) == null ? void 0 : S.lng()) != null ? R : 0, b = (U = (O = y == null ? void 0 : y.location) == null ? void 0 : O.lat()) != null ? U : 0;
3407
+ return {
3408
+ lng: C,
3409
+ lat: b,
3410
+ name: f != null ? f : "",
3411
+ description: h != null ? h : "",
3412
+ distance: p ? a(p, [C, b]) : void 0
3413
+ };
3414
+ });
3394
3415
  return;
3395
3416
  case google.maps.places.PlacesServiceStatus.ZERO_RESULTS:
3396
3417
  case google.maps.places.PlacesServiceStatus.NOT_FOUND:
3397
- o.value = [];
3418
+ s.value = [];
3398
3419
  return;
3399
3420
  }
3400
3421
  }
3401
3422
  );
3402
3423
  }
3403
- ), { setKeyword: d, setCity: l, autoCompletePlaces: o };
3404
- }, Oo = (t) => {
3424
+ ), { setKeyword: c, setCity: d, autoCompletePlaces: s };
3425
+ }, Wo = (t) => {
3405
3426
  const { supplier: e } = L();
3406
- return e === "gmap" ? Zo(t) : Eo(t);
3407
- }, Go = (t) => {
3427
+ return e === "gmap" ? ko(t) : Go(t);
3428
+ }, Uo = (t) => {
3408
3429
  var a;
3409
3430
  const { cityNameRef: e, onChange: n } = t, i = P({ name: (a = e.value) != null ? a : "" });
3410
- return T(
3431
+ return z(
3411
3432
  () => e.value,
3412
3433
  (o) => {
3413
3434
  const r = o != null ? o : "";
3414
3435
  i.name = r, n == null || n({ name: r });
3415
3436
  }
3416
3437
  ), i;
3417
- }, ko = (t) => {
3438
+ }, Bo = (t) => {
3418
3439
  var o;
3419
3440
  const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = L(), a = P({
3420
3441
  name: (o = e.value) != null ? o : "",
@@ -3426,7 +3447,7 @@ const Do = y(function(e) {
3426
3447
  }
3427
3448
  });
3428
3449
  return ae(async () => {
3429
- var c, I;
3450
+ var c, g;
3430
3451
  const r = e.value;
3431
3452
  if (!r)
3432
3453
  return;
@@ -3440,48 +3461,33 @@ const Do = y(function(e) {
3440
3461
  });
3441
3462
  if (l.length !== 1)
3442
3463
  throw new Error("MyError: multiple city found");
3443
- const { geometry: d } = l[0], u = (I = (c = d.bounds) == null ? void 0 : c.toJSON()) != null ? I : d.viewport.toJSON();
3444
- a.name = r, a.bound = u, n == null || n({ name: r, bound: u });
3464
+ const { geometry: u } = l[0], d = (g = (c = u.bounds) == null ? void 0 : c.toJSON()) != null ? g : u.viewport.toJSON();
3465
+ a.name = r, a.bound = d, n == null || n({ name: r, bound: d });
3445
3466
  }), a;
3446
- }, Wo = (t) => {
3467
+ }, Yo = (t) => {
3447
3468
  const { supplier: e } = L();
3448
- return e === "gmap" ? ko(t) : Go(t);
3469
+ return e === "gmap" ? Bo(t) : Uo(t);
3449
3470
  }, tr = (t) => {
3450
- const { cityNameRef: e } = t, n = Wo({
3471
+ const { cityNameRef: e } = t, n = Yo({
3451
3472
  cityNameRef: e,
3452
3473
  onChange: (s) => o(s)
3453
- }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Oo({ city: n, log: t.log });
3474
+ }), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Wo({ city: n, log: t.log });
3454
3475
  return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
3455
3476
  const l = s.target;
3456
3477
  a(l.value);
3457
3478
  } };
3458
3479
  }, nr = () => {
3459
- const { setMap: t, mapRef: e } = Pe(), { registerFitVeiw: n, setFitView: i } = we({
3480
+ const { setMap: t, mapRef: e } = be(), { registerFitVeiw: n, setFitView: i } = we({
3460
3481
  mapRef: e,
3461
3482
  padding: [25, 20, 15, 15]
3462
3483
  });
3463
3484
  return { setMap: t, registerFitVeiw: n, setFitView: i };
3464
- }, Uo = () => {
3465
- const t = L();
3466
- return { apiMapDistance: (n, i) => {
3467
- if (t.status === se.SUCCESS)
3468
- return AMap.GeometryUtil.distance(n, i);
3469
- } };
3470
- }, Bo = () => {
3471
- const t = L();
3472
- return { apiMapDistance: (n, i) => {
3473
- if (t.status === se.SUCCESS)
3474
- return google.maps.geometry.spherical.computeDistanceBetween(b(n), b(i));
3475
- } };
3476
- }, Yo = () => {
3477
- const { supplier: t } = L();
3478
- return t === "gmap" ? Bo() : Uo();
3479
3485
  }, ir = () => {
3480
3486
  const t = P({
3481
3487
  lng: 0,
3482
3488
  lat: 0,
3483
3489
  name: ""
3484
- }), e = x([]), { apiMapDistance: n } = Yo(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3490
+ }), e = x([]), { apiMapDistance: n } = Ve(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
3485
3491
  panToGeoPositionByRecomend: () => {
3486
3492
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
3487
3493
  },
@@ -3504,7 +3510,7 @@ const Do = y(function(e) {
3504
3510
  apiMapDistance: n
3505
3511
  };
3506
3512
  }, ar = () => {
3507
- const { mapRef: t, setMap: e } = Pe(), { registerFitVeiw: n, setFitView: i } = we({
3513
+ const { mapRef: t, setMap: e } = be(), { registerFitVeiw: n, setFitView: i } = we({
3508
3514
  mapRef: t,
3509
3515
  autoFitTimeout: 5e3,
3510
3516
  padding: [25, 20, 15, 15]
@@ -3512,7 +3518,7 @@ const Do = y(function(e) {
3512
3518
  return { setMap: e, registerFitVeiw: n, setFitView: i };
3513
3519
  };
3514
3520
  export {
3515
- la as AbsoluteAddressBox,
3521
+ ua as AbsoluteAddressBox,
3516
3522
  Ho as AddressBox,
3517
3523
  Xo as BusinessQuotingMap,
3518
3524
  _o as BusinessRecomendPlaceMap,
@@ -3522,26 +3528,26 @@ export {
3522
3528
  xe as DrivingRoute,
3523
3529
  De as HeycarMap,
3524
3530
  Qo as MapProvider,
3525
- be as PassengerCircle,
3526
- vo as PickupPoints,
3527
- k as PlaceCircle,
3528
- O as StartEndPoint,
3529
- Be as TaxiCar,
3530
- hn as WalkingLine,
3531
- xn as WalkingRoute,
3532
- xo as WaveCircle,
3531
+ Te as PassengerCircle,
3532
+ po as PickupPoints,
3533
+ W as PlaceCircle,
3534
+ G as StartEndPoint,
3535
+ Ye as TaxiCar,
3536
+ Dn as WalkingLine,
3537
+ wn as WalkingRoute,
3538
+ wo as WaveCircle,
3533
3539
  tr as useBusinessMapAutoComplete,
3534
3540
  nr as useBusinessQuotingMap,
3535
3541
  ir as useBusinessRecomendPlaceMap,
3536
3542
  ar as useBusinessTaxiServiceMap,
3537
3543
  Jo as useDrivingRoute,
3538
- mn as useGeoLocation,
3539
- Pe as useHeycarMap,
3544
+ Pe as useGeoLocation,
3545
+ be as useHeycarMap,
3540
3546
  Fo as useMapAngle,
3541
- ro as useMapDrag,
3547
+ so as useMapDrag,
3542
3548
  we as useMapFitView,
3543
- Yo as useMapGeometry,
3549
+ Ve as useMapGeometry,
3544
3550
  $o as useMapPlace,
3545
- go as useMapRecomendPlace,
3551
+ Io as useMapRecomendPlace,
3546
3552
  Ko as useWalkingRoute
3547
3553
  };