@datagouv/components-next 1.4.1-dev.1374.g4dfe0257 → 1.4.1-dev.1376.g1ed2bc83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/{Control-CeBb5PEu.js → Control-DPuXeUqi.js} +3 -12
  2. package/dist/{Datafair.client-LChXlMI3.js → Datafair.client-LlEgG7WU.js} +2 -3
  3. package/dist/{Image-CBQwYbQB.js → Image-DVWRoLLI.js} +7 -22
  4. package/dist/{ImagePreview.client-DWNGZghK.js → ImagePreview.client-Db5dmxMP.js} +2 -3
  5. package/dist/{JsonPreview.client-DCklbUyJ.js → JsonPreview.client-DKy2AexC.js} +4 -6
  6. package/dist/{Layer-BPuffNS-.js → Layer-D_5tYbVm.js} +7 -9
  7. package/dist/{Map-QeL96qbQ.js → Map-CTBJEae_.js} +937 -967
  8. package/dist/{MapContainer.client-B-aQhH35.js → MapContainer.client-Clk9_bbS.js} +8 -10
  9. package/dist/{OSM-DT4I7v8A.js → OSM-B5Zc3qAf.js} +2 -3
  10. package/dist/{PdfPreview.client-1WFiBcXh.js → PdfPreview.client-D3wHTDb9.js} +130 -378
  11. package/dist/{PdfSkeleton-BvU7ERD1.js → PdfSkeleton-nas5Pmia.js} +2 -3
  12. package/dist/{Pmtiles.client-BlbOlwyy.js → Pmtiles.client-NGYdeSJY.js} +151 -350
  13. package/dist/{PreviewError-BfBCBDEx.js → PreviewError-EeaGx3SL.js} +6854 -6849
  14. package/dist/{PreviewWrapper-DvycGC7l.js → PreviewWrapper-BhldDdXK.js} +2 -3
  15. package/dist/{ScaleLine-Cwwk9wJo.js → ScaleLine-C_tuJ6VG.js} +3 -4
  16. package/dist/Tile-8nHSuqcv.js +571 -0
  17. package/dist/{Tile-4WpHaLOZ.js → Tile-Bu5lF4M5.js} +8 -13
  18. package/dist/{TileImage-CZZ4lgsm.js → TileImage-CgO5alXc.js} +105 -113
  19. package/dist/{View-DWqx4Jqr.js → View-Dad8DfSD.js} +25 -51
  20. package/dist/{XmlPreview.client-ClFD8R3a.js → XmlPreview.client-CmGbc3c3.js} +5 -7
  21. package/dist/assets/maplibre-gl-worker-CEzvAyZY.js +10 -0
  22. package/dist/components-next.js +9634 -10210
  23. package/dist/{en-C_qOt4Jn.js → en-OIaJCts4.js} +1 -2
  24. package/dist/{france-JfC0dOuE.js → france-BtSQqcqV.js} +5 -9
  25. package/dist/{hvd-ZlsiTVFh.js → hvd-CTia2VCz.js} +1 -2
  26. package/dist/{inspire-DZQ-yA5f.js → inspire-Cc-Kc4K-.js} +1 -2
  27. package/dist/{leaflet-src-lLkzhpcP.js → leaflet-src-BY_Zq0V0.js} +77 -126
  28. package/dist/{proj-DM6GW1n3.js → proj-COhZ08DR.js} +19 -37
  29. package/dist/{purify.es-D6pPunDo.js → purify.es-CGAWnSTR.js} +4 -27
  30. package/dist/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-DsPmjQRF.js} +2 -3
  31. package/dist/{sl-BxQ_ZY_w.js → sl-CKkMwQhf.js} +1 -2
  32. package/dist/{spd-Cs37HjuR.js → spd-Djcs02gw.js} +1 -2
  33. package/dist/{sr-JDtennFO.js → sr-DabGmchD.js} +1 -2
  34. package/dist/{src-D_UE0st7.js → src-D_o-aUzl.js} +1612 -2428
  35. package/dist/{text-clamp.esm-DRvX2Gzm.js → text-clamp.esm-DE3022VR.js} +3 -5
  36. package/dist/{transform-Ct1GejD-.js → transform-CNeEnSK9.js} +7 -13
  37. package/dist/{vue3-json-viewer-BJgUfh-l.js → vue3-json-viewer-CUx5EFVA.js} +1 -2
  38. package/dist/{vue3-xml-viewer.common-DbJwzvCC.js → vue3-xml-viewer.common-C0bbtsGT.js} +2 -3
  39. package/package.json +2 -2
  40. package/dist/Tile-BV44yf69.js +0 -574
  41. package/dist/assets/maplibre-gl-worker-C24SsKwV.js +0 -10
