@scbt-ecom/ui 0.34.3 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -1,11 +1,10 @@
1
- import { j as o, B as P, H as N, c as I, R as T, P as Pe, b as pt, I as j, C as U, S as ht, a as ct, L as mt, d as oe, A as Le } from "./CustomLink-fcD_1hIU.js";
2
- import { c as l } from "./cn-DIfn7EPB.js";
3
- import { s as xt } from "./scrollToElement-B-reg4jF.js";
4
- import { u as S } from "./useDevice-L83kSsN7.js";
5
- import { c as v, g as gt } from "./_commonjsHelpers-DaMA6jEr.js";
6
- import * as vt from "react";
7
- import He from "react";
8
- const yt = I(
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";
2
+ import { c as d } from "./cn-DIfn7EPB.js";
3
+ import { s as D } from "./scrollToElement-B-reg4jF.js";
4
+ import { u as b } from "./useDevice-L83kSsN7.js";
5
+ import O from "isomorphic-dompurify";
6
+ import * as G from "react";
7
+ const U = j(
9
8
  "flex flex-col justify-between overflow-hidden rounded-md bg-color-blue-grey-100 py-6 desktop:flex-row desktop:px-0 desktop:py-0",
10
9
  {
11
10
  variants: {
@@ -16,45 +15,45 @@ const yt = I(
16
15
  }
17
16
  }
18
17
  }
19
- ), bt = ({
20
- description: e,
21
- title: t,
22
- img: r,
23
- mobileImg: n,
24
- classes: i,
25
- withButton: a,
26
- buttonText: f,
27
- intent: p,
28
- cardColor: u
18
+ ), S = ({
19
+ description: o,
20
+ title: e,
21
+ img: x,
22
+ mobileImg: r,
23
+ classes: n,
24
+ withButton: i,
25
+ buttonText: m,
26
+ intent: h,
27
+ cardColor: f
29
28
  }) => {
30
- const { isDesktop: h } = S(), d = /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(
31
- P,
29
+ const { isDesktop: u } = b(), p = /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
30
+ w,
32
31
  {
33
32
  intent: "primary",
34
- className: l("desktop:w-[200px]", i == null ? void 0 : i.button),
35
- onClick: () => xt("personal_form"),
33
+ className: d("desktop:w-[200px]", n == null ? void 0 : n.button),
34
+ onClick: () => D("personal_form"),
36
35
  size: "lg",
37
- children: f
36
+ children: m
38
37
  }
39
38
  ) });
40
- return /* @__PURE__ */ o.jsxs(
39
+ return /* @__PURE__ */ t.jsxs(
41
40
  "li",
42
41
  {
43
- className: l(yt({ intent: p }), { "pb-0": n }, { "pb-12": !n }, u, i == null ? void 0 : i.root),
42
+ className: d(U({ intent: h }), { "pb-0": r }, { "pb-12": !r }, f, n == null ? void 0 : n.root),
44
43
  children: [
45
- /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", i == null ? void 0 : i.wrapper), children: [
46
- /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", i == null ? void 0 : i.textContainer), children: [
47
- /* @__PURE__ */ o.jsx(N, { as: "h4", className: l("desktop:desk-title-bold-s", i == null ? void 0 : i.title), children: t }),
48
- /* @__PURE__ */ o.jsx("p", { className: l("mob-body-regular-l text-icon-blue-grey-800 desktop:desk-body-regular-l", i == null ? void 0 : i.description), children: e })
44
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col items-start justify-between px-4 desktop:px-8 desktop:py-8", n == null ? void 0 : n.wrapper), children: [
45
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-4", n == null ? void 0 : n.textContainer), children: [
46
+ /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("desktop:desk-title-bold-s", n == null ? void 0 : n.title), children: e }),
47
+ /* @__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 })
49
48
  ] }),
50
- a && h && d
49
+ i && u && p
51
50
  ] }),
52
- (n || h) && r && /* @__PURE__ */ o.jsx("div", { className: l("flex w-full justify-end", i == null ? void 0 : i.imgContainer), children: /* @__PURE__ */ o.jsx("img", { className: l("h-[246px] object-cover", i == null ? void 0 : i.img), src: r, alt: t }) })
51
+ (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 }) })
53
52
  ]
54
53
  },
55
- r
54
+ x
56
55
  );
