@scbt-ecom/ui 0.43.0 → 0.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/hooks.js +13 -14
  2. package/dist/hooks.js.map +1 -1
  3. package/dist/index-DV_MMMPA.js +41785 -0
  4. package/dist/index-DV_MMMPA.js.map +1 -0
  5. package/dist/isClient-C9aZtt2Q.js +5 -0
  6. package/dist/{isClient-D-a29gNu.js.map → isClient-C9aZtt2Q.js.map} +1 -1
  7. package/dist/shared/ui/formElements/controlled/checkbox/CheckboxControl.d.ts +1 -1
  8. package/dist/shared/ui/formElements/controlled/checkbox/index.d.ts +1 -1
  9. package/dist/shared/ui/formElements/controlled/dadata/address/DadataAddress.d.ts +5 -4
  10. package/dist/shared/ui/formElements/controlled/dadata/address/index.d.ts +1 -1
  11. package/dist/shared/ui/formElements/controlled/dadata/auto/DadataAuto.d.ts +5 -4
  12. package/dist/shared/ui/formElements/controlled/dadata/auto/index.d.ts +1 -1
  13. package/dist/shared/ui/formElements/controlled/dadata/country/DadataCountry.d.ts +5 -4
  14. package/dist/shared/ui/formElements/controlled/dadata/country/index.d.ts +1 -1
  15. package/dist/shared/ui/formElements/controlled/dadata/fio/DadataFio.d.ts +5 -4
  16. package/dist/shared/ui/formElements/controlled/dadata/fio/index.d.ts +1 -1
  17. package/dist/shared/ui/formElements/controlled/dadata/index.d.ts +5 -5
  18. package/dist/shared/ui/formElements/controlled/dadata/party/DadataOrganization.d.ts +5 -4
  19. package/dist/shared/ui/formElements/controlled/dadata/party/index.d.ts +1 -1
  20. package/dist/shared/ui/formElements/controlled/dayPickerControl/index.d.ts +1 -1
  21. package/dist/shared/ui/formElements/controlled/editor/index.d.ts +1 -1
  22. package/dist/shared/ui/formElements/controlled/index.d.ts +27 -107
  23. package/dist/shared/ui/formElements/controlled/input/InputControl.d.ts +1 -1
  24. package/dist/shared/ui/formElements/controlled/input/MaskInputControl.d.ts +1 -1
  25. package/dist/shared/ui/formElements/controlled/input/index.d.ts +2 -2
  26. package/dist/shared/ui/formElements/controlled/inputCurrency/index.d.ts +1 -1
  27. package/dist/shared/ui/formElements/controlled/radio/RadioGroupControl.d.ts +1 -1
  28. package/dist/shared/ui/formElements/controlled/radio/index.d.ts +1 -1
  29. package/dist/shared/ui/formElements/controlled/select/SelectControl.d.ts +1 -1
  30. package/dist/shared/ui/formElements/controlled/select/index.d.ts +1 -1
  31. package/dist/shared/ui/formElements/controlled/slider/SliderControl.d.ts +1 -1
  32. package/dist/shared/ui/formElements/controlled/slider/index.d.ts +1 -1
  33. package/dist/shared/ui/formElements/controlled/switch/index.d.ts +1 -1
  34. package/dist/shared/ui/formElements/controlled/uploader/UploaderControl.d.ts +1 -1
  35. package/dist/shared/ui/formElements/controlled/uploader/index.d.ts +1 -1
  36. package/dist/shared/ui/phoneView/PhoneView.d.ts +1 -1
  37. package/dist/shared/validation/dadata/dadata.validators.d.ts +1 -0
  38. package/dist/{cn-DIfn7EPB.js → typeGuards-yOWv7RXH.js} +130 -106
  39. package/dist/typeGuards-yOWv7RXH.js.map +1 -0
  40. package/dist/ui.js +335 -33184
  41. package/dist/ui.js.map +1 -1
  42. package/dist/useDebounce-QgEEiWs9.js +1190 -0
  43. package/dist/useDebounce-QgEEiWs9.js.map +1 -0
  44. package/dist/{utils-Baa0uHhG.js → utils-DnWHDMk6.js} +125 -125
  45. package/dist/{utils-Baa0uHhG.js.map → utils-DnWHDMk6.js.map} +1 -1
  46. package/dist/utils.js +4 -5
  47. package/dist/utils.js.map +1 -1
  48. package/dist/validation.js +76 -76
  49. package/dist/widget.js +127 -123
  50. package/dist/widget.js.map +1 -1
  51. package/dist/widgets/fieldMapper/FieldMapper.d.ts +8 -0
  52. package/dist/widgets/fieldMapper/index.d.ts +2 -0
  53. package/dist/widgets/fieldMapper/model/types.d.ts +9 -0
  54. package/dist/widgets/index.d.ts +1 -0
  55. package/package.json +1 -1
  56. package/dist/CustomLink-BrBUFe53.js +0 -8946
  57. package/dist/CustomLink-BrBUFe53.js.map +0 -1
  58. package/dist/cn-DIfn7EPB.js.map +0 -1
  59. package/dist/isClient-D-a29gNu.js +0 -5
  60. package/dist/typeGuards-B82KZ2oS.js +0 -27
  61. package/dist/typeGuards-B82KZ2oS.js.map +0 -1
  62. package/dist/useDebounce-CIcYhLoU.js +0 -1167
  63. package/dist/useDebounce-CIcYhLoU.js.map +0 -1
  64. package/dist/useDevice-L83kSsN7.js +0 -28
  65. package/dist/useDevice-L83kSsN7.js.map +0 -1
  66. /package/dist/{shared/ui/phoneView → widgets/footer/model}/helpers.d.ts +0 -0
package/dist/widget.js CHANGED
@@ -1,10 +1,10 @@
1
- import { j as t, B as w, H as f, c as u, R as k, P as H, b as L, I as j, C as y, S as W, a as D, L as O, d as c, A as N } from "./CustomLink-BrBUFe53.js";
2
- import { s as V } from "./scrollToElement-B-reg4jF.js";
3
- import { c as p } from "./cn-DIfn7EPB.js";
4
- import { u as b } from "./useDevice-L83kSsN7.js";
1
+ import { j as t, B as w, H as f, c as h, R as k, P as H, b as L, I as j, C as y, S as W, a as D, L as O, d as I, A as N, e as V } from "./index-DV_MMMPA.js";
2
+ import { s as S } from "./scrollToElement-B-reg4jF.js";
3
+ import { c as p } from "./typeGuards-yOWv7RXH.js";
4
+ import { a as b } from "./useDebounce-QgEEiWs9.js";
5
5
  import * as g from "react";
