@scbt-ecom/ui 0.82.4 → 0.84.0

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.
Files changed (48) hide show
  1. package/dist/config.js +118 -326
  2. package/dist/config.js.map +1 -1
  3. package/dist/constants.d.ts +2 -0
  4. package/dist/constants.js +224 -0
  5. package/dist/constants.js.map +1 -0
  6. package/dist/hooks.js +2 -2
  7. package/dist/{index-DvwaDy1x.js → index-5WLPawT4.js} +10835 -11449
  8. package/dist/index-5WLPawT4.js.map +1 -0
  9. package/dist/{index-9VvWDfzt.js → index-BO81H324.js} +2 -2
  10. package/dist/{index-9VvWDfzt.js.map → index-BO81H324.js.map} +1 -1
  11. package/dist/lib/exports/constants.d.ts +1 -0
  12. package/dist/lib/shared/constants/designSystem/index.d.ts +1 -0
  13. package/dist/lib/shared/constants/designSystem/types.d.ts +2 -0
  14. package/dist/lib/shared/ui/customLink/CustomLink.d.ts +2 -1
  15. package/dist/lib/shared/utils/index.d.ts +2 -0
  16. package/dist/lib/shared/utils/renderImage.d.ts +6 -0
  17. package/dist/lib/shared/utils/sessionStorage.d.ts +2 -0
  18. package/dist/lib/widgets/banner/Banner.d.ts +9 -14
  19. package/dist/lib/widgets/index.d.ts +1 -0
  20. package/dist/lib/widgets/infoBlock/InfoBlock.d.ts +19 -0
  21. package/dist/lib/widgets/infoBlock/index.d.ts +1 -0
  22. package/dist/lib/widgets/infoBlock/ui/LinksList.d.ts +10 -0
  23. package/dist/lib/widgets/infoBlock/ui/RootContent.d.ts +22 -0
  24. package/dist/lib/widgets/infoBlock/ui/index.d.ts +1 -0
  25. package/dist/lib/widgets/model/helpers.d.ts +2 -1
  26. package/dist/mergeRefs-Danc3mp8.js +640 -0
  27. package/dist/mergeRefs-Danc3mp8.js.map +1 -0
  28. package/dist/renderImage-D1GvKq_K.js +49 -0
  29. package/dist/renderImage-D1GvKq_K.js.map +1 -0
  30. package/dist/ui.js +7 -7
  31. package/dist/{useDebounce-maGDilFr.js → useDebounce-CEu2ysPk.js} +3 -3
  32. package/dist/{useDebounce-maGDilFr.js.map → useDebounce-CEu2ysPk.js.map} +1 -1
  33. package/dist/{useFieldsProgress-egXj013a.js → useFieldsProgress-DvWCpALA.js} +6 -6
  34. package/dist/{useFieldsProgress-egXj013a.js.map → useFieldsProgress-DvWCpALA.js.map} +1 -1
  35. package/dist/{utils-Bu1Zg675.js → utils-CnDzHNQ6.js} +62 -62
  36. package/dist/{utils-Bu1Zg675.js.map → utils-CnDzHNQ6.js.map} +1 -1
  37. package/dist/utils.js +48 -28
  38. package/dist/utils.js.map +1 -1
  39. package/dist/validation.js +2 -2
  40. package/dist/widget.js +413 -352
  41. package/dist/widget.js.map +1 -1
  42. package/package.json +5 -1
  43. package/dist/index-DvwaDy1x.js.map +0 -1
  44. package/dist/lib/widgets/banner/model/constants.d.ts +0 -15
  45. package/dist/localStorageActions-DRn18qhh.js +0 -47
  46. package/dist/localStorageActions-DRn18qhh.js.map +0 -1
  47. package/dist/mergeRefs-qDToYXtM.js +0 -12
  48. package/dist/mergeRefs-qDToYXtM.js.map +0 -1
