@heycar/heycars-map 0.3.5 → 0.3.7

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