@alfadocs/ui-kit-debug 1.4.17 → 1.6.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.
Files changed (158) hide show
  1. package/dist/_chunks/{booking-CGKof8QU.js → booking-D84O6H2X.js} +553 -546
  2. package/dist/_chunks/booking-D84O6H2X.js.map +1 -0
  3. package/dist/_chunks/{care-plan-card-C83Hb9EE.js → care-plan-card-CehAU7F_.js} +2 -2
  4. package/dist/_chunks/{care-plan-card-C83Hb9EE.js.map → care-plan-card-CehAU7F_.js.map} +1 -1
  5. package/dist/_chunks/{care-plan-entry-card-CHMPSTCz.js → care-plan-entry-card-ChWRMfMw.js} +2 -2
  6. package/dist/_chunks/{care-plan-entry-card-CHMPSTCz.js.map → care-plan-entry-card-ChWRMfMw.js.map} +1 -1
  7. package/dist/_chunks/{periodontal-chart-brakjj0s.js → periodontal-chart-C0nNQKKK.js} +121 -121
  8. package/dist/_chunks/{periodontal-chart-brakjj0s.js.map → periodontal-chart-C0nNQKKK.js.map} +1 -1
  9. package/dist/_chunks/practice-profile-hero-Bdd0bFqC.js +187 -0
  10. package/dist/_chunks/practice-profile-hero-Bdd0bFqC.js.map +1 -0
  11. package/dist/_chunks/{practice-results-DWUZRm2x.js → practice-results-CKoLD_x5.js} +220 -206
  12. package/dist/_chunks/practice-results-CKoLD_x5.js.map +1 -0
  13. package/dist/_chunks/tooth-data-DR8Kdnup.js +903 -0
  14. package/dist/_chunks/tooth-data-DR8Kdnup.js.map +1 -0
  15. package/dist/_chunks/tooth-finding-palette-vqC-D2Ye.js +708 -0
  16. package/dist/_chunks/tooth-finding-palette-vqC-D2Ye.js.map +1 -0
  17. package/dist/_chunks/tooth-scheme-BPXE1_3N.js +2051 -0
  18. package/dist/_chunks/tooth-scheme-BPXE1_3N.js.map +1 -0
  19. package/dist/agent-catalog.json +497 -56
  20. package/dist/agent-i18n/en.json +29 -11
  21. package/dist/components/booking/booking-types.d.ts +9 -0
  22. package/dist/components/booking/booking-types.d.ts.map +1 -1
  23. package/dist/components/booking/booking.d.ts.map +1 -1
  24. package/dist/components/booking/index.js +1 -1
  25. package/dist/components/care-plan-card/index.js +1 -1
  26. package/dist/components/care-plan-entry-card/index.js +1 -1
  27. package/dist/components/index.d.ts +2 -0
  28. package/dist/components/index.d.ts.map +1 -1
  29. package/dist/components/periodontal-chart/index.js +1 -1
  30. package/dist/components/practice-profile-hero/index.d.ts +4 -0
  31. package/dist/components/practice-profile-hero/index.d.ts.map +1 -0
  32. package/dist/components/practice-profile-hero/index.js +6 -0
  33. package/dist/components/practice-profile-hero/index.js.map +1 -0
  34. package/dist/components/practice-profile-hero/practice-profile-hero.agent.d.ts +4 -0
  35. package/dist/components/practice-profile-hero/practice-profile-hero.agent.d.ts.map +1 -0
  36. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +60 -0
  37. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -0
  38. package/dist/components/practice-results/index.js +1 -1
  39. package/dist/components/practice-results/practice-results.d.ts +15 -1
  40. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  41. package/dist/components/tooth-finding-palette/index.d.ts +4 -0
  42. package/dist/components/tooth-finding-palette/index.d.ts.map +1 -0
  43. package/dist/components/tooth-finding-palette/index.js +9 -0
  44. package/dist/components/tooth-finding-palette/index.js.map +1 -0
  45. package/dist/components/tooth-finding-palette/tooth-finding-palette.agent.d.ts +4 -0
  46. package/dist/components/tooth-finding-palette/tooth-finding-palette.agent.d.ts.map +1 -0
  47. package/dist/components/tooth-finding-palette/tooth-finding-palette.d.ts +89 -0
  48. package/dist/components/tooth-finding-palette/tooth-finding-palette.d.ts.map +1 -0
  49. package/dist/components/tooth-scheme/index.d.ts +2 -2
  50. package/dist/components/tooth-scheme/index.d.ts.map +1 -1
  51. package/dist/components/tooth-scheme/index.js +57 -30
  52. package/dist/components/tooth-scheme/tooth-data.d.ts +279 -10
  53. package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -1
  54. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
  55. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -1
  56. package/dist/components/tooth-scheme/tooth-scheme.d.ts +30 -3
  57. package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
  58. package/dist/host-compat.css +1 -4
  59. package/dist/i18n/locales/ar.d.ts +41 -1
  60. package/dist/i18n/locales/ar.d.ts.map +1 -1
  61. package/dist/i18n/locales/ar.js +42 -2
  62. package/dist/i18n/locales/ar.js.map +1 -1
  63. package/dist/i18n/locales/de.d.ts +41 -1
  64. package/dist/i18n/locales/de.d.ts.map +1 -1
  65. package/dist/i18n/locales/de.js +42 -2
  66. package/dist/i18n/locales/de.js.map +1 -1
  67. package/dist/i18n/locales/el.d.ts +41 -1
  68. package/dist/i18n/locales/el.d.ts.map +1 -1
  69. package/dist/i18n/locales/el.js +42 -2
  70. package/dist/i18n/locales/el.js.map +1 -1
  71. package/dist/i18n/locales/en.d.ts +41 -1
  72. package/dist/i18n/locales/en.d.ts.map +1 -1
  73. package/dist/i18n/locales/en.js +42 -2
  74. package/dist/i18n/locales/en.js.map +1 -1
  75. package/dist/i18n/locales/es.d.ts +41 -1
  76. package/dist/i18n/locales/es.d.ts.map +1 -1
  77. package/dist/i18n/locales/es.js +42 -2
  78. package/dist/i18n/locales/es.js.map +1 -1
  79. package/dist/i18n/locales/fr.d.ts +41 -1
  80. package/dist/i18n/locales/fr.d.ts.map +1 -1
  81. package/dist/i18n/locales/fr.js +42 -2
  82. package/dist/i18n/locales/fr.js.map +1 -1
  83. package/dist/i18n/locales/hi.d.ts +41 -1
  84. package/dist/i18n/locales/hi.d.ts.map +1 -1
  85. package/dist/i18n/locales/hi.js +42 -2
  86. package/dist/i18n/locales/hi.js.map +1 -1
  87. package/dist/i18n/locales/it.d.ts +41 -1
  88. package/dist/i18n/locales/it.d.ts.map +1 -1
  89. package/dist/i18n/locales/it.js +42 -2
  90. package/dist/i18n/locales/it.js.map +1 -1
  91. package/dist/i18n/locales/ja.d.ts +41 -1
  92. package/dist/i18n/locales/ja.d.ts.map +1 -1
  93. package/dist/i18n/locales/ja.js +42 -2
  94. package/dist/i18n/locales/ja.js.map +1 -1
  95. package/dist/i18n/locales/nl.d.ts +41 -1
  96. package/dist/i18n/locales/nl.d.ts.map +1 -1
  97. package/dist/i18n/locales/nl.js +42 -2
  98. package/dist/i18n/locales/nl.js.map +1 -1
  99. package/dist/i18n/locales/pl.d.ts +41 -1
  100. package/dist/i18n/locales/pl.d.ts.map +1 -1
  101. package/dist/i18n/locales/pl.js +42 -2
  102. package/dist/i18n/locales/pl.js.map +1 -1
  103. package/dist/i18n/locales/pt.d.ts +41 -1
  104. package/dist/i18n/locales/pt.d.ts.map +1 -1
  105. package/dist/i18n/locales/pt.js +42 -2
  106. package/dist/i18n/locales/pt.js.map +1 -1
  107. package/dist/i18n/locales/ro.d.ts +41 -1
  108. package/dist/i18n/locales/ro.d.ts.map +1 -1
  109. package/dist/i18n/locales/ro.js +42 -2
  110. package/dist/i18n/locales/ro.js.map +1 -1
  111. package/dist/i18n/locales/ru.d.ts +41 -1
  112. package/dist/i18n/locales/ru.d.ts.map +1 -1
  113. package/dist/i18n/locales/ru.js +42 -2
  114. package/dist/i18n/locales/ru.js.map +1 -1
  115. package/dist/i18n/locales/sq.d.ts +41 -1
  116. package/dist/i18n/locales/sq.d.ts.map +1 -1
  117. package/dist/i18n/locales/sq.js +42 -2
  118. package/dist/i18n/locales/sq.js.map +1 -1
  119. package/dist/i18n/locales/sv.d.ts +41 -1
  120. package/dist/i18n/locales/sv.d.ts.map +1 -1
  121. package/dist/i18n/locales/sv.js +42 -2
  122. package/dist/i18n/locales/sv.js.map +1 -1
  123. package/dist/i18n/locales/tr.d.ts +41 -1
  124. package/dist/i18n/locales/tr.d.ts.map +1 -1
  125. package/dist/i18n/locales/tr.js +42 -2
  126. package/dist/i18n/locales/tr.js.map +1 -1
  127. package/dist/i18n/locales/zh.d.ts +41 -1
  128. package/dist/i18n/locales/zh.d.ts.map +1 -1
  129. package/dist/i18n/locales/zh.js +42 -2
  130. package/dist/i18n/locales/zh.js.map +1 -1
  131. package/dist/index.js +561 -525
  132. package/dist/index.js.map +1 -1
  133. package/dist/locales/ar.json +42 -2
  134. package/dist/locales/de.json +42 -2
  135. package/dist/locales/el.json +42 -2
  136. package/dist/locales/en.json +42 -2
  137. package/dist/locales/es.json +42 -2
  138. package/dist/locales/fr.json +42 -2
  139. package/dist/locales/hi.json +42 -2
  140. package/dist/locales/it.json +42 -2
  141. package/dist/locales/ja.json +42 -2
  142. package/dist/locales/nl.json +42 -2
  143. package/dist/locales/pl.json +42 -2
  144. package/dist/locales/pt.json +42 -2
  145. package/dist/locales/ro.json +42 -2
  146. package/dist/locales/ru.json +42 -2
  147. package/dist/locales/sq.json +42 -2
  148. package/dist/locales/sv.json +42 -2
  149. package/dist/locales/tr.json +42 -2
  150. package/dist/locales/zh.json +42 -2
  151. package/dist/tokens.css +1 -1
  152. package/package.json +9 -1
  153. package/dist/_chunks/booking-CGKof8QU.js.map +0 -1
  154. package/dist/_chunks/practice-results-DWUZRm2x.js.map +0 -1
  155. package/dist/_chunks/tooth-data-BwuoKFf4.js +0 -660
  156. package/dist/_chunks/tooth-data-BwuoKFf4.js.map +0 -1
  157. package/dist/_chunks/tooth-scheme-s0ipC0-Z.js +0 -1483
  158. package/dist/_chunks/tooth-scheme-s0ipC0-Z.js.map +0 -1
@@ -1,49 +1,49 @@
1
- import { jsxs as f, jsx as a, Fragment as X } from "react/jsx-runtime";
2
- import { forwardRef as ot, useId as rt, useState as q, useCallback as H, useRef as ie, useEffect as U, useMemo as w, useImperativeHandle as _t } from "react";
1
+ import { jsxs as f, jsx as s, Fragment as X } from "react/jsx-runtime";
2
+ import { forwardRef as ot, useId as rt, useState as q, useCallback as H, useRef as ie, useEffect as U, useMemo as C, useImperativeHandle as Pt } from "react";
3
3
  import { c as Pe } from "./index-D2ZczOXr.js";
4
- import { useTranslation as B, Trans as Pt } from "react-i18next";
5
- import { u as Bt } from "./registry-DvAUVLHh.js";
4
+ import { useTranslation as B, Trans as Bt } from "react-i18next";
5
+ import { u as Ot } from "./registry-DvAUVLHh.js";
6
6
  import { A as j } from "./alert-CiJT540z.js";
7
7
  import { B as ne } from "./button-BvNtqHAS.js";
8
8
  import { C as Ke } from "./checkbox-BuZ1u__2.js";
9
- import { C as Ot } from "./checkbox-group-CfqMv57d.js";
10
- import { D as Et } from "./date-picker-Bp64zk2p.js";
9
+ import { C as Et } from "./checkbox-group-CfqMv57d.js";
10
+ import { D as Lt } from "./date-picker-Bp64zk2p.js";
11
11
  import { E as Rt } from "./email-input-Dpe63k0K.js";
12
12
  import { F as W } from "./form-field-CahJzTxp.js";
13
13
  import { P as Vt } from "./phone-input-BsZIoE36.js";
14
- import { T as Lt } from "./text-area-Bt3p7Pt0.js";
14
+ import { T as Ft } from "./text-area-Bt3p7Pt0.js";
15
15
  import { T as Ce } from "./text-input-CUvCb6ST.js";
16
- import { S as Ft } from "./spinner-hbwuKwMf.js";
16
+ import { S as $t } from "./spinner-hbwuKwMf.js";
17
17
  import { I as tt } from "./icon-button-9c9Gp41m.js";
18
18
  import { S as Be } from "./select-BW5ecXlX.js";
19
19
  import { C as Ge } from "./combobox-DiMLItyu.js";
20
20
  import { M as Ue } from "./multi-select-DqL4o0qV.js";
21
21
  import { S as _e } from "./skeleton-CZbwyJAA.js";
22
22
  import { E as dt } from "./empty-state-Df0tM6Kn.js";
23
- import { S as $t } from "./stepper-accordion-BeVMZPuG.js";
24
- import { S as zt } from "./stepper-progress-Bv0njx4g.js";
25
- import { S as Kt } from "./slot-grid-P_e9p5t5.js";
23
+ import { S as zt } from "./stepper-accordion-BeVMZPuG.js";
24
+ import { S as Kt } from "./stepper-progress-Bv0njx4g.js";
25
+ import { S as jt } from "./slot-grid-P_e9p5t5.js";
26
26
  import { p as $ } from "./parseISO-fOGpHKXm.js";
27
- import { l as le, f as Te, b as st } from "./format-4HNwNGrN.js";
28
- import { w as lt, c as ce, a as je, i as jt, s as ye, l as qt, x as De } from "./date-picker-variants-pKAJfnWr.js";
29
- import { s as Ht } from "./subDays-CAUv47M1.js";
30
- import { C as Gt } from "./chevron-left-B8cOyH-V.js";
31
- import { C as Ut } from "./chevron-right-I9AeSxH2.js";
27
+ import { l as le, f as Te, b as at } from "./format-4HNwNGrN.js";
28
+ import { w as lt, c as ce, a as je, i as qt, s as ye, l as Ht, x as De } from "./date-picker-variants-pKAJfnWr.js";
29
+ import { s as Gt } from "./subDays-CAUv47M1.js";
30
+ import { C as Ut } from "./chevron-left-B8cOyH-V.js";
31
+ import { C as Yt } from "./chevron-right-I9AeSxH2.js";
32
32
  import { c as z } from "./createLucideIcon-DhHxpK9K.js";
33
- import { M as Yt, S as Jt } from "./sun-Bj9Mr553.js";
34
- import { S as Zt } from "./stethoscope-sZXGC43m.js";
35
- import { H as Wt } from "./heart-pulse-BCppJyN2.js";
36
- import { E as Xt } from "./eye-BjhN2nYf.js";
37
- import { S as Qt } from "./scan-line-CNseIHQ0.js";
38
- import { A as es } from "./astroid-BN4f5VXU.js";
39
- import { C as ts } from "./clipboard-check-BeAGxDVT.js";
33
+ import { M as Jt, S as Zt } from "./sun-Bj9Mr553.js";
34
+ import { S as Wt } from "./stethoscope-sZXGC43m.js";
35
+ import { H as Xt } from "./heart-pulse-BCppJyN2.js";
36
+ import { E as Qt } from "./eye-BjhN2nYf.js";
37
+ import { S as ea } from "./scan-line-CNseIHQ0.js";
38
+ import { A as ta } from "./astroid-BN4f5VXU.js";
39
+ import { C as aa } from "./clipboard-check-BeAGxDVT.js";
40
40
  /**
41
41
  * @license lucide-react v1.22.0 - ISC
42
42
  *
43
43
  * This source code is licensed under the ISC license.
44
44
  * See the LICENSE file in the root directory of this source tree.
45
45
  */