package/dist/widget.js CHANGED
@@ -1,11 +1,11 @@
1
- var Ee = Object.defineProperty;
1
+ var De = Object.defineProperty;
2
2
  var Qt = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var Pe = (e, t, r) => t in e ? Ee(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var Nt = (e, t, r) => Pe(e, typeof t != "symbol" ? t + "" : t, r), Ct = (e, t, r) => t.has(e) || Qt("Cannot " + r);
5
+ var He = (e, t, r) => t in e ? De(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
+ var Nt = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r), Ct = (e, t, r) => t.has(e) || Qt("Cannot " + r);
7
7
  var h = (e, t, r) => (Ct(e, t, "read from private field"), r ? r.call(e) : t.get(e)), M = (e, t, r) => t.has(e) ? Qt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), w = (e, t, r, n) => (Ct(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), q = (e, t, r) => (Ct(e, t, "access private method"), r);
8
- var ft = (e, t, r, n) => ({
8
+ var bt = (e, t, r, n) => ({
9
9
  set _(i) {
10
10
  w(e, t, i, r);
11
11
  },
@@ -13,27 +13,28 @@ var ft = (e, t, r, n) => ({
13
13
  return h(e, t, n);
14
14
  }
15
15
  });
16
- import { S as be, h as ge, Q as De, n as F, m as Vt, R as He, c as Re, a as $t, b as $, e as ze, d as Le, f as Qe, g as Ve, o as At, r as Wt, i as $e, j as qt, p as Ut, s as Ae, k as o, B as gt, l as E, q as B, P as je, t as We, H, I as b, C as jt, u as Tt, L as qe, v as Ot, A as dt, w as ye, x as Ue, y as Ke, U as yt, D as Ze, z as Ft, E as Xe, M as Ye } from "./index-DvwaDy1x.js";
16
+ import { j as o } from "./mergeRefs-Danc3mp8.js";
17
+ import { S as ge, y as je, Q as Re, z as F, E as Vt, F as ze, G as Le, J as $t, T as $, W as Qe, X as Ve, Y as $e, Z as We, _ as Wt, $ as At, a0 as Ae, a1 as qt, a2 as Ut, a3 as qe, B as ht, c as D, R as B, n as ye, t as Ue, H as P, i as b, v as pt, q as Tt, L as Ke, o as Ot, A as dt, w as ke, a4 as Ze, r as Xe, U as yt, s as Ye, a5 as Ft, a6 as Je, M as Ge } from "./index-5WLPawT4.js";
17
18
  import { c as a, T as O } from "./typeGuards-CSiImkUY.js";
18
19
  import * as ut from "react";
19
- import { lazy as P, useCallback as ke, useState as W, useMemo as kt, createElement as Bt, useRef as Et, useReducer as Je, memo as Pt, forwardRef as Ge, useEffect as _t } from "react";
20
+ import { lazy as E, useCallback as we, useState as A, useMemo as kt, createElement as Bt, useRef as Et, useReducer as se, memo as Pt, forwardRef as tr, useEffect as _t } from "react";
20
21
  import { i as Kt } from "./isClient-C9aZtt2Q.js";
21
- import { s as se, c as wt, a as tr, l as er } from "./localStorageActions-DRn18qhh.js";
22
- import { u as at, b as Dt, a as rr, f as vt, F as nr } from "./useDebounce-maGDilFr.js";
23
- import { z as we, Z as Ht } from "./index-9VvWDfzt.js";
24
- import { o as ve } from "./utils-Bu1Zg675.js";
25
- import { a as or, u as ir } from "./useFieldsProgress-egXj013a.js";
26
- import { createPortal as Ne } from "react-dom";
27
- var L, he, dr = (he = class extends be {
22
+ import { s as er, c as wt, a as rr, l as nr, r as ve } from "./renderImage-D1GvKq_K.js";
23
+ import { u as at, b as Dt, a as or, g as vt, F as ir } from "./useDebounce-CEu2ysPk.js";
24
+ import { z as Ne, Z as Ht } from "./index-BO81H324.js";
25
+ import { au as Ce } from "./utils-CnDzHNQ6.js";
26
+ import { a as dr, u as ar } from "./useFieldsProgress-DvWCpALA.js";
27
+ import { createPortal as Ie } from "react-dom";
28
+ var L, pe, lr = (pe = class extends ge {
28
29
  constructor(t = {}) {
29
30
  super();
30
31
  M(this, L);
31
32
  this.config = t, w(this, L, /* @__PURE__ */ new Map());
32
33
  }
33
34
  build(t, r, n) {
34
- const i = r.queryKey, d = r.queryHash ?? ge(i, r);
35
+ const i = r.queryKey, d = r.queryHash ?? je(i, r);
35
36
  let l = this.get(d);
36
- return l || (l = new De({
37
+ return l || (l = new Re({
37
38
  client: t,
38
39
  queryKey: i,
39
40
  queryHash: d,
@@ -96,14 +97,14 @@ var L, he, dr = (he = class extends be {
96
97
  });
97
98
  });
98
99
  }
99
- }, L = new WeakMap(), he), Q, T, tt, V, U, pe, ar = (pe = class extends He {
100
+ }, L = new WeakMap(), pe), Q, T, tt, V, U, fe, ur = (fe = class extends ze {
100
101
  constructor(t) {
101
102
  super();
102
103
  M(this, V);
103
104
  M(this, Q);
104
105
  M(this, T);
105
106
  M(this, tt);
106
- this.mutationId = t.mutationId, w(this, T, t.mutationCache), w(this, Q, []), this.state = t.state || lr(), this.setOptions(t.options), this.scheduleGc();
107
+ this.mutationId = t.mutationId, w(this, T, t.mutationCache), w(this, Q, []), this.state = t.state || mr(), this.setOptions(t.options), this.scheduleGc();
107
108
  }
108
109
  setOptions(t) {
109
110
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -134,11 +135,11 @@ var L, he, dr = (he = class extends be {
134
135
  this.execute(this.state.variables);
135
136
  }
136
137
  async execute(t) {
137
- var d, l, m, x, u, p, f, y, c, v, g, N, S, R, I, _, z, J, ht, pt;
138
+ var d, l, m, x, u, p, f, y, c, v, j, N, S, R, I, _, z, J, ft, ct;
138
139
  const r = () => {
139
140
  q(this, V, U).call(this, { type: "continue" });
140
141
  };
141
- w(this, tt, Re({
142
+ w(this, tt, Le({
142
143
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
143
144
  onFail: (C, G) => {
144
145
  q(this, V, U).call(this, { type: "failed", failureCount: C, error: G });
@@ -184,7 +185,7 @@ var L, he, dr = (he = class extends be {
184
185
  this.state.variables,
185
186
  this.state.context,
186
187
  this
187
- )), await ((N = (g = this.options).onSettled) == null ? void 0 : N.call(g, C, null, t, this.state.context)), q(this, V, U).call(this, { type: "success", data: C }), C;
188
+ )), await ((N = (j = this.options).onSettled) == null ? void 0 : N.call(j, C, null, t, this.state.context)), q(this, V, U).call(this, { type: "success", data: C }), C;
188
189
  } catch (C) {
189
190
  try {
190
191
  throw await ((R = (S = h(this, T).config).onError) == null ? void 0 : R.call(
@@ -205,8 +206,8 @@ var L, he, dr = (he = class extends be {
205
206
  this.state.variables,
206
207
  this.state.context,
207
208
  this
208
- )), await ((pt = (ht = this.options).onSettled) == null ? void 0 : pt.call(
209
- ht,
209
+ )), await ((ct = (ft = this.options).onSettled) == null ? void 0 : ct.call(
210
+ ft,
210
211
  void 0,
211
212
  C,
212
213
  t,
@@ -282,8 +283,8 @@ var L, he, dr = (he = class extends be {
282
283
  action: t
283
284
  });
284
285
  });
285
- }, pe);
286
- function lr() {
286
+ }, fe);
287
+ function mr() {
287
288
  return {
288
289
  context: void 0,
289
290
  data: void 0,
@@ -296,50 +297,50 @@ function lr() {
296
297
  submittedAt: 0
297
298
  };
298
299
  }
299
- var A, D, xt, fe, ur = (fe = class extends be {
300
+ var W, H, xt, ce, xr = (ce = class extends ge {
300
301
  constructor(t = {}) {
301
302
  super();
302
- M(this, A);
303
- M(this, D);
303
+ M(this, W);
304
+ M(this, H);
304
305
  M(this, xt);
305
- this.config = t, w(this, A, /* @__PURE__ */ new Set()), w(this, D, /* @__PURE__ */ new Map()), w(this, xt, 0);
306
+ this.config = t, w(this, W, /* @__PURE__ */ new Set()), w(this, H, /* @__PURE__ */ new Map()), w(this, xt, 0);
306
307
  }
307
308
  build(t, r, n) {
308
- const i = new ar({
309
+ const i = new ur({
309
310
  mutationCache: this,
310
- mutationId: ++ft(this, xt)._,
311
+ mutationId: ++bt(this, xt)._,
311
312
  options: t.defaultMutationOptions(r),
312
313
  state: n
313
314
  });
314
315
  return this.add(i), i;
315
316
  }
316
317
  add(t) {
317
- h(this, A).add(t);
318
- const r = ct(t);
318
+ h(this, W).add(t);
319
+ const r = gt(t);
319
320
  if (typeof r == "string") {
320
- const n = h(this, D).get(r);
321
- n ? n.push(t) : h(this, D).set(r, [t]);
321
+ const n = h(this, H).get(r);
322
+ n ? n.push(t) : h(this, H).set(r, [t]);
322
323
  }
323
324
  this.notify({ type: "added", mutation: t });
324
325
  }
325
326
  remove(t) {
326
- if (h(this, A).delete(t)) {
327
- const r = ct(t);
327
+ if (h(this, W).delete(t)) {
328
+ const r = gt(t);
328
329
  if (typeof r == "string") {
329
- const n = h(this, D).get(r);
330
+ const n = h(this, H).get(r);
330
331
  if (n)
331
332
  if (n.length > 1) {
332
333
  const i = n.indexOf(t);
333
334
  i !== -1 && n.splice(i, 1);
334
- } else n[0] === t && h(this, D).delete(r);
335
+ } else n[0] === t && h(this, H).delete(r);
335
336
  }
336
337
  }
337
338
  this.notify({ type: "removed", mutation: t });
338
339
  }
339
340
  canRun(t) {
340
- const r = ct(t);
341
+ const r = gt(t);
341
342
  if (typeof r == "string") {
342
- const n = h(this, D).get(r), i = n == null ? void 0 : n.find(
343
+ const n = h(this, H).get(r), i = n == null ? void 0 : n.find(
343
344
  (d) => d.state.status === "pending"
344
345
  );
345
346
  return !i || i === t;
@@ -348,22 +349,22 @@ var A, D, xt, fe, ur = (fe = class extends be {
348
349
  }
349
350
  runNext(t) {
350
351
  var n;
351
- const r = ct(t);
352
+ const r = gt(t);
352
353
  if (typeof r == "string") {
353
- const i = (n = h(this, D).get(r)) == null ? void 0 : n.find((d) => d !== t && d.state.isPaused);
354
+ const i = (n = h(this, H).get(r)) == null ? void 0 : n.find((d) => d !== t && d.state.isPaused);
354
355
  return (i == null ? void 0 : i.continue()) ?? Promise.resolve();
355
356
  } else
356
357
  return Promise.resolve();
357
358
  }
358
359
  clear() {
359
360
  F.batch(() => {
360
- h(this, A).forEach((t) => {
361
+ h(this, W).forEach((t) => {
361
362
  this.notify({ type: "removed", mutation: t });
362
- }), h(this, A).clear(), h(this, D).clear();
363
+ }), h(this, W).clear(), h(this, H).clear();
363
364
  });
364
365
  }
365
366
  getAll() {
366
- return Array.from(h(this, A));
367
+ return Array.from(h(this, W));
367
368
  }
368
369
  find(t) {
369
370
  const r = { exact: !0, ...t };
@@ -389,8 +390,8 @@ var A, D, xt, fe, ur = (fe = class extends be {
389
390
  )
390
391
  );
391
392
  }
392
- }, A = new WeakMap(), D = new WeakMap(), xt = new WeakMap(), fe);
393
- function ct(e) {
393
+ }, W = new WeakMap(), H = new WeakMap(), xt = new WeakMap(), ce);
394
+ function gt(e) {
394
395
  var t;
395
396
  return (t = e.options.scope) == null ? void 0 : t.id;
396
397
  }
@@ -401,20 +402,20 @@ function Zt(e) {
401
402
  const n = t.options, i = (y = (f = (p = t.fetchOptions) == null ? void 0 : p.meta) == null ? void 0 : f.fetchMore) == null ? void 0 : y.direction, d = ((c = t.state.data) == null ? void 0 : c.pages) || [], l = ((v = t.state.data) == null ? void 0 : v.pageParams) || [];
402
403
  let m = { pages: [], pageParams: [] }, x = 0;
403
404
  const u = async () => {
404
- let g = !1;
405
+ let j = !1;
405
406
  const N = (I) => {
406
407
  Object.defineProperty(I, "signal", {
407
408
  enumerable: !0,
408
- get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
409
- g = !0;
409
+ get: () => (t.signal.aborted ? j = !0 : t.signal.addEventListener("abort", () => {
410
+ j = !0;
410
411
  }), t.signal)
411
412
  });
412
- }, S = ze(t.options, t.fetchOptions), R = async (I, _, z) => {
413
- if (g)
413
+ }, S = Qe(t.options, t.fetchOptions), R = async (I, _, z) => {
414
+ if (j)
414
415
  return Promise.reject();
415
416
  if (_ == null && I.pages.length)
416
417
  return Promise.resolve(I);
417
- const ht = (() => {
418
+ const ft = (() => {
418
419
  const Lt = {
419
420
  client: t.client,
420
421
  queryKey: t.queryKey,
@@ -423,14 +424,14 @@ function Zt(e) {
423
424
  meta: t.options.meta
424
425
  };
425
426
  return N(Lt), Lt;
426
- })(), pt = await S(ht), { maxPages: C } = t.options, G = z ? Le : Qe;
427
+ })(), ct = await S(ft), { maxPages: C } = t.options, G = z ? Ve : $e;
427
428
  return {
428
- pages: G(I.pages, pt, C),
429
+ pages: G(I.pages, ct, C),
429
430
  pageParams: G(I.pageParams, _, C)
430
431
  };
431
432
  };
432
433
  if (i && d.length) {
433
- const I = i === "backward", _ = I ? mr : Xt, z = {
434
+ const I = i === "backward", _ = I ? hr : Xt, z = {
434
435
  pages: d,
435
436
  pageParams: l
436
437
  }, J = _(n, z);
@@ -447,9 +448,9 @@ function Zt(e) {
447
448
  return m;
448
449
  };
449
450
  t.options.persister ? t.fetchFn = () => {
450
- var g, N;
451
- return (N = (g = t.options).persister) == null ? void 0 : N.call(
452
- g,
451
+ var j, N;
452
+ return (N = (j = t.options).persister) == null ? void 0 : N.call(
453
+ j,
453
454
  u,
454
455
  {
455
456
  client: t.client,
@@ -472,11 +473,11 @@ function Xt(e, { pages: t, pageParams: r }) {
472
473
  r
473
474
  ) : void 0;
474
475
  }
475
- function mr(e, { pages: t, pageParams: r }) {
476
+ function hr(e, { pages: t, pageParams: r }) {
476
477
  var n;
477
478
  return t.length > 0 ? (n = e.getPreviousPageParam) == null ? void 0 : n.call(e, t[0], t, r[0], r) : void 0;
478
479
  }
479
- var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
480
+ var k, K, Z, et, rt, X, nt, ot, be, pr = (be = class {
480
481
  constructor(e = {}) {
481
482
  M(this, k);
482
483
  M(this, K);
@@ -486,18 +487,18 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
486
487
  M(this, X);
487
488
  M(this, nt);
488
489
  M(this, ot);
489
- w(this, k, e.queryCache || new dr()), w(this, K, e.mutationCache || new ur()), w(this, Z, e.defaultOptions || {}), w(this, et, /* @__PURE__ */ new Map()), w(this, rt, /* @__PURE__ */ new Map()), w(this, X, 0);
490
+ w(this, k, e.queryCache || new lr()), w(this, K, e.mutationCache || new xr()), w(this, Z, e.defaultOptions || {}), w(this, et, /* @__PURE__ */ new Map()), w(this, rt, /* @__PURE__ */ new Map()), w(this, X, 0);
490
491
  }
491
492
  mount() {
492
- ft(this, X)._++, h(this, X) === 1 && (w(this, nt, Ve.subscribe(async (e) => {
493
+ bt(this, X)._++, h(this, X) === 1 && (w(this, nt, We.subscribe(async (e) => {
493
494
  e && (await this.resumePausedMutations(), h(this, k).onFocus());
494
- })), w(this, ot, At.subscribe(async (e) => {
495
+ })), w(this, ot, Wt.subscribe(async (e) => {
495
496
  e && (await this.resumePausedMutations(), h(this, k).onOnline());
496
497
  })));
497
498
  }
498
499
  unmount() {
499
500
  var e, t;
500
- ft(this, X)._--, h(this, X) === 0 && ((e = h(this, nt)) == null || e.call(this), w(this, nt, void 0), (t = h(this, ot)) == null || t.call(this), w(this, ot, void 0));
501
+ bt(this, X)._--, h(this, X) === 0 && ((e = h(this, nt)) == null || e.call(this), w(this, nt, void 0), (t = h(this, ot)) == null || t.call(this), w(this, ot, void 0));
501
502
  }
502
503
  isFetching(e) {
503
504
  return h(this, k).findAll({ ...e, fetchStatus: "fetching" }).length;
@@ -519,7 +520,7 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
519
520
  }
520
521
  ensureQueryData(e) {
521
522
  const t = this.defaultQueryOptions(e), r = h(this, k).build(this, t), n = r.state.data;
522
- return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(Wt(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
523
+ return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(At(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
523
524
  }
524
525
  getQueriesData(e) {
525
526
  return h(this, k).findAll(e).map(({ queryKey: t, state: r }) => {
@@ -530,7 +531,7 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
530
531
  setQueryData(e, t, r) {
531
532
  const n = this.defaultQueryOptions({ queryKey: e }), i = h(this, k).get(
532
533
  n.queryHash
533
- ), d = i == null ? void 0 : i.state.data, l = $e(t, d);
534
+ ), d = i == null ? void 0 : i.state.data, l = Ae(t, d);
534
535
  if (l !== void 0)
535
536
  return h(this, k).build(this, n).setData(l, { ...r, manual: !0 });
536
537
  }
@@ -603,7 +604,7 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
603
604
  t.retry === void 0 && (t.retry = !1);
604
605
  const r = h(this, k).build(this, t);
605
606
  return r.isStaleByTime(
606
- Wt(t.staleTime, r)
607
+ At(t.staleTime, r)
607
608
  ) ? r.fetch(t) : Promise.resolve(r.state.data);
608
609
  }
609
610
  prefetchQuery(e) {
@@ -619,7 +620,7 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
619
620
  return e.behavior = Zt(e.pages), this.ensureQueryData(e);
620
621
  }
621
622
  resumePausedMutations() {
622
- return At.isOnline() ? h(this, K).resumePausedMutations() : Promise.resolve();
623
+ return Wt.isOnline() ? h(this, K).resumePausedMutations() : Promise.resolve();
623
624
  }
624
625
  getQueryCache() {
625
626
  return h(this, k);
@@ -666,10 +667,10 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
666
667
  ...e,
667
668
  _defaulted: !0
668
669
  };
669
- return t.queryHash || (t.queryHash = ge(
670
+ return t.queryHash || (t.queryHash = je(
670
671
  t.queryKey,
671
672
  t
672
- )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Ae && (t.enabled = !1), t;
673
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === qe && (t.enabled = !1), t;
673
674
  }
674
675
  defaultMutationOptions(e) {
675
676
  return e != null && e._defaulted ? e : {
@@ -682,24 +683,25 @@ var k, K, Z, et, rt, X, nt, ot, ce, xr = (ce = class {
682
683
  clear() {
683
684
  h(this, k).clear(), h(this, K).clear();
684
685
  }
685
- }, k = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), et = new WeakMap(), rt = new WeakMap(), X = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), ce);
686
- const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resolve().then(() => wo)), fr = P(() => Promise.resolve().then(() => Dn)), cr = P(() => Promise.resolve().then(() => Rn)), br = P(() => Promise.resolve().then(() => $r)), gr = P(() => Promise.resolve().then(() => Br)), jr = P(() => Promise.resolve().then(() => nn)), yr = P(() => Promise.resolve().then(() => Jr)), kr = P(() => Promise.resolve().then(() => eo)), wr = P(() => Promise.resolve().then(() => Wr)), vr = P(() => Promise.resolve().then(() => Mn)), Nr = P(() => Promise.resolve().then(() => Or)), Cr = {
687
- header: gr,
688
- seoHeader: kr,
689
- banner: hr,
690
- calculator: pr,
691
- form: fr,
692
- formDialog: cr,
693
- stepper: wr,
694
- benefit: Nr,
695
- longBanner: yr,
696
- usefulInfo: vr,
697
- interLinking: jr,
698
- footer: br
699
- }, Ir = Object.keys(Cr), j = Ir.reduce(
686
+ }, k = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), et = new WeakMap(), rt = new WeakMap(), X = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), be);
687
+ const fr = E(() => Promise.resolve().then(() => Rr)), cr = E(() => Promise.resolve().then(() => Co)), br = E(() => Promise.resolve().then(() => zn)), gr = E(() => Promise.resolve().then(() => Qn)), jr = E(() => Promise.resolve().then(() => qr)), yr = E(() => Promise.resolve().then(() => Dr)), kr = E(() => Promise.resolve().then(() => an)), wr = E(() => Promise.resolve().then(() => tn)), vr = E(() => Promise.resolve().then(() => oo)), Nr = E(() => Promise.resolve().then(() => Kr)), Cr = E(() => Promise.resolve().then(() => Tn)), Ir = E(() => Promise.resolve().then(() => Er)), Mr = E(() => Promise.resolve().then(() => _o)), _r = {
688
+ header: yr,
689
+ seoHeader: vr,
690
+ banner: fr,
691
+ calculator: cr,
692
+ form: br,
693
+ formDialog: gr,
694
+ stepper: Nr,
695
+ benefit: Ir,
696
+ longBanner: wr,
697
+ usefulInfo: Cr,
698
+ interLinking: kr,
699
+ footer: jr,
700
+ infoBlock: Mr
701
+ }, Sr = Object.keys(_r), g = Sr.reduce(
700
702
  (e, t) => (e[t] = t, e),
701
703
  {}
702
- ), Mr = (e) => ke(() => {
704
+ ), Tr = (e) => we(() => {
703
705
  switch (e.handler) {
704
706
  case "navigate": {
705
707
  const { url: r, target: n, rel: i } = e;
@@ -708,7 +710,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
708
710
  }
709
711
  case "scroll": {
710
712
  const { widgetId: r } = e ?? "";
711
- se({ widgetId: r });
713
+ er({ widgetId: r });
712
714
  break;
713
715
  }
714
716
  case "dialog": {
@@ -722,9 +724,9 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
722
724
  }
723
725
  }
724
726
  }, [e]), Y = ({ handlerOptions: e, className: t, ...r }) => {
725
- const n = Mr(e);
726
- return /* @__PURE__ */ o.jsx(gt, { className: a(t), onClick: n, ...r, children: r.children });
727
- }, _r = E(
727
+ const n = Tr(e);
728
+ return /* @__PURE__ */ o.jsx(ht, { className: a(t), onClick: n, ...r, children: r.children });
729
+ }, Or = D(
728
730
  "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",
729
731
  {
730
732
  variants: {
@@ -735,7 +737,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
735
737
  }
736
738
  }
737
739
  }
738
- ), Sr = ({
740
+ ), Fr = ({
739
741
  subtitle: e,
740
742
  title: t,
741
743
  img: r,
@@ -751,7 +753,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
751
753
  "li",
752
754
  {
753
755
  style: { backgroundColor: x ?? "#F3F4F7" },
754
- className: a(_r({ variant: m }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
756
+ className: a(Or({ variant: m }), { "pb-0": n }, { "pb-12": !n }, i == null ? void 0 : i.root),
755
757
  children: [
756
758
  /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
757
759
  /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
@@ -771,7 +773,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
771
773
  },
772
774
  t
773
775
  );
774
- }, Tr = E("grid gap-4", {
776
+ }, Br = D("grid gap-4", {
775
777
  variants: {
776
778
  variant: {
777
779
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -779,7 +781,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
779
781
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
780
782
  }
781
783
  }
782
- }), Yt = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: j.benefit, "data-test-id": j.benefit, className: a("pb-20", n == null ? void 0 : n.root), children: /* @__PURE__ */ o.jsxs(B, { className: n == null ? void 0 : n.container, children: [
784
+ }), Yt = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: g.benefit, "data-test-id": g.benefit, className: a("pb-20", n == null ? void 0 : n.root), children: /* @__PURE__ */ o.jsxs(B, { className: n == null ? void 0 : n.container, children: [
783
785
  /* @__PURE__ */ o.jsx(
784
786
  "div",
785
787
  {
@@ -787,17 +789,17 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
787
789
  className: a("mob-headline-bold-s mb-8 desktop:desk-headline-bold-m", n == null ? void 0 : n.heading)
788
790
  }
789
791
  ),
790
- /* @__PURE__ */ o.jsx("ul", { className: a(Tr({ variant: r }), n == null ? void 0 : n.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(Sr, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
791
- ] }) }), Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
792
+ /* @__PURE__ */ o.jsx("ul", { className: a(Br({ variant: r }), n == null ? void 0 : n.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(Fr, { variant: r, classes: n == null ? void 0 : n.item, ...i }, i.title)) })
793
+ ] }) }), Er = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
792
794
  __proto__: null,
793
795
  Benefit: Yt,
794
796
  default: Yt
795
- }, Symbol.toStringTag, { value: "Module" })), Fr = ({ variant: e, details: t }) => {
797
+ }, Symbol.toStringTag, { value: "Module" })), Pr = ({ variant: e, details: t }) => {
796
798
  switch (e) {
797
799
  case "withButton":
798
800
  return /* @__PURE__ */ o.jsx(Y, { ...t });
799
801
  case "withPhone":
800
- return /* @__PURE__ */ o.jsx(je, { classes: { root: "items-end" }, ...t, phone: wt(t.phone) });
802
+ return /* @__PURE__ */ o.jsx(ye, { classes: { root: "items-end" }, ...t, phone: wt(t.phone) });
801
803
  default:
802
804
  return null;
803
805
  }
@@ -806,8 +808,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
806
808
  return /* @__PURE__ */ o.jsx(
807
809
  "header",
808
810
  {
809
- id: j.header,
810
- "data-test-id": j.header,
811
+ id: g.header,
812
+ "data-test-id": g.header,
811
813
  className: a("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.root),
812
814
  children: /* @__PURE__ */ o.jsx(B, { className: a(n == null ? void 0 : n.container), children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
813
815
  /* @__PURE__ */ o.jsx(
@@ -821,18 +823,18 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
821
823
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
822
824
  n == null ? void 0 : n.logo
823
825
  ),
824
- children: We[r]
826
+ children: Ue[r]
825
827
  }
826
828
  ),
827
- Fr(e)
829
+ Pr(e)
828
830
  ] }) })
829
831
  }
830
832
  );
831
- }, Br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
833
+ }, Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
832
834
  __proto__: null,
833
835
  Header: Jt,
834
836
  default: Jt
835
- }, Symbol.toStringTag, { value: "Module" })), Er = ({
837
+ }, Symbol.toStringTag, { value: "Module" })), Hr = ({
836
838
  headTitle: e,
837
839
  subtitle: t,
838
840
  buttonsConfig: r,
@@ -845,7 +847,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
845
847
  renderImage: u
846
848
  }) => {
847
849
  var N;
848
- const { isDesktop: p, isMobile: f } = at(), { primary: y, secondary: c } = r || {}, v = (S) => u ? u(S) : /* @__PURE__ */ o.jsx("img", { ...S }), g = /* @__PURE__ */ o.jsx(
850
+ const { isDesktop: p, isMobile: f } = at(), { primary: y, secondary: c } = r || {}, v = (S) => u ? u(S) : /* @__PURE__ */ o.jsx("img", { ...S }), j = /* @__PURE__ */ o.jsx(
849
851
  "div",
850
852
  {
851
853
  className: a(
@@ -859,8 +861,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
859
861
  /* @__PURE__ */ o.jsxs(
860
862
  "section",
861
863
  {
862
- id: j.banner,
863
- "data-test-id": j.banner,
864
+ id: g.banner,
865
+ "data-test-id": g.banner,
864
866
  style: { backgroundColor: x ?? "#d9edff" },
865
867
  className: a("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root),
866
868
  children: [
@@ -917,12 +919,12 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
917
919
  }
918
920
  )
919
921
  ] }) }),
920
- p && (n == null ? void 0 : n.enabled) && g
922
+ p && (n == null ? void 0 : n.enabled) && j
921
923
  ] })
922
924
  ]
923
925
  }
924
926
  ),
925
- f && (n == null ? void 0 : n.enabled) && g
927
+ f && (n == null ? void 0 : n.enabled) && j
926
928
  ] });
927
929
  }, Gt = ({
928
930
  headTitle: e,
@@ -937,13 +939,13 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
937
939
  renderImage: u
938
940
  }) => {
939
941
  var c, v;
940
- const { primary: p, secondary: f } = r || {}, y = (g) => u ? u(g) : /* @__PURE__ */ o.jsx("img", { ...g });
942
+ const { primary: p, secondary: f } = r || {}, y = (j) => u ? u(j) : /* @__PURE__ */ o.jsx("img", { ...j });
941
943
  return /* @__PURE__ */ o.jsxs(
942
944
  "section",
943
945
  {
944
- id: j.banner,
946
+ id: g.banner,
945
947
  style: { backgroundColor: x ?? "#d9edff" },
946
- "data-test-id": j.banner,
948
+ "data-test-id": g.banner,
947
949
  className: a("", i == null ? void 0 : i.root),
948
950
  children: [
949
951
  /* @__PURE__ */ o.jsxs(B, { className: a("relative desktop:h-[456px]", i == null ? void 0 : i.container), children: [
@@ -1049,11 +1051,11 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1049
1051
  case "separateImg":
1050
1052
  return /* @__PURE__ */ o.jsx(Gt, { ...t });
1051
1053
  case "fullImg":
1052
- return /* @__PURE__ */ o.jsx(Er, { ...t });
1054
+ return /* @__PURE__ */ o.jsx(Hr, { ...t });
1053
1055
  default:
1054
1056
  return /* @__PURE__ */ o.jsx(Gt, { ...t });
1055
1057
  }
1056
- }, Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1058
+ }, Rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1057
1059
  __proto__: null,
1058
1060
  Banner: st,
1059
1061
  default: st
@@ -1077,7 +1079,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1077
1079
  t == null ? void 0 : t.item
1078
1080
  ),
1079
1081
  children: [
1080
- /* @__PURE__ */ o.jsx(H, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
1082
+ /* @__PURE__ */ o.jsx(P, { as: "h4", className: a("text-color-dark", t == null ? void 0 : t.title), children: i }),
1081
1083
  /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-secondary", t == null ? void 0 : t.description), children: d })
1082
1084
  ]
1083
1085
  },
@@ -1085,7 +1087,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1085
1087
  ))
1086
1088
  }
1087
1089
  );
1088
- }, Dr = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n }) => /* @__PURE__ */ o.jsx(
1090
+ }, zr = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n }) => /* @__PURE__ */ o.jsx(
1089
1091
  "a",
1090
1092
  {
1091
1093
  className: a("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
@@ -1094,8 +1096,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1094
1096
  children: /* @__PURE__ */ o.jsx(b, { name: r, className: a("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
1095
1097
  },
1096
1098
  n
1097
- )) }), Hr = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1098
- je,
1099
+ )) }), Lr = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
1100
+ ye,
1099
1101
  {
1100
1102
  phone: wt(r),
1101
1103
  text: n,
@@ -1106,7 +1108,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1106
1108
  }
1107
1109
  },
1108
1110
  r
1109
- )) }), Rr = ({ classes: e, details: t }) => /* @__PURE__ */ o.jsx(
1111
+ )) }), Qr = ({ classes: e, details: t }) => /* @__PURE__ */ o.jsx(
1110
1112
  "div",
1111
1113
  {
1112
1114
  className: a(
@@ -1117,7 +1119,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1117
1119
  ({ column: r }) => r == null ? void 0 : r.map(({ groupLabel: n, links: i }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
1118
1120
  /* @__PURE__ */ o.jsx("div", { className: a("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: n }),
1119
1121
  /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: i == null ? void 0 : i.map(({ path: d, label: l }) => /* @__PURE__ */ o.jsx(
1120
- jt,
1122
+ pt,
1121
1123
  {
1122
1124
  href: d,
1123
1125
  "aria-label": l,
@@ -1133,13 +1135,13 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1133
1135
  ] }, n))
1134
1136
  )
1135
1137
  }
1136
- ), zr = ({ text: e, classes: t }) => /* @__PURE__ */ o.jsx(
1138
+ ), Vr = ({ text: e, classes: t }) => /* @__PURE__ */ o.jsx(
1137
1139
  "div",
1138
1140
  {
1139
1141
  className: a("desk-body-regular-m text-color-footer", t == null ? void 0 : t.copyRight),
1140
1142
  dangerouslySetInnerHTML: { __html: e }
1141
1143
  }
1142
- ), Lr = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1144
+ ), $r = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1143
1145
  "a",
1144
1146
  {
1145
1147
  "aria-label": "logo",
@@ -1147,8 +1149,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1147
1149
  className: a("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", e == null ? void 0 : e.footerLogo),
1148
1150
  children: /* @__PURE__ */ o.jsx(b, { name: "brandLogos/logoWhite", className: a("size-full", e == null ? void 0 : e.footerLogoIcon) })
1149
1151
  }
1150
- ), Qr = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1151
- jt,
1152
+ ), Wr = ({ classes: e }) => /* @__PURE__ */ o.jsx(
1153
+ pt,
1152
1154
  {
1153
1155
  intent: "white",
1154
1156
  href: "https://sovcombank.ru/site-map",
@@ -1161,7 +1163,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1161
1163
  },
1162
1164
  children: "Карта сайта"
1163
1165
  }
1164
- ), Vr = ({ text: e, classes: t }) => {
1166
+ ), Ar = ({ text: e, classes: t }) => {
1165
1167
  const [r, n] = ut.useState(!1), [i, d] = ut.useState(!1), l = ut.useRef(null);
1166
1168
  return ut.useEffect(() => {
1167
1169
  const m = l.current;
@@ -1200,8 +1202,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1200
1202
  }) => /* @__PURE__ */ o.jsx(
1201
1203
  "footer",
1202
1204
  {
1203
- id: j.footer,
1204
- "data-test-id": j.footer,
1205
+ id: g.footer,
1206
+ "data-test-id": g.footer,
1205
1207
  className: a("w-full bg-color-footer py-8 desktop:py-10", i == null ? void 0 : i.root),
1206
1208
  children: /* @__PURE__ */ o.jsx(B, { className: a(i == null ? void 0 : i.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: a("mobile:pb-[176px]", i == null ? void 0 : i.footerWrapper), children: [
1207
1209
  /* @__PURE__ */ o.jsxs(
@@ -1213,15 +1215,15 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1213
1215
  ),
1214
1216
  children: [
1215
1217
  /* @__PURE__ */ o.jsxs("div", { className: a(i == null ? void 0 : i.footerSocialBlock), children: [
1216
- /* @__PURE__ */ o.jsx(Lr, { classes: i == null ? void 0 : i.footerLogo }),
1217
- e.enabled && /* @__PURE__ */ o.jsx(Dr, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1218
+ /* @__PURE__ */ o.jsx($r, { classes: i == null ? void 0 : i.footerLogo }),
1219
+ e.enabled && /* @__PURE__ */ o.jsx(zr, { socialsLinks: e.links, classes: i == null ? void 0 : i.socialLinks })
1218
1220
  ] }),
1219
- t.enabled && /* @__PURE__ */ o.jsx(Hr, { phones: t.items, classes: i == null ? void 0 : i.phonesBlock })
1221
+ t.enabled && /* @__PURE__ */ o.jsx(Lr, { phones: t.items, classes: i == null ? void 0 : i.phonesBlock })
1220
1222
  ]
1221
1223
  }
1222
1224
  ),
1223
- !O.isArrayEmpty(d) && /* @__PURE__ */ o.jsx(Rr, { details: d, classes: i == null ? void 0 : i.navLinks }),
1224
- r.enabled && /* @__PURE__ */ o.jsx(Vr, { text: r.text }),
1225
+ !O.isArrayEmpty(d) && /* @__PURE__ */ o.jsx(Qr, { details: d, classes: i == null ? void 0 : i.navLinks }),
1226
+ r.enabled && /* @__PURE__ */ o.jsx(Ar, { text: r.text }),
1225
1227
  /* @__PURE__ */ o.jsxs(
1226
1228
  "div",
1227
1229
  {
@@ -1230,18 +1232,18 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1230
1232
  i == null ? void 0 : i.footerBottom
1231
1233
  ),
1232
1234
  children: [
1233
- n.enabled && /* @__PURE__ */ o.jsx(zr, { text: n.text, classes: i == null ? void 0 : i.copyright }),
1234
- l && /* @__PURE__ */ o.jsx(Qr, { classes: i == null ? void 0 : i.siteMap })
1235
+ n.enabled && /* @__PURE__ */ o.jsx(Vr, { text: n.text, classes: i == null ? void 0 : i.copyright }),
1236
+ l && /* @__PURE__ */ o.jsx(Wr, { classes: i == null ? void 0 : i.siteMap })
1235
1237
  ]
1236
1238
  }
1237
1239
  )
1238
1240
  ] }) })
1239
1241
  }
1240
- ), $r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1242
+ ), qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1241
1243
  __proto__: null,
1242
1244
  Footer: te,
1243
1245
  default: te
1244
- }, Symbol.toStringTag, { value: "Module" })), Ar = ({ classes: e, index: t, variant: r, title: n, description: i }) => {
1246
+ }, Symbol.toStringTag, { value: "Module" })), Ur = ({ classes: e, index: t, variant: r, title: n, description: i }) => {
1245
1247
  const d = r === "withTitleAndDescription" && n;
1246
1248
  return /* @__PURE__ */ o.jsxs(
1247
1249
  "div",
@@ -1280,8 +1282,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1280
1282
  ]
1281
1283
  }
1282
1284
  );
1283
- }, ee = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: j.stepper, "data-test-id": j.stepper, className: n == null ? void 0 : n.root, children: /* @__PURE__ */ o.jsx(B, { className: n == null ? void 0 : n.container, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-6 desktop:items-start desktop:gap-12", n == null ? void 0 : n.wrapper), children: [
1284
- /* @__PURE__ */ o.jsx(H, { as: "h2", className: a("text-color-dark", n == null ? void 0 : n.headline), children: e }),
1285
+ }, ee = ({ headline: e, details: t, variant: r, classes: n }) => /* @__PURE__ */ o.jsx("section", { id: g.stepper, "data-test-id": g.stepper, className: n == null ? void 0 : n.root, children: /* @__PURE__ */ o.jsx(B, { className: n == null ? void 0 : n.container, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-6 desktop:items-start desktop:gap-12", n == null ? void 0 : n.wrapper), children: [
1286
+ /* @__PURE__ */ o.jsx(P, { as: "h2", className: a("text-color-dark", n == null ? void 0 : n.headline), children: e }),
1285
1287
  /* @__PURE__ */ o.jsx(
1286
1288
  "div",
1287
1289
  {
@@ -1289,14 +1291,14 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1289
1291
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
1290
1292
  n == null ? void 0 : n.stepsWrapper
1291
1293
  ),
1292
- children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ o.jsx(Ar, { variant: r, ...i, index: d + 1, classes: n == null ? void 0 : n.step }, i.description))
1294
+ children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ o.jsx(Ur, { variant: r, ...i, index: d + 1, classes: n == null ? void 0 : n.step }, i.description))
1293
1295
  }
1294
1296
  )
1295
- ] }) }) }), Wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1297
+ ] }) }) }), Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1296
1298
  __proto__: null,
