@scbt-ecom/ui 0.35.2 → 0.36.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -1,4 +1,4 @@
1
- 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, S as R, a as V, L, d as v, A as _ } from "./CustomLink-fcD_1hIU.js";
1
+ import { j as t, B as g, H as a, c as j, R as k, P as M, b as T, I as l, C as w, S as R, a as V, L, d as v, A as _ } from "./CustomLink-BQOhJbbq.js";
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";
@@ -15,39 +15,39 @@ const G = j(
15
15
  }
16
16
  }
17
17
  ), U = ({
18
- description: o,
18
+ description: n,
19
19
  title: e,
20
20
  img: x,
21
- mobileImg: r,
22
- classes: n,
21
+ mobileImg: o,
22
+ classes: r,
23
23
  withButton: i,
24
- buttonText: m,
25
- intent: h,
24
+ buttonText: h,
25
+ intent: m,
26
26
  cardColor: f
27
27
  }) => {
28
28
  const { isDesktop: u } = b(), p = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
29
- w,
29
+ g,
30
30
  {
31
31
  intent: "primary",
32
- className: d("desktop:w-[200px]", n == null ? void 0 : n.button),
32
+ className: d("desktop:w-[200px]", r == null ? void 0 : r.button),
33
33
  onClick: () => D("personal_form"),
34
34
  size: "lg",
35
- children: m
35
+ children: h
36
36
  }
37
37
  ) });
38
38
  return /* @__PURE__ */ t.jsxs(
39
39
  "li",
40
40
  {
41
- className: d(G({ intent: h }), { "pb-0": r }, { "pb-12": !r }, f, n == null ? void 0 : n.root),
41
+ className: d(G({ intent: m }), { "pb-0": o }, { "pb-12": !o }, f, r == null ? void 0 : r.root),
42
42
  children: [
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: [
44
- /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", n == null ? void 0 : n.textContainer), children: [
45
- /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("desktop:desk-title-bold-s", n == null ? void 0 : n.title), children: e }),
46
- /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", n == null ? void 0 : n.description), children: o })
43
+ /* @__PURE__ */ t.jsxs("div", { className: d("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: d("flex flex-col gap-4", r == null ? void 0 : r.textContainer), children: [
45
+ /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("desktop:desk-title-bold-s", r == null ? void 0 : r.title), children: e }),
46
+ /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", r == null ? void 0 : r.description), children: n })
47
47
  ] }),
48
48
  i && u && p
49
49
  ] }),
50
- (r || u) && x && /* @__PURE__ */ t.jsx("div", { className: d("flex w-full justify-end", n == null ? void 0 : n.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: d("h-[246px] object-cover", n == null ? void 0 : n.img), src: x, alt: e }) })
50
+ (o || u) && x && /* @__PURE__ */ t.jsx("div", { className: d("flex w-full justify-end", r == null ? void 0 : r.imgContainer), children: /* @__PURE__ */ t.jsx("img", { className: d("h-[246px] object-cover", r == null ? void 0 : r.img), src: x, alt: e }) })
51
51
  ]
52
52
  },
53
53
  x
@@ -60,22 +60,22 @@ const G = j(
60
60
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
61
61
  }
