@alfadocs/ui-kit 0.31.3 → 0.31.6

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.
Files changed (102) hide show
  1. package/dist/_chunks/{agenda-card-UJA6Arbs.js → agenda-card-DtGlQde1.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-1fAxNOMz.js → agenda-tray-CXmlwt2K.js} +2 -2
  3. package/dist/_chunks/{badge-CptERaHx.js → badge-B9Cr6iEB.js} +30 -21
  4. package/dist/_chunks/{benefit-card-CLPNpiQE.js → benefit-card-B86DH-PE.js} +14 -10
  5. package/dist/_chunks/{card-DKTMLVrw.js → card-CNri9ssR.js} +43 -37
  6. package/dist/_chunks/{contact-card-DYbp--s-.js → contact-card-Dos7Tley.js} +2 -2
  7. package/dist/_chunks/{editable-currency-cell-renderer-BpicmolK.js → editable-currency-cell-renderer-YvTwkFrD.js} +2 -2
  8. package/dist/_chunks/key-value-pair-CYE7NSpM.js +134 -0
  9. package/dist/_chunks/message-circle-C23eicgb.js +20 -0
  10. package/dist/_chunks/operator-hero-BsjE-kJF.js +171 -0
  11. package/dist/_chunks/{patient-search-hFiYbqcl.js → patient-search-CSDru7QW.js} +2 -2
  12. package/dist/_chunks/practice-profile-card-C2_2ZH_G.js +297 -0
  13. package/dist/_chunks/{practice-results-RPL64j8E.js → practice-results-VqbCUO1b.js} +378 -405
  14. package/dist/_chunks/{reviews-panel-yanuBZs-.js → reviews-panel-Cjys8G8K.js} +2 -2
  15. package/dist/_chunks/shield-check-BhHyReu8.js +52 -0
  16. package/dist/_chunks/{timeline-D0Wo7v_o.js → timeline-BZC7qGdy.js} +2 -2
  17. package/dist/_chunks/{workflow-map-BSvQS3be.js → workflow-map-DfpjDZHK.js} +93 -107
  18. package/dist/agent-catalog.json +55 -1
  19. package/dist/components/agenda-card/index.js +1 -1
  20. package/dist/components/agenda-tray/index.js +1 -1
  21. package/dist/components/badge/badge.d.ts +1 -1
  22. package/dist/components/badge/index.js +1 -1
  23. package/dist/components/benefit-card/index.js +1 -1
  24. package/dist/components/card/index.js +1 -1
  25. package/dist/components/contact-card/index.js +1 -1
  26. package/dist/components/data-table/index.js +1 -1
  27. package/dist/components/index.d.ts +2 -0
  28. package/dist/components/key-value-pair/index.d.ts +2 -2
  29. package/dist/components/key-value-pair/index.js +3 -2
  30. package/dist/components/key-value-pair/key-value-pair.d.ts +10 -0
  31. package/dist/components/operator-hero/index.d.ts +4 -0
  32. package/dist/components/operator-hero/index.js +6 -0
  33. package/dist/components/operator-hero/operator-hero.agent.d.ts +4 -0
  34. package/dist/components/operator-hero/operator-hero.d.ts +64 -0
  35. package/dist/components/patient-search/index.js +1 -1
  36. package/dist/components/practice-profile-card/index.d.ts +4 -0
  37. package/dist/components/practice-profile-card/index.js +8 -0
  38. package/dist/components/practice-profile-card/practice-profile-card.agent.d.ts +4 -0
  39. package/dist/components/practice-profile-card/practice-profile-card.d.ts +115 -0
  40. package/dist/components/practice-results/index.js +1 -1
  41. package/dist/components/practice-results/practice-results.d.ts +19 -0
  42. package/dist/components/reviews-panel/index.js +1 -1
  43. package/dist/components/timeline/index.js +1 -1
  44. package/dist/components/workflow/index.js +1 -1
  45. package/dist/i18n/locales/ar.d.ts +23 -0
  46. package/dist/i18n/locales/ar.js +23 -0
  47. package/dist/i18n/locales/de.d.ts +23 -0
  48. package/dist/i18n/locales/de.js +23 -0
  49. package/dist/i18n/locales/el.d.ts +23 -0
  50. package/dist/i18n/locales/el.js +23 -0
  51. package/dist/i18n/locales/en.d.ts +23 -0
  52. package/dist/i18n/locales/en.js +23 -0
  53. package/dist/i18n/locales/es.d.ts +23 -0
  54. package/dist/i18n/locales/es.js +23 -0
  55. package/dist/i18n/locales/fr.d.ts +23 -0
  56. package/dist/i18n/locales/fr.js +23 -0
  57. package/dist/i18n/locales/hi.d.ts +23 -0
  58. package/dist/i18n/locales/hi.js +23 -0
  59. package/dist/i18n/locales/it.d.ts +23 -0
  60. package/dist/i18n/locales/it.js +23 -0
  61. package/dist/i18n/locales/ja.d.ts +23 -0
  62. package/dist/i18n/locales/ja.js +23 -0
  63. package/dist/i18n/locales/nl.d.ts +23 -0
  64. package/dist/i18n/locales/nl.js +23 -0
  65. package/dist/i18n/locales/pl.d.ts +23 -0
  66. package/dist/i18n/locales/pl.js +23 -0
  67. package/dist/i18n/locales/pt.d.ts +23 -0
  68. package/dist/i18n/locales/pt.js +23 -0
  69. package/dist/i18n/locales/ro.d.ts +23 -0
  70. package/dist/i18n/locales/ro.js +23 -0
  71. package/dist/i18n/locales/ru.d.ts +23 -0
  72. package/dist/i18n/locales/ru.js +23 -0
  73. package/dist/i18n/locales/sq.d.ts +23 -0
  74. package/dist/i18n/locales/sq.js +23 -0
  75. package/dist/i18n/locales/sv.d.ts +23 -0
  76. package/dist/i18n/locales/sv.js +23 -0
  77. package/dist/i18n/locales/tr.d.ts +23 -0
  78. package/dist/i18n/locales/tr.js +23 -0
  79. package/dist/i18n/locales/zh.d.ts +23 -0
  80. package/dist/i18n/locales/zh.js +23 -0
  81. package/dist/index.js +400 -391
  82. package/dist/locales/ar.json +23 -0
  83. package/dist/locales/de.json +23 -0
  84. package/dist/locales/el.json +23 -0
  85. package/dist/locales/en.json +23 -0
  86. package/dist/locales/es.json +23 -0
  87. package/dist/locales/fr.json +23 -0
  88. package/dist/locales/hi.json +23 -0
  89. package/dist/locales/it.json +23 -0
  90. package/dist/locales/ja.json +23 -0
  91. package/dist/locales/nl.json +23 -0
  92. package/dist/locales/pl.json +23 -0
  93. package/dist/locales/pt.json +23 -0
  94. package/dist/locales/ro.json +23 -0
  95. package/dist/locales/ru.json +23 -0
  96. package/dist/locales/sq.json +23 -0
  97. package/dist/locales/sv.json +23 -0
  98. package/dist/locales/tr.json +23 -0
  99. package/dist/locales/zh.json +23 -0
  100. package/dist/tokens.css +1 -1
  101. package/package.json +9 -1
  102. package/dist/_chunks/key-value-pair-C8DaR3Xs.js +0 -98