46
- const ss = [
46
+ const sa = [
47
47
  [
48
48
  "path",
49
49
  {
@@ -51,14 +51,14 @@ const ss = [
51
51
  key: "169zse"
52
52
  }
53
53
  ]
54
- ], as = z("activity", ss);
54
+ ], ia = z("activity", sa);
55
55
  /**
56
56
  * @license lucide-react v1.22.0 - ISC
57
57
  *
58
58
  * This source code is licensed under the ISC license.
59
59
  * See the LICENSE file in the root directory of this source tree.
60
60
  */
61
- const is = [
61
+ const na = [
62
62
  ["path", { d: "M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5", key: "1u7htd" }],
63
63
  ["path", { d: "M15 12h.01", key: "1k8ypt" }],
64
64
  [
@@ -69,14 +69,14 @@ const is = [
69
69
  }
70
70
  ],
71
71
  ["path", { d: "M9 12h.01", key: "157uk2" }]
72
- ], ns = z("baby", is);
72
+ ], oa = z("baby", na);
73
73
  /**
74
74
  * @license lucide-react v1.22.0 - ISC
75
75
  *
76
76
  * This source code is licensed under the ISC license.
77
77
  * See the LICENSE file in the root directory of this source tree.
78
78
  */
79
- const os = [
79
+ const ra = [
80
80
  [
81
81
  "path",
82
82
  {
@@ -84,14 +84,14 @@ const os = [
84
84
  key: "w610uw"
85
85
  }
86
86
  ]
87
- ], rs = z("bone", os);
87
+ ], da = z("bone", ra);
88
88
  /**
89
89
  * @license lucide-react v1.22.0 - ISC
90
90
  *
91
91
  * This source code is licensed under the ISC license.
92
92
  * See the LICENSE file in the root directory of this source tree.
93
93
  */
94
- const ds = [
94
+ const la = [
95
95
  ["path", { d: "M12 18V5", key: "adv99a" }],
96
96
  ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
97
97
  ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
@@ -100,14 +100,14 @@ const ds = [
100
100
  ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
101
101
  ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
102
102
  ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
103
- ], ls = z("brain", ds);
103
+ ], ca = z("brain", la);
104
104
  /**
105
105
  * @license lucide-react v1.22.0 - ISC
106
106
  *
107
107
  * This source code is licensed under the ISC license.
108
108
  * See the LICENSE file in the root directory of this source tree.
109
109
  */
110
- const cs = [
110
+ const ua = [
111
111
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
112
112
  ["path", { d: "M16 2v4", key: "4m81vk" }],
113
113
  ["path", { d: "M3 10h18", key: "8toen8" }],
@@ -116,76 +116,76 @@ const cs = [
116
116
  ["path", { d: "M13 18H7", key: "bb0bb7" }],
117
117
  ["path", { d: "M7 14h.01", key: "1qa3f1" }],
118
118
  ["path", { d: "M17 18h.01", key: "1bdyru" }]
119
- ], us = z("calendar-range", cs);
119
+ ], pa = z("calendar-range", ua);
120
120
  /**
121
121
  * @license lucide-react v1.22.0 - ISC
122
122
  *
123
123
  * This source code is licensed under the ISC license.
124
124
  * See the LICENSE file in the root directory of this source tree.
125
125
  */
126
- const ps = [
126
+ const ma = [
127
127
  ["path", { d: "M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0", key: "1dfaln" }],
128
128
  ["path", { d: "M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4", key: "1qnva7" }]
129
- ], ms = z("ear", ps);
129
+ ], ga = z("ear", ma);
130
130
  /**
131
131
  * @license lucide-react v1.22.0 - ISC
132
132
  *
133
133
  * This source code is licensed under the ISC license.
134
134
  * See the LICENSE file in the root directory of this source tree.
135
135
  */
136
- const gs = [
136
+ const fa = [
137
137
  ["path", { d: "M6 18h8", key: "1borvv" }],
138
138
  ["path", { d: "M3 22h18", key: "8prr45" }],
139
139
  ["path", { d: "M14 22a7 7 0 1 0 0-14h-1", key: "1jwaiy" }],
140
140
  ["path", { d: "M9 14h2", key: "197e7h" }],
141
141
  ["path", { d: "M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z", key: "1bmzmy" }],
142
142
  ["path", { d: "M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3", key: "1drr47" }]
143
- ], fs = z("microscope", gs);
143
+ ], ha = z("microscope", fa);
144
144
  /**
145
145
  * @license lucide-react v1.22.0 - ISC
146
146
  *
147
147
  * This source code is licensed under the ISC license.
148
148
  * See the LICENSE file in the root directory of this source tree.
149
149
  */
150
- const hs = [
150
+ const va = [
151
151
  [
152
152
  "path",
153
153
  { d: "m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z", key: "wa1lgi" }
154
154
  ],
155
155
  ["path", { d: "m8.5 8.5 7 7", key: "rvfmvr" }]
156
- ], vs = z("pill", hs);
156
+ ], ba = z("pill", va);
157
157
  /**
158
158
  * @license lucide-react v1.22.0 - ISC
159
159
  *
160
160
  * This source code is licensed under the ISC license.
161
161
  * See the LICENSE file in the root directory of this source tree.
162
162
  */
163
- const bs = [
163
+ const ya = [
164
164
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
165
165
  ["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
166
166
  ["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
167
167
  ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
168
168
  ["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
169
- ], ys = z("scissors", bs);
169
+ ], ka = z("scissors", ya);
170
170
  /**
171
171
  * @license lucide-react v1.22.0 - ISC
172
172
  *
173
173
  * This source code is licensed under the ISC license.
174
174
  * See the LICENSE file in the root directory of this source tree.
175
175
  */
176
- const ks = [
176
+ const xa = [
177
177
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
178
178
  ["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
179
179
  ["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
180
180
  ["line", { x1: "15", x2: "15.01", y1: "9", y2: "9", key: "1p4y9e" }]
181
- ], xs = z("smile", ks);
181
+ ], Sa = z("smile", xa);
182
182
  /**
183
183
  * @license lucide-react v1.22.0 - ISC
184
184
  *
185
185
  * This source code is licensed under the ISC license.
186
186
  * See the LICENSE file in the root directory of this source tree.
187
187
  */
188
- const Ss = [
188
+ const Ia = [
189
189
  ["path", { d: "M12 10V2", key: "16sf7g" }],
190
190
  ["path", { d: "m4.93 10.93 1.41 1.41", key: "2a7f42" }],
191
191
  ["path", { d: "M2 18h2", key: "j10viu" }],
@@ -194,25 +194,25 @@ const Ss = [
194
194
  ["path", { d: "M22 22H2", key: "19qnx5" }],
195
195
  ["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
196
196
  ["path", { d: "M16 18a4 4 0 0 0-8 0", key: "1lzouq" }]
197
- ], Is = z("sunset", Ss);
197
+ ], Na = z("sunset", Ia);
198
198
  /**
199
199
  * @license lucide-react v1.22.0 - ISC
200
200
  *
201
201
  * This source code is licensed under the ISC license.
202
202
  * See the LICENSE file in the root directory of this source tree.
203
203
  */
204
- const Ns = [
204
+ const wa = [
205
205
  ["path", { d: "m18 2 4 4", key: "22kx64" }],
206
206
  ["path", { d: "m17 7 3-3", key: "1w1zoj" }],
207
207
  ["path", { d: "M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5", key: "1exhtz" }],
208
208
  ["path", { d: "m9 11 4 4", key: "rovt3i" }],
209
209
  ["path", { d: "m5 19-3 3", key: "59f2uf" }],
210
210
  ["path", { d: "m14 4 6 6", key: "yqp9t2" }]
211
- ], at = z("syringe", Ns);
212
- function ws(e, t, s) {
213
- return lt(e, -1, s);
211
+ ], st = z("syringe", wa);
212
+ function Ca(e, t, a) {
213
+ return lt(e, -1, a);
214
214
  }
215
- const Cs = {
215
+ const Da = {
216
216
  id: "booking",
217
217
  // `view_change` removed (0.69): the layout `variant` is a fixed prop — the
218
218
  // handle exposes only `getVariant` (state), no action mutates it. The flow's
@@ -281,19 +281,19 @@ const Cs = {
281
281
  "email",
282
282
  "whatsapp",
283
283
  "sms"
284
- ], Q = "all", Ds = "de";
285
- function Ms(e) {
284
+ ], Q = "all", Ma = "de";
285
+ function Aa(e) {
286
286
  return [...e.lockedOperatorId ? e.specialties.filter(
287
- (s) => {
287
+ (a) => {
288
288
  var i;
289
- return (i = s.operatorIds) == null ? void 0 : i.includes(e.lockedOperatorId);
289
+ return (i = a.operatorIds) == null ? void 0 : i.includes(e.lockedOperatorId);
290
290
  }
291
- ) : e.specialties].sort((s, i) => {
292
- const n = s.sequenceNumber ?? Number.POSITIVE_INFINITY, o = i.sequenceNumber ?? Number.POSITIVE_INFINITY;
291
+ ) : e.specialties].sort((a, i) => {
292
+ const n = a.sequenceNumber ?? Number.POSITIVE_INFINITY, o = i.sequenceNumber ?? Number.POSITIVE_INFINITY;
293
293
  return n - o;
294
294
  });
295
295
  }
296
- function As(e) {
296
+ function Ta(e) {
297
297
  let t = e.services;
298
298
  if (e.lockedOperatorId && (t = t.filter(
299
299
  (i) => {
@@ -308,46 +308,46 @@ function As(e) {
308
308
  }
309
309
  return t;
310
310
  }
311
- function Ts(e) {
311
+ function _a(e) {
312
312
  const t = e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties;
313
313
  if (t) {
314
- const s = ue(e.value);
315
- if (s.length > 0)
314
+ const a = ue(e.value);
315
+ if (a.length > 0)
316
316
  return e.operators.filter(
317
317
  (i) => {
318
318
  var n;
319
- return (n = i.specialtyIds) == null ? void 0 : n.some((o) => s.includes(o));
319
+ return (n = i.specialtyIds) == null ? void 0 : n.some((o) => a.includes(o));
320
320
  }
321
321
  );
322
322
  }
323
323
  if (!t) {
324
- const s = Oe(e.value);
325
- if (s.length > 0)
324
+ const a = Oe(e.value);
325
+ if (a.length > 0)
326
326
  return e.operators.filter(
327
327
  (i) => {
328
328
  var n;
329
- return (n = i.appointmentBookingReasonIds) == null ? void 0 : n.some((o) => s.includes(o));
329
+ return (n = i.appointmentBookingReasonIds) == null ? void 0 : n.some((o) => a.includes(o));
330
330
  }
331
331
  );
332
332
  }
333
333
  return [];
334
334
  }
335
- function _s(e, t) {
336
- const s = e.country === Ds, i = !s || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, r = ue(e.value).length > 0, m = !o || r, d = Oe(e.value).length > 0, l = !m || d, c = t.operators, x = !!e.allowOperatorSelection && l && d && !e.lockedOperatorId && c.length > 1, S = l && d, N = (!S || e.value.date !== void 0) && e.value.date !== void 0, M = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, k = d && c.length === 0;
335
+ function Pa(e, t) {
336
+ const a = e.country === Ma, i = !a || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, r = ue(e.value).length > 0, m = !o || r, d = Oe(e.value).length > 0, l = !m || d, c = t.operators, x = !!e.allowOperatorSelection && l && d && !e.lockedOperatorId && c.length > 1, S = l && d, w = (!S || e.value.date !== void 0) && e.value.date !== void 0, N = (!w || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, k = d && c.length === 0;
337
337
  return {
338
- insurance: s,
338
+ insurance: a,
339
339
  specialty: o,
340
340
  service: m,
341
341
  operator: x,
342
342
  date: S,
343
- slot: N,
344
- details: M,
343
+ slot: w,
344
+ details: N,
345
345
  onboardingIncomplete: k
346
346
  };
347
347
  }
348
- function Ps(e, t) {
349
- const s = [];
350
- t.insurance && s.push(1), t.specialty && s.push(2), s.push(3), t.operator && s.push(4), s.push(5), s.push(6), s.push(7);
348
+ function Ba(e, t) {
349
+ const a = [];
350
+ t.insurance && a.push(1), t.specialty && a.push(2), a.push(3), t.operator && a.push(4), a.push(5), a.push(6), a.push(7);
351
351
  const i = {
352
352
  1: e.value.insuranceType !== void 0,
353
353
  // 0.34.0: array-or-single — satisfied when EITHER form is present.
@@ -360,24 +360,24 @@ function Ps(e, t) {
360
360
  // details fulfilment is owned by the form's own validation
361
361
  };
362
362
  return {
363
- currentStep: s.find((o) => !i[o]) ?? 7,
364
- visibleSteps: s
363
+ currentStep: a.find((o) => !i[o]) ?? 7,
364
+ visibleSteps: a
365
365
  };
366
366
  }
367
- function Bs(e) {
367
+ function Oa(e) {
368
368
  const t = {
369
- specialties: Ms(e),
370
- services: As(e),
371
- operators: Ts(e)
372
- }, s = _s(e, t), { currentStep: i, visibleSteps: n } = Ps(e, s);
369
+ specialties: Aa(e),
370
+ services: Ta(e),
371
+ operators: _a(e)
372
+ }, a = Pa(e, t), { currentStep: i, visibleSteps: n } = Ba(e, a);
373
373
  let o;
374
374
  if (e.value.date && e.value.slotKey) {
375
375
  const l = e.availableSlots[e.value.date];
376
376
  l && (o = l.find((c) => c.key === e.value.slotKey));
377
377
  }
378
- const r = Oe(e.value), u = r.length > 0 ? e.services.find((l) => l.id === r[0]) : void 0, m = ue(e.value).length > 0, d = r.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!s.insurance || e.value.insuranceType !== void 0) && (!s.specialty || m);
378
+ const r = Oe(e.value), u = r.length > 0 ? e.services.find((l) => l.id === r[0]) : void 0, m = ue(e.value).length > 0, d = r.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!a.insurance || e.value.insuranceType !== void 0) && (!a.specialty || m);
379
379
  return {
380
- gates: s,
380
+ gates: a,
381
381
  filtered: t,
382
382
  currentStep: i,
383
383
  totalSteps: n.length,
@@ -443,12 +443,12 @@ function mt(e, t) {
443
443
  };
444
444
  }
445
445
  function gt(e, t) {
446
- const s = !!t && t.length > 0;
446
+ const a = !!t && t.length > 0;
447
447
  return {
448
448
  ...e,
449
449
  serviceId: void 0,
450
450
  serviceIds: t,
451
- operatorId: s ? Q : void 0,
451
+ operatorId: a ? Q : void 0,
452
452
  operatorIds: void 0,
453
453
  date: void 0,
454
454
  slotKey: void 0,
@@ -496,47 +496,47 @@ function vt(e, t) {
496
496
  slotKey: t
497
497
  };
498
498
  }
499
- function Os(e, t) {
500
- let s = e;
501
- if (t.lockedOperatorId && s.operatorId !== t.lockedOperatorId && (s = { ...s, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && s.specialtyId === void 0 && s.specialtyIds === void 0 && (s = { ...s, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
502
- const n = ue(s), o = n.length > 0 ? t.services.filter(
499
+ function Ea(e, t) {
500
+ let a = e;
501
+ if (t.lockedOperatorId && a.operatorId !== t.lockedOperatorId && (a = { ...a, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && a.specialtyId === void 0 && a.specialtyIds === void 0 && (a = { ...a, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
502
+ const n = ue(a), o = n.length > 0 ? t.services.filter(
503
503
  (r) => r.specialtyId && n.includes(r.specialtyId)
504
504
  ) : t.services;
505
- o.length === 1 && s.serviceId === void 0 && s.serviceIds === void 0 && (s = { ...s, serviceId: o[0].id }, s.operatorId === void 0 && s.operatorIds === void 0 && (s = { ...s, operatorId: Q }));
505
+ o.length === 1 && a.serviceId === void 0 && a.serviceIds === void 0 && (a = { ...a, serviceId: o[0].id }, a.operatorId === void 0 && a.operatorIds === void 0 && (a = { ...a, operatorId: Q }));
506
506
  }
507
- return s;
507
+ return a;
508
508
  }
509
509
  function He(e) {
510
510
  if (e.operatorId && e.operatorId !== Q)
511
511
  return e.operatorId;
512
512
  }
513
- function Es(e) {
513
+ function La(e) {
514
514
  if (!e) return !1;
515
515
  const t = e.trim();
516
516
  return /^\+?\d[\d\s\-()]{6,}$/.test(t);
517
517
  }
518
518
  function bt(e) {
519
- const t = e && e.length > 0 ? e : ["email"], s = new Set(t);
520
- return qe.filter((i) => s.has(i));
519
+ const t = e && e.length > 0 ? e : ["email"], a = new Set(t);
520
+ return qe.filter((i) => a.has(i));
521
521
  }
522
- function Rs(e, t, s) {
522
+ function Ra(e, t, a) {
523
523
  const i = bt(e), n = new Set(i);
524
- if (s)
524
+ if (a)
525
525
  return qe.filter(
526
- (d) => s.includes(d) && n.has(d)
526
+ (d) => a.includes(d) && n.has(d)
527
527
  );
528
528
  const o = [];
529
529
  n.has("email") && o.push("email");
530
- const r = Es(t), u = n.has("whatsapp");
530
+ const r = La(t), u = n.has("whatsapp");
531
531
  u && r && o.push("whatsapp"), !u && n.has("sms") && o.push("sms");
532
532
  const m = new Set(o);
533
533
  return qe.filter((d) => m.has(d));
534
534
  }
535
- const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, Me = { state: "idle" }, Ye = ot(
535
+ const it = 500, Va = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, Me = { state: "idle" }, Ye = ot(
536
536
  ({
537
537
  value: e,
538
538
  onChange: t,
539
- onSubmit: s,
539
+ onSubmit: a,
540
540
  requireCodiceFiscale: i = !1,
541
541
  requireDateOfBirth: n = !1,
542
542
  requireInsuranceNumber: o = !1,
@@ -549,30 +549,30 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
549
549
  validateInsuranceNumber: x,
550
550
  submitting: S = !1,
551
551
  summarySlot: h,
552
- defaultPhoneCountry: N,
553
- confirmationChannels: D,
554
- defaultConfirmationChannels: M,
552
+ defaultPhoneCountry: w,
553
+ confirmationChannels: A,
554
+ defaultConfirmationChannels: N,
555
555
  submitError: k
556
556
  }, b) => {
557
557
  var we, re;
558
- const { t: p } = B(), I = rt(), [A, g] = q(Me), [y, _] = q(Me), [T, O] = q({}), E = H(
559
- (v) => O((C) => ({ ...C, [v]: !0 })),
558
+ const { t: p } = B(), I = rt(), [M, g] = q(Me), [y, _] = q(Me), [T, O] = q({}), E = H(
559
+ (v) => O((D) => ({ ...D, [v]: !0 })),
560
560
  []
561
- ), V = ie(null), L = ie(
561
+ ), R = ie(null), V = ie(
562
562
  null
563
563
  );
564
564
  U(
565
565
  () => () => {
566
- V.current && clearTimeout(V.current), L.current && clearTimeout(L.current);
566
+ R.current && clearTimeout(R.current), V.current && clearTimeout(V.current);
567
567
  },
568
568
  []
569
569
  );
570
570
  const P = H(
571
571
  (v) => t({ ...e, ...v }),
572
572
  [e, t]
573
- ), ee = w(
574
- () => bt(D),
575
- [D]
573
+ ), ee = C(
574
+ () => bt(A),
575
+ [A]
576
576
  ), G = ee.length >= 2, pe = ie(!1);
577
577
  U(() => {
578
578
  if (!G) {
@@ -583,19 +583,19 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
583
583
  pe.current = !0;
584
584
  return;
585
585
  }
586
- const v = Rs(
586
+ const v = Ra(
587
587
  ee,
588
588
  e.mobilePhone,
589
- M
589
+ N
590
590
  );
591
591
  pe.current = !0, P({ confirmationChannels: v });
592
592
  }, [
593
593
  G,
594
594
  ee,
595
595
  e.mobilePhone,
596
- M
596
+ N
597
597
  ]);
598
- const te = w(
598
+ const te = C(
599
599
  () => e.confirmationChannels ?? [],
600
600
  [e.confirmationChannels]
601
601
  ), xe = G && te.length === 0;
@@ -605,17 +605,17 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
605
605
  g(Me);
606
606
  return;
607
607
  }
608
- if (!Vs.test(v)) {
608
+ if (!Va.test(v)) {
609
609
  g({
610
610
  state: "invalid",
611
611
  hint: p("booking.details.codiceFiscale.invalidFormat")
612
612
  });
613
613
  return;
614
614
  }
615
- g({ state: "pending" }), V.current && clearTimeout(V.current), V.current = setTimeout(() => {
615
+ g({ state: "pending" }), R.current && clearTimeout(R.current), R.current = setTimeout(() => {
616
616
  c(v).then(
617
- (C) => g(
618
- C.valid ? { state: "valid" } : { state: "invalid", hint: C.hint }
617
+ (D) => g(
618
+ D.valid ? { state: "valid" } : { state: "invalid", hint: D.hint }
619
619
  )
620
620
  ).catch(
621
621
  () => g({
@@ -632,10 +632,10 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
632
632
  _(Me);
633
633
  return;
634
634
  }
635
- _({ state: "pending" }), L.current && clearTimeout(L.current), L.current = setTimeout(() => {
635
+ _({ state: "pending" }), V.current && clearTimeout(V.current), V.current = setTimeout(() => {
636
636
  x(v).then(
637
- (C) => _(
638
- C.valid ? { state: "valid" } : { state: "invalid", hint: C.hint }
637
+ (D) => _(
638
+ D.valid ? { state: "valid" } : { state: "invalid", hint: D.hint }
639
639
  )
640
640
  ).catch(
641
641
  () => _({
@@ -645,27 +645,27 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
645
645
  );
646
646
  }, nt);
647
647
  }, [Y, x, e.insuranceNumber, p]);
648
- const oe = w(
649
- () => !!(e.email && Ls.test(e.email)),
648
+ const oe = C(
649
+ () => !!(e.email && Fa.test(e.email)),
650
650
  [e.email]
651
- ), me = w(
651
+ ), me = C(
652
652
  () => !!(e.mobilePhone && e.mobilePhone.length >= 6),
653
653
  [e.mobilePhone]
654
- ), Se = w(() => {
655
- var v, C;
656
- return !(!((v = e.firstName) != null && v.trim()) || !((C = e.lastName) != null && C.trim()) || !oe || !me || i && A.state !== "valid" || n && !e.dateOfBirth || Y && y.state !== "valid");
654
+ ), Se = C(() => {
655
+ var v, D;
656
+ return !(!((v = e.firstName) != null && v.trim()) || !((D = e.lastName) != null && D.trim()) || !oe || !me || i && M.state !== "valid" || n && !e.dateOfBirth || Y && y.state !== "valid");
657
657
  }, [
658
658
  e.firstName,
659
659
  e.lastName,
660
660
  oe,
661
661
  me,
662
662
  i,
663
- A.state,
663
+ M.state,
664
664
  n,
665
665
  e.dateOfBirth,
666
666
  Y,
667
667
  y.state
668
- ]), Ie = !!(e.privacyConsent && e.termsConsent), Re = !G || te.length > 0, J = Se && Ie && Re && !S, Ve = (v) => {
668
+ ]), Ie = !!(e.privacyConsent && e.termsConsent), Le = !G || te.length > 0, J = Se && Ie && Le && !S, Re = (v) => {
669
669
  if (v.preventDefault(), O({
670
670
  firstName: !0,
671
671
  lastName: !0,
@@ -675,7 +675,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
675
675
  dateOfBirth: !0,
676
676
  insuranceNumber: !0
677
677
  }), !J) return;
678
- const C = {
678
+ const D = {
679
679
  firstName: e.firstName.trim(),
680
680
  lastName: e.lastName.trim(),
681
681
  email: e.email.trim(),
@@ -692,11 +692,11 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
692
692
  // config.
693
693
  confirmationChannels: G ? te : void 0
694
694
  };
695
- s(C);
696
- }, Ne = (v, C) => {
697
- const se = C && /^https?:\/\//i.test(C) ? C : void 0;
698
- return se ? /* @__PURE__ */ a(
699
- Pt,
695
+ a(D);
696
+ }, Ne = (v, D) => {
697
+ const ae = D && /^https?:\/\//i.test(D) ? D : void 0;
698
+ return ae ? /* @__PURE__ */ s(
699
+ Bt,
700
700
  {
701
701
  i18nKey: v,
702
702
  components: {
@@ -707,10 +707,10 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
707
707
  // label.
708
708
  policyLink: (
709
709
  // eslint-disable-next-line jsx-a11y/anchor-has-content
710
- /* @__PURE__ */ a(
710
+ /* @__PURE__ */ s(
711
711
  "a",
712
712
  {
713
- href: se,
713
+ href: ae,
714
714
  target: "_blank",
715
715
  rel: "noopener noreferrer",
716
716
  className: "ds:underline ds:text-[var(--primary)]"
@@ -727,18 +727,18 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
727
727
  ref: b,
728
728
  id: I,
729
729
  noValidate: !0,
730
- onSubmit: Ve,
730
+ onSubmit: Re,
731
731
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
732
732
  children: [
733
733
  h,
734
734
  /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
735
- /* @__PURE__ */ a(
735
+ /* @__PURE__ */ s(
736
736
  W,
737
737
  {
738
738
  label: p("booking.details.firstName.label"),
739
739
  required: !0,
740
740
  error: T.firstName && !((we = e.firstName) != null && we.trim()) ? p("booking.details.firstName.required") : void 0,
741
- children: /* @__PURE__ */ a(
741
+ children: /* @__PURE__ */ s(
742
742
  Ce,
743
743
  {
744
744
  autoComplete: "given-name",
@@ -749,13 +749,13 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
749
749
  )
750
750
  }
751
751
  ),
752
- /* @__PURE__ */ a(
752
+ /* @__PURE__ */ s(
753
753
  W,
754
754
  {
755
755
  label: p("booking.details.lastName.label"),
756
756
  required: !0,
757
757
  error: T.lastName && !((re = e.lastName) != null && re.trim()) ? p("booking.details.lastName.required") : void 0,
758
- children: /* @__PURE__ */ a(
758
+ children: /* @__PURE__ */ s(
759
759
  Ce,
760
760
  {
761
761
  autoComplete: "family-name",
@@ -768,13 +768,13 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
768
768
  )
769
769
  ] }),
770
770
  /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
771
- /* @__PURE__ */ a(
771
+ /* @__PURE__ */ s(
772
772
  W,
773
773
  {
774
774
  label: p("booking.details.email.label"),
775
775
  required: !0,
776
776
  error: T.email && !oe ? p("booking.details.email.invalid") : void 0,
777
- children: /* @__PURE__ */ a(
777
+ children: /* @__PURE__ */ s(
778
778
  Rt,
779
779
  {
780
780
  value: e.email ?? "",
@@ -784,17 +784,17 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
784
784
  )
785
785
  }
786
786
  ),
787
- /* @__PURE__ */ a(
787
+ /* @__PURE__ */ s(
788
788
  W,
789
789
  {
790
790
  label: p("booking.details.mobilePhone.label"),
791
791
  required: !0,
792
792
  error: T.mobilePhone && !me ? p("booking.details.mobilePhone.invalid") : void 0,
793
- children: /* @__PURE__ */ a(
793
+ children: /* @__PURE__ */ s(
794
794
  Vt,
795
795
  {
796
796
  value: e.mobilePhone ?? "",
797
- defaultCountry: N == null ? void 0 : N.toUpperCase(),
797
+ defaultCountry: w == null ? void 0 : w.toUpperCase(),
798
798
  onChange: (v) => {
799
799
  P({ mobilePhone: v }), E("mobilePhone");
800
800
  }
@@ -804,14 +804,14 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
804
804
  )
805
805
  ] }),
806
806
  i || n ? /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
807
- i ? /* @__PURE__ */ a(
807
+ i ? /* @__PURE__ */ s(
808
808
  W,
809
809
  {
810
810
  label: p("booking.details.codiceFiscale.label"),
811
811
  required: !0,
812
- description: A.state === "pending" ? p("booking.details.codiceFiscale.checking") : p("booking.details.codiceFiscale.helper"),
813
- error: T.codiceFiscale && A.state === "invalid" ? A.hint ?? p("booking.details.codiceFiscale.invalid") : void 0,
814
- children: /* @__PURE__ */ a(
812
+ description: M.state === "pending" ? p("booking.details.codiceFiscale.checking") : p("booking.details.codiceFiscale.helper"),
813
+ error: T.codiceFiscale && M.state === "invalid" ? M.hint ?? p("booking.details.codiceFiscale.invalid") : void 0,
814
+ children: /* @__PURE__ */ s(
815
815
  Ce,
816
816
  {
817
817
  value: e.codiceFiscale ?? "",
@@ -824,14 +824,14 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
824
824
  )
825
825
  }
826
826
  ) : null,
827
- n ? /* @__PURE__ */ a(
827
+ n ? /* @__PURE__ */ s(
828
828
  W,
829
829
  {
830
830
  label: p("booking.details.dateOfBirth.label"),
831
831
  required: !0,
832
832
  error: T.dateOfBirth && !e.dateOfBirth ? p("booking.details.dateOfBirth.required") : void 0,
833
- children: /* @__PURE__ */ a(
834
- Et,
833
+ children: /* @__PURE__ */ s(
834
+ Lt,
835
835
  {
836
836
  value: e.dateOfBirth ? new Date(e.dateOfBirth) : void 0,
837
837
  onChange: (v) => {
@@ -844,14 +844,14 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
844
844
  }
845
845
  ) : null
846
846
  ] }) : null,
847
- Y ? /* @__PURE__ */ a(
847
+ Y ? /* @__PURE__ */ s(
848
848
  W,
849
849
  {
850
850
  label: p("booking.details.insuranceNumber.label"),
851
851
  required: !0,
852
852
  description: y.state === "pending" ? p("booking.details.insuranceNumber.checking") : void 0,
853
853
  error: T.insuranceNumber && y.state === "invalid" ? y.hint ?? p("booking.details.insuranceNumber.invalid") : void 0,
854
- children: /* @__PURE__ */ a(
854
+ children: /* @__PURE__ */ s(
855
855
  Ce,
856
856
  {
857
857
  value: e.insuranceNumber ?? "",
@@ -861,15 +861,15 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
861
861
  )
862
862
  }
863
863
  ) : null,
864
- u ? /* @__PURE__ */ a(
864
+ u ? /* @__PURE__ */ s(
865
865
  W,
866
866
  {
867
867
  label: p("booking.details.note.label"),
868
868
  description: p("booking.details.note.helper", {
869
869
  max: it
870
870
  }),
871
- children: /* @__PURE__ */ a(
872
- Lt,
871
+ children: /* @__PURE__ */ s(
872
+ Ft,
873
873
  {
874
874
  value: e.note ?? "",
875
875
  maxLength: it,
@@ -879,7 +879,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
879
879
  )
880
880
  }
881
881
  ) : null,
882
- m ? /* @__PURE__ */ a(
882
+ m ? /* @__PURE__ */ s(
883
883
  Ke,
884
884
  {
885
885
  checked: !!e.returningPatient,
@@ -888,7 +888,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
888
888
  }
889
889
  ) : null,
890
890
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
891
- /* @__PURE__ */ a(
891
+ /* @__PURE__ */ s(
892
892
  Ke,
893
893
  {
894
894
  checked: !!e.privacyConsent,
@@ -898,7 +898,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
898
898
  "booking.details.consent.privacy.label",
899
899
  d
900
900
  ),
901
- /* @__PURE__ */ a(
901
+ /* @__PURE__ */ s(
902
902
  "span",
903
903
  {
904
904
  "aria-hidden": "true",
@@ -909,7 +909,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
909
909
  ] })
910
910
  }
911
911
  ),
912
- /* @__PURE__ */ a(
912
+ /* @__PURE__ */ s(
913
913
  Ke,
914
914
  {
915
915
  checked: !!e.termsConsent,
@@ -919,7 +919,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
919
919
  "booking.details.consent.terms.label",
920
920
  l
921
921
  ),
922
- /* @__PURE__ */ a(
922
+ /* @__PURE__ */ s(
923
923
  "span",
924
924
  {
925
925
  "aria-hidden": "true",
@@ -931,13 +931,13 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
931
931
  }
932
932
  )
933
933
  ] }),
934
- G ? /* @__PURE__ */ a(
934
+ G ? /* @__PURE__ */ s(
935
935
  "div",
936
936
  {
937
937
  "data-component": "booking-confirmation-channels",
938
938
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
939
- children: /* @__PURE__ */ a(
940
- Ot,
939
+ children: /* @__PURE__ */ s(
940
+ Et,
941
941
  {
942
942
  label: p("booking.confirmation.heading"),
943
943
  helperText: p("booking.confirmation.helper"),
@@ -955,15 +955,15 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
955
955
  )
956
956
  }
957
957
  ) : null,
958
- k ? /* @__PURE__ */ a(j, { variant: "error", children: /* @__PURE__ */ a(j.Description, { children: k }) }) : null,
959
- /* @__PURE__ */ a(
958
+ k ? /* @__PURE__ */ s(j, { variant: "error", children: /* @__PURE__ */ s(j.Description, { children: k }) }) : null,
959
+ /* @__PURE__ */ s(
960
960
  ne,
961
961
  {
962
962
  intent: "primary",
963
963
  size: "md",
964
964
  type: "submit",
965
965
  disabled: !J,
966
- startIcon: S ? /* @__PURE__ */ a(Ft, { variant: "pulse", size: "sm" }) : void 0,
966
+ startIcon: S ? /* @__PURE__ */ s($t, { variant: "pulse", size: "sm" }) : void 0,
967
967
  children: p("booking.details.submit")
968
968
  }
969
969
  )
@@ -973,7 +973,7 @@ const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
973
973
  }
974
974
  );
975
975
  Ye.displayName = "BookingDetailsForm";
976
- const Fs = Pe(
976
+ const $a = Pe(
977
977
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
978
978
  {
979
979
  variants: {
@@ -1001,40 +1001,44 @@ const Fs = Pe(
1001
1001
  },
1002
1002
  defaultVariants: { variant: "inline-list", surface: "flat" }
1003
1003
  }
1004
- ), $s = [
1004
+ ), za = [
1005
1005
  [
1006
1006
  /\b(estetic|aesthetic|botox|filler|mesoterap|chirurgia\s*plastic)/i,
1007
- at
1007
+ st
1008
1008
  ],
1009
- [/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Wt],
1010
- [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, xs],
1011
- [/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, Xt],
1012
- [/\b(otorin|udito|orecchi|hearing|ear)/i, ms],
1013
- [/\b(neuro|brain|cervello)/i, ls],
1014
- [/\b(pediatr|child|bambin)/i, ns],
1015
- [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, rs],
1016
- [/\b(lab|analis|test|sang|esami)/i, fs],
1017
- [/\b(farmaco|pharm|pillol|refill)/i, vs],
1018
- [/\b(chirurg|surg|intervent|operat)/i, ys],
1019
- [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Qt],
1020
- [/\b(vacc|inject|inie|punto)/i, at],
1021
- [/\b(derma|skin|pelle)/i, es],
1022
- [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, ts],
1023
- [/\b(general|medicin|family|control|check[-\s]?up)/i, as]
1009
+ [/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Xt],
1010
+ [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Sa],
1011
+ [/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, Qt],
1012
+ [/\b(otorin|udito|orecchi|hearing|ear)/i, ga],
1013
+ [/\b(neuro|brain|cervello)/i, ca],
1014
+ [/\b(pediatr|child|bambin)/i, oa],
1015
+ [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, da],
1016
+ [/\b(lab|analis|test|sang|esami)/i, ha],
1017
+ [/\b(farmaco|pharm|pillol|refill)/i, ba],
1018
+ [/\b(chirurg|surg|intervent|operat)/i, ka],
1019
+ [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, ea],
1020
+ [/\b(vacc|inject|inie|punto)/i, st],
1021
+ [/\b(derma|skin|pelle)/i, ta],
1022
+ [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, aa],
1023
+ [/\b(general|medicin|family|control|check[-\s]?up)/i, ia]
1024
1024
  ];
1025
- function zs(e) {
1026
- for (const [t, s] of $s)
1027
- if (t.test(e)) return s;
1025
+ function Ka(e) {
1026
+ for (const [t, a] of za)
1027
+ if (t.test(e)) return a;
1028
1028
  return null;
1029
1029
  }
1030
- function Ks(e) {
1031
- const t = zs(e.label) ?? Zt;
1032
- return /* @__PURE__ */ a(t, { "aria-hidden": "true", className: "ds:size-5" });
1030
+ function ja(e) {
1031
+ const t = Ka(e.label) ?? Wt;
1032
+ return /* @__PURE__ */ s(t, { "aria-hidden": "true", className: "ds:size-5" });
1033
+ }
1034
+ function yt(e) {
1035
+ var t;
1036
+ return (t = e.priceLabel) != null && t.trim() ? e.priceLabel : void 0;
1033
1037
  }
1034
- function ae(e) {
1038
+ function se(e) {
1035
1039
  return Te(e, "yyyy-MM-dd");
1036
1040
  }
1037
- const js = [
1041
+ const qa = [
1038
1042
  "ds:relative ds:flex ds:items-center ds:justify-center",
1039
1043
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
1040
1044
  "ds:rounded-[var(--radius-sm)]",
@@ -1044,7 +1048,7 @@ const js = [
1044
1048
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1045
1049
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1046
1050
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
1047
- ].join(" "), qs = Pe(js, {
1051
+ ].join(" "), Ha = Pe(qa, {
1048
1052
  variants: {
1049
1053
  state: {
1050
1054
  available: "ds:cursor-pointer ds:text-[var(--foreground)] ds:hover:bg-[var(--muted)]/30",
@@ -1055,29 +1059,29 @@ const js = [
1055
1059
  },
1056
1060
  defaultVariants: { state: "unavailable" }
1057
1061
  });
1058
- function Hs({
1062
+ function Ga({
1059
1063
  availableDates: e,
1060
1064
  selectedDate: t,
1061
- onSelectDate: s,
1065
+ onSelectDate: a,
1062
1066
  locale: i,
1063
1067
  loading: n
1064
1068
  }) {
1065
- const { t: o } = B(), r = w(() => t ? ye($(t)) : e.length > 0 ? ye($(e[0])) : ye(/* @__PURE__ */ new Date()), [t, e]), [u, m] = q(r), [d, l] = q(null), c = w(() => {
1066
- const k = ye(u), b = qt(u), p = k.getDay(), I = b.getDate(), A = [];
1069
+ const { t: o } = B(), r = C(() => t ? ye($(t)) : e.length > 0 ? ye($(e[0])) : ye(/* @__PURE__ */ new Date()), [t, e]), [u, m] = q(r), [d, l] = q(null), c = C(() => {
1070
+ const k = ye(u), b = Ht(u), p = k.getDay(), I = b.getDate(), M = [];
1067
1071
  for (let g = p; g > 0; g -= 1) {
1068
1072
  const y = new Date(k);
1069
- y.setDate(k.getDate() - g), A.push(y);
1073
+ y.setDate(k.getDate() - g), M.push(y);
1070
1074
  }
1071
1075
  for (let g = 0; g < I; g += 1) {
1072
1076
  const y = new Date(k);
1073
- y.setDate(k.getDate() + g), A.push(y);
1077
+ y.setDate(k.getDate() + g), M.push(y);
1074
1078
  }
1075
- for (; A.length < 42; ) {
1076
- const g = A[A.length - 1], y = new Date(g);
1077
- y.setDate(g.getDate() + 1), A.push(y);
1079
+ for (; M.length < 42; ) {
1080
+ const g = M[M.length - 1], y = new Date(g);
1081
+ y.setDate(g.getDate() + 1), M.push(y);
1078
1082
  }
1079
- return A;
1080
- }, [u]), x = w(() => {
1083
+ return M;
1084
+ }, [u]), x = C(() => {
1081
1085
  try {
1082
1086
  return new Intl.DateTimeFormat(i, {
1083
1087
  month: "long",
@@ -1086,7 +1090,7 @@ function Hs({
1086
1090
  } catch {
1087
1091
  return Te(u, "MMMM yyyy");
1088
1092
  }
1089
- }, [u, i]), S = w(() => {
1093
+ }, [u, i]), S = C(() => {
1090
1094
  const k = new Date(2024, 0, 7);
1091
1095
  return Array.from({ length: 7 }, (b, p) => {
1092
1096
  const I = new Date(k);
@@ -1097,17 +1101,17 @@ function Hs({
1097
1101
  return Te(I, "EEE");
1098
1102
  }
1099
1103
  });
1100
- }, [i]), h = w(() => new Set(e), [e]), N = H(
1101
- (k) => h.has(ae(k)),
1104
+ }, [i]), h = C(() => new Set(e), [e]), w = H(
1105
+ (k) => h.has(se(k)),
1102
1106
  [h]
1103
- ), D = w(() => {
1107
+ ), A = C(() => {
1104
1108
  if (d) return d;
1105
1109
  if (t) return $(t);
1106
1110
  const k = c.find(
1107
- (b) => De(b, u) && N(b)
1111
+ (b) => De(b, u) && w(b)
1108
1112
  );
1109
1113
  return k || (c.find((b) => De(b, u)) ?? null);
1110
- }, [d, t, c, u, N]), M = H(
1114
+ }, [d, t, c, u, w]), N = H(
1111
1115
  (k, b) => {
1112
1116
  let p = null;
1113
1117
  switch (k.key) {
@@ -1131,7 +1135,7 @@ function Hs({
1131
1135
  break;
1132
1136
  case "Enter":
1133
1137
  case " ": {
1134
- k.preventDefault(), N(b) && s(ae(b));
1138
+ k.preventDefault(), w(b) && a(se(b));
1135
1139
  return;
1136
1140
  }
1137
1141
  default:
@@ -1139,7 +1143,7 @@ function Hs({
1139
1143
  }
1140
1144
  p && (k.preventDefault(), De(p, u) || m(ye(p)), l(p));
1141
1145
  },
1142
- [N, s, u]
1146
+ [w, a, u]
1143
1147
  );
1144
1148
  return n ? /* @__PURE__ */ f(
1145
1149
  "div",
@@ -1149,26 +1153,26 @@ function Hs({
1149
1153
  "aria-label": o("common.loading"),
1150
1154
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
1151
1155
  children: [
1152
- /* @__PURE__ */ a(_e, { variant: "text", width: "40%" }),
1153
- /* @__PURE__ */ a("div", { className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]", children: Array.from({ length: 42 }, (k, b) => /* @__PURE__ */ a(_e, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
1156
+ /* @__PURE__ */ s(_e, { variant: "text", width: "40%" }),
1157
+ /* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]", children: Array.from({ length: 42 }, (k, b) => /* @__PURE__ */ s(_e, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
1154
1158
  ]
1155
1159
  }
1156
1160
  ) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1157
1161
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1158
- /* @__PURE__ */ a(
1162
+ /* @__PURE__ */ s(
1159
1163
  tt,
1160
1164
  {
1161
- icon: /* @__PURE__ */ a(Gt, {}),
1165
+ icon: /* @__PURE__ */ s(Ut, {}),
1162
1166
  "aria-label": o("booking.previousMonth"),
1163
1167
  size: "sm",
1164
1168
  intent: "ghost",
1165
1169
  flipIconInRtl: !0,
1166
1170
  onClick: () => {
1167
- m((k) => ws(k)), l(null);
1171
+ m((k) => Ca(k)), l(null);
1168
1172
  }
1169
1173
  }
1170
1174
  ),
1171
- /* @__PURE__ */ a(
1175
+ /* @__PURE__ */ s(
1172
1176
  "span",
1173
1177
  {
1174
1178
  className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]",
@@ -1176,10 +1180,10 @@ function Hs({
1176
1180
  children: x
1177
1181
  }
1178
1182
  ),
1179
- /* @__PURE__ */ a(
1183
+ /* @__PURE__ */ s(
1180
1184
  tt,
1181
1185
  {
1182
- icon: /* @__PURE__ */ a(Ut, {}),
1186
+ icon: /* @__PURE__ */ s(Yt, {}),
1183
1187
  "aria-label": o("booking.nextMonth"),
1184
1188
  size: "sm",
1185
1189
  intent: "ghost",
@@ -1197,12 +1201,12 @@ function Hs({
1197
1201
  "aria-label": o("booking.monthGridLabel"),
1198
1202
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
1199
1203
  children: [
1200
- /* @__PURE__ */ a(
1204
+ /* @__PURE__ */ s(
1201
1205
  "div",
1202
1206
  {
1203
1207
  role: "row",
1204
1208
  className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
1205
- children: S.map((k, b) => /* @__PURE__ */ a(
1209
+ children: S.map((k, b) => /* @__PURE__ */ s(
1206
1210
  "div",
1207
1211
  {
1208
1212
  role: "columnheader",
@@ -1213,13 +1217,13 @@ function Hs({
1213
1217
  ))
1214
1218
  }
1215
1219
  ),
1216
- Array.from({ length: 6 }, (k, b) => /* @__PURE__ */ a(
1220
+ Array.from({ length: 6 }, (k, b) => /* @__PURE__ */ s(
1217
1221
  "div",
1218
1222
  {
1219
1223
  role: "row",
1220
1224
  className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
1221
1225
  children: c.slice(b * 7, b * 7 + 7).map((p, I) => {
1222
- const A = b * 7 + I, g = De(p, u), y = g && N(p), _ = t ? st(p, $(t)) : !1, T = g ? _ ? "selected" : y ? "available" : "unavailable" : "outside", O = D ? st(D, p) : !1, E = (() => {
1226
+ const M = b * 7 + I, g = De(p, u), y = g && w(p), _ = t ? at(p, $(t)) : !1, T = g ? _ ? "selected" : y ? "available" : "unavailable" : "outside", O = A ? at(A, p) : !1, E = (() => {
1223
1227
  try {
1224
1228
  return new Intl.DateTimeFormat(i, {
1225
1229
  dateStyle: "full"
@@ -1228,7 +1232,7 @@ function Hs({
1228
1232
  return Te(p, "PPP");
1229
1233
  }
1230
1234
  })();
1231
- return /* @__PURE__ */ a(
1235
+ return /* @__PURE__ */ s(
1232
1236
  "button",
1233
1237
  {
1234
1238
  type: "button",
@@ -1239,13 +1243,13 @@ function Hs({
1239
1243
  tabIndex: O ? 0 : -1,
1240
1244
  disabled: !y,
1241
1245
  onClick: () => {
1242
- y && s(ae(p));
1246
+ y && a(se(p));
1243
1247
  },
1244
- onKeyDown: (V) => M(V, p),
1245
- className: qs({ state: T }),
1246
- children: /* @__PURE__ */ a("span", { "aria-hidden": "true", children: p.getDate() })
1248
+ onKeyDown: (R) => N(R, p),
1249
+ className: Ha({ state: T }),
1250
+ children: /* @__PURE__ */ s("span", { "aria-hidden": "true", children: p.getDate() })
1247
1251
  },
1248
- `mg-cell-${A}`
1252
+ `mg-cell-${M}`
1249
1253
  );
1250
1254
  })
1251
1255
  },
@@ -1256,7 +1260,7 @@ function Hs({
1256
1260
  )
1257
1261
  ] });
1258
1262
  }
1259
- const Gs = Pe(
1263
+ const Ua = Pe(
1260
1264
  [
1261
1265
  "ds:relative ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-md)]",
1262
1266
  "ds:min-h-[var(--min-target-size)]",
@@ -1282,10 +1286,10 @@ const Gs = Pe(
1282
1286
  defaultVariants: { state: "idle" }
1283
1287
  }
1284
1288
  );
1285
- function Us({
1289
+ function Ya({
1286
1290
  services: e,
1287
1291
  selectedServiceId: t,
1288
- onSelect: s
1292
+ onSelect: a
1289
1293
  }) {
1290
1294
  const { t: i } = B(), n = rt(), [o, r] = q(() => {
1291
1295
  if (t) {
@@ -1327,14 +1331,14 @@ function Us({
1327
1331
  }
1328
1332
  case "Enter":
1329
1333
  case " ": {
1330
- l.preventDefault(), s(x);
1334
+ l.preventDefault(), a(x);
1331
1335
  break;
1332
1336
  }
1333
1337
  }
1334
1338
  },
1335
- [e.length, m, s]
1339
+ [e.length, m, a]
1336
1340
  );
1337
- return e.length === 0 ? null : /* @__PURE__ */ a(
1341
+ return e.length === 0 ? null : /* @__PURE__ */ s(
1338
1342
  "div",
1339
1343
  {
1340
1344
  role: "radiogroup",
@@ -1342,39 +1346,42 @@ function Us({
1342
1346
  id: n,
1343
1347
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
1344
1348
  children: e.map((l, c) => {
1345
- const x = t === l.id, S = o === c, h = i("booking.serviceCardLabel", {
1349
+ const x = t === l.id, S = o === c, h = yt(l), w = h ? i("booking.serviceCardLabelPrice", {
1350
+ label: l.label,
1351
+ price: h
1352
+ }) : i("booking.serviceCardLabel", {
1346
1353
  label: l.label,
1347
1354
  duration: l.durationMin
1348
- }), N = Ks(l);
1355
+ }), A = ja(l);
1349
1356
  return /* @__PURE__ */ f(
1350
1357
  "button",
1351
1358
  {
1352
- ref: (D) => {
1353
- D ? u.current.set(c, D) : u.current.delete(c);
1359
+ ref: (N) => {
1360
+ N ? u.current.set(c, N) : u.current.delete(c);
1354
1361
  },
1355
1362
  type: "button",
1356
1363
  role: "radio",
1357
1364
  "aria-checked": x,
1358
- "aria-label": h,
1365
+ "aria-label": w,
1359
1366
  tabIndex: S ? 0 : -1,
1360
- onClick: () => s(l.id),
1367
+ onClick: () => a(l.id),
1361
1368
  onFocus: () => r(c),
1362
- onKeyDown: (D) => d(D, c, l.id),
1363
- className: Gs({
1369
+ onKeyDown: (N) => d(N, c, l.id),
1370
+ className: Ua({
1364
1371
  state: x ? "selected" : "idle"
1365
1372
  }),
1366
1373
  children: [
1367
- /* @__PURE__ */ a(
1374
+ /* @__PURE__ */ s(
1368
1375
  "span",
1369
1376
  {
1370
1377
  "aria-hidden": "true",
1371
1378
  className: "ds:flex ds:size-10 ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)] ds:bg-[var(--primary)]/10 ds:text-[var(--primary)]",
1372
- children: N
1379
+ children: A
1373
1380
  }
1374
1381
  ),
1375
1382
  /* @__PURE__ */ f("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
1376
- /* @__PURE__ */ a("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: l.label }),
1377
- /* @__PURE__ */ a("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: i("booking.serviceSummary", { minutes: l.durationMin }) })
1383
+ /* @__PURE__ */ s("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: l.label }),
1384
+ /* @__PURE__ */ s("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: h ?? i("booking.serviceSummary", { minutes: l.durationMin }) })
1378
1385
  ] })
1379
1386
  ]
1380
1387
  },
@@ -1384,7 +1391,7 @@ function Us({
1384
1391
  }
1385
1392
  );
1386
1393
  }
1387
- const Ys = Pe(
1394
+ const Ja = Pe(
1388
1395
  [
1389
1396
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-2xs)]",
1390
1397
  "ds:min-h-[var(--min-target-size)]",
@@ -1410,24 +1417,24 @@ const Ys = Pe(
1410
1417
  defaultVariants: { state: "idle" }
1411
1418
  }
1412
1419
  );
1413
- function Js(e) {
1414
- const [t] = e.split(":").map((i) => parseInt(i, 10)), s = Number.isFinite(t) ? t : 0;
1415
- return s < 12 ? "morning" : s < 17 ? "afternoon" : "evening";
1420
+ function Za(e) {
1421
+ const [t] = e.split(":").map((i) => parseInt(i, 10)), a = Number.isFinite(t) ? t : 0;
1422
+ return a < 12 ? "morning" : a < 17 ? "afternoon" : "evening";
1416
1423
  }
1417
- const Zs = {
1418
- morning: Jt,
1419
- afternoon: Is,
1420
- evening: Yt
1424
+ const Wa = {
1425
+ morning: Zt,
1426
+ afternoon: Na,
1427
+ evening: Jt
1421
1428
  };
1422
- function Ws({
1429
+ function Xa({
1423
1430
  date: e,
1424
1431
  slots: t,
1425
- selectedSlotKey: s,
1432
+ selectedSlotKey: a,
1426
1433
  onSelect: i,
1427
1434
  loading: n,
1428
1435
  locale: o
1429
1436
  }) {
1430
- const { t: r } = B(), u = w(() => {
1437
+ const { t: r } = B(), u = C(() => {
1431
1438
  try {
1432
1439
  return new Intl.DateTimeFormat(o, {
1433
1440
  weekday: "long",
@@ -1437,73 +1444,73 @@ function Ws({
1437
1444
  } catch {
1438
1445
  return e;
1439
1446
  }
1440
- }, [e, o]), m = w(() => {
1447
+ }, [e, o]), m = C(() => {
1441
1448
  const c = {
1442
1449
  morning: [],
1443
1450
  afternoon: [],
1444
1451
  evening: []
1445
1452
  };
1446
1453
  for (const x of t)
1447
- c[Js(x.time)].push(x);
1454
+ c[Za(x.time)].push(x);
1448
1455
  return c;
1449
1456
  }, [t]), d = t.filter((c) => c.available).length, l = ["morning", "afternoon", "evening"];
1450
1457
  return n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1451
- /* @__PURE__ */ a(_e, { variant: "text", width: "60%" }),
1452
- [0, 1].map((c) => /* @__PURE__ */ a(
1458
+ /* @__PURE__ */ s(_e, { variant: "text", width: "60%" }),
1459
+ [0, 1].map((c) => /* @__PURE__ */ s(
1453
1460
  "div",
1454
1461
  {
1455
1462
  className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)]",
1456
- children: [0, 1, 2].map((x) => /* @__PURE__ */ a(_e, { variant: "rounded", height: "44px" }, x))
1463
+ children: [0, 1, 2].map((x) => /* @__PURE__ */ s(_e, { variant: "rounded", height: "44px" }, x))
1457
1464
  },
1458
1465
  c
1459
1466
  ))
1460
- ] }) : d === 0 ? /* @__PURE__ */ a(dt, { variant: "no-results", title: r("booking.noSlotsForDate") }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1467
+ ] }) : d === 0 ? /* @__PURE__ */ s(dt, { variant: "no-results", title: r("booking.noSlotsForDate") }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1461
1468
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1462
1469
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1463
- /* @__PURE__ */ a(
1464
- us,
1470
+ /* @__PURE__ */ s(
1471
+ pa,
1465
1472
  {
1466
1473
  "aria-hidden": "true",
1467
1474
  className: "ds:size-4 ds:text-[color:var(--accent)]"
1468
1475
  }
1469
1476
  ),
1470
- /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u })
1477
+ /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u })
1471
1478
  ] }),
1472
- /* @__PURE__ */ a("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r("booking.slotsAvailable", { count: d }) })
1479
+ /* @__PURE__ */ s("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: r("booking.slotsAvailable", { count: d }) })
1473
1480
  ] }),
1474
1481
  l.map((c) => {
1475
1482
  const x = m[c];
1476
1483
  if (x.length === 0) return null;
1477
- const S = Zs[c];
1484
+ const S = Wa[c];
1478
1485
  return /* @__PURE__ */ f(
1479
1486
  "div",
1480
1487
  {
1481
1488
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
1482
1489
  children: [
1483
1490
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: [
1484
- /* @__PURE__ */ a(S, { "aria-hidden": "true", className: "ds:size-3.5" }),
1485
- /* @__PURE__ */ a("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: r(`booking.timeOfDay.${c}`) })
1491
+ /* @__PURE__ */ s(S, { "aria-hidden": "true", className: "ds:size-3.5" }),
1492
+ /* @__PURE__ */ s("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: r(`booking.timeOfDay.${c}`) })
1486
1493
  ] }),
1487
- /* @__PURE__ */ a(
1494
+ /* @__PURE__ */ s(
1488
1495
  "div",
1489
1496
  {
1490
1497
  role: "group",
1491
1498
  "aria-label": r(`booking.timeOfDay.${c}`),
1492
1499
  className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)] ds:sm:grid-cols-4",
1493
1500
  children: x.map((h) => {
1494
- const N = h.key === s, D = h.available ? N ? "selected" : "idle" : "unavailable";
1495
- return /* @__PURE__ */ a(
1501
+ const w = h.key === a, A = h.available ? w ? "selected" : "idle" : "unavailable";
1502
+ return /* @__PURE__ */ s(
1496
1503
  "button",
1497
1504
  {
1498
1505
  type: "button",
1499
1506
  "data-slot-id": h.key,
1500
1507
  disabled: !h.available,
1501
- "aria-pressed": N,
1508
+ "aria-pressed": w,
1502
1509
  "aria-label": r("booking.slotAvailableLabel", {
1503
1510
  time: h.time
1504
1511
  }),
1505
1512
  onClick: () => h.available && i(h),
1506
- className: Ys({ state: D }),
1513
+ className: Ja({ state: A }),
1507
1514
  children: h.time
1508
1515
  },
1509
1516
  h.key
@@ -1519,10 +1526,10 @@ function Ws({
1519
1526
  ] });
1520
1527
  }
1521
1528
  const Ae = 4;
1522
- function Xs({
1529
+ function Qa({
1523
1530
  availableDates: e,
1524
1531
  availableSlots: t,
1525
- value: s,
1532
+ value: a,
1526
1533
  onChange: i,
1527
1534
  onDateSelect: n,
1528
1535
  onWindowChange: o,
@@ -1531,9 +1538,9 @@ function Xs({
1531
1538
  locale: m,
1532
1539
  agentIdBase: d
1533
1540
  }) {
1534
- const l = w(() => le(/* @__PURE__ */ new Date()), []), [c, x] = q(() => {
1535
- if (s.date) {
1536
- const y = le($(s.date));
1541
+ const l = C(() => le(/* @__PURE__ */ new Date()), []), [c, x] = q(() => {
1542
+ if (a.date) {
1543
+ const y = le($(a.date));
1537
1544
  if (!ce(l, y)) return y;
1538
1545
  }
1539
1546
  if (e.length > 0) {
@@ -1541,22 +1548,22 @@ function Xs({
1541
1548
  if (ce(y, l)) return y;
1542
1549
  }
1543
1550
  return l;
1544
- }), S = w(
1551
+ }), S = C(
1545
1552
  () => je(c, Ae - 1),
1546
1553
  [c]
1547
- ), h = w(() => Array.from({ length: Ae }, (y, _) => {
1548
- const T = je(c, _), O = ae(T), V = (t[O] ?? []).map((L) => ({
1549
- id: L.key,
1554
+ ), h = C(() => Array.from({ length: Ae }, (y, _) => {
1555
+ const T = je(c, _), O = se(T), R = (t[O] ?? []).map((V) => ({
1556
+ id: V.key,
1550
1557
  // SlotGrid formats `start` as a time via Intl.DateTimeFormat —
1551
1558
  // compose a full ISO from the column's date + the slot's HH:mm
1552
1559
  // so the locale-formatter has a real timestamp to work with.
1553
- start: `${O}T${L.time}:00`,
1554
- available: L.available
1560
+ start: `${O}T${V.time}:00`,
1561
+ available: V.available
1555
1562
  }));
1556
- return { date: O, slots: V };
1557
- }), [c, t]), N = ce(c, l), D = !0, M = H(() => {
1563
+ return { date: O, slots: R };
1564
+ }), [c, t]), w = ce(c, l), A = !0, N = H(() => {
1558
1565
  x((y) => {
1559
- const _ = Ht(y, Ae);
1566
+ const _ = Gt(y, Ae);
1560
1567
  return ce(l, _) ? l : _;
1561
1568
  });
1562
1569
  }, [l]), k = H(() => {
@@ -1567,51 +1574,51 @@ function Xs({
1567
1574
  const y = le($(e[0]));
1568
1575
  !ce(y, l) || e.some((T) => {
1569
1576
  const O = le($(T));
1570
- return !ce(O, S) && !jt(O, c);
1577
+ return !ce(O, S) && !qt(O, c);
1571
1578
  }) || x(y);
1572
1579
  }, [e]), U(() => {
1573
- o == null || o(ae(c), ae(S));
1580
+ o == null || o(se(c), se(S));
1574
1581
  }, [c, S, o]);
1575
1582
  const b = H(
1576
1583
  (y, _) => {
1577
- const T = typeof _.date == "string" ? _.date : ae(_.date);
1584
+ const T = typeof _.date == "string" ? _.date : se(_.date);
1578
1585
  i({
1579
- ...vt(Ee(s, T), y.id)
1586
+ ...vt(Ee(a, T), y.id)
1580
1587
  }), n == null || n(T);
1581
1588
  },
1582
- [i, n, s]
1583
- ), p = r || u ? "loading" : "default", I = h.some((y) => y.slots.length > 0), A = e[0];
1589
+ [i, n, a]
1590
+ ), p = r || u ? "loading" : "default", I = h.some((y) => y.slots.length > 0), M = e[0];
1584
1591
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1585
- !I && !!A ? /* @__PURE__ */ a(
1592
+ !I && !!M ? /* @__PURE__ */ s(
1586
1593
  Je,
1587
1594
  {
1588
- nextAvailableDate: A,
1589
- onJump: () => x(le($(A))),
1595
+ nextAvailableDate: M,
1596
+ onJump: () => x(le($(M))),
1590
1597
  locale: m
1591
1598
  }
1592
1599
  ) : null,
1593
- /* @__PURE__ */ a(
1594
- Kt,
1600
+ /* @__PURE__ */ s(
1601
+ jt,
1595
1602
  {
1596
1603
  id: d ? `${d}-slots` : void 0,
1597
1604
  days: h,
1598
1605
  state: p,
1599
- selectedSlotId: s.slotKey,
1606
+ selectedSlotId: a.slotKey,
1600
1607
  maxInitialSlotsPerDay: 6,
1601
1608
  locale: m,
1602
- hasPrevious: N,
1603
- hasNext: D,
1609
+ hasPrevious: w,
1610
+ hasNext: A,
1604
1611
  onSlotSelect: b,
1605
- onPreviousDays: M,
1612
+ onPreviousDays: N,
1606
1613
  onNextDays: k
1607
1614
  }
1608
1615
  )
1609
1616
  ] });
1610
1617
  }
1611
- function yt(e) {
1618
+ function kt(e) {
1612
1619
  const {
1613
1620
  inputs: t,
1614
- value: s,
1621
+ value: a,
1615
1622
  onChange: i,
1616
1623
  onDateSelect: n,
1617
1624
  onWindowChange: o,
@@ -1621,12 +1628,12 @@ function yt(e) {
1621
1628
  datePickerStyle: d,
1622
1629
  agentIdBase: l
1623
1630
  } = e;
1624
- return d === "four-day-grid" ? /* @__PURE__ */ a(
1625
- Xs,
1631
+ return d === "four-day-grid" ? /* @__PURE__ */ s(
1632
+ Qa,
1626
1633
  {
1627
1634
  availableDates: t.availableDates,
1628
1635
  availableSlots: t.availableSlots,
1629
- value: s,
1636
+ value: a,
1630
1637
  onChange: i,
1631
1638
  onDateSelect: n,
1632
1639
  onWindowChange: o,
@@ -1635,41 +1642,41 @@ function yt(e) {
1635
1642
  locale: m,
1636
1643
  agentIdBase: l
1637
1644
  }
1638
- ) : /* @__PURE__ */ a(
1639
- Hs,
1645
+ ) : /* @__PURE__ */ s(
1646
+ Ga,
1640
1647
  {
1641
1648
  availableDates: t.availableDates,
1642
- selectedDate: s.date,
1649
+ selectedDate: a.date,
1643
1650
  onSelectDate: (c) => {
1644
- i(Ee(s, c)), n == null || n(c);
1651
+ i(Ee(a, c)), n == null || n(c);
1645
1652
  },
1646
1653
  locale: m,
1647
1654
  loading: r ?? u
1648
1655
  }
1649
1656
  );
1650
1657
  }
1651
- function kt(e) {
1652
- const { inputs: t, value: s, onChange: i, loadingSlots: n, locale: o, datePickerStyle: r } = e;
1653
- return r === "four-day-grid" || !s.date ? null : /* @__PURE__ */ a(
1654
- Ws,
1658
+ function xt(e) {
1659
+ const { inputs: t, value: a, onChange: i, loadingSlots: n, locale: o, datePickerStyle: r } = e;
1660
+ return r === "four-day-grid" || !a.date ? null : /* @__PURE__ */ s(
1661
+ Xa,
1655
1662
  {
1656
- date: s.date,
1657
- slots: t.availableSlots[s.date] ?? [],
1658
- selectedSlotKey: s.slotKey,
1659
- onSelect: (u) => i(vt(s, u.key)),
1663
+ date: a.date,
1664
+ slots: t.availableSlots[a.date] ?? [],
1665
+ selectedSlotKey: a.slotKey,
1666
+ onSelect: (u) => i(vt(a, u.key)),
1660
1667
  loading: n,
1661
1668
  locale: o
1662
1669
  }
1663
1670
  );
1664
1671
  }
1665
- function xt({ value: e, onChange: t }) {
1666
- const { t: s } = B(), i = [
1667
- { value: "private", label: s("booking.insurance.private") },
1668
- { value: "public", label: s("booking.insurance.public") }
1672
+ function St({ value: e, onChange: t }) {
1673
+ const { t: a } = B(), i = [
1674
+ { value: "private", label: a("booking.insurance.private") },
1675
+ { value: "public", label: a("booking.insurance.public") }
1669
1676
  ];
1670
1677
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1671
- /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: s("booking.insurance.heading") }),
1672
- /* @__PURE__ */ a(
1678
+ /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: a("booking.insurance.heading") }),
1679
+ /* @__PURE__ */ s(
1673
1680
  Be,
1674
1681
  {
1675
1682
  options: i,
@@ -1677,16 +1684,16 @@ function xt({ value: e, onChange: t }) {
1677
1684
  onValueChange: (n) => {
1678
1685
  (n === "private" || n === "public") && t(n);
1679
1686
  },
1680
- placeholder: s("booking.insurance.placeholder"),
1681
- "aria-label": s("booking.insurance.heading")
1687
+ placeholder: a("booking.insurance.placeholder"),
1688
+ "aria-label": a("booking.insurance.heading")
1682
1689
  }
1683
1690
  )
1684
1691
  ] });
1685
1692
  }
1686
- function St({
1693
+ function It({
1687
1694
  specialties: e,
1688
1695
  value: t,
1689
- valueIds: s,
1696
+ valueIds: a,
1690
1697
  onChange: i,
1691
1698
  onChangeIds: n,
1692
1699
  pickerStyle: o = "select"
@@ -1694,14 +1701,14 @@ function St({
1694
1701
  const { t: r } = B(), u = e.map((d) => ({
1695
1702
  value: d.id,
1696
1703
  label: d.label
1697
- })), m = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: r("booking.specialty.heading") });
1704
+ })), m = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: r("booking.specialty.heading") });
1698
1705
  return o === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1699
1706
  m,
1700
- /* @__PURE__ */ a(
1707
+ /* @__PURE__ */ s(
1701
1708
  Ue,
1702
1709
  {
1703
1710
  options: u,
1704
- value: s ?? [],
1711
+ value: a ?? [],
1705
1712
  onChange: n,
1706
1713
  placeholder: r("booking.specialty.placeholder"),
1707
1714
  "aria-label": r("booking.specialty.heading"),
@@ -1710,7 +1717,7 @@ function St({
1710
1717
  )
1711
1718
  ] }) : o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1712
1719
  m,
1713
- /* @__PURE__ */ a(
1720
+ /* @__PURE__ */ s(
1714
1721
  Ge,
1715
1722
  {
1716
1723
  options: u,
@@ -1723,7 +1730,7 @@ function St({
1723
1730
  )
1724
1731
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1725
1732
  m,
1726
- /* @__PURE__ */ a(
1733
+ /* @__PURE__ */ s(
1727
1734
  Be,
1728
1735
  {
1729
1736
  options: u,
@@ -1735,10 +1742,10 @@ function St({
1735
1742
  )
1736
1743
  ] });
1737
1744
  }
1738
- function It({
1745
+ function Nt({
1739
1746
  services: e,
1740
1747
  value: t,
1741
- valueIds: s,
1748
+ valueIds: a,
1742
1749
  onChange: i,
1743
1750
  onChangeIds: n,
1744
1751
  pickerStyle: o,
@@ -1746,17 +1753,17 @@ function It({
1746
1753
  }) {
1747
1754
  const { t: u } = B(), m = o ?? (r ? "select" : "cards"), d = e.map((c) => ({
1748
1755
  value: c.id,
1749
- label: `${c.label} · ${u("booking.serviceSummary", {
1756
+ label: `${c.label} · ${yt(c) ?? u("booking.serviceSummary", {
1750
1757
  minutes: c.durationMin
1751
1758
  })}`
1752
- })), l = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u("booking.service.heading") });
1759
+ })), l = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u("booking.service.heading") });
1753
1760
  return m === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1754
1761
  l,
1755
- /* @__PURE__ */ a(
1762
+ /* @__PURE__ */ s(
1756
1763
  Ue,
1757
1764
  {
1758
1765
  options: d,
1759
- value: s ?? [],
1766
+ value: a ?? [],
1760
1767
  onChange: n,
1761
1768
  placeholder: u("booking.service.placeholder"),
1762
1769
  "aria-label": u("booking.service.heading"),
@@ -1765,7 +1772,7 @@ function It({
1765
1772
  )
1766
1773
  ] }) : m === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1767
1774
  l,
1768
- /* @__PURE__ */ a(
1775
+ /* @__PURE__ */ s(
1769
1776
  Ge,
1770
1777
  {
1771
1778
  options: d,
@@ -1778,7 +1785,7 @@ function It({
1778
1785
  )
1779
1786
  ] }) : m === "select" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1780
1787
  l,
1781
- /* @__PURE__ */ a(
1788
+ /* @__PURE__ */ s(
1782
1789
  Be,
1783
1790
  {
1784
1791
  options: d,
@@ -1790,8 +1797,8 @@ function It({
1790
1797
  )
1791
1798
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1792
1799
  l,
1793
- /* @__PURE__ */ a(
1794
- Us,
1800
+ /* @__PURE__ */ s(
1801
+ Ya,
1795
1802
  {
1796
1803
  services: e,
1797
1804
  selectedServiceId: t,
@@ -1800,15 +1807,15 @@ function It({
1800
1807
  )
1801
1808
  ] });
1802
1809
  }
1803
- function Nt({
1810
+ function wt({
1804
1811
  operators: e,
1805
1812
  value: t,
1806
- valueIds: s,
1813
+ valueIds: a,
1807
1814
  onChange: i,
1808
1815
  onChangeIds: n,
1809
1816
  pickerStyle: o = "select"
1810
1817
  }) {
1811
- const { t: r } = B(), u = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: r("booking.operator.heading") });
1818
+ const { t: r } = B(), u = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: r("booking.operator.heading") });
1812
1819
  if (o === "multi-select" && n) {
1813
1820
  const d = e.map((l) => ({
1814
1821
  value: l.id,
@@ -1816,11 +1823,11 @@ function Nt({
1816
1823
  }));
1817
1824
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1818
1825
  u,
1819
- /* @__PURE__ */ a(
1826
+ /* @__PURE__ */ s(
1820
1827
  Ue,
1821
1828
  {
1822
1829
  options: d,
1823
- value: s ?? [],
1830
+ value: a ?? [],
1824
1831
  onChange: n,
1825
1832
  placeholder: r("booking.operator.placeholder"),
1826
1833
  "aria-label": r("booking.operator.heading"),
@@ -1835,7 +1842,7 @@ function Nt({
1835
1842
  ];
1836
1843
  return o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1837
1844
  u,
1838
- /* @__PURE__ */ a(
1845
+ /* @__PURE__ */ s(
1839
1846
  Ge,
1840
1847
  {
1841
1848
  options: m,
@@ -1848,7 +1855,7 @@ function Nt({
1848
1855
  )
1849
1856
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1850
1857
  u,
1851
- /* @__PURE__ */ a(
1858
+ /* @__PURE__ */ s(
1852
1859
  Be,
1853
1860
  {
1854
1861
  options: m,
@@ -1860,38 +1867,38 @@ function Nt({
1860
1867
  )
1861
1868
  ] });
1862
1869
  }
1863
- function wt({
1870
+ function Ct({
1864
1871
  customSlot: e
1865
1872
  }) {
1866
1873
  const { t } = B();
1867
- return e ? /* @__PURE__ */ a(X, { children: e }) : /* @__PURE__ */ f(j, { variant: "warning", children: [
1868
- /* @__PURE__ */ a(j.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
1869
- /* @__PURE__ */ a(j.Description, { children: t("booking.onboardingIncomplete.description") })
1874
+ return e ? /* @__PURE__ */ s(X, { children: e }) : /* @__PURE__ */ f(j, { variant: "warning", children: [
1875
+ /* @__PURE__ */ s(j.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
1876
+ /* @__PURE__ */ s(j.Description, { children: t("booking.onboardingIncomplete.description") })
1870
1877
  ] });
1871
1878
  }
1872
1879
  function Je({
1873
1880
  nextAvailableDate: e,
1874
1881
  onJump: t,
1875
- locale: s
1882
+ locale: a
1876
1883
  }) {
1877
- const { t: i } = B(), n = w(() => {
1884
+ const { t: i } = B(), n = C(() => {
1878
1885
  try {
1879
- return new Intl.DateTimeFormat(s, { dateStyle: "long" }).format(
1886
+ return new Intl.DateTimeFormat(a, { dateStyle: "long" }).format(
1880
1887
  $(e)
1881
1888
  );
1882
1889
  } catch {
1883
1890
  return e;
1884
1891
  }
1885
- }, [e, s]);
1892
+ }, [e, a]);
1886
1893
  return /* @__PURE__ */ f(j, { variant: "info", children: [
1887
- /* @__PURE__ */ a(j.Description, { children: i("booking.nextAvailable.description", { date: n }) }),
1888
- /* @__PURE__ */ a(j.Action, { children: /* @__PURE__ */ a(ne, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
1894
+ /* @__PURE__ */ s(j.Description, { children: i("booking.nextAvailable.description", { date: n }) }),
1895
+ /* @__PURE__ */ s(j.Action, { children: /* @__PURE__ */ s(ne, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
1889
1896
  ] });
1890
1897
  }
1891
- function Qs({
1898
+ function es({
1892
1899
  snapshot: e,
1893
1900
  operators: t,
1894
- specialties: s,
1901
+ specialties: a,
1895
1902
  services: i,
1896
1903
  locale: n,
1897
1904
  mode: o,
@@ -1900,10 +1907,10 @@ function Qs({
1900
1907
  onModify: m
1901
1908
  }) {
1902
1909
  const { t: d } = B(), c = (e.details.confirmationChannels ?? ["email"]).map(
1903
- (M) => d(`booking.confirmation.channel.${M}`)
1910
+ (N) => d(`booking.confirmation.channel.${N}`)
1904
1911
  ), x = o === "demo" ? d("booking.success.descriptionDemo") : c.length > 1 ? d("booking.success.descriptionMultiple", {
1905
1912
  channels: c.join(" · ")
1906
- }) : d("booking.success.descriptionSingle", { channel: c[0] }), S = w(() => {
1913
+ }) : d("booking.success.descriptionSingle", { channel: c[0] }), S = C(() => {
1907
1914
  if (e.date)
1908
1915
  try {
1909
1916
  return new Intl.DateTimeFormat(n, {
@@ -1914,7 +1921,7 @@ function Qs({
1914
1921
  } catch {
1915
1922
  return e.date;
1916
1923
  }
1917
- }, [e.date, n]), h = e.operatorId ? t.find((M) => M.id === e.operatorId) : void 0, N = e.specialtyId ? s.find((M) => M.id === e.specialtyId) : void 0, D = e.serviceId ? i.find((M) => M.id === e.serviceId) : void 0;
1924
+ }, [e.date, n]), h = e.operatorId ? t.find((N) => N.id === e.operatorId) : void 0, w = e.specialtyId ? a.find((N) => N.id === e.specialtyId) : void 0, A = e.serviceId ? i.find((N) => N.id === e.serviceId) : void 0;
1918
1925
  return /* @__PURE__ */ f(
1919
1926
  "div",
1920
1927
  {
@@ -1922,40 +1929,40 @@ function Qs({
1922
1929
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
1923
1930
  children: [
1924
1931
  /* @__PURE__ */ f(j, { variant: "success", children: [
1925
- /* @__PURE__ */ a(j.Title, { as: "h3", children: d("booking.success.heading") }),
1926
- /* @__PURE__ */ a(j.Description, { children: x })
1932
+ /* @__PURE__ */ s(j.Title, { as: "h3", children: d("booking.success.heading") }),
1933
+ /* @__PURE__ */ s(j.Description, { children: x })
1927
1934
  ] }),
1928
- /* @__PURE__ */ a("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ f("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
1929
- N ? /* @__PURE__ */ f(X, { children: [
1930
- /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summarySpecialty") }),
1931
- /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: N.label })
1935
+ /* @__PURE__ */ s("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ f("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
1936
+ w ? /* @__PURE__ */ f(X, { children: [
1937
+ /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summarySpecialty") }),
1938
+ /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: w.label })
1932
1939
  ] }) : null,
1933
- D ? /* @__PURE__ */ f(X, { children: [
1934
- /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryService") }),
1935
- /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: D.label })
1940
+ A ? /* @__PURE__ */ f(X, { children: [
1941
+ /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryService") }),
1942
+ /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: A.label })
1936
1943
  ] }) : null,
1937
1944
  S ? /* @__PURE__ */ f(X, { children: [
1938
- /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryDate") }),
1939
- /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: S })
1945
+ /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryDate") }),
1946
+ /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: S })
1940
1947
  ] }) : null,
1941
- /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryTime") }),
1942
- /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: e.slot.time }),
1948
+ /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryTime") }),
1949
+ /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: e.slot.time }),
1943
1950
  h ? /* @__PURE__ */ f(X, { children: [
1944
- /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryProvider") }),
1945
- /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: h.name })
1951
+ /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: d("booking.success.summaryProvider") }),
1952
+ /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: h.name })
1946
1953
  ] }) : null
1947
1954
  ] }) }),
1948
1955
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: [
1949
- /* @__PURE__ */ a(ne, { intent: "secondary", size: "md", onClick: u, children: d("booking.success.bookAnother") }),
1950
- r ? /* @__PURE__ */ a(ne, { intent: "ghost", size: "md", onClick: m, children: d("booking.success.modifyBooking") }) : null
1956
+ /* @__PURE__ */ s(ne, { intent: "secondary", size: "md", onClick: u, children: d("booking.success.bookAnother") }),
1957
+ r ? /* @__PURE__ */ s(ne, { intent: "ghost", size: "md", onClick: m, children: d("booking.success.modifyBooking") }) : null
1951
1958
  ] })
1952
1959
  ]
1953
1960
  }
1954
1961
  );
1955
1962
  }
1956
- function Ct({ customSlot: e }) {
1963
+ function Dt({ customSlot: e }) {
1957
1964
  const { t } = B();
1958
- return e ? /* @__PURE__ */ a(X, { children: e }) : /* @__PURE__ */ a(
1965
+ return e ? /* @__PURE__ */ s(X, { children: e }) : /* @__PURE__ */ s(
1959
1966
  dt,
1960
1967
  {
1961
1968
  variant: "no-results",
@@ -1964,10 +1971,10 @@ function Ct({ customSlot: e }) {
1964
1971
  }
1965
1972
  );
1966
1973
  }
1967
- function ea(e) {
1974
+ function ts(e) {
1968
1975
  const {
1969
1976
  cascade: t,
1970
- inputs: s,
1977
+ inputs: a,
1971
1978
  value: i,
1972
1979
  onChange: n,
1973
1980
  onSubmit: o,
@@ -1980,22 +1987,22 @@ function ea(e) {
1980
1987
  datePickerStyle: x,
1981
1988
  specialtyPickerStyle: S,
1982
1989
  servicePickerStyle: h,
1983
- operatorPickerStyle: N,
1984
- submitting: D,
1985
- locale: M,
1990
+ operatorPickerStyle: w,
1991
+ submitting: A,
1992
+ locale: N,
1986
1993
  detailsProps: k,
1987
1994
  agentIdBase: b
1988
1995
  } = e, { t: p } = B();
1989
1996
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1990
- t.gates.insurance ? /* @__PURE__ */ a(
1991
- xt,
1997
+ t.gates.insurance ? /* @__PURE__ */ s(
1998
+ St,
1992
1999
  {
1993
2000
  value: i.insuranceType,
1994
2001
  onChange: (I) => n(ct(i, I))
1995
2002
  }
1996
2003
  ) : null,
1997
- t.gates.specialty ? /* @__PURE__ */ a(
1998
- St,
2004
+ t.gates.specialty ? /* @__PURE__ */ s(
2005
+ It,
1999
2006
  {
2000
2007
  specialties: t.filtered.specialties,
2001
2008
  value: i.specialtyId,
@@ -2005,8 +2012,8 @@ function ea(e) {
2005
2012
  pickerStyle: S
2006
2013
  }
2007
2014
  ) : null,
2008
- t.gates.service ? t.filtered.services.length === 0 ? /* @__PURE__ */ a(Ct, { customSlot: r }) : /* @__PURE__ */ a(
2009
- It,
2015
+ t.gates.service ? t.filtered.services.length === 0 ? /* @__PURE__ */ s(Dt, { customSlot: r }) : /* @__PURE__ */ s(
2016
+ Nt,
2010
2017
  {
2011
2018
  services: t.filtered.services,
2012
2019
  value: i.serviceId,
@@ -2016,65 +2023,65 @@ function ea(e) {
2016
2023
  pickerStyle: h
2017
2024
  }
2018
2025
  ) : null,
2019
- t.gates.onboardingIncomplete ? /* @__PURE__ */ a(wt, { customSlot: u }) : null,
2020
- t.gates.operator ? /* @__PURE__ */ a(
2021
- Nt,
2026
+ t.gates.onboardingIncomplete ? /* @__PURE__ */ s(Ct, { customSlot: u }) : null,
2027
+ t.gates.operator ? /* @__PURE__ */ s(
2028
+ wt,
2022
2029
  {
2023
2030
  operators: t.filtered.operators,
2024
2031
  value: i.operatorId,
2025
2032
  valueIds: i.operatorIds,
2026
2033
  onChange: (I) => n(ft(i, I)),
2027
2034
  onChangeIds: (I) => n(ht(i, I)),
2028
- pickerStyle: N
2035
+ pickerStyle: w
2029
2036
  }
2030
2037
  ) : null,
2031
2038
  t.gates.date ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
2032
- /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: p("booking.date.heading") }),
2033
- s.availableDates.length === 0 && s.nextAvailableDate ? /* @__PURE__ */ a(
2039
+ /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: p("booking.date.heading") }),
2040
+ a.availableDates.length === 0 && a.nextAvailableDate ? /* @__PURE__ */ s(
2034
2041
  Je,
2035
2042
  {
2036
- nextAvailableDate: s.nextAvailableDate,
2037
- onJump: () => n(Ee(i, s.nextAvailableDate)),
2038
- locale: M
2043
+ nextAvailableDate: a.nextAvailableDate,
2044
+ onJump: () => n(Ee(i, a.nextAvailableDate)),
2045
+ locale: N
2039
2046
  }
2040
- ) : yt({
2041
- inputs: s,
2047
+ ) : kt({
2048
+ inputs: a,
2042
2049
  value: i,
2043
2050
  onChange: n,
2044
2051
  onDateSelect: l,
2045
2052
  onWindowChange: c,
2046
2053
  loadingDates: m,
2047
2054
  loadingSlots: d,
2048
- locale: M,
2055
+ locale: N,
2049
2056
  datePickerStyle: x,
2050
2057
  agentIdBase: b
2051
2058
  })
2052
2059
  ] }) : null,
2053
2060
  t.gates.slot && i.date && x === "month-calendar" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
2054
- /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: p("booking.slot.heading") }),
2055
- kt({
2056
- inputs: s,
2061
+ /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: p("booking.slot.heading") }),
2062
+ xt({
2063
+ inputs: a,
2057
2064
  value: i,
2058
2065
  onChange: n,
2059
2066
  loadingSlots: d,
2060
- locale: M,
2067
+ locale: N,
2061
2068
  datePickerStyle: x
2062
2069
  })
2063
2070
  ] }) : null,
2064
- t.gates.details && t.selectedSlot ? /* @__PURE__ */ a(
2071
+ t.gates.details && t.selectedSlot ? /* @__PURE__ */ s(
2065
2072
  Ye,
2066
2073
  {
2067
2074
  ...k,
2068
2075
  value: i.details ?? {},
2069
2076
  onChange: (I) => n({ ...i, details: I }),
2070
2077
  onSubmit: o,
2071
- submitting: D,
2078
+ submitting: A,
2072
2079
  defaultPhoneCountry: e.policy.country
2073
2080
  }
2074
2081
  ) : null
2075
2082
  ] });
2076
2083
  }
2077
- function K(e, t, s = {}) {
2084
+ function K(e, t, a = {}) {
2078
2085
  const {
2079
2086
  cascade: i,
2080
2087
  inputs: n,
@@ -2088,70 +2095,70 @@ function K(e, t, s = {}) {
2088
2095
  onDateSelect: x,
2089
2096
  onWindowChange: S,
2090
2097
  datePickerStyle: h,
2091
- specialtyPickerStyle: N,
2092
- servicePickerStyle: D,
2093
- operatorPickerStyle: M,
2098
+ specialtyPickerStyle: w,
2099
+ servicePickerStyle: A,
2100
+ operatorPickerStyle: N,
2094
2101
  submitting: k,
2095
2102
  locale: b,
2096
2103
  detailsProps: p,
2097
2104
  policy: I,
2098
- agentIdBase: A
2105
+ agentIdBase: M
2099
2106
  } = t;
2100
2107
  switch (e) {
2101
2108
  case 1:
2102
- return /* @__PURE__ */ a(
2103
- xt,
2109
+ return /* @__PURE__ */ s(
2110
+ St,
2104
2111
  {
2105
2112
  value: o.insuranceType,
2106
2113
  onChange: (g) => r(ct(o, g))
2107
2114
  }
2108
2115
  );
2109
2116
  case 2:
2110
- return /* @__PURE__ */ a(
2111
- St,
2117
+ return /* @__PURE__ */ s(
2118
+ It,
2112
2119
  {
2113
2120
  specialties: i.filtered.specialties,
2114
2121
  value: o.specialtyId,
2115
2122
  valueIds: o.specialtyIds,
2116
2123
  onChange: (g) => r(ut(o, g)),
2117
2124
  onChangeIds: (g) => r(pt(o, g)),
2118
- pickerStyle: N
2125
+ pickerStyle: w
2119
2126
  }
2120
2127
  );
2121
2128
  case 3:
2122
- return i.filtered.services.length === 0 ? /* @__PURE__ */ a(Ct, { customSlot: m }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ a(wt, { customSlot: d }) : /* @__PURE__ */ a(
2123
- It,
2129
+ return i.filtered.services.length === 0 ? /* @__PURE__ */ s(Dt, { customSlot: m }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ s(Ct, { customSlot: d }) : /* @__PURE__ */ s(
2130
+ Nt,
2124
2131
  {
2125
2132
  services: i.filtered.services,
2126
2133
  value: o.serviceId,
2127
2134
  valueIds: o.serviceIds,
2128
2135
  onChange: (g) => r(mt(o, g)),
2129
2136
  onChangeIds: (g) => r(gt(o, g)),
2130
- pickerStyle: D,
2131
- compact: s.compactService
2137
+ pickerStyle: A,
2138
+ compact: a.compactService
2132
2139
  }
2133
2140
  );
2134
2141
  case 4:
2135
- return /* @__PURE__ */ a(
2136
- Nt,
2142
+ return /* @__PURE__ */ s(
2143
+ wt,
2137
2144
  {
2138
2145
  operators: i.filtered.operators,
2139
2146
  value: o.operatorId,
2140
2147
  valueIds: o.operatorIds,
2141
2148
  onChange: (g) => r(ft(o, g)),
2142
2149
  onChangeIds: (g) => r(ht(o, g)),
2143
- pickerStyle: M
2150
+ pickerStyle: N
2144
2151
  }
2145
2152
  );
2146
2153
  case 5:
2147
- return n.availableDates.length === 0 && n.nextAvailableDate ? /* @__PURE__ */ a(
2154
+ return n.availableDates.length === 0 && n.nextAvailableDate ? /* @__PURE__ */ s(
2148
2155
  Je,
2149
2156
  {
2150
2157
  nextAvailableDate: n.nextAvailableDate,
2151
2158
  onJump: () => r(Ee(o, n.nextAvailableDate)),
2152
2159
  locale: b
2153
2160
  }
2154
- ) : yt({
2161
+ ) : kt({
2155
2162
  inputs: n,
2156
2163
  value: o,
2157
2164
  onChange: r,
@@ -2161,10 +2168,10 @@ function K(e, t, s = {}) {
2161
2168
  loadingSlots: c,
2162
2169
  locale: b,
2163
2170
  datePickerStyle: h,
2164
- agentIdBase: A
2171
+ agentIdBase: M
2165
2172
  });
2166
2173
  case 6:
2167
- return kt({
2174
+ return xt({
2168
2175
  inputs: n,
2169
2176
  value: o,
2170
2177
  onChange: r,
@@ -2173,7 +2180,7 @@ function K(e, t, s = {}) {
2173
2180
  datePickerStyle: h
2174
2181
  });
2175
2182
  case 7:
2176
- return i.selectedSlot ? /* @__PURE__ */ a(
2183
+ return i.selectedSlot ? /* @__PURE__ */ s(
2177
2184
  Ye,
2178
2185
  {
2179
2186
  ...p,
@@ -2191,7 +2198,7 @@ function K(e, t, s = {}) {
2191
2198
  }
2192
2199
  function Ze() {
2193
2200
  const { t: e } = B();
2194
- return w(
2201
+ return C(
2195
2202
  () => ({
2196
2203
  1: e("booking.insurance.heading"),
2197
2204
  2: e("booking.specialty.heading"),
@@ -2204,21 +2211,21 @@ function Ze() {
2204
2211
  [e]
2205
2212
  );
2206
2213
  }
2207
- function ta(e) {
2208
- const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, r = Ze(), u = w(
2214
+ function as(e) {
2215
+ const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, r = Ze(), u = C(
2209
2216
  () => o === "four-day-grid" ? t.visibleSteps.filter((l) => l !== 6) : t.visibleSteps,
2210
2217
  [t.visibleSteps, o]
2211
- ), m = w(
2218
+ ), m = C(
2212
2219
  () => u.map((l) => ({
2213
2220
  label: r[l],
2214
- summary: Dt(l, s, t),
2215
- status: ke(l, s) && l < t.currentStep ? "completed" : void 0,
2221
+ summary: Mt(l, a, t),
2222
+ status: ke(l, a) && l < t.currentStep ? "completed" : void 0,
2216
2223
  content: K(l, e, { compactService: !0 })
2217
2224
  })),
2218
- [u, s, r, t, e]
2225
+ [u, a, r, t, e]
2219
2226
  ), d = Math.max(0, t.visibleSteps.indexOf(i));
2220
- return /* @__PURE__ */ a(
2221
- $t,
2227
+ return /* @__PURE__ */ s(
2228
+ zt,
2222
2229
  {
2223
2230
  activeStep: d,
2224
2231
  steps: m,
@@ -2247,20 +2254,20 @@ function ke(e, t) {
2247
2254
  return !1;
2248
2255
  }
2249
2256
  }
2250
- function Dt(e, t, s) {
2257
+ function Mt(e, t, a) {
2251
2258
  var i;
2252
2259
  if (ke(e, t))
2253
2260
  switch (e) {
2254
2261
  case 1:
2255
2262
  return t.insuranceType;
2256
2263
  case 2: {
2257
- const n = s.filtered.specialties.find(
2264
+ const n = a.filtered.specialties.find(
2258
2265
  (o) => o.id === t.specialtyId
2259
2266
  );
2260
2267
  return n == null ? void 0 : n.label;
2261
2268
  }
2262
2269
  case 3: {
2263
- const n = s.filtered.services.find(
2270
+ const n = a.filtered.services.find(
2264
2271
  (o) => o.id === t.serviceId
2265
2272
  );
2266
2273
  return n == null ? void 0 : n.label;
@@ -2268,32 +2275,32 @@ function Dt(e, t, s) {
2268
2275
  case 4: {
2269
2276
  const n = He(t);
2270
2277
  if (!n) return;
2271
- const o = s.filtered.operators.find((r) => r.id === n);
2278
+ const o = a.filtered.operators.find((r) => r.id === n);
2272
2279
  return o == null ? void 0 : o.name;
2273
2280
  }
2274
2281
  case 5:
2275
2282
  return t.date;
2276
2283
  case 6:
2277
- return (i = s.selectedSlot) == null ? void 0 : i.time;
2284
+ return (i = a.selectedSlot) == null ? void 0 : i.time;
2278
2285
  case 7:
2279
2286
  return;
2280
2287
  }
2281
2288
  }
2282
- function sa(e) {
2283
- const { cascade: t, value: s, setActiveStep: i } = e, { t: n } = B(), o = Ze(), r = t.visibleSteps.filter(
2289
+ function ss(e) {
2290
+ const { cascade: t, value: a, setActiveStep: i } = e, { t: n } = B(), o = Ze(), r = t.visibleSteps.filter(
2284
2291
  (m) => m === 1 || m === 2 || m === 3 || m === 4
2285
2292
  ), u = r.some(
2286
- (m) => !ke(m, s)
2293
+ (m) => !ke(m, a)
2287
2294
  );
2288
2295
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2289
- u ? r.filter((m) => !ke(m, s)).slice(0, 1).map((m) => /* @__PURE__ */ a("div", { children: K(m, e, { compactService: !0 }) }, `csf-${m}`)) : /* @__PURE__ */ a(
2296
+ u ? r.filter((m) => !ke(m, a)).slice(0, 1).map((m) => /* @__PURE__ */ s("div", { children: K(m, e, { compactService: !0 }) }, `csf-${m}`)) : /* @__PURE__ */ s(
2290
2297
  "div",
2291
2298
  {
2292
2299
  role: "group",
2293
2300
  "aria-label": n("booking.regionLabel"),
2294
2301
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
2295
2302
  children: r.map((m) => {
2296
- const d = Dt(m, s, t);
2303
+ const d = Mt(m, a, t);
2297
2304
  return d ? /* @__PURE__ */ f(
2298
2305
  ne,
2299
2306
  {
@@ -2316,25 +2323,25 @@ function sa(e) {
2316
2323
  // historic 2-col date|slot split collapses to a single column
2317
2324
  // so the picker spans the full width instead of orphaning an
2318
2325
  // empty right cell.
2319
- e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ a("div", { children: K(5, e) }) : /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
2320
- /* @__PURE__ */ a("div", { className: "ds:min-w-0", children: K(5, e) }),
2321
- /* @__PURE__ */ a("div", { className: "ds:min-w-0", children: s.date ? K(6, e) : null })
2326
+ e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ s("div", { children: K(5, e) }) : /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
2327
+ /* @__PURE__ */ s("div", { className: "ds:min-w-0", children: K(5, e) }),
2328
+ /* @__PURE__ */ s("div", { className: "ds:min-w-0", children: a.date ? K(6, e) : null })
2322
2329
  ] })
2323
2330
  ) : null,
2324
- t.gates.details ? /* @__PURE__ */ a("div", { children: K(7, e) }) : null
2331
+ t.gates.details ? /* @__PURE__ */ s("div", { children: K(7, e) }) : null
2325
2332
  ] });
2326
2333
  }
2327
- function aa(e) {
2328
- const { cascade: t, datePickerStyle: s } = e, i = t.visibleSteps.filter(
2334
+ function is(e) {
2335
+ const { cascade: t, datePickerStyle: a } = e, i = t.visibleSteps.filter(
2329
2336
  (o) => o === 1 || o === 2 || o === 3 || o === 4
2330
2337
  );
2331
2338
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2332
2339
  /* @__PURE__ */ f(
2333
2340
  "div",
2334
2341
  {
2335
- className: s === "four-day-grid" ? "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]" : "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2",
2342
+ className: a === "four-day-grid" ? "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]" : "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2",
2336
2343
  children: [
2337
- /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: i.map((o) => /* @__PURE__ */ a("div", { children: K(o, e, { compactService: !0 }) }, `fbf-${o}`)) }),
2344
+ /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: i.map((o) => /* @__PURE__ */ s("div", { children: K(o, e, { compactService: !0 }) }, `fbf-${o}`)) }),
2338
2345
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2339
2346
  t.gates.date ? K(5, e) : null,
2340
2347
  t.gates.slot && e.value.date ? K(6, e) : null
@@ -2345,19 +2352,19 @@ function aa(e) {
2345
2352
  t.gates.details ? K(7, e) : null
2346
2353
  ] });
2347
2354
  }
2348
- function ia(e) {
2349
- const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: r } = B(), u = Ze(), m = w(
2355
+ function ns(e) {
2356
+ const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: r } = B(), u = Ze(), m = C(
2350
2357
  () => o === "four-day-grid" ? t.visibleSteps.filter((h) => h !== 6) : t.visibleSteps,
2351
2358
  [t.visibleSteps, o]
2352
- ), d = Math.max(0, m.indexOf(i)), l = m.length, c = w(
2359
+ ), d = Math.max(0, m.indexOf(i)), l = m.length, c = C(
2353
2360
  () => m.map((h) => ({ label: u[h] })),
2354
2361
  [m, u]
2355
- ), x = d > 0, S = d < l - 1 && ke(i, s);
2362
+ ), x = d > 0, S = d < l - 1 && ke(i, a);
2356
2363
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2357
- /* @__PURE__ */ a(zt, { activeStep: d, steps: c }),
2358
- /* @__PURE__ */ a("div", { children: K(i, e, { compactService: !0 }) }),
2364
+ /* @__PURE__ */ s(Kt, { activeStep: d, steps: c }),
2365
+ /* @__PURE__ */ s("div", { children: K(i, e, { compactService: !0 }) }),
2359
2366
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
2360
- /* @__PURE__ */ a(
2367
+ /* @__PURE__ */ s(
2361
2368
  ne,
2362
2369
  {
2363
2370
  intent: "ghost",
@@ -2370,7 +2377,7 @@ function ia(e) {
2370
2377
  children: r("booking.actions.back")
2371
2378
  }
2372
2379
  ),
2373
- i < 7 ? /* @__PURE__ */ a(
2380
+ i < 7 ? /* @__PURE__ */ s(
2374
2381
  ne,
2375
2382
  {
2376
2383
  intent: "primary",
@@ -2386,14 +2393,14 @@ function ia(e) {
2386
2393
  ] })
2387
2394
  ] });
2388
2395
  }
2389
- const na = [], oa = [], ra = ot(
2396
+ const os = [], rs = [], ds = ot(
2390
2397
  ({
2391
2398
  variant: e = "inline-list",
2392
2399
  country: t,
2393
2400
  // No default — the cascade engine treats `undefined` as "auto-on
2394
2401
  // when `specialties` has items" so consumers who pass specialty
2395
2402
  // data without the explicit flag still get the step.
2396
- useSpecialties: s,
2403
+ useSpecialties: a,
2397
2404
  allowOperatorSelection: i = !1,
2398
2405
  lockedOperatorId: n,
2399
2406
  autoSelectSingleService: o = !1,
@@ -2406,22 +2413,22 @@ const na = [], oa = [], ra = ot(
2406
2413
  requireCodiceFiscale: x,
2407
2414
  requireDateOfBirth: S,
2408
2415
  requireInsuranceNumber: h,
2409
- showNote: N,
2410
- showReturningPatientFlag: D,
2411
- privacyPolicyUrl: M,
2416
+ showNote: w,
2417
+ showReturningPatientFlag: A,
2418
+ privacyPolicyUrl: N,
2412
2419
  termsUrl: k,
2413
2420
  validateCodiceFiscale: b,
2414
2421
  validateInsuranceNumber: p,
2415
2422
  confirmationChannels: I,
2416
- defaultConfirmationChannels: A,
2423
+ defaultConfirmationChannels: M,
2417
2424
  value: g,
2418
2425
  onChange: y,
2419
2426
  onSubmit: _,
2420
2427
  onStepChange: T,
2421
2428
  onDateSelect: O,
2422
2429
  onWindowChange: E,
2423
- datePickerStyle: V = "month-calendar",
2424
- specialtyPickerStyle: L,
2430
+ datePickerStyle: R = "month-calendar",
2431
+ specialtyPickerStyle: V,
2425
2432
  servicePickerStyle: P,
2426
2433
  operatorPickerStyle: ee,
2427
2434
  loadingDates: G,
@@ -2433,15 +2440,15 @@ const na = [], oa = [], ra = ot(
2433
2440
  surface: me = "flat",
2434
2441
  emptyServicesSlot: Se,
2435
2442
  onboardingIncompleteSlot: Ie,
2436
- "aria-label": Re,
2443
+ "aria-label": Le,
2437
2444
  id: J,
2438
- className: Ve,
2445
+ className: Re,
2439
2446
  ...Ne
2440
2447
  }, we) => {
2441
- const { t: re, i18n: v } = B(), C = e ?? "inline-list", se = v.language ?? "en", Z = r ?? na, de = m ?? oa;
2448
+ const { t: re, i18n: v } = B(), D = e ?? "inline-list", ae = v.language ?? "en", Z = r ?? os, de = m ?? rs;
2442
2449
  U(() => {
2443
- const F = Os(g, {
2444
- useSpecialties: s,
2450
+ const F = Ea(g, {
2451
+ useSpecialties: a,
2445
2452
  lockedOperatorId: n,
2446
2453
  autoSelectSingleService: o,
2447
2454
  specialties: Z,
@@ -2450,15 +2457,15 @@ const na = [], oa = [], ra = ot(
2450
2457
  (F.specialtyId !== g.specialtyId || F.operatorId !== g.operatorId || F.serviceId !== g.serviceId) && y(F);
2451
2458
  }, [
2452
2459
  n,
2453
- s,
2460
+ a,
2454
2461
  o,
2455
2462
  Z,
2456
2463
  u
2457
2464
  ]);
2458
- const R = w(
2459
- () => Bs({
2465
+ const L = C(
2466
+ () => Oa({
2460
2467
  country: t,
2461
- useSpecialties: s,
2468
+ useSpecialties: a,
2462
2469
  allowOperatorSelection: i,
2463
2470
  lockedOperatorId: n,
2464
2471
  specialties: Z,
@@ -2469,7 +2476,7 @@ const na = [], oa = [], ra = ot(
2469
2476
  }),
2470
2477
  [
2471
2478
  t,
2472
- s,
2479
+ a,
2473
2480
  i,
2474
2481
  n,
2475
2482
  o,
@@ -2481,16 +2488,16 @@ const na = [], oa = [], ra = ot(
2481
2488
  g
2482
2489
  ]
2483
2490
  ), [We, ge] = q(
2484
- R.currentStep
2485
- ), Xe = ie(R.currentStep);
2491
+ L.currentStep
2492
+ ), Xe = ie(L.currentStep);
2486
2493
  U(() => {
2487
- R.currentStep > Xe.current && ge(R.currentStep), Xe.current = R.currentStep;
2488
- }, [R.currentStep]);
2489
- const [fe, he] = q("idle"), [Le, Fe] = q(null), Qe = H(
2494
+ L.currentStep > Xe.current && ge(L.currentStep), Xe.current = L.currentStep;
2495
+ }, [L.currentStep]);
2496
+ const [fe, he] = q("idle"), [Ve, Fe] = q(null), Qe = H(
2490
2497
  async (F) => {
2491
- if (!R.selectedSlot) return;
2498
+ if (!L.selectedSlot) return;
2492
2499
  const ze = {
2493
- slot: R.selectedSlot,
2500
+ slot: L.selectedSlot,
2494
2501
  value: {
2495
2502
  ...g,
2496
2503
  details: F,
@@ -2501,7 +2508,7 @@ const na = [], oa = [], ra = ot(
2501
2508
  he("submitting");
2502
2509
  try {
2503
2510
  await _(ze), Fe({
2504
- slot: R.selectedSlot,
2511
+ slot: L.selectedSlot,
2505
2512
  details: F,
2506
2513
  specialtyId: g.specialtyId,
2507
2514
  serviceId: g.serviceId,
@@ -2513,10 +2520,10 @@ const na = [], oa = [], ra = ot(
2513
2520
  throw he("error"), new Error("Booking submission failed");
2514
2521
  }
2515
2522
  },
2516
- [R.selectedSlot, _, g]
2523
+ [L.selectedSlot, _, g]
2517
2524
  ), ve = ie(null);
2518
- _t(we, () => ve.current, []);
2519
- const be = fe === "success" ? 8 : R.currentStep, et = ie(null);
2525
+ Pt(we, () => ve.current, []);
2526
+ const be = fe === "success" ? 8 : L.currentStep, et = ie(null);
2520
2527
  U(() => {
2521
2528
  if (be !== et.current && (et.current = be, T == null || T(be), be === 8 && ve.current))
2522
2529
  try {
@@ -2528,9 +2535,9 @@ const na = [], oa = [], ra = ot(
2528
2535
  ve.current.scrollIntoView();
2529
2536
  }
2530
2537
  }, [be, T]);
2531
- const $e = w(
2538
+ const $e = C(
2532
2539
  () => ({
2533
- getVariant: () => C,
2540
+ getVariant: () => D,
2534
2541
  reset: () => {
2535
2542
  y({}), Fe(null), he("idle"), ge(1);
2536
2543
  },
@@ -2538,17 +2545,17 @@ const na = [], oa = [], ra = ot(
2538
2545
  ge(F);
2539
2546
  }
2540
2547
  }),
2541
- [C, y]
2548
+ [D, y]
2542
2549
  );
2543
- Bt(Cs, $e, J);
2544
- const Mt = Re ?? re("booking.regionLabel"), At = w(() => fe !== "success" || !Le ? null : /* @__PURE__ */ a(
2545
- Qs,
2550
+ Ot(Da, $e, J);
2551
+ const At = Le ?? re("booking.regionLabel"), Tt = C(() => fe !== "success" || !Ve ? null : /* @__PURE__ */ s(
2552
+ es,
2546
2553
  {
2547
- snapshot: Le,
2554
+ snapshot: Ve,
2548
2555
  operators: de,
2549
2556
  specialties: Z,
2550
2557
  services: u,
2551
- locale: se,
2558
+ locale: ae,
2552
2559
  mode: Y,
2553
2560
  showModify: oe,
2554
2561
  onReset: () => $e.reset(),
@@ -2558,18 +2565,18 @@ const na = [], oa = [], ra = ot(
2558
2565
  }
2559
2566
  ), [
2560
2567
  fe,
2561
- Le,
2568
+ Ve,
2562
2569
  de,
2563
2570
  Z,
2564
2571
  u,
2565
- se,
2572
+ ae,
2566
2573
  Y,
2567
2574
  oe,
2568
2575
  $e
2569
- ]), Tt = w(() => {
2576
+ ]), _t = C(() => {
2570
2577
  if (fe === "success") return null;
2571
- const F = C === "accordion" ? ta : C === "calendar" ? sa : C === "flexible" ? aa : C === "progress" ? ia : ea, ze = {
2572
- cascade: R,
2578
+ const F = D === "accordion" ? as : D === "calendar" ? ss : D === "flexible" ? is : D === "progress" ? ns : ts, ze = {
2579
+ cascade: L,
2573
2580
  inputs: {
2574
2581
  specialties: Z,
2575
2582
  services: u,
@@ -2587,14 +2594,14 @@ const na = [], oa = [], ra = ot(
2587
2594
  requireDateOfBirth: S,
2588
2595
  requireInsuranceNumber: h,
2589
2596
  insuranceType: g.insuranceType,
2590
- showNote: N,
2591
- showReturningPatientFlag: D,
2592
- privacyPolicyUrl: M,
2597
+ showNote: w,
2598
+ showReturningPatientFlag: A,
2599
+ privacyPolicyUrl: N,
2593
2600
  termsUrl: k,
2594
2601
  validateCodiceFiscale: b,
2595
2602
  validateInsuranceNumber: p,
2596
2603
  confirmationChannels: I,
2597
- defaultConfirmationChannels: A,
2604
+ defaultConfirmationChannels: M,
2598
2605
  submitError: xe
2599
2606
  },
2600
2607
  emptyServicesSlot: Se,
@@ -2603,21 +2610,21 @@ const na = [], oa = [], ra = ot(
2603
2610
  loadingSlots: pe,
2604
2611
  onDateSelect: O,
2605
2612
  onWindowChange: E,
2606
- datePickerStyle: V,
2607
- specialtyPickerStyle: L,
2613
+ datePickerStyle: R,
2614
+ specialtyPickerStyle: V,
2608
2615
  servicePickerStyle: P,
2609
2616
  operatorPickerStyle: ee,
2610
2617
  submitting: te,
2611
- locale: se,
2618
+ locale: ae,
2612
2619
  activeStep: We,
2613
2620
  setActiveStep: ge,
2614
2621
  agentIdBase: J
2615
2622
  };
2616
- return /* @__PURE__ */ a(F, { ...ze });
2623
+ return /* @__PURE__ */ s(F, { ...ze });
2617
2624
  }, [
2618
2625
  fe,
2619
- C,
2620
- R,
2626
+ D,
2627
+ L,
2621
2628
  Z,
2622
2629
  u,
2623
2630
  de,
@@ -2633,26 +2640,26 @@ const na = [], oa = [], ra = ot(
2633
2640
  S,
2634
2641
  h,
2635
2642
  xe,
2643
+ w,
2644
+ A,
2636
2645
  N,
2637
- D,
2638
- M,
2639
2646
  k,
2640
2647
  b,
2641
2648
  p,
2642
2649
  I,
2643
- A,
2650
+ M,
2644
2651
  Se,
2645
2652
  Ie,
2646
2653
  G,
2647
2654
  pe,
2648
2655
  O,
2649
2656
  E,
2657
+ R,
2650
2658
  V,
2651
- L,
2652
2659
  P,
2653
2660
  ee,
2654
2661
  te,
2655
- se,
2662
+ ae,
2656
2663
  We,
2657
2664
  J
2658
2665
  ]);
@@ -2661,15 +2668,15 @@ const na = [], oa = [], ra = ot(
2661
2668
  {
2662
2669
  ref: ve,
2663
2670
  role: "region",
2664
- "aria-label": Mt,
2671
+ "aria-label": At,
2665
2672
  id: J,
2666
2673
  "data-component": "booking",
2667
2674
  "data-component-id": J,
2668
- "data-variant": C,
2669
- className: Fs({
2670
- variant: C,
2675
+ "data-variant": D,
2676
+ className: $a({
2677
+ variant: D,
2671
2678
  surface: me,
2672
- className: Ve
2679
+ className: Re
2673
2680
  }),
2674
2681
  ...Ne,
2675
2682
  children: [
@@ -2685,22 +2692,22 @@ const na = [], oa = [], ra = ot(
2685
2692
  "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]"
2686
2693
  ].join(" "),
2687
2694
  children: [
2688
- /* @__PURE__ */ a("h2", { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: re("booking.regionLabel") }),
2689
- /* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: re("booking.headingSubtitle") })
2695
+ /* @__PURE__ */ s("h2", { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: re("booking.regionLabel") }),
2696
+ /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: re("booking.headingSubtitle") })
2690
2697
  ]
2691
2698
  }
2692
2699
  ),
2693
- At ?? Tt
2700
+ Tt ?? _t
2694
2701
  ]
2695
2702
  }
2696
2703
  );
2697
2704
  }
2698
2705
  );
2699
- ra.displayName = "Booking";
2706
+ ds.displayName = "Booking";
2700
2707
  export {
2701
- ra as B,
2708
+ ds as B,
2702
2709
  qe as C,
2703
2710
  Q as O,
2704
- Cs as b
2711
+ Da as b
2705
2712
  };
2706
- //# sourceMappingURL=booking-CGKof8QU.js.map
2713
+ //# sourceMappingURL=booking-D84O6H2X.js.map