62
62
  }
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: [
64
- /* @__PURE__ */ t.jsx(a, { className: d("mb-8", x == null ? void 0 : x.heading), as: "h2", children: 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) => {
63
+ }), jt = ({ heading: n, cards: e, classes: x, intent: o }) => /* @__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: [
64
+ /* @__PURE__ */ t.jsx(a, { className: d("mb-8", x == null ? void 0 : x.heading), as: "h2", children: n }),
65
+ /* @__PURE__ */ t.jsx("ul", { className: d(S({ intent: o }), x == null ? void 0 : x.grid), children: e == null ? void 0 : e.map((r) => /* @__PURE__ */ t.jsx(U, { intent: o, classes: x == null ? void 0 : x.item, ...r }, r.img)) })
66
+ ] }) }), Z = (n) => {
67
67
  var e;
68
- switch (o.variant) {
68
+ switch (n.variant) {
69
69
  case "withButton":
70
- return /* @__PURE__ */ t.jsx(w, { intent: "secondary", size: "sm", ...o.buttonProps, children: ((e = o.buttonProps) == null ? void 0 : e.children) || "Оформить заявку" });
70
+ return /* @__PURE__ */ t.jsx(g, { intent: "secondary", size: "sm", ...n.buttonProps, children: ((e = n.buttonProps) == null ? void 0 : e.children) || "Оформить заявку" });
71
71
  case "withPhone":
72
- return /* @__PURE__ */ t.jsx(M, { ...o.phoneProps });
72
+ return /* @__PURE__ */ t.jsx(M, { ...n.phoneProps });
73
73
  default:
74
74
  return null;
75
75
  }
76
- }, bt = (o) => {
77
- const { logoPath: e = "/", logoType: x = "main", classes: r } = o;
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: [
76
+ }, bt = (n) => {
77
+ const { logoPath: e = "/", logoType: x = "main", classes: o } = n;
78
+ return /* @__PURE__ */ t.jsx("header", { className: d("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", o == null ? void 0 : o.header), children: /* @__PURE__ */ t.jsx(k, { className: d(o == null ? void 0 : o.container), children: /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center justify-between gap-5", o == null ? void 0 : o.wrapper), children: [
79
79
  /* @__PURE__ */ t.jsx(
80
80
  "a",
81
81
  {
@@ -85,94 +85,94 @@ const G = j(
85
85
  rel: "noreferrer",
86
86
  className: d(
87
87
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
88
- r == null ? void 0 : r.logo
88
+ o == null ? void 0 : o.logo
89
89
  ),
90
90
  children: T[x]
91
91
  }
92
92
  ),
93
- Z(o)
93
+ Z(n)
94
94
  ] }) }) });
95
- }, E = ({ buttonsConfig: o, classes: e, className: x }) => {
96
- var n;
97
- const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
95
+ }, E = ({ buttonsConfig: n, classes: e, className: x }) => {
96
+ var r;
97
+ const o = (n == null ? void 0 : n.secondary) && n.secondary.children;
98
98
  return /* @__PURE__ */ t.jsxs(
99
99
  "div",
100
100
  {
101
101
  "data-id": "banner-buttons-group",
102
102
  className: d(
103
103
  "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": r },
104
+ { "flex items-center gap-4": o },
105
105
  e == null ? void 0 : e.group,
106
106
  x
107
107
  ),
108
108
  children: [
109
- /* @__PURE__ */ t.jsx(w, { intent: "primary", ...o.primary, isFull: !0, className: d("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: o.primary.children }),
110
- r && /* @__PURE__ */ t.jsx(
111
- w,
109
+ /* @__PURE__ */ t.jsx(g, { intent: "primary", ...n.primary, isFull: !0, className: d("desktop:max-w-[216px]", e == null ? void 0 : e.primary), children: n.primary.children }),
110
+ o && /* @__PURE__ */ t.jsx(
111
+ g,
112
112
  {
113
113
  intent: "secondary",
114
- ...o == null ? void 0 : o.secondary,
114
+ ...n == null ? void 0 : n.secondary,
115
115
  isFull: !0,
116
116
  className: d("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
117
- children: (n = o == null ? void 0 : o.secondary) == null ? void 0 : n.children
117
+ children: (r = n == null ? void 0 : n.secondary) == null ? void 0 : r.children
118
118
  }
119
119
  )
120
120
  ]
121
121
  }
122
122
  );
123
123
  }, $ = ({
124
- headTitle: o,
124
+ headTitle: n,
125
125
  subtitle: e,
126
126
  buttonsConfig: x,
127
- advantagesConfig: r,
128
- classes: n,
127
+ advantagesConfig: o,
128
+ classes: r,
129
129
  img: i,
130
- imgSets: m
130
+ imgSets: h
131
131
  }) => {
132
132
  var p;
133
- const { isDesktop: h, isMobile: f } = b(), u = /* @__PURE__ */ t.jsx(
133
+ const { isDesktop: m, isMobile: f } = b(), u = /* @__PURE__ */ t.jsx(
134
134
  "div",
135
135
  {
136
136
  "data-id": "banner-advantages",
137
137
  className: d(
138
138
  "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
- n == null ? void 0 : n.advantageContainer
139
+ r == null ? void 0 : r.advantageContainer
140
140
  ),
141
- children: (r == null ? void 0 : r.advantagesList) && ((p = r == null ? void 0 : r.advantagesList) == null ? void 0 : p.length) > 0 && /* @__PURE__ */ t.jsx(H, { ...r })
141
+ children: (o == null ? void 0 : o.advantagesList) && ((p = o == null ? void 0 : o.advantagesList) == null ? void 0 : p.length) > 0 && /* @__PURE__ */ t.jsx(H, { ...o })
142
142
  }
143
143
  );
144
144
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
145
- /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: d("relative h-[552px] desktop:h-[456px]", n == null ? void 0 : n.root), children: [
145
+ /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: d("relative h-[552px] desktop:h-[456px]", r == null ? void 0 : r.root), children: [
146
146
  /* @__PURE__ */ t.jsx(
147
147
  "div",
148
148
  {
149
149
  "data-id": "banner-img-wrapper",
150
150
  className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
151
151
  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 }),
152
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: h == null ? void 0 : h.large }),
153
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: h == null ? void 0 : h.mob }),
154
154
  /* @__PURE__ */ t.jsx(
155
155
  "img",
156
156
  {
157
157
  "data-id": "banner-image",
158
158
  src: i,
159
159
  alt: "Картинка баннера",
160
- className: d("h-full w-full object-cover object-center", n == null ? void 0 : n.image)
160
+ className: d("h-full w-full object-cover object-center", r == null ? void 0 : r.image)
161
161
  }
162
162
  )
163
163
  ] })
164
164
  }
165
165
  ),
166
- /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: d("h-full", n == null ? void 0 : n.container), children: [
167
- /* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: d("flex h-full", n == null ? void 0 : n.wrapper), children: /* @__PURE__ */ t.jsxs(
166
+ /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: d("h-full", r == null ? void 0 : r.container), children: [
167
+ /* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: d("flex h-full", r == null ? void 0 : r.wrapper), children: /* @__PURE__ */ t.jsxs(
168
168
  "div",
169
169
  {
170
170
  "data-id": "banner-text-block",
171
- className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
171
+ className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", r == null ? void 0 : r.textBlock),
172
172
  children: [
173
173
  /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
174
- /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-white", n == null ? void 0 : n.title), children: o }),
175
- /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-white", n == null ? void 0 : n.subtitle), children: e })
174
+ /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-white", r == null ? void 0 : r.title), children: n }),
175
+ /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-white", r == null ? void 0 : r.subtitle), children: e })
176
176
  ] }),
177
177
  /* @__PURE__ */ t.jsx(
178
178
  E,
@@ -180,75 +180,75 @@ const G = j(
180
180
  className: "self-end desktop:self-center",
181
181
  "data-id": "banner-buttons-group",
182
182
  buttonsConfig: x,
183
- classes: n
183
+ classes: r
184
184
  }
185
185
  )
186
186
  ]
187
187
  }
188
188
  ) }),