@@ -1,19 +1,19 @@
1
- import { r as e } from "./rolldown-runtime-CEFd7nDs.js";
2
- import { c as t, i as n, l as r, n as i, o as a, r as o, t as s, u as c } from "./Control-CeBb5PEu.js";
3
- import { $t as l, B as u, Bt as d, F as f, Gt as p, Kt as m, Ot as h, P as g, R as _, Rt as v, St as y, Ut as ee, Wt as b, X as te, Xt as x, Yt as ne, an as S, cn as C, ct as re, dn as ie, dt as ae, et as oe, in as se, jt as ce, l as le, ln as ue, on as w, un as de, v as fe, wt as pe, zt as T } from "./proj-DM6GW1n3.js";
4
- import { C as me, S as he, _ as ge, a as E, b as _e, c as ve, d as ye, f as be, l as xe, o as Se, p as D, r as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./Image-CBQwYbQB.js";
5
- import { E as ke, S as O, i as Ae, n as je, o as Me, r as Ne, s as Pe, w as Fe } from "./transform-Ct1GejD-.js";
6
- import { a as Ie, i as Le, o as Re, t as ze } from "./View-DWqx4Jqr.js";
7
- import { a as Be, c as Ve, d as He, f as Ue, i as We, l as Ge, n as Ke, o as qe, p as Je, r as Ye, s as Xe, t as Ze, u as Qe } from "./Layer-BPuffNS-.js";
8
- //#region ../node_modules/ol/CollectionEventType.js
9
- var k = {
1
+ import { r as e } from "./rolldown-runtime-DsPmjQRF.js";
2
+ import { $t as t, B as n, Bt as r, F as i, Gt as a, Kt as o, Ot as s, P as c, R as l, Rt as u, St as d, Ut as f, Wt as p, X as m, Xt as h, Yt as g, an as _, cn as v, ct as ee, dn as y, dt as b, et as te, in as x, jt as ne, l as re, ln as ie, on as S, un as ae, v as oe, wt as se, zt as C } from "./proj-COhZ08DR.js";
3
+ import { C as ce, S as le, _ as ue, a as w, b as de, c as fe, d as pe, f as me, l as he, o as ge, p as T, r as _e, u as ve, v as ye, w as be, x as xe, y as Se } from "./Image-DVWRoLLI.js";
4
+ import { c as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, t as ke, u as Ae } from "./Control-DPuXeUqi.js";
5
+ import { E as je, S as E, i as Me, n as Ne, o as Pe, r as Fe, s as Ie, w as Le } from "./transform-CNeEnSK9.js";
6
+ import { a as Re, i as ze, o as Be, t as Ve } from "./View-Dad8DfSD.js";
7
+ import { a as He, c as Ue, d as We, f as Ge, i as Ke, l as qe, n as Je, o as Ye, p as Xe, r as Ze, s as Qe, t as $e, u as et } from "./Layer-D_5tYbVm.js";
8
+ // ../node_modules/ol/CollectionEventType.js
9
+ var D = {
10
10
  ADD: "add",
11
11
  REMOVE: "remove"
12
- }, $e = { LENGTH: "length" }, et = class extends b {
12
+ }, tt = { LENGTH: "length" }, nt = class extends p {
13
13
  constructor(e, t, n) {
14
14
  super(e), this.element = t, this.index = n;
15
15
  }
16
- }, A = class extends v {
16
+ }, O = class extends u {
17
17
  constructor(e, t) {
18
18
  if (super(), this.on, this.once, this.un, t ||= {}, this.unique_ = !!t.unique, this.array_ = e ?? [], this.unique_) for (let e = 1, t = this.array_.length; e < t; ++e) this.assertUnique_(this.array_[e], e);
19
19
  this.updateLength_();
@@ -36,11 +36,11 @@ var k = {
36
36
  return this.array_[e];
37
37
  }
38
38
  getLength() {
39
- return this.get($e.LENGTH);
39
+ return this.get(tt.LENGTH);
40
40
  }
41
41
  insertAt(e, t) {
42
42
  if (e < 0 || e > this.getLength()) throw Error("Index out of bounds: " + e);
43
- this.unique_ && this.assertUnique_(t), this.array_.splice(e, 0, t), this.updateLength_(), this.dispatchEvent(new et(k.ADD, t, e));
43
+ this.unique_ && this.assertUnique_(t), this.array_.splice(e, 0, t), this.updateLength_(), this.dispatchEvent(new nt(D.ADD, t, e));
44
44
  }
45
45
  pop() {
46
46
  return this.removeAt(this.getLength() - 1);
@@ -56,7 +56,7 @@ var k = {
56
56
  removeAt(e) {
57
57
  if (e < 0 || e >= this.getLength()) return;
58
58
  let t = this.array_[e];
59
- return this.array_.splice(e, 1), this.updateLength_(), this.dispatchEvent(new et(k.REMOVE, t, e)), t;
59
+ return this.array_.splice(e, 1), this.updateLength_(), this.dispatchEvent(new nt(D.REMOVE, t, e)), t;
60
60
  }
61
61
  setAt(e, t) {
62
62
  if (e >= this.getLength()) {
@@ -66,42 +66,40 @@ var k = {
66
66
  if (e < 0) throw Error("Index out of bounds: " + e);
67
67
  this.unique_ && this.assertUnique_(t, e);
68
68
  let n = this.array_[e];
69
- this.array_[e] = t, this.dispatchEvent(new et(k.REMOVE, n, e)), this.dispatchEvent(new et(k.ADD, t, e));
69
+ this.array_[e] = t, this.dispatchEvent(new nt(D.REMOVE, n, e)), this.dispatchEvent(new nt(D.ADD, t, e));
70
70
  }
71
71
  updateLength_() {
72
- this.set($e.LENGTH, this.array_.length);
72
+ this.set(tt.LENGTH, this.array_.length);
73
73
  }
74
74
  assertUnique_(e, t) {
75
75
  let n = this.array_;
76
76
  for (let r = 0, i = n.length; r < i; ++r) if (n[r] === e && r !== t) throw Error("Duplicate item added to a unique collection");
77
77
  }
78
78
  };
79
- //#endregion
80
- //#region ../node_modules/quickselect/index.js
81
- function tt(e, t, n = 0, r = e.length - 1, i = rt) {
79
+ // ../node_modules/quickselect/index.js
80
+ function rt(e, t, n = 0, r = e.length - 1, i = at) {
82
81
  for (; r > n;) {
83
82
  if (r - n > 600) {
84
83
  let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
85
- tt(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
84
+ rt(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
86
85
  }
87
86
  let a = e[t], o = n, s = r;
88
- for (nt(e, n, t), i(e[r], a) > 0 && nt(e, n, r); o < s;) {
89
- for (nt(e, o, s), o++, s--; i(e[o], a) < 0;) o++;
87
+ for (it(e, n, t), i(e[r], a) > 0 && it(e, n, r); o < s;) {
88
+ for (it(e, o, s), o++, s--; i(e[o], a) < 0;) o++;
90
89
  for (; i(e[s], a) > 0;) s--;
91
90
  }
92
- i(e[n], a) === 0 ? nt(e, n, s) : (s++, nt(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
91
+ i(e[n], a) === 0 ? it(e, n, s) : (s++, it(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
93
92
  }
94
93
  }
95
- function nt(e, t, n) {
94
+ function it(e, t, n) {
96
95
  let r = e[t];
97
96
  e[t] = e[n], e[n] = r;
98
97
  }
99
- function rt(e, t) {
98
+ function at(e, t) {
100
99
  return e < t ? -1 : +(e > t);
101
100
  }
102
- //#endregion
103
- //#region ../node_modules/rbush/index.js
104
- var it = class {
101
+ // ../node_modules/rbush/index.js
102
+ var ot = class {
105
103
  constructor(e = 9) {
106
104
  this._maxEntries = Math.max(4, e), this._minEntries = Math.max(2, Math.ceil(this._maxEntries * .4)), this.clear();
107
105
  }
@@ -110,12 +108,12 @@ var it = class {
110
108
  }
111
109
  search(e) {
112
110
  let t = this.data, n = [];
113
- if (!gt(e, t)) return n;
111
+ if (!vt(e, t)) return n;
114
112
  let r = this.toBBox, i = [];
115
113
  for (; t;) {
116
114
  for (let a = 0; a < t.children.length; a++) {
117
115
  let o = t.children[a], s = t.leaf ? r(o) : o;
118
- gt(e, s) && (t.leaf ? n.push(o) : ht(e, s) ? this._all(o, n) : i.push(o));
116
+ vt(e, s) && (t.leaf ? n.push(o) : _t(e, s) ? this._all(o, n) : i.push(o));
119
117
  }
120
118
  t = i.pop();
121
119
  }
@@ -123,13 +121,13 @@ var it = class {
123
121
  }
124
122
  collides(e) {
125
123
  let t = this.data;
126
- if (!gt(e, t)) return !1;
124
+ if (!vt(e, t)) return !1;
127
125
  let n = [];
128
126
  for (; t;) {
129
127
  for (let r = 0; r < t.children.length; r++) {
130
128
  let i = t.children[r], a = t.leaf ? this.toBBox(i) : i;
131
- if (gt(e, a)) {
132
- if (t.leaf || ht(e, a)) return !0;
129
+ if (vt(e, a)) {
130
+ if (t.leaf || _t(e, a)) return !0;
133
131
  n.push(i);
134
132
  }
135
133
  }
@@ -159,17 +157,17 @@ var it = class {
159
157
  return e && this._insert(e, this.data.height - 1), this;
160
158
  }
161
159
  clear() {
162
- return this.data = _t([]), this;
160
+ return this.data = yt([]), this;
163
161
  }
164
162
  remove(e, t) {
165
163
  if (!e) return this;
166
164
  let n = this.data, r = this.toBBox(e), i = [], a = [], o, s, c;
167
165
  for (; n || i.length;) {
168
166
  if (n || (n = i.pop(), s = i[i.length - 1], o = a.pop(), c = !0), n.leaf) {
169
- let r = at(e, n.children, t);
167
+ let r = st(e, n.children, t);
170
168
  if (r !== -1) return n.children.splice(r, 1), i.push(n), this._condense(i), this;
171
169
  }
172
- !c && !n.leaf && ht(n, r) ? (i.push(n), a.push(o), o = 0, s = n, n = n.children[0]) : s ? (o++, n = s.children[o], c = !1) : n = null;
170
+ !c && !n.leaf && _t(n, r) ? (i.push(n), a.push(o), o = 0, s = n, n = n.children[0]) : s ? (o++, n = s.children[o], c = !1) : n = null;
173
171
  }
174
172
  return this;
175
173
  }
@@ -195,25 +193,25 @@ var it = class {
195
193
  }
196
194
  _build(e, t, n, r) {
197
195
  let i = n - t + 1, a = this._maxEntries, o;
198
- if (i <= a) return o = _t(e.slice(t, n + 1)), ot(o, this.toBBox), o;
199
- r || (r = Math.ceil(Math.log(i) / Math.log(a)), a = Math.ceil(i / a ** (r - 1))), o = _t([]), o.leaf = !1, o.height = r;
196
+ if (i <= a) return o = yt(e.slice(t, n + 1)), ct(o, this.toBBox), o;
197
+ r || (r = Math.ceil(Math.log(i) / Math.log(a)), a = Math.ceil(i / a ** (r - 1))), o = yt([]), o.leaf = !1, o.height = r;
200
198
  let s = Math.ceil(i / a), c = s * Math.ceil(Math.sqrt(a));
201
- vt(e, t, n, c, this.compareMinX);
199
+ bt(e, t, n, c, this.compareMinX);
202
200
  for (let i = t; i <= n; i += c) {
203
201
  let t = Math.min(i + c - 1, n);
204
- vt(e, i, t, s, this.compareMinY);
202
+ bt(e, i, t, s, this.compareMinY);
205
203
  for (let n = i; n <= t; n += s) {
206
204
  let i = Math.min(n + s - 1, t);
207
205
  o.children.push(this._build(e, n, i, r - 1));
208
206
  }
209
207
  }
210
- return ot(o, this.toBBox), o;
208
+ return ct(o, this.toBBox), o;
211
209
  }
212
210
  _chooseSubtree(e, t, n, r) {
213
211
  for (; r.push(t), !(t.leaf || r.length - 1 === n);) {
214
212
  let n = Infinity, r = Infinity, i;
215
213
  for (let a = 0; a < t.children.length; a++) {
216
- let o = t.children[a], s = dt(o), c = pt(e, o) - s;
214
+ let o = t.children[a], s = pt(o), c = ht(e, o) - s;
217
215
  c < r ? (r = c, n = s < n ? s : n, i = o) : c === r && s < n && (n = s, i = o);
218
216
  }
219
217
  t = i || t.children[0];
@@ -222,95 +220,95 @@ var it = class {
222
220
  }
223
221
  _insert(e, t, n) {
224
222
  let r = n ? e : this.toBBox(e), i = [], a = this._chooseSubtree(r, this.data, t, i);
225
- for (a.children.push(e), ct(a, r); t >= 0 && i[t].children.length > this._maxEntries;) this._split(i, t), t--;
223
+ for (a.children.push(e), ut(a, r); t >= 0 && i[t].children.length > this._maxEntries;) this._split(i, t), t--;
226
224
  this._adjustParentBBoxes(r, i, t);
227
225
  }
228
226
  _split(e, t) {
229
227
  let n = e[t], r = n.children.length, i = this._minEntries;
230
228
  this._chooseSplitAxis(n, i, r);
231
- let a = this._chooseSplitIndex(n, i, r), o = _t(n.children.splice(a, n.children.length - a));
232
- o.height = n.height, o.leaf = n.leaf, ot(n, this.toBBox), ot(o, this.toBBox), t ? e[t - 1].children.push(o) : this._splitRoot(n, o);
229
+ let a = this._chooseSplitIndex(n, i, r), o = yt(n.children.splice(a, n.children.length - a));
230
+ o.height = n.height, o.leaf = n.leaf, ct(n, this.toBBox), ct(o, this.toBBox), t ? e[t - 1].children.push(o) : this._splitRoot(n, o);
233
231
  }
234
232
  _splitRoot(e, t) {
235
- this.data = _t([e, t]), this.data.height = e.height + 1, this.data.leaf = !1, ot(this.data, this.toBBox);
233
+ this.data = yt([e, t]), this.data.height = e.height + 1, this.data.leaf = !1, ct(this.data, this.toBBox);
236
234
  }
237
235
  _chooseSplitIndex(e, t, n) {
238
236
  let r, i = Infinity, a = Infinity;
239
237
  for (let o = t; o <= n - t; o++) {
240
- let t = st(e, 0, o, this.toBBox), s = st(e, o, n, this.toBBox), c = mt(t, s), l = dt(t) + dt(s);
238
+ let t = lt(e, 0, o, this.toBBox), s = lt(e, o, n, this.toBBox), c = gt(t, s), l = pt(t) + pt(s);
241
239
  c < i ? (i = c, r = o, a = l < a ? l : a) : c === i && l < a && (a = l, r = o);
242
240
  }
243
241
  return r || n - t;
244
242
  }
245
243
  _chooseSplitAxis(e, t, n) {
246
- let r = e.leaf ? this.compareMinX : lt, i = e.leaf ? this.compareMinY : ut;
244
+ let r = e.leaf ? this.compareMinX : dt, i = e.leaf ? this.compareMinY : ft;
247
245
  this._allDistMargin(e, t, n, r) < this._allDistMargin(e, t, n, i) && e.children.sort(r);
248
246
  }
249
247
  _allDistMargin(e, t, n, r) {
250
248
  e.children.sort(r);
251
- let i = this.toBBox, a = st(e, 0, t, i), o = st(e, n - t, n, i), s = ft(a) + ft(o);
249
+ let i = this.toBBox, a = lt(e, 0, t, i), o = lt(e, n - t, n, i), s = mt(a) + mt(o);
252
250
  for (let r = t; r < n - t; r++) {
253
251
  let t = e.children[r];
254
- ct(a, e.leaf ? i(t) : t), s += ft(a);
252
+ ut(a, e.leaf ? i(t) : t), s += mt(a);
255
253
  }
256
254
  for (let r = n - t - 1; r >= t; r--) {
257
255
  let t = e.children[r];
258
- ct(o, e.leaf ? i(t) : t), s += ft(o);
256
+ ut(o, e.leaf ? i(t) : t), s += mt(o);
259
257
  }
260
258
  return s;
261
259
  }
262
260
  _adjustParentBBoxes(e, t, n) {
263
- for (let r = n; r >= 0; r--) ct(t[r], e);
261
+ for (let r = n; r >= 0; r--) ut(t[r], e);
264
262
  }
265
263
  _condense(e) {
266
- for (let t = e.length - 1, n; t >= 0; t--) e[t].children.length === 0 ? t > 0 ? (n = e[t - 1].children, n.splice(n.indexOf(e[t]), 1)) : this.clear() : ot(e[t], this.toBBox);
264
+ for (let t = e.length - 1, n; t >= 0; t--) e[t].children.length === 0 ? t > 0 ? (n = e[t - 1].children, n.splice(n.indexOf(e[t]), 1)) : this.clear() : ct(e[t], this.toBBox);
267
265
  }
268
266
  };
269
- function at(e, t, n) {
267
+ function st(e, t, n) {
270
268
  if (!n) return t.indexOf(e);
271
269
  for (let r = 0; r < t.length; r++) if (n(e, t[r])) return r;
272
270
  return -1;
273
271
  }
274
- function ot(e, t) {
275
- st(e, 0, e.children.length, t, e);
272
+ function ct(e, t) {
273
+ lt(e, 0, e.children.length, t, e);
276
274
  }
277
- function st(e, t, n, r, i) {
278
- i ||= _t(null), i.minX = Infinity, i.minY = Infinity, i.maxX = -Infinity, i.maxY = -Infinity;
275
+ function lt(e, t, n, r, i) {
276
+ i ||= yt(null), i.minX = Infinity, i.minY = Infinity, i.maxX = -Infinity, i.maxY = -Infinity;
279
277
  for (let a = t; a < n; a++) {
280
278
  let t = e.children[a];
281
- ct(i, e.leaf ? r(t) : t);
279
+ ut(i, e.leaf ? r(t) : t);
282
280
  }
283
281
  return i;
284
282
  }
285
- function ct(e, t) {
283
+ function ut(e, t) {
286
284
  return e.minX = Math.min(e.minX, t.minX), e.minY = Math.min(e.minY, t.minY), e.maxX = Math.max(e.maxX, t.maxX), e.maxY = Math.max(e.maxY, t.maxY), e;
287
285
  }
288
- function lt(e, t) {
286
+ function dt(e, t) {
289
287
  return e.minX - t.minX;
290
288
  }
291
- function ut(e, t) {
289
+ function ft(e, t) {
292
290
  return e.minY - t.minY;
293
291
  }
294
- function dt(e) {
292
+ function pt(e) {
295
293
  return (e.maxX - e.minX) * (e.maxY - e.minY);
296
294
  }
297
- function ft(e) {
295
+ function mt(e) {
298
296
  return e.maxX - e.minX + (e.maxY - e.minY);
299
297
  }
300
- function pt(e, t) {
298
+ function ht(e, t) {
301
299
  return (Math.max(t.maxX, e.maxX) - Math.min(t.minX, e.minX)) * (Math.max(t.maxY, e.maxY) - Math.min(t.minY, e.minY));
302
300
  }
303
- function mt(e, t) {
301
+ function gt(e, t) {
304
302
  let n = Math.max(e.minX, t.minX), r = Math.max(e.minY, t.minY), i = Math.min(e.maxX, t.maxX), a = Math.min(e.maxY, t.maxY);
305
303
  return Math.max(0, i - n) * Math.max(0, a - r);
306
304
  }
307
- function ht(e, t) {
305
+ function _t(e, t) {
308
306
  return e.minX <= t.minX && e.minY <= t.minY && t.maxX <= e.maxX && t.maxY <= e.maxY;
309
307
  }
310
- function gt(e, t) {
308
+ function vt(e, t) {
311
309
  return t.minX <= e.maxX && t.minY <= e.maxY && t.maxX >= e.minX && t.maxY >= e.minY;
312
310
  }
313
- function _t(e) {
311
+ function yt(e) {
314
312
  return {
315
313
  children: e,
316
314
  height: 1,
@@ -321,20 +319,19 @@ function _t(e) {
321
319
  maxY: -Infinity
322
320
  };
323
321
  }
324
- function vt(e, t, n, r, i) {
322
+ function bt(e, t, n, r, i) {
325
323
  let a = [t, n];
326
324
  for (; a.length;) {
327
325
  if (n = a.pop(), t = a.pop(), n - t <= r) continue;
328
326
  let o = t + Math.ceil((n - t) / r / 2) * r;
329
- tt(e, o, t, n, i), a.push(t, o, o, n);
327
+ rt(e, o, t, n, i), a.push(t, o, o, n);
330
328
  }
331
329
  }
332
- //#endregion
333
- //#region ../node_modules/ol/MapBrowserEventType.js
334
- var j = {
330
+ // ../node_modules/ol/MapBrowserEventType.js
331
+ var k = {
335
332
  SINGLECLICK: "singleclick",
336
- CLICK: S.CLICK,
337
- DBLCLICK: S.DBLCLICK,
333
+ CLICK: _.CLICK,
334
+ DBLCLICK: _.DBLCLICK,
338
335
  POINTERDRAG: "pointerdrag",
339
336
  POINTERMOVE: "pointermove",
340
337
  POINTERDOWN: "pointerdown",
@@ -344,12 +341,12 @@ var j = {
344
341
  POINTERENTER: "pointerenter",
345
342
  POINTERLEAVE: "pointerleave",
346
343
  POINTERCANCEL: "pointercancel"
347
- }, yt = { ACTIVE: "active" }, bt = class extends v {
344
+ }, xt = { ACTIVE: "active" }, St = class extends u {
348
345
  constructor(e) {
349
346
  super(), this.on, this.once, this.un, e && e.handleEvent && (this.handleEvent = e.handleEvent), this.map_ = null, this.setActive(!0);
350
347
  }
351
348
  getActive() {
352
- return this.get(yt.ACTIVE);
349
+ return this.get(xt.ACTIVE);
353
350
  }
354
351
  getMap() {
355
352
  return this.map_;
@@ -358,24 +355,24 @@ var j = {
358
355
  return !0;
359
356
  }
360
357
  setActive(e) {
361
- this.set(yt.ACTIVE, e);
358
+ this.set(xt.ACTIVE, e);
362
359
  }
363
360
  setMap(e) {
364
361
  this.map_ = e;
365
362
  }
366
363
  };
367
- function xt(e, t, n) {
364
+ function Ct(e, t, n) {
368
365
  let r = e.getCenterInternal();
369
366
  if (r) {
370
367
  let i = [r[0] + t[0], r[1] + t[1]];
371
368
  e.animateInternal({
372
369
  duration: n === void 0 ? 250 : n,
373
- easing: ke,
370
+ easing: je,
374
371
  center: e.getConstrainedCenter(i)
375
372
  });
376
373
  }
377
374
  }
378
- function St(e, t, n, r) {
375
+ function wt(e, t, n, r) {
379
376
  let i = e.getZoom();
380
377
  if (i === void 0) return;
381
378
  let a = e.getConstrainedZoom(i + t), o = e.getResolutionForZoom(a);
@@ -383,12 +380,11 @@ function St(e, t, n, r) {
383
380
  resolution: o,
384
381
  anchor: n,
385
382
  duration: r === void 0 ? 250 : r,
386
- easing: Fe
383
+ easing: Le
387
384
  });
388
385
  }
389
- //#endregion
390
- //#region ../node_modules/ol/Kinetic.js
391
- var Ct = class {
386
+ // ../node_modules/ol/Kinetic.js
387
+ var Tt = class {
392
388
  constructor(e, t, n) {
393
389
  this.decay_ = e, this.minVelocity_ = t, this.delay_ = n, this.points_ = [], this.angle_ = 0, this.initialVelocity_ = 0;
394
390
  }
@@ -415,22 +411,21 @@ var Ct = class {
415
411
  getAngle() {
416
412
  return this.angle_;
417
413
  }
418
- }, wt = class extends bt {
414
+ }, Et = class extends St {
419
415
  constructor(e) {
420
416
  super(), e ||= {}, this.delta_ = e.delta ? e.delta : 1, this.duration_ = e.duration === void 0 ? 250 : e.duration;
421
417
  }
422
418
  handleEvent(e) {
423
419
  let t = !1;
424
- if (e.type == j.DBLCLICK) {
420
+ if (e.type == k.DBLCLICK) {
425
421
  let n = e.originalEvent, r = e.map, i = e.coordinate, a = n.shiftKey ? -this.delta_ : this.delta_;
426
- St(r.getView(), a, i, this.duration_), n.preventDefault(), t = !0;
422
+ wt(r.getView(), a, i, this.duration_), n.preventDefault(), t = !0;
427
423
  }
428
424
  return !t;
429
425
  }
430
426
  };
431
- //#endregion
432
- //#region ../node_modules/ol/events/condition.js
433
- function Tt(e) {
427
+ // ../node_modules/ol/events/condition.js
428
+ function Dt(e) {
434
429
  let t = arguments;
435
430
  return function(e) {
436
431
  let n = !0;
@@ -438,44 +433,44 @@ function Tt(e) {
438
433
  return n;
439
434
  };
440
435
  }
441
- var Et = function(e) {
436
+ var Ot = function(e) {
442
437
  let t = e.originalEvent;
443
438
  return t.altKey && !(t.metaKey || t.ctrlKey) && !t.shiftKey;
444
- }, Dt = function(e) {
439
+ }, kt = function(e) {
445
440
  let t = e.originalEvent;
446
441
  return t.altKey && !(t.metaKey || t.ctrlKey) && t.shiftKey;
447
- }, Ot = function(e) {
442
+ }, At = function(e) {
448
443
  let t = e.map.getTargetElement(), n = t.getRootNode(), r = e.map.getOwnerDocument().activeElement;
449
444
  return n instanceof ShadowRoot ? n.host.contains(r) : t.contains(r);
450
- }, kt = function(e) {
445
+ }, jt = function(e) {
451
446
  let t = e.map.getTargetElement(), n = t.getRootNode();
452
- return !(n instanceof ShadowRoot ? n.host : t).hasAttribute("tabindex") || Ot(e);
453
- }, At = m, jt = function(e) {
447
+ return !(n instanceof ShadowRoot ? n.host : t).hasAttribute("tabindex") || At(e);
448
+ }, Mt = o, Nt = function(e) {
454
449
  let t = e.originalEvent;
455
- return "pointerId" in t && t.button == 0 && !(me && De && t.ctrlKey);
456
- }, Mt = p, Nt = function(e) {
450
+ return "pointerId" in t && t.button == 0 && !(ce && xe && t.ctrlKey);
451
+ }, Pt = a, Ft = function(e) {
457
452
  return e.type == "pointermove";
458
- }, Pt = function(e) {
459
- return e.type == j.SINGLECLICK;
460
- }, Ft = function(e) {
453
+ }, It = function(e) {
454
+ return e.type == k.SINGLECLICK;
455
+ }, Lt = function(e) {
461
456
  let t = e.originalEvent;
462
457
  return !t.altKey && !(t.metaKey || t.ctrlKey) && !t.shiftKey;
463
- }, It = function(e) {
458
+ }, Rt = function(e) {
464
459
  let t = e.originalEvent;
465
- return De ? t.metaKey : t.ctrlKey;
466
- }, Lt = function(e) {
460
+ return xe ? t.metaKey : t.ctrlKey;
461
+ }, zt = function(e) {
467
462
  let t = e.originalEvent;
468
463
  return !t.altKey && !(t.metaKey || t.ctrlKey) && t.shiftKey;
469
- }, Rt = function(e) {
464
+ }, Bt = function(e) {
470
465
  let t = e.originalEvent, n = t.target.tagName;
471
466
  return n !== "INPUT" && n !== "SELECT" && n !== "TEXTAREA" && !t.target.isContentEditable;
472
- }, zt = function(e) {
467
+ }, Vt = function(e) {
473
468
  let t = e.originalEvent;
474
469
  return "pointerId" in t && t.pointerType == "mouse";
475
- }, Bt = function(e) {
470
+ }, Ht = function(e) {
476
471
  let t = e.originalEvent;
477
472
  return "pointerId" in t && t.isPrimary && t.button === 0;
478
- }, Vt = class extends bt {
473
+ }, Ut = class extends St {
479
474
  constructor(e) {
480
475
  e ||= {}, super(e), e.handleDownEvent && (this.handleDownEvent = e.handleDownEvent), e.handleDragEvent && (this.handleDragEvent = e.handleDragEvent), e.handleMoveEvent && (this.handleMoveEvent = e.handleMoveEvent), e.handleUpEvent && (this.handleUpEvent = e.handleUpEvent), e.stopDown && (this.stopDown = e.stopDown), this.handlingDownUpSequence = !1, this.targetPointers = [];
481
476
  }
@@ -490,15 +485,15 @@ var Et = function(e) {
490
485
  if (!e.originalEvent) return !0;
491
486
  let t = !1;
492
487
  if (this.updateTrackedPointers_(e), this.handlingDownUpSequence) {
493
- if (e.type == j.POINTERDRAG) this.handleDragEvent(e), e.originalEvent.preventDefault();
494
- else if (e.type == j.POINTERUP) {
488
+ if (e.type == k.POINTERDRAG) this.handleDragEvent(e), e.originalEvent.preventDefault();
489
+ else if (e.type == k.POINTERUP) {
495
490
  let t = this.handleUpEvent(e);
496
491
  this.handlingDownUpSequence = t && this.targetPointers.length > 0;
497
492
  }
498
- } else if (e.type == j.POINTERDOWN) {
493
+ } else if (e.type == k.POINTERDOWN) {
499
494
  let n = this.handleDownEvent(e);
500
495
  this.handlingDownUpSequence = n, t = this.stopDown(n);
501
- } else e.type == j.POINTERMOVE && this.handleMoveEvent(e);
496
+ } else e.type == k.POINTERMOVE && this.handleMoveEvent(e);
502
497
  return !t;
503
498
  }
504
499
  handleMoveEvent(e) {}
@@ -512,7 +507,7 @@ var Et = function(e) {
512
507
  e.activePointers && (this.targetPointers = e.activePointers);
513
508
  }
514
509
  };
515
- function Ht(e) {
510
+ function Wt(e) {
516
511
  let t = e.length, n = 0, r = 0;
517
512
  for (let i = 0; i < t; i++) n += e[i].clientX, r += e[i].clientY;
518
513
  return {
@@ -520,22 +515,21 @@ function Ht(e) {
520
515
  clientY: r / t
521
516
  };
522
517
  }
523
- //#endregion
524
- //#region ../node_modules/ol/interaction/DragPan.js
525
- var Ut = class extends Vt {
518
+ // ../node_modules/ol/interaction/DragPan.js
519
+ var Gt = class extends Ut {
526
520
  constructor(e) {
527
- super({ stopDown: p }), e ||= {}, this.kinetic_ = e.kinetic, this.lastCentroid = null, this.lastPointersCount_, this.panning_ = !1;
528
- let t = e.condition ? e.condition : Tt(Ft, Bt);
529
- this.condition_ = e.onFocusOnly ? Tt(kt, t) : t, this.noKinetic_ = !1;
521
+ super({ stopDown: a }), e ||= {}, this.kinetic_ = e.kinetic, this.lastCentroid = null, this.lastPointersCount_, this.panning_ = !1;
522
+ let t = e.condition ? e.condition : Dt(Lt, Ht);
523
+ this.condition_ = e.onFocusOnly ? Dt(jt, t) : t, this.noKinetic_ = !1;
530
524
  }
531
525
  handleDragEvent(e) {
532
526
  let t = e.map;
533
527
  this.panning_ || (this.panning_ = !0, t.getView().beginInteraction());
534
- let n = this.targetPointers, r = t.getEventPixel(Ht(n));
528
+ let n = this.targetPointers, r = t.getEventPixel(Wt(n));
535
529
  if (n.length == this.lastPointersCount_) {
536
530
  if (this.kinetic_ && this.kinetic_.update(r[0], r[1]), this.lastCentroid) {
537
531
  let t = [this.lastCentroid[0] - r[0], r[1] - this.lastCentroid[1]], n = e.map.getView();
538
- f(t, n.getResolution()), g(t, n.getRotation()), n.adjustCenterInternal(t);
532
+ i(t, n.getResolution()), c(t, n.getRotation()), n.adjustCenterInternal(t);
539
533
  }
540
534
  } else this.kinetic_ && this.kinetic_.begin();
541
535
  this.lastCentroid = r, this.lastPointersCount_ = n.length, e.originalEvent.preventDefault();
@@ -548,7 +542,7 @@ var Ut = class extends Vt {
548
542
  n.animateInternal({
549
543
  center: n.getConstrainedCenter(o),
550
544
  duration: 500,
551
- easing: Fe
545
+ easing: Le
552
546
  });
553
547
  }
554
548
  return this.panning_ && (this.panning_ = !1, n.endInteraction()), !1;
@@ -562,14 +556,14 @@ var Ut = class extends Vt {
562
556
  }
563
557
  return !1;
564
558
  }
565
- }, Wt = class extends Vt {
559
+ }, Kt = class extends Ut {
566
560
  constructor(e) {
567
- e ||= {}, super({ stopDown: p }), this.condition_ = e.condition ? e.condition : Dt, this.lastAngle_ = void 0, this.duration_ = e.duration === void 0 ? 250 : e.duration;
561
+ e ||= {}, super({ stopDown: a }), this.condition_ = e.condition ? e.condition : kt, this.lastAngle_ = void 0, this.duration_ = e.duration === void 0 ? 250 : e.duration;
568
562
  }
569
563
  handleDragEvent(e) {
570
- if (!zt(e)) return;
564
+ if (!Vt(e)) return;
571
565
  let t = e.map, n = t.getView();
572
- if (n.getConstraints().rotation === Ie) return;
566
+ if (n.getConstraints().rotation === Re) return;
573
567
  let r = t.getSize(), i = e.pixel, a = Math.atan2(r[1] / 2 - i[1], i[0] - r[0] / 2);
574
568
  if (this.lastAngle_ !== void 0) {
575
569
  let e = a - this.lastAngle_;
@@ -578,12 +572,12 @@ var Ut = class extends Vt {
578
572
  this.lastAngle_ = a;
579
573
  }
580
574
  handleUpEvent(e) {
581
- return !zt(e) || (e.map.getView().endInteraction(this.duration_), !1);
575
+ return !Vt(e) || (e.map.getView().endInteraction(this.duration_), !1);
582
576
  }
583
577
  handleDownEvent(e) {
584
- return zt(e) && jt(e) && this.condition_(e) ? (e.map.getView().beginInteraction(), this.lastAngle_ = void 0, !0) : !1;
578
+ return Vt(e) && Nt(e) && this.condition_(e) ? (e.map.getView().beginInteraction(), this.lastAngle_ = void 0, !0) : !1;
585
579
  }
586
- }, Gt = class extends se {
580
+ }, qt = class extends x {
587
581
  constructor(e) {
588
582
  super(), this.geometry_ = null, this.element_ = document.createElement("div"), this.element_.style.position = "absolute", this.element_.style.pointerEvents = "auto", this.element_.className = "ol-box " + e, this.map_ = null, this.startPixel_ = null, this.endPixel_ = null;
589
583
  }
@@ -613,23 +607,23 @@ var Ut = class extends Vt {
613
607
  t,
614
608
  [t[0], e[1]]
615
609
  ].map(this.map_.getCoordinateFromPixelInternal, this.map_);
616
- n[4] = n[0].slice(), this.geometry_ ? this.geometry_.setCoordinates([n]) : this.geometry_ = new Re([n]);
610
+ n[4] = n[0].slice(), this.geometry_ ? this.geometry_.setCoordinates([n]) : this.geometry_ = new Be([n]);
617
611
  }
618
612
  getGeometry() {
619
613
  return this.geometry_;
620
614
  }
621
- }, Kt = {
615
+ }, Jt = {
622
616
  BOXSTART: "boxstart",
623
617
  BOXDRAG: "boxdrag",
624
618
  BOXEND: "boxend",
625
619
  BOXCANCEL: "boxcancel"
626
- }, qt = class extends b {
620
+ }, Yt = class extends p {
627
621
  constructor(e, t, n) {
628
622
  super(e), this.coordinate = t, this.mapBrowserEvent = n;
629
623
  }
630
- }, Jt = class extends Vt {
624
+ }, Xt = class extends Ut {
631
625
  constructor(e) {
632
- super(), this.on, this.once, this.un, e ??= {}, this.box_ = new Gt(e.className || "ol-dragbox"), this.minArea_ = e.minArea ?? 64, e.onBoxEnd && (this.onBoxEnd = e.onBoxEnd), this.startPixel_ = null, this.condition_ = e.condition ?? jt, this.boxEndCondition_ = e.boxEndCondition ?? this.defaultBoxEndCondition;
626
+ super(), this.on, this.once, this.un, e ??= {}, this.box_ = new qt(e.className || "ol-dragbox"), this.minArea_ = e.minArea ?? 64, e.onBoxEnd && (this.onBoxEnd = e.onBoxEnd), this.startPixel_ = null, this.condition_ = e.condition ?? Nt, this.boxEndCondition_ = e.boxEndCondition ?? this.defaultBoxEndCondition;
633
627
  }
634
628
  defaultBoxEndCondition(e, t, n) {
635
629
  let r = n[0] - t[0], i = n[1] - t[1];
@@ -639,27 +633,27 @@ var Ut = class extends Vt {
639
633
  return this.box_.getGeometry();
640
634
  }
641
635
  handleDragEvent(e) {
642
- this.startPixel_ && (this.box_.setPixels(this.startPixel_, e.pixel), this.dispatchEvent(new qt(Kt.BOXDRAG, e.coordinate, e)));
636
+ this.startPixel_ && (this.box_.setPixels(this.startPixel_, e.pixel), this.dispatchEvent(new Yt(Jt.BOXDRAG, e.coordinate, e)));
643
637
  }
644
638
  handleUpEvent(e) {
645
639
  if (!this.startPixel_) return !1;
646
640
  let t = this.boxEndCondition_(e, this.startPixel_, e.pixel);
647
- return t && this.onBoxEnd(e), this.dispatchEvent(new qt(t ? Kt.BOXEND : Kt.BOXCANCEL, e.coordinate, e)), this.box_.setMap(null), this.startPixel_ = null, !1;
641
+ return t && this.onBoxEnd(e), this.dispatchEvent(new Yt(t ? Jt.BOXEND : Jt.BOXCANCEL, e.coordinate, e)), this.box_.setMap(null), this.startPixel_ = null, !1;
648
642
  }
649
643
  handleDownEvent(e) {
650
- return this.condition_(e) ? (this.startPixel_ = e.pixel, this.box_.setMap(e.map), this.box_.setPixels(this.startPixel_, this.startPixel_), this.dispatchEvent(new qt(Kt.BOXSTART, e.coordinate, e)), !0) : !1;
644
+ return this.condition_(e) ? (this.startPixel_ = e.pixel, this.box_.setMap(e.map), this.box_.setPixels(this.startPixel_, this.startPixel_), this.dispatchEvent(new Yt(Jt.BOXSTART, e.coordinate, e)), !0) : !1;
651
645
  }
652
646
  onBoxEnd(e) {}
653
647
  setActive(e) {
654
- e || (this.box_.setMap(null), this.startPixel_ &&= (this.dispatchEvent(new qt(Kt.BOXCANCEL, this.startPixel_, null)), null)), super.setActive(e);
648
+ e || (this.box_.setMap(null), this.startPixel_ &&= (this.dispatchEvent(new Yt(Jt.BOXCANCEL, this.startPixel_, null)), null)), super.setActive(e);
655
649
  }
656
650
  setMap(e) {
657
- this.getMap() && (this.box_.setMap(null), this.startPixel_ &&= (this.dispatchEvent(new qt(Kt.BOXCANCEL, this.startPixel_, null)), null)), super.setMap(e);
651
+ this.getMap() && (this.box_.setMap(null), this.startPixel_ &&= (this.dispatchEvent(new Yt(Jt.BOXCANCEL, this.startPixel_, null)), null)), super.setMap(e);
658
652
  }
659
- }, Yt = class extends Jt {
653
+ }, Zt = class extends Xt {
660
654
  constructor(e) {
661
655
  e ||= {};
662
- let t = e.condition ? e.condition : Lt;
656
+ let t = e.condition ? e.condition : zt;
663
657
  super({
664
658
  condition: t,
665
659
  className: e.className || "ol-dragzoom",
@@ -674,62 +668,62 @@ var Ut = class extends Vt {
674
668
  }
675
669
  t.fitInternal(n, {
676
670
  duration: this.duration_,
677
- easing: Fe
671
+ easing: Le
678
672
  });
679
673
  }
680
- }, Xt = {
674
+ }, Qt = {
681
675
  LEFT: "ArrowLeft",
682
676
  UP: "ArrowUp",
683
677
  RIGHT: "ArrowRight",
684
678
  DOWN: "ArrowDown"
685
- }, Zt = class extends bt {
679
+ }, $t = class extends St {
686
680
  constructor(e) {
687
681
  super(), e ||= {}, this.defaultCondition_ = function(e) {
688
- return Ft(e) && Rt(e);
682
+ return Lt(e) && Bt(e);
689
683
  }, this.condition_ = e.condition === void 0 ? this.defaultCondition_ : e.condition, this.duration_ = e.duration === void 0 ? 100 : e.duration, this.pixelDelta_ = e.pixelDelta === void 0 ? 128 : e.pixelDelta;
690
684
  }
691
685
  handleEvent(e) {
692
686
  let t = !1;
693
- if (e.type == S.KEYDOWN) {
687
+ if (e.type == _.KEYDOWN) {
694
688
  let n = e.originalEvent, r = n.key;
695
- if (this.condition_(e) && (r == Xt.DOWN || r == Xt.LEFT || r == Xt.RIGHT || r == Xt.UP)) {
689
+ if (this.condition_(e) && (r == Qt.DOWN || r == Qt.LEFT || r == Qt.RIGHT || r == Qt.UP)) {
696
690
  let i = e.map.getView(), a = i.getResolution() * this.pixelDelta_, o = 0, s = 0;
697
- r == Xt.DOWN ? s = -a : r == Xt.LEFT ? o = -a : r == Xt.RIGHT ? o = a : s = a;
698
- let c = [o, s];
699
- g(c, i.getRotation()), xt(i, c, this.duration_), n.preventDefault(), t = !0;
691
+ r == Qt.DOWN ? s = -a : r == Qt.LEFT ? o = -a : r == Qt.RIGHT ? o = a : s = a;
692
+ let l = [o, s];
693
+ c(l, i.getRotation()), Ct(i, l, this.duration_), n.preventDefault(), t = !0;
700
694
  }
701
695
  }
702
696
  return !t;
703
697
  }
704
- }, Qt = class extends bt {
698
+ }, en = class extends St {
705
699
  constructor(e) {
706
700
  super(), e ||= {}, this.condition_ = e.condition ? e.condition : function(e) {
707
- return !It(e) && Rt(e);
701
+ return !Rt(e) && Bt(e);
708
702
  }, this.delta_ = e.delta ? e.delta : 1, this.duration_ = e.duration === void 0 ? 100 : e.duration;
709
703
  }
710
704
  handleEvent(e) {
711
705
  let t = !1;
712
- if (e.type == S.KEYDOWN || e.type == S.KEYPRESS) {
706
+ if (e.type == _.KEYDOWN || e.type == _.KEYPRESS) {
713
707
  let n = e.originalEvent, r = n.key;
714
708
  if (this.condition_(e) && (r === "+" || r === "-")) {
715
709
  let i = e.map, a = r === "+" ? this.delta_ : -this.delta_;
716
- St(i.getView(), a, void 0, this.duration_), n.preventDefault(), t = !0;
710
+ wt(i.getView(), a, void 0, this.duration_), n.preventDefault(), t = !0;
717
711
  }
718
712
  }
719
713
  return !t;
720
714
  }
721
- }, $t = 40, en = 300, tn = 3, nn = class extends bt {
715
+ }, tn = 40, nn = 300, rn = 3, an = class extends St {
722
716
  constructor(e) {
723
717
  e ||= {}, super(e), this.totalDelta_ = 0, this.lastDelta_ = 0, this.maxDelta_ = e.maxDelta === void 0 ? 1 : e.maxDelta, this.duration_ = e.duration === void 0 ? 250 : e.duration, this.timeout_ = e.timeout === void 0 ? 80 : e.timeout, this.useAnchor_ = e.useAnchor === void 0 || e.useAnchor, this.constrainResolution_ = e.constrainResolution !== void 0 && e.constrainResolution;
724
- let t = e.condition ? e.condition : At;
725
- this.condition_ = e.onFocusOnly ? Tt(kt, t) : t, this.lastAnchor_ = null, this.startTime_ = void 0, this.timeoutId_, this.mode_ = void 0, this.trackpadEventGap_ = 400, this.trackpadTimeoutId_, this.deltaPerZoom_ = 300, this.ctrlKeyPressed_ = !1, this.ctrlKeyListenerKeys_ = [];
718
+ let t = e.condition ? e.condition : Mt;
719
+ this.condition_ = e.onFocusOnly ? Dt(jt, t) : t, this.lastAnchor_ = null, this.startTime_ = void 0, this.timeoutId_, this.mode_ = void 0, this.trackpadEventGap_ = 400, this.trackpadTimeoutId_, this.deltaPerZoom_ = 300, this.ctrlKeyPressed_ = !1, this.ctrlKeyListenerKeys_ = [];
726
720
  }
727
721
  setMap(e) {
728
- if (this.ctrlKeyListenerKeys_.forEach(C), this.ctrlKeyListenerKeys_.length = 0, this.ctrlKeyPressed_ = !1, super.setMap(e), e) {
722
+ if (this.ctrlKeyListenerKeys_.forEach(v), this.ctrlKeyListenerKeys_.length = 0, this.ctrlKeyPressed_ = !1, super.setMap(e), e) {
729
723
  let t = e.getOwnerDocument();
730
- this.ctrlKeyListenerKeys_.push(w(t, "keydown", (e) => {
724
+ this.ctrlKeyListenerKeys_.push(S(t, "keydown", (e) => {
731
725
  e.key === "Control" && (this.ctrlKeyPressed_ = !0);
732
- }), w(t, "keyup", (e) => {
726
+ }), S(t, "keyup", (e) => {
733
727
  e.key === "Control" && (this.ctrlKeyPressed_ = !1);
734
728
  }));
735
729
  }
@@ -742,7 +736,7 @@ var Ut = class extends Vt {
742
736
  t.endInteraction(this.constrainResolution_ || t.getConstrainResolution() ? 100 : void 0, n, this.lastAnchor_ ? e.getCoordinateFromPixel(this.lastAnchor_) : null);
743
737
  }
744
738
  handleEvent(e) {
745
- if (!this.condition_(e) || e.type !== S.WHEEL) return !0;
739
+ if (!this.condition_(e) || e.type !== _.WHEEL) return !0;
746
740
  let t = e.map, n = e.originalEvent;
747
741
  n.preventDefault();
748
742
  let r = n.ctrlKey && !this.ctrlKeyPressed_;
@@ -750,16 +744,16 @@ var Ut = class extends Vt {
750
744
  let i = n.deltaY;
751
745
  switch (n.deltaMode) {
752
746
  case WheelEvent.DOM_DELTA_LINE:
753
- i *= $t;
747
+ i *= tn;
754
748
  break;
755
- case WheelEvent.DOM_DELTA_PAGE: i *= en;
749
+ case WheelEvent.DOM_DELTA_PAGE: i *= nn;
756
750
  }
757
751
  if (i === 0) return !1;
758
752
  this.lastDelta_ = i;
759
753
  let a = Date.now();
760
754
  this.startTime_ === void 0 && (this.startTime_ = a), (!this.mode_ || a - this.startTime_ > this.trackpadEventGap_) && (this.mode_ = Math.abs(i) < 4 ? "trackpad" : "wheel");
761
755
  let o = t.getView();
762
- if (this.mode_ === "trackpad") return this.trackpadTimeoutId_ ? clearTimeout(this.trackpadTimeoutId_) : (o.getAnimating() && o.cancelAnimations(), o.beginInteraction()), this.trackpadTimeoutId_ = setTimeout(this.endInteraction_.bind(this), this.timeout_), r && (i *= tn), o.adjustZoom(-i / this.deltaPerZoom_, this.lastAnchor_ ? t.getCoordinateFromPixel(this.lastAnchor_) : null), this.startTime_ = a, !1;
756
+ if (this.mode_ === "trackpad") return this.trackpadTimeoutId_ ? clearTimeout(this.trackpadTimeoutId_) : (o.getAnimating() && o.cancelAnimations(), o.beginInteraction()), this.trackpadTimeoutId_ = setTimeout(this.endInteraction_.bind(this), this.timeout_), r && (i *= rn), o.adjustZoom(-i / this.deltaPerZoom_, this.lastAnchor_ ? t.getCoordinateFromPixel(this.lastAnchor_) : null), this.startTime_ = a, !1;
763
757
  this.totalDelta_ += i;
764
758
  let s = Math.max(this.timeout_ - (a - this.startTime_), 0);
765
759
  return clearTimeout(this.timeoutId_), this.timeoutId_ = setTimeout(this.handleWheelZoom_.bind(this, t), s), !1;
@@ -767,17 +761,17 @@ var Ut = class extends Vt {
767
761
  handleWheelZoom_(e) {
768
762
  let t = e.getView();
769
763
  t.getAnimating() && t.cancelAnimations();
770
- let n = -u(this.totalDelta_, -this.maxDelta_ * this.deltaPerZoom_, this.maxDelta_ * this.deltaPerZoom_) / this.deltaPerZoom_;
771
- (t.getConstrainResolution() || this.constrainResolution_) && (n = n ? n > 0 ? 1 : -1 : 0), St(t, n, this.lastAnchor_ ? e.getCoordinateFromPixel(this.lastAnchor_) : null, this.duration_), this.mode_ = void 0, this.totalDelta_ = 0, this.lastAnchor_ = null, this.startTime_ = void 0, this.timeoutId_ = void 0;
764
+ let r = -n(this.totalDelta_, -this.maxDelta_ * this.deltaPerZoom_, this.maxDelta_ * this.deltaPerZoom_) / this.deltaPerZoom_;
765
+ (t.getConstrainResolution() || this.constrainResolution_) && (r = r ? r > 0 ? 1 : -1 : 0), wt(t, r, this.lastAnchor_ ? e.getCoordinateFromPixel(this.lastAnchor_) : null, this.duration_), this.mode_ = void 0, this.totalDelta_ = 0, this.lastAnchor_ = null, this.startTime_ = void 0, this.timeoutId_ = void 0;
772
766
  }
773
767
  setMouseAnchor(e) {
774
768
  this.useAnchor_ = e, e || (this.lastAnchor_ = null);
775
769
  }
776
- }, rn = class extends Vt {
770
+ }, on = class extends Ut {
777
771
  constructor(e) {
778
772
  e ||= {};
779
773
  let t = e;
780
- t.stopDown ||= p, super(t), this.anchor_ = null, this.lastAngle_ = void 0, this.rotating_ = !1, this.rotationDelta_ = 0, this.threshold_ = e.threshold === void 0 ? .3 : e.threshold, this.duration_ = e.duration === void 0 ? 250 : e.duration;
774
+ t.stopDown ||= a, super(t), this.anchor_ = null, this.lastAngle_ = void 0, this.rotating_ = !1, this.rotationDelta_ = 0, this.threshold_ = e.threshold === void 0 ? .3 : e.threshold, this.duration_ = e.duration === void 0 ? 250 : e.duration;
781
775
  }
782
776
  handleDragEvent(e) {
783
777
  let t = 0, n = this.targetPointers[0], r = this.targetPointers[1], i = Math.atan2(r.clientY - n.clientY, r.clientX - n.clientX);
@@ -787,7 +781,7 @@ var Ut = class extends Vt {
787
781
  }
788
782
  this.lastAngle_ = i;
789
783
  let a = e.map, o = a.getView();
790
- o.getConstraints().rotation !== Ie && (this.anchor_ = a.getCoordinateFromPixelInternal(a.getEventPixel(Ht(this.targetPointers))), this.rotating_ && (a.render(), o.adjustRotationInternal(t, this.anchor_)));
784
+ o.getConstraints().rotation !== Re && (this.anchor_ = a.getCoordinateFromPixelInternal(a.getEventPixel(Wt(this.targetPointers))), this.rotating_ && (a.render(), o.adjustRotationInternal(t, this.anchor_)));
791
785
  }
792
786
  handleUpEvent(e) {
793
787
  return this.targetPointers.length < 2 ? (e.map.getView().endInteraction(this.duration_), !1) : !0;
@@ -799,17 +793,17 @@ var Ut = class extends Vt {
799
793
  }
800
794
  return !1;
801
795
  }
802
- }, an = class extends Vt {
796
+ }, sn = class extends Ut {
803
797
  constructor(e) {
804
798
  e ||= {};
805
799
  let t = e;
806
- t.stopDown ||= p, super(t), this.anchor_ = null, this.duration_ = e.duration === void 0 ? 400 : e.duration, this.lastDistance_ = void 0, this.lastScaleDelta_ = 1;
800
+ t.stopDown ||= a, super(t), this.anchor_ = null, this.duration_ = e.duration === void 0 ? 400 : e.duration, this.lastDistance_ = void 0, this.lastScaleDelta_ = 1;
807
801
  }
808
802
  handleDragEvent(e) {
809
803
  let t = 1, n = this.targetPointers[0], r = this.targetPointers[1], i = n.clientX - r.clientX, a = n.clientY - r.clientY, o = Math.sqrt(i * i + a * a);
810
804
  this.lastDistance_ !== void 0 && (t = this.lastDistance_ / o), this.lastDistance_ = o;
811
805
  let s = e.map, c = s.getView();
812
- t != 1 && (this.lastScaleDelta_ = t), this.anchor_ = s.getCoordinateFromPixelInternal(s.getEventPixel(Ht(this.targetPointers))), s.render(), c.adjustResolutionInternal(t, this.anchor_);
806
+ t != 1 && (this.lastScaleDelta_ = t), this.anchor_ = s.getCoordinateFromPixelInternal(s.getEventPixel(Wt(this.targetPointers))), s.render(), c.adjustResolutionInternal(t, this.anchor_);
813
807
  }
814
808
  handleUpEvent(e) {
815
809
  if (this.targetPointers.length < 2) {
@@ -826,32 +820,30 @@ var Ut = class extends Vt {
826
820
  return !1;
827
821
  }
828
822
  };
829
- //#endregion
830
- //#region ../node_modules/ol/interaction/defaults.js
831
- function on(e) {
823
+ // ../node_modules/ol/interaction/defaults.js
824
+ function cn(e) {
832
825
  e ||= {};
833
- let t = new A(), n = new Ct(-.005, .05, 100);
834
- return (e.altShiftDragRotate === void 0 || e.altShiftDragRotate) && t.push(new Wt()), (e.doubleClickZoom === void 0 || e.doubleClickZoom) && t.push(new wt({
826
+ let t = new O(), n = new Tt(-.005, .05, 100);
827
+ return (e.altShiftDragRotate === void 0 || e.altShiftDragRotate) && t.push(new Kt()), (e.doubleClickZoom === void 0 || e.doubleClickZoom) && t.push(new Et({
835
828
  delta: e.zoomDelta,
836
829
  duration: e.zoomDuration
837
- })), (e.dragPan === void 0 || e.dragPan) && t.push(new Ut({
830
+ })), (e.dragPan === void 0 || e.dragPan) && t.push(new Gt({
838
831
  onFocusOnly: e.onFocusOnly,
839
832
  kinetic: n
840
- })), (e.pinchRotate === void 0 || e.pinchRotate) && t.push(new rn()), (e.pinchZoom === void 0 || e.pinchZoom) && t.push(new an({ duration: e.zoomDuration })), (e.keyboard === void 0 || e.keyboard) && (t.push(new Zt()), t.push(new Qt({
833
+ })), (e.pinchRotate === void 0 || e.pinchRotate) && t.push(new on()), (e.pinchZoom === void 0 || e.pinchZoom) && t.push(new sn({ duration: e.zoomDuration })), (e.keyboard === void 0 || e.keyboard) && (t.push(new $t()), t.push(new en({
841
834
  delta: e.zoomDelta,
842
835
  duration: e.zoomDuration
843
- }))), (e.mouseWheelZoom === void 0 || e.mouseWheelZoom) && t.push(new nn({
836
+ }))), (e.mouseWheelZoom === void 0 || e.mouseWheelZoom) && t.push(new an({
844
837
  onFocusOnly: e.onFocusOnly,
845
838
  duration: e.zoomDuration
846
- })), (e.shiftDragZoom === void 0 || e.shiftDragZoom) && t.push(new Yt({ duration: e.zoomDuration })), t;
839
+ })), (e.shiftDragZoom === void 0 || e.shiftDragZoom) && t.push(new Zt({ duration: e.zoomDuration })), t;
847
840
  }
848
- //#endregion
849
- //#region ../node_modules/ol/MapEvent.js
850
- var sn = class extends b {
841
+ // ../node_modules/ol/MapEvent.js
842
+ var ln = class extends p {
851
843
  constructor(e, t, n) {
852
844
  super(e), this.map = t, this.frameState = n === void 0 ? null : n;
853
845
  }
854
- }, M = class extends sn {
846
+ }, A = class extends ln {
855
847
  constructor(e, t, n, r, i, a) {
856
848
  super(e, t, i), this.originalEvent = n, this.pixel_ = null, this.coordinate_ = null, this.dragging = r !== void 0 && r, this.activePointers = a;
857
849
  }
@@ -873,7 +865,7 @@ var sn = class extends b {
873
865
  stopPropagation() {
874
866
  super.stopPropagation(), "stopPropagation" in this.originalEvent && this.originalEvent.stopPropagation();
875
867
  }
876
- }, cn = class {
868
+ }, un = class {
877
869
  constructor() {
878
870
  this.cache_ = {}, this.patternCache_ = {}, this.cacheSize_ = 0, this.maxCacheSize_ = 1024;
879
871
  }
@@ -893,53 +885,53 @@ var sn = class extends b {
893
885
  }
894
886
  }
895
887
  get(e, t) {
896
- let n = ln(e, t);
888
+ let n = dn(e, t);
897
889
  return n in this.cache_ ? this.cache_[n] : null;
898
890
  }
899
891
  getPattern(e, t) {
900
- let n = ln(e, t);
892
+ let n = dn(e, t);
901
893
  return n in this.patternCache_ ? this.patternCache_[n] : null;
902
894
  }
903
895
  set(e, t, n, r) {
904
- let i = ln(e, t), a = i in this.cache_;
905
- this.cache_[i] = n, r && (n.getImageState() === E.IDLE && n.load(), n.getImageState() === E.LOADING ? n.ready().then(() => {
906
- this.patternCache_[i] = be().createPattern(n.getImage(1), "repeat");
907
- }) : this.patternCache_[i] = be().createPattern(n.getImage(1), "repeat")), a || ++this.cacheSize_;
896
+ let i = dn(e, t), a = i in this.cache_;
897
+ this.cache_[i] = n, r && (n.getImageState() === w.IDLE && n.load(), n.getImageState() === w.LOADING ? n.ready().then(() => {
898
+ this.patternCache_[i] = me().createPattern(n.getImage(1), "repeat");
899
+ }) : this.patternCache_[i] = me().createPattern(n.getImage(1), "repeat")), a || ++this.cacheSize_;
908
900
  }
909
901
  setSize(e) {
910
902
  this.maxCacheSize_ = e, this.expire();
911
903
  }
912
904
  };
913
- function ln(e, t) {
914
- let n = t ? qe(t) : "null";
905
+ function dn(e, t) {
906
+ let n = t ? Ye(t) : "null";
915
907
  return e + ":" + n;
916
908
  }
917
- var N = new cn(), un = null, dn = class extends ee {
909
+ var j = new un(), fn = null, pn = class extends f {
918
910
  constructor(e, t, n, r, i) {
919
- super(), this.hitDetectionImage_ = null, this.image_ = e, this.crossOrigin_ = n?.crossOrigin, this.referrerPolicy_ = n?.referrerPolicy, this.canvas_ = {}, this.color_ = i, this.imageState_ = r === void 0 ? E.IDLE : r, this.size_ = e && e.width && e.height ? [e.width, e.height] : null, this.src_ = t, this.tainted_, this.ready_ = null;
911
+ super(), this.hitDetectionImage_ = null, this.image_ = e, this.crossOrigin_ = n?.crossOrigin, this.referrerPolicy_ = n?.referrerPolicy, this.canvas_ = {}, this.color_ = i, this.imageState_ = r === void 0 ? w.IDLE : r, this.size_ = e && e.width && e.height ? [e.width, e.height] : null, this.src_ = t, this.tainted_, this.ready_ = null;
920
912
  }
921
913
  initializeImage_() {
922
914
  this.image_ = new Image(), this.crossOrigin_ !== null && (this.image_.crossOrigin = this.crossOrigin_), this.referrerPolicy_ !== void 0 && (this.image_.referrerPolicy = this.referrerPolicy_);
923
915
  }
924
916
  isTainted_() {
925
- if (this.tainted_ === void 0 && this.imageState_ === E.LOADED) {
926
- un ||= we(1, 1, void 0, { willReadFrequently: !0 }), un.drawImage(this.image_, 0, 0);
917
+ if (this.tainted_ === void 0 && this.imageState_ === w.LOADED) {
918
+ fn ||= ve(1, 1, void 0, { willReadFrequently: !0 }), fn.drawImage(this.image_, 0, 0);
927
919
  try {
928
- un.getImageData(0, 0, 1, 1), this.tainted_ = !1;
920
+ fn.getImageData(0, 0, 1, 1), this.tainted_ = !1;
929
921
  } catch {
930
- un = null, this.tainted_ = !0;
922
+ fn = null, this.tainted_ = !0;
931
923
  }
932
924
  }
933
925
  return this.tainted_ === !0;
934
926
  }
935
927
  dispatchChangeEvent_() {
936
- this.dispatchEvent(S.CHANGE);
928
+ this.dispatchEvent(_.CHANGE);
937
929
  }
938
930
  handleImageError_() {
939
- this.imageState_ = E.ERROR, this.dispatchChangeEvent_();
931
+ this.imageState_ = w.ERROR, this.dispatchChangeEvent_();
940
932
  }
941
933
  handleImageLoad_() {
942
- this.imageState_ = E.LOADED, this.size_ = [this.image_.width, this.image_.height], this.dispatchChangeEvent_();
934
+ this.imageState_ = w.LOADED, this.size_ = [this.image_.width, this.image_.height], this.dispatchChangeEvent_();
943
935
  }
944
936
  getImage(e) {
945
937
  return this.image_ || this.initializeImage_(), this.replaceColor_(e), this.canvas_[e] ? this.canvas_[e] : this.image_;
@@ -956,7 +948,7 @@ var N = new cn(), un = null, dn = class extends ee {
956
948
  getHitDetectionImage() {
957
949
  if (this.image_ || this.initializeImage_(), !this.hitDetectionImage_) {
958
950
  if (this.isTainted_()) {
959
- let e = this.size_[0], t = this.size_[1], n = we(e, t);
951
+ let e = this.size_[0], t = this.size_[1], n = ve(e, t);
960
952
  n.fillRect(0, 0, e, t), this.hitDetectionImage_ = n.canvas;
961
953
  } else this.hitDetectionImage_ = this.image_;
962
954
  }
@@ -969,61 +961,59 @@ var N = new cn(), un = null, dn = class extends ee {
969
961
  return this.src_;
970
962
  }
971
963
  load() {
972
- if (this.imageState_ === E.IDLE) {
973
- this.image_ || this.initializeImage_(), this.imageState_ = E.LOADING;
964
+ if (this.imageState_ === w.IDLE) {
965
+ this.image_ || this.initializeImage_(), this.imageState_ = w.LOADING;
974
966
  try {
975
967
  this.src_ !== void 0 && (this.image_.src = this.src_);
976
968
  } catch {
977
969
  this.handleImageError_();
978
970
  }
979
- this.image_ instanceof HTMLImageElement && Ce(this.image_, this.src_).then((e) => {
971
+ this.image_ instanceof HTMLImageElement && _e(this.image_, this.src_).then((e) => {
980
972
  this.image_ = e, this.handleImageLoad_();
981
973
  }).catch(this.handleImageError_.bind(this));
982
974
  }
983
975
  }
984
976
  replaceColor_(e) {
985
- if (!this.color_ || this.canvas_[e] || this.imageState_ !== E.LOADED) return;
986
- let t = this.image_, n = we(Math.ceil(t.width * e), Math.ceil(t.height * e)), r = n.canvas;
987
- n.scale(e, e), n.drawImage(t, 0, 0), n.globalCompositeOperation = "multiply", n.fillStyle = Xe(this.color_), n.fillRect(0, 0, r.width / e, r.height / e), n.globalCompositeOperation = "destination-in", n.drawImage(t, 0, 0), this.canvas_[e] = r;
977
+ if (!this.color_ || this.canvas_[e] || this.imageState_ !== w.LOADED) return;
978
+ let t = this.image_, n = ve(Math.ceil(t.width * e), Math.ceil(t.height * e)), r = n.canvas;
979
+ n.scale(e, e), n.drawImage(t, 0, 0), n.globalCompositeOperation = "multiply", n.fillStyle = Qe(this.color_), n.fillRect(0, 0, r.width / e, r.height / e), n.globalCompositeOperation = "destination-in", n.drawImage(t, 0, 0), this.canvas_[e] = r;
988
980
  }
989
981
  ready() {
990
982
  return this.ready_ ||= new Promise((e) => {
991
- if (this.imageState_ === E.LOADED || this.imageState_ === E.ERROR) e();
983
+ if (this.imageState_ === w.LOADED || this.imageState_ === w.ERROR) e();
992
984
  else {
993
985
  let t = () => {
994
- (this.imageState_ === E.LOADED || this.imageState_ === E.ERROR) && (this.removeEventListener(S.CHANGE, t), e());
986
+ (this.imageState_ === w.LOADED || this.imageState_ === w.ERROR) && (this.removeEventListener(_.CHANGE, t), e());
995
987
  };
996
- this.addEventListener(S.CHANGE, t);
988
+ this.addEventListener(_.CHANGE, t);
997
989
  }
998
990
  }), this.ready_;
999
991
  }
1000
992
  };
1001
- function fn(e, t, n, r, i, a) {
1002
- let o = t === void 0 ? void 0 : N.get(t, i);
1003
- return o || (o = new dn(e, e && "src" in e ? e.src || void 0 : t, n, r, i), N.set(t, i, o, a)), a && o && !N.getPattern(t, i) && N.set(t, i, o, a), o;
1004
- }
1005
- //#endregion
1006
- //#region ../node_modules/ol/colorlike.js
1007
- function pn(e) {
1008
- return e ? Array.isArray(e) ? He(e) : typeof e == "object" && "src" in e ? mn(e) : e : null;
1009
- }
1010
- function mn(e) {
1011
- if (!e.offset || !e.size) return N.getPattern(e.src, e.color);
1012
- let t = e.src + ":" + e.offset, n = N.getPattern(t, e.color);
993
+ function mn(e, t, n, r, i, a) {
994
+ let o = t === void 0 ? void 0 : j.get(t, i);
995
+ return o || (o = new pn(e, e && "src" in e ? e.src || void 0 : t, n, r, i), j.set(t, i, o, a)), a && o && !j.getPattern(t, i) && j.set(t, i, o, a), o;
996
+ }
997
+ // ../node_modules/ol/colorlike.js
998
+ function hn(e) {
999
+ return e ? Array.isArray(e) ? We(e) : typeof e == "object" && "src" in e ? gn(e) : e : null;
1000
+ }
1001
+ function gn(e) {
1002
+ if (!e.offset || !e.size) return j.getPattern(e.src, e.color);
1003
+ let t = e.src + ":" + e.offset, n = j.getPattern(t, e.color);
1013
1004
  if (n) return n;
1014
- let r = N.get(e.src, null);
1015
- if (r.getImageState() !== E.LOADED) return null;
1016
- let i = we(e.size[0], e.size[1]);
1017
- return i.drawImage(r.getImage(1), e.offset[0], e.offset[1], e.size[0], e.size[1], 0, 0, e.size[0], e.size[1]), fn(i.canvas, t, void 0, E.LOADED, e.color, !0), N.getPattern(t, e.color);
1018
- }
1019
- //#endregion
1020
- //#region ../node_modules/ol/render/canvas.js
1021
- var hn = "10px sans-serif", gn = "#000", _n = "round", vn = [], yn = "round", bn = "#000", xn = "center", Sn = "middle", Cn = [
1005
+ let r = j.get(e.src, null);
1006
+ if (r.getImageState() !== w.LOADED) return null;
1007
+ let i = ve(e.size[0], e.size[1]);
1008
+ return i.drawImage(r.getImage(1), e.offset[0], e.offset[1], e.size[0], e.size[1], 0, 0, e.size[0], e.size[1]), mn(i.canvas, t, void 0, w.LOADED, e.color, !0), j.getPattern(t, e.color);
1009
+ }
1010
+ // ../node_modules/ol/render/canvas.js
1011
+ var _n = "10px sans-serif", vn = "#000", yn = "round", bn = [], xn = "round", Sn = "#000", Cn = "center", wn = "middle", Tn = [
1022
1012
  0,
1023
1013
  0,
1024
1014
  0,
1025
1015
  0
1026
- ], wn = new v(), Tn = null, En, Dn = {}, On = /* @__PURE__ */ new Set([
1016
+ ], En = new u(), Dn = null, On, kn = {}, An = /* @__PURE__ */ new Set([
1027
1017
  "serif",
1028
1018
  "sans-serif",
1029
1019
  "monospace",
@@ -1038,66 +1028,66 @@ var hn = "10px sans-serif", gn = "#000", _n = "round", vn = [], yn = "round", bn
1038
1028
  "math",
1039
1029
  "fangsong"
1040
1030
  ]);
1041
- function kn(e, t, n) {
1031
+ function jn(e, t, n) {
1042
1032
  return `${e} ${t} 16px "${n}"`;
1043
1033
  }
1044
- var An = (function() {
1045
- let e, n;
1046
- async function i(e) {
1047
- await n.ready;
1048
- let i = r(e), a = i.families[0].toLowerCase(), o = i.weight, s = [];
1049
- return n.forEach((e) => {
1050
- let n = e.family.replace(/^['"]|['"]$/g, "").toLowerCase(), r = t[e.weight] || e.weight;
1051
- n === a && e.style === i.style && r == o && s.push(e);
1052
- }), s.length !== 0 && (await Promise.all(s.map((e) => e.load().then(() => !0, () => !1)))).some((e) => e);
1053
- }
1054
- async function a() {
1055
- await n.ready;
1056
- let t = !0, r = wn.getProperties(), o = Object.keys(r).filter((e) => r[e] < 100);
1034
+ var Mn = (function() {
1035
+ let e, t;
1036
+ async function n(e) {
1037
+ await t.ready;
1038
+ let n = Te(e), r = n.families[0].toLowerCase(), i = n.weight, a = [];
1039
+ return t.forEach((e) => {
1040
+ let t = e.family.replace(/^['"]|['"]$/g, "").toLowerCase(), o = Ce[e.weight] || e.weight;
1041
+ t === r && e.style === n.style && o == i && a.push(e);
1042
+ }), a.length !== 0 && (await Promise.all(a.map((e) => e.load().then(() => !0, () => !1)))).some((e) => e);
1043
+ }
1044
+ async function r() {
1045
+ await t.ready;
1046
+ let i = !0, a = En.getProperties(), o = Object.keys(a).filter((e) => a[e] < 100);
1057
1047
  for (let e = o.length - 1; e >= 0; --e) {
1058
- let n = o[e], a = r[n];
1059
- a < 100 && (await i(n) ? (ue(Dn), wn.set(n, 100)) : (a += 10, wn.set(n, a, !0), a < 100 && (t = !1)));
1048
+ let t = o[e], r = a[t];
1049
+ r < 100 && (await n(t) ? (ie(kn), En.set(t, 100)) : (r += 10, En.set(t, r, !0), r < 100 && (i = !1)));
1060
1050
  }
1061
- e = void 0, t || (e = setTimeout(a, 100));
1051
+ e = void 0, i || (e = setTimeout(r, 100));
1062
1052
  }
1063
- return async function(t) {
1064
- n ||= Ee ? self.fonts : document.fonts;
1065
- let i = r(t);
1053
+ return async function(n) {
1054
+ t ||= be ? self.fonts : document.fonts;
1055
+ let i = Te(n);
1066
1056
  if (!i) return;
1067
- let o = i.families, s = !1;
1068
- for (let e of o) {
1069
- if (On.has(e)) continue;
1070
- let t = kn(i.style, i.weight, e);
1071
- wn.get(t) === void 0 && (wn.set(t, 0, !0), s = !0);
1057
+ let a = i.families, o = !1;
1058
+ for (let e of a) {
1059
+ if (An.has(e)) continue;
1060
+ let t = jn(i.style, i.weight, e);
1061
+ En.get(t) === void 0 && (En.set(t, 0, !0), o = !0);
1072
1062
  }
1073
- s && (clearTimeout(e), e = setTimeout(a, 100));
1063
+ o && (clearTimeout(e), e = setTimeout(r, 100));
1074
1064
  };
1075
- })(), jn = (function() {
1065
+ })(), Nn = (function() {
1076
1066
  let e;
1077
1067
  return function(t) {
1078
- let n = Dn[t];
1068
+ let n = kn[t];
1079
1069
  if (n == null) {
1080
- if (Ee) {
1081
- let e = r(t), i = Mn(t, "Žg");
1082
- n = (isNaN(Number(e.lineHeight)) ? 1.2 : Number(e.lineHeight)) * (i.actualBoundingBoxAscent + i.actualBoundingBoxDescent);
1070
+ if (be) {
1071
+ let e = Te(t), r = Pn(t, "Žg");
1072
+ n = (isNaN(Number(e.lineHeight)) ? 1.2 : Number(e.lineHeight)) * (r.actualBoundingBoxAscent + r.actualBoundingBoxDescent);
1083
1073
  } else e || (e = document.createElement("div"), e.innerHTML = "M", e.style.minHeight = "0", e.style.maxHeight = "none", e.style.height = "auto", e.style.padding = "0", e.style.border = "none", e.style.position = "absolute", e.style.display = "block", e.style.left = "-99999px"), e.style.font = t, document.body.appendChild(e), n = e.offsetHeight, document.body.removeChild(e);
1084
- Dn[t] = n;
1074
+ kn[t] = n;
1085
1075
  }
1086
1076
  return n;
1087
1077
  };
1088
1078
  })();
1089
- function Mn(e, t) {
1090
- return Tn ||= we(1, 1), e != En && (Tn.font = e, En = Tn.font), Tn.measureText(t);
1079
+ function Pn(e, t) {
1080
+ return Dn ||= ve(1, 1), e != On && (Dn.font = e, On = Dn.font), Dn.measureText(t);
1091
1081
  }
1092
- function Nn(e, t) {
1093
- return Mn(e, t).width;
1082
+ function Fn(e, t) {
1083
+ return Pn(e, t).width;
1094
1084
  }
1095
- function Pn(e, t, n) {
1085
+ function In(e, t, n) {
1096
1086
  if (t in n) return n[t];
1097
- let r = t.split("\n").reduce((t, n) => Math.max(t, Nn(e, n)), 0);
1087
+ let r = t.split("\n").reduce((t, n) => Math.max(t, Fn(e, n)), 0);
1098
1088
  return n[t] = r, r;
1099
1089
  }
1100
- function Fn(e, t) {
1090
+ function Ln(e, t) {
1101
1091
  let n = [], r = [], i = [], a = 0, o = 0, s = 0, c = 0;
1102
1092
  for (let l = 0, u = t.length; l <= u; l += 2) {
1103
1093
  let d = t[l];
@@ -1105,9 +1095,9 @@ function Fn(e, t) {
1105
1095
  a = Math.max(a, o), i.push(o), o = 0, s += c, c = 0;
1106
1096
  continue;
1107
1097
  }
1108
- let f = t[l + 1] || e.font, p = Nn(f, d);
1098
+ let f = t[l + 1] || e.font, p = Fn(f, d);
1109
1099
  n.push(p), o += p;
1110
- let m = jn(f);
1100
+ let m = Nn(f);
1111
1101
  r.push(m), c = Math.max(c, m);
1112
1102
  }
1113
1103
  return {
@@ -1118,18 +1108,17 @@ function Fn(e, t) {
1118
1108
  lineWidths: i
1119
1109
  };
1120
1110
  }
1121
- function In(e, t, n, r, i, a, o, s, c, l, u) {
1122
- e.save(), n !== 1 && (e.globalAlpha === void 0 ? e.globalAlpha = (e) => e.globalAlpha *= n : e.globalAlpha *= n), t && e.transform.apply(e, t), r.contextInstructions ? (e.translate(c, l), e.scale(u[0], u[1]), Ln(r, e)) : u[0] < 0 || u[1] < 0 ? (e.translate(c, l), e.scale(u[0], u[1]), e.drawImage(r, i, a, o, s, 0, 0, o, s)) : e.drawImage(r, i, a, o, s, c, l, o * u[0], s * u[1]), e.restore();
1111
+ function Rn(e, t, n, r, i, a, o, s, c, l, u) {
1112
+ e.save(), n !== 1 && (e.globalAlpha === void 0 ? e.globalAlpha = (e) => e.globalAlpha *= n : e.globalAlpha *= n), t && e.transform.apply(e, t), r.contextInstructions ? (e.translate(c, l), e.scale(u[0], u[1]), zn(r, e)) : u[0] < 0 || u[1] < 0 ? (e.translate(c, l), e.scale(u[0], u[1]), e.drawImage(r, i, a, o, s, 0, 0, o, s)) : e.drawImage(r, i, a, o, s, c, l, o * u[0], s * u[1]), e.restore();
1123
1113
  }
1124
- function Ln(e, t) {
1114
+ function zn(e, t) {
1125
1115
  let n = e.contextInstructions;
1126
1116
  for (let e = 0, r = n.length; e < r; e += 2) Array.isArray(n[e + 1]) ? t[n[e]].apply(t, n[e + 1]) : t[n[e]] = n[e + 1];
1127
1117
  }
1128
- //#endregion
1129
- //#region ../node_modules/ol/style/Image.js
1130
- var Rn = class e {
1118
+ // ../node_modules/ol/style/Image.js
1119
+ var Bn = class e {
1131
1120
  constructor(e) {
1132
- this.opacity_ = e.opacity, this.rotateWithView_ = e.rotateWithView, this.rotation_ = e.rotation, this.scale_ = e.scale, this.scaleArray_ = ve(e.scale), this.displacement_ = e.displacement, this.declutterMode_ = e.declutterMode;
1121
+ this.opacity_ = e.opacity, this.rotateWithView_ = e.rotateWithView, this.rotation_ = e.rotation, this.scale_ = e.scale, this.scaleArray_ = fe(e.scale), this.displacement_ = e.displacement, this.declutterMode_ = e.declutterMode;
1133
1122
  }
1134
1123
  clone() {
1135
1124
  let t = this.getScale();
@@ -1164,28 +1153,28 @@ var Rn = class e {
1164
1153
  return this.declutterMode_;
1165
1154
  }
1166
1155
  getAnchor() {
1167
- return T();
1156
+ return C();
1168
1157
  }
1169
1158
  getImage(e) {
1170
- return T();
1159
+ return C();
1171
1160
  }
1172
1161
  getHitDetectionImage() {
1173
- return T();
1162
+ return C();
1174
1163
  }
1175
1164
  getPixelRatio(e) {
1176
1165
  return 1;
1177
1166
  }
1178
1167
  getImageState() {
1179
- return T();
1168
+ return C();
1180
1169
  }
1181
1170
  getImageSize() {
1182
- return T();
1171
+ return C();
1183
1172
  }
1184
1173
  getOrigin() {
1185
- return T();
1174
+ return C();
1186
1175
  }
1187
1176
  getSize() {
1188
- return T();
1177
+ return C();
1189
1178
  }
1190
1179
  setDisplacement(e) {
1191
1180
  this.displacement_ = e;
@@ -1200,45 +1189,44 @@ var Rn = class e {
1200
1189
  this.rotation_ = e;
1201
1190
  }
1202
1191
  setScale(e) {
1203
- this.scale_ = e, this.scaleArray_ = ve(e);
1192
+ this.scale_ = e, this.scaleArray_ = fe(e);
1204
1193
  }
1205
1194
  listenImageChange(e) {
1206
- T();
1195
+ C();
1207
1196
  }
1208
1197
  load() {
1209
- T();
1198
+ C();
1210
1199
  }
1211
1200
  unlistenImageChange(e) {
1212
- T();
1201
+ C();
1213
1202
  }
1214
1203
  ready() {
1215
1204
  return Promise.resolve();
1216
1205
  }
1217
1206
  };
1218
- //#endregion
1219
- //#region ../node_modules/ol/style/Icon.js
1220
- function zn(e, t, n, r) {
1207
+ // ../node_modules/ol/style/Icon.js
1208
+ function Vn(e, t, n, r) {
1221
1209
  return n !== void 0 && r !== void 0 ? [n / e, r / t] : n === void 0 ? r === void 0 ? 1 : r / t : n / e;
1222
1210
  }
1223
- var Bn = class e extends Rn {
1211
+ var Hn = class e extends Bn {
1224
1212
  constructor(e) {
1225
1213
  e ||= {};
1226
- let t = e.opacity === void 0 ? 1 : e.opacity, n = e.rotation === void 0 ? 0 : e.rotation, r = e.scale === void 0 ? 1 : e.scale, i = e.rotateWithView !== void 0 && e.rotateWithView;
1214
+ let t = e.opacity === void 0 ? 1 : e.opacity, n = e.rotation === void 0 ? 0 : e.rotation, i = e.scale === void 0 ? 1 : e.scale, a = e.rotateWithView !== void 0 && e.rotateWithView;
1227
1215
  super({
1228
1216
  opacity: t,
1229
1217
  rotation: n,
1230
- scale: r,
1218
+ scale: i,
1231
1219
  displacement: e.displacement === void 0 ? [0, 0] : e.displacement,
1232
- rotateWithView: i,
1220
+ rotateWithView: a,
1233
1221
  declutterMode: e.declutterMode
1234
1222
  }), this.anchor_ = e.anchor === void 0 ? [.5, .5] : e.anchor, this.normalizedAnchor_ = null, this.anchorOrigin_ = e.anchorOrigin === void 0 ? "top-left" : e.anchorOrigin, this.anchorXUnits_ = e.anchorXUnits === void 0 ? "fraction" : e.anchorXUnits, this.anchorYUnits_ = e.anchorYUnits === void 0 ? "fraction" : e.anchorYUnits, this.crossOrigin_ = e.crossOrigin === void 0 ? null : e.crossOrigin, this.referrerPolicy_ = e.referrerPolicy;
1235
- let a = e.img === void 0 ? null : e.img, o = e.src;
1236
- O(!(o !== void 0 && a), "`image` and `src` cannot be provided at the same time"), (o === void 0 || o.length === 0) && a && (o = a.src || d(a)), O(o !== void 0 && o.length > 0, "A defined and non-empty `src` or `image` must be provided"), O(e.width === void 0 && e.height === void 0 || e.scale === void 0, "`width` or `height` cannot be provided together with `scale`");
1237
- let s;
1238
- if (e.src === void 0 ? a !== void 0 && (s = "complete" in a ? a.complete ? a.src ? E.LOADED : E.IDLE : E.LOADING : E.LOADED) : s = E.IDLE, this.color_ = e.color === void 0 ? null : qe(e.color), this.iconImage_ = fn(a, o, {
1223
+ let o = e.img === void 0 ? null : e.img, s = e.src;
1224
+ E(!(s !== void 0 && o), "`image` and `src` cannot be provided at the same time"), (s === void 0 || s.length === 0) && o && (s = o.src || r(o)), E(s !== void 0 && s.length > 0, "A defined and non-empty `src` or `image` must be provided"), E(e.width === void 0 && e.height === void 0 || e.scale === void 0, "`width` or `height` cannot be provided together with `scale`");
1225
+ let c;
1226
+ if (e.src === void 0 ? o !== void 0 && (c = "complete" in o ? o.complete ? o.src ? w.LOADED : w.IDLE : w.LOADING : w.LOADED) : c = w.IDLE, this.color_ = e.color === void 0 ? null : Ye(e.color), this.iconImage_ = mn(o, s, {
1239
1227
  crossOrigin: this.crossOrigin_,
1240
1228
  referrerPolicy: this.referrerPolicy_
1241
- }, s, this.color_), this.offset_ = e.offset === void 0 ? [0, 0] : e.offset, this.offsetOrigin_ = e.offsetOrigin === void 0 ? "top-left" : e.offsetOrigin, this.origin_ = null, this.size_ = e.size === void 0 ? null : e.size, this.initialOptions_, e.width !== void 0 || e.height !== void 0) {
1229
+ }, c, this.color_), this.offset_ = e.offset === void 0 ? [0, 0] : e.offset, this.offsetOrigin_ = e.offsetOrigin === void 0 ? "top-left" : e.offsetOrigin, this.origin_ = null, this.size_ = e.size === void 0 ? null : e.size, this.initialOptions_, e.width !== void 0 || e.height !== void 0) {
1242
1230
  let t, n;
1243
1231
  if (e.size) [t, n] = e.size;
1244
1232
  else {
@@ -1249,13 +1237,13 @@ var Bn = class e extends Rn {
1249
1237
  let t = () => {
1250
1238
  if (this.unlistenImageChange(t), !this.initialOptions_) return;
1251
1239
  let n = this.iconImage_.getSize();
1252
- this.setScale(zn(n[0], n[1], e.width, e.height));
1240
+ this.setScale(Vn(n[0], n[1], e.width, e.height));
1253
1241
  };
1254
1242
  this.listenImageChange(t);
1255
1243
  return;
1256
1244
  }
1257
1245
  }
1258
- t !== void 0 && this.setScale(zn(t, n, e.width, e.height));
1246
+ t !== void 0 && this.setScale(Vn(t, n, e.width, e.height));
1259
1247
  }
1260
1248
  }
1261
1249
  clone() {
@@ -1307,11 +1295,11 @@ var Bn = class e extends Rn {
1307
1295
  return this.color_;
1308
1296
  }
1309
1297
  setColor(e) {
1310
- let t = e ? qe(e) : null;
1298
+ let t = e ? Ye(e) : null;
1311
1299
  if (this.color_ === t || this.color_ && t && this.color_.length === t.length && this.color_.every((e, n) => e === t[n])) return;
1312
1300
  this.color_ = t;
1313
- let n = this.getSrc(), r = n === void 0 ? this.getHitDetectionImage() : null, i = n === void 0 ? this.iconImage_.getImageState() : E.IDLE;
1314
- this.iconImage_ = fn(r, n, {
1301
+ let n = this.getSrc(), r = n === void 0 ? this.getHitDetectionImage() : null, i = n === void 0 ? this.iconImage_.getImageState() : w.IDLE;
1302
+ this.iconImage_ = mn(r, n, {
1315
1303
  crossOrigin: this.crossOrigin_,
1316
1304
  referrerPolicy: this.referrerPolicy_
1317
1305
  }, i, this.color_);
@@ -1345,10 +1333,10 @@ var Bn = class e extends Rn {
1345
1333
  return this.iconImage_.getSrc();
1346
1334
  }
1347
1335
  setSrc(e) {
1348
- this.iconImage_ = fn(null, e, {
1336
+ this.iconImage_ = mn(null, e, {
1349
1337
  crossOrigin: this.crossOrigin_,
1350
1338
  referrerPolicy: this.referrerPolicy_
1351
- }, E.IDLE, this.color_);
1339
+ }, w.IDLE, this.color_);
1352
1340
  }
1353
1341
  getSize() {
1354
1342
  return this.size_ ? this.size_ : this.iconImage_.getSize();
@@ -1356,64 +1344,64 @@ var Bn = class e extends Rn {
1356
1344
  getWidth() {
1357
1345
  let e = this.getScaleArray();
1358
1346
  if (this.size_) return this.size_[0] * e[0];
1359
- if (this.iconImage_.getImageState() == E.LOADED) return this.iconImage_.getSize()[0] * e[0];
1347
+ if (this.iconImage_.getImageState() == w.LOADED) return this.iconImage_.getSize()[0] * e[0];
1360
1348
  }
1361
1349
  getHeight() {
1362
1350
  let e = this.getScaleArray();
1363
1351
  if (this.size_) return this.size_[1] * e[1];
1364
- if (this.iconImage_.getImageState() == E.LOADED) return this.iconImage_.getSize()[1] * e[1];
1352
+ if (this.iconImage_.getImageState() == w.LOADED) return this.iconImage_.getSize()[1] * e[1];
1365
1353
  }
1366
1354
  setScale(e) {
1367
1355
  delete this.initialOptions_, super.setScale(e);
1368
1356
  }
1369
1357
  listenImageChange(e) {
1370
- this.iconImage_.addEventListener(S.CHANGE, e);
1358
+ this.iconImage_.addEventListener(_.CHANGE, e);
1371
1359
  }
1372
1360
  load() {
1373
1361
  this.iconImage_.load();
1374
1362
  }
1375
1363
  unlistenImageChange(e) {
1376
- this.iconImage_.removeEventListener(S.CHANGE, e);
1364
+ this.iconImage_.removeEventListener(_.CHANGE, e);
1377
1365
  }
1378
1366
  ready() {
1379
1367
  return this.iconImage_.ready();
1380
1368
  }
1381
- }, Vn = 0, P = 1 << Vn++, F = 1 << Vn++, I = 1 << Vn++, L = 1 << Vn++, R = 1 << Vn++, Hn = 1 << Vn++, Un = 2 ** Vn - 1, Wn = {
1382
- [P]: "boolean",
1383
- [F]: "number",
1384
- [I]: "string",
1385
- [L]: "color",
1386
- [R]: "number[]",
1387
- [Hn]: "size"
1388
- }, Gn = Object.keys(Wn).map(Number).sort(x);
1389
- function Kn(e) {
1390
- return e in Wn;
1391
- }
1392
- function z(e) {
1369
+ }, Un = 0, M = 1 << Un++, N = 1 << Un++, P = 1 << Un++, F = 1 << Un++, I = 1 << Un++, Wn = 1 << Un++, Gn = 2 ** Un - 1, Kn = {
1370
+ [M]: "boolean",
1371
+ [N]: "number",
1372
+ [P]: "string",
1373
+ [F]: "color",
1374
+ [I]: "number[]",
1375
+ [Wn]: "size"
1376
+ }, qn = Object.keys(Kn).map(Number).sort(h);
1377
+ function Jn(e) {
1378
+ return e in Kn;
1379
+ }
1380
+ function L(e) {
1393
1381
  let t = [];
1394
- for (let n of Gn) qn(e, n) && t.push(Wn[n]);
1382
+ for (let n of qn) Yn(e, n) && t.push(Kn[n]);
1395
1383
  return t.length === 0 ? "untyped" : t.length < 3 ? t.join(" or ") : t.slice(0, -1).join(", ") + ", or " + t[t.length - 1];
1396
1384
  }
1397
- function qn(e, t) {
1385
+ function Yn(e, t) {
1398
1386
  return (e & t) === t;
1399
1387
  }
1400
- function Jn(e, t) {
1388
+ function Xn(e, t) {
1401
1389
  return !!(e & t);
1402
1390
  }
1403
- function B(e, t) {
1391
+ function R(e, t) {
1404
1392
  return e === t;
1405
1393
  }
1406
- var V = class {
1394
+ var z = class {
1407
1395
  constructor(e, t) {
1408
- if (!Kn(e)) throw Error(`literal expressions must have a specific type, got ${z(e)}`);
1396
+ if (!Jn(e)) throw Error(`literal expressions must have a specific type, got ${L(e)}`);
1409
1397
  this.type = e, this.value = t;
1410
1398
  }
1411
- }, Yn = class {
1399
+ }, Zn = class {
1412
1400
  constructor(e, t, ...n) {
1413
1401
  this.type = e, this.operator = t, this.args = n;
1414
1402
  }
1415
1403
  };
1416
- function Xn(e) {
1404
+ function Qn(e) {
1417
1405
  return {
1418
1406
  variables: /* @__PURE__ */ new Map(),
1419
1407
  properties: /* @__PURE__ */ new Map(),
@@ -1424,41 +1412,41 @@ function Xn(e) {
1424
1412
  inputVariables: e
1425
1413
  };
1426
1414
  }
1427
- function H(e, t, n) {
1415
+ function B(e, t, n) {
1428
1416
  switch (typeof e) {
1429
1417
  case "boolean":
1430
- if (B(t, I)) return new V(I, e ? "true" : "false");
1431
- if (!qn(t, P)) throw Error(`got a boolean, but expected ${z(t)}`);
1432
- return new V(P, e);
1418
+ if (R(t, P)) return new z(P, e ? "true" : "false");
1419
+ if (!Yn(t, M)) throw Error(`got a boolean, but expected ${L(t)}`);
1420
+ return new z(M, e);
1433
1421
  case "number":
1434
- if (B(t, Hn)) return new V(Hn, ve(e));
1435
- if (B(t, P)) return new V(P, !!e);
1436
- if (B(t, I)) return new V(I, e.toString());
1437
- if (!qn(t, F)) throw Error(`got a number, but expected ${z(t)}`);
1438
- return new V(F, e);
1422
+ if (R(t, Wn)) return new z(Wn, fe(e));
1423
+ if (R(t, M)) return new z(M, !!e);
1424
+ if (R(t, P)) return new z(P, e.toString());
1425
+ if (!Yn(t, N)) throw Error(`got a number, but expected ${L(t)}`);
1426
+ return new z(N, e);
1439
1427
  case "string":
1440
- if (B(t, L)) return new V(L, Ve(e));
1441
- if (B(t, P)) return new V(P, !!e);
1442
- if (!qn(t, I)) throw Error(`got a string, but expected ${z(t)}`);
1443
- return new V(I, e);
1428
+ if (R(t, F)) return new z(F, Ue(e));
1429
+ if (R(t, M)) return new z(M, !!e);
1430
+ if (!Yn(t, P)) throw Error(`got a string, but expected ${L(t)}`);
1431
+ return new z(P, e);
1444
1432
  }
1445
1433
  if (!Array.isArray(e)) throw Error("expression must be an array or a primitive value");
1446
1434
  if (e.length === 0) throw Error("empty expression");
1447
- if (typeof e[0] == "string") return mr(e, t, n);
1435
+ if (typeof e[0] == "string") return gr(e, t, n);
1448
1436
  for (let t of e) if (typeof t != "number") throw Error("expected an array of numbers");
1449
- if (B(t, Hn)) {
1437
+ if (R(t, Wn)) {
1450
1438
  if (e.length !== 2) throw Error(`expected an array of two values for a size, got ${e.length}`);
1451
- return new V(Hn, e);
1439
+ return new z(Wn, e);
1452
1440
  }
1453
- if (B(t, L)) {
1454
- if (e.length === 3) return new V(L, [...e, 1]);
1455
- if (e.length === 4) return new V(L, e);
1441
+ if (R(t, F)) {
1442
+ if (e.length === 3) return new z(F, [...e, 1]);
1443
+ if (e.length === 4) return new z(F, e);
1456
1444
  throw Error(`expected an array of 3 or 4 values for a color, got ${e.length}`);
1457
1445
  }
1458
- if (!qn(t, R)) throw Error(`got an array of numbers, but expected ${z(t)}`);
1459
- return new V(R, e);
1446
+ if (!Yn(t, I)) throw Error(`got an array of numbers, but expected ${L(t)}`);
1447
+ return new z(I, e);
1460
1448
  }
1461
- var U = {
1449
+ var V = {
1462
1450
  Get: "get",
1463
1451
  Var: "var",
1464
1452
  Concat: "concat",
@@ -1506,65 +1494,65 @@ var U = {
1506
1494
  Palette: "palette",
1507
1495
  ToString: "to-string",
1508
1496
  Has: "has"
1509
- }, Zn = {
1510
- [U.Get]: K(W(1, Infinity), Qn),
1511
- [U.Var]: $n(),
1512
- [U.Has]: K(W(1, Infinity), Qn),
1513
- [U.Id]: K(er, ir),
1514
- [U.Concat]: K(W(2, Infinity), G(I)),
1515
- [U.GeometryType]: K(tr, ir),
1516
- [U.LineMetric]: K(nr, ir),
1517
- [U.Resolution]: K(rr, ir),
1518
- [U.Zoom]: K(rr, ir),
1519
- [U.Time]: K(rr, ir),
1520
- [U.Any]: K(W(2, Infinity), G(P)),
1521
- [U.All]: K(W(2, Infinity), G(P)),
1522
- [U.Not]: K(W(1, 1), G(P)),
1523
- [U.Equal]: K(W(2, 2), or()),
1524
- [U.NotEqual]: K(W(2, 2), or()),
1525
- [U.GreaterThan]: K(W(2, 2), G(F)),
1526
- [U.GreaterThanOrEqualTo]: K(W(2, 2), G(F)),
1527
- [U.LessThan]: K(W(2, 2), G(F)),
1528
- [U.LessThanOrEqualTo]: K(W(2, 2), G(F)),
1529
- [U.Multiply]: K(W(2, Infinity), ar),
1530
- [U.Coalesce]: K(W(2, Infinity), ar),
1531
- [U.Divide]: K(W(2, 2), G(F)),
1532
- [U.Add]: K(W(2, Infinity), G(F)),
1533
- [U.Subtract]: K(W(2, 2), G(F)),
1534
- [U.Clamp]: K(W(3, 3), G(F)),
1535
- [U.Mod]: K(W(2, 2), G(F)),
1536
- [U.Pow]: K(W(2, 2), G(F)),
1537
- [U.Abs]: K(W(1, 1), G(F)),
1538
- [U.Floor]: K(W(1, 1), G(F)),
1539
- [U.Ceil]: K(W(1, 1), G(F)),
1540
- [U.Round]: K(W(1, 1), G(F)),
1541
- [U.Sin]: K(W(1, 1), G(F)),
1542
- [U.Cos]: K(W(1, 1), G(F)),
1543
- [U.Atan]: K(W(1, 2), G(F)),
1544
- [U.Sqrt]: K(W(1, 1), G(F)),
1545
- [U.Match]: K(W(4, Infinity), cr, lr),
1546
- [U.Between]: K(W(3, 3), G(F)),
1547
- [U.Interpolate]: K(W(6, Infinity), cr, ur),
1548
- [U.Case]: K(W(3, Infinity), sr, dr),
1549
- [U.In]: K(W(2, 2), fr),
1550
- [U.Number]: K(W(1, Infinity), G(Un)),
1551
- [U.String]: K(W(1, Infinity), G(Un)),
1552
- [U.Array]: K(W(1, Infinity), G(F)),
1553
- [U.Color]: K(W(1, 4), G(F)),
1554
- [U.Band]: K(W(1, 3), G(F)),
1555
- [U.Palette]: K(W(2, 2), pr),
1556
- [U.ToString]: K(W(1, 1), G(P | F | I | L))
1497
+ }, $n = {
1498
+ [V.Get]: W(H(1, Infinity), er),
1499
+ [V.Var]: tr(),
1500
+ [V.Has]: W(H(1, Infinity), er),
1501
+ [V.Id]: W(nr, or),
1502
+ [V.Concat]: W(H(2, Infinity), U(P)),
1503
+ [V.GeometryType]: W(rr, or),
1504
+ [V.LineMetric]: W(ir, or),
1505
+ [V.Resolution]: W(ar, or),
1506
+ [V.Zoom]: W(ar, or),
1507
+ [V.Time]: W(ar, or),
1508
+ [V.Any]: W(H(2, Infinity), U(M)),
1509
+ [V.All]: W(H(2, Infinity), U(M)),
1510
+ [V.Not]: W(H(1, 1), U(M)),
1511
+ [V.Equal]: W(H(2, 2), cr()),
1512
+ [V.NotEqual]: W(H(2, 2), cr()),
1513
+ [V.GreaterThan]: W(H(2, 2), U(N)),
1514
+ [V.GreaterThanOrEqualTo]: W(H(2, 2), U(N)),
1515
+ [V.LessThan]: W(H(2, 2), U(N)),
1516
+ [V.LessThanOrEqualTo]: W(H(2, 2), U(N)),
1517
+ [V.Multiply]: W(H(2, Infinity), sr),
1518
+ [V.Coalesce]: W(H(2, Infinity), sr),
1519
+ [V.Divide]: W(H(2, 2), U(N)),
1520
+ [V.Add]: W(H(2, Infinity), U(N)),
1521
+ [V.Subtract]: W(H(2, 2), U(N)),
1522
+ [V.Clamp]: W(H(3, 3), U(N)),
1523
+ [V.Mod]: W(H(2, 2), U(N)),
1524
+ [V.Pow]: W(H(2, 2), U(N)),
1525
+ [V.Abs]: W(H(1, 1), U(N)),
1526
+ [V.Floor]: W(H(1, 1), U(N)),
1527
+ [V.Ceil]: W(H(1, 1), U(N)),
1528
+ [V.Round]: W(H(1, 1), U(N)),
1529
+ [V.Sin]: W(H(1, 1), U(N)),
1530
+ [V.Cos]: W(H(1, 1), U(N)),
1531
+ [V.Atan]: W(H(1, 2), U(N)),
1532
+ [V.Sqrt]: W(H(1, 1), U(N)),
1533
+ [V.Match]: W(H(4, Infinity), ur, dr),
1534
+ [V.Between]: W(H(3, 3), U(N)),
1535
+ [V.Interpolate]: W(H(6, Infinity), ur, fr),
1536
+ [V.Case]: W(H(3, Infinity), lr, pr),
1537
+ [V.In]: W(H(2, 2), mr),
1538
+ [V.Number]: W(H(1, Infinity), U(Gn)),
1539
+ [V.String]: W(H(1, Infinity), U(Gn)),
1540
+ [V.Array]: W(H(1, Infinity), U(N)),
1541
+ [V.Color]: W(H(1, 4), U(N)),
1542
+ [V.Band]: W(H(1, 3), U(N)),
1543
+ [V.Palette]: W(H(2, 2), hr),
1544
+ [V.ToString]: W(H(1, 1), U(M | N | P | F))
1557
1545
  };
1558
- function Qn(e, t, n) {
1546
+ function er(e, t, n) {
1559
1547
  let r = e.length - 1, i = Array(r);
1560
1548
  for (let a = 0; a < r; ++a) {
1561
1549
  let r = e[a + 1];
1562
1550
  switch (typeof r) {
1563
1551
  case "number":
1564
- i[a] = new V(F, r);
1552
+ i[a] = new z(N, r);
1565
1553
  break;
1566
1554
  case "string":
1567
- i[a] = new V(I, r);
1555
+ i[a] = new z(P, r);
1568
1556
  break;
1569
1557
  default: throw Error(`expected a string key or numeric array index for a get operation, got ${r}`);
1570
1558
  }
@@ -1572,42 +1560,42 @@ function Qn(e, t, n) {
1572
1560
  }
1573
1561
  return i;
1574
1562
  }
1575
- function $n() {
1563
+ function tr() {
1576
1564
  return function(e, t, n) {
1577
1565
  let r = e[1];
1578
1566
  if (typeof r != "string") throw Error("expected a string argument for var operation");
1579
1567
  let i = t, a = n.inputVariables?.[r];
1580
1568
  if (a !== void 0) {
1581
- let e = H(a, Un, n);
1582
- if (!(e instanceof V)) throw Error(`style variables should only be literal values (no expressions!), variable name: ${r}`);
1569
+ let e = B(a, Gn, n);
1570
+ if (!(e instanceof z)) throw Error(`style variables should only be literal values (no expressions!), variable name: ${r}`);
1583
1571
  let o = e.type;
1584
- if (typeof a == "string" && Jn(i, L) && !Jn(i, I) ? o = L : Array.isArray(a) && a.length === 2 && Jn(i, Hn) && !Jn(i, R) && (o = Hn), i &= o, i === 0) throw Error(`the type expected from the var operator (${z(t)}) did not have any overlap with the type of the corresponding style variables (${z(o)}), variable name: ${r}`);
1572
+ if (typeof a == "string" && Xn(i, F) && !Xn(i, P) ? o = F : Array.isArray(a) && a.length === 2 && Xn(i, Wn) && !Xn(i, I) && (o = Wn), i &= o, i === 0) throw Error(`the type expected from the var operator (${L(t)}) did not have any overlap with the type of the corresponding style variables (${L(o)}), variable name: ${r}`);
1585
1573
  }
1586
1574
  if (n.variables.has(r)) {
1587
1575
  let e = n.variables.get(r);
1588
- if (i &= e, i === 0) throw Error(`a new type expected from the var operator (${z(t)}) did not have any overlap with the previous type expected for it (${z(e)}), variable name: ${r}`);
1576
+ if (i &= e, i === 0) throw Error(`a new type expected from the var operator (${L(t)}) did not have any overlap with the previous type expected for it (${L(e)}), variable name: ${r}`);
1589
1577
  }
1590
- return n.variables.set(r, i), new Yn(i, "var", new V(I, r));
1578
+ return n.variables.set(r, i), new Zn(i, "var", new z(P, r));
1591
1579
  };
1592
1580
  }
1593
- function er(e, t, n) {
1581
+ function nr(e, t, n) {
1594
1582
  n.featureId = !0;
1595
1583
  }
1596
- function tr(e, t, n) {
1584
+ function rr(e, t, n) {
1597
1585
  n.geometryType = !0;
1598
1586
  }
1599
- function nr(e, t, n) {
1587
+ function ir(e, t, n) {
1600
1588
  n.mCoordinate = !0;
1601
1589
  }
1602
- function rr(e, t, n) {
1590
+ function ar(e, t, n) {
1603
1591
  n.mapState = !0;
1604
1592
  }
1605
- function ir(e, t, n) {
1593
+ function or(e, t, n) {
1606
1594
  let r = e[0];
1607
1595
  if (e.length !== 1) throw Error(`expected no arguments for ${r} operation`);
1608
1596
  return [];
1609
1597
  }
1610
- function W(e, t) {
1598
+ function H(e, t) {
1611
1599
  return function(n, r, i) {
1612
1600
  let a = n[0], o = n.length - 1;
1613
1601
  if (e === t) {
@@ -1618,52 +1606,52 @@ function W(e, t) {
1618
1606
  }
1619
1607
  };
1620
1608
  }
1621
- function ar(e, t, n) {
1609
+ function sr(e, t, n) {
1622
1610
  let r = e.length - 1, i = Array(r);
1623
1611
  for (let a = 0; a < r; ++a) {
1624
- let r = H(e[a + 1], t, n);
1612
+ let r = B(e[a + 1], t, n);
1625
1613
  i[a] = r;
1626
1614
  }
1627
1615
  return i;
1628
1616
  }
1629
- function G(e) {
1617
+ function U(e) {
1630
1618
  return function(t, n, r) {
1631
1619
  let i = t.length - 1, a = Array(i);
1632
1620
  for (let n = 0; n < i; ++n) {
1633
- let i = H(t[n + 1], e, r);
1621
+ let i = B(t[n + 1], e, r);
1634
1622
  a[n] = i;
1635
1623
  }
1636
1624
  return a;
1637
1625
  };
1638
1626
  }
1639
- function or() {
1627
+ function cr() {
1640
1628
  return function(e, t, n) {
1641
- let r = e[0], i = e.length - 1, a = Array(i), o = Un;
1629
+ let r = e[0], i = e.length - 1, a = Array(i), o = Gn;
1642
1630
  for (let t = 0; t < i; ++t) {
1643
- let r = H(e[t + 1], o, n);
1631
+ let r = B(e[t + 1], o, n);
1644
1632
  o &= r.type;
1645
1633
  }
1646
1634
  if (o === 0) throw Error(`no common type was found among the arguments of ${r}`);
1647
1635
  for (let t = 0; t < i; ++t) {
1648
- let r = H(e[t + 1], o, n);
1636
+ let r = B(e[t + 1], o, n);
1649
1637
  a[t] = r;
1650
1638
  }
1651
1639
  return a;
1652
1640
  };
1653
1641
  }
1654
- function sr(e, t, n) {
1642
+ function lr(e, t, n) {
1655
1643
  let r = e[0], i = e.length - 1;
1656
1644
  if (i % 2 == 0) throw Error(`expected an odd number of arguments for ${r}, got ${i} instead`);
1657
1645
  }
1658
- function cr(e, t, n) {
1646
+ function ur(e, t, n) {
1659
1647
  let r = e[0], i = e.length - 1;
1660
1648
  if (i % 2 == 1) throw Error(`expected an even number of arguments for operation ${r}, got ${i} instead`);
1661
1649
  }
1662
- function lr(e, t, n) {
1663
- let r = e.length - 1, i = H(e[e.length - 1], t, n), a = I | F | P, o = Array(r - 2);
1650
+ function dr(e, t, n) {
1651
+ let r = e.length - 1, i = B(e[e.length - 1], t, n), a = P | N | M, o = Array(r - 2);
1664
1652
  for (let t = 0; t < r - 2; t += 2) {
1665
1653
  try {
1666
- let r = H(e[t + 2], a, n);
1654
+ let r = B(e[t + 2], a, n);
1667
1655
  a &= r.type;
1668
1656
  } catch (e) {
1669
1657
  throw Error(`failed to parse argument ${t + 1} of match expression: ${e.message}`);
@@ -1672,25 +1660,25 @@ function lr(e, t, n) {
1672
1660
  }
1673
1661
  for (let t = 0; t < r - 2; t += 2) {
1674
1662
  try {
1675
- let r = H(e[t + 2], a, n);
1663
+ let r = B(e[t + 2], a, n);
1676
1664
  o[t] = r;
1677
1665
  } catch (e) {
1678
1666
  throw Error(`failed to parse argument ${t + 1} of match expression: ${e.message}`);
1679
1667
  }
1680
1668
  try {
1681
- let r = H(e[t + 3], i.type, n);
1669
+ let r = B(e[t + 3], i.type, n);
1682
1670
  o[t + 1] = r;
1683
1671
  } catch (e) {
1684
1672
  throw Error(`failed to parse argument ${t + 2} of match expression: ${e.message}`);
1685
1673
  }
1686
1674
  }
1687
1675
  return [
1688
- H(e[1], a, n),
1676
+ B(e[1], a, n),
1689
1677
  ...o,
1690
1678
  i
1691
1679
  ];
1692
1680
  }
1693
- function ur(e, t, n) {
1681
+ function fr(e, t, n) {
1694
1682
  let r = e[1], i;
1695
1683
  switch (r[0]) {
1696
1684
  case "linear":
@@ -1703,22 +1691,22 @@ function ur(e, t, n) {
1703
1691
  break;
1704
1692
  default: throw Error(`invalid interpolation type: ${JSON.stringify(r)}`);
1705
1693
  }
1706
- let a = new V(F, i), o;
1694
+ let a = new z(N, i), o;
1707
1695
  try {
1708
- o = H(e[2], F, n);
1696
+ o = B(e[2], N, n);
1709
1697
  } catch (e) {
1710
1698
  throw Error(`failed to parse argument 1 in interpolate expression: ${e.message}`);
1711
1699
  }
1712
1700
  let s = Array(e.length - 3);
1713
1701
  for (let r = 0; r < s.length; r += 2) {
1714
1702
  try {
1715
- let t = H(e[r + 3], F, n);
1703
+ let t = B(e[r + 3], N, n);
1716
1704
  s[r] = t;
1717
1705
  } catch (e) {
1718
1706
  throw Error(`failed to parse argument ${r + 2} for interpolate expression: ${e.message}`);
1719
1707
  }
1720
1708
  try {
1721
- let i = H(e[r + 4], t, n);
1709
+ let i = B(e[r + 4], t, n);
1722
1710
  s[r + 1] = i;
1723
1711
  } catch (e) {
1724
1712
  throw Error(`failed to parse argument ${r + 3} for interpolate expression: ${e.message}`);
@@ -1730,17 +1718,17 @@ function ur(e, t, n) {
1730
1718
  ...s
1731
1719
  ];
1732
1720
  }
1733
- function dr(e, t, n) {
1734
- let r = H(e[e.length - 1], t, n), i = Array(e.length - 1);
1721
+ function pr(e, t, n) {
1722
+ let r = B(e[e.length - 1], t, n), i = Array(e.length - 1);
1735
1723
  for (let t = 0; t < i.length - 1; t += 2) {
1736
1724
  try {
1737
- let r = H(e[t + 1], P, n);
1725
+ let r = B(e[t + 1], M, n);
1738
1726
  i[t] = r;
1739
1727
  } catch (e) {
1740
1728
  throw Error(`failed to parse argument ${t} of case expression: ${e.message}`);
1741
1729
  }
1742
1730
  try {
1743
- let a = H(e[t + 2], r.type, n);
1731
+ let a = B(e[t + 2], r.type, n);
1744
1732
  i[t + 1] = a;
1745
1733
  } catch (e) {
1746
1734
  throw Error(`failed to parse argument ${t + 1} of case expression: ${e.message}`);
@@ -1748,27 +1736,27 @@ function dr(e, t, n) {
1748
1736
  }
1749
1737
  return i[i.length - 1] = r, i;
1750
1738
  }
1751
- function fr(e, t, n) {
1739
+ function mr(e, t, n) {
1752
1740
  let r = e[2];
1753
1741
  if (!Array.isArray(r)) throw Error("the second argument for the \"in\" operator must be an array");
1754
1742
  let i;
1755
1743
  if (r[0] === "literal") {
1756
1744
  if (r = r[1], !Array.isArray(r)) throw Error("failed to parse \"in\" expression: the literal operator must be followed by an array");
1757
1745
  } else if (typeof r[0] == "string") throw Error("for the \"in\" operator, a string array should be wrapped in a \"literal\" operator to disambiguate from expressions");
1758
- i = typeof r[0] == "string" ? I : F;
1746
+ i = typeof r[0] == "string" ? P : N;
1759
1747
  let a = Array(r.length);
1760
1748
  for (let e = 0; e < a.length; e++) try {
1761
- let t = H(r[e], i, n);
1749
+ let t = B(r[e], i, n);
1762
1750
  a[e] = t;
1763
1751
  } catch (t) {
1764
1752
  throw Error(`failed to parse haystack item ${e} for "in" expression: ${t.message}`);
1765
1753
  }
1766
- return [H(e[1], i, n), ...a];
1754
+ return [B(e[1], i, n), ...a];
1767
1755
  }
1768
- function pr(e, t, n) {
1756
+ function hr(e, t, n) {
1769
1757
  let r;
1770
1758
  try {
1771
- r = H(e[1], F, n);
1759
+ r = B(e[1], N, n);
1772
1760
  } catch (e) {
1773
1761
  throw Error(`failed to parse first argument in palette expression: ${e.message}`);
1774
1762
  }
@@ -1778,16 +1766,16 @@ function pr(e, t, n) {
1778
1766
  for (let e = 0; e < a.length; e++) {
1779
1767
  let t;
1780
1768
  try {
1781
- t = H(i[e], L, n);
1769
+ t = B(i[e], F, n);
1782
1770
  } catch (t) {
1783
1771
  throw Error(`failed to parse color at index ${e} in palette expression: ${t.message}`);
1784
1772
  }
1785
- if (!(t instanceof V)) throw Error(`the palette color at index ${e} must be a literal value`);
1773
+ if (!(t instanceof z)) throw Error(`the palette color at index ${e} must be a literal value`);
1786
1774
  a[e] = t;
1787
1775
  }
1788
1776
  return [r, ...a];
1789
1777
  }
1790
- function K(...e) {
1778
+ function W(...e) {
1791
1779
  return function(t, n, r) {
1792
1780
  let i = t[0], a;
1793
1781
  for (let i = 0; i < e.length; i++) {
@@ -1797,15 +1785,15 @@ function K(...e) {
1797
1785
  a = o;
1798
1786
  }
1799
1787
  }
1800
- return new Yn(n, i, ...a);
1788
+ return new Zn(n, i, ...a);
1801
1789
  };
1802
1790
  }
1803
- function mr(e, t, n) {
1804
- let r = e[0], i = Zn[r];
1791
+ function gr(e, t, n) {
1792
+ let r = e[0], i = $n[r];
1805
1793
  if (!i) throw Error(`unknown operator: ${r}`);
1806
1794
  return i(e, t, n);
1807
1795
  }
1808
- function hr(e) {
1796
+ function _r(e) {
1809
1797
  if (!e) return "";
1810
1798
  let t = e.getType();
1811
1799
  switch (t) {
@@ -1816,13 +1804,12 @@ function hr(e) {
1816
1804
  case "MultiLineString":
1817
1805
  case "MultiPolygon": return t.substring(5);
1818
1806
  case "Circle": return "Polygon";
1819
- case "GeometryCollection": return hr(e.getGeometries()[0]);
1807
+ case "GeometryCollection": return _r(e.getGeometries()[0]);
1820
1808
  default: return "";
1821
1809
  }
1822
1810
  }
1823
- //#endregion
1824
- //#region ../node_modules/ol/expr/cpu.js
1825
- function gr() {
1811
+ // ../node_modules/ol/expr/cpu.js
1812
+ function vr() {
1826
1813
  return {
1827
1814
  variables: {},
1828
1815
  properties: {},
@@ -1831,13 +1818,13 @@ function gr() {
1831
1818
  geometryType: ""
1832
1819
  };
1833
1820
  }
1834
- function q(e, t, n) {
1835
- return J(H(e, t, n), n);
1821
+ function G(e, t, n) {
1822
+ return K(B(e, t, n), n);
1836
1823
  }
1837
- function J(e, t) {
1838
- if (e instanceof V) {
1839
- if (e.type === L && typeof e.value == "string") {
1840
- let t = Ve(e.value);
1824
+ function K(e, t) {
1825
+ if (e instanceof z) {
1826
+ if (e.type === F && typeof e.value == "string") {
1827
+ let t = Ue(e.value);
1841
1828
  return function() {
1842
1829
  return t;
1843
1830
  };
@@ -1848,65 +1835,65 @@ function J(e, t) {
1848
1835
  }
1849
1836
  let n = e.operator;
1850
1837
  switch (n) {
1851
- case U.Number:
1852
- case U.String:
1853
- case U.Coalesce: return _r(e, t);
1854
- case U.Get:
1855
- case U.Var:
1856
- case U.Has: return vr(e, t);
1857
- case U.Id: return (e) => e.featureId;
1858
- case U.GeometryType: return (e) => e.geometryType;
1859
- case U.Concat: {
1860
- let n = e.args.map((e) => J(e, t));
1838
+ case V.Number:
1839
+ case V.String:
1840
+ case V.Coalesce: return yr(e, t);
1841
+ case V.Get:
1842
+ case V.Var:
1843
+ case V.Has: return br(e, t);
1844
+ case V.Id: return (e) => e.featureId;
1845
+ case V.GeometryType: return (e) => e.geometryType;
1846
+ case V.Concat: {
1847
+ let n = e.args.map((e) => K(e, t));
1861
1848
  return (e) => "".concat(...n.map((t) => t(e).toString()));
1862
1849
  }
1863
- case U.Resolution: return (e) => e.resolution;
1864
- case U.Any:
1865
- case U.All:
1866
- case U.Between:
1867
- case U.In:
1868
- case U.Not: return br(e, t);
1869
- case U.Equal:
1870
- case U.NotEqual:
1871
- case U.LessThan:
1872
- case U.LessThanOrEqualTo:
1873
- case U.GreaterThan:
1874
- case U.GreaterThanOrEqualTo: return yr(e, t);
1875
- case U.Multiply:
1876
- case U.Divide:
1877
- case U.Add:
1878
- case U.Subtract:
1879
- case U.Clamp:
1880
- case U.Mod:
1881
- case U.Pow:
1882
- case U.Abs:
1883
- case U.Floor:
1884
- case U.Ceil:
1885
- case U.Round:
1886
- case U.Sin:
1887
- case U.Cos:
1888
- case U.Atan:
1889
- case U.Sqrt: return xr(e, t);
1890
- case U.Case: return Sr(e, t);
1891
- case U.Match: return Cr(e, t);
1892
- case U.Interpolate: return wr(e, t);
1893
- case U.ToString: return Tr(e, t);
1850
+ case V.Resolution: return (e) => e.resolution;
1851
+ case V.Any:
1852
+ case V.All:
1853
+ case V.Between:
1854
+ case V.In:
1855
+ case V.Not: return Sr(e, t);
1856
+ case V.Equal:
1857
+ case V.NotEqual:
1858
+ case V.LessThan:
1859
+ case V.LessThanOrEqualTo:
1860
+ case V.GreaterThan:
1861
+ case V.GreaterThanOrEqualTo: return xr(e, t);
1862
+ case V.Multiply:
1863
+ case V.Divide:
1864
+ case V.Add:
1865
+ case V.Subtract:
1866
+ case V.Clamp:
1867
+ case V.Mod:
1868
+ case V.Pow:
1869
+ case V.Abs:
1870
+ case V.Floor:
1871
+ case V.Ceil:
1872
+ case V.Round:
1873
+ case V.Sin:
1874
+ case V.Cos:
1875
+ case V.Atan:
1876
+ case V.Sqrt: return Cr(e, t);
1877
+ case V.Case: return wr(e, t);
1878
+ case V.Match: return Tr(e, t);
1879
+ case V.Interpolate: return Er(e, t);
1880
+ case V.ToString: return Dr(e, t);
1894
1881
  default: throw Error(`Unsupported operator ${n}`);
1895
1882
  }
1896
1883
  }
1897
- function _r(e, t) {
1884
+ function yr(e, t) {
1898
1885
  let n = e.operator, r = e.args.length, i = Array(r);
1899
- for (let n = 0; n < r; ++n) i[n] = J(e.args[n], t);
1886
+ for (let n = 0; n < r; ++n) i[n] = K(e.args[n], t);
1900
1887
  switch (n) {
1901
- case U.Coalesce: return (e) => {
1888
+ case V.Coalesce: return (e) => {
1902
1889
  for (let t = 0; t < r; ++t) {
1903
1890
  let n = i[t](e);
1904
1891
  if (n != null) return n;
1905
1892
  }
1906
1893
  throw Error("Expected one of the values to be non-null");
1907
1894
  };
1908
- case U.Number:
1909
- case U.String: return (e) => {
1895
+ case V.Number:
1896
+ case V.String: return (e) => {
1910
1897
  for (let t = 0; t < r; ++t) {
1911
1898
  let r = i[t](e);
1912
1899
  if (typeof r === n) return r;
@@ -1916,10 +1903,10 @@ function _r(e, t) {
1916
1903
  default: throw Error(`Unsupported assertion operator ${n}`);
1917
1904
  }
1918
1905
  }
1919
- function vr(e, t) {
1906
+ function br(e, t) {
1920
1907
  let n = e.args[0].value;
1921
1908
  switch (e.operator) {
1922
- case U.Get: return (t) => {
1909
+ case V.Get: return (t) => {
1923
1910
  let r = e.args, i = t.properties[n];
1924
1911
  for (let e = 1, t = r.length; e < t; ++e) {
1925
1912
  let t = r[e].value;
@@ -1927,8 +1914,8 @@ function vr(e, t) {
1927
1914
  }
1928
1915
  return i;
1929
1916
  };
1930
- case U.Var: return (e) => e.variables[n];
1931
- case U.Has: return (t) => {
1917
+ case V.Var: return (e) => e.variables[n];
1918
+ case V.Has: return (t) => {
1932
1919
  let r = e.args;
1933
1920
  if (!(n in t.properties)) return !1;
1934
1921
  let i = t.properties[n];
@@ -1942,140 +1929,139 @@ function vr(e, t) {
1942
1929
  default: throw Error(`Unsupported accessor operator ${e.operator}`);
1943
1930
  }
1944
1931
  }
1945
- function yr(e, t) {
1946
- let n = e.operator, r = J(e.args[0], t), i = J(e.args[1], t);
1932
+ function xr(e, t) {
1933
+ let n = e.operator, r = K(e.args[0], t), i = K(e.args[1], t);
1947
1934
  switch (n) {
1948
- case U.Equal: return (e) => r(e) === i(e);
1949
- case U.NotEqual: return (e) => r(e) !== i(e);
1950
- case U.LessThan: return (e) => r(e) < i(e);
1951
- case U.LessThanOrEqualTo: return (e) => r(e) <= i(e);
1952
- case U.GreaterThan: return (e) => r(e) > i(e);
1953
- case U.GreaterThanOrEqualTo: return (e) => r(e) >= i(e);
1935
+ case V.Equal: return (e) => r(e) === i(e);
1936
+ case V.NotEqual: return (e) => r(e) !== i(e);
1937
+ case V.LessThan: return (e) => r(e) < i(e);
1938
+ case V.LessThanOrEqualTo: return (e) => r(e) <= i(e);
1939
+ case V.GreaterThan: return (e) => r(e) > i(e);
1940
+ case V.GreaterThanOrEqualTo: return (e) => r(e) >= i(e);
1954
1941
  default: throw Error(`Unsupported comparison operator ${n}`);
1955
1942
  }
1956
1943
  }
1957
- function br(e, t) {
1944
+ function Sr(e, t) {
1958
1945
  let n = e.operator, r = e.args.length, i = Array(r);
1959
- for (let n = 0; n < r; ++n) i[n] = J(e.args[n], t);
1946
+ for (let n = 0; n < r; ++n) i[n] = K(e.args[n], t);
1960
1947
  switch (n) {
1961
- case U.Any: return (e) => {
1948
+ case V.Any: return (e) => {
1962
1949
  for (let t = 0; t < r; ++t) if (i[t](e)) return !0;
1963
1950
  return !1;
1964
1951
  };
1965
- case U.All: return (e) => {
1952
+ case V.All: return (e) => {
1966
1953
  for (let t = 0; t < r; ++t) if (!i[t](e)) return !1;
1967
1954
  return !0;
1968
1955
  };
1969
- case U.Between: return (e) => {
1956
+ case V.Between: return (e) => {
1970
1957
  let t = i[0](e), n = i[1](e), r = i[2](e);
1971
1958
  return t >= n && t <= r;
1972
1959
  };
1973
- case U.In: return (e) => {
1960
+ case V.In: return (e) => {
1974
1961
  let t = i[0](e);
1975
1962
  for (let n = 1; n < r; ++n) if (t === i[n](e)) return !0;
1976
1963
  return !1;
1977
1964
  };
1978
- case U.Not: return (e) => !i[0](e);
1965
+ case V.Not: return (e) => !i[0](e);
1979
1966
  default: throw Error(`Unsupported logical operator ${n}`);
1980
1967
  }
1981
1968
  }
1982
- function xr(e, t) {
1969
+ function Cr(e, t) {
1983
1970
  let n = e.operator, r = e.args.length, i = Array(r);
1984
- for (let n = 0; n < r; ++n) i[n] = J(e.args[n], t);
1971
+ for (let n = 0; n < r; ++n) i[n] = K(e.args[n], t);
1985
1972
  switch (n) {
1986
- case U.Multiply: return (e) => {
1973
+ case V.Multiply: return (e) => {
1987
1974
  let t = 1;
1988
1975
  for (let n = 0; n < r; ++n) t *= i[n](e);
1989
1976
  return t;
1990
1977
  };
1991
- case U.Divide: return (e) => i[0](e) / i[1](e);
1992
- case U.Add: return (e) => {
1978
+ case V.Divide: return (e) => i[0](e) / i[1](e);
1979
+ case V.Add: return (e) => {
1993
1980
  let t = 0;
1994
1981
  for (let n = 0; n < r; ++n) t += i[n](e);
1995
1982
  return t;
1996
1983
  };
1997
- case U.Subtract: return (e) => i[0](e) - i[1](e);
1998
- case U.Clamp: return (e) => {
1984
+ case V.Subtract: return (e) => i[0](e) - i[1](e);
1985
+ case V.Clamp: return (e) => {
1999
1986
  let t = i[0](e), n = i[1](e);
2000
1987
  if (t < n) return n;
2001
1988
  let r = i[2](e);
2002
1989
  return t > r ? r : t;
2003
1990
  };
2004
- case U.Mod: return (e) => i[0](e) % i[1](e);
2005
- case U.Pow: return (e) => i[0](e) ** +i[1](e);
2006
- case U.Abs: return (e) => Math.abs(i[0](e));
2007
- case U.Floor: return (e) => Math.floor(i[0](e));
2008
- case U.Ceil: return (e) => Math.ceil(i[0](e));
2009
- case U.Round: return (e) => Math.round(i[0](e));
2010
- case U.Sin: return (e) => Math.sin(i[0](e));
2011
- case U.Cos: return (e) => Math.cos(i[0](e));
2012
- case U.Atan: return r === 2 ? (e) => Math.atan2(i[0](e), i[1](e)) : (e) => Math.atan(i[0](e));
2013
- case U.Sqrt: return (e) => Math.sqrt(i[0](e));
1991
+ case V.Mod: return (e) => i[0](e) % i[1](e);
1992
+ case V.Pow: return (e) => i[0](e) ** +i[1](e);
1993
+ case V.Abs: return (e) => Math.abs(i[0](e));
1994
+ case V.Floor: return (e) => Math.floor(i[0](e));
1995
+ case V.Ceil: return (e) => Math.ceil(i[0](e));
1996
+ case V.Round: return (e) => Math.round(i[0](e));
1997
+ case V.Sin: return (e) => Math.sin(i[0](e));
1998
+ case V.Cos: return (e) => Math.cos(i[0](e));
1999
+ case V.Atan: return r === 2 ? (e) => Math.atan2(i[0](e), i[1](e)) : (e) => Math.atan(i[0](e));
2000
+ case V.Sqrt: return (e) => Math.sqrt(i[0](e));
2014
2001
  default: throw Error(`Unsupported numeric operator ${n}`);
2015
2002
  }
2016
2003
  }
2017
- function Sr(e, t) {
2004
+ function wr(e, t) {
2018
2005
  let n = e.args.length, r = Array(n);
2019
- for (let i = 0; i < n; ++i) r[i] = J(e.args[i], t);
2006
+ for (let i = 0; i < n; ++i) r[i] = K(e.args[i], t);
2020
2007
  return (e) => {
2021
2008
  for (let t = 0; t < n - 1; t += 2) if (r[t](e)) return r[t + 1](e);
2022
2009
  return r[n - 1](e);
2023
2010
  };
2024
2011
  }
2025
- function Cr(e, t) {
2012
+ function Tr(e, t) {
2026
2013
  let n = e.args.length, r = Array(n);
2027
- for (let i = 0; i < n; ++i) r[i] = J(e.args[i], t);
2014
+ for (let i = 0; i < n; ++i) r[i] = K(e.args[i], t);
2028
2015
  return (e) => {
2029
2016
  let t = r[0](e);
2030
2017
  for (let i = 1; i < n - 1; i += 2) if (t === r[i](e)) return r[i + 1](e);
2031
2018
  return r[n - 1](e);
2032
2019
  };
2033
2020
  }
2034
- function wr(e, t) {
2021
+ function Er(e, t) {
2035
2022
  let n = e.args.length, r = Array(n);
2036
- for (let i = 0; i < n; ++i) r[i] = J(e.args[i], t);
2023
+ for (let i = 0; i < n; ++i) r[i] = K(e.args[i], t);
2037
2024
  return (e) => {
2038
2025
  let t = r[0](e), i = r[1](e), a, o;
2039
2026
  for (let s = 2; s < n; s += 2) {
2040
2027
  let n = r[s](e), c = r[s + 1](e), l = Array.isArray(c);
2041
- if (l && (c = Ue(c)), n >= i) return s === 2 ? c : l ? Dr(t, i, a, o, n, c) : Er(t, i, a, o, n, c);
2028
+ if (l && (c = Ge(c)), n >= i) return s === 2 ? c : l ? kr(t, i, a, o, n, c) : Or(t, i, a, o, n, c);
2042
2029
  a = n, o = c;
2043
2030
  }
2044
2031
  return o;
2045
2032
  };
2046
2033
  }
2047
- function Tr(e, t) {
2034
+ function Dr(e, t) {
2048
2035
  let n = e.operator, r = e.args.length, i = Array(r);
2049
- for (let n = 0; n < r; ++n) i[n] = J(e.args[n], t);
2036
+ for (let n = 0; n < r; ++n) i[n] = K(e.args[n], t);
2050
2037
  switch (n) {
2051
- case U.ToString: return (t) => {
2038
+ case V.ToString: return (t) => {
2052
2039
  let n = i[0](t);
2053
- return e.args[0].type === L ? He(n) : n.toString();
2040
+ return e.args[0].type === F ? We(n) : n.toString();
2054
2041
  };
2055
2042
  default: throw Error(`Unsupported convert operator ${n}`);
2056
2043
  }
2057
2044
  }
2058
- function Er(e, t, n, r, i, a) {
2045
+ function Or(e, t, n, r, i, a) {
2059
2046
  let o = i - n;
2060
2047
  if (o === 0) return r;
2061
2048
  let s = t - n;
2062
2049
  return r + (e === 1 ? s / o : (e ** +s - 1) / (e ** +o - 1)) * (a - r);
2063
2050
  }
2064
- function Dr(e, t, n, r, i, a) {
2051
+ function kr(e, t, n, r, i, a) {
2065
2052
  if (i - n === 0) return r;
2066
- let o = Qe(r), s = Qe(a), c = s[2] - o[2];
2053
+ let o = et(r), s = et(a), c = s[2] - o[2];
2067
2054
  c > 180 ? c -= 360 : c < -180 && (c += 360);
2068
2055
  let l = [
2069
- Er(e, t, n, o[0], i, s[0]),
2070
- Er(e, t, n, o[1], i, s[1]),
2071
- o[2] + Er(e, t, n, 0, i, c),
2072
- Er(e, t, n, r[3], i, a[3])
2056
+ Or(e, t, n, o[0], i, s[0]),
2057
+ Or(e, t, n, o[1], i, s[1]),
2058
+ o[2] + Or(e, t, n, 0, i, c),
2059
+ Or(e, t, n, r[3], i, a[3])
2073
2060
  ];
2074
- return Ge(l);
2061
+ return qe(l);
2075
2062
  }
2076
- //#endregion
2077
- //#region ../node_modules/ol/style/RegularShape.js
2078
- var Or = class e extends Rn {
2063
+ // ../node_modules/ol/style/RegularShape.js
2064
+ var Ar = class e extends Bn {
2079
2065
  constructor(e) {
2080
2066
  super({
2081
2067
  opacity: 1,
@@ -2084,7 +2070,7 @@ var Or = class e extends Rn {
2084
2070
  scale: e.scale === void 0 ? 1 : e.scale,
2085
2071
  displacement: e.displacement === void 0 ? [0, 0] : e.displacement,
2086
2072
  declutterMode: e.declutterMode
2087
- }), this.hitDetectionCanvas_ = null, this.fill_ = e.fill === void 0 ? null : e.fill, this.origin_ = [0, 0], this.points_ = e.points, this.radius = e.radius, this.radius2_ = e.radius2, this.angle_ = e.angle === void 0 ? 0 : e.angle, this.stroke_ = e.stroke === void 0 ? null : e.stroke, this.size_, this.renderOptions_, this.imageState_ = this.fill_ && this.fill_.loading() ? E.LOADING : E.LOADED, this.imageState_ === E.LOADING && this.ready().then(() => this.imageState_ = E.LOADED), this.render();
2073
+ }), this.hitDetectionCanvas_ = null, this.fill_ = e.fill === void 0 ? null : e.fill, this.origin_ = [0, 0], this.points_ = e.points, this.radius = e.radius, this.radius2_ = e.radius2, this.angle_ = e.angle === void 0 ? 0 : e.angle, this.stroke_ = e.stroke === void 0 ? null : e.stroke, this.size_, this.renderOptions_, this.imageState_ = this.fill_ && this.fill_.loading() ? w.LOADING : w.LOADED, this.imageState_ === w.LOADING && this.ready().then(() => this.imageState_ = w.LOADED), this.render();
2088
2074
  }
2089
2075
  clone() {
2090
2076
  let t = this.getScale(), n = new e({
@@ -2119,12 +2105,12 @@ var Or = class e extends Rn {
2119
2105
  return this.hitDetectionCanvas_ ||= this.createHitDetectionCanvas_(this.renderOptions_), this.hitDetectionCanvas_;
2120
2106
  }
2121
2107
  getImage(e) {
2122
- let t = this.fill_?.getKey(), n = `${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}` + Object.values(this.renderOptions_).join(","), r = N.get(n, null)?.getImage(1);
2108
+ let t = this.fill_?.getKey(), n = `${e},${this.angle_},${this.radius},${this.radius2_},${this.points_},${t}` + Object.values(this.renderOptions_).join(","), r = j.get(n, null)?.getImage(1);
2123
2109
  if (!r) {
2124
- let t = this.renderOptions_, i = Math.ceil(t.size * e), a = we(i, i);
2110
+ let t = this.renderOptions_, i = Math.ceil(t.size * e), a = ve(i, i);
2125
2111
  this.draw_(t, a, e), r = a.canvas;
2126
- let o = new dn(r, void 0, null, E.LOADED, null);
2127
- N.set(n, null, o), createImageBitmap(r).then((e) => {
2112
+ let o = new pn(r, void 0, null, w.LOADED, null);
2113
+ j.set(n, null, o), createImageBitmap(r).then((e) => {
2128
2114
  o.setImage(e);
2129
2115
  });
2130
2116
  }
@@ -2188,8 +2174,8 @@ var Or = class e extends Rn {
2188
2174
  return m * 2;
2189
2175
  }
2190
2176
  createRenderOptions() {
2191
- let e = _n, t = yn, n = 0, r = null, i = 0, a, o = 0;
2192
- this.stroke_ && (a = pn(this.stroke_.getColor() ?? "#000"), o = this.stroke_.getWidth() ?? 1, r = this.stroke_.getLineDash(), i = this.stroke_.getLineDashOffset() ?? 0, t = this.stroke_.getLineJoin() ?? "round", e = this.stroke_.getLineCap() ?? "round", n = this.stroke_.getMiterLimit() ?? 10);
2177
+ let e = yn, t = xn, n = 0, r = null, i = 0, a, o = 0;
2178
+ this.stroke_ && (a = hn(this.stroke_.getColor() ?? "#000"), o = this.stroke_.getWidth() ?? 1, r = this.stroke_.getLineDash(), i = this.stroke_.getLineDashOffset() ?? 0, t = this.stroke_.getLineJoin() ?? "round", e = this.stroke_.getLineCap() ?? "round", n = this.stroke_.getMiterLimit() ?? 10);
2193
2179
  let s = this.calculateLineJoinSize_(t, o, n), c = Math.max(this.radius, this.radius2_ || 0), l = Math.ceil(2 * c + s);
2194
2180
  return {
2195
2181
  strokeStyle: a,
@@ -2210,7 +2196,7 @@ var Or = class e extends Rn {
2210
2196
  draw_(e, t, n) {
2211
2197
  if (t.scale(n, n), t.translate(e.size / 2, e.size / 2), this.createPath_(t), this.fill_) {
2212
2198
  let e = this.fill_.getColor();
2213
- e === null && (e = gn), t.fillStyle = pn(e), t.fill();
2199
+ e === null && (e = vn), t.fillStyle = hn(e), t.fill();
2214
2200
  }
2215
2201
  e.strokeStyle && (t.strokeStyle = e.strokeStyle, t.lineWidth = e.strokeWidth, e.lineDash && (t.setLineDash(e.lineDash), t.lineDashOffset = e.lineDashOffset), t.lineCap = e.lineCap, t.lineJoin = e.lineJoin, t.miterLimit = e.miterLimit, t.stroke());
2216
2202
  }
@@ -2218,7 +2204,7 @@ var Or = class e extends Rn {
2218
2204
  let t;
2219
2205
  if (this.fill_) {
2220
2206
  let n = this.fill_.getColor(), r = 0;
2221
- typeof n == "string" && (n = qe(n)), n === null ? r = 1 : Array.isArray(n) && (r = n.length === 4 ? n[3] : 1), r === 0 && (t = we(e.size, e.size), this.drawHitDetectionCanvas_(e, t));
2207
+ typeof n == "string" && (n = Ye(n)), n === null ? r = 1 : Array.isArray(n) && (r = n.length === 4 ? n[3] : 1), r === 0 && (t = ve(e.size, e.size), this.drawHitDetectionCanvas_(e, t));
2222
2208
  }
2223
2209
  return t ? t.canvas : this.getImage(1);
2224
2210
  }
@@ -2237,12 +2223,12 @@ var Or = class e extends Rn {
2237
2223
  }
2238
2224
  }
2239
2225
  drawHitDetectionCanvas_(e, t) {
2240
- t.translate(e.size / 2, e.size / 2), this.createPath_(t), t.fillStyle = gn, t.fill(), e.strokeStyle && (t.strokeStyle = e.strokeStyle, t.lineWidth = e.strokeWidth, e.lineDash && (t.setLineDash(e.lineDash), t.lineDashOffset = e.lineDashOffset), t.lineJoin = e.lineJoin, t.miterLimit = e.miterLimit, t.stroke());
2226
+ t.translate(e.size / 2, e.size / 2), this.createPath_(t), t.fillStyle = vn, t.fill(), e.strokeStyle && (t.strokeStyle = e.strokeStyle, t.lineWidth = e.strokeWidth, e.lineDash && (t.setLineDash(e.lineDash), t.lineDashOffset = e.lineDashOffset), t.lineJoin = e.lineJoin, t.miterLimit = e.miterLimit, t.stroke());
2241
2227
  }
2242
2228
  ready() {
2243
2229
  return this.fill_ ? this.fill_.ready() : Promise.resolve();
2244
2230
  }
2245
- }, kr = class e extends Or {
2231
+ }, jr = class e extends Ar {
2246
2232
  constructor(e) {
2247
2233
  e ||= { radius: 5 }, super({
2248
2234
  points: Infinity,
@@ -2269,7 +2255,7 @@ var Or = class e extends Rn {
2269
2255
  });
2270
2256
  return n.setOpacity(this.getOpacity()), n;
2271
2257
  }
2272
- }, Ar = class e {
2258
+ }, Mr = class e {
2273
2259
  constructor(e) {
2274
2260
  e ||= {}, this.patternImage_ = null, this.color_ = null, e.color !== void 0 && this.setColor(e.color);
2275
2261
  }
@@ -2282,16 +2268,16 @@ var Or = class e extends Rn {
2282
2268
  }
2283
2269
  setColor(e) {
2284
2270
  if (typeof e == "object" && e && "src" in e) {
2285
- let t = fn(null, e.src, { crossOrigin: "anonymous" }, void 0, e.offset ? null : e.color ? e.color : null, !(e.offset && e.size));
2271
+ let t = mn(null, e.src, { crossOrigin: "anonymous" }, void 0, e.offset ? null : e.color ? e.color : null, !(e.offset && e.size));
2286
2272
  t.ready().then(() => {
2287
2273
  this.patternImage_ = null;
2288
- }), t.getImageState() === E.IDLE && t.load(), t.getImageState() === E.LOADING && (this.patternImage_ = t);
2274
+ }), t.getImageState() === w.IDLE && t.load(), t.getImageState() === w.LOADING && (this.patternImage_ = t);
2289
2275
  }
2290
2276
  this.color_ = e;
2291
2277
  }
2292
2278
  getKey() {
2293
2279
  let e = this.getColor();
2294
- return e ? e instanceof CanvasPattern || e instanceof CanvasGradient ? d(e) : typeof e == "object" && "src" in e ? e.src + ":" + e.offset : qe(e).toString() : "";
2280
+ return e ? e instanceof CanvasPattern || e instanceof CanvasGradient ? r(e) : typeof e == "object" && "src" in e ? e.src + ":" + e.offset : Ye(e).toString() : "";
2295
2281
  }
2296
2282
  loading() {
2297
2283
  return !!this.patternImage_;
@@ -2299,7 +2285,7 @@ var Or = class e extends Rn {
2299
2285
  ready() {
2300
2286
  return this.patternImage_ ? this.patternImage_.ready() : Promise.resolve();
2301
2287
  }
2302
- }, jr = class e {
2288
+ }, Nr = class e {
2303
2289
  constructor(e) {
2304
2290
  e ||= {}, this.color_ = e.color === void 0 ? null : e.color, this.lineCap_ = e.lineCap, this.lineDash_ = e.lineDash === void 0 ? null : e.lineDash, this.lineDashOffset_ = e.lineDashOffset, this.lineJoin_ = e.lineJoin, this.miterLimit_ = e.miterLimit, this.offset_ = e.offset, this.width_ = e.width;
2305
2291
  }
@@ -2364,9 +2350,9 @@ var Or = class e extends Rn {
2364
2350
  setWidth(e) {
2365
2351
  this.width_ = e;
2366
2352
  }
2367
- }, Y = class e {
2353
+ }, q = class e {
2368
2354
  constructor(e) {
2369
- e ||= {}, this.geometry_ = null, this.geometryFunction_ = Ir, e.geometry !== void 0 && this.setGeometry(e.geometry), this.fill_ = e.fill === void 0 ? null : e.fill, this.image_ = e.image === void 0 ? null : e.image, this.renderer_ = e.renderer === void 0 ? null : e.renderer, this.hitDetectionRenderer_ = e.hitDetectionRenderer === void 0 ? null : e.hitDetectionRenderer, this.stroke_ = e.stroke === void 0 ? null : e.stroke, this.text_ = e.text === void 0 ? null : e.text, this.zIndex_ = e.zIndex;
2355
+ e ||= {}, this.geometry_ = null, this.geometryFunction_ = Rr, e.geometry !== void 0 && this.setGeometry(e.geometry), this.fill_ = e.fill === void 0 ? null : e.fill, this.image_ = e.image === void 0 ? null : e.image, this.renderer_ = e.renderer === void 0 ? null : e.renderer, this.hitDetectionRenderer_ = e.hitDetectionRenderer === void 0 ? null : e.hitDetectionRenderer, this.stroke_ = e.stroke === void 0 ? null : e.stroke, this.text_ = e.text === void 0 ? null : e.text, this.zIndex_ = e.zIndex;
2370
2356
  }
2371
2357
  clone() {
2372
2358
  let t = this.getGeometry();
@@ -2430,32 +2416,32 @@ var Or = class e extends Rn {
2430
2416
  return t.get(e);
2431
2417
  } : e ? e !== void 0 && (this.geometryFunction_ = function() {
2432
2418
  return e;
2433
- }) : this.geometryFunction_ = Ir, this.geometry_ = e;
2419
+ }) : this.geometryFunction_ = Rr, this.geometry_ = e;
2434
2420
  }
2435
2421
  setZIndex(e) {
2436
2422
  this.zIndex_ = e;
2437
2423
  }
2438
2424
  };
2439
- function Mr(e) {
2425
+ function Pr(e) {
2440
2426
  let t;
2441
2427
  if (typeof e == "function") t = e;
2442
2428
  else {
2443
2429
  let n;
2444
- Array.isArray(e) ? n = e : (O(typeof e.getZIndex == "function", "Expected an `Style` or an array of `Style`"), n = [e]), t = function() {
2430
+ Array.isArray(e) ? n = e : (E(typeof e.getZIndex == "function", "Expected an `Style` or an array of `Style`"), n = [e]), t = function() {
2445
2431
  return n;
2446
2432
  };
2447
2433
  }
2448
2434
  return t;
2449
2435
  }
2450
- var Nr = null;
2451
- function Pr(e, t) {
2452
- if (!Nr) {
2453
- let e = new Ar({ color: "rgba(255,255,255,0.4)" }), t = new jr({
2436
+ var Fr = null;
2437
+ function Ir(e, t) {
2438
+ if (!Fr) {
2439
+ let e = new Mr({ color: "rgba(255,255,255,0.4)" }), t = new Nr({
2454
2440
  color: "#3399CC",
2455
2441
  width: 1.25
2456
2442
  });
2457
- Nr = [new Y({
2458
- image: new kr({
2443
+ Fr = [new q({
2444
+ image: new jr({
2459
2445
  fill: e,
2460
2446
  stroke: t,
2461
2447
  radius: 5
@@ -2464,9 +2450,9 @@ function Pr(e, t) {
2464
2450
  stroke: t
2465
2451
  })];
2466
2452
  }
2467
- return Nr;
2453
+ return Fr;
2468
2454
  }
2469
- function Fr() {
2455
+ function Lr() {
2470
2456
  let e = {}, t = [
2471
2457
  255,
2472
2458
  255,
@@ -2478,22 +2464,22 @@ function Fr() {
2478
2464
  255,
2479
2465
  1
2480
2466
  ];
2481
- return e.Polygon = [new Y({ fill: new Ar({ color: [
2467
+ return e.Polygon = [new q({ fill: new Mr({ color: [
2482
2468
  255,
2483
2469
  255,
2484
2470
  255,
2485
2471
  .5
2486
- ] }) })], e.MultiPolygon = e.Polygon, e.LineString = [new Y({ stroke: new jr({
2472
+ ] }) })], e.MultiPolygon = e.Polygon, e.LineString = [new q({ stroke: new Nr({
2487
2473
  color: t,
2488
2474
  width: 5
2489
- }) }), new Y({ stroke: new jr({
2475
+ }) }), new q({ stroke: new Nr({
2490
2476
  color: n,
2491
2477
  width: 3
2492
- }) })], e.MultiLineString = e.LineString, e.Circle = e.Polygon.concat(e.LineString), e.Point = [new Y({
2493
- image: new kr({
2478
+ }) })], e.MultiLineString = e.LineString, e.Circle = e.Polygon.concat(e.LineString), e.Point = [new q({
2479
+ image: new jr({
2494
2480
  radius: 6,
2495
- fill: new Ar({ color: n }),
2496
- stroke: new jr({
2481
+ fill: new Mr({ color: n }),
2482
+ stroke: new Nr({
2497
2483
  color: t,
2498
2484
  width: 3 / 2
2499
2485
  })
@@ -2501,14 +2487,13 @@ function Fr() {
2501
2487
  zIndex: Infinity
2502
2488
  })], e.MultiPoint = e.Point, e.GeometryCollection = e.Polygon.concat(e.LineString, e.Point), e;
2503
2489
  }
2504
- function Ir(e) {
2490
+ function Rr(e) {
2505
2491
  return e.getGeometry();
2506
2492
  }
2507
- //#endregion
2508
- //#region ../node_modules/ol/style/Text.js
2509
- var Lr = "#333", Rr = class e {
2493
+ // ../node_modules/ol/style/Text.js
2494
+ var zr = "#333", Br = class e {
2510
2495
  constructor(e) {
2511
- e ||= {}, this.font_ = e.font, this.rotation_ = e.rotation, this.rotateWithView_ = e.rotateWithView, this.keepUpright_ = e.keepUpright, this.scale_ = e.scale, this.scaleArray_ = ve(e.scale === void 0 ? 1 : e.scale), this.text_ = e.text, this.textAlign_ = e.textAlign, this.justify_ = e.justify, this.repeat_ = e.repeat, this.textBaseline_ = e.textBaseline, this.fill_ = e.fill === void 0 ? new Ar({ color: Lr }) : e.fill, this.maxAngle_ = e.maxAngle === void 0 ? Math.PI / 4 : e.maxAngle, this.placement_ = e.placement === void 0 ? "point" : e.placement, this.overflow_ = !!e.overflow, this.stroke_ = e.stroke === void 0 ? null : e.stroke, this.offsetX_ = e.offsetX === void 0 ? 0 : e.offsetX, this.offsetY_ = e.offsetY === void 0 ? 0 : e.offsetY, this.backgroundFill_ = e.backgroundFill ? e.backgroundFill : null, this.backgroundStroke_ = e.backgroundStroke ? e.backgroundStroke : null, this.padding_ = e.padding === void 0 ? null : e.padding, this.declutterMode_ = e.declutterMode;
2496
+ e ||= {}, this.font_ = e.font, this.rotation_ = e.rotation, this.rotateWithView_ = e.rotateWithView, this.keepUpright_ = e.keepUpright, this.scale_ = e.scale, this.scaleArray_ = fe(e.scale === void 0 ? 1 : e.scale), this.text_ = e.text, this.textAlign_ = e.textAlign, this.justify_ = e.justify, this.repeat_ = e.repeat, this.textBaseline_ = e.textBaseline, this.fill_ = e.fill === void 0 ? new Mr({ color: zr }) : e.fill, this.maxAngle_ = e.maxAngle === void 0 ? Math.PI / 4 : e.maxAngle, this.placement_ = e.placement === void 0 ? "point" : e.placement, this.overflow_ = !!e.overflow, this.stroke_ = e.stroke === void 0 ? null : e.stroke, this.offsetX_ = e.offsetX === void 0 ? 0 : e.offsetX, this.offsetY_ = e.offsetY === void 0 ? 0 : e.offsetY, this.backgroundFill_ = e.backgroundFill ? e.backgroundFill : null, this.backgroundStroke_ = e.backgroundStroke ? e.backgroundStroke : null, this.padding_ = e.padding === void 0 ? null : e.padding, this.declutterMode_ = e.declutterMode;
2512
2497
  }
2513
2498
  clone() {
2514
2499
  let t = this.getScale();
@@ -2526,7 +2511,7 @@ var Lr = "#333", Rr = class e {
2526
2511
  textAlign: this.getTextAlign(),
2527
2512
  justify: this.getJustify(),
2528
2513
  textBaseline: this.getTextBaseline(),
2529
- fill: this.getFill() instanceof Ar ? this.getFill().clone() : this.getFill(),
2514
+ fill: this.getFill() instanceof Mr ? this.getFill().clone() : this.getFill(),
2530
2515
  stroke: this.getStroke() ? this.getStroke().clone() : void 0,
2531
2516
  offsetX: this.getOffsetX(),
2532
2517
  offsetY: this.getOffsetY(),
@@ -2636,7 +2621,7 @@ var Lr = "#333", Rr = class e {
2636
2621
  this.rotation_ = e;
2637
2622
  }
2638
2623
  setScale(e) {
2639
- this.scale_ = e, this.scaleArray_ = ve(e === void 0 ? 1 : e);
2624
+ this.scale_ = e, this.scaleArray_ = fe(e === void 0 ? 1 : e);
2640
2625
  }
2641
2626
  setStroke(e) {
2642
2627
  this.stroke_ = e;
@@ -2663,33 +2648,32 @@ var Lr = "#333", Rr = class e {
2663
2648
  this.padding_ = e;
2664
2649
  }
2665
2650
  };
2666
- //#endregion
2667
- //#region ../node_modules/ol/render/canvas/style.js
2668
- function zr(e) {
2651
+ // ../node_modules/ol/render/canvas/style.js
2652
+ function Vr(e) {
2669
2653
  return !0;
2670
2654
  }
2671
- function Br(e, t) {
2672
- t ??= Xn();
2673
- let n = Ur(e, t), r = gr();
2655
+ function Hr(e, t) {
2656
+ t ??= Qn();
2657
+ let n = Gr(e, t), r = vr();
2674
2658
  return function(e, i) {
2675
2659
  if (r.properties = e.getPropertiesInternal(), r.resolution = i, t.featureId) {
2676
2660
  let t = e.getId();
2677
2661
  t === void 0 ? r.featureId = null : r.featureId = t;
2678
2662
  }
2679
- return t.geometryType && (r.geometryType = hr(e.getGeometry())), n(r);
2663
+ return t.geometryType && (r.geometryType = _r(e.getGeometry())), n(r);
2680
2664
  };
2681
2665
  }
2682
- function Vr(e, t) {
2683
- t ??= Xn();
2666
+ function Ur(e, t) {
2667
+ t ??= Qn();
2684
2668
  let n = e.length, r = Array(n);
2685
- for (let i = 0; i < n; ++i) r[i] = Wr(e[i], t);
2686
- let i = gr(), a = Array(n);
2669
+ for (let i = 0; i < n; ++i) r[i] = Kr(e[i], t);
2670
+ let i = vr(), a = Array(n);
2687
2671
  return function(e, o) {
2688
2672
  if (i.properties = e.getPropertiesInternal(), i.resolution = o, t.featureId) {
2689
2673
  let t = e.getId();
2690
2674
  t === void 0 ? i.featureId = null : i.featureId = t;
2691
2675
  }
2692
- t.geometryType && (i.geometryType = hr(e.getGeometry()));
2676
+ t.geometryType && (i.geometryType = _r(e.getGeometry()));
2693
2677
  let s = 0;
2694
2678
  for (let e = 0; e < n; ++e) {
2695
2679
  let t = r[e](i);
@@ -2698,8 +2682,8 @@ function Vr(e, t) {
2698
2682
  return a.length = s, a;
2699
2683
  };
2700
2684
  }
2701
- function Hr(e, t) {
2702
- if (t ??= Xn(), !Array.isArray(e)) return Vr([e], t);
2685
+ function Wr(e, t) {
2686
+ if (t ??= Qn(), !Array.isArray(e)) return Ur([e], t);
2703
2687
  let n = e.length;
2704
2688
  if ("style" in e[0]) {
2705
2689
  let r = Array(n);
@@ -2708,19 +2692,19 @@ function Hr(e, t) {
2708
2692
  if (!("style" in n)) throw Error("Expected a list of rules with a style property");
2709
2693
  r[t] = n;
2710
2694
  }
2711
- return Br(r, t);
2695
+ return Hr(r, t);
2712
2696
  }
2713
- return Vr(e, t);
2697
+ return Ur(e, t);
2714
2698
  }
2715
- function Ur(e, t) {
2699
+ function Gr(e, t) {
2716
2700
  let n = e.length, r = Array(n);
2717
2701
  for (let i = 0; i < n; ++i) {
2718
- let n = e[i], a = "filter" in n ? q(n.filter, P, t) : zr, o;
2702
+ let n = e[i], a = "filter" in n ? G(n.filter, M, t) : Vr, o;
2719
2703
  if (Array.isArray(n.style)) {
2720
2704
  let e = n.style.length;
2721
2705
  o = Array(e);
2722
- for (let r = 0; r < e; ++r) o[r] = Wr(n.style[r], t);
2723
- } else o = [Wr(n.style, t)];
2706
+ for (let r = 0; r < e; ++r) o[r] = Kr(n.style[r], t);
2707
+ } else o = [Kr(n.style, t)];
2724
2708
  r[i] = {
2725
2709
  filter: a,
2726
2710
  styles: o
@@ -2741,10 +2725,10 @@ function Ur(e, t) {
2741
2725
  return i;
2742
2726
  };
2743
2727
  }
2744
- function Wr(e, t) {
2745
- let n = Gr(e, "", t), r = Kr(e, "", t), i = qr(e, t), a = Jr(e, t), o = Z(e, "z-index", t);
2746
- if (!n && !r && !i && !a && !de(e)) throw Error("No fill, stroke, point, or text symbolizer properties in style: " + JSON.stringify(e));
2747
- let s = new Y();
2728
+ function Kr(e, t) {
2729
+ let n = qr(e, "", t), r = Jr(e, "", t), i = Yr(e, t), a = Xr(e, t), o = Y(e, "z-index", t);
2730
+ if (!n && !r && !i && !a && !ae(e)) throw Error("No fill, stroke, point, or text symbolizer properties in style: " + JSON.stringify(e));
2731
+ let s = new q();
2748
2732
  return function(e) {
2749
2733
  let t = !0;
2750
2734
  if (n) {
@@ -2766,28 +2750,28 @@ function Wr(e, t) {
2766
2750
  return o && s.setZIndex(o(e)), t ? null : s;
2767
2751
  };
2768
2752
  }
2769
- function Gr(e, t, n) {
2753
+ function qr(e, t, n) {
2770
2754
  let r;
2771
- if (t + "fill-pattern-src" in e) r = Qr(e, t + "fill-", n);
2755
+ if (t + "fill-pattern-src" in e) r = ei(e, t + "fill-", n);
2772
2756
  else {
2773
2757
  if (e[t + "fill-color"] === "none") return (e) => null;
2774
- r = ei(e, t + "fill-color", n);
2758
+ r = ni(e, t + "fill-color", n);
2775
2759
  }
2776
2760
  if (!r) return null;
2777
- let i = new Ar();
2761
+ let i = new Mr();
2778
2762
  return function(e) {
2779
2763
  let t = r(e);
2780
- return t === Be ? null : (i.setColor(t), i);
2764
+ return t === He ? null : (i.setColor(t), i);
2781
2765
  };
2782
2766
  }
2783
- function Kr(e, t, n) {
2784
- let r = Z(e, t + "stroke-width", n), i = ei(e, t + "stroke-color", n);
2767
+ function Jr(e, t, n) {
2768
+ let r = Y(e, t + "stroke-width", n), i = ni(e, t + "stroke-color", n);
2785
2769
  if (!r && !i) return null;
2786
- let a = Q(e, t + "stroke-line-cap", n), o = Q(e, t + "stroke-line-join", n), s = ti(e, t + "stroke-line-dash", n), c = Z(e, t + "stroke-line-dash-offset", n), l = Z(e, t + "stroke-miter-limit", n), u = Z(e, t + "stroke-offset", n), d = new jr();
2770
+ let a = X(e, t + "stroke-line-cap", n), o = X(e, t + "stroke-line-join", n), s = ri(e, t + "stroke-line-dash", n), c = Y(e, t + "stroke-line-dash-offset", n), l = Y(e, t + "stroke-miter-limit", n), u = Y(e, t + "stroke-offset", n), d = new Nr();
2787
2771
  return function(e) {
2788
2772
  if (i) {
2789
2773
  let t = i(e);
2790
- if (t === Be) return null;
2774
+ if (t === He) return null;
2791
2775
  d.setColor(t);
2792
2776
  }
2793
2777
  if (r && d.setWidth(r(e)), a) {
@@ -2803,10 +2787,10 @@ function Kr(e, t, n) {
2803
2787
  return s && d.setLineDash(s(e)), c && d.setLineDashOffset(c(e)), l && d.setMiterLimit(l(e)), u && d.setOffset(u(e)), d;
2804
2788
  };
2805
2789
  }
2806
- function qr(e, t) {
2807
- let n = "text-", r = Q(e, "text-value", t);
2790
+ function Yr(e, t) {
2791
+ let n = "text-", r = X(e, "text-value", t);
2808
2792
  if (!r) return null;
2809
- let i = Gr(e, n, t), a = Gr(e, "text-background-", t), o = Kr(e, n, t), s = Kr(e, "text-background-", t), c = Q(e, "text-font", t), l = Z(e, "text-max-angle", t), u = Z(e, "text-offset-x", t), d = Z(e, "text-offset-y", t), f = $r(e, "text-overflow", t), p = Q(e, "text-placement", t), m = Z(e, "text-repeat", t), h = ii(e, "text-scale", t), g = $r(e, "text-rotate-with-view", t), _ = Z(e, "text-rotation", t), v = Q(e, "text-align", t), y = Q(e, "text-justify", t), ee = Q(e, "text-baseline", t), b = $r(e, "text-keep-upright", t), te = ti(e, "text-padding", t), x = new Rr({ declutterMode: di(e, "text-declutter-mode") });
2793
+ let i = qr(e, n, t), a = qr(e, "text-background-", t), o = Jr(e, n, t), s = Jr(e, "text-background-", t), c = X(e, "text-font", t), l = Y(e, "text-max-angle", t), u = Y(e, "text-offset-x", t), d = Y(e, "text-offset-y", t), f = ti(e, "text-overflow", t), p = X(e, "text-placement", t), m = Y(e, "text-repeat", t), h = oi(e, "text-scale", t), g = ti(e, "text-rotate-with-view", t), _ = Y(e, "text-rotation", t), v = X(e, "text-align", t), ee = X(e, "text-justify", t), y = X(e, "text-baseline", t), b = ti(e, "text-keep-upright", t), te = ri(e, "text-padding", t), x = new Br({ declutterMode: pi(e, "text-declutter-mode") });
2810
2794
  return function(e) {
2811
2795
  if (x.setText(r(e)), i && x.setFill(i(e)), a && x.setBackgroundFill(a(e)), o && x.setStroke(o(e)), s && x.setBackgroundStroke(s(e)), c && x.setFont(c(e)), l && x.setMaxAngle(l(e)), u && x.setOffsetX(u(e)), d && x.setOffsetY(d(e)), f && x.setOverflow(f(e)), p) {
2812
2796
  let t = p(e);
@@ -2818,26 +2802,26 @@ function qr(e, t) {
2818
2802
  if (t !== "left" && t !== "center" && t !== "right" && t !== "end" && t !== "start") throw Error("Expected left, right, center, start, or end for text-align");
2819
2803
  x.setTextAlign(t);
2820
2804
  }
2821
- if (y) {
2822
- let t = y(e);
2805
+ if (ee) {
2806
+ let t = ee(e);
2823
2807
  if (t !== "left" && t !== "right" && t !== "center") throw Error("Expected left, right, or center for text-justify");
2824
2808
  x.setJustify(t);
2825
2809
  }
2826
- if (ee) {
2827
- let t = ee(e);
2810
+ if (y) {
2811
+ let t = y(e);
2828
2812
  if (t !== "bottom" && t !== "top" && t !== "middle" && t !== "alphabetic" && t !== "hanging") throw Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");
2829
2813
  x.setTextBaseline(t);
2830
2814
  }
2831
2815
  return te && x.setPadding(te(e)), b && x.setKeepUpright(b(e)), x;
2832
2816
  };
2833
2817
  }
2834
- function Jr(e, t) {
2835
- return "icon-src" in e ? Yr(e, t) : "shape-points" in e ? Xr(e, t) : "circle-radius" in e ? Zr(e, t) : null;
2818
+ function Xr(e, t) {
2819
+ return "icon-src" in e ? Zr(e, t) : "shape-points" in e ? Qr(e, t) : "circle-radius" in e ? $r(e, t) : null;
2836
2820
  }
2837
- function Yr(e, t) {
2838
- let n = "icon-src", r = pi(e[n], n), i = ni(e, "icon-anchor", t), a = ii(e, "icon-scale", t), o = Z(e, "icon-opacity", t), s = ni(e, "icon-displacement", t), c = Z(e, "icon-rotation", t), l = $r(e, "icon-rotate-with-view", t), u = ci(e, "icon-anchor-origin"), d = li(e, "icon-anchor-x-units"), f = li(e, "icon-anchor-y-units"), p = X(e, "icon-color"), m, h = null;
2839
- p !== void 0 && (Array.isArray(p) && p.length > 0 && typeof p[0] == "string" ? h = ei(e, "icon-color", t) : m = hi(p, "icon-color"));
2840
- let g = si(e, "icon-cross-origin"), _ = ui(e, "icon-offset"), v = ci(e, "icon-offset-origin"), y = ai(e, "icon-width"), ee = {
2821
+ function Zr(e, t) {
2822
+ let n = "icon-src", r = hi(e[n], n), i = ii(e, "icon-anchor", t), a = oi(e, "icon-scale", t), o = Y(e, "icon-opacity", t), s = ii(e, "icon-displacement", t), c = Y(e, "icon-rotation", t), l = ti(e, "icon-rotate-with-view", t), u = ui(e, "icon-anchor-origin"), d = di(e, "icon-anchor-x-units"), f = di(e, "icon-anchor-y-units"), p = J(e, "icon-color"), m, h = null;
2823
+ p !== void 0 && (Array.isArray(p) && p.length > 0 && typeof p[0] == "string" ? h = ni(e, "icon-color", t) : m = _i(p, "icon-color"));
2824
+ let g = li(e, "icon-cross-origin"), _ = fi(e, "icon-offset"), v = ui(e, "icon-offset-origin"), ee = si(e, "icon-width"), y = {
2841
2825
  src: r,
2842
2826
  anchorOrigin: u,
2843
2827
  anchorXUnits: d,
@@ -2845,66 +2829,66 @@ function Yr(e, t) {
2845
2829
  crossOrigin: g,
2846
2830
  offset: _,
2847
2831
  offsetOrigin: v,
2848
- height: ai(e, "icon-height"),
2849
- width: y,
2850
- size: oi(e, "icon-size"),
2851
- declutterMode: di(e, "icon-declutter-mode")
2832
+ height: si(e, "icon-height"),
2833
+ width: ee,
2834
+ size: ci(e, "icon-size"),
2835
+ declutterMode: pi(e, "icon-declutter-mode")
2852
2836
  }, b = null;
2853
2837
  return function(e) {
2854
2838
  if (b) h && b.setColor(h(e));
2855
2839
  else {
2856
2840
  let t = h ? h(e) : m;
2857
- b = new Bn(t === void 0 ? Object.assign({}, ee) : Object.assign({}, ee, { color: t }));
2841
+ b = new Hn(t === void 0 ? Object.assign({}, y) : Object.assign({}, y, { color: t }));
2858
2842
  }
2859
2843
  return o && b.setOpacity(o(e)), s && b.setDisplacement(s(e)), c && b.setRotation(c(e)), l && b.setRotateWithView(l(e)), a && b.setScale(a(e)), i && b.setAnchor(i(e)), b;
2860
2844
  };
2861
2845
  }
2862
- function Xr(e, t) {
2863
- let n = "shape-", r = "shape-points", i = "shape-radius", a = mi(e[r], r);
2846
+ function Qr(e, t) {
2847
+ let n = "shape-", r = "shape-points", i = "shape-radius", a = gi(e[r], r);
2864
2848
  if (!(i in e)) throw Error(`Expected a number for ${i}`);
2865
- let o = Z(e, i, t), s = typeof e[i] == "number" ? e[i] : 5, c = "shape-radius2", l = Z(e, c, t), u = typeof e[c] == "number" ? e[c] : void 0, d = Gr(e, n, t), f = Kr(e, n, t), p = ii(e, "shape-scale", t), m = ni(e, "shape-displacement", t), h = Z(e, "shape-rotation", t), g = $r(e, "shape-rotate-with-view", t), _ = new Or({
2849
+ let o = Y(e, i, t), s = typeof e[i] == "number" ? e[i] : 5, c = "shape-radius2", l = Y(e, c, t), u = typeof e[c] == "number" ? e[c] : void 0, d = qr(e, n, t), f = Jr(e, n, t), p = oi(e, "shape-scale", t), m = ii(e, "shape-displacement", t), h = Y(e, "shape-rotation", t), g = ti(e, "shape-rotate-with-view", t), _ = new Ar({
2866
2850
  points: a,
2867
2851
  radius: s,
2868
2852
  radius2: u,
2869
- angle: ai(e, "shape-angle"),
2870
- declutterMode: di(e, "shape-declutter-mode")
2853
+ angle: si(e, "shape-angle"),
2854
+ declutterMode: pi(e, "shape-declutter-mode")
2871
2855
  });
2872
2856
  return function(e) {
2873
2857
  return o && _.setRadius(o(e)), l && _.setRadius2(l(e)), d && _.setFill(d(e)), f && _.setStroke(f(e)), m && _.setDisplacement(m(e)), h && _.setRotation(h(e)), g && _.setRotateWithView(g(e)), p && _.setScale(p(e)), _;
2874
2858
  };
2875
2859
  }
2876
- function Zr(e, t) {
2877
- let n = "circle-", r = Gr(e, n, t), i = Kr(e, n, t), a = Z(e, "circle-radius", t), o = ii(e, "circle-scale", t), s = ni(e, "circle-displacement", t), c = Z(e, "circle-rotation", t), l = $r(e, "circle-rotate-with-view", t), u = new kr({
2860
+ function $r(e, t) {
2861
+ let n = "circle-", r = qr(e, n, t), i = Jr(e, n, t), a = Y(e, "circle-radius", t), o = oi(e, "circle-scale", t), s = ii(e, "circle-displacement", t), c = Y(e, "circle-rotation", t), l = ti(e, "circle-rotate-with-view", t), u = new jr({
2878
2862
  radius: 5,
2879
- declutterMode: di(e, "circle-declutter-mode")
2863
+ declutterMode: pi(e, "circle-declutter-mode")
2880
2864
  });
2881
2865
  return function(e) {
2882
2866
  return a && u.setRadius(a(e)), r && u.setFill(r(e)), i && u.setStroke(i(e)), s && u.setDisplacement(s(e)), c && u.setRotation(c(e)), l && u.setRotateWithView(l(e)), o && u.setScale(o(e)), u;
2883
2867
  };
2884
2868
  }
2885
- function X(e, t) {
2869
+ function J(e, t) {
2886
2870
  if (!(t in e)) return;
2887
2871
  let n = e[t];
2888
2872
  return n === void 0 ? void 0 : n;
2889
2873
  }
2890
- function Z(e, t, n) {
2891
- let r = X(e, t);
2874
+ function Y(e, t, n) {
2875
+ let r = J(e, t);
2892
2876
  if (r === void 0) return;
2893
- let i = q(r, F, n);
2877
+ let i = G(r, N, n);
2894
2878
  return function(e) {
2895
- return mi(i(e), t);
2879
+ return gi(i(e), t);
2896
2880
  };
2897
2881
  }
2898
- function Q(e, t, n) {
2899
- let r = X(e, t);
2882
+ function X(e, t, n) {
2883
+ let r = J(e, t);
2900
2884
  if (r === void 0) return null;
2901
- let i = q(r, I, n);
2885
+ let i = G(r, P, n);
2902
2886
  return function(e) {
2903
- return pi(i(e), t);
2887
+ return hi(i(e), t);
2904
2888
  };
2905
2889
  }
2906
- function Qr(e, t, n) {
2907
- let r = Q(e, t + "pattern-src", n), i = ri(e, t + "pattern-offset", n), a = ri(e, t + "pattern-size", n), o = ei(e, t + "color", n);
2890
+ function ei(e, t, n) {
2891
+ let r = X(e, t + "pattern-src", n), i = ai(e, t + "pattern-offset", n), a = ai(e, t + "pattern-size", n), o = ni(e, t + "color", n);
2908
2892
  return function(e) {
2909
2893
  return {
2910
2894
  src: r(e),
@@ -2914,33 +2898,33 @@ function Qr(e, t, n) {
2914
2898
  };
2915
2899
  };
2916
2900
  }
2917
- function $r(e, t, n) {
2918
- let r = X(e, t);
2901
+ function ti(e, t, n) {
2902
+ let r = J(e, t);
2919
2903
  if (r === void 0) return null;
2920
- let i = q(r, P, n);
2904
+ let i = G(r, M, n);
2921
2905
  return function(e) {
2922
2906
  let n = i(e);
2923
2907
  if (typeof n != "boolean") throw Error(`Expected a boolean for ${t}`);
2924
2908
  return n;
2925
2909
  };
2926
2910
  }
2927
- function ei(e, t, n) {
2928
- let r = X(e, t);
2911
+ function ni(e, t, n) {
2912
+ let r = J(e, t);
2929
2913
  if (r === void 0) return null;
2930
- let i = q(r, L, n);
2914
+ let i = G(r, F, n);
2931
2915
  return function(e) {
2932
- return hi(i(e), t);
2916
+ return _i(i(e), t);
2933
2917
  };
2934
2918
  }
2935
- function ti(e, t, n) {
2936
- let r = X(e, t);
2919
+ function ri(e, t, n) {
2920
+ let r = J(e, t);
2937
2921
  if (r === void 0) return null;
2938
2922
  if (Array.isArray(r) && (r.length === 0 || typeof r[0] != "string")) {
2939
2923
  let e = r.map((e, r) => {
2940
2924
  if (typeof e == "number") return () => e;
2941
- let i = q(e, F, n);
2925
+ let i = G(e, N, n);
2942
2926
  return function(e) {
2943
- return mi(i(e), `${t}[${r}]`);
2927
+ return gi(i(e), `${t}[${r}]`);
2944
2928
  };
2945
2929
  });
2946
2930
  return function(t) {
@@ -2949,78 +2933,78 @@ function ti(e, t, n) {
2949
2933
  return n;
2950
2934
  };
2951
2935
  }
2952
- let i = q(r, R, n);
2936
+ let i = G(r, I, n);
2953
2937
  return function(e) {
2954
- return fi(i(e), t);
2938
+ return mi(i(e), t);
2955
2939
  };
2956
2940
  }
2957
- function ni(e, t, n) {
2958
- let r = X(e, t);
2941
+ function ii(e, t, n) {
2942
+ let r = J(e, t);
2959
2943
  if (r === void 0) return null;
2960
- let i = q(r, R, n);
2944
+ let i = G(r, I, n);
2961
2945
  return function(e) {
2962
- let n = fi(i(e), t);
2946
+ let n = mi(i(e), t);
2963
2947
  if (n.length !== 2) throw Error(`Expected two numbers for ${t}`);
2964
2948
  return n;
2965
2949
  };
2966
2950
  }
2967
- function ri(e, t, n) {
2968
- let r = X(e, t);
2951
+ function ai(e, t, n) {
2952
+ let r = J(e, t);
2969
2953
  if (r === void 0) return null;
2970
- let i = q(r, R, n);
2954
+ let i = G(r, I, n);
2971
2955
  return function(e) {
2972
- return gi(i(e), t);
2956
+ return vi(i(e), t);
2973
2957
  };
2974
2958
  }
2975
- function ii(e, t, n) {
2976
- let r = X(e, t);
2959
+ function oi(e, t, n) {
2960
+ let r = J(e, t);
2977
2961
  if (r === void 0) return null;
2978
- let i = q(r, R | F, n);
2962
+ let i = G(r, I | N, n);
2979
2963
  return function(e) {
2980
- return _i(i(e), t);
2964
+ return yi(i(e), t);
2981
2965
  };
2982
2966
  }
2983
- function ai(e, t) {
2967
+ function si(e, t) {
2984
2968
  let n = e[t];
2985
2969
  if (n !== void 0) {
2986
2970
  if (typeof n != "number") throw Error(`Expected a number for ${t}`);
2987
2971
  return n;
2988
2972
  }
2989
2973
  }
2990
- function oi(e, t) {
2974
+ function ci(e, t) {
2991
2975
  let n = e[t];
2992
2976
  if (n !== void 0) {
2993
- if (typeof n == "number") return ve(n);
2977
+ if (typeof n == "number") return fe(n);
2994
2978
  if (!Array.isArray(n) || n.length !== 2 || typeof n[0] != "number" || typeof n[1] != "number") throw Error(`Expected a number or size array for ${t}`);
2995
2979
  return n;
2996
2980
  }
2997
2981
  }
2998
- function si(e, t) {
2982
+ function li(e, t) {
2999
2983
  let n = e[t];
3000
2984
  if (n !== void 0) {
3001
2985
  if (typeof n != "string") throw Error(`Expected a string for ${t}`);
3002
2986
  return n;
3003
2987
  }
3004
2988
  }
3005
- function ci(e, t) {
2989
+ function ui(e, t) {
3006
2990
  let n = e[t];
3007
2991
  if (n !== void 0) {
3008
2992
  if (n !== "bottom-left" && n !== "bottom-right" && n !== "top-left" && n !== "top-right") throw Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${t}`);
3009
2993
  return n;
3010
2994
  }
3011
2995
  }
3012
- function li(e, t) {
2996
+ function di(e, t) {
3013
2997
  let n = e[t];
3014
2998
  if (n !== void 0) {
3015
2999
  if (n !== "pixels" && n !== "fraction") throw Error(`Expected pixels or fraction for ${t}`);
3016
3000
  return n;
3017
3001
  }
3018
3002
  }
3019
- function ui(e, t) {
3003
+ function fi(e, t) {
3020
3004
  let n = e[t];
3021
- if (n !== void 0) return fi(n, t);
3005
+ if (n !== void 0) return mi(n, t);
3022
3006
  }
3023
- function di(e, t) {
3007
+ function pi(e, t) {
3024
3008
  let n = e[t];
3025
3009
  if (n !== void 0) {
3026
3010
  if (typeof n != "string") throw Error(`Expected a string for ${t}`);
@@ -3028,37 +3012,36 @@ function di(e, t) {
3028
3012
  return n;
3029
3013
  }
3030
3014
  }
3031
- function fi(e, t) {
3015
+ function mi(e, t) {
3032
3016
  if (!Array.isArray(e)) throw Error(`Expected an array for ${t}`);
3033
3017
  let n = e.length;
3034
3018
  for (let r = 0; r < n; ++r) if (typeof e[r] != "number") throw Error(`Expected an array of numbers for ${t}`);
3035
3019
  return e;
3036
3020
  }
3037
- function pi(e, t) {
3021
+ function hi(e, t) {
3038
3022
  if (typeof e != "string") throw Error(`Expected a string for ${t}`);
3039
3023
  return e;
3040
3024
  }
3041
- function mi(e, t) {
3025
+ function gi(e, t) {
3042
3026
  if (typeof e != "number") throw Error(`Expected a number for ${t}`);
3043
3027
  return e;
3044
3028
  }
3045
- function hi(e, t) {
3029
+ function _i(e, t) {
3046
3030
  if (typeof e == "string") return e;
3047
- let n = fi(e, t), r = n.length;
3031
+ let n = mi(e, t), r = n.length;
3048
3032
  if (r < 3 || r > 4) throw Error(`Expected a color with 3 or 4 values for ${t}`);
3049
3033
  return n;
3050
3034
  }
3051
- function gi(e, t) {
3052
- let n = fi(e, t);
3035
+ function vi(e, t) {
3036
+ let n = mi(e, t);
3053
3037
  if (n.length !== 2) throw Error(`Expected an array of two numbers for ${t}`);
3054
3038
  return n;
3055
3039
  }
3056
- function _i(e, t) {
3057
- return typeof e == "number" ? e : gi(e, t);
3040
+ function yi(e, t) {
3041
+ return typeof e == "number" ? e : vi(e, t);
3058
3042
  }
3059
- //#endregion
3060
- //#region ../node_modules/ol/layer/BaseVector.js
3061
- var vi = { RENDER_ORDER: "renderOrder" }, yi = class extends Ze {
3043
+ // ../node_modules/ol/layer/BaseVector.js
3044
+ var bi = { RENDER_ORDER: "renderOrder" }, xi = class extends $e {
3062
3045
  constructor(e) {
3063
3046
  e ||= {};
3064
3047
  let t = Object.assign({}, e);
@@ -3074,7 +3057,7 @@ var vi = { RENDER_ORDER: "renderOrder" }, yi = class extends Ze {
3074
3057
  return this.renderBuffer_;
3075
3058
  }
3076
3059
  getRenderOrder() {
3077
- return this.get(vi.RENDER_ORDER);
3060
+ return this.get(bi.RENDER_ORDER);
3078
3061
  }
3079
3062
  getStyle() {
3080
3063
  return this.style_;
@@ -3090,39 +3073,38 @@ var vi = { RENDER_ORDER: "renderOrder" }, yi = class extends Ze {
3090
3073
  }
3091
3074
  renderDeclutter(e, t) {
3092
3075
  let n = this.getDeclutter();
3093
- n in e.declutter || (e.declutter[n] = new it(9)), this.getRenderer().renderDeclutter(e, t);
3076
+ n in e.declutter || (e.declutter[n] = new ot(9)), this.getRenderer().renderDeclutter(e, t);
3094
3077
  }
3095
3078
  setRenderOrder(e) {
3096
- this.set(vi.RENDER_ORDER, e);
3079
+ this.set(bi.RENDER_ORDER, e);
3097
3080
  }
3098
3081
  setStyle(e) {
3099
- this.style_ = e === void 0 ? Pr : e;
3100
- let t = bi(e);
3101
- this.styleFunction_ = e === null ? void 0 : Mr(t), this.changed();
3082
+ this.style_ = e === void 0 ? Ir : e;
3083
+ let t = Si(e);
3084
+ this.styleFunction_ = e === null ? void 0 : Pr(t), this.changed();
3102
3085
  }
3103
3086
  setDeclutter(e) {
3104
3087
  this.declutter_ = e ? String(e) : void 0, this.changed();
3105
3088
  }
3106
3089
  };
3107
- function bi(e) {
3108
- if (e === void 0) return Pr;
3090
+ function Si(e) {
3091
+ if (e === void 0) return Ir;
3109
3092
  if (!e) return null;
3110
- if (typeof e == "function" || e instanceof Y) return e;
3093
+ if (typeof e == "function" || e instanceof q) return e;
3111
3094
  if (Array.isArray(e) && e.length === 0) return [];
3112
- if (Array.isArray(e) && e[0] instanceof Y) {
3095
+ if (Array.isArray(e) && e[0] instanceof q) {
3113
3096
  let t = e.length, n = Array(t);
3114
3097
  for (let r = 0; r < t; ++r) {
3115
3098
  let t = e[r];
3116
- if (!(t instanceof Y)) throw Error("Expected a list of style instances");
3099
+ if (!(t instanceof q)) throw Error("Expected a list of style instances");
3117
3100
  n[r] = t;
3118
3101
  }
3119
3102
  return n;
3120
3103
  }
3121
- return Hr(e);
3104
+ return Wr(e);
3122
3105
  }
3123
- //#endregion
3124
- //#region ../node_modules/ol/pointer/EventType.js
3125
- var xi = {
3106
+ // ../node_modules/ol/pointer/EventType.js
3107
+ var Ci = {
3126
3108
  POINTERMOVE: "pointermove",
3127
3109
  POINTERDOWN: "pointerdown",
3128
3110
  POINTERUP: "pointerup",
@@ -3131,83 +3113,83 @@ var xi = {
3131
3113
  POINTERENTER: "pointerenter",
3132
3114
  POINTERLEAVE: "pointerleave",
3133
3115
  POINTERCANCEL: "pointercancel"
3134
- }, Si = class extends ee {
3116
+ }, wi = class extends f {
3135
3117
  constructor(e, t) {
3136
3118
  super(e), this.map_ = e, this.clickTimeoutId_, this.emulateClicks_ = !1, this.dragging_ = !1, this.dragListenerKeys_ = [], this.moveTolerance_ = t === void 0 ? 1 : t, this.down_ = null;
3137
3119
  let n = this.map_.getViewport();
3138
- this.activePointers_ = [], this.trackedTouches_ = {}, this.element_ = n, this.pointerdownListenerKey_ = w(n, xi.POINTERDOWN, this.handlePointerDown_, this), this.originalPointerMoveEvent_, this.relayedListenerKey_ = w(n, xi.POINTERMOVE, this.relayMoveEvent_, this), this.boundHandleTouchMove_ = this.handleTouchMove_.bind(this), this.element_.addEventListener(S.TOUCHMOVE, this.boundHandleTouchMove_, he ? { passive: !1 } : !1);
3120
+ this.activePointers_ = [], this.trackedTouches_ = {}, this.element_ = n, this.pointerdownListenerKey_ = S(n, Ci.POINTERDOWN, this.handlePointerDown_, this), this.originalPointerMoveEvent_, this.relayedListenerKey_ = S(n, Ci.POINTERMOVE, this.relayMoveEvent_, this), this.boundHandleTouchMove_ = this.handleTouchMove_.bind(this), this.element_.addEventListener(_.TOUCHMOVE, this.boundHandleTouchMove_, le ? { passive: !1 } : !1);
3139
3121
  }
3140
3122
  emulateClick_(e) {
3141
- let t = new M(j.CLICK, this.map_, e);
3123
+ let t = new A(k.CLICK, this.map_, e);
3142
3124
  this.dispatchEvent(t), this.clickTimeoutId_ === void 0 ? this.clickTimeoutId_ = setTimeout(() => {
3143
3125
  this.clickTimeoutId_ = void 0;
3144
- let t = new M(j.SINGLECLICK, this.map_, e);
3126
+ let t = new A(k.SINGLECLICK, this.map_, e);
3145
3127
  this.dispatchEvent(t);
3146
- }, 250) : (clearTimeout(this.clickTimeoutId_), this.clickTimeoutId_ = void 0, t = new M(j.DBLCLICK, this.map_, e), this.dispatchEvent(t));
3128
+ }, 250) : (clearTimeout(this.clickTimeoutId_), this.clickTimeoutId_ = void 0, t = new A(k.DBLCLICK, this.map_, e), this.dispatchEvent(t));
3147
3129
  }
3148
3130
  updateActivePointers_(e) {
3149
3131
  let t = e, n = t.pointerId;
3150
- if (t.type == j.POINTERUP || t.type == j.POINTERCANCEL) {
3132
+ if (t.type == k.POINTERUP || t.type == k.POINTERCANCEL) {
3151
3133
  delete this.trackedTouches_[n];
3152
3134
  for (let e in this.trackedTouches_) if (this.trackedTouches_[e].target !== t.target) {
3153
3135
  delete this.trackedTouches_[e];
3154
3136
  break;
3155
3137
  }
3156
- } else (t.type == j.POINTERDOWN || t.type == j.POINTERMOVE) && (this.trackedTouches_[n] = t);
3138
+ } else (t.type == k.POINTERDOWN || t.type == k.POINTERMOVE) && (this.trackedTouches_[n] = t);
3157
3139
  this.activePointers_ = Object.values(this.trackedTouches_);
3158
3140
  }
3159
3141
  handlePointerUp_(e) {
3160
3142
  this.updateActivePointers_(e);
3161
- let t = new M(j.POINTERUP, this.map_, e, void 0, void 0, this.activePointers_);
3162
- this.dispatchEvent(t), this.emulateClicks_ && !t.defaultPrevented && !this.dragging_ && this.isMouseActionButton_(e) && this.emulateClick_(this.down_), this.activePointers_.length === 0 && (this.dragListenerKeys_.forEach(C), this.dragListenerKeys_.length = 0, this.dragging_ = !1, this.down_ = null);
3143
+ let t = new A(k.POINTERUP, this.map_, e, void 0, void 0, this.activePointers_);
3144
+ this.dispatchEvent(t), this.emulateClicks_ && !t.defaultPrevented && !this.dragging_ && this.isMouseActionButton_(e) && this.emulateClick_(this.down_), this.activePointers_.length === 0 && (this.dragListenerKeys_.forEach(v), this.dragListenerKeys_.length = 0, this.dragging_ = !1, this.down_ = null);
3163
3145
  }
3164
3146
  isMouseActionButton_(e) {
3165
3147
  return e.button === 0;
3166
3148
  }
3167
3149
  handlePointerDown_(e) {
3168
3150
  this.emulateClicks_ = this.activePointers_.length === 0, this.updateActivePointers_(e);
3169
- let t = new M(j.POINTERDOWN, this.map_, e, void 0, void 0, this.activePointers_);
3151
+ let t = new A(k.POINTERDOWN, this.map_, e, void 0, void 0, this.activePointers_);
3170
3152
  if (this.dispatchEvent(t), this.down_ = new PointerEvent(e.type, e), Object.defineProperty(this.down_, "target", {
3171
3153
  writable: !1,
3172
3154
  value: e.target
3173
3155
  }), this.dragListenerKeys_.length === 0) {
3174
3156
  let e = this.map_.getOwnerDocument();
3175
- this.dragListenerKeys_.push(w(e, j.POINTERMOVE, this.handlePointerMove_, this), w(e, j.POINTERUP, this.handlePointerUp_, this), w(this.element_, j.POINTERCANCEL, this.handlePointerUp_, this)), this.element_.getRootNode && this.element_.getRootNode() !== e && this.dragListenerKeys_.push(w(this.element_.getRootNode(), j.POINTERUP, this.handlePointerUp_, this));
3157
+ this.dragListenerKeys_.push(S(e, k.POINTERMOVE, this.handlePointerMove_, this), S(e, k.POINTERUP, this.handlePointerUp_, this), S(this.element_, k.POINTERCANCEL, this.handlePointerUp_, this)), this.element_.getRootNode && this.element_.getRootNode() !== e && this.dragListenerKeys_.push(S(this.element_.getRootNode(), k.POINTERUP, this.handlePointerUp_, this));
3176
3158
  }
3177
3159
  }
3178
3160
  handlePointerMove_(e) {
3179
3161
  if (this.isMoving_(e)) {
3180
3162
  this.updateActivePointers_(e), this.dragging_ = !0;
3181
- let t = new M(j.POINTERDRAG, this.map_, e, this.dragging_, void 0, this.activePointers_);
3163
+ let t = new A(k.POINTERDRAG, this.map_, e, this.dragging_, void 0, this.activePointers_);
3182
3164
  this.dispatchEvent(t);
3183
3165
  }
3184
3166
  }
3185
3167
  relayMoveEvent_(e) {
3186
3168
  this.originalPointerMoveEvent_ = e;
3187
3169
  let t = !!(this.down_ && this.isMoving_(e));
3188
- this.dispatchEvent(new M(j.POINTERMOVE, this.map_, e, t));
3170
+ this.dispatchEvent(new A(k.POINTERMOVE, this.map_, e, t));
3189
3171
  }
3190
3172
  handleTouchMove_(e) {
3191
3173
  let t = this.originalPointerMoveEvent_;
3192
- (!t || t.defaultPrevented) && (typeof e.cancelable != "boolean" || e.cancelable === !0) && e.preventDefault();
3174
+ t && !t.defaultPrevented || typeof e.cancelable == "boolean" && e.cancelable !== !0 || e.preventDefault();
3193
3175
  }
3194
3176
  isMoving_(e) {
3195
3177
  return this.dragging_ || Math.abs(e.clientX - this.down_.clientX) > this.moveTolerance_ || Math.abs(e.clientY - this.down_.clientY) > this.moveTolerance_;
3196
3178
  }
3197
3179
  disposeInternal() {
3198
- this.relayedListenerKey_ &&= (C(this.relayedListenerKey_), null), this.element_.removeEventListener(S.TOUCHMOVE, this.boundHandleTouchMove_), this.pointerdownListenerKey_ &&= (C(this.pointerdownListenerKey_), null), this.dragListenerKeys_.forEach(C), this.dragListenerKeys_.length = 0, this.element_ = null, super.disposeInternal();
3180
+ this.relayedListenerKey_ &&= (v(this.relayedListenerKey_), null), this.element_.removeEventListener(_.TOUCHMOVE, this.boundHandleTouchMove_), this.pointerdownListenerKey_ &&= (v(this.pointerdownListenerKey_), null), this.dragListenerKeys_.forEach(v), this.dragListenerKeys_.length = 0, this.element_ = null, super.disposeInternal();
3199
3181
  }
3200
- }, $ = {
3182
+ }, Z = {
3201
3183
  LAYERGROUP: "layergroup",
3202
3184
  SIZE: "size",
3203
3185
  TARGET: "target",
3204
3186
  VIEW: "view"
3205
- }, Ci = Infinity, wi = class {
3187
+ }, Ti = Infinity, Ei = class {
3206
3188
  constructor(e, t) {
3207
3189
  this.priorityFunction_ = e, this.keyFunction_ = t, this.elements_ = [], this.priorities_ = [], this.queuedElements_ = {};
3208
3190
  }
3209
3191
  clear() {
3210
- this.elements_.length = 0, this.priorities_.length = 0, ue(this.queuedElements_);
3192
+ this.elements_.length = 0, this.priorities_.length = 0, ie(this.queuedElements_);
3211
3193
  }
3212
3194
  dequeue() {
3213
3195
  let e = this.elements_, t = this.priorities_, n = e[0];
@@ -3216,7 +3198,7 @@ var xi = {
3216
3198
  return delete this.queuedElements_[r], n;
3217
3199
  }
3218
3200
  enqueue(e) {
3219
- O(!(this.keyFunction_(e) in this.queuedElements_), "Tried to enqueue an `element` that was already added to the queue");
3201
+ E(!(this.keyFunction_(e) in this.queuedElements_), "Tried to enqueue an `element` that was already added to the queue");
3220
3202
  let t = this.priorityFunction_(e);
3221
3203
  return t != Infinity && (this.elements_.push(e), this.priorities_.push(t), this.queuedElements_[this.keyFunction_(e)] = !0, this.siftDown_(0, this.elements_.length - 1), !0);
3222
3204
  }
@@ -3267,21 +3249,21 @@ var xi = {
3267
3249
  for (o = 0; o < i; ++o) a = t[o], s = e(a), s == Infinity ? delete this.queuedElements_[this.keyFunction_(a)] : (n[r] = s, t[r++] = a);
3268
3250
  t.length = r, n.length = r, this.heapify_();
3269
3251
  }
3270
- }, Ti = class extends wi {
3252
+ }, Di = class extends Ei {
3271
3253
  constructor(e, t) {
3272
3254
  super((t) => e.apply(null, t), (e) => e[0].getKey()), this.boundHandleTileChange_ = this.handleTileChange.bind(this), this.tileChangeCallback_ = t, this.tilesLoading_ = 0, this.tilesLoadingKeys_ = {};
3273
3255
  }
3274
3256
  enqueue(e) {
3275
3257
  let t = super.enqueue(e);
3276
- return t && e[0].addEventListener(S.CHANGE, this.boundHandleTileChange_), t;
3258
+ return t && e[0].addEventListener(_.CHANGE, this.boundHandleTileChange_), t;
3277
3259
  }
3278
3260
  getTilesLoading() {
3279
3261
  return this.tilesLoading_;
3280
3262
  }
3281
3263
  handleTileChange(e) {
3282
3264
  let t = e.target, n = t.getState();
3283
- if (n === xe.LOADED || n === xe.ERROR || n === xe.EMPTY) {
3284
- n !== xe.ERROR && t.removeEventListener(S.CHANGE, this.boundHandleTileChange_);
3265
+ if (n === he.LOADED || n === he.ERROR || n === he.EMPTY) {
3266
+ n !== he.ERROR && t.removeEventListener(_.CHANGE, this.boundHandleTileChange_);
3285
3267
  let e = t.getKey();
3286
3268
  e in this.tilesLoadingKeys_ && (delete this.tilesLoadingKeys_[e], --this.tilesLoading_), this.tileChangeCallback_();
3287
3269
  }
@@ -3290,32 +3272,31 @@ var xi = {
3290
3272
  let n = 0;
3291
3273
  for (; this.tilesLoading_ < e && n < t && this.getCount() > 0;) {
3292
3274
  let e = this.dequeue()[0], t = e.getKey();
3293
- e.getState() === xe.IDLE && !(t in this.tilesLoadingKeys_) && (this.tilesLoadingKeys_[t] = !0, ++this.tilesLoading_, ++n, e.load());
3275
+ e.getState() === he.IDLE && !(t in this.tilesLoadingKeys_) && (this.tilesLoadingKeys_[t] = !0, ++this.tilesLoading_, ++n, e.load());
3294
3276
  }
3295
3277
  }
3296
3278
  };
3297
- function Ei(e, t, n, r, i) {
3298
- if (!e || !(n in e.wantedTiles) || !e.wantedTiles[n][t.getKey()]) return Ci;
3279
+ function Oi(e, t, n, r, i) {
3280
+ if (!e || !(n in e.wantedTiles) || !e.wantedTiles[n][t.getKey()]) return Ti;
3299
3281
  let a = e.viewState.center, o = r[0] - a[0], s = r[1] - a[1];
3300
3282
  return 65536 * Math.log(i) + Math.sqrt(o * o + s * s) / i;
3301
3283
  }
3302
- //#endregion
3303
- //#region ../node_modules/ol/control/Attribution.js
3304
- var Di = class extends s {
3284
+ // ../node_modules/ol/control/Attribution.js
3285
+ var ki = class extends ke {
3305
3286
  constructor(e) {
3306
3287
  e ||= {}, super({
3307
3288
  element: document.createElement("div"),
3308
3289
  render: e.render,
3309
3290
  target: e.target
3310
3291
  }), this.ulElement_ = document.createElement("ul"), this.collapsed_ = e.collapsed === void 0 || e.collapsed, this.userCollapsed_ = this.collapsed_, this.overrideCollapsible_ = e.collapsible !== void 0, this.collapsible_ = e.collapsible === void 0 || e.collapsible, this.collapsible_ || (this.collapsed_ = !1), this.attributions_ = e.attributions;
3311
- let t = e.className === void 0 ? "ol-attribution" : e.className, n = e.tipLabel === void 0 ? "Attributions" : e.tipLabel, r = e.expandClassName === void 0 ? t + "-expand" : e.expandClassName, s = e.collapseLabel === void 0 ? "›" : e.collapseLabel, c = e.collapseClassName === void 0 ? t + "-collapse" : e.collapseClassName;
3312
- typeof s == "string" ? (this.collapseLabel_ = document.createElement("span"), this.collapseLabel_.textContent = s, this.collapseLabel_.className = c) : this.collapseLabel_ = s;
3313
- let l = e.label === void 0 ? "i" : e.label;
3314
- typeof l == "string" ? (this.label_ = document.createElement("span"), this.label_.textContent = l, this.label_.className = r) : this.label_ = l;
3315
- let u = this.collapsible_ && !this.collapsed_ ? this.collapseLabel_ : this.label_;
3316
- this.toggleButton_ = document.createElement("button"), this.toggleButton_.setAttribute("type", "button"), this.toggleButton_.setAttribute("aria-expanded", String(!this.collapsed_)), this.toggleButton_.title = n, this.toggleButton_.appendChild(u), this.toggleButton_.addEventListener(S.CLICK, this.handleClick_.bind(this), !1);
3317
- let d = t + " " + a + " " + o + (this.collapsed_ && this.collapsible_ ? " " + i : "") + (this.collapsible_ ? "" : " ol-uncollapsible"), f = this.element;
3318
- f.className = d, f.appendChild(this.toggleButton_), f.appendChild(this.ulElement_), this.renderedAttributions_ = [], this.renderedVisible_ = !0;
3292
+ let t = e.className === void 0 ? "ol-attribution" : e.className, n = e.tipLabel === void 0 ? "Attributions" : e.tipLabel, r = e.expandClassName === void 0 ? t + "-expand" : e.expandClassName, i = e.collapseLabel === void 0 ? "›" : e.collapseLabel, a = e.collapseClassName === void 0 ? t + "-collapse" : e.collapseClassName;
3293
+ typeof i == "string" ? (this.collapseLabel_ = document.createElement("span"), this.collapseLabel_.textContent = i, this.collapseLabel_.className = a) : this.collapseLabel_ = i;
3294
+ let o = e.label === void 0 ? "i" : e.label;
3295
+ typeof o == "string" ? (this.label_ = document.createElement("span"), this.label_.textContent = o, this.label_.className = r) : this.label_ = o;
3296
+ let s = this.collapsible_ && !this.collapsed_ ? this.collapseLabel_ : this.label_;
3297
+ this.toggleButton_ = document.createElement("button"), this.toggleButton_.setAttribute("type", "button"), this.toggleButton_.setAttribute("aria-expanded", String(!this.collapsed_)), this.toggleButton_.title = n, this.toggleButton_.appendChild(s), this.toggleButton_.addEventListener(_.CLICK, this.handleClick_.bind(this), !1);
3298
+ let c = t + " " + De + " " + Oe + (this.collapsed_ && this.collapsible_ ? " " + Ee : "") + (this.collapsible_ ? "" : " ol-uncollapsible"), l = this.element;
3299
+ l.className = c, l.appendChild(this.toggleButton_), l.appendChild(this.ulElement_), this.renderedAttributions_ = [], this.renderedVisible_ = !0;
3319
3300
  }
3320
3301
  collectSourceAttributions_(e) {
3321
3302
  let t = this.getMap().getAllLayers(), n = new Set(t.flatMap((t) => t.getAttributions(e)));
@@ -3330,21 +3311,21 @@ var Di = class extends s {
3330
3311
  this.renderedVisible_ &&= (this.element.style.display = "none", !1);
3331
3312
  return;
3332
3313
  }
3333
- let t = await Promise.all(this.collectSourceAttributions_(e).map((e) => ne(() => e))), n = t.length > 0;
3334
- if (this.renderedVisible_ != n && (this.element.style.display = n ? "" : "none", this.renderedVisible_ = n), !l(t, this.renderedAttributions_)) {
3335
- ge(this.ulElement_);
3336
- for (let e = 0, n = t.length; e < n; ++e) {
3337
- let n = document.createElement("li");
3338
- n.innerHTML = t[e], this.ulElement_.appendChild(n);
3314
+ let n = await Promise.all(this.collectSourceAttributions_(e).map((e) => g(() => e))), r = n.length > 0;
3315
+ if (this.renderedVisible_ != r && (this.element.style.display = r ? "" : "none", this.renderedVisible_ = r), !t(n, this.renderedAttributions_)) {
3316
+ ue(this.ulElement_);
3317
+ for (let e = 0, t = n.length; e < t; ++e) {
3318
+ let t = document.createElement("li");
3319
+ t.innerHTML = n[e], this.ulElement_.appendChild(t);
3339
3320
  }
3340
- this.renderedAttributions_ = t;
3321
+ this.renderedAttributions_ = n;
3341
3322
  }
3342
3323
  }
3343
3324
  handleClick_(e) {
3344
3325
  e.preventDefault(), this.handleToggle_(), this.userCollapsed_ = this.collapsed_;
3345
3326
  }
3346
3327
  handleToggle_() {
3347
- this.element.classList.toggle(i), this.collapsed_ ? Oe(this.collapseLabel_, this.label_) : Oe(this.label_, this.collapseLabel_), this.collapsed_ = !this.collapsed_, this.toggleButton_.setAttribute("aria-expanded", String(!this.collapsed_));
3328
+ this.element.classList.toggle(Ee), this.collapsed_ ? Se(this.collapseLabel_, this.label_) : Se(this.label_, this.collapseLabel_), this.collapsed_ = !this.collapsed_, this.toggleButton_.setAttribute("aria-expanded", String(!this.collapsed_));
3348
3329
  }
3349
3330
  getCollapsible() {
3350
3331
  return this.collapsible_;
@@ -3361,19 +3342,19 @@ var Di = class extends s {
3361
3342
  render(e) {
3362
3343
  this.updateElement_(e.frameState);
3363
3344
  }
3364
- }, Oi = class extends s {
3345
+ }, Ai = class extends ke {
3365
3346
  constructor(e) {
3366
3347
  e ||= {}, super({
3367
3348
  element: document.createElement("div"),
3368
3349
  render: e.render,
3369
3350
  target: e.target
3370
3351
  });
3371
- let t = e.className === void 0 ? "ol-rotate" : e.className, r = e.label === void 0 ? "⇧" : e.label, i = e.compassClassName === void 0 ? "ol-compass" : e.compassClassName;
3372
- this.label_ = null, typeof r == "string" ? (this.label_ = document.createElement("span"), this.label_.className = i, this.label_.textContent = r) : (this.label_ = r, this.label_.classList.add(i));
3373
- let s = e.tipLabel ? e.tipLabel : "Reset rotation", c = document.createElement("button");
3374
- c.className = t + "-reset", c.setAttribute("type", "button"), c.title = s, c.appendChild(this.label_), c.addEventListener(S.CLICK, this.handleClick_.bind(this), !1);
3375
- let l = t + " " + a + " " + o, u = this.element;
3376
- u.className = l, u.appendChild(c), this.callResetNorth_ = e.resetNorth ? e.resetNorth : void 0, this.duration_ = e.duration === void 0 ? 250 : e.duration, this.autoHide_ = e.autoHide === void 0 || e.autoHide, this.rotation_ = void 0, this.autoHide_ && this.element.classList.add(n);
3352
+ let t = e.className === void 0 ? "ol-rotate" : e.className, n = e.label === void 0 ? "⇧" : e.label, r = e.compassClassName === void 0 ? "ol-compass" : e.compassClassName;
3353
+ this.label_ = null, typeof n == "string" ? (this.label_ = document.createElement("span"), this.label_.className = r, this.label_.textContent = n) : (this.label_ = n, this.label_.classList.add(r));
3354
+ let i = e.tipLabel ? e.tipLabel : "Reset rotation", a = document.createElement("button");
3355
+ a.className = t + "-reset", a.setAttribute("type", "button"), a.title = i, a.appendChild(this.label_), a.addEventListener(_.CLICK, this.handleClick_.bind(this), !1);
3356
+ let o = t + " " + De + " " + Oe, s = this.element;
3357
+ s.className = o, s.appendChild(a), this.callResetNorth_ = e.resetNorth ? e.resetNorth : void 0, this.duration_ = e.duration === void 0 ? 250 : e.duration, this.autoHide_ = e.autoHide === void 0 || e.autoHide, this.rotation_ = void 0, this.autoHide_ && this.element.classList.add(we);
3377
3358
  }
3378
3359
  handleClick_(e) {
3379
3360
  e.preventDefault(), this.callResetNorth_ === void 0 ? this.resetNorth_() : this.callResetNorth_();
@@ -3385,35 +3366,35 @@ var Di = class extends s {
3385
3366
  t !== void 0 && (this.duration_ > 0 && t % (2 * Math.PI) != 0 ? e.animate({
3386
3367
  rotation: 0,
3387
3368
  duration: this.duration_,
3388
- easing: Fe
3369
+ easing: Le
3389
3370
  }) : e.setRotation(0));
3390
3371
  }
3391
3372
  render(e) {
3392
3373
  let t = e.frameState;
3393
3374
  if (!t) return;
3394
- let r = t.viewState.rotation;
3395
- if (r != this.rotation_) {
3396
- let e = "rotate(" + r + "rad)";
3375
+ let n = t.viewState.rotation;
3376
+ if (n != this.rotation_) {
3377
+ let e = "rotate(" + n + "rad)";
3397
3378
  if (this.autoHide_) {
3398
- let e = this.element.classList.contains(n);
3399
- !e && r === 0 ? this.element.classList.add(n) : e && r !== 0 && this.element.classList.remove(n);
3379
+ let e = this.element.classList.contains(we);
3380
+ !e && n === 0 ? this.element.classList.add(we) : e && n !== 0 && this.element.classList.remove(we);
3400
3381
  }
3401
3382
  this.label_.style.transform = e;
3402
3383
  }
3403
- this.rotation_ = r;
3384
+ this.rotation_ = n;
3404
3385
  }
3405
- }, ki = class extends s {
3386
+ }, ji = class extends ke {
3406
3387
  constructor(e) {
3407
3388
  e ||= {}, super({
3408
3389
  element: document.createElement("div"),
3409
3390
  target: e.target
3410
3391
  });
3411
- let t = e.className === void 0 ? "ol-zoom" : e.className, n = e.delta === void 0 ? 1 : e.delta, r = e.zoomInClassName === void 0 ? t + "-in" : e.zoomInClassName, i = e.zoomOutClassName === void 0 ? t + "-out" : e.zoomOutClassName, s = e.zoomInLabel === void 0 ? "+" : e.zoomInLabel, c = e.zoomOutLabel === void 0 ? "–" : e.zoomOutLabel, l = e.zoomInTipLabel === void 0 ? "Zoom in" : e.zoomInTipLabel, u = e.zoomOutTipLabel === void 0 ? "Zoom out" : e.zoomOutTipLabel, d = document.createElement("button");
3412
- d.className = r, d.setAttribute("type", "button"), d.title = l, d.appendChild(typeof s == "string" ? document.createTextNode(s) : s), d.addEventListener(S.CLICK, this.handleClick_.bind(this, n), !1);
3413
- let f = document.createElement("button");
3414
- f.className = i, f.setAttribute("type", "button"), f.title = u, f.appendChild(typeof c == "string" ? document.createTextNode(c) : c), f.addEventListener(S.CLICK, this.handleClick_.bind(this, -n), !1);
3415
- let p = t + " " + a + " " + o, m = this.element;
3416
- m.className = p, m.appendChild(d), m.appendChild(f), this.duration_ = e.duration === void 0 ? 250 : e.duration;
3392
+ let t = e.className === void 0 ? "ol-zoom" : e.className, n = e.delta === void 0 ? 1 : e.delta, r = e.zoomInClassName === void 0 ? t + "-in" : e.zoomInClassName, i = e.zoomOutClassName === void 0 ? t + "-out" : e.zoomOutClassName, a = e.zoomInLabel === void 0 ? "+" : e.zoomInLabel, o = e.zoomOutLabel === void 0 ? "–" : e.zoomOutLabel, s = e.zoomInTipLabel === void 0 ? "Zoom in" : e.zoomInTipLabel, c = e.zoomOutTipLabel === void 0 ? "Zoom out" : e.zoomOutTipLabel, l = document.createElement("button");
3393
+ l.className = r, l.setAttribute("type", "button"), l.title = s, l.appendChild(typeof a == "string" ? document.createTextNode(a) : a), l.addEventListener(_.CLICK, this.handleClick_.bind(this, n), !1);
3394
+ let u = document.createElement("button");
3395
+ u.className = i, u.setAttribute("type", "button"), u.title = c, u.appendChild(typeof o == "string" ? document.createTextNode(o) : o), u.addEventListener(_.CLICK, this.handleClick_.bind(this, -n), !1);
3396
+ let d = t + " " + De + " " + Oe, f = this.element;
3397
+ f.className = d, f.appendChild(l), f.appendChild(u), this.duration_ = e.duration === void 0 ? 250 : e.duration;
3417
3398
  }
3418
3399
  handleClick_(e, t) {
3419
3400
  t.preventDefault(), this.zoomByDelta_(e);
@@ -3427,68 +3408,66 @@ var Di = class extends s {
3427
3408
  this.duration_ > 0 ? (t.getAnimating() && t.cancelAnimations(), t.animate({
3428
3409
  zoom: r,
3429
3410
  duration: this.duration_,
3430
- easing: Fe
3411
+ easing: Le
3431
3412
  })) : t.setZoom(r);
3432
3413
  }
3433
3414
  }
3434
3415
  };
3435
- //#endregion
3436
- //#region ../node_modules/ol/control/defaults.js
3437
- function Ai(e) {
3416
+ // ../node_modules/ol/control/defaults.js
3417
+ function Mi(e) {
3438
3418
  e ||= {};
3439
- let t = new A();
3440
- return (e.zoom === void 0 || e.zoom) && t.push(new ki(e.zoomOptions)), (e.rotate === void 0 || e.rotate) && t.push(new Oi(e.rotateOptions)), (e.attribution === void 0 || e.attribution) && t.push(new Di(e.attributionOptions)), t;
3419
+ let t = new O();
3420
+ return (e.zoom === void 0 || e.zoom) && t.push(new ji(e.zoomOptions)), (e.rotate === void 0 || e.rotate) && t.push(new Ai(e.rotateOptions)), (e.attribution === void 0 || e.attribution) && t.push(new ki(e.attributionOptions)), t;
3441
3421
  }
3442
- //#endregion
3443
- //#region ../node_modules/ol/layer/Group.js
3444
- var ji = {
3422
+ // ../node_modules/ol/layer/Group.js
3423
+ var Q = {
3445
3424
  ADDLAYER: "addlayer",
3446
3425
  REMOVELAYER: "removelayer"
3447
- }, Mi = class extends b {
3426
+ }, $ = class extends p {
3448
3427
  constructor(e, t) {
3449
3428
  super(e), this.layer = t;
3450
3429
  }
3451
- }, Ni = { LAYERS: "layers" }, Pi = class e extends Ye {
3430
+ }, Ni = { LAYERS: "layers" }, Pi = class e extends Ze {
3452
3431
  constructor(e) {
3453
3432
  e ||= {};
3454
3433
  let t = Object.assign({}, e);
3455
3434
  delete t.layers;
3456
3435
  let n = e.layers;
3457
- super(t), this.on, this.once, this.un, this.layersListenerKeys_ = [], this.listenerKeys_ = {}, this.addChangeListener(Ni.LAYERS, this.handleLayersChanged_), n ? Array.isArray(n) ? n = new A(n.slice(), { unique: !0 }) : O(typeof n.getArray == "function", "Expected `layers` to be an array or a `Collection`") : n = new A(void 0, { unique: !0 }), this.setLayers(n);
3436
+ super(t), this.on, this.once, this.un, this.layersListenerKeys_ = [], this.listenerKeys_ = {}, this.addChangeListener(Ni.LAYERS, this.handleLayersChanged_), n ? Array.isArray(n) ? n = new O(n.slice(), { unique: !0 }) : E(typeof n.getArray == "function", "Expected `layers` to be an array or a `Collection`") : n = new O(void 0, { unique: !0 }), this.setLayers(n);
3458
3437
  }
3459
3438
  handleLayerChange_() {
3460
3439
  this.changed();
3461
3440
  }
3462
3441
  handleLayersChanged_() {
3463
- this.layersListenerKeys_.forEach(C), this.layersListenerKeys_.length = 0;
3442
+ this.layersListenerKeys_.forEach(v), this.layersListenerKeys_.length = 0;
3464
3443
  let e = this.getLayers();
3465
- this.layersListenerKeys_.push(w(e, k.ADD, this.handleLayersAdd_, this), w(e, k.REMOVE, this.handleLayersRemove_, this));
3466
- for (let e in this.listenerKeys_) this.listenerKeys_[e].forEach(C);
3467
- ue(this.listenerKeys_);
3444
+ this.layersListenerKeys_.push(S(e, D.ADD, this.handleLayersAdd_, this), S(e, D.REMOVE, this.handleLayersRemove_, this));
3445
+ for (let e in this.listenerKeys_) this.listenerKeys_[e].forEach(v);
3446
+ ie(this.listenerKeys_);
3468
3447
  let t = e.getArray();
3469
3448
  for (let e = 0, n = t.length; e < n; e++) {
3470
3449
  let n = t[e];
3471
- this.registerLayerListeners_(n), this.dispatchEvent(new Mi(ji.ADDLAYER, n));
3450
+ this.registerLayerListeners_(n), this.dispatchEvent(new $(Q.ADDLAYER, n));
3472
3451
  }
3473
3452
  this.changed();
3474
3453
  }
3475
3454
  registerLayerListeners_(t) {
3476
- let n = [w(t, ie.PROPERTYCHANGE, this.handleLayerChange_, this), w(t, S.CHANGE, this.handleLayerChange_, this)];
3477
- t instanceof e && n.push(w(t, ji.ADDLAYER, this.handleLayerGroupAdd_, this), w(t, ji.REMOVELAYER, this.handleLayerGroupRemove_, this)), this.listenerKeys_[d(t)] = n;
3455
+ let n = [S(t, y.PROPERTYCHANGE, this.handleLayerChange_, this), S(t, _.CHANGE, this.handleLayerChange_, this)];
3456
+ t instanceof e && n.push(S(t, Q.ADDLAYER, this.handleLayerGroupAdd_, this), S(t, Q.REMOVELAYER, this.handleLayerGroupRemove_, this)), this.listenerKeys_[r(t)] = n;
3478
3457
  }
3479
3458
  handleLayerGroupAdd_(e) {
3480
- this.dispatchEvent(new Mi(ji.ADDLAYER, e.layer));
3459
+ this.dispatchEvent(new $(Q.ADDLAYER, e.layer));
3481
3460
  }
3482
3461
  handleLayerGroupRemove_(e) {
3483
- this.dispatchEvent(new Mi(ji.REMOVELAYER, e.layer));
3462
+ this.dispatchEvent(new $(Q.REMOVELAYER, e.layer));
3484
3463
  }
3485
3464
  handleLayersAdd_(e) {
3486
3465
  let t = e.element;
3487
- this.registerLayerListeners_(t), this.dispatchEvent(new Mi(ji.ADDLAYER, t)), this.changed();
3466
+ this.registerLayerListeners_(t), this.dispatchEvent(new $(Q.ADDLAYER, t)), this.changed();
3488
3467
  }
3489
3468
  handleLayersRemove_(e) {
3490
- let t = e.element, n = d(t);
3491
- this.listenerKeys_[n].forEach(C), delete this.listenerKeys_[n], this.dispatchEvent(new Mi(ji.REMOVELAYER, t)), this.changed();
3469
+ let t = e.element, n = r(t);
3470
+ this.listenerKeys_[n].forEach(v), delete this.listenerKeys_[n], this.dispatchEvent(new $(Q.REMOVELAYER, t)), this.changed();
3492
3471
  }
3493
3472
  getLayers() {
3494
3473
  return this.get(Ni.LAYERS);
@@ -3497,7 +3476,7 @@ var ji = {
3497
3476
  let t = this.getLayers();
3498
3477
  if (t) {
3499
3478
  let e = t.getArray();
3500
- for (let t = 0, n = e.length; t < n; ++t) this.dispatchEvent(new Mi(ji.REMOVELAYER, e[t]));
3479
+ for (let t = 0, n = e.length; t < n; ++t) this.dispatchEvent(new $(Q.REMOVELAYER, e[t]));
3501
3480
  }
3502
3481
  this.set(Ni.LAYERS, e);
3503
3482
  }
@@ -3515,126 +3494,125 @@ var ji = {
3515
3494
  !e && r.zIndex === void 0 && (i = 0);
3516
3495
  for (let e = n, a = t.length; e < a; e++) {
3517
3496
  let n = t[e];
3518
- n.opacity *= r.opacity, n.visible = n.visible && r.visible, n.maxResolution = Math.min(n.maxResolution, r.maxResolution), n.minResolution = Math.max(n.minResolution, r.minResolution), n.minZoom = Math.max(n.minZoom, r.minZoom), n.maxZoom = Math.min(n.maxZoom, r.maxZoom), r.extent !== void 0 && (n.extent = n.extent === void 0 ? r.extent : pe(n.extent, r.extent)), n.zIndex === void 0 && (n.zIndex = i);
3497
+ n.opacity *= r.opacity, n.visible = n.visible && r.visible, n.maxResolution = Math.min(n.maxResolution, r.maxResolution), n.minResolution = Math.max(n.minResolution, r.minResolution), n.minZoom = Math.max(n.minZoom, r.minZoom), n.maxZoom = Math.min(n.maxZoom, r.maxZoom), r.extent !== void 0 && (n.extent = n.extent === void 0 ? r.extent : se(n.extent, r.extent)), n.zIndex === void 0 && (n.zIndex = i);
3519
3498
  }
3520
3499
  return t;
3521
3500
  }
3522
3501
  getSourceState() {
3523
3502
  return "ready";
3524
3503
  }
3525
- }, Fi = class extends se {
3504
+ }, Fi = class extends x {
3526
3505
  constructor(e) {
3527
3506
  super(), this.map_ = e;
3528
3507
  }
3529
3508
  dispatchRenderEvent(e, t) {
3530
- T();
3509
+ C();
3531
3510
  }
3532
3511
  calculateMatrices2D(e) {
3533
3512
  let t = e.viewState, n = e.coordinateToPixelTransform, r = e.pixelToCoordinateTransform;
3534
- Ne(n, e.size[0] / 2, e.size[1] / 2, 1 / t.resolution, -1 / t.resolution, -t.rotation, -t.center[0], -t.center[1]), Pe(r, n);
3513
+ Fe(n, e.size[0] / 2, e.size[1] / 2, 1 / t.resolution, -1 / t.resolution, -t.rotation, -t.center[0], -t.center[1]), Ie(r, n);
3535
3514
  }
3536
- forEachFeatureAtCoordinate(e, t, n, r, i, a, o, s) {
3537
- let c, l = t.viewState;
3538
- function u(e, t, n, r) {
3515
+ forEachFeatureAtCoordinate(e, t, n, r, i, a, o, c) {
3516
+ let u, d = t.viewState;
3517
+ function f(e, t, n, r) {
3539
3518
  return i.call(a, t, e ? n : null, r);
3540
3519
  }
3541
- let d = l.projection, f = _(e.slice(), d), p = [[0, 0]];
3542
- if (d.canWrapX() && r) {
3543
- let e = d.getExtent(), t = h(e);
3544
- p.push([-t, 0], [t, 0]);
3520
+ let p = d.projection, m = l(e.slice(), p), h = [[0, 0]];
3521
+ if (p.canWrapX() && r) {
3522
+ let e = p.getExtent(), t = s(e);
3523
+ h.push([-t, 0], [t, 0]);
3545
3524
  }
3546
- let m = t.layerStatesArray, g = m.length, v = [], y = [];
3547
- for (let r = 0; r < p.length; r++) for (let i = g - 1; i >= 0; --i) {
3548
- let a = m[i], d = a.layer;
3549
- if (d.hasRenderer() && Ke(a, l) && o.call(s, d)) {
3550
- let i = d.getRenderer(), o = d.getSource();
3525
+ let g = t.layerStatesArray, _ = g.length, v = [], ee = [];
3526
+ for (let r = 0; r < h.length; r++) for (let i = _ - 1; i >= 0; --i) {
3527
+ let a = g[i], s = a.layer;
3528
+ if (s.hasRenderer() && Je(a, d) && o.call(c, s)) {
3529
+ let i = s.getRenderer(), o = s.getSource();
3551
3530
  if (i && o) {
3552
- let s = o.getWrapX() ? f : e, l = u.bind(null, a.managed);
3553
- y[0] = s[0] + p[r][0], y[1] = s[1] + p[r][1], c = i.forEachFeatureAtCoordinate(y, t, n, l, v);
3531
+ let s = o.getWrapX() ? m : e, c = f.bind(null, a.managed);
3532
+ ee[0] = s[0] + h[r][0], ee[1] = s[1] + h[r][1], u = i.forEachFeatureAtCoordinate(ee, t, n, c, v);
3554
3533
  }
3555
- if (c) return c;
3534
+ if (u) return u;
3556
3535
  }
3557
3536
  }
3558
3537
  if (v.length === 0) return;
3559
- let ee = 1 / v.length;
3560
- return v.forEach((e, t) => e.distanceSq += t * ee), v.sort((e, t) => e.distanceSq - t.distanceSq), v.some((e) => c = e.callback(e.feature, e.layer, e.geometry)), c;
3538
+ let y = 1 / v.length;
3539
+ return v.forEach((e, t) => e.distanceSq += t * y), v.sort((e, t) => e.distanceSq - t.distanceSq), v.some((e) => u = e.callback(e.feature, e.layer, e.geometry)), u;
3561
3540
  }
3562
3541
  hasFeatureAtCoordinate(e, t, n, r, i, a) {
3563
- return this.forEachFeatureAtCoordinate(e, t, n, r, m, this, i, a) !== void 0;
3542
+ return this.forEachFeatureAtCoordinate(e, t, n, r, o, this, i, a) !== void 0;
3564
3543
  }
3565
3544
  getMap() {
3566
3545
  return this.map_;
3567
3546
  }
3568
3547
  renderFrame(e) {
3569
- T();
3548
+ C();
3570
3549
  }
3571
3550
  scheduleExpireIconCache(e) {
3572
- N.canExpireCache() && e.postRenderFunctions.push(Ii);
3551
+ j.canExpireCache() && e.postRenderFunctions.push(Ii);
3573
3552
  }
3574
3553
  };
3575
3554
  function Ii(e, t) {
3576
- N.expire();
3555
+ j.expire();
3577
3556
  }
3578
- //#endregion
3579
- //#region ../node_modules/ol/renderer/Composite.js
3557
+ // ../node_modules/ol/renderer/Composite.js
3580
3558
  var Li = class extends Fi {
3581
3559
  constructor(e) {
3582
- super(e), this.fontChangeListenerKey_ = w(wn, ie.PROPERTYCHANGE, e.redrawText, e), this.element_ = Ee ? ye() : document.createElement("div");
3560
+ super(e), this.fontChangeListenerKey_ = S(En, y.PROPERTYCHANGE, e.redrawText, e), this.element_ = be ? pe() : document.createElement("div");
3583
3561
  let t = this.element_.style;
3584
- t.position = "absolute", t.width = "100%", t.height = "100%", t.zIndex = "0", this.element_.className = a + " ol-layers";
3562
+ t.position = "absolute", t.width = "100%", t.height = "100%", t.zIndex = "0", this.element_.className = De + " ol-layers";
3585
3563
  let n = e.getViewport();
3586
3564
  n && n.insertBefore(this.element_, n.firstChild || null), this.children_ = [], this.renderedVisible_ = !0;
3587
3565
  }
3588
3566
  dispatchRenderEvent(e, t) {
3589
3567
  let n = this.getMap();
3590
3568
  if (n.hasListener(e)) {
3591
- let r = new We(e, void 0, t);
3569
+ let r = new Ke(e, void 0, t);
3592
3570
  n.dispatchEvent(r);
3593
3571
  }
3594
3572
  }
3595
3573
  disposeInternal() {
3596
- C(this.fontChangeListenerKey_), this.element_.remove(), super.disposeInternal();
3574
+ v(this.fontChangeListenerKey_), this.element_.remove(), super.disposeInternal();
3597
3575
  }
3598
3576
  renderFrame(e) {
3599
3577
  if (!e) {
3600
3578
  this.renderedVisible_ &&= (this.element_.style.display = "none", !1);
3601
3579
  return;
3602
3580
  }
3603
- this.calculateMatrices2D(e), this.dispatchRenderEvent(Je.PRECOMPOSE, e);
3581
+ this.calculateMatrices2D(e), this.dispatchRenderEvent(Xe.PRECOMPOSE, e);
3604
3582
  let t = e.layerStatesArray.sort((e, t) => e.zIndex - t.zIndex);
3605
- t.some((e) => e.layer instanceof yi && e.layer.getDeclutter()) && (e.declutter = {});
3583
+ t.some((e) => e.layer instanceof xi && e.layer.getDeclutter()) && (e.declutter = {});
3606
3584
  let n = e.viewState;
3607
3585
  this.children_.length = 0;
3608
3586
  let r = this.getMap().getTargetElement(), i;
3609
- D(r) && (i = r.getContext("2d"), i.setTransform(1, 0, 0, 1, 0, 0), i.clearRect(0, 0, r.width, r.height));
3587
+ T(r) && (i = r.getContext("2d"), i.setTransform(1, 0, 0, 1, 0, 0), i.clearRect(0, 0, r.width, r.height));
3610
3588
  let a = [], o = i ? r : null;
3611
3589
  for (let r = 0, i = t.length; r < i; ++r) {
3612
3590
  let i = t[r];
3613
3591
  e.layerIndex = r;
3614
3592
  let s = i.layer, c = s.getSourceState();
3615
- if (!Ke(i, n) || c != "ready" && c != "undefined") {
3593
+ if (!Je(i, n) || c != "ready" && c != "undefined") {
3616
3594
  s.unrender();
3617
3595
  continue;
3618
3596
  }
3619
3597
  let l = s.render(e, o);
3620
3598
  l && (l !== o && (this.children_.push(l), o = l), a.push(i));
3621
3599
  }
3622
- this.declutter(e, a), Te(this.element_, this.children_);
3600
+ this.declutter(e, a), ye(this.element_, this.children_);
3623
3601
  for (let e of i ? this.children_ : []) {
3624
3602
  let t = e.firstElementChild || e, n = e.style.backgroundColor;
3625
- if (n && (!D(t) || t.width > 0) && (i.fillStyle = n, i.fillRect(0, 0, i.canvas.width, i.canvas.height)), !D(t) || t.width === 0) continue;
3603
+ if (n && (!T(t) || t.width > 0) && (i.fillStyle = n, i.fillRect(0, 0, i.canvas.width, i.canvas.height)), !T(t) || t.width === 0) continue;
3626
3604
  i.save();
3627
3605
  let r = e.style.opacity || t.style.opacity;
3628
3606
  i.globalAlpha = r === "" ? 1 : Number(r);
3629
3607
  let a = t.style.transform;
3630
- if (a) i.transform(...Me(a));
3608
+ if (a) i.transform(...Pe(a));
3631
3609
  else {
3632
3610
  let e = parseFloat(t.style.width) / t.width, n = parseFloat(t.style.height) / t.height;
3633
3611
  i.transform(e, 0, 0, n, 0, 0);
3634
3612
  }
3635
3613
  i.drawImage(t, 0, 0), i.restore();
3636
3614
  }
3637
- this.dispatchRenderEvent(Je.POSTCOMPOSE, e), this.renderedVisible_ ||= (this.element_.style.display = "", !0), this.scheduleExpireIconCache(e);
3615
+ this.dispatchRenderEvent(Xe.POSTCOMPOSE, e), this.renderedVisible_ ||= (this.element_.style.display = "", !0), this.scheduleExpireIconCache(e);
3638
3616
  }
3639
3617
  declutter(e, t) {
3640
3618
  if (e.declutter) {
@@ -3647,41 +3625,34 @@ var Li = class extends Fi {
3647
3625
  }
3648
3626
  }, Ri = /* @__PURE__ */ e({ default: () => Vi });
3649
3627
  function zi(e) {
3650
- if (e instanceof Ze) {
3651
- e.setMapInternal(null);
3652
- return;
3653
- }
3654
- e instanceof Pi && e.getLayers().forEach(zi);
3628
+ e instanceof $e ? e.setMapInternal(null) : e instanceof Pi && e.getLayers().forEach(zi);
3655
3629
  }
3656
3630
  function Bi(e, t) {
3657
- if (e instanceof Ze) {
3658
- e.setMapInternal(t);
3659
- return;
3660
- }
3661
- if (e instanceof Pi) {
3631
+ if (e instanceof $e) e.setMapInternal(t);
3632
+ else if (e instanceof Pi) {
3662
3633
  let n = e.getLayers().getArray();
3663
3634
  for (let e = 0, r = n.length; e < r; ++e) Bi(n[e], t);
3664
3635
  }
3665
3636
  }
3666
- var Vi = class extends v {
3637
+ var Vi = class extends u {
3667
3638
  constructor(e) {
3668
3639
  super(), e ||= {}, this.on, this.once, this.un;
3669
3640
  let t = Hi(e);
3670
- this.renderComplete_ = !1, this.loaded_ = !0, this.boundHandleBrowserEvent_ = this.handleBrowserEvent.bind(this), this.maxTilesLoading_ = e.maxTilesLoading === void 0 ? 16 : e.maxTilesLoading, this.pixelRatio_ = e.pixelRatio === void 0 ? _e : e.pixelRatio, this.postRenderTimeoutHandle_, this.animationDelayKey_, this.animationDelay_ = this.animationDelay_.bind(this), this.coordinateToPixelTransform_ = Ae(), this.pixelToCoordinateTransform_ = Ae(), this.frameIndex_ = 0, this.frameState_ = null, this.previousExtent_ = null, this.viewPropertyListenerKey_ = null, this.viewChangeListenerKey_ = null, this.layerGroupPropertyListenerKeys_ = null, Ee || (this.viewport_ = document.createElement("div"), this.viewport_.className = "ol-viewport" + ("ontouchstart" in window ? " ol-touch" : ""), this.viewport_.style.position = "relative", this.viewport_.style.overflow = "hidden", this.viewport_.style.width = "100%", this.viewport_.style.height = "100%", this.overlayContainer_ = document.createElement("div"), this.overlayContainer_.style.position = "absolute", this.overlayContainer_.style.zIndex = "0", this.overlayContainer_.style.width = "100%", this.overlayContainer_.style.height = "100%", this.overlayContainer_.style.pointerEvents = "none", this.overlayContainer_.className = "ol-overlaycontainer", this.viewport_.appendChild(this.overlayContainer_), this.overlayContainerStopEvent_ = document.createElement("div"), this.overlayContainerStopEvent_.style.position = "absolute", this.overlayContainerStopEvent_.style.zIndex = "0", this.overlayContainerStopEvent_.style.width = "100%", this.overlayContainerStopEvent_.style.height = "100%", this.overlayContainerStopEvent_.style.pointerEvents = "none", this.overlayContainerStopEvent_.className = "ol-overlaycontainer-stopevent", this.viewport_.appendChild(this.overlayContainerStopEvent_)), this.mapBrowserEventHandler_ = null, this.moveTolerance_ = e.moveTolerance, this.keyboardEventTarget_ = t.keyboardEventTarget, this.targetChangeHandlerKeys_ = null, this.targetElement_ = null, Ee || (this.resizeObserver_ = new ResizeObserver(() => this.updateSize())), this.controls = t.controls || (Ee ? new A() : Ai()), this.interactions = t.interactions || (Ee ? new A() : on({ onFocusOnly: !0 })), this.overlays_ = t.overlays, this.overlayIdIndex_ = {}, this.renderer_ = null, this.postRenderFunctions_ = [], this.tileQueue_ = new Ti(this.getTilePriority.bind(this), this.handleTileChange_.bind(this)), this.addChangeListener($.LAYERGROUP, this.handleLayerGroupChanged_), this.addChangeListener($.VIEW, this.handleViewChanged_), this.addChangeListener($.SIZE, this.handleSizeChanged_), this.addChangeListener($.TARGET, this.handleTargetChanged_), this.setProperties(t.values);
3641
+ this.renderComplete_ = !1, this.loaded_ = !0, this.boundHandleBrowserEvent_ = this.handleBrowserEvent.bind(this), this.maxTilesLoading_ = e.maxTilesLoading === void 0 ? 16 : e.maxTilesLoading, this.pixelRatio_ = e.pixelRatio === void 0 ? de : e.pixelRatio, this.postRenderTimeoutHandle_, this.animationDelayKey_, this.animationDelay_ = this.animationDelay_.bind(this), this.coordinateToPixelTransform_ = Me(), this.pixelToCoordinateTransform_ = Me(), this.frameIndex_ = 0, this.frameState_ = null, this.previousExtent_ = null, this.viewPropertyListenerKey_ = null, this.viewChangeListenerKey_ = null, this.layerGroupPropertyListenerKeys_ = null, be || (this.viewport_ = document.createElement("div"), this.viewport_.className = "ol-viewport" + ("ontouchstart" in window ? " ol-touch" : ""), this.viewport_.style.position = "relative", this.viewport_.style.overflow = "hidden", this.viewport_.style.width = "100%", this.viewport_.style.height = "100%", this.overlayContainer_ = document.createElement("div"), this.overlayContainer_.style.position = "absolute", this.overlayContainer_.style.zIndex = "0", this.overlayContainer_.style.width = "100%", this.overlayContainer_.style.height = "100%", this.overlayContainer_.style.pointerEvents = "none", this.overlayContainer_.className = "ol-overlaycontainer", this.viewport_.appendChild(this.overlayContainer_), this.overlayContainerStopEvent_ = document.createElement("div"), this.overlayContainerStopEvent_.style.position = "absolute", this.overlayContainerStopEvent_.style.zIndex = "0", this.overlayContainerStopEvent_.style.width = "100%", this.overlayContainerStopEvent_.style.height = "100%", this.overlayContainerStopEvent_.style.pointerEvents = "none", this.overlayContainerStopEvent_.className = "ol-overlaycontainer-stopevent", this.viewport_.appendChild(this.overlayContainerStopEvent_)), this.mapBrowserEventHandler_ = null, this.moveTolerance_ = e.moveTolerance, this.keyboardEventTarget_ = t.keyboardEventTarget, this.targetChangeHandlerKeys_ = null, this.targetElement_ = null, be || (this.resizeObserver_ = new ResizeObserver(() => this.updateSize())), this.controls = t.controls || (be ? new O() : Mi()), this.interactions = t.interactions || (be ? new O() : cn({ onFocusOnly: !0 })), this.overlays_ = t.overlays, this.overlayIdIndex_ = {}, this.renderer_ = null, this.postRenderFunctions_ = [], this.tileQueue_ = new Di(this.getTilePriority.bind(this), this.handleTileChange_.bind(this)), this.addChangeListener(Z.LAYERGROUP, this.handleLayerGroupChanged_), this.addChangeListener(Z.VIEW, this.handleViewChanged_), this.addChangeListener(Z.SIZE, this.handleSizeChanged_), this.addChangeListener(Z.TARGET, this.handleTargetChanged_), this.setProperties(t.values);
3671
3642
  let n = this;
3672
- e.view && !(e.view instanceof ze) && e.view.then(function(e) {
3673
- n.setView(new ze(e));
3674
- }), this.controls.addEventListener(k.ADD, (e) => {
3643
+ e.view && !(e.view instanceof Ve) && e.view.then(function(e) {
3644
+ n.setView(new Ve(e));
3645
+ }), this.controls.addEventListener(D.ADD, (e) => {
3675
3646
  e.element.setMap(this);
3676
- }), this.controls.addEventListener(k.REMOVE, (e) => {
3647
+ }), this.controls.addEventListener(D.REMOVE, (e) => {
3677
3648
  e.element.setMap(null);
3678
- }), this.interactions.addEventListener(k.ADD, (e) => {
3649
+ }), this.interactions.addEventListener(D.ADD, (e) => {
3679
3650
  e.element.setMap(this);
3680
- }), this.interactions.addEventListener(k.REMOVE, (e) => {
3651
+ }), this.interactions.addEventListener(D.REMOVE, (e) => {
3681
3652
  e.element.setMap(null);
3682
- }), this.overlays_.addEventListener(k.ADD, (e) => {
3653
+ }), this.overlays_.addEventListener(D.ADD, (e) => {
3683
3654
  this.addOverlayInternal_(e.element);
3684
- }), this.overlays_.addEventListener(k.REMOVE, (e) => {
3655
+ }), this.overlays_.addEventListener(D.REMOVE, (e) => {
3685
3656
  let t = e.element.getId();
3686
3657
  t !== void 0 && delete this.overlayIdIndex_[t.toString()], e.element.setMap(null);
3687
3658
  }), this.controls.forEach((e) => {
@@ -3716,8 +3687,8 @@ var Vi = class extends v {
3716
3687
  if (!this.frameState_ || !this.renderer_) return;
3717
3688
  let r = this.getCoordinateFromPixelInternal(e);
3718
3689
  n = n === void 0 ? {} : n;
3719
- let i = n.hitTolerance === void 0 ? 0 : n.hitTolerance, a = n.layerFilter === void 0 ? m : n.layerFilter, o = n.checkWrapped !== !1;
3720
- return this.renderer_.forEachFeatureAtCoordinate(r, this.frameState_, i, o, t, null, a, null);
3690
+ let i = n.hitTolerance === void 0 ? 0 : n.hitTolerance, a = n.layerFilter === void 0 ? o : n.layerFilter, s = n.checkWrapped !== !1;
3691
+ return this.renderer_.forEachFeatureAtCoordinate(r, this.frameState_, i, s, t, null, a, null);
3721
3692
  }
3722
3693
  getFeaturesAtPixel(e, t) {
3723
3694
  let n = [];
@@ -3738,7 +3709,7 @@ var Vi = class extends v {
3738
3709
  if (!this.frameState_ || !this.renderer_) return !1;
3739
3710
  let n = this.getCoordinateFromPixelInternal(e);
3740
3711
  t = t === void 0 ? {} : t;
3741
- let r = t.layerFilter === void 0 ? m : t.layerFilter, i = t.hitTolerance === void 0 ? 0 : t.hitTolerance, a = t.checkWrapped !== !1;
3712
+ let r = t.layerFilter === void 0 ? o : t.layerFilter, i = t.hitTolerance === void 0 ? 0 : t.hitTolerance, a = t.checkWrapped !== !1;
3742
3713
  return this.renderer_.hasFeatureAtCoordinate(n, this.frameState_, i, a, r, null);
3743
3714
  }
3744
3715
  getEventCoordinate(e) {
@@ -3752,17 +3723,17 @@ var Vi = class extends v {
3752
3723
  return [(a.clientX - t.left) / r, (a.clientY - t.top) / i];
3753
3724
  }
3754
3725
  getTarget() {
3755
- return this.get($.TARGET);
3726
+ return this.get(Z.TARGET);
3756
3727
  }
3757
3728
  getTargetElement() {
3758
3729
  return this.targetElement_;
3759
3730
  }
3760
3731
  getCoordinateFromPixel(e) {
3761
- return fe(this.getCoordinateFromPixelInternal(e), this.getView().getProjection());
3732
+ return oe(this.getCoordinateFromPixelInternal(e), this.getView().getProjection());
3762
3733
  }
3763
3734
  getCoordinateFromPixelInternal(e) {
3764
3735
  let t = this.frameState_;
3765
- return t ? je(t.pixelToCoordinateTransform, e.slice()) : null;
3736
+ return t ? Ne(t.pixelToCoordinateTransform, e.slice()) : null;
3766
3737
  }
3767
3738
  getControls() {
3768
3739
  return this.controls;
@@ -3778,11 +3749,11 @@ var Vi = class extends v {
3778
3749
  return this.interactions;
3779
3750
  }
3780
3751
  getLayerGroup() {
3781
- return this.get($.LAYERGROUP);
3752
+ return this.get(Z.LAYERGROUP);
3782
3753
  }
3783
3754
  setLayers(e) {
3784
3755
  let t = this.getLayerGroup();
3785
- if (e instanceof A) {
3756
+ if (e instanceof O) {
3786
3757
  t.setLayers(e);
3787
3758
  return;
3788
3759
  }
@@ -3805,12 +3776,12 @@ var Vi = class extends v {
3805
3776
  return !1;
3806
3777
  }
3807
3778
  getPixelFromCoordinate(e) {
3808
- let t = le(e, this.getView().getProjection());
3779
+ let t = re(e, this.getView().getProjection());
3809
3780
  return this.getPixelFromCoordinateInternal(t);
3810
3781
  }
3811
3782
  getPixelFromCoordinateInternal(e) {
3812
3783
  let t = this.frameState_;
3813
- return t ? je(t.coordinateToPixelTransform, e.slice(0, 2)) : null;
3784
+ return t ? Ne(t.coordinateToPixelTransform, e.slice(0, 2)) : null;
3814
3785
  }
3815
3786
  getPixelRatio() {
3816
3787
  return this.pixelRatio_;
@@ -3822,10 +3793,10 @@ var Vi = class extends v {
3822
3793
  return this.renderer_;
3823
3794
  }
3824
3795
  getSize() {
3825
- return this.get($.SIZE);
3796
+ return this.get(Z.SIZE);
3826
3797
  }
3827
3798
  getView() {
3828
- return this.get($.VIEW);
3799
+ return this.get(Z.VIEW);
3829
3800
  }
3830
3801
  getViewport() {
3831
3802
  return this.viewport_;
@@ -3841,17 +3812,17 @@ var Vi = class extends v {
3841
3812
  return e ? e.ownerDocument : document;
3842
3813
  }
3843
3814
  getTilePriority(e, t, n, r) {
3844
- return Ei(this.frameState_, e, t, n, r);
3815
+ return Oi(this.frameState_, e, t, n, r);
3845
3816
  }
3846
3817
  handleBrowserEvent(e, t) {
3847
3818
  t ||= e.type;
3848
- let n = new M(t, this, e);
3819
+ let n = new A(t, this, e);
3849
3820
  this.handleMapBrowserEvent(n);
3850
3821
  }
3851
3822
  handleMapBrowserEvent(e) {
3852
3823
  if (!this.frameState_) return;
3853
3824
  let t = e.originalEvent, n = t.type;
3854
- if (n === xi.POINTERDOWN || n === S.WHEEL || n === S.KEYDOWN) {
3825
+ if (n === Ci.POINTERDOWN || n === _.WHEEL || n === _.KEYDOWN) {
3855
3826
  let e = this.getOwnerDocument(), n = this.viewport_.getRootNode ? this.viewport_.getRootNode() : e, r = t.target, i = n instanceof ShadowRoot ? n.host === r ? n.host.ownerDocument : n : n === e ? e.documentElement : n;
3856
3827
  if (this.overlayContainerStopEvent_.contains(r) || !i.contains(r)) return;
3857
3828
  }
@@ -3866,14 +3837,14 @@ var Vi = class extends v {
3866
3837
  handlePostRender() {
3867
3838
  let e = this.frameState_, t = this.tileQueue_;
3868
3839
  if (!t.isEmpty()) {
3869
- let n = this.maxTilesLoading_, r = n, i = e ? e.viewHints : void 0, a = i ? i[Le.ANIMATING] || i[Le.INTERACTING] : !1;
3840
+ let n = this.maxTilesLoading_, r = n, i = e ? e.viewHints : void 0, a = i ? i[ze.ANIMATING] || i[ze.INTERACTING] : !1;
3870
3841
  if (a) {
3871
3842
  let t = Date.now() - e.time > 8;
3872
3843
  n = t ? 0 : 8, r = t ? 0 : 2;
3873
3844
  }
3874
3845
  t.getTilesLoading() < n && (a && t.reprioritize(), t.loadMoreTiles(n, r));
3875
3846
  }
3876
- e && this.renderer_ && !e.animate && (this.renderComplete_ ? (this.hasListener(Je.RENDERCOMPLETE) && this.renderer_.dispatchRenderEvent(Je.RENDERCOMPLETE, e), this.loaded_ === !1 && (this.loaded_ = !0, this.dispatchEvent(new sn(c.LOADEND, this, e)))) : this.loaded_ === !0 && (this.loaded_ = !1, this.dispatchEvent(new sn(c.LOADSTART, this, e))));
3847
+ e && this.renderer_ && !e.animate && (this.renderComplete_ ? (this.hasListener(Xe.RENDERCOMPLETE) && this.renderer_.dispatchRenderEvent(Xe.RENDERCOMPLETE, e), this.loaded_ === !1 && (this.loaded_ = !0, this.dispatchEvent(new ln(Ae.LOADEND, this, e)))) : this.loaded_ === !0 && (this.loaded_ = !1, this.dispatchEvent(new ln(Ae.LOADSTART, this, e))));
3877
3848
  let n = this.postRenderFunctions_;
3878
3849
  if (e) for (let t = 0, r = n.length; t < r; ++t) n[t](this, e);
3879
3850
  n.length = 0;
@@ -3883,10 +3854,10 @@ var Vi = class extends v {
3883
3854
  }
3884
3855
  handleTargetChanged_() {
3885
3856
  if (this.mapBrowserEventHandler_) {
3886
- for (let e = 0, t = this.targetChangeHandlerKeys_.length; e < t; ++e) C(this.targetChangeHandlerKeys_[e]);
3887
- this.targetChangeHandlerKeys_ = null, this.viewport_.removeEventListener(S.CONTEXTMENU, this.boundHandleBrowserEvent_), this.viewport_.removeEventListener(S.WHEEL, this.boundHandleBrowserEvent_), this.mapBrowserEventHandler_.dispose(), this.mapBrowserEventHandler_ = null, this.viewport_.remove();
3857
+ for (let e = 0, t = this.targetChangeHandlerKeys_.length; e < t; ++e) v(this.targetChangeHandlerKeys_[e]);
3858
+ this.targetChangeHandlerKeys_ = null, this.viewport_.removeEventListener(_.CONTEXTMENU, this.boundHandleBrowserEvent_), this.viewport_.removeEventListener(_.WHEEL, this.boundHandleBrowserEvent_), this.mapBrowserEventHandler_.dispose(), this.mapBrowserEventHandler_ = null, this.viewport_.remove();
3888
3859
  }
3889
- if (this.targetElement_ && !D(this.targetElement_)) {
3860
+ if (this.targetElement_ && !T(this.targetElement_)) {
3890
3861
  this.resizeObserver_?.unobserve(this.targetElement_);
3891
3862
  let e = this.targetElement_.getRootNode();
3892
3863
  e instanceof ShadowRoot && this.resizeObserver_.unobserve(e.host), this.setSize(void 0);
@@ -3894,17 +3865,17 @@ var Vi = class extends v {
3894
3865
  let e = this.getTarget(), t = typeof e == "string" ? document.getElementById(e) : e;
3895
3866
  if (this.targetElement_ = t, !t) this.renderer_ &&= (clearTimeout(this.postRenderTimeoutHandle_), this.postRenderTimeoutHandle_ = void 0, this.postRenderFunctions_.length = 0, this.renderer_.dispose(), null), this.animationDelayKey_ &&= (cancelAnimationFrame(this.animationDelayKey_), void 0);
3896
3867
  else {
3897
- if (D(t) || t.appendChild(this.viewport_), this.renderer_ ||= new Li(this), !D(t)) {
3898
- this.mapBrowserEventHandler_ = new Si(this, this.moveTolerance_);
3899
- for (let e in j) this.mapBrowserEventHandler_.addEventListener(j[e], this.handleMapBrowserEvent.bind(this));
3900
- this.viewport_.addEventListener(S.CONTEXTMENU, this.boundHandleBrowserEvent_, !1), this.viewport_.addEventListener(S.WHEEL, this.boundHandleBrowserEvent_, he ? { passive: !1 } : !1);
3868
+ if (T(t) || t.appendChild(this.viewport_), this.renderer_ ||= new Li(this), !T(t)) {
3869
+ this.mapBrowserEventHandler_ = new wi(this, this.moveTolerance_);
3870
+ for (let e in k) this.mapBrowserEventHandler_.addEventListener(k[e], this.handleMapBrowserEvent.bind(this));
3871
+ this.viewport_.addEventListener(_.CONTEXTMENU, this.boundHandleBrowserEvent_, !1), this.viewport_.addEventListener(_.WHEEL, this.boundHandleBrowserEvent_, le ? { passive: !1 } : !1);
3901
3872
  let e;
3902
3873
  if (this.keyboardEventTarget_) e = this.keyboardEventTarget_;
3903
3874
  else {
3904
3875
  let n = t.getRootNode();
3905
3876
  e = n instanceof ShadowRoot ? n.host : t;
3906
3877
  }
3907
- if (this.targetChangeHandlerKeys_ = [w(e, S.KEYDOWN, this.handleBrowserEvent, this), w(e, S.KEYPRESS, this.handleBrowserEvent, this)], !D(t)) {
3878
+ if (this.targetChangeHandlerKeys_ = [S(e, _.KEYDOWN, this.handleBrowserEvent, this), S(e, _.KEYPRESS, this.handleBrowserEvent, this)], !T(t)) {
3908
3879
  let e = t.getRootNode();
3909
3880
  e instanceof ShadowRoot && this.resizeObserver_.observe(e.host), this.resizeObserver_?.observe(t);
3910
3881
  }
@@ -3919,18 +3890,18 @@ var Vi = class extends v {
3919
3890
  this.render();
3920
3891
  }
3921
3892
  handleViewChanged_() {
3922
- this.viewPropertyListenerKey_ &&= (C(this.viewPropertyListenerKey_), null), this.viewChangeListenerKey_ &&= (C(this.viewChangeListenerKey_), null);
3893
+ this.viewPropertyListenerKey_ &&= (v(this.viewPropertyListenerKey_), null), this.viewChangeListenerKey_ &&= (v(this.viewChangeListenerKey_), null);
3923
3894
  let e = this.getView();
3924
- e && (this.updateViewportSize_(this.getSize()), this.viewPropertyListenerKey_ = w(e, ie.PROPERTYCHANGE, this.handleViewPropertyChanged_, this), this.viewChangeListenerKey_ = w(e, S.CHANGE, this.handleViewPropertyChanged_, this), e.resolveConstraints(0)), this.render();
3895
+ e && (this.updateViewportSize_(this.getSize()), this.viewPropertyListenerKey_ = S(e, y.PROPERTYCHANGE, this.handleViewPropertyChanged_, this), this.viewChangeListenerKey_ = S(e, _.CHANGE, this.handleViewPropertyChanged_, this), e.resolveConstraints(0)), this.render();
3925
3896
  }
3926
3897
  handleLayerGroupChanged_() {
3927
- this.layerGroupPropertyListenerKeys_ &&= (this.layerGroupPropertyListenerKeys_.forEach(C), null);
3898
+ this.layerGroupPropertyListenerKeys_ &&= (this.layerGroupPropertyListenerKeys_.forEach(v), null);
3928
3899
  let e = this.getLayerGroup();
3929
- e && (this.handleLayerAdd_(new Mi("addlayer", e)), this.layerGroupPropertyListenerKeys_ = [
3930
- w(e, ie.PROPERTYCHANGE, this.render, this),
3931
- w(e, S.CHANGE, this.render, this),
3932
- w(e, "addlayer", this.handleLayerAdd_, this),
3933
- w(e, "removelayer", this.handleLayerRemove_, this)
3900
+ e && (this.handleLayerAdd_(new $("addlayer", e)), this.layerGroupPropertyListenerKeys_ = [
3901
+ S(e, y.PROPERTYCHANGE, this.render, this),
3902
+ S(e, _.CHANGE, this.render, this),
3903
+ S(e, "addlayer", this.handleLayerAdd_, this),
3904
+ S(e, "removelayer", this.handleLayerRemove_, this)
3934
3905
  ]), this.render();
3935
3906
  }
3936
3907
  isRendered() {
@@ -3969,14 +3940,14 @@ var Vi = class extends v {
3969
3940
  return this.getOverlays().remove(e);
3970
3941
  }
3971
3942
  renderFrame_(e) {
3972
- let t = this.getSize(), n = this.getView(), r = this.frameState_, i = null;
3973
- if (t !== void 0 && Se(t) && n && n.isDef()) {
3974
- let r = n.getHints(this.frameState_ ? this.frameState_.viewHints : void 0), a = n.getState();
3975
- if (i = {
3943
+ let t = this.getSize(), n = this.getView(), i = this.frameState_, a = null;
3944
+ if (t !== void 0 && ge(t) && n && n.isDef()) {
3945
+ let i = n.getHints(this.frameState_ ? this.frameState_.viewHints : void 0), o = n.getState();
3946
+ if (a = {
3976
3947
  animate: !1,
3977
3948
  coordinateToPixelTransform: this.coordinateToPixelTransform_,
3978
3949
  declutter: null,
3979
- extent: y(a.center, a.resolution, a.rotation, t),
3950
+ extent: d(o.center, o.resolution, o.rotation, t),
3980
3951
  index: this.frameIndex_++,
3981
3952
  layerIndex: 0,
3982
3953
  layerStatesArray: this.getLayerGroup().getLayerStatesArray(),
@@ -3987,56 +3958,56 @@ var Vi = class extends v {
3987
3958
  tileQueue: this.tileQueue_,
3988
3959
  time: e,
3989
3960
  usedTiles: {},
3990
- viewState: a,
3991
- viewHints: r,
3961
+ viewState: o,
3962
+ viewHints: i,
3992
3963
  wantedTiles: {},
3993
- mapId: d(this),
3964
+ mapId: r(this),
3994
3965
  renderTargets: {}
3995
- }, a.nextCenter && a.nextResolution) {
3996
- let e = isNaN(a.nextRotation) ? a.rotation : a.nextRotation;
3997
- i.nextExtent = y(a.nextCenter, a.nextResolution, e, t);
3966
+ }, o.nextCenter && o.nextResolution) {
3967
+ let e = isNaN(o.nextRotation) ? o.rotation : o.nextRotation;
3968
+ a.nextExtent = d(o.nextCenter, o.nextResolution, e, t);
3998
3969
  }
3999
3970
  }
4000
- this.frameState_ = i, this.renderer_.renderFrame(i), i && (i.animate && this.render(), Array.prototype.push.apply(this.postRenderFunctions_, i.postRenderFunctions), r && (!this.previousExtent_ || !ce(this.previousExtent_) && !ae(i.extent, this.previousExtent_)) && (this.dispatchEvent(new sn(c.MOVESTART, this, r)), this.previousExtent_ = re(this.previousExtent_)), this.previousExtent_ && !i.viewHints[Le.ANIMATING] && !i.viewHints[Le.INTERACTING] && !ae(i.extent, this.previousExtent_) && (this.dispatchEvent(new sn(c.MOVEEND, this, i)), oe(i.extent, this.previousExtent_))), this.dispatchEvent(new sn(c.POSTRENDER, this, i)), this.renderComplete_ = (this.hasListener(c.LOADSTART) || this.hasListener(c.LOADEND) || this.hasListener(Je.RENDERCOMPLETE)) && !this.tileQueue_.getTilesLoading() && !this.tileQueue_.getCount() && !this.getLoadingOrNotReady(), this.postRenderTimeoutHandle_ ||= setTimeout(() => {
3971
+ this.frameState_ = a, this.renderer_.renderFrame(a), a && (a.animate && this.render(), Array.prototype.push.apply(this.postRenderFunctions_, a.postRenderFunctions), i && (this.previousExtent_ && (ne(this.previousExtent_) || b(a.extent, this.previousExtent_)) || (this.dispatchEvent(new ln(Ae.MOVESTART, this, i)), this.previousExtent_ = ee(this.previousExtent_))), this.previousExtent_ && !a.viewHints[ze.ANIMATING] && !a.viewHints[ze.INTERACTING] && !b(a.extent, this.previousExtent_) && (this.dispatchEvent(new ln(Ae.MOVEEND, this, a)), te(a.extent, this.previousExtent_))), this.dispatchEvent(new ln(Ae.POSTRENDER, this, a)), this.renderComplete_ = (this.hasListener(Ae.LOADSTART) || this.hasListener(Ae.LOADEND) || this.hasListener(Xe.RENDERCOMPLETE)) && !this.tileQueue_.getTilesLoading() && !this.tileQueue_.getCount() && !this.getLoadingOrNotReady(), this.postRenderTimeoutHandle_ ||= setTimeout(() => {
4001
3972
  this.postRenderTimeoutHandle_ = void 0, this.handlePostRender();
4002
3973
  }, 0);
4003
3974
  }
4004
3975
  setLayerGroup(e) {
4005
3976
  let t = this.getLayerGroup();
4006
- t && this.handleLayerRemove_(new Mi("removelayer", t)), this.set($.LAYERGROUP, e);
3977
+ t && this.handleLayerRemove_(new $("removelayer", t)), this.set(Z.LAYERGROUP, e);
4007
3978
  }
4008
3979
  setSize(e) {
4009
- this.set($.SIZE, e);
3980
+ this.set(Z.SIZE, e);
4010
3981
  }
4011
3982
  setTarget(e) {
4012
- this.set($.TARGET, e);
3983
+ this.set(Z.TARGET, e);
4013
3984
  }
4014
3985
  setView(e) {
4015
- if (!e || e instanceof ze) {
4016
- this.set($.VIEW, e);
3986
+ if (!e || e instanceof Ve) {
3987
+ this.set(Z.VIEW, e);
4017
3988
  return;
4018
3989
  }
4019
- this.set($.VIEW, new ze());
3990
+ this.set(Z.VIEW, new Ve());
4020
3991
  let t = this;
4021
3992
  e.then(function(e) {
4022
- t.setView(new ze(e));
3993
+ t.setView(new Ve(e));
4023
3994
  });
4024
3995
  }
4025
3996
  updateSize() {
4026
- let e = this.getTargetElement(), t;
3997
+ let e = this.getTargetElement(), n;
4027
3998
  if (e) {
4028
- let n, r;
4029
- if (D(e)) {
4030
- let t = e.getContext("2d").getTransform();
4031
- n = e.width / t.a, r = e.height / t.d;
3999
+ let t, r;
4000
+ if (T(e)) {
4001
+ let n = e.getContext("2d").getTransform();
4002
+ t = e.width / n.a, r = e.height / n.d;
4032
4003
  } else {
4033
- let t = getComputedStyle(e);
4034
- n = e.offsetWidth - parseFloat(t.borderLeftWidth) - parseFloat(t.paddingLeft) - parseFloat(t.paddingRight) - parseFloat(t.borderRightWidth), r = e.offsetHeight - parseFloat(t.borderTopWidth) - parseFloat(t.paddingTop) - parseFloat(t.paddingBottom) - parseFloat(t.borderBottomWidth);
4004
+ let n = getComputedStyle(e);
4005
+ t = e.offsetWidth - parseFloat(n.borderLeftWidth) - parseFloat(n.paddingLeft) - parseFloat(n.paddingRight) - parseFloat(n.borderRightWidth), r = e.offsetHeight - parseFloat(n.borderTopWidth) - parseFloat(n.paddingTop) - parseFloat(n.paddingBottom) - parseFloat(n.borderBottomWidth);
4035
4006
  }
4036
- !isNaN(n) && !isNaN(r) && (t = [Math.max(0, n), Math.max(0, r)], !Se(t) && (e.offsetWidth || e.offsetHeight || e.getClientRects().length) && te("No map visible because the map container's width or height are 0."));
4007
+ !isNaN(t) && !isNaN(r) && (n = [Math.max(0, t), Math.max(0, r)], !ge(n) && (e.offsetWidth || e.offsetHeight || e.getClientRects().length) && m("No map visible because the map container's width or height are 0."));
4037
4008
  }
4038
- let n = this.getSize();
4039
- t && (!n || !l(t, n)) && (this.updateViewportSize_(t), this.setSize(t));
4009
+ let r = this.getSize();
4010
+ !n || r && t(n, r) || (this.updateViewportSize_(n), this.setSize(n));
4040
4011
  }
4041
4012
  updateViewportSize_(e) {
4042
4013
  let t = this.getView();
@@ -4047,13 +4018,13 @@ function Hi(e) {
4047
4018
  let t = null;
4048
4019
  e.keyboardEventTarget !== void 0 && (t = typeof e.keyboardEventTarget == "string" ? document.getElementById(e.keyboardEventTarget) : e.keyboardEventTarget);
4049
4020
  let n = {}, r = e.layers && typeof e.layers.getLayers == "function" ? e.layers : new Pi({ layers: e.layers });
4050
- n[$.LAYERGROUP] = r, n[$.TARGET] = e.target, n[$.VIEW] = e.view instanceof ze ? e.view : new ze();
4021
+ n[Z.LAYERGROUP] = r, n[Z.TARGET] = e.target, n[Z.VIEW] = e.view instanceof Ve ? e.view : new Ve();
4051
4022
  let i;
4052
- e.controls !== void 0 && (Array.isArray(e.controls) ? i = new A(e.controls.slice()) : (O(typeof e.controls.getArray == "function", "Expected `controls` to be an array or an `ol/Collection.js`"), i = e.controls));
4023
+ e.controls !== void 0 && (Array.isArray(e.controls) ? i = new O(e.controls.slice()) : (E(typeof e.controls.getArray == "function", "Expected `controls` to be an array or an `ol/Collection.js`"), i = e.controls));
4053
4024
  let a;
4054
- e.interactions !== void 0 && (Array.isArray(e.interactions) ? a = new A(e.interactions.slice()) : (O(typeof e.interactions.getArray == "function", "Expected `interactions` to be an array or an `ol/Collection.js`"), a = e.interactions));
4025
+ e.interactions !== void 0 && (Array.isArray(e.interactions) ? a = new O(e.interactions.slice()) : (E(typeof e.interactions.getArray == "function", "Expected `interactions` to be an array or an `ol/Collection.js`"), a = e.interactions));
4055
4026
  let o;
4056
- return e.overlays === void 0 ? o = new A() : Array.isArray(e.overlays) ? o = new A(e.overlays.slice()) : (O(typeof e.overlays.getArray == "function", "Expected `overlays` to be an array or an `ol/Collection.js`"), o = e.overlays), {
4027
+ return e.overlays === void 0 ? o = new O() : Array.isArray(e.overlays) ? o = new O(e.overlays.slice()) : (E(typeof e.overlays.getArray == "function", "Expected `overlays` to be an array or an `ol/Collection.js`"), o = e.overlays), {
4057
4028
  controls: i,
4058
4029
  interactions: a,
4059
4030
  keyboardEventTarget: t,
@@ -4061,5 +4032,4 @@ function Hi(e) {
4061
4032
  values: n
4062
4033
  };
4063
4034
  }
4064
- //#endregion
4065
- export { pn as A, Pt as B, bn as C, Fn as D, In as E, Mt as F, A as G, yt as H, Ft as I, k as K, Nt as L, Vt as M, Et as N, Pn as O, At as P, Bt as R, Cn as S, Sn as T, j as U, bt as V, it as W, gn as _, Di as a, vn as b, Rr as c, jr as d, Ar as f, wn as g, Rn as h, ki as i, M as j, An as k, Y as l, Bn as m, Ri as n, $ as o, kr as p, Pi as r, yi as s, Vi as t, Fr as u, hn as v, xn as w, yn as x, _n as y, Lt as z };
4035
+ export { hn as A, It as B, Sn as C, Ln as D, Rn as E, Pt as F, O as G, xt as H, Lt as I, D as K, Ft as L, Ut as M, Ot as N, In as O, Mt as P, Ht as R, Tn as S, wn as T, k as U, St as V, ot as W, vn as _, ki as a, bn as b, Br as c, Nr as d, Mr as f, En as g, Bn as h, ji as i, A as j, Mn as k, q as l, Hn as m, Ri as n, Z as o, jr as p, Pi as r, xi as s, Vi as t, Lr as u, _n as v, Cn as w, xn as x, yn as y, zt as z };