@mjsz-vbr-elements/core 2.30.2 → 2.31.1

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