@profitliga/ui 1.1.16 → 1.1.18

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,490 +0,0 @@
1
- import B from "dayjs";
2
- import { useBreakpoints as St } from "@vueuse/core";
3
- const hr = (l) => {
4
- const T = ["b", "kb", "mb", "gb", "tb"], f = l.match(/[a-zA-Z]+/)?.[0] || "b", e = parseFloat(l.replace(f, "")), i = T.indexOf(f.toLowerCase());
5
- return e * Math.pow(1024, i);
6
- };
7
- function mr(l, T = 3) {
8
- if (isNaN(l) || l < 0) return "0 Б";
9
- const f = ["Б", "КБ", "МБ", "ГБ", "ТБ"];
10
- let e = 0, i = l;
11
- const a = Math.pow(10, T);
12
- for (; i >= a && e < f.length - 1; )
13
- i = i / 1024, e++;
14
- const c = i < 1 || i < 10 ? T - 1 : i < 100 ? T - 2 : 0;
15
- return `${c > 0 ? i.toFixed(c) : Math.round(i).toString()} ${f[e]}`;
16
- }
17
- function H(l) {
18
- return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
19
- }
20
- var C = { exports: {} }, wt = C.exports, ft;
21
- function gt() {
22
- return ft || (ft = 1, (function(l, T) {
23
- (function(f, e) {
24
- l.exports = e(B);
25
- })(wt, (function(f) {
26
- function e(h) {
27
- return h && typeof h == "object" && "default" in h ? h : { default: h };
28
- }
29
- var i = e(f), a = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), c = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), $ = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), _ = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), p = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
30
- function o(h, D, n) {
31
- var s, d;
32
- return n === "m" ? D ? "минута" : "минуту" : h + " " + (s = +h, d = { mm: D ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[n].split("_"), s % 10 == 1 && s % 100 != 11 ? d[0] : s % 10 >= 2 && s % 10 <= 4 && (s % 100 < 10 || s % 100 >= 20) ? d[1] : d[2]);
33
- }
34
- var g = function(h, D) {
35
- return p.test(D) ? a[h.month()] : c[h.month()];
36
- };
37
- g.s = c, g.f = a;
38
- var S = function(h, D) {
39
- return p.test(D) ? $[h.month()] : _[h.month()];
40
- };
41
- S.s = _, S.f = $;
42
- var k = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: g, monthsShort: S, 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: o, mm: o, h: "час", hh: o, d: "день", dd: o, M: "месяц", MM: o, y: "год", yy: o }, ordinal: function(h) {
43
- return h;
44
- }, meridiem: function(h) {
45
- return h < 4 ? "ночи" : h < 12 ? "утра" : h < 17 ? "дня" : "вечера";
46
- } };
47
- return i.default.locale(k, null, !0), k;
48
- }));
49
- })(C)), C.exports;
50
- }
51
- gt();
52
- var j = { exports: {} }, Lt = j.exports, dt;
53
- function Ot() {
54
- return dt || (dt = 1, (function(l, T) {
55
- (function(f, e) {
56
- l.exports = e();
57
- })(Lt, (function() {
58
- var f = { 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" }, e = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d/, a = /\d\d/, c = /\d\d?/, $ = /\d*[^-_:/,()\s\d]+/, _ = {}, p = function(n) {
59
- return (n = +n) + (n > 68 ? 1900 : 2e3);
60
- }, o = function(n) {
61
- return function(s) {
62
- this[n] = +s;
63
- };
64
- }, g = [/[+-]\d\d:?(\d\d)?|Z/, function(n) {
65
- (this.zone || (this.zone = {})).offset = (function(s) {
66
- if (!s || s === "Z") return 0;
67
- var d = s.match(/([+-]|\d\d)/g), v = 60 * d[1] + (+d[2] || 0);
68
- return v === 0 ? 0 : d[0] === "+" ? -v : v;
69
- })(n);
70
- }], S = function(n) {
71
- var s = _[n];
72
- return s && (s.indexOf ? s : s.s.concat(s.f));
73
- }, k = function(n, s) {
74
- var d, v = _.meridiem;
75
- if (v) {
76
- for (var O = 1; O <= 24; O += 1) if (n.indexOf(v(O, 0, s)) > -1) {
77
- d = O > 12;
78
- break;
79
- }
80
- } else d = n === (s ? "pm" : "PM");
81
- return d;
82
- }, h = { A: [$, function(n) {
83
- this.afternoon = k(n, !1);
84
- }], a: [$, function(n) {
85
- this.afternoon = k(n, !0);
86
- }], Q: [i, function(n) {
87
- this.month = 3 * (n - 1) + 1;
88
- }], S: [i, function(n) {
89
- this.milliseconds = 100 * +n;
90
- }], SS: [a, function(n) {
91
- this.milliseconds = 10 * +n;
92
- }], SSS: [/\d{3}/, function(n) {
93
- this.milliseconds = +n;
94
- }], s: [c, o("seconds")], ss: [c, o("seconds")], m: [c, o("minutes")], mm: [c, o("minutes")], H: [c, o("hours")], h: [c, o("hours")], HH: [c, o("hours")], hh: [c, o("hours")], D: [c, o("day")], DD: [a, o("day")], Do: [$, function(n) {
95
- var s = _.ordinal, d = n.match(/\d+/);
96
- if (this.day = d[0], s) for (var v = 1; v <= 31; v += 1) s(v).replace(/\[|\]/g, "") === n && (this.day = v);
97
- }], w: [c, o("week")], ww: [a, o("week")], M: [c, o("month")], MM: [a, o("month")], MMM: [$, function(n) {
98
- var s = S("months"), d = (S("monthsShort") || s.map((function(v) {
99
- return v.slice(0, 3);
100
- }))).indexOf(n) + 1;
101
- if (d < 1) throw new Error();
102
- this.month = d % 12 || d;
103
- }], MMMM: [$, function(n) {
104
- var s = S("months").indexOf(n) + 1;
105
- if (s < 1) throw new Error();
106
- this.month = s % 12 || s;
107
- }], Y: [/[+-]?\d+/, o("year")], YY: [a, function(n) {
108
- this.year = p(n);
109
- }], YYYY: [/\d{4}/, o("year")], Z: g, ZZ: g };
110
- function D(n) {
111
- var s, d;
112
- s = n, d = _ && _.formats;
113
- for (var v = (n = s.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(x, M, Y) {
114
- var y = Y && Y.toUpperCase();
115
- return M || d[Y] || f[Y] || d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(L, A, q) {
116
- return A || q.slice(1);
117
- }));
118
- }))).match(e), O = v.length, w = 0; w < O; w += 1) {
119
- var u = v[w], r = h[u], t = r && r[0], m = r && r[1];
120
- v[w] = m ? { regex: t, parser: m } : u.replace(/^\[|\]$/g, "");
121
- }
122
- return function(x) {
123
- for (var M = {}, Y = 0, y = 0; Y < O; Y += 1) {
124
- var L = v[Y];
125
- if (typeof L == "string") y += L.length;
126
- else {
127
- var A = L.regex, q = L.parser, R = x.slice(y), F = A.exec(R)[0];
128
- q.call(M, F), x = x.replace(F, "");
129
- }
130
- }
131
- return (function(P) {
132
- var z = P.afternoon;
133
- if (z !== void 0) {
134
- var b = P.hours;
135
- z ? b < 12 && (P.hours += 12) : b === 12 && (P.hours = 0), delete P.afternoon;
136
- }
137
- })(M), M;
138
- };
139
- }
140
- return function(n, s, d) {
141
- d.p.customParseFormat = !0, n && n.parseTwoDigitYear && (p = n.parseTwoDigitYear);
142
- var v = s.prototype, O = v.parse;
143
- v.parse = function(w) {
144
- var u = w.date, r = w.utc, t = w.args;
145
- this.$u = r;
146
- var m = t[1];
147
- if (typeof m == "string") {
148
- var x = t[2] === !0, M = t[3] === !0, Y = x || M, y = t[2];
149
- M && (y = t[2]), _ = this.$locale(), !x && y && (_ = d.Ls[y]), this.$d = (function(R, F, P, z) {
150
- try {
151
- if (["x", "X"].indexOf(F) > -1) return new Date((F === "X" ? 1e3 : 1) * R);
152
- var b = D(F)(R), K = b.year, E = b.month, xt = b.day, Yt = b.hours, yt = b.minutes, _t = b.seconds, Dt = b.milliseconds, at = b.zone, ut = b.week, tt = /* @__PURE__ */ new Date(), rt = xt || (K || E ? 1 : tt.getDate()), et = K || tt.getFullYear(), I = 0;
153
- K && !E || (I = E > 0 ? E - 1 : tt.getMonth());
154
- var Z, nt = Yt || 0, st = yt || 0, ot = _t || 0, it = Dt || 0;
155
- return at ? new Date(Date.UTC(et, I, rt, nt, st, ot, it + 60 * at.offset * 1e3)) : P ? new Date(Date.UTC(et, I, rt, nt, st, ot, it)) : (Z = new Date(et, I, rt, nt, st, ot, it), ut && (Z = z(Z).week(ut).toDate()), Z);
156
- } catch {
157
- return /* @__PURE__ */ new Date("");
158
- }
159
- })(u, m, r, d), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), Y && u != this.format(m) && (this.$d = /* @__PURE__ */ new Date("")), _ = {};
160
- } else if (m instanceof Array) for (var L = m.length, A = 1; A <= L; A += 1) {
161
- t[1] = m[A - 1];
162
- var q = d.apply(this, t);
163
- if (q.isValid()) {
164
- this.$d = q.$d, this.$L = q.$L, this.init();
165
- break;
166
- }
167
- A === L && (this.$d = /* @__PURE__ */ new Date(""));
168
- }
169
- else O.call(this, w);
170
- };
171
- };
172
- }));
173
- })(j)), j.exports;
174
- }
175
- var Tt = Ot();
176
- const kt = /* @__PURE__ */ H(Tt);
177
- var N = { exports: {} }, At = N.exports, ct;
178
- function bt() {
179
- return ct || (ct = 1, (function(l, T) {
180
- (function(f, e) {
181
- l.exports = e();
182
- })(At, (function() {
183
- return function(f, e, i) {
184
- e.prototype.dayOfYear = function(a) {
185
- var c = Math.round((i(this).startOf("day") - i(this).startOf("year")) / 864e5) + 1;
186
- return a == null ? c : this.add(a - c, "day");
187
- };
188
- };
189
- }));
190
- })(N)), N.exports;
191
- }
192
- var Bt = bt();
193
- const Ft = /* @__PURE__ */ H(Bt);
194
- var U = { exports: {} }, qt = U.exports, ht;
195
- function Ht() {
196
- return ht || (ht = 1, (function(l, T) {
197
- (function(f, e) {
198
- l.exports = e();
199
- })(qt, (function() {
200
- var f, e, i = 1e3, a = 6e4, c = 36e5, $ = 864e5, _ = /\[([^\]]+)]|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, o = 2628e6, g = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, S = { years: p, months: o, days: $, hours: c, minutes: a, seconds: i, milliseconds: 1, weeks: 6048e5 }, k = function(u) {
201
- return u instanceof O;
202
- }, h = function(u, r, t) {
203
- return new O(u, t, r.$l);
204
- }, D = function(u) {
205
- return e.p(u) + "s";
206
- }, n = function(u) {
207
- return u < 0;
208
- }, s = function(u) {
209
- return n(u) ? Math.ceil(u) : Math.floor(u);
210
- }, d = function(u) {
211
- return Math.abs(u);
212
- }, v = function(u, r) {
213
- return u ? n(u) ? { negative: !0, format: "" + d(u) + r } : { negative: !1, format: "" + u + r } : { negative: !1, format: "" };
214
- }, O = (function() {
215
- function u(t, m, x) {
216
- var M = this;
217
- if (this.$d = {}, this.$l = x, t === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), m) return h(t * S[D(m)], this);
218
- if (typeof t == "number") return this.$ms = t, this.parseFromMilliseconds(), this;
219
- if (typeof t == "object") return Object.keys(t).forEach((function(L) {
220
- M.$d[D(L)] = t[L];
221
- })), this.calMilliseconds(), this;
222
- if (typeof t == "string") {
223
- var Y = t.match(g);
224
- if (Y) {
225
- var y = Y.slice(2).map((function(L) {
226
- return L != null ? Number(L) : 0;
227
- }));
228
- return this.$d.years = y[0], this.$d.months = y[1], this.$d.weeks = y[2], this.$d.days = y[3], this.$d.hours = y[4], this.$d.minutes = y[5], this.$d.seconds = y[6], this.calMilliseconds(), this;
229
- }
230
- }
231
- return this;
232
- }
233
- var r = u.prototype;
234
- return r.calMilliseconds = function() {
235
- var t = this;
236
- this.$ms = Object.keys(this.$d).reduce((function(m, x) {
237
- return m + (t.$d[x] || 0) * S[x];
238
- }), 0);
239
- }, r.parseFromMilliseconds = function() {
240
- var t = this.$ms;
241
- this.$d.years = s(t / p), t %= p, this.$d.months = s(t / o), t %= o, this.$d.days = s(t / $), t %= $, this.$d.hours = s(t / c), t %= c, this.$d.minutes = s(t / a), t %= a, this.$d.seconds = s(t / i), t %= i, this.$d.milliseconds = t;
242
- }, r.toISOString = function() {
243
- var t = v(this.$d.years, "Y"), m = v(this.$d.months, "M"), x = +this.$d.days || 0;
244
- this.$d.weeks && (x += 7 * this.$d.weeks);
245
- var M = v(x, "D"), Y = v(this.$d.hours, "H"), y = v(this.$d.minutes, "M"), L = this.$d.seconds || 0;
246
- this.$d.milliseconds && (L += this.$d.milliseconds / 1e3, L = Math.round(1e3 * L) / 1e3);
247
- var A = v(L, "S"), q = t.negative || m.negative || M.negative || Y.negative || y.negative || A.negative, R = Y.format || y.format || A.format ? "T" : "", F = (q ? "-" : "") + "P" + t.format + m.format + M.format + R + Y.format + y.format + A.format;
248
- return F === "P" || F === "-P" ? "P0D" : F;
249
- }, r.toJSON = function() {
250
- return this.toISOString();
251
- }, r.format = function(t) {
252
- var m = t || "YYYY-MM-DDTHH:mm:ss", x = { Y: this.$d.years, YY: e.s(this.$d.years, 2, "0"), YYYY: e.s(this.$d.years, 4, "0"), M: this.$d.months, MM: e.s(this.$d.months, 2, "0"), D: this.$d.days, DD: e.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: e.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: e.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: e.s(this.$d.seconds, 2, "0"), SSS: e.s(this.$d.milliseconds, 3, "0") };
253
- return m.replace(_, (function(M, Y) {
254
- return Y || String(x[M]);
255
- }));
256
- }, r.as = function(t) {
257
- return this.$ms / S[D(t)];
258
- }, r.get = function(t) {
259
- var m = this.$ms, x = D(t);
260
- return x === "milliseconds" ? m %= 1e3 : m = x === "weeks" ? s(m / S[x]) : this.$d[x], m || 0;
261
- }, r.add = function(t, m, x) {
262
- var M;
263
- return M = m ? t * S[D(m)] : k(t) ? t.$ms : h(t, this).$ms, h(this.$ms + M * (x ? -1 : 1), this);
264
- }, r.subtract = function(t, m) {
265
- return this.add(t, m, !0);
266
- }, r.locale = function(t) {
267
- var m = this.clone();
268
- return m.$l = t, m;
269
- }, r.clone = function() {
270
- return h(this.$ms, this);
271
- }, r.humanize = function(t) {
272
- return f().add(this.$ms, "ms").locale(this.$l).fromNow(!t);
273
- }, r.valueOf = function() {
274
- return this.asMilliseconds();
275
- }, r.milliseconds = function() {
276
- return this.get("milliseconds");
277
- }, r.asMilliseconds = function() {
278
- return this.as("milliseconds");
279
- }, r.seconds = function() {
280
- return this.get("seconds");
281
- }, r.asSeconds = function() {
282
- return this.as("seconds");
283
- }, r.minutes = function() {
284
- return this.get("minutes");
285
- }, r.asMinutes = function() {
286
- return this.as("minutes");
287
- }, r.hours = function() {
288
- return this.get("hours");
289
- }, r.asHours = function() {
290
- return this.as("hours");
291
- }, r.days = function() {
292
- return this.get("days");
293
- }, r.asDays = function() {
294
- return this.as("days");
295
- }, r.weeks = function() {
296
- return this.get("weeks");
297
- }, r.asWeeks = function() {
298
- return this.as("weeks");
299
- }, r.months = function() {
300
- return this.get("months");
301
- }, r.asMonths = function() {
302
- return this.as("months");
303
- }, r.years = function() {
304
- return this.get("years");
305
- }, r.asYears = function() {
306
- return this.as("years");
307
- }, u;
308
- })(), w = function(u, r, t) {
309
- return u.add(r.years() * t, "y").add(r.months() * t, "M").add(r.days() * t, "d").add(r.hours() * t, "h").add(r.minutes() * t, "m").add(r.seconds() * t, "s").add(r.milliseconds() * t, "ms");
310
- };
311
- return function(u, r, t) {
312
- f = t, e = t().$utils(), t.duration = function(M, Y) {
313
- var y = t.locale();
314
- return h(M, { $l: y }, Y);
315
- }, t.isDuration = k;
316
- var m = r.prototype.add, x = r.prototype.subtract;
317
- r.prototype.add = function(M, Y) {
318
- return k(M) ? w(this, M, 1) : m.bind(this)(M, Y);
319
- }, r.prototype.subtract = function(M, Y) {
320
- return k(M) ? w(this, M, -1) : x.bind(this)(M, Y);
321
- };
322
- };
323
- }));
324
- })(U)), U.exports;
325
- }
326
- var Pt = Ht();
327
- const Rt = /* @__PURE__ */ H(Pt);
328
- var Q = { exports: {} }, zt = Q.exports, mt;
329
- function Et() {
330
- return mt || (mt = 1, (function(l, T) {
331
- (function(f, e) {
332
- l.exports = e();
333
- })(zt, (function() {
334
- return function(f, e, i) {
335
- e.prototype.isBetween = function(a, c, $, _) {
336
- var p = i(a), o = i(c), g = (_ = _ || "()")[0] === "(", S = _[1] === ")";
337
- return (g ? this.isAfter(p, $) : !this.isBefore(p, $)) && (S ? this.isBefore(o, $) : !this.isAfter(o, $)) || (g ? this.isBefore(p, $) : !this.isAfter(p, $)) && (S ? this.isAfter(o, $) : !this.isBefore(o, $));
338
- };
339
- };
340
- }));
341
- })(Q)), Q.exports;
342
- }
343
- var It = Et();
344
- const Zt = /* @__PURE__ */ H(It);
345
- var V = { exports: {} }, Ct = V.exports, lt;
346
- function jt() {
347
- return lt || (lt = 1, (function(l, T) {
348
- (function(f, e) {
349
- l.exports = e();
350
- })(Ct, (function() {
351
- return function(f, e) {
352
- e.prototype.isSameOrAfter = function(i, a) {
353
- return this.isSame(i, a) || this.isAfter(i, a);
354
- };
355
- };
356
- }));
357
- })(V)), V.exports;
358
- }
359
- var Nt = jt();
360
- const Ut = /* @__PURE__ */ H(Nt);
361
- var W = { exports: {} }, Qt = W.exports, pt;
362
- function Vt() {
363
- return pt || (pt = 1, (function(l, T) {
364
- (function(f, e) {
365
- l.exports = e();
366
- })(Qt, (function() {
367
- return function(f, e) {
368
- e.prototype.isSameOrBefore = function(i, a) {
369
- return this.isSame(i, a) || this.isBefore(i, a);
370
- };
371
- };
372
- }));
373
- })(W)), W.exports;
374
- }
375
- var Wt = Vt();
376
- const Xt = /* @__PURE__ */ H(Wt);
377
- var X = { exports: {} }, Jt = X.exports, vt;
378
- function Gt() {
379
- return vt || (vt = 1, (function(l, T) {
380
- (function(f, e) {
381
- l.exports = e();
382
- })(Jt, (function() {
383
- return function(f, e, i) {
384
- e.prototype.isToday = function() {
385
- var a = "YYYY-MM-DD", c = i();
386
- return this.format(a) === c.format(a);
387
- };
388
- };
389
- }));
390
- })(X)), X.exports;
391
- }
392
- var Kt = Gt();
393
- const tr = /* @__PURE__ */ H(Kt);
394
- var J = { exports: {} }, rr = J.exports, Mt;
395
- function er() {
396
- return Mt || (Mt = 1, (function(l, T) {
397
- (function(f, e) {
398
- l.exports = e();
399
- })(rr, (function() {
400
- var f = { 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" };
401
- return function(e, i, a) {
402
- var c = i.prototype, $ = c.format;
403
- a.en.formats = f, c.format = function(_) {
404
- _ === void 0 && (_ = "YYYY-MM-DDTHH:mm:ssZ");
405
- var p = this.$locale().formats, o = (function(g, S) {
406
- return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(k, h, D) {
407
- var n = D && D.toUpperCase();
408
- return h || S[D] || f[D] || S[n].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(s, d, v) {
409
- return d || v.slice(1);
410
- }));
411
- }));
412
- })(_, p === void 0 ? {} : p);
413
- return $.call(this, o);
414
- };
415
- };
416
- }));
417
- })(J)), J.exports;
418
- }
419
- var nr = er();
420
- const sr = /* @__PURE__ */ H(nr);
421
- var G = { exports: {} }, or = G.exports, $t;
422
- function ir() {
423
- return $t || ($t = 1, (function(l, T) {
424
- (function(f, e) {
425
- l.exports = e();
426
- })(or, (function() {
427
- return function(f, e, i) {
428
- f = f || {};
429
- var a = e.prototype, c = { 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" };
430
- function $(p, o, g, S) {
431
- return a.fromToBase(p, o, g, S);
432
- }
433
- i.en.relativeTime = c, a.fromToBase = function(p, o, g, S, k) {
434
- for (var h, D, n, s = g.$locale().relativeTime || c, d = f.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" }], v = d.length, O = 0; O < v; O += 1) {
435
- var w = d[O];
436
- w.d && (h = S ? i(p).diff(g, w.d, !0) : g.diff(p, w.d, !0));
437
- var u = (f.rounding || Math.round)(Math.abs(h));
438
- if (n = h > 0, u <= w.r || !w.r) {
439
- u <= 1 && O > 0 && (w = d[O - 1]);
440
- var r = s[w.l];
441
- k && (u = k("" + u)), D = typeof r == "string" ? r.replace("%d", u) : r(u, o, w.l, n);
442
- break;
443
- }
444
- }
445
- if (o) return D;
446
- var t = n ? s.future : s.past;
447
- return typeof t == "function" ? t(D) : t.replace("%s", D);
448
- }, a.to = function(p, o) {
449
- return $(p, o, this, !0);
450
- }, a.from = function(p, o) {
451
- return $(p, o, this);
452
- };
453
- var _ = function(p) {
454
- return p.$u ? i.utc() : i();
455
- };
456
- a.toNow = function(p) {
457
- return this.to(_(this), p);
458
- }, a.fromNow = function(p) {
459
- return this.from(_(this), p);
460
- };
461
- };
462
- }));
463
- })(G)), G.exports;
464
- }
465
- var ar = ir();
466
- const ur = /* @__PURE__ */ H(ar);
467
- B.extend(sr);
468
- B.extend(ur);
469
- B.extend(tr);
470
- B.extend(Zt);
471
- B.extend(Xt);
472
- B.extend(Ut);
473
- B.extend(Rt);
474
- B.extend(kt);
475
- B.extend(Ft);
476
- B.locale("ru");
477
- const lr = St({
478
- mobile: 0,
479
- sm: 640,
480
- md: 768,
481
- lg: 1010,
482
- xl: 1220,
483
- xxl: 1420,
484
- xxxl: 1620
485
- });
486
- export {
487
- lr as b,
488
- mr as f,
489
- hr as p
490
- };