@heycar/heycars-map 0.3.1 → 0.3.3

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