6
- import { useState as S, useMemo as G } from "react";
7
- const U = u(
6
+ import { useState as G, useMemo as U, createElement as $ } from "react";
7
+ const Z = h(
8
8
  "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",
9
9
  {
10
10
  variants: {
@@ -15,7 +15,7 @@ const U = u(
15
15
  }
16
16
  }
17
17
  }
18
- ), Z = ({
18
+ ), q = ({
19
19
  description: r,
20
20
  title: e,
21
21
  img: o,
@@ -24,14 +24,14 @@ const U = u(
24
24
  withButton: i,
25
25
  buttonText: x,
26
26
  intent: l,
27
- cardColor: h
27
+ cardColor: u
28
28
  }) => {
29
29
  const { isDesktop: a } = b(), m = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
30
30
  w,
31
31
  {
32
32
  intent: "primary",
33
33
  className: p("desktop:w-[200px]", n == null ? void 0 : n.button),
34
- onClick: () => V("personal_form"),
34
+ onClick: () => S("personal_form"),
35
35
  size: "lg",
36
36
  children: x
37
37
  }
@@ -39,7 +39,7 @@ const U = u(
39
39
  return /* @__PURE__ */ t.jsxs(
40
40
  "li",
41
41
  {
42
- className: p(U({ intent: l }), { "pb-0": d }, { "pb-12": !d }, h, n == null ? void 0 : n.root),
42
+ className: p(Z({ intent: l }), { "pb-0": d }, { "pb-12": !d }, u, n == null ? void 0 : n.root),
43
43
  children: [
44
44
  /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", n == null ? void 0 : n.wrapper), children: [
45
45
  /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-4", n == null ? void 0 : n.textContainer), children: [
@@ -53,7 +53,7 @@ const U = u(
53
53
  },
54
54
  o
55
55
  );
56
- }, $ = u("grid gap-4", {
56
+ }, J = h("grid gap-4", {
57
57
  variants: {
58
58
  intent: {
59
59
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -61,20 +61,20 @@ const U = u(
61
61
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
62
62
  }
63
63
  }
64
- }), Ot = ({ heading: r, cards: e, classes: o, intent: d }) => /* @__PURE__ */ t.jsx("section", { className: p("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(k, { className: o == null ? void 0 : o.container, children: [
64
+ }), Gt = ({ heading: r, cards: e, classes: o, intent: d }) => /* @__PURE__ */ t.jsx("section", { className: p("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(k, { className: o == null ? void 0 : o.container, children: [
65
65
  /* @__PURE__ */ t.jsx(f, { className: p("mb-8", o == null ? void 0 : o.heading), as: "h2", children: r }),
66
- /* @__PURE__ */ t.jsx("ul", { className: p($({ intent: d }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t.jsx(Z, { intent: d, classes: o == null ? void 0 : o.item, ...n }, n.img)) })
67
- ] }) }), q = (r) => {
66
+ /* @__PURE__ */ t.jsx("ul", { className: p(J({ intent: d }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t.jsx(q, { intent: d, classes: o == null ? void 0 : o.item, ...n }, n.img)) })
67
+ ] }) }), K = (r) => {
68
68
  const { variant: e, details: o } = r;
69
69
  switch (e) {
70
70
  case "withButton":
71
71
  return /* @__PURE__ */ t.jsx(w, { intent: "secondary", size: "sm", ...o, children: (o == null ? void 0 : o.children) || "Оформить заявку" });
72
72
  case "withPhone":
73
- return /* @__PURE__ */ t.jsx(H, { ...o });
73
+ return /* @__PURE__ */ t.jsx(H, { classes: { root: "items-end" }, ...o });
74
74
  default:
75
75
  return null;
76
76
  }
77
- }, Vt = ({ logoPath: r = "/", logoType: e = "main", config: o, classes: d }) => /* @__PURE__ */ t.jsx("header", { className: p("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", d == null ? void 0 : d.header), children: /* @__PURE__ */ t.jsx(k, { className: p(d == null ? void 0 : d.container), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center justify-between gap-5", d == null ? void 0 : d.wrapper), children: [
77
+ }, Ut = ({ logoPath: r = "/", logoType: e = "main", config: o, classes: d }) => /* @__PURE__ */ t.jsx("header", { className: p("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", d == null ? void 0 : d.header), children: /* @__PURE__ */ t.jsx(k, { className: p(d == null ? void 0 : d.container), children: /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center justify-between gap-5", d == null ? void 0 : d.wrapper), children: [
78
78
  /* @__PURE__ */ t.jsx(
79
79
  "a",
80
80
  {
@@ -89,7 +89,7 @@ const U = u(
89
89
  children: L[e]
90
90
  }
91
91
  ),
92
- q(o)
92
+ K(o)
93
93
  ] }) }) }), E = ({ buttonsConfig: r, classes: e, className: o }) => {
94
94
  var n;
95
95
  const d = (r == null ? void 0 : r.secondary) && r.secondary.children;
@@ -118,7 +118,7 @@ const U = u(
118
118
  ]
119
119
  }
120
120
  );
121
- }, J = ({
121
+ }, Q = ({
122
122
  headTitle: r,
123
123
  subtitle: e,
124
124
  buttonsConfig: o,
@@ -128,7 +128,7 @@ const U = u(
128
128
  imgSets: x
129
129
  }) => {
130
130
  var m;
131
- const { isDesktop: l, isMobile: h } = b(), a = /* @__PURE__ */ t.jsx(
131
+ const { isDesktop: l, isMobile: u } = b(), a = /* @__PURE__ */ t.jsx(
132
132
  "div",
133
133
  {
134
134
  "data-id": "banner-advantages",
@@ -187,7 +187,7 @@ const U = u(
187
187
  l && a
188
188
  ] })
189
189
  ] }),
190
- h && a
190
+ u && a
191
191
  ] });
192
192
  }, B = ({
193
193
  headTitle: r,
@@ -199,7 +199,7 @@ const U = u(
199
199
  imgSets: x
200
200
  }) => {
201
201
  var m;
202
- const { isDesktop: l, isMobile: h } = b(), a = /* @__PURE__ */ t.jsx(
202
+ const { isDesktop: l, isMobile: u } = b(), a = /* @__PURE__ */ t.jsx(
203
203
  "div",
204
204
  {
205
205
  "data-id": "banner-advantages",
@@ -243,14 +243,14 @@ const U = u(
243
243
  ] }),
244
244
  l && a
245
245
  ] }) }),
