@scbt-ecom/ui 0.42.2 → 0.42.4

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
@@ -1,9 +1,9 @@
1
- import { j as t, B as g, H as a, c as j, R as k, P as M, b as R, I as u, C as w, S as V, a as L, L as D, d as v, A as _ } from "./CustomLink-DRb2l2sC.js";
2
- import { s as O } from "./scrollToElement-B-reg4jF.js";
3
- import { c as n } from "./cn-DIfn7EPB.js";
1
+ import { j as t, B as w, H as a, c as k, R as j, P as M, b as L, I as l, C as N, S as V, a as D, L as O, d as C, A as E } from "./CustomLink-BrBUFe53.js";
2
+ import { s as G } from "./scrollToElement-B-reg4jF.js";
3
+ import { c as d } from "./cn-DIfn7EPB.js";
4
4
  import { u as b } from "./useDevice-L83kSsN7.js";
5
- import * as G from "react";
6
- const U = j(
5
+ import * as g from "react";
6
+ const S = k(
7
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",
8
8
  {
9
9
  variants: {
@@ -14,45 +14,45 @@ const U = j(
14
14
  }
15
15
  }
16
16
  }
17
- ), S = ({
18
- description: i,
17
+ ), U = ({
18
+ description: r,
19
19
  title: e,
20
- img: o,
21
- mobileImg: d,
22
- classes: r,
23
- withButton: x,
24
- buttonText: m,
20
+ img: i,
21
+ mobileImg: n,
22
+ classes: o,
23
+ withButton: p,
24
+ buttonText: x,
25
25
  intent: h,
26
- cardColor: f
26
+ cardColor: u
27
27
  }) => {
28
- const { isDesktop: l } = b(), p = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
29
- g,
28
+ const { isDesktop: f } = b(), m = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
29
+ w,
30
30
  {
31
31
  intent: "primary",
32
- className: n("desktop:w-[200px]", r == null ? void 0 : r.button),
33
- onClick: () => O("personal_form"),
32
+ className: d("desktop:w-[200px]", o == null ? void 0 : o.button),
33
+ onClick: () => G("personal_form"),
34
34
  size: "lg",
35
- children: m
35
+ children: x
36
36
  }
37
37
  ) });
38
38
  return /* @__PURE__ */ t.jsxs(
39
39
  "li",
40
40
  {
41
- className: n(U({ intent: h }), { "pb-0": d }, { "pb-12": !d }, f, r == null ? void 0 : r.root),
41
+ className: d(S({ intent: h }), { "pb-0": n }, { "pb-12": !n }, u, o == null ? void 0 : o.root),
42
42
  children: [
43
- /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", r == null ? void 0 : r.wrapper), children: [
44
- /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col gap-4", r == null ? void 0 : r.textContainer), children: [
45
- /* @__PURE__ */ t.jsx(a, { as: "h4", className: n("desktop:desk-title-bold-s", r == null ? void 0 : r.title), children: e }),
46
- /* @__PURE__ */ t.jsx("p", { className: n("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", r == null ? void 0 : r.description), children: i })
43
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", o == null ? void 0 : o.wrapper), children: [
44
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", o == null ? void 0 : o.textContainer), children: [
45
+ /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("desktop:desk-title-bold-s", o == null ? void 0 : o.title), children: e }),
46
+ /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", o == null ? void 0 : o.description), children: r })
47
47
  ] }),
48
- x && l && p
48
+ p && f && m
49
49
  ] }),
50
- (d || l) && o && /* @__PURE__ */ t.jsx("div", { className: n("flex w-full justify-end", r == null ? void 0 : r.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: n("h-[246px] object-cover", r == null ? void 0 : r.img), src: o, alt: e }) })
50
+ (n || f) && i && /* @__PURE__ */ t.jsx("div", { className: d("flex w-full justify-end", o == null ? void 0 : o.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: d("h-[246px] object-cover", o == null ? void 0 : o.img), src: i, alt: e }) })
51
51
  ]
52
52
  },
53
- o
53
+ i
54
54
  );
