@heycar/heycars-map 0.3.18 → 0.4.1

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