246
- h && a
246
+ u && a
247
247
  ] });
248
- }, St = ({ bannerVariant: r, ...e }) => {
248
+ }, $t = ({ bannerVariant: r, ...e }) => {
249
249
  switch (r) {
250
250
  case "separateImg":
251
251
  return /* @__PURE__ */ t.jsx(B, { ...e });
252
252
  case "fullImg":
253
- return /* @__PURE__ */ t.jsx(J, { ...e });
253
+ return /* @__PURE__ */ t.jsx(Q, { ...e });
254
254
  default:
255
255
  return /* @__PURE__ */ t.jsx(B, { ...e });
256
256
  }
@@ -281,7 +281,7 @@ const U = u(
281
281
  ))
282
282
  }
283
283
  );
284
- }, K = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: o, href: d }) => /* @__PURE__ */ t.jsx(
284
+ }, X = ({ socialsLinks: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: r == null ? void 0 : r.map(({ iconName: o, href: d }) => /* @__PURE__ */ t.jsx(
285
285
  "a",
286
286
  {
287
287
  className: p("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
@@ -290,19 +290,19 @@ const U = u(
290
290
  children: /* @__PURE__ */ t.jsx(j, { name: o, className: p("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
291
291
  },
292
292
  d
293
- )) }), Q = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: o, text: d }) => /* @__PURE__ */ t.jsx(
293
+ )) }), Y = (r) => `${r[0]} ${r.slice(1, 4)} ${r.slice(4, 7)}-${r.slice(7, 9)}-${r.slice(9)}`, A = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: o, text: d }) => /* @__PURE__ */ t.jsx(
294
294
  H,
295
295
  {
296
- phone: o,
296
+ phone: Y(o),
297
297
  text: d,
298
298
  classes: {
299
- wrapper: p(e == null ? void 0 : e.phoneWrapper),
299
+ root: p(e == null ? void 0 : e.phoneWrapper),
300
300
  text: p("text-color-footer", e == null ? void 0 : e.phoneText),
301
301
  link: p("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
302
302
  }
303
303
  },
304
304
  o
305
- )) }), X = ({ classes: r, config: e }) => {
305
+ )) }), P = ({ classes: r, config: e }) => {
306
306
  const { details: o } = e || {};
307
307
  return /* @__PURE__ */ t.jsx(
308
308
  "div",
@@ -332,13 +332,13 @@ const U = u(
332
332
  )
333
333
  }
334
334
  );
335
- }, Y = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx(
335
+ }, s = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx(
336
336
  "div",
337
337
  {
338
338
  className: p("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight),
339
339
  dangerouslySetInnerHTML: { __html: r }
340
340
  }
341
- ), A = ({ classes: r }) => /* @__PURE__ */ t.jsx(
341
+ ), tt = ({ classes: r }) => /* @__PURE__ */ t.jsx(
342
342
  "a",
343
343
  {
344
344
  "aria-label": "logo",
@@ -346,7 +346,7 @@ const U = u(
346
346
  className: p("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", r == null ? void 0 : r.footerLogo),
347
347
  children: /* @__PURE__ */ t.jsx(j, { name: "brandLogos/logoWhite", className: p("size-full", r == null ? void 0 : r.footerLogoIcon) })
348
348
  }
349
- ), P = ({ classes: r }) => /* @__PURE__ */ t.jsx(
349
+ ), et = ({ classes: r }) => /* @__PURE__ */ t.jsx(
350
350
  y,
351
351
  {
352
352
  intent: "white",
@@ -360,7 +360,7 @@ const U = u(
360
360
  },
361
361
  children: "Карта сайта"
362
362
  }
363
- ), s = ({ text: r, classes: e }) => {
363
+ ), rt = ({ text: r, classes: e }) => {
364
364
  const [o, d] = g.useState(!1), [n, i] = g.useState(!1), x = g.useRef(null);
365
365
  return g.useEffect(() => {
366
366
  const l = x.current;
@@ -388,7 +388,7 @@ const U = u(
388
388
  }
389
389
  )
390
390
  ] });
391
- }, Gt = ({
391
+ }, Zt = ({
392
392
  renderBlocks: {
393
393
  withSocialsLinks: r = !0,
394
394
  withPhones: e = !0,
@@ -399,7 +399,7 @@ const U = u(
399
399
  } = {},
400
400
  socialsLinks: x = [],
401
401
  phones: l = [],
402
- ligal: h,
402
+ ligal: u,
403
403
  copyright: a = "",
404
404
  classes: m,
405
405
  config: v
@@ -413,15 +413,15 @@ const U = u(
413
413
  ),
414
414
  children: [
415
415
  /* @__PURE__ */ t.jsxs("div", { className: p(m == null ? void 0 : m.footerSocialBlock), children: [
416
- /* @__PURE__ */ t.jsx(A, { classes: m == null ? void 0 : m.footerLogo }),
417
- r && /* @__PURE__ */ t.jsx(K, { socialsLinks: x, classes: m == null ? void 0 : m.socialLinks })
416
+ /* @__PURE__ */ t.jsx(tt, { classes: m == null ? void 0 : m.footerLogo }),
417
+ r && /* @__PURE__ */ t.jsx(X, { socialsLinks: x, classes: m == null ? void 0 : m.socialLinks })
418
418
  ] }),
419
- e && /* @__PURE__ */ t.jsx(Q, { phones: l, classes: m == null ? void 0 : m.phonesBlock })
419
+ e && /* @__PURE__ */ t.jsx(A, { phones: l, classes: m == null ? void 0 : m.phonesBlock })
420
420
  ]
421
421
  }
422
422
  ),
423
- o && /* @__PURE__ */ t.jsx(X, { config: v, classes: m == null ? void 0 : m.navLinks }),
424
- i && /* @__PURE__ */ t.jsx(s, { text: h || "" }),
423
+ o && /* @__PURE__ */ t.jsx(P, { config: v, classes: m == null ? void 0 : m.navLinks }),
424
+ i && /* @__PURE__ */ t.jsx(rt, { text: u || "" }),
425
425
  /* @__PURE__ */ t.jsxs(
426
426
  "div",
427
427
  {
@@ -430,12 +430,12 @@ const U = u(
430
430
  m == null ? void 0 : m.footerBottom
431
431
  ),
432
432
  children: [
433
- d && /* @__PURE__ */ t.jsx(Y, { text: a, classes: m == null ? void 0 : m.copyright }),
434
- n && /* @__PURE__ */ t.jsx(P, { classes: m == null ? void 0 : m.siteMap })
433
+ d && /* @__PURE__ */ t.jsx(s, { text: a, classes: m == null ? void 0 : m.copyright }),
434
+ n && /* @__PURE__ */ t.jsx(et, { classes: m == null ? void 0 : m.siteMap })
435
435
  ]
436
436
  }
437
437
  )
438
- ] }) }) }), tt = ({ classes: r, index: e, variant: o, title: d, description: n }) => {
438
+ ] }) }) }), ot = ({ classes: r, index: e, variant: o, title: d, description: n }) => {
439
439
  const i = o === "withTitleAndDescription" && d;
440
440
  return /* @__PURE__ */ t.jsxs(
441
441
  "div",
@@ -468,7 +468,7 @@ const U = u(
468
468
  ]
469
469
  }
470
470
  );