1297
1299
  Stepper: ee,
1298
1300
  default: ee
1299
- }, Symbol.toStringTag, { value: "Module" })), qr = E("", {
1301
+ }, Symbol.toStringTag, { value: "Module" })), Zr = D("", {
1300
1302
  variants: {
1301
1303
  intent: {
1302
1304
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -1312,7 +1314,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1312
1314
  defaultVariants: {
1313
1315
  intent: "twoItems"
1314
1316
  }
1315
- }), Ur = E("", {
1317
+ }), Xr = D("", {
1316
1318
  variants: {
1317
1319
  intent: {
1318
1320
  twoItems: "",
@@ -1344,7 +1346,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1344
1346
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
1345
1347
  }
1346
1348
  ]
1347
- }), Kr = E("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
1349
+ }), Yr = D("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
1348
1350
  variants: {
1349
1351
  intent: {
1350
1352
  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',
@@ -1354,7 +1356,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1354
1356
  defaultVariants: {
1355
1357
  intent: "twoItems"
1356
1358
  }
1357
- }), Zr = E("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
1359
+ }), Jr = D("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
1358
1360
  variants: {
1359
1361
  intent: {
1360
1362
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -1380,7 +1382,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1380
1382
  class: "desktop:h-[272px] desktop:w-[500px]"
1381
1383
  }
1382
1384
  ]
1383
- }), Xr = ({ data: e, intent: t }) => {
1385
+ }), Gr = ({ data: e, intent: t }) => {
1384
1386
  const {
1385
1387
  title: r,
1386
1388
  description: n,
@@ -1388,14 +1390,14 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1388
1390
  enabled: !1
1389
1391
  }
1390
1392
  } = e;
