@mjsz-vbr-elements/core 2.1.4 → 2.1.5

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