@heycar/heycars-map 0.3.15 → 0.3.17

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