prlg-ui 1.8.323 → 1.8.325

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,758 @@
1
+ function N(w) {
2
+ return w && w.__esModule && Object.prototype.hasOwnProperty.call(w, "default") ? w.default : w;
3
+ }
4
+ var K = { exports: {} }, wt = K.exports, mt;
5
+ function St() {
6
+ return mt || (mt = 1, (function(w, I) {
7
+ (function(_, a) {
8
+ w.exports = a();
9
+ })(wt, (function() {
10
+ var _ = 1e3, a = 6e4, p = 36e5, v = "millisecond", M = "second", O = "minute", L = "hour", y = "day", d = "week", T = "month", F = "quarter", B = "year", Y = "date", A = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, f = /\[([^\]]+)]|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, g = { 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(s) {
11
+ var r = ["th", "st", "nd", "rd"], t = s % 100;
12
+ return "[" + s + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
13
+ } }, S = function(s, r, t) {
14
+ var o = String(s);
15
+ return !o || o.length >= r ? s : "" + Array(r + 1 - o.length).join(t) + s;
16
+ }, z = { s: S, z: function(s) {
17
+ var r = -s.utcOffset(), t = Math.abs(r), o = Math.floor(t / 60), n = t % 60;
18
+ return (r <= 0 ? "+" : "-") + S(o, 2, "0") + ":" + S(n, 2, "0");
19
+ }, m: function s(r, t) {
20
+ if (r.date() < t.date()) return -s(t, r);
21
+ var o = 12 * (t.year() - r.year()) + (t.month() - r.month()), n = r.clone().add(o, T), h = t - n < 0, l = r.clone().add(o + (h ? -1 : 1), T);
22
+ return +(-(o + (t - n) / (h ? n - l : l - n)) || 0);
23
+ }, a: function(s) {
24
+ return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
25
+ }, p: function(s) {
26
+ return { M: T, y: B, w: d, d: y, D: Y, h: L, m: O, s: M, ms: v, Q: F }[s] || String(s || "").toLowerCase().replace(/s$/, "");
27
+ }, u: function(s) {
28
+ return s === void 0;
29
+ } }, H = "en", m = {};
30
+ m[H] = g;
31
+ var i = "$isDayjsObject", e = function(s) {
32
+ return s instanceof b || !(!s || !s[i]);
33
+ }, D = function s(r, t, o) {
34
+ var n;
35
+ if (!r) return H;
36
+ if (typeof r == "string") {
37
+ var h = r.toLowerCase();
38
+ m[h] && (n = h), t && (m[h] = t, n = h);
39
+ var l = r.split("-");
40
+ if (!n && l.length > 1) return s(l[0]);
41
+ } else {
42
+ var x = r.name;
43
+ m[x] = r, n = x;
44
+ }
45
+ return !o && n && (H = n), n || !o && H;
46
+ }, $ = function(s, r) {
47
+ if (e(s)) return s.clone();
48
+ var t = typeof r == "object" ? r : {};
49
+ return t.date = s, t.args = arguments, new b(t);
50
+ }, u = z;
51
+ u.l = D, u.i = e, u.w = function(s, r) {
52
+ return $(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
53
+ };
54
+ var b = (function() {
55
+ function s(t) {
56
+ this.$L = D(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[i] = !0;
57
+ }
58
+ var r = s.prototype;
59
+ return r.parse = function(t) {
60
+ this.$d = (function(o) {
61
+ var n = o.date, h = o.utc;
62
+ if (n === null) return /* @__PURE__ */ new Date(NaN);
63
+ if (u.u(n)) return /* @__PURE__ */ new Date();
64
+ if (n instanceof Date) return new Date(n);
65
+ if (typeof n == "string" && !/Z$/i.test(n)) {
66
+ var l = n.match(c);
67
+ if (l) {
68
+ var x = l[2] - 1 || 0, q = (l[7] || "0").substring(0, 3);
69
+ return h ? new Date(Date.UTC(l[1], x, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, q)) : new Date(l[1], x, l[3] || 1, l[4] || 0, l[5] || 0, l[6] || 0, q);
70
+ }
71
+ }
72
+ return new Date(n);
73
+ })(t), this.init();
74
+ }, r.init = function() {
75
+ var t = this.$d;
76
+ this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
77
+ }, r.$utils = function() {
78
+ return u;
79
+ }, r.isValid = function() {
80
+ return this.$d.toString() !== A;
81
+ }, r.isSame = function(t, o) {
82
+ var n = $(t);
83
+ return this.startOf(o) <= n && n <= this.endOf(o);
84
+ }, r.isAfter = function(t, o) {
85
+ return $(t) < this.startOf(o);
86
+ }, r.isBefore = function(t, o) {
87
+ return this.endOf(o) < $(t);
88
+ }, r.$g = function(t, o, n) {
89
+ return u.u(t) ? this[o] : this.set(n, t);
90
+ }, r.unix = function() {
91
+ return Math.floor(this.valueOf() / 1e3);
92
+ }, r.valueOf = function() {
93
+ return this.$d.getTime();
94
+ }, r.startOf = function(t, o) {
95
+ var n = this, h = !!u.u(o) || o, l = u.p(t), x = function(Z, P) {
96
+ var R = u.w(n.$u ? Date.UTC(n.$y, P, Z) : new Date(n.$y, P, Z), n);
97
+ return h ? R : R.endOf(y);
98
+ }, q = function(Z, P) {
99
+ return u.w(n.toDate()[Z].apply(n.toDate("s"), (h ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(P)), n);
100
+ }, j = this.$W, C = this.$M, E = this.$D, J = "set" + (this.$u ? "UTC" : "");
101
+ switch (l) {
102
+ case B:
103
+ return h ? x(1, 0) : x(31, 11);
104
+ case T:
105
+ return h ? x(1, C) : x(0, C + 1);
106
+ case d:
107
+ var W = this.$locale().weekStart || 0, Q = (j < W ? j + 7 : j) - W;
108
+ return x(h ? E - Q : E + (6 - Q), C);
109
+ case y:
110
+ case Y:
111
+ return q(J + "Hours", 0);
112
+ case L:
113
+ return q(J + "Minutes", 1);
114
+ case O:
115
+ return q(J + "Seconds", 2);
116
+ case M:
117
+ return q(J + "Milliseconds", 3);
118
+ default:
119
+ return this.clone();
120
+ }
121
+ }, r.endOf = function(t) {
122
+ return this.startOf(t, !1);
123
+ }, r.$set = function(t, o) {
124
+ var n, h = u.p(t), l = "set" + (this.$u ? "UTC" : ""), x = (n = {}, n[y] = l + "Date", n[Y] = l + "Date", n[T] = l + "Month", n[B] = l + "FullYear", n[L] = l + "Hours", n[O] = l + "Minutes", n[M] = l + "Seconds", n[v] = l + "Milliseconds", n)[h], q = h === y ? this.$D + (o - this.$W) : o;
125
+ if (h === T || h === B) {
126
+ var j = this.clone().set(Y, 1);
127
+ j.$d[x](q), j.init(), this.$d = j.set(Y, Math.min(this.$D, j.daysInMonth())).$d;
128
+ } else x && this.$d[x](q);
129
+ return this.init(), this;
130
+ }, r.set = function(t, o) {
131
+ return this.clone().$set(t, o);
132
+ }, r.get = function(t) {
133
+ return this[u.p(t)]();
134
+ }, r.add = function(t, o) {
135
+ var n, h = this;
136
+ t = Number(t);
137
+ var l = u.p(o), x = function(C) {
138
+ var E = $(h);
139
+ return u.w(E.date(E.date() + Math.round(C * t)), h);
140
+ };
141
+ if (l === T) return this.set(T, this.$M + t);
142
+ if (l === B) return this.set(B, this.$y + t);
143
+ if (l === y) return x(1);
144
+ if (l === d) return x(7);
145
+ var q = (n = {}, n[O] = a, n[L] = p, n[M] = _, n)[l] || 1, j = this.$d.getTime() + t * q;
146
+ return u.w(j, this);
147
+ }, r.subtract = function(t, o) {
148
+ return this.add(-1 * t, o);
149
+ }, r.format = function(t) {
150
+ var o = this, n = this.$locale();
151
+ if (!this.isValid()) return n.invalidDate || A;
152
+ var h = t || "YYYY-MM-DDTHH:mm:ssZ", l = u.z(this), x = this.$H, q = this.$m, j = this.$M, C = n.weekdays, E = n.months, J = n.meridiem, W = function(P, R, U, V) {
153
+ return P && (P[R] || P(o, h)) || U[R].slice(0, V);
154
+ }, Q = function(P) {
155
+ return u.s(x % 12 || 12, P, "0");
156
+ }, Z = J || function(P, R, U) {
157
+ var V = P < 12 ? "AM" : "PM";
158
+ return U ? V.toLowerCase() : V;
159
+ };
160
+ return h.replace(f, (function(P, R) {
161
+ return R || (function(U) {
162
+ switch (U) {
163
+ case "YY":
164
+ return String(o.$y).slice(-2);
165
+ case "YYYY":
166
+ return u.s(o.$y, 4, "0");
167
+ case "M":
168
+ return j + 1;
169
+ case "MM":
170
+ return u.s(j + 1, 2, "0");
171
+ case "MMM":
172
+ return W(n.monthsShort, j, E, 3);
173
+ case "MMMM":
174
+ return W(E, j);
175
+ case "D":
176
+ return o.$D;
177
+ case "DD":
178
+ return u.s(o.$D, 2, "0");
179
+ case "d":
180
+ return String(o.$W);
181
+ case "dd":
182
+ return W(n.weekdaysMin, o.$W, C, 2);
183
+ case "ddd":
184
+ return W(n.weekdaysShort, o.$W, C, 3);
185
+ case "dddd":
186
+ return C[o.$W];
187
+ case "H":
188
+ return String(x);
189
+ case "HH":
190
+ return u.s(x, 2, "0");
191
+ case "h":
192
+ return Q(1);
193
+ case "hh":
194
+ return Q(2);
195
+ case "a":
196
+ return Z(x, q, !0);
197
+ case "A":
198
+ return Z(x, q, !1);
199
+ case "m":
200
+ return String(q);
201
+ case "mm":
202
+ return u.s(q, 2, "0");
203
+ case "s":
204
+ return String(o.$s);
205
+ case "ss":
206
+ return u.s(o.$s, 2, "0");
207
+ case "SSS":
208
+ return u.s(o.$ms, 3, "0");
209
+ case "Z":
210
+ return l;
211
+ }
212
+ return null;
213
+ })(P) || l.replace(":", "");
214
+ }));
215
+ }, r.utcOffset = function() {
216
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
217
+ }, r.diff = function(t, o, n) {
218
+ var h, l = this, x = u.p(o), q = $(t), j = (q.utcOffset() - this.utcOffset()) * a, C = this - q, E = function() {
219
+ return u.m(l, q);
220
+ };
221
+ switch (x) {
222
+ case B:
223
+ h = E() / 12;
224
+ break;
225
+ case T:
226
+ h = E();
227
+ break;
228
+ case F:
229
+ h = E() / 3;
230
+ break;
231
+ case d:
232
+ h = (C - j) / 6048e5;
233
+ break;
234
+ case y:
235
+ h = (C - j) / 864e5;
236
+ break;
237
+ case L:
238
+ h = C / p;
239
+ break;
240
+ case O:
241
+ h = C / a;
242
+ break;
243
+ case M:
244
+ h = C / _;
245
+ break;
246
+ default:
247
+ h = C;
248
+ }
249
+ return n ? h : u.a(h);
250
+ }, r.daysInMonth = function() {
251
+ return this.endOf(T).$D;
252
+ }, r.$locale = function() {
253
+ return m[this.$L];
254
+ }, r.locale = function(t, o) {
255
+ if (!t) return this.$L;
256
+ var n = this.clone(), h = D(t, o, !0);
257
+ return h && (n.$L = h), n;
258
+ }, r.clone = function() {
259
+ return u.w(this.$d, this);
260
+ }, r.toDate = function() {
261
+ return new Date(this.valueOf());
262
+ }, r.toJSON = function() {
263
+ return this.isValid() ? this.toISOString() : null;
264
+ }, r.toISOString = function() {
265
+ return this.$d.toISOString();
266
+ }, r.toString = function() {
267
+ return this.$d.toUTCString();
268
+ }, s;
269
+ })(), k = b.prototype;
270
+ return $.prototype = k, [["$ms", v], ["$s", M], ["$m", O], ["$H", L], ["$W", y], ["$M", T], ["$y", B], ["$D", Y]].forEach((function(s) {
271
+ k[s[1]] = function(r) {
272
+ return this.$g(r, s[0], s[1]);
273
+ };
274
+ })), $.extend = function(s, r) {
275
+ return s.$i || (s(r, b, $), s.$i = !0), $;
276
+ }, $.locale = D, $.isDayjs = e, $.unix = function(s) {
277
+ return $(1e3 * s);
278
+ }, $.en = m[H], $.Ls = m, $.p = {}, $;
279
+ }));
280
+ })(K)), K.exports;
281
+ }
282
+ var Ot = St();
283
+ const se = /* @__PURE__ */ N(Ot);
284
+ var tt = { exports: {} }, Lt = tt.exports, $t;
285
+ function Tt() {
286
+ return $t || ($t = 1, (function(w, I) {
287
+ (function(_, a) {
288
+ w.exports = a();
289
+ })(Lt, (function() {
290
+ var _ = { 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" };
291
+ return function(a, p, v) {
292
+ var M = p.prototype, O = M.format;
293
+ v.en.formats = _, M.format = function(L) {
294
+ L === void 0 && (L = "YYYY-MM-DDTHH:mm:ssZ");
295
+ var y = this.$locale().formats, d = (function(T, F) {
296
+ return T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(B, Y, A) {
297
+ var c = A && A.toUpperCase();
298
+ return Y || F[A] || _[A] || F[c].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(f, g, S) {
299
+ return g || S.slice(1);
300
+ }));
301
+ }));
302
+ })(L, y === void 0 ? {} : y);
303
+ return O.call(this, d);
304
+ };
305
+ };
306
+ }));
307
+ })(tt)), tt.exports;
308
+ }
309
+ var bt = Tt();
310
+ const ie = /* @__PURE__ */ N(bt);
311
+ var et = { exports: {} }, kt = et.exports, pt;
312
+ function At() {
313
+ return pt || (pt = 1, (function(w, I) {
314
+ (function(_, a) {
315
+ w.exports = a();
316
+ })(kt, (function() {
317
+ return function(_, a, p) {
318
+ _ = _ || {};
319
+ var v = a.prototype, M = { 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" };
320
+ function O(y, d, T, F) {
321
+ return v.fromToBase(y, d, T, F);
322
+ }
323
+ p.en.relativeTime = M, v.fromToBase = function(y, d, T, F, B) {
324
+ for (var Y, A, c, f = T.$locale().relativeTime || M, g = _.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" }], S = g.length, z = 0; z < S; z += 1) {
325
+ var H = g[z];
326
+ H.d && (Y = F ? p(y).diff(T, H.d, !0) : T.diff(y, H.d, !0));
327
+ var m = (_.rounding || Math.round)(Math.abs(Y));
328
+ if (c = Y > 0, m <= H.r || !H.r) {
329
+ m <= 1 && z > 0 && (H = g[z - 1]);
330
+ var i = f[H.l];
331
+ B && (m = B("" + m)), A = typeof i == "string" ? i.replace("%d", m) : i(m, d, H.l, c);
332
+ break;
333
+ }
334
+ }
335
+ if (d) return A;
336
+ var e = c ? f.future : f.past;
337
+ return typeof e == "function" ? e(A) : e.replace("%s", A);
338
+ }, v.to = function(y, d) {
339
+ return O(y, d, this, !0);
340
+ }, v.from = function(y, d) {
341
+ return O(y, d, this);
342
+ };
343
+ var L = function(y) {
344
+ return y.$u ? p.utc() : p();
345
+ };
346
+ v.toNow = function(y) {
347
+ return this.to(L(this), y);
348
+ }, v.fromNow = function(y) {
349
+ return this.from(L(this), y);
350
+ };
351
+ };
352
+ }));
353
+ })(et)), et.exports;
354
+ }
355
+ var Ht = At();
356
+ const oe = /* @__PURE__ */ N(Ht);
357
+ var rt = { exports: {} }, Ft = rt.exports, vt;
358
+ function qt() {
359
+ return vt || (vt = 1, (function(w, I) {
360
+ (function(_, a) {
361
+ w.exports = a();
362
+ })(Ft, (function() {
363
+ return function(_, a, p) {
364
+ a.prototype.isToday = function() {
365
+ var v = "YYYY-MM-DD", M = p();
366
+ return this.format(v) === M.format(v);
367
+ };
368
+ };
369
+ }));
370
+ })(rt)), rt.exports;
371
+ }
372
+ var Bt = qt();
373
+ const ae = /* @__PURE__ */ N(Bt);
374
+ var nt = { exports: {} }, jt = nt.exports, Mt;
375
+ function zt() {
376
+ return Mt || (Mt = 1, (function(w, I) {
377
+ (function(_, a) {
378
+ w.exports = a();
379
+ })(jt, (function() {
380
+ return function(_, a, p) {
381
+ a.prototype.isBetween = function(v, M, O, L) {
382
+ var y = p(v), d = p(M), T = (L = L || "()")[0] === "(", F = L[1] === ")";
383
+ return (T ? this.isAfter(y, O) : !this.isBefore(y, O)) && (F ? this.isBefore(d, O) : !this.isAfter(d, O)) || (T ? this.isBefore(y, O) : !this.isAfter(y, O)) && (F ? this.isAfter(d, O) : !this.isBefore(d, O));
384
+ };
385
+ };
386
+ }));
387
+ })(nt)), nt.exports;
388
+ }
389
+ var Ct = zt();
390
+ const ue = /* @__PURE__ */ N(Ct);
391
+ var st = { exports: {} }, It = st.exports, yt;
392
+ function Pt() {
393
+ return yt || (yt = 1, (function(w, I) {
394
+ (function(_, a) {
395
+ w.exports = a();
396
+ })(It, (function() {
397
+ return function(_, a) {
398
+ a.prototype.isSameOrBefore = function(p, v) {
399
+ return this.isSame(p, v) || this.isBefore(p, v);
400
+ };
401
+ };
402
+ }));
403
+ })(st)), st.exports;
404
+ }
405
+ var Et = Pt();
406
+ const ce = /* @__PURE__ */ N(Et);
407
+ var it = { exports: {} }, Rt = it.exports, Yt;
408
+ function Zt() {
409
+ return Yt || (Yt = 1, (function(w, I) {
410
+ (function(_, a) {
411
+ w.exports = a();
412
+ })(Rt, (function() {
413
+ return function(_, a) {
414
+ a.prototype.isSameOrAfter = function(p, v) {
415
+ return this.isSame(p, v) || this.isAfter(p, v);
416
+ };
417
+ };
418
+ }));
419
+ })(it)), it.exports;
420
+ }
421
+ var Nt = Zt();
422
+ const fe = /* @__PURE__ */ N(Nt);
423
+ var ot = { exports: {} }, Wt = ot.exports, _t;
424
+ function Ut() {
425
+ return _t || (_t = 1, (function(w, I) {
426
+ (function(_, a) {
427
+ w.exports = a();
428
+ })(Wt, (function() {
429
+ var _, a, p = 1e3, v = 6e4, M = 36e5, O = 864e5, L = /\[([^\]]+)]|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, y = 31536e6, d = 2628e6, T = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, F = { years: y, months: d, days: O, hours: M, minutes: v, seconds: p, milliseconds: 1, weeks: 6048e5 }, B = function(m) {
430
+ return m instanceof z;
431
+ }, Y = function(m, i, e) {
432
+ return new z(m, e, i.$l);
433
+ }, A = function(m) {
434
+ return a.p(m) + "s";
435
+ }, c = function(m) {
436
+ return m < 0;
437
+ }, f = function(m) {
438
+ return c(m) ? Math.ceil(m) : Math.floor(m);
439
+ }, g = function(m) {
440
+ return Math.abs(m);
441
+ }, S = function(m, i) {
442
+ return m ? c(m) ? { negative: !0, format: "" + g(m) + i } : { negative: !1, format: "" + m + i } : { negative: !1, format: "" };
443
+ }, z = (function() {
444
+ function m(e, D, $) {
445
+ var u = this;
446
+ if (this.$d = {}, this.$l = $, e === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), D) return Y(e * F[A(D)], this);
447
+ if (typeof e == "number") return this.$ms = e, this.parseFromMilliseconds(), this;
448
+ if (typeof e == "object") return Object.keys(e).forEach((function(s) {
449
+ u.$d[A(s)] = e[s];
450
+ })), this.calMilliseconds(), this;
451
+ if (typeof e == "string") {
452
+ var b = e.match(T);
453
+ if (b) {
454
+ var k = b.slice(2).map((function(s) {
455
+ return s != null ? Number(s) : 0;
456
+ }));
457
+ return this.$d.years = k[0], this.$d.months = k[1], this.$d.weeks = k[2], this.$d.days = k[3], this.$d.hours = k[4], this.$d.minutes = k[5], this.$d.seconds = k[6], this.calMilliseconds(), this;
458
+ }
459
+ }
460
+ return this;
461
+ }
462
+ var i = m.prototype;
463
+ return i.calMilliseconds = function() {
464
+ var e = this;
465
+ this.$ms = Object.keys(this.$d).reduce((function(D, $) {
466
+ return D + (e.$d[$] || 0) * F[$];
467
+ }), 0);
468
+ }, i.parseFromMilliseconds = function() {
469
+ var e = this.$ms;
470
+ this.$d.years = f(e / y), e %= y, this.$d.months = f(e / d), e %= d, this.$d.days = f(e / O), e %= O, this.$d.hours = f(e / M), e %= M, this.$d.minutes = f(e / v), e %= v, this.$d.seconds = f(e / p), e %= p, this.$d.milliseconds = e;
471
+ }, i.toISOString = function() {
472
+ var e = S(this.$d.years, "Y"), D = S(this.$d.months, "M"), $ = +this.$d.days || 0;
473
+ this.$d.weeks && ($ += 7 * this.$d.weeks);
474
+ var u = S($, "D"), b = S(this.$d.hours, "H"), k = S(this.$d.minutes, "M"), s = this.$d.seconds || 0;
475
+ this.$d.milliseconds && (s += this.$d.milliseconds / 1e3, s = Math.round(1e3 * s) / 1e3);
476
+ var r = S(s, "S"), t = e.negative || D.negative || u.negative || b.negative || k.negative || r.negative, o = b.format || k.format || r.format ? "T" : "", n = (t ? "-" : "") + "P" + e.format + D.format + u.format + o + b.format + k.format + r.format;
477
+ return n === "P" || n === "-P" ? "P0D" : n;
478
+ }, i.toJSON = function() {
479
+ return this.toISOString();
480
+ }, i.format = function(e) {
481
+ var D = e || "YYYY-MM-DDTHH:mm:ss", $ = { Y: this.$d.years, YY: a.s(this.$d.years, 2, "0"), YYYY: a.s(this.$d.years, 4, "0"), M: this.$d.months, MM: a.s(this.$d.months, 2, "0"), D: this.$d.days, DD: a.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: a.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: a.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: a.s(this.$d.seconds, 2, "0"), SSS: a.s(this.$d.milliseconds, 3, "0") };
482
+ return D.replace(L, (function(u, b) {
483
+ return b || String($[u]);
484
+ }));
485
+ }, i.as = function(e) {
486
+ return this.$ms / F[A(e)];
487
+ }, i.get = function(e) {
488
+ var D = this.$ms, $ = A(e);
489
+ return $ === "milliseconds" ? D %= 1e3 : D = $ === "weeks" ? f(D / F[$]) : this.$d[$], D || 0;
490
+ }, i.add = function(e, D, $) {
491
+ var u;
492
+ return u = D ? e * F[A(D)] : B(e) ? e.$ms : Y(e, this).$ms, Y(this.$ms + u * ($ ? -1 : 1), this);
493
+ }, i.subtract = function(e, D) {
494
+ return this.add(e, D, !0);
495
+ }, i.locale = function(e) {
496
+ var D = this.clone();
497
+ return D.$l = e, D;
498
+ }, i.clone = function() {
499
+ return Y(this.$ms, this);
500
+ }, i.humanize = function(e) {
501
+ return _().add(this.$ms, "ms").locale(this.$l).fromNow(!e);
502
+ }, i.valueOf = function() {
503
+ return this.asMilliseconds();
504
+ }, i.milliseconds = function() {
505
+ return this.get("milliseconds");
506
+ }, i.asMilliseconds = function() {
507
+ return this.as("milliseconds");
508
+ }, i.seconds = function() {
509
+ return this.get("seconds");
510
+ }, i.asSeconds = function() {
511
+ return this.as("seconds");
512
+ }, i.minutes = function() {
513
+ return this.get("minutes");
514
+ }, i.asMinutes = function() {
515
+ return this.as("minutes");
516
+ }, i.hours = function() {
517
+ return this.get("hours");
518
+ }, i.asHours = function() {
519
+ return this.as("hours");
520
+ }, i.days = function() {
521
+ return this.get("days");
522
+ }, i.asDays = function() {
523
+ return this.as("days");
524
+ }, i.weeks = function() {
525
+ return this.get("weeks");
526
+ }, i.asWeeks = function() {
527
+ return this.as("weeks");
528
+ }, i.months = function() {
529
+ return this.get("months");
530
+ }, i.asMonths = function() {
531
+ return this.as("months");
532
+ }, i.years = function() {
533
+ return this.get("years");
534
+ }, i.asYears = function() {
535
+ return this.as("years");
536
+ }, m;
537
+ })(), H = function(m, i, e) {
538
+ return m.add(i.years() * e, "y").add(i.months() * e, "M").add(i.days() * e, "d").add(i.hours() * e, "h").add(i.minutes() * e, "m").add(i.seconds() * e, "s").add(i.milliseconds() * e, "ms");
539
+ };
540
+ return function(m, i, e) {
541
+ _ = e, a = e().$utils(), e.duration = function(u, b) {
542
+ var k = e.locale();
543
+ return Y(u, { $l: k }, b);
544
+ }, e.isDuration = B;
545
+ var D = i.prototype.add, $ = i.prototype.subtract;
546
+ i.prototype.add = function(u, b) {
547
+ return B(u) ? H(this, u, 1) : D.bind(this)(u, b);
548
+ }, i.prototype.subtract = function(u, b) {
549
+ return B(u) ? H(this, u, -1) : $.bind(this)(u, b);
550
+ };
551
+ };
552
+ }));
553
+ })(ot)), ot.exports;
554
+ }
555
+ var Jt = Ut();
556
+ const he = /* @__PURE__ */ N(Jt);
557
+ var at = { exports: {} }, Vt = at.exports, Dt;
558
+ function Qt() {
559
+ return Dt || (Dt = 1, (function(w, I) {
560
+ (function(_, a) {
561
+ w.exports = a();
562
+ })(Vt, (function() {
563
+ var _ = { 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" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, p = /\d/, v = /\d\d/, M = /\d\d?/, O = /\d*[^-_:/,()\s\d]+/, L = {}, y = function(c) {
564
+ return (c = +c) + (c > 68 ? 1900 : 2e3);
565
+ }, d = function(c) {
566
+ return function(f) {
567
+ this[c] = +f;
568
+ };
569
+ }, T = [/[+-]\d\d:?(\d\d)?|Z/, function(c) {
570
+ (this.zone || (this.zone = {})).offset = (function(f) {
571
+ if (!f || f === "Z") return 0;
572
+ var g = f.match(/([+-]|\d\d)/g), S = 60 * g[1] + (+g[2] || 0);
573
+ return S === 0 ? 0 : g[0] === "+" ? -S : S;
574
+ })(c);
575
+ }], F = function(c) {
576
+ var f = L[c];
577
+ return f && (f.indexOf ? f : f.s.concat(f.f));
578
+ }, B = function(c, f) {
579
+ var g, S = L.meridiem;
580
+ if (S) {
581
+ for (var z = 1; z <= 24; z += 1) if (c.indexOf(S(z, 0, f)) > -1) {
582
+ g = z > 12;
583
+ break;
584
+ }
585
+ } else g = c === (f ? "pm" : "PM");
586
+ return g;
587
+ }, Y = { A: [O, function(c) {
588
+ this.afternoon = B(c, !1);
589
+ }], a: [O, function(c) {
590
+ this.afternoon = B(c, !0);
591
+ }], Q: [p, function(c) {
592
+ this.month = 3 * (c - 1) + 1;
593
+ }], S: [p, function(c) {
594
+ this.milliseconds = 100 * +c;
595
+ }], SS: [v, function(c) {
596
+ this.milliseconds = 10 * +c;
597
+ }], SSS: [/\d{3}/, function(c) {
598
+ this.milliseconds = +c;
599
+ }], s: [M, d("seconds")], ss: [M, d("seconds")], m: [M, d("minutes")], mm: [M, d("minutes")], H: [M, d("hours")], h: [M, d("hours")], HH: [M, d("hours")], hh: [M, d("hours")], D: [M, d("day")], DD: [v, d("day")], Do: [O, function(c) {
600
+ var f = L.ordinal, g = c.match(/\d+/);
601
+ if (this.day = g[0], f) for (var S = 1; S <= 31; S += 1) f(S).replace(/\[|\]/g, "") === c && (this.day = S);
602
+ }], w: [M, d("week")], ww: [v, d("week")], M: [M, d("month")], MM: [v, d("month")], MMM: [O, function(c) {
603
+ var f = F("months"), g = (F("monthsShort") || f.map((function(S) {
604
+ return S.slice(0, 3);
605
+ }))).indexOf(c) + 1;
606
+ if (g < 1) throw new Error();
607
+ this.month = g % 12 || g;
608
+ }], MMMM: [O, function(c) {
609
+ var f = F("months").indexOf(c) + 1;
610
+ if (f < 1) throw new Error();
611
+ this.month = f % 12 || f;
612
+ }], Y: [/[+-]?\d+/, d("year")], YY: [v, function(c) {
613
+ this.year = y(c);
614
+ }], YYYY: [/\d{4}/, d("year")], Z: T, ZZ: T };
615
+ function A(c) {
616
+ var f, g;
617
+ f = c, g = L && L.formats;
618
+ for (var S = (c = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, u, b) {
619
+ var k = b && b.toUpperCase();
620
+ return u || g[b] || _[b] || g[k].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(s, r, t) {
621
+ return r || t.slice(1);
622
+ }));
623
+ }))).match(a), z = S.length, H = 0; H < z; H += 1) {
624
+ var m = S[H], i = Y[m], e = i && i[0], D = i && i[1];
625
+ S[H] = D ? { regex: e, parser: D } : m.replace(/^\[|\]$/g, "");
626
+ }
627
+ return function($) {
628
+ for (var u = {}, b = 0, k = 0; b < z; b += 1) {
629
+ var s = S[b];
630
+ if (typeof s == "string") k += s.length;
631
+ else {
632
+ var r = s.regex, t = s.parser, o = $.slice(k), n = r.exec(o)[0];
633
+ t.call(u, n), $ = $.replace(n, "");
634
+ }
635
+ }
636
+ return (function(h) {
637
+ var l = h.afternoon;
638
+ if (l !== void 0) {
639
+ var x = h.hours;
640
+ l ? x < 12 && (h.hours += 12) : x === 12 && (h.hours = 0), delete h.afternoon;
641
+ }
642
+ })(u), u;
643
+ };
644
+ }
645
+ return function(c, f, g) {
646
+ g.p.customParseFormat = !0, c && c.parseTwoDigitYear && (y = c.parseTwoDigitYear);
647
+ var S = f.prototype, z = S.parse;
648
+ S.parse = function(H) {
649
+ var m = H.date, i = H.utc, e = H.args;
650
+ this.$u = i;
651
+ var D = e[1];
652
+ if (typeof D == "string") {
653
+ var $ = e[2] === !0, u = e[3] === !0, b = $ || u, k = e[2];
654
+ u && (k = e[2]), L = this.$locale(), !$ && k && (L = g.Ls[k]), this.$d = (function(o, n, h, l) {
655
+ try {
656
+ if (["x", "X"].indexOf(n) > -1) return new Date((n === "X" ? 1e3 : 1) * o);
657
+ var x = A(n)(o), q = x.year, j = x.month, C = x.day, E = x.hours, J = x.minutes, W = x.seconds, Q = x.milliseconds, Z = x.zone, P = x.week, R = /* @__PURE__ */ new Date(), U = C || (q || j ? 1 : R.getDate()), V = q || R.getFullYear(), X = 0;
658
+ q && !j || (X = j > 0 ? j - 1 : R.getMonth());
659
+ var G, ft = E || 0, ht = J || 0, dt = W || 0, lt = Q || 0;
660
+ return Z ? new Date(Date.UTC(V, X, U, ft, ht, dt, lt + 60 * Z.offset * 1e3)) : h ? new Date(Date.UTC(V, X, U, ft, ht, dt, lt)) : (G = new Date(V, X, U, ft, ht, dt, lt), P && (G = l(G).week(P).toDate()), G);
661
+ } catch {
662
+ return /* @__PURE__ */ new Date("");
663
+ }
664
+ })(m, D, i, g), this.init(), k && k !== !0 && (this.$L = this.locale(k).$L), b && m != this.format(D) && (this.$d = /* @__PURE__ */ new Date("")), L = {};
665
+ } else if (D instanceof Array) for (var s = D.length, r = 1; r <= s; r += 1) {
666
+ e[1] = D[r - 1];
667
+ var t = g.apply(this, e);
668
+ if (t.isValid()) {
669
+ this.$d = t.$d, this.$L = t.$L, this.init();
670
+ break;
671
+ }
672
+ r === s && (this.$d = /* @__PURE__ */ new Date(""));
673
+ }
674
+ else z.call(this, H);
675
+ };
676
+ };
677
+ }));
678
+ })(at)), at.exports;
679
+ }
680
+ var Xt = Qt();
681
+ const de = /* @__PURE__ */ N(Xt);
682
+ var ut = { exports: {} }, Gt = ut.exports, xt;
683
+ function Kt() {
684
+ return xt || (xt = 1, (function(w, I) {
685
+ (function(_, a) {
686
+ w.exports = a();
687
+ })(Gt, (function() {
688
+ return function(_, a, p) {
689
+ a.prototype.dayOfYear = function(v) {
690
+ var M = Math.round((p(this).startOf("day") - p(this).startOf("year")) / 864e5) + 1;
691
+ return v == null ? M : this.add(v - M, "day");
692
+ };
693
+ };
694
+ }));
695
+ })(ut)), ut.exports;
696
+ }
697
+ var te = Kt();
698
+ const le = /* @__PURE__ */ N(te);
699
+ var ct = { exports: {} }, ee = ct.exports, gt;
700
+ function re() {
701
+ return gt || (gt = 1, (function(w, I) {
702
+ (function(_, a) {
703
+ w.exports = a(St());
704
+ })(ee, (function(_) {
705
+ function a(Y) {
706
+ return Y && typeof Y == "object" && "default" in Y ? Y : { default: Y };
707
+ }
708
+ var p = a(_), v = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), M = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), O = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), L = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), y = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
709
+ function d(Y, A, c) {
710
+ var f, g;
711
+ return c === "m" ? A ? "минута" : "минуту" : Y + " " + (f = +Y, g = { mm: A ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[c].split("_"), f % 10 == 1 && f % 100 != 11 ? g[0] : f % 10 >= 2 && f % 10 <= 4 && (f % 100 < 10 || f % 100 >= 20) ? g[1] : g[2]);
712
+ }
713
+ var T = function(Y, A) {
714
+ return y.test(A) ? v[Y.month()] : M[Y.month()];
715
+ };
716
+ T.s = M, T.f = v;
717
+ var F = function(Y, A) {
718
+ return y.test(A) ? O[Y.month()] : L[Y.month()];
719
+ };
720
+ F.s = L, F.f = O;
721
+ var B = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: T, monthsShort: F, weekStart: 1, yearStart: 4, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: d, mm: d, h: "час", hh: d, d: "день", dd: d, M: "месяц", MM: d, y: "год", yy: d }, ordinal: function(Y) {
722
+ return Y;
723
+ }, meridiem: function(Y) {
724
+ return Y < 4 ? "ночи" : Y < 12 ? "утра" : Y < 17 ? "дня" : "вечера";
725
+ } };
726
+ return p.default.locale(B, null, !0), B;
727
+ }));
728
+ })(ct)), ct.exports;
729
+ }
730
+ re();
731
+ const me = (w) => {
732
+ const I = ["b", "kb", "mb", "gb", "tb"], _ = w.match(/[a-zA-Z]+/)?.[0] || "b", a = parseFloat(w.replace(_, "")), p = I.indexOf(_.toLowerCase());
733
+ return a * Math.pow(1024, p);
734
+ };
735
+ function $e(w, I = 3) {
736
+ if (isNaN(w) || w < 0) return "0 Б";
737
+ const _ = ["Б", "КБ", "МБ", "ГБ", "ТБ"];
738
+ let a = 0, p = w;
739
+ const v = Math.pow(10, I);
740
+ for (; p >= v && a < _.length - 1; )
741
+ p = p / 1024, a++;
742
+ const M = p < 1 || p < 10 ? I - 1 : p < 100 ? I - 2 : 0;
743
+ return `${M > 0 ? p.toFixed(M) : Math.round(p).toString()} ${_[a]}`;
744
+ }
745
+ export {
746
+ ue as a,
747
+ ce as b,
748
+ fe as c,
749
+ se as d,
750
+ he as e,
751
+ de as f,
752
+ le as g,
753
+ $e as h,
754
+ ae as i,
755
+ ie as l,
756
+ me as p,
757
+ oe as r
758
+ };