@@ -0,0 +1,171 @@
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as k, useId as A } from "react";
3
+ import { c as O } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as C } from "react-i18next";
5
+ import { A as L } from "./avatar-BNQNhoyL.js";
6
+ import { B as R } from "./badge-B9Cr6iEB.js";
7
+ import { C as j } from "./card-CNri9ssR.js";
8
+ import { R as z } from "./rating-BRD7O74e.js";
9
+ import { u as I } from "./registry-nPAVE19X.js";
10
+ const B = {
11
+ id: "operator-hero",
12
+ capabilities: ["view_change"],
13
+ state: {
14
+ name: {
15
+ type: "string",
16
+ descriptionKey: "ui.agent.operatorHero.state.name",
17
+ description: "Operator display name currently rendered.",
18
+ read: (s) => s.getName()
19
+ }
20
+ },
21
+ actions: {},
22
+ domHooks: {
23
+ root: {
24
+ attr: "data-component",
25
+ value: "operator-hero",
26
+ description: "Marks the OperatorHero root region."
27
+ },
28
+ instanceId: {
29
+ attr: "data-component-id",
30
+ sourceProp: "id",
31
+ description: "Sourced from the id prop."
32
+ }
33
+ }
34
+ }, F = O("ds:w-full ds:text-[color:var(--foreground)]", {
35
+ variants: {
36
+ // Density toggle. Default `comfortable` matches the practice hero's
37
+ // visual weight minus the cover strip. `compact` is for embedded
38
+ // surfaces (booking aside, ROI Dashboard practice panel) where the
39
+ // hero needs to fit in <12rem vertical.
40
+ density: {
41
+ comfortable: "",
42
+ compact: ""
43
+ },
44
+ // Matches the kit's other `surface` props (Booking, ReviewsPanel,
45
+ // PracticeProfileCard). `'elevated'` wraps in `<Card>`.
46
+ surface: {
47
+ flat: "",
48
+ elevated: ""
49
+ }
50
+ },
51
+ defaultVariants: {
52
+ density: "comfortable",
53
+ surface: "elevated"
54
+ }
55
+ }), P = k(
56
+ ({
57
+ name: s,
58
+ tagline: i,
59
+ imageUrl: f,
60
+ rating: a,
61
+ badges: t,
62
+ actionSlot: n,
63
+ density: r = "comfortable",
64
+ surface: c = "elevated",
65
+ "aria-label": g,
66
+ id: d,
67
+ className: u,
68
+ ...x
69
+ }, h) => {
70
+ const { t: p } = C(), m = A(), b = g ?? p("operatorHero.regionLabel");
71
+ I(B, { getName: () => s }, d);
72
+ const N = a ? p("operatorHero.ratingLabel", {
73
+ value: a.value.toFixed(1),
74
+ count: a.count
75
+ }) : void 0, y = r === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", H = r === "comfortable" ? "2xl" : "xl", w = r === "comfortable" ? "type-title-page" : "type-title-card", v = /* @__PURE__ */ o(
76
+ "div",
77
+ {
78
+ className: [
79
+ "ds:flex ds:items-start ds:gap-[var(--spacing-lg)]",
80
+ y,
81
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
82
+ ].join(" "),
83
+ children: [
84
+ /* @__PURE__ */ e(
85
+ L,
86
+ {
87
+ size: H,
88
+ name: s,
89
+ src: f,
90
+ className: "ds:shrink-0"
91
+ }
92
+ ),
93
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
94
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-md)] ds:flex-wrap", children: [
95
+ /* @__PURE__ */ e(
96
+ "h1",
97
+ {
98
+ id: m,
99
+ className: `${w} ds:m-0 ds:text-[color:var(--foreground)]`,
100
+ children: s
101
+ }
102
+ ),
103
+ n ? /* @__PURE__ */ e("div", { className: "ds:ms-auto ds:flex ds:shrink-0 ds:items-center ds:gap-[var(--spacing-xs)]", children: n }) : null
104
+ ] }),
105
+ i ? /* @__PURE__ */ e("p", { className: "type-body ds:m-0 ds:text-[color:var(--foreground)]", children: i }) : null,
106
+ a ? /* @__PURE__ */ o(
107
+ "div",
108
+ {
109
+ className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
110
+ "aria-label": N,
111
+ children: [
112
+ /* @__PURE__ */ e(
113
+ z,
114
+ {
115
+ value: a.value,
116
+ max: 5,
117
+ size: r === "comfortable" ? "md" : "sm"
118
+ }
119
+ ),
120
+ /* @__PURE__ */ o("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
121
+ a.value.toFixed(1),
122
+ " · ",
123
+ a.count
124
+ ] })
125
+ ]
126
+ }
127
+ ) : null,
128
+ t && t.length > 0 ? /* @__PURE__ */ e(
129
+ "div",
130
+ {
131
+ role: "list",
132
+ className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)] ds:mt-[var(--spacing-2xs)]",
133
+ children: t.map((l) => /* @__PURE__ */ e(
134
+ R,
135
+ {
136
+ variant: l.variant ?? "neutral",
137
+ role: "listitem",
138
+ children: l.label
139
+ },
140
+ l.key
141
+ ))
142
+ }
143
+ ) : null
144
+ ] })
145
+ ]
146
+ }
147
+ );
148
+ return /* @__PURE__ */ e(
149
+ "div",
150
+ {
151
+ ref: h,
152
+ role: "region",
153
+ "aria-label": b,
154
+ "aria-labelledby": m,
155
+ "data-component": "operator-hero",
156
+ "data-component-id": d,
157
+ "data-density": r,
158
+ id: d,
159
+ className: F({ surface: c, density: r, className: u }),
160
+ ...x,
161
+ children: c === "elevated" ? /* @__PURE__ */ e(j, { variant: "elevated", children: v }) : v
162
+ }
163
+ );
164
+ }
165
+ );
166
+ P.displayName = "OperatorHero";
167
+ export {
168
+ P as O,
169
+ B as o
170
+ };
171
+ //# sourceMappingURL=operator-hero-BsjE-kJF.js.map
@@ -4,7 +4,7 @@ import { c as T } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as j } from "react-i18next";
5
5
  import { A as se } from "./autocomplete-DIgdhCGJ.js";
