@scbt-ecom/ui 0.76.3 → 0.77.1
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/{index-BcOxdcOI.js → index-DwZjTCDF.js} +2 -2
- package/dist/{index-BcOxdcOI.js.map → index-DwZjTCDF.js.map} +1 -1
- package/dist/{index-F-RYAmDP.js → index-PZSikNMt.js} +2512 -2503
- package/dist/index-PZSikNMt.js.map +1 -0
- package/dist/lib/shared/ui/dialog/Dialog.d.ts +6 -0
- package/dist/lib/shared/ui/dialog/index.d.ts +1 -0
- package/dist/lib/shared/ui/icon/allowedIcons.d.ts +2 -1
- package/dist/lib/shared/ui/icon/iconsMap.d.ts +12 -0
- package/dist/lib/shared/ui/icon/sprite.gen.d.ts +1 -0
- package/dist/lib/shared/ui/index.d.ts +1 -0
- package/dist/lib/widgets/banner/Banner.d.ts +11 -3
- package/dist/lib/widgets/banner/model/types.d.ts +0 -5
- package/dist/lib/widgets/banner/ui/banners/BannerImageFull.d.ts +1 -1
- package/dist/lib/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +1 -1
- package/dist/sprites/media.svg +1 -0
- package/dist/static/static/media/desktop.svg +3 -0
- package/dist/static/static/media/mobile.svg +4 -0
- package/dist/ui.js +562 -522
- package/dist/ui.js.map +1 -1
- package/dist/{utils-CaWgHX_C.js → utils-CnDzHNQ6.js} +1186 -1204
- package/dist/utils-CnDzHNQ6.js.map +1 -0
- package/dist/validation.js +2 -2
- package/dist/widget.js +278 -266
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-F-RYAmDP.js.map +0 -1
- package/dist/utils-CaWgHX_C.js.map +0 -1
package/dist/widget.js
CHANGED
|
@@ -4,31 +4,31 @@ var Pe = (t) => {
|
|
|
4
4
|
};
|
|
5
5
|
var Ft = (t, e, r) => e in t ? Et(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
6
6
|
var le = (t, e, r) => Ft(t, typeof e != "symbol" ? e + "" : e, r), ve = (t, e, r) => e.has(t) || Pe("Cannot " + r);
|
|
7
|
-
var x = (t, e, r) => (ve(t, e, "read from private field"), r ? r.call(t) : e.get(t)),
|
|
7
|
+
var x = (t, e, r) => (ve(t, e, "read from private field"), r ? r.call(t) : e.get(t)), M = (t, e, r) => e.has(t) ? Pe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), w = (t, e, r, o) => (ve(t, e, "write to private field"), o ? o.call(t, r) : e.set(t, r), r), U = (t, e, r) => (ve(t, e, "access private method"), r);
|
|
8
8
|
var ce = (t, e, r, o) => ({
|
|
9
9
|
set _(i) {
|
|
10
|
-
|
|
10
|
+
w(t, e, i, r);
|
|
11
11
|
},
|
|
12
12
|
get _() {
|
|
13
13
|
return x(t, e, o);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { S as mt, x as ht, Q as Bt, y as
|
|
17
|
-
import { c as l, T as
|
|
16
|
+
import { S as mt, x as ht, Q as Bt, y as O, z as Re, E as Pt, F as Rt, G as De, J as Q, T as Dt, W as Ht, X as zt, Y as Lt, Z as He, _ as ze, $ as Qt, a0 as Le, a1 as Qe, a2 as Vt, j as n, B as Ie, c as E, R as B, n as xt, s as $t, H as z, i as s, t as je, q as _e, L as At, o as Oe, A as ie, v as pt, a3 as Ut, r as qt, U as Se, a4 as Ee, a5 as Wt, M as Kt } from "./index-PZSikNMt.js";
|
|
17
|
+
import { c as l, T as v } from "./typeGuards-CSiImkUY.js";
|
|
18
18
|
import * as ue from "react";
|
|
19
|
-
import { lazy as
|
|
19
|
+
import { lazy as P, useCallback as ct, useState as L, useMemo as ye, createElement as ft, Fragment as Zt, useEffect as se, useRef as Fe, useReducer as Xt, memo as Be, forwardRef as Yt } from "react";
|
|
20
20
|
import { scrollToElement as Jt, createPhoneNumber as ke, getUuid as Ve, capitalize as Gt } from "./utils.js";
|
|
21
21
|
import { i as bt } from "./isClient-C9aZtt2Q.js";
|
|
22
22
|
import { u as ee, b as st, a as er, g as we, F as tr } from "./useDebounce-BH0d8exl.js";
|
|
23
|
-
import { z as gt, Z as jt } from "./index-
|
|
24
|
-
import { au as yt } from "./utils-
|
|
23
|
+
import { z as gt, Z as jt } from "./index-DwZjTCDF.js";
|
|
24
|
+
import { au as yt } from "./utils-CnDzHNQ6.js";
|
|
25
25
|
import { a as rr, u as nr } from "./useFieldsProgress-dcSmd8dw.js";
|
|
26
26
|
import { createPortal as kt } from "react-dom";
|
|
27
27
|
var R, at, or = (at = class extends mt {
|
|
28
28
|
constructor(e = {}) {
|
|
29
29
|
super();
|
|
30
|
-
|
|
31
|
-
this.config = e,
|
|
30
|
+
M(this, R);
|
|
31
|
+
this.config = e, w(this, R, /* @__PURE__ */ new Map());
|
|
32
32
|
}
|
|
33
33
|
build(e, r, o) {
|
|
34
34
|
const i = r.queryKey, a = r.queryHash ?? ht(i, r);
|
|
@@ -53,7 +53,7 @@ var R, at, or = (at = class extends mt {
|
|
|
53
53
|
r && (e.destroy(), r === e && x(this, R).delete(e.queryHash), this.notify({ type: "removed", query: e }));
|
|
54
54
|
}
|
|
55
55
|
clear() {
|
|
56
|
-
|
|
56
|
+
O.batch(() => {
|
|
57
57
|
this.getAll().forEach((e) => {
|
|
58
58
|
this.remove(e);
|
|
59
59
|
});
|
|
@@ -76,34 +76,34 @@ var R, at, or = (at = class extends mt {
|
|
|
76
76
|
return Object.keys(e).length > 0 ? r.filter((o) => Re(e, o)) : r;
|
|
77
77
|
}
|
|
78
78
|
notify(e) {
|
|
79
|
-
|
|
79
|
+
O.batch(() => {
|
|
80
80
|
this.listeners.forEach((r) => {
|
|
81
81
|
r(e);
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
onFocus() {
|
|
86
|
-
|
|
86
|
+
O.batch(() => {
|
|
87
87
|
this.getAll().forEach((e) => {
|
|
88
88
|
e.onFocus();
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
onOnline() {
|
|
93
|
-
|
|
93
|
+
O.batch(() => {
|
|
94
94
|
this.getAll().forEach((e) => {
|
|
95
95
|
e.onOnline();
|
|
96
96
|
});
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
}, R = new WeakMap(), at),
|
|
99
|
+
}, R = new WeakMap(), at), D, I, G, H, q, lt, ir = (lt = class extends Pt {
|
|
100
100
|
constructor(e) {
|
|
101
101
|
super();
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
this.mutationId = e.mutationId,
|
|
102
|
+
M(this, H);
|
|
103
|
+
M(this, D);
|
|
104
|
+
M(this, I);
|
|
105
|
+
M(this, G);
|
|
106
|
+
this.mutationId = e.mutationId, w(this, I, e.mutationCache), w(this, D, []), this.state = e.state || ar(), this.setOptions(e.options), this.scheduleGc();
|
|
107
107
|
}
|
|
108
108
|
setOptions(e) {
|
|
109
109
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -112,21 +112,21 @@ var R, at, or = (at = class extends mt {
|
|
|
112
112
|
return this.options.meta;
|
|
113
113
|
}
|
|
114
114
|
addObserver(e) {
|
|
115
|
-
x(this,
|
|
115
|
+
x(this, D).includes(e) || (x(this, D).push(e), this.clearGcTimeout(), x(this, I).notify({
|
|
116
116
|
type: "observerAdded",
|
|
117
117
|
mutation: this,
|
|
118
118
|
observer: e
|
|
119
119
|
}));
|
|
120
120
|
}
|
|
121
121
|
removeObserver(e) {
|
|
122
|
-
|
|
122
|
+
w(this, D, x(this, D).filter((r) => r !== e)), this.scheduleGc(), x(this, I).notify({
|
|
123
123
|
type: "observerRemoved",
|
|
124
124
|
mutation: this,
|
|
125
125
|
observer: e
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
optionalRemove() {
|
|
129
|
-
x(this,
|
|
129
|
+
x(this, D).length || (this.state.status === "pending" ? this.scheduleGc() : x(this, I).remove(this));
|
|
130
130
|
}
|
|
131
131
|
continue() {
|
|
132
132
|
var e;
|
|
@@ -134,36 +134,36 @@ var R, at, or = (at = class extends mt {
|
|
|
134
134
|
this.execute(this.state.variables);
|
|
135
135
|
}
|
|
136
136
|
async execute(e) {
|
|
137
|
-
var a, d, u, m, h, p, c,
|
|
137
|
+
var a, d, u, m, h, p, c, f, b, k, g, T, S, $, C, _, A, Y, xe, ae;
|
|
138
138
|
const r = () => {
|
|
139
|
-
|
|
139
|
+
U(this, H, q).call(this, { type: "continue" });
|
|
140
140
|
};
|
|
141
|
-
|
|
141
|
+
w(this, G, Rt({
|
|
142
142
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
|
|
143
143
|
onFail: (N, pe) => {
|
|
144
|
-
|
|
144
|
+
U(this, H, q).call(this, { type: "failed", failureCount: N, error: pe });
|
|
145
145
|
},
|
|
146
146
|
onPause: () => {
|
|
147
|
-
|
|
147
|
+
U(this, H, q).call(this, { type: "pause" });
|
|
148
148
|
},
|
|
149
149
|
onContinue: r,
|
|
150
150
|
retry: this.options.retry ?? 0,
|
|
151
151
|
retryDelay: this.options.retryDelay,
|
|
152
152
|
networkMode: this.options.networkMode,
|
|
153
|
-
canRun: () => x(this,
|
|
153
|
+
canRun: () => x(this, I).canRun(this)
|
|
154
154
|
}));
|
|
155
155
|
const o = this.state.status === "pending", i = !x(this, G).canStart();
|
|
156
156
|
try {
|
|
157
157
|
if (o)
|
|
158
158
|
r();
|
|
159
159
|
else {
|
|
160
|
-
|
|
160
|
+
U(this, H, q).call(this, { type: "pending", variables: e, isPaused: i }), await ((d = (a = x(this, I).config).onMutate) == null ? void 0 : d.call(
|
|
161
161
|
a,
|
|
162
162
|
e,
|
|
163
163
|
this
|
|
164
164
|
));
|
|
165
165
|
const pe = await ((m = (u = this.options).onMutate) == null ? void 0 : m.call(u, e));
|
|
166
|
-
pe !== this.state.context &&
|
|
166
|
+
pe !== this.state.context && U(this, H, q).call(this, {
|
|
167
167
|
type: "pending",
|
|
168
168
|
context: pe,
|
|
169
169
|
variables: e,
|
|
@@ -171,34 +171,34 @@ var R, at, or = (at = class extends mt {
|
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
const N = await x(this, G).start();
|
|
174
|
-
return await ((p = (h = x(this,
|
|
174
|
+
return await ((p = (h = x(this, I).config).onSuccess) == null ? void 0 : p.call(
|
|
175
175
|
h,
|
|
176
176
|
N,
|
|
177
177
|
e,
|
|
178
178
|
this.state.context,
|
|
179
179
|
this
|
|
180
|
-
)), await ((
|
|
181
|
-
|
|
180
|
+
)), await ((f = (c = this.options).onSuccess) == null ? void 0 : f.call(c, N, e, this.state.context)), await ((k = (b = x(this, I).config).onSettled) == null ? void 0 : k.call(
|
|
181
|
+
b,
|
|
182
182
|
N,
|
|
183
183
|
null,
|
|
184
184
|
this.state.variables,
|
|
185
185
|
this.state.context,
|
|
186
186
|
this
|
|
187
|
-
)), await ((
|
|
187
|
+
)), await ((T = (g = this.options).onSettled) == null ? void 0 : T.call(g, N, null, e, this.state.context)), U(this, H, q).call(this, { type: "success", data: N }), N;
|
|
188
188
|
} catch (N) {
|
|
189
189
|
try {
|
|
190
|
-
throw await (($ = (
|
|
191
|
-
|
|
190
|
+
throw await (($ = (S = x(this, I).config).onError) == null ? void 0 : $.call(
|
|
191
|
+
S,
|
|
192
192
|
N,
|
|
193
193
|
e,
|
|
194
194
|
this.state.context,
|
|
195
195
|
this
|
|
196
|
-
)), await ((
|
|
196
|
+
)), await ((_ = (C = this.options).onError) == null ? void 0 : _.call(
|
|
197
197
|
C,
|
|
198
198
|
N,
|
|
199
199
|
e,
|
|
200
200
|
this.state.context
|
|
201
|
-
)), await ((Y = (A = x(this,
|
|
201
|
+
)), await ((Y = (A = x(this, I).config).onSettled) == null ? void 0 : Y.call(
|
|
202
202
|
A,
|
|
203
203
|
void 0,
|
|
204
204
|
N,
|
|
@@ -213,13 +213,13 @@ var R, at, or = (at = class extends mt {
|
|
|
213
213
|
this.state.context
|
|
214
214
|
)), N;
|
|
215
215
|
} finally {
|
|
216
|
-
|
|
216
|
+
U(this, H, q).call(this, { type: "error", error: N });
|
|
217
217
|
}
|
|
218
218
|
} finally {
|
|
219
|
-
x(this,
|
|
219
|
+
x(this, I).runNext(this);
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
},
|
|
222
|
+
}, D = new WeakMap(), I = new WeakMap(), G = new WeakMap(), H = new WeakSet(), q = function(e) {
|
|
223
223
|
const r = (o) => {
|
|
224
224
|
switch (e.type) {
|
|
225
225
|
case "failed":
|
|
@@ -273,10 +273,10 @@ var R, at, or = (at = class extends mt {
|
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
|
-
this.state = r(this.state),
|
|
277
|
-
x(this,
|
|
276
|
+
this.state = r(this.state), O.batch(() => {
|
|
277
|
+
x(this, D).forEach((o) => {
|
|
278
278
|
o.onMutationUpdate(e);
|
|
279
|
-
}), x(this,
|
|
279
|
+
}), x(this, I).notify({
|
|
280
280
|
mutation: this,
|
|
281
281
|
type: "updated",
|
|
282
282
|
action: e
|
|
@@ -296,13 +296,13 @@ function ar() {
|
|
|
296
296
|
submittedAt: 0
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
|
-
var V,
|
|
299
|
+
var V, F, he, dt, lr = (dt = class extends mt {
|
|
300
300
|
constructor(e = {}) {
|
|
301
301
|
super();
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
this.config = e,
|
|
302
|
+
M(this, V);
|
|
303
|
+
M(this, F);
|
|
304
|
+
M(this, he);
|
|
305
|
+
this.config = e, w(this, V, /* @__PURE__ */ new Set()), w(this, F, /* @__PURE__ */ new Map()), w(this, he, 0);
|
|
306
306
|
}
|
|
307
307
|
build(e, r, o) {
|
|
308
308
|
const i = new ir({
|
|
@@ -317,8 +317,8 @@ var V, S, he, dt, lr = (dt = class extends mt {
|
|
|
317
317
|
x(this, V).add(e);
|
|
318
318
|
const r = fe(e);
|
|
319
319
|
if (typeof r == "string") {
|
|
320
|
-
const o = x(this,
|
|
321
|
-
o ? o.push(e) : x(this,
|
|
320
|
+
const o = x(this, F).get(r);
|
|
321
|
+
o ? o.push(e) : x(this, F).set(r, [e]);
|
|
322
322
|
}
|
|
323
323
|
this.notify({ type: "added", mutation: e });
|
|
324
324
|
}
|
|
@@ -326,12 +326,12 @@ var V, S, he, dt, lr = (dt = class extends mt {
|
|
|
326
326
|
if (x(this, V).delete(e)) {
|
|
327
327
|
const r = fe(e);
|
|
328
328
|
if (typeof r == "string") {
|
|
329
|
-
const o = x(this,
|
|
329
|
+
const o = x(this, F).get(r);
|
|
330
330
|
if (o)
|
|
331
331
|
if (o.length > 1) {
|
|
332
332
|
const i = o.indexOf(e);
|
|
333
333
|
i !== -1 && o.splice(i, 1);
|
|
334
|
-
} else o[0] === e && x(this,
|
|
334
|
+
} else o[0] === e && x(this, F).delete(r);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
this.notify({ type: "removed", mutation: e });
|
|
@@ -339,7 +339,7 @@ var V, S, he, dt, lr = (dt = class extends mt {
|
|
|
339
339
|
canRun(e) {
|
|
340
340
|
const r = fe(e);
|
|
341
341
|
if (typeof r == "string") {
|
|
342
|
-
const o = x(this,
|
|
342
|
+
const o = x(this, F).get(r), i = o == null ? void 0 : o.find(
|
|
343
343
|
(a) => a.state.status === "pending"
|
|
344
344
|
);
|
|
345
345
|
return !i || i === e;
|
|
@@ -350,16 +350,16 @@ var V, S, he, dt, lr = (dt = class extends mt {
|
|
|
350
350
|
var o;
|
|
351
351
|
const r = fe(e);
|
|
352
352
|
if (typeof r == "string") {
|
|
353
|
-
const i = (o = x(this,
|
|
353
|
+
const i = (o = x(this, F).get(r)) == null ? void 0 : o.find((a) => a !== e && a.state.isPaused);
|
|
354
354
|
return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
|
|
355
355
|
} else
|
|
356
356
|
return Promise.resolve();
|
|
357
357
|
}
|
|
358
358
|
clear() {
|
|
359
|
-
|
|
359
|
+
O.batch(() => {
|
|
360
360
|
x(this, V).forEach((e) => {
|
|
361
361
|
this.notify({ type: "removed", mutation: e });
|
|
362
|
-
}), x(this, V).clear(), x(this,
|
|
362
|
+
}), x(this, V).clear(), x(this, F).clear();
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
getAll() {
|
|
@@ -368,14 +368,14 @@ var V, S, he, dt, lr = (dt = class extends mt {
|
|
|
368
368
|
find(e) {
|
|
369
369
|
const r = { exact: !0, ...e };
|
|
370
370
|
return this.getAll().find(
|
|
371
|
-
(o) =>
|
|
371
|
+
(o) => De(r, o)
|
|
372
372
|
);
|
|
373
373
|
}
|
|
374
374
|
findAll(e = {}) {
|
|
375
|
-
return this.getAll().filter((r) =>
|
|
375
|
+
return this.getAll().filter((r) => De(e, r));
|
|
376
376
|
}
|
|
377
377
|
notify(e) {
|
|
378
|
-
|
|
378
|
+
O.batch(() => {
|
|
379
379
|
this.listeners.forEach((r) => {
|
|
380
380
|
r(e);
|
|
381
381
|
});
|
|
@@ -383,13 +383,13 @@ var V, S, he, dt, lr = (dt = class extends mt {
|
|
|
383
383
|
}
|
|
384
384
|
resumePausedMutations() {
|
|
385
385
|
const e = this.getAll().filter((r) => r.state.isPaused);
|
|
386
|
-
return
|
|
386
|
+
return O.batch(
|
|
387
387
|
() => Promise.all(
|
|
388
388
|
e.map((r) => r.continue().catch(Q))
|
|
389
389
|
)
|
|
390
390
|
);
|
|
391
391
|
}
|
|
392
|
-
}, V = new WeakMap(),
|
|
392
|
+
}, V = new WeakMap(), F = new WeakMap(), he = new WeakMap(), dt);
|
|
393
393
|
function fe(t) {
|
|
394
394
|
var e;
|
|
395
395
|
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
@@ -397,60 +397,60 @@ function fe(t) {
|
|
|
397
397
|
function $e(t) {
|
|
398
398
|
return {
|
|
399
399
|
onFetch: (e, r) => {
|
|
400
|
-
var p, c,
|
|
401
|
-
const o = e.options, i = (
|
|
400
|
+
var p, c, f, b, k;
|
|
401
|
+
const o = e.options, i = (f = (c = (p = e.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : c.fetchMore) == null ? void 0 : f.direction, a = ((b = e.state.data) == null ? void 0 : b.pages) || [], d = ((k = e.state.data) == null ? void 0 : k.pageParams) || [];
|
|
402
402
|
let u = { pages: [], pageParams: [] }, m = 0;
|
|
403
403
|
const h = async () => {
|
|
404
|
-
let
|
|
405
|
-
const
|
|
404
|
+
let g = !1;
|
|
405
|
+
const T = (C) => {
|
|
406
406
|
Object.defineProperty(C, "signal", {
|
|
407
407
|
enumerable: !0,
|
|
408
|
-
get: () => (e.signal.aborted ?
|
|
409
|
-
|
|
408
|
+
get: () => (e.signal.aborted ? g = !0 : e.signal.addEventListener("abort", () => {
|
|
409
|
+
g = !0;
|
|
410
410
|
}), e.signal)
|
|
411
411
|
});
|
|
412
|
-
},
|
|
413
|
-
if (
|
|
412
|
+
}, S = Dt(e.options, e.fetchOptions), $ = async (C, _, A) => {
|
|
413
|
+
if (g)
|
|
414
414
|
return Promise.reject();
|
|
415
|
-
if (
|
|
415
|
+
if (_ == null && C.pages.length)
|
|
416
416
|
return Promise.resolve(C);
|
|
417
417
|
const Y = {
|
|
418
418
|
client: e.client,
|
|
419
419
|
queryKey: e.queryKey,
|
|
420
|
-
pageParam:
|
|
420
|
+
pageParam: _,
|
|
421
421
|
direction: A ? "backward" : "forward",
|
|
422
422
|
meta: e.options.meta
|
|
423
423
|
};
|
|
424
|
-
|
|
425
|
-
const xe = await
|
|
424
|
+
T(Y);
|
|
425
|
+
const xe = await S(
|
|
426
426
|
Y
|
|
427
|
-
), { maxPages: ae } = e.options, N = A ?
|
|
427
|
+
), { maxPages: ae } = e.options, N = A ? Ht : zt;
|
|
428
428
|
return {
|
|
429
429
|
pages: N(C.pages, xe, ae),
|
|
430
|
-
pageParams: N(C.pageParams,
|
|
430
|
+
pageParams: N(C.pageParams, _, ae)
|
|
431
431
|
};
|
|
432
432
|
};
|
|
433
433
|
if (i && a.length) {
|
|
434
|
-
const C = i === "backward",
|
|
434
|
+
const C = i === "backward", _ = C ? dr : Ae, A = {
|
|
435
435
|
pages: a,
|
|
436
436
|
pageParams: d
|
|
437
|
-
}, Y =
|
|
437
|
+
}, Y = _(o, A);
|
|
438
438
|
u = await $(A, Y, C);
|
|
439
439
|
} else {
|
|
440
440
|
const C = t ?? a.length;
|
|
441
441
|
do {
|
|
442
|
-
const
|
|
443
|
-
if (m > 0 &&
|
|
442
|
+
const _ = m === 0 ? d[0] ?? o.initialPageParam : Ae(o, u);
|
|
443
|
+
if (m > 0 && _ == null)
|
|
444
444
|
break;
|
|
445
|
-
u = await $(u,
|
|
445
|
+
u = await $(u, _), m++;
|
|
446
446
|
} while (m < C);
|
|
447
447
|
}
|
|
448
448
|
return u;
|
|
449
449
|
};
|
|
450
450
|
e.options.persister ? e.fetchFn = () => {
|
|
451
|
-
var
|
|
452
|
-
return (
|
|
453
|
-
|
|
451
|
+
var g, T;
|
|
452
|
+
return (T = (g = e.options).persister) == null ? void 0 : T.call(
|
|
453
|
+
g,
|
|
454
454
|
h,
|
|
455
455
|
{
|
|
456
456
|
client: e.client,
|
|
@@ -479,26 +479,26 @@ function dr(t, { pages: e, pageParams: r }) {
|
|
|
479
479
|
}
|
|
480
480
|
var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
481
481
|
constructor(t = {}) {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
482
|
+
M(this, y);
|
|
483
|
+
M(this, W);
|
|
484
|
+
M(this, K);
|
|
485
|
+
M(this, te);
|
|
486
|
+
M(this, re);
|
|
487
|
+
M(this, Z);
|
|
488
|
+
M(this, ne);
|
|
489
|
+
M(this, oe);
|
|
490
|
+
w(this, y, t.queryCache || new or()), w(this, W, t.mutationCache || new lr()), w(this, K, t.defaultOptions || {}), w(this, te, /* @__PURE__ */ new Map()), w(this, re, /* @__PURE__ */ new Map()), w(this, Z, 0);
|
|
491
491
|
}
|
|
492
492
|
mount() {
|
|
493
|
-
ce(this, Z)._++, x(this, Z) === 1 && (
|
|
493
|
+
ce(this, Z)._++, x(this, Z) === 1 && (w(this, ne, Lt.subscribe(async (t) => {
|
|
494
494
|
t && (await this.resumePausedMutations(), x(this, y).onFocus());
|
|
495
|
-
})),
|
|
495
|
+
})), w(this, oe, He.subscribe(async (t) => {
|
|
496
496
|
t && (await this.resumePausedMutations(), x(this, y).onOnline());
|
|
497
497
|
})));
|
|
498
498
|
}
|
|
499
499
|
unmount() {
|
|
500
500
|
var t, e;
|
|
501
|
-
ce(this, Z)._--, x(this, Z) === 0 && ((t = x(this, ne)) == null || t.call(this),
|
|
501
|
+
ce(this, Z)._--, x(this, Z) === 0 && ((t = x(this, ne)) == null || t.call(this), w(this, ne, void 0), (e = x(this, oe)) == null || e.call(this), w(this, oe, void 0));
|
|
502
502
|
}
|
|
503
503
|
isFetching(t) {
|
|
504
504
|
return x(this, y).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
@@ -536,7 +536,7 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
536
536
|
return x(this, y).build(this, o).setData(d, { ...r, manual: !0 });
|
|
537
537
|
}
|
|
538
538
|
setQueriesData(t, e, r) {
|
|
539
|
-
return
|
|
539
|
+
return O.batch(
|
|
540
540
|
() => x(this, y).findAll(t).map(({ queryKey: o }) => [
|
|
541
541
|
o,
|
|
542
542
|
this.setQueryData(o, e, r)
|
|
@@ -552,7 +552,7 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
552
552
|
}
|
|
553
553
|
removeQueries(t) {
|
|
554
554
|
const e = x(this, y);
|
|
555
|
-
|
|
555
|
+
O.batch(() => {
|
|
556
556
|
e.findAll(t).forEach((r) => {
|
|
557
557
|
e.remove(r);
|
|
558
558
|
});
|
|
@@ -560,7 +560,7 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
560
560
|
}
|
|
561
561
|
resetQueries(t, e) {
|
|
562
562
|
const r = x(this, y);
|
|
563
|
-
return
|
|
563
|
+
return O.batch(() => (r.findAll(t).forEach((o) => {
|
|
564
564
|
o.reset();
|
|
565
565
|
}), this.refetchQueries(
|
|
566
566
|
{
|
|
@@ -571,13 +571,13 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
571
571
|
)));
|
|
572
572
|
}
|
|
573
573
|
cancelQueries(t, e = {}) {
|
|
574
|
-
const r = { revert: !0, ...e }, o =
|
|
574
|
+
const r = { revert: !0, ...e }, o = O.batch(
|
|
575
575
|
() => x(this, y).findAll(t).map((i) => i.cancel(r))
|
|
576
576
|
);
|
|
577
577
|
return Promise.all(o).then(Q).catch(Q);
|
|
578
578
|
}
|
|
579
579
|
invalidateQueries(t, e = {}) {
|
|
580
|
-
return
|
|
580
|
+
return O.batch(() => (x(this, y).findAll(t).forEach((r) => {
|
|
581
581
|
r.invalidate();
|
|
582
582
|
}), (t == null ? void 0 : t.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
|
|
583
583
|
{
|
|
@@ -591,8 +591,8 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
591
591
|
const r = {
|
|
592
592
|
...e,
|
|
593
593
|
cancelRefetch: e.cancelRefetch ?? !0
|
|
594
|
-
}, o =
|
|
595
|
-
() => x(this, y).findAll(t).filter((i) => !i.isDisabled()).map((i) => {
|
|
594
|
+
}, o = O.batch(
|
|
595
|
+
() => x(this, y).findAll(t).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
|
|
596
596
|
let a = i.fetch(void 0, r);
|
|
597
597
|
return r.throwOnError || (a = a.catch(Q)), i.state.fetchStatus === "paused" ? Promise.resolve() : a;
|
|
598
598
|
})
|
|
@@ -620,7 +620,7 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
620
620
|
return t.behavior = $e(t.pages), this.ensureQueryData(t);
|
|
621
621
|
}
|
|
622
622
|
resumePausedMutations() {
|
|
623
|
-
return
|
|
623
|
+
return He.isOnline() ? x(this, W).resumePausedMutations() : Promise.resolve();
|
|
624
624
|
}
|
|
625
625
|
getQueryCache() {
|
|
626
626
|
return x(this, y);
|
|
@@ -632,7 +632,7 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
632
632
|
return x(this, K);
|
|
633
633
|
}
|
|
634
634
|
setDefaultOptions(t) {
|
|
635
|
-
|
|
635
|
+
w(this, K, t);
|
|
636
636
|
}
|
|
637
637
|
setQueryDefaults(t, e) {
|
|
638
638
|
x(this, te).set(Le(t), {
|
|
@@ -684,7 +684,7 @@ var y, W, K, te, re, Z, ne, oe, ut, ur = (ut = class {
|
|
|
684
684
|
x(this, y).clear(), x(this, W).clear();
|
|
685
685
|
}
|
|
686
686
|
}, y = new WeakMap(), W = new WeakMap(), K = new WeakMap(), te = new WeakMap(), re = new WeakMap(), Z = new WeakMap(), ne = new WeakMap(), oe = new WeakMap(), ut);
|
|
687
|
-
const mr =
|
|
687
|
+
const mr = P(() => Promise.resolve().then(() => Sr)), hr = P(() => Promise.resolve().then(() => jo)), xr = P(() => Promise.resolve().then(() => Pn)), pr = P(() => Promise.resolve().then(() => zr)), cr = P(() => Promise.resolve().then(() => _r)), fr = P(() => Promise.resolve().then(() => en)), br = P(() => Promise.resolve().then(() => Kr)), sr = P(() => Promise.resolve().then(() => Gn)), gr = P(() => Promise.resolve().then(() => Qr)), jr = P(() => Promise.resolve().then(() => vn)), yr = P(() => Promise.resolve().then(() => Tr)), kr = {
|
|
688
688
|
header: cr,
|
|
689
689
|
seoHeader: sr,
|
|
690
690
|
banner: mr,
|
|
@@ -714,8 +714,8 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
714
714
|
}
|
|
715
715
|
}, [t]), X = ({ handlerOptions: t, className: e, ...r }) => {
|
|
716
716
|
const o = vr(t);
|
|
717
|
-
return /* @__PURE__ */ n.jsx(
|
|
718
|
-
}, Nr =
|
|
717
|
+
return /* @__PURE__ */ n.jsx(Ie, { className: l(e), onClick: o, ...r, children: r.children });
|
|
718
|
+
}, Nr = E(
|
|
719
719
|
"flex flex-col justify-between overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0",
|
|
720
720
|
{
|
|
721
721
|
variants: {
|
|
@@ -757,12 +757,12 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
757
757
|
] }),
|
|
758
758
|
a && h && (d == null ? void 0 : d.handlerOptions) && /* @__PURE__ */ n.jsx(X, { intent: "primary", className: l("desktop:w-[200px]", i == null ? void 0 : i.button), size: "lg", ...d })
|
|
759
759
|
] }),
|
|
760
|
-
(o || h) && r && /* @__PURE__ */ n.jsx("div", { className: l("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r &&
|
|
760
|
+
(o || h) && r && /* @__PURE__ */ n.jsx("div", { className: l("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: r && "url" in r && v.isObject(r) ? /* @__PURE__ */ n.jsx("img", { className: l("h-[246px] object-cover", i == null ? void 0 : i.img), src: r.url, alt: r.alt }) : r })
|
|
761
761
|
]
|
|
762
762
|
},
|
|
763
763
|
e
|
|
764
764
|
);
|
|
765
|
-
},
|
|
765
|
+
}, Mr = E("grid gap-4", {
|
|
766
766
|
variants: {
|
|
767
767
|
variant: {
|
|
768
768
|
twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
|
|
@@ -770,7 +770,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
770
770
|
fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
|
-
}),
|
|
773
|
+
}), Ue = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: j.benefit, "data-test-id": j.benefit, className: l("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ n.jsxs(B, { className: o == null ? void 0 : o.container, children: [
|
|
774
774
|
/* @__PURE__ */ n.jsx(
|
|
775
775
|
"div",
|
|
776
776
|
{
|
|
@@ -778,12 +778,12 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
778
778
|
className: l("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", o == null ? void 0 : o.heading)
|
|
779
779
|
}
|
|
780
780
|
),
|
|
781
|
-
/* @__PURE__ */ n.jsx("ul", { className: l(
|
|
781
|
+
/* @__PURE__ */ n.jsx("ul", { className: l(Mr({ variant: r }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((i) => /* @__PURE__ */ n.jsx(Cr, { variant: r, classes: o == null ? void 0 : o.item, ...i }, i.title)) })
|
|
782
782
|
] }) }), Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
783
783
|
__proto__: null,
|
|
784
|
-
Benefit:
|
|
785
|
-
default:
|
|
786
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
784
|
+
Benefit: Ue,
|
|
785
|
+
default: Ue
|
|
786
|
+
}, Symbol.toStringTag, { value: "Module" })), Ir = ({ variant: t, details: e }) => {
|
|
787
787
|
switch (t) {
|
|
788
788
|
case "withButton":
|
|
789
789
|
return /* @__PURE__ */ n.jsx(X, { ...e });
|
|
@@ -792,7 +792,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
792
792
|
default:
|
|
793
793
|
return null;
|
|
794
794
|
}
|
|
795
|
-
},
|
|
795
|
+
}, qe = (t) => {
|
|
796
796
|
const { logoPath: e = "/", logoType: r = "main", classes: o } = t;
|
|
797
797
|
return /* @__PURE__ */ n.jsx(
|
|
798
798
|
"header",
|
|
@@ -800,7 +800,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
800
800
|
id: j.header,
|
|
801
801
|
"data-test-id": j.header,
|
|
802
802
|
className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", o == null ? void 0 : o.header),
|
|
803
|
-
children: /* @__PURE__ */ n.jsx(
|
|
803
|
+
children: /* @__PURE__ */ n.jsx(B, { className: l(o == null ? void 0 : o.container), children: /* @__PURE__ */ n.jsxs("div", { className: l("flex items-center justify-between gap-5", o == null ? void 0 : o.wrapper), children: [
|
|
804
804
|
/* @__PURE__ */ n.jsx(
|
|
805
805
|
"a",
|
|
806
806
|
{
|
|
@@ -815,15 +815,15 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
815
815
|
children: $t[r]
|
|
816
816
|
}
|
|
817
817
|
),
|
|
818
|
-
|
|
818
|
+
Ir(t)
|
|
819
819
|
] }) })
|
|
820
820
|
}
|
|
821
821
|
);
|
|
822
822
|
}, _r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
823
823
|
__proto__: null,
|
|
824
|
-
Header:
|
|
825
|
-
default:
|
|
826
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
824
|
+
Header: qe,
|
|
825
|
+
default: qe
|
|
826
|
+
}, Symbol.toStringTag, { value: "Module" })), Or = ({
|
|
827
827
|
headTitle: t,
|
|
828
828
|
subtitle: e,
|
|
829
829
|
buttonsConfig: r,
|
|
@@ -831,17 +831,19 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
831
831
|
classes: i,
|
|
832
832
|
imgMobile: a,
|
|
833
833
|
imgDesktop: d,
|
|
834
|
-
|
|
834
|
+
imgAlt: u,
|
|
835
|
+
color: m,
|
|
836
|
+
renderImage: h
|
|
835
837
|
}) => {
|
|
836
|
-
var
|
|
837
|
-
const { isDesktop:
|
|
838
|
+
var T;
|
|
839
|
+
const { isDesktop: p, isMobile: c } = ee(), { primary: f, secondary: b } = r || {}, k = (S) => h ? h(S) : /* @__PURE__ */ n.jsx("img", { ...S }), g = /* @__PURE__ */ n.jsx(
|
|
838
840
|
"div",
|
|
839
841
|
{
|
|
840
842
|
className: l(
|
|
841
843
|
"flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
|
|
842
844
|
i == null ? void 0 : i.advantageContainer
|
|
843
845
|
),
|
|
844
|
-
children: (o == null ? void 0 : o.details) && ((
|
|
846
|
+
children: (o == null ? void 0 : o.details) && ((T = o == null ? void 0 : o.details) == null ? void 0 : T.items.length) > 0 && /* @__PURE__ */ n.jsx(Me, { ...o })
|
|
845
847
|
}
|
|
846
848
|
);
|
|
847
849
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
@@ -850,11 +852,15 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
850
852
|
{
|
|
851
853
|
id: j.banner,
|
|
852
854
|
"data-test-id": j.banner,
|
|
853
|
-
style: { backgroundColor:
|
|
855
|
+
style: { backgroundColor: m ?? "#d9edff" },
|
|
854
856
|
className: l("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root),
|
|
855
857
|
children: [
|
|
856
|
-
/* @__PURE__ */ n.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children:
|
|
857
|
-
|
|
858
|
+
/* @__PURE__ */ n.jsx("div", { className: "absolute bottom-0 left-0 right-0 top-0 mx-auto h-full max-w-[1920px] desktop:h-[456px]", children: k(c ? { src: a.src, alt: u, className: l("h-full w-full object-cover object-center") } : {
|
|
859
|
+
src: d.src,
|
|
860
|
+
alt: u,
|
|
861
|
+
className: l("h-full w-full object-cover object-center")
|
|
862
|
+
}) }),
|
|
863
|
+
/* @__PURE__ */ n.jsxs(B, { className: l("h-full", i == null ? void 0 : i.container), children: [
|
|
858
864
|
/* @__PURE__ */ n.jsx("div", { className: l("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ n.jsxs("div", { className: l("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock), children: [
|
|
859
865
|
/* @__PURE__ */ n.jsxs("div", { className: "z-10 flex flex-col gap-4", children: [
|
|
860
866
|
/* @__PURE__ */ n.jsx(
|
|
@@ -877,37 +883,37 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
877
883
|
{
|
|
878
884
|
className: l(
|
|
879
885
|
"grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col self-end justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:self-center desktop:px-0",
|
|
880
|
-
{ "flex items-center gap-4":
|
|
886
|
+
{ "flex items-center gap-4": b == null ? void 0 : b.enabled },
|
|
881
887
|
i == null ? void 0 : i.group
|
|
882
888
|
),
|
|
883
889
|
children: [
|
|
884
|
-
|
|
890
|
+
f.enabled && /* @__PURE__ */ n.jsx(
|
|
885
891
|
X,
|
|
886
892
|
{
|
|
887
893
|
className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
|
|
888
894
|
size: "lg",
|
|
889
895
|
intent: "primary",
|
|
890
|
-
...
|
|
896
|
+
...f.buttonContent
|
|
891
897
|
}
|
|
892
898
|
),
|
|
893
|
-
(
|
|
899
|
+
(b == null ? void 0 : b.enabled) && /* @__PURE__ */ n.jsx(
|
|
894
900
|
X,
|
|
895
901
|
{
|
|
896
902
|
intent: "secondary",
|
|
897
903
|
className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
|
|
898
|
-
...
|
|
904
|
+
...f.buttonContent
|
|
899
905
|
}
|
|
900
906
|
)
|
|
901
907
|
]
|
|
902
908
|
}
|
|
903
909
|
)
|
|
904
910
|
] }) }),
|
|
905
|
-
|
|
911
|
+
p && (o == null ? void 0 : o.enabled) && g
|
|
906
912
|
] })
|
|
907
913
|
]
|
|
908
914
|
}
|
|
909
915
|
),
|
|
910
|
-
|
|
916
|
+
c && (o == null ? void 0 : o.enabled) && g
|
|
911
917
|
] });
|
|
912
918
|
}, We = ({
|
|
913
919
|
headTitle: t,
|
|
@@ -917,19 +923,21 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
917
923
|
classes: i,
|
|
918
924
|
imgMobile: a,
|
|
919
925
|
imgDesktop: d,
|
|
920
|
-
|
|
926
|
+
imgAlt: u,
|
|
927
|
+
color: m,
|
|
928
|
+
renderImage: h
|
|
921
929
|
}) => {
|
|
922
|
-
var
|
|
923
|
-
const { isMobile:
|
|
930
|
+
var k, g;
|
|
931
|
+
const { isMobile: p } = ee(), { primary: c, secondary: f } = r || {}, b = (T) => h ? h(T) : /* @__PURE__ */ n.jsx("img", { ...T });
|
|
924
932
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
925
933
|
/* @__PURE__ */ n.jsx(
|
|
926
934
|
"section",
|
|
927
935
|
{
|
|
928
936
|
id: j.banner,
|
|
929
937
|
"data-test-id": j.banner,
|
|
930
|
-
style: { backgroundColor:
|
|
938
|
+
style: { backgroundColor: m ?? "#d9edff" },
|
|
931
939
|
className: l("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.root),
|
|
932
|
-
children: /* @__PURE__ */ n.jsxs(
|
|
940
|
+
children: /* @__PURE__ */ n.jsxs(B, { className: l("relative", i == null ? void 0 : i.container), children: [
|
|
933
941
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
|
|
934
942
|
/* @__PURE__ */ n.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
|
|
935
943
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
|
|
@@ -953,25 +961,25 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
953
961
|
{
|
|
954
962
|
className: l(
|
|
955
963
|
"grid-buttons-apply absolute bottom-6 left-1/2 z-10 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
|
|
956
|
-
{ "flex items-center gap-4":
|
|
964
|
+
{ "flex items-center gap-4": f == null ? void 0 : f.enabled },
|
|
957
965
|
i == null ? void 0 : i.group
|
|
958
966
|
),
|
|
959
967
|
children: [
|
|
960
|
-
|
|
968
|
+
c.enabled && /* @__PURE__ */ n.jsx(
|
|
961
969
|
X,
|
|
962
970
|
{
|
|
963
971
|
className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.primary),
|
|
964
972
|
size: "lg",
|
|
965
973
|
intent: "primary",
|
|
966
|
-
...
|
|
974
|
+
...c.buttonContent
|
|
967
975
|
}
|
|
968
976
|
),
|
|
969
|
-
(
|
|
977
|
+
(f == null ? void 0 : f.enabled) && /* @__PURE__ */ n.jsx(
|
|
970
978
|
X,
|
|
971
979
|
{
|
|
972
980
|
intent: "secondary",
|
|
973
981
|
className: l("w-full desktop:max-w-[216px]", i == null ? void 0 : i.secondary),
|
|
974
|
-
...
|
|
982
|
+
...c.buttonContent
|
|
975
983
|
}
|
|
976
984
|
)
|
|
977
985
|
]
|
|
@@ -985,7 +993,11 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
985
993
|
"relative flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]",
|
|
986
994
|
i == null ? void 0 : i.imageContainer
|
|
987
995
|
),
|
|
988
|
-
children:
|
|
996
|
+
children: b(p ? { src: a.src, alt: u, className: l("h-full object-cover") } : {
|
|
997
|
+
src: d.src,
|
|
998
|
+
alt: u,
|
|
999
|
+
className: l("h-full object-cover")
|
|
1000
|
+
})
|
|
989
1001
|
}
|
|
990
1002
|
)
|
|
991
1003
|
] }),
|
|
@@ -996,7 +1008,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
996
1008
|
"items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 mobile:hidden desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:flex desktop:translate-x-1/2 desktop:p-0",
|
|
997
1009
|
i == null ? void 0 : i.advantageContainer
|
|
998
1010
|
),
|
|
999
|
-
children: (o == null ? void 0 : o.details) && ((
|
|
1011
|
+
children: (o == null ? void 0 : o.details) && ((k = o == null ? void 0 : o.details) == null ? void 0 : k.items.length) > 0 && /* @__PURE__ */ n.jsx(Me, { ...o })
|
|
1000
1012
|
}
|
|
1001
1013
|
)
|
|
1002
1014
|
] })
|
|
@@ -1009,7 +1021,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1009
1021
|
"flex items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:hidden desktop:translate-x-1/2 desktop:p-0",
|
|
1010
1022
|
i == null ? void 0 : i.advantageContainer
|
|
1011
1023
|
),
|
|
1012
|
-
children: (o == null ? void 0 : o.details) && ((
|
|
1024
|
+
children: (o == null ? void 0 : o.details) && ((g = o == null ? void 0 : o.details) == null ? void 0 : g.items.length) > 0 && /* @__PURE__ */ n.jsx(Me, { ...o })
|
|
1013
1025
|
}
|
|
1014
1026
|
)
|
|
1015
1027
|
] });
|
|
@@ -1018,7 +1030,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1018
1030
|
case "separateImg":
|
|
1019
1031
|
return /* @__PURE__ */ n.jsx(We, { ...e });
|
|
1020
1032
|
case "fullImg":
|
|
1021
|
-
return /* @__PURE__ */ n.jsx(
|
|
1033
|
+
return /* @__PURE__ */ n.jsx(Or, { ...e });
|
|
1022
1034
|
default:
|
|
1023
1035
|
return /* @__PURE__ */ n.jsx(We, { ...e });
|
|
1024
1036
|
}
|
|
@@ -1026,7 +1038,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1026
1038
|
__proto__: null,
|
|
1027
1039
|
Banner: Ke,
|
|
1028
1040
|
default: Ke
|
|
1029
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1041
|
+
}, Symbol.toStringTag, { value: "Module" })), Me = ({ details: t, classes: e }) => {
|
|
1030
1042
|
const { variant: r, items: o } = t ?? {};
|
|
1031
1043
|
return /* @__PURE__ */ n.jsx(
|
|
1032
1044
|
"div",
|
|
@@ -1060,7 +1072,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1060
1072
|
className: l("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
|
|
1061
1073
|
href: o,
|
|
1062
1074
|
"aria-label": r.replace("social/", ""),
|
|
1063
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1075
|
+
children: /* @__PURE__ */ n.jsx(s, { name: r, className: l("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
|
|
1064
1076
|
},
|
|
1065
1077
|
o
|
|
1066
1078
|
)) }), Fr = ({ phones: t, classes: e }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: t == null ? void 0 : t.map(({ phone: r, text: o }) => /* @__PURE__ */ n.jsx(
|
|
@@ -1114,9 +1126,9 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1114
1126
|
"aria-label": "logo",
|
|
1115
1127
|
href: "https://sovcombank.ru/",
|
|
1116
1128
|
className: l("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", t == null ? void 0 : t.footerLogo),
|
|
1117
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1129
|
+
children: /* @__PURE__ */ n.jsx(s, { name: "brandLogos/logoWhite", className: l("size-full", t == null ? void 0 : t.footerLogoIcon) })
|
|
1118
1130
|
}
|
|
1119
|
-
),
|
|
1131
|
+
), Dr = ({ classes: t }) => /* @__PURE__ */ n.jsx(
|
|
1120
1132
|
je,
|
|
1121
1133
|
{
|
|
1122
1134
|
intent: "white",
|
|
@@ -1130,7 +1142,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1130
1142
|
},
|
|
1131
1143
|
children: "Карта сайта"
|
|
1132
1144
|
}
|
|
1133
|
-
),
|
|
1145
|
+
), Hr = ({ text: t, classes: e }) => {
|
|
1134
1146
|
const [r, o] = ue.useState(!1), [i, a] = ue.useState(!1), d = ue.useRef(null);
|
|
1135
1147
|
return ue.useEffect(() => {
|
|
1136
1148
|
const u = d.current;
|
|
@@ -1172,7 +1184,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1172
1184
|
id: j.footer,
|
|
1173
1185
|
"data-test-id": j.footer,
|
|
1174
1186
|
className: l("w-full bg-color-footer py-8 desktop:py-10", i == null ? void 0 : i.root),
|
|
1175
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1187
|
+
children: /* @__PURE__ */ n.jsx(B, { className: l(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ n.jsxs("div", { className: l("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
|
|
1176
1188
|
/* @__PURE__ */ n.jsxs(
|
|
1177
1189
|
"div",
|
|
1178
1190
|
{
|
|
@@ -1189,8 +1201,8 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1189
1201
|
]
|
|
1190
1202
|
}
|
|
1191
1203
|
),
|
|
1192
|
-
!
|
|
1193
|
-
r.enabled && /* @__PURE__ */ n.jsx(
|
|
1204
|
+
!v.isArrayEmpty(a) && /* @__PURE__ */ n.jsx(Br, { details: a, classes: i == null ? void 0 : i.navLinks }),
|
|
1205
|
+
r.enabled && /* @__PURE__ */ n.jsx(Hr, { text: r.text }),
|
|
1194
1206
|
/* @__PURE__ */ n.jsxs(
|
|
1195
1207
|
"div",
|
|
1196
1208
|
{
|
|
@@ -1200,7 +1212,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1200
1212
|
),
|
|
1201
1213
|
children: [
|
|
1202
1214
|
o.enabled && /* @__PURE__ */ n.jsx(Pr, { text: o.text, classes: i == null ? void 0 : i.copyright }),
|
|
1203
|
-
d && /* @__PURE__ */ n.jsx(
|
|
1215
|
+
d && /* @__PURE__ */ n.jsx(Dr, { classes: i == null ? void 0 : i.siteMap })
|
|
1204
1216
|
]
|
|
1205
1217
|
}
|
|
1206
1218
|
)
|
|
@@ -1249,7 +1261,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1249
1261
|
]
|
|
1250
1262
|
}
|
|
1251
1263
|
);
|
|
1252
|
-
}, Xe = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: j.stepper, "data-test-id": j.stepper, className: o == null ? void 0 : o.root, children: /* @__PURE__ */ n.jsx(
|
|
1264
|
+
}, Xe = ({ headline: t, details: e, variant: r, classes: o }) => /* @__PURE__ */ n.jsx("section", { id: j.stepper, "data-test-id": j.stepper, className: o == null ? void 0 : o.root, children: /* @__PURE__ */ n.jsx(B, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ n.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
|
|
1253
1265
|
/* @__PURE__ */ n.jsx(z, { as: "h2", className: l("text-color-dark", o == null ? void 0 : o.headline), children: t }),
|
|
1254
1266
|
/* @__PURE__ */ n.jsx(
|
|
1255
1267
|
"div",
|
|
@@ -1265,7 +1277,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1265
1277
|
__proto__: null,
|
|
1266
1278
|
Stepper: Xe,
|
|
1267
1279
|
default: Xe
|
|
1268
|
-
}, Symbol.toStringTag, { value: "Module" })), Vr =
|
|
1280
|
+
}, Symbol.toStringTag, { value: "Module" })), Vr = E("", {
|
|
1269
1281
|
variants: {
|
|
1270
1282
|
intent: {
|
|
1271
1283
|
twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
|
|
@@ -1281,7 +1293,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1281
1293
|
defaultVariants: {
|
|
1282
1294
|
intent: "twoItems"
|
|
1283
1295
|
}
|
|
1284
|
-
}), $r =
|
|
1296
|
+
}), $r = E("", {
|
|
1285
1297
|
variants: {
|
|
1286
1298
|
intent: {
|
|
1287
1299
|
twoItems: "",
|
|
@@ -1313,7 +1325,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1313
1325
|
class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
|
|
1314
1326
|
}
|
|
1315
1327
|
]
|
|
1316
|
-
}), Ar =
|
|
1328
|
+
}), Ar = E("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
|
|
1317
1329
|
variants: {
|
|
1318
1330
|
intent: {
|
|
1319
1331
|
twoItems: 'last:border-none relative desktop:first:after:top-1/2 desktop:first:after:-translate-y-1/2 desktop:first:after:right-0 desktop:first:after:content-[""] desktop:first:after:block desktop:first:after:absolute desktop:first:after:w-[1px] desktop:first:after:h-[64px] desktop:first:after:bg-color-blue-grey-500 desktop:ml-8 desktop:pr-8 desktop:first:ml-0 desktop:last:pr-0 desktop:pb-3',
|
|
@@ -1323,7 +1335,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1323
1335
|
defaultVariants: {
|
|
1324
1336
|
intent: "twoItems"
|
|
1325
1337
|
}
|
|
1326
|
-
}),
|
|
1338
|
+
}), Ur = E("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
|
|
1327
1339
|
variants: {
|
|
1328
1340
|
intent: {
|
|
1329
1341
|
twoItems: "desktop:h-[232px] desktop:w-[500px]",
|
|
@@ -1349,7 +1361,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1349
1361
|
class: "desktop:h-[272px] desktop:w-[500px]"
|
|
1350
1362
|
}
|
|
1351
1363
|
]
|
|
1352
|
-
}),
|
|
1364
|
+
}), qr = ({ data: t, intent: e }) => {
|
|
1353
1365
|
const {
|
|
1354
1366
|
title: r,
|
|
1355
1367
|
description: o,
|
|
@@ -1360,11 +1372,11 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1360
1372
|
return /* @__PURE__ */ n.jsx("li", { className: l(Ar({ intent: e })), children: /* @__PURE__ */ n.jsxs("div", { className: "desktop:max-w-[264px]", children: [
|
|
1361
1373
|
/* @__PURE__ */ n.jsxs("div", { className: l("mb-2 flex items-center gap-2"), children: [
|
|
1362
1374
|
/* @__PURE__ */ n.jsx("h4", { className: l("mob-title-bold-m text-color-dark"), children: r }),
|
|
1363
|
-
i.enabled && /* @__PURE__ */ n.jsx(_e, { triggerElement: /* @__PURE__ */ n.jsx(
|
|
1375
|
+
i.enabled && /* @__PURE__ */ n.jsx(_e, { triggerElement: /* @__PURE__ */ n.jsx(s, { className: l("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
|
|
1364
1376
|
] }),
|
|
1365
1377
|
/* @__PURE__ */ n.jsx("div", { className: l("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: o } })
|
|
1366
1378
|
] }) });
|
|
1367
|
-
}, Ne = ({ intent: t, headline: e, desktopHidden: r = !1, mobileHidden: o = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: l(Vr({ intent: t, desktopHidden: r, mobileHidden: o })), children: e }), Wr = ({ details: t, intent: e, withButton: r }) => /* @__PURE__ */ n.jsx("ul", { className: l($r({ intent: e, withButton: r })), children: t == null ? void 0 : t.map((o, i) => /* @__PURE__ */ n.jsx(
|
|
1379
|
+
}, Ne = ({ intent: t, headline: e, desktopHidden: r = !1, mobileHidden: o = !1 }) => /* @__PURE__ */ n.jsx("h2", { className: l(Vr({ intent: t, desktopHidden: r, mobileHidden: o })), children: e }), Wr = ({ details: t, intent: e, withButton: r }) => /* @__PURE__ */ n.jsx("ul", { className: l($r({ intent: e, withButton: r })), children: t == null ? void 0 : t.map((o, i) => /* @__PURE__ */ n.jsx(qr, { intent: e, data: o }, i)) }), Ye = ({
|
|
1368
1380
|
headline: t,
|
|
1369
1381
|
buttonConfig: e,
|
|
1370
1382
|
intent: r = "twoItems",
|
|
@@ -1372,8 +1384,8 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1372
1384
|
image: i,
|
|
1373
1385
|
classes: a
|
|
1374
1386
|
}) => {
|
|
1375
|
-
const d = r === "fourItems", u = r === "twoItems", m = i && "url" in i &&
|
|
1376
|
-
return /* @__PURE__ */ n.jsx("section", { id: j.longBanner, "data-test-id": j.longBanner, className: l(a == null ? void 0 : a.root), children: /* @__PURE__ */ n.jsxs(
|
|
1387
|
+
const d = r === "fourItems", u = r === "twoItems", m = i && "url" in i && v.isObject(i) ? /* @__PURE__ */ n.jsx("img", { className: "w-full object-contain", alt: i.alt, src: i.url }) : i;
|
|
1388
|
+
return /* @__PURE__ */ n.jsx("section", { id: j.longBanner, "data-test-id": j.longBanner, className: l(a == null ? void 0 : a.root), children: /* @__PURE__ */ n.jsxs(B, { className: l(a == null ? void 0 : a.container), children: [
|
|
1377
1389
|
u && /* @__PURE__ */ n.jsx(Ne, { intent: r, headline: t }),
|
|
1378
1390
|
/* @__PURE__ */ n.jsxs(
|
|
1379
1391
|
"div",
|
|
@@ -1384,7 +1396,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1384
1396
|
),
|
|
1385
1397
|
children: [
|
|
1386
1398
|
d && /* @__PURE__ */ n.jsx(Ne, { intent: r, headline: t, desktopHidden: !0 }),
|
|
1387
|
-
/* @__PURE__ */ n.jsx("div", { className: l(
|
|
1399
|
+
/* @__PURE__ */ n.jsx("div", { className: l(Ur({ intent: r, withButton: e == null ? void 0 : e.enabled }), a == null ? void 0 : a.imgContainer), children: m }),
|
|
1388
1400
|
/* @__PURE__ */ n.jsxs(
|
|
1389
1401
|
"div",
|
|
1390
1402
|
{
|
|
@@ -1507,14 +1519,14 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1507
1519
|
children: [
|
|
1508
1520
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
|
|
1509
1521
|
/* @__PURE__ */ n.jsxs("div", { children: [
|
|
1510
|
-
/* @__PURE__ */ n.jsx(
|
|
1511
|
-
/* @__PURE__ */ n.jsx(
|
|
1512
|
-
/* @__PURE__ */ n.jsx(
|
|
1522
|
+
/* @__PURE__ */ n.jsx(s, { name: "logos/mts", className: l("relative z-[9] size-7 desktop:size-8", a == null ? void 0 : a.mtsLogo) }),
|
|
1523
|
+
/* @__PURE__ */ n.jsx(s, { name: "logos/megafon", className: l("relative z-[8] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.megafonLogo) }),
|
|
1524
|
+
/* @__PURE__ */ n.jsx(s, { name: "logos/beeline", className: l("relative z-[7] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.beelineLogo) })
|
|
1513
1525
|
] }),
|
|
1514
1526
|
/* @__PURE__ */ n.jsx(vt, { mainLink: t, subLink: e, isMobile: d, classes: a == null ? void 0 : a.links }),
|
|
1515
|
-
/* @__PURE__ */ n.jsx(
|
|
1527
|
+
/* @__PURE__ */ n.jsx(s, { name: "arrows/arrowRight", className: l("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
|
|
1516
1528
|
] }),
|
|
1517
|
-
o && /* @__PURE__ */ n.jsx(
|
|
1529
|
+
o && /* @__PURE__ */ n.jsx(Oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: o })
|
|
1518
1530
|
]
|
|
1519
1531
|
}
|
|
1520
1532
|
) });
|
|
@@ -1532,9 +1544,9 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1532
1544
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
|
|
1533
1545
|
/* @__PURE__ */ n.jsx(Zr, { className: l("size-7 desktop:size-8", a == null ? void 0 : a.esiaLogo) }),
|
|
1534
1546
|
/* @__PURE__ */ n.jsx(vt, { mainLink: t, subLink: e, isMobile: d, classes: a == null ? void 0 : a.links }),
|
|
1535
|
-
/* @__PURE__ */ n.jsx(
|
|
1547
|
+
/* @__PURE__ */ n.jsx(s, { name: "arrows/arrowRight", className: l("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
|
|
1536
1548
|
] }),
|
|
1537
|
-
o && /* @__PURE__ */ n.jsx(
|
|
1549
|
+
o && /* @__PURE__ */ n.jsx(Oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: o })
|
|
1538
1550
|
]
|
|
1539
1551
|
}
|
|
1540
1552
|
) });
|
|
@@ -1557,7 +1569,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1557
1569
|
children: [
|
|
1558
1570
|
/* @__PURE__ */ n.jsxs(d, { className: l("flex w-full items-center justify-between gap-2", a == null ? void 0 : a.topContent), children: [
|
|
1559
1571
|
o && /* @__PURE__ */ n.jsx("h5", { className: l("desk-body-regular-l flex flex-1 text-color-dark", a == null ? void 0 : a.subtitle), children: o }),
|
|
1560
|
-
i && /* @__PURE__ */ n.jsx(
|
|
1572
|
+
i && /* @__PURE__ */ n.jsx(Oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: i })
|
|
1561
1573
|
] }),
|
|
1562
1574
|
/* @__PURE__ */ n.jsxs("div", { className: l("grid w-full grid-cols-2 gap-2 desktop:gap-4", a == null ? void 0 : a.authWrapper), children: [
|
|
1563
1575
|
/* @__PURE__ */ n.jsx(
|
|
@@ -1612,7 +1624,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1612
1624
|
{
|
|
1613
1625
|
defaultOpen: !0,
|
|
1614
1626
|
label: t,
|
|
1615
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
1627
|
+
icon: /* @__PURE__ */ n.jsx(s, { name: "arrows/arrowRight", className: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
|
|
1616
1628
|
...r,
|
|
1617
1629
|
classes: {
|
|
1618
1630
|
...r == null ? void 0 : r.classes,
|
|
@@ -1625,7 +1637,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1625
1637
|
}
|
|
1626
1638
|
)
|
|
1627
1639
|
] });
|
|
1628
|
-
}, Jr = ({ column: t, mobileAccordionProps: e, classes: r }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: t == null ? void 0 : t.map((o) => /* @__PURE__ */ n.jsx(Yr, { ...e, ...o, classes: r == null ? void 0 : r.columnGroup }, o.groupLabel)) }), Gr =
|
|
1640
|
+
}, Jr = ({ column: t, mobileAccordionProps: e, classes: r }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: t == null ? void 0 : t.map((o) => /* @__PURE__ */ n.jsx(Yr, { ...e, ...o, classes: r == null ? void 0 : r.columnGroup }, o.groupLabel)) }), Gr = E("grid gap-4 grid-cols-1", {
|
|
1629
1641
|
variants: {
|
|
1630
1642
|
variant: {
|
|
1631
1643
|
twoCols: "desktop:grid-cols-2",
|
|
@@ -1652,7 +1664,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1652
1664
|
id: j.interLinking,
|
|
1653
1665
|
"data-test-id": j.interLinking,
|
|
1654
1666
|
className: l("min-w-full desktop:min-w-[1140px]", a == null ? void 0 : a.root),
|
|
1655
|
-
children: /* @__PURE__ */ n.jsx(
|
|
1667
|
+
children: /* @__PURE__ */ n.jsx(B, { children: /* @__PURE__ */ n.jsx(
|
|
1656
1668
|
ie,
|
|
1657
1669
|
{
|
|
1658
1670
|
defaultOpen: d,
|
|
@@ -1701,21 +1713,21 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1701
1713
|
};
|
|
1702
1714
|
})
|
|
1703
1715
|
}))
|
|
1704
|
-
}), dn =
|
|
1716
|
+
}), dn = E("flex flex-col", {
|
|
1705
1717
|
variants: {
|
|
1706
1718
|
columnsVariant: {
|
|
1707
1719
|
twoCols: "w-full max-w-[656px]",
|
|
1708
1720
|
threeCols: "w-full max-w-[768px]"
|
|
1709
1721
|
}
|
|
1710
1722
|
}
|
|
1711
|
-
}), un =
|
|
1723
|
+
}), un = E("desktop:grid mobile:hidden px-4 mb-4", {
|
|
1712
1724
|
variants: {
|
|
1713
1725
|
columnsVariant: {
|
|
1714
1726
|
twoCols: "grid-cols-2 gap-16",
|
|
1715
1727
|
threeCols: "grid-cols-3 gap-12"
|
|
1716
1728
|
}
|
|
1717
1729
|
}
|
|
1718
|
-
}), mn = ({ headings: t, columnsVariant: e, classes: r }) => /* @__PURE__ */ n.jsx("div", { className: l(un({ columnsVariant: e }), r == null ? void 0 : r.row), children: t == null ? void 0 : t.map((o) => /* @__PURE__ */ n.jsx("div", { className: l("text-color-secondary", r == null ? void 0 : r.cell), children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), hn =
|
|
1730
|
+
}), mn = ({ headings: t, columnsVariant: e, classes: r }) => /* @__PURE__ */ n.jsx("div", { className: l(un({ columnsVariant: e }), r == null ? void 0 : r.row), children: t == null ? void 0 : t.map((o) => /* @__PURE__ */ n.jsx("div", { className: l("text-color-secondary", r == null ? void 0 : r.cell), children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), hn = E("desktop:grid mobile:hidden items-center", {
|
|
1719
1731
|
variants: {
|
|
1720
1732
|
columnsVariant: {
|
|
1721
1733
|
twoCols: "grid-cols-2 gap-16",
|
|
@@ -1733,7 +1745,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1733
1745
|
children: a && a
|
|
1734
1746
|
},
|
|
1735
1747
|
d
|
|
1736
|
-
)) }), pn =
|
|
1748
|
+
)) }), pn = E("mobile:flex desktop:hidden flex-col gap-2", {
|
|
1737
1749
|
variants: {
|
|
1738
1750
|
tableVariant: {
|
|
1739
1751
|
filled: "px-4 py-4 odd:bg-color-primary-light-default",
|
|
@@ -1809,7 +1821,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1809
1821
|
}, sn = {
|
|
1810
1822
|
documentFilled: "files/documentFilled",
|
|
1811
1823
|
documentOutline: "files/documentOutline"
|
|
1812
|
-
}, gn =
|
|
1824
|
+
}, gn = E("size-8 transition-colors", {
|
|
1813
1825
|
variants: {
|
|
1814
1826
|
iconType: {
|
|
1815
1827
|
documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -1831,7 +1843,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1831
1843
|
i == null ? void 0 : i.link
|
|
1832
1844
|
),
|
|
1833
1845
|
children: [
|
|
1834
|
-
/* @__PURE__ */ n.jsx(
|
|
1846
|
+
/* @__PURE__ */ n.jsx(s, { name: sn[o], className: l(gn({ iconType: o }), i == null ? void 0 : i.icon) }),
|
|
1835
1847
|
/* @__PURE__ */ n.jsxs("div", { className: l("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
|
|
1836
1848
|
/* @__PURE__ */ n.jsx("p", { className: l("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: t }),
|
|
1837
1849
|
/* @__PURE__ */ n.jsxs("div", { className: l("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
|
|
@@ -1888,7 +1900,7 @@ const mr = F(() => Promise.resolve().then(() => Sr)), hr = F(() => Promise.resol
|
|
|
1888
1900
|
}, wn = ({ entity: t, classes: e, accordionsConfig: r }) => /* @__PURE__ */ n.jsx("div", { className: l("flex flex-col gap-6", e == null ? void 0 : e.entityWrapper), children: kn({ entity: t, classes: e, accordionsConfig: r }) }), rt = ({ headline: t, tabs: e, classes: r, accordionsConfig: o }) => {
|
|
1889
1901
|
var u, m;
|
|
1890
1902
|
const [i, a] = L(0), d = ye(() => e == null ? void 0 : e.map((h) => h == null ? void 0 : h.tabName), [e]) ?? [];
|
|
1891
|
-
return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ n.jsx("section", { id: j.usefulInfo, "data-test-id": j.usefulInfo, className: l(r == null ? void 0 : r.root), children: /* @__PURE__ */ n.jsxs(
|
|
1903
|
+
return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ n.jsx("section", { id: j.usefulInfo, "data-test-id": j.usefulInfo, className: l(r == null ? void 0 : r.root), children: /* @__PURE__ */ n.jsxs(B, { className: l(r == null ? void 0 : r.container), children: [
|
|
1892
1904
|
/* @__PURE__ */ n.jsx(z, { className: l(r == null ? void 0 : r.headline), as: "h2", children: t }),
|
|
1893
1905
|
/* @__PURE__ */ n.jsx("div", { className: l("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ n.jsx(tn, { tabsNames: d, activeTab: i, setActiveTab: a, classes: r == null ? void 0 : r.tabs }) }),
|
|
1894
1906
|
/* @__PURE__ */ n.jsx("div", { className: l("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (m = (u = e == null ? void 0 : e[i]) == null ? void 0 : u.contents) == null ? void 0 : m.map((h, p) => /* @__PURE__ */ n.jsx(wn, { accordionsConfig: o, ...h, classes: r == null ? void 0 : r.entityClasses }, p)) })
|
|
@@ -1974,7 +1986,7 @@ class Nn {
|
|
|
1974
1986
|
}
|
|
1975
1987
|
}
|
|
1976
1988
|
const Cn = typeof window < "u";
|
|
1977
|
-
class
|
|
1989
|
+
class Mn extends Nn {
|
|
1978
1990
|
constructor(e) {
|
|
1979
1991
|
super(e);
|
|
1980
1992
|
}
|
|
@@ -2012,10 +2024,10 @@ class Te {
|
|
|
2012
2024
|
u = "style";
|
|
2013
2025
|
const h = {};
|
|
2014
2026
|
d.value.split(";").forEach((p) => {
|
|
2015
|
-
const [c,
|
|
2016
|
-
if (c &&
|
|
2017
|
-
const
|
|
2018
|
-
h[
|
|
2027
|
+
const [c, f] = p.split(":");
|
|
2028
|
+
if (c && f) {
|
|
2029
|
+
const b = c.trim().replace(/-([a-z])/g, (k, g) => g.toUpperCase());
|
|
2030
|
+
h[b] = f.trim();
|
|
2019
2031
|
}
|
|
2020
2032
|
}), m = h;
|
|
2021
2033
|
break;
|
|
@@ -2036,7 +2048,7 @@ class Te {
|
|
|
2036
2048
|
* функция для преобразования html строки в react элементы
|
|
2037
2049
|
*/
|
|
2038
2050
|
static async toReactNodes(e, r) {
|
|
2039
|
-
const o = new
|
|
2051
|
+
const o = new Mn(r), { nodes: i } = await o.parse(e, "node");
|
|
2040
2052
|
return i.map((a) => this.parseNode(a));
|
|
2041
2053
|
}
|
|
2042
2054
|
}
|
|
@@ -2054,29 +2066,29 @@ const Tn = ({ promises: t }) => {
|
|
|
2054
2066
|
// @ts-expect-error disable warning
|
|
2055
2067
|
/* @__PURE__ */ n.jsx(i, { ...a, children: /* @__PURE__ */ n.jsx(Tn, { promises: d }) })
|
|
2056
2068
|
);
|
|
2057
|
-
},
|
|
2069
|
+
}, In = (t, e) => t.enabled ? e.map((r) => ({
|
|
2058
2070
|
name: r.args.name,
|
|
2059
2071
|
...r.args.progress
|
|
2060
2072
|
})) : null, _n = ["getFioSchema"], Ct = (t, e, r) => {
|
|
2061
2073
|
const o = t[e];
|
|
2062
|
-
if (
|
|
2074
|
+
if (v.isNil(o))
|
|
2063
2075
|
throw new Error(`validation for type ${String(e)} not found`);
|
|
2064
|
-
if (!
|
|
2076
|
+
if (!v.isFunction(o))
|
|
2065
2077
|
throw new Error(`Cannot generate ${String(e)} because is not a function`);
|
|
2066
2078
|
return o(r);
|
|
2067
|
-
},
|
|
2079
|
+
}, On = (t, e) => Ct(gt.base, t, e), Sn = (t, e) => Ct(gt.dadata, t, e), Mt = (t) => {
|
|
2068
2080
|
const r = ((t == null ? void 0 : t.map((o) => ({ name: o.args.name, validation: o.args.validation }))) ?? []).reduce((o, i) => {
|
|
2069
2081
|
const a = _n.includes(i.validation.type) ? Sn(
|
|
2070
2082
|
i.validation.type,
|
|
2071
2083
|
i.validation.args
|
|
2072
|
-
) :
|
|
2084
|
+
) : On(
|
|
2073
2085
|
i.validation.type,
|
|
2074
2086
|
i.validation.args
|
|
2075
2087
|
);
|
|
2076
2088
|
return o[i.name] = a, o;
|
|
2077
2089
|
}, {});
|
|
2078
2090
|
return yt(r);
|
|
2079
|
-
}, En = new ur(), Fn = ({ children: t }) => /* @__PURE__ */ n.jsx(
|
|
2091
|
+
}, En = new ur(), Fn = ({ children: t }) => /* @__PURE__ */ n.jsx(Ut, { client: En, children: t }), Bn = (t, e, r, o) => t.type === "off" ? null : t.type === "text" ? /* @__PURE__ */ n.jsx(ge, { html: t.message, as: "div", className: o == null ? void 0 : o.content }) : /* @__PURE__ */ n.jsxs(
|
|
2080
2092
|
"label",
|
|
2081
2093
|
{
|
|
2082
2094
|
className: l(
|
|
@@ -2099,12 +2111,12 @@ const Tn = ({ promises: t }) => {
|
|
|
2099
2111
|
classes: d
|
|
2100
2112
|
}) => {
|
|
2101
2113
|
var $, C;
|
|
2102
|
-
const { submitCallback: u, ...m } = a || {}, [h, p] = L(!1), c =
|
|
2114
|
+
const { submitCallback: u, ...m } = a || {}, [h, p] = L(!1), c = Mt(t), f = jt.getZodDefaults(c), { control: b, handleSubmit: k } = st({
|
|
2103
2115
|
schema: c,
|
|
2104
|
-
defaultValues:
|
|
2116
|
+
defaultValues: f,
|
|
2105
2117
|
mode: "onBlur"
|
|
2106
|
-
}),
|
|
2107
|
-
u && u({ ...
|
|
2118
|
+
}), g = In(r, t), T = rr({ control: b, fields: g || [], schema: c }), S = (_) => {
|
|
2119
|
+
u && u({ ..._, agree: h }), console.warn(_);
|
|
2108
2120
|
};
|
|
2109
2121
|
return /* @__PURE__ */ n.jsx(Fn, { children: /* @__PURE__ */ n.jsxs(
|
|
2110
2122
|
"div",
|
|
@@ -2127,7 +2139,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2127
2139
|
($ = d == null ? void 0 : d.chips) == null ? void 0 : $.root
|
|
2128
2140
|
),
|
|
2129
2141
|
children: [
|
|
2130
|
-
i.image && /* @__PURE__ */ n.jsx(
|
|
2142
|
+
i.image && /* @__PURE__ */ n.jsx(s, { name: i.image, className: l("size-4", (C = d == null ? void 0 : d.chips) == null ? void 0 : C.icon) }),
|
|
2131
2143
|
i.content
|
|
2132
2144
|
]
|
|
2133
2145
|
}
|
|
@@ -2136,24 +2148,24 @@ const Tn = ({ promises: t }) => {
|
|
|
2136
2148
|
/* @__PURE__ */ n.jsxs(
|
|
2137
2149
|
"form",
|
|
2138
2150
|
{
|
|
2139
|
-
onSubmit: k(
|
|
2151
|
+
onSubmit: k(S),
|
|
2140
2152
|
className: l("flex w-[328px] flex-col gap-y-6", "desktop:w-[524px] desktop:gap-y-8", d == null ? void 0 : d.form),
|
|
2141
2153
|
children: [
|
|
2142
2154
|
r.enabled && /* @__PURE__ */ n.jsx(
|
|
2143
|
-
|
|
2155
|
+
qt,
|
|
2144
2156
|
{
|
|
2145
|
-
progress:
|
|
2157
|
+
progress: T,
|
|
2146
2158
|
topContent: /* @__PURE__ */ n.jsx(ge, { html: r.title }),
|
|
2147
2159
|
bottomContent: /* @__PURE__ */ n.jsx(ge, { html: r.subtitle }),
|
|
2148
2160
|
maxPercent: r.maxPercent,
|
|
2149
2161
|
classes: d == null ? void 0 : d.progressBar
|
|
2150
2162
|
}
|
|
2151
2163
|
),
|
|
2152
|
-
/* @__PURE__ */ n.jsx(Nt, { control:
|
|
2164
|
+
/* @__PURE__ */ n.jsx(Nt, { control: b, fields: t }),
|
|
2153
2165
|
/* @__PURE__ */ n.jsxs("div", { className: "mob-body-regular-m flex flex-col items-center justify-center gap-4 desktop:flex-row desktop:justify-between", children: [
|
|
2154
2166
|
Bn(o, h, p, d == null ? void 0 : d.approvement),
|
|
2155
2167
|
/* @__PURE__ */ n.jsx(
|
|
2156
|
-
|
|
2168
|
+
Ie,
|
|
2157
2169
|
{
|
|
2158
2170
|
...m,
|
|
2159
2171
|
type: "submit",
|
|
@@ -2182,7 +2194,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2182
2194
|
}, Symbol.toStringTag, { value: "Module" })), de = () => ({
|
|
2183
2195
|
approve: {
|
|
2184
2196
|
icon: {
|
|
2185
|
-
element: /* @__PURE__ */ n.jsx(
|
|
2197
|
+
element: /* @__PURE__ */ n.jsx(s, { name: "status/iconMark" }),
|
|
2186
2198
|
bg: "bg-color-positive-light"
|
|
2187
2199
|
},
|
|
2188
2200
|
title: "Ваша заявка отправлена",
|
|
@@ -2197,7 +2209,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2197
2209
|
},
|
|
2198
2210
|
repeated: {
|
|
2199
2211
|
icon: {
|
|
2200
|
-
element: /* @__PURE__ */ n.jsx(
|
|
2212
|
+
element: /* @__PURE__ */ n.jsx(s, { name: "status/iconUser" }),
|
|
2201
2213
|
bg: "bg-color-positive-light"
|
|
2202
2214
|
},
|
|
2203
2215
|
title: "Мы вас узнали",
|
|
@@ -2212,7 +2224,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2212
2224
|
},
|
|
2213
2225
|
error: {
|
|
2214
2226
|
icon: {
|
|
2215
|
-
element: /* @__PURE__ */ n.jsx(
|
|
2227
|
+
element: /* @__PURE__ */ n.jsx(s, { name: "status/iconRetry" }),
|
|
2216
2228
|
bg: "bg-color-warning-light"
|
|
2217
2229
|
},
|
|
2218
2230
|
title: "Что-то пошло не так",
|
|
@@ -2227,7 +2239,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2227
2239
|
},
|
|
2228
2240
|
reject: {
|
|
2229
2241
|
icon: {
|
|
2230
|
-
element: /* @__PURE__ */ n.jsx(
|
|
2242
|
+
element: /* @__PURE__ */ n.jsx(s, { name: "status/badSmile" }),
|
|
2231
2243
|
bg: "bg-color-negative-light"
|
|
2232
2244
|
},
|
|
2233
2245
|
title: "Нам очень жаль",
|
|
@@ -2240,7 +2252,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2240
2252
|
text: "Вернуться на главную"
|
|
2241
2253
|
}
|
|
2242
2254
|
}
|
|
2243
|
-
}), Eo = ({ status: t, navigationFn: e }) => /* @__PURE__ */ n.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ n.jsx(
|
|
2255
|
+
}), Eo = ({ status: t, navigationFn: e }) => /* @__PURE__ */ n.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ n.jsx(B, { className: "flex flex-col justify-center", children: /* @__PURE__ */ n.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
|
|
2244
2256
|
/* @__PURE__ */ n.jsx(
|
|
2245
2257
|
"span",
|
|
2246
2258
|
{
|
|
@@ -2255,14 +2267,14 @@ const Tn = ({ promises: t }) => {
|
|
|
2255
2267
|
/* @__PURE__ */ n.jsx(z, { as: "h2", children: de()[t].title }),
|
|
2256
2268
|
/* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l text-color-dark", children: de()[t].description })
|
|
2257
2269
|
] }),
|
|
2258
|
-
/* @__PURE__ */ n.jsx(
|
|
2270
|
+
/* @__PURE__ */ n.jsx(Ie, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: e, children: de()[t].button.text })
|
|
2259
2271
|
] }) }) }), Tt = ({ breadcrumb: t, className: e, ...r }) => /* @__PURE__ */ n.jsx("a", { href: t.path, className: l("desk-body-regular-m", e), ...r, children: t.label }), Rn = ({ startsWith: t, endsWith: e, matcher: r, filter: o, rootEnabled: i = !0 }) => {
|
|
2260
2272
|
const [a, d] = L([]);
|
|
2261
2273
|
return se(() => {
|
|
2262
2274
|
if (!bt)
|
|
2263
2275
|
return;
|
|
2264
|
-
let u = window.location.pathname.split("/").filter((p) => !
|
|
2265
|
-
|
|
2276
|
+
let u = window.location.pathname.split("/").filter((p) => !v.isStringEmpty(p));
|
|
2277
|
+
v.isUndefined(t) || (v.isString(t) ? u = u.slice(u.findIndex((p) => p === t)) : u = u.slice(t)), v.isUndefined(e) || (v.isString(e) ? u = u.slice(0, u.findIndex((p) => p === e) + 1) : u = u.slice(0, e + 1));
|
|
2266
2278
|
let m = [], h = "";
|
|
2267
2279
|
if (i) {
|
|
2268
2280
|
const p = {
|
|
@@ -2275,7 +2287,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2275
2287
|
}
|
|
2276
2288
|
u.forEach((p, c) => {
|
|
2277
2289
|
h += `/${p}`;
|
|
2278
|
-
const
|
|
2290
|
+
const f = {
|
|
2279
2291
|
// while root enabled we need to increment index
|
|
2280
2292
|
// cuz we have root breadcrumb
|
|
2281
2293
|
index: i ? c + 1 : c,
|
|
@@ -2283,7 +2295,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2283
2295
|
path: h,
|
|
2284
2296
|
label: p
|
|
2285
2297
|
};
|
|
2286
|
-
m.push(
|
|
2298
|
+
m.push(f);
|
|
2287
2299
|
}), r && (m = m.map((p) => ({
|
|
2288
2300
|
...p,
|
|
2289
2301
|
...r(p)
|
|
@@ -2303,13 +2315,13 @@ const Tn = ({ promises: t }) => {
|
|
|
2303
2315
|
),
|
|
2304
2316
|
a !== t.length - 1 && e
|
|
2305
2317
|
] }, i.id);
|
|
2306
|
-
}),
|
|
2318
|
+
}), Dn = ({ separator: t, ellipsis: e, classes: r, ...o }) => {
|
|
2307
2319
|
const [i, a] = L(!1), d = Fe(null);
|
|
2308
2320
|
er(d, () => a(!1));
|
|
2309
2321
|
const u = Rn(o), { first: m, middle: h, last: p } = ye(() => {
|
|
2310
|
-
let
|
|
2311
|
-
return e && (
|
|
2312
|
-
}, [u, e]), c = t ?? /* @__PURE__ */ n.jsx(
|
|
2322
|
+
let f = [], b = [], k = [];
|
|
2323
|
+
return e && (f = u.slice(0, e), b = u.slice(e, u.length - e), k = u.slice(u.length - e)), { first: f, middle: b, last: k };
|
|
2324
|
+
}, [u, e]), c = t ?? /* @__PURE__ */ n.jsx(s, { name: "arrows/arrowRight", className: l("size-4", r == null ? void 0 : r.separator) });
|
|
2313
2325
|
return /* @__PURE__ */ n.jsx(
|
|
2314
2326
|
"div",
|
|
2315
2327
|
{
|
|
@@ -2341,10 +2353,10 @@ const Tn = ({ promises: t }) => {
|
|
|
2341
2353
|
"visible opacity-100": i
|
|
2342
2354
|
}
|
|
2343
2355
|
),
|
|
2344
|
-
children: h.map((
|
|
2356
|
+
children: h.map((f) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
2345
2357
|
Tt,
|
|
2346
2358
|
{
|
|
2347
|
-
breadcrumb:
|
|
2359
|
+
breadcrumb: f,
|
|
2348
2360
|
className: l(
|
|
2349
2361
|
"desk-body-regular-l inline-block py-3",
|
|
2350
2362
|
"w-full rounded-sm bg-color-white px-2",
|
|
@@ -2352,7 +2364,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2352
2364
|
r == null ? void 0 : r.breadcrumb
|
|
2353
2365
|
)
|
|
2354
2366
|
}
|
|
2355
|
-
) },
|
|
2367
|
+
) }, f.id))
|
|
2356
2368
|
}
|
|
2357
2369
|
)
|
|
2358
2370
|
] }),
|
|
@@ -2372,7 +2384,7 @@ const Tn = ({ promises: t }) => {
|
|
|
2372
2384
|
);
|
|
2373
2385
|
};
|
|
2374
2386
|
var me = /* @__PURE__ */ ((t) => (t.ROOT = "root", t.CURRENT = "current", t))(me || {});
|
|
2375
|
-
const
|
|
2387
|
+
const Hn = (t, e) => {
|
|
2376
2388
|
switch (e.type) {
|
|
2377
2389
|
case me.ROOT:
|
|
2378
2390
|
return {
|
|
@@ -2388,7 +2400,7 @@ const Dn = (t, e) => {
|
|
|
2388
2400
|
return t;
|
|
2389
2401
|
}
|
|
2390
2402
|
}, zn = (t) => {
|
|
2391
|
-
const [e, r] = Xt(
|
|
2403
|
+
const [e, r] = Xt(Hn, t);
|
|
2392
2404
|
return [e, r];
|
|
2393
2405
|
}, Ln = (t) => ({
|
|
2394
2406
|
type: me.CURRENT,
|
|
@@ -2419,7 +2431,7 @@ const Dn = (t, e) => {
|
|
|
2419
2431
|
className: "flex items-center gap-x-1 text-16 uppercase text-color-primary-default",
|
|
2420
2432
|
children: [
|
|
2421
2433
|
i.title,
|
|
2422
|
-
/* @__PURE__ */ n.jsx(
|
|
2434
|
+
/* @__PURE__ */ n.jsx(s, { name: "arrows/arrowLink", className: "size-6" })
|
|
2423
2435
|
]
|
|
2424
2436
|
}
|
|
2425
2437
|
),
|
|
@@ -2438,7 +2450,7 @@ const Dn = (t, e) => {
|
|
|
2438
2450
|
);
|
|
2439
2451
|
}, $n = Yt(({ category: t, active: e, onActiveTabChange: r }, o) => {
|
|
2440
2452
|
var m, h;
|
|
2441
|
-
const i = o && "current" in o ? o : null, a = (m = i == null ? void 0 : i.current) == null ? void 0 : m.getBoundingClientRect(), d = e && !
|
|
2453
|
+
const i = o && "current" in o ? o : null, a = (m = i == null ? void 0 : i.current) == null ? void 0 : m.getBoundingClientRect(), d = e && !v.isArrayEmpty(t.children), u = v.isArrayEmpty(t.children) ? "a" : "span";
|
|
2442
2454
|
return /* @__PURE__ */ n.jsxs(
|
|
2443
2455
|
Ee.div,
|
|
2444
2456
|
{
|
|
@@ -2471,7 +2483,7 @@ const Dn = (t, e) => {
|
|
|
2471
2483
|
]
|
|
2472
2484
|
}
|
|
2473
2485
|
);
|
|
2474
|
-
}), An = Be($n),
|
|
2486
|
+
}), An = Be($n), Un = ({ categories: t }) => {
|
|
2475
2487
|
const [e, r] = L(null), o = ct((a) => {
|
|
2476
2488
|
r(a);
|
|
2477
2489
|
}, []), i = Fe(null);
|
|
@@ -2496,7 +2508,7 @@ const Dn = (t, e) => {
|
|
|
2496
2508
|
]
|
|
2497
2509
|
}
|
|
2498
2510
|
) });
|
|
2499
|
-
},
|
|
2511
|
+
}, qn = Be(Un), Wn = ({
|
|
2500
2512
|
category: t,
|
|
2501
2513
|
selectedCategory: e,
|
|
2502
2514
|
onCurrentCategoryChange: r,
|
|
@@ -2547,7 +2559,7 @@ const Dn = (t, e) => {
|
|
|
2547
2559
|
const [o, i] = zn({ root: t[0].children[0], current: t[0].children[0] });
|
|
2548
2560
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
2549
2561
|
/* @__PURE__ */ n.jsxs("div", { className: "flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4", children: [
|
|
2550
|
-
/* @__PURE__ */ n.jsx(
|
|
2562
|
+
/* @__PURE__ */ n.jsx(s, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
|
|
2551
2563
|
t.map((a) => {
|
|
2552
2564
|
const d = o.root.title === a.title;
|
|
2553
2565
|
return /* @__PURE__ */ n.jsx(
|
|
@@ -2569,7 +2581,7 @@ const Dn = (t, e) => {
|
|
|
2569
2581
|
href: a.link.href,
|
|
2570
2582
|
className: "desk-body-regular-m flex items-center gap-x-1 text-color-blue-grey-600 duration-100 hover:text-color-dark",
|
|
2571
2583
|
children: [
|
|
2572
|
-
a.link.icon && /* @__PURE__ */ n.jsx(
|
|
2584
|
+
a.link.icon && /* @__PURE__ */ n.jsx(s, { name: a.link.icon, className: "size-4" }),
|
|
2573
2585
|
a.title
|
|
2574
2586
|
]
|
|
2575
2587
|
},
|
|
@@ -2585,13 +2597,13 @@ const Dn = (t, e) => {
|
|
|
2585
2597
|
}
|
|
2586
2598
|
)
|
|
2587
2599
|
] }),
|
|
2588
|
-
/* @__PURE__ */ n.jsx(
|
|
2600
|
+
/* @__PURE__ */ n.jsx(qn, { categories: o.current.children })
|
|
2589
2601
|
] });
|
|
2590
2602
|
}, Zn = ({ category: t }) => /* @__PURE__ */ n.jsx(
|
|
2591
2603
|
ie,
|
|
2592
2604
|
{
|
|
2593
2605
|
label: t.title ?? "",
|
|
2594
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
2606
|
+
icon: /* @__PURE__ */ n.jsx(s, { name: "arrows/arrowRight", className: "-rotate-90" }),
|
|
2595
2607
|
classes: {
|
|
2596
2608
|
root: "w-full",
|
|
2597
2609
|
header: {
|
|
@@ -2616,7 +2628,7 @@ const Dn = (t, e) => {
|
|
|
2616
2628
|
className: "mb-3 flex items-center gap-x-1 text-16 text-color-primary-default",
|
|
2617
2629
|
children: [
|
|
2618
2630
|
e.title,
|
|
2619
|
-
/* @__PURE__ */ n.jsx(
|
|
2631
|
+
/* @__PURE__ */ n.jsx(s, { name: "arrows/arrowLink" })
|
|
2620
2632
|
]
|
|
2621
2633
|
}
|
|
2622
2634
|
),
|
|
@@ -2633,10 +2645,10 @@ const Dn = (t, e) => {
|
|
|
2633
2645
|
label: e.title ?? ""
|
|
2634
2646
|
})), Yn = ({ categories: t, helpers: e, phone: r, ...o }) => {
|
|
2635
2647
|
const i = Xn(t), [a, d] = L(i[0]), u = (h) => {
|
|
2636
|
-
|
|
2648
|
+
v.isUndefined(h) || v.isArray(h) || d(h);
|
|
2637
2649
|
}, m = ye(() => {
|
|
2638
2650
|
var h;
|
|
2639
|
-
return
|
|
2651
|
+
return v.isUndefined(a) || v.isArray(a) ? [] : ((h = t.find((p) => p.title === a.value)) == null ? void 0 : h.children) ?? [];
|
|
2640
2652
|
}, [a, t]);
|
|
2641
2653
|
return /* @__PURE__ */ n.jsxs(
|
|
2642
2654
|
Ee.div,
|
|
@@ -2654,19 +2666,19 @@ const Dn = (t, e) => {
|
|
|
2654
2666
|
/* @__PURE__ */ n.jsx(Se.SelectBase, { label: "Категория", options: i, value: a, onChange: u }),
|
|
2655
2667
|
/* @__PURE__ */ n.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: m.map((h) => {
|
|
2656
2668
|
var p;
|
|
2657
|
-
return
|
|
2669
|
+
return v.isArrayEmpty(h.children) ? /* @__PURE__ */ n.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ n.jsx("a", { href: (p = h.link) == null ? void 0 : p.href, className: "desk-body-regular-m inline-block w-full", children: h.title }) }, h.title) : /* @__PURE__ */ n.jsx(Zn, { category: h }, h.title);
|
|
2658
2670
|
}) }),
|
|
2659
2671
|
/* @__PURE__ */ n.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
|
|
2660
2672
|
/* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
|
|
2661
2673
|
e.map((h) => {
|
|
2662
2674
|
var p, c;
|
|
2663
2675
|
return /* @__PURE__ */ n.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ n.jsxs("a", { href: (p = h.link) == null ? void 0 : p.href, className: "flex w-full items-center gap-x-1", children: [
|
|
2664
|
-
((c = h.link) == null ? void 0 : c.icon) && /* @__PURE__ */ n.jsx(
|
|
2676
|
+
((c = h.link) == null ? void 0 : c.icon) && /* @__PURE__ */ n.jsx(s, { name: h.link.icon, className: "size-4" }),
|
|
2665
2677
|
h.title
|
|
2666
2678
|
] }) }, h.title);
|
|
2667
2679
|
}),
|
|
2668
2680
|
/* @__PURE__ */ n.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ n.jsxs("a", { href: `tel:${r}`, className: "flex w-full items-center gap-x-1", children: [
|
|
2669
|
-
/* @__PURE__ */ n.jsx(
|
|
2681
|
+
/* @__PURE__ */ n.jsx(s, { name: "communication/phone", className: "size-4" }),
|
|
2670
2682
|
ke(r)
|
|
2671
2683
|
] }) })
|
|
2672
2684
|
] })
|
|
@@ -2677,8 +2689,8 @@ const Dn = (t, e) => {
|
|
|
2677
2689
|
var m, h, p;
|
|
2678
2690
|
const o = Fe(null), i = (m = o.current) == null ? void 0 : m.getBoundingClientRect(), [a, d] = L(!1), u = () => d(!a);
|
|
2679
2691
|
return /* @__PURE__ */ n.jsxs("div", { ref: o, className: "relative flex w-full items-center justify-between border-b border-b-blue-grey-500 py-4", children: [
|
|
2680
|
-
/* @__PURE__ */ n.jsx(
|
|
2681
|
-
/* @__PURE__ */ n.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ n.jsx(
|
|
2692
|
+
/* @__PURE__ */ n.jsx(s, { name: "brandLogos/logoMain", className: "w-[130px]" }),
|
|
2693
|
+
/* @__PURE__ */ n.jsx("button", { type: "button", onClick: u, className: "h-max w-max", children: /* @__PURE__ */ n.jsx(s, { name: a ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
|
|
2682
2694
|
a && kt(
|
|
2683
2695
|
/* @__PURE__ */ n.jsx(
|
|
2684
2696
|
Yn,
|
|
@@ -2700,7 +2712,7 @@ const Dn = (t, e) => {
|
|
|
2700
2712
|
return /* @__PURE__ */ n.jsxs("div", { id: j.seoHeader, "data-test-id": j.seoHeader, className: "mx-auto w-full max-w-[1440px]", children: [
|
|
2701
2713
|
o ? /* @__PURE__ */ n.jsx(Jn, { categories: t.map((i) => i.children).flat(), helpers: e, phone: r }) : /* @__PURE__ */ n.jsx(Kn, { categories: t, helpers: e, phone: r }),
|
|
2702
2714
|
/* @__PURE__ */ n.jsx(
|
|
2703
|
-
|
|
2715
|
+
Dn,
|
|
2704
2716
|
{
|
|
2705
2717
|
ellipsis: o ? 1 : void 0,
|
|
2706
2718
|
matcher: (i) => ({ label: Gt(i.label).split("-").join(" ") })
|
|
@@ -2711,7 +2723,7 @@ const Dn = (t, e) => {
|
|
|
2711
2723
|
__proto__: null,
|
|
2712
2724
|
SeoHeader: ot,
|
|
2713
2725
|
default: ot
|
|
2714
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2726
|
+
}, Symbol.toStringTag, { value: "Module" })), It = (t) => typeof t != "string" && "formula" in t, _t = (t, e) => {
|
|
2715
2727
|
let r = e;
|
|
2716
2728
|
const o = {
|
|
2717
2729
|
style: t
|
|
@@ -2734,12 +2746,12 @@ const Dn = (t, e) => {
|
|
|
2734
2746
|
default:
|
|
2735
2747
|
return _t(t, Number(e));
|
|
2736
2748
|
}
|
|
2737
|
-
}, to = (t) => Object.values(t).reduce((r, o) => r.merge(
|
|
2738
|
-
const r = Object.entries(e).map(([m, h]) => [m,
|
|
2749
|
+
}, to = (t) => Object.values(t).reduce((r, o) => r.merge(Mt(o.fields)), yt({})), ro = (t, e) => (t.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in e)).length > 0 ? "" : t, Ot = (t, e) => {
|
|
2750
|
+
const r = Object.entries(e).map(([m, h]) => [m, v.isNil(h) ? "1" : h]), o = r.map(([m]) => m), i = r.map(([, m]) => m), a = ro(t, Object.fromEntries(r)), u = new Function(...o, `return ${a};`)(...i.map(Number));
|
|
2739
2751
|
return Number.isNaN(Number(u)) ? "0" : u.toString();
|
|
2740
2752
|
}, no = (t, e) => t.map((r) => ({
|
|
2741
2753
|
...r,
|
|
2742
|
-
value:
|
|
2754
|
+
value: It(r.value) ? Ot(r.value.formula, e) : r.value
|
|
2743
2755
|
})), oo = ({ subtitle: t, title: e }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: (e || t) && /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
2744
2756
|
e && /* @__PURE__ */ n.jsx(z, { as: "h3", children: e }),
|
|
2745
2757
|
t && /* @__PURE__ */ n.jsx("div", { className: "desk-body-regular-l text-color-dark", children: t })
|
|
@@ -2753,7 +2765,7 @@ const Dn = (t, e) => {
|
|
|
2753
2765
|
_e,
|
|
2754
2766
|
{
|
|
2755
2767
|
withCloseBtn: !1,
|
|
2756
|
-
triggerElement: /* @__PURE__ */ n.jsx(
|
|
2768
|
+
triggerElement: /* @__PURE__ */ n.jsx(s, { className: "size-5 text-icon-blue-grey-600", name: "info/helpCircle" }),
|
|
2757
2769
|
children: /* @__PURE__ */ n.jsx("p", { children: t })
|
|
2758
2770
|
}
|
|
2759
2771
|
)
|
|
@@ -2773,10 +2785,10 @@ const Dn = (t, e) => {
|
|
|
2773
2785
|
return /* @__PURE__ */ n.jsx("div", { className: "my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", children: o == null ? void 0 : o.map((i) => /* @__PURE__ */ n.jsx(ao, { ...i }, i.label)) });
|
|
2774
2786
|
}, uo = ({ iconName: t, text: e, hint: r }) => /* @__PURE__ */ n.jsxs("div", { className: "mb-6 flex items-center gap-2", children: [
|
|
2775
2787
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
2776
|
-
/* @__PURE__ */ n.jsx(
|
|
2788
|
+
/* @__PURE__ */ n.jsx(s, { name: t, className: "size-6 text-icon-blue-grey-800" }),
|
|
2777
2789
|
/* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l text-color-tetriary", children: e })
|
|
2778
2790
|
] }),
|
|
2779
|
-
r && /* @__PURE__ */ n.jsx(_e, { withCloseBtn: !1, triggerElement: /* @__PURE__ */ n.jsx(
|
|
2791
|
+
r && /* @__PURE__ */ n.jsx(_e, { withCloseBtn: !1, triggerElement: /* @__PURE__ */ n.jsx(s, { name: "info/helpCircle", className: "size-5 text-icon-blue-grey-600" }), children: /* @__PURE__ */ n.jsx("p", { children: r }) })
|
|
2780
2792
|
] }), mo = ({ assistHint: t, buttonsConfig: e, bottomDescription: r }) => /* @__PURE__ */ n.jsxs("div", { children: [
|
|
2781
2793
|
t && /* @__PURE__ */ n.jsx(uo, { ...t }),
|
|
2782
2794
|
/* @__PURE__ */ n.jsx("div", { className: l("flex items-center gap-4 mobile:flex-col"), children: e == null ? void 0 : e.map((o, i) => /* @__PURE__ */ n.jsx(X, { className: "w-full", ...o }, i)) }),
|
|
@@ -2800,10 +2812,10 @@ const Dn = (t, e) => {
|
|
|
2800
2812
|
slidersGroupConfig: t,
|
|
2801
2813
|
additionalSliderGroupConfig: e
|
|
2802
2814
|
}) => {
|
|
2803
|
-
const [r, o] = L(!1), { watch: i, setValue: a } = we(), d = t == null ? void 0 : t.fields.find(({ args:
|
|
2815
|
+
const [r, o] = L(!1), { watch: i, setValue: a } = we(), d = t == null ? void 0 : t.fields.find(({ args: S }) => S.name === "sum"), { args: u } = d || {}, { max: m, name: h, defaultValue: p } = u || {}, c = i(h), { min: f, name: b } = (e == null ? void 0 : e.args) ?? {}, k = i(b), g = Number(m ?? 0) - (c ?? p);
|
|
2804
2816
|
return se(() => {
|
|
2805
|
-
k >
|
|
2806
|
-
}, [
|
|
2817
|
+
k > g && a(b, g);
|
|
2818
|
+
}, [g, k, a, c]), se(() => {
|
|
2807
2819
|
Number(m) === c && o(!1);
|
|
2808
2820
|
}, [o, m, c]), {
|
|
2809
2821
|
sliderVisible: r,
|
|
@@ -2812,11 +2824,11 @@ const Dn = (t, e) => {
|
|
|
2812
2824
|
sumName: h,
|
|
2813
2825
|
sumDefaultValue: p,
|
|
2814
2826
|
sumValue: c,
|
|
2815
|
-
additionalSliderMax:
|
|
2827
|
+
additionalSliderMax: g,
|
|
2816
2828
|
onCheckedChange: () => {
|
|
2817
|
-
o((
|
|
2829
|
+
o((S) => !S), k <= 0 && a(b, f), Number(m) === c && (a(h ?? "", c - xo), a(b, f));
|
|
2818
2830
|
},
|
|
2819
|
-
sliderSumExist: !
|
|
2831
|
+
sliderSumExist: !v.isObjectEmpty(d == null ? void 0 : d.args),
|
|
2820
2832
|
sliderSumCorrectType: (d == null ? void 0 : d.args.componentType) === "algorithmic" || (d == null ? void 0 : d.args.componentType) === "step"
|
|
2821
2833
|
};
|
|
2822
2834
|
}, po = (t) => {
|
|
@@ -2851,7 +2863,7 @@ const Dn = (t, e) => {
|
|
|
2851
2863
|
slidersGroupConfig: t,
|
|
2852
2864
|
additionalSliderGroupConfig: e
|
|
2853
2865
|
});
|
|
2854
|
-
return
|
|
2866
|
+
return v.isNil(e == null ? void 0 : e.args) || !(e != null && e.args) ? null : /* @__PURE__ */ n.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
2855
2867
|
/* @__PURE__ */ n.jsxs("div", { className: "inline-flex items-center gap-2", children: [
|
|
2856
2868
|
/* @__PURE__ */ n.jsx(Se.SwitchBase, { checked: o, onCheckedChange: a }),
|
|
2857
2869
|
/* @__PURE__ */ n.jsx("p", { className: "desk-body-regular-l", children: "Хочу получить деньги дополнительно" })
|
|
@@ -2910,7 +2922,7 @@ const Dn = (t, e) => {
|
|
|
2910
2922
|
schema: r,
|
|
2911
2923
|
mode: "onBlur",
|
|
2912
2924
|
defaultValues: jt.getZodDefaults(r)
|
|
2913
|
-
}), i = o.watch(), { rootValue: a } = t, d =
|
|
2925
|
+
}), i = o.watch(), { rootValue: a } = t, d = It(a) ? Ot(a.formula, i) : a, u = { ...t, rootValue: d };
|
|
2914
2926
|
return /* @__PURE__ */ n.jsx(tr, { ...o, children: /* @__PURE__ */ n.jsxs("div", { className: "flex items-start gap-16", children: [
|
|
2915
2927
|
/* @__PURE__ */ n.jsx(bo, { ...e }),
|
|
2916
2928
|
/* @__PURE__ */ n.jsx(ho, { ...u })
|
|
@@ -2918,7 +2930,7 @@ const Dn = (t, e) => {
|
|
|
2918
2930
|
}, it = ({ calculators: t, headline: e }) => {
|
|
2919
2931
|
var m;
|
|
2920
2932
|
const r = t.length > 1, [o, i] = L(r ? (m = t[0]) == null ? void 0 : m.name : ""), a = ye(() => t == null ? void 0 : t.map(({ name: h, label: p }) => ({ name: h, label: p })), [t]), d = r ? a == null ? void 0 : a.findIndex((h) => h.name === o) : 0, u = t[d];
|
|
2921
|
-
return /* @__PURE__ */ n.jsx("section", { id: j.calculator, children: /* @__PURE__ */ n.jsx(
|
|
2933
|
+
return /* @__PURE__ */ n.jsx("section", { id: j.calculator, children: /* @__PURE__ */ n.jsx(B, { children: /* @__PURE__ */ n.jsxs("div", { className: "rounded-md bg-color-white px-10 py-12 shadow-md", children: [
|
|
2922
2934
|
/* @__PURE__ */ n.jsx(z, { className: "mb-12", as: "h2", children: e }),
|
|
2923
2935
|
r && /* @__PURE__ */ n.jsx(
|
|
2924
2936
|
so,
|
|
@@ -2944,12 +2956,12 @@ const Dn = (t, e) => {
|
|
|
2944
2956
|
default: it
|
|
2945
2957
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2946
2958
|
export {
|
|
2947
|
-
|
|
2959
|
+
Me as Advantages,
|
|
2948
2960
|
So as AuthProvider,
|
|
2949
2961
|
Ke as Banner,
|
|
2950
2962
|
We as BannerWithSeparateImg,
|
|
2951
|
-
|
|
2952
|
-
|
|
2963
|
+
Ue as Benefit,
|
|
2964
|
+
Dn as Breadcrumbs,
|
|
2953
2965
|
X as ButtonWithHandlers,
|
|
2954
2966
|
it as Calculator,
|
|
2955
2967
|
go as CalculatorView,
|
|
@@ -2957,9 +2969,9 @@ export {
|
|
|
2957
2969
|
Eo as FallbacksView,
|
|
2958
2970
|
Nt as FieldMapper,
|
|
2959
2971
|
Ze as Footer,
|
|
2960
|
-
|
|
2972
|
+
Mn as HTMLParser,
|
|
2961
2973
|
ge as HTMLRenderer,
|
|
2962
|
-
|
|
2974
|
+
qe as Header,
|
|
2963
2975
|
tt as InterLinking,
|
|
2964
2976
|
wr as KEYS_OF_WIDGET_LIST,
|
|
2965
2977
|
Ye as LongBanner,
|