prlg-ui 1.8.296 → 1.8.298

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