@alfadocs/ui-kit 1.118.0 → 1.120.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/_chunks/{address-autocomplete-zLygkxFc.js → address-autocomplete-D2uNpxcE.js} +2 -2
- package/dist/_chunks/{address-fields-Dl1ALKhP.js → address-fields-BU65pA-V.js} +2 -2
- package/dist/_chunks/bill-line-table-DUMEHnQ4.js +1754 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-BEmBcb61.js → calendar-appointment-editor-dialog-rw02sXGw.js} +4 -4
- package/dist/_chunks/{compact-editor-fields-6sTWRLtf.js → compact-editor-fields-cP6yh7xv.js} +3 -3
- package/dist/_chunks/counts-BXtzNv_G.js +92 -0
- package/dist/_chunks/{data-grid-DiBSbN2Y.js → data-grid-Bbf8t4z3.js} +2 -2
- package/dist/_chunks/{default-tabs-CD285u0C.js → default-tabs-Cxkw1Ws0.js} +332 -368
- package/dist/_chunks/{document-scanner-5p-Uu8dy.js → document-scanner-CETscDea.js} +2 -2
- package/dist/_chunks/file-code-Cf-_gSzd.js +23 -0
- package/dist/_chunks/{file-manager-CV1_GtjC.js → file-manager-DNq-sEsy.js} +2 -2
- package/dist/_chunks/{file-upload-CxjCs7TX.js → file-upload-DQc0LsBM.js} +385 -311
- package/dist/_chunks/invoice-upload-list-CsFsRgbt.js +952 -0
- package/dist/_chunks/map-view-h6ngp2xi.js +1578 -0
- package/dist/_chunks/maps-MpMxTBov.js +63 -0
- package/dist/_chunks/maps-core-gate-DKx96CC_.js +1492 -0
- package/dist/_chunks/{notes-panel-CHR-Jv6N.js → notes-panel-BOwlTz2-.js} +2 -2
- package/dist/_chunks/package-plus-CTecQK3x.js +25 -0
- package/dist/_chunks/{practice-results-b3uchdBn.js → practice-results-yCresv86.js} +759 -750
- package/dist/_chunks/{public-footer-CB7ruuLI.js → public-footer-C8UIzqLJ.js} +326 -243
- package/dist/_chunks/{radiograph-panel.agent-9jwXlOXB.js → radiograph-panel.agent-Dcv16n7u.js} +2 -2
- package/dist/_chunks/{reserved.agent-V2Eqoabh.js → reserved.agent-DRSZ8UcL.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CMPA5Wgy.js → rich-text-editor-BLEdXJ0l.js} +2 -2
- package/dist/_chunks/{signed-out-frame-bh7fn_Px.js → signed-out-frame-fUf7tqs3.js} +2 -2
- package/dist/_chunks/{task-editor-WdDCqbIL.js → task-editor-Czcx9B-3.js} +2 -2
- package/dist/_chunks/{toolbar-z8vXnpXz.js → toolbar-DoKcoE2q.js} +2 -2
- package/dist/_chunks/types-BrJRsnSG.js +291 -0
- package/dist/_chunks/warehouse-load-summary-D88M4Ii7.js +255 -0
- package/dist/agent-catalog.json +360 -14
- package/dist/agent-i18n/en.json +31 -2
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/warehouse-load/counts.d.ts +82 -0
- package/dist/components/_shared/warehouse-load/index.d.ts +4 -0
- package/dist/components/_shared/warehouse-load/maps.d.ts +67 -0
- package/dist/components/_shared/warehouse-load/types.d.ts +18 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +2 -0
- package/dist/components/bill-line-table/bill-line-table.header.d.ts +7 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +10 -1
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +66 -1
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +12 -0
- package/dist/components/bill-line-table/index.d.ts +2 -2
- package/dist/components/bill-line-table/index.js +10 -8
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/data-grid/data-grid.variants.d.ts +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +30 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/flag/flag-view.d.ts +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/invoice-upload/index.d.ts +5 -0
- package/dist/components/invoice-upload/index.js +7 -0
- package/dist/components/invoice-upload/invoice-upload.agent.d.ts +4 -0
- package/dist/components/invoice-upload/invoice-upload.d.ts +3 -0
- package/dist/components/invoice-upload/types.d.ts +72 -0
- package/dist/components/invoice-upload-list/cells.d.ts +36 -0
- package/dist/components/invoice-upload-list/columns.d.ts +14 -0
- package/dist/components/invoice-upload-list/handle.d.ts +18 -0
- package/dist/components/invoice-upload-list/index.d.ts +5 -0
- package/dist/components/invoice-upload-list/index.js +10 -0
- package/dist/components/invoice-upload-list/invoice-upload-list.agent.d.ts +4 -0
- package/dist/components/invoice-upload-list/invoice-upload-list.d.ts +10 -0
- package/dist/components/invoice-upload-list/invoice-upload-list.variants.d.ts +28 -0
- package/dist/components/invoice-upload-list/model.d.ts +40 -0
- package/dist/components/invoice-upload-list/types.d.ts +154 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view-pin-geometry.d.ts +39 -0
- package/dist/components/map-view/map-view-pin.d.ts +15 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -0
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +24 -0
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/warehouse-load-summary/index.d.ts +4 -0
- package/dist/components/warehouse-load-summary/index.js +6 -0
- package/dist/components/warehouse-load-summary/model.d.ts +8 -0
- package/dist/components/warehouse-load-summary/types.d.ts +50 -0
- package/dist/components/warehouse-load-summary/warehouse-load-summary.agent.d.ts +4 -0
- package/dist/components/warehouse-load-summary/warehouse-load-summary.d.ts +7 -0
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +203 -0
- package/dist/i18n/locales/ar.js +197 -4
- package/dist/i18n/locales/de.d.ts +203 -0
- package/dist/i18n/locales/de.js +201 -4
- package/dist/i18n/locales/el.d.ts +203 -0
- package/dist/i18n/locales/el.js +201 -4
- package/dist/i18n/locales/en.d.ts +203 -0
- package/dist/i18n/locales/en.js +203 -0
- package/dist/i18n/locales/es.d.ts +203 -0
- package/dist/i18n/locales/es.js +199 -4
- package/dist/i18n/locales/fr.d.ts +203 -0
- package/dist/i18n/locales/fr.js +199 -4
- package/dist/i18n/locales/hi.d.ts +203 -0
- package/dist/i18n/locales/hi.js +197 -4
- package/dist/i18n/locales/it.d.ts +203 -0
- package/dist/i18n/locales/it.js +197 -4
- package/dist/i18n/locales/ja.d.ts +203 -0
- package/dist/i18n/locales/ja.js +197 -4
- package/dist/i18n/locales/nl.d.ts +203 -0
- package/dist/i18n/locales/nl.js +197 -4
- package/dist/i18n/locales/pl.d.ts +203 -0
- package/dist/i18n/locales/pl.js +197 -4
- package/dist/i18n/locales/pt.d.ts +203 -0
- package/dist/i18n/locales/pt.js +199 -4
- package/dist/i18n/locales/ro.d.ts +203 -0
- package/dist/i18n/locales/ro.js +197 -4
- package/dist/i18n/locales/ru.d.ts +203 -0
- package/dist/i18n/locales/ru.js +197 -4
- package/dist/i18n/locales/sq.d.ts +203 -0
- package/dist/i18n/locales/sq.js +199 -4
- package/dist/i18n/locales/sv.d.ts +203 -0
- package/dist/i18n/locales/sv.js +197 -4
- package/dist/i18n/locales/tr.d.ts +203 -0
- package/dist/i18n/locales/tr.js +197 -4
- package/dist/i18n/locales/zh.d.ts +203 -0
- package/dist/i18n/locales/zh.js +197 -4
- package/dist/index.js +1190 -1174
- package/dist/locales/ar.json +207 -4
- package/dist/locales/de.json +207 -4
- package/dist/locales/el.json +207 -4
- package/dist/locales/en.json +203 -0
- package/dist/locales/es.json +207 -4
- package/dist/locales/fr.json +207 -4
- package/dist/locales/hi.json +207 -4
- package/dist/locales/it.json +207 -4
- package/dist/locales/ja.json +207 -4
- package/dist/locales/nl.json +207 -4
- package/dist/locales/pl.json +207 -4
- package/dist/locales/pt.json +207 -4
- package/dist/locales/ro.json +207 -4
- package/dist/locales/ru.json +207 -4
- package/dist/locales/sq.json +207 -4
- package/dist/locales/sv.json +207 -4
- package/dist/locales/tr.json +207 -4
- package/dist/locales/zh.json +207 -4
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +16 -1
- package/dist/_chunks/bill-line-table-vCnVo7_a.js +0 -1565
- package/dist/_chunks/map-view-CHeGd94F.js +0 -1443
- package/dist/_chunks/maps-core-gate-C4dyo1ic.js +0 -1571
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { S as k, L as
|
|
6
|
-
import { S as
|
|
7
|
-
import { L as
|
|
8
|
-
import { A as
|
|
9
|
-
const
|
|
1
|
+
import { jsxs as o, jsx as t, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as q, useMemo as D, useImperativeHandle as J, useId as Q } from "react";
|
|
3
|
+
import { c as U } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Z } from "react-i18next";
|
|
5
|
+
import { S as k, L as c } from "./link-DtCfnLnF.js";
|
|
6
|
+
import { S as O } from "./separator-Bdc9bqoJ.js";
|
|
7
|
+
import { L as P } from "./logo-hIsyVE96.js";
|
|
8
|
+
import { A as tt, b as et, c as st, a as nt } from "./accordion-Ch3xp0mX.js";
|
|
9
|
+
const H = "https://www.alfadocs.com", G = {
|
|
10
10
|
privacy: "/privacy-prenotazione-online",
|
|
11
11
|
terms: "/it/condizioni-di-utilizzo",
|
|
12
12
|
contacts: "/it/contattaci"
|
|
13
|
-
},
|
|
14
|
-
it:
|
|
13
|
+
}, at = {
|
|
14
|
+
it: G,
|
|
15
15
|
en: {
|
|
16
16
|
privacy: "/en/privacy",
|
|
17
17
|
terms: "/en/terms-of-use",
|
|
@@ -32,41 +32,41 @@ const M = "https://www.alfadocs.com", H = {
|
|
|
32
32
|
terms: "/es/condiciones-uso",
|
|
33
33
|
contacts: "/es/contacto"
|
|
34
34
|
}
|
|
35
|
-
},
|
|
36
|
-
function
|
|
37
|
-
return !e || !e.startsWith(
|
|
35
|
+
}, dt = "https://";
|
|
36
|
+
function rt(e) {
|
|
37
|
+
return !e || !e.startsWith(dt) ? H : e.replace(/\/+$/, "");
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
var
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
43
|
-
const n = (
|
|
44
|
-
return n ||
|
|
39
|
+
function j(e, s, a) {
|
|
40
|
+
var r, i;
|
|
41
|
+
const d = (r = a == null ? void 0 : a[s]) == null ? void 0 : r[e];
|
|
42
|
+
if (d) return d;
|
|
43
|
+
const n = (i = at[e]) == null ? void 0 : i[s];
|
|
44
|
+
return n || G[s];
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
const
|
|
46
|
+
function ot(e, s, a) {
|
|
47
|
+
const d = rt(s), n = (e || "it").split("-")[0];
|
|
48
48
|
return {
|
|
49
|
-
privacy: `${
|
|
50
|
-
terms: `${
|
|
51
|
-
contacts: `${
|
|
49
|
+
privacy: `${d}${j(n, "privacy", a)}`,
|
|
50
|
+
terms: `${d}${j(n, "terms", a)}`,
|
|
51
|
+
contacts: `${d}${j(n, "contacts", a)}`
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const it = [
|
|
55
55
|
"linkedin",
|
|
56
56
|
"youtube",
|
|
57
57
|
"instagram",
|
|
58
58
|
"facebook"
|
|
59
|
-
],
|
|
59
|
+
], lt = {
|
|
60
60
|
linkedin: "https://www.linkedin.com/company/alfadocs",
|
|
61
61
|
youtube: "https://www.youtube.com/@alfadocs",
|
|
62
62
|
instagram: "https://www.instagram.com/alfadocs",
|
|
63
63
|
facebook: "https://www.facebook.com/alfadocs"
|
|
64
|
-
},
|
|
64
|
+
}, ct = {
|
|
65
65
|
linkedin: k.linkedin,
|
|
66
66
|
youtube: k.youtube,
|
|
67
67
|
instagram: k.instagram,
|
|
68
68
|
facebook: k.facebook
|
|
69
|
-
},
|
|
69
|
+
}, mt = "Alfadocs GmbH", ut = "DE301955405", ft = U(
|
|
70
70
|
[
|
|
71
71
|
"ds:w-full",
|
|
72
72
|
"ds:text-[color:var(--muted-foreground)]",
|
|
@@ -109,13 +109,13 @@ const at = [
|
|
|
109
109
|
},
|
|
110
110
|
defaultVariants: { variant: "compact" }
|
|
111
111
|
}
|
|
112
|
-
),
|
|
113
|
-
function
|
|
114
|
-
return
|
|
112
|
+
), pt = /^(https?:\/\/|mailto:|tel:|\/(?!\/))/i;
|
|
113
|
+
function x(e) {
|
|
114
|
+
return pt.test(e) ? e : "#";
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function u() {
|
|
117
117
|
return /* @__PURE__ */ t(
|
|
118
|
-
|
|
118
|
+
O,
|
|
119
119
|
{
|
|
120
120
|
orientation: "vertical",
|
|
121
121
|
decorative: !0,
|
|
@@ -124,19 +124,19 @@ function m() {
|
|
|
124
124
|
}
|
|
125
125
|
);
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function bt({
|
|
128
128
|
sections: e,
|
|
129
129
|
label: s,
|
|
130
|
-
footerId:
|
|
130
|
+
footerId: a
|
|
131
131
|
}) {
|
|
132
|
-
const
|
|
132
|
+
const d = a ? `${a}-` : "";
|
|
133
133
|
return /* @__PURE__ */ t(
|
|
134
134
|
"nav",
|
|
135
135
|
{
|
|
136
136
|
"aria-label": s,
|
|
137
137
|
"data-slot": "link-sections",
|
|
138
138
|
className: "ds:mb-[var(--spacing-lg)] ds:pb-[var(--spacing-lg)]",
|
|
139
|
-
children: /* @__PURE__ */ t("div", { className: "ds:mx-auto ds:grid ds:max-w-[64rem] ds:grid-cols-1 ds:gap-[var(--spacing-lg)] ds:md:grid-cols-2", children: e.map((n) => /* @__PURE__ */
|
|
139
|
+
children: /* @__PURE__ */ t("div", { className: "ds:mx-auto ds:grid ds:max-w-[64rem] ds:grid-cols-1 ds:gap-[var(--spacing-lg)] ds:md:grid-cols-2", children: e.map((n) => /* @__PURE__ */ o(
|
|
140
140
|
"div",
|
|
141
141
|
{
|
|
142
142
|
className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
@@ -144,13 +144,19 @@ function ut({
|
|
|
144
144
|
/* @__PURE__ */ t(
|
|
145
145
|
"h2",
|
|
146
146
|
{
|
|
147
|
-
id: `${
|
|
147
|
+
id: `${d}link-section-${n.id}`,
|
|
148
148
|
className: "ds:m-0 ds:text-[length:var(--font-size-sm)] ds:font-semibold ds:text-[color:var(--foreground)]",
|
|
149
149
|
children: n.title
|
|
150
150
|
}
|
|
151
151
|
),
|
|
152
|
-
/* @__PURE__ */ t(
|
|
153
|
-
|
|
152
|
+
/* @__PURE__ */ t(
|
|
153
|
+
"ul",
|
|
154
|
+
{
|
|
155
|
+
className: `ds:m-0 ds:grid ds:list-none ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:p-0 ${n.columns === 1 ? "ds:grid-cols-1" : "ds:grid-cols-2"}`,
|
|
156
|
+
children: n.links.map((r) => /* @__PURE__ */ t("li", { className: "ds:min-w-0", children: /* @__PURE__ */ t(c, { href: x(r.href), children: r.label }) }, `${r.href}|${r.label}`))
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
n.more ? /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(c, { href: x(n.more.href), children: n.more.label }) }) : null
|
|
154
160
|
]
|
|
155
161
|
},
|
|
156
162
|
n.id
|
|
@@ -158,7 +164,7 @@ function ut({
|
|
|
158
164
|
}
|
|
159
165
|
);
|
|
160
166
|
}
|
|
161
|
-
function
|
|
167
|
+
function K({
|
|
162
168
|
copyright: e,
|
|
163
169
|
align: s = "center"
|
|
164
170
|
}) {
|
|
@@ -174,118 +180,122 @@ function O({
|
|
|
174
180
|
}
|
|
175
181
|
);
|
|
176
182
|
}
|
|
177
|
-
const
|
|
183
|
+
const gt = q(
|
|
178
184
|
function({
|
|
179
185
|
variant: s,
|
|
180
|
-
marketingBaseUrl:
|
|
181
|
-
legalUrlOverrides:
|
|
186
|
+
marketingBaseUrl: a,
|
|
187
|
+
legalUrlOverrides: d,
|
|
182
188
|
linkGroups: n,
|
|
183
|
-
linkSections:
|
|
184
|
-
linkSectionsLabel:
|
|
189
|
+
linkSections: r,
|
|
190
|
+
linkSectionsLabel: i,
|
|
185
191
|
socials: f,
|
|
186
|
-
contactsGroup:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
contactsGroup: I,
|
|
193
|
+
brandLinks: A,
|
|
194
|
+
contactsInLegalBar: L = !1,
|
|
195
|
+
description: T,
|
|
196
|
+
mobileColumns: N = "accordion",
|
|
197
|
+
logoSlot: _,
|
|
198
|
+
extraNavSlot: g,
|
|
199
|
+
trustBadgesSlot: h,
|
|
200
|
+
showTagline: z = !1,
|
|
193
201
|
showCopyright: y = !0,
|
|
194
|
-
id:
|
|
195
|
-
"aria-label":
|
|
196
|
-
},
|
|
197
|
-
const { t:
|
|
198
|
-
() =>
|
|
199
|
-
[p.language,
|
|
202
|
+
id: v,
|
|
203
|
+
"aria-label": S
|
|
204
|
+
}, l) {
|
|
205
|
+
const { t: m, i18n: p } = Z("ui"), w = D(
|
|
206
|
+
() => ot(p.language, a, d),
|
|
207
|
+
[p.language, a, d]
|
|
200
208
|
);
|
|
201
|
-
|
|
202
|
-
|
|
209
|
+
J(
|
|
210
|
+
l,
|
|
203
211
|
() => ({
|
|
204
212
|
getVariant: () => s,
|
|
205
|
-
getLegalUrls: () =>
|
|
213
|
+
getLegalUrls: () => w
|
|
206
214
|
}),
|
|
207
|
-
[s,
|
|
215
|
+
[s, w]
|
|
208
216
|
);
|
|
209
|
-
const
|
|
210
|
-
year:
|
|
211
|
-
entity:
|
|
212
|
-
vat: `${
|
|
213
|
-
}) : void 0,
|
|
214
|
-
privacy:
|
|
215
|
-
terms:
|
|
216
|
-
contacts:
|
|
217
|
-
},
|
|
218
|
-
return /* @__PURE__ */
|
|
217
|
+
const Y = (/* @__PURE__ */ new Date()).getFullYear(), E = y ? m("footer.copyright", {
|
|
218
|
+
year: Y,
|
|
219
|
+
entity: mt,
|
|
220
|
+
vat: `${m("footer.vatLabel")} ${ut}`
|
|
221
|
+
}) : void 0, M = z ? m("footer.tagline") : void 0, W = S ?? m("footer.nav.label"), C = {
|
|
222
|
+
privacy: m("footer.nav.privacy"),
|
|
223
|
+
terms: m("footer.nav.terms"),
|
|
224
|
+
contacts: m("footer.nav.contacts")
|
|
225
|
+
}, V = D(() => f !== void 0 ? f : it.map((B) => ({ network: B })), [f]);
|
|
226
|
+
return /* @__PURE__ */ o(
|
|
219
227
|
"footer",
|
|
220
228
|
{
|
|
221
|
-
id:
|
|
229
|
+
id: v,
|
|
222
230
|
role: "contentinfo",
|
|
223
|
-
"aria-label":
|
|
231
|
+
"aria-label": W,
|
|
224
232
|
"data-component": "public-footer",
|
|
225
|
-
"data-component-id":
|
|
233
|
+
"data-component-id": v,
|
|
226
234
|
"data-variant": s,
|
|
227
|
-
className:
|
|
235
|
+
className: ft({ variant: s }),
|
|
228
236
|
children: [
|
|
229
|
-
|
|
230
|
-
|
|
237
|
+
r && r.length > 0 ? /* @__PURE__ */ t(
|
|
238
|
+
bt,
|
|
231
239
|
{
|
|
232
|
-
sections:
|
|
233
|
-
label:
|
|
234
|
-
footerId:
|
|
240
|
+
sections: r,
|
|
241
|
+
label: i,
|
|
242
|
+
footerId: v
|
|
235
243
|
}
|
|
236
244
|
) : null,
|
|
237
245
|
s === "minimal" && /* @__PURE__ */ t(
|
|
238
|
-
|
|
246
|
+
_t,
|
|
239
247
|
{
|
|
240
|
-
legalUrls:
|
|
241
|
-
labels:
|
|
242
|
-
copyright:
|
|
243
|
-
trustBadgesSlot:
|
|
244
|
-
extraNavSlot:
|
|
248
|
+
legalUrls: w,
|
|
249
|
+
labels: C,
|
|
250
|
+
copyright: E,
|
|
251
|
+
trustBadgesSlot: h,
|
|
252
|
+
extraNavSlot: g
|
|
245
253
|
}
|
|
246
254
|
),
|
|
247
255
|
s === "compact" && /* @__PURE__ */ t(
|
|
248
|
-
|
|
256
|
+
yt,
|
|
249
257
|
{
|
|
250
|
-
legalUrls:
|
|
251
|
-
labels:
|
|
252
|
-
copyright:
|
|
253
|
-
tagline:
|
|
254
|
-
socials:
|
|
255
|
-
logoSlot:
|
|
256
|
-
extraNavSlot:
|
|
257
|
-
t:
|
|
258
|
+
legalUrls: w,
|
|
259
|
+
labels: C,
|
|
260
|
+
copyright: E,
|
|
261
|
+
tagline: M,
|
|
262
|
+
socials: V,
|
|
263
|
+
logoSlot: _,
|
|
264
|
+
extraNavSlot: g,
|
|
265
|
+
t: m
|
|
258
266
|
}
|
|
259
267
|
),
|
|
260
268
|
s === "full" && /* @__PURE__ */ t(
|
|
261
|
-
|
|
269
|
+
wt,
|
|
262
270
|
{
|
|
263
|
-
legalUrls:
|
|
264
|
-
labels:
|
|
265
|
-
copyright:
|
|
266
|
-
tagline:
|
|
271
|
+
legalUrls: w,
|
|
272
|
+
labels: C,
|
|
273
|
+
copyright: E,
|
|
274
|
+
tagline: M,
|
|
267
275
|
linkGroups: n,
|
|
268
|
-
contactsGroup:
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
+
contactsGroup: I,
|
|
277
|
+
brandLinks: A,
|
|
278
|
+
contactsInLegalBar: L,
|
|
279
|
+
description: T,
|
|
280
|
+
mobileColumns: N,
|
|
281
|
+
socials: V,
|
|
282
|
+
logoSlot: _,
|
|
283
|
+
extraNavSlot: g,
|
|
284
|
+
trustBadgesSlot: h,
|
|
285
|
+
t: m
|
|
276
286
|
}
|
|
277
287
|
)
|
|
278
288
|
]
|
|
279
289
|
}
|
|
280
290
|
);
|
|
281
291
|
}
|
|
282
|
-
),
|
|
292
|
+
), $ = 'ds:relative ds:before:absolute ds:before:inset-x-0 ds:before:inset-y-[calc((var(--accessible-target-floor,var(--spacing-lg))-100%)/-2)] ds:before:content-[""]', F = [
|
|
283
293
|
"ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:text-muted-foreground ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:no-underline ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:underline-offset-4",
|
|
284
294
|
"ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:hover:text-foreground ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:hover:underline ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:active:opacity-80",
|
|
285
295
|
"ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-[length:var(--focus-ring-width)] ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-solid",
|
|
286
296
|
"ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-ring ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
287
297
|
"ds:[&_a:is(:not([data-intent]),[data-intent=default],[data-intent=subtle]):not([data-component=button])]:forced-colors:focus-visible:outline-[CanvasText]"
|
|
288
|
-
].join(" "),
|
|
298
|
+
].join(" "), ht = [
|
|
289
299
|
"ds:[&_button]:m-0 ds:[&_button]:inline ds:[&_button]:h-auto ds:[&_button]:min-h-0 ds:[&_button]:p-0",
|
|
290
300
|
"ds:[&_button]:cursor-pointer ds:[&_button]:appearance-none ds:[&_button]:border-0 ds:[&_button]:bg-transparent",
|
|
291
301
|
"ds:[&_button]:rounded-[var(--radius-xs)] ds:[&_button]:font-[inherit] ds:[&_button]:font-normal ds:[&_button]:text-[length:inherit]",
|
|
@@ -294,95 +304,95 @@ const mt = Y(
|
|
|
294
304
|
"ds:[&_button]:focus-visible:outline-[length:var(--focus-ring-width)] ds:[&_button]:focus-visible:outline-solid",
|
|
295
305
|
"ds:[&_button]:focus-visible:outline-ring ds:[&_button]:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
296
306
|
"ds:[&_button]:forced-colors:focus-visible:outline-[CanvasText]"
|
|
297
|
-
].join(" "),
|
|
298
|
-
function
|
|
307
|
+
].join(" "), vt = `${F} ${ht}`, xt = 'ds:[&_:is(a,button)]:relative ds:[&_:is(a,button)]:before:absolute ds:[&_:is(a,button)]:before:inset-x-0 ds:[&_:is(a,button)]:before:inset-y-[calc((var(--accessible-target-floor,var(--spacing-lg))-100%)/-2)] ds:[&_:is(a,button)]:before:block ds:[&_:is(a,button)]:before:content-[""]';
|
|
308
|
+
function _t({
|
|
299
309
|
legalUrls: e,
|
|
300
310
|
labels: s,
|
|
301
|
-
copyright:
|
|
302
|
-
trustBadgesSlot:
|
|
311
|
+
copyright: a,
|
|
312
|
+
trustBadgesSlot: d,
|
|
303
313
|
extraNavSlot: n
|
|
304
314
|
}) {
|
|
305
|
-
return /* @__PURE__ */ t("div", { className: "ds:@container/pfoot ds:w-full", children: /* @__PURE__ */
|
|
306
|
-
|
|
315
|
+
return /* @__PURE__ */ t("div", { className: "ds:@container/pfoot ds:w-full", children: /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-x-[var(--spacing-md)] ds:@[1024px]/pfoot:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", children: [
|
|
316
|
+
d && /* @__PURE__ */ t(
|
|
307
317
|
"span",
|
|
308
318
|
{
|
|
309
319
|
"data-slot": "trust-badges",
|
|
310
320
|
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:me-[var(--spacing-sm)]",
|
|
311
|
-
children:
|
|
321
|
+
children: d
|
|
312
322
|
}
|
|
313
323
|
),
|
|
314
324
|
/* @__PURE__ */ t(
|
|
315
|
-
|
|
325
|
+
c,
|
|
316
326
|
{
|
|
317
327
|
href: e.privacy,
|
|
318
328
|
external: !0,
|
|
319
329
|
externalIcon: !1,
|
|
320
330
|
intent: "subtle",
|
|
321
|
-
className:
|
|
331
|
+
className: $,
|
|
322
332
|
children: s.privacy
|
|
323
333
|
}
|
|
324
334
|
),
|
|
325
|
-
/* @__PURE__ */ t(
|
|
335
|
+
/* @__PURE__ */ t(u, {}),
|
|
326
336
|
/* @__PURE__ */ t(
|
|
327
|
-
|
|
337
|
+
c,
|
|
328
338
|
{
|
|
329
339
|
href: e.terms,
|
|
330
340
|
external: !0,
|
|
331
341
|
externalIcon: !1,
|
|
332
342
|
intent: "subtle",
|
|
333
|
-
className:
|
|
343
|
+
className: $,
|
|
334
344
|
children: s.terms
|
|
335
345
|
}
|
|
336
346
|
),
|
|
337
|
-
n ? /* @__PURE__ */
|
|
338
|
-
/* @__PURE__ */ t(
|
|
347
|
+
n ? /* @__PURE__ */ o(b, { children: [
|
|
348
|
+
/* @__PURE__ */ t(u, {}),
|
|
339
349
|
/* @__PURE__ */ t(
|
|
340
350
|
"span",
|
|
341
351
|
{
|
|
342
352
|
"data-slot": "extra-nav",
|
|
343
353
|
className: [
|
|
344
354
|
"ds:inline-flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)]",
|
|
345
|
-
|
|
346
|
-
|
|
355
|
+
vt,
|
|
356
|
+
xt
|
|
347
357
|
].join(" "),
|
|
348
358
|
children: n
|
|
349
359
|
}
|
|
350
360
|
)
|
|
351
361
|
] }) : null,
|
|
352
|
-
|
|
353
|
-
/* @__PURE__ */ t(
|
|
354
|
-
/* @__PURE__ */ t("span", { className: "ds:basis-full ds:text-center ds:@[1024px]/pfoot:basis-auto", children:
|
|
362
|
+
a ? /* @__PURE__ */ o(b, { children: [
|
|
363
|
+
/* @__PURE__ */ t(u, {}),
|
|
364
|
+
/* @__PURE__ */ t("span", { className: "ds:basis-full ds:text-center ds:@[1024px]/pfoot:basis-auto", children: a })
|
|
355
365
|
] }) : null
|
|
356
366
|
] }) });
|
|
357
367
|
}
|
|
358
|
-
function
|
|
368
|
+
function X({
|
|
359
369
|
socials: e,
|
|
360
370
|
t: s,
|
|
361
|
-
size:
|
|
371
|
+
size: a
|
|
362
372
|
}) {
|
|
363
373
|
if (e.length === 0) return null;
|
|
364
|
-
const
|
|
374
|
+
const d = a === "sm" ? "ds:size-4" : "ds:size-5";
|
|
365
375
|
return /* @__PURE__ */ t(
|
|
366
376
|
"ul",
|
|
367
377
|
{
|
|
368
378
|
"data-slot": "socials",
|
|
369
379
|
className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
370
380
|
children: e.map((n) => {
|
|
371
|
-
const
|
|
381
|
+
const r = ct[n.network], i = n.href ?? lt[n.network], f = s(`footer.social.aria.${n.network}`);
|
|
372
382
|
return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
|
|
373
|
-
|
|
383
|
+
c,
|
|
374
384
|
{
|
|
375
|
-
href:
|
|
385
|
+
href: x(i),
|
|
376
386
|
external: !0,
|
|
377
387
|
externalIcon: !1,
|
|
378
388
|
intent: "subtle",
|
|
379
389
|
"aria-label": f,
|
|
380
390
|
className: "ds:inline-flex ds:items-center ds:justify-center ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
|
|
381
391
|
children: /* @__PURE__ */ t(
|
|
382
|
-
|
|
392
|
+
r,
|
|
383
393
|
{
|
|
384
394
|
"aria-hidden": "true",
|
|
385
|
-
className:
|
|
395
|
+
className: d,
|
|
386
396
|
focusable: "false"
|
|
387
397
|
}
|
|
388
398
|
)
|
|
@@ -392,46 +402,46 @@ function P({
|
|
|
392
402
|
}
|
|
393
403
|
);
|
|
394
404
|
}
|
|
395
|
-
function
|
|
405
|
+
function yt({
|
|
396
406
|
legalUrls: e,
|
|
397
407
|
labels: s,
|
|
398
|
-
copyright:
|
|
399
|
-
tagline:
|
|
408
|
+
copyright: a,
|
|
409
|
+
tagline: d,
|
|
400
410
|
socials: n,
|
|
401
|
-
logoSlot:
|
|
402
|
-
extraNavSlot:
|
|
411
|
+
logoSlot: r,
|
|
412
|
+
extraNavSlot: i,
|
|
403
413
|
t: f
|
|
404
414
|
}) {
|
|
405
|
-
return /* @__PURE__ */
|
|
406
|
-
n.length > 0 ? /* @__PURE__ */ t(
|
|
407
|
-
/* @__PURE__ */ t("div", { className: "ds:@container/pfoot ds:w-full", children: /* @__PURE__ */
|
|
408
|
-
|
|
415
|
+
return /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-md)]", children: [
|
|
416
|
+
n.length > 0 ? /* @__PURE__ */ t(X, { socials: n, t: f, size: "sm" }) : null,
|
|
417
|
+
/* @__PURE__ */ t("div", { className: "ds:@container/pfoot ds:w-full", children: /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-x-[var(--spacing-md)] ds:@[1024px]/pfoot:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", children: [
|
|
418
|
+
r !== void 0 ? r !== null && r !== !1 && r !== "" ? /* @__PURE__ */ o(b, { children: [
|
|
409
419
|
/* @__PURE__ */ t(
|
|
410
420
|
"span",
|
|
411
421
|
{
|
|
412
422
|
"data-slot": "compact-logo",
|
|
413
423
|
className: "ds:inline-flex ds:items-center ds:opacity-70",
|
|
414
|
-
children:
|
|
424
|
+
children: r
|
|
415
425
|
}
|
|
416
426
|
),
|
|
417
|
-
/* @__PURE__ */ t(
|
|
427
|
+
/* @__PURE__ */ t(u, {})
|
|
418
428
|
] }) : null : (
|
|
419
429
|
// No consumer override — render the kit's default small
|
|
420
430
|
// wordmark, muted so it reads as marker not headline.
|
|
421
|
-
/* @__PURE__ */
|
|
431
|
+
/* @__PURE__ */ o(b, { children: [
|
|
422
432
|
/* @__PURE__ */ t(
|
|
423
433
|
"span",
|
|
424
434
|
{
|
|
425
435
|
"data-slot": "compact-logo",
|
|
426
436
|
className: "ds:inline-flex ds:items-center ds:opacity-70",
|
|
427
|
-
children: /* @__PURE__ */ t(
|
|
437
|
+
children: /* @__PURE__ */ t(P, { variant: "wordmark", tone: "auto", "aria-label": "Alfadocs" })
|
|
428
438
|
}
|
|
429
439
|
),
|
|
430
|
-
/* @__PURE__ */ t(
|
|
440
|
+
/* @__PURE__ */ t(u, {})
|
|
431
441
|
] })
|
|
432
442
|
),
|
|
433
443
|
/* @__PURE__ */ t(
|
|
434
|
-
|
|
444
|
+
c,
|
|
435
445
|
{
|
|
436
446
|
href: e.privacy,
|
|
437
447
|
external: !0,
|
|
@@ -440,9 +450,9 @@ function vt({
|
|
|
440
450
|
children: s.privacy
|
|
441
451
|
}
|
|
442
452
|
),
|
|
443
|
-
/* @__PURE__ */ t(
|
|
453
|
+
/* @__PURE__ */ t(u, {}),
|
|
444
454
|
/* @__PURE__ */ t(
|
|
445
|
-
|
|
455
|
+
c,
|
|
446
456
|
{
|
|
447
457
|
href: e.terms,
|
|
448
458
|
external: !0,
|
|
@@ -451,9 +461,9 @@ function vt({
|
|
|
451
461
|
children: s.terms
|
|
452
462
|
}
|
|
453
463
|
),
|
|
454
|
-
/* @__PURE__ */ t(
|
|
464
|
+
/* @__PURE__ */ t(u, {}),
|
|
455
465
|
/* @__PURE__ */ t(
|
|
456
|
-
|
|
466
|
+
c,
|
|
457
467
|
{
|
|
458
468
|
href: e.contacts,
|
|
459
469
|
external: !0,
|
|
@@ -462,23 +472,23 @@ function vt({
|
|
|
462
472
|
children: s.contacts
|
|
463
473
|
}
|
|
464
474
|
),
|
|
465
|
-
|
|
466
|
-
/* @__PURE__ */ t(
|
|
467
|
-
/* @__PURE__ */ t("span", { "data-slot": "extra-nav", className:
|
|
475
|
+
i && /* @__PURE__ */ o(b, { children: [
|
|
476
|
+
/* @__PURE__ */ t(u, {}),
|
|
477
|
+
/* @__PURE__ */ t("span", { "data-slot": "extra-nav", className: F, children: i })
|
|
468
478
|
] })
|
|
469
479
|
] }) }),
|
|
470
|
-
|
|
471
|
-
|
|
480
|
+
a ? /* @__PURE__ */ t(K, { copyright: a }) : null,
|
|
481
|
+
d ? /* @__PURE__ */ t(
|
|
472
482
|
"p",
|
|
473
483
|
{
|
|
474
484
|
"data-slot": "tagline",
|
|
475
485
|
className: "ds:m-0 ds:text-center ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:italic",
|
|
476
|
-
children:
|
|
486
|
+
children: d
|
|
477
487
|
}
|
|
478
488
|
) : null
|
|
479
489
|
] });
|
|
480
490
|
}
|
|
481
|
-
function
|
|
491
|
+
function Nt(e, s) {
|
|
482
492
|
return {
|
|
483
493
|
key: "legal",
|
|
484
494
|
links: [
|
|
@@ -488,100 +498,103 @@ function ht(e, s) {
|
|
|
488
498
|
]
|
|
489
499
|
};
|
|
490
500
|
}
|
|
491
|
-
function
|
|
501
|
+
function wt({
|
|
492
502
|
legalUrls: e,
|
|
493
503
|
labels: s,
|
|
494
|
-
copyright:
|
|
495
|
-
tagline:
|
|
504
|
+
copyright: a,
|
|
505
|
+
tagline: d,
|
|
496
506
|
linkGroups: n,
|
|
497
|
-
contactsGroup:
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
507
|
+
contactsGroup: r,
|
|
508
|
+
brandLinks: i,
|
|
509
|
+
contactsInLegalBar: f,
|
|
510
|
+
description: I,
|
|
511
|
+
mobileColumns: A,
|
|
512
|
+
socials: L,
|
|
513
|
+
logoSlot: T,
|
|
514
|
+
extraNavSlot: N,
|
|
515
|
+
trustBadgesSlot: _,
|
|
516
|
+
t: g
|
|
505
517
|
}) {
|
|
506
|
-
const
|
|
507
|
-
(
|
|
508
|
-
...
|
|
518
|
+
const h = n ?? [], z = r !== void 0 && h.some((l) => l.key === r), y = f ? h : z ? h.map(
|
|
519
|
+
(l) => l.key === r ? {
|
|
520
|
+
...l,
|
|
509
521
|
links: [
|
|
510
|
-
...
|
|
522
|
+
...l.links,
|
|
511
523
|
{
|
|
512
524
|
href: e.contacts,
|
|
513
525
|
label: s.contacts,
|
|
514
526
|
external: !0
|
|
515
527
|
}
|
|
516
528
|
]
|
|
517
|
-
} :
|
|
518
|
-
) : [...
|
|
519
|
-
return /* @__PURE__ */
|
|
520
|
-
/* @__PURE__ */
|
|
521
|
-
/* @__PURE__ */ t("div", { className: "ds:lg:w-[15rem] ds:lg:shrink-0", children: /* @__PURE__ */
|
|
529
|
+
} : l
|
|
530
|
+
) : [...h, Nt(e, s)], v = A === "stacked";
|
|
531
|
+
return /* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)]", children: [
|
|
532
|
+
/* @__PURE__ */ o("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)] ds:lg:flex-row ds:lg:items-start ds:lg:gap-[var(--spacing-xl)]", children: [
|
|
533
|
+
/* @__PURE__ */ t("div", { className: "ds:lg:w-[15rem] ds:lg:shrink-0", children: /* @__PURE__ */ o(
|
|
522
534
|
"div",
|
|
523
535
|
{
|
|
524
536
|
"data-slot": "brand",
|
|
525
537
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
526
538
|
children: [
|
|
527
|
-
/* @__PURE__ */ t("div", { className: "ds:inline-flex", children:
|
|
528
|
-
|
|
539
|
+
/* @__PURE__ */ t("div", { className: "ds:inline-flex", children: T ?? /* @__PURE__ */ t(P, { variant: "wordmark", tone: "auto", "aria-label": "Alfadocs" }) }),
|
|
540
|
+
I ? /* @__PURE__ */ t(
|
|
529
541
|
"p",
|
|
530
542
|
{
|
|
531
543
|
"data-slot": "description",
|
|
532
544
|
className: "ds:m-0 ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-sm)]",
|
|
533
|
-
children:
|
|
545
|
+
children: I
|
|
534
546
|
}
|
|
535
547
|
) : null,
|
|
536
|
-
/* @__PURE__ */ t(
|
|
548
|
+
/* @__PURE__ */ t(X, { socials: L, t: g, size: "md" })
|
|
537
549
|
]
|
|
538
550
|
}
|
|
539
551
|
) }),
|
|
540
|
-
/* @__PURE__ */
|
|
552
|
+
i && i.length > 0 ? /* @__PURE__ */ t($t, { sections: i }) : null,
|
|
553
|
+
y.length > 0 ? /* @__PURE__ */ o("div", { className: "ds:flex-1 ds:min-w-0", children: [
|
|
541
554
|
/* @__PURE__ */ t(
|
|
542
555
|
"div",
|
|
543
556
|
{
|
|
544
|
-
className:
|
|
557
|
+
className: v ? "ds:grid ds:grid-cols-1 ds:md:grid-cols-2 ds:lg:grid-cols-4 ds:gap-[var(--spacing-lg)]" : "ds:hidden ds:md:grid ds:md:grid-cols-2 ds:lg:grid-cols-4 ds:gap-[var(--spacing-lg)]",
|
|
545
558
|
"data-slot": "link-columns-grid",
|
|
546
559
|
"data-columns": y.length,
|
|
547
|
-
children: /* @__PURE__ */ t(
|
|
560
|
+
children: /* @__PURE__ */ t(It, { columns: y, t: g, stacked: v })
|
|
548
561
|
}
|
|
549
562
|
),
|
|
550
|
-
!
|
|
551
|
-
|
|
563
|
+
!v && /* @__PURE__ */ t("div", { className: "ds:md:hidden", "data-slot": "link-columns-accordion", children: /* @__PURE__ */ t(tt, { type: "multiple", children: y.map((l, m) => /* @__PURE__ */ o(
|
|
564
|
+
et,
|
|
552
565
|
{
|
|
553
|
-
value: `${
|
|
566
|
+
value: `${m}-${l.key}`,
|
|
554
567
|
children: [
|
|
555
|
-
/* @__PURE__ */ t(
|
|
556
|
-
defaultValue:
|
|
568
|
+
/* @__PURE__ */ t(st, { children: l.title ?? g(`footer.group.${l.key}`, {
|
|
569
|
+
defaultValue: l.key
|
|
557
570
|
}) }),
|
|
558
|
-
/* @__PURE__ */ t(
|
|
559
|
-
|
|
571
|
+
/* @__PURE__ */ t(nt, { children: /* @__PURE__ */ t("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: l.links.map((p) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
|
|
572
|
+
c,
|
|
560
573
|
{
|
|
561
|
-
href:
|
|
574
|
+
href: x(p.href),
|
|
562
575
|
external: p.external,
|
|
563
576
|
externalIcon: !1,
|
|
564
577
|
intent: "subtle",
|
|
565
578
|
children: p.label
|
|
566
579
|
}
|
|
567
|
-
) }, `${
|
|
580
|
+
) }, `${l.key}-${p.href}-${p.label}`)) }) })
|
|
568
581
|
]
|
|
569
582
|
},
|
|
570
|
-
`${
|
|
583
|
+
`${m}-${l.key}`
|
|
571
584
|
)) }) })
|
|
572
|
-
] })
|
|
585
|
+
] }) : null
|
|
573
586
|
] }),
|
|
574
|
-
/* @__PURE__ */ t(
|
|
575
|
-
/* @__PURE__ */
|
|
576
|
-
|
|
577
|
-
/* @__PURE__ */
|
|
587
|
+
/* @__PURE__ */ t(O, { orientation: "horizontal" }),
|
|
588
|
+
/* @__PURE__ */ o("div", { className: "ds:@container/pfoot ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)] ds:sm:flex-row ds:sm:items-center ds:sm:justify-between", children: [
|
|
589
|
+
a ? /* @__PURE__ */ t(K, { copyright: a, align: "start" }) : null,
|
|
590
|
+
/* @__PURE__ */ o(
|
|
578
591
|
"div",
|
|
579
592
|
{
|
|
580
593
|
"data-slot": "bottom-legal",
|
|
581
594
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-md)] ds:@[1024px]/pfoot:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)] ds:sm:justify-end",
|
|
582
595
|
children: [
|
|
583
596
|
/* @__PURE__ */ t(
|
|
584
|
-
|
|
597
|
+
c,
|
|
585
598
|
{
|
|
586
599
|
href: e.privacy,
|
|
587
600
|
external: !0,
|
|
@@ -590,9 +603,9 @@ function xt({
|
|
|
590
603
|
children: s.privacy
|
|
591
604
|
}
|
|
592
605
|
),
|
|
593
|
-
/* @__PURE__ */ t(
|
|
606
|
+
/* @__PURE__ */ t(u, {}),
|
|
594
607
|
/* @__PURE__ */ t(
|
|
595
|
-
|
|
608
|
+
c,
|
|
596
609
|
{
|
|
597
610
|
href: e.terms,
|
|
598
611
|
external: !0,
|
|
@@ -601,22 +614,35 @@ function xt({
|
|
|
601
614
|
children: s.terms
|
|
602
615
|
}
|
|
603
616
|
),
|
|
604
|
-
|
|
605
|
-
/* @__PURE__ */ t(
|
|
606
|
-
|
|
617
|
+
f && /* @__PURE__ */ o(b, { children: [
|
|
618
|
+
/* @__PURE__ */ t(u, {}),
|
|
619
|
+
/* @__PURE__ */ t(
|
|
620
|
+
c,
|
|
621
|
+
{
|
|
622
|
+
href: e.contacts,
|
|
623
|
+
external: !0,
|
|
624
|
+
externalIcon: !1,
|
|
625
|
+
intent: "subtle",
|
|
626
|
+
children: s.contacts
|
|
627
|
+
}
|
|
628
|
+
)
|
|
629
|
+
] }),
|
|
630
|
+
(_ || N) && /* @__PURE__ */ o(b, { children: [
|
|
631
|
+
/* @__PURE__ */ t(u, {}),
|
|
632
|
+
_ && /* @__PURE__ */ t(
|
|
607
633
|
"span",
|
|
608
634
|
{
|
|
609
635
|
"data-slot": "trust-badges",
|
|
610
636
|
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
611
|
-
children:
|
|
637
|
+
children: _
|
|
612
638
|
}
|
|
613
639
|
),
|
|
614
|
-
|
|
640
|
+
N && /* @__PURE__ */ t(
|
|
615
641
|
"span",
|
|
616
642
|
{
|
|
617
643
|
"data-slot": "extra-nav",
|
|
618
|
-
className: `ds:inline-flex ds:items-center ${
|
|
619
|
-
children:
|
|
644
|
+
className: `ds:inline-flex ds:items-center ${F}`,
|
|
645
|
+
children: N
|
|
620
646
|
}
|
|
621
647
|
)
|
|
622
648
|
] })
|
|
@@ -624,63 +650,120 @@ function xt({
|
|
|
624
650
|
}
|
|
625
651
|
)
|
|
626
652
|
] }),
|
|
627
|
-
|
|
653
|
+
d ? /* @__PURE__ */ t(
|
|
628
654
|
"p",
|
|
629
655
|
{
|
|
630
656
|
"data-slot": "tagline",
|
|
631
657
|
className: "ds:m-0 ds:text-center ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:italic",
|
|
632
|
-
children:
|
|
658
|
+
children: d
|
|
633
659
|
}
|
|
634
660
|
) : null
|
|
635
661
|
] });
|
|
636
662
|
}
|
|
637
|
-
const
|
|
638
|
-
function
|
|
663
|
+
const R = "ds:gap-[max(var(--spacing-sm),calc(var(--accessible-target-floor,0px)-1lh))]";
|
|
664
|
+
function $t({
|
|
665
|
+
sections: e
|
|
666
|
+
}) {
|
|
667
|
+
const s = Q();
|
|
668
|
+
return /* @__PURE__ */ t(
|
|
669
|
+
"div",
|
|
670
|
+
{
|
|
671
|
+
"data-slot": "brand-links",
|
|
672
|
+
className: "ds:grid ds:min-w-0 ds:flex-[2] ds:grid-cols-1 ds:gap-[var(--spacing-lg)] ds:md:grid-cols-2",
|
|
673
|
+
children: e.map((a, d) => {
|
|
674
|
+
const n = `${s}-brand-links-${d}`, r = (a.columns ?? 2) === 2;
|
|
675
|
+
return /* @__PURE__ */ o(
|
|
676
|
+
"section",
|
|
677
|
+
{
|
|
678
|
+
"aria-labelledby": n,
|
|
679
|
+
"data-slot": "brand-link-section",
|
|
680
|
+
className: `ds:flex ds:min-w-0 ds:flex-col ${R}`,
|
|
681
|
+
children: [
|
|
682
|
+
/* @__PURE__ */ t(
|
|
683
|
+
"h3",
|
|
684
|
+
{
|
|
685
|
+
id: n,
|
|
686
|
+
className: "ds:m-0 ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium",
|
|
687
|
+
children: a.title
|
|
688
|
+
}
|
|
689
|
+
),
|
|
690
|
+
/* @__PURE__ */ t(
|
|
691
|
+
"ul",
|
|
692
|
+
{
|
|
693
|
+
className: `ds:m-0 ds:grid ds:list-none ds:p-0 ds:gap-x-[var(--spacing-md)] ${R} ${r ? "ds:grid-cols-2" : "ds:grid-cols-1"}`,
|
|
694
|
+
children: a.links.map((i) => /* @__PURE__ */ t("li", { className: "ds:min-w-0", children: /* @__PURE__ */ t(
|
|
695
|
+
c,
|
|
696
|
+
{
|
|
697
|
+
href: x(i.href),
|
|
698
|
+
intent: "subtle",
|
|
699
|
+
className: `${$} ds:[overflow-wrap:anywhere]`,
|
|
700
|
+
children: i.label
|
|
701
|
+
}
|
|
702
|
+
) }, `${i.href}|${i.label}`))
|
|
703
|
+
}
|
|
704
|
+
),
|
|
705
|
+
a.more ? /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
706
|
+
c,
|
|
707
|
+
{
|
|
708
|
+
href: x(a.more.href),
|
|
709
|
+
className: $,
|
|
710
|
+
children: a.more.label
|
|
711
|
+
}
|
|
712
|
+
) }) : null
|
|
713
|
+
]
|
|
714
|
+
},
|
|
715
|
+
a.id
|
|
716
|
+
);
|
|
717
|
+
})
|
|
718
|
+
}
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
function It({
|
|
639
722
|
columns: e,
|
|
640
723
|
t: s,
|
|
641
|
-
stacked:
|
|
724
|
+
stacked: a
|
|
642
725
|
}) {
|
|
643
|
-
return /* @__PURE__ */ t(
|
|
726
|
+
return /* @__PURE__ */ t(b, { children: e.map((d, n) => /* @__PURE__ */ o(
|
|
644
727
|
"section",
|
|
645
728
|
{
|
|
646
|
-
"aria-labelledby": `public-footer-group-${n}-${
|
|
729
|
+
"aria-labelledby": `public-footer-group-${n}-${d.key}`,
|
|
647
730
|
children: [
|
|
648
731
|
/* @__PURE__ */ t(
|
|
649
732
|
"h3",
|
|
650
733
|
{
|
|
651
|
-
id: `public-footer-group-${n}-${
|
|
734
|
+
id: `public-footer-group-${n}-${d.key}`,
|
|
652
735
|
className: "ds:m-0 ds:mb-[var(--spacing-sm)] ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium",
|
|
653
|
-
children:
|
|
736
|
+
children: d.title ?? s(`footer.group.${d.key}`, { defaultValue: d.key })
|
|
654
737
|
}
|
|
655
738
|
),
|
|
656
739
|
/* @__PURE__ */ t(
|
|
657
740
|
"ul",
|
|
658
741
|
{
|
|
659
|
-
className: `ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ${
|
|
660
|
-
children:
|
|
661
|
-
|
|
742
|
+
className: `ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ${a ? R : "ds:gap-[var(--spacing-sm)]"}`,
|
|
743
|
+
children: d.links.map((r) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
|
|
744
|
+
c,
|
|
662
745
|
{
|
|
663
|
-
href:
|
|
664
|
-
external:
|
|
746
|
+
href: x(r.href),
|
|
747
|
+
external: r.external,
|
|
665
748
|
externalIcon: !1,
|
|
666
749
|
intent: "subtle",
|
|
667
|
-
className:
|
|
668
|
-
children:
|
|
750
|
+
className: a ? $ : void 0,
|
|
751
|
+
children: r.label
|
|
669
752
|
}
|
|
670
|
-
) }, `${
|
|
753
|
+
) }, `${d.key}-${r.href}-${r.label}`))
|
|
671
754
|
}
|
|
672
755
|
)
|
|
673
756
|
]
|
|
674
757
|
},
|
|
675
|
-
`${n}-${
|
|
758
|
+
`${n}-${d.key}`
|
|
676
759
|
)) });
|
|
677
760
|
}
|
|
678
|
-
|
|
761
|
+
gt.displayName = "PublicFooter";
|
|
679
762
|
export {
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
763
|
+
H as D,
|
|
764
|
+
gt as P,
|
|
765
|
+
it as S,
|
|
766
|
+
lt as a,
|
|
767
|
+
ot as c
|
|
685
768
|
};
|
|
686
|
-
//# sourceMappingURL=public-footer-
|
|
769
|
+
//# sourceMappingURL=public-footer-C8UIzqLJ.js.map
|