189
- h && u
189
+ m && u
190
190
  ] })
191
191
  ] }),
192
192
  f && u
193
193
  ] });
194
194
  }, I = ({
195
- headTitle: o,
195
+ headTitle: n,
196
196
  subtitle: e,
197
197
  buttonsConfig: x,
198
- advantagesConfig: r,
199
- classes: n,
198
+ advantagesConfig: o,
199
+ classes: r,
200
200
  img: i,
201
- imgSets: m
201
+ imgSets: h
202
202
  }) => {
203
203
  var p;
204
- const { isDesktop: h, isMobile: f } = b(), u = /* @__PURE__ */ t.jsx(
204
+ const { isDesktop: m, isMobile: f } = b(), u = /* @__PURE__ */ t.jsx(
205
205
  "div",
206
206
  {
207
207
  "data-id": "banner-advantages",
208
208
  className: d(
209
209
  "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
- n == null ? void 0 : n.advantageContainer
210
+ r == null ? void 0 : r.advantageContainer
211
211
  ),
212
- children: (r == null ? void 0 : r.advantagesList) && ((p = r == null ? void 0 : r.advantagesList) == null ? void 0 : p.length) > 0 && /* @__PURE__ */ t.jsx(H, { ...r })
212
+ children: (o == null ? void 0 : o.advantagesList) && ((p = o == null ? void 0 : o.advantagesList) == null ? void 0 : p.length) > 0 && /* @__PURE__ */ t.jsx(H, { ...o })
213
213
  }
214
214
  );
215
215
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
216
- /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: d("bg-banner-skyblue-300 desktop:h-[456px]", n == null ? void 0 : n.root), children: /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: d("relative", n == null ? void 0 : n.container), children: [
217
- /* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: d("flex flex-col desktop:flex-row desktop:justify-between", n == null ? void 0 : n.wrapper), children: [
216
+ /* @__PURE__ */ t.jsx("section", { "data-id": "banner-section", className: d("bg-banner-skyblue-300 desktop:h-[456px]", r == null ? void 0 : r.root), children: /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: d("relative", r == null ? void 0 : r.container), children: [
217
+ /* @__PURE__ */ t.jsxs("div", { "data-id": "banner", className: d("flex flex-col desktop:flex-row desktop:justify-between", r == null ? void 0 : r.wrapper), children: [
218
218
  /* @__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: d("flex flex-col gap-4 pt-6 desktop:pt-0", n == null ? void 0 : n.textBlock), children: [
220
- /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", n == null ? void 0 : n.title), children: o }),
221
- /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-dark", n == null ? void 0 : n.subtitle), children: e })
219
+ /* @__PURE__ */ t.jsxs("div", { "data-id": "banner-text-block", className: d("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: d("text-color-dark", r == null ? void 0 : r.title), children: n }),
221
+ /* @__PURE__ */ t.jsx("p", { "data-id": "banner-subtitle", className: d("desk-body-regular-l text-color-dark", r == null ? void 0 : r.subtitle), children: e })
222
222
  ] }),
223
- /* @__PURE__ */ t.jsx(E, { buttonsConfig: x, classes: n })
223
+ /* @__PURE__ */ t.jsx(E, { buttonsConfig: x, classes: r })
224
224
  ] }),
225
225
  /* @__PURE__ */ t.jsx(
226
226
  "div",
227
227
  {
228
228
  "data-id": "banner-image-wrapper",
229
- className: d("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
229
+ className: d("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", r == null ? void 0 : r.imageContainer),
230
230
  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 }),
231
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: h == null ? void 0 : h.large }),
232
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: h == null ? void 0 : h.mob }),
233
233
  /* @__PURE__ */ t.jsx(
234
234
  "img",
235
235
  {
236
236
  "data-id": "banner-image",
237
237
  src: i,
238
238
  alt: "Картинка баннера",
239
- className: d("h-full object-cover", n == null ? void 0 : n.image)
239
+ className: d("h-full object-cover", r == null ? void 0 : r.image)
240
240
  }
241
241
  )
242
242
  ] })
243
243
  }
244
244
  )
245
245
  ] }),
246
- h && u
246
+ m && u
247
247
  ] }) }),
248
248
  f && u
249
249
  ] });
