@tmf_ciclica/ciclicastorybook 1.1.18 → 1.1.20-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,14 +1,14 @@
1
- import { jsxs as m, jsx as r, Fragment as Ee } from "react/jsx-runtime";
2
- import U, { useState as B, useMemo as te, useEffect as L, useLayoutEffect as qe, useRef as ue } from "react";
1
+ import { jsxs as m, jsx as r, Fragment as qe } from "react/jsx-runtime";
2
+ import U, { useState as B, useMemo as te, useEffect as L, useLayoutEffect as Ee, useRef as he } from "react";
3
3
  import e from "prop-types";
4
- import { useTranslation as k, Trans as he } from "react-i18next";
5
- import { motion as me } from "framer-motion";
4
+ import { useTranslation as w, Trans as me } from "react-i18next";
5
+ import { motion as ge } from "framer-motion";
6
6
  import { create as Ke } from "zustand";
7
- import * as fe from "d3";
7
+ import * as ye from "d3";
8
8
  import Ue from "mapbox-gl";
9
- import { useSelector as le, useDispatch as Te } from "react-redux";
9
+ import { useSelector as ce, useDispatch as Te } from "react-redux";
10
10
  import Ze, { Source as He, Layer as Ge, NavigationControl as Ye, Popup as We } from "react-map-gl/mapbox";
11
- import ye from "maplibre-gl";
11
+ import ie from "maplibre-gl";
12
12
  import { Protocol as Xe } from "pmtiles";
13
13
  import Je, { Source as Qe, Layer as et, NavigationControl as tt, Popup as nt } from "react-map-gl/maplibre";
14
14
  import { createSlice as Me } from "@reduxjs/toolkit";
@@ -16,7 +16,7 @@ import it from "@mui/material/Slider";
16
16
  import { createTheme as st, Box as ot } from "@mui/material";
17
17
  import { ThemeProvider as rt } from "@emotion/react";
18
18
  import { NavLink as at } from "react-router-dom";