55
- }, Z = j("grid gap-4", {
55
+ }, Z = k("grid gap-4", {
56
56
  variants: {
57
57
  intent: {
58
58
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -60,373 +60,293 @@ const U = j(
60
60
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
61
61
  }
62
62
  }
63
- }), bt = ({ heading: i, cards: e, classes: o, intent: d }) => /* @__PURE__ */ t.jsx("section", { className: n("pb-20", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(k, { className: o == null ? void 0 : o.container, children: [
64
- /* @__PURE__ */ t.jsx(a, { className: n("mb-8", o == null ? void 0 : o.heading), as: "h2", children: i }),
65
- /* @__PURE__ */ t.jsx("ul", { className: n(Z({ intent: d }), o == null ? void 0 : o.grid), children: e == null ? void 0 : e.map((r) => /* @__PURE__ */ t.jsx(S, { intent: d, classes: o == null ? void 0 : o.item, ...r }, r.img)) })
66
- ] }) }), $ = (i) => {
67
- const { variant: e, details: o } = i;
63
+ }), at = ({ heading: r, cards: e, classes: i, intent: n }) => /* @__PURE__ */ t.jsx("section", { className: d("pb-20", i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(j, { className: i == null ? void 0 : i.container, children: [
64
+ /* @__PURE__ */ t.jsx(a, { className: d("mb-8", i == null ? void 0 : i.heading), as: "h2", children: r }),
65
+ /* @__PURE__ */ t.jsx("ul", { className: d(Z({ intent: n }), i == null ? void 0 : i.grid), children: e == null ? void 0 : e.map((o) => /* @__PURE__ */ t.jsx(U, { intent: n, classes: i == null ? void 0 : i.item, ...o }, o.img)) })
66
+ ] }) }), $ = (r) => {
67
+ const { variant: e, details: i } = r;
68
68
  switch (e) {
69
69
  case "withButton":
70
- return /* @__PURE__ */ t.jsx(g, { intent: "secondary", size: "sm", ...o, children: (o == null ? void 0 : o.children) || "Оформить заявку" });
70
+ return /* @__PURE__ */ t.jsx(w, { intent: "secondary", size: "sm", ...i, children: (i == null ? void 0 : i.children) || "Оформить заявку" });
71
71
  case "withPhone":
72
- return /* @__PURE__ */ t.jsx(M, { ...o });
72
+ return /* @__PURE__ */ t.jsx(M, { ...i });
73
73
  default:
74
74
  return null;
75
75
  }
76
- }, gt = (i) => {
77
- const { logoPath: e = "/", logoType: o = "main", config: d, classes: r } = i;
78
- return /* @__PURE__ */ t.jsx("header", { className: n("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: n(r == null ? void 0 : r.container), children: /* @__PURE__ */ t.jsxs("div", { className: n("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
79
- /* @__PURE__ */ t.jsx(
80
- "a",
81
- {
82
- href: e,
83
- "aria-label": "logo",
84
- target: "_blank",
85
- rel: "noreferrer",
86
- className: n(
87
- "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
88
- r == null ? void 0 : r.logo
89
- ),
90
- children: R[o]
91
- }
92
- ),
93
- $(d)
94
- ] }) }) });
95
- }, E = ({ buttonsConfig: i, classes: e, className: o }) => {
96
- var r;
97
- const d = (i == null ? void 0 : i.secondary) && i.secondary.children;
76
+ }, jt = ({ logoPath: r = "/", logoType: e = "main", config: i, classes: n }) => /* @__PURE__ */ t.jsx("header", { className: d("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header), children: /* @__PURE__ */ t.jsx(j, { className: d(n == null ? void 0 : n.container), children: /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
77
+ /* @__PURE__ */ t.jsx(
78
+ "a",
79
+ {
80
+ href: r,
81
+ "aria-label": "logo",
82
+ target: "_blank",
83
+ rel: "noreferrer",
84
+ className: d(
85
+ "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
86
+ n == null ? void 0 : n.logo
87
+ ),
88
+ children: L[e]
89
+ }
90
+ ),
91
+ $(i)
92
+ ] }) }) }), W = ({ buttonsConfig: r, classes: e, className: i }) => {
93
+ var o;
94
+ const n = (r == null ? void 0 : r.secondary) && r.secondary.children;
98
95
  return /* @__PURE__ */ t.jsxs(
99
96
  "div",
100
97
  {
101
98
  "data-id": "banner-buttons-group",
102
- className: n(
99
+ className: d(
103
100
  "grid-buttons-apply absolute bottom-6 left-1/2 flex w-full -translate-x-1/2 flex-col justify-self-center px-4 desktop:static desktop:left-auto desktop:max-w-full desktop:translate-x-0 desktop:flex-row desktop:justify-normal desktop:px-0",
104
- { "flex items-center gap-4": d },
101
+ { "flex items-center gap-4": n },
105
102
  e == null ? void 0 : e.group,
106
- o
103
+ i
107
104
  ),
108
105
  children: [
109
- /* @__PURE__ */ t.jsx(g, { intent: "primary", ...i.primary, isFull: !0, className: n("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: i.primary.children }),
110
- d && /* @__PURE__ */ t.jsx(
111
- g,
106
+ /* @__PURE__ */ t.jsx(w, { intent: "primary", ...r.primary, isFull: !0, className: d("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: r.primary.children }),
107
+ n && /* @__PURE__ */ t.jsx(
108
+ w,
112
109
  {
113
110
  intent: "secondary",
114
- ...i == null ? void 0 : i.secondary,
111
+ ...r == null ? void 0 : r.secondary,
115
112
  isFull: !0,
116
- className: n("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
117
- children: (r = i == null ? void 0 : i.secondary) == null ? void 0 : r.children
113
+ className: d("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
114
+ children: (o = r == null ? void 0 : r.secondary) == null ? void 0 : o.children
118
115
  }
119
116
  )
120
117
  ]
121
118
  }
122
119
  );
123
120
  }, q = ({
124
- headTitle: i,
121
+ headTitle: r,
125
122
  subtitle: e,
126
- buttonsConfig: o,
127
- advantagesConfig: d,
128
- classes: r,
129
- img: x,
130
- imgSets: m
123
+ buttonsConfig: i,
124
+ advantagesConfig: n,
125
+ classes: o,
126
+ img: p,
127
+ imgSets: x
131
128
  }) => {
132
- var p;
133
- const { isDesktop: h, isMobile: f } = b(), l = /* @__PURE__ */ t.jsx(
129
+ var m;
130
+ const { isDesktop: h, isMobile: u } = b(), f = /* @__PURE__ */ t.jsx(
134
131
  "div",
135
132
  {
136
133
  "data-id": "banner-advantages",
137
- className: n(
134
+ className: d(
138
135
  "flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
139
- r == null ? void 0 : r.advantageContainer
136
+ o == null ? void 0 : o.advantageContainer
140
137
  ),
141
- children: (d == null ? void 0 : d.config.details) && ((p = d == null ? void 0 : d.config.details) == null ? void 0 : p.length) > 0 && /* @__PURE__ */ t.jsx(H, { ...d })
138
+ children: (n == null ? void 0 : n.config.details) && ((m = n == null ? void 0 : n.config.details) == null ? void 0 : m.length) > 0 && /* @__PURE__ */ t.jsx(R, { ...n })
142
139
  }
143
140
  );
144
141
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
145
- /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: n("relative h-[552px] desktop:h-[456px]", r == null ? void 0 : r.root), children: [
142
+ /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: d("relative h-[552px] desktop:h-[456px]", o == null ? void 0 : o.root), children: [
146
143
  /* @__PURE__ */ t.jsx(
147
144
  "div",
148
145
  {
149
146
  "data-id": "banner-img-wrapper",
150
147
  className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
151
148
  children: /* @__PURE__ */ t.jsxs("picture", { children: [
152
- /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: m == null ? void 0 : m.large }),
153
- /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: m == null ? void 0 : m.mob }),
149
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: x == null ? void 0 : x.large }),
150
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: x == null ? void 0 : x.mob }),
154
151
  /* @__PURE__ */ t.jsx(
155
152
  "img",
156
153
  {
157
154
  "data-id": "banner-image",
158
- src: x,
155
+ src: p,
159
156
  alt: "Картинка баннера",
160
- className: n("h-full w-full object-cover object-center", r == null ? void 0 : r.image)
157
+ className: d("h-full w-full object-cover object-center", o == null ? void 0 : o.image)
161
158
  }
162
159
  )
163
160
  ] })
164
161
  }
165
162
  ),
166
- /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: n("h-full", r == null ? void 0 : r.container), children: [
167
- /* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: n("flex h-full", r == null ? void 0 : r.wrapper), children: /* @__PURE__ */ t.jsxs(
163
+ /* @__PURE__ */ t.jsxs(j, { "data-id": "banner-container", className: d("h-full", o == null ? void 0 : o.container), children: [
164
+ /* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: d("flex h-full", o == null ? void 0 : o.wrapper), children: /* @__PURE__ */ t.jsxs(
168
165
  "div",
169
166
  {
170
167
  "data-id": "banner-text-block",
171
- className: n("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", r == null ? void 0 : r.textBlock),
168
+ className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", o == null ? void 0 : o.textBlock),
172
169
  children: [
173
170
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
174
- /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: n("text-color-white", r == null ? void 0 : r.title), children: i }),
175
- /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: n("desk-body-regular-l text-color-white", r == null ? void 0 : r.subtitle), children: e })
171
+ /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-white", o == null ? void 0 : o.title), children: r }),
172
+ /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-white", o == null ? void 0 : o.subtitle), children: e })
176
173
  ] }),
177
174
  /* @__PURE__ */ t.jsx(
178
- E,
175
+ W,
179
176
  {
180
177
  className: "self-end desktop:self-center",
181
178
  "data-id": "banner-buttons-group",
182
- buttonsConfig: o,
183
- classes: r
179
+ buttonsConfig: i,
180
+ classes: o
184
181
  }
185
182
  )
186
183
  ]
187
184
  }
188
185
  ) }),
189
- h && l
186
+ h && f
190
187
  ] })
191
188
  ] }),
192
- f && l
189
+ u && f
193
190
  ] });
194
- }, I = ({
195
- headTitle: i,
191
+ }, B = ({
192
+ headTitle: r,
196
193
  subtitle: e,
197
- buttonsConfig: o,
198
- advantagesConfig: d,
199
- classes: r,
200
- img: x,
201
- imgSets: m
194
+ buttonsConfig: i,
195
+ advantagesConfig: n,
196
+ classes: o,
197
+ img: p,
198
+ imgSets: x
202
199
  }) => {
203
- var p;
204
- const { isDesktop: h, isMobile: f } = b(), l = /* @__PURE__ */ t.jsx(
200
+ var m;
201
+ const { isDesktop: h, isMobile: u } = b(), f = /* @__PURE__ */ t.jsx(
205
202
  "div",
206
203
  {
207
204
  "data-id": "banner-advantages",
208
- className: n(
205
+ className: d(
209
206
  "flex items-center justify-center rounded-md bg-color-blue-grey-100 p-4 pb-8 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:p-0",
210
- r == null ? void 0 : r.advantageContainer
207
+ o == null ? void 0 : o.advantageContainer
211
208
  ),
212
- children: (d == null ? void 0 : d.config.details) && ((p = d == null ? void 0 : d.config.details) == null ? void 0 : p.length) > 0 && /* @__PURE__ */ t.jsx(H, { ...d })
209
+ children: (n == null ? void 0 : n.config.details) && ((m = n == null ? void 0 : n.config.details) == null ? void 0 : m.length) > 0 && /* @__PURE__ */ t.jsx(R, { ...n })
213
210
  }
214
211
  );
215
212
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
216
- /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: n("bg-banner-skyblue-300 desktop:h-[456px]", r == null ? void 0 : r.root), children: /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: n("relative", r == null ? void 0 : r.container), children: [
217
- /* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: n("flex flex-col desktop:flex-row desktop:justify-between", r == null ? void 0 : r.wrapper), children: [
213
+ /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: d("bg-banner-skyblue-300 desktop:h-[456px]", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsxs(j, { "data-id": "banner-container", className: d("relative", o == null ? void 0 : o.container), children: [
214
+ /* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: d("flex flex-col desktop:flex-row desktop:justify-between", o == null ? void 0 : o.wrapper), children: [
218
215
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
219
- /* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: n("flex flex-col gap-4 pt-6 desktop:pt-0", r == null ? void 0 : r.textBlock), children: [
220
- /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: n("text-color-dark", r == null ? void 0 : r.title), children: i }),
221
- /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: n("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: e })
216
+ /* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: d("flex flex-col gap-4 pt-6 desktop:pt-0", o == null ? void 0 : o.textBlock), children: [
217
+ /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", o == null ? void 0 : o.title), children: r }),
218
+ /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-dark", o == null ? void 0 : o.subtitle), children: e })
222
219
  ] }),
223
- /* @__PURE__ */ t.jsx(E, { buttonsConfig: o, classes: r })
220
+ /* @__PURE__ */ t.jsx(W, { buttonsConfig: i, classes: o })
224
221
  ] }),
225
222
  /* @__PURE__ */ t.jsx(
226
223
  "div",
227
224
  {
228
225
  "data-id": "banner-image-wrapper",
229
- className: n("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", r == null ? void 0 : r.imageContainer),
226
+ className: d("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", o == null ? void 0 : o.imageContainer),
230
227
  children: /* @__PURE__ */ t.jsxs("picture", { children: [
231
- /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: m == null ? void 0 : m.large }),
232
- /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: m == null ? void 0 : m.mob }),
228
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: x == null ? void 0 : x.large }),
229
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: x == null ? void 0 : x.mob }),
233
230
  /* @__PURE__ */ t.jsx(
234
231
  "img",
235
232
  {
236
233
  "data-id": "banner-image",
237
- src: x,
234
+ src: p,
238
235
  alt: "Картинка баннера",
239
- className: n("h-full object-cover", r == null ? void 0 : r.image)
236
+ className: d("h-full object-cover", o == null ? void 0 : o.image)
240
237
  }
241
238
  )
