@tmf_ciclica/ciclicastorybook 1.1.128 → 1.1.129
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.cjs.js +3 -3
- package/dist/index.es.js +165 -164
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -44,7 +44,7 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: h, id: g, isBeingProcessed: _ } = n;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
@@ -62,7 +62,7 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className: ue.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: ue.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: ue.ambitButtons, children: [
|
|
68
68
|
_ && /* @__PURE__ */ s("img", { src: m2 }),
|
|
@@ -127,12 +127,12 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
127
127
|
buttonContainerStyles: l = {},
|
|
128
128
|
containerStyles: c = {},
|
|
129
129
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
130
|
-
onClickCopy:
|
|
131
|
-
onCLickDelete: g = (
|
|
132
|
-
onClickFilters: _ = (
|
|
133
|
-
onClickAmbit: y = (
|
|
130
|
+
onClickCopy: h = (m) => console.log(`Copy ambit: ${m}`),
|
|
131
|
+
onCLickDelete: g = (m) => console.log(`Delete ambit: ${m}`),
|
|
132
|
+
onClickFilters: _ = (m) => console.log(`Filters clicked: ${m}`),
|
|
133
|
+
onClickAmbit: y = (m) => console.log(`OnCLickAmbit: ${m}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t:
|
|
135
|
+
const { t: m } = k(), [b, C] = L(n);
|
|
136
136
|
M(() => {
|
|
137
137
|
n && C(n);
|
|
138
138
|
}, [n]);
|
|
@@ -156,11 +156,11 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
156
156
|
children: [
|
|
157
157
|
/* @__PURE__ */ p("div", { className: U.nameDateContainer, children: [
|
|
158
158
|
/* @__PURE__ */ s("div", { className: U.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
159
|
-
/* @__PURE__ */ s("span", { children:
|
|
159
|
+
/* @__PURE__ */ s("span", { children: m(t) }),
|
|
160
160
|
/* @__PURE__ */ s("img", { src: Ge })
|
|
161
161
|
] }) }),
|
|
162
162
|
/* @__PURE__ */ s("div", { className: U.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
163
|
-
/* @__PURE__ */ s("span", { children:
|
|
163
|
+
/* @__PURE__ */ s("span", { children: m(r) }),
|
|
164
164
|
/* @__PURE__ */ s("img", { src: Ge })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
@@ -175,7 +175,7 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
175
175
|
ambit: v,
|
|
176
176
|
fontColor: i,
|
|
177
177
|
activeColor: o,
|
|
178
|
-
onClickCopy:
|
|
178
|
+
onClickCopy: h,
|
|
179
179
|
onClickDelete: g,
|
|
180
180
|
onClickFilters: _,
|
|
181
181
|
onClickAmbit: y
|
|
@@ -188,7 +188,7 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
190
190
|
borderColor: "grey",
|
|
191
|
-
children:
|
|
191
|
+
children: m(a)
|
|
192
192
|
}
|
|
193
193
|
) })
|
|
194
194
|
]
|
|
@@ -255,14 +255,14 @@ const T2 = ({
|
|
|
255
255
|
children: n.map((l, c) => {
|
|
256
256
|
const {
|
|
257
257
|
icon: u,
|
|
258
|
-
activeIcon:
|
|
258
|
+
activeIcon: h,
|
|
259
259
|
isActive: g,
|
|
260
260
|
name: _,
|
|
261
261
|
onClick: y,
|
|
262
|
-
disabled:
|
|
262
|
+
disabled: m
|
|
263
263
|
} = l, b = /* @__PURE__ */ p(Ae, { children: [
|
|
264
264
|
i && o === "left" && /* @__PURE__ */ s("span", { className: Y.buttonName, children: a(_) }),
|
|
265
|
-
/* @__PURE__ */ s("img", { src: g ?
|
|
265
|
+
/* @__PURE__ */ s("img", { src: g ? h : u, alt: a(_) }),
|
|
266
266
|
i && o === "right" && /* @__PURE__ */ s("span", { className: Y.buttonName, children: a(_) })
|
|
267
267
|
] });
|
|
268
268
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
@@ -272,7 +272,7 @@ const T2 = ({
|
|
|
272
272
|
onClick: y,
|
|
273
273
|
className: `${Y.button}
|
|
274
274
|
${g && Y.active}`,
|
|
275
|
-
disabled:
|
|
275
|
+
disabled: m,
|
|
276
276
|
children: b
|
|
277
277
|
}
|
|
278
278
|
),
|
|
@@ -317,7 +317,7 @@ const D2 = "_indicatorsCategory_1cu33_2", L2 = "_title_1cu33_5", Be = {
|
|
|
317
317
|
showBottomBar: c = !0,
|
|
318
318
|
titleMarginChildren: u = 25
|
|
319
319
|
}) => {
|
|
320
|
-
const { t:
|
|
320
|
+
const { t: h } = k();
|
|
321
321
|
return /* @__PURE__ */ p(
|
|
322
322
|
ze.div,
|
|
323
323
|
{
|
|
@@ -342,7 +342,7 @@ const D2 = "_indicatorsCategory_1cu33_2", L2 = "_title_1cu33_5", Be = {
|
|
|
342
342
|
onClick: d,
|
|
343
343
|
children: [
|
|
344
344
|
/* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
345
|
-
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children:
|
|
345
|
+
/* @__PURE__ */ s("span", { style: { marginLeft: 12, color: n ? t : o }, children: h(r) })
|
|
346
346
|
]
|
|
347
347
|
}
|
|
348
348
|
),
|
|
@@ -374,8 +374,8 @@ const Ks = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), F2 = "data
|
|
|
374
374
|
inputsColor: "#605B56"
|
|
375
375
|
})), lt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
376
376
|
const { t: a } = k(), { tematicalFiltersSelected: l } = O((u) => u), c = (u) => {
|
|
377
|
-
O.setState((
|
|
378
|
-
tematicalFiltersSelected:
|
|
377
|
+
O.setState((h) => ({
|
|
378
|
+
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
379
379
|
(g) => g.code !== u
|
|
380
380
|
)
|
|
381
381
|
}));
|
|
@@ -387,10 +387,10 @@ const Ks = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), F2 = "data
|
|
|
387
387
|
onClick: d,
|
|
388
388
|
title: n ? a(n) : "Applied Filters",
|
|
389
389
|
activeColor: r,
|
|
390
|
-
children: /* @__PURE__ */ s("div", { className: We.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u,
|
|
390
|
+
children: /* @__PURE__ */ s("div", { className: We.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: We.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
391
391
|
a(u.name),
|
|
392
392
|
/* @__PURE__ */ s("img", { src: F2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
393
|
-
] },
|
|
393
|
+
] }, h)) })
|
|
394
394
|
}
|
|
395
395
|
);
|
|
396
396
|
};
|
|
@@ -522,8 +522,8 @@ let Re = function(n) {
|
|
|
522
522
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
523
523
|
}, t.onMouseMove = (l) => {
|
|
524
524
|
t.setState({ pending: !0 });
|
|
525
|
-
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]),
|
|
526
|
-
t.move(
|
|
525
|
+
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
526
|
+
t.move(h);
|
|
527
527
|
}, t.onTouchMove = (l) => {
|
|
528
528
|
if (l.touches.length > 1) return;
|
|
529
529
|
t.setState({ pending: !0 });
|
|
@@ -533,8 +533,8 @@ let Re = function(n) {
|
|
|
533
533
|
t.isScrolling = Math.abs(_) > Math.abs(g);
|
|
534
534
|
}
|
|
535
535
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
536
|
-
const u = t.getDiffPosition(c[0]),
|
|
537
|
-
t.move(
|
|
536
|
+
const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
537
|
+
t.move(h);
|
|
538
538
|
}, t.onKeyDown = (l) => {
|
|
539
539
|
if (!(l.ctrlKey || l.shiftKey || l.altKey || l.metaKey)) switch (t.setState({ pending: !0 }), l.key) {
|
|
540
540
|
case "ArrowLeft":
|
|
@@ -587,8 +587,8 @@ let Re = function(n) {
|
|
|
587
587
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
588
588
|
t.setState({ pending: !0 });
|
|
589
589
|
const u = t.getTouchPosition(c);
|
|
590
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), _e(t.getTouchEventMap()), function(
|
|
591
|
-
|
|
590
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), _e(t.getTouchEventMap()), function(h) {
|
|
591
|
+
h.stopPropagation && h.stopPropagation();
|
|
592
592
|
}(c);
|
|
593
593
|
}, t.handleResize = () => {
|
|
594
594
|
const l = window.setTimeout(() => {
|
|
@@ -596,13 +596,13 @@ let Re = function(n) {
|
|
|
596
596
|
}, 0);
|
|
597
597
|
t.pendingResizeTimeouts.push(l);
|
|
598
598
|
}, t.renderThumb = (l, c) => {
|
|
599
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
599
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (_) => {
|
|
600
600
|
t["thumb" + c] = _;
|
|
601
601
|
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value: be(t.state.value), valueNow: t.state.value[c] };
|
|
602
|
-
return t.props.ariaValuetext && (
|
|
602
|
+
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(h, g);
|
|
603
603
|
}, t.renderTrack = (l, c, u) => {
|
|
604
|
-
const
|
|
605
|
-
return t.props.renderTrack(
|
|
604
|
+
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: l, value: be(t.state.value) };
|
|
605
|
+
return t.props.renderTrack(h, g);
|
|
606
606
|
};
|
|
607
607
|
let r = Se(o.value);
|
|
608
608
|
r.length || (r = Se(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -633,8 +633,8 @@ let Re = function(n) {
|
|
|
633
633
|
let t = Number.MAX_VALUE, r = -1;
|
|
634
634
|
const { value: a } = this.state, l = a.length;
|
|
635
635
|
for (let c = 0; c < l; c += 1) {
|
|
636
|
-
const u = this.calcOffset(a[c]),
|
|
637
|
-
|
|
636
|
+
const u = this.calcOffset(a[c]), h = Math.abs(o - u);
|
|
637
|
+
h < t && (t = h, r = c);
|
|
638
638
|
}
|
|
639
639
|
return r;
|
|
640
640
|
}, i.getMousePosition = function(o) {
|
|
@@ -657,8 +657,8 @@ let Re = function(n) {
|
|
|
657
657
|
}, i.resize = function() {
|
|
658
658
|
const { slider: o, thumb0: t } = this;
|
|
659
659
|
if (!o || !t) return;
|
|
660
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()],
|
|
661
|
-
this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize ===
|
|
660
|
+
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = l - h, _ = Math.abs(c - u);
|
|
661
|
+
this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: _, thumbSize: h });
|
|
662
662
|
}, i.calcOffset = function(o) {
|
|
663
663
|
const t = this.props.max - this.props.min;
|
|
664
664
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -697,7 +697,7 @@ let Re = function(n) {
|
|
|
697
697
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
698
698
|
if (o === l) return;
|
|
699
699
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
700
|
-
const { pearling: c, max: u, min:
|
|
700
|
+
const { pearling: c, max: u, min: h, minDistance: g } = this.props;
|
|
701
701
|
if (!c) {
|
|
702
702
|
if (r > 0) {
|
|
703
703
|
const _ = t[r - 1];
|
|
@@ -708,17 +708,17 @@ let Re = function(n) {
|
|
|
708
708
|
o > _ - g && (o = _ - g);
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, g, r), function(_, y,
|
|
711
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, g, r), function(_, y, m, b) {
|
|
712
712
|
for (let C = 0; C < _; C += 1) {
|
|
713
|
-
const f = b - C *
|
|
713
|
+
const f = b - C * m;
|
|
714
714
|
y[_ - 1 - C] > f && (y[_ - 1 - C] = f);
|
|
715
715
|
}
|
|
716
|
-
}(a, t, g, u)) : o < l && (this.pushPreceding(t, g, r), function(_, y,
|
|
716
|
+
}(a, t, g, u)) : o < l && (this.pushPreceding(t, g, r), function(_, y, m, b) {
|
|
717
717
|
for (let C = 0; C < _; C += 1) {
|
|
718
|
-
const f = b + C *
|
|
718
|
+
const f = b + C * m;
|
|
719
719
|
y[C] < f && (y[C] = f);
|
|
720
720
|
}
|
|
721
|
-
}(a, t, g,
|
|
721
|
+
}(a, t, g, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
722
722
|
}, i.pushSucceeding = function(o, t, r) {
|
|
723
723
|
let a, l;
|
|
724
724
|
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Ie(l, this.props);
|
|
@@ -791,11 +791,11 @@ const q2 = "_container_15vgv_2", E2 = "_unitLabel_15vgv_9", P2 = "_slider_15vgv_
|
|
|
791
791
|
fontColor: a = "#605B56",
|
|
792
792
|
defaultValue: l
|
|
793
793
|
}) => {
|
|
794
|
-
const { t: c } = k(), [u,
|
|
795
|
-
|
|
794
|
+
const { t: c } = k(), [u, h] = L([n, d]), g = (_) => {
|
|
795
|
+
h(_), o == null || o({ min: _[0], max: _[1] });
|
|
796
796
|
};
|
|
797
797
|
return M(() => {
|
|
798
|
-
l ||
|
|
798
|
+
l || h([n, d]);
|
|
799
799
|
}, [l]), /* @__PURE__ */ p(
|
|
800
800
|
"div",
|
|
801
801
|
{
|
|
@@ -856,7 +856,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
856
856
|
minValue: l,
|
|
857
857
|
maxValue: c,
|
|
858
858
|
unit: u,
|
|
859
|
-
step:
|
|
859
|
+
step: h,
|
|
860
860
|
disabled: g
|
|
861
861
|
} = n || {}, _ = ge(
|
|
862
862
|
() => t == "cat" || i == "cat",
|
|
@@ -865,7 +865,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
865
865
|
() => t == "abs" || i == "abs",
|
|
866
866
|
[i, t]
|
|
867
867
|
), {
|
|
868
|
-
tematicalFiltersSelected:
|
|
868
|
+
tematicalFiltersSelected: m,
|
|
869
869
|
selectedIndicator: b,
|
|
870
870
|
fontColor: C,
|
|
871
871
|
inputsColor: f
|
|
@@ -895,7 +895,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
895
895
|
let A = T.map((R, St) => St);
|
|
896
896
|
return {
|
|
897
897
|
tematicalFiltersSelected: [
|
|
898
|
-
...
|
|
898
|
+
...m,
|
|
899
899
|
{
|
|
900
900
|
type: "cat",
|
|
901
901
|
code: E,
|
|
@@ -926,7 +926,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
926
926
|
} else
|
|
927
927
|
return {
|
|
928
928
|
tematicalFiltersSelected: [
|
|
929
|
-
...
|
|
929
|
+
...m,
|
|
930
930
|
{
|
|
931
931
|
type: z,
|
|
932
932
|
code: E,
|
|
@@ -941,11 +941,11 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
941
941
|
}
|
|
942
942
|
}, N = ge(() => {
|
|
943
943
|
const x = {};
|
|
944
|
-
if ((
|
|
945
|
-
for (const w of
|
|
944
|
+
if ((m == null ? void 0 : m.length) > 0)
|
|
945
|
+
for (const w of m)
|
|
946
946
|
w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
|
|
947
947
|
return x;
|
|
948
|
-
}, [
|
|
948
|
+
}, [m]);
|
|
949
949
|
return /* @__PURE__ */ s("div", { className: ye.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
950
950
|
ie,
|
|
951
951
|
{
|
|
@@ -1035,7 +1035,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1035
1035
|
max: c,
|
|
1036
1036
|
unit: u,
|
|
1037
1037
|
defaultValue: N[n.code[0]] ? N[n.code[0]] : "",
|
|
1038
|
-
step:
|
|
1038
|
+
step: h
|
|
1039
1039
|
}
|
|
1040
1040
|
) })
|
|
1041
1041
|
]
|
|
@@ -1216,13 +1216,13 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1216
1216
|
onChangeAppliedFilters: l,
|
|
1217
1217
|
saveAmbit: c,
|
|
1218
1218
|
namePlaceholder: u,
|
|
1219
|
-
descPlaceholder:
|
|
1219
|
+
descPlaceholder: h,
|
|
1220
1220
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1221
1221
|
nameRequiredText: _,
|
|
1222
1222
|
onlyFilters: y = !1
|
|
1223
1223
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1224
1224
|
}) => {
|
|
1225
|
-
const { t:
|
|
1225
|
+
const { t: m } = k(), { tematicalFiltersSelected: b } = O(($) => $), [C, f] = L(n || null), [v, N] = L(d || null), [x, w] = L(!1);
|
|
1226
1226
|
M(() => {
|
|
1227
1227
|
i && i.length > 0 && O.setState(($) => ({
|
|
1228
1228
|
tematicalFiltersSelected: i
|
|
@@ -1243,7 +1243,7 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1243
1243
|
w(!1), f($.target.value);
|
|
1244
1244
|
},
|
|
1245
1245
|
value: C,
|
|
1246
|
-
placeholder:
|
|
1246
|
+
placeholder: m(u)
|
|
1247
1247
|
}
|
|
1248
1248
|
) }),
|
|
1249
1249
|
/* @__PURE__ */ s("div", { className: oe.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: oe.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
@@ -1251,14 +1251,14 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1251
1251
|
{
|
|
1252
1252
|
value: v,
|
|
1253
1253
|
onChange: ($) => N($.target.value),
|
|
1254
|
-
placeholder: h
|
|
1254
|
+
placeholder: m(h)
|
|
1255
1255
|
}
|
|
1256
1256
|
) }) })
|
|
1257
1257
|
] }),
|
|
1258
1258
|
/* @__PURE__ */ s(
|
|
1259
1259
|
lt,
|
|
1260
1260
|
{
|
|
1261
|
-
title:
|
|
1261
|
+
title: m("applied_filters"),
|
|
1262
1262
|
isOpen: !0,
|
|
1263
1263
|
textColor: r || "#fff",
|
|
1264
1264
|
backgroundColor: a || "#605B5680",
|
|
@@ -1276,8 +1276,8 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1276
1276
|
activeColor: t
|
|
1277
1277
|
}
|
|
1278
1278
|
),
|
|
1279
|
-
x && /* @__PURE__ */ s("div", { className: oe.warning, children:
|
|
1280
|
-
!y && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(we, { onClick: () => B(), children:
|
|
1279
|
+
x && /* @__PURE__ */ s("div", { className: oe.warning, children: m(_) }),
|
|
1280
|
+
!y && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(we, { onClick: () => B(), children: m("save_ambit") }) })
|
|
1281
1281
|
] });
|
|
1282
1282
|
};
|
|
1283
1283
|
t0.propTypes = {
|
|
@@ -1309,13 +1309,13 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1309
1309
|
numberOfDivisions: c = 7,
|
|
1310
1310
|
maxValue: u = null
|
|
1311
1311
|
}) => {
|
|
1312
|
-
const { t:
|
|
1312
|
+
const { t: h } = k(), { xScale: g, ticks: _, height: y } = ge(() => {
|
|
1313
1313
|
if (n && n.length > 0) {
|
|
1314
|
-
const
|
|
1314
|
+
const m = (n == null ? void 0 : n.length) * (i + o) + r * 2, b = Ue.max(n, (v) => v.value) || 1, C = Ue.scaleLinear().domain([0, u || b]).range([0, d - l]), f = Array.from({ length: c + 1 }, (v, N) => u ? u / c * N : b / c * N);
|
|
1315
1315
|
return {
|
|
1316
1316
|
xScale: C,
|
|
1317
1317
|
ticks: f,
|
|
1318
|
-
height:
|
|
1318
|
+
height: m,
|
|
1319
1319
|
width: d,
|
|
1320
1320
|
verticalPaddign: r,
|
|
1321
1321
|
horizontalPaddign: a
|
|
@@ -1333,8 +1333,8 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1333
1333
|
u
|
|
1334
1334
|
]);
|
|
1335
1335
|
return /* @__PURE__ */ s("div", { className: i0.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: y, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1336
|
-
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((
|
|
1337
|
-
const C = g(
|
|
1336
|
+
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((m, b) => {
|
|
1337
|
+
const C = g(m);
|
|
1338
1338
|
return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
|
|
1339
1339
|
/* @__PURE__ */ s(
|
|
1340
1340
|
"line",
|
|
@@ -1351,13 +1351,13 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1351
1351
|
textAnchor: "middle",
|
|
1352
1352
|
fontSize: 10,
|
|
1353
1353
|
fill: t,
|
|
1354
|
-
children: parseInt(
|
|
1354
|
+
children: parseInt(m)
|
|
1355
1355
|
}
|
|
1356
1356
|
)
|
|
1357
1357
|
] }, b);
|
|
1358
1358
|
}) }),
|
|
1359
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1360
|
-
const C = g(
|
|
1359
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((m, b) => {
|
|
1360
|
+
const C = g(m.value), f = b * (i + o);
|
|
1361
1361
|
return /* @__PURE__ */ p(
|
|
1362
1362
|
"g",
|
|
1363
1363
|
{
|
|
@@ -1370,7 +1370,7 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1370
1370
|
y: i / 2 + 5,
|
|
1371
1371
|
textAnchor: "end",
|
|
1372
1372
|
fill: t,
|
|
1373
|
-
children: m
|
|
1373
|
+
children: h(m.title)
|
|
1374
1374
|
}
|
|
1375
1375
|
),
|
|
1376
1376
|
/* @__PURE__ */ s(
|
|
@@ -1378,7 +1378,7 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1378
1378
|
{
|
|
1379
1379
|
width: C,
|
|
1380
1380
|
height: i,
|
|
1381
|
-
fill:
|
|
1381
|
+
fill: m.color,
|
|
1382
1382
|
rx: 0
|
|
1383
1383
|
}
|
|
1384
1384
|
)
|
|
@@ -1488,12 +1488,12 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1488
1488
|
multiple: l = !1,
|
|
1489
1489
|
onChangeType: c
|
|
1490
1490
|
}) => {
|
|
1491
|
-
const { t: u } = k(), { name:
|
|
1491
|
+
const { t: u } = k(), { name: h, type: g, disabled: _ } = n, [y, m] = L(!1);
|
|
1492
1492
|
M(() => {
|
|
1493
|
-
t &&
|
|
1493
|
+
t && m(
|
|
1494
1494
|
l ? t.some(
|
|
1495
|
-
(f) => f.name == String(
|
|
1496
|
-
) : t.name ==
|
|
1495
|
+
(f) => f.name == String(h)
|
|
1496
|
+
) : t.name == h
|
|
1497
1497
|
);
|
|
1498
1498
|
}, [t]);
|
|
1499
1499
|
const b = () => /* @__PURE__ */ s("div", { className: V.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: V.switchType, children: /* @__PURE__ */ p("div", { className: V.switchTypeOptions, children: [
|
|
@@ -1599,7 +1599,7 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1599
1599
|
children: /* @__PURE__ */ s(
|
|
1600
1600
|
je,
|
|
1601
1601
|
{
|
|
1602
|
-
i18nKey:
|
|
1602
|
+
i18nKey: h,
|
|
1603
1603
|
components: { sup: /* @__PURE__ */ s("sup", {}) },
|
|
1604
1604
|
shouldUnescape: !0
|
|
1605
1605
|
}
|
|
@@ -1609,8 +1609,8 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1609
1609
|
]
|
|
1610
1610
|
}
|
|
1611
1611
|
),
|
|
1612
|
-
(t == null ? void 0 : t.name) ===
|
|
1613
|
-
(t == null ? void 0 : t.name) ===
|
|
1612
|
+
(t == null ? void 0 : t.name) === h && g === "both" && /* @__PURE__ */ s("div", { children: b() }),
|
|
1613
|
+
(t == null ? void 0 : t.name) === h && g === "twoUnits" && /* @__PURE__ */ s("div", { children: C() })
|
|
1614
1614
|
] });
|
|
1615
1615
|
};
|
|
1616
1616
|
Ke.propTypes = {
|
|
@@ -1639,12 +1639,12 @@ const y0 = "_indicatorsSubCategory_1dzsi_2", v0 = "_list_1dzsi_8", Qe = {
|
|
|
1639
1639
|
activeIndicator: l,
|
|
1640
1640
|
onClickIndicator: c,
|
|
1641
1641
|
multiple: u,
|
|
1642
|
-
activeIndicatorType:
|
|
1642
|
+
activeIndicatorType: h,
|
|
1643
1643
|
onChangeType: g
|
|
1644
1644
|
}) => {
|
|
1645
|
-
const { t: _ } = k(), [y,
|
|
1645
|
+
const { t: _ } = k(), [y, m] = L(!1);
|
|
1646
1646
|
return M(() => {
|
|
1647
|
-
|
|
1647
|
+
m(t == a);
|
|
1648
1648
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1649
1649
|
ze.div,
|
|
1650
1650
|
{
|
|
@@ -1672,7 +1672,7 @@ const y0 = "_indicatorsSubCategory_1dzsi_2", v0 = "_list_1dzsi_8", Qe = {
|
|
|
1672
1672
|
activeIndicator: l,
|
|
1673
1673
|
onClickIndicator: c,
|
|
1674
1674
|
multiple: u,
|
|
1675
|
-
activeIndicatorType:
|
|
1675
|
+
activeIndicatorType: h,
|
|
1676
1676
|
onChangeType: g
|
|
1677
1677
|
},
|
|
1678
1678
|
"indicator" + C
|
|
@@ -1704,12 +1704,12 @@ const ft = ({
|
|
|
1704
1704
|
onClickSubCategory: l,
|
|
1705
1705
|
activeIndicator: c,
|
|
1706
1706
|
onClickIndicator: u,
|
|
1707
|
-
multiple:
|
|
1707
|
+
multiple: h,
|
|
1708
1708
|
activeIndicatorType: g,
|
|
1709
1709
|
onChangeType: _
|
|
1710
1710
|
}) => {
|
|
1711
1711
|
var C;
|
|
1712
|
-
const { t: y } = k(), [
|
|
1712
|
+
const { t: y } = k(), [m, b] = L(!1);
|
|
1713
1713
|
return M(() => {
|
|
1714
1714
|
b(r === d);
|
|
1715
1715
|
}, [r, d]), /* @__PURE__ */ p(
|
|
@@ -1717,20 +1717,20 @@ const ft = ({
|
|
|
1717
1717
|
{
|
|
1718
1718
|
className: Me.indicatorsCategory,
|
|
1719
1719
|
initial: { height: "53px" },
|
|
1720
|
-
animate: { height:
|
|
1720
|
+
animate: { height: m ? "auto" : "53px" },
|
|
1721
1721
|
transition: { duration: 0.4 },
|
|
1722
1722
|
style: {
|
|
1723
1723
|
backgroundColor: "white",
|
|
1724
|
-
borderBottom:
|
|
1725
|
-
marginBottom:
|
|
1724
|
+
borderBottom: m ? `1px solid ${i}` : "0px",
|
|
1725
|
+
marginBottom: m ? "20px" : "0px"
|
|
1726
1726
|
},
|
|
1727
1727
|
children: [
|
|
1728
1728
|
/* @__PURE__ */ p("h2", { className: `${Me.title}`, onClick: () => t(d), children: [
|
|
1729
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1729
|
+
/* @__PURE__ */ s("span", { style: { color: m ? i : o }, children: m ? "-" : "+" }),
|
|
1730
1730
|
/* @__PURE__ */ s(
|
|
1731
1731
|
"span",
|
|
1732
1732
|
{
|
|
1733
|
-
style: { marginLeft: 12, color:
|
|
1733
|
+
style: { marginLeft: 12, color: m ? i : o },
|
|
1734
1734
|
children: y(n.name)
|
|
1735
1735
|
}
|
|
1736
1736
|
)
|
|
@@ -1745,7 +1745,7 @@ const ft = ({
|
|
|
1745
1745
|
onClickSubCategory: l,
|
|
1746
1746
|
activeIndicator: c,
|
|
1747
1747
|
onClickIndicator: u,
|
|
1748
|
-
multiple:
|
|
1748
|
+
multiple: h,
|
|
1749
1749
|
activeColor: i,
|
|
1750
1750
|
defaultColor: o,
|
|
1751
1751
|
indicators: N,
|
|
@@ -1763,7 +1763,7 @@ const ft = ({
|
|
|
1763
1763
|
defaultColor: o,
|
|
1764
1764
|
activeIndicator: c,
|
|
1765
1765
|
onClickIndicator: u,
|
|
1766
|
-
multiple:
|
|
1766
|
+
multiple: h,
|
|
1767
1767
|
activeIndicatorType: g,
|
|
1768
1768
|
onChangeType: _
|
|
1769
1769
|
},
|
|
@@ -1804,20 +1804,20 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1804
1804
|
changeIndType: a,
|
|
1805
1805
|
activeIndicatorType: l
|
|
1806
1806
|
}) => {
|
|
1807
|
-
const { t: c } = k(), [u,
|
|
1808
|
-
|
|
1807
|
+
const { t: c } = k(), [u, h] = L(), [g, _] = L(), [y, m] = L(), b = (x) => {
|
|
1808
|
+
h(u == x ? null : x);
|
|
1809
1809
|
}, C = (x) => {
|
|
1810
1810
|
_(g == x ? null : x);
|
|
1811
1811
|
}, f = ({ indicator: x }) => {
|
|
1812
1812
|
console.log("onClickIndicator: ", x), v(x);
|
|
1813
1813
|
}, v = (x) => {
|
|
1814
1814
|
if (!t)
|
|
1815
|
-
|
|
1815
|
+
m(
|
|
1816
1816
|
(y == null ? void 0 : y.name) == x.name ? null : x
|
|
1817
1817
|
);
|
|
1818
1818
|
else {
|
|
1819
1819
|
let w = y && y.length > 0 ? [...y] : [];
|
|
1820
|
-
|
|
1820
|
+
m(
|
|
1821
1821
|
w != null && w.some(
|
|
1822
1822
|
(B) => B.name == x.name
|
|
1823
1823
|
) ? w.filter(
|
|
@@ -1832,7 +1832,7 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1832
1832
|
if (r && !y)
|
|
1833
1833
|
if (t && r && Array.isArray(r)) {
|
|
1834
1834
|
let x = y && y.length > 0 ? [...y] : [];
|
|
1835
|
-
|
|
1835
|
+
m([...x, ...r]), N(r[0].name);
|
|
1836
1836
|
} else
|
|
1837
1837
|
v(r), N(r.name);
|
|
1838
1838
|
}, []);
|
|
@@ -1847,7 +1847,7 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1847
1847
|
} else
|
|
1848
1848
|
return B.indicators.some(($) => $.name == x);
|
|
1849
1849
|
});
|
|
1850
|
-
w &&
|
|
1850
|
+
w && h(w.category);
|
|
1851
1851
|
};
|
|
1852
1852
|
return /* @__PURE__ */ p("div", { className: Xe.indicatorsList, children: [
|
|
1853
1853
|
/* @__PURE__ */ s("h2", { className: Xe.title, style: { color: i }, children: c("indicators.indicators") }),
|
|
@@ -1982,8 +1982,8 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
1982
1982
|
children: [
|
|
1983
1983
|
/* @__PURE__ */ s("button", { className: F.closeButton, onClick: c }),
|
|
1984
1984
|
d && /* @__PURE__ */ s("div", { className: F.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1985
|
-
i && i.length > 0 && /* @__PURE__ */ s("div", { className: F.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title:
|
|
1986
|
-
/* @__PURE__ */ s("h3", { className: F.title, children: `${
|
|
1985
|
+
i && i.length > 0 && /* @__PURE__ */ s("div", { className: F.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: h, value: g }) => /* @__PURE__ */ p("li", { children: [
|
|
1986
|
+
/* @__PURE__ */ s("h3", { className: F.title, children: `${h}:` }),
|
|
1987
1987
|
/* @__PURE__ */ p("span", { className: F.value, children: [
|
|
1988
1988
|
" ",
|
|
1989
1989
|
g
|
|
@@ -2019,7 +2019,7 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
2019
2019
|
] })
|
|
2020
2020
|
] })
|
|
2021
2021
|
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: F.gridContainer, children: o.map(
|
|
2022
|
-
({ title:
|
|
2022
|
+
({ title: h, color: g }) => /* @__PURE__ */ p("div", { className: F.elementLegendContainer, children: [
|
|
2023
2023
|
/* @__PURE__ */ s(
|
|
2024
2024
|
"div",
|
|
2025
2025
|
{
|
|
@@ -2028,7 +2028,7 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
2028
2028
|
}
|
|
2029
2029
|
),
|
|
2030
2030
|
/* @__PURE__ */ p("div", { className: F.titleLegendElement, children: [
|
|
2031
|
-
u(
|
|
2031
|
+
u(h),
|
|
2032
2032
|
" "
|
|
2033
2033
|
] })
|
|
2034
2034
|
] }, d)
|
|
@@ -2105,17 +2105,17 @@ const Q0 = ({
|
|
|
2105
2105
|
interactiveLayers: l = [],
|
|
2106
2106
|
popUp: c = !1,
|
|
2107
2107
|
sources: u = [],
|
|
2108
|
-
layers:
|
|
2108
|
+
layers: h = []
|
|
2109
2109
|
}) => {
|
|
2110
|
-
const g = ne(), [_, y] = L(null),
|
|
2110
|
+
const g = ne(), [_, y] = L(null), m = Lt((b) => b.mapState.showTexts);
|
|
2111
2111
|
return M(() => {
|
|
2112
2112
|
if (g.current) {
|
|
2113
2113
|
const b = g.current.getMap();
|
|
2114
2114
|
b.getStyle().layers.map((f) => {
|
|
2115
|
-
f.type == "symbol" && f.id != "professionals" && (
|
|
2115
|
+
f.type == "symbol" && f.id != "professionals" && (m ? b.setLayoutProperty(f.id, "visibility", "visible") : b.setLayoutProperty(f.id, "visibility", "none"));
|
|
2116
2116
|
});
|
|
2117
2117
|
}
|
|
2118
|
-
}, [
|
|
2118
|
+
}, [m]), /* @__PURE__ */ s("div", { className: `${Y0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2119
2119
|
Vt,
|
|
2120
2120
|
{
|
|
2121
2121
|
initialViewState: n,
|
|
@@ -2131,7 +2131,7 @@ const Q0 = ({
|
|
|
2131
2131
|
At,
|
|
2132
2132
|
{
|
|
2133
2133
|
...b,
|
|
2134
|
-
children:
|
|
2134
|
+
children: h.length && h.map((f, v) => {
|
|
2135
2135
|
if (f.sourceId == b.id) return /* @__PURE__ */ s(
|
|
2136
2136
|
Ot,
|
|
2137
2137
|
{
|
|
@@ -2233,16 +2233,16 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2233
2233
|
interactiveLayers: l = [],
|
|
2234
2234
|
sources: c = [],
|
|
2235
2235
|
layers: u = [],
|
|
2236
|
-
filters:
|
|
2236
|
+
filters: h,
|
|
2237
2237
|
popUpParams: g,
|
|
2238
2238
|
onClosePopUp: _,
|
|
2239
2239
|
showTexts: y
|
|
2240
2240
|
}) => {
|
|
2241
|
-
console.log(
|
|
2242
|
-
const
|
|
2241
|
+
console.log(h);
|
|
2242
|
+
const m = ne();
|
|
2243
2243
|
return M(() => {
|
|
2244
|
-
if (
|
|
2245
|
-
const b =
|
|
2244
|
+
if (m.current) {
|
|
2245
|
+
const b = m.current.getMap();
|
|
2246
2246
|
b.getStyle().layers.map((f) => {
|
|
2247
2247
|
f.type == "symbol" && f.id != "professionals" && (y ? b.setLayoutProperty(f.id, "visibility", "visible") : b.setLayoutProperty(f.id, "visibility", "none"));
|
|
2248
2248
|
});
|
|
@@ -2257,7 +2257,7 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2257
2257
|
{
|
|
2258
2258
|
mapLib: ke,
|
|
2259
2259
|
initialViewState: n,
|
|
2260
|
-
ref:
|
|
2260
|
+
ref: m,
|
|
2261
2261
|
hash: !1,
|
|
2262
2262
|
maxZoom: d,
|
|
2263
2263
|
minZoom: i,
|
|
@@ -2275,7 +2275,7 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2275
2275
|
{
|
|
2276
2276
|
...f.layer,
|
|
2277
2277
|
beforeId: t,
|
|
2278
|
-
filter:
|
|
2278
|
+
filter: h && h
|
|
2279
2279
|
},
|
|
2280
2280
|
v
|
|
2281
2281
|
);
|
|
@@ -2415,7 +2415,7 @@ const pn = Kt({
|
|
|
2415
2415
|
}, _n = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2416
2416
|
const [a, l] = L(d), c = Ft(), u = (f, v) => {
|
|
2417
2417
|
l(v), c(Te(v - 2e3));
|
|
2418
|
-
}, [
|
|
2418
|
+
}, [h, g] = L(!1), _ = () => {
|
|
2419
2419
|
g(!0);
|
|
2420
2420
|
}, y = () => {
|
|
2421
2421
|
g(!1);
|
|
@@ -2434,7 +2434,7 @@ const pn = Kt({
|
|
|
2434
2434
|
}
|
|
2435
2435
|
}, [v]);
|
|
2436
2436
|
})(() => {
|
|
2437
|
-
|
|
2437
|
+
h && (a != 2050 ? (l(a + 1), c(Te(a - 2e3 + 1))) : (l(2025), c(Te(25))));
|
|
2438
2438
|
}, 1e3);
|
|
2439
2439
|
const b = Ut({
|
|
2440
2440
|
palette: {
|
|
@@ -2488,8 +2488,8 @@ const pn = Kt({
|
|
|
2488
2488
|
}
|
|
2489
2489
|
),
|
|
2490
2490
|
o,
|
|
2491
|
-
!
|
|
2492
|
-
|
|
2491
|
+
!h && /* @__PURE__ */ s("button", { className: pe.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: mn, alt: "Play" }) }),
|
|
2492
|
+
h && /* @__PURE__ */ s("button", { className: pe.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: hn, alt: "Pause" }) })
|
|
2493
2493
|
]
|
|
2494
2494
|
}
|
|
2495
2495
|
) });
|
|
@@ -2631,9 +2631,9 @@ const Wn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2631
2631
|
elementButtons: l,
|
|
2632
2632
|
processTooltip: c,
|
|
2633
2633
|
defaultTooltip: u,
|
|
2634
|
-
showEye:
|
|
2634
|
+
showEye: h = !0
|
|
2635
2635
|
}) => {
|
|
2636
|
-
const { name: g, created_at: _, id: y, isBeingProcessed:
|
|
2636
|
+
const { name: g, created_at: _, id: y, isBeingProcessed: m } = n, [b, C] = L(!1), { t: f } = k();
|
|
2637
2637
|
return /* @__PURE__ */ p(
|
|
2638
2638
|
"div",
|
|
2639
2639
|
{
|
|
@@ -2641,7 +2641,7 @@ const Wn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2641
2641
|
style: { borderBottom: `1px solid ${t}` },
|
|
2642
2642
|
children: [
|
|
2643
2643
|
/* @__PURE__ */ s("div", { className: P.elementNameDate, onClick: () => d(y), children: Object.keys(a).map((v) => v === "name" ? /* @__PURE__ */ s("div", { className: P.elementNameContainer, children: /* @__PURE__ */ p("div", { className: P.elementName, children: [
|
|
2644
|
-
|
|
2644
|
+
h && (i ? /* @__PURE__ */ s(Gn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2645
2645
|
"img",
|
|
2646
2646
|
{
|
|
2647
2647
|
style: { marginRight: 9 },
|
|
@@ -2730,12 +2730,12 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2730
2730
|
containerStyles: r = {},
|
|
2731
2731
|
newElementButton: a,
|
|
2732
2732
|
//{label: 'text', onClick: function(), disabled}/null
|
|
2733
|
-
onClickElement: l = (
|
|
2733
|
+
onClickElement: l = (m) => console.log(`OnCLickElement: ${m}`),
|
|
2734
2734
|
columns: c,
|
|
2735
2735
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2736
2736
|
elementButtons: u,
|
|
2737
2737
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2738
|
-
moreInfo:
|
|
2738
|
+
moreInfo: h = !1,
|
|
2739
2739
|
//{label: 'x'}
|
|
2740
2740
|
processTooltip: g,
|
|
2741
2741
|
//texto para el tooltip del simbolo "En proceso"
|
|
@@ -2743,7 +2743,7 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2743
2743
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2744
2744
|
showEye: y = !0
|
|
2745
2745
|
}) => {
|
|
2746
|
-
const { t:
|
|
2746
|
+
const { t: m } = k(), [b, C] = L(n);
|
|
2747
2747
|
M(() => {
|
|
2748
2748
|
n && C(n);
|
|
2749
2749
|
}, [n]);
|
|
@@ -2766,12 +2766,12 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2766
2766
|
style: { borderBottom: `1px solid ${i}` },
|
|
2767
2767
|
children: [
|
|
2768
2768
|
/* @__PURE__ */ s("div", { className: Z.nameDateContainer, children: Object.keys(c).map((v) => v === "name" ? /* @__PURE__ */ s("div", { className: Z.elementName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
2769
|
-
/* @__PURE__ */ s("span", { children:
|
|
2769
|
+
/* @__PURE__ */ s("span", { children: m(c.name) }),
|
|
2770
2770
|
/* @__PURE__ */ s("img", { src: nt, alt: "order arrow" })
|
|
2771
2771
|
] }) }, v) : v === "data" ? /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
2772
|
-
/* @__PURE__ */ s("span", { children:
|
|
2772
|
+
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2773
2773
|
/* @__PURE__ */ s("img", { src: nt, alt: "order arrow" })
|
|
2774
|
-
] }) }, v) : /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ s("span", { children:
|
|
2774
|
+
] }) }, v) : /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ s("span", { children: m(c[v]) }) }, v)) }),
|
|
2775
2775
|
/* @__PURE__ */ s("div", { className: Z.buttonsContainer })
|
|
2776
2776
|
]
|
|
2777
2777
|
}
|
|
@@ -2786,7 +2786,7 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2786
2786
|
onClickElement: l,
|
|
2787
2787
|
columns: c,
|
|
2788
2788
|
elementButtons: u,
|
|
2789
|
-
moreInfo:
|
|
2789
|
+
moreInfo: h,
|
|
2790
2790
|
processTooltip: g,
|
|
2791
2791
|
defaultTooltip: _,
|
|
2792
2792
|
showEye: y
|
|
@@ -2800,7 +2800,7 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2800
2800
|
onClick: a.onClick,
|
|
2801
2801
|
borderColor: "grey",
|
|
2802
2802
|
disabled: a.disabled || !1,
|
|
2803
|
-
children:
|
|
2803
|
+
children: m(a.label)
|
|
2804
2804
|
}
|
|
2805
2805
|
) })
|
|
2806
2806
|
]
|
|
@@ -2963,7 +2963,7 @@ function gi(n) {
|
|
|
2963
2963
|
values: !0
|
|
2964
2964
|
},
|
|
2965
2965
|
exact: a,
|
|
2966
|
-
callback: (
|
|
2966
|
+
callback: (h) => !r && u(hi(o, i._names, h.values || i._formValues, !1, l.current))
|
|
2967
2967
|
}), [o, i, r, a]), S.useEffect(() => i._removeUnmounted()), c;
|
|
2968
2968
|
}
|
|
2969
2969
|
function Ci(n) {
|
|
@@ -2976,7 +2976,7 @@ function Ci(n) {
|
|
|
2976
2976
|
control: t,
|
|
2977
2977
|
name: i,
|
|
2978
2978
|
exact: !0
|
|
2979
|
-
}), u = S.useRef(n),
|
|
2979
|
+
}), u = S.useRef(n), h = S.useRef(t.register(i, {
|
|
2980
2980
|
...n.rules,
|
|
2981
2981
|
value: l,
|
|
2982
2982
|
...Le(n.disabled) ? { disabled: n.disabled } : {}
|
|
@@ -3001,19 +3001,19 @@ function Ci(n) {
|
|
|
3001
3001
|
enumerable: !0,
|
|
3002
3002
|
get: () => I(c.errors, i)
|
|
3003
3003
|
}
|
|
3004
|
-
}), [c, i]), _ = S.useCallback((C) =>
|
|
3004
|
+
}), [c, i]), _ = S.useCallback((C) => h.current.onChange({
|
|
3005
3005
|
target: {
|
|
3006
3006
|
value: oi(C),
|
|
3007
3007
|
name: i
|
|
3008
3008
|
},
|
|
3009
3009
|
type: st.CHANGE
|
|
3010
|
-
}), [i]), y = S.useCallback(() =>
|
|
3010
|
+
}), [i]), y = S.useCallback(() => h.current.onBlur({
|
|
3011
3011
|
target: {
|
|
3012
3012
|
value: I(t._formValues, i),
|
|
3013
3013
|
name: i
|
|
3014
3014
|
},
|
|
3015
3015
|
type: st.BLUR
|
|
3016
|
-
}), [i, t._formValues]),
|
|
3016
|
+
}), [i, t._formValues]), m = S.useCallback((C) => {
|
|
3017
3017
|
const f = I(t._fields, i);
|
|
3018
3018
|
f && C && (f._f.ref = {
|
|
3019
3019
|
focus: () => C.focus && C.focus(),
|
|
@@ -3027,8 +3027,8 @@ function Ci(n) {
|
|
|
3027
3027
|
...Le(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3028
3028
|
onChange: _,
|
|
3029
3029
|
onBlur: y,
|
|
3030
|
-
ref:
|
|
3031
|
-
}), [i, o, c.disabled, _, y,
|
|
3030
|
+
ref: m
|
|
3031
|
+
}), [i, o, c.disabled, _, y, m, l]);
|
|
3032
3032
|
return S.useEffect(() => {
|
|
3033
3033
|
const C = t._options.shouldUnregister || r;
|
|
3034
3034
|
t.register(i, {
|
|
@@ -3083,12 +3083,12 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3083
3083
|
validateFunction: l,
|
|
3084
3084
|
placeholder: c,
|
|
3085
3085
|
errorColor: u = "red",
|
|
3086
|
-
width:
|
|
3086
|
+
width: h = 325,
|
|
3087
3087
|
onClickForgotPass: g = () => {
|
|
3088
3088
|
console.log("Click on forgot password");
|
|
3089
3089
|
},
|
|
3090
3090
|
forgotPassLabel: _ = "forgot-password"
|
|
3091
|
-
} = n, { t: y } = k(), { control:
|
|
3091
|
+
} = n, { t: y } = k(), { control: m, trigger: b, clearErrors: C } = d, [f, v] = L(!1), N = ne(a);
|
|
3092
3092
|
M(() => {
|
|
3093
3093
|
N.current !== a && (a ? b(i) : C(i), N.current = a);
|
|
3094
3094
|
}, [a, i, b, C]);
|
|
@@ -3097,7 +3097,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3097
3097
|
Ne,
|
|
3098
3098
|
{
|
|
3099
3099
|
name: i,
|
|
3100
|
-
control:
|
|
3100
|
+
control: m,
|
|
3101
3101
|
rules: {
|
|
3102
3102
|
required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3103
3103
|
maxLength: r || void 0,
|
|
@@ -3114,7 +3114,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3114
3114
|
/* @__PURE__ */ p(
|
|
3115
3115
|
"div",
|
|
3116
3116
|
{
|
|
3117
|
-
style: { position: "relative", width:
|
|
3117
|
+
style: { position: "relative", width: h },
|
|
3118
3118
|
className: he.inputContainer,
|
|
3119
3119
|
children: [
|
|
3120
3120
|
/* @__PURE__ */ s(
|
|
@@ -3173,12 +3173,12 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3173
3173
|
validateFunction: l,
|
|
3174
3174
|
placeholder: c,
|
|
3175
3175
|
errorColor: u = "red",
|
|
3176
|
-
width:
|
|
3176
|
+
width: h = 325,
|
|
3177
3177
|
options: g = []
|
|
3178
|
-
} = n, { t: _ } = k(), { control: y, trigger:
|
|
3178
|
+
} = n, { t: _ } = k(), { control: y, trigger: m, clearErrors: b } = d, C = ne(a);
|
|
3179
3179
|
return M(() => {
|
|
3180
|
-
C.current !== a && (a ?
|
|
3181
|
-
}, [a, i,
|
|
3180
|
+
C.current !== a && (a ? m(i) : b(i), C.current = a);
|
|
3181
|
+
}, [a, i, m, b]), /* @__PURE__ */ s(
|
|
3182
3182
|
Ne,
|
|
3183
3183
|
{
|
|
3184
3184
|
name: i,
|
|
@@ -3195,7 +3195,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3195
3195
|
" ",
|
|
3196
3196
|
a && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
|
|
3197
3197
|
] }),
|
|
3198
|
-
/* @__PURE__ */ p("div", { className: le.inputContainer, style: { width:
|
|
3198
|
+
/* @__PURE__ */ p("div", { className: le.inputContainer, style: { width: h }, children: [
|
|
3199
3199
|
/* @__PURE__ */ p(
|
|
3200
3200
|
"select",
|
|
3201
3201
|
{
|
|
@@ -3255,12 +3255,12 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3255
3255
|
errorColor: a = "red",
|
|
3256
3256
|
options: l = [],
|
|
3257
3257
|
multi: c = !1
|
|
3258
|
-
} = n, { t: u } = k(), { control:
|
|
3258
|
+
} = n, { t: u } = k(), { control: h, trigger: g, clearErrors: _ } = d, y = ({ options: C, onChange: f, actualValue: v }) => {
|
|
3259
3259
|
if (c && v && v.length > 0) {
|
|
3260
3260
|
let N = v.filter((x) => x !== C);
|
|
3261
3261
|
f(N);
|
|
3262
3262
|
}
|
|
3263
|
-
},
|
|
3263
|
+
}, m = ({ options: C, onChange: f, actualValue: v }) => {
|
|
3264
3264
|
c ? v && v.length > 0 ? f([...v, C]) : f([C]) : f(C);
|
|
3265
3265
|
}, b = ne(t);
|
|
3266
3266
|
return M(() => {
|
|
@@ -3268,7 +3268,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3268
3268
|
}, [t, i, g, _]), /* @__PURE__ */ s(
|
|
3269
3269
|
Ne,
|
|
3270
3270
|
{
|
|
3271
|
-
control:
|
|
3271
|
+
control: h,
|
|
3272
3272
|
name: i,
|
|
3273
3273
|
rules: {
|
|
3274
3274
|
validate: (C) => t && (C == null || C === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
@@ -3318,7 +3318,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3318
3318
|
actualValue: N,
|
|
3319
3319
|
options: l,
|
|
3320
3320
|
onChange: f
|
|
3321
|
-
}) :
|
|
3321
|
+
}) : m({
|
|
3322
3322
|
actualValue: N,
|
|
3323
3323
|
options: l,
|
|
3324
3324
|
onChange: f
|
|
@@ -3364,11 +3364,11 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3364
3364
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3365
3365
|
required: c,
|
|
3366
3366
|
errorColor: u = "red",
|
|
3367
|
-
labelWidth:
|
|
3367
|
+
labelWidth: h = "300px",
|
|
3368
3368
|
sliderWidth: g = "300px",
|
|
3369
3369
|
minText: _,
|
|
3370
3370
|
maxText: y,
|
|
3371
|
-
disabled:
|
|
3371
|
+
disabled: m = !1,
|
|
3372
3372
|
marks: b = Array.from({ length: r - t + 1 }, (T, j) => t + j),
|
|
3373
3373
|
showMarksNumber: C = !0
|
|
3374
3374
|
} = n, { t: f } = k(), { control: v, trigger: N, clearErrors: x } = d || {}, w = ne(c), [B, $] = L(a);
|
|
@@ -3389,7 +3389,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3389
3389
|
"div",
|
|
3390
3390
|
{
|
|
3391
3391
|
className: D.rankingSliderContainer,
|
|
3392
|
-
style: { gridTemplateColumns: `${
|
|
3392
|
+
style: { gridTemplateColumns: `${h} ${g}` },
|
|
3393
3393
|
children: [
|
|
3394
3394
|
o && /* @__PURE__ */ s("p", { className: D.labelContainer, children: f(o) }),
|
|
3395
3395
|
/* @__PURE__ */ p("div", { className: D.inputContainer, children: [
|
|
@@ -3409,7 +3409,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3409
3409
|
renderThumb: (q) => /* @__PURE__ */ s("div", { ...q, style: { ...q.style, backgroundColor: l } }),
|
|
3410
3410
|
trackClassName: D.track,
|
|
3411
3411
|
markClassName: D.mark,
|
|
3412
|
-
disabled:
|
|
3412
|
+
disabled: m
|
|
3413
3413
|
}
|
|
3414
3414
|
),
|
|
3415
3415
|
b && /* @__PURE__ */ s("div", { className: D.labels, children: b.map((q) => /* @__PURE__ */ s("span", { children: C && q }, q)) })
|
|
@@ -3432,7 +3432,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3432
3432
|
"div",
|
|
3433
3433
|
{
|
|
3434
3434
|
className: D.rankingSliderContainer,
|
|
3435
|
-
style: { gridTemplateColumns: `${
|
|
3435
|
+
style: { gridTemplateColumns: `${h} ${g}` },
|
|
3436
3436
|
children: [
|
|
3437
3437
|
o && /* @__PURE__ */ s("p", { className: D.labelContainer, children: f(o) }),
|
|
3438
3438
|
/* @__PURE__ */ p("div", { className: D.inputContainer, children: [
|
|
@@ -3451,7 +3451,8 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3451
3451
|
thumbClassName: D.thumb,
|
|
3452
3452
|
renderThumb: (T) => /* @__PURE__ */ s("div", { ...T, style: { ...T.style, backgroundColor: l } }),
|
|
3453
3453
|
trackClassName: D.track,
|
|
3454
|
-
markClassName: D.mark
|
|
3454
|
+
markClassName: D.mark,
|
|
3455
|
+
disabled: m
|
|
3455
3456
|
}
|
|
3456
3457
|
),
|
|
3457
3458
|
b && /* @__PURE__ */ s("div", { className: D.labels, children: b.map((T) => /* @__PURE__ */ s("span", { children: C && T }, T)) })
|
|
@@ -3593,27 +3594,27 @@ const Ve = ({
|
|
|
3593
3594
|
submitButtonStyles: l = { width: 325 },
|
|
3594
3595
|
activeCategory: c = null,
|
|
3595
3596
|
// If provided, only the category with this categoryId will be displayed.
|
|
3596
|
-
onSubmit: u = (
|
|
3597
|
+
onSubmit: u = (h) => console.log("Form submitted with data: ", h)
|
|
3597
3598
|
}) => {
|
|
3598
3599
|
const {
|
|
3599
|
-
handleSubmit:
|
|
3600
|
+
handleSubmit: h,
|
|
3600
3601
|
control: g,
|
|
3601
3602
|
formState: { errors: _ }
|
|
3602
3603
|
} = n, { t: y } = k();
|
|
3603
|
-
return /* @__PURE__ */ p("form", { className: Fe.formContainer, onSubmit:
|
|
3604
|
-
/* @__PURE__ */ s("div", { className: Fe.formObjectContainer, children: d && d.map((
|
|
3605
|
-
const { inputs: C } =
|
|
3606
|
-
return
|
|
3604
|
+
return /* @__PURE__ */ p("form", { className: Fe.formContainer, onSubmit: h(u), children: [
|
|
3605
|
+
/* @__PURE__ */ s("div", { className: Fe.formObjectContainer, children: d && d.map((m, b) => {
|
|
3606
|
+
const { inputs: C } = m;
|
|
3607
|
+
return m.category ? i ? /* @__PURE__ */ s(
|
|
3607
3608
|
"div",
|
|
3608
3609
|
{
|
|
3609
3610
|
style: {
|
|
3610
|
-
display: c &&
|
|
3611
|
+
display: c && m.categoryId !== c ? "none" : "inherit",
|
|
3611
3612
|
width: "100%"
|
|
3612
3613
|
},
|
|
3613
3614
|
children: /* @__PURE__ */ s(
|
|
3614
3615
|
i,
|
|
3615
3616
|
{
|
|
3616
|
-
title:
|
|
3617
|
+
title: m.category,
|
|
3617
3618
|
children: /* @__PURE__ */ s(
|
|
3618
3619
|
Ve,
|
|
3619
3620
|
{
|
|
@@ -3625,7 +3626,7 @@ const Ve = ({
|
|
|
3625
3626
|
}
|
|
3626
3627
|
)
|
|
3627
3628
|
},
|
|
3628
|
-
`${
|
|
3629
|
+
`${m.category}${b}`
|
|
3629
3630
|
)
|
|
3630
3631
|
}
|
|
3631
3632
|
) : /* @__PURE__ */ p(
|
|
@@ -3633,11 +3634,11 @@ const Ve = ({
|
|
|
3633
3634
|
{
|
|
3634
3635
|
style: {
|
|
3635
3636
|
width: "100%",
|
|
3636
|
-
display: c &&
|
|
3637
|
+
display: c && m.categoryId !== c ? "none" : "flex",
|
|
3637
3638
|
flexDirection: "column"
|
|
3638
3639
|
},
|
|
3639
3640
|
children: [
|
|
3640
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: y(
|
|
3641
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: y(m.category) }),
|
|
3641
3642
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3642
3643
|
Ve,
|
|
3643
3644
|
{
|
|
@@ -3650,7 +3651,7 @@ const Ve = ({
|
|
|
3650
3651
|
) })
|
|
3651
3652
|
]
|
|
3652
3653
|
},
|
|
3653
|
-
`${
|
|
3654
|
+
`${m.category}${b}`
|
|
3654
3655
|
) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3655
3656
|
Ve,
|
|
3656
3657
|
{
|