1391
- return /* @__PURE__ */ o.jsx("li", { className: a(Kr({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1393
+ return /* @__PURE__ */ o.jsx("li", { className: a(Yr({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
1392
1394
  /* @__PURE__ */ o.jsxs("div", { className: a("mb-2 flex items-center gap-2"), children: [
1393
1395
  /* @__PURE__ */ o.jsx("h4", { className: a("mob-title-bold-m text-color-dark"), children: r }),
1394
1396
  i.enabled && /* @__PURE__ */ o.jsx(Tt, { triggerElement: /* @__PURE__ */ o.jsx(b, { className: a("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i.text })
1395
1397
  ] }),
1396
1398
  /* @__PURE__ */ o.jsx("div", { className: a("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
1397
1399
  ] }) });
1398
- }, It = ({ intent: e, headline: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: a(qr({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), Yr = ({ details: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: a(Ur({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(Xr, { intent: t, data: n }, i)) }), re = ({
1400
+ }, It = ({ intent: e, headline: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: a(Zr({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), sr = ({ details: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: a(Xr({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(Gr, { intent: t, data: n }, i)) }), re = ({
1399
1401
  headline: e,
1400
1402
  buttonConfig: t,
1401
1403
  intent: r = "twoItems",
@@ -1404,7 +1406,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1404
1406
  classes: d
1405
1407
  }) => {
1406
1408
  const l = r === "fourItems", m = r === "twoItems", x = i && "url" in i && O.isObject(i) ? /* @__PURE__ */ o.jsx("img", { className: "w-full object-contain", alt: i.alt, src: i.url }) : i;
1407
- return /* @__PURE__ */ o.jsx("section", { id: j.longBanner, "data-test-id": j.longBanner, className: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(B, { className: a(d == null ? void 0 : d.container), children: [
1409
+ return /* @__PURE__ */ o.jsx("section", { id: g.longBanner, "data-test-id": g.longBanner, className: a(d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsxs(B, { className: a(d == null ? void 0 : d.container), children: [
1408
1410
  m && /* @__PURE__ */ o.jsx(It, { intent: r, headline: e }),
1409
1411
  /* @__PURE__ */ o.jsxs(
1410
1412
  "div",
@@ -1415,14 +1417,14 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1415
1417
  ),
1416
1418
  children: [
1417
1419
  l && /* @__PURE__ */ o.jsx(It, { intent: r, headline: e, desktopHidden: !0 }),
1418
- /* @__PURE__ */ o.jsx("div", { className: a(Zr({ intent: r, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: x }),
1420
+ /* @__PURE__ */ o.jsx("div", { className: a(Jr({ intent: r, withButton: t == null ? void 0 : t.enabled }), d == null ? void 0 : d.imgContainer), children: x }),
1419
1421
  /* @__PURE__ */ o.jsxs(
1420
1422
  "div",
1421
1423
  {
1422
1424
  className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
1423
1425
  children: [
1424
1426
  l && /* @__PURE__ */ o.jsx(It, { intent: r, headline: e, mobileHidden: !0 }),
1425
- /* @__PURE__ */ o.jsx(Yr, { details: n, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1427
+ /* @__PURE__ */ o.jsx(sr, { details: n, intent: r, withButton: (t == null ? void 0 : t.enabled) ?? !1 }),
1426
1428
  (t == null ? void 0 : t.enabled) && t && /* @__PURE__ */ o.jsx(
1427
1429
  Y,
1428
1430
  {
@@ -1439,7 +1441,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1439
1441
  }
1440
1442
  )
1441
1443
  ] }) });
1442
- }, Jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1444
+ }, tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1443
1445
  __proto__: null,
1444
1446
  LongBanner: re,
1445
1447
  default: re
@@ -1447,7 +1449,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1447
1449
  ESIA: "esia",
1448
1450
  MOBILE_ID: "mobileId",
1449
1451
  COMBINE: "combine"
1450
- }, Ce = ({ children: e, isLoading: t, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
1452
+ }, Me = ({ children: e, isLoading: t, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
1451
1453
  "div",
1452
1454
  {
1453
1455
  tabIndex: 0,
@@ -1465,11 +1467,11 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1465
1467
  { "items-center": t },
1466
1468
  r == null ? void 0 : r.wrapper
1467
1469
  ),
1468
- children: t ? /* @__PURE__ */ o.jsx(qe, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : e
1470
+ children: t ? /* @__PURE__ */ o.jsx(Ke, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : e
1469
1471
  }
1470
1472
  )
1471
1473
  }
1472
- ), Gr = ({ ...e }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
1474
+ ), en = ({ ...e }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
1473
1475
  /* @__PURE__ */ o.jsx(
1474
1476
  "path",
1475
1477
  {
@@ -1497,7 +1499,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1497
1499
  /* @__PURE__ */ o.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
1498
1500
  /* @__PURE__ */ o.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
1499
1501
  ] }) })
1500
- ] }), Ie = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1502
+ ] }), _e = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
1501
1503
  /* @__PURE__ */ o.jsx(
1502
1504
  "a",
1503
1505
  {
@@ -1512,7 +1514,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1512
1514
  }
1513
1515
  ),
1514
1516
  (t == null ? void 0 : t.text) && (t == null ? void 0 : t.href) && /* @__PURE__ */ o.jsx(
1515
- jt,
1517
+ pt,
1516
1518
  {
1517
1519
  intent: "blue",
1518
1520
  withUnderline: !0,
@@ -1527,7 +1529,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1527
1529
  )
1528
1530
  ] }), ne = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1529
1531
  const { isMobile: l } = at();
1530
- return /* @__PURE__ */ o.jsx(Ce, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1532
+ return /* @__PURE__ */ o.jsx(Me, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1531
1533
  "div",
1532
1534
  {
1533
1535
  className: a(
@@ -1542,7 +1544,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1542
1544
  /* @__PURE__ */ o.jsx(b, { name: "logos/megafon", className: a("relative z-[8] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.megafonLogo) }),
1543
1545
  /* @__PURE__ */ o.jsx(b, { name: "logos/beeline", className: a("relative z-[7] -ml-4 size-7 desktop:size-8", d == null ? void 0 : d.beelineLogo) })
1544
1546
  ] }),
1545
- /* @__PURE__ */ o.jsx(Ie, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1547
+ /* @__PURE__ */ o.jsx(_e, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1546
1548
  /* @__PURE__ */ o.jsx(b, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1547
1549
  ] }),
1548
1550
  n && /* @__PURE__ */ o.jsx(Ot, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: n })
@@ -1551,7 +1553,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1551
1553
  ) });
1552
1554
  }, oe = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: d }) => {
1553
1555
  const { isMobile: l } = at();
1554
- return /* @__PURE__ */ o.jsx(Ce, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1556
+ return /* @__PURE__ */ o.jsx(Me, { isLoading: r, loaderProps: i, classes: d == null ? void 0 : d.authWrapper, children: /* @__PURE__ */ o.jsxs(
1555
1557
  "div",
1556
1558
  {
1557
1559
  className: a(
@@ -1561,15 +1563,15 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1561
1563
  ),
1562
1564
  children: [
1563
1565
  /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1 desktop:gap-4", d == null ? void 0 : d.textContent), children: [
1564
- /* @__PURE__ */ o.jsx(Gr, { className: a("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
1565
- /* @__PURE__ */ o.jsx(Ie, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1566
+ /* @__PURE__ */ o.jsx(en, { className: a("size-7 desktop:size-8", d == null ? void 0 : d.esiaLogo) }),
1567
+ /* @__PURE__ */ o.jsx(_e, { mainLink: e, subLink: t, isMobile: l, classes: d == null ? void 0 : d.links }),
1566
1568
  /* @__PURE__ */ o.jsx(b, { name: "arrows/arrowRight", className: a("mobile:hidden", d == null ? void 0 : d.arrowIcon) })
1567
1569
  ] }),
1568
1570
  n && /* @__PURE__ */ o.jsx(Ot, { className: a("bg-color-positive", d == null ? void 0 : d.badge), children: n })
1569
1571
  ]
1570
1572
  }
1571
1573
  ) });
1572
- }, sr = (e) => {
1574
+ }, rn = (e) => {
1573
1575
  switch (e.mode) {
1574
1576
  case Mt.ESIA:
1575
1577
  return /* @__PURE__ */ o.jsx(oe, { ...e });
@@ -1618,8 +1620,8 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1618
1620
  }
1619
1621
  );
1620
1622
  }
1621
- }, Eo = (e) => sr(e), ie = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: a("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n }) => /* @__PURE__ */ o.jsx(
1622
- jt,
1623
+ }, Qo = (e) => rn(e), ie = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: a("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n }) => /* @__PURE__ */ o.jsx(
1624
+ pt,
1623
1625
  {
1624
1626
  classes: {
1625
1627
  link: a("w-max", t == null ? void 0 : t.linkText),
@@ -1630,7 +1632,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1630
1632
  children: n
1631
1633
  },
1632
1634
  r
1633
- )) }), tn = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
1635
+ )) }), nn = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
1634
1636
  var d, l, m;
1635
1637
  const { isMobile: i } = at();
1636
1638
  return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
@@ -1656,7 +1658,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1656
1658
  }
1657
1659
  )
1658
1660
  ] });
1659
- }, en = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(tn, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), rn = E("grid gap-4 grid-cols-1", {
1661
+ }, on = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(nn, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), dn = D("grid gap-4 grid-cols-1", {
1660
1662
  variants: {
1661
1663
  variant: {
1662
1664
  twoCols: "desktop:grid-cols-2",
@@ -1680,14 +1682,14 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1680
1682
  return /* @__PURE__ */ o.jsx(
1681
1683
  "section",
1682
1684
  {
1683
- id: j.interLinking,
1684
- "data-test-id": j.interLinking,
1685
+ id: g.interLinking,
1686
+ "data-test-id": g.interLinking,
1685
1687
  className: a("min-w-full desktop:min-w-[1140px]", d == null ? void 0 : d.root),
1686
1688
  children: /* @__PURE__ */ o.jsx(B, { children: /* @__PURE__ */ o.jsx(
1687
1689
  dt,
1688
1690
  {
1689
1691
  defaultOpen: l,
1690
- label: /* @__PURE__ */ o.jsx(H, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1692
+ label: /* @__PURE__ */ o.jsx(P, { as: "h4", className: a("text-left", d == null ? void 0 : d.headline), children: r }),
1691
1693
  ...i,
1692
1694
  classes: {
1693
1695
  ...i == null ? void 0 : i.classes,
@@ -1696,16 +1698,16 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1696
1698
  },
1697
1699
  content: a("max-w-full bg-color-blue-grey-100 relative", (u = i == null ? void 0 : i.classes) == null ? void 0 : u.content)
1698
1700
  },
1699
- children: /* @__PURE__ */ o.jsx("div", { className: a(rn({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((p, f) => /* @__PURE__ */ o.jsx(en, { ...p, ...n, classes: d == null ? void 0 : d.column }, f)) })
1701
+ children: /* @__PURE__ */ o.jsx("div", { className: a(dn({ variant: e }), d == null ? void 0 : d.columnsWrapper), children: t == null ? void 0 : t.map((p, f) => /* @__PURE__ */ o.jsx(on, { ...p, ...n, classes: d == null ? void 0 : d.column }, f)) })
1700
1702
  }
1701
1703
  ) })
1702
1704
  }
1703
1705
  );
1704
- }, nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1706
+ }, an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1705
1707
  __proto__: null,
1706
1708
  InterLinking: de,
1707
1709
  default: de
1708
- }, Symbol.toStringTag, { value: "Module" })), on = ({ tabsNames: e, activeTab: t, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: e && e.map((i, d) => /* @__PURE__ */ o.jsx(
1710
+ }, Symbol.toStringTag, { value: "Module" })), ln = ({ tabsNames: e, activeTab: t, setActiveTab: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", n == null ? void 0 : n.tabs), children: e && e.map((i, d) => /* @__PURE__ */ o.jsx(
1709
1711
  "button",
1710
1712
  {
1711
1713
  onClick: () => r(d),
@@ -1719,10 +1721,10 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1719
1721
  children: i
1720
1722
  },
1721
1723
  i
1722
- )) }), dn = (e) => e.variant === "HTML", an = (e) => e.variant === "DOCUMENTS", ln = (e) => e.variant === "TABLE", un = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
1724
+ )) }), un = (e) => e.variant === "HTML", mn = (e) => e.variant === "DOCUMENTS", xn = (e) => e.variant === "TABLE", hn = ({ html: e, config: t, classes: r, accordionConfig: n }) => {
1723
1725
  const i = /* @__PURE__ */ o.jsx("div", { className: a(r == null ? void 0 : r.html), dangerouslySetInnerHTML: { __html: e ?? "" } });
1724
1726
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(dt, { label: t == null ? void 0 : t.accordionTitle, ...n, children: (n == null ? void 0 : n.children) ?? i }) : i });
1725
- }, mn = (e, t) => ({
1727
+ }, pn = (e, t) => ({
1726
1728
  rows: e == null ? void 0 : e.map(({ row: r }) => ({
1727
1729
  row: r == null ? void 0 : r.map((n, i) => {
1728
1730
  var d;
@@ -1732,21 +1734,21 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1732
1734
  };
1733
1735
  })
1734
1736
  }))
1735
- }), xn = E("flex flex-col", {
1737
+ }), fn = D("flex flex-col", {
1736
1738
  variants: {
1737
1739
  columnsVariant: {
1738
1740
  twoCols: "w-full max-w-[656px]",
1739
1741
  threeCols: "w-full max-w-[768px]"
1740
1742
  }
1741
1743
  }
1742
- }), hn = E("desktop:grid mobile:hidden px-4 mb-4", {
1744
+ }), cn = D("desktop:grid mobile:hidden px-4 mb-4", {
1743
1745
  variants: {
1744
1746
  columnsVariant: {
1745
1747
  twoCols: "grid-cols-2 gap-16",
1746
1748
  threeCols: "grid-cols-3 gap-12"
1747
1749
  }
1748
1750
  }
1749
- }), pn = ({ headings: e, columnsVariant: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a(hn({ columnsVariant: t }), r == null ? void 0 : r.row), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx("div", { className: a("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), fn = E("desktop:grid mobile:hidden items-center", {
1751
+ }), bn = ({ headings: e, columnsVariant: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: a(cn({ columnsVariant: t }), r == null ? void 0 : r.row), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx("div", { className: a("text-color-secondary", r == null ? void 0 : r.cell), children: n == null ? void 0 : n.heading }, n == null ? void 0 : n.heading)) }), gn = D("desktop:grid mobile:hidden items-center", {
1750
1752
  variants: {
1751
1753
  columnsVariant: {
1752
1754
  twoCols: "grid-cols-2 gap-16",
@@ -1757,21 +1759,21 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1757
1759
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
1758
1760
  }
1759
1761
  }
1760
- }), cn = ({ row: e, tableVariant: t, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(fn({ columnsVariant: r, tableVariant: t }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d }, l) => /* @__PURE__ */ o.jsx(
1762
+ }), jn = ({ row: e, tableVariant: t, columnsVariant: r, rowIndex: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(gn({ columnsVariant: r, tableVariant: t }), { "border-none": n === 0 }, i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d }, l) => /* @__PURE__ */ o.jsx(
1761
1763
  "div",
1762
1764
  {
1763
1765
  className: a("desk-body-regular-l text-color-dark", { "font-medium": l !== 0 }, i == null ? void 0 : i.cell),
1764
1766
  children: d && d
1765
1767
  },
1766
1768
  l
1767
- )) }), bn = E("mobile:flex desktop:hidden flex-col gap-2", {
1769
+ )) }), yn = D("mobile:flex desktop:hidden flex-col gap-2", {
1768
1770
  variants: {
1769
1771
  tableVariant: {
1770
1772
  filled: "px-4 py-4 odd:bg-color-primary-light-default",
1771
1773
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
1772
1774
  }
1773
1775
  }
1774
- }), gn = ({ row: e, tableVariant: t, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(bn({ tableVariant: t }), i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d, heading: l }, m) => /* @__PURE__ */ o.jsxs("div", { className: a("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1776
+ }), kn = ({ row: e, tableVariant: t, columnsVariant: r, headingsExist: n, classes: i }) => /* @__PURE__ */ o.jsx("div", { className: a(yn({ tableVariant: t }), i == null ? void 0 : i.row), children: e == null ? void 0 : e.map(({ cell: d, heading: l }, m) => /* @__PURE__ */ o.jsxs("div", { className: a("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !n }, i == null ? void 0 : i.wrapper), children: [
1775
1777
  l && /* @__PURE__ */ o.jsx("div", { className: a("mob-body-regular-l text-color-secondary", i == null ? void 0 : i.heading), children: l }),
1776
1778
  /* @__PURE__ */ o.jsx(
1777
1779
  "div",
@@ -1786,13 +1788,13 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1786
1788
  children: d
1787
1789
  }
1788
1790
  )
1789
- ] }, m)) }), jn = ({ tableVariant: e, rows: t, headings: r, columnsVariant: n, classes: i }) => {
1791
+ ] }, m)) }), wn = ({ tableVariant: e, rows: t, headings: r, columnsVariant: n, classes: i }) => {
1790
1792
  var m;
1791
- const d = ((m = mn(t, r)) == null ? void 0 : m.rows) ?? [], l = !!(r && r.length > 0);
1793
+ const d = ((m = pn(t, r)) == null ? void 0 : m.rows) ?? [], l = !!(r && r.length > 0);
1792
1794
  return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", i == null ? void 0 : i.wrapper), children: [
1793
- l && /* @__PURE__ */ o.jsx(pn, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1795
+ l && /* @__PURE__ */ o.jsx(bn, { headings: r, columnsVariant: n, classes: i == null ? void 0 : i.desktopHeading }),
1794
1796
  t == null ? void 0 : t.map((x, u) => /* @__PURE__ */ o.jsx(
1795
- cn,
1797
+ jn,
1796
1798
  {
1797
1799
  rowIndex: u,
1798
1800
  tableVariant: e,
@@ -1803,7 +1805,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1803
1805
  u
1804
1806
  )),
1805
1807
  d == null ? void 0 : d.map((x, u) => /* @__PURE__ */ o.jsx(
1806
- gn,
1808
+ kn,
1807
1809
  {
1808
1810
  headingsExist: l,
1809
1811
  tableVariant: e,
@@ -1814,7 +1816,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1814
1816
  u
1815
1817
  ))
1816
1818
  ] });
1817
- }, yn = ({
1819
+ }, vn = ({
1818
1820
  tableVariant: e,
1819
1821
  description: t,
1820
1822
  columnsVariant: r,
@@ -1825,9 +1827,9 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1825
1827
  accordionConfig: m,
1826
1828
  classes: x
1827
1829
  }) => {
1828
- const u = /* @__PURE__ */ o.jsxs("div", { className: a(xn({ columnsVariant: r }), x == null ? void 0 : x.wrapper), children: [
1829
- d && /* @__PURE__ */ o.jsx(H, { as: "h4", className: a("mb-4 desktop:mb-6", x == null ? void 0 : x.headline), children: d }),
1830
- /* @__PURE__ */ o.jsx(jn, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
1830
+ const u = /* @__PURE__ */ o.jsxs("div", { className: a(fn({ columnsVariant: r }), x == null ? void 0 : x.wrapper), children: [
1831
+ d && /* @__PURE__ */ o.jsx(P, { as: "h4", className: a("mb-4 desktop:mb-6", x == null ? void 0 : x.headline), children: d }),
1832
+ /* @__PURE__ */ o.jsx(wn, { tableVariant: e, rows: i, headings: l, columnsVariant: r }),
1831
1833
  t && /* @__PURE__ */ o.jsx(
1832
1834
  "div",
1833
1835
  {
@@ -1837,10 +1839,10 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1837
1839
  )
1838
1840
  ] });
1839
1841
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: n && (n != null && n.isAccordion) && (n != null && n.accordionTitle) ? /* @__PURE__ */ o.jsx(dt, { label: n == null ? void 0 : n.accordionTitle, ...m, children: (m == null ? void 0 : m.children) || u }) : u });
1840
- }, kn = {
1842
+ }, Nn = {
1841
1843
  documentFilled: "files/documentFilled",
1842
1844
  documentOutline: "files/documentOutline"
1843
- }, wn = E("size-8 transition-colors", {
1845
+ }, Cn = D("size-8 transition-colors", {
1844
1846
  variants: {
1845
1847
  iconType: {
1846
1848
  documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -1850,7 +1852,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1850
1852
  defaultVariants: {
1851
1853
  iconType: "documentOutline"
1852
1854
  }
1853
- }), vn = ({ label: e, size: t, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1855
+ }), In = ({ label: e, size: t, url: r, iconType: n, classes: i }) => /* @__PURE__ */ o.jsxs(
1854
1856
  "a",
1855
1857
  {
1856
1858
  href: r,
@@ -1862,7 +1864,7 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1862
1864
  i == null ? void 0 : i.link
1863
1865
  ),
1864
1866
  children: [
1865
- /* @__PURE__ */ o.jsx(b, { name: kn[n], className: a(wn({ iconType: n }), i == null ? void 0 : i.icon) }),
1867
+ /* @__PURE__ */ o.jsx(b, { name: Nn[n], className: a(Cn({ iconType: n }), i == null ? void 0 : i.icon) }),
1866
1868
  /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col", i == null ? void 0 : i.wrapper), children: [
1867
1869
  /* @__PURE__ */ o.jsx("p", { className: a("desk-body-medium-l text-color-dark", i == null ? void 0 : i.label), children: e }),
1868
1870
  /* @__PURE__ */ o.jsxs("div", { className: a("desk-body-regular-m text-color-disabled", i == null ? void 0 : i.size), children: [
@@ -1872,26 +1874,26 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1872
1874
  ] })
1873
1875
  ]
1874
1876
  }
1875
- ), Nn = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
1877
+ ), Mn = ({ docs: e, config: t, title: r, iconType: n, description: i, classes: d, accordionConfig: l }) => {
1876
1878
  const m = /* @__PURE__ */ o.jsxs("div", { className: a("flex max-w-[680px] flex-col", d == null ? void 0 : d.wrapper), children: [
1877
- r && /* @__PURE__ */ o.jsx(H, { as: "h3", className: "mb-4", children: r }),
1878
- /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: e == null ? void 0 : e.map((x) => /* @__PURE__ */ o.jsx(vn, { iconType: n, ...x, classes: d == null ? void 0 : d.singleDocument }, x.label)) }),
1879
+ r && /* @__PURE__ */ o.jsx(P, { as: "h3", className: "mb-4", children: r }),
1880
+ /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", d == null ? void 0 : d.documentsWrapper), children: e == null ? void 0 : e.map((x) => /* @__PURE__ */ o.jsx(In, { iconType: n, ...x, classes: d == null ? void 0 : d.singleDocument }, x.label)) }),
1879
1881
  i && /* @__PURE__ */ o.jsx("div", { className: a("mt-4", d == null ? void 0 : d.description), dangerouslySetInnerHTML: { __html: i ?? "" } })
1880
1882
  ] });
1881
1883
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: t && (t != null && t.isAccordion) && (t != null && t.accordionTitle) ? /* @__PURE__ */ o.jsx(dt, { label: t == null ? void 0 : t.accordionTitle, ...l, children: (l == null ? void 0 : l.children) || m }) : m });
1882
- }, Cn = ({ entity: e, classes: t, accordionsConfig: r }) => {
1884
+ }, _n = ({ entity: e, classes: t, accordionsConfig: r }) => {
1883
1885
  var n, i, d;
1884
1886
  switch (!0) {
1885
- case dn(e):
1887
+ case un(e):
1886
1888
  return (n = e.details) == null ? void 0 : n.map((l, m) => {
1887
1889
  var x;
1888
- return /* @__PURE__ */ o.jsx(un, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (x = t == null ? void 0 : t.entities) == null ? void 0 : x.html }, m);
1890
+ return /* @__PURE__ */ o.jsx(hn, { ...l, accordionConfig: r == null ? void 0 : r.htmlAccordion, classes: (x = t == null ? void 0 : t.entities) == null ? void 0 : x.html }, m);
1889
1891
  });
1890
- case an(e):
1892
+ case mn(e):
1891
1893
  return (i = e.details) == null ? void 0 : i.map((l, m) => {
1892
1894
  var x;
1893
1895
  return /* @__PURE__ */ o.jsx(
1894
- Nn,
1896
+ Mn,
1895
1897
  {
1896
1898
  accordionConfig: r == null ? void 0 : r.documentAccordion,
1897
1899
  ...l,
@@ -1900,11 +1902,11 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1900
1902
  m
1901
1903
  );
1902
1904
  });
1903
- case ln(e):
1905
+ case xn(e):
1904
1906
  return (d = e.details) == null ? void 0 : d.map((l, m) => {
1905
1907
  var x;
1906
1908
  return /* @__PURE__ */ o.jsx(
1907
- yn,
1909
+ vn,
1908
1910
  {
1909
1911
  accordionConfig: r == null ? void 0 : r.tableAccordion,
1910
1912
  ...l,
@@ -1916,23 +1918,23 @@ const hr = P(() => Promise.resolve().then(() => Pr)), pr = P(() => Promise.resol
1916
1918
  default:
1917
1919
  return null;
1918
1920
  }
1919
- }, In = ({ entity: e, classes: t, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: Cn({ entity: e, classes: t, accordionsConfig: r }) }), ae = ({ headline: e, tabs: t, classes: r, accordionsConfig: n }) => {
1921
+ }, Sn = ({ entity: e, classes: t, accordionsConfig: r }) => /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-6", t == null ? void 0 : t.entityWrapper), children: _n({ entity: e, classes: t, accordionsConfig: r }) }), ae = ({ headline: e, tabs: t, classes: r, accordionsConfig: n }) => {
1920
1922
  var m, x;
1921
- const [i, d] = W(0), l = kt(() => t == null ? void 0 : t.map((u) => u == null ? void 0 : u.tabName), [t]) ?? [];
1922
- return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ o.jsx("section", { id: j.usefulInfo, "data-test-id": j.usefulInfo, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(B, { className: a(r == null ? void 0 : r.container), children: [
1923
- /* @__PURE__ */ o.jsx(H, { className: a(r == null ? void 0 : r.headline), as: "h2", children: e }),
1924
- /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ o.jsx(on, { tabsNames: l, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1925
- /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (x = (m = t == null ? void 0 : t[i]) == null ? void 0 : m.contents) == null ? void 0 : x.map((u, p) => /* @__PURE__ */ o.jsx(In, { accordionsConfig: n, ...u, classes: r == null ? void 0 : r.entityClasses }, p)) })
1923
+ const [i, d] = A(0), l = kt(() => t == null ? void 0 : t.map((u) => u == null ? void 0 : u.tabName), [t]) ?? [];
1924
+ return !t || (t == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ o.jsx("section", { id: g.usefulInfo, "data-test-id": g.usefulInfo, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(B, { className: a(r == null ? void 0 : r.container), children: [
1925
+ /* @__PURE__ */ o.jsx(P, { className: a(r == null ? void 0 : r.headline), as: "h2", children: e }),
1926
+ /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-2 desktop:mt-12", r == null ? void 0 : r.tabsWrapper), children: /* @__PURE__ */ o.jsx(ln, { tabsNames: l, activeTab: i, setActiveTab: d, classes: r == null ? void 0 : r.tabs }) }),
1927
+ /* @__PURE__ */ o.jsx("div", { className: a("mt-6 flex flex-col gap-6", r == null ? void 0 : r.contentWrapper), children: (x = (m = t == null ? void 0 : t[i]) == null ? void 0 : m.contents) == null ? void 0 : x.map((u, p) => /* @__PURE__ */ o.jsx(Sn, { accordionsConfig: n, ...u, classes: r == null ? void 0 : r.entityClasses }, p)) })
1926
1928
  ] }) });
1927
- }, Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1929
+ }, Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1928
1930
  __proto__: null,
1929
1931
  UsefulInfo: ae,
1930
1932
  default: ae
1931
1933
  }, Symbol.toStringTag, { value: "Module" })), Rt = ({ fields: e, control: t }) => e.map(({ type: r, args: n }) => {
1932
- const i = ye[r];
1934
+ const i = ke[r];
1933
1935
  return /* @__PURE__ */ Bt(i, { ...n, key: n.name, control: t });
1934
1936
  });
1935
- class _n {
1937
+ class On {
1936
1938
  constructor(t) {
1937
1939
  Nt(this, "TEXT_NODE", 3);
1938
1940
  Nt(this, "ELEMENT_NODE", 1);
@@ -2004,41 +2006,41 @@ class _n {
2004
2006
  return r.length;
2005
2007
  }
2006
2008
  }
2007
- const Sn = typeof window < "u";
2008
- class Po extends _n {
2009
+ const Fn = typeof window < "u";
2010
+ class Vo extends On {
2009
2011
  constructor(t) {
2010
2012
  super(t);
2011
2013
  }
2012
2014
  async parseFromString(t) {
2013
- return Sn ? new DOMParser().parseFromString(t, "text/html") : Promise.reject();
2015
+ return Fn ? new DOMParser().parseFromString(t, "text/html") : Promise.reject();
2014
2016
  }
2015
2017
  }
2016
2018
  const it = ({ html: e, as: t, ...r }) => {
2017
2019
  const n = t ?? "div";
2018
2020
  return /* @__PURE__ */ o.jsx(n, { dangerouslySetInnerHTML: { __html: e }, ...r });
2019
- }, Tn = (e, t) => e.enabled ? t.map((r) => ({
2021
+ }, Bn = (e, t) => e.enabled ? t.map((r) => ({
2020
2022
  name: r.args.name,
2021
2023
  ...r.args.progress
2022
- })) : null, On = ["getFioSchema"], Me = (e, t, r) => {
2024
+ })) : null, En = ["getFioSchema"], Se = (e, t, r) => {
2023
2025
  const n = e[t];
2024
2026
  if (O.isNil(n))
2025
2027
  throw new Error(`validation for type ${String(t)} not found`);
2026
2028
  if (!O.isFunction(n))
2027
2029
  throw new Error(`Cannot generate ${String(t)} because is not a function`);
2028
2030
  return n(r);
2029
- }, Fn = (e, t) => Me(we.base, e, t), Bn = (e, t) => Me(we.dadata, e, t), zt = (e) => {
2031
+ }, Pn = (e, t) => Se(Ne.base, e, t), Dn = (e, t) => Se(Ne.dadata, e, t), zt = (e) => {
2030
2032
  const r = ((e == null ? void 0 : e.map((n) => ({ name: n.args.name, validation: n.args.validation }))) ?? []).reduce((n, i) => {
2031
- const d = On.includes(i.validation.type) ? Bn(
2033
+ const d = En.includes(i.validation.type) ? Dn(
2032
2034
  i.validation.type,
2033
2035
  i.validation.args
2034
- ) : Fn(
2036
+ ) : Pn(
2035
2037
  i.validation.type,
2036
2038
  i.validation.args
2037
2039
  );
2038
2040
  return n[i.name] = d, n;
2039
2041
  }, {});
2040
- return ve(r);
2041
- }, En = new xr(), _e = ({ children: e }) => /* @__PURE__ */ o.jsx(Ue, { client: En, children: e }), Pn = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2042
+ return Ce(r);
2043
+ }, Hn = new pr(), Te = ({ children: e }) => /* @__PURE__ */ o.jsx(Ze, { client: Hn, children: e }), Rn = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2042
2044
  "label",
2043
2045
  {
2044
2046
  className: a(
@@ -2062,14 +2064,14 @@ const it = ({ html: e, as: t, ...r }) => {
2062
2064
  buttonGroup: m
2063
2065
  }) => {
2064
2066
  var R, I;
2065
- const { submitCallback: x } = d || {}, [u, p] = W(!1), f = zt(e), y = Ht.getZodDefaults(f), { control: c, handleSubmit: v } = Dt({
2067
+ const { submitCallback: x } = d || {}, [u, p] = A(!1), f = zt(e), y = Ht.getZodDefaults(f), { control: c, handleSubmit: v } = Dt({
2066
2068
  schema: f,
2067
2069
  defaultValues: y,
2068
2070
  mode: "onBlur"
2069
- }), g = Tn(r, e), N = or({ control: c, fields: g || [], schema: f }), S = (_) => {
2071
+ }), j = Bn(r, e), N = dr({ control: c, fields: j || [], schema: f }), S = (_) => {
2070
2072
  x && x({ ..._, agree: u });
2071
2073
  };
2072
- return /* @__PURE__ */ o.jsx(_e, { children: /* @__PURE__ */ o.jsx("section", { id: j.form, "data-test-id": j.form, className: a("w-full", l == null ? void 0 : l.root), children: /* @__PURE__ */ o.jsxs(
2074
+ return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx("section", { id: g.form, "data-test-id": g.form, className: a("w-full", l == null ? void 0 : l.root), children: /* @__PURE__ */ o.jsxs(
2073
2075
  B,
2074
2076
  {
2075
2077
  className: a(
@@ -2092,8 +2094,8 @@ const it = ({ html: e, as: t, ...r }) => {
2092
2094
  ]
2093
2095
  }
2094
2096
  ),
2095
- /* @__PURE__ */ o.jsx(H, { as: "h2", className: a("desktop:hidden", l == null ? void 0 : l.title), children: t }),
2096
- /* @__PURE__ */ o.jsx(H, { as: "h3", className: a("mobile:hidden", l == null ? void 0 : l.title), children: t }),
2097
+ /* @__PURE__ */ o.jsx(P, { as: "h2", className: a("desktop:hidden", l == null ? void 0 : l.title), children: t }),
2098
+ /* @__PURE__ */ o.jsx(P, { as: "h3", className: a("mobile:hidden", l == null ? void 0 : l.title), children: t }),
2097
2099
  /* @__PURE__ */ o.jsxs(
2098
2100
  "form",
2099
2101
  {
@@ -2101,7 +2103,7 @@ const it = ({ html: e, as: t, ...r }) => {
2101
2103
  className: a("flex w-full flex-col gap-y-6", "desktop:gap-y-8", l == null ? void 0 : l.form),
2102
2104
  children: [
2103
2105
  r.enabled && /* @__PURE__ */ o.jsx(
2104
- Ke,
2106
+ Xe,
2105
2107
  {
2106
2108
  progress: N,
2107
2109
  topContent: /* @__PURE__ */ o.jsx(it, { html: r.title }),
@@ -2112,11 +2114,11 @@ const it = ({ html: e, as: t, ...r }) => {
2112
2114
  ),
2113
2115
  /* @__PURE__ */ o.jsx(Rt, { control: c, fields: e }),
2114
2116
  /* @__PURE__ */ o.jsxs("div", { className: "mob-body-regular-m flex flex-col items-start justify-center gap-4", children: [
2115
- Pn(n, u, p, l == null ? void 0 : l.approvement),
2117
+ Rn(n, u, p, l == null ? void 0 : l.approvement),
2116
2118
  /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-4 desktop:flex-row", children: m == null ? void 0 : m.map((_, z) => {
2117
2119
  const J = _.type === "submit" && n.type === "checkbox" ? !u : !1;
2118
2120
  return /* @__PURE__ */ Bt(
2119
- gt,
2121
+ ht,
2120
2122
  {
2121
2123
  ..._,
2122
2124
  key: z,
@@ -2138,11 +2140,11 @@ const it = ({ html: e, as: t, ...r }) => {
2138
2140
  ]
2139
2141
  }
2140
2142
  ) }) });
2141
- }, Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2143
+ }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2142
2144
  __proto__: null,
2143
2145
  DynamicForm: le,
2144
2146
  default: le
2145
- }, Symbol.toStringTag, { value: "Module" })), Hn = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2147
+ }, Symbol.toStringTag, { value: "Module" })), Ln = (e, t, r, n) => e.type === "off" ? null : e.type === "text" ? /* @__PURE__ */ o.jsx(it, { html: e.message, as: "div", className: n == null ? void 0 : n.content }) : /* @__PURE__ */ o.jsxs(
2146
2148
  "label",
2147
2149
  {
2148
2150
  className: a(
@@ -2165,20 +2167,20 @@ const it = ({ html: e, as: t, ...r }) => {
2165
2167
  buttonGroup: l,
2166
2168
  ...m
2167
2169
  }) => {
2168
- const { submitCallback: x } = n ?? {}, [u, p] = W(!1), f = zt(e), y = Ht.getZodDefaults(f), { control: c, handleSubmit: v } = Dt({
2170
+ const { submitCallback: x } = n ?? {}, [u, p] = A(!1), f = zt(e), y = Ht.getZodDefaults(f), { control: c, handleSubmit: v } = Dt({
2169
2171
  schema: f,
2170
2172
  defaultValues: y,
2171
2173
  mode: "onBlur"
2172
- }), g = (N) => {
2174
+ }), j = (N) => {
2173
2175
  x && x({ ...N, agree: u });
2174
2176
  };
2175
- return /* @__PURE__ */ o.jsx(_e, { children: /* @__PURE__ */ o.jsx(Ze, { id: i, title: t, ...m, children: /* @__PURE__ */ o.jsxs("form", { onSubmit: v(g), className: "flex flex-col gap-6", children: [
2177
+ return /* @__PURE__ */ o.jsx(Te, { children: /* @__PURE__ */ o.jsx(Ye, { id: i, title: t, ...m, children: /* @__PURE__ */ o.jsxs("form", { onSubmit: v(j), className: "flex flex-col gap-6", children: [
2176
2178
  /* @__PURE__ */ o.jsx(Rt, { control: c, fields: e }),
2177
- Hn(r, u, p, d == null ? void 0 : d.approvement),
2179
+ Ln(r, u, p, d == null ? void 0 : d.approvement),
2178
2180
  l == null ? void 0 : l.map((N, S) => {
2179
2181
  const R = N.type === "submit" && r.type === "checkbox" ? !u : !1;
2180
2182
  return /* @__PURE__ */ Bt(
2181
- gt,
2183
+ ht,
2182
2184
  {
2183
2185
  ...N,
2184
2186
  key: S,
@@ -2194,7 +2196,7 @@ const it = ({ html: e, as: t, ...r }) => {
2194
2196
  );
2195
2197
  })
2196
2198
  ] }) }) });
2197
- }, Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2199
+ }, Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2198
2200
  __proto__: null,
2199
2201
  DynamicFormDialog: ue,
2200
2202
  default: ue
@@ -2259,7 +2261,7 @@ const it = ({ html: e, as: t, ...r }) => {
2259
2261
  text: "Вернуться на главную"
2260
2262
  }
2261
2263
  }
2262
- }), Do = ({ status: e, navigationFn: t }) => /* @__PURE__ */ o.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ o.jsx(B, { className: "flex flex-col justify-center", children: /* @__PURE__ */ o.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
2264
+ }), $o = ({ status: e, navigationFn: t }) => /* @__PURE__ */ o.jsx("div", { className: "flex flex-col", children: /* @__PURE__ */ o.jsx(B, { className: "flex flex-col justify-center", children: /* @__PURE__ */ o.jsxs("div", { className: "mt-32 flex w-full flex-col items-center gap-8 desktop:gap-12", children: [
2263
2265
  /* @__PURE__ */ o.jsx(
2264
2266
  "span",
2265
2267
  {
@@ -2271,11 +2273,11 @@ const it = ({ html: e, as: t, ...r }) => {
2271
2273
  }
2272
2274
  ),
2273
2275
  /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col items-center gap-2 text-center desktop:gap-6", children: [
2274
- /* @__PURE__ */ o.jsx(H, { as: "h2", children: lt()[e].title }),
2276
+ /* @__PURE__ */ o.jsx(P, { as: "h2", children: lt()[e].title }),
2275
2277
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: lt()[e].description })
2276
2278
  ] }),
2277
- /* @__PURE__ */ o.jsx(gt, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: lt()[e].button.text })
2278
- ] }) }) }), Se = ({ breadcrumb: e, className: t, ...r }) => /* @__PURE__ */ o.jsx("a", { href: e.path, className: a("desk-body-regular-m", t), ...r, children: e.label }), zn = [
2279
+ /* @__PURE__ */ o.jsx(ht, { size: "lg", className: "w-full max-w-[328px] desktop:desk-body-regular-l desktop:w-[256px]", onClick: t, children: lt()[e].button.text })
2280
+ ] }) }) }), Oe = ({ breadcrumb: e, className: t, ...r }) => /* @__PURE__ */ o.jsx("a", { href: e.path, className: a("desk-body-regular-m", t), ...r, children: e.label }), Vn = [
2279
2281
  {
2280
2282
  label: "Главная",
2281
2283
  path: "https://sovcombank.ru/apply/credit/kredit-na-kartu/"
@@ -2288,11 +2290,11 @@ const it = ({ html: e, as: t, ...r }) => {
2288
2290
  label: "В Тольятти",
2289
2291
  disabled: !0
2290
2292
  }
2291
- ], bt = (e, t, r, n) => e.map((i, d) => {
2293
+ ], jt = (e, t, r, n) => e.map((i, d) => {
2292
2294
  const l = d === n;
2293
2295
  return /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-x-1", children: [
2294
2296
  /* @__PURE__ */ o.jsx(
2295
- Se,
2297
+ Oe,
2296
2298
  {
2297
2299
  breadcrumb: i,
2298
2300
  className: a(r, {
@@ -2303,9 +2305,9 @@ const it = ({ html: e, as: t, ...r }) => {
2303
2305
  ),
2304
2306
  d !== e.length - 1 && t
2305
2307
  ] }, i.label);
2306
- }), Ln = ({ separator: e, ellipsis: t, classes: r, breadcrumbs: n = zn }) => {
2307
- const [i, d] = W(!1), l = Et(null);
2308
- rr(l, () => d(!1));
2308
+ }), $n = ({ separator: e, ellipsis: t, classes: r, breadcrumbs: n = Vn }) => {
2309
+ const [i, d] = A(!1), l = Et(null);
2310
+ or(l, () => d(!1));
2309
2311
  const { first: m, middle: x, last: u } = kt(() => {
2310
2312
  let f = [], y = [], c = [];
2311
2313
  return t && (f = n.slice(0, t), y = n.slice(t, n.length - t), c = n.slice(n.length - t)), { first: f, middle: y, last: c };
@@ -2324,7 +2326,7 @@ const it = ({ html: e, as: t, ...r }) => {
2324
2326
  // if we have more than ellipsis (visible crumbs) + available hidden crumbs
2325
2327
  // render hidden breadcrumbs
2326
2328
  /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2327
- bt(m, p, r == null ? void 0 : r.breadcrumb),
2329
+ jt(m, p, r == null ? void 0 : r.breadcrumb),
2328
2330
  p,
2329
2331
  x.length > 0 && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2330
2332
  /* @__PURE__ */ o.jsxs("div", { className: "relative", children: [
@@ -2342,7 +2344,7 @@ const it = ({ html: e, as: t, ...r }) => {
2342
2344
  }
2343
2345
  ),
2344
2346
  children: x.map((f) => /* @__PURE__ */ o.jsx("li", { children: /* @__PURE__ */ o.jsx(
2345
- Se,
2347
+ Oe,
2346
2348
  {
2347
2349
  breadcrumb: f,
2348
2350
  className: a(
@@ -2358,21 +2360,21 @@ const it = ({ html: e, as: t, ...r }) => {
2358
2360
  ] }),
2359
2361
  p
2360
2362
  ] }),
2361
- bt(u, p, r == null ? void 0 : r.breadcrumb, u.length - 1)
2363
+ jt(u, p, r == null ? void 0 : r.breadcrumb, u.length - 1)
2362
2364
  ] })
2363
2365
  ) : (
2364
2366
  // otherwise render all breadcrumbs
2365
- bt(n, p, r == null ? void 0 : r.breadcrumb, n.length - 1)
2367
+ jt(n, p, r == null ? void 0 : r.breadcrumb, n.length - 1)
2366
2368
  ) })
2367
2369
  ) : (
2368
2370
  // if ellipsis doesn't provided render all breadcrumbs
2369
- bt(n, p, r == null ? void 0 : r.breadcrumb, n.length - 1)
2371
+ jt(n, p, r == null ? void 0 : r.breadcrumb, n.length - 1)
2370
2372
  )
2371
2373
  }
2372
2374
  );
2373
2375
  };
2374
2376
  var mt = /* @__PURE__ */ ((e) => (e.ROOT = "root", e.CURRENT = "current", e))(mt || {});
2375
- const Qn = (e, t) => {
2377
+ const Wn = (e, t) => {
2376
2378
  switch (t.type) {
2377
2379
  case mt.ROOT:
2378
2380
  return {
@@ -2387,18 +2389,18 @@ const Qn = (e, t) => {
2387
2389
  default:
2388
2390
  return e;
2389
2391
  }
2390
- }, Vn = (e) => {
2391
- const [t, r] = Je(Qn, e);
2392
+ }, An = (e) => {
2393
+ const [t, r] = se(Wn, e);
2392
2394
  return [t, r];
2393
- }, $n = (e) => ({
2395
+ }, qn = (e) => ({
2394
2396
  type: mt.CURRENT,
2395
2397
  payload: e
2396
- }), An = (e) => ({
2398
+ }), Un = (e) => ({
2397
2399
  type: mt.ROOT,
2398
2400
  payload: e
2399
- }), Wn = ({ categories: e, ...t }) => {
2401
+ }), Kn = ({ categories: e, ...t }) => {
2400
2402
  var r, n;
2401
- return Ne(
2403
+ return Ie(
2402
2404
  /* @__PURE__ */ o.jsx(
2403
2405
  Ft.div,
2404
2406
  {
@@ -2436,7 +2438,7 @@ const Qn = (e, t) => {
2436
2438
  */
2437
2439
  ((n = (r = document.body.querySelector("#modal-preview")) == null ? void 0 : r.contentDocument) == null ? void 0 : n.body) ?? document.body
2438
2440
  );
2439
- }, qn = Ge(({ category: e, active: t, onActiveTabChange: r }, n) => {
2441
+ }, Zn = tr(({ category: e, active: t, onActiveTabChange: r }, n) => {
2440
2442
  var x, u;
2441
2443
  const i = n && "current" in n ? n : null, d = (x = i == null ? void 0 : i.current) == null ? void 0 : x.getBoundingClientRect(), l = t && !O.isArrayEmpty(e.children), m = O.isArrayEmpty(e.children) ? "a" : "span";
2442
2444
  return /* @__PURE__ */ o.jsxs(
@@ -2458,7 +2460,7 @@ const Qn = (e, t) => {
2458
2460
  children: [
2459
2461
  /* @__PURE__ */ o.jsx(m, { href: m === "a" ? (u = e.link) == null ? void 0 : u.href : void 0, className: "desk-body-regular-m outline-none", children: e.title }),
2460
2462
  l && /* @__PURE__ */ o.jsx(
2461
- Wn,
2463
+ Kn,
2462
2464
  {
2463
2465
  categories: e.children,
2464
2466
  style: {
@@ -2469,11 +2471,11 @@ const Qn = (e, t) => {
2469
2471
  ]
2470
2472
  }
2471
2473
  );
2472
- }), Un = Pt(qn), Kn = ({ categories: e }) => {
2473
- const [t, r] = W(null), n = ke((d) => {
2474
+ }), Xn = Pt(Zn), Yn = ({ categories: e }) => {
2475
+ const [t, r] = A(null), n = we((d) => {
2474
2476
  r(d);
2475
2477
  }, []), i = Et(null);
2476
- return /* @__PURE__ */ o.jsx(Xe, { mode: "sync", children: /* @__PURE__ */ o.jsxs(
2478
+ return /* @__PURE__ */ o.jsx(Je, { mode: "sync", children: /* @__PURE__ */ o.jsxs(
2477
2479
  "div",
2478
2480
  {
2479
2481
  ref: i,
@@ -2481,7 +2483,7 @@ const Qn = (e, t) => {
2481
2483
  className: "relative flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)]",
2482
2484
  children: [
2483
2485
  e.map((d) => /* @__PURE__ */ o.jsx(
2484
- Un,
2486
+ Xn,
2485
2487
  {
2486
2488
  ref: i,
2487
2489
  category: d,
@@ -2494,7 +2496,7 @@ const Qn = (e, t) => {
2494
2496
  ]
2495
2497
  }
2496
2498
  ) });
2497
- }, Zn = Pt(Kn), Xn = ({
2499
+ }, Jn = Pt(Yn), Gn = ({
2498
2500
  category: e,
2499
2501
  selectedCategory: t,
2500
2502
  onCurrentCategoryChange: r,
@@ -2541,20 +2543,20 @@ const Qn = (e, t) => {
2541
2543
  )
2542
2544
  ]
2543
2545
  }
2544
- ), Yn = ({ categories: e, helpers: t, phone: r }) => {
2545
- const [n, i] = Vn({ root: e[0].children[0], current: e[0].children[0] });
2546
+ ), sn = ({ categories: e, helpers: t, phone: r }) => {
2547
+ const [n, i] = An({ root: e[0].children[0], current: e[0].children[0] });
2546
2548
  return /* @__PURE__ */ o.jsxs("div", { className: "mobile:hidden", children: [
2547
2549
  /* @__PURE__ */ o.jsxs("div", { className: "flex w-full items-center justify-between gap-x-4 border-b border-b-[rgba(234,237,241)] py-4", children: [
2548
2550
  /* @__PURE__ */ o.jsx(b, { name: "brandLogos/logoMain", className: "mr-auto w-[130px]" }),
2549
2551
  e.map((d) => {
2550
2552
  const l = n.root.title === d.title;
2551
2553
  return /* @__PURE__ */ o.jsx(
2552
- Xn,
2554
+ Gn,
2553
2555
  {
2554
2556
  category: d,
2555
2557
  selectedCategory: n.current,
2556
- onCurrentCategoryChange: (m) => i($n(m)),
2557
- onRootCategoryChange: (m) => i(An(m)),
2558
+ onCurrentCategoryChange: (m) => i(qn(m)),
2559
+ onRootCategoryChange: (m) => i(Un(m)),
2558
2560
  active: l
2559
2561
  },
2560
2562
  d.title
@@ -2583,9 +2585,9 @@ const Qn = (e, t) => {
2583
2585
  }
2584
2586
  )
2585
2587
  ] }),
2586
- /* @__PURE__ */ o.jsx(Zn, { categories: n.current.children })
2588
+ /* @__PURE__ */ o.jsx(Jn, { categories: n.current.children })
2587
2589
  ] });
2588
- }, Jn = ({ category: e }) => /* @__PURE__ */ o.jsx(
2590
+ }, to = ({ category: e }) => /* @__PURE__ */ o.jsx(
2589
2591
  dt,
2590
2592
  {
2591
2593
  label: e.title ?? "",
@@ -2626,11 +2628,11 @@ const Qn = (e, t) => {
2626
2628
  }) })
2627
2629
  },
2628
2630
  e.title
2629
- ), Gn = (e) => e.map((t) => ({
2631
+ ), eo = (e) => e.map((t) => ({
2630
2632
  value: t.title ?? "",
2631
2633
  label: t.title ?? ""
2632
- })), sn = ({ categories: e, helpers: t, phone: r, ...n }) => {
2633
- const i = Gn(e), [d, l] = W(i[0]), m = (u) => {
2634
+ })), ro = ({ categories: e, helpers: t, phone: r, ...n }) => {
2635
+ const i = eo(e), [d, l] = A(i[0]), m = (u) => {
2634
2636
  O.isUndefined(u) || O.isArray(u) || l(u);
2635
2637
  }, x = kt(() => {
2636
2638
  var u;
@@ -2652,7 +2654,7 @@ const Qn = (e, t) => {
2652
2654
  /* @__PURE__ */ o.jsx(yt.SelectBase, { label: "Категория", options: i, value: d, onChange: m }),
2653
2655
  /* @__PURE__ */ o.jsx("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: x.map((u) => {
2654
2656
  var p;
2655
- return O.isArrayEmpty(u.children) ? /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsx("a", { href: (p = u.link) == null ? void 0 : p.href, className: "desk-body-regular-m inline-block w-full", children: u.title }) }, u.title) : /* @__PURE__ */ o.jsx(Jn, { category: u }, u.title);
2657
+ return O.isArrayEmpty(u.children) ? /* @__PURE__ */ o.jsx("div", { className: "w-full px-4 py-2.5", children: /* @__PURE__ */ o.jsx("a", { href: (p = u.link) == null ? void 0 : p.href, className: "desk-body-regular-m inline-block w-full", children: u.title }) }, u.title) : /* @__PURE__ */ o.jsx(to, { category: u }, u.title);
2656
2658
  }) }),
2657
2659
  /* @__PURE__ */ o.jsx("div", { className: "h-[1px] w-full bg-color-blue-grey-200" }),
2658
2660
  /* @__PURE__ */ o.jsxs("div", { className: "flex w-full flex-col items-center justify-center gap-y-1", children: [
@@ -2671,9 +2673,9 @@ const Qn = (e, t) => {
2671
2673
  ]
2672
2674
  }
2673
2675
  );
2674
- }, to = ({ categories: e, helpers: t, phone: r }) => {
2676
+ }, no = ({ categories: e, helpers: t, phone: r }) => {
2675
2677
  var x, u, p;
2676
- const n = Et(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [d, l] = W(!1), m = () => l(!d);
2678
+ const n = Et(null), i = (x = n.current) == null ? void 0 : x.getBoundingClientRect(), [d, l] = A(!1), m = () => l(!d);
2677
2679
  return /* @__PURE__ */ o.jsxs(
2678
2680
  "div",
2679
2681
  {
@@ -2682,9 +2684,9 @@ const Qn = (e, t) => {
2682
2684
  children: [
2683
2685
  /* @__PURE__ */ o.jsx(b, { name: "brandLogos/logoMain", className: "w-[130px]" }),
2684
2686
  /* @__PURE__ */ o.jsx("button", { type: "button", onClick: m, className: "h-max w-max", children: /* @__PURE__ */ o.jsx(b, { name: d ? "general/close" : "general/menu", className: "size-6 text-color-primary-default" }) }),
2685
- d && Ne(
2687
+ d && Ie(
2686
2688
  /* @__PURE__ */ o.jsx(
2687
- sn,
2689
+ ro,
2688
2690
  {
2689
2691
  categories: e,
2690
2692
  helpers: t,
@@ -2702,23 +2704,23 @@ const Qn = (e, t) => {
2702
2704
  );
2703
2705
  }, me = ({ categories: e, helpers: t, phone: r, breadcrumbs: n, classes: i }) => {
2704
2706
  const { isMobile: d } = at();
2705
- return /* @__PURE__ */ o.jsx("div", { id: j.seoHeader, "data-test-id": j.seoHeader, className: a("w-full bg-color-white", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsxs(B, { className: "mx-auto w-full", children: [
2706
- /* @__PURE__ */ o.jsx(to, { categories: e.map((l) => l.children).flat(), helpers: t, phone: r }),
2707
- /* @__PURE__ */ o.jsx(Yn, { categories: e, helpers: t, phone: r }),
2707
+ return /* @__PURE__ */ o.jsx("div", { id: g.seoHeader, "data-test-id": g.seoHeader, className: a("w-full bg-color-white", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsxs(B, { className: "mx-auto w-full", children: [
2708
+ /* @__PURE__ */ o.jsx(no, { categories: e.map((l) => l.children).flat(), helpers: t, phone: r }),
2709
+ /* @__PURE__ */ o.jsx(sn, { categories: e, helpers: t, phone: r }),
2708
2710
  /* @__PURE__ */ o.jsx(
2709
- Ln,
2711
+ $n,
2710
2712
  {
2711
2713
  ellipsis: d ? 1 : void 0,
2712
2714
  breadcrumbs: n,
2713
- matcher: (l) => ({ label: tr(l.label).split("-").join(" ") })
2715
+ matcher: (l) => ({ label: rr(l.label).split("-").join(" ") })
2714
2716
  }
2715
2717
  )
2716
2718
  ] }) });
2717
- }, eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2719
+ }, oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2718
2720
  __proto__: null,
2719
2721
  SeoHeader: me,
2720
2722
  default: me
2721
- }, Symbol.toStringTag, { value: "Module" })), Te = (e) => typeof e != "string" && "formula" in e, Oe = (e, t) => {
2723
+ }, Symbol.toStringTag, { value: "Module" })), Fe = (e) => typeof e != "string" && "formula" in e, Be = (e, t) => {
2722
2724
  let r = t;
2723
2725
  const n = {
2724
2726
  style: e
@@ -2734,26 +2736,26 @@ const Qn = (e, t) => {
2734
2736
  return null;
2735
2737
  }
2736
2738
  return new Intl.NumberFormat("ru-RU", n).format(r);
2737
- }, ro = (e, t) => {
2739
+ }, io = (e, t) => {
2738
2740
  switch (e) {
2739
2741
  case "text":
2740
2742
  return t;
2741
2743
  default:
2742
- return Oe(e, Number(t));
2744
+ return Be(e, Number(t));
2743
2745
  }
2744
- }, no = (e) => Object.values(e).reduce((r, n) => r.merge(zt(n.fields)), ve({})), oo = (e, t) => (e.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in t)).length > 0 ? "" : e, Fe = (e, t) => {
2745
- const r = Object.entries(t).map(([x, u]) => [x, O.isNil(u) ? "1" : u]), n = r.map(([x]) => x), i = r.map(([, x]) => x), d = oo(e, Object.fromEntries(r)), m = new Function(...n, `return ${d};`)(...i.map(Number));
2746
+ }, ao = (e) => Object.values(e).reduce((r, n) => r.merge(zt(n.fields)), Ce({})), lo = (e, t) => (e.match(/[a-zA-Z_$][a-zA-Z0-9_$]*/g) || []).filter((i) => !(i in t)).length > 0 ? "" : e, Ee = (e, t) => {
2747
+ const r = Object.entries(t).map(([x, u]) => [x, O.isNil(u) ? "1" : u]), n = r.map(([x]) => x), i = r.map(([, x]) => x), d = lo(e, Object.fromEntries(r)), m = new Function(...n, `return ${d};`)(...i.map(Number));
2746
2748
  return Number.isNaN(Number(m)) ? "0" : m.toString();
2747
- }, io = (e, t) => e.map((r) => ({
2749
+ }, uo = (e, t) => e.map((r) => ({
2748
2750
  ...r,
2749
- value: Te(r.value) ? Fe(r.value.formula, t) : r.value
2750
- })), ao = ({ subtitle: e, title: t, classes: r }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: (t || e) && /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2751
- t && /* @__PURE__ */ o.jsx(H, { as: "h3", className: r == null ? void 0 : r.title, children: t }),
2751
+ value: Fe(r.value) ? Ee(r.value.formula, t) : r.value
2752
+ })), mo = ({ subtitle: e, title: t, classes: r }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: (t || e) && /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-2", r == null ? void 0 : r.wrapper), children: [
2753
+ t && /* @__PURE__ */ o.jsx(P, { as: "h3", className: r == null ? void 0 : r.title, children: t }),
2752
2754
  e && /* @__PURE__ */ o.jsx("div", { className: a("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: e })
2753
- ] }) }), lo = ({ rootDescription: e, rootValue: t, suffix: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("mb-6 flex items-center justify-between gap-6", n == null ? void 0 : n.wrapper), children: [
2755
+ ] }) }), xo = ({ rootDescription: e, rootValue: t, suffix: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: a("mb-6 flex items-center justify-between gap-6", n == null ? void 0 : n.wrapper), children: [
2754
2756
  /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-dark", n == null ? void 0 : n.description), children: e }),
2755
- /* @__PURE__ */ o.jsx("div", { className: a("desk-title-bold-l flex items-center gap-1 text-color-dark", n == null ? void 0 : n.value), children: Oe(r, Number(t)) })
2756
- ] }), uo = ({ hint: e, value: t, label: r, mode: n, color: i = "dark", accent: d = !1 }) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2757
+ /* @__PURE__ */ o.jsx("div", { className: a("desk-title-bold-l flex items-center gap-1 text-color-dark", n == null ? void 0 : n.value), children: Be(r, Number(t)) })
2758
+ ] }), ho = ({ hint: e, value: t, label: r, mode: n, color: i = "dark", accent: d = !1 }) => /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
2757
2759
  /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2", children: [
2758
2760
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l text-color-dark", children: r }),
2759
2761
  e && /* @__PURE__ */ o.jsx(
@@ -2772,13 +2774,13 @@ const Qn = (e, t) => {
2772
2774
  "[&&]:desk-title-bold-s": d,
2773
2775
  "text-color-primary-default": i === "blue"
2774
2776
  }),
2775
- children: ro(n, t)
2777
+ children: io(n, t)
2776
2778
  }
2777
2779
  )
2778
- ] }), mo = ({ infoList: e, classes: t }) => {
2779
- const { watch: r } = vt(), n = r(), i = io(e, n);
2780
- return /* @__PURE__ */ o.jsx("div", { className: a("my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", t == null ? void 0 : t.wrapper), children: i == null ? void 0 : i.map((d) => /* @__PURE__ */ o.jsx(uo, { ...d }, d.label)) });
2781
- }, xo = ({ iconName: e, text: t, hint: r, classes: n, popoverProps: i }) => /* @__PURE__ */ o.jsxs("div", { className: a("mb-6 flex items-center gap-2", n == null ? void 0 : n.wrapper), children: [
2780
+ ] }), po = ({ infoList: e, classes: t }) => {
2781
+ const { watch: r } = vt(), n = r(), i = uo(e, n);
2782
+ return /* @__PURE__ */ o.jsx("div", { className: a("my-4 flex flex-col gap-3 border-t border-solid border-blue-grey-500 pt-4", t == null ? void 0 : t.wrapper), children: i == null ? void 0 : i.map((d) => /* @__PURE__ */ o.jsx(ho, { ...d }, d.label)) });
2783
+ }, fo = ({ iconName: e, text: t, hint: r, classes: n, popoverProps: i }) => /* @__PURE__ */ o.jsxs("div", { className: a("mb-6 flex items-center gap-2", n == null ? void 0 : n.wrapper), children: [
2782
2784
  /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center gap-1", n == null ? void 0 : n.block), children: [
2783
2785
  /* @__PURE__ */ o.jsx(b, { name: e, className: a("size-6 text-icon-blue-grey-800", n == null ? void 0 : n.icon) }),
2784
2786
  /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: t })
@@ -2792,11 +2794,11 @@ const Qn = (e, t) => {
2792
2794
  children: r
2793
2795
  }
2794
2796
  )
2795
- ] }), ho = ({ assistHint: e, buttonsConfig: t, bottomDescription: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { children: [
2796
- e && /* @__PURE__ */ o.jsx(xo, { ...e, classes: n == null ? void 0 : n.assistHint }),
2797
+ ] }), co = ({ assistHint: e, buttonsConfig: t, bottomDescription: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { children: [
2798
+ e && /* @__PURE__ */ o.jsx(fo, { ...e, classes: n == null ? void 0 : n.assistHint }),
2797
2799
  /* @__PURE__ */ o.jsx("div", { className: a("flex items-center gap-4 mobile:flex-col", n == null ? void 0 : n.buttonsWrapper), children: t == null ? void 0 : t.map((i, d) => /* @__PURE__ */ o.jsx(Y, { className: "w-full", ...i }, d)) }),
2798
2800
  r && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-m mt-4 text-color-secondary", n == null ? void 0 : n.bottomDescription), children: r })
2799
- ] }), po = ({
2801
+ ] }), bo = ({
2800
2802
  rootDescription: e,
2801
2803
  bottomDescription: t,
2802
2804
  rootValue: r,
@@ -2809,7 +2811,7 @@ const Qn = (e, t) => {
2809
2811
  classes: u
2810
2812
  }) => /* @__PURE__ */ o.jsxs("div", { className: a("w-[456px] rounded-md bg-color-blue-grey-100 p-8", u == null ? void 0 : u.wrapper), children: [
2811
2813
  /* @__PURE__ */ o.jsx(
2812
- lo,
2814
+ xo,
2813
2815
  {
2814
2816
  suffix: m,
2815
2817
  rootValue: r,
@@ -2817,10 +2819,10 @@ const Qn = (e, t) => {
2817
2819
  classes: u == null ? void 0 : u.calculatedBlock
2818
2820
  }
2819
2821
  ),
2820
- /* @__PURE__ */ o.jsx(ao, { title: n, subtitle: i, classes: u == null ? void 0 : u.calculatedInfoHead }),
2821
- /* @__PURE__ */ o.jsx(mo, { infoList: l, classes: u == null ? void 0 : u.calculatorInfoBody }),
2822
+ /* @__PURE__ */ o.jsx(mo, { title: n, subtitle: i, classes: u == null ? void 0 : u.calculatedInfoHead }),
2823
+ /* @__PURE__ */ o.jsx(po, { infoList: l, classes: u == null ? void 0 : u.calculatorInfoBody }),
2822
2824
  /* @__PURE__ */ o.jsx(
2823
- ho,
2825
+ co,
2824
2826
  {
2825
2827
  assistHint: x,
2826
2828
  buttonsConfig: d,
@@ -2828,14 +2830,14 @@ const Qn = (e, t) => {
2828
2830
  classes: u == null ? void 0 : u.calculatorInfoFooter
2829
2831
  }
2830
2832
  )
2831
- ] }), fo = 2e4, Be = ({
2833
+ ] }), go = 2e4, Pe = ({
2832
2834
  slidersGroupConfig: e,
2833
2835
  additionalSliderGroupConfig: t
2834
2836
  }) => {
2835
- const [r, n] = W(!1), { watch: i, setValue: d } = vt(), l = e == null ? void 0 : e.fields.find(({ args: S }) => S.name === "sum"), { args: m } = l || {}, { max: x, name: u, defaultValue: p } = m || {}, f = i(u), { min: y, name: c } = (t == null ? void 0 : t.args) ?? {}, v = i(c), g = Number(x ?? 0) - (f ?? p);
2837
+ const [r, n] = A(!1), { watch: i, setValue: d } = vt(), l = e == null ? void 0 : e.fields.find(({ args: S }) => S.name === "sum"), { args: m } = l || {}, { max: x, name: u, defaultValue: p } = m || {}, f = i(u), { min: y, name: c } = (t == null ? void 0 : t.args) ?? {}, v = i(c), j = Number(x ?? 0) - (f ?? p);
2836
2838
  return _t(() => {
2837
- v > g && d(c, g);
2838
- }, [g, v, d, f]), _t(() => {
2839
+ v > j && d(c, j);
2840
+ }, [j, v, d, f]), _t(() => {
2839
2841
  Number(x) === f && n(!1);
2840
2842
  }, [n, x, f]), {
2841
2843
  sliderVisible: r,
@@ -2844,21 +2846,21 @@ const Qn = (e, t) => {
2844
2846
  sumName: u,
2845
2847
  sumDefaultValue: p,
2846
2848
  sumValue: f,
2847
- additionalSliderMax: g,
2849
+ additionalSliderMax: j,
2848
2850
  onCheckedChange: () => {
2849
- n((S) => !S), v <= 0 && d(c, y), Number(x) === f && (d(u ?? "", f - fo), d(c, y));
2851
+ n((S) => !S), v <= 0 && d(c, y), Number(x) === f && (d(u ?? "", f - go), d(c, y));
2850
2852
  },
2851
2853
  sliderSumExist: !O.isObjectEmpty(l == null ? void 0 : l.args),
2852
2854
  sliderSumCorrectType: (l == null ? void 0 : l.args.componentType) === "algorithmic" || (l == null ? void 0 : l.args.componentType) === "step"
2853
2855
  };
2854
- }, co = (e) => {
2856
+ }, jo = (e) => {
2855
2857
  switch (e) {
2856
2858
  case "content1":
2857
2859
  return /* @__PURE__ */ o.jsx("div", { children: "content 1" });
2858
2860
  case "content2":
2859
2861
  return /* @__PURE__ */ o.jsx("div", { children: "content 2" });
2860
2862
  }
2861
- }, bo = ({
2863
+ }, yo = ({
2862
2864
  triggerText: e,
2863
2865
  modalTitle: t,
2864
2866
  description: r,
@@ -2866,7 +2868,7 @@ const Qn = (e, t) => {
2866
2868
  modalProps: i,
2867
2869
  contentVariant: d
2868
2870
  }) => {
2869
- const [l, m] = ir(!1);
2871
+ const [l, m] = ar(!1);
2870
2872
  return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 rounded-sm bg-color-blue-grey-100 p-4", n == null ? void 0 : n.wrapper), children: [
2871
2873
  r && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description), children: r }),
2872
2874
  /* @__PURE__ */ o.jsx(
@@ -2880,17 +2882,17 @@ const Qn = (e, t) => {
2880
2882
  children: e
2881
2883
  }
2882
2884
  ),
2883
- /* @__PURE__ */ o.jsx(Ye, { title: t, isModalOpen: l, closeModal: () => m(!1), ...i, children: co(d) })
2885
+ /* @__PURE__ */ o.jsx(Ge, { title: t, isModalOpen: l, closeModal: () => m(!1), ...i, children: jo(d) })
2884
2886
  ] });
2885
2887
  }, s = ({ fields: e }) => {
2886
2888
  const { control: t } = vt();
2887
2889
  return /* @__PURE__ */ o.jsx(Rt, { control: t, fields: e });
2888
- }, go = ({
2890
+ }, ko = ({
2889
2891
  slidersGroupConfig: e,
2890
2892
  additionalSliderGroupConfig: t,
2891
2893
  classes: r
2892
2894
  }) => {
2893
- const { control: n } = vt(), { sliderVisible: i, additionalSliderMax: d, onCheckedChange: l } = Be({
2895
+ const { control: n } = vt(), { sliderVisible: i, additionalSliderMax: d, onCheckedChange: l } = Pe({
2894
2896
  slidersGroupConfig: e,
2895
2897
  additionalSliderGroupConfig: t
2896
2898
  });
@@ -2900,7 +2902,7 @@ const Qn = (e, t) => {
2900
2902
  /* @__PURE__ */ o.jsx("p", { className: "desk-body-regular-l", children: "Хочу получить деньги дополнительно" })
2901
2903
  ] }),
2902
2904
  i && /* @__PURE__ */ o.jsx(
2903
- ye.SliderControl,
2905
+ ke.SliderControl,
2904
2906
  {
2905
2907
  ...t.args,
2906
2908
  control: n,
@@ -2911,14 +2913,14 @@ const Qn = (e, t) => {
2911
2913
  }
2912
2914
  )
2913
2915
  ] });
2914
- }, jo = ({ modalConfig: e, fieldsGroup: t, classes: r }) => {
2916
+ }, wo = ({ modalConfig: e, fieldsGroup: t, classes: r }) => {
2915
2917
  var d;
2916
- const { sliderSumExist: n, sliderSumCorrectType: i } = Be({
2918
+ const { sliderSumExist: n, sliderSumCorrectType: i } = Pe({
2917
2919
  slidersGroupConfig: t.slidersGroupConfig,
2918
2920
  additionalSliderGroupConfig: t.additionalSliderGroupConfig
2919
2921
  });
2920
2922
  return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-1 flex-col gap-8", r == null ? void 0 : r.rootFieldsWrapper), children: [
2921
- (e == null ? void 0 : e.triggerText) && (e == null ? void 0 : e.contentVariant) && /* @__PURE__ */ o.jsx(bo, { classes: r == null ? void 0 : r.modalClasses, ...e }),
2923
+ (e == null ? void 0 : e.triggerText) && (e == null ? void 0 : e.contentVariant) && /* @__PURE__ */ o.jsx(yo, { classes: r == null ? void 0 : r.modalClasses, ...e }),
2922
2924
  (t == null ? void 0 : t.selectGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.selectFieldsWrapper), children: /* @__PURE__ */ o.jsx(s, { ...t == null ? void 0 : t.selectGroupConfig }) }),
2923
2925
  (t == null ? void 0 : t.slidersGroupConfig) && /* @__PURE__ */ o.jsx(s, { ...t == null ? void 0 : t.slidersGroupConfig }),
2924
2926
  (t == null ? void 0 : t.radioGroupTabConfig) && /* @__PURE__ */ o.jsx(s, { ...t == null ? void 0 : t.radioGroupTabConfig }),
@@ -2927,14 +2929,14 @@ const Qn = (e, t) => {
2927
2929
  (t == null ? void 0 : t.radioGroupCardConfig) && /* @__PURE__ */ o.jsx(s, { ...t == null ? void 0 : t.radioGroupCardConfig }),
2928
2930
  (t == null ? void 0 : t.switchGroupConfig) && /* @__PURE__ */ o.jsx("div", { className: a("flex flex-col gap-4", r == null ? void 0 : r.switchFieldsWrapper), children: /* @__PURE__ */ o.jsx(s, { ...t == null ? void 0 : t.switchGroupConfig }) }),
2929
2931
  ((d = t.additionalSliderGroupConfig) == null ? void 0 : d.args.enabled) && t.slidersGroupConfig && t.additionalSliderGroupConfig && n && i && /* @__PURE__ */ o.jsx(
2930
- go,
2932
+ ko,
2931
2933
  {
2932
2934
  slidersGroupConfig: t.slidersGroupConfig,
2933
2935
  additionalSliderGroupConfig: t.additionalSliderGroupConfig
2934
2936
  }
2935
2937
  )
2936
2938
  ] });
2937
- }, yo = Pt(({ calculatorTabs: e, activeCalculator: t, setActiveCalculator: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("mb-8 flex items-center gap-4", n == null ? void 0 : n.wrapper), children: e == null ? void 0 : e.map(({ name: i, label: d }) => /* @__PURE__ */ o.jsx(
2939
+ }, vo = Pt(({ calculatorTabs: e, activeCalculator: t, setActiveCalculator: r, classes: n }) => /* @__PURE__ */ o.jsx("div", { className: a("mb-8 flex items-center gap-4", n == null ? void 0 : n.wrapper), children: e == null ? void 0 : e.map(({ name: i, label: d }) => /* @__PURE__ */ o.jsx(
2938
2940
  "button",
2939
2941
  {
2940
2942
  onClick: () => r(i),
@@ -2946,31 +2948,31 @@ const Qn = (e, t) => {
2946
2948
  children: d
2947
2949
  },
2948
2950
  i
2949
- )) })), ko = ({
2951
+ )) })), No = ({
2950
2952
  calculatorInfoConfig: e,
2951
2953
  calculatorFieldsConfig: t,
2952
2954
  classes: r
2953
2955
  }) => {
2954
- const n = no(t == null ? void 0 : t.fieldsGroup), i = Dt({
2956
+ const n = ao(t == null ? void 0 : t.fieldsGroup), i = Dt({
2955
2957
  schema: n,
2956
2958
  mode: "onBlur",
2957
2959
  defaultValues: Ht.getZodDefaults(n)
2958
2960
  }), d = i.watch(), { rootValue: l } = e;
2959
2961
  _t(() => {
2960
- er.setItem("calculatorData", JSON.stringify(d));
2962
+ nr.setItem("calculatorData", JSON.stringify(d));
2961
2963
  }, [d]);
2962
- const m = Te(l) ? Fe(l.formula, d) : l, x = { ...e, rootValue: m };
2963
- return /* @__PURE__ */ o.jsx(nr, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-start gap-16", r == null ? void 0 : r.wrapper), children: [
2964
- /* @__PURE__ */ o.jsx(jo, { ...t, classes: r == null ? void 0 : r.calculatorFields }),
2965
- /* @__PURE__ */ o.jsx(po, { ...x, classes: r == null ? void 0 : r.calculatorInfo })
2964
+ const m = Fe(l) ? Ee(l.formula, d) : l, x = { ...e, rootValue: m };
2965
+ return /* @__PURE__ */ o.jsx(ir, { ...i, children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-start gap-16", r == null ? void 0 : r.wrapper), children: [
2966
+ /* @__PURE__ */ o.jsx(wo, { ...t, classes: r == null ? void 0 : r.calculatorFields }),
2967
+ /* @__PURE__ */ o.jsx(bo, { ...x, classes: r == null ? void 0 : r.calculatorInfo })
2966
2968
  ] }) });
2967
2969
  }, xe = ({ calculators: e, headline: t, classes: r }) => {
2968
2970
  var u;
2969
- const n = e.length > 1, [i, d] = W(n ? (u = e[0]) == null ? void 0 : u.name : ""), l = kt(() => e == null ? void 0 : e.map(({ name: p, label: f }) => ({ name: p, label: f })), [e]), m = n ? l == null ? void 0 : l.findIndex((p) => p.name === i) : 0, x = e[m];
2970
- return /* @__PURE__ */ o.jsx("section", { id: j.calculator, "data-test-id": j.calculator, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsx(B, { className: a(r == null ? void 0 : r.container), children: /* @__PURE__ */ o.jsxs("div", { className: a(r == null ? void 0 : r.wrapper), children: [
2971
- /* @__PURE__ */ o.jsx(H, { className: a("mb-12", r == null ? void 0 : r.headline), as: "h2", children: t }),
2971
+ const n = e.length > 1, [i, d] = A(n ? (u = e[0]) == null ? void 0 : u.name : ""), l = kt(() => e == null ? void 0 : e.map(({ name: p, label: f }) => ({ name: p, label: f })), [e]), m = n ? l == null ? void 0 : l.findIndex((p) => p.name === i) : 0, x = e[m];
2972
+ return /* @__PURE__ */ o.jsx("section", { id: g.calculator, "data-test-id": g.calculator, className: a(r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsx(B, { className: a(r == null ? void 0 : r.container), children: /* @__PURE__ */ o.jsxs("div", { className: a(r == null ? void 0 : r.wrapper), children: [
2973
+ /* @__PURE__ */ o.jsx(P, { className: a("mb-12", r == null ? void 0 : r.headline), as: "h2", children: t }),
2972
2974
  n && /* @__PURE__ */ o.jsx(
2973
- yo,
2975
+ vo,
2974
2976
  {
2975
2977
  calculatorTabs: l,
2976
2978
  activeCalculator: i,
@@ -2979,7 +2981,7 @@ const Qn = (e, t) => {
2979
2981
  }
2980
2982
  ),
2981
2983
  /* @__PURE__ */ o.jsx(
2982
- ko,
2984
+ No,
2983
2985
  {
2984
2986
  name: x.name,
2985
2987
  label: x.label,
@@ -2989,37 +2991,96 @@ const Qn = (e, t) => {
2989
2991
  }
2990
2992
  )
2991
2993
  ] }) }) });
2992
- }, wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2994
+ }, Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2993
2995
  __proto__: null,
2994
2996
  Calculator: xe,
2995
2997
  default: xe
2998
+ }, Symbol.toStringTag, { value: "Module" })), Io = ({ linksList: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: a("mt-4 flex flex-wrap items-center gap-4 desktop:mt-12 desktop:gap-8", t == null ? void 0 : t.list), children: e == null ? void 0 : e.map((r, n) => /* @__PURE__ */ o.jsx(pt, { withUnderline: !0, size: "md", classes: t == null ? void 0 : t.customLink, ...r }, n)) }), Mo = ({
2999
+ heading: e,
3000
+ buttonsGroup: t,
3001
+ imageMobile: r,
3002
+ renderImageCb: n,
3003
+ description: i,
3004
+ linksList: d,
3005
+ classes: l
3006
+ }) => {
3007
+ const m = t && (t == null ? void 0 : t.length) > 0, x = d && (d == null ? void 0 : d.length) > 0;
3008
+ return /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col", l == null ? void 0 : l.wrapper), children: [
3009
+ /* @__PURE__ */ o.jsxs("div", { className: a("flex flex-col gap-4 mobile:mb-2", l == null ? void 0 : l.textBlock), children: [
3010
+ /* @__PURE__ */ o.jsx(P, { as: "h2", className: a(l == null ? void 0 : l.heading), children: e }),
3011
+ i && /* @__PURE__ */ o.jsx("p", { className: a("desk-body-regular-l text-color-dark", l == null ? void 0 : l.description), children: i })
3012
+ ] }),
3013
+ /* @__PURE__ */ o.jsx("div", { className: a("h-full w-full desktop:hidden", l == null ? void 0 : l.imageMobileWrapper), children: ve({
3014
+ imgProps: {
3015
+ className: a("object-contain w-full h-full", l == null ? void 0 : l.imageMobile),
3016
+ ...r
3017
+ },
3018
+ renderImageCb: n
3019
+ }) }),
3020
+ m && /* @__PURE__ */ o.jsx("div", { className: a("mt-2 flex items-center gap-3 mobile:flex-col desktop:mt-8 desktop:gap-8", l == null ? void 0 : l.buttonsGroup), children: t == null ? void 0 : t.map((u, p) => /* @__PURE__ */ o.jsx(ht, { className: "w-full desktop:w-[216px]", ...u }, p)) }),
3021
+ x && /* @__PURE__ */ o.jsx(Io, { linksList: d, classes: l == null ? void 0 : l.linksList })
3022
+ ] });
3023
+ }, he = (e) => {
3024
+ const { size: t = "md", renderImageCb: r, backgroundColor: n = "#F4F8FE", imageDesktop: i, classes: d, ...l } = e;
3025
+ return /* @__PURE__ */ o.jsx(
3026
+ "section",
3027
+ {
3028
+ id: g.infoBlock,
3029
+ "data-test-id": g.infoBlock,
3030
+ style: { backgroundColor: n },
3031
+ className: a("py-14", d == null ? void 0 : d.root),
3032
+ children: /* @__PURE__ */ o.jsx(B, { children: /* @__PURE__ */ o.jsxs("div", { className: a("flex items-center justify-between gap-11 mobile:flex-col", d == null ? void 0 : d.container), children: [
3033
+ /* @__PURE__ */ o.jsx(Mo, { renderImageCb: r, classes: d == null ? void 0 : d.rootContent, ...l }),
3034
+ /* @__PURE__ */ o.jsx(
3035
+ "div",
3036
+ {
3037
+ className: a("h-[200px] w-full max-w-[432px] mobile:hidden", d == null ? void 0 : d.imageDesktopWrapper, {
3038
+ "h-[238px]": t === "md"
3039
+ }),
3040
+ children: ve({
3041
+ imgProps: {
3042
+ className: a("object-contain w-full h-full", d == null ? void 0 : d.imageDesktop),
3043
+ ...i
3044
+ },
3045
+ renderImageCb: r
3046
+ })
3047
+ }
3048
+ )
3049
+ ] }) })
3050
+ }
3051
+ );
3052
+ }, _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3053
+ __proto__: null,
3054
+ InfoBlock: he,
3055
+ default: he
2996
3056
  }, Symbol.toStringTag, { value: "Module" }));
2997
3057
  export {
2998
3058
  St as Advantages,
2999
- Eo as AuthProvider,
3059
+ Qo as AuthProvider,
3000
3060
  st as Banner,
3001
3061
  Gt as BannerWithSeparateImg,
3002
3062
  Yt as Benefit,
3003
- Ln as Breadcrumbs,
3063
+ $n as Breadcrumbs,
3004
3064
  Y as ButtonWithHandlers,
3005
3065
  xe as Calculator,
3006
- ko as CalculatorView,
3066
+ No as CalculatorView,
3007
3067
  le as DynamicForm,
3008
3068
  ue as DynamicFormDialog,
3009
- Do as FallbacksView,
3069
+ $o as FallbacksView,
3010
3070
  Rt as FieldMapper,
3011
3071
  te as Footer,
3012
- Po as HTMLParser,
3072
+ Vo as HTMLParser,
3013
3073
  it as HTMLRenderer,
3014
3074
  Jt as Header,
3075
+ he as InfoBlock,
3015
3076
  de as InterLinking,
3016
- Ir as KEYS_OF_WIDGET_LIST,
3077
+ Sr as KEYS_OF_WIDGET_LIST,
3017
3078
  re as LongBanner,
3018
3079
  me as SeoHeader,
3019
3080
  ee as Stepper,
3020
3081
  ae as UsefulInfo,
3021
- Cr as WIDGET_LIST_MAP,
3022
- En as queryClient,
3023
- j as widgetIds
3082
+ _r as WIDGET_LIST_MAP,
3083
+ Hn as queryClient,
3084
+ g as widgetIds
3024
3085
  };
3025
3086
  //# sourceMappingURL=widget.js.map