@scbt-ecom/ui 0.35.0 → 0.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -2,9 +2,8 @@ import { j as t, B as w, H as a, c as j, R as k, P as M, b as T, I as l, C as g,
2
2
  import { c as d } from "./cn-DIfn7EPB.js";
3
3
  import { s as D } from "./scrollToElement-B-reg4jF.js";
4
4
  import { u as b } from "./useDevice-L83kSsN7.js";
5
- import O from "isomorphic-dompurify";
6
- import * as G from "react";
7
- const U = j(
5
+ import * as O from "react";
6
+ const G = j(
8
7
  "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
8
  {
10
9
  variants: {
@@ -15,7 +14,7 @@ const U = j(
15
14
  }
16
15
  }
17
16
  }
18
- ), S = ({
17
+ ), U = ({
19
18
  description: o,
20
19
  title: e,
21
20
  img: x,
@@ -39,7 +38,7 @@ const U = j(
39
38
  return /* @__PURE__ */ t.jsxs(
40
39
  "li",
41
40
  {
42
- className: d(U({ intent: h }), { "pb-0": r }, { "pb-12": !r }, f, n == null ? void 0 : n.root),
41
+ className: d(G({ intent: h }), { "pb-0": r }, { "pb-12": !r }, f, n == null ? void 0 : n.root),
43
42
  children: [
44
43
  /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", n == null ? void 0 : n.wrapper), children: [
45
44
  /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", n == null ? void 0 : n.textContainer), children: [
@@ -53,7 +52,7 @@ const U = j(
53
52
  },
54
53
  x
55
54
  );
56
- }, Z = j("grid gap-4", {
55
+ }, S = j("grid gap-4", {
57
56
  variants: {
58
57
  intent: {
59
58
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -61,10 +60,10 @@ const U = j(
61
60
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
62
61
  }
63
62
  }
64
- }), wt = ({ heading: o, cards: e, classes: x, intent: r }) => /* @__PURE__ */ t.jsx("section", { className: d("pb-20", x == null ? void 0 : x.root), children: /* @__PURE__ */ t.jsxs(k, { className: x == null ? void 0 : x.container, children: [
63
+ }), jt = ({ heading: o, cards: e, classes: x, intent: r }) => /* @__PURE__ */ t.jsx("section", { className: d("pb-20", x == null ? void 0 : x.root), children: /* @__PURE__ */ t.jsxs(k, { className: x == null ? void 0 : x.container, children: [
65
64
  /* @__PURE__ */ t.jsx(a, { className: d("mb-8", x == null ? void 0 : x.heading), as: "h2", children: o }),
66
- /* @__PURE__ */ t.jsx("ul", { className: d(Z({ intent: r }), x == null ? void 0 : x.grid), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t.jsx(S, { intent: r, classes: x == null ? void 0 : x.item, ...n }, n.img)) })
67
- ] }) }), $ = (o) => {
65
+ /* @__PURE__ */ t.jsx("ul", { className: d(S({ intent: r }), x == null ? void 0 : x.grid), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t.jsx(U, { intent: r, classes: x == null ? void 0 : x.item, ...n }, n.img)) })
66
+ ] }) }), Z = (o) => {
68
67
  var e;
69
68
  switch (o.variant) {
70
69
  case "withButton":
@@ -74,7 +73,7 @@ const U = j(
74
73
  default:
75
74
  return null;
76
75
  }
77
- }, gt = (o) => {
76
+ }, bt = (o) => {
78
77
  const { logoPath: e = "/", logoType: x = "main", classes: r } = o;
79
78
  return /* @__PURE__ */ t.jsx("header", { className: d("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(k, { className: d(r == null ? void 0 : r.container), children: /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
80
79
  /* @__PURE__ */ t.jsx(
@@ -91,7 +90,7 @@ const U = j(
91
90
  children: T[x]
92
91
  }
93
92
  ),
94
- $(o)
93
+ Z(o)
95
94
  ] }) }) });
96
95
  }, E = ({ buttonsConfig: o, classes: e, className: x }) => {
97
96
  var n;
@@ -121,7 +120,7 @@ const U = j(
121
120
  ]
122
121
  }
123
122
  );
124
- }, q = ({
123
+ }, $ = ({
125
124
  headTitle: o,
126
125
  subtitle: e,
127
126
  buttonsConfig: x,
@@ -248,12 +247,12 @@ const U = j(
248
247
  ] }) }),
249
248
  f && u
250
249
  ] });
