@heycar/heycars-map 0.3.0 → 0.3.2

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