250
- }, wt = ({ bannerVariant: o, ...e }) => {
251
- switch (o) {
250
+ }, gt = ({ bannerVariant: n, ...e }) => {
251
+ switch (n) {
252
252
  case "separateImg":
253
253
  return /* @__PURE__ */ t.jsx(I, { ...e });
254
254
  case "fullImg":
@@ -256,16 +256,16 @@ const G = j(
256
256
  default:
257
257
  return /* @__PURE__ */ t.jsx(I, { ...e });
258
258
  }
259
- }, H = ({ variant: o, advantagesList: e, classes: x }) => /* @__PURE__ */ t.jsx(
259
+ }, H = ({ variant: n, advantagesList: e, classes: x }) => /* @__PURE__ */ t.jsx(
260
260
  "div",
261
261
  {
262
262
  className: d(
263
263
  "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",
264
- { "desktop:max-w-[860px]": o === "threeCards" },
265
- { "desktop:max-w-[1140px]": o === "fourCards" },
264
+ { "desktop:max-w-[860px]": n === "threeCards" },
265
+ { "desktop:max-w-[1140px]": n === "fourCards" },
266
266
  x == null ? void 0 : x.root
267
267
  ),
268
- children: e == null ? void 0 : e.map(({ title: r, description: n }) => /* @__PURE__ */ t.jsxs(
268
+ children: e == null ? void 0 : e.map(({ title: o, description: r }) => /* @__PURE__ */ t.jsxs(
269
269
  "div",
270
270
  {
271
271
  className: d(
@@ -273,11 +273,11 @@ const G = j(
273
273
  x == null ? void 0 : x.item
274
274
  ),
275
275
  children: [
276
- /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", x == null ? void 0 : x.title), children: r }),
277
- /* @__PURE__ */ t.jsx("p", { className: d("desk-body-regular-l text-color-secondary", x == null ? void 0 : x.description), children: n })
276
+ /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", x == null ? void 0 : x.title), children: o }),
277
+ /* @__PURE__ */ t.jsx("p", { className: d("desk-body-regular-l text-color-secondary", x == null ? void 0 : x.description), children: r })
278
278
  ]
279
279
  },
280
- r
280
+ o
281
281
  ))
282
282
  }
283
283
  ), q = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -368,20 +368,20 @@ const G = j(
368
368
  { text: "Офисы и банкоматы", href: "/" }
369
369
  ]
370
370
  }
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(
371
+ ], X = ({ socialsLinks: n, 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: n == null ? void 0 : n.map(({ iconName: x, href: o }) => /* @__PURE__ */ t.jsx(
372
372
  "a",
373
373
  {
374
374
  className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
375
- href: r,
375
+ href: o,
376
376
  "aria-label": x.replace("social/", ""),
377
377
  children: /* @__PURE__ */ t.jsx(l, { name: x, className: d("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
378
378
  },
379
- r
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(
379
+ o
380
+ )) }), Y = ({ phones: n, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: n == null ? void 0 : n.map(({ phone: x, text: o }) => /* @__PURE__ */ t.jsx(
381
381
  M,
382
382
  {
383
383
  phone: x,
384
- text: r,
384
+ text: o,
385
385
  classes: {
386
386
  wrapper: d(e == null ? void 0 : e.phoneWrapper),
387
387
  text: d("text-color-footer", e == null ? void 0 : e.phoneText),
@@ -389,41 +389,41 @@ const G = j(
389
389
  }
390
390
  },
391
391
  x
392
- )) }), P = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx(
392
+ )) }), P = ({ navigationLinks: n, classes: e }) => /* @__PURE__ */ t.jsx(
393
393
  "div",
394
394
  {
395
395
  className: d(
396
396
  "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",
397
397
  e == null ? void 0 : e.navRoot
398
398
  ),
399
- children: o == null ? void 0 : o.map(({ groupLabel: x, links: r }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
399
+ children: n == null ? void 0 : n.map(({ groupLabel: x, links: o }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", e == null ? void 0 : e.navGroup), children: [
400
400
  /* @__PURE__ */ t.jsx("div", { className: d("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: x }),
401
- /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: r == null ? void 0 : r.map(({ text: n, href: i }) => /* @__PURE__ */ t.jsx(
402
- g,
401
+ /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-1", e == null ? void 0 : e.navLinks), children: o == null ? void 0 : o.map(({ text: r, href: i }) => /* @__PURE__ */ t.jsx(
402
+ w,
403
403
  {
404
404
  href: i,
405
- "aria-label": n,
405
+ "aria-label": r,
406
406
  intent: "white",
407
407
  classes: {
408
408
  link: e == null ? void 0 : e.navLink,
409
409
  icon: e == null ? void 0 : e.navLinkIcon
410
410
  },
411
- children: n
411
+ children: r
412
412
  },
413
- n
413
+ r
414
414
  )) })
415
415
  ] }, x))
416
416
  }
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(
417
+ ), A = ({ text: n, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: n }), c = ({ classes: n }) => /* @__PURE__ */ t.jsx(
418
418
  "a",
419
419
  {
420
420
  "aria-label": "logo",
421
421
  href: "https://sovcombank.ru/",
422
- className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", o == null ? void 0 : o.footerLogo),
423
- children: /* @__PURE__ */ t.jsx(l, { name: "brandLogos/logoWhite", className: d("size-full", o == null ? void 0 : o.footerLogoIcon) })
422
+ className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", n == null ? void 0 : n.footerLogo),
423
+ children: /* @__PURE__ */ t.jsx(l, { name: "brandLogos/logoWhite", className: d("size-full", n == null ? void 0 : n.footerLogoIcon) })
424
424
  }
425
- ), s = ({ classes: o }) => /* @__PURE__ */ t.jsx(
426
- g,
425
+ ), s = ({ classes: n }) => /* @__PURE__ */ t.jsx(
426
+ w,
427
427
  {
428
428
  intent: "white",
429
429
  href: "https://sovcombank.ru/site-map",
@@ -431,16 +431,16 @@ const G = j(
431
431
  "aria-label": "site-map",
432
432
  rel: "noreferrer",
433
433
  classes: {
434
- link: d("mobile:mt-6", o == null ? void 0 : o.siteMapLink),
435
- icon: o == null ? void 0 : o.siteMapLinkIcon
434
+ link: d("mobile:mt-6", n == null ? void 0 : n.siteMapLink),
435
+ icon: n == null ? void 0 : n.siteMapLinkIcon
436
436
  },
437
437
  children: "Карта сайта"
438
438
  }
439
- ), gt = ({
440
- renderBlocks: { withSocial: o = !0, withPhones: e = !0, withNavLinks: x = !0, withCopyright: r = !0, withSiteMap: n = !0 } = {},
439
+ ), wt = ({
440
+ renderBlocks: { withSocial: n = !0, withPhones: e = !0, withNavLinks: x = !0, withCopyright: o = !0, withSiteMap: r = !0 } = {},
441
441
  socialsLinks: i = K,
442
- phones: m = J,
443
- navigationLinks: h = Q,
442
+ phones: h = J,
443
+ navigationLinks: m = Q,
444
444
  ligal: f,
445
445
  copyright: u = q,
446
446
  classes: p
@@ -455,13 +455,13 @@ const G = j(
455
455
  children: [
456
456
  /* @__PURE__ */ t.jsxs("div", { className: d(p == null ? void 0 : p.footerSocialBlock), children: [
457
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 })
458
+ n && /* @__PURE__ */ t.jsx(X, { socialsLinks: i, classes: p == null ? void 0 : p.socialLinks })
459
459
  ] }),
460
- e && /* @__PURE__ */ t.jsx(Y, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
460
+ e && /* @__PURE__ */ t.jsx(Y, { phones: h, classes: p == null ? void 0 : p.phonesBlock })
461
461
  ]
462
462
  }
463
463
  ),
464
- x && /* @__PURE__ */ t.jsx(P, { navigationLinks: h, classes: p == null ? void 0 : p.navLinks }),
464
+ x && /* @__PURE__ */ t.jsx(P, { navigationLinks: m, classes: p == null ? void 0 : p.navLinks }),
465
465
  f && f,
466
466
  /* @__PURE__ */ t.jsxs(
467
467
  "div",
@@ -471,19 +471,19 @@ const G = j(
471
471
  p == null ? void 0 : p.footerBottom
472
472
  ),
473
473
  children: [
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 })
474
+ o && /* @__PURE__ */ t.jsx(A, { text: u, classes: p == null ? void 0 : p.copyright }),
475
+ r && /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.siteMap })
476
476
  ]
477
477
  }
478
478
  )
479
- ] }) }) }), tt = ({ classes: o, index: e, variant: x, title: r, description: n }) => {
480
- const i = x === "withTitleAndDescription" && r;
479
+ ] }) }) }), tt = ({ classes: n, index: e, variant: x, title: o, description: r }) => {
480
+ const i = x === "withTitleAndDescription" && o;
481
481
  return /* @__PURE__ */ t.jsxs(
482
482
  "div",
483
483
  {
484
484
  className: d(
485
485
  "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",
486
- o == null ? void 0 : o.singleStep
486
+ n == null ? void 0 : n.singleStep
487
487
  ),
488
488
  children: [
489
489
  /* @__PURE__ */ t.jsx(
@@ -491,34 +491,34 @@ const G = j(
491
491
  {
492
492
  className: d(
493
493
  "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",
494
- o == null ? void 0 : o.numeric
494
+ n == null ? void 0 : n.numeric
495
495
  ),
496
496
  children: e
497
497
  }
498
498
  ),
499
499
  /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2"), children: [
500
- i && /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", o == null ? void 0 : o.title), children: r }),
500
+ i && /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", n == null ? void 0 : n.title), children: o }),
501
501
  /* @__PURE__ */ t.jsx(
502
502
  "div",
503
503
  {
504
- dangerouslySetInnerHTML: { __html: n ?? "" },
505
- className: d("desk-body-regular-l text-color-tetriary", o == null ? void 0 : o.description)
504
+ dangerouslySetInnerHTML: { __html: r ?? "" },
505
+ className: d("desk-body-regular-l text-color-tetriary", n == null ? void 0 : n.description)
506
506
  }
507
507
  )
508
508
  ] })
509
509
  ]
510
510
  }
