@datagouv/components-next 1.0.2-dev.84 → 1.0.2-dev.85

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 (26) hide show
  1. package/dist/{Control-DuZJdKV_.js → Control-ZFh5ta_U.js} +1 -1
  2. package/dist/{Datafair.client-BzW-ctDf.js → Datafair.client-CGDQWFP2.js} +1 -1
  3. package/dist/{Event--kp8kMdJ.js → Event-DSQcW7OF.js} +24 -24
  4. package/dist/{Image-34hvypZI.js → Image-BijNEG0p.js} +6 -6
  5. package/dist/{JsonPreview.client-BfMSzR07.js → JsonPreview.client-CRAjVwYR.js} +2 -2
  6. package/dist/{Map-BjUnLyj8.js → Map-BUtPf5GN.js} +756 -756
  7. package/dist/{MapContainer.client-CLs-im9i.js → MapContainer.client-gmUC2Cl5.js} +37 -38
  8. package/dist/{OSM-s40W6sQ2.js → OSM-D4MTdBtk.js} +2 -2
  9. package/dist/{PdfPreview.client-C13PQCU_.js → PdfPreview.client-CRIHPiVa.js} +2 -2
  10. package/dist/{Pmtiles.client-CL7PXXDl.js → Pmtiles.client-DHyaqRB7.js} +1 -1
  11. package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-C6XnsZ-7.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-BFIK58nF.js} +1 -1
  12. package/dist/{ScaleLine-KW-nXqp3.js → ScaleLine-hJQIqcZm.js} +2 -2
  13. package/dist/{Tile-DbNFNPfU.js → Tile-Dcl7oIVu.js} +35 -35
  14. package/dist/{TileImage-BsXBxMtq.js → TileImage-BJeHipMX.js} +4 -4
  15. package/dist/{View-BR92hTWP.js → View-xp_P_OHw.js} +412 -401
  16. package/dist/{XmlPreview.client-KaENrbbG.js → XmlPreview.client-D2pj4Pi-.js} +3 -3
  17. package/dist/{common-PJfpC179.js → common-BjQlan3k.js} +36 -36
  18. package/dist/components-next.css +4 -4
  19. package/dist/components-next.js +1 -1
  20. package/dist/{index-C7WVVGgD.js → index-BihEb_eg.js} +32886 -27183
  21. package/dist/{main-K-42Oe8-.js → main-BNyfhPgX.js} +7 -7
  22. package/dist/{proj-DsetBcW7.js → proj-CsNo9yH1.js} +532 -512
  23. package/dist/{tilecoord-Db24Px13.js → tilecoord-A0fLnBZr.js} +28 -28
  24. package/dist/{vue3-xml-viewer.common-sHPSE-jD.js → vue3-xml-viewer.common-MxH3AoAS.js} +1 -1
  25. package/package.json +2 -2
  26. package/src/components/ResourceAccordion/MapContainer.client.vue +1 -3
