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