@heycar/heycars-map 0.3.16 → 0.3.18

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