@opencitylabs/formio-custom-components 0.4.15 → 0.5.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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +889 -889
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import bn, { useRef as pt, useState as
|
|
1
|
+
import bn, { useRef as pt, useState as oe, useEffect as Ne, useMemo as xi } from "react";
|
|
2
2
|
import { Formio as Et, Components as Ic } from "@formio/js";
|
|
3
3
|
import { createRoot as It } from "react-dom/client";
|
|
4
4
|
import { Components as Jt } from "@formio/react";
|
|
5
5
|
import { DayPicker as xr } from "react-day-picker";
|
|
6
|
-
import
|
|
6
|
+
import Zo from "react-countdown";
|
|
7
7
|
import de from "moment";
|
|
8
|
-
import { Icon as Xe, Alert as
|
|
8
|
+
import { Icon as Xe, Alert as Qo, Modal as Mr, ModalHeader as Sr, ModalBody as Dr, Input as mn, ModalFooter as kr, Button as jt, Select as Qr, Spinner as Fc, Progress as es, Container as Vc, Row as ea, Col as vr } from "design-react-kit";
|
|
9
9
|
import qe from "sweetalert2";
|
|
10
10
|
import "i18next";
|
|
11
11
|
import we from "dayjs";
|
|
@@ -13,26 +13,26 @@ import { createCalendar as zc, TimeGrid as Lc } from "@event-calendar/core";
|
|
|
13
13
|
import { useDropzone as Wc } from "react-dropzone";
|
|
14
14
|
import Ut from "axios";
|
|
15
15
|
import Hc from "mime";
|
|
16
|
-
import
|
|
16
|
+
import ts from "dompurify";
|
|
17
17
|
import { jwtDecode as qc } from "jwt-decode";
|
|
18
18
|
import Gt, { tileLayer as $c } from "leaflet";
|
|
19
19
|
import Bc, { debounce as Uc } from "lodash";
|
|
20
20
|
var yr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
21
|
-
function wn(
|
|
22
|
-
return
|
|
21
|
+
function wn(s) {
|
|
22
|
+
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
23
23
|
}
|
|
24
24
|
var _r = { exports: {} }, rr = {};
|
|
25
25
|
var Mi;
|
|
26
26
|
function Gc() {
|
|
27
27
|
if (Mi) return rr;
|
|
28
28
|
Mi = 1;
|
|
29
|
-
var
|
|
29
|
+
var s = bn, o = /* @__PURE__ */ Symbol.for("react.element"), u = /* @__PURE__ */ Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, b = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, M = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
30
30
|
function I(l, y, r) {
|
|
31
31
|
var c, h = {}, f = null, p = null;
|
|
32
32
|
r !== void 0 && (f = "" + r), y.key !== void 0 && (f = "" + y.key), y.ref !== void 0 && (p = y.ref);
|
|
33
33
|
for (c in y) i.call(y, c) && !M.hasOwnProperty(c) && (h[c] = y[c]);
|
|
34
34
|
if (l && l.defaultProps) for (c in y = l.defaultProps, y) h[c] === void 0 && (h[c] = y[c]);
|
|
35
|
-
return { $$typeof:
|
|
35
|
+
return { $$typeof: o, type: l, key: f, ref: p, props: h, _owner: b.current };
|
|
36
36
|
}
|
|
37
37
|
return rr.Fragment = u, rr.jsx = I, rr.jsxs = I, rr;
|
|
38
38
|
}
|
|
@@ -40,14 +40,14 @@ var ar = {};
|
|
|
40
40
|
var Si;
|
|
41
41
|
function Jc() {
|
|
42
42
|
return Si || (Si = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
43
|
-
var
|
|
43
|
+
var s = bn, o = /* @__PURE__ */ Symbol.for("react.element"), u = /* @__PURE__ */ Symbol.for("react.portal"), i = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), M = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.provider"), l = /* @__PURE__ */ Symbol.for("react.context"), y = /* @__PURE__ */ Symbol.for("react.forward_ref"), r = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, Y = "@@iterator";
|
|
44
44
|
function _(w) {
|
|
45
45
|
if (w === null || typeof w != "object")
|
|
46
46
|
return null;
|
|
47
47
|
var U = g && w[g] || w[Y];
|
|
48
48
|
return typeof U == "function" ? U : null;
|
|
49
49
|
}
|
|
50
|
-
var k =
|
|
50
|
+
var k = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function C(w) {
|
|
52
52
|
{
|
|
53
53
|
for (var U = arguments.length, Z = new Array(U > 1 ? U - 1 : 0), le = 1; le < U; le++)
|
|
@@ -133,7 +133,7 @@ function Jc() {
|
|
|
133
133
|
function fe() {
|
|
134
134
|
}
|
|
135
135
|
fe.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function se() {
|
|
137
137
|
{
|
|
138
138
|
if (B === 0) {
|
|
139
139
|
Q = console.log, ne = console.info, te = console.warn, he = console.error, ee = console.group, ce = console.groupCollapsed, ge = console.groupEnd;
|
|
@@ -223,7 +223,7 @@ function Jc() {
|
|
|
223
223
|
var ve = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var Me;
|
|
226
|
-
Me = Pe.current, Pe.current = null,
|
|
226
|
+
Me = Pe.current, Pe.current = null, se();
|
|
227
227
|
try {
|
|
228
228
|
if (U) {
|
|
229
229
|
var xe = function() {
|
|
@@ -368,12 +368,12 @@ function Jc() {
|
|
|
368
368
|
if (Re(w))
|
|
369
369
|
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(w)), dt(w);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var ot = k.ReactCurrentOwner, Tt = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
},
|
|
376
|
+
}, st, Ce;
|
|
377
377
|
function Pt(w) {
|
|
378
378
|
if (W.call(w, "ref")) {
|
|
379
379
|
var U = Object.getOwnPropertyDescriptor(w, "ref").get;
|
|
@@ -391,12 +391,12 @@ function Jc() {
|
|
|
391
391
|
return w.key !== void 0;
|
|
392
392
|
}
|
|
393
393
|
function lt(w, U) {
|
|
394
|
-
typeof w.ref == "string" &&
|
|
394
|
+
typeof w.ref == "string" && ot.current;
|
|
395
395
|
}
|
|
396
396
|
function gt(w, U) {
|
|
397
397
|
{
|
|
398
398
|
var Z = function() {
|
|
399
|
-
|
|
399
|
+
st || (st = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", U));
|
|
400
400
|
};
|
|
401
401
|
Z.isReactWarning = !0, Object.defineProperty(w, "key", {
|
|
402
402
|
get: Z,
|
|
@@ -418,7 +418,7 @@ function Jc() {
|
|
|
418
418
|
var rt = function(w, U, Z, le, ve, Me, xe) {
|
|
419
419
|
var be = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof:
|
|
421
|
+
$$typeof: o,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: w,
|
|
424
424
|
key: U,
|
|
@@ -459,7 +459,7 @@ function Jc() {
|
|
|
459
459
|
var Le = typeof w == "function" ? w.displayName || w.name || "Unknown" : w;
|
|
460
460
|
be && gt(xe, Le), He && ht(xe, Le);
|
|
461
461
|
}
|
|
462
|
-
return rt(w, be, He, ve, le,
|
|
462
|
+
return rt(w, be, He, ve, le, ot.current, xe);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
var yt = k.ReactCurrentOwner, We = k.ReactDebugCurrentFrame;
|
|
@@ -473,7 +473,7 @@ function Jc() {
|
|
|
473
473
|
var ut;
|
|
474
474
|
ut = !1;
|
|
475
475
|
function at(w) {
|
|
476
|
-
return typeof w == "object" && w !== null && w.$$typeof ===
|
|
476
|
+
return typeof w == "object" && w !== null && w.$$typeof === o;
|
|
477
477
|
}
|
|
478
478
|
function et() {
|
|
479
479
|
{
|
|
@@ -582,7 +582,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
582
582
|
var He = Vt();
|
|
583
583
|
He ? be += He : be += et();
|
|
584
584
|
var Fe;
|
|
585
|
-
w === null ? Fe = "null" : ye(w) ? Fe = "array" : w !== void 0 && w.$$typeof ===
|
|
585
|
+
w === null ? Fe = "null" : ye(w) ? Fe = "array" : w !== void 0 && w.$$typeof === o ? (Fe = "<" + (E(w.type) || "Unknown") + " />", be = " Did you accidentally export a JSX literal instead of a component?") : Fe = typeof w, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Fe, be);
|
|
586
586
|
}
|
|
587
587
|
var Le = vt(w, U, Z, ve, Me);
|
|
588
588
|
if (Le == null)
|
|
@@ -632,20 +632,20 @@ function Kc() {
|
|
|
632
632
|
return Di || (Di = 1, process.env.NODE_ENV === "production" ? _r.exports = Gc() : _r.exports = Jc()), _r.exports;
|
|
633
633
|
}
|
|
634
634
|
var m = Kc();
|
|
635
|
-
const ki = Et.Components.components.field, Xc = (
|
|
636
|
-
const
|
|
635
|
+
const ki = Et.Components.components.field, Xc = (s) => {
|
|
636
|
+
const o = pt();
|
|
637
637
|
return /* @__PURE__ */ m.jsx(
|
|
638
638
|
"div",
|
|
639
639
|
{
|
|
640
|
-
ref:
|
|
640
|
+
ref: o,
|
|
641
641
|
className: "row page-break-before pagebreak-container border border-info p-2 mb-2",
|
|
642
642
|
children: /* @__PURE__ */ m.jsx("div", { className: "col-12 text-center pagebreak-component", children: "Page break" })
|
|
643
643
|
}
|
|
644
644
|
);
|
|
645
645
|
};
|
|
646
646
|
class xn extends ki {
|
|
647
|
-
constructor(
|
|
648
|
-
super(
|
|
647
|
+
constructor(o, u, i) {
|
|
648
|
+
super(o, u, i);
|
|
649
649
|
}
|
|
650
650
|
static schema() {
|
|
651
651
|
return ki.schema({
|
|
@@ -675,8 +675,8 @@ class xn extends ki {
|
|
|
675
675
|
* @param element
|
|
676
676
|
* @returns {Promise}
|
|
677
677
|
*/
|
|
678
|
-
attach(
|
|
679
|
-
return super.attach(
|
|
678
|
+
attach(o) {
|
|
679
|
+
return super.attach(o).then(() => {
|
|
680
680
|
this.loadRefs(this.element, {
|
|
681
681
|
[`react-${this.id}`]: "single"
|
|
682
682
|
});
|
|
@@ -701,22 +701,22 @@ class xn extends ki {
|
|
|
701
701
|
* @param value
|
|
702
702
|
* @returns {boolean}
|
|
703
703
|
*/
|
|
704
|
-
setValue(
|
|
704
|
+
setValue(o) {
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
707
|
const Ae = () => {
|
|
708
|
-
const
|
|
708
|
+
const s = window.location, o = new RegExp(
|
|
709
709
|
"qa.bugliano.pi.it|localhost|opencity-labs.gitlab.io|form-builder-qa.stanzadelcittadino.it",
|
|
710
710
|
"g"
|
|
711
711
|
);
|
|
712
712
|
let u = null;
|
|
713
|
-
if (
|
|
713
|
+
if (o.test(s.hostname))
|
|
714
714
|
u = "https://servizi.comune-qa.bugliano.pi.it/lang";
|
|
715
715
|
else if (window.BASE_URL)
|
|
716
716
|
u = window.BASE_URL;
|
|
717
717
|
else {
|
|
718
|
-
const i =
|
|
719
|
-
u =
|
|
718
|
+
const i = s.pathname.split("/");
|
|
719
|
+
u = s.origin + "/" + i[1];
|
|
720
720
|
}
|
|
721
721
|
return u;
|
|
722
722
|
}, Zc = [
|
|
@@ -879,7 +879,7 @@ if(data.calendarId && data.api_url){
|
|
|
879
879
|
weight: 1
|
|
880
880
|
}
|
|
881
881
|
];
|
|
882
|
-
function Qc(...
|
|
882
|
+
function Qc(...s) {
|
|
883
883
|
return Jt.baseEditForm(
|
|
884
884
|
[
|
|
885
885
|
{
|
|
@@ -887,97 +887,97 @@ function Qc(...o) {
|
|
|
887
887
|
components: Zc
|
|
888
888
|
}
|
|
889
889
|
],
|
|
890
|
-
...
|
|
890
|
+
...s
|
|
891
891
|
);
|
|
892
892
|
}
|
|
893
|
-
function Dt(
|
|
894
|
-
return (
|
|
895
|
-
const u =
|
|
896
|
-
return
|
|
893
|
+
function Dt(s) {
|
|
894
|
+
return (o = {}) => {
|
|
895
|
+
const u = o.width ? String(o.width) : s.defaultWidth;
|
|
896
|
+
return s.formats[u] || s.formats[s.defaultWidth];
|
|
897
897
|
};
|
|
898
898
|
}
|
|
899
|
-
function Ze(
|
|
900
|
-
return (
|
|
899
|
+
function Ze(s) {
|
|
900
|
+
return (o, u) => {
|
|
901
901
|
const i = u?.context ? String(u.context) : "standalone";
|
|
902
902
|
let b;
|
|
903
|
-
if (i === "formatting" &&
|
|
904
|
-
const I =
|
|
905
|
-
b =
|
|
903
|
+
if (i === "formatting" && s.formattingValues) {
|
|
904
|
+
const I = s.defaultFormattingWidth || s.defaultWidth, l = u?.width ? String(u.width) : I;
|
|
905
|
+
b = s.formattingValues[l] || s.formattingValues[I];
|
|
906
906
|
} else {
|
|
907
|
-
const I =
|
|
908
|
-
b =
|
|
907
|
+
const I = s.defaultWidth, l = u?.width ? String(u.width) : s.defaultWidth;
|
|
908
|
+
b = s.values[l] || s.values[I];
|
|
909
909
|
}
|
|
910
|
-
const M =
|
|
910
|
+
const M = s.argumentCallback ? s.argumentCallback(o) : o;
|
|
911
911
|
return b[M];
|
|
912
912
|
};
|
|
913
913
|
}
|
|
914
|
-
function Qe(
|
|
915
|
-
return (
|
|
916
|
-
const i = u.width, b = i &&
|
|
914
|
+
function Qe(s) {
|
|
915
|
+
return (o, u = {}) => {
|
|
916
|
+
const i = u.width, b = i && s.matchPatterns[i] || s.matchPatterns[s.defaultMatchWidth], M = o.match(b);
|
|
917
917
|
if (!M)
|
|
918
918
|
return null;
|
|
919
|
-
const I = M[0], l = i &&
|
|
919
|
+
const I = M[0], l = i && s.parsePatterns[i] || s.parsePatterns[s.defaultParseWidth], y = Array.isArray(l) ? td(l, (h) => h.test(I)) : (
|
|
920
920
|
// [TODO] -- I challenge you to fix the type
|
|
921
921
|
ed(l, (h) => h.test(I))
|
|
922
922
|
);
|
|
923
923
|
let r;
|
|
924
|
-
r =
|
|
924
|
+
r = s.valueCallback ? s.valueCallback(y) : y, r = u.valueCallback ? (
|
|
925
925
|
// [TODO] -- I challenge you to fix the type
|
|
926
926
|
u.valueCallback(r)
|
|
927
927
|
) : r;
|
|
928
|
-
const c =
|
|
928
|
+
const c = o.slice(I.length);
|
|
929
929
|
return { value: r, rest: c };
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
|
-
function ed(
|
|
933
|
-
for (const u in
|
|
934
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
932
|
+
function ed(s, o) {
|
|
933
|
+
for (const u in s)
|
|
934
|
+
if (Object.prototype.hasOwnProperty.call(s, u) && o(s[u]))
|
|
935
935
|
return u;
|
|
936
936
|
}
|
|
937
|
-
function td(
|
|
938
|
-
for (let u = 0; u <
|
|
939
|
-
if (s
|
|
937
|
+
function td(s, o) {
|
|
938
|
+
for (let u = 0; u < s.length; u++)
|
|
939
|
+
if (o(s[u]))
|
|
940
940
|
return u;
|
|
941
941
|
}
|
|
942
|
-
function Mn(
|
|
943
|
-
return (
|
|
944
|
-
const i =
|
|
942
|
+
function Mn(s) {
|
|
943
|
+
return (o, u = {}) => {
|
|
944
|
+
const i = o.match(s.matchPattern);
|
|
945
945
|
if (!i) return null;
|
|
946
|
-
const b = i[0], M =
|
|
946
|
+
const b = i[0], M = o.match(s.parsePattern);
|
|
947
947
|
if (!M) return null;
|
|
948
|
-
let I =
|
|
948
|
+
let I = s.valueCallback ? s.valueCallback(M[0]) : M[0];
|
|
949
949
|
I = u.valueCallback ? u.valueCallback(I) : I;
|
|
950
|
-
const l =
|
|
950
|
+
const l = o.slice(b.length);
|
|
951
951
|
return { value: I, rest: l };
|
|
952
952
|
};
|
|
953
953
|
}
|
|
954
954
|
const Oi = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
955
|
-
function
|
|
956
|
-
return typeof
|
|
955
|
+
function rs(s, o) {
|
|
956
|
+
return typeof s == "function" ? s(o) : s && typeof s == "object" && Oi in s ? s[Oi](o) : s instanceof Date ? new s.constructor(o) : new Date(o);
|
|
957
957
|
}
|
|
958
|
-
function rd(
|
|
959
|
-
const u =
|
|
958
|
+
function rd(s, ...o) {
|
|
959
|
+
const u = rs.bind(
|
|
960
960
|
null,
|
|
961
|
-
|
|
961
|
+
s || o.find((i) => typeof i == "object")
|
|
962
962
|
);
|
|
963
|
-
return
|
|
963
|
+
return o.map(u);
|
|
964
964
|
}
|
|
965
965
|
let ad = {};
|
|
966
966
|
function nd() {
|
|
967
967
|
return ad;
|
|
968
968
|
}
|
|
969
|
-
function id(
|
|
970
|
-
return
|
|
969
|
+
function id(s, o) {
|
|
970
|
+
return rs(o || s, s);
|
|
971
971
|
}
|
|
972
|
-
function Yi(
|
|
973
|
-
const u = nd(), i =
|
|
972
|
+
function Yi(s, o) {
|
|
973
|
+
const u = nd(), i = o?.weekStartsOn ?? o?.locale?.options?.weekStartsOn ?? u.weekStartsOn ?? u.locale?.options?.weekStartsOn ?? 0, b = id(s, o?.in), M = b.getDay(), I = (M < i ? 7 : 0) + M - i;
|
|
974
974
|
return b.setDate(b.getDate() - I), b.setHours(0, 0, 0, 0), b;
|
|
975
975
|
}
|
|
976
|
-
function Ci(
|
|
976
|
+
function Ci(s, o, u) {
|
|
977
977
|
const [i, b] = rd(
|
|
978
978
|
u?.in,
|
|
979
|
-
|
|
980
|
-
|
|
979
|
+
s,
|
|
980
|
+
o
|
|
981
981
|
);
|
|
982
982
|
return +Yi(i, u) == +Yi(b, u);
|
|
983
983
|
}
|
|
@@ -1136,11 +1136,11 @@ const ji = {
|
|
|
1136
1136
|
other: "fast {{count}} Jahren"
|
|
1137
1137
|
}
|
|
1138
1138
|
}
|
|
1139
|
-
},
|
|
1139
|
+
}, od = (s, o, u) => {
|
|
1140
1140
|
let i;
|
|
1141
|
-
const b = u?.addSuffix ? ji[
|
|
1142
|
-
return typeof b == "string" ? i = b :
|
|
1143
|
-
},
|
|
1141
|
+
const b = u?.addSuffix ? ji[s].withPreposition : ji[s].standalone;
|
|
1142
|
+
return typeof b == "string" ? i = b : o === 1 ? i = b.one : i = b.other.replace("{{count}}", String(o)), u?.addSuffix ? u.comparison && u.comparison > 0 ? "in " + i : "vor " + i : i;
|
|
1143
|
+
}, sd = {
|
|
1144
1144
|
full: "EEEE, do MMMM y",
|
|
1145
1145
|
// Montag, 7. Januar 2018
|
|
1146
1146
|
long: "do MMMM y",
|
|
@@ -1161,7 +1161,7 @@ const ji = {
|
|
|
1161
1161
|
short: "{{date}} {{time}}"
|
|
1162
1162
|
}, cd = {
|
|
1163
1163
|
date: Dt({
|
|
1164
|
-
formats:
|
|
1164
|
+
formats: sd,
|
|
1165
1165
|
defaultWidth: "full"
|
|
1166
1166
|
}),
|
|
1167
1167
|
time: Dt({
|
|
@@ -1179,7 +1179,7 @@ const ji = {
|
|
|
1179
1179
|
tomorrow: "'morgen um' p",
|
|
1180
1180
|
nextWeek: "eeee 'um' p",
|
|
1181
1181
|
other: "P"
|
|
1182
|
-
}, hd = (
|
|
1182
|
+
}, hd = (s, o, u, i) => dd[s], fd = {
|
|
1183
1183
|
narrow: ["v.Chr.", "n.Chr."],
|
|
1184
1184
|
abbreviated: ["v.Chr.", "n.Chr."],
|
|
1185
1185
|
wide: ["vor Christus", "nach Christus"]
|
|
@@ -1309,7 +1309,7 @@ const ji = {
|
|
|
1309
1309
|
evening: "abends",
|
|
1310
1310
|
night: "nachts"
|
|
1311
1311
|
}
|
|
1312
|
-
}, _d = (
|
|
1312
|
+
}, _d = (s) => Number(s) + ".", bd = {
|
|
1313
1313
|
ordinalNumber: _d,
|
|
1314
1314
|
era: Ze({
|
|
1315
1315
|
values: fd,
|
|
@@ -1318,7 +1318,7 @@ const ji = {
|
|
|
1318
1318
|
quarter: Ze({
|
|
1319
1319
|
values: md,
|
|
1320
1320
|
defaultWidth: "wide",
|
|
1321
|
-
argumentCallback: (
|
|
1321
|
+
argumentCallback: (s) => s - 1
|
|
1322
1322
|
}),
|
|
1323
1323
|
month: Ze({
|
|
1324
1324
|
values: pn,
|
|
@@ -1408,7 +1408,7 @@ const ji = {
|
|
|
1408
1408
|
ordinalNumber: Mn({
|
|
1409
1409
|
matchPattern: wd,
|
|
1410
1410
|
parsePattern: xd,
|
|
1411
|
-
valueCallback: (
|
|
1411
|
+
valueCallback: (s) => parseInt(s)
|
|
1412
1412
|
}),
|
|
1413
1413
|
era: Qe({
|
|
1414
1414
|
matchPatterns: Md,
|
|
@@ -1421,7 +1421,7 @@ const ji = {
|
|
|
1421
1421
|
defaultMatchWidth: "wide",
|
|
1422
1422
|
parsePatterns: kd,
|
|
1423
1423
|
defaultParseWidth: "any",
|
|
1424
|
-
valueCallback: (
|
|
1424
|
+
valueCallback: (s) => s + 1
|
|
1425
1425
|
}),
|
|
1426
1426
|
month: Qe({
|
|
1427
1427
|
matchPatterns: Od,
|
|
@@ -1441,9 +1441,9 @@ const ji = {
|
|
|
1441
1441
|
parsePatterns: Pd,
|
|
1442
1442
|
defaultParseWidth: "any"
|
|
1443
1443
|
})
|
|
1444
|
-
},
|
|
1444
|
+
}, as = {
|
|
1445
1445
|
code: "de",
|
|
1446
|
-
formatDistance:
|
|
1446
|
+
formatDistance: od,
|
|
1447
1447
|
formatLong: cd,
|
|
1448
1448
|
formatRelative: hd,
|
|
1449
1449
|
localize: bd,
|
|
@@ -1514,10 +1514,10 @@ const ji = {
|
|
|
1514
1514
|
one: "almost 1 year",
|
|
1515
1515
|
other: "almost {{count}} years"
|
|
1516
1516
|
}
|
|
1517
|
-
}, Ad = (
|
|
1517
|
+
}, Ad = (s, o, u) => {
|
|
1518
1518
|
let i;
|
|
1519
|
-
const b = Rd[
|
|
1520
|
-
return typeof b == "string" ? i = b :
|
|
1519
|
+
const b = Rd[s];
|
|
1520
|
+
return typeof b == "string" ? i = b : o === 1 ? i = b.one : i = b.other.replace("{{count}}", o.toString()), u?.addSuffix ? u.comparison && u.comparison > 0 ? "in " + i : i + " ago" : i;
|
|
1521
1521
|
}, Ed = {
|
|
1522
1522
|
lastWeek: "'last' eeee 'at' p",
|
|
1523
1523
|
yesterday: "'yesterday at' p",
|
|
@@ -1525,7 +1525,7 @@ const ji = {
|
|
|
1525
1525
|
tomorrow: "'tomorrow at' p",
|
|
1526
1526
|
nextWeek: "eeee 'at' p",
|
|
1527
1527
|
other: "P"
|
|
1528
|
-
}, Id = (
|
|
1528
|
+
}, Id = (s, o, u, i) => Ed[s], Fd = {
|
|
1529
1529
|
narrow: ["B", "A"],
|
|
1530
1530
|
abbreviated: ["BC", "AD"],
|
|
1531
1531
|
wide: ["Before Christ", "Anno Domini"]
|
|
@@ -1638,8 +1638,8 @@ const ji = {
|
|
|
1638
1638
|
evening: "in the evening",
|
|
1639
1639
|
night: "at night"
|
|
1640
1640
|
}
|
|
1641
|
-
}, qd = (
|
|
1642
|
-
const u = Number(
|
|
1641
|
+
}, qd = (s, o) => {
|
|
1642
|
+
const u = Number(s), i = u % 100;
|
|
1643
1643
|
if (i > 20 || i < 10)
|
|
1644
1644
|
switch (i % 10) {
|
|
1645
1645
|
case 1:
|
|
@@ -1659,7 +1659,7 @@ const ji = {
|
|
|
1659
1659
|
quarter: Ze({
|
|
1660
1660
|
values: Vd,
|
|
1661
1661
|
defaultWidth: "wide",
|
|
1662
|
-
argumentCallback: (
|
|
1662
|
+
argumentCallback: (s) => s - 1
|
|
1663
1663
|
}),
|
|
1664
1664
|
month: Ze({
|
|
1665
1665
|
values: zd,
|
|
@@ -1746,7 +1746,7 @@ const ji = {
|
|
|
1746
1746
|
ordinalNumber: Mn({
|
|
1747
1747
|
matchPattern: Bd,
|
|
1748
1748
|
parsePattern: Ud,
|
|
1749
|
-
valueCallback: (
|
|
1749
|
+
valueCallback: (s) => parseInt(s, 10)
|
|
1750
1750
|
}),
|
|
1751
1751
|
era: Qe({
|
|
1752
1752
|
matchPatterns: Gd,
|
|
@@ -1759,7 +1759,7 @@ const ji = {
|
|
|
1759
1759
|
defaultMatchWidth: "wide",
|
|
1760
1760
|
parsePatterns: Xd,
|
|
1761
1761
|
defaultParseWidth: "any",
|
|
1762
|
-
valueCallback: (
|
|
1762
|
+
valueCallback: (s) => s + 1
|
|
1763
1763
|
}),
|
|
1764
1764
|
month: Qe({
|
|
1765
1765
|
matchPatterns: Zd,
|
|
@@ -1784,12 +1784,12 @@ const ji = {
|
|
|
1784
1784
|
long: "d MMMM yyyy",
|
|
1785
1785
|
medium: "d MMM yyyy",
|
|
1786
1786
|
short: "dd/MM/yyyy"
|
|
1787
|
-
},
|
|
1787
|
+
}, oh = {
|
|
1788
1788
|
full: "HH:mm:ss zzzz",
|
|
1789
1789
|
long: "HH:mm:ss z",
|
|
1790
1790
|
medium: "HH:mm:ss",
|
|
1791
1791
|
short: "HH:mm"
|
|
1792
|
-
},
|
|
1792
|
+
}, sh = {
|
|
1793
1793
|
full: "{{date}} 'at' {{time}}",
|
|
1794
1794
|
long: "{{date}} 'at' {{time}}",
|
|
1795
1795
|
medium: "{{date}}, {{time}}",
|
|
@@ -1800,14 +1800,14 @@ const ji = {
|
|
|
1800
1800
|
defaultWidth: "full"
|
|
1801
1801
|
}),
|
|
1802
1802
|
time: Dt({
|
|
1803
|
-
formats:
|
|
1803
|
+
formats: oh,
|
|
1804
1804
|
defaultWidth: "full"
|
|
1805
1805
|
}),
|
|
1806
1806
|
dateTime: Dt({
|
|
1807
|
-
formats:
|
|
1807
|
+
formats: sh,
|
|
1808
1808
|
defaultWidth: "full"
|
|
1809
1809
|
})
|
|
1810
|
-
},
|
|
1810
|
+
}, ns = {
|
|
1811
1811
|
code: "en-GB",
|
|
1812
1812
|
formatDistance: Ad,
|
|
1813
1813
|
formatLong: lh,
|
|
@@ -1880,10 +1880,10 @@ const ji = {
|
|
|
1880
1880
|
one: "quasi un anno",
|
|
1881
1881
|
other: "quasi {{count}} anni"
|
|
1882
1882
|
}
|
|
1883
|
-
}, ch = (
|
|
1883
|
+
}, ch = (s, o, u) => {
|
|
1884
1884
|
let i;
|
|
1885
|
-
const b = uh[
|
|
1886
|
-
return typeof b == "string" ? i = b :
|
|
1885
|
+
const b = uh[s];
|
|
1886
|
+
return typeof b == "string" ? i = b : o === 1 ? i = b.one : i = b.other.replace("{{count}}", o.toString()), u?.addSuffix ? u.comparison && u.comparison > 0 ? "tra " + i : i + " fa" : i;
|
|
1887
1887
|
}, dh = {
|
|
1888
1888
|
full: "EEEE d MMMM y",
|
|
1889
1889
|
long: "d MMMM y",
|
|
@@ -1921,31 +1921,31 @@ const ji = {
|
|
|
1921
1921
|
"venerdì",
|
|
1922
1922
|
"sabato"
|
|
1923
1923
|
];
|
|
1924
|
-
function ph(
|
|
1925
|
-
return
|
|
1924
|
+
function ph(s) {
|
|
1925
|
+
return s === 0 ? "'domenica scorsa alle' p" : "'" + Sn[s] + " scorso alle' p";
|
|
1926
1926
|
}
|
|
1927
|
-
function Ti(
|
|
1928
|
-
return "'" + Sn[
|
|
1927
|
+
function Ti(s) {
|
|
1928
|
+
return "'" + Sn[s] + " alle' p";
|
|
1929
1929
|
}
|
|
1930
|
-
function gh(
|
|
1931
|
-
return
|
|
1930
|
+
function gh(s) {
|
|
1931
|
+
return s === 0 ? "'domenica prossima alle' p" : "'" + Sn[s] + " prossimo alle' p";
|
|
1932
1932
|
}
|
|
1933
1933
|
const vh = {
|
|
1934
|
-
lastWeek: (
|
|
1935
|
-
const i =
|
|
1936
|
-
return Ci(
|
|
1934
|
+
lastWeek: (s, o, u) => {
|
|
1935
|
+
const i = s.getDay();
|
|
1936
|
+
return Ci(s, o, u) ? Ti(i) : ph(i);
|
|
1937
1937
|
},
|
|
1938
1938
|
yesterday: "'ieri alle' p",
|
|
1939
1939
|
today: "'oggi alle' p",
|
|
1940
1940
|
tomorrow: "'domani alle' p",
|
|
1941
|
-
nextWeek: (
|
|
1942
|
-
const i =
|
|
1943
|
-
return Ci(
|
|
1941
|
+
nextWeek: (s, o, u) => {
|
|
1942
|
+
const i = s.getDay();
|
|
1943
|
+
return Ci(s, o, u) ? Ti(i) : gh(i);
|
|
1944
1944
|
},
|
|
1945
1945
|
other: "P"
|
|
1946
|
-
}, yh = (
|
|
1947
|
-
const b = vh[
|
|
1948
|
-
return typeof b == "function" ? b(
|
|
1946
|
+
}, yh = (s, o, u, i) => {
|
|
1947
|
+
const b = vh[s];
|
|
1948
|
+
return typeof b == "function" ? b(o, u, i) : b;
|
|
1949
1949
|
}, _h = {
|
|
1950
1950
|
narrow: ["aC", "dC"],
|
|
1951
1951
|
abbreviated: ["a.C.", "d.C."],
|
|
@@ -2059,8 +2059,8 @@ const vh = {
|
|
|
2059
2059
|
evening: "di sera",
|
|
2060
2060
|
night: "di notte"
|
|
2061
2061
|
}
|
|
2062
|
-
}, Dh = (
|
|
2063
|
-
const u = Number(
|
|
2062
|
+
}, Dh = (s, o) => {
|
|
2063
|
+
const u = Number(s);
|
|
2064
2064
|
return String(u);
|
|
2065
2065
|
}, kh = {
|
|
2066
2066
|
ordinalNumber: Dh,
|
|
@@ -2071,7 +2071,7 @@ const vh = {
|
|
|
2071
2071
|
quarter: Ze({
|
|
2072
2072
|
values: bh,
|
|
2073
2073
|
defaultWidth: "wide",
|
|
2074
|
-
argumentCallback: (
|
|
2074
|
+
argumentCallback: (s) => s - 1
|
|
2075
2075
|
}),
|
|
2076
2076
|
month: Ze({
|
|
2077
2077
|
values: wh,
|
|
@@ -2158,7 +2158,7 @@ const vh = {
|
|
|
2158
2158
|
ordinalNumber: Mn({
|
|
2159
2159
|
matchPattern: Oh,
|
|
2160
2160
|
parsePattern: Yh,
|
|
2161
|
-
valueCallback: (
|
|
2161
|
+
valueCallback: (s) => parseInt(s, 10)
|
|
2162
2162
|
}),
|
|
2163
2163
|
era: Qe({
|
|
2164
2164
|
matchPatterns: Ch,
|
|
@@ -2171,7 +2171,7 @@ const vh = {
|
|
|
2171
2171
|
defaultMatchWidth: "wide",
|
|
2172
2172
|
parsePatterns: Ph,
|
|
2173
2173
|
defaultParseWidth: "any",
|
|
2174
|
-
valueCallback: (
|
|
2174
|
+
valueCallback: (s) => s + 1
|
|
2175
2175
|
}),
|
|
2176
2176
|
month: Qe({
|
|
2177
2177
|
matchPatterns: Nh,
|
|
@@ -2191,7 +2191,7 @@ const vh = {
|
|
|
2191
2191
|
parsePatterns: Fh,
|
|
2192
2192
|
defaultParseWidth: "any"
|
|
2193
2193
|
})
|
|
2194
|
-
},
|
|
2194
|
+
}, is = {
|
|
2195
2195
|
code: "it",
|
|
2196
2196
|
formatDistance: ch,
|
|
2197
2197
|
formatLong: mh,
|
|
@@ -2203,14 +2203,14 @@ const vh = {
|
|
|
2203
2203
|
firstWeekContainsDate: 4
|
|
2204
2204
|
}
|
|
2205
2205
|
};
|
|
2206
|
-
function Yr(
|
|
2207
|
-
throw new Error('Could not dynamically require "' +
|
|
2206
|
+
function Yr(s) {
|
|
2207
|
+
throw new Error('Could not dynamically require "' + s + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
2208
2208
|
}
|
|
2209
2209
|
var gn = { exports: {} }, br = { exports: {} }, zh = br.exports, Pi;
|
|
2210
2210
|
function Dn() {
|
|
2211
|
-
return Pi || (Pi = 1, (function(
|
|
2211
|
+
return Pi || (Pi = 1, (function(s, o) {
|
|
2212
2212
|
(function(u, i) {
|
|
2213
|
-
|
|
2213
|
+
s.exports = i();
|
|
2214
2214
|
})(zh, (function() {
|
|
2215
2215
|
var u;
|
|
2216
2216
|
function i() {
|
|
@@ -2397,14 +2397,14 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2397
2397
|
var n = "" + Math.abs(e), d = t - n.length, D = e >= 0;
|
|
2398
2398
|
return (D ? a ? "+" : "" : "-") + Math.pow(10, Math.max(0, d)).toString().substr(1) + n;
|
|
2399
2399
|
}
|
|
2400
|
-
var ce = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, ge = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, fe = {},
|
|
2400
|
+
var ce = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, ge = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, fe = {}, se = {};
|
|
2401
2401
|
function X(e, t, a, n) {
|
|
2402
2402
|
var d = n;
|
|
2403
2403
|
typeof n == "string" && (d = function() {
|
|
2404
2404
|
return this[n]();
|
|
2405
|
-
}), e && (
|
|
2405
|
+
}), e && (se[e] = d), t && (se[t[0]] = function() {
|
|
2406
2406
|
return ee(d.apply(this, arguments), t[1], t[2]);
|
|
2407
|
-
}), a && (
|
|
2407
|
+
}), a && (se[a] = function() {
|
|
2408
2408
|
return this.localeData().ordinal(
|
|
2409
2409
|
d.apply(this, arguments),
|
|
2410
2410
|
e
|
|
@@ -2417,7 +2417,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2417
2417
|
function Ie(e) {
|
|
2418
2418
|
var t = e.match(ce), a, n;
|
|
2419
2419
|
for (a = 0, n = t.length; a < n; a++)
|
|
2420
|
-
|
|
2420
|
+
se[t[a]] ? t[a] = se[t[a]] : t[a] = Pe(t[a]);
|
|
2421
2421
|
return function(d) {
|
|
2422
2422
|
var D = "", L;
|
|
2423
2423
|
for (L = 0; L < n; L++)
|
|
@@ -2573,7 +2573,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2573
2573
|
return n.priority - d.priority;
|
|
2574
2574
|
}), t;
|
|
2575
2575
|
}
|
|
2576
|
-
var dt = /\d/, Ue = /\d\d/,
|
|
2576
|
+
var dt = /\d/, Ue = /\d\d/, ot = /\d{3}/, Tt = /\d{4}/, st = /[+-]?\d{6}/, Ce = /\d\d?/, Pt = /\d\d\d\d?/, Ft = /\d\d\d\d\d\d?/, lt = /\d{1,3}/, gt = /\d{1,4}/, ht = /[+-]?\d{1,6}/, rt = /\d+/, vt = /[+-]?\d+/, yt = /Z|[+-]\d\d:?\d\d/gi, We = /Z|[+-]\d\d(?::?\d\d)?/gi, ft = /[+-]?\d+(\.\d{1,3})?/, ut = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, at = /^[1-9]\d?/, et = /^([1-9]\d|\d)/, Vt;
|
|
2577
2577
|
Vt = {};
|
|
2578
2578
|
function re(e, t, a) {
|
|
2579
2579
|
Vt[e] = E(t) ? t : function(n, d) {
|
|
@@ -2628,7 +2628,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2628
2628
|
return e <= 9999 ? ee(e, 4) : "+" + e;
|
|
2629
2629
|
}), X(0, ["YY", 2], 0, function() {
|
|
2630
2630
|
return this.year() % 100;
|
|
2631
|
-
}), X(0, ["YYYY", 4], 0, "year"), X(0, ["YYYYY", 5], 0, "year"), X(0, ["YYYYYY", 6, !0], 0, "year"), re("Y", vt), re("YY", Ce, Ue), re("YYYY", gt, Tt), re("YYYYY", ht,
|
|
2631
|
+
}), X(0, ["YYYY", 4], 0, "year"), X(0, ["YYYYY", 5], 0, "year"), X(0, ["YYYYYY", 6, !0], 0, "year"), re("Y", vt), re("YY", Ce, Ue), re("YYYY", gt, Tt), re("YYYYY", ht, st), re("YYYYYY", ht, st), je(["YYYYY", "YYYYYY"], Ge), je("YYYY", function(e, t) {
|
|
2632
2632
|
t[Ge] = e.length === 2 ? i.parseTwoDigitYear(e) : _e(e);
|
|
2633
2633
|
}), je("YY", function(e, t) {
|
|
2634
2634
|
t[Ge] = i.parseTwoDigitYear(e);
|
|
@@ -2748,16 +2748,16 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2748
2748
|
var d = a._locale.monthsParse(e, n, a._strict);
|
|
2749
2749
|
d != null ? t[w] = d : _(a).invalidMonth = e;
|
|
2750
2750
|
});
|
|
2751
|
-
var
|
|
2751
|
+
var fs = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
2752
2752
|
"_"
|
|
2753
|
-
), Vn = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), zn = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
|
|
2754
|
-
function
|
|
2753
|
+
), Vn = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), zn = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, ms = ut, ps = ut;
|
|
2754
|
+
function gs(e, t) {
|
|
2755
2755
|
return e ? M(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || zn).test(t) ? "format" : "standalone"][e.month()] : M(this._months) ? this._months : this._months.standalone;
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2757
|
+
function vs(e, t) {
|
|
2758
2758
|
return e ? M(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[zn.test(t) ? "format" : "standalone"][e.month()] : M(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
2759
2759
|
}
|
|
2760
|
-
function
|
|
2760
|
+
function ys(e, t, a) {
|
|
2761
2761
|
var n, d, D, L = e.toLocaleLowerCase();
|
|
2762
2762
|
if (!this._monthsParse)
|
|
2763
2763
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], n = 0; n < 12; ++n)
|
|
@@ -2767,10 +2767,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2767
2767
|
).toLocaleLowerCase(), this._longMonthsParse[n] = this.months(D, "").toLocaleLowerCase();
|
|
2768
2768
|
return a ? t === "MMM" ? (d = ze.call(this._shortMonthsParse, L), d !== -1 ? d : null) : (d = ze.call(this._longMonthsParse, L), d !== -1 ? d : null) : t === "MMM" ? (d = ze.call(this._shortMonthsParse, L), d !== -1 ? d : (d = ze.call(this._longMonthsParse, L), d !== -1 ? d : null)) : (d = ze.call(this._longMonthsParse, L), d !== -1 ? d : (d = ze.call(this._shortMonthsParse, L), d !== -1 ? d : null));
|
|
2769
2769
|
}
|
|
2770
|
-
function
|
|
2770
|
+
function _s(e, t, a) {
|
|
2771
2771
|
var n, d, D;
|
|
2772
2772
|
if (this._monthsParseExact)
|
|
2773
|
-
return
|
|
2773
|
+
return ys.call(this, e, t, a);
|
|
2774
2774
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), n = 0; n < 12; n++) {
|
|
2775
2775
|
if (d = g([2e3, n]), a && !this._longMonthsParse[n] && (this._longMonthsParse[n] = new RegExp(
|
|
2776
2776
|
"^" + this.months(d, "").replace(".", "") + "$",
|
|
@@ -2801,14 +2801,14 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2801
2801
|
function Wn(e) {
|
|
2802
2802
|
return e != null ? (Ln(this, e), i.updateOffset(this, !0), this) : it(this, "Month");
|
|
2803
2803
|
}
|
|
2804
|
-
function
|
|
2804
|
+
function bs() {
|
|
2805
2805
|
return Ar(this.year(), this.month());
|
|
2806
2806
|
}
|
|
2807
|
-
function
|
|
2808
|
-
return this._monthsParseExact ? (l(this, "_monthsRegex") || Hn.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (l(this, "_monthsShortRegex") || (this._monthsShortRegex =
|
|
2807
|
+
function ws(e) {
|
|
2808
|
+
return this._monthsParseExact ? (l(this, "_monthsRegex") || Hn.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (l(this, "_monthsShortRegex") || (this._monthsShortRegex = ms), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
2809
2809
|
}
|
|
2810
|
-
function
|
|
2811
|
-
return this._monthsParseExact ? (l(this, "_monthsRegex") || Hn.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (l(this, "_monthsRegex") || (this._monthsRegex =
|
|
2810
|
+
function xs(e) {
|
|
2811
|
+
return this._monthsParseExact ? (l(this, "_monthsRegex") || Hn.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (l(this, "_monthsRegex") || (this._monthsRegex = ps), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
2812
2812
|
}
|
|
2813
2813
|
function Hn() {
|
|
2814
2814
|
function e(me, Se) {
|
|
@@ -2825,7 +2825,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2825
2825
|
"i"
|
|
2826
2826
|
);
|
|
2827
2827
|
}
|
|
2828
|
-
function
|
|
2828
|
+
function Ms(e, t, a, n, d, D, L) {
|
|
2829
2829
|
var ae;
|
|
2830
2830
|
return e < 100 && e >= 0 ? (ae = new Date(e + 400, t, a, n, d, D, L), isFinite(ae.getFullYear()) && ae.setFullYear(e)) : ae = new Date(e, t, a, n, d, D, L), ae;
|
|
2831
2831
|
}
|
|
@@ -2833,26 +2833,26 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2833
2833
|
var t, a;
|
|
2834
2834
|
return e < 100 && e >= 0 ? (a = Array.prototype.slice.call(arguments), a[0] = e + 400, t = new Date(Date.UTC.apply(null, a)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
|
2835
2835
|
}
|
|
2836
|
-
function
|
|
2836
|
+
function or(e, t, a) {
|
|
2837
2837
|
var n = 7 + t - a, d = (7 + Xt(e, 0, n).getUTCDay() - t) % 7;
|
|
2838
2838
|
return -d + n - 1;
|
|
2839
2839
|
}
|
|
2840
2840
|
function qn(e, t, a, n, d) {
|
|
2841
|
-
var D = (7 + a - n) % 7, L =
|
|
2841
|
+
var D = (7 + a - n) % 7, L = or(e, n, d), ae = 1 + 7 * (t - 1) + D + L, me, Se;
|
|
2842
2842
|
return ae <= 0 ? (me = e - 1, Se = He(me) + ae) : ae > He(e) ? (me = e + 1, Se = ae - He(e)) : (me = e, Se = ae), {
|
|
2843
2843
|
year: me,
|
|
2844
2844
|
dayOfYear: Se
|
|
2845
2845
|
};
|
|
2846
2846
|
}
|
|
2847
2847
|
function Zt(e, t, a) {
|
|
2848
|
-
var n =
|
|
2848
|
+
var n = or(e.year(), t, a), d = Math.floor((e.dayOfYear() - n - 1) / 7) + 1, D, L;
|
|
2849
2849
|
return d < 1 ? (L = e.year() - 1, D = d + _t(L, t, a)) : d > _t(e.year(), t, a) ? (D = d - _t(e.year(), t, a), L = e.year() + 1) : (L = e.year(), D = d), {
|
|
2850
2850
|
week: D,
|
|
2851
2851
|
year: L
|
|
2852
2852
|
};
|
|
2853
2853
|
}
|
|
2854
2854
|
function _t(e, t, a) {
|
|
2855
|
-
var n =
|
|
2855
|
+
var n = or(e, t, a), d = or(e + 1, t, a);
|
|
2856
2856
|
return (He(e) - n + d) / 7;
|
|
2857
2857
|
}
|
|
2858
2858
|
X("w", ["ww", 2], "wo", "week"), X("W", ["WW", 2], "Wo", "isoWeek"), re("w", Ce, at), re("ww", Ce, Ue), re("W", Ce, at), re("WW", Ce, Ue), Nt(
|
|
@@ -2861,26 +2861,26 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2861
2861
|
t[n.substr(0, 1)] = _e(e);
|
|
2862
2862
|
}
|
|
2863
2863
|
);
|
|
2864
|
-
function
|
|
2864
|
+
function Ss(e) {
|
|
2865
2865
|
return Zt(e, this._week.dow, this._week.doy).week;
|
|
2866
2866
|
}
|
|
2867
|
-
var
|
|
2867
|
+
var Ds = {
|
|
2868
2868
|
dow: 0,
|
|
2869
2869
|
// Sunday is the first day of the week.
|
|
2870
2870
|
doy: 6
|
|
2871
2871
|
// The week that contains Jan 6th is the first week of the year.
|
|
2872
2872
|
};
|
|
2873
|
-
function
|
|
2873
|
+
function ks() {
|
|
2874
2874
|
return this._week.dow;
|
|
2875
2875
|
}
|
|
2876
|
-
function
|
|
2876
|
+
function Os() {
|
|
2877
2877
|
return this._week.doy;
|
|
2878
2878
|
}
|
|
2879
|
-
function
|
|
2879
|
+
function Ys(e) {
|
|
2880
2880
|
var t = this.localeData().week(this);
|
|
2881
2881
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
2882
2882
|
}
|
|
2883
|
-
function
|
|
2883
|
+
function Cs(e) {
|
|
2884
2884
|
var t = Zt(this, 1, 4).week;
|
|
2885
2885
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
2886
2886
|
}
|
|
@@ -2902,27 +2902,27 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2902
2902
|
}), Nt(["d", "e", "E"], function(e, t, a, n) {
|
|
2903
2903
|
t[n] = _e(e);
|
|
2904
2904
|
});
|
|
2905
|
-
function
|
|
2905
|
+
function js(e, t) {
|
|
2906
2906
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
2907
2907
|
}
|
|
2908
|
-
function
|
|
2908
|
+
function Ts(e, t) {
|
|
2909
2909
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
2910
2910
|
}
|
|
2911
2911
|
function Er(e, t) {
|
|
2912
2912
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
2913
2913
|
}
|
|
2914
|
-
var
|
|
2915
|
-
function
|
|
2914
|
+
var Ps = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), $n = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ns = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Rs = ut, As = ut, Es = ut;
|
|
2915
|
+
function Is(e, t) {
|
|
2916
2916
|
var a = M(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
2917
2917
|
return e === !0 ? Er(a, this._week.dow) : e ? a[e.day()] : a;
|
|
2918
2918
|
}
|
|
2919
|
-
function
|
|
2919
|
+
function Fs(e) {
|
|
2920
2920
|
return e === !0 ? Er(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
2921
2921
|
}
|
|
2922
|
-
function
|
|
2922
|
+
function Vs(e) {
|
|
2923
2923
|
return e === !0 ? Er(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
2924
2924
|
}
|
|
2925
|
-
function
|
|
2925
|
+
function zs(e, t, a) {
|
|
2926
2926
|
var n, d, D, L = e.toLocaleLowerCase();
|
|
2927
2927
|
if (!this._weekdaysParse)
|
|
2928
2928
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], n = 0; n < 7; ++n)
|
|
@@ -2935,10 +2935,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2935
2935
|
).toLocaleLowerCase(), this._weekdaysParse[n] = this.weekdays(D, "").toLocaleLowerCase();
|
|
2936
2936
|
return a ? t === "dddd" ? (d = ze.call(this._weekdaysParse, L), d !== -1 ? d : null) : t === "ddd" ? (d = ze.call(this._shortWeekdaysParse, L), d !== -1 ? d : null) : (d = ze.call(this._minWeekdaysParse, L), d !== -1 ? d : null) : t === "dddd" ? (d = ze.call(this._weekdaysParse, L), d !== -1 || (d = ze.call(this._shortWeekdaysParse, L), d !== -1) ? d : (d = ze.call(this._minWeekdaysParse, L), d !== -1 ? d : null)) : t === "ddd" ? (d = ze.call(this._shortWeekdaysParse, L), d !== -1 || (d = ze.call(this._weekdaysParse, L), d !== -1) ? d : (d = ze.call(this._minWeekdaysParse, L), d !== -1 ? d : null)) : (d = ze.call(this._minWeekdaysParse, L), d !== -1 || (d = ze.call(this._weekdaysParse, L), d !== -1) ? d : (d = ze.call(this._shortWeekdaysParse, L), d !== -1 ? d : null));
|
|
2937
2937
|
}
|
|
2938
|
-
function
|
|
2938
|
+
function Ls(e, t, a) {
|
|
2939
2939
|
var n, d, D;
|
|
2940
2940
|
if (this._weekdaysParseExact)
|
|
2941
|
-
return
|
|
2941
|
+
return zs.call(this, e, t, a);
|
|
2942
2942
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), n = 0; n < 7; n++) {
|
|
2943
2943
|
if (d = g([2e3, 1]).day(n), a && !this._fullWeekdaysParse[n] && (this._fullWeekdaysParse[n] = new RegExp(
|
|
2944
2944
|
"^" + this.weekdays(d, "").replace(".", "\\.?") + "$",
|
|
@@ -2959,35 +2959,35 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2959
2959
|
return n;
|
|
2960
2960
|
}
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2962
|
+
function Ws(e) {
|
|
2963
2963
|
if (!this.isValid())
|
|
2964
2964
|
return e != null ? this : NaN;
|
|
2965
2965
|
var t = it(this, "Day");
|
|
2966
|
-
return e != null ? (e =
|
|
2966
|
+
return e != null ? (e = js(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2968
|
+
function Hs(e) {
|
|
2969
2969
|
if (!this.isValid())
|
|
2970
2970
|
return e != null ? this : NaN;
|
|
2971
2971
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
2972
2972
|
return e == null ? t : this.add(e - t, "d");
|
|
2973
2973
|
}
|
|
2974
|
-
function
|
|
2974
|
+
function qs(e) {
|
|
2975
2975
|
if (!this.isValid())
|
|
2976
2976
|
return e != null ? this : NaN;
|
|
2977
2977
|
if (e != null) {
|
|
2978
|
-
var t =
|
|
2978
|
+
var t = Ts(e, this.localeData());
|
|
2979
2979
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
2980
2980
|
} else
|
|
2981
2981
|
return this.day() || 7;
|
|
2982
2982
|
}
|
|
2983
|
-
function $
|
|
2984
|
-
return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Ir.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (l(this, "_weekdaysRegex") || (this._weekdaysRegex =
|
|
2983
|
+
function $s(e) {
|
|
2984
|
+
return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Ir.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (l(this, "_weekdaysRegex") || (this._weekdaysRegex = Rs), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
2985
2985
|
}
|
|
2986
|
-
function
|
|
2987
|
-
return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Ir.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (l(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex =
|
|
2986
|
+
function Bs(e) {
|
|
2987
|
+
return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Ir.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (l(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = As), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2990
|
-
return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Ir.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (l(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex =
|
|
2989
|
+
function Us(e) {
|
|
2990
|
+
return this._weekdaysParseExact ? (l(this, "_weekdaysRegex") || Ir.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (l(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Es), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
2991
2991
|
}
|
|
2992
2992
|
function Ir() {
|
|
2993
2993
|
function e(Ke, St) {
|
|
@@ -3010,10 +3010,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3010
3010
|
function Fr() {
|
|
3011
3011
|
return this.hours() % 12 || 12;
|
|
3012
3012
|
}
|
|
3013
|
-
function
|
|
3013
|
+
function Gs() {
|
|
3014
3014
|
return this.hours() || 24;
|
|
3015
3015
|
}
|
|
3016
|
-
X("H", ["HH", 2], 0, "hour"), X("h", ["hh", 2], 0, Fr), X("k", ["kk", 2], 0,
|
|
3016
|
+
X("H", ["HH", 2], 0, "hour"), X("h", ["hh", 2], 0, Fr), X("k", ["kk", 2], 0, Gs), X("hmm", 0, 0, function() {
|
|
3017
3017
|
return "" + Fr.apply(this) + ee(this.minutes(), 2);
|
|
3018
3018
|
}), X("hmmss", 0, 0, function() {
|
|
3019
3019
|
return "" + Fr.apply(this) + ee(this.minutes(), 2) + ee(this.seconds(), 2);
|
|
@@ -3055,11 +3055,11 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3055
3055
|
var n = e.length - 4, d = e.length - 2;
|
|
3056
3056
|
t[Z] = _e(e.substr(0, n)), t[le] = _e(e.substr(n, 2)), t[ve] = _e(e.substr(d));
|
|
3057
3057
|
});
|
|
3058
|
-
function
|
|
3058
|
+
function Js(e) {
|
|
3059
3059
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
3060
3060
|
}
|
|
3061
|
-
var
|
|
3062
|
-
function
|
|
3061
|
+
var Ks = /[ap]\.?m?\.?/i, Xs = Be("Hours", !0);
|
|
3062
|
+
function Zs(e, t, a) {
|
|
3063
3063
|
return e > 11 ? a ? "pm" : "PM" : a ? "am" : "AM";
|
|
3064
3064
|
}
|
|
3065
3065
|
var Gn = {
|
|
@@ -3069,15 +3069,15 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3069
3069
|
ordinal: q,
|
|
3070
3070
|
dayOfMonthOrdinalParse: N,
|
|
3071
3071
|
relativeTime: H,
|
|
3072
|
-
months:
|
|
3072
|
+
months: fs,
|
|
3073
3073
|
monthsShort: Vn,
|
|
3074
|
-
week:
|
|
3075
|
-
weekdays:
|
|
3076
|
-
weekdaysMin:
|
|
3074
|
+
week: Ds,
|
|
3075
|
+
weekdays: Ps,
|
|
3076
|
+
weekdaysMin: Ns,
|
|
3077
3077
|
weekdaysShort: $n,
|
|
3078
|
-
meridiemParse:
|
|
3078
|
+
meridiemParse: Ks
|
|
3079
3079
|
}, Ve = {}, Qt = {}, er;
|
|
3080
|
-
function
|
|
3080
|
+
function Qs(e, t) {
|
|
3081
3081
|
var a, n = Math.min(e.length, t.length);
|
|
3082
3082
|
for (a = 0; a < n; a += 1)
|
|
3083
3083
|
if (e[a] !== t[a])
|
|
@@ -3090,9 +3090,9 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3090
3090
|
function el(e) {
|
|
3091
3091
|
for (var t = 0, a, n, d, D; t < e.length; ) {
|
|
3092
3092
|
for (D = Jn(e[t]).split("-"), a = D.length, n = Jn(e[t + 1]), n = n ? n.split("-") : null; a > 0; ) {
|
|
3093
|
-
if (d =
|
|
3093
|
+
if (d = sr(D.slice(0, a).join("-")), d)
|
|
3094
3094
|
return d;
|
|
3095
|
-
if (n && n.length >= a &&
|
|
3095
|
+
if (n && n.length >= a && Qs(D, n) >= a - 1)
|
|
3096
3096
|
break;
|
|
3097
3097
|
a--;
|
|
3098
3098
|
}
|
|
@@ -3103,9 +3103,9 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3103
3103
|
function tl(e) {
|
|
3104
3104
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
3105
3105
|
}
|
|
3106
|
-
function
|
|
3106
|
+
function sr(e) {
|
|
3107
3107
|
var t = null, a;
|
|
3108
|
-
if (Ve[e] === void 0 &&
|
|
3108
|
+
if (Ve[e] === void 0 && s && s.exports && tl(e))
|
|
3109
3109
|
try {
|
|
3110
3110
|
t = er._abbr, a = Yr, a("./locale/" + e), kt(t);
|
|
3111
3111
|
} catch {
|
|
@@ -3130,7 +3130,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3130
3130
|
else if (t.parentLocale != null)
|
|
3131
3131
|
if (Ve[t.parentLocale] != null)
|
|
3132
3132
|
n = Ve[t.parentLocale]._config;
|
|
3133
|
-
else if (a =
|
|
3133
|
+
else if (a = sr(t.parentLocale), a != null)
|
|
3134
3134
|
n = a._config;
|
|
3135
3135
|
else
|
|
3136
3136
|
return Qt[t.parentLocale] || (Qt[t.parentLocale] = []), Qt[t.parentLocale].push({
|
|
@@ -3146,7 +3146,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3146
3146
|
function rl(e, t) {
|
|
3147
3147
|
if (t != null) {
|
|
3148
3148
|
var a, n, d = Gn;
|
|
3149
|
-
Ve[e] != null && Ve[e].parentLocale != null ? Ve[e].set(B(Ve[e]._config, t)) : (n =
|
|
3149
|
+
Ve[e] != null && Ve[e].parentLocale != null ? Ve[e].set(B(Ve[e]._config, t)) : (n = sr(e), n != null && (d = n._config), t = B(d, t), n == null && (t.abbr = e), a = new Q(t), a.parentLocale = Ve[e], Ve[e] = a), kt(e);
|
|
3150
3150
|
} else
|
|
3151
3151
|
Ve[e] != null && (Ve[e].parentLocale != null ? (Ve[e] = Ve[e].parentLocale, e === kt() && kt(e)) : Ve[e] != null && delete Ve[e]);
|
|
3152
3152
|
return Ve[e];
|
|
@@ -3156,7 +3156,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3156
3156
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
3157
3157
|
return er;
|
|
3158
3158
|
if (!M(e)) {
|
|
3159
|
-
if (t =
|
|
3159
|
+
if (t = sr(e), t)
|
|
3160
3160
|
return t;
|
|
3161
3161
|
e = [e];
|
|
3162
3162
|
}
|
|
@@ -3169,7 +3169,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3169
3169
|
var t, a = e._a;
|
|
3170
3170
|
return a && _(e).overflow === -2 && (t = a[w] < 0 || a[w] > 11 ? w : a[U] < 1 || a[U] > Ar(a[Ge], a[w]) ? U : a[Z] < 0 || a[Z] > 24 || a[Z] === 24 && (a[le] !== 0 || a[ve] !== 0 || a[Me] !== 0) ? Z : a[le] < 0 || a[le] > 59 ? le : a[ve] < 0 || a[ve] > 59 ? ve : a[Me] < 0 || a[Me] > 999 ? Me : -1, _(e)._overflowDayOfYear && (t < Ge || t > U) && (t = U), _(e)._overflowWeeks && t === -1 && (t = xe), _(e)._overflowWeekday && t === -1 && (t = be), _(e).overflow = t), e;
|
|
3171
3171
|
}
|
|
3172
|
-
var nl = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, il = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
|
|
3172
|
+
var nl = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, il = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ol = /Z|[+-]\d\d(?::?\d\d)?/, lr = [
|
|
3173
3173
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
3174
3174
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
3175
3175
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -3193,7 +3193,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3193
3193
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
3194
3194
|
["HHmm", /\d\d\d\d/],
|
|
3195
3195
|
["HH", /\d\d/]
|
|
3196
|
-
],
|
|
3196
|
+
], sl = /^\/?Date\((-?\d+)/i, ll = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, ul = {
|
|
3197
3197
|
UT: 0,
|
|
3198
3198
|
GMT: 0,
|
|
3199
3199
|
EDT: -240,
|
|
@@ -3233,7 +3233,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3233
3233
|
return;
|
|
3234
3234
|
}
|
|
3235
3235
|
if (d[4])
|
|
3236
|
-
if (
|
|
3236
|
+
if (ol.exec(d[4]))
|
|
3237
3237
|
me = "Z";
|
|
3238
3238
|
else {
|
|
3239
3239
|
e._isValid = !1;
|
|
@@ -3297,7 +3297,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3297
3297
|
e._isValid = !1;
|
|
3298
3298
|
}
|
|
3299
3299
|
function pl(e) {
|
|
3300
|
-
var t =
|
|
3300
|
+
var t = sl.exec(e._i);
|
|
3301
3301
|
if (t !== null) {
|
|
3302
3302
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
3303
3303
|
return;
|
|
@@ -3336,7 +3336,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3336
3336
|
e._a[t] = n[t] = d[t];
|
|
3337
3337
|
for (; t < 7; t++)
|
|
3338
3338
|
e._a[t] = n[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
3339
|
-
e._a[Z] === 24 && e._a[le] === 0 && e._a[ve] === 0 && e._a[Me] === 0 && (e._nextDay = !0, e._a[Z] = 0), e._d = (e._useUTC ? Xt :
|
|
3339
|
+
e._a[Z] === 24 && e._a[le] === 0 && e._a[ve] === 0 && e._a[Me] === 0 && (e._nextDay = !0, e._a[Z] = 0), e._d = (e._useUTC ? Xt : Ms).apply(
|
|
3340
3340
|
null,
|
|
3341
3341
|
n
|
|
3342
3342
|
), D = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[Z] = 24), e._w && typeof e._w.d < "u" && e._w.d !== D && (_(e).weekdayMismatch = !0);
|
|
@@ -3367,7 +3367,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3367
3367
|
for (d = ke(e._f, e._locale).match(ce) || [], Ke = d.length, a = 0; a < Ke; a++)
|
|
3368
3368
|
D = d[a], n = (t.match(Pr(D, e)) || [])[0], n && (L = t.substr(0, t.indexOf(n)), L.length > 0 && _(e).unusedInput.push(L), t = t.slice(
|
|
3369
3369
|
t.indexOf(n) + n.length
|
|
3370
|
-
), me += n.length),
|
|
3370
|
+
), me += n.length), se[D] ? (n ? _(e).empty = !1 : _(e).unusedTokens.push(D), Nr(D, n, e)) : e._strict && !n && _(e).unusedTokens.push(D);
|
|
3371
3371
|
_(e).charsLeftOver = ae - me, t.length > 0 && _(e).unusedInput.push(t), e._a[Z] <= 12 && _(e).bigHour === !0 && e._a[Z] > 0 && (_(e).bigHour = void 0), _(e).parsedDateParts = e._a.slice(0), _(e).meridiem = e._meridiem, e._a[Z] = yl(
|
|
3372
3372
|
e._locale,
|
|
3373
3373
|
e._a[Z],
|
|
@@ -3634,11 +3634,11 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3634
3634
|
e.isValid() && (n = n ?? !0, L && Ln(e, it(e, "Month") + L * a), D && mt(e, "Date", it(e, "Date") + D * a), d && e._d.setTime(e._d.valueOf() + d * a), n && i.updateOffset(e, D || L));
|
|
3635
3635
|
}
|
|
3636
3636
|
var Bl = ni(1, "add"), Ul = ni(-1, "subtract");
|
|
3637
|
-
function
|
|
3637
|
+
function oi(e) {
|
|
3638
3638
|
return typeof e == "string" || e instanceof String;
|
|
3639
3639
|
}
|
|
3640
3640
|
function Gl(e) {
|
|
3641
|
-
return T(e) || h(e) ||
|
|
3641
|
+
return T(e) || h(e) || oi(e) || c(e) || Kl(e) || Jl(e) || e === null || e === void 0;
|
|
3642
3642
|
}
|
|
3643
3643
|
function Jl(e) {
|
|
3644
3644
|
var t = I(e) && !y(e), a = !1, n = [
|
|
@@ -3674,7 +3674,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3674
3674
|
function Kl(e) {
|
|
3675
3675
|
var t = M(e), a = !1;
|
|
3676
3676
|
return t && (a = e.filter(function(n) {
|
|
3677
|
-
return !c(n) &&
|
|
3677
|
+
return !c(n) && oi(e);
|
|
3678
3678
|
}).length === 0), t && a;
|
|
3679
3679
|
}
|
|
3680
3680
|
function Xl(e) {
|
|
@@ -3723,10 +3723,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3723
3723
|
function iu(e, t) {
|
|
3724
3724
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
3725
3725
|
}
|
|
3726
|
-
function
|
|
3726
|
+
function ou(e, t) {
|
|
3727
3727
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
3728
3728
|
}
|
|
3729
|
-
function
|
|
3729
|
+
function su(e, t, a) {
|
|
3730
3730
|
var n, d, D;
|
|
3731
3731
|
if (!this.isValid())
|
|
3732
3732
|
return NaN;
|
|
@@ -3812,7 +3812,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3812
3812
|
function pu(e) {
|
|
3813
3813
|
return this.to(Ee(), e);
|
|
3814
3814
|
}
|
|
3815
|
-
function
|
|
3815
|
+
function si(e) {
|
|
3816
3816
|
var t;
|
|
3817
3817
|
return e === void 0 ? this._locale._abbr : (t = bt(e), t != null && (this._locale = t), this);
|
|
3818
3818
|
}
|
|
@@ -4107,7 +4107,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4107
4107
|
function mr(e, t) {
|
|
4108
4108
|
X(0, [e, e.length], 0, t);
|
|
4109
4109
|
}
|
|
4110
|
-
mr("gggg", "weekYear"), mr("ggggg", "weekYear"), mr("GGGG", "isoWeekYear"), mr("GGGGG", "isoWeekYear"), re("G", vt), re("g", vt), re("GG", Ce, Ue), re("gg", Ce, Ue), re("GGGG", gt, Tt), re("gggg", gt, Tt), re("GGGGG", ht,
|
|
4110
|
+
mr("gggg", "weekYear"), mr("ggggg", "weekYear"), mr("GGGG", "isoWeekYear"), mr("GGGGG", "isoWeekYear"), re("G", vt), re("g", vt), re("GG", Ce, Ue), re("gg", Ce, Ue), re("GGGG", gt, Tt), re("gggg", gt, Tt), re("GGGGG", ht, st), re("ggggg", ht, st), Nt(
|
|
4111
4111
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
4112
4112
|
function(e, t, a, n) {
|
|
4113
4113
|
t[n.substr(0, 2)] = _e(e);
|
|
@@ -4169,7 +4169,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4169
4169
|
t[U] = _e(e.match(Ce)[0]);
|
|
4170
4170
|
});
|
|
4171
4171
|
var mi = Be("Date", !0);
|
|
4172
|
-
X("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), re("DDD", lt), re("DDDD",
|
|
4172
|
+
X("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), re("DDD", lt), re("DDDD", ot), je(["DDD", "DDDD"], function(e, t, a) {
|
|
4173
4173
|
a._dayOfYear = _e(e);
|
|
4174
4174
|
});
|
|
4175
4175
|
function Ju(e) {
|
|
@@ -4198,7 +4198,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4198
4198
|
return this.millisecond() * 1e5;
|
|
4199
4199
|
}), X(0, ["SSSSSSSSS", 9], 0, function() {
|
|
4200
4200
|
return this.millisecond() * 1e6;
|
|
4201
|
-
}), re("S", lt, dt), re("SS", lt, Ue), re("SSS", lt,
|
|
4201
|
+
}), re("S", lt, dt), re("SS", lt, Ue), re("SSS", lt, ot);
|
|
4202
4202
|
var Ot, pi;
|
|
4203
4203
|
for (Ot = "SSSS"; Ot.length <= 9; Ot += "S")
|
|
4204
4204
|
re(Ot, rt);
|
|
@@ -4215,9 +4215,9 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4215
4215
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
4216
4216
|
}
|
|
4217
4217
|
var J = v.prototype;
|
|
4218
|
-
J.add = Bl, J.calendar = Ql, J.clone = eu, J.diff =
|
|
4218
|
+
J.add = Bl, J.calendar = Ql, J.clone = eu, J.diff = su, J.endOf = vu, J.format = du, J.from = hu, J.fromNow = fu, J.to = mu, J.toNow = pu, J.get = Je, J.invalidAt = ku, J.isAfter = tu, J.isBefore = ru, J.isBetween = au, J.isSame = nu, J.isSameOrAfter = iu, J.isSameOrBefore = ou, J.isValid = Su, J.lang = li, J.locale = si, J.localeData = ui, J.max = Sl, J.min = Ml, J.parsingFlags = Du, J.set = Kt, J.startOf = gu, J.subtract = Ul, J.toArray = wu, J.toObject = xu, J.toDate = bu, J.toISOString = uu, J.inspect = cu, typeof Symbol < "u" && Symbol.for != null && (J[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
4219
4219
|
return "Moment<" + this.format() + ">";
|
|
4220
|
-
}), J.toJSON = Mu, J.toString = lu, J.unix = _u, J.valueOf = yu, J.creationData = Ou, J.eraName = Tu, J.eraNarrow = Pu, J.eraAbbr = Nu, J.eraYear = Ru, J.year = Fe, J.isLeapYear = Le, J.weekYear = Lu, J.isoWeekYear = Wu, J.quarter = J.quarters = Gu, J.month = Wn, J.daysInMonth =
|
|
4220
|
+
}), J.toJSON = Mu, J.toString = lu, J.unix = _u, J.valueOf = yu, J.creationData = Ou, J.eraName = Tu, J.eraNarrow = Pu, J.eraAbbr = Nu, J.eraYear = Ru, J.year = Fe, J.isLeapYear = Le, J.weekYear = Lu, J.isoWeekYear = Wu, J.quarter = J.quarters = Gu, J.month = Wn, J.daysInMonth = bs, J.week = J.weeks = Ys, J.isoWeek = J.isoWeeks = Cs, J.weeksInYear = $u, J.weeksInWeekYear = Bu, J.isoWeeksInYear = Hu, J.isoWeeksInISOWeekYear = qu, J.date = mi, J.day = J.days = Ws, J.weekday = Hs, J.isoWeekday = qs, J.dayOfYear = Ju, J.hour = J.hours = Xs, J.minute = J.minutes = Ku, J.second = J.seconds = Xu, J.millisecond = J.milliseconds = pi, J.utcOffset = Nl, J.utc = Al, J.local = El, J.parseZone = Il, J.hasAlignedHourOffset = Fl, J.isDST = Vl, J.isLocal = Ll, J.isUtcOffset = Wl, J.isUtc = ri, J.isUTC = ri, J.zoneAbbr = Qu, J.zoneName = ec, J.dates = S(
|
|
4221
4221
|
"dates accessor is deprecated. Use date instead.",
|
|
4222
4222
|
mi
|
|
4223
4223
|
), J.months = S(
|
|
@@ -4243,7 +4243,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4243
4243
|
return e;
|
|
4244
4244
|
}
|
|
4245
4245
|
var Oe = Q.prototype;
|
|
4246
|
-
Oe.calendar = he, Oe.longDateFormat = G, Oe.invalidDate = P, Oe.ordinal = W, Oe.preparse = gi, Oe.postformat = gi, Oe.relativeTime = ue, Oe.pastFuture = ie, Oe.set = z, Oe.eras = Yu, Oe.erasParse = Cu, Oe.erasConvertYear = ju, Oe.erasAbbrRegex = Eu, Oe.erasNameRegex = Au, Oe.erasNarrowRegex = Iu, Oe.months =
|
|
4246
|
+
Oe.calendar = he, Oe.longDateFormat = G, Oe.invalidDate = P, Oe.ordinal = W, Oe.preparse = gi, Oe.postformat = gi, Oe.relativeTime = ue, Oe.pastFuture = ie, Oe.set = z, Oe.eras = Yu, Oe.erasParse = Cu, Oe.erasConvertYear = ju, Oe.erasAbbrRegex = Eu, Oe.erasNameRegex = Au, Oe.erasNarrowRegex = Iu, Oe.months = gs, Oe.monthsShort = vs, Oe.monthsParse = _s, Oe.monthsRegex = xs, Oe.monthsShortRegex = ws, Oe.week = Ss, Oe.firstDayOfYear = Os, Oe.firstDayOfWeek = ks, Oe.weekdays = Is, Oe.weekdaysMin = Vs, Oe.weekdaysShort = Fs, Oe.weekdaysParse = Ls, Oe.weekdaysRegex = $s, Oe.weekdaysShortRegex = Bs, Oe.weekdaysMinRegex = Us, Oe.isPM = Js, Oe.meridiem = Zs;
|
|
4247
4247
|
function pr(e, t, a, n) {
|
|
4248
4248
|
var d = bt(), D = g().set(n, t);
|
|
4249
4249
|
return d[a](D, e);
|
|
@@ -4274,10 +4274,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4274
4274
|
function ic(e, t, a) {
|
|
4275
4275
|
return Kr(e, t, a, "weekdays");
|
|
4276
4276
|
}
|
|
4277
|
-
function
|
|
4277
|
+
function oc(e, t, a) {
|
|
4278
4278
|
return Kr(e, t, a, "weekdaysShort");
|
|
4279
4279
|
}
|
|
4280
|
-
function
|
|
4280
|
+
function sc(e, t, a) {
|
|
4281
4281
|
return Kr(e, t, a, "weekdaysMin");
|
|
4282
4282
|
}
|
|
4283
4283
|
kt("en", {
|
|
@@ -4438,7 +4438,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4438
4438
|
return ae ? (n = tt(e / 60), d = tt(n / 60), e %= 60, n %= 60, D = tt(a / 12), a %= 12, L = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", me = ae < 0 ? "-" : "", Se = Bt(this._months) !== Bt(ae) ? "-" : "", Ke = Bt(this._days) !== Bt(ae) ? "-" : "", St = Bt(this._milliseconds) !== Bt(ae) ? "-" : "", me + "P" + (D ? Se + D + "Y" : "") + (a ? Se + a + "M" : "") + (t ? Ke + t + "D" : "") + (d || n || e ? "T" : "") + (d ? St + d + "H" : "") + (n ? St + n + "M" : "") + (e ? St + L + "S" : "")) : "P0D";
|
|
4439
4439
|
}
|
|
4440
4440
|
var De = ur.prototype;
|
|
4441
|
-
De.isValid = Cl, De.abs = lc, De.add = uc, De.subtract = cc, De.as = hc, De.asMilliseconds = wi, De.asSeconds = fc, De.asMinutes = mc, De.asHours = pc, De.asDays = gc, De.asWeeks = vc, De.asMonths = yc, De.asQuarters = _c, De.asYears = bc, De.valueOf = wc, De._bubble = dc, De.clone = xc, De.get = Mc, De.milliseconds = Sc, De.seconds = Dc, De.minutes = kc, De.hours = Oc, De.days = Yc, De.weeks = Tc, De.months = Cc, De.years = jc, De.humanize = Ec, De.toISOString = gr, De.toString = gr, De.toJSON = gr, De.locale =
|
|
4441
|
+
De.isValid = Cl, De.abs = lc, De.add = uc, De.subtract = cc, De.as = hc, De.asMilliseconds = wi, De.asSeconds = fc, De.asMinutes = mc, De.asHours = pc, De.asDays = gc, De.asWeeks = vc, De.asMonths = yc, De.asQuarters = _c, De.asYears = bc, De.valueOf = wc, De._bubble = dc, De.clone = xc, De.get = Mc, De.milliseconds = Sc, De.seconds = Dc, De.minutes = kc, De.hours = Oc, De.days = Yc, De.weeks = Tc, De.months = Cc, De.years = jc, De.humanize = Ec, De.toISOString = gr, De.toString = gr, De.toJSON = gr, De.locale = si, De.localeData = ui, De.toIsoString = S(
|
|
4442
4442
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
4443
4443
|
gr
|
|
4444
4444
|
), De.lang = li, X("X", 0, 0, "unix"), X("x", 0, 0, "valueOf"), re("x", vt), re("X", ft), je("X", function(e, t, a) {
|
|
@@ -4446,7 +4446,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4446
4446
|
}), je("x", function(e, t, a) {
|
|
4447
4447
|
a._d = new Date(_e(e));
|
|
4448
4448
|
});
|
|
4449
|
-
return i.version = "2.30.1", b(Ee), i.fn = J, i.min = Dl, i.max = kl, i.now = Ol, i.utc = g, i.unix = tc, i.months = ac, i.isDate = h, i.locale = kt, i.invalid = j, i.duration = ct, i.isMoment = T, i.weekdays = ic, i.parseZone = rc, i.localeData = bt, i.isDuration = cr, i.monthsShort = nc, i.weekdaysMin =
|
|
4449
|
+
return i.version = "2.30.1", b(Ee), i.fn = J, i.min = Dl, i.max = kl, i.now = Ol, i.utc = g, i.unix = tc, i.months = ac, i.isDate = h, i.locale = kt, i.invalid = j, i.duration = ct, i.isMoment = T, i.weekdays = ic, i.parseZone = rc, i.localeData = bt, i.isDuration = cr, i.monthsShort = nc, i.weekdaysMin = sc, i.defineLocale = Vr, i.updateLocale = rl, i.locales = al, i.weekdaysShort = oc, i.normalizeUnits = pe, i.relativeTimeRounding = Rc, i.relativeTimeThreshold = Ac, i.calendarFormat = Zl, i.prototype = J, i.HTML5_FMT = {
|
|
4450
4450
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
4451
4451
|
// <input type="datetime-local" />
|
|
4452
4452
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -4471,7 +4471,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4471
4471
|
}
|
|
4472
4472
|
var Lh = gn.exports, Ni;
|
|
4473
4473
|
function Wh() {
|
|
4474
|
-
return Ni || (Ni = 1, (function(
|
|
4474
|
+
return Ni || (Ni = 1, (function(s, o) {
|
|
4475
4475
|
(function(u, i) {
|
|
4476
4476
|
i(typeof Yr == "function" ? Dn() : u.moment);
|
|
4477
4477
|
})(Lh, (function(u) {
|
|
@@ -4545,7 +4545,7 @@ function Wh() {
|
|
|
4545
4545
|
Wh();
|
|
4546
4546
|
var vn = { exports: {} }, Hh = vn.exports, Ri;
|
|
4547
4547
|
function qh() {
|
|
4548
|
-
return Ri || (Ri = 1, (function(
|
|
4548
|
+
return Ri || (Ri = 1, (function(s, o) {
|
|
4549
4549
|
(function(u, i) {
|
|
4550
4550
|
i(typeof Yr == "function" ? Dn() : u.moment);
|
|
4551
4551
|
})(Hh, (function(u) {
|
|
@@ -4610,7 +4610,7 @@ function qh() {
|
|
|
4610
4610
|
qh();
|
|
4611
4611
|
var yn = { exports: {} }, $h = yn.exports, Ai;
|
|
4612
4612
|
function Bh() {
|
|
4613
|
-
return Ai || (Ai = 1, (function(
|
|
4613
|
+
return Ai || (Ai = 1, (function(s, o) {
|
|
4614
4614
|
(function(u, i) {
|
|
4615
4615
|
i(typeof Yr == "function" ? Dn() : u.moment);
|
|
4616
4616
|
})($h, (function(u) {
|
|
@@ -4688,17 +4688,17 @@ function Bh() {
|
|
|
4688
4688
|
})()), yn.exports;
|
|
4689
4689
|
}
|
|
4690
4690
|
Bh();
|
|
4691
|
-
const Ct = (
|
|
4692
|
-
let
|
|
4693
|
-
return
|
|
4694
|
-
|
|
4695
|
-
}), parseInt(
|
|
4696
|
-
}, Ei = (
|
|
4697
|
-
const
|
|
4698
|
-
if (
|
|
4699
|
-
return
|
|
4700
|
-
if (
|
|
4701
|
-
return
|
|
4691
|
+
const Ct = (s) => {
|
|
4692
|
+
let o = "";
|
|
4693
|
+
return s.split(":").forEach((u) => {
|
|
4694
|
+
o += u;
|
|
4695
|
+
}), parseInt(o);
|
|
4696
|
+
}, Ei = (s) => s.toString().padStart(4, "0").match(/.{1,2}/g).join(":"), ta = (s) => {
|
|
4697
|
+
const o = s.address;
|
|
4698
|
+
if (s.addresstype === "county" && o.country)
|
|
4699
|
+
return o.county;
|
|
4700
|
+
if (s.addresstype === "village" && o.village)
|
|
4701
|
+
return o.village;
|
|
4702
4702
|
const u = [];
|
|
4703
4703
|
[
|
|
4704
4704
|
"emergency",
|
|
@@ -4725,60 +4725,60 @@ const Ct = (o) => {
|
|
|
4725
4725
|
"waterway",
|
|
4726
4726
|
"name"
|
|
4727
4727
|
].forEach((M) => {
|
|
4728
|
-
|
|
4729
|
-
}),
|
|
4728
|
+
o.hasOwnProperty(M) && o[M] && u.push(o[M]);
|
|
4729
|
+
}), o.road ? u.push(o.road) : o.pedestrian ? u.push(o.pedestrian) : o.suburb ? u.push(o.suburb) : o.square ? u.push(o.square) : (o.neighbourhood && u.push(o.neighbourhood), o.hamlet ? u.push(o.hamlet) : o.isolated_dwelling ? u.push(o.isolated_dwelling) : o.locality ? u.push(o.locality) : o.croft && u.push(o.croft)), o.house_number && u.push(o.house_number), o.postcode && u.push(o.postcode), o.village && u.push(o.village), o.town ? u.push(o.town) : o.city && u.push(o.city);
|
|
4730
4730
|
var b = u.join(", ").substr(0, 150);
|
|
4731
4731
|
return b;
|
|
4732
4732
|
};
|
|
4733
|
-
function nr(
|
|
4734
|
-
let
|
|
4735
|
-
if (
|
|
4736
|
-
let u = JSON.parse(
|
|
4733
|
+
function nr(s) {
|
|
4734
|
+
let o = window.sessionStorage.getItem(s);
|
|
4735
|
+
if (o !== null) {
|
|
4736
|
+
let u = JSON.parse(o);
|
|
4737
4737
|
if (new Date(u.expirationDate) > /* @__PURE__ */ new Date())
|
|
4738
4738
|
return u.value;
|
|
4739
|
-
window.sessionStorage.removeItem(
|
|
4739
|
+
window.sessionStorage.removeItem(s);
|
|
4740
4740
|
}
|
|
4741
4741
|
return null;
|
|
4742
4742
|
}
|
|
4743
|
-
function Uh(
|
|
4743
|
+
function Uh(s, o, u) {
|
|
4744
4744
|
let i = u ? new Date(u * 1e3) : null;
|
|
4745
4745
|
if (i) {
|
|
4746
4746
|
let b = {
|
|
4747
|
-
value:
|
|
4747
|
+
value: o,
|
|
4748
4748
|
expirationDate: i.toISOString()
|
|
4749
4749
|
};
|
|
4750
|
-
window.sessionStorage.setItem(
|
|
4750
|
+
window.sessionStorage.setItem(s, JSON.stringify(b));
|
|
4751
4751
|
}
|
|
4752
4752
|
}
|
|
4753
|
-
function Ii({ day:
|
|
4753
|
+
function Ii({ day: s, slot: o, i18next: u }) {
|
|
4754
4754
|
return /* @__PURE__ */ m.jsx("li", { className: "it-list-item", children: /* @__PURE__ */ m.jsx("div", { className: "list-item", children: /* @__PURE__ */ m.jsx("div", { className: "it-right-zone", children: /* @__PURE__ */ m.jsxs("span", { className: "text pl-4", children: [
|
|
4755
|
-
/* @__PURE__ */ m.jsx("b", { children:
|
|
4755
|
+
/* @__PURE__ */ m.jsx("b", { children: s }),
|
|
4756
4756
|
" ",
|
|
4757
4757
|
u.t("alle"),
|
|
4758
4758
|
" ",
|
|
4759
4759
|
u.t("ore"),
|
|
4760
4760
|
" ",
|
|
4761
|
-
/* @__PURE__ */ m.jsx("b", { children:
|
|
4761
|
+
/* @__PURE__ */ m.jsx("b", { children: o })
|
|
4762
4762
|
] }) }) }) });
|
|
4763
4763
|
}
|
|
4764
4764
|
function Or() {
|
|
4765
4765
|
if (typeof document > "u")
|
|
4766
4766
|
return;
|
|
4767
|
-
const
|
|
4767
|
+
const s = document.activeElement?.closest?.(
|
|
4768
4768
|
"[data-formio-widget-scope]"
|
|
4769
4769
|
);
|
|
4770
|
-
if (
|
|
4771
|
-
return
|
|
4772
|
-
const
|
|
4773
|
-
return
|
|
4770
|
+
if (s)
|
|
4771
|
+
return s;
|
|
4772
|
+
const o = document.querySelector("[data-formio-widget-scope]");
|
|
4773
|
+
return o || document.querySelector("widget-formio") || document.body;
|
|
4774
4774
|
}
|
|
4775
4775
|
const Fi = Et.Components.components.field, Gh = ({
|
|
4776
|
-
component:
|
|
4777
|
-
current:
|
|
4776
|
+
component: s,
|
|
4777
|
+
current: o,
|
|
4778
4778
|
onChange: u,
|
|
4779
4779
|
i18next: i
|
|
4780
4780
|
}) => {
|
|
4781
|
-
const [b, M] =
|
|
4781
|
+
const [b, M] = oe(), [I, l] = oe([]), [y, r] = oe([]), [c, h] = oe(!1), [f, p] = oe(null), [g, Y] = oe(null), [_, k] = oe(null), [C, j] = oe(null), [F, R] = oe({}), [O, v] = oe(null), [T, x] = oe(!1), [S, V] = oe([]), [A, E] = oe(!1), z = pt(), B = s.calendarId;
|
|
4782
4782
|
de.locale(i.language), we.locale(i.language);
|
|
4783
4783
|
const Q = (N) => {
|
|
4784
4784
|
let W = de(N).format("YYYY-MM-DD");
|
|
@@ -4811,37 +4811,37 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
4811
4811
|
});
|
|
4812
4812
|
}, te = () => {
|
|
4813
4813
|
if (B !== "" && B != null)
|
|
4814
|
-
if (!
|
|
4814
|
+
if (!o.dataValue)
|
|
4815
4815
|
Q(/* @__PURE__ */ new Date());
|
|
4816
|
-
else if (
|
|
4817
|
-
if (
|
|
4818
|
-
v(
|
|
4816
|
+
else if (s.multiple && Array.isArray(o.dataValue)) {
|
|
4817
|
+
if (o.dataValue.length > 0) {
|
|
4818
|
+
v(o.dataValue);
|
|
4819
4819
|
let N = [];
|
|
4820
|
-
|
|
4820
|
+
o.dataValue.map((W) => {
|
|
4821
4821
|
N.push({
|
|
4822
4822
|
...W,
|
|
4823
4823
|
date: de(W.date, "YYYY-MM-DD").format("DD-MM-YYYY")
|
|
4824
4824
|
});
|
|
4825
4825
|
}), V(N);
|
|
4826
4826
|
}
|
|
4827
|
-
} else if (!
|
|
4827
|
+
} else if (!s.multiple && typeof o.dataValue == "object") {
|
|
4828
4828
|
const N = {
|
|
4829
|
-
date:
|
|
4830
|
-
slot:
|
|
4829
|
+
date: o.dataValue.date,
|
|
4830
|
+
slot: o.dataValue.slot
|
|
4831
4831
|
}, W = {
|
|
4832
|
-
...
|
|
4833
|
-
date: de(
|
|
4832
|
+
...o.dataValue,
|
|
4833
|
+
date: de(o.dataValue.date, "YYYY-MM-DD").format(
|
|
4834
4834
|
"DD-MM-YYYY"
|
|
4835
4835
|
)
|
|
4836
4836
|
};
|
|
4837
4837
|
V([W]), v(N);
|
|
4838
4838
|
} else {
|
|
4839
|
-
let N =
|
|
4839
|
+
let N = o.dataValue.replace(")", "").replace(" (", " @ ").replace(/\//g, "-").split(" @ "), W = N[2].split("#");
|
|
4840
4840
|
const H = {
|
|
4841
4841
|
date: de(N[0], "DD-MM-YYYY").format("YYYY-MM-DD"),
|
|
4842
4842
|
slot: N[1]
|
|
4843
4843
|
};
|
|
4844
|
-
|
|
4844
|
+
s.multiple ? (u([
|
|
4845
4845
|
{
|
|
4846
4846
|
date: N[0],
|
|
4847
4847
|
slot: N[1],
|
|
@@ -4889,7 +4889,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
4889
4889
|
}
|
|
4890
4890
|
return ue;
|
|
4891
4891
|
}, ee = (N, W = !1) => {
|
|
4892
|
-
let H =
|
|
4892
|
+
let H = s.calendarId, ue = s.select_opening_hours, ie = s.select_opening_hours ? s.opening_hours : [];
|
|
4893
4893
|
window.location.pathname.split("/");
|
|
4894
4894
|
let pe = `${Ae()}/api/calendars/${H}/availabilities`, ye = [
|
|
4895
4895
|
`from_time=${de(N).startOf("month").format("YYYY-MM-DD")}`,
|
|
@@ -4897,7 +4897,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
4897
4897
|
];
|
|
4898
4898
|
return W && ye.push(`available=${W}`), ue && ie && ye.push(`opening_hours=${ie.join()}`), `${pe}?${ye.join("&")}`;
|
|
4899
4899
|
}, ce = (N, W = !1) => {
|
|
4900
|
-
let H =
|
|
4900
|
+
let H = s.calendarId, ue = s.select_opening_hours, ie = s.select_opening_hours ? s.opening_hours : [];
|
|
4901
4901
|
window.location.pathname.split("/");
|
|
4902
4902
|
const pe = de(N).format("YYYY-MM-DD");
|
|
4903
4903
|
let ye = `${Ae()}/api/calendars/${H}/availabilities/${pe}`, $e = [];
|
|
@@ -4908,7 +4908,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
4908
4908
|
setTimeout(() => {
|
|
4909
4909
|
x(!T);
|
|
4910
4910
|
}, 1e3), ne(N);
|
|
4911
|
-
},
|
|
4911
|
+
}, se = (N) => {
|
|
4912
4912
|
j(null), setTimeout(() => {
|
|
4913
4913
|
N && (Y(N.target.dataset), j(N.target.id));
|
|
4914
4914
|
}, 300);
|
|
@@ -4917,7 +4917,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
4917
4917
|
let W = `${Ae()}/it/meetings/new-draft`, H = {
|
|
4918
4918
|
date: g?.date ? de(g?.date).format("DD-MM-YYYY") : de(N.target.dataset.date).format("DD-MM-YYYY"),
|
|
4919
4919
|
slot: g?.value_start && g?.value_end ? g.value_start + "-" + g.value_end : N.target.dataset.slots,
|
|
4920
|
-
calendar:
|
|
4920
|
+
calendar: s.calendarId,
|
|
4921
4921
|
opening_hour: g?.opening_hour ? g?.opening_hour : N.target.dataset.opening_hour,
|
|
4922
4922
|
meeting: f ? f.id : "",
|
|
4923
4923
|
first_available_date: F.date,
|
|
@@ -5013,16 +5013,16 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5013
5013
|
meeting_id: H.meeting_id,
|
|
5014
5014
|
opening_hour_id: H.opening_hour || H.opening_hour_id
|
|
5015
5015
|
});
|
|
5016
|
-
}),
|
|
5016
|
+
}), s.multiple ? u(W) : u(W[0]);
|
|
5017
5017
|
} else
|
|
5018
5018
|
u("");
|
|
5019
5019
|
}, K = () => {
|
|
5020
5020
|
h(!0), p(null), k(null), G(null);
|
|
5021
5021
|
}, P = () => {
|
|
5022
5022
|
if (i.language === "it")
|
|
5023
|
-
return
|
|
5024
|
-
if (i.language === "en") return
|
|
5025
|
-
if (i.language === "de") return
|
|
5023
|
+
return is;
|
|
5024
|
+
if (i.language === "en") return ns;
|
|
5025
|
+
if (i.language === "de") return as;
|
|
5026
5026
|
};
|
|
5027
5027
|
Ne(() => {
|
|
5028
5028
|
G(S);
|
|
@@ -5085,8 +5085,8 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5085
5085
|
}
|
|
5086
5086
|
) }) }) })
|
|
5087
5087
|
] }) : /* @__PURE__ */ m.jsx("div", { className: "slot-calendar ", children: /* @__PURE__ */ m.jsxs("div", { className: "row", children: [
|
|
5088
|
-
|
|
5089
|
-
/* @__PURE__ */ m.jsx("h6", { children: i.t(
|
|
5088
|
+
s.multiple ? /* @__PURE__ */ m.jsx("div", { className: "col-12 d-print-none d-preview-calendar-none", children: /* @__PURE__ */ m.jsxs("div", { className: "m-2", children: [
|
|
5089
|
+
/* @__PURE__ */ m.jsx("h6", { children: i.t(s.label) }),
|
|
5090
5090
|
/* @__PURE__ */ m.jsx(
|
|
5091
5091
|
xr,
|
|
5092
5092
|
{
|
|
@@ -5102,7 +5102,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5102
5102
|
"Seleziona un'altra data nel calendario per aggiungere una nuova prenotazione"
|
|
5103
5103
|
) })
|
|
5104
5104
|
] }) }) : S.length !== 1 ? /* @__PURE__ */ m.jsx("div", { className: "col-12 d-print-none d-preview-calendar-none", children: /* @__PURE__ */ m.jsxs("div", { className: "m-2", children: [
|
|
5105
|
-
/* @__PURE__ */ m.jsx("h6", { children: i.t(
|
|
5105
|
+
/* @__PURE__ */ m.jsx("h6", { children: i.t(s.label) }),
|
|
5106
5106
|
/* @__PURE__ */ m.jsx(
|
|
5107
5107
|
xr,
|
|
5108
5108
|
{
|
|
@@ -5143,13 +5143,13 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5143
5143
|
)
|
|
5144
5144
|
] }) }) }, "li" + W)) }) }) }),
|
|
5145
5145
|
f ? /* @__PURE__ */ m.jsx(
|
|
5146
|
-
|
|
5146
|
+
Qo,
|
|
5147
5147
|
{
|
|
5148
5148
|
color: "info",
|
|
5149
5149
|
defaultValue: "string",
|
|
5150
5150
|
className: "d-print-none d-preview-calendar-none",
|
|
5151
5151
|
children: /* @__PURE__ */ m.jsx(
|
|
5152
|
-
|
|
5152
|
+
Zo,
|
|
5153
5153
|
{
|
|
5154
5154
|
date: f.expiration_time,
|
|
5155
5155
|
renderer: Ye
|
|
@@ -5201,7 +5201,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5201
5201
|
{
|
|
5202
5202
|
type: "button",
|
|
5203
5203
|
id: "slot-last-selection",
|
|
5204
|
-
onClick:
|
|
5204
|
+
onClick: se,
|
|
5205
5205
|
tabIndex: "1",
|
|
5206
5206
|
className: C === "slot-last-selection" ? "active btn btn-slot p-0" : "btn btn-slot p-0",
|
|
5207
5207
|
"data-date": de(_, "DD/MM/YYYY").format(
|
|
@@ -5229,7 +5229,7 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5229
5229
|
{
|
|
5230
5230
|
type: "button",
|
|
5231
5231
|
id: "slot-" + W,
|
|
5232
|
-
onClick:
|
|
5232
|
+
onClick: se,
|
|
5233
5233
|
ref: z,
|
|
5234
5234
|
className: C === "slot-" + W ? "active btn btn-slot p-0" : "btn btn-slot p-0",
|
|
5235
5235
|
tabIndex: "1",
|
|
@@ -5306,9 +5306,9 @@ const Fi = Et.Components.components.field, Gh = ({
|
|
|
5306
5306
|
)
|
|
5307
5307
|
] });
|
|
5308
5308
|
};
|
|
5309
|
-
let Jh = class
|
|
5310
|
-
constructor(
|
|
5311
|
-
super(
|
|
5309
|
+
let Jh = class os extends Fi {
|
|
5310
|
+
constructor(o, u, i) {
|
|
5311
|
+
super(o, u, i);
|
|
5312
5312
|
}
|
|
5313
5313
|
/**
|
|
5314
5314
|
* This function tells the form builder about your component. It's name, icon and what group it should be in.
|
|
@@ -5322,7 +5322,7 @@ let Jh = class io extends Fi {
|
|
|
5322
5322
|
icon: "bi bi-calendar-plus",
|
|
5323
5323
|
documentation: "",
|
|
5324
5324
|
weight: 70,
|
|
5325
|
-
schema:
|
|
5325
|
+
schema: os.schema()
|
|
5326
5326
|
};
|
|
5327
5327
|
}
|
|
5328
5328
|
/**
|
|
@@ -5347,8 +5347,8 @@ let Jh = class io extends Fi {
|
|
|
5347
5347
|
* @param DOMElement
|
|
5348
5348
|
* #returns ReactInstance
|
|
5349
5349
|
*/
|
|
5350
|
-
attach(
|
|
5351
|
-
return super.attach(
|
|
5350
|
+
attach(o) {
|
|
5351
|
+
return super.attach(o).then(() => {
|
|
5352
5352
|
this.loadRefs(this.element, {
|
|
5353
5353
|
[`react-${this.id}`]: "single"
|
|
5354
5354
|
});
|
|
@@ -5370,14 +5370,14 @@ let Jh = class io extends Fi {
|
|
|
5370
5370
|
detach() {
|
|
5371
5371
|
return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
|
|
5372
5372
|
}
|
|
5373
|
-
setValue(
|
|
5374
|
-
if (
|
|
5375
|
-
if (Array.isArray(
|
|
5376
|
-
this.selectedNextSlots =
|
|
5377
|
-
else if (typeof
|
|
5378
|
-
this.date =
|
|
5373
|
+
setValue(o) {
|
|
5374
|
+
if (o)
|
|
5375
|
+
if (Array.isArray(o))
|
|
5376
|
+
this.selectedNextSlots = o, this.updateValue(o), this.shouldSetValue = !0;
|
|
5377
|
+
else if (typeof o == "object")
|
|
5378
|
+
this.date = o.date, this.slot = o.slot, this.meeting = o.meeting_id, this.meeting_expiration_time = null, this.opening_hour = o.opening_hour_id, this.calendar_id = o.calendar_id, this.updateValue(o), this.shouldSetValue = !0;
|
|
5379
5379
|
else {
|
|
5380
|
-
let u =
|
|
5380
|
+
let u = o.replace(")", "").replace(" (", " @ ").replace(/\//g, "-").split(" @ "), i = u[2].split("#");
|
|
5381
5381
|
this.date = u[0], this.slot = u[1], this.meeting = i[1], this.meeting_expiration_time = null, this.opening_hour = i.length === 3 ? i[2] : "", this.updateValue({
|
|
5382
5382
|
date: this.date,
|
|
5383
5383
|
slot: this.slot,
|
|
@@ -5390,12 +5390,12 @@ let Jh = class io extends Fi {
|
|
|
5390
5390
|
getValue() {
|
|
5391
5391
|
if (!(this.date && this.slot && this.meeting && this.opening_hour) && !(this.selectedNextSlots && this.selectedNextSlots.length > 0))
|
|
5392
5392
|
return null;
|
|
5393
|
-
let
|
|
5393
|
+
let o = this.meeting ? this.meeting : "", u = this.opening_hour ? this.opening_hour : "";
|
|
5394
5394
|
return this.component.multiple ? this.selectedNextSlots : {
|
|
5395
5395
|
date: this.date,
|
|
5396
5396
|
slot: this.slot,
|
|
5397
5397
|
calendar_id: this.calendar_id,
|
|
5398
|
-
meeting_id:
|
|
5398
|
+
meeting_id: o,
|
|
5399
5399
|
opening_hour_id: u
|
|
5400
5400
|
};
|
|
5401
5401
|
}
|
|
@@ -5575,7 +5575,7 @@ if(data.calendarId && data.api_url){
|
|
|
5575
5575
|
weight: 1
|
|
5576
5576
|
}
|
|
5577
5577
|
];
|
|
5578
|
-
function Xh(...
|
|
5578
|
+
function Xh(...s) {
|
|
5579
5579
|
return Jt.baseEditForm(
|
|
5580
5580
|
[
|
|
5581
5581
|
{
|
|
@@ -5583,27 +5583,27 @@ function Xh(...o) {
|
|
|
5583
5583
|
components: Kh
|
|
5584
5584
|
}
|
|
5585
5585
|
],
|
|
5586
|
-
...
|
|
5586
|
+
...s
|
|
5587
5587
|
);
|
|
5588
5588
|
}
|
|
5589
|
-
function Vi({ day:
|
|
5589
|
+
function Vi({ day: s, slot: o, i18next: u }) {
|
|
5590
5590
|
return /* @__PURE__ */ m.jsx("li", { className: "it-list-item", children: /* @__PURE__ */ m.jsx("div", { className: "list-item", children: /* @__PURE__ */ m.jsx("div", { className: "it-right-zone", children: /* @__PURE__ */ m.jsxs("span", { className: "text pl-4", children: [
|
|
5591
|
-
/* @__PURE__ */ m.jsx("b", { children:
|
|
5591
|
+
/* @__PURE__ */ m.jsx("b", { children: s }),
|
|
5592
5592
|
" ",
|
|
5593
5593
|
u.t("alle"),
|
|
5594
5594
|
" ",
|
|
5595
5595
|
u.t("ore"),
|
|
5596
5596
|
" ",
|
|
5597
|
-
/* @__PURE__ */ m.jsx("b", { children:
|
|
5597
|
+
/* @__PURE__ */ m.jsx("b", { children: o })
|
|
5598
5598
|
] }) }) }) });
|
|
5599
5599
|
}
|
|
5600
5600
|
const zi = Et.Components.components.field, Zh = ({
|
|
5601
|
-
component:
|
|
5602
|
-
current:
|
|
5601
|
+
component: s,
|
|
5602
|
+
current: o,
|
|
5603
5603
|
onChange: u,
|
|
5604
5604
|
i18next: i
|
|
5605
5605
|
}) => {
|
|
5606
|
-
const [b, M] =
|
|
5606
|
+
const [b, M] = oe(), [I, l] = oe([]), [y, r] = oe([]), [c, h] = oe(!1), [f, p] = oe(null), [g, Y] = oe(null), [_, k] = oe(null), [C, j] = oe(null), [F, R] = oe({}), [O, v] = oe(null), [T, x] = oe(!1), [S, V] = oe([]), [A, E] = oe(!1), z = pt(), B = s.calendarId;
|
|
5607
5607
|
de.locale(i.language), we.locale(i.language);
|
|
5608
5608
|
const Q = (P) => {
|
|
5609
5609
|
let q = de(P).format("YYYY-MM-DD");
|
|
@@ -5636,37 +5636,37 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5636
5636
|
});
|
|
5637
5637
|
}, te = () => {
|
|
5638
5638
|
if (B !== "" && B != null)
|
|
5639
|
-
if (!
|
|
5639
|
+
if (!o.dataValue)
|
|
5640
5640
|
Q(/* @__PURE__ */ new Date());
|
|
5641
|
-
else if (
|
|
5642
|
-
if (
|
|
5643
|
-
v(
|
|
5641
|
+
else if (s.multiple && Array.isArray(o.dataValue)) {
|
|
5642
|
+
if (o.dataValue.length > 0) {
|
|
5643
|
+
v(o.dataValue);
|
|
5644
5644
|
let P = [];
|
|
5645
|
-
|
|
5645
|
+
o.dataValue.map((q) => {
|
|
5646
5646
|
P.push({
|
|
5647
5647
|
...q,
|
|
5648
5648
|
date: de(q.date, "YYYY-MM-DD").format("DD-MM-YYYY")
|
|
5649
5649
|
});
|
|
5650
5650
|
}), V(P);
|
|
5651
5651
|
}
|
|
5652
|
-
} else if (!
|
|
5652
|
+
} else if (!s.multiple && typeof o.dataValue == "object") {
|
|
5653
5653
|
const P = {
|
|
5654
|
-
date:
|
|
5655
|
-
slot:
|
|
5654
|
+
date: o.dataValue.date,
|
|
5655
|
+
slot: o.dataValue.slot
|
|
5656
5656
|
}, q = {
|
|
5657
|
-
...
|
|
5658
|
-
date: de(
|
|
5657
|
+
...o.dataValue,
|
|
5658
|
+
date: de(o.dataValue.date, "YYYY-MM-DD").format(
|
|
5659
5659
|
"DD-MM-YYYY"
|
|
5660
5660
|
)
|
|
5661
5661
|
};
|
|
5662
5662
|
V([q]), v(P);
|
|
5663
5663
|
} else {
|
|
5664
|
-
let P =
|
|
5664
|
+
let P = o.dataValue.replace(")", "").replace(" (", " @ ").replace(/\//g, "-").split(" @ "), q = P[2].split("#");
|
|
5665
5665
|
const N = {
|
|
5666
5666
|
date: de(P[0], "DD-MM-YYYY").format("YYYY-MM-DD"),
|
|
5667
5667
|
slot: P[1]
|
|
5668
5668
|
};
|
|
5669
|
-
|
|
5669
|
+
s.multiple ? (u([
|
|
5670
5670
|
{
|
|
5671
5671
|
date: P[0],
|
|
5672
5672
|
slot: P[1],
|
|
@@ -5714,7 +5714,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5714
5714
|
}
|
|
5715
5715
|
return W;
|
|
5716
5716
|
}, ee = (P, q = !1) => {
|
|
5717
|
-
let N =
|
|
5717
|
+
let N = s.calendarId, W = s.select_opening_hours, H = s.select_opening_hours ? s.opening_hours : [];
|
|
5718
5718
|
window.location.pathname.split("/");
|
|
5719
5719
|
let ie = `${Ae()}/api/calendars/${N}/availabilities`, Te = [
|
|
5720
5720
|
`from_time=${de(P).startOf("month").format("YYYY-MM-DD")}`,
|
|
@@ -5722,7 +5722,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5722
5722
|
];
|
|
5723
5723
|
return q && Te.push(`available=${q}`), W && H && Te.push(`opening_hours=${H.join()}`), `${ie}?${Te.join("&")}`;
|
|
5724
5724
|
}, ce = (P, q = !1) => {
|
|
5725
|
-
let N =
|
|
5725
|
+
let N = s.calendarId, W = s.select_opening_hours, H = s.select_opening_hours ? s.opening_hours : [];
|
|
5726
5726
|
window.location.pathname.split("/");
|
|
5727
5727
|
const ie = de(P).format("YYYY-MM-DD");
|
|
5728
5728
|
let Te = `${Ae()}/api/calendars/${N}/availabilities/${ie}`, pe = [];
|
|
@@ -5733,7 +5733,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5733
5733
|
setTimeout(() => {
|
|
5734
5734
|
x(!T);
|
|
5735
5735
|
}, 1e3), ne(P);
|
|
5736
|
-
},
|
|
5736
|
+
}, se = (P) => {
|
|
5737
5737
|
j(null), setTimeout(() => {
|
|
5738
5738
|
P && (Y(P.target.dataset), j(P.target.id));
|
|
5739
5739
|
}, 300);
|
|
@@ -5742,7 +5742,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5742
5742
|
let q = `${Ae()}/it/meetings/new-draft`, N = {
|
|
5743
5743
|
date: g?.date ? de(g?.date).format("DD-MM-YYYY") : de(P.target.dataset.date).format("DD-MM-YYYY"),
|
|
5744
5744
|
slot: g?.value_start && g?.value_end ? g.value_start + "-" + g.value_end : P.target.dataset.slots,
|
|
5745
|
-
calendar:
|
|
5745
|
+
calendar: s.calendarId,
|
|
5746
5746
|
opening_hour: g?.opening_hour ? g?.opening_hour : P.target.dataset.opening_hour,
|
|
5747
5747
|
meeting: f ? f.id : "",
|
|
5748
5748
|
first_available_date: F.date,
|
|
@@ -5818,16 +5818,16 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5818
5818
|
meeting_id: N.meeting_id,
|
|
5819
5819
|
opening_hour_id: N.opening_hour || N.opening_hour_id
|
|
5820
5820
|
});
|
|
5821
|
-
}),
|
|
5821
|
+
}), s.multiple ? u(q) : u(q[0]);
|
|
5822
5822
|
} else
|
|
5823
5823
|
u("");
|
|
5824
5824
|
}, $ = () => {
|
|
5825
5825
|
h(!0), p(null), k(null), ke(null);
|
|
5826
5826
|
}, G = () => {
|
|
5827
5827
|
if (i.language === "it")
|
|
5828
|
-
return
|
|
5829
|
-
if (i.language === "en") return
|
|
5830
|
-
if (i.language === "de") return
|
|
5828
|
+
return is;
|
|
5829
|
+
if (i.language === "en") return ns;
|
|
5830
|
+
if (i.language === "de") return as;
|
|
5831
5831
|
};
|
|
5832
5832
|
Ne(() => {
|
|
5833
5833
|
ke(S);
|
|
@@ -5890,8 +5890,8 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5890
5890
|
}
|
|
5891
5891
|
) }) }) })
|
|
5892
5892
|
] }) : /* @__PURE__ */ m.jsx("div", { className: "slot-calendar ", children: /* @__PURE__ */ m.jsxs("div", { className: "row", children: [
|
|
5893
|
-
|
|
5894
|
-
/* @__PURE__ */ m.jsx("h6", { children: i.t(
|
|
5893
|
+
s.multiple ? /* @__PURE__ */ m.jsx("div", { className: "col-12 d-print-none d-preview-calendar-none", children: /* @__PURE__ */ m.jsxs("div", { className: "m-2", children: [
|
|
5894
|
+
/* @__PURE__ */ m.jsx("h6", { children: i.t(s.label) }),
|
|
5895
5895
|
/* @__PURE__ */ m.jsx(
|
|
5896
5896
|
xr,
|
|
5897
5897
|
{
|
|
@@ -5904,7 +5904,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5904
5904
|
}
|
|
5905
5905
|
)
|
|
5906
5906
|
] }) }) : S.length !== 1 ? /* @__PURE__ */ m.jsx("div", { className: "col-12 d-print-none d-preview-calendar-none", children: /* @__PURE__ */ m.jsxs("div", { className: "m-2", children: [
|
|
5907
|
-
/* @__PURE__ */ m.jsx("h6", { children: i.t(
|
|
5907
|
+
/* @__PURE__ */ m.jsx("h6", { children: i.t(s.label) }),
|
|
5908
5908
|
/* @__PURE__ */ m.jsx(
|
|
5909
5909
|
xr,
|
|
5910
5910
|
{
|
|
@@ -5939,13 +5939,13 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5939
5939
|
)
|
|
5940
5940
|
] }) }) }, "li" + q)) }) }) }),
|
|
5941
5941
|
f ? /* @__PURE__ */ m.jsx(
|
|
5942
|
-
|
|
5942
|
+
Qo,
|
|
5943
5943
|
{
|
|
5944
5944
|
color: "info",
|
|
5945
5945
|
defaultValue: "string",
|
|
5946
5946
|
className: "d-print-none d-preview-calendar-none",
|
|
5947
5947
|
children: /* @__PURE__ */ m.jsx(
|
|
5948
|
-
|
|
5948
|
+
Zo,
|
|
5949
5949
|
{
|
|
5950
5950
|
date: f.expiration_time,
|
|
5951
5951
|
renderer: Ye
|
|
@@ -5991,7 +5991,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
5991
5991
|
{
|
|
5992
5992
|
type: "button",
|
|
5993
5993
|
id: "slot-last-selection",
|
|
5994
|
-
onClick:
|
|
5994
|
+
onClick: se,
|
|
5995
5995
|
tabIndex: "1",
|
|
5996
5996
|
className: C === "slot-last-selection" ? "active btn btn-slot p-0" : "btn btn-slot p-0",
|
|
5997
5997
|
"data-date": de(_, "DD/MM/YYYY").format(
|
|
@@ -6019,7 +6019,7 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
6019
6019
|
{
|
|
6020
6020
|
type: "button",
|
|
6021
6021
|
id: "slot-" + q,
|
|
6022
|
-
onClick:
|
|
6022
|
+
onClick: se,
|
|
6023
6023
|
ref: z,
|
|
6024
6024
|
className: C === "slot-" + q ? "active btn btn-slot p-0" : "btn btn-slot p-0",
|
|
6025
6025
|
tabIndex: "1",
|
|
@@ -6068,8 +6068,8 @@ const zi = Et.Components.components.field, Zh = ({
|
|
|
6068
6068
|
] });
|
|
6069
6069
|
};
|
|
6070
6070
|
class kn extends zi {
|
|
6071
|
-
constructor(
|
|
6072
|
-
super(
|
|
6071
|
+
constructor(o, u, i) {
|
|
6072
|
+
super(o, u, i);
|
|
6073
6073
|
}
|
|
6074
6074
|
/**
|
|
6075
6075
|
* This function tells the form builder about your component. It's name, icon and what group it should be in.
|
|
@@ -6108,8 +6108,8 @@ class kn extends zi {
|
|
|
6108
6108
|
* @param DOMElement
|
|
6109
6109
|
* #returns ReactInstance
|
|
6110
6110
|
*/
|
|
6111
|
-
attach(
|
|
6112
|
-
return super.attach(
|
|
6111
|
+
attach(o) {
|
|
6112
|
+
return super.attach(o).then(() => {
|
|
6113
6113
|
this.loadRefs(this.element, {
|
|
6114
6114
|
[`react-${this.id}`]: "single"
|
|
6115
6115
|
});
|
|
@@ -6131,14 +6131,14 @@ class kn extends zi {
|
|
|
6131
6131
|
detach() {
|
|
6132
6132
|
return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
|
|
6133
6133
|
}
|
|
6134
|
-
setValue(
|
|
6135
|
-
if (
|
|
6136
|
-
if (Array.isArray(
|
|
6137
|
-
this.selectedNextSlots =
|
|
6138
|
-
else if (typeof
|
|
6139
|
-
this.date =
|
|
6134
|
+
setValue(o) {
|
|
6135
|
+
if (o)
|
|
6136
|
+
if (Array.isArray(o))
|
|
6137
|
+
this.selectedNextSlots = o, this.updateValue(o), this.shouldSetValue = !0;
|
|
6138
|
+
else if (typeof o == "object")
|
|
6139
|
+
this.date = o.date, this.slot = o.slot, this.meeting = o.meeting_id, this.meeting_expiration_time = null, this.opening_hour = o.opening_hour_id, this.calendar_id = o.calendar_id, this.updateValue(o), this.shouldSetValue = !0;
|
|
6140
6140
|
else {
|
|
6141
|
-
let u =
|
|
6141
|
+
let u = o.replace(")", "").replace(" (", " @ ").replace(/\//g, "-").split(" @ "), i = u[2].split("#");
|
|
6142
6142
|
this.date = u[0], this.slot = u[1], this.meeting = i[1], this.meeting_expiration_time = null, this.opening_hour = i.length === 3 ? i[2] : "", this.updateValue({
|
|
6143
6143
|
date: this.date,
|
|
6144
6144
|
slot: this.slot,
|
|
@@ -6151,12 +6151,12 @@ class kn extends zi {
|
|
|
6151
6151
|
getValue() {
|
|
6152
6152
|
if (!(this.date && this.slot && this.meeting && this.opening_hour) && !(this.selectedNextSlots && this.selectedNextSlots.length > 0))
|
|
6153
6153
|
return null;
|
|
6154
|
-
let
|
|
6154
|
+
let o = this.meeting ? this.meeting : "", u = this.opening_hour ? this.opening_hour : "";
|
|
6155
6155
|
return this.component.multiple ? this.selectedNextSlots : {
|
|
6156
6156
|
date: this.date,
|
|
6157
6157
|
slot: this.slot,
|
|
6158
6158
|
calendar_id: this.calendar_id,
|
|
6159
|
-
meeting_id:
|
|
6159
|
+
meeting_id: o,
|
|
6160
6160
|
opening_hour_id: u
|
|
6161
6161
|
};
|
|
6162
6162
|
}
|
|
@@ -6240,7 +6240,7 @@ const Qh = [
|
|
|
6240
6240
|
input: !0
|
|
6241
6241
|
}
|
|
6242
6242
|
];
|
|
6243
|
-
function ef(...
|
|
6243
|
+
function ef(...s) {
|
|
6244
6244
|
return Jt.baseEditForm(
|
|
6245
6245
|
[
|
|
6246
6246
|
{
|
|
@@ -6248,33 +6248,33 @@ function ef(...o) {
|
|
|
6248
6248
|
components: Qh
|
|
6249
6249
|
}
|
|
6250
6250
|
],
|
|
6251
|
-
...
|
|
6251
|
+
...s
|
|
6252
6252
|
);
|
|
6253
6253
|
}
|
|
6254
|
-
function tf({ day:
|
|
6254
|
+
function tf({ day: s, slot: o, i18next: u }) {
|
|
6255
6255
|
return /* @__PURE__ */ m.jsx("li", { className: "it-list-item", children: /* @__PURE__ */ m.jsx("div", { className: "list-item", children: /* @__PURE__ */ m.jsx("div", { className: "it-right-zone", children: /* @__PURE__ */ m.jsxs("span", { className: "text-paragraph pl-4", children: [
|
|
6256
|
-
/* @__PURE__ */ m.jsx("b", { children:
|
|
6256
|
+
/* @__PURE__ */ m.jsx("b", { children: s }),
|
|
6257
6257
|
" ",
|
|
6258
6258
|
u.t("alle"),
|
|
6259
6259
|
" ",
|
|
6260
6260
|
u.t("ore"),
|
|
6261
6261
|
" ",
|
|
6262
|
-
/* @__PURE__ */ m.jsx("b", { children:
|
|
6262
|
+
/* @__PURE__ */ m.jsx("b", { children: o })
|
|
6263
6263
|
] }) }) }) });
|
|
6264
6264
|
}
|
|
6265
|
-
function rf(
|
|
6266
|
-
if (!
|
|
6267
|
-
const u =
|
|
6265
|
+
function rf(s, o) {
|
|
6266
|
+
if (!o || o.length === 0) return;
|
|
6267
|
+
const u = o.map((I) => {
|
|
6268
6268
|
const l = new Date(I.start);
|
|
6269
6269
|
return (new Date(I.end) - l) / 6e4;
|
|
6270
6270
|
}), i = Math.min(...u), b = u.reduce((I, l) => I + l, 0) / u.length;
|
|
6271
6271
|
let M = 0;
|
|
6272
|
-
i <= 30 && i > 15 ? M = b * 1 : i <= 15 ? M = b * 24 : M = b * 4,
|
|
6272
|
+
i <= 30 && i > 15 ? M = b * 1 : i <= 15 ? M = b * 24 : M = b * 4, s.setOption("slotHeight", M), document.documentElement.style.setProperty(
|
|
6273
6273
|
"--slot-height",
|
|
6274
6274
|
`${M}px`
|
|
6275
6275
|
);
|
|
6276
6276
|
}
|
|
6277
|
-
const
|
|
6277
|
+
const ss = {
|
|
6278
6278
|
AVAILABILITY: {
|
|
6279
6279
|
key: "availability_data_cache_",
|
|
6280
6280
|
duration: 10
|
|
@@ -6290,56 +6290,56 @@ const so = {
|
|
|
6290
6290
|
duration: 30
|
|
6291
6291
|
// minuti
|
|
6292
6292
|
}
|
|
6293
|
-
}, ra = (
|
|
6293
|
+
}, ra = (s, o, u) => {
|
|
6294
6294
|
const i = {
|
|
6295
6295
|
data: u,
|
|
6296
6296
|
timestamp: we().toISOString()
|
|
6297
6297
|
};
|
|
6298
|
-
|
|
6299
|
-
}, aa = (
|
|
6298
|
+
localStorage.setItem(o, JSON.stringify(i)), console.log(`✅ Cache salvato: ${s}`);
|
|
6299
|
+
}, aa = (s, o) => {
|
|
6300
6300
|
try {
|
|
6301
|
-
const u =
|
|
6301
|
+
const u = localStorage.getItem(o);
|
|
6302
6302
|
if (!u) return null;
|
|
6303
6303
|
const i = JSON.parse(u), b = we().diff(
|
|
6304
6304
|
we(i.timestamp),
|
|
6305
6305
|
"minutes"
|
|
6306
6306
|
);
|
|
6307
|
-
return b >
|
|
6307
|
+
return b > ss[s].duration ? (localStorage.removeItem(o), console.log(`⏰ Cache scaduto: ${s}`), null) : (console.log(`✅ Cache letto: ${s} (${b} minuti fa)`), i.data);
|
|
6308
6308
|
} catch (u) {
|
|
6309
|
-
return console.error(`Errore nel leggere il cache (${
|
|
6309
|
+
return console.error(`Errore nel leggere il cache (${s}):`, u), null;
|
|
6310
6310
|
}
|
|
6311
|
-
}, na = (
|
|
6311
|
+
}, na = (s, ...o) => ss[s].key + btoa(o), On = "calendar_view_state", Yn = "calendar_view_date", af = (s, o) => {
|
|
6312
6312
|
try {
|
|
6313
|
-
|
|
6313
|
+
localStorage.setItem(On, s), localStorage.setItem(Yn, o || (/* @__PURE__ */ new Date()).toISOString());
|
|
6314
6314
|
} catch (u) {
|
|
6315
6315
|
console.error("Errore nel salvare lo stato della view:", u);
|
|
6316
6316
|
}
|
|
6317
6317
|
}, nf = () => {
|
|
6318
6318
|
try {
|
|
6319
|
-
const
|
|
6319
|
+
const s = localStorage.getItem(On), o = localStorage.getItem(Yn);
|
|
6320
6320
|
return {
|
|
6321
|
-
viewType:
|
|
6322
|
-
date:
|
|
6321
|
+
viewType: s || "timeGridWeek",
|
|
6322
|
+
date: o ? new Date(o) : /* @__PURE__ */ new Date()
|
|
6323
6323
|
};
|
|
6324
|
-
} catch (
|
|
6325
|
-
return console.error("Errore nel leggere lo stato della view:",
|
|
6324
|
+
} catch (s) {
|
|
6325
|
+
return console.error("Errore nel leggere lo stato della view:", s), {
|
|
6326
6326
|
viewType: "timeGridWeek",
|
|
6327
6327
|
date: /* @__PURE__ */ new Date()
|
|
6328
6328
|
};
|
|
6329
6329
|
}
|
|
6330
|
-
},
|
|
6330
|
+
}, ls = () => {
|
|
6331
6331
|
try {
|
|
6332
|
-
|
|
6333
|
-
} catch (
|
|
6334
|
-
console.error("Errore nel pulire lo stato della view:",
|
|
6332
|
+
localStorage.removeItem(On), localStorage.removeItem(Yn);
|
|
6333
|
+
} catch (s) {
|
|
6334
|
+
console.error("Errore nel pulire lo stato della view:", s);
|
|
6335
6335
|
}
|
|
6336
|
-
}, Li = Et.Components.components.field,
|
|
6337
|
-
component:
|
|
6338
|
-
current:
|
|
6336
|
+
}, Li = Et.Components.components.field, of = ({
|
|
6337
|
+
component: s,
|
|
6338
|
+
current: o,
|
|
6339
6339
|
onChange: u,
|
|
6340
6340
|
i18next: i
|
|
6341
6341
|
}) => {
|
|
6342
|
-
const [b, M] =
|
|
6342
|
+
const [b, M] = oe(null), [I, l] = oe(null), [y, r] = oe([]), [c, h] = oe(!1), [f, p] = oe(!1), [g, Y] = oe(null), [_, k] = oe([]), [C, j] = oe([]), [F, R] = oe([]), [O, v] = oe(null), [T, x] = oe(null), [S, V] = oe(null), A = pt(null), E = pt(null);
|
|
6343
6343
|
i.language, de.locale(i.language), we.locale(i.language);
|
|
6344
6344
|
function z($) {
|
|
6345
6345
|
if (!$ || $.length === 0) return null;
|
|
@@ -6416,20 +6416,20 @@ const so = {
|
|
|
6416
6416
|
reason: null,
|
|
6417
6417
|
location: null,
|
|
6418
6418
|
motivation_outcome: null,
|
|
6419
|
-
calendar_group_config_id:
|
|
6420
|
-
calendar_group_office_id:
|
|
6421
|
-
calendar_group_place_id:
|
|
6419
|
+
calendar_group_config_id: o?.data?.service_data?.id,
|
|
6420
|
+
calendar_group_office_id: o?.data?.user_group?.id,
|
|
6421
|
+
calendar_group_place_id: o?.data?.place?.id
|
|
6422
6422
|
};
|
|
6423
6423
|
window.FormioHelper.authenticatedRequest(
|
|
6424
|
-
|
|
6425
|
-
|
|
6424
|
+
o?.dataValue?.id ? "PATCH" : "POST",
|
|
6425
|
+
o?.dataValue?.id ? `meetings/${o.dataValue.id}` : "meetings",
|
|
6426
6426
|
K
|
|
6427
6427
|
).then((P) => {
|
|
6428
6428
|
Y({
|
|
6429
6429
|
day: we(G.date).format("dddd, DD MMMM YYYY"),
|
|
6430
6430
|
startDate: G.start_time,
|
|
6431
6431
|
endDate: G.end_time
|
|
6432
|
-
}), u(P?.id ? P : P ? { ...P, id:
|
|
6432
|
+
}), u(P?.id ? P : P ? { ...P, id: o.dataValue.id } : o.dataValue.id ? { ...K, id: o.dataValue.id } : { ...K });
|
|
6433
6433
|
}).catch((P) => {
|
|
6434
6434
|
console.error(P), P.status === 400 && P?.response?.data?.type === "validation_error" ? qe.fire({
|
|
6435
6435
|
title: "",
|
|
@@ -6459,7 +6459,7 @@ const so = {
|
|
|
6459
6459
|
}));
|
|
6460
6460
|
}), K;
|
|
6461
6461
|
}, fe = async () => {
|
|
6462
|
-
const $ =
|
|
6462
|
+
const $ = o?.root?.data?.place?.merge_availabilities ? o?.root?.data?.place?.merged_availabilities_link : null, G = de().format("YYYY-MM-DD"), K = de().add(1, "month").format("YYYY-MM-DD"), P = o?.root?.data?.place?.calendars[0]?.id || null, q = $ ? ne($, G, K) : te(
|
|
6463
6463
|
G,
|
|
6464
6464
|
K,
|
|
6465
6465
|
P
|
|
@@ -6487,7 +6487,7 @@ const so = {
|
|
|
6487
6487
|
};
|
|
6488
6488
|
Ne(() => {
|
|
6489
6489
|
if (b?.length) {
|
|
6490
|
-
const $ =
|
|
6490
|
+
const $ = o?.dataValue ?? o?.getValue();
|
|
6491
6491
|
if ($?.from_time && $?.to_time && !we().isAfter($?.draft_expiration)) {
|
|
6492
6492
|
const G = we($.from_time).format("YYYY-MM");
|
|
6493
6493
|
v(G), G && j && (j(
|
|
@@ -6500,13 +6500,13 @@ const so = {
|
|
|
6500
6500
|
});
|
|
6501
6501
|
}
|
|
6502
6502
|
}, [b]), Ne(() => {
|
|
6503
|
-
const $ =
|
|
6503
|
+
const $ = o?.dataValue ?? o?.getValue();
|
|
6504
6504
|
if (!_.length || O || $?.from_time || $?.to_time) return;
|
|
6505
6505
|
const G = _[0];
|
|
6506
6506
|
G && (v(G.value), he(G.value));
|
|
6507
|
-
}, [_, O,
|
|
6507
|
+
}, [_, O, o?.dataValue]), Ne(() => {
|
|
6508
6508
|
if (T && f === !1) {
|
|
6509
|
-
const $ =
|
|
6509
|
+
const $ = o?.dataValue ?? o?.getValue();
|
|
6510
6510
|
ee(
|
|
6511
6511
|
JSON.stringify({
|
|
6512
6512
|
date: T,
|
|
@@ -6515,17 +6515,17 @@ const so = {
|
|
|
6515
6515
|
);
|
|
6516
6516
|
}
|
|
6517
6517
|
}, [T]);
|
|
6518
|
-
const
|
|
6518
|
+
const se = () => window.innerWidth > 768 ? "timeGridWeek" : "timeGridDay";
|
|
6519
6519
|
Ne(() => {
|
|
6520
6520
|
const $ = () => {
|
|
6521
6521
|
const G = E.current;
|
|
6522
6522
|
if (!G) return;
|
|
6523
|
-
const K =
|
|
6523
|
+
const K = se(), P = G.getView().type;
|
|
6524
6524
|
K !== P && G.setOption("view", K);
|
|
6525
6525
|
};
|
|
6526
6526
|
return window.addEventListener("resize", $), () => window.removeEventListener("resize", $);
|
|
6527
6527
|
}, []), Ne(() => {
|
|
6528
|
-
const $ =
|
|
6528
|
+
const $ = o?.dataValue ?? o?.getValue();
|
|
6529
6529
|
F?.length && $?.from_time && (V(
|
|
6530
6530
|
we($.from_time).format("HH:mm") + " - " + we($.to_time).format("HH:mm")
|
|
6531
6531
|
), Y({
|
|
@@ -6546,7 +6546,7 @@ const so = {
|
|
|
6546
6546
|
date: $.date,
|
|
6547
6547
|
// 🔑 Ripristina la data
|
|
6548
6548
|
slotEventOverlap: !1,
|
|
6549
|
-
view:
|
|
6549
|
+
view: se(),
|
|
6550
6550
|
height: "400px",
|
|
6551
6551
|
// oppure '100%' o 'auto'
|
|
6552
6552
|
views: {
|
|
@@ -6594,20 +6594,20 @@ const so = {
|
|
|
6594
6594
|
reason: null,
|
|
6595
6595
|
location: null,
|
|
6596
6596
|
motivation_outcome: null,
|
|
6597
|
-
calendar_group_config_id:
|
|
6598
|
-
calendar_group_office_id:
|
|
6599
|
-
calendar_group_place_id:
|
|
6597
|
+
calendar_group_config_id: o?.data?.service_data?.id,
|
|
6598
|
+
calendar_group_office_id: o?.data?.user_group?.id,
|
|
6599
|
+
calendar_group_place_id: o?.data?.place?.id
|
|
6600
6600
|
};
|
|
6601
6601
|
window.FormioHelper.authenticatedRequest(
|
|
6602
|
-
|
|
6603
|
-
|
|
6602
|
+
o?.dataValue?.id ? "PATCH" : "POST",
|
|
6603
|
+
o?.dataValue?.id ? `meetings/${o.dataValue.id}` : "meetings",
|
|
6604
6604
|
ue
|
|
6605
6605
|
).then((ie) => {
|
|
6606
6606
|
let Te;
|
|
6607
6607
|
!ie || ie === "" ? Te = {
|
|
6608
6608
|
...ue,
|
|
6609
6609
|
code: null,
|
|
6610
|
-
id:
|
|
6610
|
+
id: o?.dataValue?.id
|
|
6611
6611
|
} : typeof ie == "object" && (Te = ie), Y({
|
|
6612
6612
|
day: N,
|
|
6613
6613
|
startDate: W,
|
|
@@ -6646,7 +6646,7 @@ const so = {
|
|
|
6646
6646
|
}
|
|
6647
6647
|
});
|
|
6648
6648
|
}, Pe = ($) => {
|
|
6649
|
-
|
|
6649
|
+
o?.root?.data?.place && E.current.setOption("eventSources", [
|
|
6650
6650
|
{
|
|
6651
6651
|
events: Ie
|
|
6652
6652
|
}
|
|
@@ -6657,7 +6657,7 @@ const so = {
|
|
|
6657
6657
|
E.current.setOption("events", []);
|
|
6658
6658
|
const P = de($.start).format("YYYY-MM-DD"), q = new Date($.end);
|
|
6659
6659
|
q.setDate(q.getDate() - 1);
|
|
6660
|
-
const N = de(q).format("YYYY-MM-DD"), W = null, H =
|
|
6660
|
+
const N = de(q).format("YYYY-MM-DD"), W = null, H = o?.root?.data?.place?.merge_availabilities ? o?.root?.data?.place?.merged_availabilities_link : null, ue = H ? Q(H, P, N) : te(
|
|
6661
6661
|
P,
|
|
6662
6662
|
N,
|
|
6663
6663
|
W
|
|
@@ -6702,8 +6702,8 @@ const so = {
|
|
|
6702
6702
|
console.warn("Elemento calendario non trovato");
|
|
6703
6703
|
return;
|
|
6704
6704
|
}
|
|
6705
|
-
const P =
|
|
6706
|
-
P && P?.draft_expiration && we().isAfter(P.draft_expiration) && (u({}),
|
|
6705
|
+
const P = o?.dataValue ?? o?.getValue();
|
|
6706
|
+
P && P?.draft_expiration && we().isAfter(P.draft_expiration) && (u({}), ls()), o?.data?.service_data?.view_type === "calendar" || s.view === "calendar" ? E?.current || X() : o?.data?.service_data?.view_type === "select" || s.view === "select" ? fe() : alert(
|
|
6707
6707
|
i.t(
|
|
6708
6708
|
"Il componente non è configurato per la visualizzazione a calendario"
|
|
6709
6709
|
)
|
|
@@ -6715,9 +6715,9 @@ const so = {
|
|
|
6715
6715
|
return $ = setTimeout(K, 500), () => {
|
|
6716
6716
|
G = !0, $ && clearTimeout($), E.current && (A.current?.destroy?.(), E.current = null);
|
|
6717
6717
|
};
|
|
6718
|
-
}, [
|
|
6718
|
+
}, [o?.root?.data?.place]);
|
|
6719
6719
|
function Ye($) {
|
|
6720
|
-
const G =
|
|
6720
|
+
const G = o?.dataValue;
|
|
6721
6721
|
if (!G?.from_time) return;
|
|
6722
6722
|
const K = we(G.from_time).format("DD-MM-YYYY HH:mm"), P = we(G.to_time).format("DD-MM-YYYY HH:mm"), q = $.find(
|
|
6723
6723
|
(W) => we(W.start).format("DD-MM-YYYY HH:mm") === K && we(W.end).format("DD-MM-YYYY HH:mm") === P
|
|
@@ -6747,10 +6747,10 @@ const so = {
|
|
|
6747
6747
|
] })
|
|
6748
6748
|
] }) });
|
|
6749
6749
|
return Ne(() => {
|
|
6750
|
-
document.querySelector(".formio-read-only") && f === !1 ? p(!0) : (
|
|
6750
|
+
document.querySelector(".formio-read-only") && f === !1 ? p(!0) : (o?.data?.service_data?.view_type === "select" ? fe() : o?.data?.service_data?.view_type === "calendar" && X(), p(!1));
|
|
6751
6751
|
}, []), Ne(() => {
|
|
6752
6752
|
f && setTimeout(() => {
|
|
6753
|
-
const $ =
|
|
6753
|
+
const $ = o?.dataValue ?? o?.getValue();
|
|
6754
6754
|
console.log("savedValue", $, f), $ && l($);
|
|
6755
6755
|
}, 500);
|
|
6756
6756
|
}, [f]), /* @__PURE__ */ m.jsx(m.Fragment, { children: f && I ? /* @__PURE__ */ m.jsxs("div", { className: "mx-2", children: [
|
|
@@ -6841,8 +6841,8 @@ const so = {
|
|
|
6841
6841
|
] }) });
|
|
6842
6842
|
};
|
|
6843
6843
|
class Cn extends Li {
|
|
6844
|
-
constructor(
|
|
6845
|
-
super(
|
|
6844
|
+
constructor(o, u, i) {
|
|
6845
|
+
super(o, u, i);
|
|
6846
6846
|
}
|
|
6847
6847
|
/**
|
|
6848
6848
|
* This function tells the form builder about your component. It's name, icon and what group it should be in.
|
|
@@ -6881,8 +6881,8 @@ class Cn extends Li {
|
|
|
6881
6881
|
* @param DOMElement
|
|
6882
6882
|
* #returns ReactInstance
|
|
6883
6883
|
*/
|
|
6884
|
-
attach(
|
|
6885
|
-
return super.attach(
|
|
6884
|
+
attach(o, u) {
|
|
6885
|
+
return super.attach(o).then(() => {
|
|
6886
6886
|
this.loadRefs(this.element, {
|
|
6887
6887
|
[`react-${this.id}`]: "single"
|
|
6888
6888
|
});
|
|
@@ -6891,7 +6891,7 @@ class Cn extends Li {
|
|
|
6891
6891
|
/* @__PURE__ */ m.jsx("div", { className: "my-1 border border-2 border-light rounded p-3 text-secondary", children: /* @__PURE__ */ m.jsx("div", { className: "h6 mb-0", children: this.component?.label || "Calendar Advanced" }) })
|
|
6892
6892
|
), this) : (this.rootComponent.render(
|
|
6893
6893
|
/* @__PURE__ */ m.jsx(
|
|
6894
|
-
|
|
6894
|
+
of,
|
|
6895
6895
|
{
|
|
6896
6896
|
ref: u,
|
|
6897
6897
|
component: this.component,
|
|
@@ -6907,8 +6907,8 @@ class Cn extends Li {
|
|
|
6907
6907
|
detach() {
|
|
6908
6908
|
return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
|
|
6909
6909
|
}
|
|
6910
|
-
setValue(
|
|
6911
|
-
|
|
6910
|
+
setValue(o) {
|
|
6911
|
+
o && (this.updateValue(o), this.shouldSetValue = !0);
|
|
6912
6912
|
}
|
|
6913
6913
|
getValue() {
|
|
6914
6914
|
return this.dataValue;
|
|
@@ -6929,7 +6929,7 @@ class Cn extends Li {
|
|
|
6929
6929
|
return super.render(`<div ref="react-${this.id}"></div>`);
|
|
6930
6930
|
}
|
|
6931
6931
|
}
|
|
6932
|
-
const
|
|
6932
|
+
const sf = [
|
|
6933
6933
|
{
|
|
6934
6934
|
key: "defaultValue",
|
|
6935
6935
|
ignore: !0
|
|
@@ -7301,7 +7301,7 @@ const of = [
|
|
|
7301
7301
|
ignore: !0
|
|
7302
7302
|
}
|
|
7303
7303
|
];
|
|
7304
|
-
function df(...
|
|
7304
|
+
function df(...s) {
|
|
7305
7305
|
return Jt.baseEditForm(
|
|
7306
7306
|
[
|
|
7307
7307
|
{
|
|
@@ -7310,7 +7310,7 @@ function df(...o) {
|
|
|
7310
7310
|
},
|
|
7311
7311
|
{
|
|
7312
7312
|
key: "data",
|
|
7313
|
-
components:
|
|
7313
|
+
components: sf
|
|
7314
7314
|
},
|
|
7315
7315
|
{
|
|
7316
7316
|
label: "File",
|
|
@@ -7323,42 +7323,42 @@ function df(...o) {
|
|
|
7323
7323
|
components: cf
|
|
7324
7324
|
}
|
|
7325
7325
|
],
|
|
7326
|
-
...
|
|
7326
|
+
...s
|
|
7327
7327
|
);
|
|
7328
7328
|
}
|
|
7329
7329
|
var ia, Wi;
|
|
7330
7330
|
function jn() {
|
|
7331
7331
|
if (Wi) return ia;
|
|
7332
7332
|
Wi = 1;
|
|
7333
|
-
var
|
|
7334
|
-
return ia =
|
|
7333
|
+
var s = Array.isArray;
|
|
7334
|
+
return ia = s, ia;
|
|
7335
7335
|
}
|
|
7336
|
-
var
|
|
7336
|
+
var oa, Hi;
|
|
7337
7337
|
function hf() {
|
|
7338
|
-
if (Hi) return
|
|
7338
|
+
if (Hi) return oa;
|
|
7339
7339
|
Hi = 1;
|
|
7340
|
-
var
|
|
7341
|
-
return
|
|
7340
|
+
var s = typeof yr == "object" && yr && yr.Object === Object && yr;
|
|
7341
|
+
return oa = s, oa;
|
|
7342
7342
|
}
|
|
7343
|
-
var
|
|
7343
|
+
var sa, qi;
|
|
7344
7344
|
function Tn() {
|
|
7345
|
-
if (qi) return
|
|
7345
|
+
if (qi) return sa;
|
|
7346
7346
|
qi = 1;
|
|
7347
|
-
var
|
|
7348
|
-
return
|
|
7347
|
+
var s = hf(), o = typeof self == "object" && self && self.Object === Object && self, u = s || o || Function("return this")();
|
|
7348
|
+
return sa = u, sa;
|
|
7349
7349
|
}
|
|
7350
7350
|
var la, $i;
|
|
7351
7351
|
function Pn() {
|
|
7352
7352
|
if ($i) return la;
|
|
7353
7353
|
$i = 1;
|
|
7354
|
-
var
|
|
7355
|
-
return la =
|
|
7354
|
+
var s = Tn(), o = s.Symbol;
|
|
7355
|
+
return la = o, la;
|
|
7356
7356
|
}
|
|
7357
7357
|
var ua, Bi;
|
|
7358
7358
|
function ff() {
|
|
7359
7359
|
if (Bi) return ua;
|
|
7360
7360
|
Bi = 1;
|
|
7361
|
-
var
|
|
7361
|
+
var s = Pn(), o = Object.prototype, u = o.hasOwnProperty, i = o.toString, b = s ? s.toStringTag : void 0;
|
|
7362
7362
|
function M(I) {
|
|
7363
7363
|
var l = u.call(I, b), y = I[b];
|
|
7364
7364
|
try {
|
|
@@ -7375,19 +7375,19 @@ var ca, Ui;
|
|
|
7375
7375
|
function mf() {
|
|
7376
7376
|
if (Ui) return ca;
|
|
7377
7377
|
Ui = 1;
|
|
7378
|
-
var
|
|
7378
|
+
var s = Object.prototype, o = s.toString;
|
|
7379
7379
|
function u(i) {
|
|
7380
|
-
return
|
|
7380
|
+
return o.call(i);
|
|
7381
7381
|
}
|
|
7382
7382
|
return ca = u, ca;
|
|
7383
7383
|
}
|
|
7384
7384
|
var da, Gi;
|
|
7385
|
-
function
|
|
7385
|
+
function us() {
|
|
7386
7386
|
if (Gi) return da;
|
|
7387
7387
|
Gi = 1;
|
|
7388
|
-
var
|
|
7388
|
+
var s = Pn(), o = ff(), u = mf(), i = "[object Null]", b = "[object Undefined]", M = s ? s.toStringTag : void 0;
|
|
7389
7389
|
function I(l) {
|
|
7390
|
-
return l == null ? l === void 0 ? b : i : M && M in Object(l) ?
|
|
7390
|
+
return l == null ? l === void 0 ? b : i : M && M in Object(l) ? o(l) : u(l);
|
|
7391
7391
|
}
|
|
7392
7392
|
return da = I, da;
|
|
7393
7393
|
}
|
|
@@ -7395,18 +7395,18 @@ var ha, Ji;
|
|
|
7395
7395
|
function pf() {
|
|
7396
7396
|
if (Ji) return ha;
|
|
7397
7397
|
Ji = 1;
|
|
7398
|
-
function o
|
|
7399
|
-
return
|
|
7398
|
+
function s(o) {
|
|
7399
|
+
return o != null && typeof o == "object";
|
|
7400
7400
|
}
|
|
7401
|
-
return ha =
|
|
7401
|
+
return ha = s, ha;
|
|
7402
7402
|
}
|
|
7403
7403
|
var fa, Ki;
|
|
7404
7404
|
function Nn() {
|
|
7405
7405
|
if (Ki) return fa;
|
|
7406
7406
|
Ki = 1;
|
|
7407
|
-
var
|
|
7407
|
+
var s = us(), o = pf(), u = "[object Symbol]";
|
|
7408
7408
|
function i(b) {
|
|
7409
|
-
return typeof b == "symbol" ||
|
|
7409
|
+
return typeof b == "symbol" || o(b) && s(b) == u;
|
|
7410
7410
|
}
|
|
7411
7411
|
return fa = i, fa;
|
|
7412
7412
|
}
|
|
@@ -7414,12 +7414,12 @@ var ma, Xi;
|
|
|
7414
7414
|
function gf() {
|
|
7415
7415
|
if (Xi) return ma;
|
|
7416
7416
|
Xi = 1;
|
|
7417
|
-
var
|
|
7417
|
+
var s = jn(), o = Nn(), u = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, i = /^\w*$/;
|
|
7418
7418
|
function b(M, I) {
|
|
7419
|
-
if (
|
|
7419
|
+
if (s(M))
|
|
7420
7420
|
return !1;
|
|
7421
7421
|
var l = typeof M;
|
|
7422
|
-
return l == "number" || l == "symbol" || l == "boolean" || M == null ||
|
|
7422
|
+
return l == "number" || l == "symbol" || l == "boolean" || M == null || o(M) ? !0 : i.test(M) || !u.test(M) || I != null && M in Object(I);
|
|
7423
7423
|
}
|
|
7424
7424
|
return ma = b, ma;
|
|
7425
7425
|
}
|
|
@@ -7427,54 +7427,54 @@ var pa, Zi;
|
|
|
7427
7427
|
function Rn() {
|
|
7428
7428
|
if (Zi) return pa;
|
|
7429
7429
|
Zi = 1;
|
|
7430
|
-
function o
|
|
7431
|
-
var u = typeof
|
|
7432
|
-
return
|
|
7430
|
+
function s(o) {
|
|
7431
|
+
var u = typeof o;
|
|
7432
|
+
return o != null && (u == "object" || u == "function");
|
|
7433
7433
|
}
|
|
7434
|
-
return pa =
|
|
7434
|
+
return pa = s, pa;
|
|
7435
7435
|
}
|
|
7436
7436
|
var ga, Qi;
|
|
7437
7437
|
function vf() {
|
|
7438
7438
|
if (Qi) return ga;
|
|
7439
7439
|
Qi = 1;
|
|
7440
|
-
var
|
|
7440
|
+
var s = us(), o = Rn(), u = "[object AsyncFunction]", i = "[object Function]", b = "[object GeneratorFunction]", M = "[object Proxy]";
|
|
7441
7441
|
function I(l) {
|
|
7442
|
-
if (!
|
|
7442
|
+
if (!o(l))
|
|
7443
7443
|
return !1;
|
|
7444
|
-
var y =
|
|
7444
|
+
var y = s(l);
|
|
7445
7445
|
return y == i || y == b || y == u || y == M;
|
|
7446
7446
|
}
|
|
7447
7447
|
return ga = I, ga;
|
|
7448
7448
|
}
|
|
7449
|
-
var va,
|
|
7449
|
+
var va, eo;
|
|
7450
7450
|
function yf() {
|
|
7451
|
-
if (
|
|
7452
|
-
|
|
7453
|
-
var
|
|
7454
|
-
return va =
|
|
7451
|
+
if (eo) return va;
|
|
7452
|
+
eo = 1;
|
|
7453
|
+
var s = Tn(), o = s["__core-js_shared__"];
|
|
7454
|
+
return va = o, va;
|
|
7455
7455
|
}
|
|
7456
|
-
var ya,
|
|
7456
|
+
var ya, to;
|
|
7457
7457
|
function _f() {
|
|
7458
|
-
if (
|
|
7459
|
-
|
|
7460
|
-
var
|
|
7461
|
-
var i = /[^.]+$/.exec(
|
|
7458
|
+
if (to) return ya;
|
|
7459
|
+
to = 1;
|
|
7460
|
+
var s = yf(), o = (function() {
|
|
7461
|
+
var i = /[^.]+$/.exec(s && s.keys && s.keys.IE_PROTO || "");
|
|
7462
7462
|
return i ? "Symbol(src)_1." + i : "";
|
|
7463
7463
|
})();
|
|
7464
7464
|
function u(i) {
|
|
7465
|
-
return !!
|
|
7465
|
+
return !!o && o in i;
|
|
7466
7466
|
}
|
|
7467
7467
|
return ya = u, ya;
|
|
7468
7468
|
}
|
|
7469
|
-
var _a,
|
|
7469
|
+
var _a, ro;
|
|
7470
7470
|
function bf() {
|
|
7471
|
-
if (
|
|
7472
|
-
|
|
7473
|
-
var
|
|
7471
|
+
if (ro) return _a;
|
|
7472
|
+
ro = 1;
|
|
7473
|
+
var s = Function.prototype, o = s.toString;
|
|
7474
7474
|
function u(i) {
|
|
7475
7475
|
if (i != null) {
|
|
7476
7476
|
try {
|
|
7477
|
-
return
|
|
7477
|
+
return o.call(i);
|
|
7478
7478
|
} catch {
|
|
7479
7479
|
}
|
|
7480
7480
|
try {
|
|
@@ -7486,110 +7486,110 @@ function bf() {
|
|
|
7486
7486
|
}
|
|
7487
7487
|
return _a = u, _a;
|
|
7488
7488
|
}
|
|
7489
|
-
var ba,
|
|
7489
|
+
var ba, ao;
|
|
7490
7490
|
function wf() {
|
|
7491
|
-
if (
|
|
7492
|
-
|
|
7493
|
-
var
|
|
7491
|
+
if (ao) return ba;
|
|
7492
|
+
ao = 1;
|
|
7493
|
+
var s = vf(), o = _f(), u = Rn(), i = bf(), b = /[\\^$.*+?()[\]{}|]/g, M = /^\[object .+?Constructor\]$/, I = Function.prototype, l = Object.prototype, y = I.toString, r = l.hasOwnProperty, c = RegExp(
|
|
7494
7494
|
"^" + y.call(r).replace(b, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
7495
7495
|
);
|
|
7496
7496
|
function h(f) {
|
|
7497
|
-
if (!u(f) ||
|
|
7497
|
+
if (!u(f) || o(f))
|
|
7498
7498
|
return !1;
|
|
7499
|
-
var p =
|
|
7499
|
+
var p = s(f) ? c : M;
|
|
7500
7500
|
return p.test(i(f));
|
|
7501
7501
|
}
|
|
7502
7502
|
return ba = h, ba;
|
|
7503
7503
|
}
|
|
7504
|
-
var wa,
|
|
7504
|
+
var wa, no;
|
|
7505
7505
|
function xf() {
|
|
7506
|
-
if (
|
|
7507
|
-
|
|
7508
|
-
function o
|
|
7509
|
-
return
|
|
7506
|
+
if (no) return wa;
|
|
7507
|
+
no = 1;
|
|
7508
|
+
function s(o, u) {
|
|
7509
|
+
return o?.[u];
|
|
7510
7510
|
}
|
|
7511
|
-
return wa =
|
|
7511
|
+
return wa = s, wa;
|
|
7512
7512
|
}
|
|
7513
|
-
var xa,
|
|
7513
|
+
var xa, io;
|
|
7514
7514
|
function An() {
|
|
7515
|
-
if (
|
|
7516
|
-
|
|
7517
|
-
var
|
|
7515
|
+
if (io) return xa;
|
|
7516
|
+
io = 1;
|
|
7517
|
+
var s = wf(), o = xf();
|
|
7518
7518
|
function u(i, b) {
|
|
7519
|
-
var M =
|
|
7520
|
-
return
|
|
7519
|
+
var M = o(i, b);
|
|
7520
|
+
return s(M) ? M : void 0;
|
|
7521
7521
|
}
|
|
7522
7522
|
return xa = u, xa;
|
|
7523
7523
|
}
|
|
7524
|
-
var Ma,
|
|
7524
|
+
var Ma, oo;
|
|
7525
7525
|
function Cr() {
|
|
7526
|
-
if (
|
|
7527
|
-
|
|
7528
|
-
var
|
|
7529
|
-
return Ma =
|
|
7526
|
+
if (oo) return Ma;
|
|
7527
|
+
oo = 1;
|
|
7528
|
+
var s = An(), o = s(Object, "create");
|
|
7529
|
+
return Ma = o, Ma;
|
|
7530
7530
|
}
|
|
7531
|
-
var Sa,
|
|
7531
|
+
var Sa, so;
|
|
7532
7532
|
function Mf() {
|
|
7533
|
-
if (
|
|
7534
|
-
|
|
7535
|
-
var
|
|
7536
|
-
function
|
|
7537
|
-
this.__data__ =
|
|
7533
|
+
if (so) return Sa;
|
|
7534
|
+
so = 1;
|
|
7535
|
+
var s = Cr();
|
|
7536
|
+
function o() {
|
|
7537
|
+
this.__data__ = s ? s(null) : {}, this.size = 0;
|
|
7538
7538
|
}
|
|
7539
|
-
return Sa =
|
|
7539
|
+
return Sa = o, Sa;
|
|
7540
7540
|
}
|
|
7541
|
-
var Da,
|
|
7541
|
+
var Da, lo;
|
|
7542
7542
|
function Sf() {
|
|
7543
|
-
if (
|
|
7544
|
-
|
|
7545
|
-
function o
|
|
7546
|
-
var u = this.has(
|
|
7543
|
+
if (lo) return Da;
|
|
7544
|
+
lo = 1;
|
|
7545
|
+
function s(o) {
|
|
7546
|
+
var u = this.has(o) && delete this.__data__[o];
|
|
7547
7547
|
return this.size -= u ? 1 : 0, u;
|
|
7548
7548
|
}
|
|
7549
|
-
return Da =
|
|
7549
|
+
return Da = s, Da;
|
|
7550
7550
|
}
|
|
7551
|
-
var ka,
|
|
7551
|
+
var ka, uo;
|
|
7552
7552
|
function Df() {
|
|
7553
|
-
if (
|
|
7554
|
-
|
|
7555
|
-
var
|
|
7553
|
+
if (uo) return ka;
|
|
7554
|
+
uo = 1;
|
|
7555
|
+
var s = Cr(), o = "__lodash_hash_undefined__", u = Object.prototype, i = u.hasOwnProperty;
|
|
7556
7556
|
function b(M) {
|
|
7557
7557
|
var I = this.__data__;
|
|
7558
|
-
if (
|
|
7558
|
+
if (s) {
|
|
7559
7559
|
var l = I[M];
|
|
7560
|
-
return l ===
|
|
7560
|
+
return l === o ? void 0 : l;
|
|
7561
7561
|
}
|
|
7562
7562
|
return i.call(I, M) ? I[M] : void 0;
|
|
7563
7563
|
}
|
|
7564
7564
|
return ka = b, ka;
|
|
7565
7565
|
}
|
|
7566
|
-
var Oa,
|
|
7566
|
+
var Oa, co;
|
|
7567
7567
|
function kf() {
|
|
7568
|
-
if (
|
|
7569
|
-
|
|
7570
|
-
var
|
|
7568
|
+
if (co) return Oa;
|
|
7569
|
+
co = 1;
|
|
7570
|
+
var s = Cr(), o = Object.prototype, u = o.hasOwnProperty;
|
|
7571
7571
|
function i(b) {
|
|
7572
7572
|
var M = this.__data__;
|
|
7573
|
-
return
|
|
7573
|
+
return s ? M[b] !== void 0 : u.call(M, b);
|
|
7574
7574
|
}
|
|
7575
7575
|
return Oa = i, Oa;
|
|
7576
7576
|
}
|
|
7577
|
-
var Ya,
|
|
7577
|
+
var Ya, ho;
|
|
7578
7578
|
function Of() {
|
|
7579
|
-
if (
|
|
7580
|
-
|
|
7581
|
-
var
|
|
7579
|
+
if (ho) return Ya;
|
|
7580
|
+
ho = 1;
|
|
7581
|
+
var s = Cr(), o = "__lodash_hash_undefined__";
|
|
7582
7582
|
function u(i, b) {
|
|
7583
7583
|
var M = this.__data__;
|
|
7584
|
-
return this.size += this.has(i) ? 0 : 1, M[i] =
|
|
7584
|
+
return this.size += this.has(i) ? 0 : 1, M[i] = s && b === void 0 ? o : b, this;
|
|
7585
7585
|
}
|
|
7586
7586
|
return Ya = u, Ya;
|
|
7587
7587
|
}
|
|
7588
|
-
var Ca,
|
|
7588
|
+
var Ca, fo;
|
|
7589
7589
|
function Yf() {
|
|
7590
|
-
if (
|
|
7591
|
-
|
|
7592
|
-
var
|
|
7590
|
+
if (fo) return Ca;
|
|
7591
|
+
fo = 1;
|
|
7592
|
+
var s = Mf(), o = Sf(), u = Df(), i = kf(), b = Of();
|
|
7593
7593
|
function M(I) {
|
|
7594
7594
|
var l = -1, y = I == null ? 0 : I.length;
|
|
7595
7595
|
for (this.clear(); ++l < y; ) {
|
|
@@ -7597,46 +7597,46 @@ function Yf() {
|
|
|
7597
7597
|
this.set(r[0], r[1]);
|
|
7598
7598
|
}
|
|
7599
7599
|
}
|
|
7600
|
-
return M.prototype.clear =
|
|
7600
|
+
return M.prototype.clear = s, M.prototype.delete = o, M.prototype.get = u, M.prototype.has = i, M.prototype.set = b, Ca = M, Ca;
|
|
7601
7601
|
}
|
|
7602
|
-
var ja,
|
|
7602
|
+
var ja, mo;
|
|
7603
7603
|
function Cf() {
|
|
7604
|
-
if (
|
|
7605
|
-
|
|
7606
|
-
function
|
|
7604
|
+
if (mo) return ja;
|
|
7605
|
+
mo = 1;
|
|
7606
|
+
function s() {
|
|
7607
7607
|
this.__data__ = [], this.size = 0;
|
|
7608
7608
|
}
|
|
7609
|
-
return ja =
|
|
7609
|
+
return ja = s, ja;
|
|
7610
7610
|
}
|
|
7611
|
-
var Ta,
|
|
7612
|
-
function
|
|
7613
|
-
if (
|
|
7614
|
-
|
|
7615
|
-
function o
|
|
7616
|
-
return
|
|
7617
|
-
}
|
|
7618
|
-
return Ta =
|
|
7611
|
+
var Ta, po;
|
|
7612
|
+
function cs() {
|
|
7613
|
+
if (po) return Ta;
|
|
7614
|
+
po = 1;
|
|
7615
|
+
function s(o, u) {
|
|
7616
|
+
return o === u || o !== o && u !== u;
|
|
7617
|
+
}
|
|
7618
|
+
return Ta = s, Ta;
|
|
7619
7619
|
}
|
|
7620
|
-
var Pa,
|
|
7620
|
+
var Pa, go;
|
|
7621
7621
|
function jr() {
|
|
7622
|
-
if (
|
|
7623
|
-
|
|
7624
|
-
var
|
|
7625
|
-
function
|
|
7622
|
+
if (go) return Pa;
|
|
7623
|
+
go = 1;
|
|
7624
|
+
var s = cs();
|
|
7625
|
+
function o(u, i) {
|
|
7626
7626
|
for (var b = u.length; b--; )
|
|
7627
|
-
if (
|
|
7627
|
+
if (s(u[b][0], i))
|
|
7628
7628
|
return b;
|
|
7629
7629
|
return -1;
|
|
7630
7630
|
}
|
|
7631
|
-
return Pa =
|
|
7631
|
+
return Pa = o, Pa;
|
|
7632
7632
|
}
|
|
7633
|
-
var Na,
|
|
7633
|
+
var Na, vo;
|
|
7634
7634
|
function jf() {
|
|
7635
|
-
if (
|
|
7636
|
-
|
|
7637
|
-
var
|
|
7635
|
+
if (vo) return Na;
|
|
7636
|
+
vo = 1;
|
|
7637
|
+
var s = jr(), o = Array.prototype, u = o.splice;
|
|
7638
7638
|
function i(b) {
|
|
7639
|
-
var M = this.__data__, I =
|
|
7639
|
+
var M = this.__data__, I = s(M, b);
|
|
7640
7640
|
if (I < 0)
|
|
7641
7641
|
return !1;
|
|
7642
7642
|
var l = M.length - 1;
|
|
@@ -7644,43 +7644,43 @@ function jf() {
|
|
|
7644
7644
|
}
|
|
7645
7645
|
return Na = i, Na;
|
|
7646
7646
|
}
|
|
7647
|
-
var Ra,
|
|
7647
|
+
var Ra, yo;
|
|
7648
7648
|
function Tf() {
|
|
7649
|
-
if (
|
|
7650
|
-
|
|
7651
|
-
var
|
|
7652
|
-
function
|
|
7653
|
-
var i = this.__data__, b =
|
|
7649
|
+
if (yo) return Ra;
|
|
7650
|
+
yo = 1;
|
|
7651
|
+
var s = jr();
|
|
7652
|
+
function o(u) {
|
|
7653
|
+
var i = this.__data__, b = s(i, u);
|
|
7654
7654
|
return b < 0 ? void 0 : i[b][1];
|
|
7655
7655
|
}
|
|
7656
|
-
return Ra =
|
|
7656
|
+
return Ra = o, Ra;
|
|
7657
7657
|
}
|
|
7658
|
-
var Aa,
|
|
7658
|
+
var Aa, _o;
|
|
7659
7659
|
function Pf() {
|
|
7660
|
-
if (
|
|
7661
|
-
|
|
7662
|
-
var
|
|
7663
|
-
function
|
|
7664
|
-
return
|
|
7660
|
+
if (_o) return Aa;
|
|
7661
|
+
_o = 1;
|
|
7662
|
+
var s = jr();
|
|
7663
|
+
function o(u) {
|
|
7664
|
+
return s(this.__data__, u) > -1;
|
|
7665
7665
|
}
|
|
7666
|
-
return Aa =
|
|
7666
|
+
return Aa = o, Aa;
|
|
7667
7667
|
}
|
|
7668
|
-
var Ea,
|
|
7668
|
+
var Ea, bo;
|
|
7669
7669
|
function Nf() {
|
|
7670
|
-
if (
|
|
7671
|
-
|
|
7672
|
-
var
|
|
7673
|
-
function
|
|
7674
|
-
var b = this.__data__, M =
|
|
7670
|
+
if (bo) return Ea;
|
|
7671
|
+
bo = 1;
|
|
7672
|
+
var s = jr();
|
|
7673
|
+
function o(u, i) {
|
|
7674
|
+
var b = this.__data__, M = s(b, u);
|
|
7675
7675
|
return M < 0 ? (++this.size, b.push([u, i])) : b[M][1] = i, this;
|
|
7676
7676
|
}
|
|
7677
|
-
return Ea =
|
|
7677
|
+
return Ea = o, Ea;
|
|
7678
7678
|
}
|
|
7679
|
-
var Ia,
|
|
7679
|
+
var Ia, wo;
|
|
7680
7680
|
function Rf() {
|
|
7681
|
-
if (
|
|
7682
|
-
|
|
7683
|
-
var
|
|
7681
|
+
if (wo) return Ia;
|
|
7682
|
+
wo = 1;
|
|
7683
|
+
var s = Cf(), o = jf(), u = Tf(), i = Pf(), b = Nf();
|
|
7684
7684
|
function M(I) {
|
|
7685
7685
|
var l = -1, y = I == null ? 0 : I.length;
|
|
7686
7686
|
for (this.clear(); ++l < y; ) {
|
|
@@ -7688,97 +7688,97 @@ function Rf() {
|
|
|
7688
7688
|
this.set(r[0], r[1]);
|
|
7689
7689
|
}
|
|
7690
7690
|
}
|
|
7691
|
-
return M.prototype.clear =
|
|
7691
|
+
return M.prototype.clear = s, M.prototype.delete = o, M.prototype.get = u, M.prototype.has = i, M.prototype.set = b, Ia = M, Ia;
|
|
7692
7692
|
}
|
|
7693
|
-
var Fa,
|
|
7693
|
+
var Fa, xo;
|
|
7694
7694
|
function Af() {
|
|
7695
|
-
if (
|
|
7696
|
-
|
|
7697
|
-
var
|
|
7695
|
+
if (xo) return Fa;
|
|
7696
|
+
xo = 1;
|
|
7697
|
+
var s = An(), o = Tn(), u = s(o, "Map");
|
|
7698
7698
|
return Fa = u, Fa;
|
|
7699
7699
|
}
|
|
7700
|
-
var Va,
|
|
7700
|
+
var Va, Mo;
|
|
7701
7701
|
function Ef() {
|
|
7702
|
-
if (
|
|
7703
|
-
|
|
7704
|
-
var
|
|
7702
|
+
if (Mo) return Va;
|
|
7703
|
+
Mo = 1;
|
|
7704
|
+
var s = Yf(), o = Rf(), u = Af();
|
|
7705
7705
|
function i() {
|
|
7706
7706
|
this.size = 0, this.__data__ = {
|
|
7707
|
-
hash: new
|
|
7708
|
-
map: new (u ||
|
|
7709
|
-
string: new
|
|
7707
|
+
hash: new s(),
|
|
7708
|
+
map: new (u || o)(),
|
|
7709
|
+
string: new s()
|
|
7710
7710
|
};
|
|
7711
7711
|
}
|
|
7712
7712
|
return Va = i, Va;
|
|
7713
7713
|
}
|
|
7714
|
-
var za,
|
|
7714
|
+
var za, So;
|
|
7715
7715
|
function If() {
|
|
7716
|
-
if (
|
|
7717
|
-
|
|
7718
|
-
function o
|
|
7719
|
-
var u = typeof
|
|
7720
|
-
return u == "string" || u == "number" || u == "symbol" || u == "boolean" ?
|
|
7716
|
+
if (So) return za;
|
|
7717
|
+
So = 1;
|
|
7718
|
+
function s(o) {
|
|
7719
|
+
var u = typeof o;
|
|
7720
|
+
return u == "string" || u == "number" || u == "symbol" || u == "boolean" ? o !== "__proto__" : o === null;
|
|
7721
7721
|
}
|
|
7722
|
-
return za =
|
|
7722
|
+
return za = s, za;
|
|
7723
7723
|
}
|
|
7724
|
-
var La,
|
|
7724
|
+
var La, Do;
|
|
7725
7725
|
function Tr() {
|
|
7726
|
-
if (
|
|
7727
|
-
|
|
7728
|
-
var
|
|
7729
|
-
function
|
|
7726
|
+
if (Do) return La;
|
|
7727
|
+
Do = 1;
|
|
7728
|
+
var s = If();
|
|
7729
|
+
function o(u, i) {
|
|
7730
7730
|
var b = u.__data__;
|
|
7731
|
-
return
|
|
7731
|
+
return s(i) ? b[typeof i == "string" ? "string" : "hash"] : b.map;
|
|
7732
7732
|
}
|
|
7733
|
-
return La =
|
|
7733
|
+
return La = o, La;
|
|
7734
7734
|
}
|
|
7735
|
-
var Wa,
|
|
7735
|
+
var Wa, ko;
|
|
7736
7736
|
function Ff() {
|
|
7737
|
-
if (
|
|
7738
|
-
|
|
7739
|
-
var
|
|
7740
|
-
function
|
|
7741
|
-
var i =
|
|
7737
|
+
if (ko) return Wa;
|
|
7738
|
+
ko = 1;
|
|
7739
|
+
var s = Tr();
|
|
7740
|
+
function o(u) {
|
|
7741
|
+
var i = s(this, u).delete(u);
|
|
7742
7742
|
return this.size -= i ? 1 : 0, i;
|
|
7743
7743
|
}
|
|
7744
|
-
return Wa =
|
|
7744
|
+
return Wa = o, Wa;
|
|
7745
7745
|
}
|
|
7746
|
-
var Ha,
|
|
7746
|
+
var Ha, Oo;
|
|
7747
7747
|
function Vf() {
|
|
7748
|
-
if (
|
|
7749
|
-
|
|
7750
|
-
var
|
|
7751
|
-
function
|
|
7752
|
-
return
|
|
7748
|
+
if (Oo) return Ha;
|
|
7749
|
+
Oo = 1;
|
|
7750
|
+
var s = Tr();
|
|
7751
|
+
function o(u) {
|
|
7752
|
+
return s(this, u).get(u);
|
|
7753
7753
|
}
|
|
7754
|
-
return Ha =
|
|
7754
|
+
return Ha = o, Ha;
|
|
7755
7755
|
}
|
|
7756
|
-
var qa,
|
|
7756
|
+
var qa, Yo;
|
|
7757
7757
|
function zf() {
|
|
7758
|
-
if (
|
|
7759
|
-
|
|
7760
|
-
var
|
|
7761
|
-
function
|
|
7762
|
-
return
|
|
7758
|
+
if (Yo) return qa;
|
|
7759
|
+
Yo = 1;
|
|
7760
|
+
var s = Tr();
|
|
7761
|
+
function o(u) {
|
|
7762
|
+
return s(this, u).has(u);
|
|
7763
7763
|
}
|
|
7764
|
-
return qa =
|
|
7764
|
+
return qa = o, qa;
|
|
7765
7765
|
}
|
|
7766
|
-
var $a,
|
|
7766
|
+
var $a, Co;
|
|
7767
7767
|
function Lf() {
|
|
7768
|
-
if (
|
|
7769
|
-
|
|
7770
|
-
var
|
|
7771
|
-
function
|
|
7772
|
-
var b =
|
|
7768
|
+
if (Co) return $a;
|
|
7769
|
+
Co = 1;
|
|
7770
|
+
var s = Tr();
|
|
7771
|
+
function o(u, i) {
|
|
7772
|
+
var b = s(this, u), M = b.size;
|
|
7773
7773
|
return b.set(u, i), this.size += b.size == M ? 0 : 1, this;
|
|
7774
7774
|
}
|
|
7775
|
-
return $a =
|
|
7775
|
+
return $a = o, $a;
|
|
7776
7776
|
}
|
|
7777
|
-
var Ba,
|
|
7777
|
+
var Ba, jo;
|
|
7778
7778
|
function Wf() {
|
|
7779
|
-
if (
|
|
7780
|
-
|
|
7781
|
-
var
|
|
7779
|
+
if (jo) return Ba;
|
|
7780
|
+
jo = 1;
|
|
7781
|
+
var s = Ef(), o = Ff(), u = Vf(), i = zf(), b = Lf();
|
|
7782
7782
|
function M(I) {
|
|
7783
7783
|
var l = -1, y = I == null ? 0 : I.length;
|
|
7784
7784
|
for (this.clear(); ++l < y; ) {
|
|
@@ -7786,16 +7786,16 @@ function Wf() {
|
|
|
7786
7786
|
this.set(r[0], r[1]);
|
|
7787
7787
|
}
|
|
7788
7788
|
}
|
|
7789
|
-
return M.prototype.clear =
|
|
7789
|
+
return M.prototype.clear = s, M.prototype.delete = o, M.prototype.get = u, M.prototype.has = i, M.prototype.set = b, Ba = M, Ba;
|
|
7790
7790
|
}
|
|
7791
|
-
var Ua,
|
|
7791
|
+
var Ua, To;
|
|
7792
7792
|
function Hf() {
|
|
7793
|
-
if (
|
|
7794
|
-
|
|
7795
|
-
var
|
|
7793
|
+
if (To) return Ua;
|
|
7794
|
+
To = 1;
|
|
7795
|
+
var s = Wf(), o = "Expected a function";
|
|
7796
7796
|
function u(i, b) {
|
|
7797
7797
|
if (typeof i != "function" || b != null && typeof b != "function")
|
|
7798
|
-
throw new TypeError(
|
|
7798
|
+
throw new TypeError(o);
|
|
7799
7799
|
var M = function() {
|
|
7800
7800
|
var I = arguments, l = b ? b.apply(this, I) : I[0], y = M.cache;
|
|
7801
7801
|
if (y.has(l))
|
|
@@ -7803,56 +7803,56 @@ function Hf() {
|
|
|
7803
7803
|
var r = i.apply(this, I);
|
|
7804
7804
|
return M.cache = y.set(l, r) || y, r;
|
|
7805
7805
|
};
|
|
7806
|
-
return M.cache = new (u.Cache ||
|
|
7806
|
+
return M.cache = new (u.Cache || s)(), M;
|
|
7807
7807
|
}
|
|
7808
|
-
return u.Cache =
|
|
7808
|
+
return u.Cache = s, Ua = u, Ua;
|
|
7809
7809
|
}
|
|
7810
|
-
var Ga,
|
|
7810
|
+
var Ga, Po;
|
|
7811
7811
|
function qf() {
|
|
7812
|
-
if (
|
|
7813
|
-
|
|
7814
|
-
var
|
|
7812
|
+
if (Po) return Ga;
|
|
7813
|
+
Po = 1;
|
|
7814
|
+
var s = Hf(), o = 500;
|
|
7815
7815
|
function u(i) {
|
|
7816
|
-
var b =
|
|
7817
|
-
return M.size ===
|
|
7816
|
+
var b = s(i, function(I) {
|
|
7817
|
+
return M.size === o && M.clear(), I;
|
|
7818
7818
|
}), M = b.cache;
|
|
7819
7819
|
return b;
|
|
7820
7820
|
}
|
|
7821
7821
|
return Ga = u, Ga;
|
|
7822
7822
|
}
|
|
7823
|
-
var Ja,
|
|
7823
|
+
var Ja, No;
|
|
7824
7824
|
function $f() {
|
|
7825
|
-
if (
|
|
7826
|
-
|
|
7827
|
-
var
|
|
7825
|
+
if (No) return Ja;
|
|
7826
|
+
No = 1;
|
|
7827
|
+
var s = qf(), o = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, u = /\\(\\)?/g, i = s(function(b) {
|
|
7828
7828
|
var M = [];
|
|
7829
|
-
return b.charCodeAt(0) === 46 && M.push(""), b.replace(
|
|
7829
|
+
return b.charCodeAt(0) === 46 && M.push(""), b.replace(o, function(I, l, y, r) {
|
|
7830
7830
|
M.push(y ? r.replace(u, "$1") : l || I);
|
|
7831
7831
|
}), M;
|
|
7832
7832
|
});
|
|
7833
7833
|
return Ja = i, Ja;
|
|
7834
7834
|
}
|
|
7835
|
-
var Ka,
|
|
7835
|
+
var Ka, Ro;
|
|
7836
7836
|
function Bf() {
|
|
7837
|
-
if (
|
|
7838
|
-
|
|
7839
|
-
function o
|
|
7840
|
-
for (var i = -1, b =
|
|
7841
|
-
M[i] = u(
|
|
7837
|
+
if (Ro) return Ka;
|
|
7838
|
+
Ro = 1;
|
|
7839
|
+
function s(o, u) {
|
|
7840
|
+
for (var i = -1, b = o == null ? 0 : o.length, M = Array(b); ++i < b; )
|
|
7841
|
+
M[i] = u(o[i], i, o);
|
|
7842
7842
|
return M;
|
|
7843
7843
|
}
|
|
7844
|
-
return Ka =
|
|
7844
|
+
return Ka = s, Ka;
|
|
7845
7845
|
}
|
|
7846
|
-
var Xa,
|
|
7846
|
+
var Xa, Ao;
|
|
7847
7847
|
function Uf() {
|
|
7848
|
-
if (
|
|
7849
|
-
|
|
7850
|
-
var
|
|
7848
|
+
if (Ao) return Xa;
|
|
7849
|
+
Ao = 1;
|
|
7850
|
+
var s = Pn(), o = Bf(), u = jn(), i = Nn(), b = s ? s.prototype : void 0, M = b ? b.toString : void 0;
|
|
7851
7851
|
function I(l) {
|
|
7852
7852
|
if (typeof l == "string")
|
|
7853
7853
|
return l;
|
|
7854
7854
|
if (u(l))
|
|
7855
|
-
return
|
|
7855
|
+
return o(l, I) + "";
|
|
7856
7856
|
if (i(l))
|
|
7857
7857
|
return M ? M.call(l) : "";
|
|
7858
7858
|
var y = l + "";
|
|
@@ -7860,124 +7860,124 @@ function Uf() {
|
|
|
7860
7860
|
}
|
|
7861
7861
|
return Xa = I, Xa;
|
|
7862
7862
|
}
|
|
7863
|
-
var Za,
|
|
7863
|
+
var Za, Eo;
|
|
7864
7864
|
function Gf() {
|
|
7865
|
-
if (
|
|
7866
|
-
|
|
7867
|
-
var
|
|
7868
|
-
function
|
|
7869
|
-
return u == null ? "" :
|
|
7865
|
+
if (Eo) return Za;
|
|
7866
|
+
Eo = 1;
|
|
7867
|
+
var s = Uf();
|
|
7868
|
+
function o(u) {
|
|
7869
|
+
return u == null ? "" : s(u);
|
|
7870
7870
|
}
|
|
7871
|
-
return Za =
|
|
7871
|
+
return Za = o, Za;
|
|
7872
7872
|
}
|
|
7873
|
-
var Qa,
|
|
7874
|
-
function
|
|
7875
|
-
if (
|
|
7876
|
-
|
|
7877
|
-
var
|
|
7873
|
+
var Qa, Io;
|
|
7874
|
+
function ds() {
|
|
7875
|
+
if (Io) return Qa;
|
|
7876
|
+
Io = 1;
|
|
7877
|
+
var s = jn(), o = gf(), u = $f(), i = Gf();
|
|
7878
7878
|
function b(M, I) {
|
|
7879
|
-
return
|
|
7879
|
+
return s(M) ? M : o(M, I) ? [M] : u(i(M));
|
|
7880
7880
|
}
|
|
7881
7881
|
return Qa = b, Qa;
|
|
7882
7882
|
}
|
|
7883
|
-
var en,
|
|
7884
|
-
function
|
|
7885
|
-
if (
|
|
7886
|
-
|
|
7887
|
-
var
|
|
7888
|
-
function
|
|
7889
|
-
if (typeof u == "string" ||
|
|
7883
|
+
var en, Fo;
|
|
7884
|
+
function hs() {
|
|
7885
|
+
if (Fo) return en;
|
|
7886
|
+
Fo = 1;
|
|
7887
|
+
var s = Nn();
|
|
7888
|
+
function o(u) {
|
|
7889
|
+
if (typeof u == "string" || s(u))
|
|
7890
7890
|
return u;
|
|
7891
7891
|
var i = u + "";
|
|
7892
7892
|
return i == "0" && 1 / u == -1 / 0 ? "-0" : i;
|
|
7893
7893
|
}
|
|
7894
|
-
return en =
|
|
7894
|
+
return en = o, en;
|
|
7895
7895
|
}
|
|
7896
|
-
var tn,
|
|
7896
|
+
var tn, Vo;
|
|
7897
7897
|
function Jf() {
|
|
7898
|
-
if (
|
|
7899
|
-
|
|
7900
|
-
var
|
|
7898
|
+
if (Vo) return tn;
|
|
7899
|
+
Vo = 1;
|
|
7900
|
+
var s = ds(), o = hs();
|
|
7901
7901
|
function u(i, b) {
|
|
7902
|
-
b =
|
|
7902
|
+
b = s(b, i);
|
|
7903
7903
|
for (var M = 0, I = b.length; i != null && M < I; )
|
|
7904
|
-
i = i[
|
|
7904
|
+
i = i[o(b[M++])];
|
|
7905
7905
|
return M && M == I ? i : void 0;
|
|
7906
7906
|
}
|
|
7907
7907
|
return tn = u, tn;
|
|
7908
7908
|
}
|
|
7909
|
-
var rn,
|
|
7909
|
+
var rn, zo;
|
|
7910
7910
|
function Kf() {
|
|
7911
|
-
if (
|
|
7912
|
-
|
|
7913
|
-
var
|
|
7914
|
-
function
|
|
7915
|
-
var M = u == null ? void 0 :
|
|
7911
|
+
if (zo) return rn;
|
|
7912
|
+
zo = 1;
|
|
7913
|
+
var s = Jf();
|
|
7914
|
+
function o(u, i, b) {
|
|
7915
|
+
var M = u == null ? void 0 : s(u, i);
|
|
7916
7916
|
return M === void 0 ? b : M;
|
|
7917
7917
|
}
|
|
7918
|
-
return rn =
|
|
7918
|
+
return rn = o, rn;
|
|
7919
7919
|
}
|
|
7920
7920
|
var Xf = Kf();
|
|
7921
7921
|
const an = /* @__PURE__ */ wn(Xf);
|
|
7922
|
-
var nn,
|
|
7922
|
+
var nn, Lo;
|
|
7923
7923
|
function Zf() {
|
|
7924
|
-
if (
|
|
7925
|
-
|
|
7926
|
-
var
|
|
7924
|
+
if (Lo) return nn;
|
|
7925
|
+
Lo = 1;
|
|
7926
|
+
var s = An(), o = (function() {
|
|
7927
7927
|
try {
|
|
7928
|
-
var u =
|
|
7928
|
+
var u = s(Object, "defineProperty");
|
|
7929
7929
|
return u({}, "", {}), u;
|
|
7930
7930
|
} catch {
|
|
7931
7931
|
}
|
|
7932
7932
|
})();
|
|
7933
|
-
return nn =
|
|
7933
|
+
return nn = o, nn;
|
|
7934
7934
|
}
|
|
7935
|
-
var
|
|
7935
|
+
var on, Wo;
|
|
7936
7936
|
function Qf() {
|
|
7937
|
-
if (
|
|
7938
|
-
|
|
7939
|
-
var
|
|
7940
|
-
function
|
|
7941
|
-
i == "__proto__" &&
|
|
7937
|
+
if (Wo) return on;
|
|
7938
|
+
Wo = 1;
|
|
7939
|
+
var s = Zf();
|
|
7940
|
+
function o(u, i, b) {
|
|
7941
|
+
i == "__proto__" && s ? s(u, i, {
|
|
7942
7942
|
configurable: !0,
|
|
7943
7943
|
enumerable: !0,
|
|
7944
7944
|
value: b,
|
|
7945
7945
|
writable: !0
|
|
7946
7946
|
}) : u[i] = b;
|
|
7947
7947
|
}
|
|
7948
|
-
return
|
|
7948
|
+
return on = o, on;
|
|
7949
7949
|
}
|
|
7950
|
-
var
|
|
7950
|
+
var sn, Ho;
|
|
7951
7951
|
function em() {
|
|
7952
|
-
if (
|
|
7953
|
-
|
|
7954
|
-
var
|
|
7952
|
+
if (Ho) return sn;
|
|
7953
|
+
Ho = 1;
|
|
7954
|
+
var s = Qf(), o = cs(), u = Object.prototype, i = u.hasOwnProperty;
|
|
7955
7955
|
function b(M, I, l) {
|
|
7956
7956
|
var y = M[I];
|
|
7957
|
-
(!(i.call(M, I) &&
|
|
7957
|
+
(!(i.call(M, I) && o(y, l)) || l === void 0 && !(I in M)) && s(M, I, l);
|
|
7958
7958
|
}
|
|
7959
|
-
return
|
|
7959
|
+
return sn = b, sn;
|
|
7960
7960
|
}
|
|
7961
|
-
var ln,
|
|
7961
|
+
var ln, qo;
|
|
7962
7962
|
function tm() {
|
|
7963
|
-
if (
|
|
7964
|
-
|
|
7965
|
-
var
|
|
7963
|
+
if (qo) return ln;
|
|
7964
|
+
qo = 1;
|
|
7965
|
+
var s = 9007199254740991, o = /^(?:0|[1-9]\d*)$/;
|
|
7966
7966
|
function u(i, b) {
|
|
7967
7967
|
var M = typeof i;
|
|
7968
|
-
return b = b ??
|
|
7968
|
+
return b = b ?? s, !!b && (M == "number" || M != "symbol" && o.test(i)) && i > -1 && i % 1 == 0 && i < b;
|
|
7969
7969
|
}
|
|
7970
7970
|
return ln = u, ln;
|
|
7971
7971
|
}
|
|
7972
|
-
var un,
|
|
7972
|
+
var un, $o;
|
|
7973
7973
|
function rm() {
|
|
7974
|
-
if (
|
|
7975
|
-
|
|
7976
|
-
var
|
|
7974
|
+
if ($o) return un;
|
|
7975
|
+
$o = 1;
|
|
7976
|
+
var s = em(), o = ds(), u = tm(), i = Rn(), b = hs();
|
|
7977
7977
|
function M(I, l, y, r) {
|
|
7978
7978
|
if (!i(I))
|
|
7979
7979
|
return I;
|
|
7980
|
-
l =
|
|
7980
|
+
l = o(l, I);
|
|
7981
7981
|
for (var c = -1, h = l.length, f = h - 1, p = I; p != null && ++c < h; ) {
|
|
7982
7982
|
var g = b(l[c]), Y = y;
|
|
7983
7983
|
if (g === "__proto__" || g === "constructor" || g === "prototype")
|
|
@@ -7986,21 +7986,21 @@ function rm() {
|
|
|
7986
7986
|
var _ = p[g];
|
|
7987
7987
|
Y = r ? r(_, g, p) : void 0, Y === void 0 && (Y = i(_) ? _ : u(l[c + 1]) ? [] : {});
|
|
7988
7988
|
}
|
|
7989
|
-
|
|
7989
|
+
s(p, g, Y), p = p[g];
|
|
7990
7990
|
}
|
|
7991
7991
|
return I;
|
|
7992
7992
|
}
|
|
7993
7993
|
return un = M, un;
|
|
7994
7994
|
}
|
|
7995
|
-
var cn,
|
|
7995
|
+
var cn, Bo;
|
|
7996
7996
|
function am() {
|
|
7997
|
-
if (
|
|
7998
|
-
|
|
7999
|
-
var
|
|
8000
|
-
function
|
|
8001
|
-
return u == null ? u :
|
|
7997
|
+
if (Bo) return cn;
|
|
7998
|
+
Bo = 1;
|
|
7999
|
+
var s = rm();
|
|
8000
|
+
function o(u, i, b) {
|
|
8001
|
+
return u == null ? u : s(u, i, b);
|
|
8002
8002
|
}
|
|
8003
|
-
return cn =
|
|
8003
|
+
return cn = o, cn;
|
|
8004
8004
|
}
|
|
8005
8005
|
var nm = am();
|
|
8006
8006
|
const dn = /* @__PURE__ */ wn(nm);
|
|
@@ -8013,17 +8013,17 @@ class im {
|
|
|
8013
8013
|
this.token = null, this.basePath = Ae();
|
|
8014
8014
|
}
|
|
8015
8015
|
async getSessionAuthToken() {
|
|
8016
|
-
let
|
|
8017
|
-
await Ut.get(
|
|
8018
|
-
|
|
8016
|
+
let o = this;
|
|
8017
|
+
await Ut.get(o.basePath + "/api/session-auth").then((u) => {
|
|
8018
|
+
o.token = u.data.token;
|
|
8019
8019
|
}).catch((u) => {
|
|
8020
8020
|
qe.fire("'error_message_detail", "'auth_error'", "error");
|
|
8021
8021
|
});
|
|
8022
8022
|
}
|
|
8023
8023
|
getSessionAuthTokenPromise() {
|
|
8024
|
-
let
|
|
8024
|
+
let o = this;
|
|
8025
8025
|
return new Promise(async (u, i) => {
|
|
8026
|
-
nr("auth-token") ? u({ token: nr("auth-token") }) : await Ut.get(
|
|
8026
|
+
nr("auth-token") ? u({ token: nr("auth-token") }) : await Ut.get(o.basePath + "/api/session-auth?with-cookie=true", {
|
|
8027
8027
|
withCredentials: !0,
|
|
8028
8028
|
headers: {
|
|
8029
8029
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -8039,17 +8039,17 @@ class im {
|
|
|
8039
8039
|
getToken() {
|
|
8040
8040
|
return this.token;
|
|
8041
8041
|
}
|
|
8042
|
-
execAuthenticatedCall(
|
|
8043
|
-
this.token ?
|
|
8044
|
-
this.token = u.token,
|
|
8042
|
+
execAuthenticatedCall(o) {
|
|
8043
|
+
this.token ? o(this.token) : this.getSessionAuthTokenPromise().then((u) => {
|
|
8044
|
+
this.token = u.token, o(this.token);
|
|
8045
8045
|
});
|
|
8046
8046
|
}
|
|
8047
8047
|
}
|
|
8048
8048
|
const hn = Et.Components.components.file;
|
|
8049
8049
|
let _n = null;
|
|
8050
8050
|
document.querySelector("widget-formio") !== null && (_n = document.querySelector("widget-formio").getAttribute("signature-check-ws-url"));
|
|
8051
|
-
const
|
|
8052
|
-
const [b, M] =
|
|
8051
|
+
const om = ({ component: s, current: o, onChange: u, i18next: i }) => {
|
|
8052
|
+
const [b, M] = oe([]), [I, l] = oe(/* @__PURE__ */ new Map()), [y, r] = oe(!1), c = new im();
|
|
8053
8053
|
Ne(() => {
|
|
8054
8054
|
c.getSessionAuthTokenPromise();
|
|
8055
8055
|
}, []);
|
|
@@ -8060,20 +8060,20 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8060
8060
|
});
|
|
8061
8061
|
};
|
|
8062
8062
|
function f(x) {
|
|
8063
|
-
return x.size > (v(
|
|
8063
|
+
return x.size > (v(s.fileMaxSize) || v("1GB")) ? {
|
|
8064
8064
|
code: "size-files",
|
|
8065
|
-
message: `${i.t("I file non possono superare le dimensioni di")} ${
|
|
8066
|
-
} : b.length >= (
|
|
8065
|
+
message: `${i.t("I file non possono superare le dimensioni di")} ${s.fileMaxSize ? s.fileMaxSize : "1GB"}`
|
|
8066
|
+
} : b.length >= (s.maxFiles ? parseInt(s.maxFiles) : s.multiple ? 100 : 1) ? {
|
|
8067
8067
|
code: "too-many-files",
|
|
8068
|
-
message: `${i.t("Puoi caricare massimo ")} ${
|
|
8069
|
-
} : x.size < v(
|
|
8068
|
+
message: `${i.t("Puoi caricare massimo ")} ${s.maxFiles || 100} ${i.t("file")}`
|
|
8069
|
+
} : x.size < v(s.fileMinSize) ? {
|
|
8070
8070
|
code: "file-too-small",
|
|
8071
|
-
message: `${i.t("I file devono avare una dimensione superiore a ")} ${
|
|
8071
|
+
message: `${i.t("I file devono avare una dimensione superiore a ")} ${s.fileMinSize}`
|
|
8072
8072
|
} : null;
|
|
8073
8073
|
}
|
|
8074
8074
|
function p() {
|
|
8075
|
-
if (
|
|
8076
|
-
const S =
|
|
8075
|
+
if (s.filePattern) {
|
|
8076
|
+
const S = s.filePattern.split(",").map((V) => V.trim()).filter(Boolean).reduce((V, A) => {
|
|
8077
8077
|
const E = A.startsWith(".") ? A : `.${A}`, z = Hc.getType(E);
|
|
8078
8078
|
return z && (V[z] || (V[z] = []), V[z].push(E)), V;
|
|
8079
8079
|
}, {});
|
|
@@ -8091,7 +8091,7 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8091
8091
|
});
|
|
8092
8092
|
});
|
|
8093
8093
|
},
|
|
8094
|
-
maxFiles:
|
|
8094
|
+
maxFiles: s.maxFiles ? parseInt(s.maxFiles) - b.length : s.multiple ? 100 : 1,
|
|
8095
8095
|
validator: f,
|
|
8096
8096
|
accept: p()
|
|
8097
8097
|
}), F = (x) => {
|
|
@@ -8121,7 +8121,7 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8121
8121
|
}), console.error(V);
|
|
8122
8122
|
});
|
|
8123
8123
|
}, R = () => {
|
|
8124
|
-
const x = typeof
|
|
8124
|
+
const x = typeof o?.getCurrentValue == "function" ? o.getCurrentValue() : o?.dataValue;
|
|
8125
8125
|
x?.length > 0 && (M(x), setTimeout(() => {
|
|
8126
8126
|
u(x);
|
|
8127
8127
|
}, 100));
|
|
@@ -8140,13 +8140,13 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8140
8140
|
mime_type: x.type,
|
|
8141
8141
|
name: x.name,
|
|
8142
8142
|
original_filename: x.name,
|
|
8143
|
-
protocol_required:
|
|
8143
|
+
protocol_required: s.protocol_required,
|
|
8144
8144
|
size: x.size
|
|
8145
8145
|
};
|
|
8146
8146
|
return await Ut.post(V, A, {
|
|
8147
8147
|
maxContentLength: 1 / 0,
|
|
8148
8148
|
maxBodyLength: 1 / 0
|
|
8149
|
-
}).then(async (E) => (S = E.data.id, x.url = Ae() + "/it/allegati/" + S, x.storage = "url", x.mime_type = x.type, x.protocol_required =
|
|
8149
|
+
}).then(async (E) => (S = E.data.id, x.url = Ae() + "/it/allegati/" + S, x.storage = "url", x.mime_type = x.type, x.protocol_required = s.protocol_required, x.data = {
|
|
8150
8150
|
...E.data,
|
|
8151
8151
|
baseUrl: Ae() + "/it/allegati/" + S
|
|
8152
8152
|
}, h(S, x), await Ut.put(E.data.uri, x, {
|
|
@@ -8166,17 +8166,17 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8166
8166
|
const B = /\\|"/gi, Q = z.headers.etag.replace(B, "") || null;
|
|
8167
8167
|
return await Ut.put(Ae() + "/it/upload/" + S, {
|
|
8168
8168
|
file_hash: Q,
|
|
8169
|
-
check_signature:
|
|
8169
|
+
check_signature: s.check_signature
|
|
8170
8170
|
}).then(async (ne) => {
|
|
8171
8171
|
l((ee) => {
|
|
8172
8172
|
const ce = new Map(ee);
|
|
8173
8173
|
return ce.delete(S), ce;
|
|
8174
8174
|
});
|
|
8175
|
-
let te =
|
|
8175
|
+
let te = o.dataValue || [], he = null;
|
|
8176
8176
|
if (M((ee) => {
|
|
8177
8177
|
const ce = [...ee, g(x)];
|
|
8178
8178
|
return he = ce.length - 1, u(ce), ce;
|
|
8179
|
-
}),
|
|
8179
|
+
}), s.check_signature && ne.data.url && _n)
|
|
8180
8180
|
return await Ut.post(
|
|
8181
8181
|
_n,
|
|
8182
8182
|
{
|
|
@@ -8260,15 +8260,15 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8260
8260
|
const V = 1024, A = S < 0 ? 0 : S, E = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], z = Math.floor(Math.log(x) / Math.log(V));
|
|
8261
8261
|
return `${parseFloat((x / Math.pow(V, z)).toFixed(A))} ${E[z]}`;
|
|
8262
8262
|
}
|
|
8263
|
-
return
|
|
8263
|
+
return o.conditionallyHidden() || o.visible === !1 ? null : /* @__PURE__ */ m.jsx(m.Fragment, { children: y ? /* @__PURE__ */ m.jsxs("div", { children: [
|
|
8264
8264
|
/* @__PURE__ */ m.jsxs(
|
|
8265
8265
|
"label",
|
|
8266
8266
|
{
|
|
8267
8267
|
className: "col-form-label floating-label",
|
|
8268
|
-
htmlFor: `${
|
|
8268
|
+
htmlFor: `${s.id}-${s.key}`,
|
|
8269
8269
|
children: [
|
|
8270
|
-
|
|
8271
|
-
|
|
8270
|
+
s.label,
|
|
8271
|
+
s.validate.required && /* @__PURE__ */ m.jsx("span", { className: "text-danger" })
|
|
8272
8272
|
]
|
|
8273
8273
|
}
|
|
8274
8274
|
),
|
|
@@ -8312,21 +8312,21 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8312
8312
|
] })
|
|
8313
8313
|
] })
|
|
8314
8314
|
] }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
8315
|
-
|
|
8315
|
+
s.hideLabel || s.hidden ? "" : /* @__PURE__ */ m.jsxs(
|
|
8316
8316
|
"label",
|
|
8317
8317
|
{
|
|
8318
8318
|
className: "col-form-label floating-label",
|
|
8319
|
-
htmlFor: `${
|
|
8320
|
-
title:
|
|
8319
|
+
htmlFor: `${s.id}-${s.key}`,
|
|
8320
|
+
title: s.tooltip || void 0,
|
|
8321
8321
|
children: [
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8322
|
+
s.label,
|
|
8323
|
+
s.validate.required && /* @__PURE__ */ m.jsx("span", { className: "text-danger" }),
|
|
8324
|
+
s.tooltip && /* @__PURE__ */ m.jsx(
|
|
8325
8325
|
"i",
|
|
8326
8326
|
{
|
|
8327
8327
|
tabIndex: 0,
|
|
8328
8328
|
className: "bi bi-question-circle text-muted ms-1",
|
|
8329
|
-
"data-tooltip":
|
|
8329
|
+
"data-tooltip": s.tooltip,
|
|
8330
8330
|
"aria-expanded": "false"
|
|
8331
8331
|
}
|
|
8332
8332
|
)
|
|
@@ -8345,8 +8345,8 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8345
8345
|
/* @__PURE__ */ m.jsx(
|
|
8346
8346
|
"input",
|
|
8347
8347
|
{
|
|
8348
|
-
id: `${
|
|
8349
|
-
"aria-describedby": `file-uploader-description-${
|
|
8348
|
+
id: `${s.id}-${s.key}`,
|
|
8349
|
+
"aria-describedby": `file-uploader-description-${s.id}-${s.key}`,
|
|
8350
8350
|
..._()
|
|
8351
8351
|
}
|
|
8352
8352
|
),
|
|
@@ -8369,7 +8369,7 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8369
8369
|
"div",
|
|
8370
8370
|
{
|
|
8371
8371
|
className: "h5",
|
|
8372
|
-
id: `file-uploader-description-${
|
|
8372
|
+
id: `file-uploader-description-${s.id}-${s.key}`,
|
|
8373
8373
|
children: i.t("Trascina il file per caricarlo")
|
|
8374
8374
|
}
|
|
8375
8375
|
),
|
|
@@ -8398,7 +8398,7 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8398
8398
|
"div",
|
|
8399
8399
|
{
|
|
8400
8400
|
dangerouslySetInnerHTML: {
|
|
8401
|
-
__html:
|
|
8401
|
+
__html: ts.sanitize(s.description || "")
|
|
8402
8402
|
}
|
|
8403
8403
|
}
|
|
8404
8404
|
),
|
|
@@ -8446,7 +8446,7 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8446
8446
|
S.name,
|
|
8447
8447
|
/* @__PURE__ */ m.jsx("span", { className: "upload-file-weight", children: T(S.size) })
|
|
8448
8448
|
] }),
|
|
8449
|
-
/* @__PURE__ */ m.jsx(
|
|
8449
|
+
/* @__PURE__ */ m.jsx(es, { value: Number(S?.progress) || 0 })
|
|
8450
8450
|
] }, x))
|
|
8451
8451
|
] }),
|
|
8452
8452
|
!!(k && k.length) && /* @__PURE__ */ m.jsx("div", { className: "formio-error-wrapper", children: /* @__PURE__ */ m.jsx("ul", { className: "formio-errors upload-file-list my-0 ", children: k.map(({ file: x, errors: S }, V) => /* @__PURE__ */ m.jsxs("li", { className: "upload-file error", children: [
|
|
@@ -8469,11 +8469,11 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8469
8469
|
] }),
|
|
8470
8470
|
/* @__PURE__ */ m.jsx("div", { children: S.map((A) => A.code === "file-invalid-type" ? /* @__PURE__ */ m.jsxs("p", { className: "text-wrap ms-0", children: [
|
|
8471
8471
|
i.t("I file possono essere di tipo "),
|
|
8472
|
-
|
|
8472
|
+
s.filePattern
|
|
8473
8473
|
] }) : A.code === "too-many-files" ? /* @__PURE__ */ m.jsxs("p", { className: "text-wrap ms-0", children: [
|
|
8474
8474
|
i.t("Puoi caricare massimo "),
|
|
8475
8475
|
" ",
|
|
8476
|
-
|
|
8476
|
+
s.maxFiles ? s.maxFiles : s.multiple ? 100 : 1,
|
|
8477
8477
|
" ",
|
|
8478
8478
|
i.t("file")
|
|
8479
8479
|
] }) : /* @__PURE__ */ m.jsx("p", { className: "text-wrap ms-0", children: A.message })) })
|
|
@@ -8481,10 +8481,10 @@ const sm = ({ component: o, current: s, onChange: u, i18next: i }) => {
|
|
|
8481
8481
|
] }) });
|
|
8482
8482
|
};
|
|
8483
8483
|
class En extends hn {
|
|
8484
|
-
constructor(
|
|
8484
|
+
constructor(o, u, i) {
|
|
8485
8485
|
super(
|
|
8486
8486
|
{
|
|
8487
|
-
...
|
|
8487
|
+
...o,
|
|
8488
8488
|
clearOnHide: !1
|
|
8489
8489
|
},
|
|
8490
8490
|
u,
|
|
@@ -8507,8 +8507,8 @@ class En extends hn {
|
|
|
8507
8507
|
init() {
|
|
8508
8508
|
if (super.init(), this.component?.multiple && !Array.isArray(this.getCurrentValue())) {
|
|
8509
8509
|
this.dataValue = [];
|
|
8510
|
-
const
|
|
8511
|
-
|
|
8510
|
+
const o = this.path || this.component?.key;
|
|
8511
|
+
o && this.rootValue && dn(this.rootValue, o, []);
|
|
8512
8512
|
}
|
|
8513
8513
|
}
|
|
8514
8514
|
static schema() {
|
|
@@ -8521,7 +8521,7 @@ class En extends hn {
|
|
|
8521
8521
|
getI18next() {
|
|
8522
8522
|
return this.i18next && typeof this.i18next.t == "function" ? this.i18next : {
|
|
8523
8523
|
language: this.options?.language || document?.documentElement?.lang || "it",
|
|
8524
|
-
t: (
|
|
8524
|
+
t: (o, u) => this.t(o, u)
|
|
8525
8525
|
};
|
|
8526
8526
|
}
|
|
8527
8527
|
hideFileProcessingLoader() {
|
|
@@ -8537,43 +8537,43 @@ class En extends hn {
|
|
|
8537
8537
|
}
|
|
8538
8538
|
this.rootComponent.render(
|
|
8539
8539
|
/* @__PURE__ */ m.jsx(
|
|
8540
|
-
|
|
8540
|
+
om,
|
|
8541
8541
|
{
|
|
8542
8542
|
component: this.component,
|
|
8543
8543
|
current: this,
|
|
8544
8544
|
i18next: this.getI18next(),
|
|
8545
|
-
onChange: (
|
|
8545
|
+
onChange: (o) => this.updateValueFromReact(o)
|
|
8546
8546
|
}
|
|
8547
8547
|
)
|
|
8548
8548
|
);
|
|
8549
8549
|
}
|
|
8550
8550
|
}
|
|
8551
|
-
attach(
|
|
8552
|
-
const u = super.attach(
|
|
8551
|
+
attach(o) {
|
|
8552
|
+
const u = super.attach(o);
|
|
8553
8553
|
this.hideFileProcessingLoader();
|
|
8554
8554
|
const i = `react-${this.id}`;
|
|
8555
|
-
this.loadRefs(
|
|
8555
|
+
this.loadRefs(o, { [i]: "single" });
|
|
8556
8556
|
const b = this.refs[i];
|
|
8557
8557
|
return b && (this.rootComponent && this.mountNode !== b && (this.rootComponent.unmount(), this.rootComponent = null), this.rootComponent || (this.rootComponent = It(b)), this.mountNode = b, this.lastRenderedVisible = this.visible, this.renderReact()), u;
|
|
8558
8558
|
}
|
|
8559
|
-
updateValueFromReact(
|
|
8560
|
-
const i = this.normalizeValue(
|
|
8559
|
+
updateValueFromReact(o, u = { modified: !0 }) {
|
|
8560
|
+
const i = this.normalizeValue(o, u), b = this.updateValue(i, u), M = this.path || this.component?.key;
|
|
8561
8561
|
if (M && this.rootValue) {
|
|
8562
8562
|
const I = an(this.rootValue, M);
|
|
8563
8563
|
this.isEqual(I, i) || dn(this.rootValue, M, i);
|
|
8564
8564
|
}
|
|
8565
8565
|
return b;
|
|
8566
8566
|
}
|
|
8567
|
-
setValue(
|
|
8568
|
-
const i = this.normalizeValue(
|
|
8567
|
+
setValue(o, u = {}) {
|
|
8568
|
+
const i = this.normalizeValue(o, u), b = super.setValue(i, u), M = this.path || this.component?.key;
|
|
8569
8569
|
if (M && this.rootValue) {
|
|
8570
8570
|
const I = an(this.rootValue, M);
|
|
8571
8571
|
this.isEqual(I, i) || dn(this.rootValue, M, i);
|
|
8572
8572
|
}
|
|
8573
8573
|
return b;
|
|
8574
8574
|
}
|
|
8575
|
-
normalizeValue(
|
|
8576
|
-
const i = super.normalizeValue(
|
|
8575
|
+
normalizeValue(o, u = {}) {
|
|
8576
|
+
const i = super.normalizeValue(o, u);
|
|
8577
8577
|
return !this.component?.multiple || Array.isArray(i) ? i : i == null || i === "" ? [] : [i];
|
|
8578
8578
|
}
|
|
8579
8579
|
detach() {
|
|
@@ -8586,24 +8586,24 @@ class En extends hn {
|
|
|
8586
8586
|
return this.getCurrentValue();
|
|
8587
8587
|
}
|
|
8588
8588
|
getCurrentValue() {
|
|
8589
|
-
const
|
|
8590
|
-
return this.component?.multiple ? Array.isArray(
|
|
8589
|
+
const o = super.getValue(), u = this.path || this.component?.key, i = u && this.rootValue ? an(this.rootValue, u) : void 0;
|
|
8590
|
+
return this.component?.multiple ? Array.isArray(o) && o.length > 0 ? o : Array.isArray(i) ? i : [] : o ?? i ?? null;
|
|
8591
8591
|
}
|
|
8592
|
-
isEmpty(
|
|
8593
|
-
return this.component?.multiple ? !Array.isArray(
|
|
8592
|
+
isEmpty(o = this.validationValue) {
|
|
8593
|
+
return this.component?.multiple ? !Array.isArray(o) || o.length === 0 : o == null || o === "";
|
|
8594
8594
|
}
|
|
8595
|
-
checkCondition(
|
|
8596
|
-
const i = super.checkCondition(
|
|
8595
|
+
checkCondition(o, u) {
|
|
8596
|
+
const i = super.checkCondition(o, u), b = this.visible;
|
|
8597
8597
|
return this.lastRenderedVisible !== b && (this.lastRenderedVisible = b, this.renderReact()), i;
|
|
8598
8598
|
}
|
|
8599
8599
|
render() {
|
|
8600
|
-
const
|
|
8600
|
+
const o = `<div ref="react-${this.id}"></div>`;
|
|
8601
8601
|
return Object.getPrototypeOf(
|
|
8602
8602
|
Object.getPrototypeOf(hn.prototype)
|
|
8603
|
-
).render.call(this,
|
|
8603
|
+
).render.call(this, o);
|
|
8604
8604
|
}
|
|
8605
8605
|
}
|
|
8606
|
-
const
|
|
8606
|
+
const sm = [
|
|
8607
8607
|
{
|
|
8608
8608
|
key: "labelPosition",
|
|
8609
8609
|
ignore: !0
|
|
@@ -8641,22 +8641,22 @@ const om = [
|
|
|
8641
8641
|
ignore: !0
|
|
8642
8642
|
}
|
|
8643
8643
|
];
|
|
8644
|
-
function lm(...
|
|
8644
|
+
function lm(...s) {
|
|
8645
8645
|
return Jt.baseEditForm(
|
|
8646
8646
|
[
|
|
8647
8647
|
{
|
|
8648
8648
|
key: "display",
|
|
8649
|
-
components:
|
|
8649
|
+
components: sm
|
|
8650
8650
|
}
|
|
8651
8651
|
],
|
|
8652
|
-
...
|
|
8652
|
+
...s
|
|
8653
8653
|
);
|
|
8654
8654
|
}
|
|
8655
|
-
var wr = { exports: {} }, um = wr.exports,
|
|
8655
|
+
var wr = { exports: {} }, um = wr.exports, Uo;
|
|
8656
8656
|
function cm() {
|
|
8657
|
-
return
|
|
8657
|
+
return Uo || (Uo = 1, (function(s, o) {
|
|
8658
8658
|
(function(u, i) {
|
|
8659
|
-
|
|
8659
|
+
s.exports = i(bn);
|
|
8660
8660
|
})(um, (function(u) {
|
|
8661
8661
|
return (function() {
|
|
8662
8662
|
var i = { 680: function(l) {
|
|
@@ -9432,11 +9432,11 @@ function cm() {
|
|
|
9432
9432
|
}, 7680: function(l, y, r) {
|
|
9433
9433
|
var c, h, f = r(8448), p = r(1664), g = r(5016), Y = r(8872), _ = r(3548), k = r(4696), C = r(9368), j = r(9104).get, F = r(8e3), R = r(9124), O = k("native-string-replace", String.prototype.replace), v = RegExp.prototype.exec, T = v, x = p("".charAt), S = p("".indexOf), V = p("".replace), A = p("".slice), E = (h = /b*/g, f(v, c = /a/, "a"), f(v, h, "a"), c.lastIndex !== 0 || h.lastIndex !== 0), z = _.BROKEN_CARET, B = /()??/.exec("")[1] !== void 0;
|
|
9434
9434
|
(E || B || z || F || R) && (T = function(Q) {
|
|
9435
|
-
var ne, te, he, ee, ce, ge, fe,
|
|
9436
|
-
if (Ie) return Ie.lastIndex =
|
|
9437
|
-
var Ye = X.groups, ke = z &&
|
|
9438
|
-
if (ke && ($ = V($, "y", ""), S($, "g") === -1 && ($ += "g"), P = A(Pe,
|
|
9439
|
-
`) && (G = "(?: " + G + ")", P = " " + P, K++), te = new RegExp("^(?:" + G + ")", $)), B && (te = new RegExp("^" + G + "$(?!\\s)", $)), E && (he =
|
|
9435
|
+
var ne, te, he, ee, ce, ge, fe, se = this, X = j(se), Pe = g(Q), Ie = X.raw;
|
|
9436
|
+
if (Ie) return Ie.lastIndex = se.lastIndex, ne = f(T, Ie, Pe), se.lastIndex = Ie.lastIndex, ne;
|
|
9437
|
+
var Ye = X.groups, ke = z && se.sticky, $ = f(Y, se), G = se.source, K = 0, P = Pe;
|
|
9438
|
+
if (ke && ($ = V($, "y", ""), S($, "g") === -1 && ($ += "g"), P = A(Pe, se.lastIndex), se.lastIndex > 0 && (!se.multiline || se.multiline && x(Pe, se.lastIndex - 1) !== `
|
|
9439
|
+
`) && (G = "(?: " + G + ")", P = " " + P, K++), te = new RegExp("^(?:" + G + ")", $)), B && (te = new RegExp("^" + G + "$(?!\\s)", $)), E && (he = se.lastIndex), ee = f(v, ke ? te : se, P), ke ? ee ? (ee.input = A(ee.input, K), ee[0] = A(ee[0], K), ee.index = se.lastIndex, se.lastIndex += ee[0].length) : se.lastIndex = 0 : E && ee && (se.lastIndex = se.global ? ee.index + ee[0].length : he), B && ee && ee.length > 1 && f(O, ee[0], te, (function() {
|
|
9440
9440
|
for (ce = 1; ce < arguments.length - 2; ce++) arguments[ce] === void 0 && (ee[ce] = void 0);
|
|
9441
9441
|
})), ee && Ye) for (ee.groups = ge = C(null), ce = 0; ce < Ye.length; ce++) ge[(fe = Ye[ce])[0]] = ee[fe[1]];
|
|
9442
9442
|
return ee;
|
|
@@ -9827,8 +9827,8 @@ function cm() {
|
|
|
9827
9827
|
}, R.componentWillReceiveProps = function(O) {
|
|
9828
9828
|
O.queryLength, this.setState({ debounced: !1 });
|
|
9829
9829
|
}, R.render = function() {
|
|
9830
|
-
var O = this.props, v = O.id, T = O.length, x = O.queryLength, S = O.minQueryLength, V = O.selectedOption, A = O.selectedOptionIndex, E = O.tQueryTooShort, z = O.tNoResults, B = O.tSelectedOption, Q = O.tResults, ne = O.className, te = this.state, he = te.bump, ee = te.debounced, ce = te.silenced, ge = x < S, fe = T === 0,
|
|
9831
|
-
return X = ge ? E(S) : fe ? z() : Q(T,
|
|
9830
|
+
var O = this.props, v = O.id, T = O.length, x = O.queryLength, S = O.minQueryLength, V = O.selectedOption, A = O.selectedOptionIndex, E = O.tQueryTooShort, z = O.tNoResults, B = O.tSelectedOption, Q = O.tResults, ne = O.className, te = this.state, he = te.bump, ee = te.debounced, ce = te.silenced, ge = x < S, fe = T === 0, se = V ? B(V, T, A) : "", X = null;
|
|
9831
|
+
return X = ge ? E(S) : fe ? z() : Q(T, se), this.debounceStatusUpdate(), (0, l.createElement)("div", { className: ne, style: { border: "0", clip: "rect(0 0 0 0)", height: "1px", marginBottom: "-1px", marginRight: "-1px", overflow: "hidden", padding: "0", position: "absolute", whiteSpace: "nowrap", width: "1px" } }, (0, l.createElement)("div", { id: v + "__status--A", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !ce && ee && he ? X : ""), (0, l.createElement)("div", { id: v + "__status--B", role: "status", "aria-atomic": "true", "aria-live": "polite" }, ce || !ee || he ? "" : X));
|
|
9832
9832
|
}, F;
|
|
9833
9833
|
})(l.Component);
|
|
9834
9834
|
r.defaultProps = { tQueryTooShort: function(k) {
|
|
@@ -9992,18 +9992,18 @@ function cm() {
|
|
|
9992
9992
|
}
|
|
9993
9993
|
var v;
|
|
9994
9994
|
}, R.render = function() {
|
|
9995
|
-
var O, v = this, T = this.props, x = T.cssNamespace, S = T.displayMenu, V = T.id, A = T.minLength, E = T.name, z = T.placeholder, B = T.required, Q = T.showAllValues, ne = T.tNoResults, te = T.tStatusQueryTooShort, he = T.tStatusNoResults, ee = T.tStatusSelectedOption, ce = T.tStatusResults, ge = T.tAssistiveHint, fe = T.dropdownArrow,
|
|
9995
|
+
var O, v = this, T = this.props, x = T.cssNamespace, S = T.displayMenu, V = T.id, A = T.minLength, E = T.name, z = T.placeholder, B = T.required, Q = T.showAllValues, ne = T.tNoResults, te = T.tStatusQueryTooShort, he = T.tStatusNoResults, ee = T.tStatusSelectedOption, ce = T.tStatusResults, ge = T.tAssistiveHint, fe = T.dropdownArrow, se = T.menuAttributes, X = T.inputClasses, Pe = T.hintClasses, Ie = T.menuClasses, Ye = this.state, ke = Ye.focused, $ = Ye.hovered, G = Ye.menuOpen, K = Ye.options, P = Ye.query, q = Ye.selected, N = Ye.ariaHint, W = Ye.validChoiceMade, H = this.hasAutoselect(), ue = ke === -1, ie = K.length === 0, Te = P.length !== 0, pe = P.length >= A, ye = this.props.showNoOptionsFound && ue && ie && Te && pe, $e = x + "__wrapper", Re = x + "__status", dt = x + "__dropdown-arrow-down", Ue = ke !== -1 && ke !== null, ot = x + "__option", Tt = x + "__hint", st = this.templateInputValue(K[q]), Ce = st && st.toLowerCase().indexOf(P.toLowerCase()) === 0 && H ? P + st.substr(P.length) : "", Pt = V + "__assistiveHint", Ft = { "aria-describedby": N ? Pt : null, "aria-expanded": G ? "true" : "false", "aria-activedescendant": Ue ? V + "__option--" + ke : null, "aria-controls": V + "__listbox", "aria-autocomplete": this.hasAutoselect() ? "both" : "list" };
|
|
9996
9996
|
Q && typeof (O = fe({ className: dt })) == "string" && (O = (0, l.createElement)("div", { className: x + "__dropdown-arrow-down-wrapper", dangerouslySetInnerHTML: { __html: O } }));
|
|
9997
9997
|
var lt = x + "__input", gt = [lt, this.props.showAllValues ? lt + "--show-all-values" : lt + "--default"];
|
|
9998
9998
|
ke !== null && gt.push(lt + "--focused"), X && gt.push(X);
|
|
9999
9999
|
var ht = x + "__menu", rt = [ht, ht + "--" + S, ht + "--" + (G || ye ? "visible" : "hidden")];
|
|
10000
|
-
Ie && rt.push(Ie), (
|
|
10001
|
-
var vt = Object.assign({ "aria-labelledby": V },
|
|
10000
|
+
Ie && rt.push(Ie), (se != null && se.class || se != null && se.className) && rt.push(se?.class || se?.className);
|
|
10001
|
+
var vt = Object.assign({ "aria-labelledby": V }, se, { id: V + "__listbox", role: "listbox", className: rt.join(" "), onMouseLeave: this.handleListMouseLeave });
|
|
10002
10002
|
return delete vt.class, (0, l.createElement)("div", { className: $e, onKeyDown: this.handleKeyDown }, (0, l.createElement)(r, { id: V, length: K.length, queryLength: P.length, minQueryLength: A, selectedOption: this.templateInputValue(K[q]), selectedOptionIndex: q, validChoiceMade: W, isInFocus: this.state.focused !== null, tQueryTooShort: te, tNoResults: he, tSelectedOption: ee, tResults: ce, className: Re }), Ce && (0, l.createElement)("span", null, (0, l.createElement)("input", { className: [Tt, Pe === null ? X : Pe].filter(Boolean).join(" "), readonly: !0, tabIndex: "-1", value: Ce })), (0, l.createElement)("input", h({}, Ft, { autoComplete: "off", className: gt.join(" "), id: V, onClick: this.handleInputClick, onBlur: this.handleInputBlur }, { onChange: this.handleInputChange }, { onFocus: this.handleInputFocus, name: E, placeholder: z, ref: function(yt) {
|
|
10003
10003
|
v.elementReferences[-1] = yt;
|
|
10004
10004
|
}, type: "text", role: "combobox", required: B, value: P })), O, (0, l.createElement)("ul", vt, K.map((function(yt, We) {
|
|
10005
|
-
var ft = (ke === -1 ? q === We : ke === We) && $ === null ? " " +
|
|
10006
|
-
return (0, l.createElement)("li", { "aria-selected": ke === We ? "true" : "false", className: "" +
|
|
10005
|
+
var ft = (ke === -1 ? q === We : ke === We) && $ === null ? " " + ot + "--focused" : "", ut = We % 2 ? " " + ot + "--odd" : "", at = Y() ? "<span id=" + V + "__option-suffix--" + We + ' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> ' + (We + 1) + " of " + K.length + "</span>" : "";
|
|
10006
|
+
return (0, l.createElement)("li", { "aria-selected": ke === We ? "true" : "false", className: "" + ot + ft + ut, dangerouslySetInnerHTML: { __html: v.templateSuggestion(yt) + at }, id: V + "__option--" + We, key: We, onBlur: function(et) {
|
|
10007
10007
|
return v.handleOptionBlur(et, We);
|
|
10008
10008
|
}, onClick: function(et) {
|
|
10009
10009
|
return v.handleOptionClick(et, We);
|
|
@@ -10012,7 +10012,7 @@ function cm() {
|
|
|
10012
10012
|
}, ref: function(et) {
|
|
10013
10013
|
v.elementReferences[We] = et;
|
|
10014
10014
|
}, role: "option", tabIndex: "-1", "aria-posinset": We + 1, "aria-setsize": K.length });
|
|
10015
|
-
})), ye && (0, l.createElement)("li", { className:
|
|
10015
|
+
})), ye && (0, l.createElement)("li", { className: ot + " " + ot + "--no-results", role: "option", "aria-disabled": "true" }, ne())), (0, l.createElement)("span", { id: Pt, style: { display: "none" } }, ge()));
|
|
10016
10016
|
}, F;
|
|
10017
10017
|
})(l.Component);
|
|
10018
10018
|
_.defaultProps = { autoselect: !1, cssNamespace: "autocomplete", defaultValue: "", displayMenu: "inline", minLength: 0, name: "input-autocomplete", placeholder: "", onConfirm: function() {
|
|
@@ -10026,14 +10026,14 @@ function cm() {
|
|
|
10026
10026
|
}));
|
|
10027
10027
|
})(wr)), wr.exports;
|
|
10028
10028
|
}
|
|
10029
|
-
var fn,
|
|
10029
|
+
var fn, Go;
|
|
10030
10030
|
function dm() {
|
|
10031
|
-
return
|
|
10031
|
+
return Go || (Go = 1, fn = cm()), fn;
|
|
10032
10032
|
}
|
|
10033
10033
|
var hm = dm();
|
|
10034
10034
|
const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
10035
|
-
value:
|
|
10036
|
-
defaultValue:
|
|
10035
|
+
value: s,
|
|
10036
|
+
defaultValue: o = "",
|
|
10037
10037
|
onConfirm: u,
|
|
10038
10038
|
source: i,
|
|
10039
10039
|
disabled: b,
|
|
@@ -10047,8 +10047,8 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10047
10047
|
}, 0);
|
|
10048
10048
|
};
|
|
10049
10049
|
Ne(() => {
|
|
10050
|
-
|
|
10051
|
-
}, [
|
|
10050
|
+
s !== void 0 && r(s);
|
|
10051
|
+
}, [s]), Ne(() => {
|
|
10052
10052
|
b ? y.current && (y.current.elementReferences[-1].disabled = !0) : y.current && (y.current.elementReferences[-1].disabled = !1);
|
|
10053
10053
|
}, [b]);
|
|
10054
10054
|
const c = () => {
|
|
@@ -10058,7 +10058,7 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10058
10058
|
"autocomplete__input--focused"
|
|
10059
10059
|
) && i(p, g);
|
|
10060
10060
|
}, f = (p) => {
|
|
10061
|
-
p ? u(p) : r(
|
|
10061
|
+
p ? u(p) : r(s);
|
|
10062
10062
|
};
|
|
10063
10063
|
return /* @__PURE__ */ m.jsxs("div", { style: { position: "relative", width: "100%" }, children: [
|
|
10064
10064
|
/* @__PURE__ */ m.jsx(
|
|
@@ -10066,12 +10066,12 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10066
10066
|
{
|
|
10067
10067
|
ref: y,
|
|
10068
10068
|
...l,
|
|
10069
|
-
defaultValue:
|
|
10069
|
+
defaultValue: o,
|
|
10070
10070
|
onConfirm: f,
|
|
10071
10071
|
source: h
|
|
10072
10072
|
}
|
|
10073
10073
|
),
|
|
10074
|
-
!!(
|
|
10074
|
+
!!(s && s.length > 0 && !b) && /* @__PURE__ */ m.jsx(
|
|
10075
10075
|
"button",
|
|
10076
10076
|
{
|
|
10077
10077
|
onClick: c,
|
|
@@ -10090,10 +10090,10 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10090
10090
|
}
|
|
10091
10091
|
)
|
|
10092
10092
|
] });
|
|
10093
|
-
}, pm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==", gm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=", vm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", ym = ({ position:
|
|
10093
|
+
}, pm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==", gm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=", vm = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", ym = ({ position: s, areasLayer: o, bounds: u, onMarkedMoved: i }) => {
|
|
10094
10094
|
const b = pt(null);
|
|
10095
10095
|
let M = null;
|
|
10096
|
-
const [I, l] =
|
|
10096
|
+
const [I, l] = oe([]), y = $c(
|
|
10097
10097
|
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
|
10098
10098
|
{
|
|
10099
10099
|
// detectRetina: true,
|
|
@@ -10105,10 +10105,10 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10105
10105
|
minZoom: 6,
|
|
10106
10106
|
maxZoom: 18
|
|
10107
10107
|
}).setView(r, 10);
|
|
10108
|
-
y.addTo(h),
|
|
10108
|
+
y.addTo(h), o && o.map((p) => {
|
|
10109
10109
|
p.addTo(h);
|
|
10110
10110
|
});
|
|
10111
|
-
const f =
|
|
10111
|
+
const f = s ? [`${s.lat}`, `${s.lon}`] : u ? u.getCenter() : r;
|
|
10112
10112
|
if (delete Gt.Icon.Default.prototype._getIconUrl, Gt.Icon.Default.mergeOptions({
|
|
10113
10113
|
iconRetinaUrl: pm,
|
|
10114
10114
|
iconUrl: gm,
|
|
@@ -10119,10 +10119,10 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10119
10119
|
}), h.on("click", function(p) {
|
|
10120
10120
|
const g = p.latlng;
|
|
10121
10121
|
M && M.setLatLng(g).update(), i(g, M);
|
|
10122
|
-
}), !
|
|
10122
|
+
}), !s && u)
|
|
10123
10123
|
h.fitBounds(u);
|
|
10124
10124
|
else {
|
|
10125
|
-
const p =
|
|
10125
|
+
const p = s ? [s.lat, s.lon] : r;
|
|
10126
10126
|
M && (M.setLatLng(p).update(), h.setView(p, 15));
|
|
10127
10127
|
}
|
|
10128
10128
|
};
|
|
@@ -10143,16 +10143,16 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10143
10143
|
)
|
|
10144
10144
|
}
|
|
10145
10145
|
);
|
|
10146
|
-
},
|
|
10147
|
-
component:
|
|
10148
|
-
value:
|
|
10146
|
+
}, Jo = Et.Components.components.field, _m = ({
|
|
10147
|
+
component: s,
|
|
10148
|
+
value: o,
|
|
10149
10149
|
current: u,
|
|
10150
10150
|
onChange: i,
|
|
10151
10151
|
i18next: b
|
|
10152
10152
|
}) => {
|
|
10153
|
-
const [M, I] =
|
|
10153
|
+
const [M, I] = oe(null), [l, y] = oe([]), [r, c] = oe(), [h, f] = oe(), [p, g] = oe(!1), [Y, _] = oe(), [k, C] = oe(!1), [j, F] = oe(), [R, O] = oe(), [v, T] = oe(!1), [x, S] = oe(""), [V, A] = oe(""), [E, z] = oe(!1), [B, Q] = oe(!1), te = new URLSearchParams(window.location.search).get("area"), { geographic_areas_id: he } = window.OC_SERVICE_DETAILS, ee = pt(), ce = b.language;
|
|
10154
10154
|
let ge = Gt.latLngBounds();
|
|
10155
|
-
const fe = te || (he && he.length > 0 ? he : void 0),
|
|
10155
|
+
const fe = te || (he && he.length > 0 ? he : void 0), se = (K, P) => {
|
|
10156
10156
|
ee.current = K;
|
|
10157
10157
|
const q = `https://nominatim.openstreetmap.org/search?q=${encodeURIComponent(K)}&countrycodes=it&viewbox=${r}&bounded=1&addressdetails=1&limit=14&format=jsonv2&accept-language=${ce}`;
|
|
10158
10158
|
let N = [], W = [];
|
|
@@ -10179,7 +10179,7 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10179
10179
|
console.error("Error fetching locations:", H), C(!1);
|
|
10180
10180
|
});
|
|
10181
10181
|
}, X = (K, P) => {
|
|
10182
|
-
|
|
10182
|
+
se(K, P);
|
|
10183
10183
|
}, Pe = (K, P) => {
|
|
10184
10184
|
const { lat: q, lng: N } = K, W = `https://nominatim.openstreetmap.org/reverse?format=jsonv2&lat=${q}&lon=${N}&accept-language=${ce}`;
|
|
10185
10185
|
fetch(W).then((H) => H.json()).then((H) => {
|
|
@@ -10212,10 +10212,10 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10212
10212
|
);
|
|
10213
10213
|
}
|
|
10214
10214
|
Ne(() => {
|
|
10215
|
-
|
|
10216
|
-
}, [
|
|
10215
|
+
o && I(o), u.valuePosition && I(u.valuePosition);
|
|
10216
|
+
}, [o, u]);
|
|
10217
10217
|
const Ye = () => {
|
|
10218
|
-
|
|
10218
|
+
o && I(o), u.valuePosition && I(u.valuePosition);
|
|
10219
10219
|
};
|
|
10220
10220
|
Ne(() => {
|
|
10221
10221
|
window?.Formio?.formioReady.then(() => {
|
|
@@ -10289,7 +10289,7 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10289
10289
|
return /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsxs(
|
|
10290
10290
|
"div",
|
|
10291
10291
|
{
|
|
10292
|
-
id: `address-map-container-${
|
|
10292
|
+
id: `address-map-container-${s.key}`,
|
|
10293
10293
|
className: "address-map-container",
|
|
10294
10294
|
children: [
|
|
10295
10295
|
/* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsxs(
|
|
@@ -10356,7 +10356,7 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10356
10356
|
/* @__PURE__ */ m.jsx(
|
|
10357
10357
|
mm,
|
|
10358
10358
|
{
|
|
10359
|
-
id: `${
|
|
10359
|
+
id: `${s.id}-${s.key}`,
|
|
10360
10360
|
inputClasses: "form-control",
|
|
10361
10361
|
source: Uc(X, 520),
|
|
10362
10362
|
onConfirm: (K) => {
|
|
@@ -10392,7 +10392,7 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10392
10392
|
width: "100%",
|
|
10393
10393
|
bottom: "0px"
|
|
10394
10394
|
},
|
|
10395
|
-
children: /* @__PURE__ */ m.jsx(
|
|
10395
|
+
children: /* @__PURE__ */ m.jsx(es, { indeterminate: !0, label: "In elaborazione..." })
|
|
10396
10396
|
}
|
|
10397
10397
|
)
|
|
10398
10398
|
] }),
|
|
@@ -10416,9 +10416,9 @@ const fm = /* @__PURE__ */ wn(hm), mm = ({
|
|
|
10416
10416
|
}
|
|
10417
10417
|
) });
|
|
10418
10418
|
};
|
|
10419
|
-
class In extends
|
|
10420
|
-
constructor(
|
|
10421
|
-
super(
|
|
10419
|
+
class In extends Jo {
|
|
10420
|
+
constructor(o, u, i) {
|
|
10421
|
+
super(o, u, i);
|
|
10422
10422
|
}
|
|
10423
10423
|
/**
|
|
10424
10424
|
* This function tells the form builder about your component. It's name, icon and what group it should be in.
|
|
@@ -10443,7 +10443,7 @@ class In extends Gs {
|
|
|
10443
10443
|
* @returns {*}
|
|
10444
10444
|
*/
|
|
10445
10445
|
static schema() {
|
|
10446
|
-
return
|
|
10446
|
+
return Jo.schema({
|
|
10447
10447
|
type: "address_map"
|
|
10448
10448
|
});
|
|
10449
10449
|
}
|
|
@@ -10457,8 +10457,8 @@ class In extends Gs {
|
|
|
10457
10457
|
* @param DOMElement
|
|
10458
10458
|
* #returns ReactInstance
|
|
10459
10459
|
*/
|
|
10460
|
-
attach(
|
|
10461
|
-
return super.attach(
|
|
10460
|
+
attach(o) {
|
|
10461
|
+
return super.attach(o).then(() => {
|
|
10462
10462
|
this.loadRefs(this.element, {
|
|
10463
10463
|
[`react-${this.id}`]: "single"
|
|
10464
10464
|
});
|
|
@@ -10481,8 +10481,8 @@ class In extends Gs {
|
|
|
10481
10481
|
detach() {
|
|
10482
10482
|
return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
|
|
10483
10483
|
}
|
|
10484
|
-
setValue(
|
|
10485
|
-
this.valuePosition =
|
|
10484
|
+
setValue(o) {
|
|
10485
|
+
this.valuePosition = o, this.updateValue(o);
|
|
10486
10486
|
}
|
|
10487
10487
|
getValue() {
|
|
10488
10488
|
return this.valuePosition;
|
|
@@ -10545,7 +10545,7 @@ const bm = [
|
|
|
10545
10545
|
weight: 1
|
|
10546
10546
|
}
|
|
10547
10547
|
];
|
|
10548
|
-
function wm(...
|
|
10548
|
+
function wm(...s) {
|
|
10549
10549
|
return Jt.baseEditForm(
|
|
10550
10550
|
[
|
|
10551
10551
|
{
|
|
@@ -10553,11 +10553,11 @@ function wm(...o) {
|
|
|
10553
10553
|
components: bm
|
|
10554
10554
|
}
|
|
10555
10555
|
],
|
|
10556
|
-
...
|
|
10556
|
+
...s
|
|
10557
10557
|
);
|
|
10558
10558
|
}
|
|
10559
|
-
const
|
|
10560
|
-
const b = "list-services", M = "selected-category", [I, l] =
|
|
10559
|
+
const Ko = Et.Components.components.field, xm = ({ component: s, current: o, onChange: u, i18next: i }) => {
|
|
10560
|
+
const b = "list-services", M = "selected-category", [I, l] = oe([]), [y, r] = oe([]), [c, h] = oe(null), [f, p] = oe(null), [g, Y] = oe(""), [_, k] = oe(!1), [C, j] = oe(!1), F = pt(!1), R = pt(), O = xi(() => {
|
|
10561
10561
|
if (!c) return null;
|
|
10562
10562
|
const A = y.find((z) => z.name === c);
|
|
10563
10563
|
return A || I.find((z) => z.name === c) || null;
|
|
@@ -10596,13 +10596,13 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10596
10596
|
F.current || (F.current = !0, T());
|
|
10597
10597
|
}, []);
|
|
10598
10598
|
const x = (A) => {
|
|
10599
|
-
const E = (fe = "") => fe.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), z = (fe = "") => fe.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, " ").trim(), B = (fe = "") => fe.replace(/<[^>]*>/g, " "), Q = (fe,
|
|
10599
|
+
const E = (fe = "") => fe.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), z = (fe = "") => fe.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, " ").trim(), B = (fe = "") => fe.replace(/<[^>]*>/g, " "), Q = (fe, se) => new RegExp(`\\b${E(se)}`, "i").test(fe), ne = (fe, se) => {
|
|
10600
10600
|
const X = z(fe.name), Pe = z((fe.categories ?? []).join(" ")), Ie = z(B(fe.abstract ?? ""));
|
|
10601
|
-
if (!
|
|
10601
|
+
if (!se.every(
|
|
10602
10602
|
($) => Q(X, $) || Q(Pe, $) || Q(Ie, $)
|
|
10603
10603
|
)) return -1;
|
|
10604
10604
|
let ke = 0;
|
|
10605
|
-
for (const $ of
|
|
10605
|
+
for (const $ of se)
|
|
10606
10606
|
Q(X, $) ? ke += 3 : Q(Pe, $) ? ke += 2 : Q(Ie, $) && (ke += 1);
|
|
10607
10607
|
return ke;
|
|
10608
10608
|
}, te = A.target.value;
|
|
@@ -10613,8 +10613,8 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10613
10613
|
return;
|
|
10614
10614
|
}
|
|
10615
10615
|
const ee = he.split(" ").filter(Boolean), ce = I.map((fe) => {
|
|
10616
|
-
const
|
|
10617
|
-
return
|
|
10616
|
+
const se = fe.services.map((X) => ({ service: X, score: ne(X, ee) })).filter((X) => X.score >= 0).sort((X, Pe) => Pe.score - X.score).map((X) => X.service);
|
|
10617
|
+
return se.length ? { ...fe, services: se } : null;
|
|
10618
10618
|
}).filter(Boolean);
|
|
10619
10619
|
r(ce);
|
|
10620
10620
|
const ge = ce.some((fe) => fe.name === c);
|
|
@@ -10633,7 +10633,7 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10633
10633
|
offices: A.offices,
|
|
10634
10634
|
abstract: A.abstract,
|
|
10635
10635
|
view_type: A.view_type
|
|
10636
|
-
}),
|
|
10636
|
+
}), o.data.user_group = null, ls();
|
|
10637
10637
|
}, V = (A) => {
|
|
10638
10638
|
h(A.name), p(null), Y(""), r(I), u({});
|
|
10639
10639
|
};
|
|
@@ -10642,7 +10642,7 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10642
10642
|
k(A);
|
|
10643
10643
|
}, []), Ne(() => {
|
|
10644
10644
|
const A = setTimeout(() => {
|
|
10645
|
-
const E =
|
|
10645
|
+
const E = o?.dataValue ?? o?.getValue();
|
|
10646
10646
|
if (E?.id && (p(E), I.length > 0)) {
|
|
10647
10647
|
const z = I.find(
|
|
10648
10648
|
(B) => B.services.some((Q) => Q.id === E.id)
|
|
@@ -10651,11 +10651,11 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10651
10651
|
}
|
|
10652
10652
|
}, 500);
|
|
10653
10653
|
return () => clearTimeout(A);
|
|
10654
|
-
}, [
|
|
10654
|
+
}, [o?.dataValue, o?.data, I]), Ne(() => {
|
|
10655
10655
|
const A = window.FormioInstance;
|
|
10656
10656
|
if (!A) return;
|
|
10657
10657
|
const E = () => {
|
|
10658
|
-
const z = A.submission?.data?.[
|
|
10658
|
+
const z = A.submission?.data?.[o?.component?.key];
|
|
10659
10659
|
if (z?.id && (p(z), I.length > 0)) {
|
|
10660
10660
|
const B = I.find(
|
|
10661
10661
|
(Q) => Q.services.some((ne) => ne.id === z.id)
|
|
@@ -10664,7 +10664,7 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10664
10664
|
}
|
|
10665
10665
|
};
|
|
10666
10666
|
return A.on("change", E), () => A.off("change", E);
|
|
10667
|
-
}, [I,
|
|
10667
|
+
}, [I, o?.component?.key]), C ? /* @__PURE__ */ m.jsx("div", { className: "services-booking", ref: R, children: /* @__PURE__ */ m.jsxs("div", { children: [
|
|
10668
10668
|
i.t("Caricamento in corso"),
|
|
10669
10669
|
"..."
|
|
10670
10670
|
] }) }) : /* @__PURE__ */ m.jsx("div", { className: "services-booking", ref: R, children: I && !_ ? /* @__PURE__ */ m.jsxs(Vc, { children: [
|
|
@@ -10710,7 +10710,7 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10710
10710
|
/* @__PURE__ */ m.jsx("div", { className: "border-bottom border-primary mt-3 mb-4" })
|
|
10711
10711
|
] }) : null,
|
|
10712
10712
|
v.length > 0 ? /* @__PURE__ */ m.jsx("div", { className: "services-list", children: v.map((A) => {
|
|
10713
|
-
const E = f?.id === A.id, z =
|
|
10713
|
+
const E = f?.id === A.id, z = ts.sanitize(A?.abstract);
|
|
10714
10714
|
return /* @__PURE__ */ m.jsx(
|
|
10715
10715
|
"button",
|
|
10716
10716
|
{
|
|
@@ -10741,19 +10741,19 @@ const Js = Et.Components.components.field, xm = ({ component: o, current: s, onC
|
|
|
10741
10741
|
] })
|
|
10742
10742
|
] }) : _ ? /* @__PURE__ */ m.jsx("fieldset", { className: "it-page-section", children: /* @__PURE__ */ m.jsx("div", { className: "cmp-card mt-2", children: /* @__PURE__ */ m.jsxs("div", { className: "card has-bkg-grey shadow-sm p-big", children: [
|
|
10743
10743
|
/* @__PURE__ */ m.jsx("div", { className: "card-header border-0 p-0 mb-lg-30", children: /* @__PURE__ */ m.jsx("div", { className: "d-flex", children: /* @__PURE__ */ m.jsx("h2", { className: "title-xxlarge mb-1", children: O?.name }) }) }),
|
|
10744
|
-
/* @__PURE__ */ m.jsx("div", { className: "card p-3 p-lg-4 fieldset-body", children:
|
|
10744
|
+
/* @__PURE__ */ m.jsx("div", { className: "card p-3 p-lg-4 fieldset-body", children: o?.dataValue?.id ? /* @__PURE__ */ m.jsx("div", { className: "services-list", children: /* @__PURE__ */ m.jsx(
|
|
10745
10745
|
"div",
|
|
10746
10746
|
{
|
|
10747
10747
|
className: "service-card p-4 rounded border transition border-light border-1 bg-white",
|
|
10748
|
-
children: /* @__PURE__ */ m.jsx("div", { className: "d-flex justify-content-between align-items-start", children: /* @__PURE__ */ m.jsx("div", { className: "flex-grow-1", children: /* @__PURE__ */ m.jsx("p", { className: "mb-2 text-dark text-paragraph", children:
|
|
10748
|
+
children: /* @__PURE__ */ m.jsx("div", { className: "d-flex justify-content-between align-items-start", children: /* @__PURE__ */ m.jsx("div", { className: "flex-grow-1", children: /* @__PURE__ */ m.jsx("p", { className: "mb-2 text-dark text-paragraph", children: o.dataValue.name }) }) })
|
|
10749
10749
|
},
|
|
10750
|
-
|
|
10750
|
+
o.dataValue.id
|
|
10751
10751
|
) }) : null })
|
|
10752
10752
|
] }) }) }) : null });
|
|
10753
10753
|
};
|
|
10754
|
-
class Fn extends
|
|
10755
|
-
constructor(
|
|
10756
|
-
super(
|
|
10754
|
+
class Fn extends Ko {
|
|
10755
|
+
constructor(o, u, i) {
|
|
10756
|
+
super(o, u, i);
|
|
10757
10757
|
}
|
|
10758
10758
|
static get builderInfo() {
|
|
10759
10759
|
return {
|
|
@@ -10766,13 +10766,13 @@ class Fn extends Js {
|
|
|
10766
10766
|
};
|
|
10767
10767
|
}
|
|
10768
10768
|
static schema() {
|
|
10769
|
-
return
|
|
10769
|
+
return Ko.schema({
|
|
10770
10770
|
type: "list-services"
|
|
10771
10771
|
});
|
|
10772
10772
|
}
|
|
10773
10773
|
static editForm = wm;
|
|
10774
|
-
attach(
|
|
10775
|
-
return super.attach(
|
|
10774
|
+
attach(o, u) {
|
|
10775
|
+
return super.attach(o).then(() => {
|
|
10776
10776
|
this.loadRefs(this.element, {
|
|
10777
10777
|
[`react-${this.id}`]: "single"
|
|
10778
10778
|
});
|
|
@@ -10796,8 +10796,8 @@ class Fn extends Js {
|
|
|
10796
10796
|
detach() {
|
|
10797
10797
|
return this.rootComponent && (this.rootComponent.unmount(), this.rootComponent = null), super.detach();
|
|
10798
10798
|
}
|
|
10799
|
-
setValue(
|
|
10800
|
-
|
|
10799
|
+
setValue(o) {
|
|
10800
|
+
o && (this.shouldSetValue = !0, this.updateValue(o));
|
|
10801
10801
|
}
|
|
10802
10802
|
getValue() {
|
|
10803
10803
|
return this.dataValue;
|
|
@@ -10811,14 +10811,14 @@ class Fn extends Js {
|
|
|
10811
10811
|
}
|
|
10812
10812
|
const Mm = Ic.components.select;
|
|
10813
10813
|
class Sm extends Mm {
|
|
10814
|
-
attach(
|
|
10815
|
-
const u = super.attach(
|
|
10814
|
+
attach(o) {
|
|
10815
|
+
const u = super.attach(o);
|
|
10816
10816
|
return (Array.isArray(this.refs.autocompleteInput) ? this.refs.autocompleteInput : [this.refs.autocompleteInput]).forEach((b) => {
|
|
10817
10817
|
b?.parentNode && b.parentNode.removeChild(b);
|
|
10818
10818
|
}), u;
|
|
10819
10819
|
}
|
|
10820
10820
|
}
|
|
10821
|
-
const
|
|
10821
|
+
const Xo = {
|
|
10822
10822
|
pagebreak: xn,
|
|
10823
10823
|
dynamic_calendar: Jh,
|
|
10824
10824
|
calendar: kn,
|
|
@@ -10828,14 +10828,14 @@ const Ks = {
|
|
|
10828
10828
|
"list-services": Fn,
|
|
10829
10829
|
select: Sm
|
|
10830
10830
|
};
|
|
10831
|
-
function qm(
|
|
10832
|
-
if (!
|
|
10831
|
+
function qm(s) {
|
|
10832
|
+
if (!s || typeof s.addComponent != "function")
|
|
10833
10833
|
throw new Error(
|
|
10834
10834
|
"registerFormioComponents requires Formio Components with addComponent(name, component)"
|
|
10835
10835
|
);
|
|
10836
|
-
return Object.entries(
|
|
10837
|
-
|
|
10838
|
-
}),
|
|
10836
|
+
return Object.entries(Xo).forEach(([o, u]) => {
|
|
10837
|
+
s.addComponent(o, u);
|
|
10838
|
+
}), Xo;
|
|
10839
10839
|
}
|
|
10840
10840
|
export {
|
|
10841
10841
|
kn as Calendar,
|
|
@@ -10846,7 +10846,7 @@ export {
|
|
|
10846
10846
|
xn as FormioPageBreak,
|
|
10847
10847
|
En as SdcFile,
|
|
10848
10848
|
Sm as Select,
|
|
10849
|
-
|
|
10849
|
+
Xo as formioCustomComponents,
|
|
10850
10850
|
qm as registerFormioComponents
|
|
10851
10851
|
};
|
|
10852
10852
|
//# sourceMappingURL=index.js.map
|