251
- }, Nt = ({ bannerVariant: o, ...e }) => {
250
+ }, wt = ({ bannerVariant: o, ...e }) => {
252
251
  switch (o) {
253
252
  case "separateImg":
254
253
  return /* @__PURE__ */ t.jsx(I, { ...e });
255
254
  case "fullImg":
256
- return /* @__PURE__ */ t.jsx(q, { ...e });
255
+ return /* @__PURE__ */ t.jsx($, { ...e });
257
256
  default:
258
257
  return /* @__PURE__ */ t.jsx(I, { ...e });
259
258
  }
@@ -281,18 +280,18 @@ const U = j(
281
280
  r
282
281
  ))
283
282
  }
284
- ), J = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
283
+ ), q = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
285
284
  "© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
286
285
  /* @__PURE__ */ t.jsx("br", { className: "mobile:hidden" }),
287
286
  " Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
288
- ] }), K = [
287
+ ] }), J = [
289
288
  { phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
290
289
  { phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
291
- ], Q = [
290
+ ], K = [
292
291
  { iconName: "social/vk", href: "https://vk.com/sovcombank" },
293
292
  { iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
294
293
  { iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
295
- ], X = [
294
+ ], Q = [
296
295
  {
297
296
  groupLabel: "Совкомбанк",
298
297
  links: [
@@ -369,7 +368,7 @@ const U = j(
369
368
  { text: "Офисы и банкоматы", href: "/" }
370
369
  ]
371
370
  }
372
- ], Y = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: x, href: r }) => /* @__PURE__ */ t.jsx(
371
+ ], X = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: x, href: r }) => /* @__PURE__ */ t.jsx(
373
372
  "a",
374
373
  {
375
374
  className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
@@ -378,7 +377,7 @@ const U = j(
378
377
  children: /* @__PURE__ */ t.jsx(l, { name: x, className: d("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
379
378
  },
380
379
  r
381
- )) }), P = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: x, text: r }) => /* @__PURE__ */ t.jsx(
380
+ )) }), Y = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: x, text: r }) => /* @__PURE__ */ t.jsx(
382
381
  M,
383
382
  {
384
383
  phone: x,
@@ -390,7 +389,7 @@ const U = j(
390
389
  }
391
390
  },
392
391
  x
393
- )) }), A = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx(
392
+ )) }), P = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx(
394
393
  "div",
395
394
  {
396
395
  className: d(
@@ -415,7 +414,7 @@ const U = j(
415
414
  )) })
416
415
  ] }, x))
417
416
  }