6
6
  import { B as ue } from "./button-DD_0Xdmr.js";
7
- import { C as M } from "./card-DKTMLVrw.js";
7
+ import { C as M } from "./card-CNri9ssR.js";
8
8
  import { S as fe } from "./slider-BHWzXdjt.js";
9
9
  import { A as Z } from "./alert-ywPR59NE.js";
10
10
  import { D as F } from "./dropdown-menu-BC5ZdOMo.js";
@@ -1155,4 +1155,4 @@ export {
1155
1155
  Oe as P,
1156
1156
  ye as p
1157
1157
  };
1158
- //# sourceMappingURL=patient-search-hFiYbqcl.js.map
1158
+ //# sourceMappingURL=patient-search-CSDru7QW.js.map
@@ -0,0 +1,297 @@
1
+ import { jsxs as s, jsx as e, Fragment as I } from "react/jsx-runtime";
2
+ import { forwardRef as ae, useId as re, useMemo as ie } from "react";
3
+ import { c as te } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as ne } from "react-i18next";
5
+ import { B as M } from "./badge-B9Cr6iEB.js";
6
+ import { C as R } from "./card-CNri9ssR.js";
7
+ import { K as le, a as oe } from "./key-value-pair-CYE7NSpM.js";
8
+ import { L as o } from "./link-DrD_cRUg.js";
9
+ import { u as se } from "./registry-nPAVE19X.js";
10
+ import { S as _ } from "./stethoscope-DT5qCW8Y.js";
11
+ import { H as N, S as F, L as S } from "./shield-check-BhHyReu8.js";
12
+ import { c as $ } from "./createLucideIcon-CrFbzy84.js";
13
+ import { G as E } from "./globe-BkEFMNSg.js";
14
+ import { M as H } from "./mail-C8irm52s.js";
15
+ import { M as V } from "./message-circle-C23eicgb.js";
16
+ import { M as K } from "./map-pin-B8STOPMJ.js";
17
+ /**
18
+ * @license lucide-react v1.8.0 - ISC
19
+ *
20
+ * This source code is licensed under the ISC license.
21
+ * See the LICENSE file in the root directory of this source tree.
22
+ */
23
+ const ce = [
24
+ ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
25
+ ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
26
+ ["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
27
+ ], L = $("banknote", ce);
28
+ /**
29
+ * @license lucide-react v1.8.0 - ISC
30
+ *
31
+ * This source code is licensed under the ISC license.
32
+ * See the LICENSE file in the root directory of this source tree.
33
+ */
34
+ const de = [
35
+ [
36
+ "path",
37
+ {
38
+ d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",
39
+ key: "9njp5v"
40
+ }
41
+ ]
42
+ ], O = $("phone", de), pe = {
43
+ id: "practice-profile-card",
44
+ capabilities: ["view_change"],
45
+ state: {
46
+ profession: {
47
+ type: "string",
48
+ descriptionKey: "ui.agent.practiceProfileCard.state.profession",
49
+ description: "Profession string the card is currently rendering — undefined when the consumer omitted it.",
50
+ read: (r) => r.getProfession()
51
+ }
52
+ },
53
+ actions: {},
54
+ domHooks: {
55
+ root: {
56
+ attr: "data-component",
57
+ value: "practice-profile-card",
58
+ description: "Marks the PracticeProfileCard root region."
59
+ },
60
+ instanceId: {
61
+ attr: "data-component-id",
62
+ sourceProp: "id",
63
+ description: "Sourced from the id prop."
64
+ }
65
+ }
66
+ }, fe = te("ds:w-full ds:text-[color:var(--foreground)]", {
67
+ variants: {
68
+ // Matches the kit's other `surface` props (Booking, ReviewsPanel).
69
+ // The card itself renders `<Card variant="elevated">` so the
70
+ // `surface="flat"` opt-out is rare — most consumers want the
71
+ // boundary.
72
+ surface: {
73
+ flat: "",
74
+ elevated: ""
75
+ }
76
+ },
77
+ defaultVariants: { surface: "elevated" }
78
+ });
79
+ function ue(r) {
80
+ return r.replace(/[^\d+]/g, "");
81
+ }
82
+ function he(r, l) {
83
+ const n = `https://wa.me/${r}`;
84
+ return l ? `${n}?text=${encodeURIComponent(l)}` : n;
85
+ }
86
+ function me(r) {
87
+ return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(r.line)}`;
88
+ }
89
+ function ve(r, l, n) {
90
+ try {
91
+ return new Intl.NumberFormat(n, {
92
+ style: "currency",
93
+ currency: l
94
+ }).format(r / 100);
95
+ } catch {
96
+ return (r / 100).toFixed(2);
97
+ }
98
+ }
99
+ const Pe = ae(
100
+ ({
101
+ heading: r,
102
+ description: l,
103
+ address: n,
104
+ phone: c,
105
+ whatsappNumber: d,
106
+ whatsappMessage: B,
107
+ email: p,
108
+ website: f,
109
+ languages: u,
110
+ languageLabels: h,
111
+ insurances: m,
112
+ firstVisitPriceCents: v,
113
+ currencyCode: x = "EUR",
114
+ profession: P,
115
+ specializedInFearPatients: G,
116
+ onPhoneClick: U,
117
+ onWhatsAppClick: j,
118
+ onMapClick: q,
119
+ onEmailClick: T,
120
+ headerSlot: W,
121
+ footerSlot: D,
122
+ surface: b = "elevated",
123
+ "aria-label": z,
124
+ id: g,
125
+ className: Y,
126
+ ...J
127
+ }, Q) => {
128
+ const { t: a, i18n: X } = ne(), y = re(), C = X.language ?? "en", k = r ?? a("practiceProfileCard.heading"), Z = z ?? k, w = ie(() => {
129
+ if (v != null)
130
+ return ve(v, x, C);
131
+ }, [v, x, C]), i = [];
132
+ n && i.push({
133
+ key: "address",
134
+ icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
135
+ label: a("practiceProfileCard.label.address"),
136
+ value: /* @__PURE__ */ s("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
137
+ /* @__PURE__ */ e("span", { children: n.line }),
138
+ n.lat != null && n.lng != null ? /* @__PURE__ */ e(
139
+ o,
140
+ {
141
+ href: me(n),
142
+ external: !0,
143
+ intent: "default",
144
+ onClick: q,
145
+ children: a("practiceProfileCard.openInGoogleMaps")
146
+ }
147
+ ) : null
148
+ ] })
149
+ }), c && i.push({
150
+ key: "phone",
151
+ icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
152
+ label: a("practiceProfileCard.label.phone"),
153
+ value: /* @__PURE__ */ e(
154
+ o,
155
+ {
156
+ href: `tel:${ue(c)}`,
157
+ intent: "default",
158
+ onClick: U,
159
+ children: c
160
+ }
161
+ )
162
+ }), d && i.push({
163
+ key: "whatsapp",
164
+ icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
165
+ label: a("practiceProfileCard.label.whatsapp"),
166
+ value: /* @__PURE__ */ e(
167
+ o,
168
+ {
169
+ href: he(d, B),
170
+ external: !0,
171
+ intent: "default",
172
+ onClick: j,
173
+ children: d
174
+ }
175
+ )
176
+ }), p && i.push({
177
+ key: "email",
178
+ icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
179
+ label: a("practiceProfileCard.label.email"),
180
+ value: /* @__PURE__ */ e(
181
+ o,
182
+ {
183
+ href: `mailto:${p}`,
184
+ intent: "default",
185
+ onClick: T,
186
+ children: p
187
+ }
188
+ )
189
+ }), f && i.push({
190
+ key: "website",
191
+ icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
192
+ label: a("practiceProfileCard.label.website"),
193
+ value: /* @__PURE__ */ e(o, { href: f, external: !0, intent: "default", children: f })
194
+ }), u && u.length > 0 && i.push({
195
+ key: "languages",
196
+ icon: /* @__PURE__ */ e(S, { "aria-hidden": "true" }),
197
+ label: a("practiceProfileCard.label.languages"),
198
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: u.map((t) => /* @__PURE__ */ e(M, { variant: "neutral", children: (h == null ? void 0 : h[t]) ?? t.toUpperCase() }, t)) })
199
+ }), m && m.length > 0 && i.push({
200
+ key: "insurances",
201
+ icon: /* @__PURE__ */ e(F, { "aria-hidden": "true" }),
202
+ label: a("practiceProfileCard.label.insurances"),
203
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: m.map((t) => /* @__PURE__ */ e(M, { variant: "info", children: t }, t)) })
204
+ }), w && i.push({
205
+ key: "firstVisitPrice",
206
+ icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
207
+ label: a("practiceProfileCard.label.firstVisitPrice"),
208
+ value: w
209
+ }), G && i.push({
210
+ key: "expertForAnxiousPatients",
211
+ icon: /* @__PURE__ */ e(N, { "aria-hidden": "true" }),
212
+ label: a("practiceProfileCard.label.expertForAnxiousPatients"),
213
+ value: a("practiceProfileCard.value.yesShort")
214
+ }), P && i.push({
215
+ key: "profession",
216
+ icon: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
217
+ label: a("practiceProfileCard.label.profession"),
218
+ value: P
219
+ }), se(
220
+ pe,
221
+ { getProfession: () => P },
222
+ g
223
+ );
224
+ const ee = /* @__PURE__ */ s(I, { children: [
225
+ l ? /* @__PURE__ */ e("p", { className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: l }) : null,
226
+ i.length > 0 ? /* @__PURE__ */ e(le, { rowGap: "md", children: i.map((t) => /* @__PURE__ */ e(
227
+ oe,
228
+ {
229
+ icon: t.icon,
230
+ label: t.label,
231
+ value: t.value
232
+ },
233
+ t.key
234
+ )) }) : null,
235
+ D
236
+ ] }), A = /* @__PURE__ */ s(I, { children: [
237
+ /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
238
+ W,
239
+ /* @__PURE__ */ e(
240
+ "h2",
241
+ {
242
+ id: y,
243
+ className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
244
+ children: k
245
+ }
246
+ )
247
+ ] }),
248
+ ee
249
+ ] });
250
+ return /* @__PURE__ */ e(
251
+ "div",
252
+ {
253
+ ref: Q,
254
+ role: "region",
255
+ "aria-label": Z,
256
+ "aria-labelledby": y,
257
+ "data-component": "practice-profile-card",
258
+ "data-component-id": g,
259
+ id: g,
260
+ className: fe({ surface: b, className: Y }),
261
+ ...J,
262
+ children: b === "elevated" ? /* @__PURE__ */ e(R, { variant: "elevated", children: /* @__PURE__ */ e(R.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: A }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: A })
263
+ }
264
+ );
265
+ }
266
+ );
267
+ Pe.displayName = "PracticeProfileCard";
268
+ const Ee = [
269
+ "address",
270
+ "phone",
271
+ "whatsapp",
272
+ "email",
273
+ "website",
274
+ "languages",
275
+ "insurances",
276
+ "firstVisitPrice",
277
+ "expertForAnxiousPatients",
278
+ "profession"
279
+ ], He = {
280
+ address: K,
281
+ phone: O,
282
+ whatsapp: V,
283
+ email: H,
284
+ website: E,
285
+ languages: S,
286
+ insurances: F,
287
+ firstVisitPrice: L,
288
+ expertForAnxiousPatients: N,
289
+ profession: _
290
+ };
291
+ export {
292
+ He as P,
293
+ Ee as a,
294
+ Pe as b,
295
+ pe as p
296
+ };
297
+ //# sourceMappingURL=practice-profile-card-C2_2ZH_G.js.map