57
- }, kt = I("grid gap-4", {
56
+ }, Z = j("grid gap-4", {
58
57
  variants: {
59
58
  intent: {
60
59
  twoCards: "grid-cols-1 mobile:grid-rows-[repeat(2,400px)] desktop:grid-cols-2",
@@ -62,238 +61,238 @@ const yt = I(
62
61
  fourCards: "grid-cols-1 mobile:grid-rows-[400px,1fr,1fr,400px] desktop:grid-cols-3"
63
62
  }
64
63
  }
65
- }), nn = ({ heading: e, cards: t, classes: r, intent: n }) => /* @__PURE__ */ o.jsx("section", { className: l("pb-20", r == null ? void 0 : r.root), children: /* @__PURE__ */ o.jsxs(T, { className: r == null ? void 0 : r.container, children: [
66
- /* @__PURE__ */ o.jsx(N, { className: l("mb-8", r == null ? void 0 : r.heading), as: "h2", children: e }),
67
- /* @__PURE__ */ o.jsx("ul", { className: l(kt({ intent: n }), r == null ? void 0 : r.grid), children: t == null ? void 0 : t.map((i) => /* @__PURE__ */ o.jsx(bt, { intent: n, classes: r == null ? void 0 : r.item, ...i }, i.img)) })
68
- ] }) }), Et = (e) => {
69
- var t;
70
- switch (e.variant) {
64
+ }), wt = ({ heading: o, cards: e, classes: x, intent: r }) => /* @__PURE__ */ t.jsx("section", { className: d("pb-20", x == null ? void 0 : x.root), children: /* @__PURE__ */ t.jsxs(k, { className: x == null ? void 0 : x.container, children: [
65
+ /* @__PURE__ */ t.jsx(a, { className: d("mb-8", x == null ? void 0 : x.heading), as: "h2", children: o }),
66
+ /* @__PURE__ */ t.jsx("ul", { className: d(Z({ intent: r }), x == null ? void 0 : x.grid), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t.jsx(S, { intent: r, classes: x == null ? void 0 : x.item, ...n }, n.img)) })
67
+ ] }) }), $ = (o) => {
68
+ var e;
69
+ switch (o.variant) {
71
70
  case "withButton":
72
- return /* @__PURE__ */ o.jsx(P, { intent: "secondary", size: "sm", ...e.buttonProps, children: ((t = e.buttonProps) == null ? void 0 : t.children) || "Оформить заявку" });
71
+ return /* @__PURE__ */ t.jsx(w, { intent: "secondary", size: "sm", ...o.buttonProps, children: ((e = o.buttonProps) == null ? void 0 : e.children) || "Оформить заявку" });
73
72
  case "withPhone":
74
- return /* @__PURE__ */ o.jsx(Pe, { ...e.phoneProps });
73
+ return /* @__PURE__ */ t.jsx(M, { ...o.phoneProps });
75
74
  default:
76
75
  return null;
77
76
  }
78
- }, on = (e) => {
79
- const { logoPath: t = "/", logoType: r = "main", classes: n } = e;
80
- return /* @__PURE__ */ o.jsx("header", { className: l("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", n == null ? void 0 : n.header), children: /* @__PURE__ */ o.jsx(T, { className: l(n == null ? void 0 : n.container), children: /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center justify-between gap-5", n == null ? void 0 : n.wrapper), children: [
81
- /* @__PURE__ */ o.jsx(
77
+ }, gt = (o) => {
78
+ const { logoPath: e = "/", logoType: x = "main", classes: r } = o;
79
+ return /* @__PURE__ */ t.jsx("header", { className: d("flex h-[64px] items-center justify-center bg-color-white desktop:h-[72px]", r == null ? void 0 : r.header), children: /* @__PURE__ */ t.jsx(k, { className: d(r == null ? void 0 : r.container), children: /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center justify-between gap-5", r == null ? void 0 : r.wrapper), children: [
80
+ /* @__PURE__ */ t.jsx(
82
81
  "a",
83
82
  {
84
- href: t,
83
+ href: e,
85
84
  "aria-label": "logo",
86
85
  target: "_blank",
87
86
  rel: "noreferrer",
88
- className: l(
87
+ className: d(
89
88
  "flex items-center justify-center [&_svg]:w-[132px] desktop:[&_svg]:h-[32px] desktop:[&_svg]:w-[192px]",
90
- n == null ? void 0 : n.logo
89
+ r == null ? void 0 : r.logo
91
90
  ),
92
- children: pt[r]
91
+ children: T[x]
93
92
  }
94
93
  ),
95
- Et(e)
94
+ $(o)
96
95
  ] }) }) });
97
- }, Be = ({ buttonsConfig: e, classes: t, className: r }) => {
98
- var i;
99
- const n = (e == null ? void 0 : e.secondary) && e.secondary.children;
100
- return /* @__PURE__ */ o.jsxs(
96
+ }, E = ({ buttonsConfig: o, classes: e, className: x }) => {
97
+ var n;
98
+ const r = (o == null ? void 0 : o.secondary) && o.secondary.children;
99
+ return /* @__PURE__ */ t.jsxs(
101
100
  "div",
102
101
  {
103
102
  "data-id": "banner-buttons-group",
104
- className: l(
103
+ className: d(
105
104
  "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",
106
- { "flex items-center gap-4": n },
107
- t == null ? void 0 : t.group,
108
- r
105
+ { "flex items-center gap-4": r },
106
+ e == null ? void 0 : e.group,
107
+ x
109
108
  ),
110
109
  children: [
111
- /* @__PURE__ */ o.jsx(P, { intent: "primary", ...e.primary, isFull: !0, className: l("desktop:max-w-[216px]", t == null ? void 0 : t.primary), children: e.primary.children }),
112
- n && /* @__PURE__ */ o.jsx(
113
- P,
110
+ /* @__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 }),
111
+ r && /* @__PURE__ */ t.jsx(
112
+ w,
114
113
  {
115
114
  intent: "secondary",
116
- ...e == null ? void 0 : e.secondary,
115
+ ...o == null ? void 0 : o.secondary,
117
116
  isFull: !0,
118
- className: l("desktop:max-w-[216px]", t == null ? void 0 : t.secondary),
119
- children: (i = e == null ? void 0 : e.secondary) == null ? void 0 : i.children
117
+ className: d("desktop:max-w-[216px]", e == null ? void 0 : e.secondary),
118
+ children: (n = o == null ? void 0 : o.secondary) == null ? void 0 : n.children
120
119
  }
121
120
  )
122
121
  ]
123
122
  }
124
123
  );
125
- }, wt = ({
126
- headTitle: e,
127
- subtitle: t,
128
- buttonsConfig: r,
129
- advantagesConfig: n,
130
- classes: i,
131
- img: a,
132
- imgSets: f
124
+ }, q = ({
125
+ headTitle: o,
126
+ subtitle: e,
127
+ buttonsConfig: x,
128
+ advantagesConfig: r,
129
+ classes: n,
130
+ img: i,
131
+ imgSets: m
133
132
  }) => {
134
- var d;
135
- const { isDesktop: p, isMobile: u } = S(), h = /* @__PURE__ */ o.jsx(
133
+ var p;
134
+ const { isDesktop: h, isMobile: f } = b(), u = /* @__PURE__ */ t.jsx(
136
135
  "div",
137
136
  {
138
137
  "data-id": "banner-advantages",
139
- className: l(
138
+ className: d(
140
139
  "flex items-center justify-center pt-4 desktop:absolute desktop:bottom-[-50px] desktop:right-1/2 desktop:translate-x-1/2 desktop:pt-0",
141
- i == null ? void 0 : i.advantageContainer
140
+ n == null ? void 0 : n.advantageContainer
142
141
  ),
143
- children: (n == null ? void 0 : n.advantagesList) && ((d = n == null ? void 0 : n.advantagesList) == null ? void 0 : d.length) > 0 && /* @__PURE__ */ o.jsx(Fe, { ...n })
142
+ 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 })
144
143
  }
145
144
  );
146
- return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
147
- /* @__PURE__ */ o.jsxs("section", { "data-id": "banner-section", className: l("relative h-[552px] desktop:h-[456px]", i == null ? void 0 : i.root), children: [
148
- /* @__PURE__ */ o.jsx(
145
+ return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
146
+ /* @__PURE__ */ t.jsxs("section", { "data-id": "banner-section", className: d("relative h-[552px] desktop:h-[456px]", n == null ? void 0 : n.root), children: [
147
+ /* @__PURE__ */ t.jsx(
149
148
  "div",
150
149
  {
151
150
  "data-id": "banner-img-wrapper",
152
151
  className: "absolute bottom-0 left-0 right-0 top-0 z-[-1] mx-auto h-full max-w-[1920px] desktop:h-[456px]",
153
- children: /* @__PURE__ */ o.jsxs("picture", { children: [
154
- /* @__PURE__ */ o.jsx("source", { media: "(min-width: 1128px)", srcSet: f == null ? void 0 : f.large }),
155
- /* @__PURE__ */ o.jsx("source", { media: "(max-width: 1127px)", srcSet: f == null ? void 0 : f.mob }),
156
- /* @__PURE__ */ o.jsx(
152
+ children: /* @__PURE__ */ t.jsxs("picture", { children: [
153
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: m == null ? void 0 : m.large }),
154
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: m == null ? void 0 : m.mob }),
155
+ /* @__PURE__ */ t.jsx(
157
156
  "img",
158
157
  {
159
158
  "data-id": "banner-image",
160
- src: a,
159
+ src: i,
161
160
  alt: "Картинка баннера",
162
- className: l("h-full w-full object-cover object-center", i == null ? void 0 : i.image)
161
+ className: d("h-full w-full object-cover object-center", n == null ? void 0 : n.image)
163
162
  }
164
163
  )
165
164
  ] })
166
165
  }
167
166
  ),
168
- /* @__PURE__ */ o.jsxs(T, { "data-id": "banner-container", className: l("h-full", i == null ? void 0 : i.container), children: [
169
- /* @__PURE__ */ o.jsx("div", { "data-id": "banner", className: l("flex h-full", i == null ? void 0 : i.wrapper), children: /* @__PURE__ */ o.jsxs(
167
+ /* @__PURE__ */ t.jsxs(k, { "data-id": "banner-container", className: d("h-full", n == null ? void 0 : n.container), children: [
168
+ /* @__PURE__ */ t.jsx("div", { "data-id": "banner", className: d("flex h-full", n == null ? void 0 : n.wrapper), children: /* @__PURE__ */ t.jsxs(
170
169
  "div",
171
170
  {
172
171
  "data-id": "banner-text-block",
173
- className: l("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", i == null ? void 0 : i.textBlock),
172
+ className: d("flex w-[328px] flex-col gap-10 pt-6 desktop:w-full desktop:pt-20", n == null ? void 0 : n.textBlock),
174
173
  children: [
175
- /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col gap-4", children: [
176
- /* @__PURE__ */ o.jsx(N, { "data-id": "banner-title", as: "h1", className: l("text-color-white", i == null ? void 0 : i.title), children: e }),
177
- /* @__PURE__ */ o.jsx("p", { "data-id": "banner-subtitle", className: l("desk-body-regular-l text-color-white", i == null ? void 0 : i.subtitle), children: t })
174
+ /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
175
+ /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-white", n == null ? void 0 : n.title), children: o }),
176
+ /* @__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 })
178
177
  ] }),
179
- /* @__PURE__ */ o.jsx(
180
- Be,
178
+ /* @__PURE__ */ t.jsx(
179
+ E,
181
180
  {
182
181
  className: "self-end desktop:self-center",
183
182
  "data-id": "banner-buttons-group",
184
- buttonsConfig: r,
185
- classes: i
183
+ buttonsConfig: x,
184
+ classes: n
186
185
  }
187
186
  )
188
187
  ]
189
188
  }
190
189
  ) }),
191
- p && h
190
+ h && u
192
191
  ] })
193
192
  ] }),
194
- u && h
193
+ f && u
195
194
  ] });
196
- }, ye = ({
197
- headTitle: e,
198
- subtitle: t,
199
- buttonsConfig: r,
200
- advantagesConfig: n,
201
- classes: i,
202
- img: a,
203
- imgSets: f
195
+ }, I = ({
196
+ headTitle: o,
197
+ subtitle: e,
198
+ buttonsConfig: x,
199
+ advantagesConfig: r,
200
+ classes: n,
201
+ img: i,
202
+ imgSets: m
204
203
  }) => {
205
- var d;
206
- const { isDesktop: p, isMobile: u } = S(), h = /* @__PURE__ */ o.jsx(
204
+ var p;
205
+ const { isDesktop: h, isMobile: f } = b(), u = /* @__PURE__ */ t.jsx(
207
206
  "div",
208
207
  {
209
208
  "data-id": "banner-advantages",
210
- className: l(
209
+ className: d(
211
210
  "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",
212
- i == null ? void 0 : i.advantageContainer
211
+ n == null ? void 0 : n.advantageContainer
213
212
  ),
214
- children: (n == null ? void 0 : n.advantagesList) && ((d = n == null ? void 0 : n.advantagesList) == null ? void 0 : d.length) > 0 && /* @__PURE__ */ o.jsx(Fe, { ...n })
213
+ 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 })
215
214
  }
216
215
  );
217
- return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
218
- /* @__PURE__ */ o.jsx("section", { "data-id": "banner-section", className: l("bg-banner-skyblue-300 desktop:h-[456px]", i == null ? void 0 : i.root), children: /* @__PURE__ */ o.jsxs(T, { "data-id": "banner-container", className: l("relative", i == null ? void 0 : i.container), children: [
219
- /* @__PURE__ */ o.jsxs("div", { "data-id": "banner", className: l("flex flex-col desktop:flex-row desktop:justify-between", i == null ? void 0 : i.wrapper), children: [
220
- /* @__PURE__ */ o.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
221
- /* @__PURE__ */ o.jsxs("div", { "data-id": "banner-text-block", className: l("flex flex-col gap-4 pt-6 desktop:pt-0", i == null ? void 0 : i.textBlock), children: [
222
- /* @__PURE__ */ o.jsx(N, { "data-id": "banner-title", as: "h1", className: l("text-color-dark", i == null ? void 0 : i.title), children: e }),
223
- /* @__PURE__ */ o.jsx("p", { "data-id": "banner-subtitle", className: l("desk-body-regular-l text-color-dark", i == null ? void 0 : i.subtitle), children: t })
216
+ return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
217
+ /* @__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: [
218
+ /* @__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: [
219
+ /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col desktop:gap-10 desktop:pt-20", children: [
220
+ /* @__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: [
221
+ /* @__PURE__ */ t.jsx(a, { "data-id": "banner-title", as: "h1", className: d("text-color-dark", n == null ? void 0 : n.title), children: o }),
222
+ /* @__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 })
224
223
  ] }),
225
- /* @__PURE__ */ o.jsx(Be, { buttonsConfig: r, classes: i })
224
+ /* @__PURE__ */ t.jsx(E, { buttonsConfig: x, classes: n })
226
225
  ] }),
227
- /* @__PURE__ */ o.jsx(
226
+ /* @__PURE__ */ t.jsx(
228
227
  "div",
229
228
  {
230
229
  "data-id": "banner-image-wrapper",
231
- className: l("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", i == null ? void 0 : i.imageContainer),
232
- children: /* @__PURE__ */ o.jsxs("picture", { children: [
233
- /* @__PURE__ */ o.jsx("source", { media: "(min-width: 1128px)", srcSet: f == null ? void 0 : f.large }),
234
- /* @__PURE__ */ o.jsx("source", { media: "(max-width: 1127px)", srcSet: f == null ? void 0 : f.mob }),
235
- /* @__PURE__ */ o.jsx(
230
+ className: d("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
231
+ children: /* @__PURE__ */ t.jsxs("picture", { children: [
232
+ /* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: m == null ? void 0 : m.large }),
233
+ /* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: m == null ? void 0 : m.mob }),
234
+ /* @__PURE__ */ t.jsx(
236
235
  "img",
237
236
  {
238
237
  "data-id": "banner-image",
239
- src: a,
238
+ src: i,
240
239
  alt: "Картинка баннера",
241
- className: l("h-full object-cover", i == null ? void 0 : i.image)
240
+ className: d("h-full object-cover", n == null ? void 0 : n.image)
242
241
  }
243
242
  )
244
243
  ] })
245
244
  }
246
245
  )
247
246
  ] }),
248
- p && h
247
+ h && u
249
248
  ] }) }),
250
- u && h
249
+ f && u
251
250
  ] });
252
- }, an = ({ bannerVariant: e, ...t }) => {
253
- switch (e) {
251
+ }, Nt = ({ bannerVariant: o, ...e }) => {
252
+ switch (o) {
254
253
  case "separateImg":
255
- return /* @__PURE__ */ o.jsx(ye, { ...t });
254
+ return /* @__PURE__ */ t.jsx(I, { ...e });
256
255
  case "fullImg":
257
- return /* @__PURE__ */ o.jsx(wt, { ...t });
256
+ return /* @__PURE__ */ t.jsx(q, { ...e });
258
257
  default:
259
- return /* @__PURE__ */ o.jsx(ye, { ...t });
258
+ return /* @__PURE__ */ t.jsx(I, { ...e });
260
259
  }
261
- }, Fe = ({ variant: e, advantagesList: t, classes: r }) => /* @__PURE__ */ o.jsx(
260
+ }, H = ({ variant: o, advantagesList: e, classes: x }) => /* @__PURE__ */ t.jsx(
262
261
  "div",
263
262
  {
264
- className: l(
263
+ className: d(
265
264
  "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]": e === "threeCards" },
267
- { "desktop:max-w-[1140px]": e === "fourCards" },
268
- r == null ? void 0 : r.root
265
+ { "desktop:max-w-[860px]": o === "threeCards" },
266
+ { "desktop:max-w-[1140px]": o === "fourCards" },
267
+ x == null ? void 0 : x.root
269
268
  ),
270
- children: t == null ? void 0 : t.map(({ title: n, description: i }) => /* @__PURE__ */ o.jsxs(
269
+ children: e == null ? void 0 : e.map(({ title: r, description: n }) => /* @__PURE__ */ t.jsxs(
271
270
  "div",
272
271
  {
273
- className: l(
272
+ className: d(
274
273
  '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
- r == null ? void 0 : r.item
274
+ x == null ? void 0 : x.item
276
275
  ),
277
276
  children: [
278
- /* @__PURE__ */ o.jsx(N, { as: "h4", className: l("text-color-dark", r == null ? void 0 : r.title), children: n }),
279
- /* @__PURE__ */ o.jsx("p", { className: l("desk-body-regular-l text-color-secondary", r == null ? void 0 : r.description), children: i })
277
+ /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", x == null ? void 0 : x.title), children: r }),
278
+ /* @__PURE__ */ t.jsx("p", { className: d("desk-body-regular-l text-color-secondary", x == null ? void 0 : x.description), children: n })
280
279
  ]
281
280
  },
282
- n
281
+ r
283
282
  ))
284
283
  }
285
- ), jt = /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
284
+ ), J = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
286
285
  "© 2004-2024, ПАО «Совкомбанк». Все права защищены. ",
287
- /* @__PURE__ */ o.jsx("br", { className: "mobile:hidden" }),
286
+ /* @__PURE__ */ t.jsx("br", { className: "mobile:hidden" }),
288
287
  " Генеральная лицензия Банка России №963 от 5 декабря 2014 г."
289
- ] }), _t = [
288
+ ] }), K = [
290
289
  { phone: "8 800 100-00-06", text: "Звонок по России (бесплатно)" },
291
290
  { phone: "+7 (495) 988 00 00", text: "Для звонков из-за рубежа (платно)" }
292
- ], Nt = [
291
+ ], Q = [
293
292
  { iconName: "social/vk", href: "https://vk.com/sovcombank" },
294
293
  { iconName: "social/telegram", href: "https://t.me/sovcombankofficial" },
295
294
  { iconName: "social/classmates", href: "https://ok.ru/paosovcombank" }
296
- ], Tt = [
295
+ ], X = [
297
296
  {
298
297
  groupLabel: "Совкомбанк",
299
298
  links: [
@@ -370,62 +369,62 @@ const yt = I(
370
369
  { text: "Офисы и банкоматы", href: "/" }
371
370
  ]
372
371
  }
373
- ], st = ({ socialsLinks: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("mt-4 flex items-center gap-2 desktop:mt-6", t == null ? void 0 : t.socialRoot), children: e == null ? void 0 : e.map(({ iconName: r, href: n }) => /* @__PURE__ */ o.jsx(
372
+ ], Y = ({ socialsLinks: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("mt-4 flex items-center gap-2 desktop:mt-6", e == null ? void 0 : e.socialRoot), children: o == null ? void 0 : o.map(({ iconName: x, href: r }) => /* @__PURE__ */ t.jsx(
374
373
  "a",
375
374
  {
376
- className: l("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", t == null ? void 0 : t.socialLink),
377
- href: n,
378
- "aria-label": r.replace("social/", ""),
379
- children: /* @__PURE__ */ o.jsx(j, { name: r, className: l("h-full w-full text-icon-white", t == null ? void 0 : t.socialIcon) })
375
+ className: d("flex size-8 items-center justify-center rounded-full bg-[#52576a] p-2", e == null ? void 0 : e.socialLink),
376
+ href: r,
377
+ "aria-label": x.replace("social/", ""),
378
+ children: /* @__PURE__ */ t.jsx(l, { name: x, className: d("h-full w-full text-icon-white", e == null ? void 0 : e.socialIcon) })
380
379
  },
381
- n
382
- )) }), Ct = ({ phones: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4 desktop:items-end", t == null ? void 0 : t.phonesRoot), children: e == null ? void 0 : e.map(({ phone: r, text: n }) => /* @__PURE__ */ o.jsx(
383
- Pe,
380
+ r
381
+ )) }), P = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:items-end", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: x, text: r }) => /* @__PURE__ */ t.jsx(
382
+ M,
384
383
  {
385
- phone: r,
386
- text: n,
384
+ phone: x,
385
+ text: r,
387
386
  classes: {
388
- wrapper: l(t == null ? void 0 : t.phoneWrapper),
389
- text: l("text-color-footer", t == null ? void 0 : t.phoneText),
390
- link: l("text-color-white mobile:m-0", t == null ? void 0 : t.phoneLink)
387
+ wrapper: d(e == null ? void 0 : e.phoneWrapper),
388
+ text: d("text-color-footer", e == null ? void 0 : e.phoneText),
389
+ link: d("text-color-white mobile:m-0", e == null ? void 0 : e.phoneLink)
391
390
  }
392
391
  },
393
- r
394
- )) }), Rt = ({ navigationLinks: e, classes: t }) => /* @__PURE__ */ o.jsx(
392
+ x
393
+ )) }), A = ({ navigationLinks: o, classes: e }) => /* @__PURE__ */ t.jsx(
395
394
  "div",
396
395
  {
397
- className: l(
396
+ className: d(
398
397
  "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",
399
- t == null ? void 0 : t.navRoot
398
+ e == null ? void 0 : e.navRoot
400
399
  ),
401
- children: e == null ? void 0 : e.map(({ groupLabel: r, links: n }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-4", t == null ? void 0 : t.navGroup), children: [
402
- /* @__PURE__ */ o.jsx("div", { className: l("desk-body-medium-l text-color-white", t == null ? void 0 : t.navLabel), children: r }),
403
- /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-1", t == null ? void 0 : t.navLinks), children: n == null ? void 0 : n.map(({ text: i, href: a }) => /* @__PURE__ */ o.jsx(
404
- U,
400
+ 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: [
401
+ /* @__PURE__ */ t.jsx("div", { className: d("desk-body-medium-l text-color-white", e == null ? void 0 : e.navLabel), children: x }),
402
+ /* @__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(
403
+ g,
405
404
  {
406
- href: a,
407
- "aria-label": i,
405
+ href: i,
406
+ "aria-label": n,
408
407
  intent: "white",
409
408
  classes: {
410
- link: t == null ? void 0 : t.navLink,
411
- icon: t == null ? void 0 : t.navLinkIcon
409
+ link: e == null ? void 0 : e.navLink,
410
+ icon: e == null ? void 0 : e.navLinkIcon
412
411
  },
413
- children: i
412
+ children: n
414
413
  },
415
- i
414
+ n
416
415
  )) })
417
- ] }, r))
416
+ ] }, x))
418
417
  }
419
- ), It = ({ text: e, classes: t }) => /* @__PURE__ */ o.jsx("div", { className: l("desk-body-regular-m text-color-footer", t == null ? void 0 : t.copyRight), children: e }), Ot = ({ classes: e }) => /* @__PURE__ */ o.jsx(
418
+ ), c = ({ text: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: d("desk-body-regular-m text-color-footer", e == null ? void 0 : e.copyRight), children: o }), s = ({ classes: o }) => /* @__PURE__ */ t.jsx(
420
419
  "a",
421
420
  {
422
421
  "aria-label": "logo",
423
422
  href: "https://sovcombank.ru/",
424
- className: l("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", e == null ? void 0 : e.footerLogo),
425
- children: /* @__PURE__ */ o.jsx(j, { name: "brandLogos/logoWhite", className: l("size-full", e == null ? void 0 : e.footerLogoIcon) })
423
+ className: d("block h-[24px] w-[132px] desktop:h-[32px] desktop:w-[194px]", o == null ? void 0 : o.footerLogo),
424
+ children: /* @__PURE__ */ t.jsx(l, { name: "brandLogos/logoWhite", className: d("size-full", o == null ? void 0 : o.footerLogoIcon) })
426
425
  }
427
- ), St = ({ classes: e }) => /* @__PURE__ */ o.jsx(
428
- U,
426
+ ), tt = ({ classes: o }) => /* @__PURE__ */ t.jsx(
427
+ g,
429
428
  {
430
429
  intent: "white",
431
430
  href: "https://sovcombank.ru/site-map",
@@ -433,1915 +432,97 @@ const yt = I(
433
432
  "aria-label": "site-map",
434
433
  rel: "noreferrer",
435
434
  classes: {
436
- link: l("mobile:mt-6", e == null ? void 0 : e.siteMapLink),
437
- icon: e == null ? void 0 : e.siteMapLinkIcon
435
+ link: d("mobile:mt-6", o == null ? void 0 : o.siteMapLink),
436
+ icon: o == null ? void 0 : o.siteMapLinkIcon
438
437
  },
439
438
  children: "Карта сайта"
440
439
  }
441
- ), ln = ({
442
- renderBlocks: { withSocial: e = !0, withPhones: t = !0, withNavLinks: r = !0, withCopyright: n = !0, withSiteMap: i = !0 } = {},
443
- socialsLinks: a = Nt,
444
- phones: f = _t,
445
- navigationLinks: p = Tt,
446
- ligal: u,
447
- copyright: h = jt,
448
- classes: d
449
- }) => /* @__PURE__ */ o.jsx("footer", { className: l("w-full bg-color-footer py-8 desktop:py-10", d == null ? void 0 : d.root), children: /* @__PURE__ */ o.jsx(T, { className: l(d == null ? void 0 : d.footerContainer), children: /* @__PURE__ */ o.jsxs("div", { className: l("mobile:pb-[176px]", d == null ? void 0 : d.footerWrapper), children: [
450
- /* @__PURE__ */ o.jsxs(
440
+ ), yt = ({
441
+ renderBlocks: { withSocial: o = !0, withPhones: e = !0, withNavLinks: x = !0, withCopyright: r = !0, withSiteMap: n = !0 } = {},
442
+ socialsLinks: i = Q,
443
+ phones: m = K,
444
+ navigationLinks: h = X,
445
+ ligal: f,
446
+ copyright: u = J,
447
+ classes: p
448
+ }) => /* @__PURE__ */ t.jsx("footer", { className: d("w-full bg-color-footer py-8 desktop:py-10", p == null ? void 0 : p.root), children: /* @__PURE__ */ t.jsx(k, { className: d(p == null ? void 0 : p.footerContainer), children: /* @__PURE__ */ t.jsxs("div", { className: d("mobile:pb-[176px]", p == null ? void 0 : p.footerWrapper), children: [
449
+ /* @__PURE__ */ t.jsxs(
451
450
  "div",
452
451
  {
453
- className: l(
452
+ className: d(
454
453
  "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",
455
- d == null ? void 0 : d.footerHead
454
+ p == null ? void 0 : p.footerHead
456
455
  ),
457
456
  children: [
458
- /* @__PURE__ */ o.jsxs("div", { className: l(d == null ? void 0 : d.footerSocialBlock), children: [
459
- /* @__PURE__ */ o.jsx(Ot, { classes: d == null ? void 0 : d.footerLogo }),
460
- e && /* @__PURE__ */ o.jsx(st, { socialsLinks: a, classes: d == null ? void 0 : d.socialLinks })
457
+ /* @__PURE__ */ t.jsxs("div", { className: d(p == null ? void 0 : p.footerSocialBlock), children: [
458
+ /* @__PURE__ */ t.jsx(s, { classes: p == null ? void 0 : p.footerLogo }),
459
+ o && /* @__PURE__ */ t.jsx(Y, { socialsLinks: i, classes: p == null ? void 0 : p.socialLinks })
461
460
  ] }),
462
- t && /* @__PURE__ */ o.jsx(Ct, { phones: f, classes: d == null ? void 0 : d.phonesBlock })
461
+ e && /* @__PURE__ */ t.jsx(P, { phones: m, classes: p == null ? void 0 : p.phonesBlock })
463
462
  ]
464
463
  }
465
464
  ),
466
- r && /* @__PURE__ */ o.jsx(Rt, { navigationLinks: p, classes: d == null ? void 0 : d.navLinks }),
467
- u && u,
468
- /* @__PURE__ */ o.jsxs(
465
+ x && /* @__PURE__ */ t.jsx(A, { navigationLinks: h, classes: p == null ? void 0 : p.navLinks }),
466
+ f && f,
467
+ /* @__PURE__ */ t.jsxs(
469
468
  "div",
470
469
  {
471
- className: l(
470
+ className: d(
472
471
  "mt-6 flex flex-col-reverse items-start justify-between gap-4 desktop:mt-8 desktop:flex-row desktop:gap-6",
473
- d == null ? void 0 : d.footerBottom
472
+ p == null ? void 0 : p.footerBottom
474
473
  ),
475
474
  children: [
476
- n && /* @__PURE__ */ o.jsx(It, { text: h, classes: d == null ? void 0 : d.copyright }),
477
- i && /* @__PURE__ */ o.jsx(St, { classes: d == null ? void 0 : d.siteMap })
475
+ r && /* @__PURE__ */ t.jsx(c, { text: u, classes: p == null ? void 0 : p.copyright }),
476
+ n && /* @__PURE__ */ t.jsx(tt, { classes: p == null ? void 0 : p.siteMap })
478
477
  ]
479
478
  }
480
479
  )
481
- ] }) }) });
482
- var Ge = {}, ae = {}, le = {}, O = {}, de = {}, ue = {};
483
- (function(e) {
484
- Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
485
- var t;
486
- (function(n) {
487
- n.Root = "root", n.Text = "text", n.Directive = "directive", n.Comment = "comment", n.Script = "script", n.Style = "style", n.Tag = "tag", n.CDATA = "cdata", n.Doctype = "doctype";
488
- })(t = e.ElementType || (e.ElementType = {}));
489
- function r(n) {
490
- return n.type === t.Tag || n.type === t.Script || n.type === t.Style;
491
- }
492
- e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
493
- })(ue);
494
- var x = {}, s = v && v.__extends || /* @__PURE__ */ function() {
495
- var e = function(t, r) {
496
- return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
497
- n.__proto__ = i;
498
- } || function(n, i) {
499
- for (var a in i) Object.prototype.hasOwnProperty.call(i, a) && (n[a] = i[a]);
500
- }, e(t, r);
501
- };
502
- return function(t, r) {
503
- if (typeof r != "function" && r !== null)
504
- throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
505
- e(t, r);
506
- function n() {
507
- this.constructor = t;
508
- }
509
- t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
510
- };
511
- }(), M = v && v.__assign || function() {
512
- return M = Object.assign || function(e) {
513
- for (var t, r = 1, n = arguments.length; r < n; r++) {
514
- t = arguments[r];
515
- for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
516
- }
517
- return e;
518
- }, M.apply(this, arguments);
519
- };
520
- Object.defineProperty(x, "__esModule", { value: !0 });
521
- x.cloneNode = x.hasChildren = x.isDocument = x.isDirective = x.isComment = x.isText = x.isCDATA = x.isTag = x.Element = x.Document = x.CDATA = x.NodeWithChildren = x.ProcessingInstruction = x.Comment = x.Text = x.DataNode = x.Node = void 0;
522
- var E = ue, fe = (
523
- /** @class */
524
- function() {
525
- function e() {
526
- this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
527
- }
528
- return Object.defineProperty(e.prototype, "parentNode", {
529
- // Read-write aliases for properties
530
- /**
531
- * Same as {@link parent}.
532
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
533
- */
534
- get: function() {
535
- return this.parent;
536
- },
537
- set: function(t) {
538
- this.parent = t;
539
- },
540
- enumerable: !1,
541
- configurable: !0
542
- }), Object.defineProperty(e.prototype, "previousSibling", {
543
- /**
544
- * Same as {@link prev}.
545
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
546
- */
547
- get: function() {
548
- return this.prev;
549
- },
550
- set: function(t) {
551
- this.prev = t;
552
- },
553
- enumerable: !1,
554
- configurable: !0
555
- }), Object.defineProperty(e.prototype, "nextSibling", {
556
- /**
557
- * Same as {@link next}.
558
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
559
- */
560
- get: function() {
561
- return this.next;
562
- },
563
- set: function(t) {
564
- this.next = t;
565
- },
566
- enumerable: !1,
567
- configurable: !0
568
- }), e.prototype.cloneNode = function(t) {
569
- return t === void 0 && (t = !1), pe(this, t);
570
- }, e;
571
- }()
572
- );
573
- x.Node = fe;
574
- var X = (
575
- /** @class */
576
- function(e) {
577
- s(t, e);
578
- function t(r) {
579
- var n = e.call(this) || this;
580
- return n.data = r, n;
581
- }
582
- return Object.defineProperty(t.prototype, "nodeValue", {
583
- /**
584
- * Same as {@link data}.
585
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
586
- */
587
- get: function() {
588
- return this.data;
589
- },
590
- set: function(r) {
591
- this.data = r;
592
- },
593
- enumerable: !1,
594
- configurable: !0
595
- }), t;
596
- }(fe)
597
- );
598
- x.DataNode = X;
599
- var ze = (
600
- /** @class */
601
- function(e) {
602
- s(t, e);
603
- function t() {
604
- var r = e !== null && e.apply(this, arguments) || this;
605
- return r.type = E.ElementType.Text, r;
606
- }
607
- return Object.defineProperty(t.prototype, "nodeType", {
608
- get: function() {
609
- return 3;
610
- },
611
- enumerable: !1,
612
- configurable: !0
613
- }), t;
614
- }(X)
615
- );
616
- x.Text = ze;
617
- var Ve = (
618
- /** @class */
619
- function(e) {
620
- s(t, e);
621
- function t() {
622
- var r = e !== null && e.apply(this, arguments) || this;
623
- return r.type = E.ElementType.Comment, r;
624
- }
625
- return Object.defineProperty(t.prototype, "nodeType", {
626
- get: function() {
627
- return 8;
628
- },
629
- enumerable: !1,
630
- configurable: !0
631
- }), t;
632
- }(X)
633
- );
634
- x.Comment = Ve;
635
- var Ue = (
636
- /** @class */
637
- function(e) {
638
- s(t, e);
639
- function t(r, n) {
640
- var i = e.call(this, n) || this;
641
- return i.name = r, i.type = E.ElementType.Directive, i;
642
- }
643
- return Object.defineProperty(t.prototype, "nodeType", {
644
- get: function() {
645
- return 1;
646
- },
647
- enumerable: !1,
648
- configurable: !0
649
- }), t;
650
- }(X)
651
- );
652
- x.ProcessingInstruction = Ue;
653
- var W = (
654
- /** @class */
655
- function(e) {
656
- s(t, e);
657
- function t(r) {
658
- var n = e.call(this) || this;
659
- return n.children = r, n;
660
- }
661
- return Object.defineProperty(t.prototype, "firstChild", {
662
- // Aliases
663
- /** First child of the node. */
664
- get: function() {
665
- var r;
666
- return (r = this.children[0]) !== null && r !== void 0 ? r : null;
667
- },
668
- enumerable: !1,
669
- configurable: !0
670
- }), Object.defineProperty(t.prototype, "lastChild", {
671
- /** Last child of the node. */
672
- get: function() {
673
- return this.children.length > 0 ? this.children[this.children.length - 1] : null;
674
- },
675
- enumerable: !1,
676
- configurable: !0
677
- }), Object.defineProperty(t.prototype, "childNodes", {
678
- /**
679
- * Same as {@link children}.
680
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
681
- */
682
- get: function() {
683
- return this.children;
684
- },
685
- set: function(r) {
686
- this.children = r;
687
- },
688
- enumerable: !1,
689
- configurable: !0
690
- }), t;
691
- }(fe)
692
- );
693
- x.NodeWithChildren = W;
694
- var Xe = (
695
- /** @class */
696
- function(e) {
697
- s(t, e);
698
- function t() {
699
- var r = e !== null && e.apply(this, arguments) || this;
700
- return r.type = E.ElementType.CDATA, r;
701
- }
702
- return Object.defineProperty(t.prototype, "nodeType", {
703
- get: function() {
704
- return 4;
705
- },
706
- enumerable: !1,
707
- configurable: !0
708
- }), t;
709
- }(W)
710
- );
711
- x.CDATA = Xe;
712
- var We = (
713
- /** @class */
714
- function(e) {
715
- s(t, e);
716
- function t() {
717
- var r = e !== null && e.apply(this, arguments) || this;
718
- return r.type = E.ElementType.Root, r;
719
- }
720
- return Object.defineProperty(t.prototype, "nodeType", {
721
- get: function() {
722
- return 9;
723
- },
724
- enumerable: !1,
725
- configurable: !0
726
- }), t;
727
- }(W)
728
- );
729
- x.Document = We;
730
- var $e = (
731
- /** @class */
732
- function(e) {
733
- s(t, e);
734
- function t(r, n, i, a) {
735
- i === void 0 && (i = []), a === void 0 && (a = r === "script" ? E.ElementType.Script : r === "style" ? E.ElementType.Style : E.ElementType.Tag);
736
- var f = e.call(this, i) || this;
737
- return f.name = r, f.attribs = n, f.type = a, f;
738
- }
739
- return Object.defineProperty(t.prototype, "nodeType", {
740
- get: function() {
741
- return 1;
742
- },
743
- enumerable: !1,
744
- configurable: !0
745
- }), Object.defineProperty(t.prototype, "tagName", {
746
- // DOM Level 1 aliases
747
- /**
748
- * Same as {@link name}.
749
- * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
750
- */
751
- get: function() {
752
- return this.name;
753
- },
754
- set: function(r) {
755
- this.name = r;
756
- },
757
- enumerable: !1,
758
- configurable: !0
759
- }), Object.defineProperty(t.prototype, "attributes", {
760
- get: function() {
761
- var r = this;
762
- return Object.keys(this.attribs).map(function(n) {
763
- var i, a;
764
- return {
765
- name: n,
766
- value: r.attribs[n],
767
- namespace: (i = r["x-attribsNamespace"]) === null || i === void 0 ? void 0 : i[n],
768
- prefix: (a = r["x-attribsPrefix"]) === null || a === void 0 ? void 0 : a[n]
769
- };
770
- });
771
- },
772
- enumerable: !1,
773
- configurable: !0
774
- }), t;
775
- }(W)
776
- );
777
- x.Element = $e;
778
- function qe(e) {
779
- return (0, E.isTag)(e);
780
- }
781
- x.isTag = qe;
782
- function Ye(e) {
783
- return e.type === E.ElementType.CDATA;
784
- }
785
- x.isCDATA = Ye;
786
- function Ze(e) {
787
- return e.type === E.ElementType.Text;
788
- }
789
- x.isText = Ze;
790
- function Ke(e) {
791
- return e.type === E.ElementType.Comment;
792
- }
793
- x.isComment = Ke;
794
- function Je(e) {
795
- return e.type === E.ElementType.Directive;
796
- }
797
- x.isDirective = Je;
798
- function Qe(e) {
799
- return e.type === E.ElementType.Root;
800
- }
801
- x.isDocument = Qe;
802
- function At(e) {
803
- return Object.prototype.hasOwnProperty.call(e, "children");
804
- }
805
- x.hasChildren = At;
806
- function pe(e, t) {
807
- t === void 0 && (t = !1);
808
- var r;
809
- if (Ze(e))
810
- r = new ze(e.data);
811
- else if (Ke(e))
812
- r = new Ve(e.data);
813
- else if (qe(e)) {
814
- var n = t ? J(e.children) : [], i = new $e(e.name, M({}, e.attribs), n);
815
- n.forEach(function(u) {
816
- return u.parent = i;
817
- }), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = M({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = M({}, e["x-attribsPrefix"])), r = i;
818
- } else if (Ye(e)) {
819
- var n = t ? J(e.children) : [], a = new Xe(n);
820
- n.forEach(function(h) {
821
- return h.parent = a;
822
- }), r = a;
823
- } else if (Qe(e)) {
824
- var n = t ? J(e.children) : [], f = new We(n);
825
- n.forEach(function(h) {
826
- return h.parent = f;
827
- }), e["x-mode"] && (f["x-mode"] = e["x-mode"]), r = f;
828
- } else if (Je(e)) {
829
- var p = new Ue(e.name, e.data);
830
- e["x-name"] != null && (p["x-name"] = e["x-name"], p["x-publicId"] = e["x-publicId"], p["x-systemId"] = e["x-systemId"]), r = p;
831
- } else
832
- throw new Error("Not implemented yet: ".concat(e.type));
833
- return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
834
- }
835
- x.cloneNode = pe;
836
- function J(e) {
837
- for (var t = e.map(function(n) {
838
- return pe(n, !0);
839
- }), r = 1; r < t.length; r++)
840
- t[r].prev = t[r - 1], t[r - 1].next = t[r];
841
- return t;
842
- }
843
- (function(e) {
844
- var t = v && v.__createBinding || (Object.create ? function(p, u, h, d) {
845
- d === void 0 && (d = h);
846
- var m = Object.getOwnPropertyDescriptor(u, h);
847
- (!m || ("get" in m ? !u.__esModule : m.writable || m.configurable)) && (m = { enumerable: !0, get: function() {
848
- return u[h];
849
- } }), Object.defineProperty(p, d, m);
850
- } : function(p, u, h, d) {
851
- d === void 0 && (d = h), p[d] = u[h];
852
- }), r = v && v.__exportStar || function(p, u) {
853
- for (var h in p) h !== "default" && !Object.prototype.hasOwnProperty.call(u, h) && t(u, p, h);
854
- };
855
- Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
856
- var n = ue, i = x;
857
- r(x, e);
858
- var a = {
859
- withStartIndices: !1,
860
- withEndIndices: !1,
861
- xmlMode: !1
862
- }, f = (
863
- /** @class */
864
- function() {
865
- function p(u, h, d) {
866
- this.dom = [], this.root = new i.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof h == "function" && (d = h, h = a), typeof u == "object" && (h = u, u = void 0), this.callback = u ?? null, this.options = h ?? a, this.elementCB = d ?? null;
867
- }
868
- return p.prototype.onparserinit = function(u) {
869
- this.parser = u;
870
- }, p.prototype.onreset = function() {
871
- this.dom = [], this.root = new i.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
872
- }, p.prototype.onend = function() {
873
- this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
874
- }, p.prototype.onerror = function(u) {
875
- this.handleCallback(u);
876
- }, p.prototype.onclosetag = function() {
877
- this.lastNode = null;
878
- var u = this.tagStack.pop();
879
- this.options.withEndIndices && (u.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(u);
880
- }, p.prototype.onopentag = function(u, h) {
881
- var d = this.options.xmlMode ? n.ElementType.Tag : void 0, m = new i.Element(u, h, void 0, d);
882
- this.addNode(m), this.tagStack.push(m);
883
- }, p.prototype.ontext = function(u) {
884
- var h = this.lastNode;
885
- if (h && h.type === n.ElementType.Text)
886
- h.data += u, this.options.withEndIndices && (h.endIndex = this.parser.endIndex);
887
- else {
888
- var d = new i.Text(u);
889
- this.addNode(d), this.lastNode = d;
890
- }
891
- }, p.prototype.oncomment = function(u) {
892
- if (this.lastNode && this.lastNode.type === n.ElementType.Comment) {
893
- this.lastNode.data += u;
894
- return;
895
- }
896
- var h = new i.Comment(u);
897
- this.addNode(h), this.lastNode = h;
898
- }, p.prototype.oncommentend = function() {
899
- this.lastNode = null;
900
- }, p.prototype.oncdatastart = function() {
901
- var u = new i.Text(""), h = new i.CDATA([u]);
902
- this.addNode(h), u.parent = h, this.lastNode = u;
903
- }, p.prototype.oncdataend = function() {
904
- this.lastNode = null;
905
- }, p.prototype.onprocessinginstruction = function(u, h) {
906
- var d = new i.ProcessingInstruction(u, h);
907
- this.addNode(d);
908
- }, p.prototype.handleCallback = function(u) {
909
- if (typeof this.callback == "function")
910
- this.callback(u, this.dom);
911
- else if (u)
912
- throw u;
913
- }, p.prototype.addNode = function(u) {
914
- var h = this.tagStack[this.tagStack.length - 1], d = h.children[h.children.length - 1];
915
- this.options.withStartIndices && (u.startIndex = this.parser.startIndex), this.options.withEndIndices && (u.endIndex = this.parser.endIndex), h.children.push(u), d && (u.prev = d, d.next = u), u.parent = h, this.lastNode = null;
916
- }, p;
917
- }()
918
- );
919
- e.DomHandler = f, e.default = f;
920
- })(de);
921
- var et = {};
922
- (function(e) {
923
- Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
924
- "animateMotion",
925
- "animateTransform",
926
- "clipPath",
927
- "feBlend",
928
- "feColorMatrix",
929
- "feComponentTransfer",
930
- "feComposite",
931
- "feConvolveMatrix",
932
- "feDiffuseLighting",
933
- "feDisplacementMap",
934
- "feDropShadow",
935
- "feFlood",
936
- "feFuncA",
937
- "feFuncB",
938
- "feFuncG",
939
- "feFuncR",
940
- "feGaussianBlur",
941
- "feImage",
942
- "feMerge",
943
- "feMergeNode",
944
- "feMorphology",
945
- "feOffset",
946
- "fePointLight",
947
- "feSpecularLighting",
948
- "feSpotLight",
949
- "feTile",
950
- "feTurbulence",
951
- "foreignObject",
952
- "linearGradient",
953
- "radialGradient",
954
- "textPath"
955
- ], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
956
- return t[r.toLowerCase()] = r, t;
957
- }, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
958
- })(et);
959
- Object.defineProperty(O, "__esModule", { value: !0 });
960
- O.formatAttributes = tt;
961
- O.escapeSpecialCharacters = Pt;
962
- O.revertEscapedCharacters = rt;
963
- O.formatDOM = nt;
964
- var B = de, L = et;
965
- function Mt(e) {
966
- return L.CASE_SENSITIVE_TAG_NAMES_MAP[e];
967
- }
968
- function tt(e) {
969
- for (var t = {}, r = 0, n = e.length; r < n; r++) {
970
- var i = e[r];
971
- t[i.name] = i.value;
972
- }
973
- return t;
974
- }
975
- function Dt(e) {
976
- e = e.toLowerCase();
977
- var t = Mt(e);
978
- return t || e;
979
- }
980
- function Pt(e) {
981
- return e.replace(L.CARRIAGE_RETURN_REGEX, L.CARRIAGE_RETURN_PLACEHOLDER);
982
- }
983
- function rt(e) {
984
- return e.replace(L.CARRIAGE_RETURN_PLACEHOLDER_REGEX, L.CARRIAGE_RETURN);
985
- }
986
- function nt(e, t, r) {
987
- t === void 0 && (t = null);
988
- for (var n = [], i, a = 0, f = e.length; a < f; a++) {
989
- var p = e[a];
990
- switch (p.nodeType) {
991
- case 1: {
992
- var u = Dt(p.nodeName);
993
- i = new B.Element(u, tt(p.attributes)), i.children = nt(
994
- // template children are on content
995
- u === "template" ? p.content.childNodes : p.childNodes,
996
- i
997
- );
998
- break;
999
- }
1000
- case 3:
1001
- i = new B.Text(rt(p.nodeValue));
1002
- break;
1003
- case 8:
1004
- i = new B.Comment(p.nodeValue);
1005
- break;
1006
- default:
1007
- continue;
1008
- }
1009
- var h = n[a - 1] || null;
1010
- h && (h.next = i), i.parent = t, i.prev = h, i.next = null, n.push(i);
1011
- }
1012
- return r && (i = new B.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), i.next = n[0] || null, i.parent = t, n.unshift(i), n[1] && (n[1].prev = n[0])), n;
1013
- }
1014
- Object.defineProperty(le, "__esModule", { value: !0 });
1015
- le.default = Gt;
1016
- var Lt = O, be = "html", ke = "head", F = "body", Ht = /<([a-zA-Z]+[0-9]?)/, Ee = /<head[^]*>/i, we = /<body[^]*>/i, V = function(e, t) {
1017
- throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
1018
- }, re = function(e, t) {
1019
- throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
1020
- }, je = typeof window == "object" && window.DOMParser;
1021
- if (typeof je == "function") {
1022
- var Bt = new je(), Ft = "text/html";
1023
- re = function(e, t) {
1024
- return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Bt.parseFromString(e, Ft);
1025
- }, V = re;
1026
- }
1027
- if (typeof document == "object" && document.implementation) {
1028
- var G = document.implementation.createHTMLDocument();
1029
- V = function(e, t) {
1030
- if (t) {
1031
- var r = G.documentElement.querySelector(t);
1032
- return r && (r.innerHTML = e), G;
1033
- }
1034
- return G.documentElement.innerHTML = e, G;
1035
- };
1036
- }
1037
- var z = typeof document == "object" && document.createElement("template"), ne;
1038
- z && z.content && (ne = function(e) {
1039
- return z.innerHTML = e, z.content.childNodes;
1040
- });
1041
- function Gt(e) {
1042
- var t, r;
1043
- e = (0, Lt.escapeSpecialCharacters)(e);
1044
- var n = e.match(Ht), i = n && n[1] ? n[1].toLowerCase() : "";
1045
- switch (i) {
1046
- case be: {
1047
- var a = re(e);
1048
- if (!Ee.test(e)) {
1049
- var f = a.querySelector(ke);
1050
- (t = f == null ? void 0 : f.parentNode) === null || t === void 0 || t.removeChild(f);
1051
- }
1052
- if (!we.test(e)) {
1053
- var f = a.querySelector(F);
1054
- (r = f == null ? void 0 : f.parentNode) === null || r === void 0 || r.removeChild(f);
1055
- }
1056
- return a.querySelectorAll(be);
1057
- }
1058
- case ke:
1059
- case F: {
1060
- var p = V(e).querySelectorAll(i);
1061
- return we.test(e) && Ee.test(e) ? p[0].parentNode.childNodes : p;
1062
- }
1063
- // low-level tag or text
1064
- default: {
1065
- if (ne)
1066
- return ne(e);
1067
- var f = V(e, F).querySelector(F);
1068
- return f.childNodes;
1069
- }
1070
- }
1071
- }
1072
- var zt = v && v.__importDefault || function(e) {
1073
- return e && e.__esModule ? e : { default: e };
1074
- };
1075
- Object.defineProperty(ae, "__esModule", { value: !0 });
1076
- ae.default = Wt;
1077
- var Vt = zt(le), Ut = O, Xt = /<(![a-zA-Z\s]+)>/;
1078
- function Wt(e) {
1079
- if (typeof e != "string")
1080
- throw new TypeError("First argument must be a string");
1081
- if (!e)
1082
- return [];
1083
- var t = e.match(Xt), r = t ? t[1] : void 0;
1084
- return (0, Ut.formatDOM)((0, Vt.default)(e), null, r);
1085
- }
1086
- var $ = {}, w = {}, q = {}, $t = 0;
1087
- q.SAME = $t;
1088
- var qt = 1;
1089
- q.CAMELCASE = qt;
1090
- q.possibleStandardNames = {
1091
- accept: 0,
1092
- acceptCharset: 1,
1093
- "accept-charset": "acceptCharset",
1094
- accessKey: 1,
1095
- action: 0,
1096
- allowFullScreen: 1,
1097
- alt: 0,
1098
- as: 0,
1099
- async: 0,
1100
- autoCapitalize: 1,
1101
- autoComplete: 1,
1102
- autoCorrect: 1,
1103
- autoFocus: 1,
1104
- autoPlay: 1,
1105
- autoSave: 1,
1106
- capture: 0,
1107
- cellPadding: 1,
1108
- cellSpacing: 1,
1109
- challenge: 0,
1110
- charSet: 1,
1111
- checked: 0,
1112
- children: 0,
1113
- cite: 0,
1114
- class: "className",
1115
- classID: 1,
1116
- className: 1,
1117
- cols: 0,
1118
- colSpan: 1,
1119
- content: 0,
1120
- contentEditable: 1,
1121
- contextMenu: 1,
1122
- controls: 0,
1123
- controlsList: 1,
1124
- coords: 0,
1125
- crossOrigin: 1,
1126
- dangerouslySetInnerHTML: 1,
1127
- data: 0,
1128
- dateTime: 1,
1129
- default: 0,
1130
- defaultChecked: 1,
1131
- defaultValue: 1,
1132
- defer: 0,
1133
- dir: 0,
1134
- disabled: 0,
1135
- disablePictureInPicture: 1,
1136
- disableRemotePlayback: 1,
1137
- download: 0,
1138
- draggable: 0,
1139
- encType: 1,
1140
- enterKeyHint: 1,
1141
- for: "htmlFor",
1142
- form: 0,
1143
- formMethod: 1,
1144
- formAction: 1,
1145
- formEncType: 1,
1146
- formNoValidate: 1,
1147
- formTarget: 1,
1148
- frameBorder: 1,
1149
- headers: 0,
1150
- height: 0,
1151
- hidden: 0,
1152
- high: 0,
1153
- href: 0,
1154
- hrefLang: 1,
1155
- htmlFor: 1,
1156
- httpEquiv: 1,
1157
- "http-equiv": "httpEquiv",
1158
- icon: 0,
1159
- id: 0,
1160
- innerHTML: 1,
1161
- inputMode: 1,
1162
- integrity: 0,
1163
- is: 0,
1164
- itemID: 1,
1165
- itemProp: 1,
1166
- itemRef: 1,
1167
- itemScope: 1,
1168
- itemType: 1,
1169
- keyParams: 1,
1170
- keyType: 1,
1171
- kind: 0,
1172
- label: 0,
1173
- lang: 0,
1174
- list: 0,
1175
- loop: 0,
1176
- low: 0,
1177
- manifest: 0,
1178
- marginWidth: 1,
1179
- marginHeight: 1,
1180
- max: 0,
1181
- maxLength: 1,
1182
- media: 0,
1183
- mediaGroup: 1,
1184
- method: 0,
1185
- min: 0,
1186
- minLength: 1,
1187
- multiple: 0,
1188
- muted: 0,
1189
- name: 0,
1190
- noModule: 1,
1191
- nonce: 0,
1192
- noValidate: 1,
1193
- open: 0,
1194
- optimum: 0,
1195
- pattern: 0,
1196
- placeholder: 0,
1197
- playsInline: 1,
1198
- poster: 0,
1199
- preload: 0,
1200
- profile: 0,
1201
- radioGroup: 1,
1202
- readOnly: 1,
1203
- referrerPolicy: 1,
1204
- rel: 0,
1205
- required: 0,
1206
- reversed: 0,
1207
- role: 0,
1208
- rows: 0,
1209
- rowSpan: 1,
1210
- sandbox: 0,
1211
- scope: 0,
1212
- scoped: 0,
1213
- scrolling: 0,
1214
- seamless: 0,
1215
- selected: 0,
1216
- shape: 0,
1217
- size: 0,
1218
- sizes: 0,
1219
- span: 0,
1220
- spellCheck: 1,
1221
- src: 0,
1222
- srcDoc: 1,
1223
- srcLang: 1,
1224
- srcSet: 1,
1225
- start: 0,
1226
- step: 0,
1227
- style: 0,
1228
- summary: 0,
1229
- tabIndex: 1,
1230
- target: 0,
1231
- title: 0,
1232
- type: 0,
1233
- useMap: 1,
1234
- value: 0,
1235
- width: 0,
1236
- wmode: 0,
1237
- wrap: 0,
1238
- about: 0,
1239
- accentHeight: 1,
1240
- "accent-height": "accentHeight",
1241
- accumulate: 0,
1242
- additive: 0,
1243
- alignmentBaseline: 1,
1244
- "alignment-baseline": "alignmentBaseline",
1245
- allowReorder: 1,
1246
- alphabetic: 0,
1247
- amplitude: 0,
1248
- arabicForm: 1,
1249
- "arabic-form": "arabicForm",
1250
- ascent: 0,
1251
- attributeName: 1,
1252
- attributeType: 1,
1253
- autoReverse: 1,
1254
- azimuth: 0,
1255
- baseFrequency: 1,
1256
- baselineShift: 1,
1257
- "baseline-shift": "baselineShift",
1258
- baseProfile: 1,
1259
- bbox: 0,
1260
- begin: 0,
1261
- bias: 0,
1262
- by: 0,
1263
- calcMode: 1,
1264
- capHeight: 1,
1265
- "cap-height": "capHeight",
1266
- clip: 0,
1267
- clipPath: 1,
1268
- "clip-path": "clipPath",
1269
- clipPathUnits: 1,
1270
- clipRule: 1,
1271
- "clip-rule": "clipRule",
1272
- color: 0,
1273
- colorInterpolation: 1,
1274
- "color-interpolation": "colorInterpolation",
1275
- colorInterpolationFilters: 1,
1276
- "color-interpolation-filters": "colorInterpolationFilters",
1277
- colorProfile: 1,
1278
- "color-profile": "colorProfile",
1279
- colorRendering: 1,
1280
- "color-rendering": "colorRendering",
1281
- contentScriptType: 1,
1282
- contentStyleType: 1,
1283
- cursor: 0,
1284
- cx: 0,
1285
- cy: 0,
1286
- d: 0,
1287
- datatype: 0,
1288
- decelerate: 0,
1289
- descent: 0,
1290
- diffuseConstant: 1,
1291
- direction: 0,
1292
- display: 0,
1293
- divisor: 0,
1294
- dominantBaseline: 1,
1295
- "dominant-baseline": "dominantBaseline",
1296
- dur: 0,
1297
- dx: 0,
1298
- dy: 0,
1299
- edgeMode: 1,
1300
- elevation: 0,
1301
- enableBackground: 1,
1302
- "enable-background": "enableBackground",
1303
- end: 0,
1304
- exponent: 0,
1305
- externalResourcesRequired: 1,
1306
- fill: 0,
1307
- fillOpacity: 1,
1308
- "fill-opacity": "fillOpacity",
1309
- fillRule: 1,
1310
- "fill-rule": "fillRule",
1311
- filter: 0,
1312
- filterRes: 1,
1313
- filterUnits: 1,
1314
- floodOpacity: 1,
1315
- "flood-opacity": "floodOpacity",
1316
- floodColor: 1,
1317
- "flood-color": "floodColor",
1318
- focusable: 0,
1319
- fontFamily: 1,
1320
- "font-family": "fontFamily",
1321
- fontSize: 1,
1322
- "font-size": "fontSize",
1323
- fontSizeAdjust: 1,
1324
- "font-size-adjust": "fontSizeAdjust",
1325
- fontStretch: 1,
1326
- "font-stretch": "fontStretch",
1327
- fontStyle: 1,
1328
- "font-style": "fontStyle",
1329
- fontVariant: 1,
1330
- "font-variant": "fontVariant",
1331
- fontWeight: 1,
1332
- "font-weight": "fontWeight",
1333
- format: 0,
1334
- from: 0,
1335
- fx: 0,
1336
- fy: 0,
1337
- g1: 0,
1338
- g2: 0,
1339
- glyphName: 1,
1340
- "glyph-name": "glyphName",
1341
- glyphOrientationHorizontal: 1,
1342
- "glyph-orientation-horizontal": "glyphOrientationHorizontal",
1343
- glyphOrientationVertical: 1,
1344
- "glyph-orientation-vertical": "glyphOrientationVertical",
1345
- glyphRef: 1,
1346
- gradientTransform: 1,
1347
- gradientUnits: 1,
1348
- hanging: 0,
1349
- horizAdvX: 1,
1350
- "horiz-adv-x": "horizAdvX",
1351
- horizOriginX: 1,
1352
- "horiz-origin-x": "horizOriginX",
1353
- ideographic: 0,
1354
- imageRendering: 1,
1355
- "image-rendering": "imageRendering",
1356
- in2: 0,
1357
- in: 0,
1358
- inlist: 0,
1359
- intercept: 0,
1360
- k1: 0,
1361
- k2: 0,
1362
- k3: 0,
1363
- k4: 0,
1364
- k: 0,
1365
- kernelMatrix: 1,
1366
- kernelUnitLength: 1,
1367
- kerning: 0,
1368
- keyPoints: 1,
1369
- keySplines: 1,
1370
- keyTimes: 1,
1371
- lengthAdjust: 1,
1372
- letterSpacing: 1,
1373
- "letter-spacing": "letterSpacing",
1374
- lightingColor: 1,
1375
- "lighting-color": "lightingColor",
1376
- limitingConeAngle: 1,
1377
- local: 0,
1378
- markerEnd: 1,
1379
- "marker-end": "markerEnd",
1380
- markerHeight: 1,
1381
- markerMid: 1,
1382
- "marker-mid": "markerMid",
1383
- markerStart: 1,
1384
- "marker-start": "markerStart",
1385
- markerUnits: 1,
1386
- markerWidth: 1,
1387
- mask: 0,
1388
- maskContentUnits: 1,
1389
- maskUnits: 1,
1390
- mathematical: 0,
1391
- mode: 0,
1392
- numOctaves: 1,
1393
- offset: 0,
1394
- opacity: 0,
1395
- operator: 0,
1396
- order: 0,
1397
- orient: 0,
1398
- orientation: 0,
1399
- origin: 0,
1400
- overflow: 0,
1401
- overlinePosition: 1,
1402
- "overline-position": "overlinePosition",
1403
- overlineThickness: 1,
1404
- "overline-thickness": "overlineThickness",
1405
- paintOrder: 1,
1406
- "paint-order": "paintOrder",
1407
- panose1: 0,
1408
- "panose-1": "panose1",
1409
- pathLength: 1,
1410
- patternContentUnits: 1,
1411
- patternTransform: 1,
1412
- patternUnits: 1,
1413
- pointerEvents: 1,
1414
- "pointer-events": "pointerEvents",
1415
- points: 0,
1416
- pointsAtX: 1,
1417
- pointsAtY: 1,
1418
- pointsAtZ: 1,
1419
- prefix: 0,
1420
- preserveAlpha: 1,
1421
- preserveAspectRatio: 1,
1422
- primitiveUnits: 1,
1423
- property: 0,
1424
- r: 0,
1425
- radius: 0,
1426
- refX: 1,
1427
- refY: 1,
1428
- renderingIntent: 1,
1429
- "rendering-intent": "renderingIntent",
1430
- repeatCount: 1,
1431
- repeatDur: 1,
1432
- requiredExtensions: 1,
1433
- requiredFeatures: 1,
1434
- resource: 0,
1435
- restart: 0,
1436
- result: 0,
1437
- results: 0,
1438
- rotate: 0,
1439
- rx: 0,
1440
- ry: 0,
1441
- scale: 0,
1442
- security: 0,
1443
- seed: 0,
1444
- shapeRendering: 1,
1445
- "shape-rendering": "shapeRendering",
1446
- slope: 0,
1447
- spacing: 0,
1448
- specularConstant: 1,
1449
- specularExponent: 1,
1450
- speed: 0,
1451
- spreadMethod: 1,
1452
- startOffset: 1,
1453
- stdDeviation: 1,
1454
- stemh: 0,
1455
- stemv: 0,
1456
- stitchTiles: 1,
1457
- stopColor: 1,
1458
- "stop-color": "stopColor",
1459
- stopOpacity: 1,
1460
- "stop-opacity": "stopOpacity",
1461
- strikethroughPosition: 1,
1462
- "strikethrough-position": "strikethroughPosition",
1463
- strikethroughThickness: 1,
1464
- "strikethrough-thickness": "strikethroughThickness",
1465
- string: 0,
1466
- stroke: 0,
1467
- strokeDasharray: 1,
1468
- "stroke-dasharray": "strokeDasharray",
1469
- strokeDashoffset: 1,
1470
- "stroke-dashoffset": "strokeDashoffset",
1471
- strokeLinecap: 1,
1472
- "stroke-linecap": "strokeLinecap",
1473
- strokeLinejoin: 1,
1474
- "stroke-linejoin": "strokeLinejoin",
1475
- strokeMiterlimit: 1,
1476
- "stroke-miterlimit": "strokeMiterlimit",
1477
- strokeWidth: 1,
1478
- "stroke-width": "strokeWidth",
1479
- strokeOpacity: 1,
1480
- "stroke-opacity": "strokeOpacity",
1481
- suppressContentEditableWarning: 1,
1482
- suppressHydrationWarning: 1,
1483
- surfaceScale: 1,
1484
- systemLanguage: 1,
1485
- tableValues: 1,
1486
- targetX: 1,
1487
- targetY: 1,
1488
- textAnchor: 1,
1489
- "text-anchor": "textAnchor",
1490
- textDecoration: 1,
1491
- "text-decoration": "textDecoration",
1492
- textLength: 1,
1493
- textRendering: 1,
1494
- "text-rendering": "textRendering",
1495
- to: 0,
1496
- transform: 0,
1497
- typeof: 0,
1498
- u1: 0,
1499
- u2: 0,
1500
- underlinePosition: 1,
1501
- "underline-position": "underlinePosition",
1502
- underlineThickness: 1,
1503
- "underline-thickness": "underlineThickness",
1504
- unicode: 0,
1505
- unicodeBidi: 1,
1506
- "unicode-bidi": "unicodeBidi",
1507
- unicodeRange: 1,
1508
- "unicode-range": "unicodeRange",
1509
- unitsPerEm: 1,
1510
- "units-per-em": "unitsPerEm",
1511
- unselectable: 0,
1512
- vAlphabetic: 1,
1513
- "v-alphabetic": "vAlphabetic",
1514
- values: 0,
1515
- vectorEffect: 1,
1516
- "vector-effect": "vectorEffect",
1517
- version: 0,
1518
- vertAdvY: 1,
1519
- "vert-adv-y": "vertAdvY",
1520
- vertOriginX: 1,
1521
- "vert-origin-x": "vertOriginX",
1522
- vertOriginY: 1,
1523
- "vert-origin-y": "vertOriginY",
1524
- vHanging: 1,
1525
- "v-hanging": "vHanging",
1526
- vIdeographic: 1,
1527
- "v-ideographic": "vIdeographic",
1528
- viewBox: 1,
1529
- viewTarget: 1,
1530
- visibility: 0,
1531
- vMathematical: 1,
1532
- "v-mathematical": "vMathematical",
1533
- vocab: 0,
1534
- widths: 0,
1535
- wordSpacing: 1,
1536
- "word-spacing": "wordSpacing",
1537
- writingMode: 1,
1538
- "writing-mode": "writingMode",
1539
- x1: 0,
1540
- x2: 0,
1541
- x: 0,
1542
- xChannelSelector: 1,
1543
- xHeight: 1,
1544
- "x-height": "xHeight",
1545
- xlinkActuate: 1,
1546
- "xlink:actuate": "xlinkActuate",
1547
- xlinkArcrole: 1,
1548
- "xlink:arcrole": "xlinkArcrole",
1549
- xlinkHref: 1,
1550
- "xlink:href": "xlinkHref",
1551
- xlinkRole: 1,
1552
- "xlink:role": "xlinkRole",
1553
- xlinkShow: 1,
1554
- "xlink:show": "xlinkShow",
1555
- xlinkTitle: 1,
1556
- "xlink:title": "xlinkTitle",
1557
- xlinkType: 1,
1558
- "xlink:type": "xlinkType",
1559
- xmlBase: 1,
1560
- "xml:base": "xmlBase",
1561
- xmlLang: 1,
1562
- "xml:lang": "xmlLang",
1563
- xmlns: 0,
1564
- "xml:space": "xmlSpace",
1565
- xmlnsXlink: 1,
1566
- "xmlns:xlink": "xmlnsXlink",
1567
- xmlSpace: 1,
1568
- y1: 0,
1569
- y2: 0,
1570
- y: 0,
1571
- yChannelSelector: 1,
1572
- z: 0,
1573
- zoomAndPan: 1
1574
- };
1575
- const it = 0, C = 1, Y = 2, Z = 3, he = 4, ot = 5, at = 6;
1576
- function Yt(e) {
1577
- return y.hasOwnProperty(e) ? y[e] : null;
1578
- }
1579
- function b(e, t, r, n, i, a, f) {
1580
- this.acceptsBooleans = t === Y || t === Z || t === he, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = a, this.removeEmptyString = f;
1581
- }
1582
- const y = {}, Zt = [
1583
- "children",
1584
- "dangerouslySetInnerHTML",
1585
- // TODO: This prevents the assignment of defaultValue to regular
1586
- // elements (not just inputs). Now that ReactDOMInput assigns to the
1587
- // defaultValue property -- do we need this?
1588
- "defaultValue",
1589
- "defaultChecked",
1590
- "innerHTML",
1591
- "suppressContentEditableWarning",
1592
- "suppressHydrationWarning",
1593
- "style"
1594
- ];
1595
- Zt.forEach((e) => {
1596
- y[e] = new b(
1597
- e,
1598
- it,
1599
- !1,
1600
- // mustUseProperty
1601
- e,
1602
- // attributeName
1603
- null,
1604
- // attributeNamespace
1605
- !1,
1606
- // sanitizeURL
1607
- !1
1608
- // removeEmptyString
1609
- );
1610
- });
1611
- [
1612
- ["acceptCharset", "accept-charset"],
1613
- ["className", "class"],
1614
- ["htmlFor", "for"],
1615
- ["httpEquiv", "http-equiv"]
1616
- ].forEach(([e, t]) => {
1617
- y[e] = new b(
1618
- e,
1619
- C,
1620
- !1,
1621
- // mustUseProperty
1622
- t,
1623
- // attributeName
1624
- null,
1625
- // attributeNamespace
1626
- !1,
1627
- // sanitizeURL
1628
- !1
1629
- // removeEmptyString
1630
- );
1631
- });
1632
- ["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
1633
- y[e] = new b(
1634
- e,
1635
- Y,
1636
- !1,
1637
- // mustUseProperty
1638
- e.toLowerCase(),
1639
- // attributeName
1640
- null,
1641
- // attributeNamespace
1642
- !1,
1643
- // sanitizeURL
1644
- !1
1645
- // removeEmptyString
1646
- );
1647
- });
1648
- [
1649
- "autoReverse",
1650
- "externalResourcesRequired",
1651
- "focusable",
1652
- "preserveAlpha"
1653
- ].forEach((e) => {
1654
- y[e] = new b(
1655
- e,
1656
- Y,
1657
- !1,
1658
- // mustUseProperty
1659
- e,
1660
- // attributeName
1661
- null,
1662
- // attributeNamespace
1663
- !1,
1664
- // sanitizeURL
1665
- !1
1666
- // removeEmptyString
1667
- );
1668
- });
1669
- [
1670
- "allowFullScreen",
1671
- "async",
1672
- // Note: there is a special case that prevents it from being written to the DOM
1673
- // on the client side because the browsers are inconsistent. Instead we call focus().
1674
- "autoFocus",
1675
- "autoPlay",
1676
- "controls",
1677
- "default",
1678
- "defer",
1679
- "disabled",
1680
- "disablePictureInPicture",
1681
- "disableRemotePlayback",
1682
- "formNoValidate",
1683
- "hidden",
1684
- "loop",
1685
- "noModule",
1686
- "noValidate",
1687
- "open",
1688
- "playsInline",
1689
- "readOnly",
1690
- "required",
1691
- "reversed",
1692
- "scoped",
1693
- "seamless",
1694
- // Microdata
1695
- "itemScope"
1696
- ].forEach((e) => {
1697
- y[e] = new b(
1698
- e,
1699
- Z,
1700
- !1,
1701
- // mustUseProperty
1702
- e.toLowerCase(),
1703
- // attributeName
1704
- null,
1705
- // attributeNamespace
1706
- !1,
1707
- // sanitizeURL
1708
- !1
1709
- // removeEmptyString
1710
- );
1711
- });
1712
- [
1713
- "checked",
1714
- // Note: `option.selected` is not updated if `select.multiple` is
1715
- // disabled with `removeAttribute`. We have special logic for handling this.
1716
- "multiple",
1717
- "muted",
1718
- "selected"
1719
- // NOTE: if you add a camelCased prop to this list,
1720
- // you'll need to set attributeName to name.toLowerCase()
1721
- // instead in the assignment below.
1722
- ].forEach((e) => {
1723
- y[e] = new b(
1724
- e,
1725
- Z,
1726
- !0,
1727
- // mustUseProperty
1728
- e,
1729
- // attributeName
1730
- null,
1731
- // attributeNamespace
1732
- !1,
1733
- // sanitizeURL
1734
- !1
1735
- // removeEmptyString
1736
- );
1737
- });
1738
- [
1739
- "capture",
1740
- "download"
1741
- // NOTE: if you add a camelCased prop to this list,
1742
- // you'll need to set attributeName to name.toLowerCase()
1743
- // instead in the assignment below.
1744
- ].forEach((e) => {
1745
- y[e] = new b(
1746
- e,
1747
- he,
1748
- !1,
1749
- // mustUseProperty
1750
- e,
1751
- // attributeName
1752
- null,
1753
- // attributeNamespace
1754
- !1,
1755
- // sanitizeURL
1756
- !1
1757
- // removeEmptyString
1758
- );
1759
- });
1760
- [
1761
- "cols",
1762
- "rows",
1763
- "size",
1764
- "span"
1765
- // NOTE: if you add a camelCased prop to this list,
1766
- // you'll need to set attributeName to name.toLowerCase()
1767
- // instead in the assignment below.
1768
- ].forEach((e) => {
1769
- y[e] = new b(
1770
- e,
1771
- at,
1772
- !1,
1773
- // mustUseProperty
1774
- e,
1775
- // attributeName
1776
- null,
1777
- // attributeNamespace
1778
- !1,
1779
- // sanitizeURL
1780
- !1
1781
- // removeEmptyString
1782
- );
1783
- });
1784
- ["rowSpan", "start"].forEach((e) => {
1785
- y[e] = new b(
1786
- e,
1787
- ot,
1788
- !1,
1789
- // mustUseProperty
1790
- e.toLowerCase(),
1791
- // attributeName
1792
- null,
1793
- // attributeNamespace
1794
- !1,
1795
- // sanitizeURL
1796
- !1
1797
- // removeEmptyString
1798
- );
1799
- });
1800
- const ce = /[\-\:]([a-z])/g, me = (e) => e[1].toUpperCase();
1801
- [
1802
- "accent-height",
1803
- "alignment-baseline",
1804
- "arabic-form",
1805
- "baseline-shift",
1806
- "cap-height",
1807
- "clip-path",
1808
- "clip-rule",
1809
- "color-interpolation",
1810
- "color-interpolation-filters",
1811
- "color-profile",
1812
- "color-rendering",
1813
- "dominant-baseline",
1814
- "enable-background",
1815
- "fill-opacity",
1816
- "fill-rule",
1817
- "flood-color",
1818
- "flood-opacity",
1819
- "font-family",
1820
- "font-size",
1821
- "font-size-adjust",
1822
- "font-stretch",
1823
- "font-style",
1824
- "font-variant",
1825
- "font-weight",
1826
- "glyph-name",
1827
- "glyph-orientation-horizontal",
1828
- "glyph-orientation-vertical",
1829
- "horiz-adv-x",
1830
- "horiz-origin-x",
1831
- "image-rendering",
1832
- "letter-spacing",
1833
- "lighting-color",
1834
- "marker-end",
1835
- "marker-mid",
1836
- "marker-start",
1837
- "overline-position",
1838
- "overline-thickness",
1839
- "paint-order",
1840
- "panose-1",
1841
- "pointer-events",
1842
- "rendering-intent",
1843
- "shape-rendering",
1844
- "stop-color",
1845
- "stop-opacity",
1846
- "strikethrough-position",
1847
- "strikethrough-thickness",
1848
- "stroke-dasharray",
1849
- "stroke-dashoffset",
1850
- "stroke-linecap",
1851
- "stroke-linejoin",
1852
- "stroke-miterlimit",
1853
- "stroke-opacity",
1854
- "stroke-width",
1855
- "text-anchor",
1856
- "text-decoration",
1857
- "text-rendering",
1858
- "underline-position",
1859
- "underline-thickness",
1860
- "unicode-bidi",
1861
- "unicode-range",
1862
- "units-per-em",
1863
- "v-alphabetic",
1864
- "v-hanging",
1865
- "v-ideographic",
1866
- "v-mathematical",
1867
- "vector-effect",
1868
- "vert-adv-y",
1869
- "vert-origin-x",
1870
- "vert-origin-y",
1871
- "word-spacing",
1872
- "writing-mode",
1873
- "xmlns:xlink",
1874
- "x-height"
1875
- // NOTE: if you add a camelCased prop to this list,
1876
- // you'll need to set attributeName to name.toLowerCase()
1877
- // instead in the assignment below.
1878
- ].forEach((e) => {
1879
- const t = e.replace(ce, me);
1880
- y[t] = new b(
1881
- t,
1882
- C,
1883
- !1,
1884
- // mustUseProperty
1885
- e,
1886
- null,
1887
- // attributeNamespace
1888
- !1,
1889
- // sanitizeURL
1890
- !1
1891
- // removeEmptyString
1892
- );
1893
- });
1894
- [
1895
- "xlink:actuate",
1896
- "xlink:arcrole",
1897
- "xlink:role",
1898
- "xlink:show",
1899
- "xlink:title",
1900
- "xlink:type"
1901
- // NOTE: if you add a camelCased prop to this list,
1902
- // you'll need to set attributeName to name.toLowerCase()
1903
- // instead in the assignment below.
1904
- ].forEach((e) => {
1905
- const t = e.replace(ce, me);
1906
- y[t] = new b(
1907
- t,
1908
- C,
1909
- !1,
1910
- // mustUseProperty
1911
- e,
1912
- "http://www.w3.org/1999/xlink",
1913
- !1,
1914
- // sanitizeURL
1915
- !1
1916
- // removeEmptyString
1917
- );
1918
- });
1919
- [
1920
- "xml:base",
1921
- "xml:lang",
1922
- "xml:space"
1923
- // NOTE: if you add a camelCased prop to this list,
1924
- // you'll need to set attributeName to name.toLowerCase()
1925
- // instead in the assignment below.
1926
- ].forEach((e) => {
1927
- const t = e.replace(ce, me);
1928
- y[t] = new b(
1929
- t,
1930
- C,
1931
- !1,
1932
- // mustUseProperty
1933
- e,
1934
- "http://www.w3.org/XML/1998/namespace",
1935
- !1,
1936
- // sanitizeURL
1937
- !1
1938
- // removeEmptyString
1939
- );
1940
- });
1941
- ["tabIndex", "crossOrigin"].forEach((e) => {
1942
- y[e] = new b(
1943
- e,
1944
- C,
1945
- !1,
1946
- // mustUseProperty
1947
- e.toLowerCase(),
1948
- // attributeName
1949
- null,
1950
- // attributeNamespace
1951
- !1,
1952
- // sanitizeURL
1953
- !1
1954
- // removeEmptyString
1955
- );
1956
- });
1957
- const Kt = "xlinkHref";
1958
- y[Kt] = new b(
1959
- "xlinkHref",
1960
- C,
1961
- !1,
1962
- // mustUseProperty
1963
- "xlink:href",
1964
- "http://www.w3.org/1999/xlink",
1965
- !0,
1966
- // sanitizeURL
1967
- !1
1968
- // removeEmptyString
1969
- );
1970
- ["src", "href", "action", "formAction"].forEach((e) => {
1971
- y[e] = new b(
1972
- e,
1973
- C,
1974
- !1,
1975
- // mustUseProperty
1976
- e.toLowerCase(),
1977
- // attributeName
1978
- null,
1979
- // attributeNamespace
1980
- !0,
1981
- // sanitizeURL
1982
- !0
1983
- // removeEmptyString
1984
- );
1985
- });
1986
- const {
1987
- CAMELCASE: Jt,
1988
- SAME: Qt,
1989
- possibleStandardNames: _e
1990
- } = q, er = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", tr = er + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", rr = RegExp.prototype.test.bind(
1991
- // eslint-disable-next-line no-misleading-character-class
1992
- new RegExp("^(data|aria)-[" + tr + "]*$")
1993
- ), nr = Object.keys(
1994
- _e
1995
- ).reduce((e, t) => {
1996
- const r = _e[t];
1997
- return r === Qt ? e[t] = t : r === Jt ? e[t.toLowerCase()] = t : e[t] = r, e;
1998
- }, {});
1999
- w.BOOLEAN = Z;
2000
- w.BOOLEANISH_STRING = Y;
2001
- w.NUMERIC = ot;
2002
- w.OVERLOADED_BOOLEAN = he;
2003
- w.POSITIVE_NUMERIC = at;
2004
- w.RESERVED = it;
2005
- w.STRING = C;
2006
- w.getPropertyInfo = Yt;
2007
- w.isCustomAttribute = rr;
2008
- w.possibleStandardNames = nr;
2009
- var xe = {}, ge = {}, Ne = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ir = /\n/g, or = /^\s*/, ar = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, lr = /^:\s*/, dr = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, ur = /^[;\s]*/, fr = /^\s+|\s+$/g, pr = `
2010
- `, Te = "/", se = "*", R = "", hr = "comment", cr = "declaration", mr = function(e, t) {
2011
- if (typeof e != "string")
2012
- throw new TypeError("First argument must be a string");
2013
- if (!e) return [];
2014
- t = t || {};
2015
- var r = 1, n = 1;
2016
- function i(g) {
2017
- var c = g.match(ir);
2018
- c && (r += c.length);
2019
- var k = g.lastIndexOf(pr);
2020
- n = ~k ? g.length - k : n + g.length;
2021
- }
2022
- function a() {
2023
- var g = { line: r, column: n };
2024
- return function(c) {
2025
- return c.position = new f(g), h(), c;
2026
- };
2027
- }
2028
- function f(g) {
2029
- this.start = g, this.end = { line: r, column: n }, this.source = t.source;
2030
- }
2031
- f.prototype.content = e;
2032
- function p(g) {
2033
- var c = new Error(
2034
- t.source + ":" + r + ":" + n + ": " + g
2035
- );
2036
- if (c.reason = g, c.filename = t.source, c.line = r, c.column = n, c.source = e, !t.silent) throw c;
2037
- }
2038
- function u(g) {
2039
- var c = g.exec(e);
2040
- if (c) {
2041
- var k = c[0];
2042
- return i(k), e = e.slice(k.length), c;
2043
- }
2044
- }
2045
- function h() {
2046
- u(or);
2047
- }
2048
- function d(g) {
2049
- var c;
2050
- for (g = g || []; c = m(); )
2051
- c !== !1 && g.push(c);
2052
- return g;
2053
- }
2054
- function m() {
2055
- var g = a();
2056
- if (!(Te != e.charAt(0) || se != e.charAt(1))) {
2057
- for (var c = 2; R != e.charAt(c) && (se != e.charAt(c) || Te != e.charAt(c + 1)); )
2058
- ++c;
2059
- if (c += 2, R === e.charAt(c - 1))
2060
- return p("End of comment missing");
2061
- var k = e.slice(2, c - 2);
2062
- return n += 2, i(k), e = e.slice(c), n += 2, g({
2063
- type: hr,
2064
- comment: k
2065
- });
2066
- }
2067
- }
2068
- function _() {
2069
- var g = a(), c = u(ar);
2070
- if (c) {
2071
- if (m(), !u(lr)) return p("property missing ':'");
2072
- var k = u(dr), ft = g({
2073
- type: cr,
2074
- property: Ce(c[0].replace(Ne, R)),
2075
- value: k ? Ce(k[0].replace(Ne, R)) : R
2076
- });
2077
- return u(ur), ft;
2078
- }
2079
- }
2080
- function H() {
2081
- var g = [];
2082
- d(g);
2083
- for (var c; c = _(); )
2084
- c !== !1 && (g.push(c), d(g));
2085
- return g;
2086
- }
2087
- return h(), H();
2088
- };
2089
- function Ce(e) {
2090
- return e ? e.replace(fr, R) : R;
2091
- }
2092
- var xr = v && v.__importDefault || function(e) {
2093
- return e && e.__esModule ? e : { default: e };
2094
- };
2095
- Object.defineProperty(ge, "__esModule", { value: !0 });
2096
- ge.default = vr;
2097
- var gr = xr(mr);
2098
- function vr(e, t) {
2099
- var r = null;
2100
- if (!e || typeof e != "string")
2101
- return r;
2102
- var n = (0, gr.default)(e), i = typeof t == "function";
2103
- return n.forEach(function(a) {
2104
- if (a.type === "declaration") {
2105
- var f = a.property, p = a.value;
2106
- i ? t(f, p, a) : p && (r = r || {}, r[f] = p);
2107
- }
2108
- }), r;
2109
- }
2110
- var K = {};
2111
- Object.defineProperty(K, "__esModule", { value: !0 });
2112
- K.camelCase = void 0;
2113
- var yr = /^--[a-zA-Z0-9_-]+$/, br = /-([a-z])/g, kr = /^[^-]+$/, Er = /^-(webkit|moz|ms|o|khtml)-/, wr = /^-(ms)-/, jr = function(e) {
2114
- return !e || kr.test(e) || yr.test(e);
2115
- }, _r = function(e, t) {
2116
- return t.toUpperCase();
2117
- }, Re = function(e, t) {
2118
- return "".concat(t, "-");
2119
- }, Nr = function(e, t) {
2120
- return t === void 0 && (t = {}), jr(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(wr, Re) : e = e.replace(Er, Re), e.replace(br, _r));
2121
- };
2122
- K.camelCase = Nr;
2123
- var Tr = v && v.__importDefault || function(e) {
2124
- return e && e.__esModule ? e : { default: e };
2125
- }, sr = Tr(ge), Cr = K;
2126
- function ie(e, t) {
2127
- var r = {};
2128
- return !e || typeof e != "string" || (0, sr.default)(e, function(n, i) {
2129
- n && i && (r[(0, Cr.camelCase)(n, t)] = i);
2130
- }), r;
2131
- }
2132
- ie.default = ie;
2133
- var Rr = ie;
2134
- (function(e) {
2135
- var t = v && v.__importDefault || function(d) {
2136
- return d && d.__esModule ? d : { default: d };
2137
- };
2138
- Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = a, e.setStyleProp = p;
2139
- var r = He, n = t(Rr), i = /* @__PURE__ */ new Set([
2140
- "annotation-xml",
2141
- "color-profile",
2142
- "font-face",
2143
- "font-face-src",
2144
- "font-face-uri",
2145
- "font-face-format",
2146
- "font-face-name",
2147
- "missing-glyph"
2148
- ]);
2149
- function a(d, m) {
2150
- return d.includes("-") ? !i.has(d) : !!(m && typeof m.is == "string");
2151
- }
2152
- var f = {
2153
- reactCompat: !0
2154
- };
2155
- function p(d, m) {
2156
- if (typeof d == "string") {
2157
- if (!d.trim()) {
2158
- m.style = {};
2159
- return;
2160
- }
2161
- try {
2162
- m.style = (0, n.default)(d, f);
2163
- } catch {
2164
- m.style = {};
2165
- }
2166
- }
2167
- }
2168
- e.PRESERVE_CUSTOM_ATTRIBUTES = Number(r.version.split(".")[0]) >= 16, e.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
2169
- "tr",
2170
- "tbody",
2171
- "thead",
2172
- "tfoot",
2173
- "colgroup",
2174
- "table",
2175
- "head",
2176
- "html",
2177
- "frameset"
2178
- ]);
2179
- var u = function(d) {
2180
- return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(d.name);
2181
- };
2182
- e.canTextBeChildOfNode = u;
2183
- var h = function(d) {
2184
- return d;
2185
- };
2186
- e.returnFirstArg = h;
2187
- })(xe);
2188
- Object.defineProperty($, "__esModule", { value: !0 });
2189
- $.default = Ar;
2190
- var A = w, Ie = xe, Ir = ["checked", "value"], Or = ["input", "select", "textarea"], Sr = {
2191
- reset: !0,
2192
- submit: !0
2193
- };
2194
- function Ar(e, t) {
2195
- e === void 0 && (e = {});
2196
- var r = {}, n = !!(e.type && Sr[e.type]);
2197
- for (var i in e) {
2198
- var a = e[i];
2199
- if ((0, A.isCustomAttribute)(i)) {
2200
- r[i] = a;
2201
- continue;
2202
- }
2203
- var f = i.toLowerCase(), p = Oe(f);
2204
- if (p) {
2205
- var u = (0, A.getPropertyInfo)(p);
2206
- switch (Ir.includes(p) && Or.includes(t) && !n && (p = Oe("default" + f)), r[p] = a, u && u.type) {
2207
- case A.BOOLEAN:
2208
- r[p] = !0;
2209
- break;
2210
- case A.OVERLOADED_BOOLEAN:
2211
- a === "" && (r[p] = !0);
2212
- break;
2213
- }
2214
- continue;
2215
- }
2216
- Ie.PRESERVE_CUSTOM_ATTRIBUTES && (r[i] = a);
2217
- }
2218
- return (0, Ie.setStyleProp)(e.style, r), r;
2219
- }
2220
- function Oe(e) {
2221
- return A.possibleStandardNames[e];
2222
- }
2223
- var ve = {}, Mr = v && v.__importDefault || function(e) {
2224
- return e && e.__esModule ? e : { default: e };
2225
- };
2226
- Object.defineProperty(ve, "__esModule", { value: !0 });
2227
- ve.default = lt;
2228
- var Q = He, Dr = Mr($), D = xe, Pr = {
2229
- cloneElement: Q.cloneElement,
2230
- createElement: Q.createElement,
2231
- isValidElement: Q.isValidElement
2232
- };
2233
- function lt(e, t) {
2234
- t === void 0 && (t = {});
2235
- for (var r = [], n = typeof t.replace == "function", i = t.transform || D.returnFirstArg, a = t.library || Pr, f = a.cloneElement, p = a.createElement, u = a.isValidElement, h = e.length, d = 0; d < h; d++) {
2236
- var m = e[d];
2237
- if (n) {
2238
- var _ = t.replace(m, d);
2239
- if (u(_)) {
2240
- h > 1 && (_ = f(_, {
2241
- key: _.key || d
2242
- })), r.push(i(_, m, d));
2243
- continue;
2244
- }
2245
- }
2246
- if (m.type === "text") {
2247
- var H = !m.data.trim().length;
2248
- if (H && m.parent && !(0, D.canTextBeChildOfNode)(m.parent) || t.trim && H)
2249
- continue;
2250
- r.push(i(m.data, m, d));
2251
- continue;
2252
- }
2253
- var g = m, c = {};
2254
- Lr(g) ? ((0, D.setStyleProp)(g.attribs.style, g.attribs), c = g.attribs) : g.attribs && (c = (0, Dr.default)(g.attribs, g.name));
2255
- var k = void 0;
2256
- switch (m.type) {
2257
- case "script":
2258
- case "style":
2259
- m.children[0] && (c.dangerouslySetInnerHTML = {
2260
- __html: m.children[0].data
2261
- });
2262
- break;
2263
- case "tag":
2264
- m.name === "textarea" && m.children[0] ? c.defaultValue = m.children[0].data : m.children && m.children.length && (k = lt(m.children, t));
2265
- break;
2266
- // skip all other cases (e.g., comment)
2267
- default:
2268
- continue;
2269
- }
2270
- h > 1 && (c.key = d), r.push(i(p(m.name, c, k), m, d));
2271
- }
2272
- return r.length === 1 ? r[0] : r;
2273
- }
2274
- function Lr(e) {
2275
- return D.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, D.isCustomComponent)(e.name, e.attribs);
2276
- }
2277
- (function(e) {
2278
- var t = v && v.__importDefault || function(u) {
2279
- return u && u.__esModule ? u : { default: u };
2280
- };
2281
- Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = p;
2282
- var r = t(ae);
2283
- e.htmlToDOM = r.default;
2284
- var n = t($);
2285
- e.attributesToProps = n.default;
2286
- var i = t(ve);
2287
- e.domToReact = i.default;
2288
- var a = de;
2289
- Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
2290
- return a.Comment;
2291
- } }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
2292
- return a.Element;
2293
- } }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
2294
- return a.ProcessingInstruction;
2295
- } }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
2296
- return a.Text;
2297
- } });
2298
- var f = { lowerCaseAttributeNames: !1 };
2299
- function p(u, h) {
2300
- if (typeof u != "string")
2301
- throw new TypeError("First argument must be a string");
2302
- return u ? (0, i.default)((0, r.default)(u, (h == null ? void 0 : h.htmlparser2) || f), h) : [];
2303
- }
2304
- })(Ge);
2305
- const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, index: t, variant: r, title: n, description: i }) => {
2306
- const a = r === "withTitleAndDescription" && n;
2307
- return /* @__PURE__ */ o.jsxs(
480
+ ] }) }) }), et = ({ classes: o, index: e, variant: x, title: r, description: n }) => {
481
+ const i = x === "withTitleAndDescription" && r, m = O.sanitize(n ?? "");
482
+ return /* @__PURE__ */ t.jsxs(
2308
483
  "div",
2309
484
  {
2310
- className: l(
485
+ className: d(
2311
486
  "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",
2312
- e == null ? void 0 : e.singleStep
487
+ o == null ? void 0 : o.singleStep
2313
488
  ),
2314
489
  children: [
2315
- /* @__PURE__ */ o.jsx(
490
+ /* @__PURE__ */ t.jsx(
2316
491
  "div",
2317
492
  {
2318
- className: l(
493
+ className: d(
2319
494
  "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",
2320
- e == null ? void 0 : e.numeric
495
+ o == null ? void 0 : o.numeric
2321
496
  ),
2322
- children: t
497
+ children: e
2323
498
  }
2324
499
  ),
2325
- /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2"), children: [
2326
- a && /* @__PURE__ */ o.jsx(N, { as: "h4", className: l("text-color-dark", e == null ? void 0 : e.title), children: n }),
2327
- /* @__PURE__ */ o.jsx("div", { className: l("desk-body-regular-l text-color-tetriary", e == null ? void 0 : e.description), children: Hr(i) })
500
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2"), children: [
501
+ i && /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-color-dark", o == null ? void 0 : o.title), children: r }),
502
+ /* @__PURE__ */ t.jsx(
503
+ "div",
504
+ {
505
+ dangerouslySetInnerHTML: { __html: m },
506
+ className: d("desk-body-regular-l text-color-tetriary", o == null ? void 0 : o.description)
507
+ }
508
+ )
2328
509
  ] })
2329
510
  ]
2330
511
  }
2331
512
  );
2332
- }, dn = ({ headline: e, variant: t, stepsList: r, classes: n }) => /* @__PURE__ */ o.jsx(ht, { className: n == null ? void 0 : n.root, children: /* @__PURE__ */ o.jsx(T, { className: n == null ? void 0 : n.container, children: /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-6 desktop:items-start desktop:gap-12", n == null ? void 0 : n.wrapper), children: [
2333
- /* @__PURE__ */ o.jsx(N, { as: "h2", className: l("text-color-dark", n == null ? void 0 : n.headline), children: e }),
2334
- /* @__PURE__ */ o.jsx(
513
+ }, vt = ({ headline: o, variant: e, stepsList: x, classes: r }) => /* @__PURE__ */ t.jsx(R, { className: r == null ? void 0 : r.root, children: /* @__PURE__ */ t.jsx(k, { className: r == null ? void 0 : r.container, children: /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-6 desktop:items-start desktop:gap-12", r == null ? void 0 : r.wrapper), children: [
514
+ /* @__PURE__ */ t.jsx(a, { as: "h2", className: d("text-color-dark", r == null ? void 0 : r.headline), children: o }),
515
+ /* @__PURE__ */ t.jsx(
2335
516
  "div",
2336
517
  {
2337
- className: l(
518
+ className: d(
2338
519
  "flex w-full flex-col items-start gap-6 desktop:flex-row desktop:items-start desktop:gap-12",
2339
- n == null ? void 0 : n.stepsWrapper
520
+ r == null ? void 0 : r.stepsWrapper
2340
521
  ),
2341
- children: r == null ? void 0 : r.map((i, a) => /* @__PURE__ */ o.jsx(Br, { variant: t, ...i, index: a + 1, classes: n == null ? void 0 : n.step }, i.description))
522
+ children: x == null ? void 0 : x.map((n, i) => /* @__PURE__ */ t.jsx(et, { variant: e, ...n, index: i + 1, classes: r == null ? void 0 : r.step }, n.description))
2342
523
  }
2343
524
  )
2344
- ] }) }) }), Fr = I("", {
525
+ ] }) }) }), rt = j("", {
2345
526
  variants: {
2346
527
  intent: {
2347
528
  twoItems: "mob-headline-bold-s mb-6 desktop:desk-headline-bold-m desktop:mb-12",
@@ -2357,7 +538,7 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2357
538
  defaultVariants: {
2358
539
  intent: "twoItems"
2359
540
  }
2360
- }), Gr = I("", {
541
+ }), ot = j("", {
2361
542
  variants: {
2362
543
  intent: {
2363
544
  twoItems: "",
@@ -2389,7 +570,7 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2389
570
  class: "desktop:grid grid-rows-2 desktop:gap-x-10 desktop:gap-y-4 grid-flow-col"
2390
571
  }
2391
572
  ]
2392
- }), zr = I("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
573
+ }), nt = j("border-blue-grey-500 pb-6 mobile:mb-6 mobile:border-b mobile:last:pb-0 mobile:last:mb-0", {
2393
574
  variants: {
2394
575
  intent: {
2395
576
  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',
@@ -2399,7 +580,7 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2399
580
  defaultVariants: {
2400
581
  intent: "twoItems"
2401
582
  }
2402
- }), Vr = I("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
583
+ }), dt = j("mobile:mx-auto mobile:mb-8, h-[172px] w-[280px] ", {
2403
584
  variants: {
2404
585
  intent: {
2405
586
  twoItems: "desktop:h-[232px] desktop:w-[500px]",
@@ -2425,51 +606,51 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2425
606
  class: "desktop:h-[272px] desktop:w-[500px]"
2426
607
  }
2427
608
  ]
2428
- }), Ur = ({ data: e, intent: t }) => {
2429
- const { title: r, description: n, popoverText: i } = e;
2430
- return /* @__PURE__ */ o.jsx("li", { className: l(zr({ intent: t })), children: /* @__PURE__ */ o.jsxs("div", { className: "desktop:max-w-[264px]", children: [
2431
- /* @__PURE__ */ o.jsxs("div", { className: l("mb-2 flex items-center gap-2"), children: [
2432
- /* @__PURE__ */ o.jsx("h4", { className: l("mob-title-bold-m text-color-dark"), children: r }),
2433
- i && /* @__PURE__ */ o.jsx(ct, { triggerElement: /* @__PURE__ */ o.jsx(j, { className: l("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: i })
609
+ }), it = ({ data: o, intent: e }) => {
610
+ const { title: x, description: r, popoverText: n } = o;
611
+ return /* @__PURE__ */ t.jsx("li", { className: d(nt({ intent: e })), children: /* @__PURE__ */ t.jsxs("div", { className: "desktop:max-w-[264px]", children: [
612
+ /* @__PURE__ */ t.jsxs("div", { className: d("mb-2 flex items-center gap-2"), children: [
613
+ /* @__PURE__ */ t.jsx("h4", { className: d("mob-title-bold-m text-color-dark"), children: x }),
614
+ n && /* @__PURE__ */ t.jsx(V, { triggerElement: /* @__PURE__ */ t.jsx(l, { className: d("size-5 text-icon-blue-grey-600"), name: "info/helpCircle" }), children: n })
2434
615
  ] }),
2435
- /* @__PURE__ */ o.jsx("p", { className: l("mob-body-regular-l text-color-secondary"), children: n })
616
+ /* @__PURE__ */ t.jsx("p", { className: d("mob-body-regular-l text-color-secondary"), children: r })
2436
617
  ] }) });
2437
- }, ee = ({ intent: e, title: t, desktopHidden: r = !1, mobileHidden: n = !1 }) => /* @__PURE__ */ o.jsx("h2", { className: l(Fr({ intent: e, desktopHidden: r, mobileHidden: n })), children: t }), Xr = ({ textContent: e, intent: t, withButton: r }) => /* @__PURE__ */ o.jsx("ul", { className: l(Gr({ intent: t, withButton: r })), children: e == null ? void 0 : e.map((n, i) => /* @__PURE__ */ o.jsx(Ur, { intent: t, data: n }, i)) }), un = ({
2438
- title: e,
2439
- buttonConfig: t,
2440
- intent: r = "twoItems",
2441
- textContent: n,
2442
- imageComponent: i,
2443
- classes: a
618
+ }, N = ({ intent: o, title: e, desktopHidden: x = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: d(rt({ intent: o, desktopHidden: x, mobileHidden: r })), children: e }), xt = ({ textContent: o, intent: e, withButton: x }) => /* @__PURE__ */ t.jsx("ul", { className: d(ot({ intent: e, withButton: x })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(it, { intent: e, data: r }, n)) }), It = ({
619
+ title: o,
620
+ buttonConfig: e,
621
+ intent: x = "twoItems",
622
+ textContent: r,
623
+ imageComponent: n,
624
+ classes: i
2444
625
  }) => {
2445
- const f = !!t, p = r === "fourItems", u = r === "twoItems";
2446
- return /* @__PURE__ */ o.jsx("section", { className: l(a == null ? void 0 : a.root), children: /* @__PURE__ */ o.jsxs(T, { className: l(a == null ? void 0 : a.container), children: [
2447
- u && /* @__PURE__ */ o.jsx(ee, { intent: r, title: e }),
2448
- /* @__PURE__ */ o.jsxs(
626
+ const m = !!e, h = x === "fourItems", f = x === "twoItems";
627
+ 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: [
628
+ f && /* @__PURE__ */ t.jsx(N, { intent: x, title: o }),
629
+ /* @__PURE__ */ t.jsxs(
2449
630
  "div",
2450
631
  {
2451
- className: l(
632
+ className: d(
2452
633
  "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",
2453
- a == null ? void 0 : a.contentContainer
634
+ i == null ? void 0 : i.contentContainer
2454
635
  ),
2455
636
  children: [
2456
- p && /* @__PURE__ */ o.jsx(ee, { intent: r, title: e, desktopHidden: !0 }),
2457
- /* @__PURE__ */ o.jsx("div", { className: l(Vr({ intent: r, withButton: f }), a == null ? void 0 : a.imgContainer), children: i }),
2458
- /* @__PURE__ */ o.jsxs(
637
+ h && /* @__PURE__ */ t.jsx(N, { intent: x, title: o, desktopHidden: !0 }),
638
+ /* @__PURE__ */ t.jsx("div", { className: d(dt({ intent: x, withButton: m }), i == null ? void 0 : i.imgContainer), children: n }),
639
+ /* @__PURE__ */ t.jsxs(
2459
640
  "div",
2460
641
  {
2461
- className: l("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", a == null ? void 0 : a.textWithBtnContainer),
642
+ className: d("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", i == null ? void 0 : i.textWithBtnContainer),
2462
643
  children: [
2463
- p && /* @__PURE__ */ o.jsx(ee, { intent: r, title: e, mobileHidden: !0 }),
2464
- /* @__PURE__ */ o.jsx(Xr, { textContent: n, intent: r, withButton: f }),
2465
- f && /* @__PURE__ */ o.jsx(
2466
- P,
644
+ h && /* @__PURE__ */ t.jsx(N, { intent: x, title: o, mobileHidden: !0 }),
645
+ /* @__PURE__ */ t.jsx(xt, { textContent: r, intent: x, withButton: m }),
646
+ m && /* @__PURE__ */ t.jsx(
647
+ w,
2467
648
  {
2468
- className: l("w-full px-4 desktop:w-max", a == null ? void 0 : a.button),
649
+ className: d("w-full px-4 desktop:w-max", i == null ? void 0 : i.button),
2469
650
  size: "lg",
2470
- onClick: t.onClick,
651
+ onClick: e.onClick,
2471
652
  intent: "secondary",
2472
- children: t.text
653
+ children: e.text
2473
654
  }
2474
655
  )
2475
656
  ]
@@ -2479,173 +660,173 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2479
660
  }
2480
661
  )
2481
662
  ] }) });
2482
- }, te = {
663
+ }, y = {
2483
664
  ESIA: "esia",
2484
665
  MOBILE_ID: "mobileId",
2485
666
  COMBINE: "combine"
2486
- }, dt = ({ children: e, isLoading: t, classes: r, loaderProps: n }) => /* @__PURE__ */ o.jsx(
667
+ }, W = ({ children: o, isLoading: e, classes: x, loaderProps: r }) => /* @__PURE__ */ t.jsx(
2487
668
  "div",
2488
669
  {
2489
670
  tabIndex: 0,
2490
- className: l(
671
+ className: d(
2491
672
  "relative flex h-[90px] w-full max-w-[328px] items-center justify-center rounded-sm p-2 desktop:max-w-[524px]",
2492
673
  "bg-color-white outline outline-1 outline-warm-grey-200 transition-colors focus-visible:outline-primary-focus",
2493
- r == null ? void 0 : r.root
674
+ x == null ? void 0 : x.root
2494
675
  ),
2495
- children: /* @__PURE__ */ o.jsx(
676
+ children: /* @__PURE__ */ t.jsx(
2496
677
  "div",
2497
678
  {
2498
- className: l(
679
+ className: d(
2499
680
  "flex h-[74px] flex-1 cursor-pointer rounded-sm px-2 py-3 transition-colors desktop:px-4 desktop:py-3",
2500
681
  "bg-color-blue-grey-100 hover:bg-color-blue-grey-200 active:bg-color-blue-grey-300",
2501
- { "items-center": t },
2502
- r == null ? void 0 : r.wrapper
682
+ { "items-center": e },
683
+ x == null ? void 0 : x.wrapper
2503
684
  ),
2504
- children: t ? /* @__PURE__ */ o.jsx(mt, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...n }) : e
685
+ children: e ? /* @__PURE__ */ t.jsx(L, { position: "static", classes: { wrapper: "size-8 m-auto" }, ...r }) : o
2505
686
  }
2506
687
  )
2507
688
  }
2508
- ), Wr = ({ ...e }) => /* @__PURE__ */ o.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
2509
- /* @__PURE__ */ o.jsx(
689
+ ), pt = ({ ...o }) => /* @__PURE__ */ t.jsxs("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
690
+ /* @__PURE__ */ t.jsx(
2510
691
  "path",
2511
692
  {
2512
693
  d: "M30.3986 10.6149C30.2728 8.96576 29.014 6.85155 27.7553 5.83672C26.3398 4.79816 24.8691 3.83828 23.3497 2.96139C21.8418 2.06068 20.2871 1.24201 18.6923 0.508895C17.8404 0.15868 16.927 -0.0139306 16.007 0.00148264C15.0868 -0.0180029 14.1725 0.154761 13.3217 0.508895C11.7272 1.24253 10.1725 2.06119 8.66438 2.96139C6.23081 4.44134 4.25878 5.83672 4.25878 5.83672C3.22329 6.71008 2.43892 7.83418 1.97146 9.09195C1.87834 9.34251 2.07032 9.59987 2.33762 9.59987H4.2568C4.55401 9.59987 4.82321 9.43281 4.98085 9.18085C5.33539 8.61417 5.77902 8.10202 6.29948 7.66607C6.29948 7.66607 7.92774 6.52186 9.93709 5.3083C11.1823 4.57013 12.466 3.89884 13.7826 3.29725C14.485 3.00687 15.2399 2.8652 15.9998 2.88118C16.7593 2.86854 17.5136 3.01008 18.217 3.29725C19.5337 3.89841 20.8174 4.56972 22.0624 5.3083C23.317 6.02735 24.5313 6.81445 25.7 7.66607C26.7394 8.49823 27.7787 10.2319 27.8826 11.5841C27.8826 11.5841 28.1251 13.5952 28.1598 15.9772C28.1576 17.4483 28.0767 18.9183 27.9173 20.3807C27.6755 21.912 26.8879 23.3038 25.7 24.2988C25.7 24.2988 24.0718 25.4777 22.0624 26.6912C20.8172 27.4294 19.5335 28.1007 18.217 28.7023C17.5145 28.9927 16.7596 29.1343 15.9998 29.1184C15.2409 29.1343 14.4867 28.9963 13.7826 28.7127C12.4658 28.1115 11.1821 27.4402 9.93709 26.7016C7.92774 25.5228 6.29948 24.3092 6.29948 24.3092C5.84515 23.9454 5.39081 23.4094 5.01172 22.8082C4.85581 22.561 4.5896 22.3997 4.2973 22.3997H2.34718C2.07645 22.3997 1.88475 22.6629 1.98611 22.914C2.49249 24.168 3.37564 25.4212 4.25878 26.1332C4.25878 26.1332 6.23081 27.6132 8.66438 29.0508C10.1723 29.9515 11.7269 30.7702 13.3217 31.5033C14.1745 31.8492 15.088 32.0175 16.007 31.998C16.9273 32.0175 17.8416 31.8448 18.6923 31.4906C20.2869 30.757 21.8415 29.9383 23.3497 29.0381C25.7833 27.5582 27.7553 26.1205 27.7553 26.1205C29.1939 24.9072 30.1478 23.2098 30.4406 21.3424C30.6337 19.5589 30.7317 17.7663 30.7343 15.9723C30.6923 13.0673 30.3986 10.6149 30.3986 10.6149Z",
2513
694
  fill: "url(#paint0_linear_6493_452)"
2514
695
  }
2515
696
  ),
2516
- /* @__PURE__ */ o.jsx(
697
+ /* @__PURE__ */ t.jsx(
2517
698
  "path",
2518
699
  {
2519
700
  d: "M1.27985 12.4821C1.27985 12.1286 1.56638 11.8421 1.91985 11.8421H11.8398C12.1933 11.8421 12.4798 12.1286 12.4798 12.4821V14.4021C12.4798 14.7555 12.1933 15.0421 11.8398 15.0421H1.27985V12.4821Z",
2520
701
  fill: "#0066B3"
2521
702
  }
2522
703
  ),
2523
- /* @__PURE__ */ o.jsx(
704
+ /* @__PURE__ */ t.jsx(
2524
705
  "path",
2525
706
  {
2526
707
  d: "M1.27985 16.9618H21.4398C21.7933 16.9618 22.0798 17.2484 22.0798 17.6018V19.5218C22.0798 19.8752 21.7933 20.1618 21.4398 20.1618H1.91985C1.56638 20.1618 1.27985 19.8752 1.27985 19.5218V16.9618Z",
2527
708
  fill: "#EE2F53"
2528
709
  }
2529
710
  ),
2530
- /* @__PURE__ */ o.jsx("defs", { children: /* @__PURE__ */ o.jsxs("linearGradient", { id: "paint0_linear_6493_452", x1: "16.0071", y1: "0", x2: "16.0071", y2: "31.9996", gradientUnits: "userSpaceOnUse", children: [
2531
- /* @__PURE__ */ o.jsx("stop", { stopColor: "#0066B3" }),
2532
- /* @__PURE__ */ o.jsx("stop", { offset: "0.354167", stopColor: "#0066B3" }),
2533
- /* @__PURE__ */ o.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
2534
- /* @__PURE__ */ o.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
711
+ /* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsxs("linearGradient", { id: "paint0_linear_6493_452", x1: "16.0071", y1: "0", x2: "16.0071", y2: "31.9996", gradientUnits: "userSpaceOnUse", children: [
712
+ /* @__PURE__ */ t.jsx("stop", { stopColor: "#0066B3" }),
713
+ /* @__PURE__ */ t.jsx("stop", { offset: "0.354167", stopColor: "#0066B3" }),
714
+ /* @__PURE__ */ t.jsx("stop", { offset: "0.6875", stopColor: "#EE2F53" }),
715
+ /* @__PURE__ */ t.jsx("stop", { offset: "1", stopColor: "#EE2F53" })
2535
716
  ] }) })
2536
- ] }), ut = ({ mainLink: e, subLink: t, isMobile: r, classes: n }) => /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col", n == null ? void 0 : n.linksWrapper), children: [
2537
- /* @__PURE__ */ o.jsx(
717
+ ] }), 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: [
718
+ /* @__PURE__ */ t.jsx(
2538
719
  "a",
2539
720
  {
2540
- href: e.href,
721
+ href: o.href,
2541
722
  target: "_blank",
2542
723
  rel: "noreferrer",
2543
- className: l(
724
+ className: d(
2544
725
  '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',
2545
- n == null ? void 0 : n.linksMainLink
726
+ r == null ? void 0 : r.linksMainLink
2546
727
  ),
2547
- children: r ? e.mobileTitle : e.title
728
+ children: x ? o.mobileTitle : o.title
2548
729
  }
2549
730
  ),
2550
- (t == null ? void 0 : t.text) && (t == null ? void 0 : t.href) && /* @__PURE__ */ o.jsx(
2551
- U,
731
+ (e == null ? void 0 : e.text) && (e == null ? void 0 : e.href) && /* @__PURE__ */ t.jsx(
732
+ g,
2552
733
  {
2553
734
  intent: "blue",
2554
735
  withUnderline: !0,
2555
- href: t == null ? void 0 : t.href,
736
+ href: e == null ? void 0 : e.href,
2556
737
  target: "_blank",
2557
738
  rel: "noreferrer",
2558
739
  classes: {
2559
- link: l("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", n == null ? void 0 : n.linksSubLink)
740
+ link: d("w-max relative z-[6] p-0 desk-body-regular-m text-color-tetriary", r == null ? void 0 : r.linksSubLink)
2560
741
  },
2561
- children: t == null ? void 0 : t.text
742
+ children: e == null ? void 0 : e.text
2562
743
  }
2563
744
  )
2564
- ] }), Ae = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: a }) => {
2565
- const { isMobile: f } = S();
2566
- return /* @__PURE__ */ o.jsx(dt, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
745
+ ] }), C = ({ mainLink: o, subLink: e, isLoading: x, badge: r, loaderProps: n, classes: i }) => {
746
+ const { isMobile: m } = b();
747
+ return /* @__PURE__ */ t.jsx(W, { isLoading: x, loaderProps: n, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
2567
748
  "div",
2568
749
  {
2569
- className: l(
750
+ className: d(
2570
751
  "flex flex-1 items-center justify-between gap-1",
2571
- { "justify-center": !n && f },
2572
- a == null ? void 0 : a.innerWrapper
752
+ { "justify-center": !r && m },
753
+ i == null ? void 0 : i.innerWrapper
2573
754
  ),
2574
755
  children: [
2575
- /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
2576
- /* @__PURE__ */ o.jsxs("div", { children: [
2577
- /* @__PURE__ */ o.jsx(j, { name: "logos/mts", className: l("relative z-[9] size-7 desktop:size-8", a == null ? void 0 : a.mtsLogo) }),
2578
- /* @__PURE__ */ o.jsx(j, { name: "logos/megafon", className: l("relative z-[8] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.megafonLogo) }),
2579
- /* @__PURE__ */ o.jsx(j, { name: "logos/beeline", className: l("relative z-[7] -ml-4 size-7 desktop:size-8", a == null ? void 0 : a.beelineLogo) })
756
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
757
+ /* @__PURE__ */ t.jsxs("div", { children: [
758
+ /* @__PURE__ */ t.jsx(l, { name: "logos/mts", className: d("relative z-[9] size-7 desktop:size-8", i == null ? void 0 : i.mtsLogo) }),
759
+ /* @__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) }),
760
+ /* @__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) })
2580
761
  ] }),
2581
- /* @__PURE__ */ o.jsx(ut, { mainLink: e, subLink: t, isMobile: f, classes: a == null ? void 0 : a.links }),
2582
- /* @__PURE__ */ o.jsx(j, { name: "arrows/arrowRight", className: l("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
762
+ /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: i == null ? void 0 : i.links }),
763
+ /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
2583
764
  ] }),
2584
- n && /* @__PURE__ */ o.jsx(oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: n })
765
+ r && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: r })
2585
766
  ]
2586
767
  }
2587
768
  ) });
2588
- }, Me = ({ mainLink: e, subLink: t, isLoading: r, badge: n, loaderProps: i, classes: a }) => {
2589
- const { isMobile: f } = S();
2590
- return /* @__PURE__ */ o.jsx(dt, { isLoading: r, loaderProps: i, classes: a == null ? void 0 : a.authWrapper, children: /* @__PURE__ */ o.jsxs(
769
+ }, B = ({ mainLink: o, subLink: e, isLoading: x, badge: r, loaderProps: n, classes: i }) => {
770
+ const { isMobile: m } = b();
771
+ return /* @__PURE__ */ t.jsx(W, { isLoading: x, loaderProps: n, classes: i == null ? void 0 : i.authWrapper, children: /* @__PURE__ */ t.jsxs(
2591
772
  "div",
2592
773
  {
2593
- className: l(
774
+ className: d(
2594
775
  "flex flex-1 items-center justify-between gap-1",
2595
- { "justify-center": !n && f },
2596
- a == null ? void 0 : a.innerWrapper
776
+ { "justify-center": !r && m },
777
+ i == null ? void 0 : i.innerWrapper
2597
778
  ),
2598
779
  children: [
2599
- /* @__PURE__ */ o.jsxs("div", { className: l("flex items-center gap-1 desktop:gap-4", a == null ? void 0 : a.textContent), children: [
2600
- /* @__PURE__ */ o.jsx(Wr, { className: l("size-7 desktop:size-8", a == null ? void 0 : a.esiaLogo) }),
2601
- /* @__PURE__ */ o.jsx(ut, { mainLink: e, subLink: t, isMobile: f, classes: a == null ? void 0 : a.links }),
2602
- /* @__PURE__ */ o.jsx(j, { name: "arrows/arrowRight", className: l("mobile:hidden", a == null ? void 0 : a.arrowIcon) })
780
+ /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1 desktop:gap-4", i == null ? void 0 : i.textContent), children: [
781
+ /* @__PURE__ */ t.jsx(pt, { className: d("size-7 desktop:size-8", i == null ? void 0 : i.esiaLogo) }),
782
+ /* @__PURE__ */ t.jsx(F, { mainLink: o, subLink: e, isMobile: m, classes: i == null ? void 0 : i.links }),
783
+ /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("mobile:hidden", i == null ? void 0 : i.arrowIcon) })
2603
784
  ] }),
2604
- n && /* @__PURE__ */ o.jsx(oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: n })
785
+ r && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: r })
2605
786
  ]
2606
787
  }
2607
788
  ) });
2608
- }, $r = (e) => {
2609
- switch (e.mode) {
2610
- case te.ESIA:
2611
- return /* @__PURE__ */ o.jsx(Me, { ...e });
2612
- case te.MOBILE_ID:
2613
- return /* @__PURE__ */ o.jsx(Ae, { ...e });
2614
- case te.COMBINE:
789
+ }, mt = (o) => {
790
+ switch (o.mode) {
791
+ case y.ESIA:
792
+ return /* @__PURE__ */ t.jsx(B, { ...o });
793
+ case y.MOBILE_ID:
794
+ return /* @__PURE__ */ t.jsx(C, { ...o });
795
+ case y.COMBINE:
2615
796
  default:
2616
- const { esiaConfig: t, mobileIdConfig: r, subtitle: n, badge: i, classes: a } = e, f = !n && !i ? vt.Fragment : "div";
2617
- return /* @__PURE__ */ o.jsxs(
797
+ const { esiaConfig: e, mobileIdConfig: x, subtitle: r, badge: n, classes: i } = o, m = !r && !n ? G.Fragment : "div";
798
+ return /* @__PURE__ */ t.jsxs(
2618
799
  "div",
2619
800
  {
2620
- className: l(
801
+ className: d(
2621
802
  "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",
2622
- a == null ? void 0 : a.root
803
+ i == null ? void 0 : i.root
2623
804
  ),
2624
805
  children: [
2625
- /* @__PURE__ */ o.jsxs(f, { className: l("flex w-full items-center justify-between gap-2", a == null ? void 0 : a.topContent), children: [
2626
- n && /* @__PURE__ */ o.jsx("h5", { className: l("desk-body-regular-l flex flex-1 text-color-dark", a == null ? void 0 : a.subtitle), children: n }),
2627
- i && /* @__PURE__ */ o.jsx(oe, { className: l("bg-color-positive", a == null ? void 0 : a.badge), children: i })
806
+ /* @__PURE__ */ t.jsxs(m, { className: d("flex w-full items-center justify-between gap-2", i == null ? void 0 : i.topContent), children: [
807
+ 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 }),
808
+ n && /* @__PURE__ */ t.jsx(v, { className: d("bg-color-positive", i == null ? void 0 : i.badge), children: n })
2628
809
  ] }),
2629
- /* @__PURE__ */ o.jsxs("div", { className: l("grid w-full grid-cols-2 gap-2 desktop:gap-4", a == null ? void 0 : a.authWrapper), children: [
2630
- /* @__PURE__ */ o.jsx(
2631
- Me,
810
+ /* @__PURE__ */ t.jsxs("div", { className: d("grid w-full grid-cols-2 gap-2 desktop:gap-4", i == null ? void 0 : i.authWrapper), children: [
811
+ /* @__PURE__ */ t.jsx(
812
+ B,
2632
813
  {
2633
- ...t,
814
+ ...e,
2634
815
  classes: {
2635
816
  root: "p-0 outline-0 h-[74px]",
2636
817
  arrowIcon: "hidden",
2637
- ...t.classes
818
+ ...e.classes
2638
819
  }
2639
820
  }
2640
821
  ),
2641
- /* @__PURE__ */ o.jsx(
2642
- Ae,
822
+ /* @__PURE__ */ t.jsx(
823
+ C,
2643
824
  {
2644
- ...r,
825
+ ...x,
2645
826
  classes: {
2646
827
  root: "p-0 outline-0 h-[74px]",
2647
828
  arrowIcon: "hidden",
2648
- ...r.classes
829
+ ...x.classes
2649
830
  }
2650
831
  }
2651
832
  )
@@ -2654,44 +835,44 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2654
835
  }
2655
836
  );
2656
837
  }
2657
- }, fn = (e) => $r(e), De = ({ links: e, classes: t }) => /* @__PURE__ */ o.jsx("nav", { className: l("flex flex-col gap-1", t == null ? void 0 : t.linksWrapper), children: e == null ? void 0 : e.map(({ path: r, label: n }) => /* @__PURE__ */ o.jsx(
2658
- U,
838
+ }, Ct = (o) => mt(o), z = ({ links: o, classes: e }) => /* @__PURE__ */ t.jsx("nav", { className: d("flex flex-col gap-1", e == null ? void 0 : e.linksWrapper), children: o == null ? void 0 : o.map(({ path: x, label: r }) => /* @__PURE__ */ t.jsx(
839
+ g,
2659
840
  {
2660
841
  classes: {
2661
- link: l("w-max", t == null ? void 0 : t.linkText),
2662
- icon: l(t == null ? void 0 : t.linkIcon)
842
+ link: d("w-max", e == null ? void 0 : e.linkText),
843
+ icon: d(e == null ? void 0 : e.linkIcon)
2663
844
  },
2664
- href: r,
2665
- children: n
845
+ href: x,
846
+ children: r
2666
847
  },
2667
- r
2668
- )) }), qr = ({ groupLabel: e, links: t, mobileAccordionProps: r, classes: n }) => {
2669
- var a, f, p;
2670
- const { isMobile: i } = S();
2671
- return /* @__PURE__ */ o.jsxs("div", { className: l("flex flex-col gap-2", n == null ? void 0 : n.columnGroup), children: [
2672
- !i && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2673
- /* @__PURE__ */ o.jsx("h5", { className: l("mob-body-medium-l text-color-dark desktop:desk-body-medium-l", n == null ? void 0 : n.columnGroupHeading), children: e }),
2674
- /* @__PURE__ */ o.jsx(De, { links: t, classes: n == null ? void 0 : n.linksList }, "desktop")
848
+ x
849
+ )) }), ht = ({ groupLabel: o, links: e, mobileAccordionProps: x, classes: r }) => {
850
+ var i, m, h;
851
+ const { isMobile: n } = b();
852
+ return /* @__PURE__ */ t.jsxs("div", { className: d("flex flex-col gap-2", r == null ? void 0 : r.columnGroup), children: [
853
+ !n && /* @__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", r == null ? void 0 : r.columnGroupHeading), children: o }),
855
+ /* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "desktop")
2675
856
  ] }),
2676
- i && /* @__PURE__ */ o.jsx(
2677
- Le,
857
+ n && /* @__PURE__ */ t.jsx(
858
+ _,
2678
859
  {
2679
860
  defaultOpen: !0,
2680
- label: e,
2681
- icon: /* @__PURE__ */ o.jsx(j, { name: "arrows/arrowRight", className: l("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
2682
- ...r,
861
+ label: o,
862
+ icon: /* @__PURE__ */ t.jsx(l, { name: "arrows/arrowRight", className: d("rotate-90 transition-transform group-data-[state=open]:-rotate-90") }),
863
+ ...x,
2683
864
  classes: {
2684
- ...r == null ? void 0 : r.classes,
865
+ ...x == null ? void 0 : x.classes,
2685
866
  header: {
2686
- trigger: l("p-0", (f = (a = r == null ? void 0 : r.classes) == null ? void 0 : a.header) == null ? void 0 : f.trigger)
867
+ trigger: d("p-0", (m = (i = x == null ? void 0 : x.classes) == null ? void 0 : i.header) == null ? void 0 : m.trigger)
2687
868
  },
2688
- contentInner: l("py-2 px-4", (p = r == null ? void 0 : r.classes) == null ? void 0 : p.contentInner)
869
+ contentInner: d("py-2 px-4", (h = x == null ? void 0 : x.classes) == null ? void 0 : h.contentInner)
2689
870
  },
2690
- children: /* @__PURE__ */ o.jsx(De, { links: t, classes: n == null ? void 0 : n.linksList }, "mobile")
871
+ children: /* @__PURE__ */ t.jsx(z, { links: e, classes: r == null ? void 0 : r.linksList }, "mobile")
2691
872
  }
2692
873
  )
2693
874
  ] });
2694
- }, Yr = ({ column: e, mobileAccordionProps: t, classes: r }) => /* @__PURE__ */ o.jsx("div", { className: l("flex flex-col gap-4 desktop:gap-6", r == null ? void 0 : r.column), children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ o.jsx(qr, { ...t, ...n, classes: r == null ? void 0 : r.columnGroup }, n.groupLabel)) }), Zr = I("grid gap-4 grid-cols-1", {
875
+ }, ft = ({ column: o, mobileAccordionProps: e, classes: x }) => /* @__PURE__ */ t.jsx("div", { className: d("flex flex-col gap-4 desktop:gap-6", x == null ? void 0 : x.column), children: o == null ? void 0 : o.map((r) => /* @__PURE__ */ t.jsx(ht, { ...e, ...r, classes: x == null ? void 0 : x.columnGroup }, r.groupLabel)) }), ut = j("grid gap-4 grid-cols-1", {
2695
876
  variants: {
2696
877
  variant: {
2697
878
  twoCols: "desktop:grid-cols-2",
@@ -2702,39 +883,39 @@ const Se = /* @__PURE__ */ gt(Ge), Hr = Se.default || Se, Br = ({ classes: e, in
2702
883
  defaultVariants: {
2703
884
  variant: "fourCols"
2704
885
  }
2705
- }), pn = ({
2706
- columns: e,
2707
- variant: t,
2708
- headline: r,
2709
- mobileAccordionProps: n,
2710
- rootAccordionProps: i,
2711
- classes: a
886
+ }), Bt = ({
887
+ columns: o,
888
+ variant: e,
889
+ headline: x,
890
+ mobileAccordionProps: r,
891
+ rootAccordionProps: n,
892
+ classes: i
2712
893
  }) => {
2713
- var f;
2714
- return /* @__PURE__ */ o.jsx("section", { id: "inter-linking", className: l("min-w-full desktop:min-w-[1140px]", a == null ? void 0 : a.root), children: /* @__PURE__ */ o.jsx(T, { children: /* @__PURE__ */ o.jsx(
2715
- Le,
894
+ var m;
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(
896
+ _,
2716
897
  {
2717
898
  defaultOpen: !0,
2718
- label: /* @__PURE__ */ o.jsx(N, { as: "h4", className: l("text-left", a == null ? void 0 : a.headline), children: r }),
2719
- ...i,
899
+ label: /* @__PURE__ */ t.jsx(a, { as: "h4", className: d("text-left", i == null ? void 0 : i.headline), children: x }),
900
+ ...n,
2720
901
  classes: {
2721
- ...i == null ? void 0 : i.classes,
2722
- content: l("max-w-full bg-color-blue-grey-100 relative", (f = i == null ? void 0 : i.classes) == null ? void 0 : f.content)
902
+ ...n == null ? void 0 : n.classes,
903
+ content: d("max-w-full bg-color-blue-grey-100 relative", (m = n == null ? void 0 : n.classes) == null ? void 0 : m.content)
2723
904
  },
2724
- children: /* @__PURE__ */ o.jsx("div", { className: l(Zr({ variant: t }), a == null ? void 0 : a.columnsWrapper), children: e == null ? void 0 : e.map((p, u) => /* @__PURE__ */ o.jsx(Yr, { ...p, ...n, classes: a == null ? void 0 : a.column }, u)) })
905
+ children: /* @__PURE__ */ t.jsx("div", { className: d(ut({ variant: e }), i == null ? void 0 : i.columnsWrapper), children: o == null ? void 0 : o.map((h, f) => /* @__PURE__ */ t.jsx(ft, { ...h, ...r, classes: i == null ? void 0 : i.column }, f)) })
2725
906
  }
2726
907
  ) }) });
2727
908
  };
2728
909
  export {
2729
- Fe as Advantages,
2730
- fn as AuthProvider,
2731
- an as Banner,
2732
- ye as BannerWithSeparateImg,
2733
- nn as Benefit,
2734
- ln as Footer,
2735
- pn as InterLinking,
2736
- un as LongBanner,
2737
- on as PageHeader,
2738
- dn as Stepper
910
+ H as Advantages,
911
+ Ct as AuthProvider,
912
+ Nt as Banner,
913
+ I as BannerWithSeparateImg,
914
+ wt as Benefit,
915
+ yt as Footer,
916
+ Bt as InterLinking,
917
+ It as LongBanner,
918
+ gt as PageHeader,
919
+ vt as Stepper
2739
920
  };
2740
921
  //# sourceMappingURL=widget.js.map