242
239
  ] })
243
240
  }
244
241
  )
245
242
  ] }),
246
- h && l
243
+ h && f
247
244
  ] }) }),
248
- f && l
245
+ u && f
249
246
  ] });
250
- }, wt = ({ bannerVariant: i, ...e }) => {
251
- switch (i) {
247
+ }, kt = ({ bannerVariant: r, ...e }) => {
248
+ switch (r) {
252
249
  case "separateImg":
253
- return /* @__PURE__ */ t.jsx(I, { ...e });
250
+ return /* @__PURE__ */ t.jsx(B, { ...e });
254
251
  case "fullImg":
255
252
  return /* @__PURE__ */ t.jsx(q, { ...e });
256
253
  default:
257
- return /* @__PURE__ */ t.jsx(I, { ...e });
254
+ return /* @__PURE__ */ t.jsx(B, { ...e });
258
255
  }
259
- }, H = ({ config: i, classes: e }) => {
260
- const { variant: o, details: d } = i;
256
+ }, R = ({ config: r, classes: e }) => {
257
+ const { variant: i, details: n } = r;
261
258
  return /* @__PURE__ */ t.jsx(
262
259
  "div",
263
260
  {
264
- className: n(
261
+ className: d(
265
262
  "m-auto flex w-full min-w-[328px] max-w-[636px] flex-col gap-8 rounded-md bg-color-white p-6 shadow-sm desktop:w-full desktop:flex-row desktop:items-start desktop:gap-0 desktop:p-0 desktop:py-6",
266
- { "desktop:max-w-[860px]": o === "threeCards" },
267
- { "desktop:max-w-[1140px]": o === "fourCards" },
263
+ { "desktop:max-w-[860px]": i === "threeCards" },
264
+ { "desktop:max-w-[1140px]": i === "fourCards" },
268
265
  e == null ? void 0 : e.root
269
266
  ),
270
- children: d == null ? void 0 : d.map(({ title: r, description: x }) => /* @__PURE__ */ t.jsxs(
267
+ children: n == null ? void 0 : n.map(({ title: o, description: p }) => /* @__PURE__ */ t.jsxs(
271
268
  "div",
272
269
  {
273
- className: n(
270
+ className: d(
274
271
  'after:content-[" "] relative flex h-full w-full flex-col gap-1 after:absolute after:-bottom-4 after:left-1/2 after:h-[1px] after:w-full after:-translate-x-1/2 after:bg-color-blue-grey-300 last:after:hidden desktop:w-[285px] desktop:px-8 desktop:after:bottom-auto desktop:after:left-auto desktop:after:right-0 desktop:after:top-1/2 desktop:after:h-10 desktop:after:w-[1px] desktop:after:-translate-y-1/2 desktop:after:translate-x-0',
275
272
  e == null ? void 0 : e.item
276
273
  ),
277
274
  children: [
278
- /* @__PURE__ */ t.jsx(a, { as: "h4", className: n("text-color-dark", e == null ? void 0 : e.title), children: r }),
279
- /* @__PURE__ */ t.jsx("p", { className: n("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: x })
275
+ /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", e == null ? void 0 : e.title), children: o }),
276
+ /* @__PURE__ */ t.jsx("p", { className: d("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.description), children: p })
280
277
  ]
281
278
  },
282
- r
279
+ o
283
280
  ))
284
281
  }
285
282
  );
286
- }, J = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
287
- "© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
288
- /* @__PURE__ */ t.jsx("br", { className: "mobile:hidden" }),
289
- " Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
290
- ] }), K = [
291
- { phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
292
- { phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
293
- ], Q = [
294
- { iconName: "social/vk", href: "https://vk.com/sovcombank" },
295
- { iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
296
- { iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
297
- ], X = [
298
- {
299
- groupLabel: "Совкомбанк",
300
- links: [
301
- { text: "О банке", href: "/" },
302
- { text: "Реквизиты и лицензии", href: "/" },
303
- { text: "Пресс-центр", href: "/" },
304
- { text: "Удостоверяющий центр ПАО «Совкомбанк»", href: "/" },
305
- { text: "Работа у нас", href: "/" },
306
- { text: "Контакты", href: "/" },
307
- { text: "Раскрытие информации", href: "/" },
308
- { text: "Страница раскрытия информации в Интерфакс", href: "/" },
309
- { text: "Реализация залогового имущества", href: "/" },
310
- { text: "Клиентам и партнерам", href: "/" },
311
- { text: "Биометрия", href: "/" },
312
- { text: "Стандарты безопасности", href: "/" },
313
- { text: "Информация о процентных ставках по договорам банковского вклада с физическими лицами", href: "/" },
314
- { text: "ООО «Совком Финанс»", href: "/" },
315
- { text: "Безопасность", href: "/" }
316
- ]
317
- },
318
- {
319
- groupLabel: "Сервисы",
320
- links: [
321
- { text: "Подарочная карта «Халва»", href: "/" },
322
- { text: "Страховые продукты", href: "/" },
323
- { text: "МультиЮрист", href: "/" },
324
- { text: "Единая социальная карта «Уралочка»", href: "/" },
325
- { text: "Единая Карта Жителя Мурманской области", href: "/" },
326
- { text: "Безопасные расчёты", href: "/" },
327
- { text: "Улучшение кредитной истории", href: "/" },
328
- { text: "Дистанционные сервисы Совкомбанка", href: "/" },
329
- { text: "Программы реструктуризации долга", href: "/" }
330
- ]
331
- },
332
- {
333
- groupLabel: "Услуги банка",
334
- links: [
335
- { text: "Карты", href: "/" },
336
- { text: "Кредиты", href: "/" },
337
- { text: "Кредиты наличными", href: "/" },
338
- { text: "Ипотека", href: "/" },
339
- { text: "Автокредиты", href: "/" },
340
- { text: "Кредитный калькулятор", href: "/" },
341
- { text: "Вклады", href: "/" },
342
- { text: "Инвестиции", href: "/" },
343
- { text: "Платежи", href: "/" },
344
- { text: "Сервисы", href: "/" },
345
- { text: "Малому бизнесу и ИП", href: "/" },
346
- { text: "Корпоративным клиентам", href: "/" },
347
- { text: "CIB", href: "/" },
348
- { text: "Драгоценные металлы в слитках", href: "/" },
349
- { text: "Счета в драгоценных металлах", href: "/" }
350
- ]
351
- },
352
- {
353
- groupLabel: "Клиентам других банков",
354
- links: [
355
- { text: "Держателям карт рассрочки Банка Хоум Кредит", href: "/" },
356
- { text: "ПАО КБ «Восточный»", href: "/" },
357
- { text: "Держателям карт «Совесть»", href: "/" },
358
- { text: "АО «Нордеа Банк»", href: "/" },
359
- { text: "ЗАО «ДжиИ Мани банк»", href: "/" },
360
- { text: "АО «Меткомбанк»", href: "/" },
361
- { text: "АКБ «РосЕвроБанк» (АО)", href: "/" },
362
- { text: "ПАО «Татфондбанк»", href: "/" },
363
- { text: "АО АКБ «Экспресс-Волга»", href: "/" },
364
- { text: "АО «ВКАБАНК»", href: "/" },
365
- { text: "ООО «ОНЕЙ БАНК»", href: "/" },
366
- { text: "АО «Евразийский»", href: "/" },
367
- { text: "АО «НФК»", href: "/" },
368
- { text: "ООО «РТС-Капитал»", href: "/" },
369
- { text: "ООО «ИК Септем Капитал»", href: "/" },
370
- { text: "Помощь", href: "/" },
371
- { text: "Офисы и банкоматы", href: "/" }
372
- ]
373
- }
374
- ], Y = ({ socialsLinks: i, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: n("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: i == null ? void 0 : i.map(({ iconName: o, href: d }) => /* @__PURE__ */ t.jsx(
283
+ }, J = ({ socialsLinks: r, 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: r == null ? void 0 : r.map(({ iconName: i, href: n }) => /* @__PURE__ */ t.jsx(
375
284
  "a",
376
285
  {
377
- className: n("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
378
- href: d,
379
- "aria-label": o.replace("social/", ""),
380
- children: /* @__PURE__ */ t.jsx(u, { name: o, className: n("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
286
+ className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
287
+ href: n,
288
+ "aria-label": i.replace("social/", ""),
289
+ children: /* @__PURE__ */ t.jsx(l, { name: i, className: d("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
381
290
  },
382
- d
383
- )) }), P = ({ phones: i, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: n("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: i == null ? void 0 : i.map(({ phone: o, text: d }) => /* @__PURE__ */ t.jsx(
291
+ n
292
+ )) }), K = ({ phones: r, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: r == null ? void 0 : r.map(({ phone: i, text: n }) => /* @__PURE__ */ t.jsx(
384
293
  M,
385
294
  {
386
- phone: o,
387
- text: d,
295
+ phone: i,
296
+ text: n,
388
297
  classes: {
389
- wrapper: n(e == null ? void 0 : e.phoneWrapper),
390
- text: n("text-color-footer", e == null ? void 0 : e.phoneText),
391
- link: n("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
298
+ wrapper: d(e == null ? void 0 : e.phoneWrapper),
299
+ text: d("text-color-footer", e == null ? void 0 : e.phoneText),
300
+ link: d("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
392
301
  }
393
302
  },
394
- o
395
- )) }), A = ({ navigationLinks: i, classes: e }) => /* @__PURE__ */ t.jsx(
303
+ i
304
+ )) }), Q = ({ classes: r, config: e }) => {
305
+ const { details: i } = e || {};
306
+ return /* @__PURE__ */ t.jsx(
307
+ "div",
308
+ {
309
+ className: d(
310
+ "mt-6 grid grid-cols-1 gap-6 border-b border-blue-grey-500 pb-6 desktop:my-8 desktop:grid-cols-4 desktop:gap-10 desktop:pb-8",
311
+ r == null ? void 0 : r.navRoot
312
+ ),
313
+ children: i == null ? void 0 : i.map(
314
+ ({ column: n }) => n == null ? void 0 : n.map(({ groupLabel: o, links: p }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", r == null ? void 0 : r.navGroup), children: [
315
+ /* @__PURE__ */ t.jsx("div", { className: d("desk-body-medium-l text-color-white", r == null ? void 0 : r.navLabel), children: o }),
316
+ /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-1", r == null ? void 0 : r.navLinks), children: p == null ? void 0 : p.map(({ path: x, label: h }) => /* @__PURE__ */ t.jsx(
317
+ N,
318
+ {
319
+ href: x,
320
+ "aria-label": h,
321
+ intent: "white",
322
+ classes: {
323
+ link: r == null ? void 0 : r.navLink,
324
+ icon: r == null ? void 0 : r.navLinkIcon
325
+ },
326
+ children: h
327
+ },
328
+ h
329
+ )) })
330
+ ] }, o))
331
+ )
332
+ }
333
+ );
334
+ }, X = ({ text: r, classes: e }) => /* @__PURE__ */ t.jsx(
396
335
  "div",
397
336
  {
398
- className: n(
399
- "mt-6 grid grid-cols-1 gap-6 border-b border-blue-grey-500 pb-6 desktop:my-8 desktop:grid-cols-4 desktop:gap-10 desktop:pb-8",
400
- e == null ? void 0 : e.navRoot
401
- ),
402
- children: i == null ? void 0 : i.map(({ groupLabel: o, links: d }) => /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
403
- /* @__PURE__ */ t.jsx("div", { className: n("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: o }),
404
- /* @__PURE__ */ t.jsx("div", { className: n("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: d == null ? void 0 : d.map(({ text: r, href: x }) => /* @__PURE__ */ t.jsx(
405
- w,
406
- {
407
- href: x,
408
- "aria-label": r,
409
- intent: "white",
410
- classes: {
411
- link: e == null ? void 0 : e.navLink,
412
- icon: e == null ? void 0 : e.navLinkIcon
413
- },
414
- children: r
415
- },
416
- r
417
- )) })
418
- ] }, o))
337
+ className: d("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight),
338
+ dangerouslySetInnerHTML: { __html: r }
419
339
  }
420
- ), c = ({ text: i, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: n("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: i }), s = ({ classes: i }) => /* @__PURE__ */ t.jsx(
340
+ ), Y = ({ classes: r }) => /* @__PURE__ */ t.jsx(
421
341
  "a",
422
342
  {
423
343
  "aria-label": "logo",
424
344
  href: "https://sovcombank.ru/",
425
- className: n("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", i == null ? void 0 : i.footerLogo),
426
- children: /* @__PURE__ */ t.jsx(u, { name: "brandLogos/logoWhite", className: n("size-full", i == null ? void 0 : i.footerLogoIcon) })
345
+ className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", r == null ? void 0 : r.footerLogo),
346
+ children: /* @__PURE__ */ t.jsx(l, { name: "brandLogos/logoWhite", className: d("size-full", r == null ? void 0 : r.footerLogoIcon) })
427
347
  }
428
- ), tt = ({ classes: i }) => /* @__PURE__ */ t.jsx(
429
- w,
348
+ ), A = ({ classes: r }) => /* @__PURE__ */ t.jsx(
349
+ N,
430
350
  {
431
351
  intent: "white",
432
352
  href: "https://sovcombank.ru/site-map",
@@ -434,100 +354,135 @@ const U = j(
434
354
  "aria-label": "site-map",
435
355
  rel: "noreferrer",
436
356
  classes: {
437
- link: n("mobile:mt-6", i == null ? void 0 : i.siteMapLink),
438
- icon: i == null ? void 0 : i.siteMapLinkIcon
357
+ link: d("mobile:mt-6", r == null ? void 0 : r.siteMapLink),
358
+ icon: r == null ? void 0 : r.siteMapLinkIcon
439
359
  },
440
360
  children: "Карта сайта"
441
361
  }
442
- ), Nt = ({
443
- renderBlocks: { withSocial: i = !0, withPhones: e = !0, withNavLinks: o = !0, withCopyright: d = !0, withSiteMap: r = !0 } = {},
444
- socialsLinks: x = Q,
445
- phones: m = K,
446
- navigationLinks: h = X,
447
- ligal: f,
448
- copyright: l = J,
449
- classes: p
450
- }) => /* @__PURE__ */ t.jsx("footer", { className: n("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsx(k, { className: n(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: n("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
362
+ ), P = ({ text: r, classes: e }) => {
363
+ const [i, n] = g.useState(!1), [o, p] = g.useState(!1), x = g.useRef(null);
364
+ return g.useEffect(() => {
365
+ const h = x.current;
366
+ h && p(h.scrollHeight > h.clientHeight);
367
+ }, []), /* @__PURE__ */ t.jsxs("div", { className: d("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
368
+ /* @__PURE__ */ t.jsx(
369
+ "div",
370
+ {
371
+ ref: x,
372
+ className: d("desk-body-regular-m text-color-footer", { "line-clamp-3": !i }, e == null ? void 0 : e.ligalText),
373
+ dangerouslySetInnerHTML: { __html: r }
374
+ }
375
+ ),
376
+ o && /* @__PURE__ */ t.jsx(
377
+ "div",
378
+ {
379
+ tabIndex: 0,
380
+ role: "button",
381
+ onClick: () => n((h) => !h),
382
+ className: d(
383
+ "desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
384
+ e == null ? void 0 : e.ligalButton
385
+ ),
386
+ children: "Подробнее"
387
+ }
388
+ )
389
+ ] });
390
+ }, bt = ({
391
+ renderBlocks: {
392
+ withSocialsLinks: r = !0,
393
+ withPhones: e = !0,
394
+ withNavLinks: i = !0,
395
+ withCopyright: n = !0,
396
+ withSiteMap: o = !0,
397
+ withLigal: p = !0
398
+ } = {},
399
+ socialsLinks: x = [],
400
+ phones: h = [],
401
+ ligal: u,
402
+ copyright: f = "",
403
+ classes: m,
404
+ config: y
405
+ }) => /* @__PURE__ */ t.jsx("footer", { className: d("w-full bg-color-footer py-8 desktop:py-10", m == null ? void 0 : m.root), children: /* @__PURE__ */ t.jsx(j, { className: d(m == null ? void 0 : m.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: d("mobile:pb-[176px]", m == null ? void 0 : m.footerWrapper), children: [
451
406
  /* @__PURE__ */ t.jsxs(
452
407
  "div",
453
408
  {
454
- className: n(
409
+ className: d(
455
410
  "flex flex-col items-start justify-between gap-4 border-b border-solid border-blue-grey-500 pb-6 desktop:flex-row desktop:gap-6 desktop:pb-8",
456
- p == null ? void 0 : p.footerHead
411
+ m == null ? void 0 : m.footerHead
457
412
  ),
458
413
  children: [
459
- /* @__PURE__ */ t.jsxs("div", { className: n(p == null ? void 0 : p.footerSocialBlock), children: [
460
- /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.footerLogo }),
461
- i && /* @__PURE__ */ t.jsx(Y, { socialsLinks: x, classes: p == null ? void 0 : p.socialLinks })
414
+ /* @__PURE__ */ t.jsxs("div", { className: d(m == null ? void 0 : m.footerSocialBlock), children: [
415
+ /* @__PURE__ */ t.jsx(Y, { classes: m == null ? void 0 : m.footerLogo }),
416
+ r && /* @__PURE__ */ t.jsx(J, { socialsLinks: x, classes: m == null ? void 0 : m.socialLinks })
462
417
  ] }),
463
- e && /* @__PURE__ */ t.jsx(P, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
418
+ e && /* @__PURE__ */ t.jsx(K, { phones: h, classes: m == null ? void 0 : m.phonesBlock })
464
419
  ]
465
420
  }
466
421
  ),
467
- o && /* @__PURE__ */ t.jsx(A, { navigationLinks: h, classes: p == null ? void 0 : p.navLinks }),
468
- f && f,
422
+ i && /* @__PURE__ */ t.jsx(Q, { config: y, classes: m == null ? void 0 : m.navLinks }),
423
+ p && /* @__PURE__ */ t.jsx(P, { text: u || "" }),
469
424
  /* @__PURE__ */ t.jsxs(
470
425
  "div",
471
426
  {
472
- className: n(
427
+ className: d(
473
428
  "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
474
- p == null ? void 0 : p.footerBottom
429
+ m == null ? void 0 : m.footerBottom
475
430
  ),
476
431
  children: [
477
- d && /* @__PURE__ */ t.jsx(c, { text: l, classes: p == null ? void 0 : p.copyright }),
478
- r && /* @__PURE__ */ t.jsx(tt, { classes: p == null ? void 0 : p.siteMap })
432
+ n && /* @__PURE__ */ t.jsx(X, { text: f, classes: m == null ? void 0 : m.copyright }),
433
+ o && /* @__PURE__ */ t.jsx(A, { classes: m == null ? void 0 : m.siteMap })
479
434
  ]
480
435
  }
481
436
  )
482
- ] }) }) }), et = ({ classes: i, index: e, variant: o, title: d, description: r }) => {
483
- const x = o === "withTitleAndDescription" && d;
437
+ ] }) }) }), c = ({ classes: r, index: e, variant: i, title: n, description: o }) => {
438
+ const p = i === "withTitleAndDescription" && n;
484
439
  return /* @__PURE__ */ t.jsxs(
485
440
  "div",
486
441
  {
487
- className: n(
442
+ className: d(
488
443
  "flex w-[328px] max-w-[328px] flex-col gap-4 rounded-md border border-solid border-blue-grey-500 p-4 desktop:w-[348px] desktop:max-w-[348px] desktop:border-none desktop:p-0",
489
- i == null ? void 0 : i.singleStep
444
+ r == null ? void 0 : r.singleStep
490
445
  ),
491
446
  children: [
492
447
  /* @__PURE__ */ t.jsx(
493
448
  "div",
494
449
  {
495
- className: n(
450
+ className: d(
496
451
  "mob-headline-bold-s flex size-10 items-center justify-center rounded-sm bg-color-blue-grey-500 text-color-white desktop:desk-title-bold-l desktop:size-12",
497
- i == null ? void 0 : i.numeric
452
+ r == null ? void 0 : r.numeric
498
453
  ),
499
454
  children: e
500
455
  }
501
456
  ),
502
- /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col gap-2"), children: [
503
- x && /* @__PURE__ */ t.jsx(a, { as: "h4", className: n("text-color-dark", i == null ? void 0 : i.title), children: d }),
457
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2"), children: [
458
+ p && /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", r == null ? void 0 : r.title), children: n }),
504
459
  /* @__PURE__ */ t.jsx(
505
460
  "div",
506
461
  {
507
- dangerouslySetInnerHTML: { __html: r ?? "" },
508
- className: n("desk-body-regular-l text-color-tetriary", i == null ? void 0 : i.description)
462
+ dangerouslySetInnerHTML: { __html: o ?? "" },
463
+ className: d("desk-body-regular-l text-color-tetriary", r == null ? void 0 : r.description)
509
464
  }
510
465
  )
511
466
  ] })
512
467
  ]
513
468
  }
514
469
  );
515
- }, yt = ({ headline: i, config: e, classes: o }) => {
516
- const { variant: d, details: r } = e;
517
- return /* @__PURE__ */ t.jsx(V, { 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: n("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
518
- /* @__PURE__ */ t.jsx(a, { as: "h2", className: n("text-color-dark", o == null ? void 0 : o.headline), children: i }),
470
+ }, gt = ({ headline: r, config: e, classes: i }) => {
471
+ const { variant: n, details: o } = e;
472
+ return /* @__PURE__ */ t.jsx(V, { className: i == null ? void 0 : i.root, children: /* @__PURE__ */ t.jsx(j, { className: i == null ? void 0 : i.container, children: /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", i == null ? void 0 : i.wrapper), children: [
473
+ /* @__PURE__ */ t.jsx(a, { as: "h2", className: d("text-color-dark", i == null ? void 0 : i.headline), children: r }),
519
474
  /* @__PURE__ */ t.jsx(
520
475
  "div",
521
476
  {
522
- className: n(
477
+ className: d(
523
478
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
524
- o == null ? void 0 : o.stepsWrapper
479
+ i == null ? void 0 : i.stepsWrapper
525
480
  ),
526
- children: r == null ? void 0 : r.map((x, m) => /* @__PURE__ */ t.jsx(et, { variant: d, ...x, index: m + 1, classes: o == null ? void 0 : o.step }, x.description))
481
+ children: o == null ? void 0 : o.map((p, x) => /* @__PURE__ */ t.jsx(c, { variant: n, ...p, index: x + 1, classes: i == null ? void 0 : i.step }, p.description))
527
482
  }
528
483
  )
529
484
  ] }) }) });
530
- }, rt = j("", {
485
+ }, s = k("", {
531
486
  variants: {
532
487
  intent: {
533
488
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -543,7 +498,7 @@ const U = j(
543
498
  defaultVariants: {
544
499
  intent: "twoItems"
545
500
  }
546
- }), ot = j("", {
501
+ }), tt = k("", {
547
502
  variants: {
548
503
  intent: {
549
504
  twoItems: "",
@@ -575,7 +530,7 @@ const U = j(
575
530
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
576
531
  }
577
532
  ]
578
- }), it = j("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
533
+ }), et = k("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
579
534
  variants: {
580
535
  intent: {
581
536
  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',
@@ -585,7 +540,7 @@ const U = j(
585
540
  defaultVariants: {
586
541
  intent: "twoItems"
587
542
  }
588
- }), nt = j("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
543
+ }), rt = k("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
589
544
  variants: {
590
545
  intent: {
591
546
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -611,51 +566,50 @@ const U = j(
611
566
  class: "desktop:h-[272px] desktop:w-[500px]"
612
567
  }
613
568
  ]
614
- }), dt = ({ data: i, intent: e }) => {
615
- const { title: o, description: d, popoverText: r } = i;
616
- return /* @__PURE__ */ t.jsx("li", { className: n(it({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
617
- /* @__PURE__ */ t.jsxs("div", { className: n("mb-2 flex items-center gap-2"), children: [
618
- /* @__PURE__ */ t.jsx("h4", { className: n("mob-title-bold-m text-color-dark"), children: o }),
619
- r && /* @__PURE__ */ t.jsx(L, { triggerElement: /* @__PURE__ */ t.jsx(u, { className: n("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: r })
569
+ }), ot = ({ data: r, intent: e }) => {
570
+ const {
571
+ title: i,
572
+ description: n,
573
+ popover: o = {
574
+ enabled: !1
575
+ }
576
+ } = r;
577
+ return /* @__PURE__ */ t.jsx("li", { className: d(et({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
578
+ /* @__PURE__ */ t.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
579
+ /* @__PURE__ */ t.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: i }),
580
+ o.enabled && /* @__PURE__ */ t.jsx(D, { triggerElement: /* @__PURE__ */ t.jsx(l, { className: d("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: o == null ? void 0 : o.text })
620
581
  ] }),
621
- /* @__PURE__ */ t.jsx("p", { className: n("mob-body-regular-l text-color-secondary"), children: d })
582
+ /* @__PURE__ */ t.jsx("div", { className: d("mob-body-regular-l text-color-secondary"), dangerouslySetInnerHTML: { __html: n } })
622
583
  ] }) });
623
- }, N = ({ intent: i, title: e, desktopHidden: o = !1, mobileHidden: d = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: n(rt({ intent: i, desktopHidden: o, mobileHidden: d })), children: e }), xt = ({ textContent: i, intent: e, withButton: o }) => /* @__PURE__ */ t.jsx("ul", { className: n(ot({ intent: e, withButton: o })), children: i == null ? void 0 : i.map((d, r) => /* @__PURE__ */ t.jsx(dt, { intent: e, data: d }, r)) }), vt = ({
624
- title: i,
625
- buttonConfig: e,
626
- intent: o = "twoItems",
627
- textContent: d,
628
- imageComponent: r,
629
- classes: x
630
- }) => {
631
- const m = !!e, h = o === "fourItems", f = o === "twoItems";
632
- return /* @__PURE__ */ t.jsx("section", { className: n(x == null ? void 0 : x.root), children: /* @__PURE__ */ t.jsxs(k, { className: n(x == null ? void 0 : x.container), children: [
633
- f && /* @__PURE__ */ t.jsx(N, { intent: o, title: i }),
584
+ }, v = ({ intent: r, headline: e, desktopHidden: i = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: d(s({ intent: r, desktopHidden: i, mobileHidden: n })), children: e }), nt = ({ details: r, intent: e, withButton: i }) => /* @__PURE__ */ t.jsx("ul", { className: d(tt({ intent: e, withButton: i })), children: r == null ? void 0 : r.map((n, o) => /* @__PURE__ */ t.jsx(ot, { intent: e, data: n }, o)) }), wt = ({ headline: r, buttonConfig: e, withButton: i = !1, config: n, imageComponent: o, classes: p }) => {
585
+ const { intent: x = "twoItems", details: h } = n, u = x === "fourItems", f = x === "twoItems";
586
+ return /* @__PURE__ */ t.jsx("section", { className: d(p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsxs(j, { className: d(p == null ? void 0 : p.container), children: [
587
+ f && /* @__PURE__ */ t.jsx(v, { intent: x, headline: r }),
634
588
  /* @__PURE__ */ t.jsxs(
635
589
  "div",
636
590
  {
637
- className: n(
591
+ className: d(
638
592
  "bg-banner-skyblue-100 px-6 pb-8 pt-6 desktop:flex desktop:flex-row-reverse desktop:justify-between desktop:px-0 desktop:py-0 desktop:pl-12",
639
- x == null ? void 0 : x.contentContainer
593
+ p == null ? void 0 : p.contentContainer
640
594
  ),
641
595
  children: [
642
- h && /* @__PURE__ */ t.jsx(N, { intent: o, title: i, desktopHidden: !0 }),
643
- /* @__PURE__ */ t.jsx("div", { className: n(nt({ intent: o, withButton: m }), x == null ? void 0 : x.imgContainer), children: r }),
596
+ u && /* @__PURE__ */ t.jsx(v, { intent: x, headline: r, desktopHidden: !0 }),
597
+ /* @__PURE__ */ t.jsx("div", { className: d(rt({ intent: x, withButton: i }), p == null ? void 0 : p.imgContainer), children: o }),
644
598
  /* @__PURE__ */ t.jsxs(
645
599
  "div",
646
600
  {
647
- className: n("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", x == null ? void 0 : x.textWithBtnContainer),
601
+ className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", p == null ? void 0 : p.textWithBtnContainer),
648
602
  children: [
649
- h && /* @__PURE__ */ t.jsx(N, { intent: o, title: i, mobileHidden: !0 }),
650
- /* @__PURE__ */ t.jsx(xt, { textContent: d, intent: o, withButton: m }),
651
- m && /* @__PURE__ */ t.jsx(
652
- g,
603
+ u && /* @__PURE__ */ t.jsx(v, { intent: x, headline: r, mobileHidden: !0 }),
604
+ /* @__PURE__ */ t.jsx(nt, { details: h, intent: x, withButton: i }),
605
+ i && /* @__PURE__ */ t.jsx(
606
+ w,
653
607
  {
654
- className: n("w-full px-4 desktop:w-max", x == null ? void 0 : x.button),
608
+ className: d("w-full px-4 desktop:w-max", p == null ? void 0 : p.button),
655
609
  size: "lg",
656
- onClick: e.onClick,
610
+ onClick: e == null ? void 0 : e.onClick,
657
611
  intent: "secondary",
658
- children: e.text
612
+ children: e == null ? void 0 : e.text
659
613
  }
660
614
  )
661
615
  ]
@@ -665,33 +619,33 @@ const U = j(
665
619
  }
666
620
  )
667
621
  ] }) });
668
- }, y = {
622
+ }, I = {
669
623
  ESIA: "esia",
670
624
  MOBILE_ID: "mobileId",
671
625
  COMBINE: "combine"
672
- }, W = ({ children: i, isLoading: e, classes: o, loaderProps: d }) => /* @__PURE__ */ t.jsx(
626
+ }, T = ({ children: r, isLoading: e, classes: i, loaderProps: n }) => /* @__PURE__ */ t.jsx(
673
627
  "div",
674
628
  {
675
629
  tabIndex: 0,
676
- className: n(
630
+ className: d(
677
631
  "relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
678
632
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
679
- o == null ? void 0 : o.root
633
+ i == null ? void 0 : i.root
680
634
  ),
681
635
  children: /* @__PURE__ */ t.jsx(
682
636
  "div",
683
637
  {
684
- className: n(
638
+ className: d(
685
639
  "flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
686
640
  "bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
687
641
  { "items-center": e },
688
- o == null ? void 0 : o.wrapper
642
+ i == null ? void 0 : i.wrapper
689
643
  ),
690
- children: e ? /* @__PURE__ */ t.jsx(D, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...d }) : i
644
+ children: e ? /* @__PURE__ */ t.jsx(O, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : r
691
645
  }
692
646
  )
693
647
  }
694
- ), pt = ({ ...i }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i, children: [
648
+ ), it = ({ ...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: [
695
649
  /* @__PURE__ */ t.jsx(
696
650
  "path",
697
651
  {
@@ -719,22 +673,22 @@ const U = j(
719
673
  /* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
720
674
  /* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
721
675
  ] }) })
722
- ] }), F = ({ mainLink: i, subLink: e, isMobile: o, classes: d }) => /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col", d == null ? void 0 : d.linksWrapper), children: [
676
+ ] }), F = ({ mainLink: r, subLink: e, isMobile: i, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
723
677
  /* @__PURE__ */ t.jsx(
724
678
  "a",
725
679
  {
726
- href: i.href,
680
+ href: r.href,
727
681
  target: "_blank",
728
682
  rel: "noreferrer",
729
- className: n(
683
+ className: d(
730
684
  'before:content=[" "] desk-body-medium-l z-[4] text-color-dark before:absolute before:left-1/2 before:top-1/2 before:h-full before:w-full before:-translate-x-1/2 before:-translate-y-1/2',
731
- d == null ? void 0 : d.linksMainLink
685
+ n == null ? void 0 : n.linksMainLink
732
686
  ),
733
- children: o ? i.mobileTitle : i.title
687
+ children: i ? r.mobileTitle : r.title
734
688
  }
735
689
  ),
736
690
  (e == null ? void 0 : e.text) && (e == null ? void 0 : e.href) && /* @__PURE__ */ t.jsx(
737
- w,
691
+ N,
738
692
  {
739
693
  intent: "blue",
740
694
  withUnderline: !0,
@@ -742,79 +696,79 @@ const U = j(
742
696
  target: "_blank",
743
697
  rel: "noreferrer",
744
698
  classes: {
745
- link: n("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", d == null ? void 0 : d.linksSubLink)
699
+ link: d("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
746
700
  },
747
701
  children: e == null ? void 0 : e.text
748
702
  }
749
703
  )
750
- ] }), C = ({ mainLink: i, subLink: e, isLoading: o, badge: d, loaderProps: r, classes: x }) => {
751
- const { isMobile: m } = b();
752
- return /* @__PURE__ */ t.jsx(W, { isLoading: o, loaderProps: r, classes: x == null ? void 0 : x.authWrapper, children: /* @__PURE__ */ t.jsxs(
704
+ ] }), _ = ({ mainLink: r, subLink: e, isLoading: i, badge: n, loaderProps: o, classes: p }) => {
705
+ const { isMobile: x } = b();
706
+ return /* @__PURE__ */ t.jsx(T, { isLoading: i, loaderProps: o, classes: p == null ? void 0 : p.authWrapper, children: /* @__PURE__ */ t.jsxs(
753
707
  "div",
754
708
  {
755
- className: n(
709
+ className: d(
756
710
  "flex flex-1 items-center justify-between gap-1",
757
- { "justify-center": !d && m },
758
- x == null ? void 0 : x.innerWrapper
711
+ { "justify-center": !n && x },
712
+ p == null ? void 0 : p.innerWrapper
759
713
  ),
760
714
  children: [
761
- /* @__PURE__ */ t.jsxs("div", { className: n("flex items-center gap-1 desktop:gap-4", x == null ? void 0 : x.textContent), children: [
715
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", p == null ? void 0 : p.textContent), children: [
762
716
  /* @__PURE__ */ t.jsxs("div", { children: [
763
- /* @__PURE__ */ t.jsx(u, { name: "logos/mts", className: n("relative z-[9] size-7 desktop:size-8", x == null ? void 0 : x.mtsLogo) }),
764
- /* @__PURE__ */ t.jsx(u, { name: "logos/megafon", className: n("relative z-[8] -ml-4 size-7 desktop:size-8", x == null ? void 0 : x.megafonLogo) }),
765
- /* @__PURE__ */ t.jsx(u, { name: "logos/beeline", className: n("relative z-[7] -ml-4 size-7 desktop:size-8", x == null ? void 0 : x.beelineLogo) })
717
+ /* @__PURE__ */ t.jsx(l, { name: "logos/mts", className: d("relative z-[9] size-7 desktop:size-8", p == null ? void 0 : p.mtsLogo) }),
718
+ /* @__PURE__ */ t.jsx(l, { name: "logos/megafon", className: d("relative z-[8] -ml-4 size-7 desktop:size-8", p == null ? void 0 : p.megafonLogo) }),
719
+ /* @__PURE__ */ t.jsx(l, { name: "logos/beeline", className: d("relative z-[7] -ml-4 size-7 desktop:size-8", p == null ? void 0 : p.beelineLogo) })
766
720
  ] }),
767
- /* @__PURE__ */ t.jsx(F, { mainLink: i, subLink: e, isMobile: m, classes: x == null ? void 0 : x.links }),
768
- /* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: n("mobile:hidden", x == null ? void 0 : x.arrowIcon) })
721
+ /* @__PURE__ */ t.jsx(F, { mainLink: r, subLink: e, isMobile: x, classes: p == null ? void 0 : p.links }),
722
+ /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", p == null ? void 0 : p.arrowIcon) })
769
723
  ] }),
770
- d && /* @__PURE__ */ t.jsx(v, { className: n("bg-color-positive", x == null ? void 0 : x.badge), children: d })
724
+ n && /* @__PURE__ */ t.jsx(C, { className: d("bg-color-positive", p == null ? void 0 : p.badge), children: n })
771
725
  ]
772
726
  }
773
727
  ) });
774
- }, B = ({ mainLink: i, subLink: e, isLoading: o, badge: d, loaderProps: r, classes: x }) => {
775
- const { isMobile: m } = b();
776
- return /* @__PURE__ */ t.jsx(W, { isLoading: o, loaderProps: r, classes: x == null ? void 0 : x.authWrapper, children: /* @__PURE__ */ t.jsxs(
728
+ }, z = ({ mainLink: r, subLink: e, isLoading: i, badge: n, loaderProps: o, classes: p }) => {
729
+ const { isMobile: x } = b();
730
+ return /* @__PURE__ */ t.jsx(T, { isLoading: i, loaderProps: o, classes: p == null ? void 0 : p.authWrapper, children: /* @__PURE__ */ t.jsxs(
777
731
  "div",
778
732
  {
779
- className: n(
733
+ className: d(
780
734
  "flex flex-1 items-center justify-between gap-1",
781
- { "justify-center": !d && m },
782
- x == null ? void 0 : x.innerWrapper
735
+ { "justify-center": !n && x },
736
+ p == null ? void 0 : p.innerWrapper
783
737
  ),
784
738
  children: [
785
- /* @__PURE__ */ t.jsxs("div", { className: n("flex items-center gap-1 desktop:gap-4", x == null ? void 0 : x.textContent), children: [
786
- /* @__PURE__ */ t.jsx(pt, { className: n("size-7 desktop:size-8", x == null ? void 0 : x.esiaLogo) }),
787
- /* @__PURE__ */ t.jsx(F, { mainLink: i, subLink: e, isMobile: m, classes: x == null ? void 0 : x.links }),
788
- /* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: n("mobile:hidden", x == null ? void 0 : x.arrowIcon) })
739
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", p == null ? void 0 : p.textContent), children: [
740
+ /* @__PURE__ */ t.jsx(it, { className: d("size-7 desktop:size-8", p == null ? void 0 : p.esiaLogo) }),
741
+ /* @__PURE__ */ t.jsx(F, { mainLink: r, subLink: e, isMobile: x, classes: p == null ? void 0 : p.links }),
742
+ /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", p == null ? void 0 : p.arrowIcon) })
789
743
  ] }),
790
- d && /* @__PURE__ */ t.jsx(v, { className: n("bg-color-positive", x == null ? void 0 : x.badge), children: d })
744
+ n && /* @__PURE__ */ t.jsx(C, { className: d("bg-color-positive", p == null ? void 0 : p.badge), children: n })
791
745
  ]
792
746
  }
793
747
  ) });
794
- }, mt = (i) => {
795
- switch (i.mode) {
796
- case y.ESIA:
797
- return /* @__PURE__ */ t.jsx(B, { ...i });
798
- case y.MOBILE_ID:
799
- return /* @__PURE__ */ t.jsx(C, { ...i });
800
- case y.COMBINE:
748
+ }, dt = (r) => {
749
+ switch (r.mode) {
750
+ case I.ESIA:
751
+ return /* @__PURE__ */ t.jsx(z, { ...r });
752
+ case I.MOBILE_ID:
753
+ return /* @__PURE__ */ t.jsx(_, { ...r });
754
+ case I.COMBINE:
801
755
  default:
802
- const { esiaConfig: e, mobileIdConfig: o, subtitle: d, badge: r, classes: x } = i, m = !d && !r ? G.Fragment : "div";
756
+ const { esiaConfig: e, mobileIdConfig: i, subtitle: n, badge: o, classes: p } = r, x = !n && !o ? g.Fragment : "div";
803
757
  return /* @__PURE__ */ t.jsxs(
804
758
  "div",
805
759
  {
806
- className: n(
760
+ className: d(
807
761
  "flex w-[328px] flex-col items-center justify-center gap-2 rounded-sm bg-color-white px-2 py-4 outline outline-1 outline-warm-grey-200 desktop:w-[524px] desktop:p-4",
808
- x == null ? void 0 : x.root
762
+ p == null ? void 0 : p.root
809
763
  ),
810
764
  children: [
811
- /* @__PURE__ */ t.jsxs(m, { className: n("flex w-full items-center justify-between gap-2", x == null ? void 0 : x.topContent), children: [
812
- d && /* @__PURE__ */ t.jsx("h5", { className: n("desk-body-regular-l flex flex-1 text-color-dark", x == null ? void 0 : x.subtitle), children: d }),
813
- r && /* @__PURE__ */ t.jsx(v, { className: n("bg-color-positive", x == null ? void 0 : x.badge), children: r })
765
+ /* @__PURE__ */ t.jsxs(x, { className: d("flex w-full items-center justify-between gap-2", p == null ? void 0 : p.topContent), children: [
766
+ n && /* @__PURE__ */ t.jsx("h5", { className: d("desk-body-regular-l flex flex-1 text-color-dark", p == null ? void 0 : p.subtitle), children: n }),
767
+ o && /* @__PURE__ */ t.jsx(C, { className: d("bg-color-positive", p == null ? void 0 : p.badge), children: o })
814
768
  ] }),
815
- /* @__PURE__ */ t.jsxs("div", { className: n("grid w-full grid-cols-2 gap-2 desktop:gap-4", x == null ? void 0 : x.authWrapper), children: [
769
+ /* @__PURE__ */ t.jsxs("div", { className: d("grid w-full grid-cols-2 gap-2 desktop:gap-4", p == null ? void 0 : p.authWrapper), children: [
816
770
  /* @__PURE__ */ t.jsx(
817
- B,
771
+ z,
818
772
  {
819
773
  ...e,
820
774
  classes: {
@@ -825,13 +779,13 @@ const U = j(
825
779
  }
826
780
  ),
827
781
  /* @__PURE__ */ t.jsx(
828
- C,
782
+ _,
829
783
  {
830
- ...o,
784
+ ...i,
831
785
  classes: {
832
786
  root: "p-0 outline-0 h-[74px]",
833
787
  arrowIcon: "hidden",
834
- ...o.classes
788
+ ...i.classes
835
789
  }
836
790
  }
837
791
  )
@@ -840,45 +794,45 @@ const U = j(
840
794
  }
841
795
  );
842
796
  }
843
- }, It = (i) => mt(i), z = ({ links: i, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: n("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: i == null ? void 0 : i.map(({ path: o, label: d }) => /* @__PURE__ */ t.jsx(
844
- w,
797
+ }, Nt = (r) => dt(r), H = ({ links: r, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: r == null ? void 0 : r.map(({ path: i, label: n }) => /* @__PURE__ */ t.jsx(
798
+ N,
845
799
  {
846
800
  classes: {
847
- link: n("w-max", e == null ? void 0 : e.linkText),
848
- icon: n(e == null ? void 0 : e.linkIcon)
801
+ link: d("w-max", e == null ? void 0 : e.linkText),
802
+ icon: d(e == null ? void 0 : e.linkIcon)
849
803
  },
850
804
  intent: "dark",
851
- href: o,
852
- children: d
805
+ href: i,
806
+ children: n
853
807
  },
854
- o
855
- )) }), ht = ({ groupLabel: i, links: e, mobileAccordionProps: o, classes: d }) => {
856
- var x, m, h;
857
- const { isMobile: r } = b();
858
- return /* @__PURE__ */ t.jsxs("div", { className: n("flex flex-col gap-2", d == null ? void 0 : d.columnGroup), children: [
859
- !r && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
860
- /* @__PURE__ */ t.jsx("h5", { className: n("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", d == null ? void 0 : d.columnGroupHeading), children: i }),
861
- /* @__PURE__ */ t.jsx(z, { links: e, classes: d == null ? void 0 : d.linksList }, "desktop")
808
+ i
809
+ )) }), pt = ({ groupLabel: r, links: e, mobileAccordionProps: i, classes: n }) => {
810
+ var p, x, h;
811
+ const { isMobile: o } = b();
812
+ return /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
813
+ !o && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
814
+ /* @__PURE__ */ t.jsx("h5", { className: d("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: r }),
815
+ /* @__PURE__ */ t.jsx(H, { links: e, classes: n == null ? void 0 : n.linksList }, "desktop")
862
816
  ] }),
863
- r && /* @__PURE__ */ t.jsx(
864
- _,
817
+ o && /* @__PURE__ */ t.jsx(
818
+ E,
865
819
  {
866
820
  defaultOpen: !0,
867
- label: i,
868
- icon: /* @__PURE__ */ t.jsx(u, { name: "arrows/arrowRight", className: n("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
869
- ...o,
821
+ label: r,
822
+ icon: /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
823
+ ...i,
870
824
  classes: {
871
- ...o == null ? void 0 : o.classes,
825
+ ...i == null ? void 0 : i.classes,
872
826
  header: {
873
- trigger: n("p-0 bg-color-blue-grey-100", (m = (x = o == null ? void 0 : o.classes) == null ? void 0 : x.header) == null ? void 0 : m.trigger)
827
+ trigger: d("p-0 bg-color-blue-grey-100", (x = (p = i == null ? void 0 : i.classes) == null ? void 0 : p.header) == null ? void 0 : x.trigger)
874
828
  },
875
- contentInner: n("py-2 px-4", (h = o == null ? void 0 : o.classes) == null ? void 0 : h.contentInner)
829
+ contentInner: d("py-2 px-4", (h = i == null ? void 0 : i.classes) == null ? void 0 : h.contentInner)
876
830
  },
877
- children: /* @__PURE__ */ t.jsx(z, { links: e, classes: d == null ? void 0 : d.linksList }, "mobile")
831
+ children: /* @__PURE__ */ t.jsx(H, { links: e, classes: n == null ? void 0 : n.linksList }, "mobile")
878
832
  }
879
833
  )
880
834
  ] });
881
- }, ft = ({ column: i, mobileAccordionProps: e, classes: o }) => /* @__PURE__ */ t.jsx("div", { className: n("flex flex-col gap-4 desktop:gap-6", o == null ? void 0 : o.column), children: i == null ? void 0 : i.map((d) => /* @__PURE__ */ t.jsx(ht, { ...e, ...d, classes: o == null ? void 0 : o.columnGroup }, d.groupLabel)) }), lt = j("grid gap-4 grid-cols-1", {
835
+ }, xt = ({ column: r, mobileAccordionProps: e, classes: i }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", i == null ? void 0 : i.column), children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ t.jsx(pt, { ...e, ...n, classes: i == null ? void 0 : i.columnGroup }, n.groupLabel)) }), mt = k("grid gap-4 grid-cols-1", {
882
836
  variants: {
883
837
  variant: {
884
838
  twoCols: "desktop:grid-cols-2",
@@ -889,36 +843,36 @@ const U = j(
889
843
  defaultVariants: {
890
844
  variant: "fourCols"
891
845
  }
892
- }), Ct = ({ config: i, headline: e, mobileAccordionProps: o, rootAccordionProps: d, classes: r }) => {
893
- var h, f, l;
894
- const { variant: x, details: m } = i;
895
- return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: n("min-w-full desktop:min-w-[1140px]", r == null ? void 0 : r.root), children: /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx(
896
- _,
846
+ }), yt = ({ config: r, headline: e, mobileAccordionProps: i, rootAccordionProps: n, classes: o }) => {
847
+ var h, u, f;
848
+ const { variant: p, details: x } = r;
849
+ return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: d("min-w-full desktop:min-w-[1140px]", o == null ? void 0 : o.root), children: /* @__PURE__ */ t.jsx(j, { children: /* @__PURE__ */ t.jsx(
850
+ E,
897
851
  {
898
852
  defaultOpen: !0,
899
- label: /* @__PURE__ */ t.jsx(a, { as: "h4", className: n("text-left", r == null ? void 0 : r.headline), children: e }),
900
- ...d,
853
+ label: /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-left", o == null ? void 0 : o.headline), children: e }),
854
+ ...n,
901
855
  classes: {
902
- ...d == null ? void 0 : d.classes,
856
+ ...n == null ? void 0 : n.classes,
903
857
  header: {
904
- trigger: n("bg-color-blue-grey-100", (f = (h = d == null ? void 0 : d.classes) == null ? void 0 : h.header) == null ? void 0 : f.trigger)
858
+ trigger: d("bg-color-blue-grey-100", (u = (h = n == null ? void 0 : n.classes) == null ? void 0 : h.header) == null ? void 0 : u.trigger)
905
859
  },
906
- content: n("max-w-full bg-color-blue-grey-100 relative", (l = d == null ? void 0 : d.classes) == null ? void 0 : l.content)
860
+ content: d("max-w-full bg-color-blue-grey-100 relative", (f = n == null ? void 0 : n.classes) == null ? void 0 : f.content)
907
861
  },
908
- children: /* @__PURE__ */ t.jsx("div", { className: n(lt({ variant: x }), r == null ? void 0 : r.columnsWrapper), children: m == null ? void 0 : m.map((p, T) => /* @__PURE__ */ t.jsx(ft, { ...p, ...o, classes: r == null ? void 0 : r.column }, T)) })
862
+ children: /* @__PURE__ */ t.jsx("div", { className: d(mt({ variant: p }), o == null ? void 0 : o.columnsWrapper), children: x == null ? void 0 : x.map((m, y) => /* @__PURE__ */ t.jsx(xt, { ...m, ...i, classes: o == null ? void 0 : o.column }, y)) })
909
863
  }
910
864
  ) }) });
911
865
  };
912
866
  export {
913
- H as Advantages,
914
- It as AuthProvider,
915
- wt as Banner,
916
- I as BannerWithSeparateImg,
917
- bt as Benefit,
918
- Nt as Footer,
919
- gt as Header,
920
- Ct as InterLinking,
921
- vt as LongBanner,
922
- yt as Stepper
867
+ R as Advantages,
868
+ Nt as AuthProvider,
869
+ kt as Banner,
870
+ B as BannerWithSeparateImg,
871
+ at as Benefit,
872
+ bt as Footer,
873
+ jt as Header,
874
+ yt as InterLinking,
875
+ wt as LongBanner,
876
+ gt as Stepper
923
877
  };
924
878
  //# sourceMappingURL=widget.js.map