511
511
  );
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: [
513
- /* @__PURE__ */ t.jsx(a, { as: "h2", className: d("text-color-dark", r == null ? void 0 : r.headline), children: o }),
512
+ }, Nt = ({ headline: n, variant: e, stepsList: x, classes: o }) => /* @__PURE__ */ t.jsx(R, { 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: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", o == null ? void 0 : o.wrapper), children: [
513
+ /* @__PURE__ */ t.jsx(a, { as: "h2", className: d("text-color-dark", o == null ? void 0 : o.headline), children: n }),
514
514
  /* @__PURE__ */ t.jsx(
515
515
  "div",
516
516
  {
517
517
  className: d(
518
518
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
519
- r == null ? void 0 : r.stepsWrapper
519
+ o == null ? void 0 : o.stepsWrapper
520
520
  ),
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))
521
+ children: x == null ? void 0 : x.map((r, i) => /* @__PURE__ */ t.jsx(tt, { variant: e, ...r, index: i + 1, classes: o == null ? void 0 : o.step }, r.description))
522
522
  }
523
523
  )
524
524
  ] }) }) }), et = j("", {
@@ -605,26 +605,26 @@ const G = j(
605
605
  class: "desktop:h-[272px] desktop:w-[500px]"
606
606
  }
607
607
  ]
608
- }), dt = ({ data: o, intent: e }) => {
609
- const { title: x, description: r, popoverText: n } = o;
608
+ }), dt = ({ data: n, intent: e }) => {
609
+ const { title: x, description: o, popoverText: r } = n;
610
610
  return /* @__PURE__ */ t.jsx("li", { className: d(ot({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
611
611
  /* @__PURE__ */ t.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
612
612
  /* @__PURE__ */ t.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: x }),
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 })
613
+ r && /* @__PURE__ */ t.jsx(V, { triggerElement: /* @__PURE__ */ t.jsx(l, { className: d("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: r })
614
614
  ] }),
615
- /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: r })
615
+ /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: o })
616
616
  ] }) });
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 = ({
618
- title: o,
617
+ }, N = ({ intent: n, title: e, desktopHidden: x = !1, mobileHidden: o = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: d(et({ intent: n, desktopHidden: x, mobileHidden: o })), children: e }), it = ({ textContent: n, intent: e, withButton: x }) => /* @__PURE__ */ t.jsx("ul", { className: d(rt({ intent: e, withButton: x })), children: n == null ? void 0 : n.map((o, r) => /* @__PURE__ */ t.jsx(dt, { intent: e, data: o }, r)) }), yt = ({
618
+ title: n,
619
619
  buttonConfig: e,
620
620
  intent: x = "twoItems",
621
- textContent: r,
622
- imageComponent: n,
621
+ textContent: o,
622
+ imageComponent: r,
623
623
  classes: i
624
624
  }) => {
625
- const m = !!e, h = x === "fourItems", f = x === "twoItems";
625
+ const h = !!e, m = x === "fourItems", f = x === "twoItems";
626
626
  return /* @__PURE__ */ t.jsx("section", { className: d(i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsxs(k, { className: d(i == null ? void 0 : i.container), children: [
627
- f && /* @__PURE__ */ t.jsx(N, { intent: x, title: o }),
627
+ f && /* @__PURE__ */ t.jsx(N, { intent: x, title: n }),
628
628
  /* @__PURE__ */ t.jsxs(
629
629
  "div",
630
630
  {
@@ -633,17 +633,17 @@ const G = j(
633
633
  i == null ? void 0 : i.contentContainer
634
634
  ),
635
635
  children: [
636
- h && /* @__PURE__ */ t.jsx(N, { intent: x, title: o, desktopHidden: !0 }),
637
- /* @__PURE__ */ t.jsx("div", { className: d(nt({ intent: x, withButton: m }), i == null ? void 0 : i.imgContainer), children: n }),
636
+ m && /* @__PURE__ */ t.jsx(N, { intent: x, title: n, desktopHidden: !0 }),
637
+ /* @__PURE__ */ t.jsx("div", { className: d(nt({ intent: x, withButton: h }), i == null ? void 0 : i.imgContainer), children: r }),
638
638
  /* @__PURE__ */ t.jsxs(
639
639
  "div",
640
640
  {
641
641
  className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
642
642
  children: [
643
- h && /* @__PURE__ */ t.jsx(N, { intent: x, title: o, mobileHidden: !0 }),
644
- /* @__PURE__ */ t.jsx(it, { textContent: r, intent: x, withButton: m }),
645
- m && /* @__PURE__ */ t.jsx(
646
- w,
643
+ m && /* @__PURE__ */ t.jsx(N, { intent: x, title: n, mobileHidden: !0 }),
644
+ /* @__PURE__ */ t.jsx(it, { textContent: o, intent: x, withButton: h }),
645
+ h && /* @__PURE__ */ t.jsx(
646
+ g,
647
647
  {
648
648
  className: d("w-full px-4 desktop:w-max", i == null ? void 0 : i.button),
649
649
  size: "lg",
@@ -663,7 +663,7 @@ const G = j(
663
663
  ESIA: "esia",
664
664
  MOBILE_ID: "mobileId",
665
665
  COMBINE: "combine"
666
- }, W = ({ children: o, isLoading: e, classes: x, loaderProps: r }) => /* @__PURE__ */ t.jsx(
666
+ }, W = ({ children: n, isLoading: e, classes: x, loaderProps: o }) => /* @__PURE__ */ t.jsx(
667
667
  "div",
668
668
  {
669
669
  tabIndex: 0,
@@ -681,11 +681,11 @@ const G = j(
681
681
  { "items-center": e },
682
682
  x == null ? void 0 : x.wrapper
683
683
  ),
684
- children: e ? /* @__PURE__ */ t.jsx(L, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...r }) : o
684
+ children: e ? /* @__PURE__ */ t.jsx(L, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...o }) : n
685
685
  }
686
686
  )
687
687
  }
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: [
688
+ ), xt = ({ ...n }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n, children: [
689
689
  /* @__PURE__ */ t.jsx(
690
690
  "path",
691
691
  {
@@ -713,22 +713,22 @@ const G = j(
713
713
  /* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
714
714
  /* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
715
715
  ] }) })
716
- ] }), F = ({ mainLink: o, subLink: e, isMobile: x, classes: r }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col", r == null ? void 0 : r.linksWrapper), children: [
716
+ ] }), F = ({ mainLink: n, subLink: e, isMobile: x, classes: o }) => /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col", o == null ? void 0 : o.linksWrapper), children: [
717
717
  /* @__PURE__ */ t.jsx(
718
718
  "a",
719
719
  {
720
- href: o.href,
720
+ href: n.href,
721
721
  target: "_blank",
722
722
  rel: "noreferrer",
723
723
  className: d(
724
724
  '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',
725
- r == null ? void 0 : r.linksMainLink
725
+ o == null ? void 0 : o.linksMainLink
726
726
  ),
727
- children: x ? o.mobileTitle : o.title
727
+ children: x ? n.mobileTitle : n.title
728
728
  }
729
729
  ),
730
730
  (e == null ? void 0 : e.text) && (e == null ? void 0 : e.href) && /* @__PURE__ */ t.jsx(
731
- g,
731
+ w,
732
732
  {
733
733
  intent: "blue",
734
734
  withUnderline: !0,
@@ -736,19 +736,19 @@ const G = j(
736
736
  target: "_blank",
737
737
  rel: "noreferrer",
738
738
  classes: {
739
- link: d("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", r == null ? void 0 : r.linksSubLink)
739
+ link: d("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", o == null ? void 0 : o.linksSubLink)
740
740
  },
741
741
  children: e == null ? void 0 : e.text
742
742
  }
743
743
  )
744
- ] }), C = ({ mainLink: o, subLink: e, isLoading: x, badge: r, loaderProps: n, classes: i }) => {
745
- const { isMobile: m } = b();
746
- return /* @__PURE__ */ t.jsx(W, { isLoading: x, loaderProps: n, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
744
+ ] }), C = ({ mainLink: n, subLink: e, isLoading: x, badge: o, loaderProps: r, classes: i }) => {
745
+ const { isMobile: h } = b();
746
+ return /* @__PURE__ */ t.jsx(W, { isLoading: x, loaderProps: r, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
747
747
  "div",
748
748
  {
749
749
  className: d(
750
750
  "flex flex-1 items-center justify-between gap-1",
751
- { "justify-center": !r && m },
751
+ { "justify-center": !o && h },
752
752
  i == null ? void 0 : i.innerWrapper
753
753
  ),
754
754
  children: [
@@ -758,42 +758,42 @@ const G = j(
758
758
  /* @__PURE__ */ t.jsx(l, { name: "logos/megafon", className: d("relative z-[8] -ml-4 size-7 desktop:size-8", i == null ? void 0 : i.megafonLogo) }),
759
759
  /* @__PURE__ */ t.jsx(l, { name: "logos/beeline", className: d("relative z-[7] -ml-4 size-7 desktop:size-8", i == null ? void 0 : i.beelineLogo) })
760
760
  ] }),
761
- /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: i == null ? void 0 : i.links }),
761
+ /* @__PURE__ */ t.jsx(F, { mainLink: n, subLink: e, isMobile: h, classes: i == null ? void 0 : i.links }),
762
762
  /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
763
763
  ] }),
764
- r && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: r })
764
+ o && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: o })
765
765
  ]
766
766
  }
767
767
  ) });
768
- }, B = ({ mainLink: o, subLink: e, isLoading: x, badge: r, loaderProps: n, classes: i }) => {
769
- const { isMobile: m } = b();
770
- return /* @__PURE__ */ t.jsx(W, { isLoading: x, loaderProps: n, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
768
+ }, B = ({ mainLink: n, subLink: e, isLoading: x, badge: o, loaderProps: r, classes: i }) => {
769
+ const { isMobile: h } = b();
770
+ return /* @__PURE__ */ t.jsx(W, { isLoading: x, loaderProps: r, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
771
771
  "div",
772
772
  {
773
773
  className: d(
774
774
  "flex flex-1 items-center justify-between gap-1",
775
- { "justify-center": !r && m },
775
+ { "justify-center": !o && h },
776
776
  i == null ? void 0 : i.innerWrapper
777
777
  ),
778
778
  children: [
779
779
  /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
780
780
  /* @__PURE__ */ t.jsx(xt, { className: d("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
781
- /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: i == null ? void 0 : i.links }),
781
+ /* @__PURE__ */ t.jsx(F, { mainLink: n, subLink: e, isMobile: h, classes: i == null ? void 0 : i.links }),
782
782
  /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
783
783
  ] }),
784
- r && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: r })
784
+ o && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: o })
785
785
  ]
786
786
  }
787
787
  ) });
788
- }, pt = (o) => {
789
- switch (o.mode) {
788
+ }, pt = (n) => {
789
+ switch (n.mode) {
790
790
  case y.ESIA:
791
- return /* @__PURE__ */ t.jsx(B, { ...o });
791
+ return /* @__PURE__ */ t.jsx(B, { ...n });
792
792
  case y.MOBILE_ID:
793
- return /* @__PURE__ */ t.jsx(C, { ...o });
793
+ return /* @__PURE__ */ t.jsx(C, { ...n });
794
794
  case y.COMBINE:
795
795
  default:
796
- const { esiaConfig: e, mobileIdConfig: x, subtitle: r, badge: n, classes: i } = o, m = !r && !n ? O.Fragment : "div";
796
+ const { esiaConfig: e, mobileIdConfig: x, subtitle: o, badge: r, classes: i } = n, h = !o && !r ? O.Fragment : "div";
797
797
  return /* @__PURE__ */ t.jsxs(
798
798
  "div",
799
799
  {
@@ -802,9 +802,9 @@ const G = j(
802
802
  i == null ? void 0 : i.root
803
803
  ),
804
804
  children: [
805
- /* @__PURE__ */ t.jsxs(m, { className: d("flex w-full items-center justify-between gap-2", i == null ? void 0 : i.topContent), children: [
806
- r && /* @__PURE__ */ t.jsx("h5", { className: d("desk-body-regular-l flex flex-1 text-color-dark", i == null ? void 0 : i.subtitle), children: r }),
807
- n && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: n })
805
+ /* @__PURE__ */ t.jsxs(h, { className: d("flex w-full items-center justify-between gap-2", i == null ? void 0 : i.topContent), children: [
806
+ o && /* @__PURE__ */ t.jsx("h5", { className: d("desk-body-regular-l flex flex-1 text-color-dark", i == null ? void 0 : i.subtitle), children: o }),
807
+ r && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: r })
808
808
  ] }),
809
809
  /* @__PURE__ */ t.jsxs("div", { className: d("grid w-full grid-cols-2 gap-2 desktop:gap-4", i == null ? void 0 : i.authWrapper), children: [
810
810
  /* @__PURE__ */ t.jsx(
@@ -834,44 +834,45 @@ const G = j(
834
834
  }
835
835
  );
836
836
  }
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(
838
- g,
837
+ }, vt = (n) => pt(n), z = ({ links: n, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: n == null ? void 0 : n.map(({ path: x, label: o }) => /* @__PURE__ */ t.jsx(
838
+ w,
839
839
  {
840
840
  classes: {
841
841
  link: d("w-max", e == null ? void 0 : e.linkText),
842
842
  icon: d(e == null ? void 0 : e.linkIcon)
843
843
  },
844
+ intent: "dark",
844
845
  href: x,
845
- children: r
846
+ children: o
846
847
  },
847
848
  x
848
- )) }), mt = ({ groupLabel: o, links: e, mobileAccordionProps: x, classes: r }) => {
849
- var i, m, h;
850
- const { isMobile: n } = b();
851
- return /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2", r == null ? void 0 : r.columnGroup), children: [
852
- !n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
853
- /* @__PURE__ */ t.jsx("h5", { className: d("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", r == null ? void 0 : r.columnGroupHeading), children: o }),
854
- /* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "desktop")
849
+ )) }), ht = ({ groupLabel: n, links: e, mobileAccordionProps: x, classes: o }) => {
850
+ var i, h, m;
851
+ const { isMobile: r } = b();
852
+ return /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2", o == null ? void 0 : o.columnGroup), children: [
853
+ !r && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
854
+ /* @__PURE__ */ t.jsx("h5", { className: d("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", o == null ? void 0 : o.columnGroupHeading), children: n }),
855
+ /* @__PURE__ */ t.jsx(z, { links: e, classes: o == null ? void 0 : o.linksList }, "desktop")
855
856
  ] }),
856
- n && /* @__PURE__ */ t.jsx(
857
+ r && /* @__PURE__ */ t.jsx(
857
858
  _,
858
859
  {
859
860
  defaultOpen: !0,
860
- label: o,
861
+ label: n,
861
862
  icon: /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
862
863
  ...x,
863
864
  classes: {
864
865
  ...x == null ? void 0 : x.classes,
865
866
  header: {
866
- trigger: d("p-0", (m = (i = x == null ? void 0 : x.classes) == null ? void 0 : i.header) == null ? void 0 : m.trigger)
867
+ trigger: d("p-0 bg-color-blue-grey-100", (h = (i = x == null ? void 0 : x.classes) == null ? void 0 : i.header) == null ? void 0 : h.trigger)
867
868
  },
868
- contentInner: d("py-2 px-4", (h = x == null ? void 0 : x.classes) == null ? void 0 : h.contentInner)
869
+ contentInner: d("py-2 px-4", (m = x == null ? void 0 : x.classes) == null ? void 0 : m.contentInner)
869
870
  },
870
- children: /* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "mobile")
871
+ children: /* @__PURE__ */ t.jsx(z, { links: e, classes: o == null ? void 0 : o.linksList }, "mobile")
871
872
  }
872
873
  )
873
874
  ] });
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", {
875
+ }, mt = ({ column: n, 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: n == null ? void 0 : n.map((o) => /* @__PURE__ */ t.jsx(ht, { ...e, ...o, classes: x == null ? void 0 : x.columnGroup }, o.groupLabel)) }), ft = j("grid gap-4 grid-cols-1", {
875
876
  variants: {
876
877
  variant: {
877
878
  twoCols: "desktop:grid-cols-2",
@@ -883,35 +884,38 @@ const G = j(
883
884
  variant: "fourCols"
884
885
  }
885
886
  }), It = ({
886
- columns: o,
887
+ columns: n,
887
888
  variant: e,
888
889
  headline: x,
889
- mobileAccordionProps: r,
890
- rootAccordionProps: n,
890
+ mobileAccordionProps: o,
891
+ rootAccordionProps: r,
891
892
  classes: i
892
893
  }) => {
893
- var m;
894
+ var h, m, f;
894
895
  return /* @__PURE__ */ t.jsx("section", { id: "inter-linking", className: d("min-w-full desktop:min-w-[1140px]", i == null ? void 0 : i.root), children: /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx(
895
896
  _,
896
897
  {
897
898
  defaultOpen: !0,
898
899
  label: /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-left", i == null ? void 0 : i.headline), children: x }),
899
- ...n,
900
+ ...r,
900
901
  classes: {
901
- ...n == null ? void 0 : n.classes,
902
- content: d("max-w-full bg-color-blue-grey-100 relative", (m = n == null ? void 0 : n.classes) == null ? void 0 : m.content)
902
+ ...r == null ? void 0 : r.classes,
903
+ header: {
904
+ trigger: d("bg-color-blue-grey-100", (m = (h = r == null ? void 0 : r.classes) == null ? void 0 : h.header) == null ? void 0 : m.trigger)
905
+ },
906
+ content: d("max-w-full bg-color-blue-grey-100 relative", (f = r == null ? void 0 : r.classes) == null ? void 0 : f.content)
903
907
  },
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)) })
908
+ children: /* @__PURE__ */ t.jsx("div", { className: d(ft({ variant: e }), i == null ? void 0 : i.columnsWrapper), children: n == null ? void 0 : n.map((u, p) => /* @__PURE__ */ t.jsx(mt, { ...u, ...o, classes: i == null ? void 0 : i.column }, p)) })
905
909
  }
906
910
  ) }) });
907
911
  };
908
912
  export {
909
913
  H as Advantages,
910
914
  vt as AuthProvider,
911
- wt as Banner,
915
+ gt as Banner,
912
916
  I as BannerWithSeparateImg,
913
917
  jt as Benefit,
914
- gt as Footer,
918
+ wt as Footer,
915
919
  It as InterLinking,
916
920
  yt as LongBanner,
917
921
  bt as PageHeader,