@opencitylabs/formio-custom-components 0.2.0 → 0.2.1
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 +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +761 -752
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import wr, { useRef as vt, useState as oe, useEffect as Re, useMemo as
|
|
5
|
-
import { ReactComponent as
|
|
1
|
+
var ml = Object.defineProperty;
|
|
2
|
+
var pl = (g, i, m) => i in g ? ml(g, i, { enumerable: !0, configurable: !0, writable: !0, value: m }) : g[i] = m;
|
|
3
|
+
var Nt = (g, i, m) => pl(g, typeof i != "symbol" ? i + "" : i, m);
|
|
4
|
+
import wr, { useRef as vt, useState as oe, useEffect as Re, useMemo as hn } from "react";
|
|
5
|
+
import { ReactComponent as Et, Components as Xt } from "@formio/react";
|
|
6
6
|
import { createRoot as Lt } from "react-dom/client";
|
|
7
7
|
import { DayPicker as Ma } from "react-day-picker";
|
|
8
|
-
import
|
|
8
|
+
import An from "react-countdown";
|
|
9
9
|
import he from "moment";
|
|
10
|
-
import { Icon as rt, Alert as
|
|
10
|
+
import { Icon as rt, Alert as En, Modal as Sa, ModalHeader as Da, ModalBody as ka, Input as ur, ModalFooter as Ya, Button as At, Select as ar, Spinner as gl, Progress as Rn, Container as yl, Row as rr, Col as _a } from "design-react-kit";
|
|
11
11
|
import Je from "sweetalert2";
|
|
12
12
|
import "i18next";
|
|
13
13
|
import ke from "dayjs";
|
|
14
|
-
import { Formio as
|
|
15
|
-
import { createCalendar as
|
|
16
|
-
import { useDropzone as
|
|
14
|
+
import { Formio as xr } from "@formio/js";
|
|
15
|
+
import { createCalendar as vl, TimeGrid as _l } from "@event-calendar/core";
|
|
16
|
+
import { useDropzone as bl } from "react-dropzone";
|
|
17
17
|
import Gt from "axios";
|
|
18
|
-
import
|
|
19
|
-
import { jwtDecode as
|
|
20
|
-
import Kt, { tileLayer as
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
function
|
|
18
|
+
import wl from "mime";
|
|
19
|
+
import { jwtDecode as xl } from "jwt-decode";
|
|
20
|
+
import Kt, { tileLayer as Ml } from "leaflet";
|
|
21
|
+
import Sl, { debounce as Dl } from "lodash";
|
|
22
|
+
import kl from "dompurify";
|
|
23
|
+
function Yl(g) {
|
|
24
24
|
return g && g.__esModule && Object.prototype.hasOwnProperty.call(g, "default") ? g.default : g;
|
|
25
25
|
}
|
|
26
26
|
var ba = { exports: {} }, na = {};
|
|
@@ -33,10 +33,10 @@ var ba = { exports: {} }, na = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
if (
|
|
39
|
-
|
|
36
|
+
var fn;
|
|
37
|
+
function Ol() {
|
|
38
|
+
if (fn) return na;
|
|
39
|
+
fn = 1;
|
|
40
40
|
var g = wr, i = Symbol.for("react.element"), m = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, B = g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, L = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
41
41
|
function G(s, w, a) {
|
|
42
42
|
var o, u = {}, c = null, p = null;
|
|
@@ -57,9 +57,9 @@ var ia = {};
|
|
|
57
57
|
* This source code is licensed under the MIT license found in the
|
|
58
58
|
* LICENSE file in the root directory of this source tree.
|
|
59
59
|
*/
|
|
60
|
-
var
|
|
61
|
-
function
|
|
62
|
-
return
|
|
60
|
+
var mn;
|
|
61
|
+
function jl() {
|
|
62
|
+
return mn || (mn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
63
63
|
var g = wr, i = Symbol.for("react.element"), m = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), B = Symbol.for("react.strict_mode"), L = Symbol.for("react.profiler"), G = Symbol.for("react.provider"), s = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), c = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), f = Symbol.iterator, j = "@@iterator";
|
|
64
64
|
function v(b) {
|
|
65
65
|
if (b === null || typeof b != "object")
|
|
@@ -413,7 +413,7 @@ function Ol() {
|
|
|
413
413
|
function ht(b, U) {
|
|
414
414
|
typeof b.ref == "string" && Ge.current;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function _t(b, U) {
|
|
417
417
|
{
|
|
418
418
|
var K = function() {
|
|
419
419
|
ge || (ge = !0, O("%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));
|
|
@@ -464,7 +464,7 @@ function Ol() {
|
|
|
464
464
|
value: xe
|
|
465
465
|
}), Object.freeze && (Object.freeze(Se.props), Object.freeze(Se)), Se;
|
|
466
466
|
};
|
|
467
|
-
function
|
|
467
|
+
function bt(b, U, K, se, xe) {
|
|
468
468
|
{
|
|
469
469
|
var Ye, De = {}, Se = null, qe = null;
|
|
470
470
|
K !== void 0 && (Ie(K), Se = "" + K), tt(U) && (Ie(U.key), Se = "" + U.key), Ze(U) && (qe = U.ref, ht(U, xe));
|
|
@@ -477,12 +477,12 @@ function Ol() {
|
|
|
477
477
|
}
|
|
478
478
|
if (Se || qe) {
|
|
479
479
|
var Be = typeof b == "function" ? b.displayName || b.name || "Unknown" : b;
|
|
480
|
-
Se &&
|
|
480
|
+
Se && _t(De, Be), qe && pt(De, Be);
|
|
481
481
|
}
|
|
482
482
|
return lt(b, Se, qe, xe, se, Ge.current, De);
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
var
|
|
485
|
+
var wt = D.ReactCurrentOwner, Ue = D.ReactDebugCurrentFrame;
|
|
486
486
|
function gt(b) {
|
|
487
487
|
if (b) {
|
|
488
488
|
var U = b._owner, K = k(b.type, b._source, U ? U.type : null);
|
|
@@ -497,8 +497,8 @@ function Ol() {
|
|
|
497
497
|
}
|
|
498
498
|
function ot() {
|
|
499
499
|
{
|
|
500
|
-
if (
|
|
501
|
-
var b = I(
|
|
500
|
+
if (wt.current) {
|
|
501
|
+
var b = I(wt.current.type);
|
|
502
502
|
if (b)
|
|
503
503
|
return `
|
|
504
504
|
|
|
@@ -533,7 +533,7 @@ Check the top-level render call using <` + K + ">.");
|
|
|
533
533
|
return;
|
|
534
534
|
ae[K] = !0;
|
|
535
535
|
var se = "";
|
|
536
|
-
b && b._owner && b._owner !==
|
|
536
|
+
b && b._owner && b._owner !== wt.current && (se = " It was passed a child from " + I(b._owner.type) + "."), gt(b), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, se), gt(null);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
function ct(b, U) {
|
|
@@ -604,7 +604,7 @@ Check the top-level render call using <` + K + ">.");
|
|
|
604
604
|
var We;
|
|
605
605
|
b === null ? We = "null" : me(b) ? We = "array" : b !== void 0 && b.$$typeof === i ? (We = "<" + (I(b.type) || "Unknown") + " />", Se = " Did you accidentally export a JSX literal instead of a component?") : We = typeof b, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", We, Se);
|
|
606
606
|
}
|
|
607
|
-
var Be =
|
|
607
|
+
var Be = bt(b, U, K, xe, Ye);
|
|
608
608
|
if (Be == null)
|
|
609
609
|
return Be;
|
|
610
610
|
if (De) {
|
|
@@ -647,12 +647,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
647
647
|
ia.Fragment = d, ia.jsx = Ht, ia.jsxs = Xe;
|
|
648
648
|
})()), ia;
|
|
649
649
|
}
|
|
650
|
-
var
|
|
651
|
-
function
|
|
652
|
-
return
|
|
650
|
+
var pn;
|
|
651
|
+
function Tl() {
|
|
652
|
+
return pn || (pn = 1, process.env.NODE_ENV === "production" ? ba.exports = Ol() : ba.exports = jl()), ba.exports;
|
|
653
653
|
}
|
|
654
|
-
var h =
|
|
655
|
-
const
|
|
654
|
+
var h = Tl();
|
|
655
|
+
const Cl = (g) => {
|
|
656
656
|
const i = vt();
|
|
657
657
|
return /* @__PURE__ */ h.jsx(
|
|
658
658
|
"div",
|
|
@@ -662,12 +662,12 @@ const Tl = (g) => {
|
|
|
662
662
|
children: /* @__PURE__ */ h.jsx("div", { className: "col-12 text-center pagebreak-component", children: "Page break" })
|
|
663
663
|
}
|
|
664
664
|
);
|
|
665
|
-
}, Oa = class Oa extends
|
|
665
|
+
}, Oa = class Oa extends Et {
|
|
666
666
|
constructor(i, m, d) {
|
|
667
667
|
super(i, m, d);
|
|
668
668
|
}
|
|
669
669
|
static schema() {
|
|
670
|
-
return
|
|
670
|
+
return Et.schema({
|
|
671
671
|
type: "pagebreak"
|
|
672
672
|
});
|
|
673
673
|
}
|
|
@@ -716,11 +716,11 @@ const Tl = (g) => {
|
|
|
716
716
|
*/
|
|
717
717
|
attachReact(i, m) {
|
|
718
718
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
719
|
-
/* @__PURE__ */ h.jsx(
|
|
719
|
+
/* @__PURE__ */ h.jsx(Cl, { ref: m, ...this, current: this })
|
|
720
720
|
);
|
|
721
721
|
}
|
|
722
722
|
};
|
|
723
|
-
|
|
723
|
+
Nt(Oa, "builderInfo", {
|
|
724
724
|
title: "PageBreak",
|
|
725
725
|
group: "basic",
|
|
726
726
|
icon: "bi bi-file-break",
|
|
@@ -743,7 +743,7 @@ const Fe = () => {
|
|
|
743
743
|
m = g.origin + "/" + d[1];
|
|
744
744
|
}
|
|
745
745
|
return m;
|
|
746
|
-
},
|
|
746
|
+
}, Nl = [
|
|
747
747
|
{
|
|
748
748
|
key: "labelPosition",
|
|
749
749
|
ignore: !0
|
|
@@ -903,18 +903,18 @@ if(data.calendarId && data.api_url){
|
|
|
903
903
|
weight: 1
|
|
904
904
|
}
|
|
905
905
|
];
|
|
906
|
-
function
|
|
906
|
+
function Pl(...g) {
|
|
907
907
|
return Xt.baseEditForm(
|
|
908
908
|
[
|
|
909
909
|
{
|
|
910
910
|
key: "display",
|
|
911
|
-
components:
|
|
911
|
+
components: Nl
|
|
912
912
|
}
|
|
913
913
|
],
|
|
914
914
|
...g
|
|
915
915
|
);
|
|
916
916
|
}
|
|
917
|
-
function
|
|
917
|
+
function Ot(g) {
|
|
918
918
|
return (i = {}) => {
|
|
919
919
|
const m = i.width ? String(i.width) : g.defaultWidth;
|
|
920
920
|
return g.formats[m] || g.formats[g.defaultWidth];
|
|
@@ -940,9 +940,9 @@ function it(g) {
|
|
|
940
940
|
const d = m.width, B = d && g.matchPatterns[d] || g.matchPatterns[g.defaultMatchWidth], L = i.match(B);
|
|
941
941
|
if (!L)
|
|
942
942
|
return null;
|
|
943
|
-
const G = L[0], s = d && g.parsePatterns[d] || g.parsePatterns[g.defaultParseWidth], w = Array.isArray(s) ?
|
|
943
|
+
const G = L[0], s = d && g.parsePatterns[d] || g.parsePatterns[g.defaultParseWidth], w = Array.isArray(s) ? El(s, (u) => u.test(G)) : (
|
|
944
944
|
// [TODO] -- I challenge you to fix the type
|
|
945
|
-
|
|
945
|
+
Al(s, (u) => u.test(G))
|
|
946
946
|
);
|
|
947
947
|
let a;
|
|
948
948
|
a = g.valueCallback ? g.valueCallback(w) : w, a = m.valueCallback ? (
|
|
@@ -953,17 +953,17 @@ function it(g) {
|
|
|
953
953
|
return { value: a, rest: o };
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Al(g, i) {
|
|
957
957
|
for (const m in g)
|
|
958
958
|
if (Object.prototype.hasOwnProperty.call(g, m) && i(g[m]))
|
|
959
959
|
return m;
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function El(g, i) {
|
|
962
962
|
for (let m = 0; m < g.length; m++)
|
|
963
963
|
if (i(g[m]))
|
|
964
964
|
return m;
|
|
965
965
|
}
|
|
966
|
-
function
|
|
966
|
+
function Mr(g) {
|
|
967
967
|
return (i, m = {}) => {
|
|
968
968
|
const d = i.match(g.matchPattern);
|
|
969
969
|
if (!d) return null;
|
|
@@ -975,38 +975,38 @@ function xr(g) {
|
|
|
975
975
|
return { value: G, rest: s };
|
|
976
976
|
};
|
|
977
977
|
}
|
|
978
|
-
const
|
|
979
|
-
function
|
|
980
|
-
return typeof g == "function" ? g(i) : g && typeof g == "object" &&
|
|
978
|
+
const gn = Symbol.for("constructDateFrom");
|
|
979
|
+
function In(g, i) {
|
|
980
|
+
return typeof g == "function" ? g(i) : g && typeof g == "object" && gn in g ? g[gn](i) : g instanceof Date ? new g.constructor(i) : new Date(i);
|
|
981
981
|
}
|
|
982
|
-
function
|
|
983
|
-
const m =
|
|
982
|
+
function Rl(g, ...i) {
|
|
983
|
+
const m = In.bind(
|
|
984
984
|
null,
|
|
985
985
|
g || i.find((d) => typeof d == "object")
|
|
986
986
|
);
|
|
987
987
|
return i.map(m);
|
|
988
988
|
}
|
|
989
|
-
let
|
|
990
|
-
function
|
|
991
|
-
return
|
|
989
|
+
let Il = {};
|
|
990
|
+
function Fl() {
|
|
991
|
+
return Il;
|
|
992
992
|
}
|
|
993
|
-
function
|
|
994
|
-
return
|
|
993
|
+
function zl(g, i) {
|
|
994
|
+
return In(i || g, g);
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function yn(g, i) {
|
|
997
997
|
var s, w, a, o;
|
|
998
|
-
const m =
|
|
998
|
+
const m = Fl(), d = (i == null ? void 0 : i.weekStartsOn) ?? ((w = (s = i == null ? void 0 : i.locale) == null ? void 0 : s.options) == null ? void 0 : w.weekStartsOn) ?? m.weekStartsOn ?? ((o = (a = m.locale) == null ? void 0 : a.options) == null ? void 0 : o.weekStartsOn) ?? 0, B = zl(g, i == null ? void 0 : i.in), L = B.getDay(), G = (L < d ? 7 : 0) + L - d;
|
|
999
999
|
return B.setDate(B.getDate() - G), B.setHours(0, 0, 0, 0), B;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1002
|
-
const [d, B] =
|
|
1001
|
+
function vn(g, i, m) {
|
|
1002
|
+
const [d, B] = Rl(
|
|
1003
1003
|
m == null ? void 0 : m.in,
|
|
1004
1004
|
g,
|
|
1005
1005
|
i
|
|
1006
1006
|
);
|
|
1007
|
-
return +
|
|
1007
|
+
return +yn(d, m) == +yn(B, m);
|
|
1008
1008
|
}
|
|
1009
|
-
const
|
|
1009
|
+
const _n = {
|
|
1010
1010
|
lessThanXSeconds: {
|
|
1011
1011
|
standalone: {
|
|
1012
1012
|
one: "weniger als 1 Sekunde",
|
|
@@ -1161,11 +1161,11 @@ const vn = {
|
|
|
1161
1161
|
other: "fast {{count}} Jahren"
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
},
|
|
1164
|
+
}, Ll = (g, i, m) => {
|
|
1165
1165
|
let d;
|
|
1166
|
-
const B = m != null && m.addSuffix ?
|
|
1166
|
+
const B = m != null && m.addSuffix ? _n[g].withPreposition : _n[g].standalone;
|
|
1167
1167
|
return typeof B == "string" ? d = B : i === 1 ? d = B.one : d = B.other.replace("{{count}}", String(i)), m != null && m.addSuffix ? m.comparison && m.comparison > 0 ? "in " + d : "vor " + d : d;
|
|
1168
|
-
},
|
|
1168
|
+
}, Wl = {
|
|
1169
1169
|
full: "EEEE, do MMMM y",
|
|
1170
1170
|
// Montag, 7. Januar 2018
|
|
1171
1171
|
long: "do MMMM y",
|
|
@@ -1174,41 +1174,41 @@ const vn = {
|
|
|
1174
1174
|
// 7. Jan. 2018
|
|
1175
1175
|
short: "dd.MM.y"
|
|
1176
1176
|
// 07.01.2018
|
|
1177
|
-
},
|
|
1177
|
+
}, Vl = {
|
|
1178
1178
|
full: "HH:mm:ss zzzz",
|
|
1179
1179
|
long: "HH:mm:ss z",
|
|
1180
1180
|
medium: "HH:mm:ss",
|
|
1181
1181
|
short: "HH:mm"
|
|
1182
|
-
},
|
|
1182
|
+
}, Hl = {
|
|
1183
1183
|
full: "{{date}} 'um' {{time}}",
|
|
1184
1184
|
long: "{{date}} 'um' {{time}}",
|
|
1185
1185
|
medium: "{{date}} {{time}}",
|
|
1186
1186
|
short: "{{date}} {{time}}"
|
|
1187
|
-
},
|
|
1188
|
-
date:
|
|
1189
|
-
formats: Ll,
|
|
1190
|
-
defaultWidth: "full"
|
|
1191
|
-
}),
|
|
1192
|
-
time: jt({
|
|
1187
|
+
}, $l = {
|
|
1188
|
+
date: Ot({
|
|
1193
1189
|
formats: Wl,
|
|
1194
1190
|
defaultWidth: "full"
|
|
1195
1191
|
}),
|
|
1196
|
-
|
|
1192
|
+
time: Ot({
|
|
1197
1193
|
formats: Vl,
|
|
1198
1194
|
defaultWidth: "full"
|
|
1195
|
+
}),
|
|
1196
|
+
dateTime: Ot({
|
|
1197
|
+
formats: Hl,
|
|
1198
|
+
defaultWidth: "full"
|
|
1199
1199
|
})
|
|
1200
|
-
},
|
|
1200
|
+
}, Bl = {
|
|
1201
1201
|
lastWeek: "'letzten' eeee 'um' p",
|
|
1202
1202
|
yesterday: "'gestern um' p",
|
|
1203
1203
|
today: "'heute um' p",
|
|
1204
1204
|
tomorrow: "'morgen um' p",
|
|
1205
1205
|
nextWeek: "eeee 'um' p",
|
|
1206
1206
|
other: "P"
|
|
1207
|
-
},
|
|
1207
|
+
}, Ul = (g, i, m, d) => Bl[g], ql = {
|
|
1208
1208
|
narrow: ["v.Chr.", "n.Chr."],
|
|
1209
1209
|
abbreviated: ["v.Chr.", "n.Chr."],
|
|
1210
1210
|
wide: ["vor Christus", "nach Christus"]
|
|
1211
|
-
},
|
|
1211
|
+
}, Jl = {
|
|
1212
1212
|
narrow: ["1", "2", "3", "4"],
|
|
1213
1213
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
1214
1214
|
wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
|
|
@@ -1242,7 +1242,7 @@ const vn = {
|
|
|
1242
1242
|
"November",
|
|
1243
1243
|
"Dezember"
|
|
1244
1244
|
]
|
|
1245
|
-
},
|
|
1245
|
+
}, Gl = {
|
|
1246
1246
|
narrow: dr.narrow,
|
|
1247
1247
|
abbreviated: [
|
|
1248
1248
|
"Jan.",
|
|
@@ -1259,7 +1259,7 @@ const vn = {
|
|
|
1259
1259
|
"Dez."
|
|
1260
1260
|
],
|
|
1261
1261
|
wide: dr.wide
|
|
1262
|
-
},
|
|
1262
|
+
}, Kl = {
|
|
1263
1263
|
narrow: ["S", "M", "D", "M", "D", "F", "S"],
|
|
1264
1264
|
short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
|
1265
1265
|
abbreviated: ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."],
|
|
@@ -1272,7 +1272,7 @@ const vn = {
|
|
|
1272
1272
|
"Freitag",
|
|
1273
1273
|
"Samstag"
|
|
1274
1274
|
]
|
|
1275
|
-
},
|
|
1275
|
+
}, Xl = {
|
|
1276
1276
|
narrow: {
|
|
1277
1277
|
am: "vm.",
|
|
1278
1278
|
pm: "nm.",
|
|
@@ -1303,7 +1303,7 @@ const vn = {
|
|
|
1303
1303
|
evening: "Abend",
|
|
1304
1304
|
night: "Nacht"
|
|
1305
1305
|
}
|
|
1306
|
-
},
|
|
1306
|
+
}, Ql = {
|
|
1307
1307
|
narrow: {
|
|
1308
1308
|
am: "vm.",
|
|
1309
1309
|
pm: "nm.",
|
|
@@ -1334,49 +1334,49 @@ const vn = {
|
|
|
1334
1334
|
evening: "abends",
|
|
1335
1335
|
night: "nachts"
|
|
1336
1336
|
}
|
|
1337
|
-
},
|
|
1338
|
-
ordinalNumber:
|
|
1337
|
+
}, Zl = (g) => Number(g) + ".", eu = {
|
|
1338
|
+
ordinalNumber: Zl,
|
|
1339
1339
|
era: nt({
|
|
1340
|
-
values:
|
|
1340
|
+
values: ql,
|
|
1341
1341
|
defaultWidth: "wide"
|
|
1342
1342
|
}),
|
|
1343
1343
|
quarter: nt({
|
|
1344
|
-
values:
|
|
1344
|
+
values: Jl,
|
|
1345
1345
|
defaultWidth: "wide",
|
|
1346
1346
|
argumentCallback: (g) => g - 1
|
|
1347
1347
|
}),
|
|
1348
1348
|
month: nt({
|
|
1349
1349
|
values: dr,
|
|
1350
|
-
formattingValues:
|
|
1350
|
+
formattingValues: Gl,
|
|
1351
1351
|
defaultWidth: "wide"
|
|
1352
1352
|
}),
|
|
1353
1353
|
day: nt({
|
|
1354
|
-
values:
|
|
1354
|
+
values: Kl,
|
|
1355
1355
|
defaultWidth: "wide"
|
|
1356
1356
|
}),
|
|
1357
1357
|
dayPeriod: nt({
|
|
1358
|
-
values:
|
|
1358
|
+
values: Xl,
|
|
1359
1359
|
defaultWidth: "wide",
|
|
1360
|
-
formattingValues:
|
|
1360
|
+
formattingValues: Ql,
|
|
1361
1361
|
defaultFormattingWidth: "wide"
|
|
1362
1362
|
})
|
|
1363
|
-
},
|
|
1363
|
+
}, tu = /^(\d+)(\.)?/i, au = /\d+/i, ru = {
|
|
1364
1364
|
narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
1365
1365
|
abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
|
|
1366
1366
|
wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
|
|
1367
|
-
}, ru = {
|
|
1368
|
-
any: [/^v/i, /^n/i]
|
|
1369
1367
|
}, nu = {
|
|
1368
|
+
any: [/^v/i, /^n/i]
|
|
1369
|
+
}, iu = {
|
|
1370
1370
|
narrow: /^[1234]/i,
|
|
1371
1371
|
abbreviated: /^q[1234]/i,
|
|
1372
1372
|
wide: /^[1234](\.)? Quartal/i
|
|
1373
|
-
}, iu = {
|
|
1374
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1375
1373
|
}, ou = {
|
|
1374
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1375
|
+
}, su = {
|
|
1376
1376
|
narrow: /^[jfmasond]/i,
|
|
1377
1377
|
abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
|
|
1378
1378
|
wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
|
|
1379
|
-
},
|
|
1379
|
+
}, lu = {
|
|
1380
1380
|
narrow: [
|
|
1381
1381
|
/^j/i,
|
|
1382
1382
|
/^f/i,
|
|
@@ -1405,18 +1405,18 @@ const vn = {
|
|
|
1405
1405
|
/^n/i,
|
|
1406
1406
|
/^d/i
|
|
1407
1407
|
]
|
|
1408
|
-
},
|
|
1408
|
+
}, uu = {
|
|
1409
1409
|
narrow: /^[smdmf]/i,
|
|
1410
1410
|
short: /^(so|mo|di|mi|do|fr|sa)/i,
|
|
1411
1411
|
abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
|
|
1412
1412
|
wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
|
|
1413
|
-
}, uu = {
|
|
1414
|
-
any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
|
|
1415
1413
|
}, cu = {
|
|
1414
|
+
any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
|
|
1415
|
+
}, du = {
|
|
1416
1416
|
narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
1417
1417
|
abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
|
|
1418
1418
|
wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
|
|
1419
|
-
},
|
|
1419
|
+
}, hu = {
|
|
1420
1420
|
any: {
|
|
1421
1421
|
am: /^v/i,
|
|
1422
1422
|
pm: /^n/i,
|
|
@@ -1429,55 +1429,55 @@ const vn = {
|
|
|
1429
1429
|
night: /nachts/i
|
|
1430
1430
|
// will never be matched. Night is matched by `pm`
|
|
1431
1431
|
}
|
|
1432
|
-
},
|
|
1433
|
-
ordinalNumber:
|
|
1434
|
-
matchPattern:
|
|
1435
|
-
parsePattern:
|
|
1432
|
+
}, fu = {
|
|
1433
|
+
ordinalNumber: Mr({
|
|
1434
|
+
matchPattern: tu,
|
|
1435
|
+
parsePattern: au,
|
|
1436
1436
|
valueCallback: (g) => parseInt(g)
|
|
1437
1437
|
}),
|
|
1438
1438
|
era: it({
|
|
1439
|
-
matchPatterns:
|
|
1439
|
+
matchPatterns: ru,
|
|
1440
1440
|
defaultMatchWidth: "wide",
|
|
1441
|
-
parsePatterns:
|
|
1441
|
+
parsePatterns: nu,
|
|
1442
1442
|
defaultParseWidth: "any"
|
|
1443
1443
|
}),
|
|
1444
1444
|
quarter: it({
|
|
1445
|
-
matchPatterns:
|
|
1445
|
+
matchPatterns: iu,
|
|
1446
1446
|
defaultMatchWidth: "wide",
|
|
1447
|
-
parsePatterns:
|
|
1447
|
+
parsePatterns: ou,
|
|
1448
1448
|
defaultParseWidth: "any",
|
|
1449
1449
|
valueCallback: (g) => g + 1
|
|
1450
1450
|
}),
|
|
1451
1451
|
month: it({
|
|
1452
|
-
matchPatterns:
|
|
1452
|
+
matchPatterns: su,
|
|
1453
1453
|
defaultMatchWidth: "wide",
|
|
1454
|
-
parsePatterns:
|
|
1454
|
+
parsePatterns: lu,
|
|
1455
1455
|
defaultParseWidth: "any"
|
|
1456
1456
|
}),
|
|
1457
1457
|
day: it({
|
|
1458
|
-
matchPatterns:
|
|
1458
|
+
matchPatterns: uu,
|
|
1459
1459
|
defaultMatchWidth: "wide",
|
|
1460
|
-
parsePatterns:
|
|
1460
|
+
parsePatterns: cu,
|
|
1461
1461
|
defaultParseWidth: "any"
|
|
1462
1462
|
}),
|
|
1463
1463
|
dayPeriod: it({
|
|
1464
|
-
matchPatterns:
|
|
1464
|
+
matchPatterns: du,
|
|
1465
1465
|
defaultMatchWidth: "wide",
|
|
1466
|
-
parsePatterns:
|
|
1466
|
+
parsePatterns: hu,
|
|
1467
1467
|
defaultParseWidth: "any"
|
|
1468
1468
|
})
|
|
1469
|
-
},
|
|
1469
|
+
}, Fn = {
|
|
1470
1470
|
code: "de",
|
|
1471
|
-
formatDistance:
|
|
1472
|
-
formatLong:
|
|
1473
|
-
formatRelative:
|
|
1474
|
-
localize:
|
|
1475
|
-
match:
|
|
1471
|
+
formatDistance: Ll,
|
|
1472
|
+
formatLong: $l,
|
|
1473
|
+
formatRelative: Ul,
|
|
1474
|
+
localize: eu,
|
|
1475
|
+
match: fu,
|
|
1476
1476
|
options: {
|
|
1477
1477
|
weekStartsOn: 1,
|
|
1478
1478
|
firstWeekContainsDate: 4
|
|
1479
1479
|
}
|
|
1480
|
-
},
|
|
1480
|
+
}, mu = {
|
|
1481
1481
|
lessThanXSeconds: {
|
|
1482
1482
|
one: "less than a second",
|
|
1483
1483
|
other: "less than {{count}} seconds"
|
|
@@ -1539,26 +1539,26 @@ const vn = {
|
|
|
1539
1539
|
one: "almost 1 year",
|
|
1540
1540
|
other: "almost {{count}} years"
|
|
1541
1541
|
}
|
|
1542
|
-
},
|
|
1542
|
+
}, pu = (g, i, m) => {
|
|
1543
1543
|
let d;
|
|
1544
|
-
const B =
|
|
1544
|
+
const B = mu[g];
|
|
1545
1545
|
return typeof B == "string" ? d = B : i === 1 ? d = B.one : d = B.other.replace("{{count}}", i.toString()), m != null && m.addSuffix ? m.comparison && m.comparison > 0 ? "in " + d : d + " ago" : d;
|
|
1546
|
-
},
|
|
1546
|
+
}, gu = {
|
|
1547
1547
|
lastWeek: "'last' eeee 'at' p",
|
|
1548
1548
|
yesterday: "'yesterday at' p",
|
|
1549
1549
|
today: "'today at' p",
|
|
1550
1550
|
tomorrow: "'tomorrow at' p",
|
|
1551
1551
|
nextWeek: "eeee 'at' p",
|
|
1552
1552
|
other: "P"
|
|
1553
|
-
},
|
|
1553
|
+
}, yu = (g, i, m, d) => gu[g], vu = {
|
|
1554
1554
|
narrow: ["B", "A"],
|
|
1555
1555
|
abbreviated: ["BC", "AD"],
|
|
1556
1556
|
wide: ["Before Christ", "Anno Domini"]
|
|
1557
|
-
},
|
|
1557
|
+
}, _u = {
|
|
1558
1558
|
narrow: ["1", "2", "3", "4"],
|
|
1559
1559
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
1560
1560
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
1561
|
-
},
|
|
1561
|
+
}, bu = {
|
|
1562
1562
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
1563
1563
|
abbreviated: [
|
|
1564
1564
|
"Jan",
|
|
@@ -1588,7 +1588,7 @@ const vn = {
|
|
|
1588
1588
|
"November",
|
|
1589
1589
|
"December"
|
|
1590
1590
|
]
|
|
1591
|
-
},
|
|
1591
|
+
}, wu = {
|
|
1592
1592
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
1593
1593
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
1594
1594
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -1601,7 +1601,7 @@ const vn = {
|
|
|
1601
1601
|
"Friday",
|
|
1602
1602
|
"Saturday"
|
|
1603
1603
|
]
|
|
1604
|
-
},
|
|
1604
|
+
}, xu = {
|
|
1605
1605
|
narrow: {
|
|
1606
1606
|
am: "a",
|
|
1607
1607
|
pm: "p",
|
|
@@ -1632,7 +1632,7 @@ const vn = {
|
|
|
1632
1632
|
evening: "evening",
|
|
1633
1633
|
night: "night"
|
|
1634
1634
|
}
|
|
1635
|
-
},
|
|
1635
|
+
}, Mu = {
|
|
1636
1636
|
narrow: {
|
|
1637
1637
|
am: "a",
|
|
1638
1638
|
pm: "p",
|
|
@@ -1663,7 +1663,7 @@ const vn = {
|
|
|
1663
1663
|
evening: "in the evening",
|
|
1664
1664
|
night: "at night"
|
|
1665
1665
|
}
|
|
1666
|
-
},
|
|
1666
|
+
}, Su = (g, i) => {
|
|
1667
1667
|
const m = Number(g), d = m % 100;
|
|
1668
1668
|
if (d > 20 || d < 10)
|
|
1669
1669
|
switch (d % 10) {
|
|
@@ -1675,48 +1675,48 @@ const vn = {
|
|
|
1675
1675
|
return m + "rd";
|
|
1676
1676
|
}
|
|
1677
1677
|
return m + "th";
|
|
1678
|
-
},
|
|
1679
|
-
ordinalNumber:
|
|
1678
|
+
}, Du = {
|
|
1679
|
+
ordinalNumber: Su,
|
|
1680
1680
|
era: nt({
|
|
1681
|
-
values:
|
|
1681
|
+
values: vu,
|
|
1682
1682
|
defaultWidth: "wide"
|
|
1683
1683
|
}),
|
|
1684
1684
|
quarter: nt({
|
|
1685
|
-
values:
|
|
1685
|
+
values: _u,
|
|
1686
1686
|
defaultWidth: "wide",
|
|
1687
1687
|
argumentCallback: (g) => g - 1
|
|
1688
1688
|
}),
|
|
1689
1689
|
month: nt({
|
|
1690
|
-
values:
|
|
1690
|
+
values: bu,
|
|
1691
1691
|
defaultWidth: "wide"
|
|
1692
1692
|
}),
|
|
1693
1693
|
day: nt({
|
|
1694
|
-
values:
|
|
1694
|
+
values: wu,
|
|
1695
1695
|
defaultWidth: "wide"
|
|
1696
1696
|
}),
|
|
1697
1697
|
dayPeriod: nt({
|
|
1698
|
-
values:
|
|
1698
|
+
values: xu,
|
|
1699
1699
|
defaultWidth: "wide",
|
|
1700
|
-
formattingValues:
|
|
1700
|
+
formattingValues: Mu,
|
|
1701
1701
|
defaultFormattingWidth: "wide"
|
|
1702
1702
|
})
|
|
1703
|
-
},
|
|
1703
|
+
}, ku = /^(\d+)(th|st|nd|rd)?/i, Yu = /\d+/i, Ou = {
|
|
1704
1704
|
narrow: /^(b|a)/i,
|
|
1705
1705
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1706
1706
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
1707
|
-
}, Ou = {
|
|
1708
|
-
any: [/^b/i, /^(a|c)/i]
|
|
1709
1707
|
}, ju = {
|
|
1708
|
+
any: [/^b/i, /^(a|c)/i]
|
|
1709
|
+
}, Tu = {
|
|
1710
1710
|
narrow: /^[1234]/i,
|
|
1711
1711
|
abbreviated: /^q[1234]/i,
|
|
1712
1712
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
1713
|
-
}, Tu = {
|
|
1714
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1715
1713
|
}, Cu = {
|
|
1714
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1715
|
+
}, Nu = {
|
|
1716
1716
|
narrow: /^[jfmasond]/i,
|
|
1717
1717
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
1718
1718
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
1719
|
-
},
|
|
1719
|
+
}, Pu = {
|
|
1720
1720
|
narrow: [
|
|
1721
1721
|
/^j/i,
|
|
1722
1722
|
/^f/i,
|
|
@@ -1745,18 +1745,18 @@ const vn = {
|
|
|
1745
1745
|
/^n/i,
|
|
1746
1746
|
/^d/i
|
|
1747
1747
|
]
|
|
1748
|
-
},
|
|
1748
|
+
}, Au = {
|
|
1749
1749
|
narrow: /^[smtwf]/i,
|
|
1750
1750
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
1751
1751
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
1752
1752
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
1753
|
-
},
|
|
1753
|
+
}, Eu = {
|
|
1754
1754
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
1755
1755
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
1756
|
-
},
|
|
1756
|
+
}, Ru = {
|
|
1757
1757
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
1758
1758
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
1759
|
-
},
|
|
1759
|
+
}, Iu = {
|
|
1760
1760
|
any: {
|
|
1761
1761
|
am: /^a/i,
|
|
1762
1762
|
pm: /^p/i,
|
|
@@ -1767,83 +1767,83 @@ const vn = {
|
|
|
1767
1767
|
evening: /evening/i,
|
|
1768
1768
|
night: /night/i
|
|
1769
1769
|
}
|
|
1770
|
-
},
|
|
1771
|
-
ordinalNumber:
|
|
1772
|
-
matchPattern:
|
|
1773
|
-
parsePattern:
|
|
1770
|
+
}, Fu = {
|
|
1771
|
+
ordinalNumber: Mr({
|
|
1772
|
+
matchPattern: ku,
|
|
1773
|
+
parsePattern: Yu,
|
|
1774
1774
|
valueCallback: (g) => parseInt(g, 10)
|
|
1775
1775
|
}),
|
|
1776
1776
|
era: it({
|
|
1777
|
-
matchPatterns:
|
|
1777
|
+
matchPatterns: Ou,
|
|
1778
1778
|
defaultMatchWidth: "wide",
|
|
1779
|
-
parsePatterns:
|
|
1779
|
+
parsePatterns: ju,
|
|
1780
1780
|
defaultParseWidth: "any"
|
|
1781
1781
|
}),
|
|
1782
1782
|
quarter: it({
|
|
1783
|
-
matchPatterns:
|
|
1783
|
+
matchPatterns: Tu,
|
|
1784
1784
|
defaultMatchWidth: "wide",
|
|
1785
|
-
parsePatterns:
|
|
1785
|
+
parsePatterns: Cu,
|
|
1786
1786
|
defaultParseWidth: "any",
|
|
1787
1787
|
valueCallback: (g) => g + 1
|
|
1788
1788
|
}),
|
|
1789
1789
|
month: it({
|
|
1790
|
-
matchPatterns:
|
|
1790
|
+
matchPatterns: Nu,
|
|
1791
1791
|
defaultMatchWidth: "wide",
|
|
1792
|
-
parsePatterns:
|
|
1792
|
+
parsePatterns: Pu,
|
|
1793
1793
|
defaultParseWidth: "any"
|
|
1794
1794
|
}),
|
|
1795
1795
|
day: it({
|
|
1796
|
-
matchPatterns:
|
|
1796
|
+
matchPatterns: Au,
|
|
1797
1797
|
defaultMatchWidth: "wide",
|
|
1798
|
-
parsePatterns:
|
|
1798
|
+
parsePatterns: Eu,
|
|
1799
1799
|
defaultParseWidth: "any"
|
|
1800
1800
|
}),
|
|
1801
1801
|
dayPeriod: it({
|
|
1802
|
-
matchPatterns:
|
|
1802
|
+
matchPatterns: Ru,
|
|
1803
1803
|
defaultMatchWidth: "any",
|
|
1804
|
-
parsePatterns:
|
|
1804
|
+
parsePatterns: Iu,
|
|
1805
1805
|
defaultParseWidth: "any"
|
|
1806
1806
|
})
|
|
1807
|
-
},
|
|
1807
|
+
}, zu = {
|
|
1808
1808
|
full: "EEEE, d MMMM yyyy",
|
|
1809
1809
|
long: "d MMMM yyyy",
|
|
1810
1810
|
medium: "d MMM yyyy",
|
|
1811
1811
|
short: "dd/MM/yyyy"
|
|
1812
|
-
},
|
|
1812
|
+
}, Lu = {
|
|
1813
1813
|
full: "HH:mm:ss zzzz",
|
|
1814
1814
|
long: "HH:mm:ss z",
|
|
1815
1815
|
medium: "HH:mm:ss",
|
|
1816
1816
|
short: "HH:mm"
|
|
1817
|
-
},
|
|
1817
|
+
}, Wu = {
|
|
1818
1818
|
full: "{{date}} 'at' {{time}}",
|
|
1819
1819
|
long: "{{date}} 'at' {{time}}",
|
|
1820
1820
|
medium: "{{date}}, {{time}}",
|
|
1821
1821
|
short: "{{date}}, {{time}}"
|
|
1822
|
-
},
|
|
1823
|
-
date:
|
|
1824
|
-
formats: Fu,
|
|
1825
|
-
defaultWidth: "full"
|
|
1826
|
-
}),
|
|
1827
|
-
time: jt({
|
|
1822
|
+
}, Vu = {
|
|
1823
|
+
date: Ot({
|
|
1828
1824
|
formats: zu,
|
|
1829
1825
|
defaultWidth: "full"
|
|
1830
1826
|
}),
|
|
1831
|
-
|
|
1827
|
+
time: Ot({
|
|
1832
1828
|
formats: Lu,
|
|
1833
1829
|
defaultWidth: "full"
|
|
1830
|
+
}),
|
|
1831
|
+
dateTime: Ot({
|
|
1832
|
+
formats: Wu,
|
|
1833
|
+
defaultWidth: "full"
|
|
1834
1834
|
})
|
|
1835
|
-
},
|
|
1835
|
+
}, zn = {
|
|
1836
1836
|
code: "en-GB",
|
|
1837
|
-
formatDistance:
|
|
1838
|
-
formatLong:
|
|
1839
|
-
formatRelative:
|
|
1840
|
-
localize:
|
|
1841
|
-
match:
|
|
1837
|
+
formatDistance: pu,
|
|
1838
|
+
formatLong: Vu,
|
|
1839
|
+
formatRelative: yu,
|
|
1840
|
+
localize: Du,
|
|
1841
|
+
match: Fu,
|
|
1842
1842
|
options: {
|
|
1843
1843
|
weekStartsOn: 1,
|
|
1844
1844
|
firstWeekContainsDate: 4
|
|
1845
1845
|
}
|
|
1846
|
-
},
|
|
1846
|
+
}, Hu = {
|
|
1847
1847
|
lessThanXSeconds: {
|
|
1848
1848
|
one: "meno di un secondo",
|
|
1849
1849
|
other: "meno di {{count}} secondi"
|
|
@@ -1905,39 +1905,39 @@ const vn = {
|
|
|
1905
1905
|
one: "quasi un anno",
|
|
1906
1906
|
other: "quasi {{count}} anni"
|
|
1907
1907
|
}
|
|
1908
|
-
},
|
|
1908
|
+
}, $u = (g, i, m) => {
|
|
1909
1909
|
let d;
|
|
1910
|
-
const B =
|
|
1910
|
+
const B = Hu[g];
|
|
1911
1911
|
return typeof B == "string" ? d = B : i === 1 ? d = B.one : d = B.other.replace("{{count}}", i.toString()), m != null && m.addSuffix ? m.comparison && m.comparison > 0 ? "tra " + d : d + " fa" : d;
|
|
1912
|
-
},
|
|
1912
|
+
}, Bu = {
|
|
1913
1913
|
full: "EEEE d MMMM y",
|
|
1914
1914
|
long: "d MMMM y",
|
|
1915
1915
|
medium: "d MMM y",
|
|
1916
1916
|
short: "dd/MM/y"
|
|
1917
|
-
},
|
|
1917
|
+
}, Uu = {
|
|
1918
1918
|
full: "HH:mm:ss zzzz",
|
|
1919
1919
|
long: "HH:mm:ss z",
|
|
1920
1920
|
medium: "HH:mm:ss",
|
|
1921
1921
|
short: "HH:mm"
|
|
1922
|
-
},
|
|
1922
|
+
}, qu = {
|
|
1923
1923
|
full: "{{date}} {{time}}",
|
|
1924
1924
|
long: "{{date}} {{time}}",
|
|
1925
1925
|
medium: "{{date}} {{time}}",
|
|
1926
1926
|
short: "{{date}} {{time}}"
|
|
1927
|
-
},
|
|
1928
|
-
date:
|
|
1929
|
-
formats: $u,
|
|
1930
|
-
defaultWidth: "full"
|
|
1931
|
-
}),
|
|
1932
|
-
time: jt({
|
|
1927
|
+
}, Ju = {
|
|
1928
|
+
date: Ot({
|
|
1933
1929
|
formats: Bu,
|
|
1934
1930
|
defaultWidth: "full"
|
|
1935
1931
|
}),
|
|
1936
|
-
|
|
1932
|
+
time: Ot({
|
|
1937
1933
|
formats: Uu,
|
|
1938
1934
|
defaultWidth: "full"
|
|
1935
|
+
}),
|
|
1936
|
+
dateTime: Ot({
|
|
1937
|
+
formats: qu,
|
|
1938
|
+
defaultWidth: "full"
|
|
1939
1939
|
})
|
|
1940
|
-
},
|
|
1940
|
+
}, Sr = [
|
|
1941
1941
|
"domenica",
|
|
1942
1942
|
"lunedì",
|
|
1943
1943
|
"martedì",
|
|
@@ -1946,50 +1946,50 @@ const vn = {
|
|
|
1946
1946
|
"venerdì",
|
|
1947
1947
|
"sabato"
|
|
1948
1948
|
];
|
|
1949
|
-
function
|
|
1949
|
+
function Gu(g) {
|
|
1950
1950
|
switch (g) {
|
|
1951
1951
|
case 0:
|
|
1952
1952
|
return "'domenica scorsa alle' p";
|
|
1953
1953
|
default:
|
|
1954
|
-
return "'" +
|
|
1954
|
+
return "'" + Sr[g] + " scorso alle' p";
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
|
-
function
|
|
1958
|
-
return "'" +
|
|
1957
|
+
function bn(g) {
|
|
1958
|
+
return "'" + Sr[g] + " alle' p";
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1960
|
+
function Ku(g) {
|
|
1961
1961
|
switch (g) {
|
|
1962
1962
|
case 0:
|
|
1963
1963
|
return "'domenica prossima alle' p";
|
|
1964
1964
|
default:
|
|
1965
|
-
return "'" +
|
|
1965
|
+
return "'" + Sr[g] + " prossimo alle' p";
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
|
-
const
|
|
1968
|
+
const Xu = {
|
|
1969
1969
|
lastWeek: (g, i, m) => {
|
|
1970
1970
|
const d = g.getDay();
|
|
1971
|
-
return
|
|
1971
|
+
return vn(g, i, m) ? bn(d) : Gu(d);
|
|
1972
1972
|
},
|
|
1973
1973
|
yesterday: "'ieri alle' p",
|
|
1974
1974
|
today: "'oggi alle' p",
|
|
1975
1975
|
tomorrow: "'domani alle' p",
|
|
1976
1976
|
nextWeek: (g, i, m) => {
|
|
1977
1977
|
const d = g.getDay();
|
|
1978
|
-
return
|
|
1978
|
+
return vn(g, i, m) ? bn(d) : Ku(d);
|
|
1979
1979
|
},
|
|
1980
1980
|
other: "P"
|
|
1981
|
-
},
|
|
1982
|
-
const B =
|
|
1981
|
+
}, Qu = (g, i, m, d) => {
|
|
1982
|
+
const B = Xu[g];
|
|
1983
1983
|
return typeof B == "function" ? B(i, m, d) : B;
|
|
1984
|
-
},
|
|
1984
|
+
}, Zu = {
|
|
1985
1985
|
narrow: ["aC", "dC"],
|
|
1986
1986
|
abbreviated: ["a.C.", "d.C."],
|
|
1987
1987
|
wide: ["avanti Cristo", "dopo Cristo"]
|
|
1988
|
-
},
|
|
1988
|
+
}, ec = {
|
|
1989
1989
|
narrow: ["1", "2", "3", "4"],
|
|
1990
1990
|
abbreviated: ["T1", "T2", "T3", "T4"],
|
|
1991
1991
|
wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
|
|
1992
|
-
},
|
|
1992
|
+
}, tc = {
|
|
1993
1993
|
narrow: ["G", "F", "M", "A", "M", "G", "L", "A", "S", "O", "N", "D"],
|
|
1994
1994
|
abbreviated: [
|
|
1995
1995
|
"gen",
|
|
@@ -2019,7 +2019,7 @@ const Ku = {
|
|
|
2019
2019
|
"novembre",
|
|
2020
2020
|
"dicembre"
|
|
2021
2021
|
]
|
|
2022
|
-
},
|
|
2022
|
+
}, ac = {
|
|
2023
2023
|
narrow: ["D", "L", "M", "M", "G", "V", "S"],
|
|
2024
2024
|
short: ["dom", "lun", "mar", "mer", "gio", "ven", "sab"],
|
|
2025
2025
|
abbreviated: ["dom", "lun", "mar", "mer", "gio", "ven", "sab"],
|
|
@@ -2032,7 +2032,7 @@ const Ku = {
|
|
|
2032
2032
|
"venerdì",
|
|
2033
2033
|
"sabato"
|
|
2034
2034
|
]
|
|
2035
|
-
},
|
|
2035
|
+
}, rc = {
|
|
2036
2036
|
narrow: {
|
|
2037
2037
|
am: "m.",
|
|
2038
2038
|
pm: "p.",
|
|
@@ -2063,7 +2063,7 @@ const Ku = {
|
|
|
2063
2063
|
evening: "sera",
|
|
2064
2064
|
night: "notte"
|
|
2065
2065
|
}
|
|
2066
|
-
},
|
|
2066
|
+
}, nc = {
|
|
2067
2067
|
narrow: {
|
|
2068
2068
|
am: "m.",
|
|
2069
2069
|
pm: "p.",
|
|
@@ -2094,51 +2094,51 @@ const Ku = {
|
|
|
2094
2094
|
evening: "di sera",
|
|
2095
2095
|
night: "di notte"
|
|
2096
2096
|
}
|
|
2097
|
-
},
|
|
2097
|
+
}, ic = (g, i) => {
|
|
2098
2098
|
const m = Number(g);
|
|
2099
2099
|
return String(m);
|
|
2100
|
-
},
|
|
2101
|
-
ordinalNumber:
|
|
2100
|
+
}, oc = {
|
|
2101
|
+
ordinalNumber: ic,
|
|
2102
2102
|
era: nt({
|
|
2103
|
-
values:
|
|
2103
|
+
values: Zu,
|
|
2104
2104
|
defaultWidth: "wide"
|
|
2105
2105
|
}),
|
|
2106
2106
|
quarter: nt({
|
|
2107
|
-
values:
|
|
2107
|
+
values: ec,
|
|
2108
2108
|
defaultWidth: "wide",
|
|
2109
2109
|
argumentCallback: (g) => g - 1
|
|
2110
2110
|
}),
|
|
2111
2111
|
month: nt({
|
|
2112
|
-
values:
|
|
2112
|
+
values: tc,
|
|
2113
2113
|
defaultWidth: "wide"
|
|
2114
2114
|
}),
|
|
2115
2115
|
day: nt({
|
|
2116
|
-
values:
|
|
2116
|
+
values: ac,
|
|
2117
2117
|
defaultWidth: "wide"
|
|
2118
2118
|
}),
|
|
2119
2119
|
dayPeriod: nt({
|
|
2120
|
-
values:
|
|
2120
|
+
values: rc,
|
|
2121
2121
|
defaultWidth: "wide",
|
|
2122
|
-
formattingValues:
|
|
2122
|
+
formattingValues: nc,
|
|
2123
2123
|
defaultFormattingWidth: "wide"
|
|
2124
2124
|
})
|
|
2125
|
-
},
|
|
2125
|
+
}, sc = /^(\d+)(º)?/i, lc = /\d+/i, uc = {
|
|
2126
2126
|
narrow: /^(aC|dC)/i,
|
|
2127
2127
|
abbreviated: /^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,
|
|
2128
2128
|
wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i
|
|
2129
|
-
}, uc = {
|
|
2130
|
-
any: [/^a/i, /^(d|e)/i]
|
|
2131
2129
|
}, cc = {
|
|
2130
|
+
any: [/^a/i, /^(d|e)/i]
|
|
2131
|
+
}, dc = {
|
|
2132
2132
|
narrow: /^[1234]/i,
|
|
2133
2133
|
abbreviated: /^t[1234]/i,
|
|
2134
2134
|
wide: /^[1234](º)? trimestre/i
|
|
2135
|
-
}, dc = {
|
|
2136
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
2137
2135
|
}, hc = {
|
|
2136
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
2137
|
+
}, fc = {
|
|
2138
2138
|
narrow: /^[gfmalsond]/i,
|
|
2139
2139
|
abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,
|
|
2140
2140
|
wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i
|
|
2141
|
-
},
|
|
2141
|
+
}, mc = {
|
|
2142
2142
|
narrow: [
|
|
2143
2143
|
/^g/i,
|
|
2144
2144
|
/^f/i,
|
|
@@ -2167,18 +2167,18 @@ const Ku = {
|
|
|
2167
2167
|
/^n/i,
|
|
2168
2168
|
/^d/i
|
|
2169
2169
|
]
|
|
2170
|
-
},
|
|
2170
|
+
}, pc = {
|
|
2171
2171
|
narrow: /^[dlmgvs]/i,
|
|
2172
2172
|
short: /^(do|lu|ma|me|gi|ve|sa)/i,
|
|
2173
2173
|
abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i,
|
|
2174
2174
|
wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i
|
|
2175
|
-
},
|
|
2175
|
+
}, gc = {
|
|
2176
2176
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i],
|
|
2177
2177
|
any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i]
|
|
2178
|
-
},
|
|
2178
|
+
}, yc = {
|
|
2179
2179
|
narrow: /^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,
|
|
2180
2180
|
any: /^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i
|
|
2181
|
-
},
|
|
2181
|
+
}, vc = {
|
|
2182
2182
|
any: {
|
|
2183
2183
|
am: /^a/i,
|
|
2184
2184
|
pm: /^p/i,
|
|
@@ -2189,50 +2189,50 @@ const Ku = {
|
|
|
2189
2189
|
evening: /sera/i,
|
|
2190
2190
|
night: /notte/i
|
|
2191
2191
|
}
|
|
2192
|
-
},
|
|
2193
|
-
ordinalNumber:
|
|
2194
|
-
matchPattern:
|
|
2195
|
-
parsePattern:
|
|
2192
|
+
}, _c = {
|
|
2193
|
+
ordinalNumber: Mr({
|
|
2194
|
+
matchPattern: sc,
|
|
2195
|
+
parsePattern: lc,
|
|
2196
2196
|
valueCallback: (g) => parseInt(g, 10)
|
|
2197
2197
|
}),
|
|
2198
2198
|
era: it({
|
|
2199
|
-
matchPatterns:
|
|
2199
|
+
matchPatterns: uc,
|
|
2200
2200
|
defaultMatchWidth: "wide",
|
|
2201
|
-
parsePatterns:
|
|
2201
|
+
parsePatterns: cc,
|
|
2202
2202
|
defaultParseWidth: "any"
|
|
2203
2203
|
}),
|
|
2204
2204
|
quarter: it({
|
|
2205
|
-
matchPatterns:
|
|
2205
|
+
matchPatterns: dc,
|
|
2206
2206
|
defaultMatchWidth: "wide",
|
|
2207
|
-
parsePatterns:
|
|
2207
|
+
parsePatterns: hc,
|
|
2208
2208
|
defaultParseWidth: "any",
|
|
2209
2209
|
valueCallback: (g) => g + 1
|
|
2210
2210
|
}),
|
|
2211
2211
|
month: it({
|
|
2212
|
-
matchPatterns:
|
|
2212
|
+
matchPatterns: fc,
|
|
2213
2213
|
defaultMatchWidth: "wide",
|
|
2214
|
-
parsePatterns:
|
|
2214
|
+
parsePatterns: mc,
|
|
2215
2215
|
defaultParseWidth: "any"
|
|
2216
2216
|
}),
|
|
2217
2217
|
day: it({
|
|
2218
|
-
matchPatterns:
|
|
2218
|
+
matchPatterns: pc,
|
|
2219
2219
|
defaultMatchWidth: "wide",
|
|
2220
|
-
parsePatterns:
|
|
2220
|
+
parsePatterns: gc,
|
|
2221
2221
|
defaultParseWidth: "any"
|
|
2222
2222
|
}),
|
|
2223
2223
|
dayPeriod: it({
|
|
2224
|
-
matchPatterns:
|
|
2224
|
+
matchPatterns: yc,
|
|
2225
2225
|
defaultMatchWidth: "any",
|
|
2226
|
-
parsePatterns:
|
|
2226
|
+
parsePatterns: vc,
|
|
2227
2227
|
defaultParseWidth: "any"
|
|
2228
2228
|
})
|
|
2229
|
-
},
|
|
2229
|
+
}, Ln = {
|
|
2230
2230
|
code: "it",
|
|
2231
|
-
formatDistance:
|
|
2232
|
-
formatLong:
|
|
2233
|
-
formatRelative:
|
|
2234
|
-
localize:
|
|
2235
|
-
match:
|
|
2231
|
+
formatDistance: $u,
|
|
2232
|
+
formatLong: Ju,
|
|
2233
|
+
formatRelative: Qu,
|
|
2234
|
+
localize: oc,
|
|
2235
|
+
match: _c,
|
|
2236
2236
|
options: {
|
|
2237
2237
|
weekStartsOn: 1,
|
|
2238
2238
|
firstWeekContainsDate: 4
|
|
@@ -2241,12 +2241,12 @@ const Ku = {
|
|
|
2241
2241
|
function Aa(g) {
|
|
2242
2242
|
throw new Error('Could not dynamically require "' + g + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
2243
2243
|
}
|
|
2244
|
-
var hr = { exports: {} }, wa = { exports: {} },
|
|
2245
|
-
function
|
|
2246
|
-
return
|
|
2244
|
+
var hr = { exports: {} }, wa = { exports: {} }, bc = wa.exports, wn;
|
|
2245
|
+
function Dr() {
|
|
2246
|
+
return wn || (wn = 1, (function(g, i) {
|
|
2247
2247
|
(function(m, d) {
|
|
2248
2248
|
g.exports = d();
|
|
2249
|
-
})(
|
|
2249
|
+
})(bc, (function() {
|
|
2250
2250
|
var m;
|
|
2251
2251
|
function d() {
|
|
2252
2252
|
return m.apply(null, arguments);
|
|
@@ -2293,7 +2293,7 @@ function Sr() {
|
|
|
2293
2293
|
return s(t, "toString") && (e.toString = t.toString), s(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
2294
2294
|
}
|
|
2295
2295
|
function f(e, t, r, n) {
|
|
2296
|
-
return
|
|
2296
|
+
return Vr(e, t, r, n, !0).utc();
|
|
2297
2297
|
}
|
|
2298
2298
|
function j() {
|
|
2299
2299
|
return {
|
|
@@ -2608,7 +2608,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2608
2608
|
return n.priority - l.priority;
|
|
2609
2609
|
}), t;
|
|
2610
2610
|
}
|
|
2611
|
-
var $e = /\d/, Ie = /\d\d/, Ge = /\d{3}/, Qe = /\d{4}/, ge = /[+-]?\d{6}/, be = /\d\d?/, Ze = /\d\d\d\d?/, tt = /\d\d\d\d\d\d?/, ht = /\d{1,3}/,
|
|
2611
|
+
var $e = /\d/, Ie = /\d\d/, Ge = /\d{3}/, Qe = /\d{4}/, ge = /[+-]?\d{6}/, be = /\d\d?/, Ze = /\d\d\d\d?/, tt = /\d\d\d\d\d\d?/, ht = /\d{1,3}/, _t = /\d{1,4}/, pt = /[+-]?\d{1,6}/, lt = /\d+/, bt = /[+-]?\d+/, wt = /Z|[+-]\d\d:?\d\d/gi, Ue = /Z|[+-]\d\d(?::?\d\d)?/gi, gt = /[+-]?\d+(\.\d{1,3})?/, ft = /[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, ut = /^[1-9]\d?/, ot = /^([1-9]\d|\d)/, Wt;
|
|
2612
2612
|
Wt = {};
|
|
2613
2613
|
function ae(e, t, r) {
|
|
2614
2614
|
Wt[e] = I(t) ? t : function(n, l) {
|
|
@@ -2663,7 +2663,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2663
2663
|
return e <= 9999 ? X(e, 4) : "+" + e;
|
|
2664
2664
|
}), Q(0, ["YY", 2], 0, function() {
|
|
2665
2665
|
return this.year() % 100;
|
|
2666
|
-
}), Q(0, ["YYYY", 4], 0, "year"), Q(0, ["YYYYY", 5], 0, "year"), Q(0, ["YYYYYY", 6, !0], 0, "year"), ae("Y",
|
|
2666
|
+
}), Q(0, ["YYYY", 4], 0, "year"), Q(0, ["YYYYY", 5], 0, "year"), Q(0, ["YYYYYY", 6, !0], 0, "year"), ae("Y", bt), ae("YY", be, Ie), ae("YYYY", _t, Qe), ae("YYYYY", pt, ge), ae("YYYYYY", pt, ge), Pe(["YYYYY", "YYYYYY"], Xe), Pe("YYYY", function(e, t) {
|
|
2667
2667
|
t[Xe] = e.length === 2 ? d.parseTwoDigitYear(e) : Me(e);
|
|
2668
2668
|
}), Pe("YY", function(e, t) {
|
|
2669
2669
|
t[Xe] = d.parseTwoDigitYear(e);
|
|
@@ -2783,16 +2783,16 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2783
2783
|
var l = r._locale.monthsParse(e, n, r._strict);
|
|
2784
2784
|
l != null ? t[b] = l : v(r).invalidMonth = e;
|
|
2785
2785
|
});
|
|
2786
|
-
var
|
|
2786
|
+
var Hn = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
2787
2787
|
"_"
|
|
2788
|
-
),
|
|
2789
|
-
function Bn(e, t) {
|
|
2790
|
-
return e ? L(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Or).test(t) ? "format" : "standalone"][e.month()] : L(this._months) ? this._months : this._months.standalone;
|
|
2791
|
-
}
|
|
2788
|
+
), Or = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), jr = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, $n = ft, Bn = ft;
|
|
2792
2789
|
function Un(e, t) {
|
|
2793
|
-
return e ? L(this.
|
|
2790
|
+
return e ? L(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || jr).test(t) ? "format" : "standalone"][e.month()] : L(this._months) ? this._months : this._months.standalone;
|
|
2794
2791
|
}
|
|
2795
|
-
function qn(e, t
|
|
2792
|
+
function qn(e, t) {
|
|
2793
|
+
return e ? L(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[jr.test(t) ? "format" : "standalone"][e.month()] : L(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
2794
|
+
}
|
|
2795
|
+
function Jn(e, t, r) {
|
|
2796
2796
|
var n, l, x, V = e.toLocaleLowerCase();
|
|
2797
2797
|
if (!this._monthsParse)
|
|
2798
2798
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], n = 0; n < 12; ++n)
|
|
@@ -2802,10 +2802,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2802
2802
|
).toLocaleLowerCase(), this._longMonthsParse[n] = this.months(x, "").toLocaleLowerCase();
|
|
2803
2803
|
return r ? t === "MMM" ? (l = He.call(this._shortMonthsParse, V), l !== -1 ? l : null) : (l = He.call(this._longMonthsParse, V), l !== -1 ? l : null) : t === "MMM" ? (l = He.call(this._shortMonthsParse, V), l !== -1 ? l : (l = He.call(this._longMonthsParse, V), l !== -1 ? l : null)) : (l = He.call(this._longMonthsParse, V), l !== -1 ? l : (l = He.call(this._shortMonthsParse, V), l !== -1 ? l : null));
|
|
2804
2804
|
}
|
|
2805
|
-
function
|
|
2805
|
+
function Gn(e, t, r) {
|
|
2806
2806
|
var n, l, x;
|
|
2807
2807
|
if (this._monthsParseExact)
|
|
2808
|
-
return
|
|
2808
|
+
return Jn.call(this, e, t, r);
|
|
2809
2809
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), n = 0; n < 12; n++) {
|
|
2810
2810
|
if (l = f([2e3, n]), r && !this._longMonthsParse[n] && (this._longMonthsParse[n] = new RegExp(
|
|
2811
2811
|
"^" + this.months(l, "").replace(".", "") + "$",
|
|
@@ -2821,7 +2821,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2821
2821
|
return n;
|
|
2822
2822
|
}
|
|
2823
2823
|
}
|
|
2824
|
-
function
|
|
2824
|
+
function Tr(e, t) {
|
|
2825
2825
|
if (!e.isValid())
|
|
2826
2826
|
return e;
|
|
2827
2827
|
if (typeof t == "string") {
|
|
@@ -2833,19 +2833,19 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2833
2833
|
var r = t, n = e.date();
|
|
2834
2834
|
return n = n < 29 ? n : Math.min(n, Fa(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, n) : e._d.setMonth(r, n), e;
|
|
2835
2835
|
}
|
|
2836
|
-
function
|
|
2837
|
-
return e != null ? (
|
|
2836
|
+
function Cr(e) {
|
|
2837
|
+
return e != null ? (Tr(this, e), d.updateOffset(this, !0), this) : dt(this, "Month");
|
|
2838
2838
|
}
|
|
2839
|
-
function
|
|
2839
|
+
function Kn() {
|
|
2840
2840
|
return Fa(this.year(), this.month());
|
|
2841
2841
|
}
|
|
2842
|
-
function Kn(e) {
|
|
2843
|
-
return this._monthsParseExact ? (s(this, "_monthsRegex") || Cr.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (s(this, "_monthsShortRegex") || (this._monthsShortRegex = Hn), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
2844
|
-
}
|
|
2845
2842
|
function Xn(e) {
|
|
2846
|
-
return this._monthsParseExact ? (s(this, "_monthsRegex") ||
|
|
2843
|
+
return this._monthsParseExact ? (s(this, "_monthsRegex") || Nr.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (s(this, "_monthsShortRegex") || (this._monthsShortRegex = $n), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
2844
|
+
}
|
|
2845
|
+
function Qn(e) {
|
|
2846
|
+
return this._monthsParseExact ? (s(this, "_monthsRegex") || Nr.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (s(this, "_monthsRegex") || (this._monthsRegex = Bn), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
|
|
2847
2847
|
}
|
|
2848
|
-
function
|
|
2848
|
+
function Nr() {
|
|
2849
2849
|
function e(pe, Oe) {
|
|
2850
2850
|
return Oe.length - pe.length;
|
|
2851
2851
|
}
|
|
@@ -2860,7 +2860,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2860
2860
|
"i"
|
|
2861
2861
|
);
|
|
2862
2862
|
}
|
|
2863
|
-
function
|
|
2863
|
+
function Zn(e, t, r, n, l, x, V) {
|
|
2864
2864
|
var ne;
|
|
2865
2865
|
return e < 100 && e >= 0 ? (ne = new Date(e + 400, t, r, n, l, x, V), isFinite(ne.getFullYear()) && ne.setFullYear(e)) : ne = new Date(e, t, r, n, l, x, V), ne;
|
|
2866
2866
|
}
|
|
@@ -2872,7 +2872,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2872
2872
|
var n = 7 + t - r, l = (7 + Zt(e, 0, n).getUTCDay() - t) % 7;
|
|
2873
2873
|
return -l + n - 1;
|
|
2874
2874
|
}
|
|
2875
|
-
function
|
|
2875
|
+
function Pr(e, t, r, n, l) {
|
|
2876
2876
|
var x = (7 + r - n) % 7, V = la(e, n, l), ne = 1 + 7 * (t - 1) + x + V, pe, Oe;
|
|
2877
2877
|
return ne <= 0 ? (pe = e - 1, Oe = qe(pe) + ne) : ne > qe(e) ? (pe = e + 1, Oe = ne - qe(e)) : (pe = e, Oe = ne), {
|
|
2878
2878
|
year: pe,
|
|
@@ -2881,12 +2881,12 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2881
2881
|
}
|
|
2882
2882
|
function ea(e, t, r) {
|
|
2883
2883
|
var n = la(e.year(), t, r), l = Math.floor((e.dayOfYear() - n - 1) / 7) + 1, x, V;
|
|
2884
|
-
return l < 1 ? (V = e.year() - 1, x = l +
|
|
2884
|
+
return l < 1 ? (V = e.year() - 1, x = l + xt(V, t, r)) : l > xt(e.year(), t, r) ? (x = l - xt(e.year(), t, r), V = e.year() + 1) : (V = e.year(), x = l), {
|
|
2885
2885
|
week: x,
|
|
2886
2886
|
year: V
|
|
2887
2887
|
};
|
|
2888
2888
|
}
|
|
2889
|
-
function
|
|
2889
|
+
function xt(e, t, r) {
|
|
2890
2890
|
var n = la(e, t, r), l = la(e + 1, t, r);
|
|
2891
2891
|
return (qe(e) - n + l) / 7;
|
|
2892
2892
|
}
|
|
@@ -2896,26 +2896,26 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2896
2896
|
t[n.substr(0, 1)] = Me(e);
|
|
2897
2897
|
}
|
|
2898
2898
|
);
|
|
2899
|
-
function
|
|
2899
|
+
function ei(e) {
|
|
2900
2900
|
return ea(e, this._week.dow, this._week.doy).week;
|
|
2901
2901
|
}
|
|
2902
|
-
var
|
|
2902
|
+
var ti = {
|
|
2903
2903
|
dow: 0,
|
|
2904
2904
|
// Sunday is the first day of the week.
|
|
2905
2905
|
doy: 6
|
|
2906
2906
|
// The week that contains Jan 6th is the first week of the year.
|
|
2907
2907
|
};
|
|
2908
|
-
function
|
|
2908
|
+
function ai() {
|
|
2909
2909
|
return this._week.dow;
|
|
2910
2910
|
}
|
|
2911
|
-
function
|
|
2911
|
+
function ri() {
|
|
2912
2912
|
return this._week.doy;
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function ni(e) {
|
|
2915
2915
|
var t = this.localeData().week(this);
|
|
2916
2916
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
2917
2917
|
}
|
|
2918
|
-
function
|
|
2918
|
+
function ii(e) {
|
|
2919
2919
|
var t = ea(this, 1, 4).week;
|
|
2920
2920
|
return e == null ? t : this.add((e - t) * 7, "d");
|
|
2921
2921
|
}
|
|
@@ -2937,27 +2937,27 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2937
2937
|
}), Rt(["d", "e", "E"], function(e, t, r, n) {
|
|
2938
2938
|
t[n] = Me(e);
|
|
2939
2939
|
});
|
|
2940
|
-
function
|
|
2940
|
+
function oi(e, t) {
|
|
2941
2941
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
|
2942
2942
|
}
|
|
2943
|
-
function
|
|
2943
|
+
function si(e, t) {
|
|
2944
2944
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
|
2945
2945
|
}
|
|
2946
2946
|
function za(e, t) {
|
|
2947
2947
|
return e.slice(t, 7).concat(e.slice(0, t));
|
|
2948
2948
|
}
|
|
2949
|
-
var
|
|
2950
|
-
function
|
|
2949
|
+
var li = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Ar = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), ui = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), ci = ft, di = ft, hi = ft;
|
|
2950
|
+
function fi(e, t) {
|
|
2951
2951
|
var r = L(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
|
2952
2952
|
return e === !0 ? za(r, this._week.dow) : e ? r[e.day()] : r;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function mi(e) {
|
|
2955
2955
|
return e === !0 ? za(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function pi(e) {
|
|
2958
2958
|
return e === !0 ? za(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
2959
2959
|
}
|
|
2960
|
-
function
|
|
2960
|
+
function gi(e, t, r) {
|
|
2961
2961
|
var n, l, x, V = e.toLocaleLowerCase();
|
|
2962
2962
|
if (!this._weekdaysParse)
|
|
2963
2963
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], n = 0; n < 7; ++n)
|
|
@@ -2970,10 +2970,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2970
2970
|
).toLocaleLowerCase(), this._weekdaysParse[n] = this.weekdays(x, "").toLocaleLowerCase();
|
|
2971
2971
|
return r ? t === "dddd" ? (l = He.call(this._weekdaysParse, V), l !== -1 ? l : null) : t === "ddd" ? (l = He.call(this._shortWeekdaysParse, V), l !== -1 ? l : null) : (l = He.call(this._minWeekdaysParse, V), l !== -1 ? l : null) : t === "dddd" ? (l = He.call(this._weekdaysParse, V), l !== -1 || (l = He.call(this._shortWeekdaysParse, V), l !== -1) ? l : (l = He.call(this._minWeekdaysParse, V), l !== -1 ? l : null)) : t === "ddd" ? (l = He.call(this._shortWeekdaysParse, V), l !== -1 || (l = He.call(this._weekdaysParse, V), l !== -1) ? l : (l = He.call(this._minWeekdaysParse, V), l !== -1 ? l : null)) : (l = He.call(this._minWeekdaysParse, V), l !== -1 || (l = He.call(this._weekdaysParse, V), l !== -1) ? l : (l = He.call(this._shortWeekdaysParse, V), l !== -1 ? l : null));
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2973
|
+
function yi(e, t, r) {
|
|
2974
2974
|
var n, l, x;
|
|
2975
2975
|
if (this._weekdaysParseExact)
|
|
2976
|
-
return
|
|
2976
|
+
return gi.call(this, e, t, r);
|
|
2977
2977
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), n = 0; n < 7; n++) {
|
|
2978
2978
|
if (l = f([2e3, 1]).day(n), r && !this._fullWeekdaysParse[n] && (this._fullWeekdaysParse[n] = new RegExp(
|
|
2979
2979
|
"^" + this.weekdays(l, "").replace(".", "\\.?") + "$",
|
|
@@ -2994,39 +2994,39 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
2994
2994
|
return n;
|
|
2995
2995
|
}
|
|
2996
2996
|
}
|
|
2997
|
-
function
|
|
2997
|
+
function vi(e) {
|
|
2998
2998
|
if (!this.isValid())
|
|
2999
2999
|
return e != null ? this : NaN;
|
|
3000
3000
|
var t = dt(this, "Day");
|
|
3001
|
-
return e != null ? (e =
|
|
3001
|
+
return e != null ? (e = oi(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3003
|
+
function _i(e) {
|
|
3004
3004
|
if (!this.isValid())
|
|
3005
3005
|
return e != null ? this : NaN;
|
|
3006
3006
|
var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
3007
3007
|
return e == null ? t : this.add(e - t, "d");
|
|
3008
3008
|
}
|
|
3009
|
-
function
|
|
3009
|
+
function bi(e) {
|
|
3010
3010
|
if (!this.isValid())
|
|
3011
3011
|
return e != null ? this : NaN;
|
|
3012
3012
|
if (e != null) {
|
|
3013
|
-
var t =
|
|
3013
|
+
var t = si(e, this.localeData());
|
|
3014
3014
|
return this.day(this.day() % 7 ? t : t - 7);
|
|
3015
3015
|
} else
|
|
3016
3016
|
return this.day() || 7;
|
|
3017
3017
|
}
|
|
3018
|
-
function bi(e) {
|
|
3019
|
-
return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || La.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (s(this, "_weekdaysRegex") || (this._weekdaysRegex = ui), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
3020
|
-
}
|
|
3021
3018
|
function wi(e) {
|
|
3022
|
-
return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || La.call(this), e ? this.
|
|
3019
|
+
return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || La.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (s(this, "_weekdaysRegex") || (this._weekdaysRegex = ci), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
3023
3020
|
}
|
|
3024
3021
|
function xi(e) {
|
|
3025
|
-
return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || La.call(this), e ? this.
|
|
3022
|
+
return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || La.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (s(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = di), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
3023
|
+
}
|
|
3024
|
+
function Mi(e) {
|
|
3025
|
+
return this._weekdaysParseExact ? (s(this, "_weekdaysRegex") || La.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (s(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = hi), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
3026
3026
|
}
|
|
3027
3027
|
function La() {
|
|
3028
|
-
function e(at,
|
|
3029
|
-
return
|
|
3028
|
+
function e(at, Yt) {
|
|
3029
|
+
return Yt.length - at.length;
|
|
3030
3030
|
}
|
|
3031
3031
|
var t = [], r = [], n = [], l = [], x, V, ne, pe, Oe;
|
|
3032
3032
|
for (x = 0; x < 7; x++)
|
|
@@ -3045,10 +3045,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3045
3045
|
function Wa() {
|
|
3046
3046
|
return this.hours() % 12 || 12;
|
|
3047
3047
|
}
|
|
3048
|
-
function
|
|
3048
|
+
function Si() {
|
|
3049
3049
|
return this.hours() || 24;
|
|
3050
3050
|
}
|
|
3051
|
-
Q("H", ["HH", 2], 0, "hour"), Q("h", ["hh", 2], 0, Wa), Q("k", ["kk", 2], 0,
|
|
3051
|
+
Q("H", ["HH", 2], 0, "hour"), Q("h", ["hh", 2], 0, Wa), Q("k", ["kk", 2], 0, Si), Q("hmm", 0, 0, function() {
|
|
3052
3052
|
return "" + Wa.apply(this) + X(this.minutes(), 2);
|
|
3053
3053
|
}), Q("hmmss", 0, 0, function() {
|
|
3054
3054
|
return "" + Wa.apply(this) + X(this.minutes(), 2) + X(this.seconds(), 2);
|
|
@@ -3057,7 +3057,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3057
3057
|
}), Q("Hmmss", 0, 0, function() {
|
|
3058
3058
|
return "" + this.hours() + X(this.minutes(), 2) + X(this.seconds(), 2);
|
|
3059
3059
|
});
|
|
3060
|
-
function
|
|
3060
|
+
function Er(e, t) {
|
|
3061
3061
|
Q(e, 0, 0, function() {
|
|
3062
3062
|
return this.localeData().meridiem(
|
|
3063
3063
|
this.hours(),
|
|
@@ -3066,11 +3066,11 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3066
3066
|
);
|
|
3067
3067
|
});
|
|
3068
3068
|
}
|
|
3069
|
-
|
|
3070
|
-
function
|
|
3069
|
+
Er("a", !0), Er("A", !1);
|
|
3070
|
+
function Rr(e, t) {
|
|
3071
3071
|
return t._meridiemParse;
|
|
3072
3072
|
}
|
|
3073
|
-
ae("a",
|
|
3073
|
+
ae("a", Rr), ae("A", Rr), ae("H", be, ot), ae("h", be, ut), ae("k", be, ut), ae("HH", be, Ie), ae("hh", be, Ie), ae("kk", be, Ie), ae("hmm", Ze), ae("hmmss", tt), ae("Hmm", Ze), ae("Hmmss", tt), Pe(["H", "HH"], K), Pe(["k", "kk"], function(e, t, r) {
|
|
3074
3074
|
var n = Me(e);
|
|
3075
3075
|
t[K] = n === 24 ? 0 : n;
|
|
3076
3076
|
}), Pe(["a", "A"], function(e, t, r) {
|
|
@@ -3090,44 +3090,44 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3090
3090
|
var n = e.length - 4, l = e.length - 2;
|
|
3091
3091
|
t[K] = Me(e.substr(0, n)), t[se] = Me(e.substr(n, 2)), t[xe] = Me(e.substr(l));
|
|
3092
3092
|
});
|
|
3093
|
-
function
|
|
3093
|
+
function Di(e) {
|
|
3094
3094
|
return (e + "").toLowerCase().charAt(0) === "p";
|
|
3095
3095
|
}
|
|
3096
|
-
var
|
|
3097
|
-
function
|
|
3096
|
+
var ki = /[ap]\.?m?\.?/i, Yi = Ke("Hours", !0);
|
|
3097
|
+
function Oi(e, t, r) {
|
|
3098
3098
|
return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
|
|
3099
3099
|
}
|
|
3100
|
-
var
|
|
3100
|
+
var Ir = {
|
|
3101
3101
|
calendar: te,
|
|
3102
3102
|
longDateFormat: Ee,
|
|
3103
3103
|
invalidDate: N,
|
|
3104
3104
|
ordinal: H,
|
|
3105
3105
|
dayOfMonthOrdinalParse: k,
|
|
3106
3106
|
relativeTime: z,
|
|
3107
|
-
months:
|
|
3108
|
-
monthsShort:
|
|
3109
|
-
week:
|
|
3110
|
-
weekdays:
|
|
3111
|
-
weekdaysMin:
|
|
3112
|
-
weekdaysShort:
|
|
3113
|
-
meridiemParse:
|
|
3107
|
+
months: Hn,
|
|
3108
|
+
monthsShort: Or,
|
|
3109
|
+
week: ti,
|
|
3110
|
+
weekdays: li,
|
|
3111
|
+
weekdaysMin: ui,
|
|
3112
|
+
weekdaysShort: Ar,
|
|
3113
|
+
meridiemParse: ki
|
|
3114
3114
|
}, Ve = {}, ta = {}, aa;
|
|
3115
|
-
function
|
|
3115
|
+
function ji(e, t) {
|
|
3116
3116
|
var r, n = Math.min(e.length, t.length);
|
|
3117
3117
|
for (r = 0; r < n; r += 1)
|
|
3118
3118
|
if (e[r] !== t[r])
|
|
3119
3119
|
return r;
|
|
3120
3120
|
return n;
|
|
3121
3121
|
}
|
|
3122
|
-
function
|
|
3122
|
+
function Fr(e) {
|
|
3123
3123
|
return e && e.toLowerCase().replace("_", "-");
|
|
3124
3124
|
}
|
|
3125
|
-
function
|
|
3125
|
+
function Ti(e) {
|
|
3126
3126
|
for (var t = 0, r, n, l, x; t < e.length; ) {
|
|
3127
|
-
for (x =
|
|
3127
|
+
for (x = Fr(e[t]).split("-"), r = x.length, n = Fr(e[t + 1]), n = n ? n.split("-") : null; r > 0; ) {
|
|
3128
3128
|
if (l = ua(x.slice(0, r).join("-")), l)
|
|
3129
3129
|
return l;
|
|
3130
|
-
if (n && n.length >= r &&
|
|
3130
|
+
if (n && n.length >= r && ji(x, n) >= r - 1)
|
|
3131
3131
|
break;
|
|
3132
3132
|
r--;
|
|
3133
3133
|
}
|
|
@@ -3135,28 +3135,28 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3135
3135
|
}
|
|
3136
3136
|
return aa;
|
|
3137
3137
|
}
|
|
3138
|
-
function
|
|
3138
|
+
function Ci(e) {
|
|
3139
3139
|
return !!(e && e.match("^[^/\\\\]*$"));
|
|
3140
3140
|
}
|
|
3141
3141
|
function ua(e) {
|
|
3142
3142
|
var t = null, r;
|
|
3143
|
-
if (Ve[e] === void 0 && g && g.exports &&
|
|
3143
|
+
if (Ve[e] === void 0 && g && g.exports && Ci(e))
|
|
3144
3144
|
try {
|
|
3145
|
-
t = aa._abbr, r = Aa, r("./locale/" + e),
|
|
3145
|
+
t = aa._abbr, r = Aa, r("./locale/" + e), jt(t);
|
|
3146
3146
|
} catch {
|
|
3147
3147
|
Ve[e] = null;
|
|
3148
3148
|
}
|
|
3149
3149
|
return Ve[e];
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3151
|
+
function jt(e, t) {
|
|
3152
3152
|
var r;
|
|
3153
|
-
return e && (a(t) ? r =
|
|
3153
|
+
return e && (a(t) ? r = Mt(e) : r = Va(e, t), r ? aa = r : typeof console < "u" && console.warn && console.warn(
|
|
3154
3154
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
3155
3155
|
)), aa._abbr;
|
|
3156
3156
|
}
|
|
3157
3157
|
function Va(e, t) {
|
|
3158
3158
|
if (t !== null) {
|
|
3159
|
-
var r, n =
|
|
3159
|
+
var r, n = Ir;
|
|
3160
3160
|
if (t.abbr = e, Ve[e] != null)
|
|
3161
3161
|
R(
|
|
3162
3162
|
"defineLocaleOverride",
|
|
@@ -3174,19 +3174,19 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3174
3174
|
}), null;
|
|
3175
3175
|
return Ve[e] = new q($(n, t)), ta[e] && ta[e].forEach(function(l) {
|
|
3176
3176
|
Va(l.name, l.config);
|
|
3177
|
-
}),
|
|
3177
|
+
}), jt(e), Ve[e];
|
|
3178
3178
|
} else
|
|
3179
3179
|
return delete Ve[e], null;
|
|
3180
3180
|
}
|
|
3181
|
-
function
|
|
3181
|
+
function Ni(e, t) {
|
|
3182
3182
|
if (t != null) {
|
|
3183
|
-
var r, n, l =
|
|
3184
|
-
Ve[e] != null && Ve[e].parentLocale != null ? Ve[e].set($(Ve[e]._config, t)) : (n = ua(e), n != null && (l = n._config), t = $(l, t), n == null && (t.abbr = e), r = new q(t), r.parentLocale = Ve[e], Ve[e] = r),
|
|
3183
|
+
var r, n, l = Ir;
|
|
3184
|
+
Ve[e] != null && Ve[e].parentLocale != null ? Ve[e].set($(Ve[e]._config, t)) : (n = ua(e), n != null && (l = n._config), t = $(l, t), n == null && (t.abbr = e), r = new q(t), r.parentLocale = Ve[e], Ve[e] = r), jt(e);
|
|
3185
3185
|
} else
|
|
3186
|
-
Ve[e] != null && (Ve[e].parentLocale != null ? (Ve[e] = Ve[e].parentLocale, e ===
|
|
3186
|
+
Ve[e] != null && (Ve[e].parentLocale != null ? (Ve[e] = Ve[e].parentLocale, e === jt() && jt(e)) : Ve[e] != null && delete Ve[e]);
|
|
3187
3187
|
return Ve[e];
|
|
3188
3188
|
}
|
|
3189
|
-
function
|
|
3189
|
+
function Mt(e) {
|
|
3190
3190
|
var t;
|
|
3191
3191
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
|
3192
3192
|
return aa;
|
|
@@ -3195,16 +3195,16 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3195
3195
|
return t;
|
|
3196
3196
|
e = [e];
|
|
3197
3197
|
}
|
|
3198
|
-
return
|
|
3198
|
+
return Ti(e);
|
|
3199
3199
|
}
|
|
3200
|
-
function
|
|
3200
|
+
function Pi() {
|
|
3201
3201
|
return re(Ve);
|
|
3202
3202
|
}
|
|
3203
3203
|
function Ha(e) {
|
|
3204
3204
|
var t, r = e._a;
|
|
3205
3205
|
return r && v(e).overflow === -2 && (t = r[b] < 0 || r[b] > 11 ? b : r[U] < 1 || r[U] > Fa(r[Xe], r[b]) ? U : r[K] < 0 || r[K] > 24 || r[K] === 24 && (r[se] !== 0 || r[xe] !== 0 || r[Ye] !== 0) ? K : r[se] < 0 || r[se] > 59 ? se : r[xe] < 0 || r[xe] > 59 ? xe : r[Ye] < 0 || r[Ye] > 999 ? Ye : -1, v(e)._overflowDayOfYear && (t < Xe || t > U) && (t = U), v(e)._overflowWeeks && t === -1 && (t = De), v(e)._overflowWeekday && t === -1 && (t = Se), v(e).overflow = t), e;
|
|
3206
3206
|
}
|
|
3207
|
-
var
|
|
3207
|
+
var Ai = /^\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)?)?$/, Ei = /^\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)?)?$/, Ri = /Z|[+-]\d\d(?::?\d\d)?/, ca = [
|
|
3208
3208
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
3209
3209
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
3210
3210
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -3228,7 +3228,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3228
3228
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
3229
3229
|
["HHmm", /\d\d\d\d/],
|
|
3230
3230
|
["HH", /\d\d/]
|
|
3231
|
-
],
|
|
3231
|
+
], Ii = /^\/?Date\((-?\d+)/i, Fi = /^(?:(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}))$/, zi = {
|
|
3232
3232
|
UT: 0,
|
|
3233
3233
|
GMT: 0,
|
|
3234
3234
|
EDT: -240,
|
|
@@ -3240,8 +3240,8 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3240
3240
|
PDT: -420,
|
|
3241
3241
|
PST: -480
|
|
3242
3242
|
};
|
|
3243
|
-
function
|
|
3244
|
-
var t, r, n = e._i, l =
|
|
3243
|
+
function zr(e) {
|
|
3244
|
+
var t, r, n = e._i, l = Ai.exec(n) || Ei.exec(n), x, V, ne, pe, Oe = ca.length, at = $a.length;
|
|
3245
3245
|
if (l) {
|
|
3246
3246
|
for (v(e).iso = !0, t = 0, r = Oe; t < r; t++)
|
|
3247
3247
|
if (ca[t][1].exec(l[1])) {
|
|
@@ -3268,7 +3268,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3268
3268
|
return;
|
|
3269
3269
|
}
|
|
3270
3270
|
if (l[4])
|
|
3271
|
-
if (
|
|
3271
|
+
if (Ri.exec(l[4]))
|
|
3272
3272
|
pe = "Z";
|
|
3273
3273
|
else {
|
|
3274
3274
|
e._isValid = !1;
|
|
@@ -3278,26 +3278,26 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3278
3278
|
} else
|
|
3279
3279
|
e._isValid = !1;
|
|
3280
3280
|
}
|
|
3281
|
-
function
|
|
3281
|
+
function Li(e, t, r, n, l, x) {
|
|
3282
3282
|
var V = [
|
|
3283
|
-
|
|
3284
|
-
|
|
3283
|
+
Wi(e),
|
|
3284
|
+
Or.indexOf(t),
|
|
3285
3285
|
parseInt(r, 10),
|
|
3286
3286
|
parseInt(n, 10),
|
|
3287
3287
|
parseInt(l, 10)
|
|
3288
3288
|
];
|
|
3289
3289
|
return x && V.push(parseInt(x, 10)), V;
|
|
3290
3290
|
}
|
|
3291
|
-
function
|
|
3291
|
+
function Wi(e) {
|
|
3292
3292
|
var t = parseInt(e, 10);
|
|
3293
3293
|
return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
|
|
3294
3294
|
}
|
|
3295
|
-
function
|
|
3295
|
+
function Vi(e) {
|
|
3296
3296
|
return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
3297
3297
|
}
|
|
3298
|
-
function
|
|
3298
|
+
function Hi(e, t, r) {
|
|
3299
3299
|
if (e) {
|
|
3300
|
-
var n =
|
|
3300
|
+
var n = Ar.indexOf(e), l = new Date(
|
|
3301
3301
|
t[0],
|
|
3302
3302
|
t[1],
|
|
3303
3303
|
t[2]
|
|
@@ -3307,41 +3307,41 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3307
3307
|
}
|
|
3308
3308
|
return !0;
|
|
3309
3309
|
}
|
|
3310
|
-
function
|
|
3310
|
+
function $i(e, t, r) {
|
|
3311
3311
|
if (e)
|
|
3312
|
-
return
|
|
3312
|
+
return zi[e];
|
|
3313
3313
|
if (t)
|
|
3314
3314
|
return 0;
|
|
3315
3315
|
var n = parseInt(r, 10), l = n % 100, x = (n - l) / 100;
|
|
3316
3316
|
return x * 60 + l;
|
|
3317
3317
|
}
|
|
3318
|
-
function
|
|
3319
|
-
var t =
|
|
3318
|
+
function Lr(e) {
|
|
3319
|
+
var t = Fi.exec(Vi(e._i)), r;
|
|
3320
3320
|
if (t) {
|
|
3321
|
-
if (r =
|
|
3321
|
+
if (r = Li(
|
|
3322
3322
|
t[4],
|
|
3323
3323
|
t[3],
|
|
3324
3324
|
t[2],
|
|
3325
3325
|
t[5],
|
|
3326
3326
|
t[6],
|
|
3327
3327
|
t[7]
|
|
3328
|
-
), !
|
|
3328
|
+
), !Hi(t[1], r, e))
|
|
3329
3329
|
return;
|
|
3330
|
-
e._a = r, e._tzm =
|
|
3330
|
+
e._a = r, e._tzm = $i(t[8], t[9], t[10]), e._d = Zt.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), v(e).rfc2822 = !0;
|
|
3331
3331
|
} else
|
|
3332
3332
|
e._isValid = !1;
|
|
3333
3333
|
}
|
|
3334
|
-
function
|
|
3335
|
-
var t =
|
|
3334
|
+
function Bi(e) {
|
|
3335
|
+
var t = Ii.exec(e._i);
|
|
3336
3336
|
if (t !== null) {
|
|
3337
3337
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
|
3338
3338
|
return;
|
|
3339
3339
|
}
|
|
3340
|
-
if (
|
|
3340
|
+
if (zr(e), e._isValid === !1)
|
|
3341
3341
|
delete e._isValid;
|
|
3342
3342
|
else
|
|
3343
3343
|
return;
|
|
3344
|
-
if (
|
|
3344
|
+
if (Lr(e), e._isValid === !1)
|
|
3345
3345
|
delete e._isValid;
|
|
3346
3346
|
else
|
|
3347
3347
|
return;
|
|
@@ -3356,7 +3356,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3356
3356
|
function $t(e, t, r) {
|
|
3357
3357
|
return e ?? t ?? r;
|
|
3358
3358
|
}
|
|
3359
|
-
function
|
|
3359
|
+
function Ui(e) {
|
|
3360
3360
|
var t = new Date(d.now());
|
|
3361
3361
|
return e._useUTC ? [
|
|
3362
3362
|
t.getUTCFullYear(),
|
|
@@ -3367,34 +3367,34 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3367
3367
|
function Ba(e) {
|
|
3368
3368
|
var t, r, n = [], l, x, V;
|
|
3369
3369
|
if (!e._d) {
|
|
3370
|
-
for (l =
|
|
3370
|
+
for (l = Ui(e), e._w && e._a[U] == null && e._a[b] == null && qi(e), e._dayOfYear != null && (V = $t(e._a[Xe], l[Xe]), (e._dayOfYear > qe(V) || e._dayOfYear === 0) && (v(e)._overflowDayOfYear = !0), r = Zt(V, 0, e._dayOfYear), e._a[b] = r.getUTCMonth(), e._a[U] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
3371
3371
|
e._a[t] = n[t] = l[t];
|
|
3372
3372
|
for (; t < 7; t++)
|
|
3373
3373
|
e._a[t] = n[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
3374
|
-
e._a[K] === 24 && e._a[se] === 0 && e._a[xe] === 0 && e._a[Ye] === 0 && (e._nextDay = !0, e._a[K] = 0), e._d = (e._useUTC ? Zt :
|
|
3374
|
+
e._a[K] === 24 && e._a[se] === 0 && e._a[xe] === 0 && e._a[Ye] === 0 && (e._nextDay = !0, e._a[K] = 0), e._d = (e._useUTC ? Zt : Zn).apply(
|
|
3375
3375
|
null,
|
|
3376
3376
|
n
|
|
3377
3377
|
), x = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[K] = 24), e._w && typeof e._w.d < "u" && e._w.d !== x && (v(e).weekdayMismatch = !0);
|
|
3378
3378
|
}
|
|
3379
3379
|
}
|
|
3380
|
-
function
|
|
3380
|
+
function qi(e) {
|
|
3381
3381
|
var t, r, n, l, x, V, ne, pe, Oe;
|
|
3382
3382
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (x = 1, V = 4, r = $t(
|
|
3383
3383
|
t.GG,
|
|
3384
3384
|
e._a[Xe],
|
|
3385
3385
|
ea(Le(), 1, 4).year
|
|
3386
|
-
), n = $t(t.W, 1), l = $t(t.E, 1), (l < 1 || l > 7) && (pe = !0)) : (x = e._locale._week.dow, V = e._locale._week.doy, Oe = ea(Le(), x, V), r = $t(t.gg, e._a[Xe], Oe.year), n = $t(t.w, Oe.week), t.d != null ? (l = t.d, (l < 0 || l > 6) && (pe = !0)) : t.e != null ? (l = t.e + x, (t.e < 0 || t.e > 6) && (pe = !0)) : l = x), n < 1 || n >
|
|
3386
|
+
), n = $t(t.W, 1), l = $t(t.E, 1), (l < 1 || l > 7) && (pe = !0)) : (x = e._locale._week.dow, V = e._locale._week.doy, Oe = ea(Le(), x, V), r = $t(t.gg, e._a[Xe], Oe.year), n = $t(t.w, Oe.week), t.d != null ? (l = t.d, (l < 0 || l > 6) && (pe = !0)) : t.e != null ? (l = t.e + x, (t.e < 0 || t.e > 6) && (pe = !0)) : l = x), n < 1 || n > xt(r, x, V) ? v(e)._overflowWeeks = !0 : pe != null ? v(e)._overflowWeekday = !0 : (ne = Pr(r, n, l, x, V), e._a[Xe] = ne.year, e._dayOfYear = ne.dayOfYear);
|
|
3387
3387
|
}
|
|
3388
3388
|
d.ISO_8601 = function() {
|
|
3389
3389
|
}, d.RFC_2822 = function() {
|
|
3390
3390
|
};
|
|
3391
3391
|
function Ua(e) {
|
|
3392
3392
|
if (e._f === d.ISO_8601) {
|
|
3393
|
-
|
|
3393
|
+
zr(e);
|
|
3394
3394
|
return;
|
|
3395
3395
|
}
|
|
3396
3396
|
if (e._f === d.RFC_2822) {
|
|
3397
|
-
|
|
3397
|
+
Lr(e);
|
|
3398
3398
|
return;
|
|
3399
3399
|
}
|
|
3400
3400
|
e._a = [], v(e).empty = !0;
|
|
@@ -3403,17 +3403,17 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3403
3403
|
x = l[r], n = (t.match(Ea(x, e)) || [])[0], n && (V = t.substr(0, t.indexOf(n)), V.length > 0 && v(e).unusedInput.push(V), t = t.slice(
|
|
3404
3404
|
t.indexOf(n) + n.length
|
|
3405
3405
|
), pe += n.length), le[x] ? (n ? v(e).empty = !1 : v(e).unusedTokens.push(x), Ra(x, n, e)) : e._strict && !n && v(e).unusedTokens.push(x);
|
|
3406
|
-
v(e).charsLeftOver = ne - pe, t.length > 0 && v(e).unusedInput.push(t), e._a[K] <= 12 && v(e).bigHour === !0 && e._a[K] > 0 && (v(e).bigHour = void 0), v(e).parsedDateParts = e._a.slice(0), v(e).meridiem = e._meridiem, e._a[K] =
|
|
3406
|
+
v(e).charsLeftOver = ne - pe, t.length > 0 && v(e).unusedInput.push(t), e._a[K] <= 12 && v(e).bigHour === !0 && e._a[K] > 0 && (v(e).bigHour = void 0), v(e).parsedDateParts = e._a.slice(0), v(e).meridiem = e._meridiem, e._a[K] = Ji(
|
|
3407
3407
|
e._locale,
|
|
3408
3408
|
e._a[K],
|
|
3409
3409
|
e._meridiem
|
|
3410
3410
|
), Oe = v(e).era, Oe !== null && (e._a[Xe] = e._locale.erasConvertYear(Oe, e._a[Xe])), Ba(e), Ha(e);
|
|
3411
3411
|
}
|
|
3412
|
-
function
|
|
3412
|
+
function Ji(e, t, r) {
|
|
3413
3413
|
var n;
|
|
3414
3414
|
return r == null ? t : e.meridiemHour != null ? e.meridiemHour(t, r) : (e.isPM != null && (n = e.isPM(r), n && t < 12 && (t += 12), !n && t === 12 && (t = 0)), t);
|
|
3415
3415
|
}
|
|
3416
|
-
function
|
|
3416
|
+
function Gi(e) {
|
|
3417
3417
|
var t, r, n, l, x, V, ne = !1, pe = e._f.length;
|
|
3418
3418
|
if (pe === 0) {
|
|
3419
3419
|
v(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
@@ -3423,7 +3423,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3423
3423
|
x = 0, V = !1, t = S({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[l], Ua(t), O(t) && (V = !0), x += v(t).charsLeftOver, x += v(t).unusedTokens.length * 10, v(t).score = x, ne ? x < n && (n = x, r = t) : (n == null || x < n || V) && (n = x, r = t, V && (ne = !0));
|
|
3424
3424
|
p(e, r || t);
|
|
3425
3425
|
}
|
|
3426
|
-
function
|
|
3426
|
+
function Ki(e) {
|
|
3427
3427
|
if (!e._d) {
|
|
3428
3428
|
var t = me(e._i), r = t.day === void 0 ? t.date : t.day;
|
|
3429
3429
|
e._a = c(
|
|
@@ -3434,41 +3434,41 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3434
3434
|
), Ba(e);
|
|
3435
3435
|
}
|
|
3436
3436
|
}
|
|
3437
|
-
function
|
|
3438
|
-
var t = new y(Ha(
|
|
3437
|
+
function Xi(e) {
|
|
3438
|
+
var t = new y(Ha(Wr(e)));
|
|
3439
3439
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
3440
3440
|
}
|
|
3441
|
-
function
|
|
3441
|
+
function Wr(e) {
|
|
3442
3442
|
var t = e._i, r = e._f;
|
|
3443
|
-
return e._locale = e._locale ||
|
|
3443
|
+
return e._locale = e._locale || Mt(e._l), t === null || r === void 0 && t === "" ? Y({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), T(t) ? new y(Ha(t)) : (u(t) ? e._d = t : L(r) ? Gi(e) : r ? Ua(e) : Qi(e), O(e) || (e._d = null), e));
|
|
3444
3444
|
}
|
|
3445
|
-
function
|
|
3445
|
+
function Qi(e) {
|
|
3446
3446
|
var t = e._i;
|
|
3447
|
-
a(t) ? e._d = new Date(d.now()) : u(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ?
|
|
3447
|
+
a(t) ? e._d = new Date(d.now()) : u(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Bi(e) : L(t) ? (e._a = c(t.slice(0), function(r) {
|
|
3448
3448
|
return parseInt(r, 10);
|
|
3449
|
-
}), Ba(e)) : G(t) ?
|
|
3449
|
+
}), Ba(e)) : G(t) ? Ki(e) : o(t) ? e._d = new Date(t) : d.createFromInputFallback(e);
|
|
3450
3450
|
}
|
|
3451
|
-
function
|
|
3451
|
+
function Vr(e, t, r, n, l) {
|
|
3452
3452
|
var x = {};
|
|
3453
|
-
return (t === !0 || t === !1) && (n = t, t = void 0), (r === !0 || r === !1) && (n = r, r = void 0), (G(e) && w(e) || L(e) && e.length === 0) && (e = void 0), x._isAMomentObject = !0, x._useUTC = x._isUTC = l, x._l = r, x._i = e, x._f = t, x._strict = n,
|
|
3453
|
+
return (t === !0 || t === !1) && (n = t, t = void 0), (r === !0 || r === !1) && (n = r, r = void 0), (G(e) && w(e) || L(e) && e.length === 0) && (e = void 0), x._isAMomentObject = !0, x._useUTC = x._isUTC = l, x._l = r, x._i = e, x._f = t, x._strict = n, Xi(x);
|
|
3454
3454
|
}
|
|
3455
3455
|
function Le(e, t, r, n) {
|
|
3456
|
-
return
|
|
3456
|
+
return Vr(e, t, r, n, !1);
|
|
3457
3457
|
}
|
|
3458
|
-
var
|
|
3458
|
+
var Zi = C(
|
|
3459
3459
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
3460
3460
|
function() {
|
|
3461
3461
|
var e = Le.apply(null, arguments);
|
|
3462
3462
|
return this.isValid() && e.isValid() ? e < this ? this : e : Y();
|
|
3463
3463
|
}
|
|
3464
|
-
),
|
|
3464
|
+
), eo = C(
|
|
3465
3465
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
3466
3466
|
function() {
|
|
3467
3467
|
var e = Le.apply(null, arguments);
|
|
3468
3468
|
return this.isValid() && e.isValid() ? e > this ? this : e : Y();
|
|
3469
3469
|
}
|
|
3470
3470
|
);
|
|
3471
|
-
function
|
|
3471
|
+
function Hr(e, t) {
|
|
3472
3472
|
var r, n;
|
|
3473
3473
|
if (t.length === 1 && L(t[0]) && (t = t[0]), !t.length)
|
|
3474
3474
|
return Le();
|
|
@@ -3476,15 +3476,15 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3476
3476
|
(!t[n].isValid() || t[n][e](r)) && (r = t[n]);
|
|
3477
3477
|
return r;
|
|
3478
3478
|
}
|
|
3479
|
-
function
|
|
3479
|
+
function to() {
|
|
3480
3480
|
var e = [].slice.call(arguments, 0);
|
|
3481
|
-
return
|
|
3481
|
+
return Hr("isBefore", e);
|
|
3482
3482
|
}
|
|
3483
|
-
function
|
|
3483
|
+
function ao() {
|
|
3484
3484
|
var e = [].slice.call(arguments, 0);
|
|
3485
|
-
return
|
|
3485
|
+
return Hr("isAfter", e);
|
|
3486
3486
|
}
|
|
3487
|
-
var
|
|
3487
|
+
var ro = function() {
|
|
3488
3488
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
3489
3489
|
}, ra = [
|
|
3490
3490
|
"year",
|
|
@@ -3497,7 +3497,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3497
3497
|
"second",
|
|
3498
3498
|
"millisecond"
|
|
3499
3499
|
];
|
|
3500
|
-
function
|
|
3500
|
+
function no(e) {
|
|
3501
3501
|
var t, r = !1, n, l = ra.length;
|
|
3502
3502
|
for (t in e)
|
|
3503
3503
|
if (s(e, t) && !(He.call(ra, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
|
@@ -3510,17 +3510,17 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3510
3510
|
}
|
|
3511
3511
|
return !0;
|
|
3512
3512
|
}
|
|
3513
|
-
function
|
|
3513
|
+
function io() {
|
|
3514
3514
|
return this._isValid;
|
|
3515
3515
|
}
|
|
3516
|
-
function
|
|
3516
|
+
function oo() {
|
|
3517
3517
|
return mt(NaN);
|
|
3518
3518
|
}
|
|
3519
3519
|
function da(e) {
|
|
3520
3520
|
var t = me(e), r = t.year || 0, n = t.quarter || 0, l = t.month || 0, x = t.week || t.isoWeek || 0, V = t.day || 0, ne = t.hour || 0, pe = t.minute || 0, Oe = t.second || 0, at = t.millisecond || 0;
|
|
3521
|
-
this._isValid =
|
|
3521
|
+
this._isValid = no(t), this._milliseconds = +at + Oe * 1e3 + // 1000
|
|
3522
3522
|
pe * 6e4 + // 1000 * 60
|
|
3523
|
-
ne * 1e3 * 60 * 60, this._days = +V + x * 7, this._months = +l + n * 3 + r * 12, this._data = {}, this._locale =
|
|
3523
|
+
ne * 1e3 * 60 * 60, this._days = +V + x * 7, this._months = +l + n * 3 + r * 12, this._data = {}, this._locale = Mt(), this._bubble();
|
|
3524
3524
|
}
|
|
3525
3525
|
function ha(e) {
|
|
3526
3526
|
return e instanceof da;
|
|
@@ -3528,25 +3528,25 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3528
3528
|
function qa(e) {
|
|
3529
3529
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
|
3530
3530
|
}
|
|
3531
|
-
function
|
|
3531
|
+
function so(e, t, r) {
|
|
3532
3532
|
var n = Math.min(e.length, t.length), l = Math.abs(e.length - t.length), x = 0, V;
|
|
3533
3533
|
for (V = 0; V < n; V++)
|
|
3534
3534
|
Me(e[V]) !== Me(t[V]) && x++;
|
|
3535
3535
|
return x + l;
|
|
3536
3536
|
}
|
|
3537
|
-
function
|
|
3537
|
+
function $r(e, t) {
|
|
3538
3538
|
Q(e, 0, 0, function() {
|
|
3539
3539
|
var r = this.utcOffset(), n = "+";
|
|
3540
3540
|
return r < 0 && (r = -r, n = "-"), n + X(~~(r / 60), 2) + t + X(~~r % 60, 2);
|
|
3541
3541
|
});
|
|
3542
3542
|
}
|
|
3543
|
-
|
|
3543
|
+
$r("Z", ":"), $r("ZZ", ""), ae("Z", Ue), ae("ZZ", Ue), Pe(["Z", "ZZ"], function(e, t, r) {
|
|
3544
3544
|
r._useUTC = !0, r._tzm = Ja(Ue, e);
|
|
3545
3545
|
});
|
|
3546
|
-
var
|
|
3546
|
+
var lo = /([\+\-]|\d\d)/gi;
|
|
3547
3547
|
function Ja(e, t) {
|
|
3548
3548
|
var r = (t || "").match(e), n, l, x;
|
|
3549
|
-
return r === null ? null : (n = r[r.length - 1] || [], l = (n + "").match(
|
|
3549
|
+
return r === null ? null : (n = r[r.length - 1] || [], l = (n + "").match(lo) || ["-", 0, 0], x = +(l[1] * 60) + Me(l[2]), x === 0 ? 0 : l[0] === "+" ? x : -x);
|
|
3550
3550
|
}
|
|
3551
3551
|
function Ga(e, t) {
|
|
3552
3552
|
var r, n;
|
|
@@ -3557,7 +3557,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3557
3557
|
}
|
|
3558
3558
|
d.updateOffset = function() {
|
|
3559
3559
|
};
|
|
3560
|
-
function
|
|
3560
|
+
function uo(e, t, r) {
|
|
3561
3561
|
var n = this._offset || 0, l;
|
|
3562
3562
|
if (!this.isValid())
|
|
3563
3563
|
return e != null ? this : NaN;
|
|
@@ -3566,7 +3566,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3566
3566
|
if (e = Ja(Ue, e), e === null)
|
|
3567
3567
|
return this;
|
|
3568
3568
|
} else Math.abs(e) < 16 && !r && (e = e * 60);
|
|
3569
|
-
return !this._isUTC && t && (l = Ka(this)), this._offset = e, this._isUTC = !0, l != null && this.add(l, "m"), n !== e && (!t || this._changeInProgress ?
|
|
3569
|
+
return !this._isUTC && t && (l = Ka(this)), this._offset = e, this._isUTC = !0, l != null && this.add(l, "m"), n !== e && (!t || this._changeInProgress ? Jr(
|
|
3570
3570
|
this,
|
|
3571
3571
|
mt(e - n, "m"),
|
|
3572
3572
|
1,
|
|
@@ -3575,53 +3575,53 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3575
3575
|
} else
|
|
3576
3576
|
return this._isUTC ? n : Ka(this);
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function co(e, t) {
|
|
3579
3579
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
|
3580
3580
|
}
|
|
3581
|
-
function
|
|
3581
|
+
function ho(e) {
|
|
3582
3582
|
return this.utcOffset(0, e);
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3584
|
+
function fo(e) {
|
|
3585
3585
|
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(Ka(this), "m")), this;
|
|
3586
3586
|
}
|
|
3587
|
-
function
|
|
3587
|
+
function mo() {
|
|
3588
3588
|
if (this._tzm != null)
|
|
3589
3589
|
this.utcOffset(this._tzm, !1, !0);
|
|
3590
3590
|
else if (typeof this._i == "string") {
|
|
3591
|
-
var e = Ja(
|
|
3591
|
+
var e = Ja(wt, this._i);
|
|
3592
3592
|
e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
|
|
3593
3593
|
}
|
|
3594
3594
|
return this;
|
|
3595
3595
|
}
|
|
3596
|
-
function
|
|
3596
|
+
function po(e) {
|
|
3597
3597
|
return this.isValid() ? (e = e ? Le(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
|
|
3598
3598
|
}
|
|
3599
|
-
function
|
|
3599
|
+
function go() {
|
|
3600
3600
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
3601
3601
|
}
|
|
3602
|
-
function
|
|
3602
|
+
function yo() {
|
|
3603
3603
|
if (!a(this._isDSTShifted))
|
|
3604
3604
|
return this._isDSTShifted;
|
|
3605
3605
|
var e = {}, t;
|
|
3606
|
-
return S(e, this), e =
|
|
3606
|
+
return S(e, this), e = Wr(e), e._a ? (t = e._isUTC ? f(e._a) : Le(e._a), this._isDSTShifted = this.isValid() && so(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3608
|
+
function vo() {
|
|
3609
3609
|
return this.isValid() ? !this._isUTC : !1;
|
|
3610
3610
|
}
|
|
3611
|
-
function
|
|
3611
|
+
function _o() {
|
|
3612
3612
|
return this.isValid() ? this._isUTC : !1;
|
|
3613
3613
|
}
|
|
3614
|
-
function
|
|
3614
|
+
function Br() {
|
|
3615
3615
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
3616
3616
|
}
|
|
3617
|
-
var
|
|
3617
|
+
var bo = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, wo = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
3618
3618
|
function mt(e, t) {
|
|
3619
3619
|
var r = e, n = null, l, x, V;
|
|
3620
3620
|
return ha(e) ? r = {
|
|
3621
3621
|
ms: e._milliseconds,
|
|
3622
3622
|
d: e._days,
|
|
3623
3623
|
M: e._months
|
|
3624
|
-
} : o(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (n =
|
|
3624
|
+
} : o(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (n = bo.exec(e)) ? (l = n[1] === "-" ? -1 : 1, r = {
|
|
3625
3625
|
y: 0,
|
|
3626
3626
|
d: Me(n[U]) * l,
|
|
3627
3627
|
h: Me(n[K]) * l,
|
|
@@ -3629,7 +3629,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3629
3629
|
s: Me(n[xe]) * l,
|
|
3630
3630
|
ms: Me(qa(n[Ye] * 1e3)) * l
|
|
3631
3631
|
// the millisecond decimal point is included in the match
|
|
3632
|
-
}) : (n =
|
|
3632
|
+
}) : (n = wo.exec(e)) ? (l = n[1] === "-" ? -1 : 1, r = {
|
|
3633
3633
|
y: It(n[2], l),
|
|
3634
3634
|
M: It(n[3], l),
|
|
3635
3635
|
w: It(n[4], l),
|
|
@@ -3637,45 +3637,45 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3637
3637
|
h: It(n[6], l),
|
|
3638
3638
|
m: It(n[7], l),
|
|
3639
3639
|
s: It(n[8], l)
|
|
3640
|
-
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (V =
|
|
3640
|
+
}) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (V = xo(
|
|
3641
3641
|
Le(r.from),
|
|
3642
3642
|
Le(r.to)
|
|
3643
3643
|
), r = {}, r.ms = V.milliseconds, r.M = V.months), x = new da(r), ha(e) && s(e, "_locale") && (x._locale = e._locale), ha(e) && s(e, "_isValid") && (x._isValid = e._isValid), x;
|
|
3644
3644
|
}
|
|
3645
|
-
mt.fn = da.prototype, mt.invalid =
|
|
3645
|
+
mt.fn = da.prototype, mt.invalid = oo;
|
|
3646
3646
|
function It(e, t) {
|
|
3647
3647
|
var r = e && parseFloat(e.replace(",", "."));
|
|
3648
3648
|
return (isNaN(r) ? 0 : r) * t;
|
|
3649
3649
|
}
|
|
3650
|
-
function
|
|
3650
|
+
function Ur(e, t) {
|
|
3651
3651
|
var r = {};
|
|
3652
3652
|
return r.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(r.months, "M").isAfter(t) && --r.months, r.milliseconds = +t - +e.clone().add(r.months, "M"), r;
|
|
3653
3653
|
}
|
|
3654
|
-
function
|
|
3654
|
+
function xo(e, t) {
|
|
3655
3655
|
var r;
|
|
3656
|
-
return e.isValid() && t.isValid() ? (t = Ga(t, e), e.isBefore(t) ? r =
|
|
3656
|
+
return e.isValid() && t.isValid() ? (t = Ga(t, e), e.isBefore(t) ? r = Ur(e, t) : (r = Ur(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3658
|
+
function qr(e, t) {
|
|
3659
3659
|
return function(r, n) {
|
|
3660
3660
|
var l, x;
|
|
3661
3661
|
return n !== null && !isNaN(+n) && (R(
|
|
3662
3662
|
t,
|
|
3663
3663
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
3664
|
-
), x = r, r = n, n = x), l = mt(r, n),
|
|
3664
|
+
), x = r, r = n, n = x), l = mt(r, n), Jr(this, l, e), this;
|
|
3665
3665
|
};
|
|
3666
3666
|
}
|
|
3667
|
-
function
|
|
3667
|
+
function Jr(e, t, r, n) {
|
|
3668
3668
|
var l = t._milliseconds, x = qa(t._days), V = qa(t._months);
|
|
3669
|
-
e.isValid() && (n = n ?? !0, V &&
|
|
3669
|
+
e.isValid() && (n = n ?? !0, V && Tr(e, dt(e, "Month") + V * r), x && yt(e, "Date", dt(e, "Date") + x * r), l && e._d.setTime(e._d.valueOf() + l * r), n && d.updateOffset(e, x || V));
|
|
3670
3670
|
}
|
|
3671
|
-
var
|
|
3672
|
-
function
|
|
3671
|
+
var Mo = qr(1, "add"), So = qr(-1, "subtract");
|
|
3672
|
+
function Gr(e) {
|
|
3673
3673
|
return typeof e == "string" || e instanceof String;
|
|
3674
3674
|
}
|
|
3675
|
-
function So(e) {
|
|
3676
|
-
return T(e) || u(e) || Jr(e) || o(e) || ko(e) || Do(e) || e === null || e === void 0;
|
|
3677
|
-
}
|
|
3678
3675
|
function Do(e) {
|
|
3676
|
+
return T(e) || u(e) || Gr(e) || o(e) || Yo(e) || ko(e) || e === null || e === void 0;
|
|
3677
|
+
}
|
|
3678
|
+
function ko(e) {
|
|
3679
3679
|
var t = G(e) && !w(e), r = !1, n = [
|
|
3680
3680
|
"years",
|
|
3681
3681
|
"year",
|
|
@@ -3706,13 +3706,13 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3706
3706
|
x = n[l], r = r || s(e, x);
|
|
3707
3707
|
return t && r;
|
|
3708
3708
|
}
|
|
3709
|
-
function
|
|
3709
|
+
function Yo(e) {
|
|
3710
3710
|
var t = L(e), r = !1;
|
|
3711
3711
|
return t && (r = e.filter(function(n) {
|
|
3712
|
-
return !o(n) &&
|
|
3712
|
+
return !o(n) && Gr(e);
|
|
3713
3713
|
}).length === 0), t && r;
|
|
3714
3714
|
}
|
|
3715
|
-
function
|
|
3715
|
+
function Oo(e) {
|
|
3716
3716
|
var t = G(e) && !w(e), r = !1, n = [
|
|
3717
3717
|
"sameDay",
|
|
3718
3718
|
"nextDay",
|
|
@@ -3725,43 +3725,43 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3725
3725
|
x = n[l], r = r || s(e, x);
|
|
3726
3726
|
return t && r;
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3728
|
+
function jo(e, t) {
|
|
3729
3729
|
var r = e.diff(t, "days", !0);
|
|
3730
3730
|
return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
|
|
3731
3731
|
}
|
|
3732
|
-
function
|
|
3733
|
-
arguments.length === 1 && (arguments[0] ?
|
|
3732
|
+
function To(e, t) {
|
|
3733
|
+
arguments.length === 1 && (arguments[0] ? Do(arguments[0]) ? (e = arguments[0], t = void 0) : Oo(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
3734
3734
|
var r = e || Le(), n = Ga(r, this).startOf("day"), l = d.calendarFormat(this, n) || "sameElse", x = t && (I(t[l]) ? t[l].call(this, r) : t[l]);
|
|
3735
3735
|
return this.format(
|
|
3736
3736
|
x || this.localeData().calendar(l, this, Le(r))
|
|
3737
3737
|
);
|
|
3738
3738
|
}
|
|
3739
|
-
function
|
|
3739
|
+
function Co() {
|
|
3740
3740
|
return new y(this);
|
|
3741
3741
|
}
|
|
3742
|
-
function
|
|
3742
|
+
function No(e, t) {
|
|
3743
3743
|
var r = T(e) ? e : Le(e);
|
|
3744
3744
|
return this.isValid() && r.isValid() ? (t = ue(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
|
3745
3745
|
}
|
|
3746
|
-
function
|
|
3746
|
+
function Po(e, t) {
|
|
3747
3747
|
var r = T(e) ? e : Le(e);
|
|
3748
3748
|
return this.isValid() && r.isValid() ? (t = ue(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
|
|
3749
3749
|
}
|
|
3750
|
-
function
|
|
3750
|
+
function Ao(e, t, r, n) {
|
|
3751
3751
|
var l = T(e) ? e : Le(e), x = T(t) ? t : Le(t);
|
|
3752
3752
|
return this.isValid() && l.isValid() && x.isValid() ? (n = n || "()", (n[0] === "(" ? this.isAfter(l, r) : !this.isBefore(l, r)) && (n[1] === ")" ? this.isBefore(x, r) : !this.isAfter(x, r))) : !1;
|
|
3753
3753
|
}
|
|
3754
|
-
function
|
|
3754
|
+
function Eo(e, t) {
|
|
3755
3755
|
var r = T(e) ? e : Le(e), n;
|
|
3756
3756
|
return this.isValid() && r.isValid() ? (t = ue(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (n = r.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) : !1;
|
|
3757
3757
|
}
|
|
3758
|
-
function
|
|
3758
|
+
function Ro(e, t) {
|
|
3759
3759
|
return this.isSame(e, t) || this.isAfter(e, t);
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function Io(e, t) {
|
|
3762
3762
|
return this.isSame(e, t) || this.isBefore(e, t);
|
|
3763
3763
|
}
|
|
3764
|
-
function
|
|
3764
|
+
function Fo(e, t, r) {
|
|
3765
3765
|
var n, l, x;
|
|
3766
3766
|
if (!this.isValid())
|
|
3767
3767
|
return NaN;
|
|
@@ -3809,10 +3809,10 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3809
3809
|
return t - n < 0 ? (l = e.clone().add(r - 1, "months"), x = (t - n) / (n - l)) : (l = e.clone().add(r + 1, "months"), x = (t - n) / (l - n)), -(r + x) || 0;
|
|
3810
3810
|
}
|
|
3811
3811
|
d.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", d.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
3812
|
-
function
|
|
3812
|
+
function zo() {
|
|
3813
3813
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
3814
3814
|
}
|
|
3815
|
-
function
|
|
3815
|
+
function Lo(e) {
|
|
3816
3816
|
if (!this.isValid())
|
|
3817
3817
|
return null;
|
|
3818
3818
|
var t = e !== !0, r = t ? this.clone().utc() : this;
|
|
@@ -3824,57 +3824,57 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3824
3824
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
3825
3825
|
);
|
|
3826
3826
|
}
|
|
3827
|
-
function
|
|
3827
|
+
function Wo() {
|
|
3828
3828
|
if (!this.isValid())
|
|
3829
3829
|
return "moment.invalid(/* " + this._i + " */)";
|
|
3830
3830
|
var e = "moment", t = "", r, n, l, x;
|
|
3831
3831
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), r = "[" + e + '("]', n = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", l = "-MM-DD[T]HH:mm:ss.SSS", x = t + '[")]', this.format(r + n + l + x);
|
|
3832
3832
|
}
|
|
3833
|
-
function
|
|
3833
|
+
function Vo(e) {
|
|
3834
3834
|
e || (e = this.isUtc() ? d.defaultFormatUtc : d.defaultFormat);
|
|
3835
3835
|
var t = ve(this, e);
|
|
3836
3836
|
return this.localeData().postformat(t);
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function Ho(e, t) {
|
|
3839
3839
|
return this.isValid() && (T(e) && e.isValid() || Le(e).isValid()) ? mt({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
3840
3840
|
}
|
|
3841
|
-
function
|
|
3841
|
+
function $o(e) {
|
|
3842
3842
|
return this.from(Le(), e);
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function Bo(e, t) {
|
|
3845
3845
|
return this.isValid() && (T(e) && e.isValid() || Le(e).isValid()) ? mt({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
|
3846
3846
|
}
|
|
3847
|
-
function
|
|
3847
|
+
function Uo(e) {
|
|
3848
3848
|
return this.to(Le(), e);
|
|
3849
3849
|
}
|
|
3850
|
-
function
|
|
3850
|
+
function Kr(e) {
|
|
3851
3851
|
var t;
|
|
3852
|
-
return e === void 0 ? this._locale._abbr : (t =
|
|
3852
|
+
return e === void 0 ? this._locale._abbr : (t = Mt(e), t != null && (this._locale = t), this);
|
|
3853
3853
|
}
|
|
3854
|
-
var
|
|
3854
|
+
var Xr = C(
|
|
3855
3855
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
3856
3856
|
function(e) {
|
|
3857
3857
|
return e === void 0 ? this.localeData() : this.locale(e);
|
|
3858
3858
|
}
|
|
3859
3859
|
);
|
|
3860
|
-
function
|
|
3860
|
+
function Qr() {
|
|
3861
3861
|
return this._locale;
|
|
3862
3862
|
}
|
|
3863
|
-
var ma = 1e3, Bt = 60 * ma, pa = 60 * Bt,
|
|
3863
|
+
var ma = 1e3, Bt = 60 * ma, pa = 60 * Bt, Zr = (365 * 400 + 97) * 24 * pa;
|
|
3864
3864
|
function Ut(e, t) {
|
|
3865
3865
|
return (e % t + t) % t;
|
|
3866
3866
|
}
|
|
3867
|
-
function Zr(e, t, r) {
|
|
3868
|
-
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - Qr : new Date(e, t, r).valueOf();
|
|
3869
|
-
}
|
|
3870
3867
|
function en(e, t, r) {
|
|
3871
|
-
return e < 100 && e >= 0 ? Date
|
|
3868
|
+
return e < 100 && e >= 0 ? new Date(e + 400, t, r) - Zr : new Date(e, t, r).valueOf();
|
|
3872
3869
|
}
|
|
3873
|
-
function
|
|
3870
|
+
function tn(e, t, r) {
|
|
3871
|
+
return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - Zr : Date.UTC(e, t, r);
|
|
3872
|
+
}
|
|
3873
|
+
function qo(e) {
|
|
3874
3874
|
var t, r;
|
|
3875
3875
|
if (e = ue(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
3876
3876
|
return this;
|
|
3877
|
-
switch (r = this._isUTC ?
|
|
3877
|
+
switch (r = this._isUTC ? tn : en, e) {
|
|
3878
3878
|
case "year":
|
|
3879
3879
|
t = r(this.year(), 0, 1);
|
|
3880
3880
|
break;
|
|
@@ -3921,11 +3921,11 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3921
3921
|
}
|
|
3922
3922
|
return this._d.setTime(t), d.updateOffset(this, !0), this;
|
|
3923
3923
|
}
|
|
3924
|
-
function
|
|
3924
|
+
function Jo(e) {
|
|
3925
3925
|
var t, r;
|
|
3926
3926
|
if (e = ue(e), e === void 0 || e === "millisecond" || !this.isValid())
|
|
3927
3927
|
return this;
|
|
3928
|
-
switch (r = this._isUTC ?
|
|
3928
|
+
switch (r = this._isUTC ? tn : en, e) {
|
|
3929
3929
|
case "year":
|
|
3930
3930
|
t = r(this.year() + 1, 0, 1) - 1;
|
|
3931
3931
|
break;
|
|
@@ -3972,16 +3972,16 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3972
3972
|
}
|
|
3973
3973
|
return this._d.setTime(t), d.updateOffset(this, !0), this;
|
|
3974
3974
|
}
|
|
3975
|
-
function
|
|
3975
|
+
function Go() {
|
|
3976
3976
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
3977
3977
|
}
|
|
3978
|
-
function
|
|
3978
|
+
function Ko() {
|
|
3979
3979
|
return Math.floor(this.valueOf() / 1e3);
|
|
3980
3980
|
}
|
|
3981
|
-
function
|
|
3981
|
+
function Xo() {
|
|
3982
3982
|
return new Date(this.valueOf());
|
|
3983
3983
|
}
|
|
3984
|
-
function
|
|
3984
|
+
function Qo() {
|
|
3985
3985
|
var e = this;
|
|
3986
3986
|
return [
|
|
3987
3987
|
e.year(),
|
|
@@ -3993,7 +3993,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
3993
3993
|
e.millisecond()
|
|
3994
3994
|
];
|
|
3995
3995
|
}
|
|
3996
|
-
function
|
|
3996
|
+
function Zo() {
|
|
3997
3997
|
var e = this;
|
|
3998
3998
|
return {
|
|
3999
3999
|
years: e.year(),
|
|
@@ -4005,19 +4005,19 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4005
4005
|
milliseconds: e.milliseconds()
|
|
4006
4006
|
};
|
|
4007
4007
|
}
|
|
4008
|
-
function
|
|
4008
|
+
function es() {
|
|
4009
4009
|
return this.isValid() ? this.toISOString() : null;
|
|
4010
4010
|
}
|
|
4011
|
-
function
|
|
4011
|
+
function ts() {
|
|
4012
4012
|
return O(this);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function as() {
|
|
4015
4015
|
return p({}, v(this));
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4017
|
+
function rs() {
|
|
4018
4018
|
return v(this).overflow;
|
|
4019
4019
|
}
|
|
4020
|
-
function
|
|
4020
|
+
function ns() {
|
|
4021
4021
|
return {
|
|
4022
4022
|
input: this._i,
|
|
4023
4023
|
format: this._f,
|
|
@@ -4026,18 +4026,18 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4026
4026
|
strict: this._strict
|
|
4027
4027
|
};
|
|
4028
4028
|
}
|
|
4029
|
-
Q("N", 0, 0, "eraAbbr"), Q("NN", 0, 0, "eraAbbr"), Q("NNN", 0, 0, "eraAbbr"), Q("NNNN", 0, 0, "eraName"), Q("NNNNN", 0, 0, "eraNarrow"), Q("y", ["y", 1], "yo", "eraYear"), Q("y", ["yy", 2], 0, "eraYear"), Q("y", ["yyy", 3], 0, "eraYear"), Q("y", ["yyyy", 4], 0, "eraYear"), ae("N", Xa), ae("NN", Xa), ae("NNN", Xa), ae("NNNN",
|
|
4029
|
+
Q("N", 0, 0, "eraAbbr"), Q("NN", 0, 0, "eraAbbr"), Q("NNN", 0, 0, "eraAbbr"), Q("NNNN", 0, 0, "eraName"), Q("NNNNN", 0, 0, "eraNarrow"), Q("y", ["y", 1], "yo", "eraYear"), Q("y", ["yy", 2], 0, "eraYear"), Q("y", ["yyy", 3], 0, "eraYear"), Q("y", ["yyyy", 4], 0, "eraYear"), ae("N", Xa), ae("NN", Xa), ae("NNN", Xa), ae("NNNN", ps), ae("NNNNN", gs), Pe(
|
|
4030
4030
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
4031
4031
|
function(e, t, r, n) {
|
|
4032
4032
|
var l = r._locale.erasParse(e, n, r._strict);
|
|
4033
4033
|
l ? v(r).era = l : v(r).invalidEra = e;
|
|
4034
4034
|
}
|
|
4035
|
-
), ae("y", lt), ae("yy", lt), ae("yyy", lt), ae("yyyy", lt), ae("yo",
|
|
4035
|
+
), ae("y", lt), ae("yy", lt), ae("yyy", lt), ae("yyyy", lt), ae("yo", ys), Pe(["y", "yy", "yyy", "yyyy"], Xe), Pe(["yo"], function(e, t, r, n) {
|
|
4036
4036
|
var l;
|
|
4037
4037
|
r._locale._eraYearOrdinalRegex && (l = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Xe] = r._locale.eraYearOrdinalParse(e, l) : t[Xe] = parseInt(e, 10);
|
|
4038
4038
|
});
|
|
4039
|
-
function
|
|
4040
|
-
var r, n, l, x = this._eras ||
|
|
4039
|
+
function is(e, t) {
|
|
4040
|
+
var r, n, l, x = this._eras || Mt("en")._eras;
|
|
4041
4041
|
for (r = 0, n = x.length; r < n; ++r) {
|
|
4042
4042
|
switch (typeof x[r].since) {
|
|
4043
4043
|
case "string":
|
|
@@ -4055,7 +4055,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4055
4055
|
}
|
|
4056
4056
|
return x;
|
|
4057
4057
|
}
|
|
4058
|
-
function
|
|
4058
|
+
function os(e, t, r) {
|
|
4059
4059
|
var n, l, x = this.eras(), V, ne, pe;
|
|
4060
4060
|
for (e = e.toUpperCase(), n = 0, l = x.length; n < l; ++n)
|
|
4061
4061
|
if (V = x[n].name.toUpperCase(), ne = x[n].abbr.toUpperCase(), pe = x[n].narrow.toUpperCase(), r)
|
|
@@ -4078,57 +4078,57 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4078
4078
|
else if ([V, ne, pe].indexOf(e) >= 0)
|
|
4079
4079
|
return x[n];
|
|
4080
4080
|
}
|
|
4081
|
-
function
|
|
4081
|
+
function ss(e, t) {
|
|
4082
4082
|
var r = e.since <= e.until ? 1 : -1;
|
|
4083
4083
|
return t === void 0 ? d(e.since).year() : d(e.since).year() + (t - e.offset) * r;
|
|
4084
4084
|
}
|
|
4085
|
-
function
|
|
4085
|
+
function ls() {
|
|
4086
4086
|
var e, t, r, n = this.localeData().eras();
|
|
4087
4087
|
for (e = 0, t = n.length; e < t; ++e)
|
|
4088
4088
|
if (r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
|
|
4089
4089
|
return n[e].name;
|
|
4090
4090
|
return "";
|
|
4091
4091
|
}
|
|
4092
|
-
function
|
|
4092
|
+
function us() {
|
|
4093
4093
|
var e, t, r, n = this.localeData().eras();
|
|
4094
4094
|
for (e = 0, t = n.length; e < t; ++e)
|
|
4095
4095
|
if (r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
|
|
4096
4096
|
return n[e].narrow;
|
|
4097
4097
|
return "";
|
|
4098
4098
|
}
|
|
4099
|
-
function
|
|
4099
|
+
function cs() {
|
|
4100
4100
|
var e, t, r, n = this.localeData().eras();
|
|
4101
4101
|
for (e = 0, t = n.length; e < t; ++e)
|
|
4102
4102
|
if (r = this.clone().startOf("day").valueOf(), n[e].since <= r && r <= n[e].until || n[e].until <= r && r <= n[e].since)
|
|
4103
4103
|
return n[e].abbr;
|
|
4104
4104
|
return "";
|
|
4105
4105
|
}
|
|
4106
|
-
function
|
|
4106
|
+
function ds() {
|
|
4107
4107
|
var e, t, r, n, l = this.localeData().eras();
|
|
4108
4108
|
for (e = 0, t = l.length; e < t; ++e)
|
|
4109
4109
|
if (r = l[e].since <= l[e].until ? 1 : -1, n = this.clone().startOf("day").valueOf(), l[e].since <= n && n <= l[e].until || l[e].until <= n && n <= l[e].since)
|
|
4110
4110
|
return (this.year() - d(l[e].since).year()) * r + l[e].offset;
|
|
4111
4111
|
return this.year();
|
|
4112
4112
|
}
|
|
4113
|
-
function
|
|
4113
|
+
function hs(e) {
|
|
4114
4114
|
return s(this, "_erasNameRegex") || Qa.call(this), e ? this._erasNameRegex : this._erasRegex;
|
|
4115
4115
|
}
|
|
4116
|
-
function
|
|
4116
|
+
function fs(e) {
|
|
4117
4117
|
return s(this, "_erasAbbrRegex") || Qa.call(this), e ? this._erasAbbrRegex : this._erasRegex;
|
|
4118
4118
|
}
|
|
4119
|
-
function
|
|
4119
|
+
function ms(e) {
|
|
4120
4120
|
return s(this, "_erasNarrowRegex") || Qa.call(this), e ? this._erasNarrowRegex : this._erasRegex;
|
|
4121
4121
|
}
|
|
4122
4122
|
function Xa(e, t) {
|
|
4123
4123
|
return t.erasAbbrRegex(e);
|
|
4124
4124
|
}
|
|
4125
|
-
function
|
|
4125
|
+
function ps(e, t) {
|
|
4126
4126
|
return t.erasNameRegex(e);
|
|
4127
4127
|
}
|
|
4128
|
-
function
|
|
4128
|
+
function gs(e, t) {
|
|
4129
4129
|
return t.erasNarrowRegex(e);
|
|
4130
4130
|
}
|
|
4131
|
-
function
|
|
4131
|
+
function ys(e, t) {
|
|
4132
4132
|
return t._eraYearOrdinalRegex || lt;
|
|
4133
4133
|
}
|
|
4134
4134
|
function Qa() {
|
|
@@ -4148,7 +4148,7 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4148
4148
|
function ga(e, t) {
|
|
4149
4149
|
Q(0, [e, e.length], 0, t);
|
|
4150
4150
|
}
|
|
4151
|
-
ga("gggg", "weekYear"), ga("ggggg", "weekYear"), ga("GGGG", "isoWeekYear"), ga("GGGGG", "isoWeekYear"), ae("G",
|
|
4151
|
+
ga("gggg", "weekYear"), ga("ggggg", "weekYear"), ga("GGGG", "isoWeekYear"), ga("GGGGG", "isoWeekYear"), ae("G", bt), ae("g", bt), ae("GG", be, Ie), ae("gg", be, Ie), ae("GGGG", _t, Qe), ae("gggg", _t, Qe), ae("GGGGG", pt, ge), ae("ggggg", pt, ge), Rt(
|
|
4152
4152
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
4153
4153
|
function(e, t, r, n) {
|
|
4154
4154
|
t[n.substr(0, 2)] = Me(e);
|
|
@@ -4156,8 +4156,8 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4156
4156
|
), Rt(["gg", "GG"], function(e, t, r, n) {
|
|
4157
4157
|
t[n] = d.parseTwoDigitYear(e);
|
|
4158
4158
|
});
|
|
4159
|
-
function
|
|
4160
|
-
return
|
|
4159
|
+
function vs(e) {
|
|
4160
|
+
return an.call(
|
|
4161
4161
|
this,
|
|
4162
4162
|
e,
|
|
4163
4163
|
this.week(),
|
|
@@ -4166,8 +4166,8 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4166
4166
|
this.localeData()._week.doy
|
|
4167
4167
|
);
|
|
4168
4168
|
}
|
|
4169
|
-
function
|
|
4170
|
-
return
|
|
4169
|
+
function _s(e) {
|
|
4170
|
+
return an.call(
|
|
4171
4171
|
this,
|
|
4172
4172
|
e,
|
|
4173
4173
|
this.isoWeek(),
|
|
@@ -4176,32 +4176,32 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4176
4176
|
4
|
|
4177
4177
|
);
|
|
4178
4178
|
}
|
|
4179
|
-
function _s() {
|
|
4180
|
-
return Mt(this.year(), 1, 4);
|
|
4181
|
-
}
|
|
4182
4179
|
function bs() {
|
|
4183
|
-
return
|
|
4180
|
+
return xt(this.year(), 1, 4);
|
|
4184
4181
|
}
|
|
4185
4182
|
function ws() {
|
|
4186
|
-
|
|
4187
|
-
return Mt(this.year(), e.dow, e.doy);
|
|
4183
|
+
return xt(this.isoWeekYear(), 1, 4);
|
|
4188
4184
|
}
|
|
4189
4185
|
function xs() {
|
|
4190
4186
|
var e = this.localeData()._week;
|
|
4191
|
-
return
|
|
4187
|
+
return xt(this.year(), e.dow, e.doy);
|
|
4188
|
+
}
|
|
4189
|
+
function Ms() {
|
|
4190
|
+
var e = this.localeData()._week;
|
|
4191
|
+
return xt(this.weekYear(), e.dow, e.doy);
|
|
4192
4192
|
}
|
|
4193
|
-
function
|
|
4193
|
+
function an(e, t, r, n, l) {
|
|
4194
4194
|
var x;
|
|
4195
|
-
return e == null ? ea(this, n, l).year : (x =
|
|
4195
|
+
return e == null ? ea(this, n, l).year : (x = xt(e, n, l), t > x && (t = x), Ss.call(this, e, t, r, n, l));
|
|
4196
4196
|
}
|
|
4197
|
-
function
|
|
4198
|
-
var x =
|
|
4197
|
+
function Ss(e, t, r, n, l) {
|
|
4198
|
+
var x = Pr(e, t, r, n, l), V = Zt(x.year, 0, x.dayOfYear);
|
|
4199
4199
|
return this.year(V.getUTCFullYear()), this.month(V.getUTCMonth()), this.date(V.getUTCDate()), this;
|
|
4200
4200
|
}
|
|
4201
4201
|
Q("Q", 0, "Qo", "quarter"), ae("Q", $e), Pe("Q", function(e, t) {
|
|
4202
4202
|
t[b] = (Me(e) - 1) * 3;
|
|
4203
4203
|
});
|
|
4204
|
-
function
|
|
4204
|
+
function Ds(e) {
|
|
4205
4205
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
|
4206
4206
|
}
|
|
4207
4207
|
Q("D", ["DD", 2], "Do", "date"), ae("D", be, ut), ae("DD", be, Ie), ae("Do", function(e, t) {
|
|
@@ -4209,20 +4209,20 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4209
4209
|
}), Pe(["D", "DD"], U), Pe("Do", function(e, t) {
|
|
4210
4210
|
t[U] = Me(e.match(be)[0]);
|
|
4211
4211
|
});
|
|
4212
|
-
var
|
|
4212
|
+
var rn = Ke("Date", !0);
|
|
4213
4213
|
Q("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), ae("DDD", ht), ae("DDDD", Ge), Pe(["DDD", "DDDD"], function(e, t, r) {
|
|
4214
4214
|
r._dayOfYear = Me(e);
|
|
4215
4215
|
});
|
|
4216
|
-
function
|
|
4216
|
+
function ks(e) {
|
|
4217
4217
|
var t = Math.round(
|
|
4218
4218
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
4219
4219
|
) + 1;
|
|
4220
4220
|
return e == null ? t : this.add(e - t, "d");
|
|
4221
4221
|
}
|
|
4222
4222
|
Q("m", ["mm", 2], 0, "minute"), ae("m", be, ot), ae("mm", be, Ie), Pe(["m", "mm"], se);
|
|
4223
|
-
var
|
|
4223
|
+
var Ys = Ke("Minutes", !1);
|
|
4224
4224
|
Q("s", ["ss", 2], 0, "second"), ae("s", be, ot), ae("ss", be, Ie), Pe(["s", "ss"], xe);
|
|
4225
|
-
var
|
|
4225
|
+
var Os = Ke("Seconds", !1);
|
|
4226
4226
|
Q("S", 0, 0, function() {
|
|
4227
4227
|
return ~~(this.millisecond() / 100);
|
|
4228
4228
|
}), Q(0, ["SS", 2], 0, function() {
|
|
@@ -4240,56 +4240,56 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4240
4240
|
}), Q(0, ["SSSSSSSSS", 9], 0, function() {
|
|
4241
4241
|
return this.millisecond() * 1e6;
|
|
4242
4242
|
}), ae("S", ht, $e), ae("SS", ht, Ie), ae("SSS", ht, Ge);
|
|
4243
|
-
var
|
|
4244
|
-
for (
|
|
4245
|
-
ae(
|
|
4246
|
-
function
|
|
4243
|
+
var Tt, nn;
|
|
4244
|
+
for (Tt = "SSSS"; Tt.length <= 9; Tt += "S")
|
|
4245
|
+
ae(Tt, lt);
|
|
4246
|
+
function js(e, t) {
|
|
4247
4247
|
t[Ye] = Me(("0." + e) * 1e3);
|
|
4248
4248
|
}
|
|
4249
|
-
for (
|
|
4250
|
-
Pe(
|
|
4251
|
-
|
|
4252
|
-
function
|
|
4249
|
+
for (Tt = "S"; Tt.length <= 9; Tt += "S")
|
|
4250
|
+
Pe(Tt, js);
|
|
4251
|
+
nn = Ke("Milliseconds", !1), Q("z", 0, 0, "zoneAbbr"), Q("zz", 0, 0, "zoneName");
|
|
4252
|
+
function Ts() {
|
|
4253
4253
|
return this._isUTC ? "UTC" : "";
|
|
4254
4254
|
}
|
|
4255
|
-
function
|
|
4255
|
+
function Cs() {
|
|
4256
4256
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
4257
4257
|
}
|
|
4258
4258
|
var J = y.prototype;
|
|
4259
|
-
J.add =
|
|
4259
|
+
J.add = Mo, J.calendar = To, J.clone = Co, J.diff = Fo, J.endOf = Jo, J.format = Vo, J.from = Ho, J.fromNow = $o, J.to = Bo, J.toNow = Uo, J.get = et, J.invalidAt = rs, J.isAfter = No, J.isBefore = Po, J.isBetween = Ao, J.isSame = Eo, J.isSameOrAfter = Ro, J.isSameOrBefore = Io, J.isValid = ts, J.lang = Xr, J.locale = Kr, J.localeData = Qr, J.max = eo, J.min = Zi, J.parsingFlags = as, J.set = Qt, J.startOf = qo, J.subtract = So, J.toArray = Qo, J.toObject = Zo, J.toDate = Xo, J.toISOString = Lo, J.inspect = Wo, typeof Symbol < "u" && Symbol.for != null && (J[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
4260
4260
|
return "Moment<" + this.format() + ">";
|
|
4261
|
-
}), J.toJSON =
|
|
4261
|
+
}), J.toJSON = es, J.toString = zo, J.unix = Ko, J.valueOf = Go, J.creationData = ns, J.eraName = ls, J.eraNarrow = us, J.eraAbbr = cs, J.eraYear = ds, J.year = We, J.isLeapYear = Be, J.weekYear = vs, J.isoWeekYear = _s, J.quarter = J.quarters = Ds, J.month = Cr, J.daysInMonth = Kn, J.week = J.weeks = ni, J.isoWeek = J.isoWeeks = ii, J.weeksInYear = xs, J.weeksInWeekYear = Ms, J.isoWeeksInYear = bs, J.isoWeeksInISOWeekYear = ws, J.date = rn, J.day = J.days = vi, J.weekday = _i, J.isoWeekday = bi, J.dayOfYear = ks, J.hour = J.hours = Yi, J.minute = J.minutes = Ys, J.second = J.seconds = Os, J.millisecond = J.milliseconds = nn, J.utcOffset = uo, J.utc = ho, J.local = fo, J.parseZone = mo, J.hasAlignedHourOffset = po, J.isDST = go, J.isLocal = vo, J.isUtcOffset = _o, J.isUtc = Br, J.isUTC = Br, J.zoneAbbr = Ts, J.zoneName = Cs, J.dates = C(
|
|
4262
4262
|
"dates accessor is deprecated. Use date instead.",
|
|
4263
|
-
|
|
4263
|
+
rn
|
|
4264
4264
|
), J.months = C(
|
|
4265
4265
|
"months accessor is deprecated. Use month instead",
|
|
4266
|
-
|
|
4266
|
+
Cr
|
|
4267
4267
|
), J.years = C(
|
|
4268
4268
|
"years accessor is deprecated. Use year instead",
|
|
4269
4269
|
We
|
|
4270
4270
|
), J.zone = C(
|
|
4271
4271
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
4272
|
-
|
|
4272
|
+
co
|
|
4273
4273
|
), J.isDSTShifted = C(
|
|
4274
4274
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
4275
|
-
|
|
4275
|
+
yo
|
|
4276
4276
|
);
|
|
4277
|
-
function
|
|
4277
|
+
function Ns(e) {
|
|
4278
4278
|
return Le(e * 1e3);
|
|
4279
4279
|
}
|
|
4280
|
-
function
|
|
4280
|
+
function Ps() {
|
|
4281
4281
|
return Le.apply(null, arguments).parseZone();
|
|
4282
4282
|
}
|
|
4283
|
-
function
|
|
4283
|
+
function on(e) {
|
|
4284
4284
|
return e;
|
|
4285
4285
|
}
|
|
4286
4286
|
var Ne = q.prototype;
|
|
4287
|
-
Ne.calendar = de, Ne.longDateFormat = ze, Ne.invalidDate = _, Ne.ordinal = E, Ne.preparse =
|
|
4287
|
+
Ne.calendar = de, Ne.longDateFormat = ze, Ne.invalidDate = _, Ne.ordinal = E, Ne.preparse = on, Ne.postformat = on, Ne.relativeTime = ee, Ne.pastFuture = ie, Ne.set = A, Ne.eras = is, Ne.erasParse = os, Ne.erasConvertYear = ss, Ne.erasAbbrRegex = fs, Ne.erasNameRegex = hs, Ne.erasNarrowRegex = ms, Ne.months = Un, Ne.monthsShort = qn, Ne.monthsParse = Gn, Ne.monthsRegex = Qn, Ne.monthsShortRegex = Xn, Ne.week = ei, Ne.firstDayOfYear = ri, Ne.firstDayOfWeek = ai, Ne.weekdays = fi, Ne.weekdaysMin = pi, Ne.weekdaysShort = mi, Ne.weekdaysParse = yi, Ne.weekdaysRegex = wi, Ne.weekdaysShortRegex = xi, Ne.weekdaysMinRegex = Mi, Ne.isPM = Di, Ne.meridiem = Oi;
|
|
4288
4288
|
function ya(e, t, r, n) {
|
|
4289
|
-
var l =
|
|
4289
|
+
var l = Mt(), x = f().set(n, t);
|
|
4290
4290
|
return l[r](x, e);
|
|
4291
4291
|
}
|
|
4292
|
-
function
|
|
4292
|
+
function sn(e, t, r) {
|
|
4293
4293
|
if (o(e) && (t = e, e = void 0), e = e || "", t != null)
|
|
4294
4294
|
return ya(e, t, r, "month");
|
|
4295
4295
|
var n, l = [];
|
|
@@ -4299,29 +4299,29 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4299
4299
|
}
|
|
4300
4300
|
function Za(e, t, r, n) {
|
|
4301
4301
|
typeof e == "boolean" ? (o(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, o(t) && (r = t, t = void 0), t = t || "");
|
|
4302
|
-
var l =
|
|
4302
|
+
var l = Mt(), x = e ? l._week.dow : 0, V, ne = [];
|
|
4303
4303
|
if (r != null)
|
|
4304
4304
|
return ya(t, (r + x) % 7, n, "day");
|
|
4305
4305
|
for (V = 0; V < 7; V++)
|
|
4306
4306
|
ne[V] = ya(t, (V + x) % 7, n, "day");
|
|
4307
4307
|
return ne;
|
|
4308
4308
|
}
|
|
4309
|
-
function Ps(e, t) {
|
|
4310
|
-
return on(e, t, "months");
|
|
4311
|
-
}
|
|
4312
4309
|
function As(e, t) {
|
|
4313
|
-
return
|
|
4310
|
+
return sn(e, t, "months");
|
|
4314
4311
|
}
|
|
4315
|
-
function Es(e, t
|
|
4316
|
-
return
|
|
4312
|
+
function Es(e, t) {
|
|
4313
|
+
return sn(e, t, "monthsShort");
|
|
4317
4314
|
}
|
|
4318
4315
|
function Rs(e, t, r) {
|
|
4319
|
-
return Za(e, t, r, "
|
|
4316
|
+
return Za(e, t, r, "weekdays");
|
|
4320
4317
|
}
|
|
4321
4318
|
function Is(e, t, r) {
|
|
4319
|
+
return Za(e, t, r, "weekdaysShort");
|
|
4320
|
+
}
|
|
4321
|
+
function Fs(e, t, r) {
|
|
4322
4322
|
return Za(e, t, r, "weekdaysMin");
|
|
4323
4323
|
}
|
|
4324
|
-
|
|
4324
|
+
jt("en", {
|
|
4325
4325
|
eras: [
|
|
4326
4326
|
{
|
|
4327
4327
|
since: "0001-01-01",
|
|
@@ -4347,45 +4347,45 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4347
4347
|
}
|
|
4348
4348
|
}), d.lang = C(
|
|
4349
4349
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
4350
|
-
|
|
4350
|
+
jt
|
|
4351
4351
|
), d.langData = C(
|
|
4352
4352
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
4353
|
-
|
|
4353
|
+
Mt
|
|
4354
4354
|
);
|
|
4355
|
-
var
|
|
4356
|
-
function
|
|
4355
|
+
var St = Math.abs;
|
|
4356
|
+
function zs() {
|
|
4357
4357
|
var e = this._data;
|
|
4358
|
-
return this._milliseconds =
|
|
4358
|
+
return this._milliseconds = St(this._milliseconds), this._days = St(this._days), this._months = St(this._months), e.milliseconds = St(e.milliseconds), e.seconds = St(e.seconds), e.minutes = St(e.minutes), e.hours = St(e.hours), e.months = St(e.months), e.years = St(e.years), this;
|
|
4359
4359
|
}
|
|
4360
|
-
function
|
|
4360
|
+
function ln(e, t, r, n) {
|
|
4361
4361
|
var l = mt(t, r);
|
|
4362
4362
|
return e._milliseconds += n * l._milliseconds, e._days += n * l._days, e._months += n * l._months, e._bubble();
|
|
4363
4363
|
}
|
|
4364
|
-
function zs(e, t) {
|
|
4365
|
-
return sn(this, e, t, 1);
|
|
4366
|
-
}
|
|
4367
4364
|
function Ls(e, t) {
|
|
4368
|
-
return
|
|
4365
|
+
return ln(this, e, t, 1);
|
|
4366
|
+
}
|
|
4367
|
+
function Ws(e, t) {
|
|
4368
|
+
return ln(this, e, t, -1);
|
|
4369
4369
|
}
|
|
4370
|
-
function
|
|
4370
|
+
function un(e) {
|
|
4371
4371
|
return e < 0 ? Math.floor(e) : Math.ceil(e);
|
|
4372
4372
|
}
|
|
4373
|
-
function
|
|
4373
|
+
function Vs() {
|
|
4374
4374
|
var e = this._milliseconds, t = this._days, r = this._months, n = this._data, l, x, V, ne, pe;
|
|
4375
|
-
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e +=
|
|
4375
|
+
return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += un(er(r) + t) * 864e5, t = 0, r = 0), n.milliseconds = e % 1e3, l = st(e / 1e3), n.seconds = l % 60, x = st(l / 60), n.minutes = x % 60, V = st(x / 60), n.hours = V % 24, t += st(V / 24), pe = st(cn(t)), r += pe, t -= un(er(pe)), ne = st(r / 12), r %= 12, n.days = t, n.months = r, n.years = ne, this;
|
|
4376
4376
|
}
|
|
4377
|
-
function
|
|
4377
|
+
function cn(e) {
|
|
4378
4378
|
return e * 4800 / 146097;
|
|
4379
4379
|
}
|
|
4380
4380
|
function er(e) {
|
|
4381
4381
|
return e * 146097 / 4800;
|
|
4382
4382
|
}
|
|
4383
|
-
function
|
|
4383
|
+
function Hs(e) {
|
|
4384
4384
|
if (!this.isValid())
|
|
4385
4385
|
return NaN;
|
|
4386
4386
|
var t, r, n = this._milliseconds;
|
|
4387
4387
|
if (e = ue(e), e === "month" || e === "quarter" || e === "year")
|
|
4388
|
-
switch (t = this._days + n / 864e5, r = this._months +
|
|
4388
|
+
switch (t = this._days + n / 864e5, r = this._months + cn(t), e) {
|
|
4389
4389
|
case "month":
|
|
4390
4390
|
return r;
|
|
4391
4391
|
case "quarter":
|
|
@@ -4412,16 +4412,16 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4412
4412
|
throw new Error("Unknown unit " + e);
|
|
4413
4413
|
}
|
|
4414
4414
|
}
|
|
4415
|
-
function
|
|
4415
|
+
function Dt(e) {
|
|
4416
4416
|
return function() {
|
|
4417
4417
|
return this.as(e);
|
|
4418
4418
|
};
|
|
4419
4419
|
}
|
|
4420
|
-
var
|
|
4421
|
-
function
|
|
4420
|
+
var dn = Dt("ms"), $s = Dt("s"), Bs = Dt("m"), Us = Dt("h"), qs = Dt("d"), Js = Dt("w"), Gs = Dt("M"), Ks = Dt("Q"), Xs = Dt("y"), Qs = dn;
|
|
4421
|
+
function Zs() {
|
|
4422
4422
|
return mt(this);
|
|
4423
4423
|
}
|
|
4424
|
-
function
|
|
4424
|
+
function el(e) {
|
|
4425
4425
|
return e = ue(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
4426
4426
|
}
|
|
4427
4427
|
function Ft(e) {
|
|
@@ -4429,11 +4429,11 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4429
4429
|
return this.isValid() ? this._data[e] : NaN;
|
|
4430
4430
|
};
|
|
4431
4431
|
}
|
|
4432
|
-
var
|
|
4433
|
-
function
|
|
4432
|
+
var tl = Ft("milliseconds"), al = Ft("seconds"), rl = Ft("minutes"), nl = Ft("hours"), il = Ft("days"), ol = Ft("months"), sl = Ft("years");
|
|
4433
|
+
function ll() {
|
|
4434
4434
|
return st(this.days() / 7);
|
|
4435
4435
|
}
|
|
4436
|
-
var
|
|
4436
|
+
var kt = Math.round, qt = {
|
|
4437
4437
|
ss: 44,
|
|
4438
4438
|
// a few seconds to seconds
|
|
4439
4439
|
s: 45,
|
|
@@ -4449,24 +4449,24 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4449
4449
|
M: 11
|
|
4450
4450
|
// months to year
|
|
4451
4451
|
};
|
|
4452
|
-
function
|
|
4452
|
+
function ul(e, t, r, n, l) {
|
|
4453
4453
|
return l.relativeTime(t || 1, !!r, e, n);
|
|
4454
4454
|
}
|
|
4455
|
-
function
|
|
4456
|
-
var l = mt(e).abs(), x =
|
|
4457
|
-
return r.w != null && (
|
|
4455
|
+
function cl(e, t, r, n) {
|
|
4456
|
+
var l = mt(e).abs(), x = kt(l.as("s")), V = kt(l.as("m")), ne = kt(l.as("h")), pe = kt(l.as("d")), Oe = kt(l.as("M")), at = kt(l.as("w")), Yt = kt(l.as("y")), Ct = x <= r.ss && ["s", x] || x < r.s && ["ss", x] || V <= 1 && ["m"] || V < r.m && ["mm", V] || ne <= 1 && ["h"] || ne < r.h && ["hh", ne] || pe <= 1 && ["d"] || pe < r.d && ["dd", pe];
|
|
4457
|
+
return r.w != null && (Ct = Ct || at <= 1 && ["w"] || at < r.w && ["ww", at]), Ct = Ct || Oe <= 1 && ["M"] || Oe < r.M && ["MM", Oe] || Yt <= 1 && ["y"] || ["yy", Yt], Ct[2] = t, Ct[3] = +e > 0, Ct[4] = n, ul.apply(null, Ct);
|
|
4458
4458
|
}
|
|
4459
|
-
function
|
|
4460
|
-
return e === void 0 ?
|
|
4459
|
+
function dl(e) {
|
|
4460
|
+
return e === void 0 ? kt : typeof e == "function" ? (kt = e, !0) : !1;
|
|
4461
4461
|
}
|
|
4462
|
-
function
|
|
4462
|
+
function hl(e, t) {
|
|
4463
4463
|
return qt[e] === void 0 ? !1 : t === void 0 ? qt[e] : (qt[e] = t, e === "s" && (qt.ss = t - 1), !0);
|
|
4464
4464
|
}
|
|
4465
|
-
function
|
|
4465
|
+
function fl(e, t) {
|
|
4466
4466
|
if (!this.isValid())
|
|
4467
4467
|
return this.localeData().invalidDate();
|
|
4468
4468
|
var r = !1, n = qt, l, x;
|
|
4469
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (n = Object.assign({}, qt, t), t.s != null && t.ss == null && (n.ss = t.s - 1)), l = this.localeData(), x =
|
|
4469
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (n = Object.assign({}, qt, t), t.s != null && t.ss == null && (n.ss = t.s - 1)), l = this.localeData(), x = cl(this, !r, n, l), r && (x = l.pastFuture(+this, x)), l.postformat(x);
|
|
4470
4470
|
}
|
|
4471
4471
|
var tr = Math.abs;
|
|
4472
4472
|
function Jt(e) {
|
|
@@ -4475,20 +4475,20 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4475
4475
|
function va() {
|
|
4476
4476
|
if (!this.isValid())
|
|
4477
4477
|
return this.localeData().invalidDate();
|
|
4478
|
-
var e = tr(this._milliseconds) / 1e3, t = tr(this._days), r = tr(this._months), n, l, x, V, ne = this.asSeconds(), pe, Oe, at,
|
|
4479
|
-
return ne ? (n = st(e / 60), l = st(n / 60), e %= 60, n %= 60, x = st(r / 12), r %= 12, V = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", pe = ne < 0 ? "-" : "", Oe = Jt(this._months) !== Jt(ne) ? "-" : "", at = Jt(this._days) !== Jt(ne) ? "-" : "",
|
|
4478
|
+
var e = tr(this._milliseconds) / 1e3, t = tr(this._days), r = tr(this._months), n, l, x, V, ne = this.asSeconds(), pe, Oe, at, Yt;
|
|
4479
|
+
return ne ? (n = st(e / 60), l = st(n / 60), e %= 60, n %= 60, x = st(r / 12), r %= 12, V = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", pe = ne < 0 ? "-" : "", Oe = Jt(this._months) !== Jt(ne) ? "-" : "", at = Jt(this._days) !== Jt(ne) ? "-" : "", Yt = Jt(this._milliseconds) !== Jt(ne) ? "-" : "", pe + "P" + (x ? Oe + x + "Y" : "") + (r ? Oe + r + "M" : "") + (t ? at + t + "D" : "") + (l || n || e ? "T" : "") + (l ? Yt + l + "H" : "") + (n ? Yt + n + "M" : "") + (e ? Yt + V + "S" : "")) : "P0D";
|
|
4480
4480
|
}
|
|
4481
4481
|
var je = da.prototype;
|
|
4482
|
-
je.isValid =
|
|
4482
|
+
je.isValid = io, je.abs = zs, je.add = Ls, je.subtract = Ws, je.as = Hs, je.asMilliseconds = dn, je.asSeconds = $s, je.asMinutes = Bs, je.asHours = Us, je.asDays = qs, je.asWeeks = Js, je.asMonths = Gs, je.asQuarters = Ks, je.asYears = Xs, je.valueOf = Qs, je._bubble = Vs, je.clone = Zs, je.get = el, je.milliseconds = tl, je.seconds = al, je.minutes = rl, je.hours = nl, je.days = il, je.weeks = ll, je.months = ol, je.years = sl, je.humanize = fl, je.toISOString = va, je.toString = va, je.toJSON = va, je.locale = Kr, je.localeData = Qr, je.toIsoString = C(
|
|
4483
4483
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
4484
4484
|
va
|
|
4485
|
-
), je.lang =
|
|
4485
|
+
), je.lang = Xr, Q("X", 0, 0, "unix"), Q("x", 0, 0, "valueOf"), ae("x", bt), ae("X", gt), Pe("X", function(e, t, r) {
|
|
4486
4486
|
r._d = new Date(parseFloat(e) * 1e3);
|
|
4487
4487
|
}), Pe("x", function(e, t, r) {
|
|
4488
4488
|
r._d = new Date(Me(e));
|
|
4489
4489
|
});
|
|
4490
4490
|
//! moment.js
|
|
4491
|
-
return d.version = "2.30.1", B(Le), d.fn = J, d.min =
|
|
4491
|
+
return d.version = "2.30.1", B(Le), d.fn = J, d.min = to, d.max = ao, d.now = ro, d.utc = f, d.unix = Ns, d.months = As, d.isDate = u, d.locale = jt, d.invalid = Y, d.duration = mt, d.isMoment = T, d.weekdays = Rs, d.parseZone = Ps, d.localeData = Mt, d.isDuration = ha, d.monthsShort = Es, d.weekdaysMin = Fs, d.defineLocale = Va, d.updateLocale = Ni, d.locales = Pi, d.weekdaysShort = Is, d.normalizeUnits = ue, d.relativeTimeRounding = dl, d.relativeTimeThreshold = hl, d.calendarFormat = jo, d.prototype = J, d.HTML5_FMT = {
|
|
4492
4492
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
4493
4493
|
// <input type="datetime-local" />
|
|
4494
4494
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -4511,12 +4511,12 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
|
|
|
4511
4511
|
}));
|
|
4512
4512
|
})(wa)), wa.exports;
|
|
4513
4513
|
}
|
|
4514
|
-
var
|
|
4515
|
-
function
|
|
4516
|
-
return
|
|
4514
|
+
var wc = hr.exports, xn;
|
|
4515
|
+
function xc() {
|
|
4516
|
+
return xn || (xn = 1, (function(g, i) {
|
|
4517
4517
|
(function(m, d) {
|
|
4518
|
-
d(typeof Aa == "function" ?
|
|
4519
|
-
})(
|
|
4518
|
+
d(typeof Aa == "function" ? Dr() : m.moment);
|
|
4519
|
+
})(wc, (function(m) {
|
|
4520
4520
|
//! moment.js locale configuration
|
|
4521
4521
|
var d = m.defineLocale("it", {
|
|
4522
4522
|
months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split(
|
|
@@ -4590,13 +4590,13 @@ function wc() {
|
|
|
4590
4590
|
}));
|
|
4591
4591
|
})()), hr.exports;
|
|
4592
4592
|
}
|
|
4593
|
-
|
|
4594
|
-
var fr = { exports: {} },
|
|
4595
|
-
function
|
|
4596
|
-
return
|
|
4593
|
+
xc();
|
|
4594
|
+
var fr = { exports: {} }, Mc = fr.exports, Mn;
|
|
4595
|
+
function Sc() {
|
|
4596
|
+
return Mn || (Mn = 1, (function(g, i) {
|
|
4597
4597
|
(function(m, d) {
|
|
4598
|
-
d(typeof Aa == "function" ?
|
|
4599
|
-
})(
|
|
4598
|
+
d(typeof Aa == "function" ? Dr() : m.moment);
|
|
4599
|
+
})(Mc, (function(m) {
|
|
4600
4600
|
//! moment.js locale configuration
|
|
4601
4601
|
var d = m.defineLocale("en-gb", {
|
|
4602
4602
|
months: "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
@@ -4656,13 +4656,13 @@ function Mc() {
|
|
|
4656
4656
|
}));
|
|
4657
4657
|
})()), fr.exports;
|
|
4658
4658
|
}
|
|
4659
|
-
|
|
4660
|
-
var mr = { exports: {} },
|
|
4661
|
-
function
|
|
4662
|
-
return
|
|
4659
|
+
Sc();
|
|
4660
|
+
var mr = { exports: {} }, Dc = mr.exports, Sn;
|
|
4661
|
+
function kc() {
|
|
4662
|
+
return Sn || (Sn = 1, (function(g, i) {
|
|
4663
4663
|
(function(m, d) {
|
|
4664
|
-
d(typeof Aa == "function" ?
|
|
4665
|
-
})(
|
|
4664
|
+
d(typeof Aa == "function" ? Dr() : m.moment);
|
|
4665
|
+
})(Dc, (function(m) {
|
|
4666
4666
|
//! moment.js locale configuration
|
|
4667
4667
|
function d(L, G, s, w) {
|
|
4668
4668
|
var a = {
|
|
@@ -4737,13 +4737,13 @@ function Dc() {
|
|
|
4737
4737
|
}));
|
|
4738
4738
|
})()), mr.exports;
|
|
4739
4739
|
}
|
|
4740
|
-
|
|
4741
|
-
const
|
|
4740
|
+
kc();
|
|
4741
|
+
const Pt = (g) => {
|
|
4742
4742
|
let i = "";
|
|
4743
4743
|
return g.split(":").forEach((m) => {
|
|
4744
4744
|
i += m;
|
|
4745
4745
|
}), parseInt(i);
|
|
4746
|
-
},
|
|
4746
|
+
}, Dn = (g) => g.toString().padStart(4, "0").match(/.{1,2}/g).join(":"), nr = (g) => {
|
|
4747
4747
|
const i = g.address;
|
|
4748
4748
|
if (g.addresstype === "county" && i.country)
|
|
4749
4749
|
return i.county;
|
|
@@ -4790,7 +4790,7 @@ function oa(g) {
|
|
|
4790
4790
|
}
|
|
4791
4791
|
return null;
|
|
4792
4792
|
}
|
|
4793
|
-
function
|
|
4793
|
+
function Yc(g, i, m) {
|
|
4794
4794
|
let d = m ? new Date(m * 1e3) : null;
|
|
4795
4795
|
if (d) {
|
|
4796
4796
|
let B = {
|
|
@@ -4800,7 +4800,7 @@ function kc(g, i, m) {
|
|
|
4800
4800
|
window.sessionStorage.setItem(g, JSON.stringify(B));
|
|
4801
4801
|
}
|
|
4802
4802
|
}
|
|
4803
|
-
function
|
|
4803
|
+
function kn({ day: g, slot: i, i18next: m }) {
|
|
4804
4804
|
return /* @__PURE__ */ h.jsx("li", { className: "it-list-item", children: /* @__PURE__ */ h.jsx("div", { className: "list-item", children: /* @__PURE__ */ h.jsx("div", { className: "it-right-zone", children: /* @__PURE__ */ h.jsxs("span", { className: "text pl-4", children: [
|
|
4805
4805
|
/* @__PURE__ */ h.jsx("b", { children: g }),
|
|
4806
4806
|
" ",
|
|
@@ -4811,7 +4811,7 @@ function Dn({ day: g, slot: i, i18next: m }) {
|
|
|
4811
4811
|
/* @__PURE__ */ h.jsx("b", { children: i })
|
|
4812
4812
|
] }) }) }) });
|
|
4813
4813
|
}
|
|
4814
|
-
const
|
|
4814
|
+
const Oc = ({
|
|
4815
4815
|
component: g,
|
|
4816
4816
|
current: i,
|
|
4817
4817
|
onChange: m,
|
|
@@ -5021,20 +5021,20 @@ const Yc = ({
|
|
|
5021
5021
|
] })
|
|
5022
5022
|
] })
|
|
5023
5023
|
] }) }), Te = (k) => {
|
|
5024
|
-
const E =
|
|
5025
|
-
E < z || E > ee || E >
|
|
5024
|
+
const E = Pt(k.target.value), z = Pt(k.target.min), ee = Pt(k.target.max);
|
|
5025
|
+
E < z || E > ee || E > Pt(f.end) ? (Je.fire({
|
|
5026
5026
|
title: "",
|
|
5027
|
-
html: `<p>${d.t("l'orario")} <b>${
|
|
5027
|
+
html: `<p>${d.t("l'orario")} <b>${Dn(E)}</b> ${d.t("non è valido")}</p>`,
|
|
5028
5028
|
icon: "error",
|
|
5029
5029
|
cancelButtonText: d.t("Chiudi"),
|
|
5030
5030
|
showCancelButton: !0,
|
|
5031
5031
|
showConfirmButton: !1
|
|
5032
5032
|
}), ze("")) : j({ ...f, value_start: k.target.value });
|
|
5033
5033
|
}, Ee = (k) => {
|
|
5034
|
-
const E =
|
|
5035
|
-
E < z || E > ee || E <
|
|
5034
|
+
const E = Pt(k.target.value), z = Pt(k.target.min), ee = Pt(k.target.max);
|
|
5035
|
+
E < z || E > ee || E < Pt(f.start) ? (Je.fire({
|
|
5036
5036
|
title: "",
|
|
5037
|
-
html: `<p>${d.t("l'orario")} <b>${
|
|
5037
|
+
html: `<p>${d.t("l'orario")} <b>${Dn(E)}</b> ${d.t("non è valido")}</p>`,
|
|
5038
5038
|
icon: "error",
|
|
5039
5039
|
cancelButtonText: d.t("Chiudi"),
|
|
5040
5040
|
showCancelButton: !0,
|
|
@@ -5060,9 +5060,9 @@ const Yc = ({
|
|
|
5060
5060
|
u(!0), p(null), D(null), ze(null);
|
|
5061
5061
|
}, _ = () => {
|
|
5062
5062
|
if (d.language === "it")
|
|
5063
|
-
return
|
|
5064
|
-
if (d.language === "en") return
|
|
5065
|
-
if (d.language === "de") return
|
|
5063
|
+
return Ln;
|
|
5064
|
+
if (d.language === "en") return zn;
|
|
5065
|
+
if (d.language === "de") return Fn;
|
|
5066
5066
|
};
|
|
5067
5067
|
Re(() => {
|
|
5068
5068
|
ze(C);
|
|
@@ -5108,14 +5108,14 @@ const Yc = ({
|
|
|
5108
5108
|
":"
|
|
5109
5109
|
] }),
|
|
5110
5110
|
/* @__PURE__ */ h.jsx("div", { className: "mb-5", children: /* @__PURE__ */ h.jsx("div", { className: "it-list-wrapper", children: /* @__PURE__ */ h.jsx("ul", { className: "it-list", children: Array.isArray(S) ? S.map((k) => /* @__PURE__ */ h.jsx(
|
|
5111
|
-
|
|
5111
|
+
kn,
|
|
5112
5112
|
{
|
|
5113
5113
|
day: he(k.date, "DD-MM-YYYY").format("DD/MM/YYYY"),
|
|
5114
5114
|
i18next: d,
|
|
5115
5115
|
slot: k.slot
|
|
5116
5116
|
}
|
|
5117
5117
|
)) : /* @__PURE__ */ h.jsx(
|
|
5118
|
-
|
|
5118
|
+
kn,
|
|
5119
5119
|
{
|
|
5120
5120
|
day: he(S.date, "DD-MM-YYYY").format(
|
|
5121
5121
|
"DD/MM/YYYY"
|
|
@@ -5183,13 +5183,13 @@ const Yc = ({
|
|
|
5183
5183
|
)
|
|
5184
5184
|
] }) }) }, "li" + E)) }) }) }),
|
|
5185
5185
|
c ? /* @__PURE__ */ h.jsx(
|
|
5186
|
-
|
|
5186
|
+
En,
|
|
5187
5187
|
{
|
|
5188
5188
|
color: "info",
|
|
5189
5189
|
defaultValue: "string",
|
|
5190
5190
|
className: "d-print-none d-preview-calendar-none",
|
|
5191
5191
|
children: /* @__PURE__ */ h.jsx(
|
|
5192
|
-
|
|
5192
|
+
An,
|
|
5193
5193
|
{
|
|
5194
5194
|
date: c.expiration_time,
|
|
5195
5195
|
renderer: ve
|
|
@@ -5333,7 +5333,7 @@ const Yc = ({
|
|
|
5333
5333
|
] }) : null })
|
|
5334
5334
|
] }) }),
|
|
5335
5335
|
/* @__PURE__ */ h.jsx(Ya, { children: /* @__PURE__ */ h.jsx(
|
|
5336
|
-
|
|
5336
|
+
At,
|
|
5337
5337
|
{
|
|
5338
5338
|
color: "primary",
|
|
5339
5339
|
onClick: () => ye(),
|
|
@@ -5347,7 +5347,7 @@ const Yc = ({
|
|
|
5347
5347
|
] });
|
|
5348
5348
|
};
|
|
5349
5349
|
var zt;
|
|
5350
|
-
let
|
|
5350
|
+
let jc = (zt = class extends Et {
|
|
5351
5351
|
constructor(i, m, d) {
|
|
5352
5352
|
super(i, m, d);
|
|
5353
5353
|
}
|
|
@@ -5374,7 +5374,7 @@ let Oc = (zt = class extends _t {
|
|
|
5374
5374
|
* @returns {*}
|
|
5375
5375
|
*/
|
|
5376
5376
|
static schema() {
|
|
5377
|
-
return
|
|
5377
|
+
return Et.schema({
|
|
5378
5378
|
type: "dynamic_calendar"
|
|
5379
5379
|
});
|
|
5380
5380
|
}
|
|
@@ -5387,7 +5387,7 @@ let Oc = (zt = class extends _t {
|
|
|
5387
5387
|
attachReact(i, m) {
|
|
5388
5388
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
5389
5389
|
/* @__PURE__ */ h.jsx(
|
|
5390
|
-
|
|
5390
|
+
Oc,
|
|
5391
5391
|
{
|
|
5392
5392
|
ref: m,
|
|
5393
5393
|
component: this.component,
|
|
@@ -5446,8 +5446,8 @@ let Oc = (zt = class extends _t {
|
|
|
5446
5446
|
}, /*
|
|
5447
5447
|
* Defines the settingsForm when editing a component in the builder.
|
|
5448
5448
|
*/
|
|
5449
|
-
|
|
5450
|
-
const
|
|
5449
|
+
Nt(zt, "editForm", Pl), zt);
|
|
5450
|
+
const Tc = [
|
|
5451
5451
|
{
|
|
5452
5452
|
key: "labelPosition",
|
|
5453
5453
|
ignore: !0
|
|
@@ -5607,18 +5607,18 @@ if(data.calendarId && data.api_url){
|
|
|
5607
5607
|
weight: 1
|
|
5608
5608
|
}
|
|
5609
5609
|
];
|
|
5610
|
-
function
|
|
5610
|
+
function Cc(...g) {
|
|
5611
5611
|
return Xt.baseEditForm(
|
|
5612
5612
|
[
|
|
5613
5613
|
{
|
|
5614
5614
|
key: "display",
|
|
5615
|
-
components:
|
|
5615
|
+
components: Tc
|
|
5616
5616
|
}
|
|
5617
5617
|
],
|
|
5618
5618
|
...g
|
|
5619
5619
|
);
|
|
5620
5620
|
}
|
|
5621
|
-
function
|
|
5621
|
+
function Yn({ day: g, slot: i, i18next: m }) {
|
|
5622
5622
|
return /* @__PURE__ */ h.jsx("li", { className: "it-list-item", children: /* @__PURE__ */ h.jsx("div", { className: "list-item", children: /* @__PURE__ */ h.jsx("div", { className: "it-right-zone", children: /* @__PURE__ */ h.jsxs("span", { className: "text pl-4", children: [
|
|
5623
5623
|
/* @__PURE__ */ h.jsx("b", { children: g }),
|
|
5624
5624
|
" ",
|
|
@@ -5629,7 +5629,7 @@ function kn({ day: g, slot: i, i18next: m }) {
|
|
|
5629
5629
|
/* @__PURE__ */ h.jsx("b", { children: i })
|
|
5630
5630
|
] }) }) }) });
|
|
5631
5631
|
}
|
|
5632
|
-
const
|
|
5632
|
+
const Nc = ({
|
|
5633
5633
|
component: g,
|
|
5634
5634
|
current: i,
|
|
5635
5635
|
onChange: m,
|
|
@@ -5858,9 +5858,9 @@ const Cc = ({
|
|
|
5858
5858
|
u(!0), p(null), D(null), Te(null);
|
|
5859
5859
|
}, ze = () => {
|
|
5860
5860
|
if (d.language === "it")
|
|
5861
|
-
return
|
|
5862
|
-
if (d.language === "en") return
|
|
5863
|
-
if (d.language === "de") return
|
|
5861
|
+
return Ln;
|
|
5862
|
+
if (d.language === "en") return zn;
|
|
5863
|
+
if (d.language === "de") return Fn;
|
|
5864
5864
|
};
|
|
5865
5865
|
Re(() => {
|
|
5866
5866
|
Te(C);
|
|
@@ -5906,14 +5906,14 @@ const Cc = ({
|
|
|
5906
5906
|
":"
|
|
5907
5907
|
] }),
|
|
5908
5908
|
/* @__PURE__ */ h.jsx("div", { className: "mb-5", children: /* @__PURE__ */ h.jsx("div", { className: "it-list-wrapper", children: /* @__PURE__ */ h.jsx("ul", { className: "it-list", children: Array.isArray(S) ? S.map((_) => /* @__PURE__ */ h.jsx(
|
|
5909
|
-
|
|
5909
|
+
Yn,
|
|
5910
5910
|
{
|
|
5911
5911
|
day: he(_.date, "DD-MM-YYYY").format("DD/MM/YYYY"),
|
|
5912
5912
|
i18next: d,
|
|
5913
5913
|
slot: _.slot
|
|
5914
5914
|
}
|
|
5915
5915
|
)) : /* @__PURE__ */ h.jsx(
|
|
5916
|
-
|
|
5916
|
+
Yn,
|
|
5917
5917
|
{
|
|
5918
5918
|
day: ke(S.date).format(
|
|
5919
5919
|
"DD/MM/YYYY"
|
|
@@ -5972,13 +5972,13 @@ const Cc = ({
|
|
|
5972
5972
|
)
|
|
5973
5973
|
] }) }) }, "li" + H)) }) }) }),
|
|
5974
5974
|
c ? /* @__PURE__ */ h.jsx(
|
|
5975
|
-
|
|
5975
|
+
En,
|
|
5976
5976
|
{
|
|
5977
5977
|
color: "info",
|
|
5978
5978
|
defaultValue: "string",
|
|
5979
5979
|
className: "d-print-none d-preview-calendar-none",
|
|
5980
5980
|
children: /* @__PURE__ */ h.jsx(
|
|
5981
|
-
|
|
5981
|
+
An,
|
|
5982
5982
|
{
|
|
5983
5983
|
date: c.expiration_time,
|
|
5984
5984
|
renderer: ve
|
|
@@ -6087,7 +6087,7 @@ const Cc = ({
|
|
|
6087
6087
|
] }) : null
|
|
6088
6088
|
] }) }),
|
|
6089
6089
|
/* @__PURE__ */ h.jsx(Ya, { children: /* @__PURE__ */ h.jsx(
|
|
6090
|
-
|
|
6090
|
+
At,
|
|
6091
6091
|
{
|
|
6092
6092
|
color: "primary",
|
|
6093
6093
|
onClick: () => ye(),
|
|
@@ -6099,7 +6099,7 @@ const Cc = ({
|
|
|
6099
6099
|
}
|
|
6100
6100
|
)
|
|
6101
6101
|
] });
|
|
6102
|
-
}, ja = class ja extends
|
|
6102
|
+
}, ja = class ja extends Et {
|
|
6103
6103
|
constructor(i, m, d) {
|
|
6104
6104
|
super(i, m, d);
|
|
6105
6105
|
}
|
|
@@ -6126,7 +6126,7 @@ const Cc = ({
|
|
|
6126
6126
|
* @returns {*}
|
|
6127
6127
|
*/
|
|
6128
6128
|
static schema() {
|
|
6129
|
-
return
|
|
6129
|
+
return Et.schema({
|
|
6130
6130
|
type: "calendar"
|
|
6131
6131
|
});
|
|
6132
6132
|
}
|
|
@@ -6139,7 +6139,7 @@ const Cc = ({
|
|
|
6139
6139
|
attachReact(i, m) {
|
|
6140
6140
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
6141
6141
|
/* @__PURE__ */ h.jsx(
|
|
6142
|
-
|
|
6142
|
+
Nc,
|
|
6143
6143
|
{
|
|
6144
6144
|
ref: m,
|
|
6145
6145
|
component: this.component,
|
|
@@ -6199,9 +6199,9 @@ const Cc = ({
|
|
|
6199
6199
|
/*
|
|
6200
6200
|
* Defines the settingsForm when editing a component in the builder.
|
|
6201
6201
|
*/
|
|
6202
|
-
|
|
6202
|
+
Nt(ja, "editForm", Cc);
|
|
6203
6203
|
let pr = ja;
|
|
6204
|
-
const
|
|
6204
|
+
const Pc = [
|
|
6205
6205
|
{
|
|
6206
6206
|
key: "labelPosition",
|
|
6207
6207
|
ignore: !0
|
|
@@ -6243,18 +6243,18 @@ const Nc = [
|
|
|
6243
6243
|
weight: 1
|
|
6244
6244
|
}
|
|
6245
6245
|
];
|
|
6246
|
-
function
|
|
6246
|
+
function Ac(...g) {
|
|
6247
6247
|
return Xt.baseEditForm(
|
|
6248
6248
|
[
|
|
6249
6249
|
{
|
|
6250
6250
|
key: "display",
|
|
6251
|
-
components:
|
|
6251
|
+
components: Pc
|
|
6252
6252
|
}
|
|
6253
6253
|
],
|
|
6254
6254
|
...g
|
|
6255
6255
|
);
|
|
6256
6256
|
}
|
|
6257
|
-
function
|
|
6257
|
+
function Ec({ day: g, slot: i, i18next: m }) {
|
|
6258
6258
|
return /* @__PURE__ */ h.jsx("li", { className: "it-list-item", children: /* @__PURE__ */ h.jsx("div", { className: "list-item", children: /* @__PURE__ */ h.jsx("div", { className: "it-right-zone", children: /* @__PURE__ */ h.jsxs("span", { className: "text-paragraph pl-4", children: [
|
|
6259
6259
|
/* @__PURE__ */ h.jsx("b", { children: g }),
|
|
6260
6260
|
" ",
|
|
@@ -6265,7 +6265,7 @@ function Ac({ day: g, slot: i, i18next: m }) {
|
|
|
6265
6265
|
/* @__PURE__ */ h.jsx("b", { children: i })
|
|
6266
6266
|
] }) }) }) });
|
|
6267
6267
|
}
|
|
6268
|
-
function
|
|
6268
|
+
function Rc(g, i) {
|
|
6269
6269
|
if (!i || i.length === 0) return;
|
|
6270
6270
|
const m = i.map((G) => {
|
|
6271
6271
|
const s = new Date(G.start);
|
|
@@ -6277,7 +6277,7 @@ function Ec(g, i) {
|
|
|
6277
6277
|
`${L}px`
|
|
6278
6278
|
);
|
|
6279
6279
|
}
|
|
6280
|
-
const
|
|
6280
|
+
const Wn = {
|
|
6281
6281
|
AVAILABILITY: {
|
|
6282
6282
|
key: "availability_data_cache_",
|
|
6283
6283
|
duration: 10
|
|
@@ -6307,19 +6307,19 @@ const Ln = {
|
|
|
6307
6307
|
ke(d.timestamp),
|
|
6308
6308
|
"minutes"
|
|
6309
6309
|
);
|
|
6310
|
-
return B >
|
|
6310
|
+
return B > Wn[g].duration ? (sessionStorage.removeItem(i), console.log(`⏰ Cache scaduto: ${g}`), null) : (console.log(`✅ Cache letto: ${g} (${B} minuti fa)`), d.data);
|
|
6311
6311
|
} catch (m) {
|
|
6312
6312
|
return console.error(`Errore nel leggere il cache (${g}):`, m), null;
|
|
6313
6313
|
}
|
|
6314
|
-
}, sr = (g, ...i) =>
|
|
6314
|
+
}, sr = (g, ...i) => Wn[g].key + btoa(i), kr = "calendar_view_state", Yr = "calendar_view_date", Ic = (g, i) => {
|
|
6315
6315
|
try {
|
|
6316
|
-
sessionStorage.setItem(
|
|
6316
|
+
sessionStorage.setItem(kr, g), sessionStorage.setItem(Yr, i || (/* @__PURE__ */ new Date()).toISOString());
|
|
6317
6317
|
} catch (m) {
|
|
6318
6318
|
console.error("Errore nel salvare lo stato della view:", m);
|
|
6319
6319
|
}
|
|
6320
|
-
},
|
|
6320
|
+
}, Fc = () => {
|
|
6321
6321
|
try {
|
|
6322
|
-
const g = sessionStorage.getItem(
|
|
6322
|
+
const g = sessionStorage.getItem(kr), i = sessionStorage.getItem(Yr);
|
|
6323
6323
|
return {
|
|
6324
6324
|
viewType: g || "timeGridWeek",
|
|
6325
6325
|
date: i ? new Date(i) : /* @__PURE__ */ new Date()
|
|
@@ -6330,13 +6330,13 @@ const Ln = {
|
|
|
6330
6330
|
date: /* @__PURE__ */ new Date()
|
|
6331
6331
|
};
|
|
6332
6332
|
}
|
|
6333
|
-
},
|
|
6333
|
+
}, Vn = () => {
|
|
6334
6334
|
try {
|
|
6335
|
-
sessionStorage.removeItem(
|
|
6335
|
+
sessionStorage.removeItem(kr), sessionStorage.removeItem(Yr);
|
|
6336
6336
|
} catch (g) {
|
|
6337
6337
|
console.error("Errore nel pulire lo stato della view:", g);
|
|
6338
6338
|
}
|
|
6339
|
-
},
|
|
6339
|
+
}, On = xr.Components.components.field, zc = ({
|
|
6340
6340
|
component: g,
|
|
6341
6341
|
current: i,
|
|
6342
6342
|
onChange: m,
|
|
@@ -6542,8 +6542,8 @@ const Ln = {
|
|
|
6542
6542
|
}));
|
|
6543
6543
|
}, [F]);
|
|
6544
6544
|
const Q = () => {
|
|
6545
|
-
const N =
|
|
6546
|
-
I.current =
|
|
6545
|
+
const N = Fc();
|
|
6546
|
+
I.current = vl(R.current, [_l], {
|
|
6547
6547
|
events: [],
|
|
6548
6548
|
buttonText: {
|
|
6549
6549
|
today: d.t("Oggi")
|
|
@@ -6569,7 +6569,7 @@ const Ln = {
|
|
|
6569
6569
|
}
|
|
6570
6570
|
},
|
|
6571
6571
|
datesSet: (_) => {
|
|
6572
|
-
|
|
6572
|
+
Ic(_.view.type, _.start);
|
|
6573
6573
|
},
|
|
6574
6574
|
eventClick({ event: _, el: H }) {
|
|
6575
6575
|
var ue, me, we, Ae, $e, Ie, Ge, Qe;
|
|
@@ -6698,7 +6698,7 @@ const Ln = {
|
|
|
6698
6698
|
...tt
|
|
6699
6699
|
}
|
|
6700
6700
|
})), Ze = A(ge);
|
|
6701
|
-
I.current.setOption("slotMinTime", Ze.earliestStartTime), I.current.setOption("slotMaxTime", Ze.latestEndTime), $(ge),
|
|
6701
|
+
I.current.setOption("slotMinTime", Ze.earliestStartTime), I.current.setOption("slotMaxTime", Ze.latestEndTime), $(ge), Rc(I.current, be), _(be), setTimeout(() => {
|
|
6702
6702
|
ve(be);
|
|
6703
6703
|
}, 500);
|
|
6704
6704
|
} catch (ue) {
|
|
@@ -6716,7 +6716,7 @@ const Ln = {
|
|
|
6716
6716
|
return;
|
|
6717
6717
|
}
|
|
6718
6718
|
const _e = (i == null ? void 0 : i.dataValue) ?? (i == null ? void 0 : i.getValue());
|
|
6719
|
-
_e && (_e != null && _e.draft_expiration) && ke().isAfter(_e.draft_expiration) && (m({}),
|
|
6719
|
+
_e && (_e != null && _e.draft_expiration) && ke().isAfter(_e.draft_expiration) && (m({}), Vn()), ((z = (E = i == null ? void 0 : i.data) == null ? void 0 : E.service_data) == null ? void 0 : z.view_type) === "calendar" ? I != null && I.current || Q() : ((ie = (ee = i == null ? void 0 : i.data) == null ? void 0 : ee.service_data) == null ? void 0 : ie.view_type) === "select" ? fe() : alert(
|
|
6720
6720
|
d.t(
|
|
6721
6721
|
"Il componente non è configurato per la visualizzazione a calendario"
|
|
6722
6722
|
)
|
|
@@ -6774,7 +6774,7 @@ const Ln = {
|
|
|
6774
6774
|
":"
|
|
6775
6775
|
] }),
|
|
6776
6776
|
/* @__PURE__ */ h.jsx("div", { className: "", children: /* @__PURE__ */ h.jsx("div", { className: "it-list-wrapper", children: /* @__PURE__ */ h.jsx("ul", { className: "it-list", children: /* @__PURE__ */ h.jsx(
|
|
6777
|
-
|
|
6777
|
+
Ec,
|
|
6778
6778
|
{
|
|
6779
6779
|
day: ke(G.from_time).format("dddd D MMM YYYY"),
|
|
6780
6780
|
i18next: d,
|
|
@@ -6852,9 +6852,9 @@ const Ln = {
|
|
|
6852
6852
|
startDate: f.startDate,
|
|
6853
6853
|
endDate: f.endDate
|
|
6854
6854
|
}) : null,
|
|
6855
|
-
o ? /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center justify-content-center position-absolute-center", children: /* @__PURE__ */ h.jsx(
|
|
6855
|
+
o ? /* @__PURE__ */ h.jsx("div", { className: "d-flex align-items-center justify-content-center position-absolute-center", children: /* @__PURE__ */ h.jsx(gl, { active: !0 }) }) : null
|
|
6856
6856
|
] }) });
|
|
6857
|
-
}, Ta = class Ta extends
|
|
6857
|
+
}, Ta = class Ta extends On {
|
|
6858
6858
|
constructor(i, m, d) {
|
|
6859
6859
|
super(i, m, d);
|
|
6860
6860
|
}
|
|
@@ -6881,7 +6881,7 @@ const Ln = {
|
|
|
6881
6881
|
* @returns {*}
|
|
6882
6882
|
*/
|
|
6883
6883
|
static schema() {
|
|
6884
|
-
return
|
|
6884
|
+
return On.schema({
|
|
6885
6885
|
type: "calendar-advanced"
|
|
6886
6886
|
});
|
|
6887
6887
|
}
|
|
@@ -6894,7 +6894,7 @@ const Ln = {
|
|
|
6894
6894
|
attach(i, m) {
|
|
6895
6895
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
6896
6896
|
/* @__PURE__ */ h.jsx(
|
|
6897
|
-
|
|
6897
|
+
zc,
|
|
6898
6898
|
{
|
|
6899
6899
|
ref: m,
|
|
6900
6900
|
component: this.component,
|
|
@@ -6931,14 +6931,14 @@ const Ln = {
|
|
|
6931
6931
|
/*
|
|
6932
6932
|
* Defines the settingsForm when editing a component in the builder.
|
|
6933
6933
|
*/
|
|
6934
|
-
|
|
6934
|
+
Nt(Ta, "editForm", Ac);
|
|
6935
6935
|
let gr = Ta;
|
|
6936
|
-
const
|
|
6936
|
+
const Lc = [
|
|
6937
6937
|
{
|
|
6938
6938
|
key: "defaultValue",
|
|
6939
6939
|
ignore: !0
|
|
6940
6940
|
}
|
|
6941
|
-
],
|
|
6941
|
+
], Wc = [
|
|
6942
6942
|
{
|
|
6943
6943
|
key: "placeholder",
|
|
6944
6944
|
ignore: !0
|
|
@@ -6960,7 +6960,7 @@ const zc = [
|
|
|
6960
6960
|
}
|
|
6961
6961
|
}
|
|
6962
6962
|
}
|
|
6963
|
-
],
|
|
6963
|
+
], Vc = [
|
|
6964
6964
|
{
|
|
6965
6965
|
type: "select",
|
|
6966
6966
|
input: !0,
|
|
@@ -7285,8 +7285,17 @@ const zc = [
|
|
|
7285
7285
|
placeholder: "10MB",
|
|
7286
7286
|
tooltip: "See <a href='https://github.com/danialfarid/ng-file-upload#full-reference' target='_blank'>https://github.com/danialfarid/ng-file-upload#full-reference</a> for how to specify file sizes.",
|
|
7287
7287
|
weight: 70
|
|
7288
|
+
},
|
|
7289
|
+
{
|
|
7290
|
+
type: "textfield",
|
|
7291
|
+
input: !0,
|
|
7292
|
+
key: "maxFiles",
|
|
7293
|
+
label: "Numero massimo di file",
|
|
7294
|
+
placeholder: "100",
|
|
7295
|
+
tooltip: "Numero massimo di file caricabilii, default è 100.",
|
|
7296
|
+
weight: 40
|
|
7288
7297
|
}
|
|
7289
|
-
],
|
|
7298
|
+
], Hc = [
|
|
7290
7299
|
{
|
|
7291
7300
|
key: "unique",
|
|
7292
7301
|
ignore: !0
|
|
@@ -7296,33 +7305,33 @@ const zc = [
|
|
|
7296
7305
|
ignore: !0
|
|
7297
7306
|
}
|
|
7298
7307
|
];
|
|
7299
|
-
function
|
|
7308
|
+
function $c(...g) {
|
|
7300
7309
|
return Xt.baseEditForm(
|
|
7301
7310
|
[
|
|
7302
7311
|
{
|
|
7303
7312
|
key: "display",
|
|
7304
|
-
components:
|
|
7313
|
+
components: Wc
|
|
7305
7314
|
},
|
|
7306
7315
|
{
|
|
7307
7316
|
key: "data",
|
|
7308
|
-
components:
|
|
7317
|
+
components: Lc
|
|
7309
7318
|
},
|
|
7310
7319
|
{
|
|
7311
7320
|
label: "File",
|
|
7312
7321
|
key: "file",
|
|
7313
7322
|
weight: 5,
|
|
7314
|
-
components:
|
|
7323
|
+
components: Vc
|
|
7315
7324
|
},
|
|
7316
7325
|
{
|
|
7317
7326
|
key: "validation",
|
|
7318
|
-
components:
|
|
7327
|
+
components: Hc
|
|
7319
7328
|
}
|
|
7320
7329
|
],
|
|
7321
7330
|
...g
|
|
7322
7331
|
);
|
|
7323
7332
|
}
|
|
7324
7333
|
document.documentElement.lang.toString();
|
|
7325
|
-
class
|
|
7334
|
+
class Bc {
|
|
7326
7335
|
constructor() {
|
|
7327
7336
|
this.token = null, this.basePath = null, this.init();
|
|
7328
7337
|
}
|
|
@@ -7346,8 +7355,8 @@ class $c {
|
|
|
7346
7355
|
"Content-Type": "application/json; charset=utf-8"
|
|
7347
7356
|
}
|
|
7348
7357
|
}).then((B) => {
|
|
7349
|
-
const L =
|
|
7350
|
-
L.exp &&
|
|
7358
|
+
const L = xl(B.data.token);
|
|
7359
|
+
L.exp && Yc("auth-token", B.data.token, L.exp);
|
|
7351
7360
|
}).catch((B) => {
|
|
7352
7361
|
console.log(B);
|
|
7353
7362
|
});
|
|
@@ -7362,10 +7371,11 @@ class $c {
|
|
|
7362
7371
|
});
|
|
7363
7372
|
}
|
|
7364
7373
|
}
|
|
7374
|
+
const jn = xr.Components.components.field;
|
|
7365
7375
|
let yr = null;
|
|
7366
7376
|
document.querySelector("widget-formio") !== null && (yr = document.querySelector("widget-formio").getAttribute("signature-check-ws-url"));
|
|
7367
|
-
const
|
|
7368
|
-
const { value: i, component: m, current: d, onChange: B, i18next: L } = g, [G, s] = oe([]), [w, a] = oe(/* @__PURE__ */ new Map()), [o, u] = oe(!1), c = new
|
|
7377
|
+
const Uc = (g) => {
|
|
7378
|
+
const { value: i, component: m, current: d, onChange: B, i18next: L } = g, [G, s] = oe([]), [w, a] = oe(/* @__PURE__ */ new Map()), [o, u] = oe(!1), c = new Bc();
|
|
7369
7379
|
Re(() => {
|
|
7370
7380
|
c.getSessionAuthTokenPromise();
|
|
7371
7381
|
}, []);
|
|
@@ -7392,7 +7402,7 @@ const Bc = (g) => {
|
|
|
7392
7402
|
const M = m.filePattern.split(",");
|
|
7393
7403
|
let R = {};
|
|
7394
7404
|
return M.map((I) => {
|
|
7395
|
-
const A =
|
|
7405
|
+
const A = wl.getType(I);
|
|
7396
7406
|
R[A] = [], R[A].push(I);
|
|
7397
7407
|
}), R;
|
|
7398
7408
|
} else
|
|
@@ -7401,7 +7411,7 @@ const Bc = (g) => {
|
|
|
7401
7411
|
const v = (M) => {
|
|
7402
7412
|
let R = {};
|
|
7403
7413
|
return R.originalName = M.originalName ? M.originalName : M.name, R.name = M.name, R.url = M.url, R.data = M.data, R.signature_validation = M.signature_validation, R.mime_type = M.mime_type, R.storage = "url", R.size = M.size, R;
|
|
7404
|
-
}, { getRootProps: D, getInputProps: O, fileRejections: Y, isDragActive: F, open: P } =
|
|
7414
|
+
}, { getRootProps: D, getInputProps: O, fileRejections: Y, isDragActive: F, open: P } = bl({
|
|
7405
7415
|
onDrop: (M) => {
|
|
7406
7416
|
M.map((R) => {
|
|
7407
7417
|
T(R).then((I) => {
|
|
@@ -7649,7 +7659,7 @@ const Bc = (g) => {
|
|
|
7649
7659
|
/* @__PURE__ */ h.jsxs("p", { className: "d-inline-flex", children: [
|
|
7650
7660
|
L.t("oppure"),
|
|
7651
7661
|
/* @__PURE__ */ h.jsx(
|
|
7652
|
-
|
|
7662
|
+
At,
|
|
7653
7663
|
{
|
|
7654
7664
|
tag: "input",
|
|
7655
7665
|
type: "button",
|
|
@@ -7684,7 +7694,7 @@ const Bc = (g) => {
|
|
|
7684
7694
|
M.name,
|
|
7685
7695
|
/* @__PURE__ */ h.jsx("span", { className: "upload-file-weight", children: C(M.size) })
|
|
7686
7696
|
] }),
|
|
7687
|
-
/* @__PURE__ */ h.jsx(
|
|
7697
|
+
/* @__PURE__ */ h.jsx(At, { className: "px-1", onClick: () => S(M), children: /* @__PURE__ */ h.jsx(
|
|
7688
7698
|
rt,
|
|
7689
7699
|
{
|
|
7690
7700
|
title: `${L.t("Elimina file caricato")} ${M.name}`,
|
|
@@ -7711,7 +7721,7 @@ const Bc = (g) => {
|
|
|
7711
7721
|
R.name,
|
|
7712
7722
|
/* @__PURE__ */ h.jsx("span", { className: "upload-file-weight", children: C(R.size) })
|
|
7713
7723
|
] }),
|
|
7714
|
-
/* @__PURE__ */ h.jsx(
|
|
7724
|
+
/* @__PURE__ */ h.jsx(Rn, { value: R.progress })
|
|
7715
7725
|
] }, M))
|
|
7716
7726
|
] }),
|
|
7717
7727
|
!!(Y && Y.length) && /* @__PURE__ */ h.jsx("div", { className: "formio-error-wrapper", children: /* @__PURE__ */ h.jsx("ul", { className: "formio-errors upload-file-list my-0 ", children: Y.map(({ file: M, errors: R }, I) => /* @__PURE__ */ h.jsxs("li", { className: "upload-file error", children: [
|
|
@@ -7744,8 +7754,7 @@ const Bc = (g) => {
|
|
|
7744
7754
|
] }) : /* @__PURE__ */ h.jsx("p", { className: "text-wrap ms-0", children: A.message })) })
|
|
7745
7755
|
] }, M.size + I)) }) })
|
|
7746
7756
|
] }) });
|
|
7747
|
-
}, Ca = class Ca extends
|
|
7748
|
-
// eslint-disable-next-line no-useless-constructor
|
|
7757
|
+
}, Ca = class Ca extends jn {
|
|
7749
7758
|
constructor(i, m, d) {
|
|
7750
7759
|
super({ ...i, multiple: i.multiple }, m, d);
|
|
7751
7760
|
}
|
|
@@ -7772,7 +7781,7 @@ const Bc = (g) => {
|
|
|
7772
7781
|
* @returns {*}
|
|
7773
7782
|
*/
|
|
7774
7783
|
static schema() {
|
|
7775
|
-
return
|
|
7784
|
+
return jn.schema({
|
|
7776
7785
|
type: "sdcfile"
|
|
7777
7786
|
});
|
|
7778
7787
|
}
|
|
@@ -7785,7 +7794,7 @@ const Bc = (g) => {
|
|
|
7785
7794
|
attach(i, m) {
|
|
7786
7795
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
7787
7796
|
/* @__PURE__ */ h.jsx(
|
|
7788
|
-
|
|
7797
|
+
Uc,
|
|
7789
7798
|
{
|
|
7790
7799
|
ref: m,
|
|
7791
7800
|
component: this.component,
|
|
@@ -7840,9 +7849,9 @@ const Bc = (g) => {
|
|
|
7840
7849
|
/*
|
|
7841
7850
|
* Defines the settingsForm when editing a component in the builder.
|
|
7842
7851
|
*/
|
|
7843
|
-
|
|
7852
|
+
Nt(Ca, "editForm", $c);
|
|
7844
7853
|
let vr = Ca;
|
|
7845
|
-
const
|
|
7854
|
+
const qc = [
|
|
7846
7855
|
{
|
|
7847
7856
|
key: "labelPosition",
|
|
7848
7857
|
ignore: !0
|
|
@@ -7880,23 +7889,23 @@ const Uc = [
|
|
|
7880
7889
|
ignore: !0
|
|
7881
7890
|
}
|
|
7882
7891
|
];
|
|
7883
|
-
function
|
|
7892
|
+
function Jc(...g) {
|
|
7884
7893
|
return Xt.baseEditForm(
|
|
7885
7894
|
[
|
|
7886
7895
|
{
|
|
7887
7896
|
key: "display",
|
|
7888
|
-
components:
|
|
7897
|
+
components: qc
|
|
7889
7898
|
}
|
|
7890
7899
|
],
|
|
7891
7900
|
...g
|
|
7892
7901
|
);
|
|
7893
7902
|
}
|
|
7894
|
-
var xa = { exports: {} },
|
|
7895
|
-
function
|
|
7896
|
-
return
|
|
7903
|
+
var xa = { exports: {} }, Gc = xa.exports, Tn;
|
|
7904
|
+
function Kc() {
|
|
7905
|
+
return Tn || (Tn = 1, (function(g, i) {
|
|
7897
7906
|
(function(m, d) {
|
|
7898
7907
|
g.exports = d(wr);
|
|
7899
|
-
})(
|
|
7908
|
+
})(Gc, (function(m) {
|
|
7900
7909
|
return (function() {
|
|
7901
7910
|
var d = { 680: function(s) {
|
|
7902
7911
|
s.exports = m;
|
|
@@ -9233,16 +9242,16 @@ function Gc() {
|
|
|
9233
9242
|
}, P.render = function() {
|
|
9234
9243
|
var S, y = this, T = this.props, W = T.cssNamespace, C = T.displayMenu, M = T.id, R = T.minLength, I = T.name, A = T.placeholder, $ = T.required, q = T.showAllValues, re = T.tNoResults, te = T.tStatusQueryTooShort, de = T.tStatusNoResults, X = T.tStatusSelectedOption, ce = T.tStatusResults, Z = T.tAssistiveHint, fe = T.dropdownArrow, le = T.menuAttributes, Q = T.inputClasses, ye = T.hintClasses, Ce = T.menuClasses, ve = this.state, Te = ve.focused, Ee = ve.hovered, ze = ve.menuOpen, N = ve.options, _ = ve.query, H = ve.selected, k = ve.ariaHint, E = ve.validChoiceMade, z = this.hasAutoselect(), ee = Te === -1, ie = N.length === 0, _e = _.length !== 0, ue = _.length >= R, me = this.props.showNoOptionsFound && ee && ie && _e && ue, we = W + "__wrapper", Ae = W + "__status", $e = W + "__dropdown-arrow-down", Ie = Te !== -1 && Te !== null, Ge = W + "__option", Qe = W + "__hint", ge = this.templateInputValue(N[H]), be = ge && ge.toLowerCase().indexOf(_.toLowerCase()) === 0 && z ? _ + ge.substr(_.length) : "", Ze = M + "__assistiveHint", tt = { "aria-describedby": k ? Ze : null, "aria-expanded": ze ? "true" : "false", "aria-activedescendant": Ie ? M + "__option--" + Te : null, "aria-controls": M + "__listbox", "aria-autocomplete": this.hasAutoselect() ? "both" : "list" };
|
|
9235
9244
|
q && typeof (S = fe({ className: $e })) == "string" && (S = (0, s.createElement)("div", { className: W + "__dropdown-arrow-down-wrapper", dangerouslySetInnerHTML: { __html: S } }));
|
|
9236
|
-
var ht = W + "__input",
|
|
9237
|
-
Te !== null &&
|
|
9245
|
+
var ht = W + "__input", _t = [ht, this.props.showAllValues ? ht + "--show-all-values" : ht + "--default"];
|
|
9246
|
+
Te !== null && _t.push(ht + "--focused"), Q && _t.push(Q);
|
|
9238
9247
|
var pt = W + "__menu", lt = [pt, pt + "--" + C, pt + "--" + (ze || me ? "visible" : "hidden")];
|
|
9239
9248
|
Ce && lt.push(Ce), (le != null && le.class || le != null && le.className) && lt.push((le == null ? void 0 : le.class) || (le == null ? void 0 : le.className));
|
|
9240
|
-
var
|
|
9241
|
-
return delete
|
|
9242
|
-
y.elementReferences[-1] =
|
|
9243
|
-
}, type: "text", role: "combobox", required: $, value: _ })), S, (0, s.createElement)("ul",
|
|
9249
|
+
var bt = Object.assign({ "aria-labelledby": M }, le, { id: M + "__listbox", role: "listbox", className: lt.join(" "), onMouseLeave: this.handleListMouseLeave });
|
|
9250
|
+
return delete bt.class, (0, s.createElement)("div", { className: we, onKeyDown: this.handleKeyDown }, (0, s.createElement)(a, { id: M, length: N.length, queryLength: _.length, minQueryLength: R, selectedOption: this.templateInputValue(N[H]), selectedOptionIndex: H, validChoiceMade: E, isInFocus: this.state.focused !== null, tQueryTooShort: te, tNoResults: de, tSelectedOption: X, tResults: ce, className: Ae }), be && (0, s.createElement)("span", null, (0, s.createElement)("input", { className: [Qe, ye === null ? Q : ye].filter(Boolean).join(" "), readonly: !0, tabIndex: "-1", value: be })), (0, s.createElement)("input", u({}, tt, { autoComplete: "off", className: _t.join(" "), id: M, onClick: this.handleInputClick, onBlur: this.handleInputBlur }, { onChange: this.handleInputChange }, { onFocus: this.handleInputFocus, name: I, placeholder: A, ref: function(wt) {
|
|
9251
|
+
y.elementReferences[-1] = wt;
|
|
9252
|
+
}, type: "text", role: "combobox", required: $, value: _ })), S, (0, s.createElement)("ul", bt, N.map((function(wt, Ue) {
|
|
9244
9253
|
var gt = (Te === -1 ? H === Ue : Te === Ue) && Ee === null ? " " + Ge + "--focused" : "", ft = Ue % 2 ? " " + Ge + "--odd" : "", ut = j() ? "<span id=" + M + "__option-suffix--" + Ue + ' 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"> ' + (Ue + 1) + " of " + N.length + "</span>" : "";
|
|
9245
|
-
return (0, s.createElement)("li", { "aria-selected": Te === Ue ? "true" : "false", className: "" + Ge + gt + ft, dangerouslySetInnerHTML: { __html: y.templateSuggestion(
|
|
9254
|
+
return (0, s.createElement)("li", { "aria-selected": Te === Ue ? "true" : "false", className: "" + Ge + gt + ft, dangerouslySetInnerHTML: { __html: y.templateSuggestion(wt) + ut }, id: M + "__option--" + Ue, key: Ue, onBlur: function(ot) {
|
|
9246
9255
|
return y.handleOptionBlur(ot, Ue);
|
|
9247
9256
|
}, onClick: function(ot) {
|
|
9248
9257
|
return y.handleOptionClick(ot, Ue);
|
|
@@ -9265,12 +9274,12 @@ function Gc() {
|
|
|
9265
9274
|
}));
|
|
9266
9275
|
})(xa)), xa.exports;
|
|
9267
9276
|
}
|
|
9268
|
-
var lr,
|
|
9269
|
-
function
|
|
9270
|
-
return
|
|
9277
|
+
var lr, Cn;
|
|
9278
|
+
function Xc() {
|
|
9279
|
+
return Cn || (Cn = 1, lr = Kc()), lr;
|
|
9271
9280
|
}
|
|
9272
|
-
var
|
|
9273
|
-
const
|
|
9281
|
+
var Qc = Xc();
|
|
9282
|
+
const Zc = /* @__PURE__ */ Yl(Qc), ed = ({
|
|
9274
9283
|
value: g,
|
|
9275
9284
|
defaultValue: i = "",
|
|
9276
9285
|
onConfirm: m,
|
|
@@ -9301,7 +9310,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9301
9310
|
};
|
|
9302
9311
|
return /* @__PURE__ */ h.jsxs("div", { style: { position: "relative", width: "100%" }, children: [
|
|
9303
9312
|
/* @__PURE__ */ h.jsx(
|
|
9304
|
-
|
|
9313
|
+
Zc,
|
|
9305
9314
|
{
|
|
9306
9315
|
ref: w,
|
|
9307
9316
|
...s,
|
|
@@ -9329,10 +9338,10 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9329
9338
|
}
|
|
9330
9339
|
)
|
|
9331
9340
|
] });
|
|
9332
|
-
},
|
|
9341
|
+
}, td = "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==", ad = "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=", rd = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC", nd = ({ position: g, areasLayer: i, bounds: m, onMarkedMoved: d }) => {
|
|
9333
9342
|
const B = vt(null);
|
|
9334
9343
|
let L = null;
|
|
9335
|
-
const [G, s] = oe([]), w =
|
|
9344
|
+
const [G, s] = oe([]), w = Ml(
|
|
9336
9345
|
"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
|
9337
9346
|
{
|
|
9338
9347
|
// detectRetina: true,
|
|
@@ -9349,9 +9358,9 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9349
9358
|
});
|
|
9350
9359
|
const c = g ? [`${g.lat}`, `${g.lon}`] : m ? m.getCenter() : a;
|
|
9351
9360
|
if (delete Kt.Icon.Default.prototype._getIconUrl, Kt.Icon.Default.mergeOptions({
|
|
9352
|
-
iconRetinaUrl:
|
|
9353
|
-
iconUrl:
|
|
9354
|
-
shadowUrl:
|
|
9361
|
+
iconRetinaUrl: td,
|
|
9362
|
+
iconUrl: ad,
|
|
9363
|
+
shadowUrl: rd
|
|
9355
9364
|
}), L = Kt.marker(c, { draggable: !0 }).addTo(u), L.on("moveend", function(p) {
|
|
9356
9365
|
const f = p.target.getLatLng();
|
|
9357
9366
|
d(f, L);
|
|
@@ -9379,7 +9388,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9379
9388
|
)
|
|
9380
9389
|
}
|
|
9381
9390
|
);
|
|
9382
|
-
},
|
|
9391
|
+
}, id = ({
|
|
9383
9392
|
component: g,
|
|
9384
9393
|
value: i,
|
|
9385
9394
|
current: m,
|
|
@@ -9405,7 +9414,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9405
9414
|
}).then((z) => {
|
|
9406
9415
|
z = z ? z.filter((ee) => ee !== null) : [], z.length > 0 ? (z.forEach((ee, ie) => {
|
|
9407
9416
|
z[ie].label = nr(ee);
|
|
9408
|
-
}), z =
|
|
9417
|
+
}), z = Sl.uniqWith(
|
|
9409
9418
|
z,
|
|
9410
9419
|
(ee, ie) => ee.label === ie.label
|
|
9411
9420
|
), z.forEach((ee, ie) => {
|
|
@@ -9544,7 +9553,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9544
9553
|
"Trascina l’icona nel punto preciso in cui si verifica l’evento che vuoi segnalare e fai click su Salva indirizzo"
|
|
9545
9554
|
) }) }),
|
|
9546
9555
|
/* @__PURE__ */ h.jsx(
|
|
9547
|
-
|
|
9556
|
+
nd,
|
|
9548
9557
|
{
|
|
9549
9558
|
position: L,
|
|
9550
9559
|
areasLayer: u,
|
|
@@ -9556,9 +9565,9 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9556
9565
|
)
|
|
9557
9566
|
] }),
|
|
9558
9567
|
/* @__PURE__ */ h.jsxs(Ya, { children: [
|
|
9559
|
-
/* @__PURE__ */ h.jsx(
|
|
9568
|
+
/* @__PURE__ */ h.jsx(At, { color: "secondary", onClick: () => q(!$), children: B.t("Chiudi") }),
|
|
9560
9569
|
/* @__PURE__ */ h.jsx(
|
|
9561
|
-
|
|
9570
|
+
At,
|
|
9562
9571
|
{
|
|
9563
9572
|
color: "primary",
|
|
9564
9573
|
onClick: () => {
|
|
@@ -9583,17 +9592,17 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9583
9592
|
children: [
|
|
9584
9593
|
/* @__PURE__ */ h.jsx(Da, { icon: "it-info-circle", id: "error-modal-message", children: B.t("warning") }),
|
|
9585
9594
|
/* @__PURE__ */ h.jsx(ka, { children: /* @__PURE__ */ h.jsx("p", { children: M }) }),
|
|
9586
|
-
/* @__PURE__ */ h.jsx(Ya, { children: /* @__PURE__ */ h.jsx(
|
|
9595
|
+
/* @__PURE__ */ h.jsx(Ya, { children: /* @__PURE__ */ h.jsx(At, { color: "primary", onClick: () => A(!I), children: B.t("close") }) })
|
|
9587
9596
|
]
|
|
9588
9597
|
}
|
|
9589
9598
|
) }),
|
|
9590
9599
|
/* @__PURE__ */ h.jsxs("div", { className: "position-relative", children: [
|
|
9591
9600
|
/* @__PURE__ */ h.jsx(
|
|
9592
|
-
|
|
9601
|
+
ed,
|
|
9593
9602
|
{
|
|
9594
9603
|
id: `${g.id}-${g.key}`,
|
|
9595
9604
|
inputClasses: "form-control",
|
|
9596
|
-
source:
|
|
9605
|
+
source: Dl(Q, 520),
|
|
9597
9606
|
onConfirm: (N) => {
|
|
9598
9607
|
if (O(!1), X.current = "", N) {
|
|
9599
9608
|
N === "" && G(null);
|
|
@@ -9627,12 +9636,12 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9627
9636
|
width: "100%",
|
|
9628
9637
|
bottom: "0px"
|
|
9629
9638
|
},
|
|
9630
|
-
children: /* @__PURE__ */ h.jsx(
|
|
9639
|
+
children: /* @__PURE__ */ h.jsx(Rn, { indeterminate: !0, label: "In elaborazione..." })
|
|
9631
9640
|
}
|
|
9632
9641
|
)
|
|
9633
9642
|
] }),
|
|
9634
9643
|
!y && /* @__PURE__ */ h.jsxs(
|
|
9635
|
-
|
|
9644
|
+
At,
|
|
9636
9645
|
{
|
|
9637
9646
|
type: "button",
|
|
9638
9647
|
value: B.t("Individua con precisione sulla mappa"),
|
|
@@ -9650,7 +9659,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9650
9659
|
]
|
|
9651
9660
|
}
|
|
9652
9661
|
) });
|
|
9653
|
-
}, Na = class Na extends
|
|
9662
|
+
}, Na = class Na extends Et {
|
|
9654
9663
|
constructor(i, m, d) {
|
|
9655
9664
|
super(i, m, d);
|
|
9656
9665
|
}
|
|
@@ -9677,7 +9686,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9677
9686
|
* @returns {*}
|
|
9678
9687
|
*/
|
|
9679
9688
|
static schema() {
|
|
9680
|
-
return
|
|
9689
|
+
return Et.schema({
|
|
9681
9690
|
type: "address_map"
|
|
9682
9691
|
});
|
|
9683
9692
|
}
|
|
@@ -9690,7 +9699,7 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9690
9699
|
attachReact(i, m) {
|
|
9691
9700
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
9692
9701
|
/* @__PURE__ */ h.jsx(
|
|
9693
|
-
|
|
9702
|
+
id,
|
|
9694
9703
|
{
|
|
9695
9704
|
ref: m,
|
|
9696
9705
|
component: this.component,
|
|
@@ -9730,9 +9739,9 @@ const Qc = /* @__PURE__ */ kl(Xc), Zc = ({
|
|
|
9730
9739
|
/*
|
|
9731
9740
|
* Defines the settingsForm when editing a component in the builder.
|
|
9732
9741
|
*/
|
|
9733
|
-
|
|
9742
|
+
Nt(Na, "editForm", Jc);
|
|
9734
9743
|
let _r = Na;
|
|
9735
|
-
const
|
|
9744
|
+
const od = [
|
|
9736
9745
|
{
|
|
9737
9746
|
key: "labelPosition",
|
|
9738
9747
|
ignore: !0
|
|
@@ -9774,24 +9783,24 @@ const id = [
|
|
|
9774
9783
|
weight: 1
|
|
9775
9784
|
}
|
|
9776
9785
|
];
|
|
9777
|
-
function
|
|
9786
|
+
function sd(...g) {
|
|
9778
9787
|
return Xt.baseEditForm(
|
|
9779
9788
|
[
|
|
9780
9789
|
{
|
|
9781
9790
|
key: "display",
|
|
9782
|
-
components:
|
|
9791
|
+
components: od
|
|
9783
9792
|
}
|
|
9784
9793
|
],
|
|
9785
9794
|
...g
|
|
9786
9795
|
);
|
|
9787
9796
|
}
|
|
9788
|
-
const
|
|
9797
|
+
const Nn = xr.Components.components.input, ld = ({ component: g, current: i, onChange: m, i18next: d }) => {
|
|
9789
9798
|
var R, I;
|
|
9790
|
-
const B = "list-services", L = "selected-category", [G, s] = oe([]), [w, a] = oe([]), [o, u] = oe(null), [c, p] = oe(null), [f, j] = oe(""), [v, D] = oe(!1), [O, Y] = oe(!1), F = vt(!1), P = vt(), S =
|
|
9799
|
+
const B = "list-services", L = "selected-category", [G, s] = oe([]), [w, a] = oe([]), [o, u] = oe(null), [c, p] = oe(null), [f, j] = oe(""), [v, D] = oe(!1), [O, Y] = oe(!1), F = vt(!1), P = vt(), S = hn(() => {
|
|
9791
9800
|
if (!o) return null;
|
|
9792
9801
|
const A = w.find((q) => q.name === o);
|
|
9793
9802
|
return A || G.find((q) => q.name === o) || null;
|
|
9794
|
-
}, [o, w, G]), y =
|
|
9803
|
+
}, [o, w, G]), y = hn(() => (S == null ? void 0 : S.services) || [], [S]), T = async () => {
|
|
9795
9804
|
var X, ce;
|
|
9796
9805
|
Y(!0);
|
|
9797
9806
|
const A = sessionStorage.getItem(B), $ = sessionStorage.getItem(L);
|
|
@@ -9868,7 +9877,7 @@ const Tn = En.Components.components.input, sd = ({ component: g, current: i, onC
|
|
|
9868
9877
|
offices: A.offices,
|
|
9869
9878
|
abstract: A.abstract,
|
|
9870
9879
|
view_type: A.view_type
|
|
9871
|
-
}), i.data.user_group = null,
|
|
9880
|
+
}), i.data.user_group = null, Vn();
|
|
9872
9881
|
}, M = (A) => {
|
|
9873
9882
|
u(A.name), p(null), j(""), a(G), m({});
|
|
9874
9883
|
};
|
|
@@ -9903,7 +9912,7 @@ const Tn = En.Components.components.input, sd = ({ component: g, current: i, onC
|
|
|
9903
9912
|
}, [G, (R = i == null ? void 0 : i.component) == null ? void 0 : R.key]), O ? /* @__PURE__ */ h.jsx("div", { className: "services-booking", ref: P, children: /* @__PURE__ */ h.jsxs("div", { children: [
|
|
9904
9913
|
d.t("Caricamento in corso"),
|
|
9905
9914
|
"..."
|
|
9906
|
-
] }) }) : /* @__PURE__ */ h.jsx("div", { className: "services-booking", ref: P, children: G && !v ? /* @__PURE__ */ h.jsxs(
|
|
9915
|
+
] }) }) : /* @__PURE__ */ h.jsx("div", { className: "services-booking", ref: P, children: G && !v ? /* @__PURE__ */ h.jsxs(yl, { children: [
|
|
9907
9916
|
/* @__PURE__ */ h.jsx(rr, { className: "mb-3", children: /* @__PURE__ */ h.jsx(_a, { children: /* @__PURE__ */ h.jsx("h3", { className: "h6 fw-bold text-uppercase mb-3", children: d.t("Seleziona il servizio per cui stai richiedendo un appuntamento") }) }) }),
|
|
9908
9917
|
/* @__PURE__ */ h.jsx(rr, { className: "mb-3", children: /* @__PURE__ */ h.jsx(_a, { children: /* @__PURE__ */ h.jsx("div", { className: "search-container", children: /* @__PURE__ */ h.jsx(
|
|
9909
9918
|
ur,
|
|
@@ -9946,7 +9955,7 @@ const Tn = En.Components.components.input, sd = ({ component: g, current: i, onC
|
|
|
9946
9955
|
/* @__PURE__ */ h.jsx("div", { className: "border-bottom border-primary mt-3 mb-4" })
|
|
9947
9956
|
] }) : null,
|
|
9948
9957
|
y.length > 0 ? /* @__PURE__ */ h.jsx("div", { className: "services-list", children: y.map((A) => {
|
|
9949
|
-
const $ = (c == null ? void 0 : c.id) === A.id, q =
|
|
9958
|
+
const $ = (c == null ? void 0 : c.id) === A.id, q = kl.sanitize(A == null ? void 0 : A.abstract);
|
|
9950
9959
|
return /* @__PURE__ */ h.jsx(
|
|
9951
9960
|
"button",
|
|
9952
9961
|
{
|
|
@@ -9986,7 +9995,7 @@ const Tn = En.Components.components.input, sd = ({ component: g, current: i, onC
|
|
|
9986
9995
|
i.dataValue.id
|
|
9987
9996
|
) }) : null })
|
|
9988
9997
|
] }) }) }) : null });
|
|
9989
|
-
}, Pa = class Pa extends
|
|
9998
|
+
}, Pa = class Pa extends Nn {
|
|
9990
9999
|
constructor(i, m, d) {
|
|
9991
10000
|
super(i, m, d);
|
|
9992
10001
|
}
|
|
@@ -10001,14 +10010,14 @@ const Tn = En.Components.components.input, sd = ({ component: g, current: i, onC
|
|
|
10001
10010
|
};
|
|
10002
10011
|
}
|
|
10003
10012
|
static schema() {
|
|
10004
|
-
return
|
|
10013
|
+
return Nn.schema({
|
|
10005
10014
|
type: "list-services"
|
|
10006
10015
|
});
|
|
10007
10016
|
}
|
|
10008
10017
|
attach(i, m) {
|
|
10009
10018
|
this.rootComponent = Lt(i), this.rootComponent.render(
|
|
10010
10019
|
/* @__PURE__ */ h.jsx(
|
|
10011
|
-
|
|
10020
|
+
ld,
|
|
10012
10021
|
{
|
|
10013
10022
|
ref: m,
|
|
10014
10023
|
component: this.component,
|
|
@@ -10032,35 +10041,35 @@ const Tn = En.Components.components.input, sd = ({ component: g, current: i, onC
|
|
|
10032
10041
|
return super.render();
|
|
10033
10042
|
}
|
|
10034
10043
|
};
|
|
10035
|
-
|
|
10044
|
+
Nt(Pa, "editForm", sd);
|
|
10036
10045
|
let br = Pa;
|
|
10037
|
-
const
|
|
10046
|
+
const Pn = {
|
|
10038
10047
|
pagebreak: cr,
|
|
10039
|
-
dynamic_calendar:
|
|
10048
|
+
dynamic_calendar: jc,
|
|
10040
10049
|
calendar: pr,
|
|
10041
10050
|
"calendar-advanced": gr,
|
|
10042
10051
|
sdcfile: vr,
|
|
10043
10052
|
address_map: _r,
|
|
10044
10053
|
"list-services": br
|
|
10045
10054
|
};
|
|
10046
|
-
function
|
|
10055
|
+
function jd(g) {
|
|
10047
10056
|
if (!g || typeof g.addComponent != "function")
|
|
10048
10057
|
throw new Error(
|
|
10049
10058
|
"registerFormioComponents requires Formio Components with addComponent(name, component)"
|
|
10050
10059
|
);
|
|
10051
|
-
return Object.entries(
|
|
10060
|
+
return Object.entries(Pn).forEach(([i, m]) => {
|
|
10052
10061
|
g.addComponent(i, m);
|
|
10053
|
-
}),
|
|
10062
|
+
}), Pn;
|
|
10054
10063
|
}
|
|
10055
10064
|
export {
|
|
10056
10065
|
pr as Calendar,
|
|
10057
10066
|
gr as CalendarAdvanced,
|
|
10058
10067
|
_r as FormioAddressMap,
|
|
10059
|
-
|
|
10068
|
+
jc as FormioDynamicCalendar,
|
|
10060
10069
|
br as FormioListServices,
|
|
10061
10070
|
cr as FormioPageBreak,
|
|
10062
10071
|
vr as SdcFile,
|
|
10063
|
-
|
|
10064
|
-
|
|
10072
|
+
Pn as formioCustomComponents,
|
|
10073
|
+
jd as registerFormioComponents
|
|
10065
10074
|
};
|
|
10066
10075
|
//# sourceMappingURL=index.js.map
|