@scbt-ecom/ui 0.12.0 → 0.12.2
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.
- package/dist/{Advantages-BekdFZ62.js → Advantages-1Y5pepJl.js} +5505 -5504
- package/dist/Advantages-1Y5pepJl.js.map +1 -0
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1619 -1604
- package/dist/client.js.map +1 -1
- package/dist/hybrid.d.ts +1 -0
- package/dist/hybrid.js +346 -332
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/hooks/index.d.ts +6 -5
- package/dist/shared/hooks/useObserveElements.d.ts +1 -0
- package/dist/shared/ui/FloatButton.d.ts +13 -0
- package/dist/shared/ui/Hint.d.ts +7 -7
- package/dist/shared/ui/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/utils-tailwind.css +3 -3
- package/package.json +2 -2
- package/dist/Advantages-BekdFZ62.js.map +0 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var He = Object.defineProperty;
|
|
2
2
|
var Ae = (a, r, e) => r in a ? He(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e;
|
|
3
3
|
var l = (a, r, e) => Ae(a, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
-
import { j as i, c as d, I as P, a as O,
|
|
5
|
-
import { A as
|
|
6
|
-
import * as
|
|
4
|
+
import { j as i, c as d, I as P, a as O, R as A, B as J, z as D, g as he, H as xe, P as Re } from "./Advantages-1Y5pepJl.js";
|
|
5
|
+
import { A as zn, b as qn, L as Qn, i as $n, s as Vn } from "./Advantages-1Y5pepJl.js";
|
|
6
|
+
import * as z from "react";
|
|
7
7
|
import { forwardRef as Be } from "react";
|
|
8
8
|
const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1).toLowerCase()).join("-"), gn = (...a) => {
|
|
9
9
|
const r = a.filter(Boolean);
|
|
@@ -42,7 +42,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
|
|
|
42
42
|
)
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
|
-
) : /* @__PURE__ */ i.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: r.label }) })) }),
|
|
45
|
+
) : /* @__PURE__ */ i.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: r.label }) })) }), ze = O(
|
|
46
46
|
"group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
|
|
47
47
|
{
|
|
48
48
|
variants: {
|
|
@@ -63,8 +63,8 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
), vn = Be(
|
|
66
|
-
({ size: a, intent: r, children: e, classes: t, type: n = "button", ...o }, s) => /* @__PURE__ */ i.jsx("button", { ref: s, type: n, className: d(
|
|
67
|
-
),
|
|
66
|
+
({ size: a, intent: r, children: e, classes: t, type: n = "button", ...o }, s) => /* @__PURE__ */ i.jsx("button", { ref: s, type: n, className: d(ze({ intent: r, size: a }), t == null ? void 0 : t.button), ...o, children: /* @__PURE__ */ i.jsx("span", { className: d(t == null ? void 0 : t.icon), children: e }) })
|
|
67
|
+
), qe = O(
|
|
68
68
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
69
69
|
{
|
|
70
70
|
variants: {
|
|
@@ -116,7 +116,7 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
|
|
|
116
116
|
size: o,
|
|
117
117
|
icon: s = "arrows/arrowLink",
|
|
118
118
|
...u
|
|
119
|
-
}) => /* @__PURE__ */ i.jsxs(a, { className: d(
|
|
119
|
+
}) => /* @__PURE__ */ i.jsxs(a, { className: d(qe({ intent: r, withIcon: t, disabled: n, size: o })), ...u, children: [
|
|
120
120
|
e,
|
|
121
121
|
t && /* @__PURE__ */ i.jsx(P, { name: s, className: d(Qe({ intent: r, disabled: n })) })
|
|
122
122
|
] }), $e = O("size-8 transition-colors", {
|
|
@@ -186,7 +186,27 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
|
|
|
186
186
|
)
|
|
187
187
|
] }),
|
|
188
188
|
r && /* @__PURE__ */ i.jsx("div", { className: d("mt-2 flex justify-between gap-5", n == null ? void 0 : n.bottomContent), children: r })
|
|
189
|
-
] }), Nn = ({ className: a }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", a) }), Ge =
|
|
189
|
+
] }), Nn = ({ className: a }) => /* @__PURE__ */ i.jsx("div", { className: d("skeleton-apply h-full w-full", a) }), Ge = {
|
|
190
|
+
main: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoMain" }),
|
|
191
|
+
white: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoWhite" }),
|
|
192
|
+
gray: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoGray" }),
|
|
193
|
+
black: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBlack" }),
|
|
194
|
+
business: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBusiness" }),
|
|
195
|
+
insurance: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoInsurance" })
|
|
196
|
+
}, jn = ({ isVisible: a, classes: r, children: e, buttonProps: t }) => /* @__PURE__ */ i.jsxs(
|
|
197
|
+
A,
|
|
198
|
+
{
|
|
199
|
+
className: d(
|
|
200
|
+
"fixed bottom-0 left-1/2 z-[60] w-full max-w-[604px] -translate-x-1/2 translate-y-0 rounded-t-lg bg-color-white px-6 py-4 shadow-[0px_-6px_8px_0px_#2929290A] transition-transform duration-1000 desktop:hidden",
|
|
201
|
+
{ "translate-y-[100%]": !a },
|
|
202
|
+
r == null ? void 0 : r.root
|
|
203
|
+
),
|
|
204
|
+
children: [
|
|
205
|
+
e,
|
|
206
|
+
/* @__PURE__ */ i.jsx(J, { size: "lg", className: d("m-auto w-full", r == null ? void 0 : r.button), ...t, children: "Оформить заявку" })
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
), Xe = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, de = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, Ze = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, Y = {
|
|
190
210
|
REQUIRED: "Поле обязательно к заполнению",
|
|
191
211
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
192
212
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -197,35 +217,35 @@ const yn = (a) => a.split("-").map((r) => r.charAt(0).toUpperCase() + r.slice(1)
|
|
|
197
217
|
INVALID_VALUE: "Поле заполнено некорректно",
|
|
198
218
|
INVALID_DATE: "Введите корректную дату",
|
|
199
219
|
FUTURE_DATE_NOT_ALLOWED: "Нельзя выбрать дату позже текущей"
|
|
200
|
-
},
|
|
220
|
+
}, Ue = (a) => {
|
|
201
221
|
const r = a.trim().replace(/\s+/g, " ").split(" "), [e, t, ...n] = r, o = n == null ? void 0 : n.join(" ");
|
|
202
222
|
return {
|
|
203
223
|
surname: e,
|
|
204
224
|
name: t,
|
|
205
225
|
patronymic: o
|
|
206
226
|
};
|
|
207
|
-
},
|
|
208
|
-
|
|
227
|
+
}, _n = D.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((a, r) => {
|
|
228
|
+
Xe.test(a) || r.addIssue({
|
|
209
229
|
code: D.ZodIssueCode.custom,
|
|
210
230
|
message: "Должна быть только кириллица"
|
|
211
231
|
});
|
|
212
|
-
const { surname: e, name: t, patronymic: n } =
|
|
232
|
+
const { surname: e, name: t, patronymic: n } = Ue(a);
|
|
213
233
|
(!e || !t) && r.addIssue({
|
|
214
234
|
code: D.ZodIssueCode.custom,
|
|
215
235
|
message: "Введите имя и фамилию"
|
|
216
|
-
}),
|
|
236
|
+
}), de.test(t) || r.addIssue({
|
|
217
237
|
code: D.ZodIssueCode.custom,
|
|
218
238
|
message: "Неверно введено имя"
|
|
219
|
-
}),
|
|
239
|
+
}), de.test(e) || r.addIssue({
|
|
220
240
|
code: D.ZodIssueCode.custom,
|
|
221
241
|
message: "Неверно введена фамилия"
|
|
222
|
-
}), n && (
|
|
242
|
+
}), n && (Ze.test(n) || r.addIssue({
|
|
223
243
|
code: D.ZodIssueCode.custom,
|
|
224
244
|
message: "Неверно введено отчество"
|
|
225
245
|
}));
|
|
226
|
-
}), we = 6048e5,
|
|
246
|
+
}), we = 6048e5, Je = 6e4, Ke = 36e5, Se = 1e3, le = Symbol.for("constructDateFrom");
|
|
227
247
|
function v(a, r) {
|
|
228
|
-
return typeof a == "function" ? a(r) : a && typeof a == "object" &&
|
|
248
|
+
return typeof a == "function" ? a(r) : a && typeof a == "object" && le in a ? a[le](r) : a instanceof Date ? new a.constructor(r) : new Date(r);
|
|
229
249
|
}
|
|
230
250
|
function T(a, r) {
|
|
231
251
|
return v(r || a, a);
|
|
@@ -234,19 +254,19 @@ function ye(a, r, e) {
|
|
|
234
254
|
const t = T(a, e == null ? void 0 : e.in);
|
|
235
255
|
return isNaN(r) ? v((e == null ? void 0 : e.in) || a, NaN) : (r && t.setDate(t.getDate() + r), t);
|
|
236
256
|
}
|
|
237
|
-
let
|
|
238
|
-
function
|
|
239
|
-
return
|
|
257
|
+
let et = {};
|
|
258
|
+
function R() {
|
|
259
|
+
return et;
|
|
240
260
|
}
|
|
241
261
|
function C(a, r) {
|
|
242
262
|
var u, h, x, k;
|
|
243
|
-
const e =
|
|
263
|
+
const e = R(), t = (r == null ? void 0 : r.weekStartsOn) ?? ((h = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : h.weekStartsOn) ?? e.weekStartsOn ?? ((k = (x = e.locale) == null ? void 0 : x.options) == null ? void 0 : k.weekStartsOn) ?? 0, n = T(a, r == null ? void 0 : r.in), o = n.getDay(), s = (o < t ? 7 : 0) + o - t;
|
|
244
264
|
return n.setDate(n.getDate() - s), n.setHours(0, 0, 0, 0), n;
|
|
245
265
|
}
|
|
246
266
|
function L(a, r) {
|
|
247
267
|
return C(a, { ...r, weekStartsOn: 1 });
|
|
248
268
|
}
|
|
249
|
-
function
|
|
269
|
+
function tt(a, r) {
|
|
250
270
|
const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = v(e, 0);
|
|
251
271
|
n.setFullYear(t + 1, 0, 4), n.setHours(0, 0, 0, 0);
|
|
252
272
|
const o = L(n), s = v(e, 0);
|
|
@@ -268,17 +288,17 @@ function ge(a) {
|
|
|
268
288
|
);
|
|
269
289
|
return e.setUTCFullYear(r.getFullYear()), +a - +e;
|
|
270
290
|
}
|
|
271
|
-
function
|
|
272
|
-
const e =
|
|
291
|
+
function rt(a, r) {
|
|
292
|
+
const e = tt(a, r), t = v(a, 0);
|
|
273
293
|
return t.setFullYear(e, 0, 4), t.setHours(0, 0, 0, 0), L(t);
|
|
274
294
|
}
|
|
275
|
-
function
|
|
295
|
+
function nt(a) {
|
|
276
296
|
return a instanceof Date || typeof a == "object" && Object.prototype.toString.call(a) === "[object Date]";
|
|
277
297
|
}
|
|
278
|
-
function
|
|
279
|
-
return !(!
|
|
298
|
+
function at(a) {
|
|
299
|
+
return !(!nt(a) && typeof a != "number" || isNaN(+T(a)));
|
|
280
300
|
}
|
|
281
|
-
const
|
|
301
|
+
const ot = {
|
|
282
302
|
lessThanXSeconds: {
|
|
283
303
|
one: "less than a second",
|
|
284
304
|
other: "less than {{count}} seconds"
|
|
@@ -340,9 +360,9 @@ const at = {
|
|
|
340
360
|
one: "almost 1 year",
|
|
341
361
|
other: "almost {{count}} years"
|
|
342
362
|
}
|
|
343
|
-
},
|
|
363
|
+
}, it = (a, r, e) => {
|
|
344
364
|
let t;
|
|
345
|
-
const n =
|
|
365
|
+
const n = ot[a];
|
|
346
366
|
return typeof n == "string" ? t = n : r === 1 ? t = n.one : t = n.other.replace("{{count}}", r.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? "in " + t : t + " ago" : t;
|
|
347
367
|
};
|
|
348
368
|
function X(a) {
|
|
@@ -351,42 +371,42 @@ function X(a) {
|
|
|
351
371
|
return a.formats[e] || a.formats[a.defaultWidth];
|
|
352
372
|
};
|
|
353
373
|
}
|
|
354
|
-
const
|
|
374
|
+
const st = {
|
|
355
375
|
full: "EEEE, MMMM do, y",
|
|
356
376
|
long: "MMMM do, y",
|
|
357
377
|
medium: "MMM d, y",
|
|
358
378
|
short: "MM/dd/yyyy"
|
|
359
|
-
},
|
|
379
|
+
}, dt = {
|
|
360
380
|
full: "h:mm:ss a zzzz",
|
|
361
381
|
long: "h:mm:ss a z",
|
|
362
382
|
medium: "h:mm:ss a",
|
|
363
383
|
short: "h:mm a"
|
|
364
|
-
},
|
|
384
|
+
}, lt = {
|
|
365
385
|
full: "{{date}} 'at' {{time}}",
|
|
366
386
|
long: "{{date}} 'at' {{time}}",
|
|
367
387
|
medium: "{{date}}, {{time}}",
|
|
368
388
|
short: "{{date}}, {{time}}"
|
|
369
|
-
},
|
|
389
|
+
}, ut = {
|
|
370
390
|
date: X({
|
|
371
|
-
formats:
|
|
391
|
+
formats: st,
|
|
372
392
|
defaultWidth: "full"
|
|
373
393
|
}),
|
|
374
394
|
time: X({
|
|
375
|
-
formats:
|
|
395
|
+
formats: dt,
|
|
376
396
|
defaultWidth: "full"
|
|
377
397
|
}),
|
|
378
398
|
dateTime: X({
|
|
379
|
-
formats:
|
|
399
|
+
formats: lt,
|
|
380
400
|
defaultWidth: "full"
|
|
381
401
|
})
|
|
382
|
-
},
|
|
402
|
+
}, ct = {
|
|
383
403
|
lastWeek: "'last' eeee 'at' p",
|
|
384
404
|
yesterday: "'yesterday at' p",
|
|
385
405
|
today: "'today at' p",
|
|
386
406
|
tomorrow: "'tomorrow at' p",
|
|
387
407
|
nextWeek: "eeee 'at' p",
|
|
388
408
|
other: "P"
|
|
389
|
-
},
|
|
409
|
+
}, ft = (a, r, e, t) => ct[a];
|
|
390
410
|
function W(a) {
|
|
391
411
|
return (r, e) => {
|
|
392
412
|
const t = e != null && e.context ? String(e.context) : "standalone";
|
|
@@ -402,15 +422,15 @@ function W(a) {
|
|
|
402
422
|
return n[o];
|
|
403
423
|
};
|
|
404
424
|
}
|
|
405
|
-
const
|
|
425
|
+
const mt = {
|
|
406
426
|
narrow: ["B", "A"],
|
|
407
427
|
abbreviated: ["BC", "AD"],
|
|
408
428
|
wide: ["Before Christ", "Anno Domini"]
|
|
409
|
-
},
|
|
429
|
+
}, ht = {
|
|
410
430
|
narrow: ["1", "2", "3", "4"],
|
|
411
431
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
412
432
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
413
|
-
},
|
|
433
|
+
}, xt = {
|
|
414
434
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
415
435
|
abbreviated: [
|
|
416
436
|
"Jan",
|
|
@@ -440,7 +460,7 @@ const ft = {
|
|
|
440
460
|
"November",
|
|
441
461
|
"December"
|
|
442
462
|
]
|
|
443
|
-
},
|
|
463
|
+
}, pt = {
|
|
444
464
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
445
465
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
446
466
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -453,7 +473,7 @@ const ft = {
|
|
|
453
473
|
"Friday",
|
|
454
474
|
"Saturday"
|
|
455
475
|
]
|
|
456
|
-
},
|
|
476
|
+
}, bt = {
|
|
457
477
|
narrow: {
|
|
458
478
|
am: "a",
|
|
459
479
|
pm: "p",
|
|
@@ -484,7 +504,7 @@ const ft = {
|
|
|
484
504
|
evening: "evening",
|
|
485
505
|
night: "night"
|
|
486
506
|
}
|
|
487
|
-
},
|
|
507
|
+
}, wt = {
|
|
488
508
|
narrow: {
|
|
489
509
|
am: "a",
|
|
490
510
|
pm: "p",
|
|
@@ -515,7 +535,7 @@ const ft = {
|
|
|
515
535
|
evening: "in the evening",
|
|
516
536
|
night: "at night"
|
|
517
537
|
}
|
|
518
|
-
},
|
|
538
|
+
}, yt = (a, r) => {
|
|
519
539
|
const e = Number(a), t = e % 100;
|
|
520
540
|
if (t > 20 || t < 10)
|
|
521
541
|
switch (t % 10) {
|
|
@@ -527,29 +547,29 @@ const ft = {
|
|
|
527
547
|
return e + "rd";
|
|
528
548
|
}
|
|
529
549
|
return e + "th";
|
|
530
|
-
},
|
|
531
|
-
ordinalNumber:
|
|
550
|
+
}, gt = {
|
|
551
|
+
ordinalNumber: yt,
|
|
532
552
|
era: W({
|
|
533
|
-
values:
|
|
553
|
+
values: mt,
|
|
534
554
|
defaultWidth: "wide"
|
|
535
555
|
}),
|
|
536
556
|
quarter: W({
|
|
537
|
-
values:
|
|
557
|
+
values: ht,
|
|
538
558
|
defaultWidth: "wide",
|
|
539
559
|
argumentCallback: (a) => a - 1
|
|
540
560
|
}),
|
|
541
561
|
month: W({
|
|
542
|
-
values:
|
|
562
|
+
values: xt,
|
|
543
563
|
defaultWidth: "wide"
|
|
544
564
|
}),
|
|
545
565
|
day: W({
|
|
546
|
-
values:
|
|
566
|
+
values: pt,
|
|
547
567
|
defaultWidth: "wide"
|
|
548
568
|
}),
|
|
549
569
|
dayPeriod: W({
|
|
550
|
-
values:
|
|
570
|
+
values: bt,
|
|
551
571
|
defaultWidth: "wide",
|
|
552
|
-
formattingValues:
|
|
572
|
+
formattingValues: wt,
|
|
553
573
|
defaultFormattingWidth: "wide"
|
|
554
574
|
})
|
|
555
575
|
};
|
|
@@ -558,9 +578,9 @@ function H(a) {
|
|
|
558
578
|
const t = e.width, n = t && a.matchPatterns[t] || a.matchPatterns[a.defaultMatchWidth], o = r.match(n);
|
|
559
579
|
if (!o)
|
|
560
580
|
return null;
|
|
561
|
-
const s = o[0], u = t && a.parsePatterns[t] || a.parsePatterns[a.defaultParseWidth], h = Array.isArray(u) ?
|
|
581
|
+
const s = o[0], u = t && a.parsePatterns[t] || a.parsePatterns[a.defaultParseWidth], h = Array.isArray(u) ? vt(u, (c) => c.test(s)) : (
|
|
562
582
|
// [TODO] -- I challenge you to fix the type
|
|
563
|
-
|
|
583
|
+
kt(u, (c) => c.test(s))
|
|
564
584
|
);
|
|
565
585
|
let x;
|
|
566
586
|
x = a.valueCallback ? a.valueCallback(h) : h, x = e.valueCallback ? (
|
|
@@ -571,17 +591,17 @@ function H(a) {
|
|
|
571
591
|
return { value: x, rest: k };
|
|
572
592
|
};
|
|
573
593
|
}
|
|
574
|
-
function
|
|
594
|
+
function kt(a, r) {
|
|
575
595
|
for (const e in a)
|
|
576
596
|
if (Object.prototype.hasOwnProperty.call(a, e) && r(a[e]))
|
|
577
597
|
return e;
|
|
578
598
|
}
|
|
579
|
-
function
|
|
599
|
+
function vt(a, r) {
|
|
580
600
|
for (let e = 0; e < a.length; e++)
|
|
581
601
|
if (r(a[e]))
|
|
582
602
|
return e;
|
|
583
603
|
}
|
|
584
|
-
function
|
|
604
|
+
function Dt(a) {
|
|
585
605
|
return (r, e = {}) => {
|
|
586
606
|
const t = r.match(a.matchPattern);
|
|
587
607
|
if (!t) return null;
|
|
@@ -593,23 +613,23 @@ function vt(a) {
|
|
|
593
613
|
return { value: s, rest: u };
|
|
594
614
|
};
|
|
595
615
|
}
|
|
596
|
-
const
|
|
616
|
+
const Tt = /^(\d+)(th|st|nd|rd)?/i, Pt = /\d+/i, Nt = {
|
|
597
617
|
narrow: /^(b|a)/i,
|
|
598
618
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
599
619
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
600
|
-
}, Nt = {
|
|
601
|
-
any: [/^b/i, /^(a|c)/i]
|
|
602
620
|
}, jt = {
|
|
621
|
+
any: [/^b/i, /^(a|c)/i]
|
|
622
|
+
}, _t = {
|
|
603
623
|
narrow: /^[1234]/i,
|
|
604
624
|
abbreviated: /^q[1234]/i,
|
|
605
625
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
606
626
|
}, It = {
|
|
607
627
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
608
|
-
},
|
|
628
|
+
}, Mt = {
|
|
609
629
|
narrow: /^[jfmasond]/i,
|
|
610
630
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
611
631
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
612
|
-
},
|
|
632
|
+
}, Et = {
|
|
613
633
|
narrow: [
|
|
614
634
|
/^j/i,
|
|
615
635
|
/^f/i,
|
|
@@ -638,18 +658,18 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
|
|
|
638
658
|
/^n/i,
|
|
639
659
|
/^d/i
|
|
640
660
|
]
|
|
641
|
-
},
|
|
661
|
+
}, Ct = {
|
|
642
662
|
narrow: /^[smtwf]/i,
|
|
643
663
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
644
664
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
645
665
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
646
|
-
},
|
|
666
|
+
}, Ot = {
|
|
647
667
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
648
668
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
649
|
-
},
|
|
669
|
+
}, Ft = {
|
|
650
670
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
651
671
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
652
|
-
},
|
|
672
|
+
}, Yt = {
|
|
653
673
|
any: {
|
|
654
674
|
am: /^a/i,
|
|
655
675
|
pm: /^p/i,
|
|
@@ -660,78 +680,78 @@ const Dt = /^(\d+)(th|st|nd|rd)?/i, Tt = /\d+/i, Pt = {
|
|
|
660
680
|
evening: /evening/i,
|
|
661
681
|
night: /night/i
|
|
662
682
|
}
|
|
663
|
-
},
|
|
664
|
-
ordinalNumber:
|
|
665
|
-
matchPattern:
|
|
666
|
-
parsePattern:
|
|
683
|
+
}, Lt = {
|
|
684
|
+
ordinalNumber: Dt({
|
|
685
|
+
matchPattern: Tt,
|
|
686
|
+
parsePattern: Pt,
|
|
667
687
|
valueCallback: (a) => parseInt(a, 10)
|
|
668
688
|
}),
|
|
669
689
|
era: H({
|
|
670
|
-
matchPatterns:
|
|
690
|
+
matchPatterns: Nt,
|
|
671
691
|
defaultMatchWidth: "wide",
|
|
672
|
-
parsePatterns:
|
|
692
|
+
parsePatterns: jt,
|
|
673
693
|
defaultParseWidth: "any"
|
|
674
694
|
}),
|
|
675
695
|
quarter: H({
|
|
676
|
-
matchPatterns:
|
|
696
|
+
matchPatterns: _t,
|
|
677
697
|
defaultMatchWidth: "wide",
|
|
678
698
|
parsePatterns: It,
|
|
679
699
|
defaultParseWidth: "any",
|
|
680
700
|
valueCallback: (a) => a + 1
|
|
681
701
|
}),
|
|
682
702
|
month: H({
|
|
683
|
-
matchPatterns:
|
|
703
|
+
matchPatterns: Mt,
|
|
684
704
|
defaultMatchWidth: "wide",
|
|
685
|
-
parsePatterns:
|
|
705
|
+
parsePatterns: Et,
|
|
686
706
|
defaultParseWidth: "any"
|
|
687
707
|
}),
|
|
688
708
|
day: H({
|
|
689
|
-
matchPatterns:
|
|
709
|
+
matchPatterns: Ct,
|
|
690
710
|
defaultMatchWidth: "wide",
|
|
691
|
-
parsePatterns:
|
|
711
|
+
parsePatterns: Ot,
|
|
692
712
|
defaultParseWidth: "any"
|
|
693
713
|
}),
|
|
694
714
|
dayPeriod: H({
|
|
695
|
-
matchPatterns:
|
|
715
|
+
matchPatterns: Ft,
|
|
696
716
|
defaultMatchWidth: "any",
|
|
697
|
-
parsePatterns:
|
|
717
|
+
parsePatterns: Yt,
|
|
698
718
|
defaultParseWidth: "any"
|
|
699
719
|
})
|
|
700
|
-
},
|
|
720
|
+
}, Wt = {
|
|
701
721
|
code: "en-US",
|
|
702
|
-
formatDistance:
|
|
703
|
-
formatLong:
|
|
704
|
-
formatRelative:
|
|
705
|
-
localize:
|
|
706
|
-
match:
|
|
722
|
+
formatDistance: it,
|
|
723
|
+
formatLong: ut,
|
|
724
|
+
formatRelative: ft,
|
|
725
|
+
localize: gt,
|
|
726
|
+
match: Lt,
|
|
707
727
|
options: {
|
|
708
728
|
weekStartsOn: 0,
|
|
709
729
|
firstWeekContainsDate: 1
|
|
710
730
|
}
|
|
711
731
|
};
|
|
712
|
-
function
|
|
713
|
-
const e = T(a, r == null ? void 0 : r.in), t = +L(e) - +
|
|
732
|
+
function Ht(a, r) {
|
|
733
|
+
const e = T(a, r == null ? void 0 : r.in), t = +L(e) - +rt(e);
|
|
714
734
|
return Math.round(t / we) + 1;
|
|
715
735
|
}
|
|
716
736
|
function ke(a, r) {
|
|
717
|
-
var k, c,
|
|
718
|
-
const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n =
|
|
737
|
+
var k, c, I, F;
|
|
738
|
+
const e = T(a, r == null ? void 0 : r.in), t = e.getFullYear(), n = R(), o = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((c = (k = r == null ? void 0 : r.locale) == null ? void 0 : k.options) == null ? void 0 : c.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((F = (I = n.locale) == null ? void 0 : I.options) == null ? void 0 : F.firstWeekContainsDate) ?? 1, s = v((r == null ? void 0 : r.in) || a, 0);
|
|
719
739
|
s.setFullYear(t + 1, 0, o), s.setHours(0, 0, 0, 0);
|
|
720
740
|
const u = C(s, r), h = v((r == null ? void 0 : r.in) || a, 0);
|
|
721
741
|
h.setFullYear(t, 0, o), h.setHours(0, 0, 0, 0);
|
|
722
742
|
const x = C(h, r);
|
|
723
743
|
return +e >= +u ? t + 1 : +e >= +x ? t : t - 1;
|
|
724
744
|
}
|
|
725
|
-
function
|
|
745
|
+
function At(a, r) {
|
|
726
746
|
var u, h, x, k;
|
|
727
|
-
const e =
|
|
747
|
+
const e = R(), t = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((h = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((k = (x = e.locale) == null ? void 0 : x.options) == null ? void 0 : k.firstWeekContainsDate) ?? 1, n = ke(a, r), o = v((r == null ? void 0 : r.in) || a, 0);
|
|
728
748
|
return o.setFullYear(n, 0, t), o.setHours(0, 0, 0, 0), C(o, r);
|
|
729
749
|
}
|
|
730
|
-
function
|
|
731
|
-
const e = T(a, r == null ? void 0 : r.in), t = +C(e, r) - +
|
|
750
|
+
function Rt(a, r) {
|
|
751
|
+
const e = T(a, r == null ? void 0 : r.in), t = +C(e, r) - +At(e, r);
|
|
732
752
|
return Math.round(t / we) + 1;
|
|
733
753
|
}
|
|
734
|
-
const
|
|
754
|
+
const ue = (a, r) => {
|
|
735
755
|
switch (a) {
|
|
736
756
|
case "P":
|
|
737
757
|
return r.date({ width: "short" });
|
|
@@ -755,10 +775,10 @@ const le = (a, r) => {
|
|
|
755
775
|
default:
|
|
756
776
|
return r.time({ width: "full" });
|
|
757
777
|
}
|
|
758
|
-
},
|
|
778
|
+
}, Bt = (a, r) => {
|
|
759
779
|
const e = a.match(/(P+)(p+)?/) || [], t = e[1], n = e[2];
|
|
760
780
|
if (!n)
|
|
761
|
-
return
|
|
781
|
+
return ue(a, r);
|
|
762
782
|
let o;
|
|
763
783
|
switch (t) {
|
|
764
784
|
case "P":
|
|
@@ -775,34 +795,34 @@ const le = (a, r) => {
|
|
|
775
795
|
o = r.dateTime({ width: "full" });
|
|
776
796
|
break;
|
|
777
797
|
}
|
|
778
|
-
return o.replace("{{date}}",
|
|
779
|
-
},
|
|
798
|
+
return o.replace("{{date}}", ue(t, r)).replace("{{time}}", ve(n, r));
|
|
799
|
+
}, ce = {
|
|
780
800
|
p: ve,
|
|
781
|
-
P:
|
|
782
|
-
},
|
|
783
|
-
function Qt(a) {
|
|
784
|
-
return Bt.test(a);
|
|
785
|
-
}
|
|
801
|
+
P: Bt
|
|
802
|
+
}, zt = /^D+$/, qt = /^Y+$/, Qt = ["D", "DD", "YY", "YYYY"];
|
|
786
803
|
function $t(a) {
|
|
804
|
+
return zt.test(a);
|
|
805
|
+
}
|
|
806
|
+
function Vt(a) {
|
|
787
807
|
return qt.test(a);
|
|
788
808
|
}
|
|
789
|
-
function
|
|
790
|
-
const t =
|
|
791
|
-
if (console.warn(t),
|
|
809
|
+
function fe(a, r, e) {
|
|
810
|
+
const t = Gt(a, r, e);
|
|
811
|
+
if (console.warn(t), Qt.includes(a)) throw new RangeError(t);
|
|
792
812
|
}
|
|
793
|
-
function
|
|
813
|
+
function Gt(a, r, e) {
|
|
794
814
|
const t = a[0] === "Y" ? "years" : "days of the month";
|
|
795
815
|
return `Use \`${a.toLowerCase()}\` instead of \`${a}\` (in \`${r}\`) for formatting ${t} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
796
816
|
}
|
|
797
|
-
function
|
|
798
|
-
return Object.assign({},
|
|
817
|
+
function Xt() {
|
|
818
|
+
return Object.assign({}, R());
|
|
799
819
|
}
|
|
800
|
-
function
|
|
820
|
+
function Zt(a, r) {
|
|
801
821
|
const e = T(a, r == null ? void 0 : r.in).getDay();
|
|
802
822
|
return e === 0 ? 7 : e;
|
|
803
823
|
}
|
|
804
|
-
function
|
|
805
|
-
const e =
|
|
824
|
+
function Ut(a, r) {
|
|
825
|
+
const e = Jt(r) ? new r(0) : v(r, 0);
|
|
806
826
|
return e.setFullYear(a.getFullYear(), a.getMonth(), a.getDate()), e.setHours(
|
|
807
827
|
a.getHours(),
|
|
808
828
|
a.getMinutes(),
|
|
@@ -810,11 +830,11 @@ function Zt(a, r) {
|
|
|
810
830
|
a.getMilliseconds()
|
|
811
831
|
), e;
|
|
812
832
|
}
|
|
813
|
-
function
|
|
833
|
+
function Jt(a) {
|
|
814
834
|
var r;
|
|
815
835
|
return typeof a == "function" && ((r = a.prototype) == null ? void 0 : r.constructor) === a;
|
|
816
836
|
}
|
|
817
|
-
const
|
|
837
|
+
const Kt = 10;
|
|
818
838
|
class De {
|
|
819
839
|
constructor() {
|
|
820
840
|
l(this, "subPriority", 0);
|
|
@@ -823,7 +843,7 @@ class De {
|
|
|
823
843
|
return !0;
|
|
824
844
|
}
|
|
825
845
|
}
|
|
826
|
-
class
|
|
846
|
+
class St extends De {
|
|
827
847
|
constructor(r, e, t, n, o) {
|
|
828
848
|
super(), this.value = r, this.validateValue = e, this.setValue = t, this.priority = n, o && (this.subPriority = o);
|
|
829
849
|
}
|
|
@@ -834,22 +854,22 @@ class Kt extends De {
|
|
|
834
854
|
return this.setValue(r, e, this.value, t);
|
|
835
855
|
}
|
|
836
856
|
}
|
|
837
|
-
class
|
|
857
|
+
class er extends De {
|
|
838
858
|
constructor(e, t) {
|
|
839
859
|
super();
|
|
840
|
-
l(this, "priority",
|
|
860
|
+
l(this, "priority", Kt);
|
|
841
861
|
l(this, "subPriority", -1);
|
|
842
862
|
this.context = e || ((n) => v(t, n));
|
|
843
863
|
}
|
|
844
864
|
set(e, t) {
|
|
845
|
-
return t.timestampIsSet ? e : v(e,
|
|
865
|
+
return t.timestampIsSet ? e : v(e, Ut(e, this.context));
|
|
846
866
|
}
|
|
847
867
|
}
|
|
848
868
|
class m {
|
|
849
869
|
run(r, e, t, n) {
|
|
850
870
|
const o = this.parse(r, e, t, n);
|
|
851
871
|
return o ? {
|
|
852
|
-
setter: new
|
|
872
|
+
setter: new St(
|
|
853
873
|
o.value,
|
|
854
874
|
this.validate,
|
|
855
875
|
this.set,
|
|
@@ -863,7 +883,7 @@ class m {
|
|
|
863
883
|
return !0;
|
|
864
884
|
}
|
|
865
885
|
}
|
|
866
|
-
class
|
|
886
|
+
class tr extends m {
|
|
867
887
|
constructor() {
|
|
868
888
|
super(...arguments);
|
|
869
889
|
l(this, "priority", 140);
|
|
@@ -944,7 +964,7 @@ function p(a, r) {
|
|
|
944
964
|
rest: r.slice(e[0].length)
|
|
945
965
|
} : null;
|
|
946
966
|
}
|
|
947
|
-
function
|
|
967
|
+
function _(a, r) {
|
|
948
968
|
const e = r.match(a);
|
|
949
969
|
if (!e)
|
|
950
970
|
return null;
|
|
@@ -955,7 +975,7 @@ function I(a, r) {
|
|
|
955
975
|
};
|
|
956
976
|
const t = e[1] === "+" ? 1 : -1, n = e[2] ? parseInt(e[2], 10) : 0, o = e[3] ? parseInt(e[3], 10) : 0, s = e[5] ? parseInt(e[5], 10) : 0;
|
|
957
977
|
return {
|
|
958
|
-
value: t * (n *
|
|
978
|
+
value: t * (n * Ke + o * Je + s * Se),
|
|
959
979
|
rest: r.slice(e[0].length)
|
|
960
980
|
};
|
|
961
981
|
}
|
|
@@ -990,7 +1010,7 @@ function q(a, r) {
|
|
|
990
1010
|
return p(new RegExp("^-?\\d{1," + a + "}"), r);
|
|
991
1011
|
}
|
|
992
1012
|
}
|
|
993
|
-
function
|
|
1013
|
+
function K(a) {
|
|
994
1014
|
switch (a) {
|
|
995
1015
|
case "morning":
|
|
996
1016
|
return 4;
|
|
@@ -1021,7 +1041,7 @@ function Pe(a, r) {
|
|
|
1021
1041
|
function Ne(a) {
|
|
1022
1042
|
return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
|
|
1023
1043
|
}
|
|
1024
|
-
class
|
|
1044
|
+
class rr extends m {
|
|
1025
1045
|
constructor() {
|
|
1026
1046
|
super(...arguments);
|
|
1027
1047
|
l(this, "priority", 130);
|
|
@@ -1062,7 +1082,7 @@ class tr extends m {
|
|
|
1062
1082
|
return e.setFullYear(s, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1063
1083
|
}
|
|
1064
1084
|
}
|
|
1065
|
-
class
|
|
1085
|
+
class nr extends m {
|
|
1066
1086
|
constructor() {
|
|
1067
1087
|
super(...arguments);
|
|
1068
1088
|
l(this, "priority", 130);
|
|
@@ -1121,7 +1141,7 @@ class rr extends m {
|
|
|
1121
1141
|
return e.setFullYear(u, 0, o.firstWeekContainsDate), e.setHours(0, 0, 0, 0), C(e, o);
|
|
1122
1142
|
}
|
|
1123
1143
|
}
|
|
1124
|
-
class
|
|
1144
|
+
class ar extends m {
|
|
1125
1145
|
constructor() {
|
|
1126
1146
|
super(...arguments);
|
|
1127
1147
|
l(this, "priority", 130);
|
|
@@ -1151,7 +1171,7 @@ class nr extends m {
|
|
|
1151
1171
|
return o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0), L(o);
|
|
1152
1172
|
}
|
|
1153
1173
|
}
|
|
1154
|
-
class
|
|
1174
|
+
class or extends m {
|
|
1155
1175
|
constructor() {
|
|
1156
1176
|
super(...arguments);
|
|
1157
1177
|
l(this, "priority", 130);
|
|
@@ -1164,7 +1184,7 @@ class ar extends m {
|
|
|
1164
1184
|
return e.setFullYear(n, 0, 1), e.setHours(0, 0, 0, 0), e;
|
|
1165
1185
|
}
|
|
1166
1186
|
}
|
|
1167
|
-
class
|
|
1187
|
+
class ir extends m {
|
|
1168
1188
|
constructor() {
|
|
1169
1189
|
super(...arguments);
|
|
1170
1190
|
l(this, "priority", 120);
|
|
@@ -1226,7 +1246,7 @@ class or extends m {
|
|
|
1226
1246
|
return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
|
|
1227
1247
|
}
|
|
1228
1248
|
}
|
|
1229
|
-
class
|
|
1249
|
+
class sr extends m {
|
|
1230
1250
|
constructor() {
|
|
1231
1251
|
super(...arguments);
|
|
1232
1252
|
l(this, "priority", 120);
|
|
@@ -1288,7 +1308,7 @@ class ir extends m {
|
|
|
1288
1308
|
return e.setMonth((n - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
|
|
1289
1309
|
}
|
|
1290
1310
|
}
|
|
1291
|
-
class
|
|
1311
|
+
class dr extends m {
|
|
1292
1312
|
constructor() {
|
|
1293
1313
|
super(...arguments);
|
|
1294
1314
|
l(this, "incompatibleTokens", [
|
|
@@ -1350,7 +1370,7 @@ class sr extends m {
|
|
|
1350
1370
|
return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
|
|
1351
1371
|
}
|
|
1352
1372
|
}
|
|
1353
|
-
class
|
|
1373
|
+
class lr extends m {
|
|
1354
1374
|
constructor() {
|
|
1355
1375
|
super(...arguments);
|
|
1356
1376
|
l(this, "priority", 110);
|
|
@@ -1412,11 +1432,11 @@ class dr extends m {
|
|
|
1412
1432
|
return e.setMonth(n, 1), e.setHours(0, 0, 0, 0), e;
|
|
1413
1433
|
}
|
|
1414
1434
|
}
|
|
1415
|
-
function
|
|
1416
|
-
const t = T(a, e == null ? void 0 : e.in), n =
|
|
1435
|
+
function ur(a, r, e) {
|
|
1436
|
+
const t = T(a, e == null ? void 0 : e.in), n = Rt(t, e) - r;
|
|
1417
1437
|
return t.setDate(t.getDate() - n * 7), T(t, e == null ? void 0 : e.in);
|
|
1418
1438
|
}
|
|
1419
|
-
class
|
|
1439
|
+
class cr extends m {
|
|
1420
1440
|
constructor() {
|
|
1421
1441
|
super(...arguments);
|
|
1422
1442
|
l(this, "priority", 100);
|
|
@@ -1450,14 +1470,14 @@ class ur extends m {
|
|
|
1450
1470
|
return t >= 1 && t <= 53;
|
|
1451
1471
|
}
|
|
1452
1472
|
set(e, t, n, o) {
|
|
1453
|
-
return C(
|
|
1473
|
+
return C(ur(e, n, o), o);
|
|
1454
1474
|
}
|
|
1455
1475
|
}
|
|
1456
|
-
function
|
|
1457
|
-
const t = T(a, e == null ? void 0 : e.in), n =
|
|
1476
|
+
function fr(a, r, e) {
|
|
1477
|
+
const t = T(a, e == null ? void 0 : e.in), n = Ht(t, e) - r;
|
|
1458
1478
|
return t.setDate(t.getDate() - n * 7), t;
|
|
1459
1479
|
}
|
|
1460
|
-
class
|
|
1480
|
+
class mr extends m {
|
|
1461
1481
|
constructor() {
|
|
1462
1482
|
super(...arguments);
|
|
1463
1483
|
l(this, "priority", 100);
|
|
@@ -1492,10 +1512,10 @@ class fr extends m {
|
|
|
1492
1512
|
return t >= 1 && t <= 53;
|
|
1493
1513
|
}
|
|
1494
1514
|
set(e, t, n) {
|
|
1495
|
-
return L(
|
|
1515
|
+
return L(fr(e, n));
|
|
1496
1516
|
}
|
|
1497
1517
|
}
|
|
1498
|
-
const
|
|
1518
|
+
const hr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], xr = [
|
|
1499
1519
|
31,
|
|
1500
1520
|
29,
|
|
1501
1521
|
31,
|
|
@@ -1509,7 +1529,7 @@ const mr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], hr = [
|
|
|
1509
1529
|
30,
|
|
1510
1530
|
31
|
|
1511
1531
|
];
|
|
1512
|
-
class
|
|
1532
|
+
class pr extends m {
|
|
1513
1533
|
constructor() {
|
|
1514
1534
|
super(...arguments);
|
|
1515
1535
|
l(this, "priority", 90);
|
|
@@ -1541,13 +1561,13 @@ class xr extends m {
|
|
|
1541
1561
|
}
|
|
1542
1562
|
validate(e, t) {
|
|
1543
1563
|
const n = e.getFullYear(), o = Ne(n), s = e.getMonth();
|
|
1544
|
-
return o ? t >= 1 && t <=
|
|
1564
|
+
return o ? t >= 1 && t <= xr[s] : t >= 1 && t <= hr[s];
|
|
1545
1565
|
}
|
|
1546
1566
|
set(e, t, n) {
|
|
1547
1567
|
return e.setDate(n), e.setHours(0, 0, 0, 0), e;
|
|
1548
1568
|
}
|
|
1549
1569
|
}
|
|
1550
|
-
class
|
|
1570
|
+
class br extends m {
|
|
1551
1571
|
constructor() {
|
|
1552
1572
|
super(...arguments);
|
|
1553
1573
|
l(this, "priority", 90);
|
|
@@ -1589,12 +1609,12 @@ class pr extends m {
|
|
|
1589
1609
|
return e.setMonth(0, n), e.setHours(0, 0, 0, 0), e;
|
|
1590
1610
|
}
|
|
1591
1611
|
}
|
|
1592
|
-
function
|
|
1593
|
-
var c,
|
|
1594
|
-
const t =
|
|
1612
|
+
function S(a, r, e) {
|
|
1613
|
+
var c, I, F, M;
|
|
1614
|
+
const t = R(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((I = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : I.weekStartsOn) ?? t.weekStartsOn ?? ((M = (F = t.locale) == null ? void 0 : F.options) == null ? void 0 : M.weekStartsOn) ?? 0, o = T(a, e == null ? void 0 : e.in), s = o.getDay(), h = (r % 7 + 7) % 7, x = 7 - n, k = r < 0 || r > 6 ? r - (s + x) % 7 : (h + x) % 7 - (s + x) % 7;
|
|
1595
1615
|
return ye(o, k, e);
|
|
1596
1616
|
}
|
|
1597
|
-
class
|
|
1617
|
+
class wr extends m {
|
|
1598
1618
|
constructor() {
|
|
1599
1619
|
super(...arguments);
|
|
1600
1620
|
l(this, "priority", 90);
|
|
@@ -1628,10 +1648,10 @@ class br extends m {
|
|
|
1628
1648
|
return t >= 0 && t <= 6;
|
|
1629
1649
|
}
|
|
1630
1650
|
set(e, t, n, o) {
|
|
1631
|
-
return e =
|
|
1651
|
+
return e = S(e, n, o), e.setHours(0, 0, 0, 0), e;
|
|
1632
1652
|
}
|
|
1633
1653
|
}
|
|
1634
|
-
class
|
|
1654
|
+
class yr extends m {
|
|
1635
1655
|
constructor() {
|
|
1636
1656
|
super(...arguments);
|
|
1637
1657
|
l(this, "priority", 90);
|
|
@@ -1693,10 +1713,10 @@ class wr extends m {
|
|
|
1693
1713
|
return t >= 0 && t <= 6;
|
|
1694
1714
|
}
|
|
1695
1715
|
set(e, t, n, o) {
|
|
1696
|
-
return e =
|
|
1716
|
+
return e = S(e, n, o), e.setHours(0, 0, 0, 0), e;
|
|
1697
1717
|
}
|
|
1698
1718
|
}
|
|
1699
|
-
class
|
|
1719
|
+
class gr extends m {
|
|
1700
1720
|
constructor() {
|
|
1701
1721
|
super(...arguments);
|
|
1702
1722
|
l(this, "priority", 90);
|
|
@@ -1758,14 +1778,14 @@ class yr extends m {
|
|
|
1758
1778
|
return t >= 0 && t <= 6;
|
|
1759
1779
|
}
|
|
1760
1780
|
set(e, t, n, o) {
|
|
1761
|
-
return e =
|
|
1781
|
+
return e = S(e, n, o), e.setHours(0, 0, 0, 0), e;
|
|
1762
1782
|
}
|
|
1763
1783
|
}
|
|
1764
|
-
function
|
|
1765
|
-
const t = T(a, e == null ? void 0 : e.in), n =
|
|
1784
|
+
function kr(a, r, e) {
|
|
1785
|
+
const t = T(a, e == null ? void 0 : e.in), n = Zt(t, e), o = r - n;
|
|
1766
1786
|
return ye(t, o, e);
|
|
1767
1787
|
}
|
|
1768
|
-
class
|
|
1788
|
+
class vr extends m {
|
|
1769
1789
|
constructor() {
|
|
1770
1790
|
super(...arguments);
|
|
1771
1791
|
l(this, "priority", 90);
|
|
@@ -1852,10 +1872,10 @@ class kr extends m {
|
|
|
1852
1872
|
return t >= 1 && t <= 7;
|
|
1853
1873
|
}
|
|
1854
1874
|
set(e, t, n) {
|
|
1855
|
-
return e =
|
|
1875
|
+
return e = kr(e, n), e.setHours(0, 0, 0, 0), e;
|
|
1856
1876
|
}
|
|
1857
1877
|
}
|
|
1858
|
-
class
|
|
1878
|
+
class Dr extends m {
|
|
1859
1879
|
constructor() {
|
|
1860
1880
|
super(...arguments);
|
|
1861
1881
|
l(this, "priority", 80);
|
|
@@ -1893,10 +1913,10 @@ class vr extends m {
|
|
|
1893
1913
|
}
|
|
1894
1914
|
}
|
|
1895
1915
|
set(e, t, n) {
|
|
1896
|
-
return e.setHours(
|
|
1916
|
+
return e.setHours(K(n), 0, 0, 0), e;
|
|
1897
1917
|
}
|
|
1898
1918
|
}
|
|
1899
|
-
class
|
|
1919
|
+
class Tr extends m {
|
|
1900
1920
|
constructor() {
|
|
1901
1921
|
super(...arguments);
|
|
1902
1922
|
l(this, "priority", 80);
|
|
@@ -1934,10 +1954,10 @@ class Dr extends m {
|
|
|
1934
1954
|
}
|
|
1935
1955
|
}
|
|
1936
1956
|
set(e, t, n) {
|
|
1937
|
-
return e.setHours(
|
|
1957
|
+
return e.setHours(K(n), 0, 0, 0), e;
|
|
1938
1958
|
}
|
|
1939
1959
|
}
|
|
1940
|
-
class
|
|
1960
|
+
class Pr extends m {
|
|
1941
1961
|
constructor() {
|
|
1942
1962
|
super(...arguments);
|
|
1943
1963
|
l(this, "priority", 80);
|
|
@@ -1975,10 +1995,10 @@ class Tr extends m {
|
|
|
1975
1995
|
}
|
|
1976
1996
|
}
|
|
1977
1997
|
set(e, t, n) {
|
|
1978
|
-
return e.setHours(
|
|
1998
|
+
return e.setHours(K(n), 0, 0, 0), e;
|
|
1979
1999
|
}
|
|
1980
2000
|
}
|
|
1981
|
-
class
|
|
2001
|
+
class Nr extends m {
|
|
1982
2002
|
constructor() {
|
|
1983
2003
|
super(...arguments);
|
|
1984
2004
|
l(this, "priority", 70);
|
|
@@ -2002,7 +2022,7 @@ class Pr extends m {
|
|
|
2002
2022
|
return o && n < 12 ? e.setHours(n + 12, 0, 0, 0) : !o && n === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(n, 0, 0, 0), e;
|
|
2003
2023
|
}
|
|
2004
2024
|
}
|
|
2005
|
-
class
|
|
2025
|
+
class jr extends m {
|
|
2006
2026
|
constructor() {
|
|
2007
2027
|
super(...arguments);
|
|
2008
2028
|
l(this, "priority", 70);
|
|
@@ -2025,7 +2045,7 @@ class Nr extends m {
|
|
|
2025
2045
|
return e.setHours(n, 0, 0, 0), e;
|
|
2026
2046
|
}
|
|
2027
2047
|
}
|
|
2028
|
-
class
|
|
2048
|
+
class _r extends m {
|
|
2029
2049
|
constructor() {
|
|
2030
2050
|
super(...arguments);
|
|
2031
2051
|
l(this, "priority", 70);
|
|
@@ -2072,7 +2092,7 @@ class Ir extends m {
|
|
|
2072
2092
|
return e.setHours(o, 0, 0, 0), e;
|
|
2073
2093
|
}
|
|
2074
2094
|
}
|
|
2075
|
-
class
|
|
2095
|
+
class Mr extends m {
|
|
2076
2096
|
constructor() {
|
|
2077
2097
|
super(...arguments);
|
|
2078
2098
|
l(this, "priority", 60);
|
|
@@ -2095,7 +2115,7 @@ class _r extends m {
|
|
|
2095
2115
|
return e.setMinutes(n, 0, 0), e;
|
|
2096
2116
|
}
|
|
2097
2117
|
}
|
|
2098
|
-
class
|
|
2118
|
+
class Er extends m {
|
|
2099
2119
|
constructor() {
|
|
2100
2120
|
super(...arguments);
|
|
2101
2121
|
l(this, "priority", 50);
|
|
@@ -2118,7 +2138,7 @@ class Mr extends m {
|
|
|
2118
2138
|
return e.setSeconds(n, 0), e;
|
|
2119
2139
|
}
|
|
2120
2140
|
}
|
|
2121
|
-
class
|
|
2141
|
+
class Cr extends m {
|
|
2122
2142
|
constructor() {
|
|
2123
2143
|
super(...arguments);
|
|
2124
2144
|
l(this, "priority", 30);
|
|
@@ -2132,7 +2152,7 @@ class Er extends m {
|
|
|
2132
2152
|
return e.setMilliseconds(n), e;
|
|
2133
2153
|
}
|
|
2134
2154
|
}
|
|
2135
|
-
class
|
|
2155
|
+
class Or extends m {
|
|
2136
2156
|
constructor() {
|
|
2137
2157
|
super(...arguments);
|
|
2138
2158
|
l(this, "priority", 10);
|
|
@@ -2141,25 +2161,25 @@ class Cr extends m {
|
|
|
2141
2161
|
parse(e, t) {
|
|
2142
2162
|
switch (t) {
|
|
2143
2163
|
case "X":
|
|
2144
|
-
return
|
|
2164
|
+
return _(
|
|
2145
2165
|
j.basicOptionalMinutes,
|
|
2146
2166
|
e
|
|
2147
2167
|
);
|
|
2148
2168
|
case "XX":
|
|
2149
|
-
return
|
|
2169
|
+
return _(j.basic, e);
|
|
2150
2170
|
case "XXXX":
|
|
2151
|
-
return
|
|
2171
|
+
return _(
|
|
2152
2172
|
j.basicOptionalSeconds,
|
|
2153
2173
|
e
|
|
2154
2174
|
);
|
|
2155
2175
|
case "XXXXX":
|
|
2156
|
-
return
|
|
2176
|
+
return _(
|
|
2157
2177
|
j.extendedOptionalSeconds,
|
|
2158
2178
|
e
|
|
2159
2179
|
);
|
|
2160
2180
|
case "XXX":
|
|
2161
2181
|
default:
|
|
2162
|
-
return
|
|
2182
|
+
return _(j.extended, e);
|
|
2163
2183
|
}
|
|
2164
2184
|
}
|
|
2165
2185
|
set(e, t, n) {
|
|
@@ -2169,7 +2189,7 @@ class Cr extends m {
|
|
|
2169
2189
|
);
|
|
2170
2190
|
}
|
|
2171
2191
|
}
|
|
2172
|
-
class
|
|
2192
|
+
class Fr extends m {
|
|
2173
2193
|
constructor() {
|
|
2174
2194
|
super(...arguments);
|
|
2175
2195
|
l(this, "priority", 10);
|
|
@@ -2178,25 +2198,25 @@ class Or extends m {
|
|
|
2178
2198
|
parse(e, t) {
|
|
2179
2199
|
switch (t) {
|
|
2180
2200
|
case "x":
|
|
2181
|
-
return
|
|
2201
|
+
return _(
|
|
2182
2202
|
j.basicOptionalMinutes,
|
|
2183
2203
|
e
|
|
2184
2204
|
);
|
|
2185
2205
|
case "xx":
|
|
2186
|
-
return
|
|
2206
|
+
return _(j.basic, e);
|
|
2187
2207
|
case "xxxx":
|
|
2188
|
-
return
|
|
2208
|
+
return _(
|
|
2189
2209
|
j.basicOptionalSeconds,
|
|
2190
2210
|
e
|
|
2191
2211
|
);
|
|
2192
2212
|
case "xxxxx":
|
|
2193
|
-
return
|
|
2213
|
+
return _(
|
|
2194
2214
|
j.extendedOptionalSeconds,
|
|
2195
2215
|
e
|
|
2196
2216
|
);
|
|
2197
2217
|
case "xxx":
|
|
2198
2218
|
default:
|
|
2199
|
-
return
|
|
2219
|
+
return _(j.extended, e);
|
|
2200
2220
|
}
|
|
2201
2221
|
}
|
|
2202
2222
|
set(e, t, n) {
|
|
@@ -2206,7 +2226,7 @@ class Or extends m {
|
|
|
2206
2226
|
);
|
|
2207
2227
|
}
|
|
2208
2228
|
}
|
|
2209
|
-
class
|
|
2229
|
+
class Yr extends m {
|
|
2210
2230
|
constructor() {
|
|
2211
2231
|
super(...arguments);
|
|
2212
2232
|
l(this, "priority", 40);
|
|
@@ -2219,7 +2239,7 @@ class Fr extends m {
|
|
|
2219
2239
|
return [v(e, n * 1e3), { timestampIsSet: !0 }];
|
|
2220
2240
|
}
|
|
2221
2241
|
}
|
|
2222
|
-
class
|
|
2242
|
+
class Lr extends m {
|
|
2223
2243
|
constructor() {
|
|
2224
2244
|
super(...arguments);
|
|
2225
2245
|
l(this, "priority", 20);
|
|
@@ -2232,71 +2252,71 @@ class Yr extends m {
|
|
|
2232
2252
|
return [v(e, n), { timestampIsSet: !0 }];
|
|
2233
2253
|
}
|
|
2234
2254
|
}
|
|
2235
|
-
const
|
|
2236
|
-
G: new
|
|
2237
|
-
y: new
|
|
2238
|
-
Y: new
|
|
2239
|
-
R: new
|
|
2240
|
-
u: new
|
|
2241
|
-
Q: new
|
|
2242
|
-
q: new
|
|
2243
|
-
M: new
|
|
2244
|
-
L: new
|
|
2245
|
-
w: new
|
|
2246
|
-
I: new
|
|
2247
|
-
d: new
|
|
2248
|
-
D: new
|
|
2249
|
-
E: new
|
|
2250
|
-
e: new
|
|
2251
|
-
c: new
|
|
2252
|
-
i: new
|
|
2253
|
-
a: new
|
|
2254
|
-
b: new
|
|
2255
|
-
B: new
|
|
2256
|
-
h: new
|
|
2257
|
-
H: new
|
|
2258
|
-
K: new
|
|
2255
|
+
const Wr = {
|
|
2256
|
+
G: new tr(),
|
|
2257
|
+
y: new rr(),
|
|
2258
|
+
Y: new nr(),
|
|
2259
|
+
R: new ar(),
|
|
2260
|
+
u: new or(),
|
|
2261
|
+
Q: new ir(),
|
|
2262
|
+
q: new sr(),
|
|
2263
|
+
M: new dr(),
|
|
2264
|
+
L: new lr(),
|
|
2265
|
+
w: new cr(),
|
|
2266
|
+
I: new mr(),
|
|
2267
|
+
d: new pr(),
|
|
2268
|
+
D: new br(),
|
|
2269
|
+
E: new wr(),
|
|
2270
|
+
e: new yr(),
|
|
2271
|
+
c: new gr(),
|
|
2272
|
+
i: new vr(),
|
|
2273
|
+
a: new Dr(),
|
|
2274
|
+
b: new Tr(),
|
|
2275
|
+
B: new Pr(),
|
|
2276
|
+
h: new Nr(),
|
|
2277
|
+
H: new jr(),
|
|
2278
|
+
K: new _r(),
|
|
2259
2279
|
k: new Ir(),
|
|
2260
|
-
m: new
|
|
2261
|
-
s: new
|
|
2262
|
-
S: new
|
|
2263
|
-
X: new
|
|
2264
|
-
x: new
|
|
2265
|
-
t: new
|
|
2266
|
-
T: new
|
|
2267
|
-
},
|
|
2268
|
-
function
|
|
2269
|
-
var
|
|
2270
|
-
const n = () => v(e, NaN), o =
|
|
2280
|
+
m: new Mr(),
|
|
2281
|
+
s: new Er(),
|
|
2282
|
+
S: new Cr(),
|
|
2283
|
+
X: new Or(),
|
|
2284
|
+
x: new Fr(),
|
|
2285
|
+
t: new Yr(),
|
|
2286
|
+
T: new Lr()
|
|
2287
|
+
}, Hr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ar = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Rr = /^'([^]*?)'?$/, Br = /''/g, zr = /\S/, qr = /[a-zA-Z]/;
|
|
2288
|
+
function Qr(a, r, e, t) {
|
|
2289
|
+
var te, re, ne, ae;
|
|
2290
|
+
const n = () => v(e, NaN), o = Xt(), s = o.locale ?? Wt, u = o.firstWeekContainsDate ?? ((re = (te = o.locale) == null ? void 0 : te.options) == null ? void 0 : re.firstWeekContainsDate) ?? 1, h = o.weekStartsOn ?? ((ae = (ne = o.locale) == null ? void 0 : ne.options) == null ? void 0 : ae.weekStartsOn) ?? 0, x = {
|
|
2271
2291
|
firstWeekContainsDate: u,
|
|
2272
2292
|
weekStartsOn: h,
|
|
2273
2293
|
locale: s
|
|
2274
|
-
}, k = [new
|
|
2294
|
+
}, k = [new er(t == null ? void 0 : t.in, e)], c = r.match(Ar).map((f) => {
|
|
2275
2295
|
const b = f[0];
|
|
2276
|
-
if (b in
|
|
2277
|
-
const N =
|
|
2296
|
+
if (b in ce) {
|
|
2297
|
+
const N = ce[b];
|
|
2278
2298
|
return N(f, s.formatLong);
|
|
2279
2299
|
}
|
|
2280
2300
|
return f;
|
|
2281
|
-
}).join("").match(
|
|
2301
|
+
}).join("").match(Hr), I = [];
|
|
2282
2302
|
for (let f of c) {
|
|
2283
|
-
|
|
2284
|
-
const b = f[0], N =
|
|
2303
|
+
Vt(f) && fe(f, r, a), $t(f) && fe(f, r, a);
|
|
2304
|
+
const b = f[0], N = Wr[b];
|
|
2285
2305
|
if (N) {
|
|
2286
|
-
const { incompatibleTokens:
|
|
2287
|
-
if (Array.isArray(
|
|
2288
|
-
const
|
|
2289
|
-
(
|
|
2306
|
+
const { incompatibleTokens: oe } = N;
|
|
2307
|
+
if (Array.isArray(oe)) {
|
|
2308
|
+
const ie = I.find(
|
|
2309
|
+
(se) => oe.includes(se.token) || se.token === b
|
|
2290
2310
|
);
|
|
2291
|
-
if (
|
|
2311
|
+
if (ie)
|
|
2292
2312
|
throw new RangeError(
|
|
2293
|
-
`The format string mustn't contain \`${
|
|
2313
|
+
`The format string mustn't contain \`${ie.fullToken}\` and \`${f}\` at the same time`
|
|
2294
2314
|
);
|
|
2295
|
-
} else if (N.incompatibleTokens === "*" &&
|
|
2315
|
+
} else if (N.incompatibleTokens === "*" && I.length > 0)
|
|
2296
2316
|
throw new RangeError(
|
|
2297
2317
|
`The format string mustn't contain \`${f}\` and any other token at the same time`
|
|
2298
2318
|
);
|
|
2299
|
-
|
|
2319
|
+
I.push({ token: b, fullToken: f });
|
|
2300
2320
|
const G = N.run(
|
|
2301
2321
|
a,
|
|
2302
2322
|
f,
|
|
@@ -2311,44 +2331,44 @@ function zr(a, r, e, t) {
|
|
|
2311
2331
|
throw new RangeError(
|
|
2312
2332
|
"Format string contains an unescaped latin alphabet character `" + b + "`"
|
|
2313
2333
|
);
|
|
2314
|
-
if (f === "''" ? f = "'" : b === "'" && (f =
|
|
2334
|
+
if (f === "''" ? f = "'" : b === "'" && (f = $r(f)), a.indexOf(f) === 0)
|
|
2315
2335
|
a = a.slice(f.length);
|
|
2316
2336
|
else
|
|
2317
2337
|
return n();
|
|
2318
2338
|
}
|
|
2319
2339
|
}
|
|
2320
|
-
if (a.length > 0 &&
|
|
2340
|
+
if (a.length > 0 && zr.test(a))
|
|
2321
2341
|
return n();
|
|
2322
2342
|
const F = k.map((f) => f.priority).sort((f, b) => b - f).filter((f, b, N) => N.indexOf(f) === b).map(
|
|
2323
2343
|
(f) => k.filter((b) => b.priority === f).sort((b, N) => N.subPriority - b.subPriority)
|
|
2324
2344
|
).map((f) => f[0]);
|
|
2325
2345
|
let M = T(e, t == null ? void 0 : t.in);
|
|
2326
2346
|
if (isNaN(+M)) return n();
|
|
2327
|
-
const
|
|
2347
|
+
const ee = {};
|
|
2328
2348
|
for (const f of F) {
|
|
2329
2349
|
if (!f.validate(M, x))
|
|
2330
2350
|
return n();
|
|
2331
|
-
const b = f.set(M,
|
|
2332
|
-
Array.isArray(b) ? (M = b[0], Object.assign(
|
|
2351
|
+
const b = f.set(M, ee, x);
|
|
2352
|
+
Array.isArray(b) ? (M = b[0], Object.assign(ee, b[1])) : M = b;
|
|
2333
2353
|
}
|
|
2334
2354
|
return M;
|
|
2335
2355
|
}
|
|
2336
|
-
function
|
|
2337
|
-
return a.match(
|
|
2356
|
+
function $r(a) {
|
|
2357
|
+
return a.match(Rr)[1].replace(Br, "'");
|
|
2338
2358
|
}
|
|
2339
2359
|
const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r) => {
|
|
2340
|
-
const [e, t, n] = (a == null ? void 0 : a.split(".")) ?? "", o =
|
|
2360
|
+
const [e, t, n] = (a == null ? void 0 : a.split(".")) ?? "", o = Qr(`${e}/${t}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
2341
2361
|
+n <= 1950 && r.addIssue({
|
|
2342
2362
|
code: D.ZodIssueCode.custom,
|
|
2343
2363
|
message: Y.INVALID_DATE
|
|
2344
|
-
}),
|
|
2364
|
+
}), at(o) || r.addIssue({
|
|
2345
2365
|
code: D.ZodIssueCode.custom,
|
|
2346
2366
|
message: Y.INVALID_DATE
|
|
2347
2367
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(o).getTime() && r.addIssue({
|
|
2348
2368
|
code: D.ZodIssueCode.custom,
|
|
2349
2369
|
message: Y.FUTURE_DATE_NOT_ALLOWED
|
|
2350
2370
|
});
|
|
2351
|
-
}),
|
|
2371
|
+
}), Mn = D.string().superRefine((a, r) => {
|
|
2352
2372
|
const e = a.charAt(0);
|
|
2353
2373
|
["3", "4", "5", "6", "9"].includes(e) || r.addIssue({
|
|
2354
2374
|
code: D.ZodIssueCode.custom,
|
|
@@ -2357,19 +2377,19 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2357
2377
|
code: D.ZodIssueCode.custom,
|
|
2358
2378
|
message: "Введите номер телефона полностью"
|
|
2359
2379
|
});
|
|
2360
|
-
}).transform((a) => `7${a}`),
|
|
2380
|
+
}).transform((a) => `7${a}`), En = D.coerce.number().min(1e3, `${Y.FIX_LENGTH} 4`).max(9999, `${Y.FIX_LENGTH} 4`).nullable().superRefine((a, r) => {
|
|
2361
2381
|
a === null && r.addIssue({
|
|
2362
2382
|
code: D.ZodIssueCode.invalid_type,
|
|
2363
2383
|
expected: "number",
|
|
2364
2384
|
received: "null",
|
|
2365
2385
|
message: `${Y.FIX_LENGTH} 4`
|
|
2366
2386
|
});
|
|
2367
|
-
}).default(null),
|
|
2387
|
+
}).default(null), B = {
|
|
2368
2388
|
transparent: "transparent",
|
|
2369
2389
|
current: "currentColor",
|
|
2370
2390
|
inherit: "inherit",
|
|
2371
2391
|
initial: "initial"
|
|
2372
|
-
},
|
|
2392
|
+
}, Q = {
|
|
2373
2393
|
"blue-grey-100": "#f3f4f7",
|
|
2374
2394
|
"blue-grey-200": "#eaedf1",
|
|
2375
2395
|
"blue-grey-300": "#d4dbe2",
|
|
@@ -2397,7 +2417,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2397
2417
|
purple: "#5f40bd",
|
|
2398
2418
|
"purple-hover": "#52399d",
|
|
2399
2419
|
overlay: "#0000004d",
|
|
2400
|
-
...
|
|
2420
|
+
...B
|
|
2401
2421
|
}, je = {
|
|
2402
2422
|
dark: "#292929",
|
|
2403
2423
|
disabled: "#a9b6c5",
|
|
@@ -2412,8 +2432,8 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2412
2432
|
white: "#ffffff",
|
|
2413
2433
|
"primary-disabled": "#809bc7",
|
|
2414
2434
|
"blue-grey-600": "#94a4b7",
|
|
2415
|
-
...
|
|
2416
|
-
},
|
|
2435
|
+
...B
|
|
2436
|
+
}, _e = {
|
|
2417
2437
|
"barvcray-200": "#ebeef4",
|
|
2418
2438
|
"barvcray-300": "#dde1e8",
|
|
2419
2439
|
"greymint-200": "#deecee",
|
|
@@ -2426,7 +2446,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2426
2446
|
"skyblue-100": "#f4f8fe",
|
|
2427
2447
|
"skyblue-200": "#e7f3ff",
|
|
2428
2448
|
"skyblue-300": "#d9edff",
|
|
2429
|
-
...
|
|
2449
|
+
...B
|
|
2430
2450
|
}, E = {
|
|
2431
2451
|
"accent-default": "#2477ff",
|
|
2432
2452
|
"accent-hover": "#0053da",
|
|
@@ -2452,8 +2472,8 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2452
2472
|
white: "#ffffff",
|
|
2453
2473
|
"primary-disabled": "#809bc7",
|
|
2454
2474
|
footer: "#C3C3C3",
|
|
2455
|
-
...
|
|
2456
|
-
},
|
|
2475
|
+
...B
|
|
2476
|
+
}, $ = {
|
|
2457
2477
|
"blue-grey-500": "#a9b6c5",
|
|
2458
2478
|
"blue-grey-700": "#69809a",
|
|
2459
2479
|
"blue-grey-800": "#5a6e85",
|
|
@@ -2471,8 +2491,8 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2471
2491
|
warning: "#f49f00",
|
|
2472
2492
|
white: "#ffffff",
|
|
2473
2493
|
"primary-disabled": "#809bc7",
|
|
2474
|
-
...
|
|
2475
|
-
},
|
|
2494
|
+
...B
|
|
2495
|
+
}, Ie = {
|
|
2476
2496
|
none: "0",
|
|
2477
2497
|
sm: "4px",
|
|
2478
2498
|
md: "8px",
|
|
@@ -2485,7 +2505,7 @@ const In = D.string().length(10, { message: Y.INVALID_DATE }).superRefine((a, r)
|
|
|
2485
2505
|
90: "90deg",
|
|
2486
2506
|
110: "110deg",
|
|
2487
2507
|
180: "180deg"
|
|
2488
|
-
},
|
|
2508
|
+
}, Vr = {
|
|
2489
2509
|
0: "0",
|
|
2490
2510
|
1: "1",
|
|
2491
2511
|
10: "10",
|
|
@@ -2621,13 +2641,13 @@ var Fe = {}, Ye = {};
|
|
|
2621
2641
|
})(Fe);
|
|
2622
2642
|
let Z = Fe;
|
|
2623
2643
|
var Le = (Z.__esModule ? Z : { default: Z }).default;
|
|
2624
|
-
const
|
|
2625
|
-
function
|
|
2644
|
+
const V = /* @__PURE__ */ he(Le), Gr = Le;
|
|
2645
|
+
function me(a) {
|
|
2626
2646
|
return Object.fromEntries(
|
|
2627
2647
|
Object.entries(a).filter(([r]) => r !== "DEFAULT")
|
|
2628
2648
|
);
|
|
2629
2649
|
}
|
|
2630
|
-
var
|
|
2650
|
+
var Xr = Gr(
|
|
2631
2651
|
({ addUtilities: a, matchUtilities: r, theme: e }) => {
|
|
2632
2652
|
a({
|
|
2633
2653
|
"@keyframes enter": e("keyframes.enter"),
|
|
@@ -2698,13 +2718,13 @@ var Gr = Vr(
|
|
|
2698
2718
|
{ values: e("animationTranslate") }
|
|
2699
2719
|
), r(
|
|
2700
2720
|
{ duration: (t) => ({ animationDuration: t }) },
|
|
2701
|
-
{ values:
|
|
2721
|
+
{ values: me(e("animationDuration")) }
|
|
2702
2722
|
), r(
|
|
2703
2723
|
{ delay: (t) => ({ animationDelay: t }) },
|
|
2704
2724
|
{ values: e("animationDelay") }
|
|
2705
2725
|
), r(
|
|
2706
2726
|
{ ease: (t) => ({ animationTimingFunction: t }) },
|
|
2707
|
-
{ values:
|
|
2727
|
+
{ values: me(e("animationTimingFunction")) }
|
|
2708
2728
|
), a({
|
|
2709
2729
|
".running": { animationPlayState: "running" },
|
|
2710
2730
|
".paused": { animationPlayState: "paused" }
|
|
@@ -2783,11 +2803,11 @@ var Gr = Vr(
|
|
|
2783
2803
|
}
|
|
2784
2804
|
}
|
|
2785
2805
|
);
|
|
2786
|
-
const We = /* @__PURE__ */
|
|
2806
|
+
const We = /* @__PURE__ */ he(Xr), Cn = {
|
|
2787
2807
|
theme: {
|
|
2788
2808
|
backgroundColor: {
|
|
2789
|
-
color:
|
|
2790
|
-
banner:
|
|
2809
|
+
color: Q,
|
|
2810
|
+
banner: _e,
|
|
2791
2811
|
icon: E
|
|
2792
2812
|
},
|
|
2793
2813
|
textColor: {
|
|
@@ -2796,13 +2816,13 @@ const We = /* @__PURE__ */ me(Gr), En = {
|
|
|
2796
2816
|
},
|
|
2797
2817
|
fill: E,
|
|
2798
2818
|
stroke: E,
|
|
2799
|
-
borderColor:
|
|
2800
|
-
outlineColor:
|
|
2801
|
-
borderRadius:
|
|
2819
|
+
borderColor: $,
|
|
2820
|
+
outlineColor: $,
|
|
2821
|
+
borderRadius: Ie,
|
|
2802
2822
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
2803
2823
|
fontSize: Ee,
|
|
2804
2824
|
lineHeight: Ce,
|
|
2805
|
-
gradientColorStops:
|
|
2825
|
+
gradientColorStops: Q,
|
|
2806
2826
|
boxShadow: {
|
|
2807
2827
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
2808
2828
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
@@ -2864,10 +2884,10 @@ const We = /* @__PURE__ */ me(Gr), En = {
|
|
|
2864
2884
|
},
|
|
2865
2885
|
plugins: [
|
|
2866
2886
|
We,
|
|
2867
|
-
|
|
2887
|
+
V(({ addComponents: a }) => {
|
|
2868
2888
|
a(Oe);
|
|
2869
2889
|
}),
|
|
2870
|
-
|
|
2890
|
+
V(function({ matchUtilities: a, theme: r }) {
|
|
2871
2891
|
a(
|
|
2872
2892
|
{
|
|
2873
2893
|
"bg-deg-gradient": (e) => ({
|
|
@@ -2880,7 +2900,7 @@ const We = /* @__PURE__ */ me(Gr), En = {
|
|
|
2880
2900
|
);
|
|
2881
2901
|
})
|
|
2882
2902
|
]
|
|
2883
|
-
},
|
|
2903
|
+
}, On = {
|
|
2884
2904
|
theme: {
|
|
2885
2905
|
extend: {
|
|
2886
2906
|
transitionDuration: {
|
|
@@ -2920,15 +2940,15 @@ const We = /* @__PURE__ */ me(Gr), En = {
|
|
|
2920
2940
|
}
|
|
2921
2941
|
}
|
|
2922
2942
|
}
|
|
2923
|
-
},
|
|
2943
|
+
}, Fn = {
|
|
2924
2944
|
theme: {
|
|
2925
2945
|
screens: {
|
|
2926
2946
|
mobile: { max: "1187px" },
|
|
2927
2947
|
desktop: "1188px"
|
|
2928
2948
|
},
|
|
2929
2949
|
backgroundColor: {
|
|
2930
|
-
color:
|
|
2931
|
-
banner:
|
|
2950
|
+
color: Q,
|
|
2951
|
+
banner: _e,
|
|
2932
2952
|
icon: E
|
|
2933
2953
|
},
|
|
2934
2954
|
textColor: {
|
|
@@ -2937,29 +2957,29 @@ const We = /* @__PURE__ */ me(Gr), En = {
|
|
|
2937
2957
|
},
|
|
2938
2958
|
fill: E,
|
|
2939
2959
|
stroke: E,
|
|
2940
|
-
borderColor:
|
|
2941
|
-
outlineColor:
|
|
2942
|
-
borderRadius:
|
|
2960
|
+
borderColor: $,
|
|
2961
|
+
outlineColor: $,
|
|
2962
|
+
borderRadius: Ie,
|
|
2943
2963
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
2944
2964
|
fontSize: Ee,
|
|
2945
2965
|
lineHeight: Ce,
|
|
2946
|
-
gradientColorStops:
|
|
2966
|
+
gradientColorStops: Q,
|
|
2947
2967
|
boxShadow: {
|
|
2948
2968
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
2949
2969
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
2950
2970
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
2951
2971
|
},
|
|
2952
|
-
zIndex:
|
|
2972
|
+
zIndex: Vr,
|
|
2953
2973
|
extend: {
|
|
2954
2974
|
bgGradientDeg: Me
|
|
2955
2975
|
}
|
|
2956
2976
|
},
|
|
2957
2977
|
plugins: [
|
|
2958
2978
|
We,
|
|
2959
|
-
|
|
2979
|
+
V(({ addComponents: a }) => {
|
|
2960
2980
|
a(Oe);
|
|
2961
2981
|
}),
|
|
2962
|
-
|
|
2982
|
+
V(function({ matchUtilities: a, theme: r }) {
|
|
2963
2983
|
a(
|
|
2964
2984
|
{
|
|
2965
2985
|
"bg-deg-gradient": (e) => ({
|
|
@@ -2973,32 +2993,25 @@ const We = /* @__PURE__ */ me(Gr), En = {
|
|
|
2973
2993
|
})
|
|
2974
2994
|
]
|
|
2975
2995
|
};
|
|
2976
|
-
class
|
|
2996
|
+
class Zr extends Error {
|
|
2977
2997
|
constructor(r) {
|
|
2978
2998
|
super("ApiError: " + r.status), this.response = r;
|
|
2979
2999
|
}
|
|
2980
3000
|
}
|
|
2981
|
-
const
|
|
3001
|
+
const Ur = {
|
|
2982
3002
|
"Content-Type": "application/json"
|
|
2983
|
-
},
|
|
3003
|
+
}, Yn = async ({ url: a, init: r, baseUrl: e }) => {
|
|
2984
3004
|
const t = (r == null ? void 0 : r.headers) ?? {}, n = (r == null ? void 0 : r.body) && (r == null ? void 0 : r.body), o = await fetch(`${e}${a}`, {
|
|
2985
3005
|
headers: {
|
|
2986
|
-
...
|
|
3006
|
+
...Ur,
|
|
2987
3007
|
...t
|
|
2988
3008
|
},
|
|
2989
3009
|
body: n,
|
|
2990
3010
|
...r
|
|
2991
3011
|
});
|
|
2992
3012
|
if (!o.ok)
|
|
2993
|
-
throw new
|
|
3013
|
+
throw new Zr(o);
|
|
2994
3014
|
return await o.json();
|
|
2995
|
-
}, Ur = {
|
|
2996
|
-
main: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoMain" }),
|
|
2997
|
-
white: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoWhite" }),
|
|
2998
|
-
gray: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoGray" }),
|
|
2999
|
-
black: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBlack" }),
|
|
3000
|
-
business: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoBusiness" }),
|
|
3001
|
-
insurance: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoInsurance" })
|
|
3002
3015
|
}, Jr = /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
3003
3016
|
"© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
|
|
3004
3017
|
/* @__PURE__ */ i.jsx("br", {}),
|
|
@@ -3130,8 +3143,8 @@ const Zr = {
|
|
|
3130
3143
|
n
|
|
3131
3144
|
)) })
|
|
3132
3145
|
] }, e)) }), on = ({ ligal: a, classes: r }) => {
|
|
3133
|
-
const [e, t] =
|
|
3134
|
-
return
|
|
3146
|
+
const [e, t] = z.useState(!1), [n, o] = z.useState(!1), s = z.useRef(null);
|
|
3147
|
+
return z.useEffect(() => {
|
|
3135
3148
|
const u = s.current;
|
|
3136
3149
|
u && o(u.scrollHeight > u.clientHeight);
|
|
3137
3150
|
}, []), /* @__PURE__ */ i.jsxs("div", { className: d("mt-8 flex flex-col gap-4", r == null ? void 0 : r.ligalRoot), children: [
|
|
@@ -3150,7 +3163,7 @@ const Zr = {
|
|
|
3150
3163
|
}
|
|
3151
3164
|
)
|
|
3152
3165
|
] });
|
|
3153
|
-
}, sn = ({ text: a, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: a }),
|
|
3166
|
+
}, sn = ({ text: a, classes: r }) => /* @__PURE__ */ i.jsx("div", { className: d("desk-body-regular-m text-color-footer", r == null ? void 0 : r.text), children: a }), Ln = ({
|
|
3154
3167
|
withSocial: a = !0,
|
|
3155
3168
|
withPhones: r = !0,
|
|
3156
3169
|
withNavLinks: e = !0,
|
|
@@ -3163,7 +3176,7 @@ const Zr = {
|
|
|
3163
3176
|
ligal: x = Kr,
|
|
3164
3177
|
copyright: k = Jr,
|
|
3165
3178
|
classes: c
|
|
3166
|
-
}) => /* @__PURE__ */ i.jsx(pe, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(
|
|
3179
|
+
}) => /* @__PURE__ */ i.jsx(pe, { className: d("w-full", c == null ? void 0 : c.section), children: /* @__PURE__ */ i.jsx(A, { className: d(c == null ? void 0 : c.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", c == null ? void 0 : c.footerRoot), children: [
|
|
3167
3180
|
/* @__PURE__ */ i.jsxs("div", { className: d("mb-8 flex items-center justify-between gap-6", c == null ? void 0 : c.footerHead), children: [
|
|
3168
3181
|
/* @__PURE__ */ i.jsxs("div", { className: d(c == null ? void 0 : c.footerSocialBlock), children: [
|
|
3169
3182
|
/* @__PURE__ */ i.jsx("a", { "aria-label": "logo", href: "/", className: d(c == null ? void 0 : c.footerLogo), children: /* @__PURE__ */ i.jsx(P, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
@@ -3190,16 +3203,16 @@ const Zr = {
|
|
|
3190
3203
|
] }) }) }), dn = (a) => {
|
|
3191
3204
|
switch (a.variant) {
|
|
3192
3205
|
case "withButton":
|
|
3193
|
-
return /* @__PURE__ */ i.jsx(
|
|
3206
|
+
return /* @__PURE__ */ i.jsx(J, { intent: "secondary", size: "sm", ...a.buttonProps, children: "Оформить заявку" });
|
|
3194
3207
|
case "withPhone":
|
|
3195
3208
|
const { phone: r, phoneText: e } = a;
|
|
3196
3209
|
return /* @__PURE__ */ i.jsx(be, { phone: r, text: e, ...a.phoneProps });
|
|
3197
3210
|
default:
|
|
3198
3211
|
return null;
|
|
3199
3212
|
}
|
|
3200
|
-
},
|
|
3213
|
+
}, Wn = (a) => {
|
|
3201
3214
|
const { logoPath: r = "/", logoType: e = "main", classes: t } = a;
|
|
3202
|
-
return /* @__PURE__ */ i.jsx("header", { className: d("flex h-[72px] items-center justify-center bg-color-white", t == null ? void 0 : t.header), children: /* @__PURE__ */ i.jsx(
|
|
3215
|
+
return /* @__PURE__ */ i.jsx("header", { className: d("flex h-[72px] items-center justify-center bg-color-white", t == null ? void 0 : t.header), children: /* @__PURE__ */ i.jsx(A, { className: d(t == null ? void 0 : t.container), children: /* @__PURE__ */ i.jsxs("div", { className: d("flex items-center justify-between gap-5", t == null ? void 0 : t.wrapper), children: [
|
|
3203
3216
|
/* @__PURE__ */ i.jsx(
|
|
3204
3217
|
"a",
|
|
3205
3218
|
{
|
|
@@ -3211,7 +3224,7 @@ const Zr = {
|
|
|
3211
3224
|
"flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
|
|
3212
3225
|
t == null ? void 0 : t.logo
|
|
3213
3226
|
),
|
|
3214
|
-
children:
|
|
3227
|
+
children: Ge[e]
|
|
3215
3228
|
}
|
|
3216
3229
|
),
|
|
3217
3230
|
dn(a)
|
|
@@ -3240,7 +3253,7 @@ const Zr = {
|
|
|
3240
3253
|
] })
|
|
3241
3254
|
]
|
|
3242
3255
|
}
|
|
3243
|
-
),
|
|
3256
|
+
), Hn = ({ heading: a, stepsList: r, classes: e }) => /* @__PURE__ */ i.jsx(pe, { children: /* @__PURE__ */ i.jsx(A, { children: /* @__PURE__ */ i.jsxs("div", { className: d("flex flex-col gap-12 desktop:items-start", e == null ? void 0 : e.root), children: [
|
|
3244
3257
|
/* @__PURE__ */ i.jsx(xe, { as: "h2", className: d("text-color-dark", e == null ? void 0 : e.headline), children: a }),
|
|
3245
3258
|
/* @__PURE__ */ i.jsx(
|
|
3246
3259
|
"div",
|
|
@@ -3345,7 +3358,7 @@ const Zr = {
|
|
|
3345
3358
|
] }),
|
|
3346
3359
|
/* @__PURE__ */ i.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: t })
|
|
3347
3360
|
] }) });
|
|
3348
|
-
}, U = ({ intent: a, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(un({ intent: a, desktopHidden: e, mobileHidden: t })), children: r }), xn = ({ textContent: a, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(cn({ intent: r, withButton: e })), children: a == null ? void 0 : a.map((t, n) => /* @__PURE__ */ i.jsx(hn, { intent: r, data: t }, n)) }),
|
|
3361
|
+
}, U = ({ intent: a, title: r, desktopHidden: e = !1, mobileHidden: t = !1 }) => /* @__PURE__ */ i.jsx("h2", { className: d(un({ intent: a, desktopHidden: e, mobileHidden: t })), children: r }), xn = ({ textContent: a, intent: r, withButton: e }) => /* @__PURE__ */ i.jsx("ul", { className: d(cn({ intent: r, withButton: e })), children: a == null ? void 0 : a.map((t, n) => /* @__PURE__ */ i.jsx(hn, { intent: r, data: t }, n)) }), An = ({
|
|
3349
3362
|
title: a,
|
|
3350
3363
|
buttonConfig: r,
|
|
3351
3364
|
intent: e = "twoItems",
|
|
@@ -3354,7 +3367,7 @@ const Zr = {
|
|
|
3354
3367
|
classes: o
|
|
3355
3368
|
}) => {
|
|
3356
3369
|
const s = !!r, u = e === "fourItems", h = e === "twoItems";
|
|
3357
|
-
return /* @__PURE__ */ i.jsx("section", { className: d(o == null ? void 0 : o.section), children: /* @__PURE__ */ i.jsxs(
|
|
3370
|
+
return /* @__PURE__ */ i.jsx("section", { className: d(o == null ? void 0 : o.section), children: /* @__PURE__ */ i.jsxs(A, { className: d(o == null ? void 0 : o.mainContainer), children: [
|
|
3358
3371
|
h && /* @__PURE__ */ i.jsx(U, { intent: e, title: a }),
|
|
3359
3372
|
/* @__PURE__ */ i.jsxs(
|
|
3360
3373
|
"div",
|
|
@@ -3374,7 +3387,7 @@ const Zr = {
|
|
|
3374
3387
|
u && /* @__PURE__ */ i.jsx(U, { intent: e, title: a, mobileHidden: !0 }),
|
|
3375
3388
|
/* @__PURE__ */ i.jsx(xn, { textContent: t, intent: e, withButton: s }),
|
|
3376
3389
|
s && /* @__PURE__ */ i.jsx(
|
|
3377
|
-
|
|
3390
|
+
J,
|
|
3378
3391
|
{
|
|
3379
3392
|
className: d("w-full px-4 desktop:w-max", o == null ? void 0 : o.button),
|
|
3380
3393
|
size: "lg",
|
|
@@ -3392,55 +3405,56 @@ const Zr = {
|
|
|
3392
3405
|
] }) });
|
|
3393
3406
|
};
|
|
3394
3407
|
export {
|
|
3395
|
-
|
|
3396
|
-
|
|
3408
|
+
zn as Advantages,
|
|
3409
|
+
Zr as ApiError,
|
|
3397
3410
|
qn as Badge,
|
|
3398
3411
|
kn as Breadcrumbs,
|
|
3399
|
-
|
|
3412
|
+
J as Button,
|
|
3400
3413
|
vn as ButtonIcon,
|
|
3401
3414
|
Dn as CustomLink,
|
|
3402
3415
|
Tn as Document,
|
|
3403
|
-
|
|
3416
|
+
jn as FloatButton,
|
|
3417
|
+
Ln as Footer,
|
|
3404
3418
|
xe as Heading,
|
|
3405
3419
|
P as Icon,
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3420
|
+
Qn as Loader,
|
|
3421
|
+
An as LongBanner,
|
|
3422
|
+
Wn as PageHeader,
|
|
3409
3423
|
be as PhoneView,
|
|
3410
3424
|
Pn as ProgressBar,
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3425
|
+
A as ResponsiveContainer,
|
|
3426
|
+
de as RgxCheckForHyphen,
|
|
3427
|
+
Ze as RgxPatronymic,
|
|
3428
|
+
Xe as RgxUnicode,
|
|
3415
3429
|
pe as Section,
|
|
3416
3430
|
Nn as Skeleton,
|
|
3417
|
-
|
|
3431
|
+
Hn as Stepper,
|
|
3418
3432
|
Y as VALIDATION_MESSAGES,
|
|
3419
|
-
|
|
3433
|
+
Q as allowedBackgroundColors,
|
|
3420
3434
|
Me as allowedBackgroundDeg,
|
|
3421
|
-
|
|
3422
|
-
|
|
3435
|
+
_e as allowedBannersBackgroundColors,
|
|
3436
|
+
Ie as allowedBorderRadius,
|
|
3423
3437
|
Ee as allowedFontSize,
|
|
3424
3438
|
E as allowedIconsColors,
|
|
3425
3439
|
Ce as allowedLineHeight,
|
|
3426
|
-
|
|
3440
|
+
$ as allowedStrokeColors,
|
|
3427
3441
|
je as allowedTextColors,
|
|
3428
3442
|
Oe as allowedTextStyles,
|
|
3429
|
-
|
|
3430
|
-
|
|
3443
|
+
Vr as allowedZIndex,
|
|
3444
|
+
Yn as apiInstance,
|
|
3431
3445
|
yn as capitalize,
|
|
3432
3446
|
d as cn,
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3447
|
+
Ur as defaultHeaders,
|
|
3448
|
+
On as extendsPreset,
|
|
3449
|
+
Ue as formattedDadataFio,
|
|
3450
|
+
$n as isClient,
|
|
3437
3451
|
gn as mergeRefs,
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3452
|
+
Fn as resetPreset,
|
|
3453
|
+
Vn as scrollToElement,
|
|
3454
|
+
Cn as tailwindConfigBase,
|
|
3441
3455
|
In as zodCalendarValidate,
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3456
|
+
_n as zodDadataFioSchema,
|
|
3457
|
+
En as zodOtpCodeSchema,
|
|
3458
|
+
Mn as zodPhoneSchema
|
|
3445
3459
|
};
|
|
3446
3460
|
//# sourceMappingURL=hybrid.js.map
|