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