@@ -1,35 +1,35 @@
1
- import { defineComponent as E, useTemplateRef as G, ref as W, onMounted as B, createBlock as z, createElementBlock as N, openBlock as m, withCtx as U, createTextVNode as V, toDisplayString as q, unref as A } from "vue";
2
- import { a as D, _ as F } from "./main-K-42Oe8-.js";
1
+ import { defineComponent as E, useTemplateRef as G, ref as W, onMounted as B, createBlock as N, createElementBlock as z, openBlock as u, withCtx as U, createTextVNode as V, toDisplayString as q, unref as A } from "vue";
2
+ import { a as D, _ as F } from "./main-BNyfhPgX.js";
3
3
  const Z = /* @__PURE__ */ E({
4
4
  __name: "MapContainer.client",
5
5
  props: {
6
6
  resource: {}
7
7
  },
8
- setup(f) {
9
- const r = f, { t: d } = D();
8
+ setup(m) {
9
+ const r = m, { t: f } = D();
10
10
  let e = null;
11
11
  const a = G("mapRef"), n = W(!1);
12
- async function w() {
12
+ async function d() {
13
13
  const [
14
14
  { default: i },
15
15
  { default: s },
16
+ { default: w },
16
17
  { default: y },
17
- { default: C },
18
18
  { default: h },
19
- _
19
+ C
20
20
  ] = await Promise.all([
21
- import("./View-BR92hTWP.js").then((t) => t.M),
22
- import("./Map-BjUnLyj8.js").then((t) => t.U),
23
- import("./ScaleLine-KW-nXqp3.js"),
24
- import("./Tile-DbNFNPfU.js").then((t) => t.d),
25
- import("./OSM-s40W6sQ2.js"),
21
+ import("./View-xp_P_OHw.js").then((t) => t.N),
22
+ import("./Map-BUtPf5GN.js").then((t) => t.U),
23
+ import("./ScaleLine-hJQIqcZm.js"),
24
+ import("./Tile-Dcl7oIVu.js").then((t) => t.d),
25
+ import("./OSM-D4MTdBtk.js"),
26
26
  // @ts-expect-error no types provided
27
- import("./index-C7WVVGgD.js")
28
- ]), { CRS: S, GeoportalAttribution: g, GeoportalFullScreen: M, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = _;
29
- await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), S.load(), e = new s({
27
+ import("./index-BihEb_eg.js")
28
+ ]), { CRS: _, GeoportalAttribution: S, GeoportalFullScreen: g, GeoportalZoom: b, LayerImport: v, LayerSwitcher: L } = C;
29
+ await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), await Promise.resolve({ }), _.load(), e = new s({
30
30
  target: a.value,
31
31
  layers: [
32
- new C({
32
+ new y({
33
33
  source: new h()
34
34
  })
35
35
  ],
@@ -39,57 +39,56 @@ const Z = /* @__PURE__ */ E({
39
39
  constrainResolution: !0
40
40
  })
41
41
  });
42
- const R = new y({
42
+ const M = new w({
43
43
  units: "metric",
44
44
  bar: !1
45
45
  });
46
- e.addControl(R);
47
- const T = new M({
46
+ e.addControl(M);
47
+ const R = new g({
48
48
  position: "top-right"
49
49
  });
50
- e.addControl(T);
51
- const k = new b({
50
+ e.addControl(R);
51
+ const T = new b({
52
52
  position: "bottom-left"
53
53
  });
54
- e.addControl(k);
55
- const I = new L({
54
+ e.addControl(T);
55
+ const k = new L({
56
56
  options: {
57
57
  position: "top-right"
58
58
  }
59
59
  });
60
- e.addControl(I);
61
- const l = new g({
62
- position: "bottom-right"
63
- // collapsed option is ignored by the library, thus the override below
64
- // see https://github.com/IGNF/geopf-extensions-openlayers/issues/497
60
+ e.addControl(k);
61
+ const I = new S({
62
+ position: "bottom-right",
63
+ collapsed: !1
65
64
  });
66
- l.setCollapsed(!1), e.addControl(l);
65
+ e.addControl(I);
67
66
  const o = new v({
68
67
  position: "bottom-left",
69
68
  listable: !0,
70
69
  layerTypes: ["WMS"]
71
70
  });
72
71
  o._serviceUrlImportInput.value = r.resource.url, o._formContainer.dispatchEvent(new CustomEvent("submit", { cancelable: !0 })), e.addControl(o);
73
- const p = 500;
74
- let c = 20;
75
- function u() {
72
+ const l = 500;
73
+ let p = 20;
74
+ function c() {
76
75
  if (!o._getCapResponseWMSLayers)
77
- c--, c > 0 ? setTimeout(u, p) : n.value = !0;
76
+ p--, p > 0 ? setTimeout(c, l) : n.value = !0;
78
77
  else {
79
78
  const t = o._getCapResponseWMSLayers.filter((x) => x.Name == r.resource.title)[0];
80
79
  o._addGetCapWMSLayer(t);
81
80
  }
82
81
  }
83
- setTimeout(u, p);
82
+ setTimeout(c, l);
84
83
  }
85
84
  return B(() => {
86
- w();
87
- }), (i, s) => n.value ? (m(), z(F, { key: 0 }, {
85
+ d();
86
+ }), (i, s) => n.value ? (u(), N(F, { key: 0 }, {
88
87
  default: U(() => [
89
- V(q(A(d)("L'aperçu cartographique de ce fichier n'a pas pu être chargé.")), 1)
88
+ V(q(A(f)("L'aperçu cartographique de ce fichier n'a pas pu être chargé.")), 1)
90
89
  ]),
91
90
  _: 1
92
- })) : (m(), N("div", {
91
+ })) : (u(), z("div", {
93
92
  key: 1,
94
93
  id: "map",
95
94
  ref_key: "mapRef",
@@ -1,5 +1,5 @@
1
- import { W as u } from "./Image-34hvypZI.js";
2
- import { T as d, c as o, e as m, d as s } from "./TileImage-BsXBxMtq.js";
1
+ import { W as u } from "./Image-BijNEG0p.js";
2
+ import { T as d, c as o, e as m, d as s } from "./TileImage-BJeHipMX.js";
3
3
  class g extends d {
4
4
  /**
5
5
  * @param {Options} [options] XYZ options.
@@ -12,8 +12,8 @@ var sZ = (R, l, U, Z) => ({
12
12
  }
13
13
  });
14
14
  import { defineComponent as cd, ref as td, onBeforeUnmount as Rd, createBlock as Nd, openBlock as LU, unref as sd, withCtx as bd, createElementVNode as nd, createElementBlock as bZ, Fragment as ad, renderList as hd } from "vue";
15
- import { _ as md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-C6XnsZ-7.js";
16
- import { u as id } from "./main-K-42Oe8-.js";
15
+ import { _ as md } from "./PreviewWrapper.vue_vue_type_script_setup_true_lang-BFIK58nF.js";
16
+ import { u as id } from "./main-BNyfhPgX.js";
17
17
  var ZU = {};
18
18
  ZU.d = (R, l) => {
19
19
  for (var U in l)
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ly, ref as cy, computed as dc, useTemplateRef as uy, onMounted as hy, createElementBlock as Mp, openBlock as eh, createBlock as py, withCtx as rm, createTextVNode as nm, toDisplayString as fc, unref as Gs, createCommentVNode as dy, createElementVNode as is, createVNode as fy } from "vue";
2
- import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-K-42Oe8-.js";
2
+ import { c as my, a as gy, d as _y, u as yy, e as xy, f as vy, _ as by, h as wy, i as Ty, K as Sy, t as Py } from "./main-BNyfhPgX.js";
3
3
  var fn = Uint8Array, Wo = Uint16Array, Iy = Int32Array, mm = new fn([
4
4
  0,
5
5
  0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, ref as g, computed as h, onMounted as S, nextTick as w, createElementBlock as k, openBlock as l, renderSlot as C, createBlock as n, createCommentVNode as b, toDisplayString as r, unref as a, withCtx as o, createTextVNode as u } from "vue";
2
- import { a as B, g as E, b as L, _ as c } from "./main-K-42Oe8-.js";
2
+ import { a as B, g as E, b as L, _ as c } from "./main-BNyfhPgX.js";
3
3
  const R = { class: "text-xs" }, q = {
4
4
  key: 1,
5
5
  class: "text-gray-medium"
@@ -1,5 +1,5 @@
1
- import { C as M, a as b } from "./Control-DuZJdKV_.js";
2
- import { g as E, M as T } from "./proj-DsetBcW7.js";
1
+ import { C as M, a as b } from "./Control-ZFh5ta_U.js";
2
+ import { g as E, M as T } from "./proj-CsNo9yH1.js";
3
3
  const S = "units", W = [1, 2, 5], f = 25.4 / 0.28;
4
4
  class y extends M {
5
5
  /**
@@ -1,8 +1,8 @@
1
- import { T as Oe, b as Pe, d as ye, g as ee, I as Ke, R as Me } from "./tilecoord-Db24Px13.js";
2
- import { T, h as Te, d as F, l as ze, j as Ae, W as be, c as me, t as Fe } from "./Image-34hvypZI.js";
3
- import { aF as je, aH as ke, al as te, E as Ne, $ as Ze, an as we, aI as Ue, az as qe, aJ as Ge, L as Be, F as Ve, n as We, e as He, X as Xe, a as j, aK as Ye, j as re, d as oe, a2 as $e, i as Qe, H as Je } from "./proj-DsetBcW7.js";
4
- import { a as ne, e as ie, p as et, g as v, d as ae, n as tt, q as nt } from "./common-PJfpC179.js";
5
- import { a as xe, R as it, E as X, L as st } from "./Event--kp8kMdJ.js";
1
+ import { T as Oe, b as Pe, d as ye, g as ee, I as Ke, R as Me } from "./tilecoord-A0fLnBZr.js";
2
+ import { T, h as Te, d as j, l as Ae, j as ze, W as be, c as me, t as je } from "./Image-BijNEG0p.js";
3
+ import { aG as ke, aI as Fe, al as te, E as Ne, $ as Ze, an as we, aJ as Ue, aA as qe, aK as Ge, L as Be, F as Ve, n as We, e as He, X as Xe, a as k, aL as Ye, j as re, d as oe, a2 as Qe, i as $e, H as Je } from "./proj-CsNo9yH1.js";
4
+ import { a as ne, e as ie, p as et, g as v, d as ae, n as tt, q as nt } from "./common-BjQlan3k.js";
5
+ import { a as xe, c as it, R as X, L as st } from "./Event-DSQcW7OF.js";
6
6
  function le(u) {
7
7
  return u instanceof Image || u instanceof HTMLCanvasElement || u instanceof HTMLVideoElement || u instanceof ImageBitmap ? u : null;
8
8
  }
@@ -77,7 +77,7 @@ class Ce {
77
77
  }
78
78
  deleteOldest() {
79
79
  const e = this.pop();
80
- e instanceof je && e.dispose();
80
+ e instanceof ke && e.dispose();
81
81
  }
82
82
  /**
83
83
  * @return {boolean} Can expire cache.
@@ -320,7 +320,7 @@ class at {
320
320
  }
321
321
  }
322
322
  const lt = 5;
323
- class ct extends ke {
323
+ class ct extends Fe {
324
324
  /**
325
325
  * @param {LayerType} layer Layer.
326
326
  */
@@ -408,7 +408,7 @@ class ct extends ke {
408
408
  /** @type {import("../Image.js").default} */
409
409
  e.target
410
410
  );
411
- (t.getState() === F.LOADED || t.getState() === F.ERROR) && this.renderIfReadyAndVisible();
411
+ (t.getState() === j.LOADED || t.getState() === j.ERROR) && this.renderIfReadyAndVisible();
412
412
  }
413
413
  /**
414
414
  * Load the image if not already loaded, and register the image change
@@ -419,7 +419,7 @@ class ct extends ke {
419
419
  */
420
420
  loadImage(e) {
421
421
  let t = e.getState();
422
- return t != F.LOADED && t != F.ERROR && e.addEventListener(Ne.CHANGE, this.boundHandleImageChange_), t == F.IDLE && (e.load(), t = e.getState()), t == F.LOADED;
422
+ return t != j.LOADED && t != j.ERROR && e.addEventListener(Ne.CHANGE, this.boundHandleImageChange_), t == j.IDLE && (e.load(), t = e.getState()), t == j.LOADED;
423
423
  }
424
424
  /**
425
425
  * @protected
@@ -442,9 +442,9 @@ class ct extends ke {
442
442
  }
443
443
  }
444
444
  const Ct = [];
445
- let k = null;
445
+ let F = null;
446
446
  function ht() {
447
- k = me(1, 1, void 0, {
447
+ F = me(1, 1, void 0, {
448
448
  willReadFrequently: !0
449
449
  });
450
450
  }
@@ -462,12 +462,12 @@ class dt extends ct {
462
462
  * @return {Uint8ClampedArray|null} The image data.
463
463
  */
464
464
  getImageData(e, t, n) {
465
- k || ht(), k.clearRect(0, 0, 1, 1);
465
+ F || ht(), F.clearRect(0, 0, 1, 1);
466
466
  let i;
467
467
  try {
468
- k.drawImage(e, t, n, 1, 1, 0, 0, 1, 1), i = k.getImageData(0, 0, 1, 1).data;
468
+ F.drawImage(e, t, n, 1, 1, 0, 0, 1, 1), i = F.getImageData(0, 0, 1, 1).data;
469
469
  } catch {
470
- return k = null, null;
470
+ return F = null, null;
471
471
  }
472
472
  return i;
473
473
  }
@@ -493,10 +493,10 @@ class dt extends ct {
493
493
  xe(n)
494
494
  ))) {
495
495
  const s = e.firstElementChild;
496
- ze(s) && (a = s.getContext("2d"));
496
+ Ae(s) && (a = s.getContext("2d"));
497
497
  }
498
498
  if (a && et(a.canvas.style.transform, t) ? (this.container = e, this.context = a, this.containerReused = !0) : this.containerReused ? (this.container = null, this.context = null, this.containerReused = !1) : this.container && (this.container.style.backgroundColor = null), !this.container) {
499
- r = be ? Ae() : document.createElement("div"), r.className = i;
499
+ r = be ? ze() : document.createElement("div"), r.className = i;
500
500
  let s = r.style;
501
501
  s.position = "absolute", s.width = "100%", s.height = "100%", a = me();
502
502
  const l = (
@@ -747,7 +747,7 @@ class gt extends dt {
747
747
  const h = l.getTileCoordForCoordAndZ(i, o), d = this.getTile(o, h[1], h[2], t);
748
748
  if (!d || d.getState() !== T.LOADED)
749
749
  continue;
750
- const g = l.getOrigin(o), p = Fe(l.getTileSize(o)), S = l.getResolution(o);
750
+ const g = l.getOrigin(o), p = je(l.getTileSize(o)), S = l.getResolution(o);
751
751
  let f;
752
752
  if (d instanceof Ke || d instanceof Me)
753
753
  f = d.getImage();
@@ -797,7 +797,7 @@ class gt extends dt {
797
797
  * @param {number} preload Number of additional levels to load.
798
798
  */
799
799
  enqueueTiles(e, t, n, i, r) {
800
- const a = e.viewState, s = this.getLayer(), l = s.getRenderSource(), c = l.getTileGridForProjection(a.projection), o = j(l);
800
+ const a = e.viewState, s = this.getLayer(), l = s.getRenderSource(), c = l.getTileGridForProjection(a.projection), o = k(l);
801
801
  o in e.wantedTiles || (e.wantedTiles[o] = {});
802
802
  const h = e.wantedTiles[o], d = s.getMapInternal(), g = Math.max(
803
803
  n - r,
@@ -862,7 +862,7 @@ class gt extends dt {
862
862
  if (n.containsKey(c)) {
863
863
  const o = n.peek(c);
864
864
  if (o.getState() === T.LOADED)
865
- return o.endTransition(j(this)), se(t, o, i), !0;
865
+ return o.endTransition(k(this)), se(t, o, i), !0;
866
866
  }
867
867
  }
868
868
  return !1;
@@ -925,7 +925,7 @@ class gt extends dt {
925
925
  S,
926
926
  re(n.extent)
927
927
  ));
928
- const I = g * m / 2 / f, L = g * K / 2 / f, z = [
928
+ const I = g * m / 2 / f, L = g * K / 2 / f, A = [
929
929
  s[0] - I,
930
930
  s[1] - L,
931
931
  s[0] + I,
@@ -951,7 +951,7 @@ class gt extends dt {
951
951
  );
952
952
  }, 0), !(d in y))
953
953
  return this.container;
954
- const he = j(this), ve = e.time;
954
+ const he = k(this), ve = e.time;
955
955
  for (const x of y[d]) {
956
956
  const R = x.getState();
957
957
  if (R === T.EMPTY)
@@ -993,20 +993,20 @@ class gt extends dt {
993
993
  -K / 2
994
994
  ), n.extent && this.clipUnrotated(_, e, E), o.getInterpolate() || (_.imageSmoothingEnabled = !1), this.preRender(_, e);
995
995
  const q = Object.keys(y).map(Number);
996
- q.sort($e);
996
+ q.sort(Qe);
997
997
  let w;
998
- const $ = [], de = [];
998
+ const Q = [], de = [];
999
999
  for (let x = q.length - 1; x >= 0; --x) {
1000
1000
  const R = q[x], D = o.getTilePixelSize(
1001
1001
  R,
1002
1002
  l,
1003
1003
  r
1004
- ), A = h.getResolution(R) / g, b = D[0] * A * U, M = D[1] * A * U, G = h.getTileCoordForCoordAndZ(
1005
- we(z),
1004
+ ), z = h.getResolution(R) / g, b = D[0] * z * U, M = D[1] * z * U, G = h.getTileCoordForCoordAndZ(
1005
+ we(A),
1006
1006
  R
1007
1007
  ), ue = h.getTileCoordExtent(G), B = v(this.tempTransform, [
1008
- f * (ue[0] - z[0]) / g,
1009
- f * (z[3] - ue[3]) / g
1008
+ f * (ue[0] - A[0]) / g,
1009
+ f * (A[3] - ue[3]) / g
1010
1010
  ]), Se = f * o.getGutterForProjection(r);
1011
1011
  for (const Z of y[R]) {
1012
1012
  if (Z.getState() !== T.LOADED)
@@ -1014,20 +1014,20 @@ class gt extends dt {
1014
1014
  const ge = Z.tileCoord, fe = G[1] - ge[1], Ie = Math.round(B[0] - (fe - 1) * b), _e = G[2] - ge[2], Le = Math.round(B[1] - (_e - 1) * M), O = Math.round(B[0] - fe * b), P = Math.round(B[1] - _e * M), V = Ie - O, W = Le - P, pe = q.length === 1;
1015
1015
  let J = !1;
1016
1016
  w = [O, P, O + V, P, O + V, P + W, O, P + W];
1017
- for (let H = 0, De = $.length; H < De; ++H)
1017
+ for (let H = 0, De = Q.length; H < De; ++H)
1018
1018
  if (!pe && R < de[H]) {
1019
- const C = $[H];
1020
- Qe(
1019
+ const C = Q[H];
1020
+ $e(
1021
1021
  [O, P, O + V, P + W],
1022
1022
  [C[0], C[3], C[4], C[7]]
1023
1023
  ) && (J || (_.save(), J = !0), _.beginPath(), _.moveTo(w[0], w[1]), _.lineTo(w[2], w[3]), _.lineTo(w[4], w[5]), _.lineTo(w[6], w[7]), _.moveTo(C[6], C[7]), _.lineTo(C[4], C[5]), _.lineTo(C[2], C[3]), _.lineTo(C[0], C[1]), _.clip());
1024
1024
  }
1025
- $.push(w), de.push(R), this.drawTile(Z, e, O, P, V, W, Se, pe), J && _.restore(), this.renderedTiles.unshift(Z), this.updateUsedTiles(e.usedTiles, o, Z);
1025
+ Q.push(w), de.push(R), this.drawTile(Z, e, O, P, V, W, Se, pe), J && _.restore(), this.renderedTiles.unshift(Z), this.updateUsedTiles(e.usedTiles, o, Z);
1026
1026
  }
1027
1027
  }
1028
- if (this.renderedResolution = g, this.extentChanged = !this.renderedExtent_ || !Je(this.renderedExtent_, z), this.renderedExtent_ = z, this.renderedPixelRatio = l, this.postRender(this.context, e), n.extent && _.restore(), _.imageSmoothingEnabled = !0, this.renderComplete) {
1028
+ if (this.renderedResolution = g, this.extentChanged = !this.renderedExtent_ || !Je(this.renderedExtent_, A), this.renderedExtent_ = A, this.renderedPixelRatio = l, this.postRender(this.context, e), n.extent && _.restore(), _.imageSmoothingEnabled = !0, this.renderComplete) {
1029
1029
  const x = (R, D) => {
1030
- const Q = j(o), A = D.wantedTiles[Q], b = A ? Object.keys(A).length : 0;
1030
+ const $ = k(o), z = D.wantedTiles[$], b = z ? Object.keys(z).length : 0;
1031
1031
  this.updateCacheSize(b), this.tileCache_.expireCache(), this.sourceTileCache_?.expireCache();
1032
1032
  };
1033
1033
  e.postRenderFunctions.push(x);
@@ -1067,7 +1067,7 @@ class gt extends dt {
1067
1067
  );
1068
1068
  if (!c)
1069
1069
  return;
1070
- const o = this.getRenderContext(t), h = j(this), d = t.layerStatesArray[t.layerIndex], g = d.opacity * (l ? e.getAlpha(h, t.time) : 1), p = g !== o.globalAlpha;
1070
+ const o = this.getRenderContext(t), h = k(this), d = t.layerStatesArray[t.layerIndex], g = d.opacity * (l ? e.getAlpha(h, t.time) : 1), p = g !== o.globalAlpha;
1071
1071
  p && (o.save(), o.globalAlpha = g), o.drawImage(
1072
1072
  c,
1073
1073
  s,
@@ -1103,7 +1103,7 @@ class gt extends dt {
1103
1103
  * @protected
1104
1104
  */
1105
1105
  updateUsedTiles(e, t, n) {
1106
- const i = j(t);
1106
+ const i = k(t);
1107
1107
  i in e || (e[i] = {}), e[i][n.getKey()] = !0;
1108
1108
  }
1109
1109
  }
@@ -1,7 +1,7 @@
1
- import { b as Y, e as f, d as b, h as D, w as v, I as K, R as N, g as k } from "./tilecoord-Db24Px13.js";
2
- import { t as g, s as W, T as _, W as q } from "./Image-34hvypZI.js";
3
- import { aQ as H, an as $, q as j, N as V, a7 as B, P as F, S as x, D as E, M as J, F as Q, L as w, X as tt, aR as et, W as it, B as nt, a as R, al as rt, J as st, e as z, E as ot } from "./proj-DsetBcW7.js";
4
- import { a as m, x as A, y as lt, D as at } from "./common-PJfpC179.js";
1
+ import { b as Y, e as f, d as b, h as D, w as v, I as K, R as N, g as k } from "./tilecoord-A0fLnBZr.js";
2
+ import { t as g, s as W, T as _, W as q } from "./Image-BijNEG0p.js";
3
+ import { aS as H, an as $, q as j, N as V, a7 as B, P as F, S as x, D as E, M as J, F as Q, L as w, X as tt, aT as et, W as it, B as nt, a as R, al as rt, J as st, e as z, E as ot } from "./proj-CsNo9yH1.js";
4
+ import { a as m, x as A, y as lt, D as at } from "./common-BjQlan3k.js";
5
5
  const T = [0, 0, 0], d = 5;
6
6
  class X {
7
7
  /**