19
- const lt = "_ambitSelector_f07c1_2", ct = "_header_f07c1_13", dt = "_nameDateContainer_f07c1_23", pt = "_ambitName_f07c1_39", ut = "_ambitDate_f07c1_48", ht = "_buttonsContainer_f07c1_51", E = {
19
+ const lt = "_ambitSelector_f07c1_2", ct = "_header_f07c1_13", dt = "_nameDateContainer_f07c1_23", pt = "_ambitName_f07c1_39", ut = "_ambitDate_f07c1_48", ht = "_buttonsContainer_f07c1_51", q = {
20
20
  ambitSelector: lt,
21
21
  header: ct,
22
22
  nameDateContainer: dt,
@@ -87,7 +87,7 @@ $e.propTypes = {
87
87
  moreInfo: e.object
88
88
  // Optional, can be used for additional info
89
89
  };
90
- const wt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", kt = ({
90
+ const kt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", wt = ({
91
91
  ambitList: i,
92
92
  activeAmbitId: d,
93
93
  fontColor: o = "#605B56",
@@ -99,19 +99,19 @@ const wt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%20
99
99
  onClickFilters: c = (u) => console.log(`Filters clicked: ${u}`),
100
100
  onClickAmbit: p = (u) => console.log(`OnCLickAmbit: ${u}`)
101
101
  }) => {
102
- const { t: u } = k();
103
- return /* @__PURE__ */ m("div", { className: E.ambitSelector, style: { color: o }, children: [
102
+ const { t: u } = w();
103
+ return /* @__PURE__ */ m("div", { className: q.ambitSelector, style: { color: o }, children: [
104
104
  /* @__PURE__ */ m(
105
105
  "div",
106
106
  {
107
- className: E.header,
107
+ className: q.header,
108
108
  style: { borderBottom: `1px solid ${o}` },
109
109
  children: [
110
- /* @__PURE__ */ m("div", { className: E.nameDateContainer, children: [
111
- /* @__PURE__ */ r("div", { className: E.ambitName, children: /* @__PURE__ */ r("span", { children: u(t) }) }),
112
- /* @__PURE__ */ r("div", { className: E.ambitDate, children: /* @__PURE__ */ r("span", { children: u(s) }) })
110
+ /* @__PURE__ */ m("div", { className: q.nameDateContainer, children: [
111
+ /* @__PURE__ */ r("div", { className: q.ambitName, children: /* @__PURE__ */ r("span", { children: u(t) }) }),
112
+ /* @__PURE__ */ r("div", { className: q.ambitDate, children: /* @__PURE__ */ r("span", { children: u(s) }) })
113
113
  ] }),
114
- /* @__PURE__ */ r("div", { className: E.buttonsContainer })
114
+ /* @__PURE__ */ r("div", { className: q.buttonsContainer })
115
115
  ]
116
116
  }
117
117
  ),
@@ -131,7 +131,7 @@ const wt = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%20
131
131
  ))
132
132
  ] });
133
133
  };
134
- kt.propTypes = {
134
+ wt.propTypes = {
135
135
  ambitList: e.arrayOf(
136
136
  e.shape({
137
137
  name: e.string.isRequired,
@@ -160,7 +160,7 @@ const Nt = "_buttonsContainer_1audx_2", St = "_vertical_1audx_6", Tt = "_horizon
160
160
  bottom: Dt,
161
161
  right: At
162
162
  }, Le = ({ text: i, position: d, styleCustom: o = null }) => {
163
- const { t: n } = k();
163
+ const { t: n } = w();
164
164
  return /* @__PURE__ */ r("div", { className: `tooltip ${Ot[d]}`, style: o, children: n(i) });
165
165
  };
166
166
  Le.propTypes = {
@@ -176,7 +176,7 @@ const Rt = ({
176
176
  useTooltip: t = !1,
177
177
  tooltipPosition: s = "top"
178
178
  }) => {
179
- const { t: l } = k();
179
+ const { t: l } = w();
180
180
  return /* @__PURE__ */ r(
181
181
  "div",
182
182
  {
@@ -189,7 +189,7 @@ const Rt = ({
189
189
  isActive: h,
190
190
  name: g,
191
191
  onClick: b
192
- } = a, C = /* @__PURE__ */ m(Ee, { children: [
192
+ } = a, C = /* @__PURE__ */ m(qe, { children: [
193
193
  o && n === "left" && /* @__PURE__ */ r("span", { className: I.buttonName, children: l(g) }),
194
194
  /* @__PURE__ */ r("img", { src: h ? u : p, alt: l(g) }),
195
195
  o && n === "right" && /* @__PURE__ */ r("span", { className: I.buttonName, children: l(g) })
@@ -227,7 +227,7 @@ Rt.propTypes = {
227
227
  useTooltip: e.bool,
228
228
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
229
229
  };
230
- const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
230
+ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", se = {
231
231
  indicatorsCategory: It,
232
232
  title: zt
233
233
  }, j = ({
@@ -244,11 +244,11 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
244
244
  showBottomBar: c = !0,
245
245
  titleMarginChildren: p = 25
246
246
  }) => {
247
- const { t: u } = k();
247
+ const { t: u } = w();
248
248
  return /* @__PURE__ */ m(
249
- me.div,
249
+ ge.div,
250
250
  {
251
- className: ie.indicatorsCategory,
251
+ className: se.indicatorsCategory,
252
252
  initial: { height: `${l}px` },
253
253
  animate: { height: i ? "auto" : `${l}px` },
254
254
  transition: { duration: 0.4 },
@@ -265,7 +265,7 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
265
265
  ...a,
266
266
  marginBottom: p || "auto"
267
267
  },
268
- className: `${ie.title}`,
268
+ className: `${se.title}`,
269
269
  onClick: d,
270
270
  children: [
271
271
  /* @__PURE__ */ r("span", { style: { color: i ? t : n }, children: i ? "-" : "+" }),
@@ -273,7 +273,7 @@ const It = "_indicatorsCategory_1cu33_2", zt = "_title_1cu33_5", ie = {
273
273
  ]
274
274
  }
275
275
  ),
276
- /* @__PURE__ */ r("div", { className: ie.content, children: o })
276
+ /* @__PURE__ */ r("div", { className: se.content, children: o })
277
277
  ]
278
278
  }
279
279
  );
@@ -300,7 +300,7 @@ const os = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Vt = "_App
300
300
  fontColor: "#605B56",
301
301
  inputsColor: "#605B56"
302
302
  })), Fe = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
303
- const { t: l } = k(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
303
+ const { t: l } = w(), { tematicalFiltersSelected: a } = T((p) => p), c = (p) => {
304
304
  T.setState((u) => ({
305
305
  tematicalFiltersSelected: u.tematicalFiltersSelected.filter(
306
306
  (h) => h.code !== p
@@ -316,7 +316,7 @@ const os = () => /* @__PURE__ */ r("div", { children: "EditAmbit" }), Vt = "_App
316
316
  activeColor: s,
317
317
  children: /* @__PURE__ */ r("div", { className: ve.AppliedFiltersContainer, children: a == null ? void 0 : a.map((p, u) => /* @__PURE__ */ m("div", { className: ve.AppliedFilterContent, style: { color: n, background: t }, children: [
318
318
  l(p.name),
319
- /* @__PURE__ */ r("img", { src: wt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
319
+ /* @__PURE__ */ r("img", { src: kt, alt: "CloseIcon", onClick: () => c(p.code), style: { cursor: "pointer" } })
320
320
  ] }, u)) })
321
321
  }
322
322
  );
@@ -336,7 +336,7 @@ Fe.propTypes = {
336
336
  activeColor: e.string
337
337
  };
338
338
  const Be = ({ title: i, onClick: d, isOpen: o = !0, textColor: n = "#ffffff", backgroundColor: t = "#605B5680", activeColor: s }) => {
339
- const { t: l } = k(), { tematicalFiltersSelected: a } = T((c) => c);
339
+ const { t: l } = w(), { tematicalFiltersSelected: a } = T((c) => c);
340
340
  return /* @__PURE__ */ r(
341
341
  j,
342
342
  {
@@ -356,7 +356,7 @@ Be.propTypes = {
356
356
  backgroundColor: e.string,
357
357
  activeColor: e.string
358
358
  };
359
- const Pt = "_checkboxContainer_zld97_2", Et = {
359
+ const Pt = "_checkboxContainer_zld97_2", qt = {
360
360
  checkboxContainer: Pt
361
361
  }, De = ({
362
362
  onClick: i,
@@ -365,13 +365,13 @@ const Pt = "_checkboxContainer_zld97_2", Et = {
365
365
  indicator: n,
366
366
  value: t
367
367
  }) => {
368
- const { t: s } = k(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
368
+ const { t: s } = w(), { title: l } = n || {}, { fontColor: a, inputsColor: c } = T((p) => p);
369
369
  return /* @__PURE__ */ m(
370
370
  "div",
371
371
  {
372
372
  style: { ...d, color: o },
373
373
  role: "checkbox",
374
- className: Et.checkboxContainer,
374
+ className: qt.checkboxContainer,
375
375
  onClick: i,
376
376
  children: [
377
377
  /* @__PURE__ */ r(
@@ -403,18 +403,18 @@ De.propTypes = {
403
403
  }),
404
404
  checkedColor: e.string
405
405
  };
406
- function ce(i, d) {
407
- return ce = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
406
+ function de(i, d) {
407
+ return de = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, n) {
408
408
  return o.__proto__ = n, o;
409
- }, ce(i, d);
409
+ }, de(i, d);
410
410
  }
411
- function qt(i, d) {
412
- i.prototype = Object.create(d.prototype), i.prototype.constructor = i, ce(i, d);
411
+ function Et(i, d) {
412
+ i.prototype = Object.create(d.prototype), i.prototype.constructor = i, de(i, d);
413
413
  }
414
- function se(i) {
414
+ function oe(i) {
415
415
  return i && i.stopPropagation && i.stopPropagation(), i && i.preventDefault && i.preventDefault(), !1;
416
416
  }
417
- function oe(i) {
417
+ function re(i) {
418
418
  return i == null ? [] : Array.isArray(i) ? i.slice() : [i];
419
419
  }
420
420
  function W(i) {
@@ -426,17 +426,17 @@ function X(i) {
426
426
  });
427
427
  }
428
428
  function z(i, d) {
429
- return de(function(o, n) {
429
+ return pe(function(o, n) {
430
430
  let t = o;
431
431
  return t <= n.min && (t = n.min), t >= n.max && (t = n.max), t;
432
432
  }(i, d), d);
433
433
  }
434
- function de(i, d) {
434
+ function pe(i, d) {
435
435
  const o = (i - d.min) % d.step;
436
436
  let n = i - o;
437
437
  return 2 * Math.abs(o) >= d.step && (n += o > 0 ? d.step : -d.step), parseFloat(n.toFixed(5));
438
438
  }
439
- let pe = function(i) {
439
+ let ue = function(i) {
440
440
  function d(n) {
441
441
  var t;
442
442
  (t = i.call(this, n) || this).onKeyUp = () => {
@@ -496,7 +496,7 @@ let pe = function(i) {
496
496
  t.start(p, c[0]), X(t.getMouseEventMap());
497
497
  });
498
498
  }
499
- se(a);
499
+ oe(a);
500
500
  }
501
501
  }, t.onSliderClick = (a) => {
502
502
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
@@ -504,12 +504,12 @@ let pe = function(i) {
504
504
  t.props.onSliderClick(p);
505
505
  }
506
506
  }, t.createOnKeyDown = (a) => (c) => {
507
- t.props.disabled || (t.start(a), X(t.getKeyDownEventMap()), se(c));
507
+ t.props.disabled || (t.start(a), X(t.getKeyDownEventMap()), oe(c));
508
508
  }, t.createOnMouseDown = (a) => (c) => {
509
509
  if (t.props.disabled || c.button === 2) return;
510
510
  t.setState({ pending: !0 });
511
511
  const p = t.getMousePosition(c);
512
- t.start(a, p[0]), X(t.getMouseEventMap()), se(c);
512
+ t.start(a, p[0]), X(t.getMouseEventMap()), oe(c);
513
513
  }, t.createOnTouchStart = (a) => (c) => {
514
514
  if (t.props.disabled || c.touches.length > 1) return;
515
515
  t.setState({ pending: !0 });
@@ -531,18 +531,18 @@ let pe = function(i) {
531
531
  const u = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - p) }, h = { index: a, value: W(t.state.value) };
532
532
  return t.props.renderTrack(u, h);
533
533
  };
534
- let s = oe(n.value);
535
- s.length || (s = oe(n.defaultValue)), t.pendingResizeTimeouts = [];
534
+ let s = re(n.value);
535
+ s.length || (s = re(n.defaultValue)), t.pendingResizeTimeouts = [];
536
536
  const l = [];
537
537
  for (let a = 0; a < s.length; a += 1) s[a] = z(s[a], n), l.push(a);
538
538
  return t.resizeObserver = null, t.resizeElementRef = U.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: s, zIndices: l }, t;
539
539
  }
540
- qt(d, i);
540
+ Et(d, i);
541
541
  var o = d.prototype;
542
542
  return o.componentDidMount = function() {
543
543
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
544
544
  }, d.getDerivedStateFromProps = function(n, t) {
545
- const s = oe(n.value);
545
+ const s = re(n.value);
546
546
  return s.length ? t.pending ? null : { value: s.map((l) => z(l, n)) } : null;
547
547
  }, o.componentDidUpdate = function() {
548
548
  this.state.upperBound === 0 && this.resize();
@@ -648,9 +648,9 @@ let pe = function(i) {
648
648
  }(l, t, h, u))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
649
649
  }, o.pushSucceeding = function(n, t, s) {
650
650
  let l, a;
651
- for (l = s, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = de(a, this.props);
651
+ for (l = s, a = n[l] + t; n[l + 1] !== null && a > n[l + 1]; l += 1, a = n[l] + t) n[l + 1] = pe(a, this.props);
652
652
  }, o.pushPreceding = function(n, t, s) {
653
- for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = de(a, this.props);
653
+ for (let l = s, a = n[l] - t; n[l - 1] !== null && a < n[l - 1]; l -= 1, a = n[l] - t) n[l - 1] = pe(a, this.props);
654
654
  }, o.axisKey = function() {
655
655
  return this.props.orientation === "vertical" ? "Y" : "X";
656
656
  }, o.orthogonalAxisKey = function() {
@@ -699,9 +699,9 @@ let pe = function(i) {
699
699
  }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
700
700
  }, d;
701
701
  }(U.Component);
702
- pe.displayName = "ReactSlider", pe.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (i) => U.createElement("div", i), renderTrack: (i) => U.createElement("div", i), renderMark: (i) => U.createElement("span", i) };
703
- var Kt = pe;
704
- const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_12", Gt = "_thumb_15vgv_18", Yt = "_track_15vgv_27", Wt = "_labels_15vgv_33", q = {
702
+ ue.displayName = "ReactSlider", ue.defaultProps = { min: 0, max: 100, step: 1, pageFn: (i) => 10 * i, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (i) => U.createElement("div", i), renderTrack: (i) => U.createElement("div", i), renderMark: (i) => U.createElement("span", i) };
703
+ var Kt = ue;
704
+ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_12", Gt = "_thumb_15vgv_18", Yt = "_track_15vgv_27", Wt = "_labels_15vgv_33", E = {
705
705
  container: Ut,
706
706
  unitLabel: Zt,
707
707
  slider: Ht,
@@ -718,22 +718,22 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
718
718
  fontColor: l = "#605B56",
719
719
  value: a = [i, d]
720
720
  }) => {
721
- const { t: c } = k(), p = (u) => {
721
+ const { t: c } = w(), p = (u) => {
722
722
  n == null || n({ min: u[0], max: u[1] });
723
723
  };
724
724
  return /* @__PURE__ */ m(
725
725
  "div",
726
726
  {
727
- className: q.container,
727
+ className: E.container,
728
728
  style: { width: `${t}px`, color: `${l}` },
729
729
  children: [
730
- /* @__PURE__ */ r("div", { className: q.unitLabel, children: /* @__PURE__ */ r("span", { children: c(s) }) }),
730
+ /* @__PURE__ */ r("div", { className: E.unitLabel, children: /* @__PURE__ */ r("span", { children: c(s) }) }),
731
731
  /* @__PURE__ */ r(
732
732
  Kt,
733
733
  {
734
- className: q.slider,
735
- thumbClassName: q.thumb,
736
- trackClassName: q.track,
734
+ className: E.slider,
735
+ thumbClassName: E.thumb,
736
+ trackClassName: E.track,
737
737
  min: i,
738
738
  max: d,
739
739
  step: o,
@@ -744,7 +744,7 @@ const Ut = "_container_15vgv_2", Zt = "_unitLabel_15vgv_9", Ht = "_slider_15vgv_
744
744
  minDistance: 1
745
745
  }
746
746
  ),
747
- /* @__PURE__ */ m("div", { className: q.labels, children: [
747
+ /* @__PURE__ */ m("div", { className: E.labels, children: [
748
748
  /* @__PURE__ */ r("span", { children: a[0] }),
749
749
  /* @__PURE__ */ r("span", { children: a[1] })
750
750
  ] })
@@ -769,7 +769,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
769
769
  inputTypeContainer: Jt,
770
770
  checkboxContainer: Qt,
771
771
  absoluteSliderContainer: en
772
- }, ge = ({
772
+ }, be = ({
773
773
  indicator: i,
774
774
  //onChangeBothType
775
775
  activeColor: d
@@ -794,7 +794,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
794
794
  inputsColor: f
795
795
  } = T((x) => x), v = (x) => {
796
796
  if (x) {
797
- const { min: w, max: _, valueClicked: N, allValues: D } = x || {}, { code: A, type: ne } = i || {}, Z = h ? "abs" : u ? "cat" : "both";
797
+ const { min: k, max: _, valueClicked: N, allValues: D } = x || {}, { code: A, type: ne } = i || {}, Z = h ? "abs" : u ? "cat" : "both";
798
798
  let O = A[0];
799
799
  ne == "both" && (O = Z == "cat" ? A[1] : A[0]), Z == "cat" ? T.setState((P) => {
800
800
  let R = P.tematicalFiltersSelected.find(
@@ -839,7 +839,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
839
839
  );
840
840
  if (R) {
841
841
  let $ = { ...R };
842
- return $.min = w, $.max = _, {
842
+ return $.min = k, $.max = _, {
843
843
  tematicalFiltersSelected: P.tematicalFiltersSelected.map(
844
844
  (F) => F.code === O ? $ : F
845
845
  )
@@ -848,7 +848,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
848
848
  return {
849
849
  tematicalFiltersSelected: [
850
850
  ...g,
851
- { type: "abs", code: O, min: w, max: _ }
851
+ { type: "abs", code: O, min: k, max: _ }
852
852
  ]
853
853
  };
854
854
  });
@@ -856,8 +856,8 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
856
856
  }, y = te(() => {
857
857
  const x = {};
858
858
  if ((g == null ? void 0 : g.length) > 0)
859
- for (const w of g)
860
- w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
859
+ for (const k of g)
860
+ k.type === "cat" ? x[k.code] = new Set(k.values) : x[k.code] = [k.min, k.max];
861
861
  return x;
862
862
  }, [g]);
863
863
  return /* @__PURE__ */ r("div", { className: J.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
@@ -923,16 +923,16 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
923
923
  ]
924
924
  }
925
925
  ),
926
- u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((x, w) => {
926
+ u && /* @__PURE__ */ r("div", { className: J.checkboxContainer, children: l.map((x, k) => {
927
927
  var _;
928
928
  return /* @__PURE__ */ r(
929
929
  De,
930
930
  {
931
- onClick: () => v({ valueClicked: w, allValues: l }),
931
+ onClick: () => v({ valueClicked: k, allValues: l }),
932
932
  indicator: x,
933
- value: ((_ = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : _.has(w)) || !y[i.code[t == "both" ? 1 : 0]]
933
+ value: ((_ = y[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : _.has(k)) || !y[i.code[t == "both" ? 1 : 0]]
934
934
  },
935
- `checkbox-${w}`
935
+ `checkbox-${k}`
936
936
  );
937
937
  }) }),
938
938
  h && /* @__PURE__ */ r("div", { className: J.absoluteSliderContainer, children: /* @__PURE__ */ r(
@@ -949,7 +949,7 @@ const Xt = "_tematicalFiltersInputContainer_1vm1r_2", Jt = "_inputTypeContainer_
949
949
  }
950
950
  ) });
951
951
  };
952
- ge.propTypes = {
952
+ be.propTypes = {
953
953
  indicator: e.shape({
954
954
  name: e.string,
955
955
  type: e.string,
@@ -988,7 +988,7 @@ const Oe = ({
988
988
  color: d,
989
989
  activeColor: o,
990
990
  children: s == null ? void 0 : s.map((l, a) => /* @__PURE__ */ r(
991
- ge,
991
+ be,
992
992
  {
993
993
  indicator: l,
994
994
  fontColor: d
@@ -1040,7 +1040,7 @@ const Re = ({
1040
1040
  },
1041
1041
  `subcategory-${c}`
1042
1042
  )) : t && t.map((a, c) => /* @__PURE__ */ r(
1043
- ge,
1043
+ be,
1044
1044
  {
1045
1045
  indicator: a,
1046
1046
  fontColor: l,
@@ -1069,7 +1069,7 @@ const Ie = ({
1069
1069
  inputsColor: t = "#605B56",
1070
1070
  activeColor: s
1071
1071
  }) => {
1072
- const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = k();
1072
+ const { tematicalFiltersSelected: l } = T((c) => c), { t: a } = w();
1073
1073
  return L(() => {
1074
1074
  console.log("filtersSelected changed: ", l);
1075
1075
  }, [l]), L(() => {
@@ -1120,7 +1120,7 @@ const tn = "_FiltersAmbitContainer_6o4gt_2", nn = "_FiltersAmbitHeader_6o4gt_7",
1120
1120
  backgroundColor: l,
1121
1121
  onChangeAppliedFilters: a
1122
1122
  }) => {
1123
- const { t: c } = k(), { tematicalFiltersSelected: p } = T((u) => u);
1123
+ const { t: c } = w(), { tematicalFiltersSelected: p } = T((u) => u);
1124
1124
  return L(() => {
1125
1125
  o && o.length > 0 && T.setState((u) => ({
1126
1126
  tematicalFiltersSelected: o
@@ -1182,9 +1182,9 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
1182
1182
  numberOfDivisions: c = 7,
1183
1183
  maxValue: p = null
1184
1184
  }) => {
1185
- const { t: u } = k(), { xScale: h, ticks: g, height: b } = te(() => {
1185
+ const { t: u } = w(), { xScale: h, ticks: g, height: b } = te(() => {
1186
1186
  if (i && i.length > 0) {
1187
- const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, f = fe.max(i, (x) => x.value) || 1, v = fe.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, w) => p ? p / c * w : f / c * w);
1187
+ const C = (i == null ? void 0 : i.length) * (o + n) + s * 2, f = ye.max(i, (x) => x.value) || 1, v = ye.scaleLinear().domain([0, p || f]).range([0, d - a]), y = Array.from({ length: c + 1 }, (x, k) => p ? p / c * k : f / c * k);
1188
1188
  return {
1189
1189
  xScale: v,
1190
1190
  ticks: y,
@@ -1292,7 +1292,7 @@ const dn = "_graphicContainer_c9zrg_2", pn = "_titleContainer_c9zrg_14", _e = {
1292
1292
  numberOfDivisions: a = 7,
1293
1293
  leftPadding: c = 200
1294
1294
  }) => {
1295
- const { t: p } = k();
1295
+ const { t: p } = w();
1296
1296
  return /* @__PURE__ */ m(
1297
1297
  "div",
1298
1298
  {
@@ -1335,11 +1335,11 @@ un.propTypes = {
1335
1335
  numberOfDivisions: e.number,
1336
1336
  leftPadding: e.number
1337
1337
  };
1338
- const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu33_11", re = {
1338
+ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu33_11", ae = {
1339
1339
  indicatorsCategory: hn,
1340
1340
  title: mn,
1341
1341
  list: gn
1342
- }, bn = "_indicatorContainer_lw8gx_2", fn = "_indicatorNameContainer_lw8gx_11", yn = "_dot_lw8gx_20", Cn = "_indicatorName_lw8gx_11", vn = "_switchExternalContainer_lw8gx_31", _n = "_switchType_lw8gx_40", xn = "_switchTypeOptions_lw8gx_44", wn = "_optionContainer_lw8gx_55", kn = "_customRadious_lw8gx_65", Nn = "_optionText_lw8gx_72", S = {
1342
+ }, bn = "_indicatorContainer_lw8gx_2", fn = "_indicatorNameContainer_lw8gx_11", yn = "_dot_lw8gx_20", Cn = "_indicatorName_lw8gx_11", vn = "_switchExternalContainer_lw8gx_31", _n = "_switchType_lw8gx_40", xn = "_switchTypeOptions_lw8gx_44", kn = "_optionContainer_lw8gx_55", wn = "_customRadious_lw8gx_65", Nn = "_optionText_lw8gx_72", S = {
1343
1343
  indicatorContainer: bn,
1344
1344
  indicatorNameContainer: fn,
1345
1345
  dot: yn,
@@ -1347,10 +1347,10 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1347
1347
  switchExternalContainer: vn,
1348
1348
  switchType: _n,
1349
1349
  switchTypeOptions: xn,
1350
- optionContainer: wn,
1351
- customRadious: kn,
1350
+ optionContainer: kn,
1351
+ customRadious: wn,
1352
1352
  optionText: Nn
1353
- }, be = ({
1353
+ }, fe = ({
1354
1354
  indicator: i,
1355
1355
  values: d = [],
1356
1356
  activeColor: o,
@@ -1361,7 +1361,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1361
1361
  multiple: a = !1,
1362
1362
  onChangeType: c
1363
1363
  }) => {
1364
- const { t: p } = k(), { name: u, type: h } = i, [g, b] = B(!1);
1364
+ const { t: p } = w(), { name: u, type: h } = i, [g, b] = B(!1);
1365
1365
  L(() => {
1366
1366
  t && b(
1367
1367
  a ? t.some(
@@ -1469,7 +1469,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1469
1469
  {
1470
1470
  className: S.indicatorName,
1471
1471
  style: { color: g ? o : n },
1472
- children: /* @__PURE__ */ r(he, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1472
+ children: /* @__PURE__ */ r(me, { i18nKey: u, components: { sup: /* @__PURE__ */ r("sup", {}) } })
1473
1473
  }
1474
1474
  )
1475
1475
  ]
@@ -1481,7 +1481,7 @@ const hn = "_indicatorsCategory_1cu33_2", mn = "_title_1cu33_5", gn = "_list_1cu
1481
1481
  }
1482
1482
  );
1483
1483
  };
1484
- be.propTypes = {
1484
+ fe.propTypes = {
1485
1485
  indicator: e.shape({
1486
1486
  name: e.string,
1487
1487
  type: e.string
@@ -1510,11 +1510,11 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", xe = {
1510
1510
  activeIndicatorType: u,
1511
1511
  onChangeType: h
1512
1512
  }) => {
1513
- const { t: g } = k(), [b, C] = B(!1);
1513
+ const { t: g } = w(), [b, C] = B(!1);
1514
1514
  return L(() => {
1515
1515
  C(t == l);
1516
1516
  }, [t, l]), /* @__PURE__ */ m(
1517
- me.div,
1517
+ ge.div,
1518
1518
  {
1519
1519
  className: xe.indicatorsSubCategory,
1520
1520
  initial: { height: "43px" },
@@ -1532,7 +1532,7 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", Tn = "_list_1dzsi_8", xe = {
1532
1532
  )
1533
1533
  ] }) }),
1534
1534
  d && /* @__PURE__ */ r("div", { className: xe.list, children: d == null ? void 0 : d.map((f, v) => /* @__PURE__ */ r(
1535
- be,
1535
+ fe,
1536
1536
  {
1537
1537
  indicator: f,
1538
1538
  defaultColor: o,
@@ -1577,13 +1577,13 @@ const je = ({
1577
1577
  onChangeType: g
1578
1578
  }) => {
1579
1579
  var v;
1580
- const { t: b } = k(), [C, f] = B(!1);
1580
+ const { t: b } = w(), [C, f] = B(!1);
1581
1581
  return L(() => {
1582
1582
  f(s === d);
1583
1583
  }, [s, d]), /* @__PURE__ */ m(
1584
- me.div,
1584
+ ge.div,
1585
1585
  {
1586
- className: re.indicatorsCategory,
1586
+ className: ae.indicatorsCategory,
1587
1587
  initial: { height: "53px" },
1588
1588
  animate: { height: C ? "auto" : "53px" },
1589
1589
  transition: { duration: 0.4 },
@@ -1593,7 +1593,7 @@ const je = ({
1593
1593
  marginBottom: C ? "20px" : "0px"
1594
1594
  },
1595
1595
  children: [
1596
- /* @__PURE__ */ m("h2", { className: `${re.title}`, onClick: () => t(d), children: [
1596
+ /* @__PURE__ */ m("h2", { className: `${ae.title}`, onClick: () => t(d), children: [
1597
1597
  /* @__PURE__ */ r("span", { style: { color: C ? o : n }, children: C ? "-" : "+" }),
1598
1598
  /* @__PURE__ */ r(
1599
1599
  "span",
@@ -1604,7 +1604,7 @@ const je = ({
1604
1604
  )
1605
1605
  ] }),
1606
1606
  i.subcategories ? i.subcategories.map(
1607
- ({ name: y, subcategory: x, indicators: w }, _) => /* @__PURE__ */ r(
1607
+ ({ name: y, subcategory: x, indicators: k }, _) => /* @__PURE__ */ r(
1608
1608
  Ve,
1609
1609
  {
1610
1610
  id: x,
@@ -1616,14 +1616,14 @@ const je = ({
1616
1616
  multiple: u,
1617
1617
  activeColor: o,
1618
1618
  defaultColor: n,
1619
- indicators: w,
1619
+ indicators: k,
1620
1620
  activeIndicatorType: h,
1621
1621
  onChangeType: g
1622
1622
  },
1623
1623
  `subcKey ${_}`
1624
1624
  )
1625
- ) : /* @__PURE__ */ r("div", { className: re.list, children: (v = i.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ r(
1626
- be,
1625
+ ) : /* @__PURE__ */ r("div", { className: ae.list, children: (v = i.indicators) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ r(
1626
+ fe,
1627
1627
  {
1628
1628
  indicator: y,
1629
1629
  values: y.type == "twoUnits" && y.values,
@@ -1655,7 +1655,7 @@ je.propTypes = {
1655
1655
  activeColor: e.string,
1656
1656
  defaultColor: e.string
1657
1657
  };
1658
- const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", we = {
1658
+ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", ke = {
1659
1659
  indicatorsList: Mn,
1660
1660
  title: $n
1661
1661
  }, Ln = ({
@@ -1672,7 +1672,7 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", we = {
1672
1672
  changeIndType: l,
1673
1673
  activeIndicatorType: a
1674
1674
  }) => {
1675
- const { t: c } = k(), [p, u] = B(), [h, g] = B(), [b, C] = B(), f = (_) => {
1675
+ const { t: c } = w(), [p, u] = B(), [h, g] = B(), [b, C] = B(), f = (_) => {
1676
1676
  u(p == _ ? null : _);
1677
1677
  }, v = (_) => {
1678
1678
  g(h == _ ? null : _);
@@ -1696,15 +1696,15 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", we = {
1696
1696
  };
1697
1697
  L(() => {
1698
1698
  console.log("activeindicator changed to: ", b), n && typeof n == "function" && b && n({ activeIndicator: b });
1699
- }, [b]), qe(() => {
1699
+ }, [b]), Ee(() => {
1700
1700
  if (s && !b)
1701
1701
  if (t && s && Array.isArray(s)) {
1702
1702
  let _ = b && b.length > 0 ? [...b] : [];
1703
- C([..._, ...s]), w(s[0].name);
1703
+ C([..._, ...s]), k(s[0].name);
1704
1704
  } else
1705
- x(s), w(s.name);
1705
+ x(s), k(s.name);
1706
1706
  }, []);
1707
- const w = (_) => {
1707
+ const k = (_) => {
1708
1708
  const N = i.find((D) => {
1709
1709
  if (D.subcategories) {
1710
1710
  let A = D.subcategories.find(
@@ -1717,8 +1717,8 @@ const Mn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", we = {
1717
1717
  });
1718
1718
  N && u(N.category);
1719
1719
  };
1720
- return /* @__PURE__ */ m("div", { className: we.indicatorsList, children: [
1721
- /* @__PURE__ */ r("h2", { className: we.title, style: { color: o }, children: c("indicators.indicators") }),
1720
+ return /* @__PURE__ */ m("div", { className: ke.indicatorsList, children: [
1721
+ /* @__PURE__ */ r("h2", { className: ke.title, style: { color: o }, children: c("indicators.indicators") }),
1722
1722
  i.map((_, N) => /* @__PURE__ */ r(
1723
1723
  je,
1724
1724
  {
@@ -1759,7 +1759,7 @@ const Fn = "_langSelector_1of0g_2", Bn = "_currentLang_1of0g_7", Dn = "_arrow_1o
1759
1759
  prevImg: An,
1760
1760
  langMenu: On
1761
1761
  }, Rn = ({ langs: i, arrow: d, imgPrev: o }) => {
1762
- const [n, t] = B(!1), { i18n: s } = k(), l = i.find((c) => c.code == s.language), a = (c) => {
1762
+ const [n, t] = B(!1), { i18n: s } = w(), l = i.find((c) => c.code == s.language), a = (c) => {
1763
1763
  s.changeLanguage(c), t(!1);
1764
1764
  };
1765
1765
  return /* @__PURE__ */ m("div", { className: K.langSelector, children: [
@@ -1802,14 +1802,14 @@ Rn.propTypes = {
1802
1802
  arrow: e.object,
1803
1803
  imgPrev: e.object
1804
1804
  };
1805
- const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titleContainer_atg3j_46", jn = "_infoContainer_atg3j_52", Pn = "_titleLegendList_atg3j_63", En = "_legendListContainer_atg3j_70", qn = "_gridContainer_atg3j_70", Kn = "_elementLegendContainer_atg3j_76", Un = "_colorDot_atg3j_82", Zn = "_absoluteValueContainer_atg3j_88", Hn = "_absoluteValueColor_atg3j_91", Gn = "_absoluteValueText_atg3j_96", Yn = "_moreInfoContainer_atg3j_108", M = {
1805
+ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titleContainer_atg3j_46", jn = "_infoContainer_atg3j_52", Pn = "_titleLegendList_atg3j_63", qn = "_legendListContainer_atg3j_70", En = "_gridContainer_atg3j_70", Kn = "_elementLegendContainer_atg3j_76", Un = "_colorDot_atg3j_82", Zn = "_absoluteValueContainer_atg3j_88", Hn = "_absoluteValueColor_atg3j_91", Gn = "_absoluteValueText_atg3j_96", Yn = "_moreInfoContainer_atg3j_108", M = {
1806
1806
  legendContainer: In,
1807
1807
  closeButton: zn,
1808
1808
  titleContainer: Vn,
1809
1809
  infoContainer: jn,
1810
1810
  titleLegendList: Pn,
1811
- legendListContainer: En,
1812
- gridContainer: qn,
1811
+ legendListContainer: qn,
1812
+ gridContainer: En,
1813
1813
  elementLegendContainer: Kn,
1814
1814
  colorDot: Un,
1815
1815
  absoluteValueContainer: Zn,
@@ -1839,7 +1839,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titl
1839
1839
  buttonTitle: a,
1840
1840
  onClickClose: c
1841
1841
  }) => {
1842
- const { t: p } = k();
1842
+ const { t: p } = w();
1843
1843
  return /* @__PURE__ */ m(
1844
1844
  "div",
1845
1845
  {
@@ -1855,7 +1855,7 @@ const In = "_legendContainer_atg3j_3", zn = "_closeButton_atg3j_18", Vn = "_titl
1855
1855
  h
1856
1856
  ] })
1857
1857
  ] }, d)) }) }),
1858
- /* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(he, { i18nKey: t, components: { sup: /* @__PURE__ */ r("sup", {}) } }) : p("mainUse") }),
1858
+ /* @__PURE__ */ r("h3", { className: M.titleLegendList, children: t ? /* @__PURE__ */ r(me, { i18nKey: t, components: { sup: /* @__PURE__ */ r("sup", {}) } }) : p("mainUse") }),
1859
1859
  /* @__PURE__ */ r("div", { className: M.legendListContainer, children: s ? /* @__PURE__ */ m("div", { className: M.absoluteValueContainer, children: [
1860
1860
  /* @__PURE__ */ r(
1861
1861
  "div",
@@ -1924,11 +1924,11 @@ Wn.propTypes = {
1924
1924
  buttonTitle: e.string,
1925
1925
  onClickClose: e.func
1926
1926
  };
1927
- const Xn = "_logo_1ewa6_2", ke = {
1927
+ const Xn = "_logo_1ewa6_2", we = {
1928
1928
  logo: Xn
1929
1929
  }, Jn = ({ src: i, alt: d, href: o }) => {
1930
- const { t: n } = k(), t = /* @__PURE__ */ r("img", { src: i, alt: n(d) });
1931
- return o ? /* @__PURE__ */ r("div", { className: ke.logo, children: /* @__PURE__ */ r("a", { href: o, children: t }) }) : /* @__PURE__ */ r("div", { className: ke.logo, children: t });
1930
+ const { t: n } = w(), t = /* @__PURE__ */ r("img", { src: i, alt: n(d) });
1931
+ return o ? /* @__PURE__ */ r("div", { className: we.logo, children: /* @__PURE__ */ r("a", { href: o, children: t }) }) : /* @__PURE__ */ r("div", { className: we.logo, children: t });
1932
1932
  };
1933
1933
  Jn.propTypes = {
1934
1934
  src: e.string.isRequired,
@@ -1953,7 +1953,7 @@ const ti = ({
1953
1953
  sources: p = [],
1954
1954
  layers: u = []
1955
1955
  }) => {
1956
- const h = ue(), [g, b] = B(null), C = le((f) => f.mapState.showTexts);
1956
+ const h = he(), [g, b] = B(null), C = ce((f) => f.mapState.showTexts);
1957
1957
  return L(() => {
1958
1958
  if (h.current) {
1959
1959
  const f = h.current.getMap();
@@ -2050,16 +2050,16 @@ ti.propTypes = {
2050
2050
  })
2051
2051
  )
2052
2052
  };
2053
- const ni = "_mapContainer_e6diw_3", ii = {
2053
+ const ni = "_mapContainer_b0pyr_3", ii = {
2054
2054
  mapContainer: ni
2055
2055
  }, si = "_FeaturePopUp_1gd6w_2", oi = "_title_1gd6w_2", Ne = {
2056
2056
  FeaturePopUp: si,
2057
2057
  title: oi
2058
2058
  }, ri = ({ props: i }) => {
2059
- const { t: d } = k();
2059
+ const { t: d } = w();
2060
2060
  return /* @__PURE__ */ r("div", { className: Ne.FeaturePopUp, children: i.map((o) => /* @__PURE__ */ m("p", { children: [
2061
2061
  /* @__PURE__ */ m("span", { className: Ne.title, children: [
2062
- /* @__PURE__ */ r(he, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2062
+ /* @__PURE__ */ r(me, { i18nKey: o.name, components: { sup: /* @__PURE__ */ r("sup", {}) } }),
2063
2063
  ": "
2064
2064
  ] }),
2065
2065
  o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
@@ -2083,7 +2083,7 @@ const ni = "_mapContainer_e6diw_3", ii = {
2083
2083
  showTexts: b
2084
2084
  }) => {
2085
2085
  console.log(u);
2086
- const C = ue();
2086
+ const C = he();
2087
2087
  return L(() => {
2088
2088
  if (C.current) {
2089
2089
  const f = C.current.getMap();
@@ -2093,12 +2093,13 @@ const ni = "_mapContainer_e6diw_3", ii = {
2093
2093
  }
2094
2094
  }, [b]), L(() => {
2095
2095
  let f = new Xe();
2096
- return ye.addProtocol("pmtiles", f.tile), () => {
2097
- ye.removeProtocol("pmtiles");
2096
+ return ie.addProtocol("pmtiles", f.tile), () => {
2097
+ ie.removeProtocol("pmtiles");
2098
2098
  };
2099
2099
  }, []), /* @__PURE__ */ r("div", { className: `${ii.mapContainer}`, style: s && s, children: /* @__PURE__ */ m(
2100
2100
  Je,
2101
2101
  {
2102
+ mapLib: ie,
2102
2103
  initialViewState: i,
2103
2104
  ref: C,
2104
2105
  hash: !1,
@@ -2183,7 +2184,7 @@ ai.propTypes = {
2183
2184
  popUpParams: e.object,
2184
2185
  onClosePopUp: e.func
2185
2186
  };
2186
- const li = "_sectionBar_2vnc3_2", ci = "_leftContent_2vnc3_13", di = "_textContainer_2vnc3_19", pi = "_title_2vnc3_26", ui = "_subtitle_2vnc3_32", hi = "_rightContent_2vnc3_37", V = {
2187
+ const li = "_sectionBar_1nshk_2", ci = "_leftContent_1nshk_14", di = "_textContainer_1nshk_20", pi = "_title_1nshk_27", ui = "_subtitle_1nshk_33", hi = "_rightContent_1nshk_38", V = {
2187
2188
  sectionBar: li,
2188
2189
  leftContent: ci,
2189
2190
  textContainer: di,
@@ -2191,7 +2192,7 @@ const li = "_sectionBar_2vnc3_2", ci = "_leftContent_2vnc3_13", di = "_textConta
2191
2192
  subtitle: ui,
2192
2193
  rightContent: hi
2193
2194
  }, mi = ({ leftIcon: i, title: d, subtitle: o, rightContent: n, mainColor: t }) => {
2194
- const { t: s } = k();
2195
+ const { t: s } = w();
2195
2196
  return /* @__PURE__ */ m("div", { className: V.sectionBar, children: [
2196
2197
  /* @__PURE__ */ m("div", { className: V.leftContent, children: [
2197
2198
  i && /* @__PURE__ */ r("img", { src: i, alt: "Icono", className: V.icon }),
@@ -2236,26 +2237,26 @@ const gi = Me({
2236
2237
  i.activeIndicatorUnit = d.payload;
2237
2238
  }
2238
2239
  }
2239
- }), { setShowTexts: rs, setYear: ae, setActiveIndicatorKey: as, setActiveIndicatorType: ls, setActiveIndicatorUnit: cs } = gi.actions, bi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", fi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", yi = "_slider_a19yo_2", Ci = "_playButton_a19yo_17", vi = "_sliderOpen_a19yo_28", _i = "_sliderResults_a19yo_32", Y = {
2240
+ }), { setShowTexts: rs, setYear: le, setActiveIndicatorKey: as, setActiveIndicatorType: ls, setActiveIndicatorUnit: cs } = gi.actions, bi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", fi = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", yi = "_slider_a19yo_2", Ci = "_playButton_a19yo_17", vi = "_sliderOpen_a19yo_28", _i = "_sliderResults_a19yo_32", Y = {
2240
2241
  slider: yi,
2241
2242
  playButton: Ci,
2242
2243
  sliderOpen: vi,
2243
2244
  sliderResults: _i
2244
2245
  }, xi = ({ onResults: i = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: n = 2050, zIndex: t = 10, rightBarOpen: s = !1 }) => {
2245
2246
  const [l, a] = B(d), c = Te(), p = (y, x) => {
2246
- a(x), c(ae(x - 2e3));
2247
+ a(x), c(le(x - 2e3));
2247
2248
  }, [u, h] = B(!1), g = () => {
2248
2249
  h(!0);
2249
2250
  }, b = () => {
2250
2251
  h(!1);
2251
2252
  };
2252
2253
  ((y, x) => {
2253
- const w = ue();
2254
+ const k = he();
2254
2255
  L(() => {
2255
- w.current = y;
2256
+ k.current = y;
2256
2257
  }, [y]), L(() => {
2257
2258
  function _() {
2258
- w.current();
2259
+ k.current();
2259
2260
  }
2260
2261
  {
2261
2262
  let N = setInterval(_, x);
@@ -2263,7 +2264,7 @@ const gi = Me({
2263
2264
  }
2264
2265
  }, [x]);
2265
2266
  })(() => {
2266
- u && (l != 2050 ? (a(l + 1), c(ae(l - 2e3 + 1))) : (a(2025), c(ae(25))));
2267
+ u && (l != 2050 ? (a(l + 1), c(le(l - 2e3 + 1))) : (a(2025), c(le(25))));
2267
2268
  }, 1e3);
2268
2269
  const f = st({
2269
2270
  palette: {
@@ -2331,11 +2332,11 @@ xi.propTypes = {
2331
2332
  zIndex: e.number,
2332
2333
  rightBarOpen: e.bool
2333
2334
  };
2334
- const wi = "_TopNavMenuContainer_ku22g_2", ki = "_topNavOptions_ku22g_11", Se = {
2335
- TopNavMenuContainer: wi,
2336
- topNavOptions: ki
2335
+ const ki = "_TopNavMenuContainer_ku22g_2", wi = "_topNavOptions_ku22g_11", Se = {
2336
+ TopNavMenuContainer: ki,
2337
+ topNavOptions: wi
2337
2338
  }, Ni = ({ options: i = [], cssProps: d = {}, activeColor: o }) => {
2338
- const { t: n } = k(), t = d.textColor || "inherit";
2339
+ const { t: n } = w(), t = d.textColor || "inherit";
2339
2340
  d.borderColor;
2340
2341
  const s = d.height || "calc(70px - 10px);";
2341
2342
  return /* @__PURE__ */ r("div", { className: Se.TopNavMenuContainer, children: i.map((l, a) => /* @__PURE__ */ r(
@@ -2386,7 +2387,7 @@ const Si = Me({
2386
2387
  }), { setShowLogIn: Ti, setShowUserMenu: Mi } = Si.actions, $i = "_UserMenuTrigger_uglss_2", Li = {
2387
2388
  UserMenuTrigger: $i
2388
2389
  }, Fi = ({ cssClass: i, loginLocale: d = "login" }) => {
2389
- const o = Te(), n = le((a) => a.userState.user.isLoggedIn), t = le((a) => a.userState.user.username), { t: s } = k(), l = () => {
2390
+ const o = Te(), n = ce((a) => a.userState.user.isLoggedIn), t = ce((a) => a.userState.user.username), { t: s } = w(), l = () => {
2390
2391
  o(n ? Ti(!0) : Mi(!0));
2391
2392
  };
2392
2393
  return /* @__PURE__ */ r("div", { className: `${Li.UserMenuTrigger} link ${i}`, onClick: l, children: n ? t : s(d) });
@@ -2399,7 +2400,7 @@ Fi.propTypes = {
2399
2400
  cssClass: e.string,
2400
2401
  loginLocale: e.string
2401
2402
  };
2402
- const Bi = "_header_yr2yi_2", Di = "_leftComponents_yr2yi_11", Ai = "_centerComponents_yr2yi_12", Oi = "_rightComponents_yr2yi_13", Q = {
2403
+ const Bi = "_header_t7qdl_2", Di = "_leftComponents_t7qdl_12", Ai = "_centerComponents_t7qdl_13", Oi = "_rightComponents_t7qdl_14", Q = {
2403
2404
  header: Bi,
2404
2405
  leftComponents: Di,
2405
2406
  centerComponents: Ai,
@@ -2448,7 +2449,7 @@ Pi.propTypes = {
2448
2449
  onCloseBar: e.func
2449
2450
  };
2450
2451
  export {
2451
- kt as AmbitSelector,
2452
+ wt as AmbitSelector,
2452
2453
  Rt as ButtonsList,
2453
2454
  j as DropdownList,
2454
2455
  os as EditAmbit,