471
- }, Ut = ({ headline: r, config: e, classes: o }) => {
471
+ }, qt = ({ headline: r, config: e, classes: o }) => {
472
472
  const { variant: d, details: n } = e;
473
473
  return /* @__PURE__ */ t.jsx(W, { className: o == null ? void 0 : o.root, children: /* @__PURE__ */ t.jsx(k, { className: o == null ? void 0 : o.container, children: /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
474
474
  /* @__PURE__ */ t.jsx(f, { as: "h2", className: p("text-color-dark", o == null ? void 0 : o.headline), children: r }),
@@ -479,11 +479,11 @@ const U = u(
479
479
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
480
480
  o == null ? void 0 : o.stepsWrapper
481
481
  ),
482
- children: n == null ? void 0 : n.map((i, x) => /* @__PURE__ */ t.jsx(tt, { variant: d, ...i, index: x + 1, classes: o == null ? void 0 : o.step }, i.description))
482
+ children: n == null ? void 0 : n.map((i, x) => /* @__PURE__ */ t.jsx(ot, { variant: d, ...i, index: x + 1, classes: o == null ? void 0 : o.step }, i.description))
483
483
  }
484
484
  )
485
485
  ] }) }) });
486
- }, et = u("", {
486
+ }, nt = h("", {
487
487
  variants: {
488
488
  intent: {
489
489
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -499,7 +499,7 @@ const U = u(
499
499
  defaultVariants: {
500
500
  intent: "twoItems"
501
501
  }
502
- }), rt = u("", {
502
+ }), dt = h("", {
503
503
  variants: {
504
504
  intent: {
505
505
  twoItems: "",
@@ -531,7 +531,7 @@ const U = u(
531
531
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
532
532
  }
533
533
  ]
534
- }), ot = u("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
534
+ }), it = h("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
535
535
  variants: {
536
536
  intent: {
537
537
  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',
@@ -541,7 +541,7 @@ const U = u(
541
541
  defaultVariants: {
542
542
  intent: "twoItems"
543
543
  }
544
- }), nt = u("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
544
+ }), pt = h("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
545
545
  variants: {
546
546
  intent: {
547
547
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -567,7 +567,7 @@ const U = u(
567
567
  class: "desktop:h-[272px] desktop:w-[500px]"
568
568
  }
569
569
  ]
570
- }), dt = ({ data: r, intent: e }) => {
570
+ }), xt = ({ data: r, intent: e }) => {
571
571
  const {
572
572
  title: o,
573
573
  description: d,
@@ -575,15 +575,15 @@ const U = u(
575
575
  enabled: !1
576
576
  }
577
577
  } = r;
578
- return /* @__PURE__ */ t.jsx("li", { className: p(ot({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
578
+ return /* @__PURE__ */ t.jsx("li", { className: p(it({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
579
579
  /* @__PURE__ */ t.jsxs("div", { className: p("mb-2 flex items-center gap-2"), children: [
580
580
  /* @__PURE__ */ t.jsx("h4", { className: p("mob-title-bold-m text-color-dark"), children: o }),
581
581
  n.enabled && /* @__PURE__ */ t.jsx(D, { triggerElement: /* @__PURE__ */ t.jsx(j, { className: p("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n == null ? void 0 : n.text })
582
582
  ] }),
583
583
  /* @__PURE__ */ t.jsx("div", { className: p("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: d } })
584
584
  ] }) });
585
- }, C = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden: d = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: p(et({ intent: r, desktopHidden: o, mobileHidden: d })), children: e }), it = ({ details: r, intent: e, withButton: o }) => /* @__PURE__ */ t.jsx("ul", { className: p(rt({ intent: e, withButton: o })), children: r == null ? void 0 : r.map((d, n) => /* @__PURE__ */ t.jsx(dt, { intent: e, data: d }, n)) }), Zt = ({ headline: r, buttonConfig: e, withButton: o = !1, config: d, imageComponent: n, classes: i }) => {
586
- const { intent: x = "twoItems", details: l } = d, h = x === "fourItems", a = x === "twoItems";
585
+ }, C = ({ intent: r, headline: e, desktopHidden: o = !1, mobileHidden: d = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: p(nt({ intent: r, desktopHidden: o, mobileHidden: d })), children: e }), mt = ({ details: r, intent: e, withButton: o }) => /* @__PURE__ */ t.jsx("ul", { className: p(dt({ intent: e, withButton: o })), children: r == null ? void 0 : r.map((d, n) => /* @__PURE__ */ t.jsx(xt, { intent: e, data: d }, n)) }), Jt = ({ headline: r, buttonConfig: e, withButton: o = !1, config: d, imageComponent: n, classes: i }) => {
586
+ const { intent: x = "twoItems", details: l } = d, u = x === "fourItems", a = x === "twoItems";
587
587
  return /* @__PURE__ */ t.jsx("section", { className: p(i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(k, { className: p(i == null ? void 0 : i.container), children: [
588
588
  a && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r }),
589
589
  /* @__PURE__ */ t.jsxs(
@@ -594,15 +594,15 @@ const U = u(
594
594
  i == null ? void 0 : i.contentContainer
595
595
  ),
596
596
  children: [
597
- h && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r, desktopHidden: !0 }),
598
- /* @__PURE__ */ t.jsx("div", { className: p(nt({ intent: x, withButton: o }), i == null ? void 0 : i.imgContainer), children: n }),
597
+ u && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r, desktopHidden: !0 }),
598
+ /* @__PURE__ */ t.jsx("div", { className: p(pt({ intent: x, withButton: o }), i == null ? void 0 : i.imgContainer), children: n }),
599
599
  /* @__PURE__ */ t.jsxs(
600
600
  "div",
601
601
  {
602
602
  className: p("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
603
603
  children: [
604
- h && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r, mobileHidden: !0 }),
605
- /* @__PURE__ */ t.jsx(it, { details: l, intent: x, withButton: o }),
604
+ u && /* @__PURE__ */ t.jsx(C, { intent: x, headline: r, mobileHidden: !0 }),
605
+ /* @__PURE__ */ t.jsx(mt, { details: l, intent: x, withButton: o }),
606
606
  o && /* @__PURE__ */ t.jsx(
607
607
  w,
608
608
  {
@@ -620,7 +620,7 @@ const U = u(
620
620
  }
621
621
  )
622
622
  ] }) });
623
- }, I = {
623
+ }, c = {
624
624
  ESIA: "esia",
625
625
  MOBILE_ID: "mobileId",
626
626
  COMBINE: "combine"
@@ -646,7 +646,7 @@ const U = u(
646
646
  }
647
647
  )
648
648
  }
649
- ), pt = ({ ...r }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
649
+ ), lt = ({ ...r }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
650
650
  /* @__PURE__ */ t.jsx(
651
651
  "path",
652
652
  {
@@ -722,11 +722,11 @@ const U = u(
722
722
  /* @__PURE__ */ t.jsx(R, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
723
723
  /* @__PURE__ */ t.jsx(j, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
724
724
  ] }),
725
- d && /* @__PURE__ */ t.jsx(c, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: d })
725
+ d && /* @__PURE__ */ t.jsx(I, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: d })
726
726
  ]
727
727
  }
728
728
  ) });
729
- }, _ = ({ mainLink: r, subLink: e, isLoading: o, badge: d, loaderProps: n, classes: i }) => {
729
+ }, M = ({ mainLink: r, subLink: e, isLoading: o, badge: d, loaderProps: n, classes: i }) => {
730
730
  const { isMobile: x } = b();
731
731
  return /* @__PURE__ */ t.jsx(F, { isLoading: o, loaderProps: n, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
732
732
  "div",
@@ -738,21 +738,21 @@ const U = u(
738
738
  ),
739
739
  children: [
740
740
  /* @__PURE__ */ t.jsxs("div", { className: p("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
741
- /* @__PURE__ */ t.jsx(pt, { className: p("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
741
+ /* @__PURE__ */ t.jsx(lt, { className: p("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
742
742
  /* @__PURE__ */ t.jsx(R, { mainLink: r, subLink: e, isMobile: x, classes: i == null ? void 0 : i.links }),
743
743
  /* @__PURE__ */ t.jsx(j, { name: "arrows/arrowRight", className: p("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
744
744
  ] }),
745
- d && /* @__PURE__ */ t.jsx(c, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: d })
745
+ d && /* @__PURE__ */ t.jsx(I, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: d })
746
746
  ]
747
747
  }
748
748
  ) });
749
- }, xt = (r) => {
749
+ }, at = (r) => {
750
750
  switch (r.mode) {
751
- case I.ESIA:
752
- return /* @__PURE__ */ t.jsx(_, { ...r });
753
- case I.MOBILE_ID:
751
+ case c.ESIA:
752
+ return /* @__PURE__ */ t.jsx(M, { ...r });
753
+ case c.MOBILE_ID:
754
754
  return /* @__PURE__ */ t.jsx(T, { ...r });
755
- case I.COMBINE:
755
+ case c.COMBINE:
756
756
  default:
757
757
  const { esiaConfig: e, mobileIdConfig: o, subtitle: d, badge: n, classes: i } = r, x = !d && !n ? g.Fragment : "div";
758
758
  return /* @__PURE__ */ t.jsxs(
@@ -765,11 +765,11 @@ const U = u(
765
765
  children: [
766
766
  /* @__PURE__ */ t.jsxs(x, { className: p("flex w-full items-center justify-between gap-2", i == null ? void 0 : i.topContent), children: [
767
767
  d && /* @__PURE__ */ t.jsx("h5", { className: p("desk-body-regular-l flex flex-1 text-color-dark", i == null ? void 0 : i.subtitle), children: d }),
768
- n && /* @__PURE__ */ t.jsx(c, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: n })
768
+ n && /* @__PURE__ */ t.jsx(I, { className: p("bg-color-positive", i == null ? void 0 : i.badge), children: n })
769
769
  ] }),
770
770
  /* @__PURE__ */ t.jsxs("div", { className: p("grid w-full grid-cols-2 gap-2 desktop:gap-4", i == null ? void 0 : i.authWrapper), children: [
771
771
  /* @__PURE__ */ t.jsx(
772
- _,
772
+ M,
773
773
  {
774
774
  ...e,
775
775
  classes: {
@@ -795,7 +795,7 @@ const U = u(
795
795
  }
796
796
  );
797
797
  }
798
- }, $t = (r) => xt(r), M = ({ links: r, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: p("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: r == null ? void 0 : r.map(({ path: o, label: d }) => /* @__PURE__ */ t.jsx(
798
+ }, Kt = (r) => at(r), _ = ({ links: r, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: p("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: r == null ? void 0 : r.map(({ path: o, label: d }) => /* @__PURE__ */ t.jsx(
799
799
  y,
800
800
  {
801
801
  classes: {
@@ -807,13 +807,13 @@ const U = u(
807
807
  children: d
808
808
  },
809
809
  o
810
- )) }), mt = ({ groupLabel: r, links: e, mobileAccordionProps: o, classes: d }) => {
810
+ )) }), ut = ({ groupLabel: r, links: e, mobileAccordionProps: o, classes: d }) => {
811
811
  var i, x, l;
812
812
  const { isMobile: n } = b();
813
813
  return /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-col gap-2", d == null ? void 0 : d.columnGroup), children: [
814
814
  !n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
815
815
  /* @__PURE__ */ t.jsx("h5", { className: p("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", d == null ? void 0 : d.columnGroupHeading), children: r }),
816
- /* @__PURE__ */ t.jsx(M, { links: e, classes: d == null ? void 0 : d.linksList }, "desktop")
816
+ /* @__PURE__ */ t.jsx(_, { links: e, classes: d == null ? void 0 : d.linksList }, "desktop")
817
817
  ] }),
818
818
  n && /* @__PURE__ */ t.jsx(
819
819
  N,
@@ -829,11 +829,11 @@ const U = u(
829
829
  },
830
830
  contentInner: p("py-2 px-4", (l = o == null ? void 0 : o.classes) == null ? void 0 : l.contentInner)
831
831
  },
832
- children: /* @__PURE__ */ t.jsx(M, { links: e, classes: d == null ? void 0 : d.linksList }, "mobile")
832
+ children: /* @__PURE__ */ t.jsx(_, { links: e, classes: d == null ? void 0 : d.linksList }, "mobile")
833
833
  }
834
834
  )
835
835
  ] });
836
- }, lt = ({ column: r, mobileAccordionProps: e, classes: o }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:gap-6", o == null ? void 0 : o.column), children: r == null ? void 0 : r.map((d) => /* @__PURE__ */ t.jsx(mt, { ...e, ...d, classes: o == null ? void 0 : o.columnGroup }, d.groupLabel)) }), at = u("grid gap-4 grid-cols-1", {
836
+ }, ht = ({ column: r, mobileAccordionProps: e, classes: o }) => /* @__PURE__ */ t.jsx("div", { className: p("flex flex-col gap-4 desktop:gap-6", o == null ? void 0 : o.column), children: r == null ? void 0 : r.map((d) => /* @__PURE__ */ t.jsx(ut, { ...e, ...d, classes: o == null ? void 0 : o.columnGroup }, d.groupLabel)) }), ft = h("grid gap-4 grid-cols-1", {
837
837
  variants: {
838
838
  variant: {
839
839
  twoCols: "desktop:grid-cols-2",
@@ -844,8 +844,8 @@ const U = u(
844
844
  defaultVariants: {
845
845
  variant: "fourCols"
846
846
  }
847
- }), qt = ({ config: r, headline: e, mobileAccordionProps: o, rootAccordionProps: d, classes: n }) => {
848
- var l, h, a;
847
+ }), Qt = ({ config: r, headline: e, mobileAccordionProps: o, rootAccordionProps: d, classes: n }) => {
848
+ var l, u, a;
849
849
  const { variant: i, details: x } = r;
850
850
  return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: p("min-w-full desktop:min-w-[1140px]", n == null ? void 0 : n.root), children: /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx(
851
851
  N,
@@ -856,14 +856,14 @@ const U = u(
856
856
  classes: {
857
857
  ...d == null ? void 0 : d.classes,
858
858
  header: {
859
- trigger: p("bg-color-blue-grey-100", (h = (l = d == null ? void 0 : d.classes) == null ? void 0 : l.header) == null ? void 0 : h.trigger)
859
+ trigger: p("bg-color-blue-grey-100", (u = (l = d == null ? void 0 : d.classes) == null ? void 0 : l.header) == null ? void 0 : u.trigger)
860
860
  },
861
861
  content: p("max-w-full bg-color-blue-grey-100 relative", (a = d == null ? void 0 : d.classes) == null ? void 0 : a.content)
862
862
  },
863
- children: /* @__PURE__ */ t.jsx("div", { className: p(at({ variant: i }), n == null ? void 0 : n.columnsWrapper), children: x == null ? void 0 : x.map((m, v) => /* @__PURE__ */ t.jsx(lt, { ...m, ...o, classes: n == null ? void 0 : n.column }, v)) })
863
+ children: /* @__PURE__ */ t.jsx("div", { className: p(ft({ variant: i }), n == null ? void 0 : n.columnsWrapper), children: x == null ? void 0 : x.map((m, v) => /* @__PURE__ */ t.jsx(ht, { ...m, ...o, classes: n == null ? void 0 : n.column }, v)) })
864
864
  }
865
865
  ) }) });
866
- }, ht = ({ tabsNames: r, activeTab: e, setActiveTab: o }) => /* @__PURE__ */ t.jsx("div", { className: "hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", children: r && r.map((d, n) => /* @__PURE__ */ t.jsx(
866
+ }, jt = ({ tabsNames: r, activeTab: e, setActiveTab: o }) => /* @__PURE__ */ t.jsx("div", { className: "hidden-scroll flex items-center gap-4 overflow-x-auto p-[6px]", children: r && r.map((d, n) => /* @__PURE__ */ t.jsx(
867
867
  "button",
868
868
  {
869
869
  onClick: () => o(n),
@@ -876,10 +876,10 @@ const U = u(
876
876
  children: d
877
877
  },
878
878
  d
879
- )) }), ut = (r) => r.variant === "HTML", ft = (r) => r.variant === "DOCUMENTS", jt = (r) => r.variant === "TABLE", kt = ({ html: r, config: e }) => {
879
+ )) }), kt = (r) => r.variant === "HTML", bt = (r) => r.variant === "DOCUMENTS", gt = (r) => r.variant === "TABLE", wt = ({ html: r, config: e }) => {
880
880
  const o = /* @__PURE__ */ t.jsx("div", { dangerouslySetInnerHTML: { __html: r ?? "" } });
881
881
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(N, { label: e == null ? void 0 : e.accordionTitle, children: o }) : o });
882
- }, bt = (r, e) => ({
882
+ }, Nt = (r, e) => ({
883
883
  rows: r == null ? void 0 : r.map(({ row: o }) => ({
884
884
  row: o == null ? void 0 : o.map((d, n) => {
885
885
  var i;
@@ -889,21 +889,21 @@ const U = u(
889
889
  };
890
890
  })
891
891
  }))
892
- }), gt = u("flex flex-col", {
892
+ }), yt = h("flex flex-col", {
893
893
  variants: {
894
894
  columnsVariant: {
895
895
  twoCols: "w-full max-w-[656px]",
896
896
  threeCols: "w-full max-w-[768px]"
897
897
  }
898
898
  }
899
- }), wt = u("grid px-4 mb-4", {
899
+ }), vt = h("grid px-4 mb-4", {
900
900
  variants: {
901
901
  columnsVariant: {
902
902
  twoCols: "grid-cols-2 gap-16",
903
903
  threeCols: "grid-cols-3 gap-12"
904
904
  }
905
905
  }
906
- }), Nt = ({ headings: r, columnsVariant: e }) => /* @__PURE__ */ t.jsx("div", { className: p(wt({ columnsVariant: e })), children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ t.jsx("div", { className: "text-color-secondary", children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), yt = u("grid items-center", {
906
+ }), Ct = ({ headings: r, columnsVariant: e }) => /* @__PURE__ */ t.jsx("div", { className: p(vt({ columnsVariant: e })), children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ t.jsx("div", { className: "text-color-secondary", children: o == null ? void 0 : o.heading }, o == null ? void 0 : o.heading)) }), ct = h("grid items-center", {
907
907
  variants: {
908
908
  columnsVariant: {
909
909
  twoCols: "grid-cols-2 gap-16",
@@ -914,14 +914,14 @@ const U = u(
914
914
  separator: "px-4 py-4 border-t border-solid border-warm-grey-200"
915
915
  }
916
916
  }
917
- }), vt = ({ row: r, tableVariant: e, columnsVariant: o, rowIndex: d }) => /* @__PURE__ */ t.jsx("div", { className: p(yt({ columnsVariant: o, tableVariant: e }), { "border-none": d === 0 }), children: r == null ? void 0 : r.map(({ cell: n }, i) => /* @__PURE__ */ t.jsx("div", { className: p("desk-body-regular-l text-color-dark", { "font-medium": i !== 0 }), children: n && n }, i)) }), Ct = u("flex flex-col gap-2", {
917
+ }), It = ({ row: r, tableVariant: e, columnsVariant: o, rowIndex: d }) => /* @__PURE__ */ t.jsx("div", { className: p(ct({ columnsVariant: o, tableVariant: e }), { "border-none": d === 0 }), children: r == null ? void 0 : r.map(({ cell: n }, i) => /* @__PURE__ */ t.jsx("div", { className: p("desk-body-regular-l text-color-dark", { "font-medium": i !== 0 }), children: n && n }, i)) }), Bt = h("flex flex-col gap-2", {
918
918
  variants: {
919
919
  tableVariant: {
920
920
  filled: "px-4 py-4 odd:bg-color-primary-light-default",
921
921
  separator: "py-4 border-t border-solid border-warm-grey-200 first:border-none"
922
922
  }
923
923
  }
924
- }), It = ({ row: r, tableVariant: e, columnsVariant: o, headingsExist: d }) => /* @__PURE__ */ t.jsx("div", { className: p(Ct({ tableVariant: e })), children: r == null ? void 0 : r.map(({ cell: n, heading: i }, x) => /* @__PURE__ */ t.jsxs("div", { className: p("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !d }), children: [
924
+ }), Tt = ({ row: r, tableVariant: e, columnsVariant: o, headingsExist: d }) => /* @__PURE__ */ t.jsx("div", { className: p(Bt({ tableVariant: e })), children: r == null ? void 0 : r.map(({ cell: n, heading: i }, x) => /* @__PURE__ */ t.jsxs("div", { className: p("grid grid-cols-2 gap-3", { "grid-cols-1 gap-0": !d }), children: [
925
925
  i && /* @__PURE__ */ t.jsx("div", { className: "mob-body-regular-l text-color-secondary", children: i }),
926
926
  /* @__PURE__ */ t.jsx(
927
927
  "div",
@@ -932,33 +932,33 @@ const U = u(
932
932
  children: n
933
933
  }
934
934
  )
935
- ] }, x)) }), ct = ({ tableVariant: r, rows: e, headings: o, columnsVariant: d }) => {
935
+ ] }, x)) }), Mt = ({ tableVariant: r, rows: e, headings: o, columnsVariant: d }) => {
936
936
  var l;
937
- const { isDesktop: n } = b(), i = ((l = bt(e, o)) == null ? void 0 : l.rows) ?? [], x = !!(o && o.length > 0);
937
+ const { isDesktop: n } = b(), i = ((l = Nt(e, o)) == null ? void 0 : l.rows) ?? [], x = !!(o && o.length > 0);
938
938
  return /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col", children: [
939
- n && x && /* @__PURE__ */ t.jsx(Nt, { headings: o, columnsVariant: d }),
940
- n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: e == null ? void 0 : e.map((h, a) => /* @__PURE__ */ t.jsx(vt, { rowIndex: a, tableVariant: r, columnsVariant: d, ...h }, a)) }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: i == null ? void 0 : i.map((h, a) => /* @__PURE__ */ t.jsx(
941
- It,
939
+ n && x && /* @__PURE__ */ t.jsx(Ct, { headings: o, columnsVariant: d }),
940
+ n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: e == null ? void 0 : e.map((u, a) => /* @__PURE__ */ t.jsx(It, { rowIndex: a, tableVariant: r, columnsVariant: d, ...u }, a)) }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: i == null ? void 0 : i.map((u, a) => /* @__PURE__ */ t.jsx(
941
+ Tt,
942
942
  {
943
943
  headingsExist: x,
944
944
  tableVariant: r,
945
945
  columnsVariant: d,
946
- ...h
946
+ ...u
947
947
  },
948
948
  a
949
949
  )) })
950
950
  ] });
951
- }, Bt = ({ tableVariant: r, description: e, columnsVariant: o, config: d, rows: n, title: i, headings: x }) => {
952
- const l = /* @__PURE__ */ t.jsxs("div", { className: p(gt({ columnsVariant: o })), children: [
951
+ }, _t = ({ tableVariant: r, description: e, columnsVariant: o, config: d, rows: n, title: i, headings: x }) => {
952
+ const l = /* @__PURE__ */ t.jsxs("div", { className: p(yt({ columnsVariant: o })), children: [
953
953
  i && /* @__PURE__ */ t.jsx(f, { as: "h4", className: "mb-4 desktop:mb-6", children: i }),
954
- /* @__PURE__ */ t.jsx(ct, { tableVariant: r, rows: n, headings: x, columnsVariant: o }),
954
+ /* @__PURE__ */ t.jsx(Mt, { tableVariant: r, rows: n, headings: x, columnsVariant: o }),
955
955
  e && /* @__PURE__ */ t.jsx("div", { className: "mt-2 [&&]:desk-body-regular-m desktop:mt-2", dangerouslySetInnerHTML: { __html: e ?? "" } })
956
956
  ] });
957
957
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: d && (d != null && d.isAccordion) && (d != null && d.accordionTitle) ? /* @__PURE__ */ t.jsx(N, { label: d == null ? void 0 : d.accordionTitle, children: l }) : l });
958
- }, Tt = {
958
+ }, Ht = {
959
959
  documentFilled: "files/documentFilled",
960
960
  documentOutline: "files/documentOutline"
961
- }, _t = u("size-8 transition-colors", {
961
+ }, Et = h("size-8 transition-colors", {
962
962
  variants: {
963
963
  iconType: {
964
964
  documentOutline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
@@ -968,7 +968,7 @@ const U = u(
968
968
  defaultVariants: {
969
969
  iconType: "documentOutline"
970
970
  }
971
- }), Mt = ({ label: r, size: e, url: o, iconType: d }) => /* @__PURE__ */ t.jsxs(
971
+ }), zt = ({ label: r, size: e, url: o, iconType: d }) => /* @__PURE__ */ t.jsxs(
972
972
  "a",
973
973
  {
974
974
  href: o,
@@ -979,7 +979,7 @@ const U = u(
979
979
  "group flex w-full cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus"
980
980
  ),
981
981
  children: [
982
- /* @__PURE__ */ t.jsx(j, { name: Tt[d], className: p(_t({ iconType: d })) }),
982
+ /* @__PURE__ */ t.jsx(j, { name: Ht[d], className: p(Et({ iconType: d })) }),
983
983
  /* @__PURE__ */ t.jsxs("div", { className: p("flex flex-1 flex-col"), children: [
984
984
  /* @__PURE__ */ t.jsx("p", { className: p("desk-body-medium-l text-color-dark"), children: r }),
985
985
  /* @__PURE__ */ t.jsxs("div", { className: p("desk-body-regular-m text-color-disabled"), children: [
@@ -989,45 +989,49 @@ const U = u(
989
989
  ] })
990
990
  ]
991
991
  }
992
- ), Ht = ({ docs: r, config: e, title: o, iconType: d, description: n }) => {
992
+ ), Ft = ({ docs: r, config: e, title: o, iconType: d, description: n }) => {
993
993
  const i = /* @__PURE__ */ t.jsxs("div", { className: "flex max-w-[680px] flex-col", children: [
994
994
  o && /* @__PURE__ */ t.jsx(f, { as: "h3", className: "mb-4", children: o }),
995
- /* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(Mt, { iconType: d, ...x }, x.label)) }),
995
+ /* @__PURE__ */ t.jsx("div", { className: "gap- flex flex-col gap-4", children: r == null ? void 0 : r.map((x) => /* @__PURE__ */ t.jsx(zt, { iconType: d, ...x }, x.label)) }),
996
996
  n && /* @__PURE__ */ t.jsx("div", { className: "mt-4", dangerouslySetInnerHTML: { __html: n ?? "" } })
997
997
  ] });
998
998
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: e && (e != null && e.isAccordion) && (e != null && e.accordionTitle) ? /* @__PURE__ */ t.jsx(N, { label: e == null ? void 0 : e.accordionTitle, children: i }) : i });
999
- }, Et = (r) => {
999
+ }, Rt = (r) => {
1000
1000
  var e, o, d;
1001
1001
  switch (!0) {
1002
- case ut(r):
1003
- return (e = r.details) == null ? void 0 : e.map((n, i) => /* @__PURE__ */ t.jsx(kt, { ...n }, i));
1004
- case ft(r):
1005
- return (o = r.details) == null ? void 0 : o.map((n, i) => /* @__PURE__ */ t.jsx(Ht, { ...n }, i));
1006
- case jt(r):
1007
- return (d = r.details) == null ? void 0 : d.map((n, i) => /* @__PURE__ */ t.jsx(Bt, { ...n }, i));
1002
+ case kt(r):
1003
+ return (e = r.details) == null ? void 0 : e.map((n, i) => /* @__PURE__ */ t.jsx(wt, { ...n }, i));
1004
+ case bt(r):
1005
+ return (o = r.details) == null ? void 0 : o.map((n, i) => /* @__PURE__ */ t.jsx(Ft, { ...n }, i));
1006
+ case gt(r):
1007
+ return (d = r.details) == null ? void 0 : d.map((n, i) => /* @__PURE__ */ t.jsx(_t, { ...n }, i));
1008
1008
  default:
1009
1009
  return null;
1010
1010
  }
1011
- }, zt = ({ entity: r }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-6", children: Et(r) }), Jt = ({ headline: r, tabs: e }) => {
1011
+ }, Lt = ({ entity: r }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-col gap-6", children: Rt(r) }), Xt = ({ headline: r, tabs: e }) => {
1012
1012
  var i, x;
1013
- const [o, d] = S(0), n = G(() => e == null ? void 0 : e.map((l) => l == null ? void 0 : l.tabName), [e]) ?? [];
1013
+ const [o, d] = G(0), n = U(() => e == null ? void 0 : e.map((l) => l == null ? void 0 : l.tabName), [e]) ?? [];
1014
1014
  return !e || (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ t.jsx("section", { id: "useful-info", className: "pb-[64px] desktop:pb-20", children: /* @__PURE__ */ t.jsxs(k, { children: [
1015
1015
  /* @__PURE__ */ t.jsx(f, { as: "h2", children: r }),
1016
- /* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ t.jsx(ht, { tabsNames: n, activeTab: o, setActiveTab: d }) }),
1017
- /* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (x = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.contents) == null ? void 0 : x.map((l, h) => /* @__PURE__ */ t.jsx(zt, { ...l }, h)) })
1016
+ /* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-2 desktop:mt-12", children: /* @__PURE__ */ t.jsx(jt, { tabsNames: n, activeTab: o, setActiveTab: d }) }),
1017
+ /* @__PURE__ */ t.jsx("div", { className: "mt-6 flex flex-col gap-6", children: (x = (i = e == null ? void 0 : e[o]) == null ? void 0 : i.contents) == null ? void 0 : x.map((l, u) => /* @__PURE__ */ t.jsx(Lt, { ...l }, u)) })
1018
1018
  ] }) });
1019
- };
1019
+ }, Yt = ({ fields: r, control: e }) => r.map(({ type: o, args: d }) => {
1020
+ const n = V[o];
1021
+ return /* @__PURE__ */ $(n, { ...d, key: d.name, control: e });
1022
+ });
1020
1023
  export {
1021
1024
  z as Advantages,
1022
- $t as AuthProvider,
1023
- St as Banner,
1025
+ Kt as AuthProvider,
1026
+ $t as Banner,
1024
1027
  B as BannerWithSeparateImg,
1025
- Ot as Benefit,
1026
- Gt as Footer,
1027
- Vt as Header,
1028
- qt as InterLinking,
1029
- Zt as LongBanner,
1030
- Ut as Stepper,
1031
- Jt as UsefulInfo
1028
+ Gt as Benefit,
1029
+ Yt as FieldMapper,
1030
+ Zt as Footer,
1031
+ Ut as Header,
1032
+ Qt as InterLinking,
1033
+ Jt as LongBanner,
1034
+ qt as Stepper,
1035
+ Xt as UsefulInfo
1032
1036
  };
1033
1037
  //# sourceMappingURL=widget.js.map