@mjsz-vbr-elements/core 2.3.7 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1303 @@
1
+ /**
2
+ * name: @mjsz-vbr-elements/core
3
+ * version: v2.4.0 - 06/06/2024, 12:35:57
4
+ * (c) 2024
5
+ * description: Data visualization for MJSZ VBR
6
+ * author: Ákos Stegner <akos.stegner@gmail.com>
7
+ */
8
+ import { LOCALE_FOR_LANG as Nt } from "./constants.js";
9
+ const Ft = {
10
+ "@@functional/placeholder": !0
11
+ };
12
+ function b(t) {
13
+ return t === Ft;
14
+ }
15
+ function q(t) {
16
+ return function e(r) {
17
+ return arguments.length === 0 || b(r) ? e : t.apply(this, arguments);
18
+ };
19
+ }
20
+ function B(t) {
21
+ return function e(r, n) {
22
+ switch (arguments.length) {
23
+ case 0:
24
+ return e;
25
+ case 1:
26
+ return b(r) ? e : q(function(a) {
27
+ return t(r, a);
28
+ });
29
+ default:
30
+ return b(r) && b(n) ? e : b(r) ? q(function(a) {
31
+ return t(a, n);
32
+ }) : b(n) ? q(function(a) {
33
+ return t(r, a);
34
+ }) : t(r, n);
35
+ }
36
+ };
37
+ }
38
+ function vt(t, e) {
39
+ switch (t) {
40
+ case 0:
41
+ return function() {
42
+ return e.apply(this, arguments);
43
+ };
44
+ case 1:
45
+ return function(r) {
46
+ return e.apply(this, arguments);
47
+ };
48
+ case 2:
49
+ return function(r, n) {
50
+ return e.apply(this, arguments);
51
+ };
52
+ case 3:
53
+ return function(r, n, a) {
54
+ return e.apply(this, arguments);
55
+ };
56
+ case 4:
57
+ return function(r, n, a, i) {
58
+ return e.apply(this, arguments);
59
+ };
60
+ case 5:
61
+ return function(r, n, a, i, s) {
62
+ return e.apply(this, arguments);
63
+ };
64
+ case 6:
65
+ return function(r, n, a, i, s, u) {
66
+ return e.apply(this, arguments);
67
+ };
68
+ case 7:
69
+ return function(r, n, a, i, s, u, c) {
70
+ return e.apply(this, arguments);
71
+ };
72
+ case 8:
73
+ return function(r, n, a, i, s, u, c, o) {
74
+ return e.apply(this, arguments);
75
+ };
76
+ case 9:
77
+ return function(r, n, a, i, s, u, c, o, S) {
78
+ return e.apply(this, arguments);
79
+ };
80
+ case 10:
81
+ return function(r, n, a, i, s, u, c, o, S, M) {
82
+ return e.apply(this, arguments);
83
+ };
84
+ default:
85
+ throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
86
+ }
87
+ }
88
+ function yt(t, e, r) {
89
+ return function() {
90
+ for (var n = [], a = 0, i = t, s = 0, u = !1; s < e.length || a < arguments.length; ) {
91
+ var c;
92
+ s < e.length && (!b(e[s]) || a >= arguments.length) ? c = e[s] : (c = arguments[a], a += 1), n[s] = c, b(c) ? u = !0 : i -= 1, s += 1;
93
+ }
94
+ return !u && i <= 0 ? r.apply(this, n) : vt(Math.max(0, i), yt(t, n, r));
95
+ };
96
+ }
97
+ var $t = /* @__PURE__ */ B(function(e, r) {
98
+ return e === 1 ? q(r) : vt(e, yt(e, [], r));
99
+ });
100
+ function Ie(t) {
101
+ return function e(r, n, a) {
102
+ switch (arguments.length) {
103
+ case 0:
104
+ return e;
105
+ case 1:
106
+ return b(r) ? e : B(function(i, s) {
107
+ return t(r, i, s);
108
+ });
109
+ case 2:
110
+ return b(r) && b(n) ? e : b(r) ? B(function(i, s) {
111
+ return t(i, n, s);
112
+ }) : b(n) ? B(function(i, s) {
113
+ return t(r, i, s);
114
+ }) : q(function(i) {
115
+ return t(r, n, i);
116
+ });
117
+ default:
118
+ return b(r) && b(n) && b(a) ? e : b(r) && b(n) ? B(function(i, s) {
119
+ return t(i, s, a);
120
+ }) : b(r) && b(a) ? B(function(i, s) {
121
+ return t(i, n, s);
122
+ }) : b(n) && b(a) ? B(function(i, s) {
123
+ return t(r, i, s);
124
+ }) : b(r) ? q(function(i) {
125
+ return t(i, n, a);
126
+ }) : b(n) ? q(function(i) {
127
+ return t(r, i, a);
128
+ }) : b(a) ? q(function(i) {
129
+ return t(r, n, i);
130
+ }) : t(r, n, a);
131
+ }
132
+ };
133
+ }
134
+ const Ht = Array.isArray || function(e) {
135
+ return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
136
+ };
137
+ function Ut(t) {
138
+ return t != null && typeof t["@@transducer/step"] == "function";
139
+ }
140
+ function Mt(t, e, r) {
141
+ return function() {
142
+ if (arguments.length === 0)
143
+ return r();
144
+ var n = arguments[arguments.length - 1];
145
+ if (!Ht(n)) {
146
+ for (var a = 0; a < t.length; ) {
147
+ if (typeof n[t[a]] == "function")
148
+ return n[t[a]].apply(n, Array.prototype.slice.call(arguments, 0, -1));
149
+ a += 1;
150
+ }
151
+ if (Ut(n)) {
152
+ var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
153
+ return i(n);
154
+ }
155
+ }
156
+ return r.apply(this, arguments);
157
+ };
158
+ }
159
+ function Ne(t) {
160
+ return t && t["@@transducer/reduced"] ? t : {
161
+ "@@transducer/value": t,
162
+ "@@transducer/reduced": !0
163
+ };
164
+ }
165
+ const at = {
166
+ init: function() {
167
+ return this.xf["@@transducer/init"]();
168
+ },
169
+ result: function(t) {
170
+ return this.xf["@@transducer/result"](t);
171
+ }
172
+ };
173
+ function ft(t) {
174
+ for (var e = [], r; !(r = t.next()).done; )
175
+ e.push(r.value);
176
+ return e;
177
+ }
178
+ function lt(t, e, r) {
179
+ for (var n = 0, a = r.length; n < a; ) {
180
+ if (t(e, r[n]))
181
+ return !0;
182
+ n += 1;
183
+ }
184
+ return !1;
185
+ }
186
+ function Bt(t) {
187
+ var e = String(t).match(/^function (\w*)/);
188
+ return e == null ? "" : e[1];
189
+ }
190
+ function ut(t, e) {
191
+ return Object.prototype.hasOwnProperty.call(e, t);
192
+ }
193
+ function Et(t, e) {
194
+ return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
195
+ }
196
+ const st = typeof Object.is == "function" ? Object.is : Et;
197
+ var ht = Object.prototype.toString, Wt = /* @__PURE__ */ function() {
198
+ return ht.call(arguments) === "[object Arguments]" ? function(e) {
199
+ return ht.call(e) === "[object Arguments]";
200
+ } : function(e) {
201
+ return ut("callee", e);
202
+ };
203
+ }(), qt = !/* @__PURE__ */ {
204
+ toString: null
205
+ }.propertyIsEnumerable("toString"), dt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], pt = /* @__PURE__ */ function() {
206
+ return arguments.propertyIsEnumerable("length");
207
+ }(), Zt = function(e, r) {
208
+ for (var n = 0; n < e.length; ) {
209
+ if (e[n] === r)
210
+ return !0;
211
+ n += 1;
212
+ }
213
+ return !1;
214
+ }, J = /* @__PURE__ */ q(typeof Object.keys == "function" && !pt ? function(e) {
215
+ return Object(e) !== e ? [] : Object.keys(e);
216
+ } : function(e) {
217
+ if (Object(e) !== e)
218
+ return [];
219
+ var r, n, a = [], i = pt && Wt(e);
220
+ for (r in e)
221
+ ut(r, e) && (!i || r !== "length") && (a[a.length] = r);
222
+ if (qt)
223
+ for (n = dt.length - 1; n >= 0; )
224
+ r = dt[n], ut(r, e) && !Zt(a, r) && (a[a.length] = r), n -= 1;
225
+ return a;
226
+ }), mt = /* @__PURE__ */ q(function(e) {
227
+ return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
228
+ });
229
+ function gt(t, e, r, n) {
230
+ var a = ft(t), i = ft(e);
231
+ function s(u, c) {
232
+ return ot(u, c, r.slice(), n.slice());
233
+ }
234
+ return !lt(function(u, c) {
235
+ return !lt(s, c, u);
236
+ }, i, a);
237
+ }
238
+ function ot(t, e, r, n) {
239
+ if (st(t, e))
240
+ return !0;
241
+ var a = mt(t);
242
+ if (a !== mt(e))
243
+ return !1;
244
+ if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
245
+ return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
246
+ if (typeof t.equals == "function" || typeof e.equals == "function")
247
+ return typeof t.equals == "function" && t.equals(e) && typeof e.equals == "function" && e.equals(t);
248
+ switch (a) {
249
+ case "Arguments":
250
+ case "Array":
251
+ case "Object":
252
+ if (typeof t.constructor == "function" && Bt(t.constructor) === "Promise")
253
+ return t === e;
254
+ break;
255
+ case "Boolean":
256
+ case "Number":
257
+ case "String":
258
+ if (!(typeof t == typeof e && st(t.valueOf(), e.valueOf())))
259
+ return !1;
260
+ break;
261
+ case "Date":
262
+ if (!st(t.valueOf(), e.valueOf()))
263
+ return !1;
264
+ break;
265
+ case "Error":
266
+ return t.name === e.name && t.message === e.message;
267
+ case "RegExp":
268
+ if (!(t.source === e.source && t.global === e.global && t.ignoreCase === e.ignoreCase && t.multiline === e.multiline && t.sticky === e.sticky && t.unicode === e.unicode))
269
+ return !1;
270
+ break;
271
+ }
272
+ for (var i = r.length - 1; i >= 0; ) {
273
+ if (r[i] === t)
274
+ return n[i] === e;
275
+ i -= 1;
276
+ }
277
+ switch (a) {
278
+ case "Map":
279
+ return t.size !== e.size ? !1 : gt(t.entries(), e.entries(), r.concat([t]), n.concat([e]));
280
+ case "Set":
281
+ return t.size !== e.size ? !1 : gt(t.values(), e.values(), r.concat([t]), n.concat([e]));
282
+ case "Arguments":
283
+ case "Array":
284
+ case "Object":
285
+ case "Boolean":
286
+ case "Number":
287
+ case "String":
288
+ case "Date":
289
+ case "Error":
290
+ case "RegExp":
291
+ case "Int8Array":
292
+ case "Uint8Array":
293
+ case "Uint8ClampedArray":
294
+ case "Int16Array":
295
+ case "Uint16Array":
296
+ case "Int32Array":
297
+ case "Uint32Array":
298
+ case "Float32Array":
299
+ case "Float64Array":
300
+ case "ArrayBuffer":
301
+ break;
302
+ default:
303
+ return !1;
304
+ }
305
+ var s = J(t);
306
+ if (s.length !== J(e).length)
307
+ return !1;
308
+ var u = r.concat([t]), c = n.concat([e]);
309
+ for (i = s.length - 1; i >= 0; ) {
310
+ var o = s[i];
311
+ if (!(ut(o, e) && ot(e[o], t[o], u, c)))
312
+ return !1;
313
+ i -= 1;
314
+ }
315
+ return !0;
316
+ }
317
+ var Gt = /* @__PURE__ */ B(function(e, r) {
318
+ return ot(e, r, [], []);
319
+ });
320
+ function Pt(t, e, r) {
321
+ var n, a;
322
+ if (typeof t.indexOf == "function")
323
+ switch (typeof e) {
324
+ case "number":
325
+ if (e === 0) {
326
+ for (n = 1 / e; r < t.length; ) {
327
+ if (a = t[r], a === 0 && 1 / a === n)
328
+ return r;
329
+ r += 1;
330
+ }
331
+ return -1;
332
+ } else if (e !== e) {
333
+ for (; r < t.length; ) {
334
+ if (a = t[r], typeof a == "number" && a !== a)
335
+ return r;
336
+ r += 1;
337
+ }
338
+ return -1;
339
+ }
340
+ return t.indexOf(e, r);
341
+ case "string":
342
+ case "boolean":
343
+ case "function":
344
+ case "undefined":
345
+ return t.indexOf(e, r);
346
+ case "object":
347
+ if (e === null)
348
+ return t.indexOf(e, r);
349
+ }
350
+ for (; r < t.length; ) {
351
+ if (Gt(t[r], e))
352
+ return r;
353
+ r += 1;
354
+ }
355
+ return -1;
356
+ }
357
+ function Vt(t, e) {
358
+ return Pt(e, t, 0) >= 0;
359
+ }
360
+ function nt(t, e) {
361
+ for (var r = 0, n = e.length, a = Array(n); r < n; )
362
+ a[r] = t(e[r]), r += 1;
363
+ return a;
364
+ }
365
+ function it(t) {
366
+ var e = t.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\f/g, "\\f").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t").replace(/\v/g, "\\v").replace(/\0/g, "\\0");
367
+ return '"' + e.replace(/"/g, '\\"') + '"';
368
+ }
369
+ var tt = function(e) {
370
+ return (e < 10 ? "0" : "") + e;
371
+ }, Rt = typeof Date.prototype.toISOString == "function" ? function(e) {
372
+ return e.toISOString();
373
+ } : function(e) {
374
+ return e.getUTCFullYear() + "-" + tt(e.getUTCMonth() + 1) + "-" + tt(e.getUTCDate()) + "T" + tt(e.getUTCHours()) + ":" + tt(e.getUTCMinutes()) + ":" + tt(e.getUTCSeconds()) + "." + (e.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
375
+ };
376
+ function Xt(t) {
377
+ return function() {
378
+ return !t.apply(this, arguments);
379
+ };
380
+ }
381
+ function St(t, e, r) {
382
+ for (var n = 0, a = r.length; n < a; )
383
+ e = t(e, r[n]), n += 1;
384
+ return e;
385
+ }
386
+ function Jt(t, e) {
387
+ for (var r = 0, n = e.length, a = []; r < n; )
388
+ t(e[r]) && (a[a.length] = e[r]), r += 1;
389
+ return a;
390
+ }
391
+ function Qt(t) {
392
+ return Object.prototype.toString.call(t) === "[object Object]";
393
+ }
394
+ var Kt = /* @__PURE__ */ function() {
395
+ function t(e, r) {
396
+ this.xf = r, this.f = e;
397
+ }
398
+ return t.prototype["@@transducer/init"] = at.init, t.prototype["@@transducer/result"] = at.result, t.prototype["@@transducer/step"] = function(e, r) {
399
+ return this.f(r) ? this.xf["@@transducer/step"](e, r) : e;
400
+ }, t;
401
+ }();
402
+ function te(t) {
403
+ return function(e) {
404
+ return new Kt(t, e);
405
+ };
406
+ }
407
+ var ee = /* @__PURE__ */ B(/* @__PURE__ */ Mt(["fantasy-land/filter", "filter"], te, function(t, e) {
408
+ return Qt(e) ? St(function(r, n) {
409
+ return t(e[n]) && (r[n] = e[n]), r;
410
+ }, {}, J(e)) : (
411
+ // else
412
+ Jt(t, e)
413
+ );
414
+ })), re = /* @__PURE__ */ B(function(e, r) {
415
+ return ee(Xt(e), r);
416
+ });
417
+ function _t(t, e) {
418
+ var r = function(s) {
419
+ var u = e.concat([t]);
420
+ return Vt(s, u) ? "<Circular>" : _t(s, u);
421
+ }, n = function(i, s) {
422
+ return nt(function(u) {
423
+ return it(u) + ": " + r(i[u]);
424
+ }, s.slice().sort());
425
+ };
426
+ switch (Object.prototype.toString.call(t)) {
427
+ case "[object Arguments]":
428
+ return "(function() { return arguments; }(" + nt(r, t).join(", ") + "))";
429
+ case "[object Array]":
430
+ return "[" + nt(r, t).concat(n(t, re(function(i) {
431
+ return /^\d+$/.test(i);
432
+ }, J(t)))).join(", ") + "]";
433
+ case "[object Boolean]":
434
+ return typeof t == "object" ? "new Boolean(" + r(t.valueOf()) + ")" : t.toString();
435
+ case "[object Date]":
436
+ return "new Date(" + (isNaN(t.valueOf()) ? r(NaN) : it(Rt(t))) + ")";
437
+ case "[object Map]":
438
+ return "new Map(" + r(Array.from(t)) + ")";
439
+ case "[object Null]":
440
+ return "null";
441
+ case "[object Number]":
442
+ return typeof t == "object" ? "new Number(" + r(t.valueOf()) + ")" : 1 / t === -1 / 0 ? "-0" : t.toString(10);
443
+ case "[object Set]":
444
+ return "new Set(" + r(Array.from(t).sort()) + ")";
445
+ case "[object String]":
446
+ return typeof t == "object" ? "new String(" + r(t.valueOf()) + ")" : it(t);
447
+ case "[object Undefined]":
448
+ return "undefined";
449
+ default:
450
+ if (typeof t.toString == "function") {
451
+ var a = t.toString();
452
+ if (a !== "[object Object]")
453
+ return a;
454
+ }
455
+ return "{" + n(t, J(t)).join(", ") + "}";
456
+ }
457
+ }
458
+ var ne = /* @__PURE__ */ q(function(e) {
459
+ return _t(e, []);
460
+ }), ae = /* @__PURE__ */ function() {
461
+ function t(e, r) {
462
+ this.xf = r, this.f = e;
463
+ }
464
+ return t.prototype["@@transducer/init"] = at.init, t.prototype["@@transducer/result"] = at.result, t.prototype["@@transducer/step"] = function(e, r) {
465
+ return this.xf["@@transducer/step"](e, this.f(r));
466
+ }, t;
467
+ }(), ue = function(e) {
468
+ return function(r) {
469
+ return new ae(e, r);
470
+ };
471
+ }, Fe = /* @__PURE__ */ B(/* @__PURE__ */ Mt(["fantasy-land/map", "map"], ue, function(e, r) {
472
+ switch (Object.prototype.toString.call(r)) {
473
+ case "[object Function]":
474
+ return $t(r.length, function() {
475
+ return e.call(this, r.apply(this, arguments));
476
+ });
477
+ case "[object Object]":
478
+ return St(function(n, a) {
479
+ return n[a] = e(r[a]), n;
480
+ }, {}, J(r));
481
+ default:
482
+ return nt(e, r);
483
+ }
484
+ }));
485
+ const wt = Number.isInteger || function(e) {
486
+ return e << 0 === e;
487
+ };
488
+ function se(t) {
489
+ return Object.prototype.toString.call(t) === "[object String]";
490
+ }
491
+ function Ot(t, e) {
492
+ var r = t < 0 ? e.length + t : t;
493
+ return se(e) ? e.charAt(r) : e[r];
494
+ }
495
+ var He = /* @__PURE__ */ B(function(e, r) {
496
+ if (r != null)
497
+ return wt(e) ? Ot(e, r) : r[e];
498
+ });
499
+ function ie(t) {
500
+ var e = Object.prototype.toString.call(t);
501
+ return e === "[object Function]" || e === "[object AsyncFunction]" || e === "[object GeneratorFunction]" || e === "[object AsyncGeneratorFunction]";
502
+ }
503
+ var oe = /* @__PURE__ */ B(function(e, r) {
504
+ return $t(e + 1, function() {
505
+ var n = arguments[e];
506
+ if (n != null && ie(n[r]))
507
+ return n[r].apply(n, Array.prototype.slice.call(arguments, 0, e));
508
+ throw new TypeError(ne(n) + ' does not have a method named "' + r + '"');
509
+ });
510
+ });
511
+ function ce(t, e) {
512
+ for (var r = e, n = 0; n < t.length; n += 1) {
513
+ if (r == null)
514
+ return;
515
+ var a = t[n];
516
+ wt(a) ? r = Ot(a, r) : r = r[a];
517
+ }
518
+ return r;
519
+ }
520
+ var fe = /* @__PURE__ */ B(ce), le = /* @__PURE__ */ oe(1, "split");
521
+ function Ue(t) {
522
+ return t && t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map((e) => e.toLowerCase()).join("-");
523
+ }
524
+ const Be = function(t = "", e = {}) {
525
+ return t.replace(/\{([^}]+)\}/g, function(r, n) {
526
+ return fe(le(".", n), e);
527
+ });
528
+ };
529
+ var Z = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
530
+ function G(t) {
531
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
532
+ }
533
+ var Dt = { exports: {} };
534
+ (function(t, e) {
535
+ (function(r, n) {
536
+ t.exports = n();
537
+ })(Z, function() {
538
+ var r = 1e3, n = 6e4, a = 36e5, i = "millisecond", s = "second", u = "minute", c = "hour", o = "day", S = "week", M = "month", $ = "quarter", x = "year", w = "date", l = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, j = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(m) {
539
+ var d = ["th", "st", "nd", "rd"], f = m % 100;
540
+ return "[" + m + (d[(f - 20) % 10] || d[f] || d[0]) + "]";
541
+ } }, Y = function(m, d, f) {
542
+ var p = String(m);
543
+ return !p || p.length >= d ? m : "" + Array(d + 1 - p.length).join(f) + m;
544
+ }, C = { s: Y, z: function(m) {
545
+ var d = -m.utcOffset(), f = Math.abs(d), p = Math.floor(f / 60), h = f % 60;
546
+ return (d <= 0 ? "+" : "-") + Y(p, 2, "0") + ":" + Y(h, 2, "0");
547
+ }, m: function m(d, f) {
548
+ if (d.date() < f.date())
549
+ return -m(f, d);
550
+ var p = 12 * (f.year() - d.year()) + (f.month() - d.month()), h = d.clone().add(p, M), g = f - h < 0, v = d.clone().add(p + (g ? -1 : 1), M);
551
+ return +(-(p + (f - h) / (g ? h - v : v - h)) || 0);
552
+ }, a: function(m) {
553
+ return m < 0 ? Math.ceil(m) || 0 : Math.floor(m);
554
+ }, p: function(m) {
555
+ return { M, y: x, w: S, d: o, D: w, h: c, m: u, s, ms: i, Q: $ }[m] || String(m || "").toLowerCase().replace(/s$/, "");
556
+ }, u: function(m) {
557
+ return m === void 0;
558
+ } }, D = "en", L = {};
559
+ L[D] = j;
560
+ var N = "$isDayjsObject", H = function(m) {
561
+ return m instanceof et || !(!m || !m[N]);
562
+ }, E = function m(d, f, p) {
563
+ var h;
564
+ if (!d)
565
+ return D;
566
+ if (typeof d == "string") {
567
+ var g = d.toLowerCase();
568
+ L[g] && (h = g), f && (L[g] = f, h = g);
569
+ var v = d.split("-");
570
+ if (!h && v.length > 1)
571
+ return m(v[0]);
572
+ } else {
573
+ var T = d.name;
574
+ L[T] = d, h = T;
575
+ }
576
+ return !p && h && (D = h), h || !p && D;
577
+ }, A = function(m, d) {
578
+ if (H(m))
579
+ return m.clone();
580
+ var f = typeof d == "object" ? d : {};
581
+ return f.date = m, f.args = arguments, new et(f);
582
+ }, O = C;
583
+ O.l = E, O.i = H, O.w = function(m, d) {
584
+ return A(m, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
585
+ };
586
+ var et = function() {
587
+ function m(f) {
588
+ this.$L = E(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[N] = !0;
589
+ }
590
+ var d = m.prototype;
591
+ return d.parse = function(f) {
592
+ this.$d = function(p) {
593
+ var h = p.date, g = p.utc;
594
+ if (h === null)
595
+ return /* @__PURE__ */ new Date(NaN);
596
+ if (O.u(h))
597
+ return /* @__PURE__ */ new Date();
598
+ if (h instanceof Date)
599
+ return new Date(h);
600
+ if (typeof h == "string" && !/Z$/i.test(h)) {
601
+ var v = h.match(_);
602
+ if (v) {
603
+ var T = v[2] - 1 || 0, z = (v[7] || "0").substring(0, 3);
604
+ return g ? new Date(Date.UTC(v[1], T, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, z)) : new Date(v[1], T, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, z);
605
+ }
606
+ }
607
+ return new Date(h);
608
+ }(f), this.init();
609
+ }, d.init = function() {
610
+ var f = this.$d;
611
+ this.$y = f.getFullYear(), this.$M = f.getMonth(), this.$D = f.getDate(), this.$W = f.getDay(), this.$H = f.getHours(), this.$m = f.getMinutes(), this.$s = f.getSeconds(), this.$ms = f.getMilliseconds();
612
+ }, d.$utils = function() {
613
+ return O;
614
+ }, d.isValid = function() {
615
+ return this.$d.toString() !== l;
616
+ }, d.isSame = function(f, p) {
617
+ var h = A(f);
618
+ return this.startOf(p) <= h && h <= this.endOf(p);
619
+ }, d.isAfter = function(f, p) {
620
+ return A(f) < this.startOf(p);
621
+ }, d.isBefore = function(f, p) {
622
+ return this.endOf(p) < A(f);
623
+ }, d.$g = function(f, p, h) {
624
+ return O.u(f) ? this[p] : this.set(h, f);
625
+ }, d.unix = function() {
626
+ return Math.floor(this.valueOf() / 1e3);
627
+ }, d.valueOf = function() {
628
+ return this.$d.getTime();
629
+ }, d.startOf = function(f, p) {
630
+ var h = this, g = !!O.u(p) || p, v = O.p(f), T = function(R, U) {
631
+ var P = O.w(h.$u ? Date.UTC(h.$y, U, R) : new Date(h.$y, U, R), h);
632
+ return g ? P : P.endOf(o);
633
+ }, z = function(R, U) {
634
+ return O.w(h.toDate()[R].apply(h.toDate("s"), (g ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(U)), h);
635
+ }, I = this.$W, F = this.$M, W = this.$D, X = "set" + (this.$u ? "UTC" : "");
636
+ switch (v) {
637
+ case x:
638
+ return g ? T(1, 0) : T(31, 11);
639
+ case M:
640
+ return g ? T(1, F) : T(0, F + 1);
641
+ case S:
642
+ var V = this.$locale().weekStart || 0, Q = (I < V ? I + 7 : I) - V;
643
+ return T(g ? W - Q : W + (6 - Q), F);
644
+ case o:
645
+ case w:
646
+ return z(X + "Hours", 0);
647
+ case c:
648
+ return z(X + "Minutes", 1);
649
+ case u:
650
+ return z(X + "Seconds", 2);
651
+ case s:
652
+ return z(X + "Milliseconds", 3);
653
+ default:
654
+ return this.clone();
655
+ }
656
+ }, d.endOf = function(f) {
657
+ return this.startOf(f, !1);
658
+ }, d.$set = function(f, p) {
659
+ var h, g = O.p(f), v = "set" + (this.$u ? "UTC" : ""), T = (h = {}, h[o] = v + "Date", h[w] = v + "Date", h[M] = v + "Month", h[x] = v + "FullYear", h[c] = v + "Hours", h[u] = v + "Minutes", h[s] = v + "Seconds", h[i] = v + "Milliseconds", h)[g], z = g === o ? this.$D + (p - this.$W) : p;
660
+ if (g === M || g === x) {
661
+ var I = this.clone().set(w, 1);
662
+ I.$d[T](z), I.init(), this.$d = I.set(w, Math.min(this.$D, I.daysInMonth())).$d;
663
+ } else
664
+ T && this.$d[T](z);
665
+ return this.init(), this;
666
+ }, d.set = function(f, p) {
667
+ return this.clone().$set(f, p);
668
+ }, d.get = function(f) {
669
+ return this[O.p(f)]();
670
+ }, d.add = function(f, p) {
671
+ var h, g = this;
672
+ f = Number(f);
673
+ var v = O.p(p), T = function(F) {
674
+ var W = A(g);
675
+ return O.w(W.date(W.date() + Math.round(F * f)), g);
676
+ };
677
+ if (v === M)
678
+ return this.set(M, this.$M + f);
679
+ if (v === x)
680
+ return this.set(x, this.$y + f);
681
+ if (v === o)
682
+ return T(1);
683
+ if (v === S)
684
+ return T(7);
685
+ var z = (h = {}, h[u] = n, h[c] = a, h[s] = r, h)[v] || 1, I = this.$d.getTime() + f * z;
686
+ return O.w(I, this);
687
+ }, d.subtract = function(f, p) {
688
+ return this.add(-1 * f, p);
689
+ }, d.format = function(f) {
690
+ var p = this, h = this.$locale();
691
+ if (!this.isValid())
692
+ return h.invalidDate || l;
693
+ var g = f || "YYYY-MM-DDTHH:mm:ssZ", v = O.z(this), T = this.$H, z = this.$m, I = this.$M, F = h.weekdays, W = h.months, X = h.meridiem, V = function(U, P, K, rt) {
694
+ return U && (U[P] || U(p, g)) || K[P].slice(0, rt);
695
+ }, Q = function(U) {
696
+ return O.s(T % 12 || 12, U, "0");
697
+ }, R = X || function(U, P, K) {
698
+ var rt = U < 12 ? "AM" : "PM";
699
+ return K ? rt.toLowerCase() : rt;
700
+ };
701
+ return g.replace(k, function(U, P) {
702
+ return P || function(K) {
703
+ switch (K) {
704
+ case "YY":
705
+ return String(p.$y).slice(-2);
706
+ case "YYYY":
707
+ return O.s(p.$y, 4, "0");
708
+ case "M":
709
+ return I + 1;
710
+ case "MM":
711
+ return O.s(I + 1, 2, "0");
712
+ case "MMM":
713
+ return V(h.monthsShort, I, W, 3);
714
+ case "MMMM":
715
+ return V(W, I);
716
+ case "D":
717
+ return p.$D;
718
+ case "DD":
719
+ return O.s(p.$D, 2, "0");
720
+ case "d":
721
+ return String(p.$W);
722
+ case "dd":
723
+ return V(h.weekdaysMin, p.$W, F, 2);
724
+ case "ddd":
725
+ return V(h.weekdaysShort, p.$W, F, 3);
726
+ case "dddd":
727
+ return F[p.$W];
728
+ case "H":
729
+ return String(T);
730
+ case "HH":
731
+ return O.s(T, 2, "0");
732
+ case "h":
733
+ return Q(1);
734
+ case "hh":
735
+ return Q(2);
736
+ case "a":
737
+ return R(T, z, !0);
738
+ case "A":
739
+ return R(T, z, !1);
740
+ case "m":
741
+ return String(z);
742
+ case "mm":
743
+ return O.s(z, 2, "0");
744
+ case "s":
745
+ return String(p.$s);
746
+ case "ss":
747
+ return O.s(p.$s, 2, "0");
748
+ case "SSS":
749
+ return O.s(p.$ms, 3, "0");
750
+ case "Z":
751
+ return v;
752
+ }
753
+ return null;
754
+ }(U) || v.replace(":", "");
755
+ });
756
+ }, d.utcOffset = function() {
757
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
758
+ }, d.diff = function(f, p, h) {
759
+ var g, v = this, T = O.p(p), z = A(f), I = (z.utcOffset() - this.utcOffset()) * n, F = this - z, W = function() {
760
+ return O.m(v, z);
761
+ };
762
+ switch (T) {
763
+ case x:
764
+ g = W() / 12;
765
+ break;
766
+ case M:
767
+ g = W();
768
+ break;
769
+ case $:
770
+ g = W() / 3;
771
+ break;
772
+ case S:
773
+ g = (F - I) / 6048e5;
774
+ break;
775
+ case o:
776
+ g = (F - I) / 864e5;
777
+ break;
778
+ case c:
779
+ g = F / a;
780
+ break;
781
+ case u:
782
+ g = F / n;
783
+ break;
784
+ case s:
785
+ g = F / r;
786
+ break;
787
+ default:
788
+ g = F;
789
+ }
790
+ return h ? g : O.a(g);
791
+ }, d.daysInMonth = function() {
792
+ return this.endOf(M).$D;
793
+ }, d.$locale = function() {
794
+ return L[this.$L];
795
+ }, d.locale = function(f, p) {
796
+ if (!f)
797
+ return this.$L;
798
+ var h = this.clone(), g = E(f, p, !0);
799
+ return g && (h.$L = g), h;
800
+ }, d.clone = function() {
801
+ return O.w(this.$d, this);
802
+ }, d.toDate = function() {
803
+ return new Date(this.valueOf());
804
+ }, d.toJSON = function() {
805
+ return this.isValid() ? this.toISOString() : null;
806
+ }, d.toISOString = function() {
807
+ return this.$d.toISOString();
808
+ }, d.toString = function() {
809
+ return this.$d.toUTCString();
810
+ }, m;
811
+ }(), ct = et.prototype;
812
+ return A.prototype = ct, [["$ms", i], ["$s", s], ["$m", u], ["$H", c], ["$W", o], ["$M", M], ["$y", x], ["$D", w]].forEach(function(m) {
813
+ ct[m[1]] = function(d) {
814
+ return this.$g(d, m[0], m[1]);
815
+ };
816
+ }), A.extend = function(m, d) {
817
+ return m.$i || (m(d, et, A), m.$i = !0), A;
818
+ }, A.locale = E, A.isDayjs = H, A.unix = function(m) {
819
+ return A(1e3 * m);
820
+ }, A.en = L[D], A.Ls = L, A.p = {}, A;
821
+ });
822
+ })(Dt);
823
+ var xt = Dt.exports;
824
+ const y = /* @__PURE__ */ G(xt);
825
+ var jt = { exports: {} };
826
+ (function(t, e) {
827
+ (function(r, n) {
828
+ t.exports = n();
829
+ })(Z, function() {
830
+ var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
831
+ return function(i, s, u) {
832
+ var c = s.prototype;
833
+ u.utc = function(l) {
834
+ var _ = { date: l, utc: !0, args: arguments };
835
+ return new s(_);
836
+ }, c.utc = function(l) {
837
+ var _ = u(this.toDate(), { locale: this.$L, utc: !0 });
838
+ return l ? _.add(this.utcOffset(), r) : _;
839
+ }, c.local = function() {
840
+ return u(this.toDate(), { locale: this.$L, utc: !1 });
841
+ };
842
+ var o = c.parse;
843
+ c.parse = function(l) {
844
+ l.utc && (this.$u = !0), this.$utils().u(l.$offset) || (this.$offset = l.$offset), o.call(this, l);
845
+ };
846
+ var S = c.init;
847
+ c.init = function() {
848
+ if (this.$u) {
849
+ var l = this.$d;
850
+ this.$y = l.getUTCFullYear(), this.$M = l.getUTCMonth(), this.$D = l.getUTCDate(), this.$W = l.getUTCDay(), this.$H = l.getUTCHours(), this.$m = l.getUTCMinutes(), this.$s = l.getUTCSeconds(), this.$ms = l.getUTCMilliseconds();
851
+ } else
852
+ S.call(this);
853
+ };
854
+ var M = c.utcOffset;
855
+ c.utcOffset = function(l, _) {
856
+ var k = this.$utils().u;
857
+ if (k(l))
858
+ return this.$u ? 0 : k(this.$offset) ? M.call(this) : this.$offset;
859
+ if (typeof l == "string" && (l = function(D) {
860
+ D === void 0 && (D = "");
861
+ var L = D.match(n);
862
+ if (!L)
863
+ return null;
864
+ var N = ("" + L[0]).match(a) || ["-", 0, 0], H = N[0], E = 60 * +N[1] + +N[2];
865
+ return E === 0 ? 0 : H === "+" ? E : -E;
866
+ }(l), l === null))
867
+ return this;
868
+ var j = Math.abs(l) <= 16 ? 60 * l : l, Y = this;
869
+ if (_)
870
+ return Y.$offset = j, Y.$u = l === 0, Y;
871
+ if (l !== 0) {
872
+ var C = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
873
+ (Y = this.local().add(j + C, r)).$offset = j, Y.$x.$localOffset = C;
874
+ } else
875
+ Y = this.utc();
876
+ return Y;
877
+ };
878
+ var $ = c.format;
879
+ c.format = function(l) {
880
+ var _ = l || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
881
+ return $.call(this, _);
882
+ }, c.valueOf = function() {
883
+ var l = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
884
+ return this.$d.valueOf() - 6e4 * l;
885
+ }, c.isUTC = function() {
886
+ return !!this.$u;
887
+ }, c.toISOString = function() {
888
+ return this.toDate().toISOString();
889
+ }, c.toString = function() {
890
+ return this.toDate().toUTCString();
891
+ };
892
+ var x = c.toDate;
893
+ c.toDate = function(l) {
894
+ return l === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
895
+ };
896
+ var w = c.diff;
897
+ c.diff = function(l, _, k) {
898
+ if (l && this.$u === l.$u)
899
+ return w.call(this, l, _, k);
900
+ var j = this.local(), Y = u(l).local();
901
+ return w.call(j, Y, _, k);
902
+ };
903
+ };
904
+ });
905
+ })(jt);
906
+ var he = jt.exports;
907
+ const de = /* @__PURE__ */ G(he);
908
+ var Yt = { exports: {} };
909
+ (function(t, e) {
910
+ (function(r, n) {
911
+ t.exports = n();
912
+ })(Z, function() {
913
+ var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, n = {};
914
+ return function(a, i, s) {
915
+ var u, c = function($, x, w) {
916
+ w === void 0 && (w = {});
917
+ var l = new Date($), _ = function(k, j) {
918
+ j === void 0 && (j = {});
919
+ var Y = j.timeZoneName || "short", C = k + "|" + Y, D = n[C];
920
+ return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: k, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: Y }), n[C] = D), D;
921
+ }(x, w);
922
+ return _.formatToParts(l);
923
+ }, o = function($, x) {
924
+ for (var w = c($, x), l = [], _ = 0; _ < w.length; _ += 1) {
925
+ var k = w[_], j = k.type, Y = k.value, C = r[j];
926
+ C >= 0 && (l[C] = parseInt(Y, 10));
927
+ }
928
+ var D = l[3], L = D === 24 ? 0 : D, N = l[0] + "-" + l[1] + "-" + l[2] + " " + L + ":" + l[4] + ":" + l[5] + ":000", H = +$;
929
+ return (s.utc(N).valueOf() - (H -= H % 1e3)) / 6e4;
930
+ }, S = i.prototype;
931
+ S.tz = function($, x) {
932
+ $ === void 0 && ($ = u);
933
+ var w = this.utcOffset(), l = this.toDate(), _ = l.toLocaleString("en-US", { timeZone: $ }), k = Math.round((l - new Date(_)) / 1e3 / 60), j = s(_, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(l.getTimezoneOffset() / 15) - k, !0);
934
+ if (x) {
935
+ var Y = j.utcOffset();
936
+ j = j.add(w - Y, "minute");
937
+ }
938
+ return j.$x.$timezone = $, j;
939
+ }, S.offsetName = function($) {
940
+ var x = this.$x.$timezone || s.tz.guess(), w = c(this.valueOf(), x, { timeZoneName: $ }).find(function(l) {
941
+ return l.type.toLowerCase() === "timezonename";
942
+ });
943
+ return w && w.value;
944
+ };
945
+ var M = S.startOf;
946
+ S.startOf = function($, x) {
947
+ if (!this.$x || !this.$x.$timezone)
948
+ return M.call(this, $, x);
949
+ var w = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
950
+ return M.call(w, $, x).tz(this.$x.$timezone, !0);
951
+ }, s.tz = function($, x, w) {
952
+ var l = w && x, _ = w || x || u, k = o(+s(), _);
953
+ if (typeof $ != "string")
954
+ return s($).tz(_);
955
+ var j = function(L, N, H) {
956
+ var E = L - 60 * N * 1e3, A = o(E, H);
957
+ if (N === A)
958
+ return [E, N];
959
+ var O = o(E -= 60 * (A - N) * 1e3, H);
960
+ return A === O ? [E, A] : [L - 60 * Math.min(A, O) * 1e3, Math.max(A, O)];
961
+ }(s.utc($, l).valueOf(), k, _), Y = j[0], C = j[1], D = s(Y).utcOffset(C);
962
+ return D.$x.$timezone = _, D;
963
+ }, s.tz.guess = function() {
964
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
965
+ }, s.tz.setDefault = function($) {
966
+ u = $;
967
+ };
968
+ };
969
+ });
970
+ })(Yt);
971
+ var pe = Yt.exports;
972
+ const me = /* @__PURE__ */ G(pe);
973
+ var Tt = { exports: {} };
974
+ (function(t, e) {
975
+ (function(r, n) {
976
+ t.exports = n();
977
+ })(Z, function() {
978
+ return function(r, n) {
979
+ var a = n.prototype, i = a.format;
980
+ a.format = function(s) {
981
+ var u = this, c = this.$locale();
982
+ if (!this.isValid())
983
+ return i.bind(this)(s);
984
+ var o = this.$utils(), S = (s || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(M) {
985
+ switch (M) {
986
+ case "Q":
987
+ return Math.ceil((u.$M + 1) / 3);
988
+ case "Do":
989
+ return c.ordinal(u.$D);
990
+ case "gggg":
991
+ return u.weekYear();
992
+ case "GGGG":
993
+ return u.isoWeekYear();
994
+ case "wo":
995
+ return c.ordinal(u.week(), "W");
996
+ case "w":
997
+ case "ww":
998
+ return o.s(u.week(), M === "w" ? 1 : 2, "0");
999
+ case "W":
1000
+ case "WW":
1001
+ return o.s(u.isoWeek(), M === "W" ? 1 : 2, "0");
1002
+ case "k":
1003
+ case "kk":
1004
+ return o.s(String(u.$H === 0 ? 24 : u.$H), M === "k" ? 1 : 2, "0");
1005
+ case "X":
1006
+ return Math.floor(u.$d.getTime() / 1e3);
1007
+ case "x":
1008
+ return u.$d.getTime();
1009
+ case "z":
1010
+ return "[" + u.offsetName() + "]";
1011
+ case "zzz":
1012
+ return "[" + u.offsetName("long") + "]";
1013
+ default:
1014
+ return M;
1015
+ }
1016
+ });
1017
+ return i.bind(this)(S);
1018
+ };
1019
+ };
1020
+ });
1021
+ })(Tt);
1022
+ var ge = Tt.exports;
1023
+ const ve = /* @__PURE__ */ G(ge);
1024
+ var At = { exports: {} };
1025
+ (function(t, e) {
1026
+ (function(r, n) {
1027
+ t.exports = n();
1028
+ })(Z, function() {
1029
+ return function(r, n) {
1030
+ n.prototype.isSameOrBefore = function(a, i) {
1031
+ return this.isSame(a, i) || this.isBefore(a, i);
1032
+ };
1033
+ };
1034
+ });
1035
+ })(At);
1036
+ var ye = At.exports;
1037
+ const $e = /* @__PURE__ */ G(ye);
1038
+ var bt = { exports: {} };
1039
+ (function(t, e) {
1040
+ (function(r, n) {
1041
+ t.exports = n();
1042
+ })(Z, function() {
1043
+ return function(r, n, a) {
1044
+ n.prototype.isBetween = function(i, s, u, c) {
1045
+ var o = a(i), S = a(s), M = (c = c || "()")[0] === "(", $ = c[1] === ")";
1046
+ return (M ? this.isAfter(o, u) : !this.isBefore(o, u)) && ($ ? this.isBefore(S, u) : !this.isAfter(S, u)) || (M ? this.isBefore(o, u) : !this.isAfter(o, u)) && ($ ? this.isAfter(S, u) : !this.isBefore(S, u));
1047
+ };
1048
+ };
1049
+ });
1050
+ })(bt);
1051
+ var Me = bt.exports;
1052
+ const Se = /* @__PURE__ */ G(Me);
1053
+ var kt = { exports: {} };
1054
+ (function(t, e) {
1055
+ (function(r, n) {
1056
+ t.exports = n();
1057
+ })(Z, function() {
1058
+ return function(r, n, a) {
1059
+ n.prototype.isToday = function() {
1060
+ var i = "YYYY-MM-DD", s = a();
1061
+ return this.format(i) === s.format(i);
1062
+ };
1063
+ };
1064
+ });
1065
+ })(kt);
1066
+ var _e = kt.exports;
1067
+ const we = /* @__PURE__ */ G(_e);
1068
+ var Lt = { exports: {} };
1069
+ (function(t, e) {
1070
+ (function(r, n) {
1071
+ t.exports = n();
1072
+ })(Z, function() {
1073
+ return function(r, n) {
1074
+ n.prototype.weekday = function(a) {
1075
+ var i = this.$locale().weekStart || 0, s = this.$W, u = (s < i ? s + 7 : s) - i;
1076
+ return this.$utils().u(a) ? u : this.subtract(u, "day").add(a, "day");
1077
+ };
1078
+ };
1079
+ });
1080
+ })(Lt);
1081
+ var Oe = Lt.exports;
1082
+ const De = /* @__PURE__ */ G(Oe);
1083
+ var zt = { exports: {} };
1084
+ (function(t, e) {
1085
+ (function(r, n) {
1086
+ t.exports = n();
1087
+ })(Z, function() {
1088
+ return function(r, n, a) {
1089
+ var i = function(s, u) {
1090
+ if (!u || !u.length || u.length === 1 && !u[0] || u.length === 1 && Array.isArray(u[0]) && !u[0].length)
1091
+ return null;
1092
+ var c;
1093
+ u.length === 1 && u[0].length > 0 && (u = u[0]), c = (u = u.filter(function(S) {
1094
+ return S;
1095
+ }))[0];
1096
+ for (var o = 1; o < u.length; o += 1)
1097
+ u[o].isValid() && !u[o][s](c) || (c = u[o]);
1098
+ return c;
1099
+ };
1100
+ a.max = function() {
1101
+ var s = [].slice.call(arguments, 0);
1102
+ return i("isAfter", s);
1103
+ }, a.min = function() {
1104
+ var s = [].slice.call(arguments, 0);
1105
+ return i("isBefore", s);
1106
+ };
1107
+ };
1108
+ });
1109
+ })(zt);
1110
+ var xe = zt.exports;
1111
+ const je = /* @__PURE__ */ G(xe);
1112
+ var Ct = { exports: {} };
1113
+ (function(t, e) {
1114
+ (function(r, n) {
1115
+ t.exports = n();
1116
+ })(Z, function() {
1117
+ var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
1118
+ return function(n, a, i) {
1119
+ var s = a.prototype, u = s.format;
1120
+ i.en.formats = r, s.format = function(c) {
1121
+ c === void 0 && (c = "YYYY-MM-DDTHH:mm:ssZ");
1122
+ var o = this.$locale().formats, S = function(M, $) {
1123
+ return M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(x, w, l) {
1124
+ var _ = l && l.toUpperCase();
1125
+ return w || $[l] || r[l] || $[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, j, Y) {
1126
+ return j || Y.slice(1);
1127
+ });
1128
+ });
1129
+ }(c, o === void 0 ? {} : o);
1130
+ return u.call(this, S);
1131
+ };
1132
+ };
1133
+ });
1134
+ })(Ct);
1135
+ var Ye = Ct.exports;
1136
+ const Te = /* @__PURE__ */ G(Ye);
1137
+ var It = { exports: {} };
1138
+ (function(t, e) {
1139
+ (function(r, n) {
1140
+ t.exports = n();
1141
+ })(Z, function() {
1142
+ return function(r, n, a) {
1143
+ r = r || {};
1144
+ var i = n.prototype, s = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
1145
+ function u(o, S, M, $) {
1146
+ return i.fromToBase(o, S, M, $);
1147
+ }
1148
+ a.en.relativeTime = s, i.fromToBase = function(o, S, M, $, x) {
1149
+ for (var w, l, _, k = M.$locale().relativeTime || s, j = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], Y = j.length, C = 0; C < Y; C += 1) {
1150
+ var D = j[C];
1151
+ D.d && (w = $ ? a(o).diff(M, D.d, !0) : M.diff(o, D.d, !0));
1152
+ var L = (r.rounding || Math.round)(Math.abs(w));
1153
+ if (_ = w > 0, L <= D.r || !D.r) {
1154
+ L <= 1 && C > 0 && (D = j[C - 1]);
1155
+ var N = k[D.l];
1156
+ x && (L = x("" + L)), l = typeof N == "string" ? N.replace("%d", L) : N(L, S, D.l, _);
1157
+ break;
1158
+ }
1159
+ }
1160
+ if (S)
1161
+ return l;
1162
+ var H = _ ? k.future : k.past;
1163
+ return typeof H == "function" ? H(l) : H.replace("%s", l);
1164
+ }, i.to = function(o, S) {
1165
+ return u(o, S, this, !0);
1166
+ }, i.from = function(o, S) {
1167
+ return u(o, S, this);
1168
+ };
1169
+ var c = function(o) {
1170
+ return o.$u ? a.utc() : a();
1171
+ };
1172
+ i.toNow = function(o) {
1173
+ return this.to(c(this), o);
1174
+ }, i.fromNow = function(o) {
1175
+ return this.from(c(this), o);
1176
+ };
1177
+ };
1178
+ });
1179
+ })(It);
1180
+ var Ae = It.exports;
1181
+ const be = /* @__PURE__ */ G(Ae);
1182
+ var ke = { exports: {} };
1183
+ (function(t, e) {
1184
+ (function(r, n) {
1185
+ t.exports = n(xt);
1186
+ })(Z, function(r) {
1187
+ function n(s) {
1188
+ return s && typeof s == "object" && "default" in s ? s : { default: s };
1189
+ }
1190
+ var a = n(r), i = { name: "hu", weekdays: "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"), weekdaysShort: "vas_hét_kedd_sze_csüt_pén_szo".split("_"), weekdaysMin: "v_h_k_sze_cs_p_szo".split("_"), months: "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"), monthsShort: "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"), ordinal: function(s) {
1191
+ return s + ".";
1192
+ }, weekStart: 1, relativeTime: { future: "%s múlva", past: "%s", s: function(s, u, c, o) {
1193
+ return "néhány másodperc" + (o || u ? "" : "e");
1194
+ }, m: function(s, u, c, o) {
1195
+ return "egy perc" + (o || u ? "" : "e");
1196
+ }, mm: function(s, u, c, o) {
1197
+ return s + " perc" + (o || u ? "" : "e");
1198
+ }, h: function(s, u, c, o) {
1199
+ return "egy " + (o || u ? "óra" : "órája");
1200
+ }, hh: function(s, u, c, o) {
1201
+ return s + " " + (o || u ? "óra" : "órája");
1202
+ }, d: function(s, u, c, o) {
1203
+ return "egy " + (o || u ? "nap" : "napja");
1204
+ }, dd: function(s, u, c, o) {
1205
+ return s + " " + (o || u ? "nap" : "napja");
1206
+ }, M: function(s, u, c, o) {
1207
+ return "egy " + (o || u ? "hónap" : "hónapja");
1208
+ }, MM: function(s, u, c, o) {
1209
+ return s + " " + (o || u ? "hónap" : "hónapja");
1210
+ }, y: function(s, u, c, o) {
1211
+ return "egy " + (o || u ? "év" : "éve");
1212
+ }, yy: function(s, u, c, o) {
1213
+ return s + " " + (o || u ? "év" : "éve");
1214
+ } }, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "YYYY.MM.DD.", LL: "YYYY. MMMM D.", LLL: "YYYY. MMMM D. H:mm", LLLL: "YYYY. MMMM D., dddd H:mm" } };
1215
+ return a.default.locale(i, null, !0), i;
1216
+ });
1217
+ })(ke);
1218
+ y.extend(de);
1219
+ y.extend(me);
1220
+ y.extend(ve);
1221
+ y.extend(be);
1222
+ y.extend(Te);
1223
+ y.extend($e);
1224
+ y.extend(Se);
1225
+ y.extend(we);
1226
+ y.extend(De);
1227
+ y.extend(je);
1228
+ const Ee = () => y.tz.guess(), We = (t = "", e = "", r = "", n = "hu") => (r = r || y.tz.guess(), y(t).isValid() ? y(t).tz(r).locale(n).format(e) : ""), qe = (t = "", e = "", r = "hu") => {
1229
+ if (!y(t).isValid())
1230
+ return "";
1231
+ e = e || y.tz.guess();
1232
+ const a = new Intl.DateTimeFormat(Le(r), {
1233
+ timeZone: e,
1234
+ timeZoneName: "short"
1235
+ }).formatToParts(new Date(t)).find((i) => i.type === "timeZoneName");
1236
+ return a && a.value;
1237
+ }, Le = (t) => Nt.get(t), Ze = (t) => {
1238
+ const e = t.split(":");
1239
+ return parseInt(e[0], 10) * 60 + parseInt(e[1], 10);
1240
+ }, Ge = (t) => {
1241
+ const e = ~~(t / 60), r = ~~t % 60;
1242
+ return [e.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
1243
+ }, Pe = (t) => {
1244
+ const e = Math.trunc(t), r = Math.round((t - e) / 10 * 60 * 10);
1245
+ return [e.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
1246
+ }, Ve = (t, e = "day") => y().isSameOrBefore(y(t), e), ze = (t, e, r, n = "[]") => y(t).isBetween(e, y(r), "day", n), Re = (t, e, r = "month") => y(t).isSame(e, r), Xe = (t, e = "hu") => y(t).locale(e).toNow(!0), Je = (t, e, r = "day") => y(t).isBefore(e, r), Qe = (t, e, r = "day") => y(t).isAfter(e, r), Ke = (t) => y(t).isToday(), tr = (t) => {
1247
+ const e = y().weekday(1), r = y().weekday(7);
1248
+ return ze(t, e, r);
1249
+ }, er = (t) => {
1250
+ const e = y(t).weekday(1), r = y(t).weekday(7);
1251
+ return { startDate: e, endDate: r };
1252
+ }, rr = (t, e) => y(t).subtract(e, "day"), nr = (t, e) => y(t).add(e, "day"), ar = (t) => y(t).startOf("month"), ur = (t) => y(t).endOf("month"), sr = (t) => (Array.isArray(t) && (t = t.map((e) => y(e))), y.min(t)), ir = (t) => (Array.isArray(t) && (t = t.map((e) => y(e))), y.max(...t));
1253
+ export {
1254
+ Wt as A,
1255
+ Gt as B,
1256
+ B as C,
1257
+ Fe as D,
1258
+ le as E,
1259
+ fe as F,
1260
+ J as G,
1261
+ ee as H,
1262
+ He as I,
1263
+ Ie as J,
1264
+ ut as K,
1265
+ ne as L,
1266
+ vt as M,
1267
+ $t as N,
1268
+ wt as O,
1269
+ mt as P,
1270
+ at as Q,
1271
+ yt as R,
1272
+ Mt as S,
1273
+ Ne as T,
1274
+ Vt as U,
1275
+ oe as V,
1276
+ q as _,
1277
+ Ge as a,
1278
+ Pe as b,
1279
+ Ze as c,
1280
+ ze as d,
1281
+ Re as e,
1282
+ We as f,
1283
+ Ee as g,
1284
+ Je as h,
1285
+ Ve as i,
1286
+ Qe as j,
1287
+ Ke as k,
1288
+ tr as l,
1289
+ er as m,
1290
+ nr as n,
1291
+ qe as o,
1292
+ ar as p,
1293
+ ur as q,
1294
+ sr as r,
1295
+ rr as s,
1296
+ ir as t,
1297
+ Ue as u,
1298
+ Be as v,
1299
+ Ht as w,
1300
+ se as x,
1301
+ Xe as y,
1302
+ Qt as z
1303
+ };