418
- ), c = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: o }), s = ({ classes: o }) => /* @__PURE__ */ t.jsx(
417
+ ), A = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: o }), c = ({ classes: o }) => /* @__PURE__ */ t.jsx(
419
418
  "a",
420
419
  {
421
420
  "aria-label": "logo",
@@ -423,7 +422,7 @@ const U = j(
423
422
  className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", o == null ? void 0 : o.footerLogo),
424
423
  children: /* @__PURE__ */ t.jsx(l, { name: "brandLogos/logoWhite", className: d("size-full", o == null ? void 0 : o.footerLogoIcon) })
425
424
  }
426
- ), tt = ({ classes: o }) => /* @__PURE__ */ t.jsx(
425
+ ), s = ({ classes: o }) => /* @__PURE__ */ t.jsx(
427
426
  g,
428
427
  {
429
428
  intent: "white",
@@ -437,13 +436,13 @@ const U = j(
437
436
  },
438
437
  children: "Карта сайта"
439
438
  }
440
- ), yt = ({
439
+ ), gt = ({
441
440
  renderBlocks: { withSocial: o = !0, withPhones: e = !0, withNavLinks: x = !0, withCopyright: r = !0, withSiteMap: n = !0 } = {},
442
- socialsLinks: i = Q,
443
- phones: m = K,
444
- navigationLinks: h = X,
441
+ socialsLinks: i = K,
442
+ phones: m = J,
443
+ navigationLinks: h = Q,
445
444
  ligal: f,
446
- copyright: u = J,
445
+ copyright: u = q,
447
446
  classes: p
448
447
  }) => /* @__PURE__ */ t.jsx("footer", { className: d("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsx(k, { className: d(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: d("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
449
448
  /* @__PURE__ */ t.jsxs(
@@ -455,14 +454,14 @@ const U = j(
455
454
  ),
456
455
  children: [
457
456
  /* @__PURE__ */ t.jsxs("div", { className: d(p == null ? void 0 : p.footerSocialBlock), children: [
458
- /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.footerLogo }),
459
- o && /* @__PURE__ */ t.jsx(Y, { socialsLinks: i, classes: p == null ? void 0 : p.socialLinks })
457
+ /* @__PURE__ */ t.jsx(c, { classes: p == null ? void 0 : p.footerLogo }),
458
+ o && /* @__PURE__ */ t.jsx(X, { socialsLinks: i, classes: p == null ? void 0 : p.socialLinks })
460
459
  ] }),
461
- e && /* @__PURE__ */ t.jsx(P, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
460
+ e && /* @__PURE__ */ t.jsx(Y, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
462
461
  ]
463
462
  }
464
463
  ),
465
- x && /* @__PURE__ */ t.jsx(A, { navigationLinks: h, classes: p == null ? void 0 : p.navLinks }),
464
+ x && /* @__PURE__ */ t.jsx(P, { navigationLinks: h, classes: p == null ? void 0 : p.navLinks }),
466
465
  f && f,
467
466
  /* @__PURE__ */ t.jsxs(
468
467
  "div",
@@ -472,13 +471,13 @@ const U = j(
472
471
  p == null ? void 0 : p.footerBottom
473
472
  ),
474
473
  children: [
475
- r && /* @__PURE__ */ t.jsx(c, { text: u, classes: p == null ? void 0 : p.copyright }),
476
- n && /* @__PURE__ */ t.jsx(tt, { classes: p == null ? void 0 : p.siteMap })
474
+ r && /* @__PURE__ */ t.jsx(A, { text: u, classes: p == null ? void 0 : p.copyright }),
475
+ n && /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.siteMap })
477
476
  ]
478
477
  }
479
478
  )
480
- ] }) }) }), et = ({ classes: o, index: e, variant: x, title: r, description: n }) => {
481
- const i = x === "withTitleAndDescription" && r, m = O.sanitize(n ?? "");
479
+ ] }) }) }), tt = ({ classes: o, index: e, variant: x, title: r, description: n }) => {
480
+ const i = x === "withTitleAndDescription" && r;
482
481
  return /* @__PURE__ */ t.jsxs(
483
482
  "div",
484
483
  {
@@ -502,7 +501,7 @@ const U = j(
502
501
  /* @__PURE__ */ t.jsx(
503
502
  "div",
504
503
  {
505
- dangerouslySetInnerHTML: { __html: m },
504
+ dangerouslySetInnerHTML: { __html: n ?? "" },
506
505
  className: d("desk-body-regular-l text-color-tetriary", o == null ? void 0 : o.description)
507
506
  }
508
507
  )
@@ -510,7 +509,7 @@ const U = j(
510
509
  ]
511
510
  }
512
511
  );
513
- }, vt = ({ headline: o, variant: e, stepsList: x, classes: r }) => /* @__PURE__ */ t.jsx(R, { className: r == null ? void 0 : r.root, children: /* @__PURE__ */ t.jsx(k, { className: r == null ? void 0 : r.container, children: /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", r == null ? void 0 : r.wrapper), children: [
512
+ }, Nt = ({ headline: o, variant: e, stepsList: x, classes: r }) => /* @__PURE__ */ t.jsx(R, { className: r == null ? void 0 : r.root, children: /* @__PURE__ */ t.jsx(k, { className: r == null ? void 0 : r.container, children: /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", r == null ? void 0 : r.wrapper), children: [
514
513
  /* @__PURE__ */ t.jsx(a, { as: "h2", className: d("text-color-dark", r == null ? void 0 : r.headline), children: o }),
515
514
  /* @__PURE__ */ t.jsx(
516
515
  "div",
@@ -519,10 +518,10 @@ const U = j(
519
518
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
520
519
  r == null ? void 0 : r.stepsWrapper
521
520
  ),
522
- children: x == null ? void 0 : x.map((n, i) => /* @__PURE__ */ t.jsx(et, { variant: e, ...n, index: i + 1, classes: r == null ? void 0 : r.step }, n.description))
521
+ children: x == null ? void 0 : x.map((n, i) => /* @__PURE__ */ t.jsx(tt, { variant: e, ...n, index: i + 1, classes: r == null ? void 0 : r.step }, n.description))
523
522
  }
524
523
  )
525
- ] }) }) }), rt = j("", {
524
+ ] }) }) }), et = j("", {
526
525
  variants: {
527
526
  intent: {
528
527
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -538,7 +537,7 @@ const U = j(
538
537
  defaultVariants: {
539
538
  intent: "twoItems"
540
539
  }
541
- }), ot = j("", {
540
+ }), rt = j("", {
542
541
  variants: {
543
542
  intent: {
544
543
  twoItems: "",
@@ -570,7 +569,7 @@ const U = j(
570
569
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
571
570
  }
572
571
  ]
573
- }), nt = j("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
572
+ }), ot = j("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
574
573
  variants: {
575
574
  intent: {
576
575
  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',
@@ -580,7 +579,7 @@ const U = j(
580
579
  defaultVariants: {
581
580
  intent: "twoItems"
582
581
  }
583
- }), dt = j("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
582
+ }), nt = j("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
584
583
  variants: {
585
584
  intent: {
586
585
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -606,16 +605,16 @@ const U = j(
606
605
  class: "desktop:h-[272px] desktop:w-[500px]"
607
606
  }
608
607
  ]
609
- }), it = ({ data: o, intent: e }) => {
608
+ }), dt = ({ data: o, intent: e }) => {
610
609
  const { title: x, description: r, popoverText: n } = o;
611
- return /* @__PURE__ */ t.jsx("li", { className: d(nt({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
610
+ return /* @__PURE__ */ t.jsx("li", { className: d(ot({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
612
611
  /* @__PURE__ */ t.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
613
612
  /* @__PURE__ */ t.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: x }),
614
613
  n && /* @__PURE__ */ t.jsx(V, { triggerElement: /* @__PURE__ */ t.jsx(l, { className: d("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
615
614
  ] }),
616
615
  /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: r })
617
616
  ] }) });
618
- }, N = ({ intent: o, title: e, desktopHidden: x = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: d(rt({ intent: o, desktopHidden: x, mobileHidden: r })), children: e }), xt = ({ textContent: o, intent: e, withButton: x }) => /* @__PURE__ */ t.jsx("ul", { className: d(ot({ intent: e, withButton: x })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(it, { intent: e, data: r }, n)) }), It = ({
617
+ }, N = ({ intent: o, title: e, desktopHidden: x = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: d(et({ intent: o, desktopHidden: x, mobileHidden: r })), children: e }), it = ({ textContent: o, intent: e, withButton: x }) => /* @__PURE__ */ t.jsx("ul", { className: d(rt({ intent: e, withButton: x })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(dt, { intent: e, data: r }, n)) }), yt = ({
619
618
  title: o,
620
619
  buttonConfig: e,
621
620
  intent: x = "twoItems",
@@ -635,14 +634,14 @@ const U = j(
635
634
  ),
636
635
  children: [
637
636
  h && /* @__PURE__ */ t.jsx(N, { intent: x, title: o, desktopHidden: !0 }),
638
- /* @__PURE__ */ t.jsx("div", { className: d(dt({ intent: x, withButton: m }), i == null ? void 0 : i.imgContainer), children: n }),
637
+ /* @__PURE__ */ t.jsx("div", { className: d(nt({ intent: x, withButton: m }), i == null ? void 0 : i.imgContainer), children: n }),
639
638
  /* @__PURE__ */ t.jsxs(
640
639
  "div",
641
640
  {
642
641
  className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
643
642
  children: [
644
643
  h && /* @__PURE__ */ t.jsx(N, { intent: x, title: o, mobileHidden: !0 }),
645
- /* @__PURE__ */ t.jsx(xt, { textContent: r, intent: x, withButton: m }),
644
+ /* @__PURE__ */ t.jsx(it, { textContent: r, intent: x, withButton: m }),
646
645
  m && /* @__PURE__ */ t.jsx(
647
646
  w,
648
647
  {
@@ -686,7 +685,7 @@ const U = j(
686
685
  }
687
686
  )
688
687
  }
689
- ), pt = ({ ...o }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
688
+ ), xt = ({ ...o }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
690
689
  /* @__PURE__ */ t.jsx(
691
690
  "path",
692
691
  {
@@ -778,7 +777,7 @@ const U = j(
778
777
  ),
779
778
  children: [
780
779
  /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
781
- /* @__PURE__ */ t.jsx(pt, { className: d("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
780
+ /* @__PURE__ */ t.jsx(xt, { className: d("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
782
781
  /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: i == null ? void 0 : i.links }),
783
782
  /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
784
783
  ] }),
@@ -786,7 +785,7 @@ const U = j(
786
785
  ]
787
786
  }
788
787
  ) });
789
- }, mt = (o) => {
788
+ }, pt = (o) => {
790
789
  switch (o.mode) {
791
790
  case y.ESIA:
792
791
  return /* @__PURE__ */ t.jsx(B, { ...o });
@@ -794,7 +793,7 @@ const U = j(
794
793
  return /* @__PURE__ */ t.jsx(C, { ...o });
795
794
  case y.COMBINE:
796
795
  default:
797
- const { esiaConfig: e, mobileIdConfig: x, subtitle: r, badge: n, classes: i } = o, m = !r && !n ? G.Fragment : "div";
796
+ const { esiaConfig: e, mobileIdConfig: x, subtitle: r, badge: n, classes: i } = o, m = !r && !n ? O.Fragment : "div";
798
797
  return /* @__PURE__ */ t.jsxs(
799
798
  "div",
800
799
  {
@@ -835,7 +834,7 @@ const U = j(
835
834
  }
836
835
  );
837
836
  }
838
- }, Ct = (o) => mt(o), z = ({ links: o, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: o == null ? void 0 : o.map(({ path: x, label: r }) => /* @__PURE__ */ t.jsx(
837
+ }, vt = (o) => pt(o), z = ({ links: o, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: o == null ? void 0 : o.map(({ path: x, label: r }) => /* @__PURE__ */ t.jsx(
839
838
  g,
840
839
  {
841
840
  classes: {
@@ -846,7 +845,7 @@ const U = j(
846
845
  children: r
847
846
  },
848
847
  x
849
- )) }), ht = ({ groupLabel: o, links: e, mobileAccordionProps: x, classes: r }) => {
848
+ )) }), mt = ({ groupLabel: o, links: e, mobileAccordionProps: x, classes: r }) => {
850
849
  var i, m, h;
851
850
  const { isMobile: n } = b();
852
851
  return /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2", r == null ? void 0 : r.columnGroup), children: [
@@ -872,7 +871,7 @@ const U = j(
872
871
  }
873
872
  )
874
873
  ] });
875
- }, ft = ({ column: o, mobileAccordionProps: e, classes: x }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", x == null ? void 0 : x.column), children: o == null ? void 0 : o.map((r) => /* @__PURE__ */ t.jsx(ht, { ...e, ...r, classes: x == null ? void 0 : x.columnGroup }, r.groupLabel)) }), ut = j("grid gap-4 grid-cols-1", {
874
+ }, ht = ({ column: o, mobileAccordionProps: e, classes: x }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", x == null ? void 0 : x.column), children: o == null ? void 0 : o.map((r) => /* @__PURE__ */ t.jsx(mt, { ...e, ...r, classes: x == null ? void 0 : x.columnGroup }, r.groupLabel)) }), ft = j("grid gap-4 grid-cols-1", {
876
875
  variants: {
877
876
  variant: {
878
877
  twoCols: "desktop:grid-cols-2",
@@ -883,7 +882,7 @@ const U = j(
883
882
  defaultVariants: {
884
883
  variant: "fourCols"
885
884
  }
886
- }), Bt = ({
885
+ }), It = ({
887
886
  columns: o,
888
887
  variant: e,
889
888
  headline: x,
@@ -902,20 +901,20 @@ const U = j(
902
901
  ...n == null ? void 0 : n.classes,
903
902
  content: d("max-w-full bg-color-blue-grey-100 relative", (m = n == null ? void 0 : n.classes) == null ? void 0 : m.content)
904
903
  },
905
- children: /* @__PURE__ */ t.jsx("div", { className: d(ut({ variant: e }), i == null ? void 0 : i.columnsWrapper), children: o == null ? void 0 : o.map((h, f) => /* @__PURE__ */ t.jsx(ft, { ...h, ...r, classes: i == null ? void 0 : i.column }, f)) })
904
+ children: /* @__PURE__ */ t.jsx("div", { className: d(ft({ variant: e }), i == null ? void 0 : i.columnsWrapper), children: o == null ? void 0 : o.map((h, f) => /* @__PURE__ */ t.jsx(ht, { ...h, ...r, classes: i == null ? void 0 : i.column }, f)) })
906
905
  }
907
906
  ) }) });
908
907
  };
909
908
  export {
910
909
  H as Advantages,
911
- Ct as AuthProvider,
912
- Nt as Banner,
910
+ vt as AuthProvider,
911
+ wt as Banner,
913
912
  I as BannerWithSeparateImg,
914
- wt as Benefit,
915
- yt as Footer,
916
- Bt as InterLinking,
917
- It as LongBanner,
918
- gt as PageHeader,
919
- vt as Stepper
913
+ jt as Benefit,
914
+ gt as Footer,
915
+ It as InterLinking,
916
+ yt as LongBanner,
917
+ bt as PageHeader,
918
+ Nt as Stepper
920
919
  };
921
920
  //# sourceMappingURL=widget.js.map