@alfadocs/ui-kit-debug 0.47.0 → 0.48.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 (341) hide show
  1. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  2. package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
  3. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  4. package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
  5. package/dist/_chunks/ai-consent-banner-DO5ingMq.js +169 -0
  6. package/dist/_chunks/ai-consent-banner-DO5ingMq.js.map +1 -0
  7. package/dist/_chunks/ai-tools-rail-CxYG04cw.js +280 -0
  8. package/dist/_chunks/ai-tools-rail-CxYG04cw.js.map +1 -0
  9. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  10. package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
  11. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  12. package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
  13. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  14. package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
  15. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  16. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  17. package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
  18. package/dist/_chunks/booking-WV2GSru5.js.map +1 -0
  19. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  20. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  21. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  22. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  23. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  24. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  25. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  26. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  27. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  28. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  29. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  30. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  31. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  32. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  33. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  34. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  35. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
  36. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js.map → cycle-calculator-DYvGm_m1.js.map} +1 -1
  37. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  38. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  39. package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
  40. package/dist/_chunks/{due-date-calculator-mFxpHLml.js.map → due-date-calculator-BXd3ANj7.js.map} +1 -1
  41. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  42. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  43. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
  44. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js.map → gestational-age-calculator-Crj6FgZw.js.map} +1 -1
  45. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  46. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  47. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  48. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  49. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  50. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  51. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  52. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  53. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  54. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  55. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  56. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  57. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  58. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  59. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  60. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  61. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  62. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  63. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
  64. package/dist/_chunks/pdf-viewer-G8SU6Azw.js.map +1 -0
  65. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  66. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  67. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  68. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  69. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
  70. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-BFL_mcDW.js.map} +1 -1
  71. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
  72. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js.map → pregnancy-weight-gain-C7dK89jE.js.map} +1 -1
  73. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  74. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  75. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  76. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  77. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
  78. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-DPI2pY9V.js.map} +1 -1
  79. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  80. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  81. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  82. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  83. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  84. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  85. package/dist/_chunks/video-BAeICxCT.js +21 -0
  86. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  87. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-ZXw-zsZ8.js} +138 -156
  88. package/dist/_chunks/workflow-map-ZXw-zsZ8.js.map +1 -0
  89. package/dist/agent-catalog.json +324 -1
  90. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  91. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  92. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  93. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  94. package/dist/components/_shared/index.d.ts +2 -0
  95. package/dist/components/_shared/index.d.ts.map +1 -1
  96. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  97. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  98. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  99. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  100. package/dist/components/agenda-card/index.d.ts +2 -1
  101. package/dist/components/agenda-card/index.d.ts.map +1 -1
  102. package/dist/components/agenda-card/index.js +6 -5
  103. package/dist/components/agenda-card/index.js.map +1 -1
  104. package/dist/components/agenda-tray/index.js +1 -1
  105. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  106. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  107. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  108. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  109. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  110. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  111. package/dist/components/ai-consent-banner/index.js +6 -0
  112. package/dist/components/ai-consent-banner/index.js.map +1 -0
  113. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  114. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  115. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  116. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  117. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  118. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  119. package/dist/components/ai-tools-rail/index.js +6 -0
  120. package/dist/components/ai-tools-rail/index.js.map +1 -0
  121. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  122. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  123. package/dist/components/anamnesis-card/index.d.ts +3 -0
  124. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  125. package/dist/components/anamnesis-card/index.js +5 -0
  126. package/dist/components/anamnesis-card/index.js.map +1 -0
  127. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  128. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  129. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  130. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  131. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  132. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  133. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  134. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  135. package/dist/components/appointment-card/index.d.ts +8 -0
  136. package/dist/components/appointment-card/index.d.ts.map +1 -0
  137. package/dist/components/appointment-card/index.js +10 -0
  138. package/dist/components/appointment-card/index.js.map +1 -0
  139. package/dist/components/badge/badge.d.ts +1 -1
  140. package/dist/components/bmi-calculator/index.js +1 -1
  141. package/dist/components/booking/index.js +1 -1
  142. package/dist/components/calculator-dialog/index.js +1 -1
  143. package/dist/components/calendar/index.js +1 -1
  144. package/dist/components/card/card.d.ts +1 -1
  145. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  146. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  147. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  148. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  149. package/dist/components/care-plan-card/index.d.ts +4 -0
  150. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  151. package/dist/components/care-plan-card/index.js +6 -0
  152. package/dist/components/care-plan-card/index.js.map +1 -0
  153. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  154. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  155. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  156. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  157. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  158. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  159. package/dist/components/care-plan-entry-card/index.js +6 -0
  160. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  161. package/dist/components/chat-message/chat-message.d.ts +7 -0
  162. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  163. package/dist/components/chat-message/index.js +1 -1
  164. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  165. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  166. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  167. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  168. package/dist/components/clinical-note-card/index.d.ts +4 -0
  169. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  170. package/dist/components/clinical-note-card/index.js +6 -0
  171. package/dist/components/clinical-note-card/index.js.map +1 -0
  172. package/dist/components/contact-profile-card/index.js +1 -1
  173. package/dist/components/cycle-calculator/index.js +1 -1
  174. package/dist/components/dialog/dialog.d.ts +7 -0
  175. package/dist/components/dialog/dialog.d.ts.map +1 -1
  176. package/dist/components/dialog/index.js +1 -1
  177. package/dist/components/due-date-calculator/index.js +1 -1
  178. package/dist/components/gestational-age-calculator/index.js +1 -1
  179. package/dist/components/index.d.ts +10 -0
  180. package/dist/components/index.d.ts.map +1 -1
  181. package/dist/components/message-card/index.js +5 -4
  182. package/dist/components/message-card/index.js.map +1 -1
  183. package/dist/components/message-card/message-card.d.ts +1 -2
  184. package/dist/components/message-card/message-card.d.ts.map +1 -1
  185. package/dist/components/message-tray/index.js +1 -1
  186. package/dist/components/operator-hero/index.js +1 -1
  187. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  188. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  189. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  190. package/dist/components/patient-summary-card/index.d.ts +4 -0
  191. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  192. package/dist/components/patient-summary-card/index.js +6 -0
  193. package/dist/components/patient-summary-card/index.js.map +1 -0
  194. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  195. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  196. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  197. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  198. package/dist/components/payment-card/index.d.ts +7 -0
  199. package/dist/components/payment-card/index.d.ts.map +1 -0
  200. package/dist/components/payment-card/index.js +8 -0
  201. package/dist/components/payment-card/index.js.map +1 -0
  202. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  203. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  204. package/dist/components/payment-card/payment-card.d.ts +71 -0
  205. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  206. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  207. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  208. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  209. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  210. package/dist/components/pdf-viewer/index.js +1 -1
  211. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  212. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  213. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  214. package/dist/components/periodontal-chart-card/index.js +7 -0
  215. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  216. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  217. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  218. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  219. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  220. package/dist/components/practice-results/index.js +1 -1
  221. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  222. package/dist/components/public-header/public-header.d.ts +1 -1
  223. package/dist/components/sign-document/index.js +1 -1
  224. package/dist/components/stat/stat.d.ts +1 -1
  225. package/dist/components/transaction-chip/index.js +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/components/workflow/index.js +1 -1
  228. package/dist/i18n/locales/ar.d.ts +351 -0
  229. package/dist/i18n/locales/ar.d.ts.map +1 -1
  230. package/dist/i18n/locales/ar.js +351 -0
  231. package/dist/i18n/locales/ar.js.map +1 -1
  232. package/dist/i18n/locales/de.d.ts +351 -0
  233. package/dist/i18n/locales/de.d.ts.map +1 -1
  234. package/dist/i18n/locales/de.js +351 -0
  235. package/dist/i18n/locales/de.js.map +1 -1
  236. package/dist/i18n/locales/el.d.ts +351 -0
  237. package/dist/i18n/locales/el.d.ts.map +1 -1
  238. package/dist/i18n/locales/el.js +351 -0
  239. package/dist/i18n/locales/el.js.map +1 -1
  240. package/dist/i18n/locales/en.d.ts +351 -0
  241. package/dist/i18n/locales/en.d.ts.map +1 -1
  242. package/dist/i18n/locales/en.js +351 -0
  243. package/dist/i18n/locales/en.js.map +1 -1
  244. package/dist/i18n/locales/es.d.ts +351 -0
  245. package/dist/i18n/locales/es.d.ts.map +1 -1
  246. package/dist/i18n/locales/es.js +351 -0
  247. package/dist/i18n/locales/es.js.map +1 -1
  248. package/dist/i18n/locales/fr.d.ts +351 -0
  249. package/dist/i18n/locales/fr.d.ts.map +1 -1
  250. package/dist/i18n/locales/fr.js +351 -0
  251. package/dist/i18n/locales/fr.js.map +1 -1
  252. package/dist/i18n/locales/hi.d.ts +351 -0
  253. package/dist/i18n/locales/hi.d.ts.map +1 -1
  254. package/dist/i18n/locales/hi.js +351 -0
  255. package/dist/i18n/locales/hi.js.map +1 -1
  256. package/dist/i18n/locales/it.d.ts +351 -0
  257. package/dist/i18n/locales/it.d.ts.map +1 -1
  258. package/dist/i18n/locales/it.js +351 -0
  259. package/dist/i18n/locales/it.js.map +1 -1
  260. package/dist/i18n/locales/ja.d.ts +351 -0
  261. package/dist/i18n/locales/ja.d.ts.map +1 -1
  262. package/dist/i18n/locales/ja.js +351 -0
  263. package/dist/i18n/locales/ja.js.map +1 -1
  264. package/dist/i18n/locales/nl.d.ts +351 -0
  265. package/dist/i18n/locales/nl.d.ts.map +1 -1
  266. package/dist/i18n/locales/nl.js +351 -0
  267. package/dist/i18n/locales/nl.js.map +1 -1
  268. package/dist/i18n/locales/pl.d.ts +351 -0
  269. package/dist/i18n/locales/pl.d.ts.map +1 -1
  270. package/dist/i18n/locales/pl.js +351 -0
  271. package/dist/i18n/locales/pl.js.map +1 -1
  272. package/dist/i18n/locales/pt.d.ts +351 -0
  273. package/dist/i18n/locales/pt.d.ts.map +1 -1
  274. package/dist/i18n/locales/pt.js +351 -0
  275. package/dist/i18n/locales/pt.js.map +1 -1
  276. package/dist/i18n/locales/ro.d.ts +351 -0
  277. package/dist/i18n/locales/ro.d.ts.map +1 -1
  278. package/dist/i18n/locales/ro.js +351 -0
  279. package/dist/i18n/locales/ro.js.map +1 -1
  280. package/dist/i18n/locales/ru.d.ts +351 -0
  281. package/dist/i18n/locales/ru.d.ts.map +1 -1
  282. package/dist/i18n/locales/ru.js +351 -0
  283. package/dist/i18n/locales/ru.js.map +1 -1
  284. package/dist/i18n/locales/sq.d.ts +351 -0
  285. package/dist/i18n/locales/sq.d.ts.map +1 -1
  286. package/dist/i18n/locales/sq.js +351 -0
  287. package/dist/i18n/locales/sq.js.map +1 -1
  288. package/dist/i18n/locales/sv.d.ts +351 -0
  289. package/dist/i18n/locales/sv.d.ts.map +1 -1
  290. package/dist/i18n/locales/sv.js +351 -0
  291. package/dist/i18n/locales/sv.js.map +1 -1
  292. package/dist/i18n/locales/tr.d.ts +351 -0
  293. package/dist/i18n/locales/tr.d.ts.map +1 -1
  294. package/dist/i18n/locales/tr.js +351 -0
  295. package/dist/i18n/locales/tr.js.map +1 -1
  296. package/dist/i18n/locales/zh.d.ts +351 -0
  297. package/dist/i18n/locales/zh.d.ts.map +1 -1
  298. package/dist/i18n/locales/zh.js +351 -0
  299. package/dist/i18n/locales/zh.js.map +1 -1
  300. package/dist/index.js +527 -491
  301. package/dist/index.js.map +1 -1
  302. package/dist/locales/ar.json +351 -0
  303. package/dist/locales/de.json +351 -0
  304. package/dist/locales/el.json +351 -0
  305. package/dist/locales/en.json +351 -0
  306. package/dist/locales/es.json +351 -0
  307. package/dist/locales/fr.json +351 -0
  308. package/dist/locales/hi.json +351 -0
  309. package/dist/locales/it.json +351 -0
  310. package/dist/locales/ja.json +351 -0
  311. package/dist/locales/nl.json +351 -0
  312. package/dist/locales/pl.json +351 -0
  313. package/dist/locales/pt.json +351 -0
  314. package/dist/locales/ro.json +351 -0
  315. package/dist/locales/ru.json +351 -0
  316. package/dist/locales/sq.json +351 -0
  317. package/dist/locales/sv.json +351 -0
  318. package/dist/locales/tr.json +351 -0
  319. package/dist/locales/zh.json +351 -0
  320. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  321. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  322. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  323. package/dist/patterns/alia-assistant/index.js +1 -1
  324. package/dist/tokens.css +1 -1
  325. package/package.json +42 -1
  326. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  327. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  328. package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
  329. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  330. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  331. package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
  332. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  333. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  334. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  335. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  336. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  337. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  338. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  339. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  340. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  341. package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { jsxs as f, jsx as s, Fragment as W } from "react/jsx-runtime";
2
- import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef as se, useEffect as H, useMemo as w, useImperativeHandle as Tt } from "react";
2
+ import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef as se, useEffect as H, useMemo as w, useImperativeHandle as _t } from "react";
3
3
  import { c as Pe } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as O, Trans as Pt } from "react-i18next";
5
5
  import { u as Ot } from "./registry-nPAVE19X.js";
@@ -18,29 +18,30 @@ import { I as tt } from "./icon-button-CKEOrN37.js";
18
18
  import { S as Oe } from "./select-hsCaJSX3.js";
19
19
  import { C as Ge } from "./combobox-BC-DFx8G.js";
20
20
  import { M as Ue } from "./multi-select-DOLO3K_z.js";
21
- import { S as Te } from "./skeleton-CZbwyJAA.js";
21
+ import { S as _e } from "./skeleton-CZbwyJAA.js";
22
22
  import { E as dt } from "./empty-state-BLy7tigq.js";
23
23
  import { S as $t } from "./stepper-accordion-Dki6r9ZE.js";
24
24
  import { S as zt } from "./stepper-progress-DDjq5nei.js";
25
25
  import { p as F, S as Kt } from "./slot-grid-BlHHP9Qy.js";
26
26
  import { s as le, i as at } from "./isSameDay-DUEiAT0G.js";
27
- import { x as lt, i as ce, a as je, o as jt, h as ye, f as qt, j as _e, y as Me } from "./date-picker-variants-DLi1Va_e.js";
27
+ import { x as lt, i as ce, a as je, o as jt, h as ye, f as qt, j as Te, y as Me } from "./date-picker-variants-DLi1Va_e.js";
28
28
  import { s as Ht } from "./subDays-Dv7q9S7u.js";
29
29
  import { C as Gt } from "./chevron-left-CX1jqD2M.js";
30
30
  import { C as Ut } from "./chevron-right-BrpYejk0.js";
31
- import { c as V } from "./createLucideIcon-CrFbzy84.js";
31
+ import { c as L } from "./createLucideIcon-CrFbzy84.js";
32
32
  import { M as Yt, S as Jt } from "./sun-BuXE0xUS.js";
33
33
  import { S as Zt } from "./stethoscope-DT5qCW8Y.js";
34
34
  import { H as Wt } from "./heart-pulse-CvuyFKHB.js";
35
35
  import { E as Xt } from "./eye-LHlSU38h.js";
36
- import { S as Qt } from "./sparkles-CuYXqQLg.js";
36
+ import { S as Qt } from "./scan-line-lGioFwLC.js";
37
+ import { S as ea } from "./sparkles-CuYXqQLg.js";
37
38
  /**
38
39
  * @license lucide-react v1.8.0 - ISC
39
40
  *
40
41
  * This source code is licensed under the ISC license.
41
42
  * See the LICENSE file in the root directory of this source tree.
42
43
  */
43
- const ea = [
44
+ const ta = [
44
45
  [
45
46
  "path",
46
47
  {
@@ -48,14 +49,14 @@ const ea = [
48
49
  key: "169zse"
49
50
  }
50
51
  ]
51
- ], ta = V("activity", ea);
52
+ ], aa = L("activity", ta);
52
53
  /**
53
54
  * @license lucide-react v1.8.0 - ISC
54
55
  *
55
56
  * This source code is licensed under the ISC license.
56
57
  * See the LICENSE file in the root directory of this source tree.
57
58
  */
58
- const aa = [
59
+ const sa = [
59
60
  ["path", { d: "M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5", key: "1u7htd" }],
60
61
  ["path", { d: "M15 12h.01", key: "1k8ypt" }],
61
62
  [
@@ -66,14 +67,14 @@ const aa = [
66
67
  }
67
68
  ],
68
69
  ["path", { d: "M9 12h.01", key: "157uk2" }]
69
- ], sa = V("baby", aa);
70
+ ], ia = L("baby", sa);
70
71
  /**
71
72
  * @license lucide-react v1.8.0 - ISC
72
73
  *
73
74
  * This source code is licensed under the ISC license.
74
75
  * See the LICENSE file in the root directory of this source tree.
75
76
  */
76
- const ia = [
77
+ const na = [
77
78
  [
78
79
  "path",
79
80
  {
@@ -81,14 +82,14 @@ const ia = [
81
82
  key: "w610uw"
82
83
  }
83
84
  ]
84
- ], na = V("bone", ia);
85
+ ], oa = L("bone", na);
85
86
  /**
86
87
  * @license lucide-react v1.8.0 - ISC
87
88
  *
88
89
  * This source code is licensed under the ISC license.
89
90
  * See the LICENSE file in the root directory of this source tree.
90
91
  */
91
- const oa = [
92
+ const ra = [
92
93
  ["path", { d: "M12 18V5", key: "adv99a" }],
93
94
  ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
94
95
  ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
@@ -97,14 +98,14 @@ const oa = [
97
98
  ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
98
99
  ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
99
100
  ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
100
- ], ra = V("brain", oa);
101
+ ], da = L("brain", ra);
101
102
  /**
102
103
  * @license lucide-react v1.8.0 - ISC
103
104
  *
104
105
  * This source code is licensed under the ISC license.
105
106
  * See the LICENSE file in the root directory of this source tree.
106
107
  */
107
- const da = [
108
+ const la = [
108
109
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
109
110
  ["path", { d: "M16 2v4", key: "4m81vk" }],
110
111
  ["path", { d: "M3 10h18", key: "8toen8" }],
@@ -113,14 +114,14 @@ const da = [
113
114
  ["path", { d: "M13 18H7", key: "bb0bb7" }],
114
115
  ["path", { d: "M7 14h.01", key: "1qa3f1" }],
115
116
  ["path", { d: "M17 18h.01", key: "1bdyru" }]
116
- ], la = V("calendar-range", da);
117
+ ], ca = L("calendar-range", la);
117
118
  /**
118
119
  * @license lucide-react v1.8.0 - ISC
119
120
  *
120
121
  * This source code is licensed under the ISC license.
121
122
  * See the LICENSE file in the root directory of this source tree.
122
123
  */
123
- const ca = [
124
+ const ua = [
124
125
  ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
125
126
  [
126
127
  "path",
@@ -130,7 +131,7 @@ const ca = [
130
131
  }
131
132
  ],
132
133
  ["path", { d: "m9 14 2 2 4-4", key: "df797q" }]
133
- ], ua = V("clipboard-check", ca);
134
+ ], ma = L("clipboard-check", ua);
134
135
  /**
135
136
  * @license lucide-react v1.8.0 - ISC
136
137
  *
@@ -140,79 +141,66 @@ const ca = [
140
141
  const pa = [
141
142
  ["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" }],
142
143
  ["path", { d: "M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4", key: "1qnva7" }]
143
- ], ma = V("ear", pa);
144
+ ], ga = L("ear", pa);
144
145
  /**
145
146
  * @license lucide-react v1.8.0 - ISC
146
147
  *
147
148
  * This source code is licensed under the ISC license.
148
149
  * See the LICENSE file in the root directory of this source tree.
149
150
  */
150
- const ga = [
151
+ const fa = [
151
152
  ["path", { d: "M6 18h8", key: "1borvv" }],
152
153
  ["path", { d: "M3 22h18", key: "8prr45" }],
153
154
  ["path", { d: "M14 22a7 7 0 1 0 0-14h-1", key: "1jwaiy" }],
154
155
  ["path", { d: "M9 14h2", key: "197e7h" }],
155
156
  ["path", { d: "M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z", key: "1bmzmy" }],
156
157
  ["path", { d: "M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3", key: "1drr47" }]
157
- ], fa = V("microscope", ga);
158
+ ], ha = L("microscope", fa);
158
159
  /**
159
160
  * @license lucide-react v1.8.0 - ISC
160
161
  *
161
162
  * This source code is licensed under the ISC license.
162
163
  * See the LICENSE file in the root directory of this source tree.
163
164
  */
164
- const ha = [
165
+ const va = [
165
166
  [
166
167
  "path",
167
168
  { 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" }
168
169
  ],
169
170
  ["path", { d: "m8.5 8.5 7 7", key: "rvfmvr" }]
170
- ], va = V("pill", ha);
171
+ ], ba = L("pill", va);
171
172
  /**
172
173
  * @license lucide-react v1.8.0 - ISC
173
174
  *
174
175
  * This source code is licensed under the ISC license.
175
176
  * See the LICENSE file in the root directory of this source tree.
176
177
  */
177
- const ba = [
178
- ["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
179
- ["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
180
- ["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
181
- ["path", { d: "M7 21H5a2 2 0 0 1-2-2v-2", key: "ioqczr" }],
182
- ["path", { d: "M7 12h10", key: "b7w52i" }]
183
- ], ya = V("scan-line", ba);
184
- /**
185
- * @license lucide-react v1.8.0 - ISC
186
- *
187
- * This source code is licensed under the ISC license.
188
- * See the LICENSE file in the root directory of this source tree.
189
- */
190
- const ka = [
178
+ const ya = [
191
179
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
192
180
  ["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
193
181
  ["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
194
182
  ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
195
183
  ["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
196
- ], xa = V("scissors", ka);
184
+ ], ka = L("scissors", ya);
197
185
  /**
198
186
  * @license lucide-react v1.8.0 - ISC
199
187
  *
200
188
  * This source code is licensed under the ISC license.
201
189
  * See the LICENSE file in the root directory of this source tree.
202
190
  */
203
- const Sa = [
191
+ const xa = [
204
192
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
205
193
  ["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
206
194
  ["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
207
195
  ["line", { x1: "15", x2: "15.01", y1: "9", y2: "9", key: "1p4y9e" }]
208
- ], Ia = V("smile", Sa);
196
+ ], Sa = L("smile", xa);
209
197
  /**
210
198
  * @license lucide-react v1.8.0 - ISC
211
199
  *
212
200
  * This source code is licensed under the ISC license.
213
201
  * See the LICENSE file in the root directory of this source tree.
214
202
  */
215
- const Na = [
203
+ const Ia = [
216
204
  ["path", { d: "M12 10V2", key: "16sf7g" }],
217
205
  ["path", { d: "m4.93 10.93 1.41 1.41", key: "2a7f42" }],
218
206
  ["path", { d: "M2 18h2", key: "j10viu" }],
@@ -221,25 +209,25 @@ const Na = [
221
209
  ["path", { d: "M22 22H2", key: "19qnx5" }],
222
210
  ["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
223
211
  ["path", { d: "M16 18a4 4 0 0 0-8 0", key: "1lzouq" }]
224
- ], wa = V("sunset", Na);
212
+ ], Na = L("sunset", Ia);
225
213
  /**
226
214
  * @license lucide-react v1.8.0 - ISC
227
215
  *
228
216
  * This source code is licensed under the ISC license.
229
217
  * See the LICENSE file in the root directory of this source tree.
230
218
  */
231
- const Ca = [
219
+ const wa = [
232
220
  ["path", { d: "m18 2 4 4", key: "22kx64" }],
233
221
  ["path", { d: "m17 7 3-3", key: "1w1zoj" }],
234
222
  ["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" }],
235
223
  ["path", { d: "m9 11 4 4", key: "rovt3i" }],
236
224
  ["path", { d: "m5 19-3 3", key: "59f2uf" }],
237
225
  ["path", { d: "m14 4 6 6", key: "yqp9t2" }]
238
- ], st = V("syringe", Ca);
239
- function Ma(e, t, a) {
226
+ ], st = L("syringe", wa);
227
+ function Ca(e, t, a) {
240
228
  return lt(e, -1, a);
241
229
  }
242
- const Da = {
230
+ const Ma = {
243
231
  id: "booking",
244
232
  capabilities: ["navigate", "view_change"],
245
233
  state: {
@@ -285,8 +273,8 @@ const Da = {
285
273
  "email",
286
274
  "whatsapp",
287
275
  "sms"
288
- ], X = "all", Aa = "de";
289
- function _a(e) {
276
+ ], X = "all", Da = "de";
277
+ function Aa(e) {
290
278
  return [...e.lockedOperatorId ? e.specialties.filter(
291
279
  (a) => {
292
280
  var i;
@@ -312,7 +300,7 @@ function Ta(e) {
312
300
  }
313
301
  return t;
314
302
  }
315
- function Pa(e) {
303
+ function _a(e) {
316
304
  const t = e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties;
317
305
  if (t) {
318
306
  const a = ue(e.value);
@@ -336,12 +324,12 @@ function Pa(e) {
336
324
  }
337
325
  return [];
338
326
  }
339
- function Oa(e, t) {
340
- const a = e.country === Aa, i = !a || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, p = !o || l, r = Be(e.value).length > 0, c = !p || r, m = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && m.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0, D = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, y = r && m.length === 0;
327
+ function Pa(e, t) {
328
+ const a = e.country === Da, i = !a || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, m = !o || l, r = Be(e.value).length > 0, c = !m || r, p = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && p.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0, D = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, y = r && p.length === 0;
341
329
  return {
342
330
  insurance: a,
343
331
  specialty: o,
344
- service: p,
332
+ service: m,
345
333
  operator: k,
346
334
  date: I,
347
335
  slot: N,
@@ -349,7 +337,7 @@ function Oa(e, t) {
349
337
  onboardingIncomplete: y
350
338
  };
351
339
  }
352
- function Ba(e, t) {
340
+ function Oa(e, t) {
353
341
  const a = [];
354
342
  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);
355
343
  const i = {
@@ -368,18 +356,18 @@ function Ba(e, t) {
368
356
  visibleSteps: a
369
357
  };
370
358
  }
371
- function Ea(e) {
359
+ function Ba(e) {
372
360
  const t = {
373
- specialties: _a(e),
361
+ specialties: Aa(e),
374
362
  services: Ta(e),
375
- operators: Pa(e)
376
- }, a = Oa(e, t), { currentStep: i, visibleSteps: n } = Ba(e, a);
363
+ operators: _a(e)
364
+ }, a = Pa(e, t), { currentStep: i, visibleSteps: n } = Oa(e, a);
377
365
  let o;
378
366
  if (e.value.date && e.value.slotKey) {
379
367
  const c = e.availableSlots[e.value.date];
380
- c && (o = c.find((m) => m.key === e.value.slotKey));
368
+ c && (o = c.find((p) => p.key === e.value.slotKey));
381
369
  }
382
- const l = Be(e.value), u = l.length > 0 ? e.services.find((c) => c.id === l[0]) : void 0, p = ue(e.value).length > 0, r = l.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!a.insurance || e.value.insuranceType !== void 0) && (!a.specialty || p);
370
+ const l = Be(e.value), u = l.length > 0 ? e.services.find((c) => c.id === l[0]) : void 0, m = ue(e.value).length > 0, r = l.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!a.insurance || e.value.insuranceType !== void 0) && (!a.specialty || m);
383
371
  return {
384
372
  gates: a,
385
373
  filtered: t,
@@ -417,7 +405,7 @@ function ut(e, t) {
417
405
  details: void 0
418
406
  };
419
407
  }
420
- function pt(e, t) {
408
+ function mt(e, t) {
421
409
  return {
422
410
  ...e,
423
411
  specialtyId: void 0,
@@ -431,7 +419,7 @@ function pt(e, t) {
431
419
  details: void 0
432
420
  };
433
421
  }
434
- function mt(e, t) {
422
+ function pt(e, t) {
435
423
  return {
436
424
  ...e,
437
425
  serviceId: t,
@@ -500,7 +488,7 @@ function vt(e, t) {
500
488
  slotKey: t
501
489
  };
502
490
  }
503
- function Va(e, t) {
491
+ function Ea(e, t) {
504
492
  let a = e;
505
493
  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) {
506
494
  const n = ue(a), o = n.length > 0 ? t.services.filter(
@@ -514,7 +502,7 @@ function He(e) {
514
502
  if (e.operatorId && e.operatorId !== X)
515
503
  return e.operatorId;
516
504
  }
517
- function La(e) {
505
+ function Va(e) {
518
506
  if (!e) return !1;
519
507
  const t = e.trim();
520
508
  return /^\+?\d[\d\s\-()]{6,}$/.test(t);
@@ -523,7 +511,7 @@ function bt(e) {
523
511
  const t = e && e.length > 0 ? e : ["email"], a = new Set(t);
524
512
  return qe.filter((i) => a.has(i));
525
513
  }
526
- function Ra(e, t, a) {
514
+ function La(e, t, a) {
527
515
  const i = bt(e), n = new Set(i);
528
516
  if (a)
529
517
  return qe.filter(
@@ -531,12 +519,12 @@ function Ra(e, t, a) {
531
519
  );
532
520
  const o = [];
533
521
  n.has("email") && o.push("email");
534
- const l = La(t), u = n.has("whatsapp");
522
+ const l = Va(t), u = n.has("whatsapp");
535
523
  u && l && o.push("whatsapp"), !u && n.has("sms") && o.push("sms");
536
- const p = new Set(o);
537
- return qe.filter((r) => p.has(r));
524
+ const m = new Set(o);
525
+ return qe.filter((r) => m.has(r));
538
526
  }
539
- const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, De = { state: "idle" }, Ye = ot(
527
+ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, De = { state: "idle" }, Ye = ot(
540
528
  ({
541
529
  value: e,
542
530
  onChange: t,
@@ -546,10 +534,10 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
546
534
  requireInsuranceNumber: o = !1,
547
535
  insuranceType: l,
548
536
  showNote: u = !1,
549
- showReturningPatientFlag: p = !1,
537
+ showReturningPatientFlag: m = !1,
550
538
  privacyPolicyUrl: r,
551
539
  termsUrl: c,
552
- validateCodiceFiscale: m,
540
+ validateCodiceFiscale: p,
553
541
  validateInsuranceNumber: k,
554
542
  submitting: I = !1,
555
543
  summarySlot: v,
@@ -559,7 +547,7 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
559
547
  submitError: y
560
548
  }, b) => {
561
549
  var we, re;
562
- const { t: d } = O(), _ = rt(), [x, g] = K(De), [S, T] = K(De), [A, G] = K({}), B = j(
550
+ const { t: d } = O(), T = rt(), [x, g] = K(De), [S, _] = K(De), [A, G] = K({}), B = j(
563
551
  (h) => G((C) => ({ ...C, [h]: !0 })),
564
552
  []
565
553
  ), E = se(null), U = se(
@@ -577,22 +565,22 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
577
565
  ), Q = w(
578
566
  () => bt(M),
579
567
  [M]
580
- ), q = Q.length >= 2, pe = se(!1);
568
+ ), q = Q.length >= 2, me = se(!1);
581
569
  H(() => {
582
570
  if (!q) {
583
571
  e.confirmationChannels !== void 0 && P({ confirmationChannels: void 0 });
584
572
  return;
585
573
  }
586
574
  if (e.confirmationChannels !== void 0) {
587
- pe.current = !0;
575
+ me.current = !0;
588
576
  return;
589
577
  }
590
- const h = Ra(
578
+ const h = La(
591
579
  Q,
592
580
  e.mobilePhone,
593
581
  D
594
582
  );
595
- pe.current = !0, P({ confirmationChannels: h });
583
+ me.current = !0, P({ confirmationChannels: h });
596
584
  }, [
597
585
  q,
598
586
  Q,
@@ -605,11 +593,11 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
605
593
  ), xe = q && ee.length === 0;
606
594
  H(() => {
607
595
  const h = e.codiceFiscale;
608
- if (!i || !m || !h) {
596
+ if (!i || !p || !h) {
609
597
  g(De);
610
598
  return;
611
599
  }
612
- if (!Fa.test(h)) {
600
+ if (!Ra.test(h)) {
613
601
  g({
614
602
  state: "invalid",
615
603
  hint: d("booking.details.codiceFiscale.invalidFormat")
@@ -617,7 +605,7 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
617
605
  return;
618
606
  }
619
607
  g({ state: "pending" }), E.current && clearTimeout(E.current), E.current = setTimeout(() => {
620
- m(h).then(
608
+ p(h).then(
621
609
  (C) => g(
622
610
  C.valid ? { state: "valid" } : { state: "invalid", hint: C.hint }
623
611
  )
@@ -628,21 +616,21 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
628
616
  })
629
617
  );
630
618
  }, nt);
631
- }, [i, m, e.codiceFiscale, d]);
619
+ }, [i, p, e.codiceFiscale, d]);
632
620
  const Y = o && l === "public";
633
621
  H(() => {
634
622
  const h = e.insuranceNumber;
635
623
  if (!Y || !k || !h) {
636
- T(De);
624
+ _(De);
637
625
  return;
638
626
  }
639
- T({ state: "pending" }), U.current && clearTimeout(U.current), U.current = setTimeout(() => {
627
+ _({ state: "pending" }), U.current && clearTimeout(U.current), U.current = setTimeout(() => {
640
628
  k(h).then(
641
- (C) => T(
629
+ (C) => _(
642
630
  C.valid ? { state: "valid" } : { state: "invalid", hint: C.hint }
643
631
  )
644
632
  ).catch(
645
- () => T({
633
+ () => _({
646
634
  state: "invalid",
647
635
  hint: d("booking.details.insuranceNumber.unavailable")
648
636
  })
@@ -650,19 +638,19 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
650
638
  }, nt);
651
639
  }, [Y, k, e.insuranceNumber, d]);
652
640
  const ne = w(
653
- () => !!(e.email && $a.test(e.email)),
641
+ () => !!(e.email && Fa.test(e.email)),
654
642
  [e.email]
655
- ), me = w(
643
+ ), pe = w(
656
644
  () => !!(e.mobilePhone && e.mobilePhone.length >= 6),
657
645
  [e.mobilePhone]
658
646
  ), Se = w(() => {
659
647
  var h, C;
660
- return !(!((h = e.firstName) != null && h.trim()) || !((C = e.lastName) != null && C.trim()) || !ne || !me || i && x.state !== "valid" || n && !e.dateOfBirth || Y && S.state !== "valid");
648
+ return !(!((h = e.firstName) != null && h.trim()) || !((C = e.lastName) != null && C.trim()) || !ne || !pe || i && x.state !== "valid" || n && !e.dateOfBirth || Y && S.state !== "valid");
661
649
  }, [
662
650
  e.firstName,
663
651
  e.lastName,
664
652
  ne,
665
- me,
653
+ pe,
666
654
  i,
667
655
  x.state,
668
656
  n,
@@ -729,7 +717,7 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
729
717
  "form",
730
718
  {
731
719
  ref: b,
732
- id: _,
720
+ id: T,
733
721
  noValidate: !0,
734
722
  onSubmit: Le,
735
723
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
@@ -793,7 +781,7 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
793
781
  {
794
782
  label: d("booking.details.mobilePhone.label"),
795
783
  required: !0,
796
- error: A.mobilePhone && !me ? d("booking.details.mobilePhone.invalid") : void 0,
784
+ error: A.mobilePhone && !pe ? d("booking.details.mobilePhone.invalid") : void 0,
797
785
  children: /* @__PURE__ */ s(
798
786
  Lt,
799
787
  {
@@ -883,7 +871,7 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
883
871
  )
884
872
  }
885
873
  ) : null,
886
- p ? /* @__PURE__ */ s(
874
+ m ? /* @__PURE__ */ s(
887
875
  Ke,
888
876
  {
889
877
  checked: !!e.returningPatient,
@@ -977,7 +965,7 @@ const it = 500, Fa = /^[A-Z0-9]{16}$/, $a = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
977
965
  }
978
966
  );
979
967
  Ye.displayName = "BookingDetailsForm";
980
- const za = Pe(
968
+ const $a = Pe(
981
969
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
982
970
  {
983
971
  variants: {
@@ -1005,40 +993,40 @@ const za = Pe(
1005
993
  },
1006
994
  defaultVariants: { variant: "inline-list", surface: "flat" }
1007
995
  }
1008
- ), Ka = [
996
+ ), za = [
1009
997
  [
1010
998
  /\b(estetic|aesthetic|botox|filler|mesoterap|chirurgia\s*plastic)/i,
1011
999
  st
1012
1000
  ],
1013
1001
  [/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Wt],
1014
- [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Ia],
1002
+ [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Sa],
1015
1003
  [/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, Xt],
1016
- [/\b(otorin|udito|orecchi|hearing|ear)/i, ma],
1017
- [/\b(neuro|brain|cervello)/i, ra],
1018
- [/\b(pediatr|child|bambin)/i, sa],
1019
- [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, na],
1020
- [/\b(lab|analis|test|sang|esami)/i, fa],
1021
- [/\b(farmaco|pharm|pillol|refill)/i, va],
1022
- [/\b(chirurg|surg|intervent|operat)/i, xa],
1023
- [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, ya],
1004
+ [/\b(otorin|udito|orecchi|hearing|ear)/i, ga],
1005
+ [/\b(neuro|brain|cervello)/i, da],
1006
+ [/\b(pediatr|child|bambin)/i, ia],
1007
+ [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, oa],
1008
+ [/\b(lab|analis|test|sang|esami)/i, ha],
1009
+ [/\b(farmaco|pharm|pillol|refill)/i, ba],
1010
+ [/\b(chirurg|surg|intervent|operat)/i, ka],
1011
+ [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Qt],
1024
1012
  [/\b(vacc|inject|inie|punto)/i, st],
1025
- [/\b(derma|skin|pelle)/i, Qt],
1026
- [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, ua],
1027
- [/\b(general|medicin|family|control|check[-\s]?up)/i, ta]
1013
+ [/\b(derma|skin|pelle)/i, ea],
1014
+ [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, ma],
1015
+ [/\b(general|medicin|family|control|check[-\s]?up)/i, aa]
1028
1016
  ];
1029
- function ja(e) {
1030
- for (const [t, a] of Ka)
1017
+ function Ka(e) {
1018
+ for (const [t, a] of za)
1031
1019
  if (t.test(e)) return a;
1032
1020
  return null;
1033
1021
  }
1034
- function qa(e) {
1035
- const t = ja(e.label) ?? Zt;
1022
+ function ja(e) {
1023
+ const t = Ka(e.label) ?? Zt;
1036
1024
  return /* @__PURE__ */ s(t, { "aria-hidden": "true", className: "ds:size-5" });
1037
1025
  }
1038
1026
  function ae(e) {
1039
- return _e(e, "yyyy-MM-dd");
1027
+ return Te(e, "yyyy-MM-dd");
1040
1028
  }
1041
- const Ha = [
1029
+ const qa = [
1042
1030
  "ds:relative ds:flex ds:items-center ds:justify-center",
1043
1031
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
1044
1032
  "ds:rounded-[var(--radius-sm)]",
@@ -1048,7 +1036,7 @@ const Ha = [
1048
1036
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1049
1037
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1050
1038
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
1051
- ].join(" "), Ga = Pe(Ha, {
1039
+ ].join(" "), Ha = Pe(qa, {
1052
1040
  variants: {
1053
1041
  state: {
1054
1042
  available: "ds:cursor-pointer ds:text-[var(--foreground)] ds:hover:bg-[var(--muted)]/30",
@@ -1059,20 +1047,20 @@ const Ha = [
1059
1047
  },
1060
1048
  defaultVariants: { state: "unavailable" }
1061
1049
  });
1062
- function Ua({
1050
+ function Ga({
1063
1051
  availableDates: e,
1064
1052
  selectedDate: t,
1065
1053
  onSelectDate: a,
1066
1054
  locale: i,
1067
1055
  loading: n
1068
1056
  }) {
1069
- const { t: o } = O(), l = w(() => t ? ye(F(t)) : e.length > 0 ? ye(F(e[0])) : ye(/* @__PURE__ */ new Date()), [t, e]), [u, p] = K(l), [r, c] = K(null), m = w(() => {
1070
- const y = ye(u), b = qt(u), d = y.getDay(), _ = b.getDate(), x = [];
1057
+ const { t: o } = O(), l = w(() => t ? ye(F(t)) : e.length > 0 ? ye(F(e[0])) : ye(/* @__PURE__ */ new Date()), [t, e]), [u, m] = K(l), [r, c] = K(null), p = w(() => {
1058
+ const y = ye(u), b = qt(u), d = y.getDay(), T = b.getDate(), x = [];
1071
1059
  for (let g = d; g > 0; g -= 1) {
1072
1060
  const S = new Date(y);
1073
1061
  S.setDate(y.getDate() - g), x.push(S);
1074
1062
  }
1075
- for (let g = 0; g < _; g += 1) {
1063
+ for (let g = 0; g < T; g += 1) {
1076
1064
  const S = new Date(y);
1077
1065
  S.setDate(y.getDate() + g), x.push(S);
1078
1066
  }
@@ -1088,17 +1076,17 @@ function Ua({
1088
1076
  year: "numeric"
1089
1077
  }).format(u);
1090
1078
  } catch {
1091
- return _e(u, "MMMM yyyy");
1079
+ return Te(u, "MMMM yyyy");
1092
1080
  }
1093
1081
  }, [u, i]), I = w(() => {
1094
1082
  const y = new Date(2024, 0, 7);
1095
1083
  return Array.from({ length: 7 }, (b, d) => {
1096
- const _ = new Date(y);
1097
- _.setDate(y.getDate() + d);
1084
+ const T = new Date(y);
1085
+ T.setDate(y.getDate() + d);
1098
1086
  try {
1099
- return new Intl.DateTimeFormat(i, { weekday: "short" }).format(_);
1087
+ return new Intl.DateTimeFormat(i, { weekday: "short" }).format(T);
1100
1088
  } catch {
1101
- return _e(_, "EEE");
1089
+ return Te(T, "EEE");
1102
1090
  }
1103
1091
  });
1104
1092
  }, [i]), v = w(() => new Set(e), [e]), N = j(
@@ -1107,11 +1095,11 @@ function Ua({
1107
1095
  ), M = w(() => {
1108
1096
  if (r) return r;
1109
1097
  if (t) return F(t);
1110
- const y = m.find(
1098
+ const y = p.find(
1111
1099
  (b) => Me(b, u) && N(b)
1112
1100
  );
1113
- return y || (m.find((b) => Me(b, u)) ?? null);
1114
- }, [r, t, m, u, N]), D = j(
1101
+ return y || (p.find((b) => Me(b, u)) ?? null);
1102
+ }, [r, t, p, u, N]), D = j(
1115
1103
  (y, b) => {
1116
1104
  let d = null;
1117
1105
  switch (y.key) {
@@ -1141,7 +1129,7 @@ function Ua({
1141
1129
  default:
1142
1130
  return;
1143
1131
  }
1144
- d && (y.preventDefault(), Me(d, u) || p(ye(d)), c(d));
1132
+ d && (y.preventDefault(), Me(d, u) || m(ye(d)), c(d));
1145
1133
  },
1146
1134
  [N, a, u]
1147
1135
  );
@@ -1153,8 +1141,8 @@ function Ua({
1153
1141
  "aria-label": o("common.loading"),
1154
1142
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
1155
1143
  children: [
1156
- /* @__PURE__ */ s(Te, { 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 }, (y, b) => /* @__PURE__ */ s(Te, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
1144
+ /* @__PURE__ */ s(_e, { variant: "text", width: "40%" }),
1145
+ /* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]", children: Array.from({ length: 42 }, (y, b) => /* @__PURE__ */ s(_e, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
1158
1146
  ]
1159
1147
  }
1160
1148
  ) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
@@ -1168,7 +1156,7 @@ function Ua({
1168
1156
  intent: "ghost",
1169
1157
  flipIconInRtl: !0,
1170
1158
  onClick: () => {
1171
- p((y) => Ma(y)), c(null);
1159
+ m((y) => Ca(y)), c(null);
1172
1160
  }
1173
1161
  }
1174
1162
  ),
@@ -1189,7 +1177,7 @@ function Ua({
1189
1177
  intent: "ghost",
1190
1178
  flipIconInRtl: !0,
1191
1179
  onClick: () => {
1192
- p((y) => lt(y, 1)), c(null);
1180
+ m((y) => lt(y, 1)), c(null);
1193
1181
  }
1194
1182
  }
1195
1183
  )
@@ -1222,14 +1210,14 @@ function Ua({
1222
1210
  {
1223
1211
  role: "row",
1224
1212
  className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
1225
- children: m.slice(b * 7, b * 7 + 7).map((d, _) => {
1226
- const x = b * 7 + _, g = Me(d, u), S = g && N(d), T = t ? at(d, F(t)) : !1, A = g ? T ? "selected" : S ? "available" : "unavailable" : "outside", G = M ? at(M, d) : !1, B = (() => {
1213
+ children: p.slice(b * 7, b * 7 + 7).map((d, T) => {
1214
+ const x = b * 7 + T, g = Me(d, u), S = g && N(d), _ = t ? at(d, F(t)) : !1, A = g ? _ ? "selected" : S ? "available" : "unavailable" : "outside", G = M ? at(M, d) : !1, B = (() => {
1227
1215
  try {
1228
1216
  return new Intl.DateTimeFormat(i, {
1229
1217
  dateStyle: "full"
1230
1218
  }).format(d);
1231
1219
  } catch {
1232
- return _e(d, "PPP");
1220
+ return Te(d, "PPP");
1233
1221
  }
1234
1222
  })();
1235
1223
  return /* @__PURE__ */ s(
@@ -1238,7 +1226,7 @@ function Ua({
1238
1226
  type: "button",
1239
1227
  role: "gridcell",
1240
1228
  "aria-label": B,
1241
- "aria-selected": T || void 0,
1229
+ "aria-selected": _ || void 0,
1242
1230
  "aria-disabled": !S || void 0,
1243
1231
  tabIndex: G ? 0 : -1,
1244
1232
  disabled: !S,
@@ -1246,7 +1234,7 @@ function Ua({
1246
1234
  S && a(ae(d));
1247
1235
  },
1248
1236
  onKeyDown: (E) => D(E, d),
1249
- className: Ga({ state: A }),
1237
+ className: Ha({ state: A }),
1250
1238
  children: /* @__PURE__ */ s("span", { "aria-hidden": "true", children: d.getDate() })
1251
1239
  },
1252
1240
  `mg-cell-${x}`
@@ -1260,7 +1248,7 @@ function Ua({
1260
1248
  )
1261
1249
  ] });
1262
1250
  }
1263
- const Ya = Pe(
1251
+ const Ua = Pe(
1264
1252
  [
1265
1253
  "ds:relative ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-md)]",
1266
1254
  "ds:min-h-[var(--min-target-size)]",
@@ -1286,47 +1274,47 @@ const Ya = Pe(
1286
1274
  defaultVariants: { state: "idle" }
1287
1275
  }
1288
1276
  );
1289
- function Ja({
1277
+ function Ya({
1290
1278
  services: e,
1291
1279
  selectedServiceId: t,
1292
1280
  onSelect: a
1293
1281
  }) {
1294
1282
  const { t: i } = O(), n = rt(), [o, l] = K(() => {
1295
1283
  if (t) {
1296
- const c = e.findIndex((m) => m.id === t);
1284
+ const c = e.findIndex((p) => p.id === t);
1297
1285
  if (c >= 0) return c;
1298
1286
  }
1299
1287
  return 0;
1300
- }), u = se(/* @__PURE__ */ new Map()), p = j((c) => {
1301
- var m;
1302
- (m = u.current.get(c)) == null || m.focus();
1288
+ }), u = se(/* @__PURE__ */ new Map()), m = j((c) => {
1289
+ var p;
1290
+ (p = u.current.get(c)) == null || p.focus();
1303
1291
  }, []), r = j(
1304
- (c, m, k) => {
1292
+ (c, p, k) => {
1305
1293
  const I = e.length;
1306
1294
  if (I !== 0)
1307
1295
  switch (c.key) {
1308
1296
  case "ArrowDown":
1309
1297
  case "ArrowRight": {
1310
1298
  c.preventDefault();
1311
- const v = (m + 1) % I;
1312
- l(v), p(v);
1299
+ const v = (p + 1) % I;
1300
+ l(v), m(v);
1313
1301
  break;
1314
1302
  }
1315
1303
  case "ArrowUp":
1316
1304
  case "ArrowLeft": {
1317
1305
  c.preventDefault();
1318
- const v = (m - 1 + I) % I;
1319
- l(v), p(v);
1306
+ const v = (p - 1 + I) % I;
1307
+ l(v), m(v);
1320
1308
  break;
1321
1309
  }
1322
1310
  case "Home": {
1323
- c.preventDefault(), l(0), p(0);
1311
+ c.preventDefault(), l(0), m(0);
1324
1312
  break;
1325
1313
  }
1326
1314
  case "End": {
1327
1315
  c.preventDefault();
1328
1316
  const v = I - 1;
1329
- l(v), p(v);
1317
+ l(v), m(v);
1330
1318
  break;
1331
1319
  }
1332
1320
  case "Enter":
@@ -1336,7 +1324,7 @@ function Ja({
1336
1324
  }
1337
1325
  }
1338
1326
  },
1339
- [e.length, p, a]
1327
+ [e.length, m, a]
1340
1328
  );
1341
1329
  return e.length === 0 ? null : /* @__PURE__ */ s(
1342
1330
  "div",
@@ -1345,16 +1333,16 @@ function Ja({
1345
1333
  "aria-label": i("booking.serviceListLabel"),
1346
1334
  id: n,
1347
1335
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
1348
- children: e.map((c, m) => {
1349
- const k = t === c.id, I = o === m, v = i("booking.serviceCardLabel", {
1336
+ children: e.map((c, p) => {
1337
+ const k = t === c.id, I = o === p, v = i("booking.serviceCardLabel", {
1350
1338
  label: c.label,
1351
1339
  duration: c.durationMin
1352
- }), N = qa(c);
1340
+ }), N = ja(c);
1353
1341
  return /* @__PURE__ */ f(
1354
1342
  "button",
1355
1343
  {
1356
1344
  ref: (M) => {
1357
- M ? u.current.set(m, M) : u.current.delete(m);
1345
+ M ? u.current.set(p, M) : u.current.delete(p);
1358
1346
  },
1359
1347
  type: "button",
1360
1348
  role: "radio",
@@ -1362,9 +1350,9 @@ function Ja({
1362
1350
  "aria-label": v,
1363
1351
  tabIndex: I ? 0 : -1,
1364
1352
  onClick: () => a(c.id),
1365
- onFocus: () => l(m),
1366
- onKeyDown: (M) => r(M, m, c.id),
1367
- className: Ya({
1353
+ onFocus: () => l(p),
1354
+ onKeyDown: (M) => r(M, p, c.id),
1355
+ className: Ua({
1368
1356
  state: k ? "selected" : "idle"
1369
1357
  }),
1370
1358
  children: [
@@ -1388,7 +1376,7 @@ function Ja({
1388
1376
  }
1389
1377
  );
1390
1378
  }
1391
- const Za = Pe(
1379
+ const Ja = Pe(
1392
1380
  [
1393
1381
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-2xs)]",
1394
1382
  "ds:min-h-[var(--min-target-size)]",
@@ -1414,16 +1402,16 @@ const Za = Pe(
1414
1402
  defaultVariants: { state: "idle" }
1415
1403
  }
1416
1404
  );
1417
- function Wa(e) {
1405
+ function Za(e) {
1418
1406
  const [t] = e.split(":").map((i) => parseInt(i, 10)), a = Number.isFinite(t) ? t : 0;
1419
1407
  return a < 12 ? "morning" : a < 17 ? "afternoon" : "evening";
1420
1408
  }
1421
- const Xa = {
1409
+ const Wa = {
1422
1410
  morning: Jt,
1423
- afternoon: wa,
1411
+ afternoon: Na,
1424
1412
  evening: Yt
1425
1413
  };
1426
- function Qa({
1414
+ function Xa({
1427
1415
  date: e,
1428
1416
  slots: t,
1429
1417
  selectedSlotKey: a,
@@ -1441,31 +1429,31 @@ function Qa({
1441
1429
  } catch {
1442
1430
  return e;
1443
1431
  }
1444
- }, [e, o]), p = w(() => {
1445
- const m = {
1432
+ }, [e, o]), m = w(() => {
1433
+ const p = {
1446
1434
  morning: [],
1447
1435
  afternoon: [],
1448
1436
  evening: []
1449
1437
  };
1450
1438
  for (const k of t)
1451
- m[Wa(k.time)].push(k);
1452
- return m;
1453
- }, [t]), r = t.filter((m) => m.available).length, c = ["morning", "afternoon", "evening"];
1439
+ p[Za(k.time)].push(k);
1440
+ return p;
1441
+ }, [t]), r = t.filter((p) => p.available).length, c = ["morning", "afternoon", "evening"];
1454
1442
  return n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1455
- /* @__PURE__ */ s(Te, { variant: "text", width: "60%" }),
1456
- [0, 1].map((m) => /* @__PURE__ */ s(
1443
+ /* @__PURE__ */ s(_e, { variant: "text", width: "60%" }),
1444
+ [0, 1].map((p) => /* @__PURE__ */ s(
1457
1445
  "div",
1458
1446
  {
1459
1447
  className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)]",
1460
- children: [0, 1, 2].map((k) => /* @__PURE__ */ s(Te, { variant: "rounded", height: "44px" }, k))
1448
+ children: [0, 1, 2].map((k) => /* @__PURE__ */ s(_e, { variant: "rounded", height: "44px" }, k))
1461
1449
  },
1462
- m
1450
+ p
1463
1451
  ))
1464
1452
  ] }) : r === 0 ? /* @__PURE__ */ s(dt, { variant: "no-results", title: l("booking.noSlotsForDate") }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1465
1453
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1466
1454
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1467
1455
  /* @__PURE__ */ s(
1468
- la,
1456
+ ca,
1469
1457
  {
1470
1458
  "aria-hidden": "true",
1471
1459
  className: "ds:size-4 ds:text-[color:var(--accent)]"
@@ -1475,10 +1463,10 @@ function Qa({
1475
1463
  ] }),
1476
1464
  /* @__PURE__ */ s("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: l("booking.slotsAvailable", { count: r }) })
1477
1465
  ] }),
1478
- c.map((m) => {
1479
- const k = p[m];
1466
+ c.map((p) => {
1467
+ const k = m[p];
1480
1468
  if (k.length === 0) return null;
1481
- const I = Xa[m];
1469
+ const I = Wa[p];
1482
1470
  return /* @__PURE__ */ f(
1483
1471
  "div",
1484
1472
  {
@@ -1486,13 +1474,13 @@ function Qa({
1486
1474
  children: [
1487
1475
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: [
1488
1476
  /* @__PURE__ */ s(I, { "aria-hidden": "true", className: "ds:size-3.5" }),
1489
- /* @__PURE__ */ s("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: l(`booking.timeOfDay.${m}`) })
1477
+ /* @__PURE__ */ s("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: l(`booking.timeOfDay.${p}`) })
1490
1478
  ] }),
1491
1479
  /* @__PURE__ */ s(
1492
1480
  "div",
1493
1481
  {
1494
1482
  role: "group",
1495
- "aria-label": l(`booking.timeOfDay.${m}`),
1483
+ "aria-label": l(`booking.timeOfDay.${p}`),
1496
1484
  className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)] ds:sm:grid-cols-4",
1497
1485
  children: k.map((v) => {
1498
1486
  const N = v.key === a, M = v.available ? N ? "selected" : "idle" : "unavailable";
@@ -1507,7 +1495,7 @@ function Qa({
1507
1495
  time: v.time
1508
1496
  }),
1509
1497
  onClick: () => v.available && i(v),
1510
- className: Za({ state: M }),
1498
+ className: Ja({ state: M }),
1511
1499
  children: v.time
1512
1500
  },
1513
1501
  v.key
@@ -1517,13 +1505,13 @@ function Qa({
1517
1505
  )
1518
1506
  ]
1519
1507
  },
1520
- m
1508
+ p
1521
1509
  );
1522
1510
  })
1523
1511
  ] });
1524
1512
  }
1525
1513
  const Ae = 4;
1526
- function es({
1514
+ function Qa({
1527
1515
  availableDates: e,
1528
1516
  availableSlots: t,
1529
1517
  value: a,
@@ -1532,9 +1520,9 @@ function es({
1532
1520
  onWindowChange: o,
1533
1521
  loadingDates: l,
1534
1522
  loadingSlots: u,
1535
- locale: p
1523
+ locale: m
1536
1524
  }) {
1537
- const r = w(() => le(/* @__PURE__ */ new Date()), []), [c, m] = K(() => {
1525
+ const r = w(() => le(/* @__PURE__ */ new Date()), []), [c, p] = K(() => {
1538
1526
  if (a.date) {
1539
1527
  const g = le(F(a.date));
1540
1528
  if (!ce(r, g)) return g;
@@ -1548,7 +1536,7 @@ function es({
1548
1536
  () => je(c, Ae - 1),
1549
1537
  [c]
1550
1538
  ), I = w(() => Array.from({ length: Ae }, (g, S) => {
1551
- const T = je(c, S), A = ae(T), B = (t[A] ?? []).map((E) => ({
1539
+ const _ = je(c, S), A = ae(_), B = (t[A] ?? []).map((E) => ({
1552
1540
  id: E.key,
1553
1541
  // SlotGrid formats `start` as a time via Intl.DateTimeFormat —
1554
1542
  // compose a full ISO from the column's date + the slot's HH:mm
@@ -1558,39 +1546,39 @@ function es({
1558
1546
  }));
1559
1547
  return { date: A, slots: B };
1560
1548
  }), [c, t]), v = ce(c, r), N = !0, M = j(() => {
1561
- m((g) => {
1549
+ p((g) => {
1562
1550
  const S = Ht(g, Ae);
1563
1551
  return ce(r, S) ? r : S;
1564
1552
  });
1565
1553
  }, [r]), D = j(() => {
1566
- m((g) => je(g, Ae));
1554
+ p((g) => je(g, Ae));
1567
1555
  }, []);
1568
1556
  H(() => {
1569
1557
  if (e.length === 0) return;
1570
1558
  const g = le(F(e[0]));
1571
- !ce(g, r) || e.some((T) => {
1572
- const A = le(F(T));
1559
+ !ce(g, r) || e.some((_) => {
1560
+ const A = le(F(_));
1573
1561
  return !ce(A, k) && !jt(A, c);
1574
- }) || m(g);
1562
+ }) || p(g);
1575
1563
  }, [e]), H(() => {
1576
1564
  o == null || o(ae(c), ae(k));
1577
1565
  }, [c, k, o]);
1578
1566
  const y = j(
1579
1567
  (g, S) => {
1580
- const T = typeof S.date == "string" ? S.date : ae(S.date);
1568
+ const _ = typeof S.date == "string" ? S.date : ae(S.date);
1581
1569
  i({
1582
- ...vt(Ee(a, T), g.id)
1583
- }), n == null || n(T);
1570
+ ...vt(Ee(a, _), g.id)
1571
+ }), n == null || n(_);
1584
1572
  },
1585
1573
  [i, n, a]
1586
- ), b = l || u ? "loading" : "default", d = I.some((g) => g.slots.length > 0), _ = e[0];
1574
+ ), b = l || u ? "loading" : "default", d = I.some((g) => g.slots.length > 0), T = e[0];
1587
1575
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1588
- !d && !!_ ? /* @__PURE__ */ s(
1576
+ !d && !!T ? /* @__PURE__ */ s(
1589
1577
  Je,
1590
1578
  {
1591
- nextAvailableDate: _,
1592
- onJump: () => m(le(F(_))),
1593
- locale: p
1579
+ nextAvailableDate: T,
1580
+ onJump: () => p(le(F(T))),
1581
+ locale: m
1594
1582
  }
1595
1583
  ) : null,
1596
1584
  /* @__PURE__ */ s(
@@ -1600,7 +1588,7 @@ function es({
1600
1588
  state: b,
1601
1589
  selectedSlotId: a.slotKey,
1602
1590
  maxInitialSlotsPerDay: 6,
1603
- locale: p,
1591
+ locale: m,
1604
1592
  hasPrevious: v,
1605
1593
  hasNext: N,
1606
1594
  onSlotSelect: y,
@@ -1619,11 +1607,11 @@ function yt(e) {
1619
1607
  onWindowChange: o,
1620
1608
  loadingDates: l,
1621
1609
  loadingSlots: u,
1622
- locale: p,
1610
+ locale: m,
1623
1611
  datePickerStyle: r
1624
1612
  } = e;
1625
1613
  return r === "four-day-grid" ? /* @__PURE__ */ s(
1626
- es,
1614
+ Qa,
1627
1615
  {
1628
1616
  availableDates: t.availableDates,
1629
1617
  availableSlots: t.availableSlots,
@@ -1633,17 +1621,17 @@ function yt(e) {
1633
1621
  onWindowChange: o,
1634
1622
  loadingDates: l,
1635
1623
  loadingSlots: u,
1636
- locale: p
1624
+ locale: m
1637
1625
  }
1638
1626
  ) : /* @__PURE__ */ s(
1639
- Ua,
1627
+ Ga,
1640
1628
  {
1641
1629
  availableDates: t.availableDates,
1642
1630
  selectedDate: a.date,
1643
1631
  onSelectDate: (c) => {
1644
1632
  i(Ee(a, c)), n == null || n(c);
1645
1633
  },
1646
- locale: p,
1634
+ locale: m,
1647
1635
  loading: l ?? u
1648
1636
  }
1649
1637
  );
@@ -1651,7 +1639,7 @@ function yt(e) {
1651
1639
  function kt(e) {
1652
1640
  const { inputs: t, value: a, onChange: i, loadingSlots: n, locale: o, datePickerStyle: l } = e;
1653
1641
  return l === "four-day-grid" || !a.date ? null : /* @__PURE__ */ s(
1654
- Qa,
1642
+ Xa,
1655
1643
  {
1656
1644
  date: a.date,
1657
1645
  slots: t.availableSlots[a.date] ?? [],
@@ -1694,9 +1682,9 @@ function St({
1694
1682
  const { t: l } = O(), u = e.map((r) => ({
1695
1683
  value: r.id,
1696
1684
  label: r.label
1697
- })), p = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.specialty.heading") });
1685
+ })), m = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.specialty.heading") });
1698
1686
  return o === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1699
- p,
1687
+ m,
1700
1688
  /* @__PURE__ */ s(
1701
1689
  Ue,
1702
1690
  {
@@ -1709,7 +1697,7 @@ function St({
1709
1697
  }
1710
1698
  )
1711
1699
  ] }) : o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1712
- p,
1700
+ m,
1713
1701
  /* @__PURE__ */ s(
1714
1702
  Ge,
1715
1703
  {
@@ -1722,7 +1710,7 @@ function St({
1722
1710
  }
1723
1711
  )
1724
1712
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1725
- p,
1713
+ m,
1726
1714
  /* @__PURE__ */ s(
1727
1715
  Oe,
1728
1716
  {
@@ -1744,13 +1732,13 @@ function It({
1744
1732
  pickerStyle: o,
1745
1733
  compact: l
1746
1734
  }) {
1747
- const { t: u } = O(), p = o ?? (l ? "select" : "cards"), r = e.map((m) => ({
1748
- value: m.id,
1749
- label: `${m.label} · ${u("booking.serviceSummary", {
1750
- minutes: m.durationMin
1735
+ const { t: u } = O(), m = o ?? (l ? "select" : "cards"), r = e.map((p) => ({
1736
+ value: p.id,
1737
+ label: `${p.label} · ${u("booking.serviceSummary", {
1738
+ minutes: p.durationMin
1751
1739
  })}`
1752
1740
  })), c = /* @__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
- return p === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1741
+ return m === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1754
1742
  c,
1755
1743
  /* @__PURE__ */ s(
1756
1744
  Ue,
@@ -1763,27 +1751,27 @@ function It({
1763
1751
  allowClear: !0
1764
1752
  }
1765
1753
  )
1766
- ] }) : p === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1754
+ ] }) : m === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1767
1755
  c,
1768
1756
  /* @__PURE__ */ s(
1769
1757
  Ge,
1770
1758
  {
1771
1759
  options: r,
1772
1760
  value: t ?? "",
1773
- onValueChange: (m) => i(m === "" ? "" : m),
1761
+ onValueChange: (p) => i(p === "" ? "" : p),
1774
1762
  placeholder: u("booking.service.placeholder"),
1775
1763
  "aria-label": u("booking.service.heading"),
1776
1764
  clearable: !0
1777
1765
  }
1778
1766
  )
1779
- ] }) : p === "select" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1767
+ ] }) : m === "select" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1780
1768
  c,
1781
1769
  /* @__PURE__ */ s(
1782
1770
  Oe,
1783
1771
  {
1784
1772
  options: r,
1785
1773
  value: t ?? "",
1786
- onValueChange: (m) => i(m),
1774
+ onValueChange: (p) => i(p),
1787
1775
  placeholder: u("booking.service.placeholder"),
1788
1776
  "aria-label": u("booking.service.heading")
1789
1777
  }
@@ -1791,7 +1779,7 @@ function It({
1791
1779
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1792
1780
  c,
1793
1781
  /* @__PURE__ */ s(
1794
- Ja,
1782
+ Ya,
1795
1783
  {
1796
1784
  services: e,
1797
1785
  selectedServiceId: t,
@@ -1829,7 +1817,7 @@ function Nt({
1829
1817
  )
1830
1818
  ] });
1831
1819
  }
1832
- const p = [
1820
+ const m = [
1833
1821
  { value: X, label: l("booking.operator.all") },
1834
1822
  ...e.map((r) => ({ value: r.id, label: r.name }))
1835
1823
  ];
@@ -1838,7 +1826,7 @@ function Nt({
1838
1826
  /* @__PURE__ */ s(
1839
1827
  Ge,
1840
1828
  {
1841
- options: p,
1829
+ options: m,
1842
1830
  value: t ?? X,
1843
1831
  onValueChange: (r) => i(r === "" ? X : r),
1844
1832
  placeholder: l("booking.operator.placeholder"),
@@ -1851,7 +1839,7 @@ function Nt({
1851
1839
  /* @__PURE__ */ s(
1852
1840
  Oe,
1853
1841
  {
1854
- options: p,
1842
+ options: m,
1855
1843
  value: t ?? X,
1856
1844
  onValueChange: (r) => i(r),
1857
1845
  placeholder: l("booking.operator.placeholder"),
@@ -1888,7 +1876,7 @@ function Je({
1888
1876
  /* @__PURE__ */ s(z.Action, { children: /* @__PURE__ */ s(ie, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
1889
1877
  ] });
1890
1878
  }
1891
- function ts({
1879
+ function es({
1892
1880
  snapshot: e,
1893
1881
  operators: t,
1894
1882
  specialties: a,
@@ -1897,13 +1885,13 @@ function ts({
1897
1885
  mode: o,
1898
1886
  showModify: l,
1899
1887
  onReset: u,
1900
- onModify: p
1888
+ onModify: m
1901
1889
  }) {
1902
- const { t: r } = O(), m = (e.details.confirmationChannels ?? ["email"]).map(
1890
+ const { t: r } = O(), p = (e.details.confirmationChannels ?? ["email"]).map(
1903
1891
  (D) => r(`booking.confirmation.channel.${D}`)
1904
- ), k = o === "demo" ? r("booking.success.descriptionDemo") : m.length > 1 ? r("booking.success.descriptionMultiple", {
1905
- channels: m.join(" · ")
1906
- }) : r("booking.success.descriptionSingle", { channel: m[0] }), I = w(() => {
1892
+ ), k = o === "demo" ? r("booking.success.descriptionDemo") : p.length > 1 ? r("booking.success.descriptionMultiple", {
1893
+ channels: p.join(" · ")
1894
+ }) : r("booking.success.descriptionSingle", { channel: p[0] }), I = w(() => {
1907
1895
  if (e.date)
1908
1896
  try {
1909
1897
  return new Intl.DateTimeFormat(n, {
@@ -1947,7 +1935,7 @@ function ts({
1947
1935
  ] }) }),
1948
1936
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: [
1949
1937
  /* @__PURE__ */ s(ie, { intent: "secondary", size: "md", onClick: u, children: r("booking.success.bookAnother") }),
1950
- l ? /* @__PURE__ */ s(ie, { intent: "ghost", size: "md", onClick: p, children: r("booking.success.modifyBooking") }) : null
1938
+ l ? /* @__PURE__ */ s(ie, { intent: "ghost", size: "md", onClick: m, children: r("booking.success.modifyBooking") }) : null
1951
1939
  ] })
1952
1940
  ]
1953
1941
  }
@@ -1964,7 +1952,7 @@ function Ct({ customSlot: e }) {
1964
1952
  }
1965
1953
  );
1966
1954
  }
1967
- function as(e) {
1955
+ function ts(e) {
1968
1956
  const {
1969
1957
  cascade: t,
1970
1958
  inputs: a,
@@ -1973,10 +1961,10 @@ function as(e) {
1973
1961
  onSubmit: o,
1974
1962
  emptyServicesSlot: l,
1975
1963
  onboardingIncompleteSlot: u,
1976
- loadingDates: p,
1964
+ loadingDates: m,
1977
1965
  loadingSlots: r,
1978
1966
  onDateSelect: c,
1979
- onWindowChange: m,
1967
+ onWindowChange: p,
1980
1968
  datePickerStyle: k,
1981
1969
  specialtyPickerStyle: I,
1982
1970
  servicePickerStyle: v,
@@ -2000,7 +1988,7 @@ function as(e) {
2000
1988
  value: i.specialtyId,
2001
1989
  valueIds: i.specialtyIds,
2002
1990
  onChange: (d) => n(ut(i, d)),
2003
- onChangeIds: (d) => n(pt(i, d)),
1991
+ onChangeIds: (d) => n(mt(i, d)),
2004
1992
  pickerStyle: I
2005
1993
  }
2006
1994
  ) : null,
@@ -2010,7 +1998,7 @@ function as(e) {
2010
1998
  services: t.filtered.services,
2011
1999
  value: i.serviceId,
2012
2000
  valueIds: i.serviceIds,
2013
- onChange: (d) => n(mt(i, d)),
2001
+ onChange: (d) => n(pt(i, d)),
2014
2002
  onChangeIds: (d) => n(gt(i, d)),
2015
2003
  pickerStyle: v
2016
2004
  }
@@ -2041,8 +2029,8 @@ function as(e) {
2041
2029
  value: i,
2042
2030
  onChange: n,
2043
2031
  onDateSelect: c,
2044
- onWindowChange: m,
2045
- loadingDates: p,
2032
+ onWindowChange: p,
2033
+ loadingDates: m,
2046
2034
  loadingSlots: r,
2047
2035
  locale: D,
2048
2036
  datePickerStyle: k
@@ -2079,10 +2067,10 @@ function $(e, t, a = {}) {
2079
2067
  value: o,
2080
2068
  onChange: l,
2081
2069
  onSubmit: u,
2082
- emptyServicesSlot: p,
2070
+ emptyServicesSlot: m,
2083
2071
  onboardingIncompleteSlot: r,
2084
2072
  loadingDates: c,
2085
- loadingSlots: m,
2073
+ loadingSlots: p,
2086
2074
  onDateSelect: k,
2087
2075
  onWindowChange: I,
2088
2076
  datePickerStyle: v,
@@ -2092,7 +2080,7 @@ function $(e, t, a = {}) {
2092
2080
  submitting: y,
2093
2081
  locale: b,
2094
2082
  detailsProps: d,
2095
- policy: _
2083
+ policy: T
2096
2084
  } = t;
2097
2085
  switch (e) {
2098
2086
  case 1:
@@ -2111,18 +2099,18 @@ function $(e, t, a = {}) {
2111
2099
  value: o.specialtyId,
2112
2100
  valueIds: o.specialtyIds,
2113
2101
  onChange: (x) => l(ut(o, x)),
2114
- onChangeIds: (x) => l(pt(o, x)),
2102
+ onChangeIds: (x) => l(mt(o, x)),
2115
2103
  pickerStyle: N
2116
2104
  }
2117
2105
  );
2118
2106
  case 3:
2119
- return i.filtered.services.length === 0 ? /* @__PURE__ */ s(Ct, { customSlot: p }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ s(wt, { customSlot: r }) : /* @__PURE__ */ s(
2107
+ return i.filtered.services.length === 0 ? /* @__PURE__ */ s(Ct, { customSlot: m }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ s(wt, { customSlot: r }) : /* @__PURE__ */ s(
2120
2108
  It,
2121
2109
  {
2122
2110
  services: i.filtered.services,
2123
2111
  value: o.serviceId,
2124
2112
  valueIds: o.serviceIds,
2125
- onChange: (x) => l(mt(o, x)),
2113
+ onChange: (x) => l(pt(o, x)),
2126
2114
  onChangeIds: (x) => l(gt(o, x)),
2127
2115
  pickerStyle: M,
2128
2116
  compact: a.compactService
@@ -2155,7 +2143,7 @@ function $(e, t, a = {}) {
2155
2143
  onDateSelect: k,
2156
2144
  onWindowChange: I,
2157
2145
  loadingDates: c,
2158
- loadingSlots: m,
2146
+ loadingSlots: p,
2159
2147
  locale: b,
2160
2148
  datePickerStyle: v
2161
2149
  });
@@ -2164,7 +2152,7 @@ function $(e, t, a = {}) {
2164
2152
  inputs: n,
2165
2153
  value: o,
2166
2154
  onChange: l,
2167
- loadingSlots: m,
2155
+ loadingSlots: p,
2168
2156
  locale: b,
2169
2157
  datePickerStyle: v
2170
2158
  });
@@ -2177,7 +2165,7 @@ function $(e, t, a = {}) {
2177
2165
  onChange: (x) => l({ ...o, details: x }),
2178
2166
  onSubmit: u,
2179
2167
  submitting: y,
2180
- defaultPhoneCountry: _.country
2168
+ defaultPhoneCountry: T.country
2181
2169
  }
2182
2170
  ) : null;
2183
2171
  /* c8 ignore next 2 */
@@ -2200,11 +2188,11 @@ function Ze() {
2200
2188
  [e]
2201
2189
  );
2202
2190
  }
2203
- function ss(e) {
2191
+ function as(e) {
2204
2192
  const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, l = Ze(), u = w(
2205
2193
  () => o === "four-day-grid" ? t.visibleSteps.filter((c) => c !== 6) : t.visibleSteps,
2206
2194
  [t.visibleSteps, o]
2207
- ), p = w(
2195
+ ), m = w(
2208
2196
  () => u.map((c) => ({
2209
2197
  label: l[c],
2210
2198
  summary: Mt(c, a, t),
@@ -2217,10 +2205,10 @@ function ss(e) {
2217
2205
  $t,
2218
2206
  {
2219
2207
  activeStep: r,
2220
- steps: p,
2208
+ steps: m,
2221
2209
  onStepChange: (c) => {
2222
- const m = t.visibleSteps[c];
2223
- m && n(m);
2210
+ const p = t.visibleSteps[c];
2211
+ p && n(p);
2224
2212
  }
2225
2213
  }
2226
2214
  );
@@ -2275,34 +2263,34 @@ function Mt(e, t, a) {
2275
2263
  return;
2276
2264
  }
2277
2265
  }
2278
- function is(e) {
2266
+ function ss(e) {
2279
2267
  const { cascade: t, value: a, setActiveStep: i } = e, { t: n } = O(), o = Ze(), l = t.visibleSteps.filter(
2280
- (p) => p === 1 || p === 2 || p === 3 || p === 4
2268
+ (m) => m === 1 || m === 2 || m === 3 || m === 4
2281
2269
  ), u = l.some(
2282
- (p) => !ke(p, a)
2270
+ (m) => !ke(m, a)
2283
2271
  );
2284
2272
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2285
- u ? l.filter((p) => !ke(p, a)).slice(0, 1).map((p) => /* @__PURE__ */ s("div", { children: $(p, e, { compactService: !0 }) }, `csf-${p}`)) : /* @__PURE__ */ s(
2273
+ u ? l.filter((m) => !ke(m, a)).slice(0, 1).map((m) => /* @__PURE__ */ s("div", { children: $(m, e, { compactService: !0 }) }, `csf-${m}`)) : /* @__PURE__ */ s(
2286
2274
  "div",
2287
2275
  {
2288
2276
  role: "group",
2289
2277
  "aria-label": n("booking.regionLabel"),
2290
2278
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
2291
- children: l.map((p) => {
2292
- const r = Mt(p, a, t);
2279
+ children: l.map((m) => {
2280
+ const r = Mt(m, a, t);
2293
2281
  return r ? /* @__PURE__ */ f(
2294
2282
  ie,
2295
2283
  {
2296
2284
  intent: "tonal",
2297
2285
  size: "sm",
2298
- onClick: () => i(p),
2286
+ onClick: () => i(m),
2299
2287
  children: [
2300
- o[p],
2288
+ o[m],
2301
2289
  ": ",
2302
2290
  r
2303
2291
  ]
2304
2292
  },
2305
- `csc-${p}`
2293
+ `csc-${m}`
2306
2294
  ) : null;
2307
2295
  })
2308
2296
  }
@@ -2320,7 +2308,7 @@ function is(e) {
2320
2308
  t.gates.details ? /* @__PURE__ */ s("div", { children: $(7, e) }) : null
2321
2309
  ] });
2322
2310
  }
2323
- function ns(e) {
2311
+ function is(e) {
2324
2312
  const { cascade: t, datePickerStyle: a } = e, i = t.visibleSteps.filter(
2325
2313
  (o) => o === 1 || o === 2 || o === 3 || o === 4
2326
2314
  );
@@ -2341,16 +2329,16 @@ function ns(e) {
2341
2329
  t.gates.details ? $(7, e) : null
2342
2330
  ] });
2343
2331
  }
2344
- function os(e) {
2345
- const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: l } = O(), u = Ze(), p = w(
2332
+ function ns(e) {
2333
+ const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: l } = O(), u = Ze(), m = w(
2346
2334
  () => o === "four-day-grid" ? t.visibleSteps.filter((v) => v !== 6) : t.visibleSteps,
2347
2335
  [t.visibleSteps, o]
2348
- ), r = Math.max(0, p.indexOf(i)), c = p.length, m = w(
2349
- () => p.map((v) => ({ label: u[v] })),
2350
- [p, u]
2336
+ ), r = Math.max(0, m.indexOf(i)), c = m.length, p = w(
2337
+ () => m.map((v) => ({ label: u[v] })),
2338
+ [m, u]
2351
2339
  ), k = r > 0, I = r < c - 1 && ke(i, a);
2352
2340
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2353
- /* @__PURE__ */ s(zt, { activeStep: r, steps: m }),
2341
+ /* @__PURE__ */ s(zt, { activeStep: r, steps: p }),
2354
2342
  /* @__PURE__ */ s("div", { children: $(i, e, { compactService: !0 }) }),
2355
2343
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
2356
2344
  /* @__PURE__ */ s(
@@ -2360,7 +2348,7 @@ function os(e) {
2360
2348
  size: "md",
2361
2349
  disabled: !k,
2362
2350
  onClick: () => {
2363
- const v = p[r - 1];
2351
+ const v = m[r - 1];
2364
2352
  v && n(v);
2365
2353
  },
2366
2354
  children: l("booking.actions.back")
@@ -2373,7 +2361,7 @@ function os(e) {
2373
2361
  size: "md",
2374
2362
  disabled: !I,
2375
2363
  onClick: () => {
2376
- const v = p[r + 1];
2364
+ const v = m[r + 1];
2377
2365
  v && n(v);
2378
2366
  },
2379
2367
  children: l("booking.actions.next")
@@ -2382,7 +2370,7 @@ function os(e) {
2382
2370
  ] })
2383
2371
  ] });
2384
2372
  }
2385
- const rs = [], ds = [], ls = ot(
2373
+ const os = [], rs = [], ds = ot(
2386
2374
  ({
2387
2375
  variant: e = "inline-list",
2388
2376
  country: t,
@@ -2395,10 +2383,10 @@ const rs = [], ds = [], ls = ot(
2395
2383
  autoSelectSingleService: o = !1,
2396
2384
  specialties: l,
2397
2385
  services: u,
2398
- operators: p,
2386
+ operators: m,
2399
2387
  availableDates: r,
2400
2388
  availableSlots: c,
2401
- nextAvailableDate: m,
2389
+ nextAvailableDate: p,
2402
2390
  requireCodiceFiscale: k,
2403
2391
  requireDateOfBirth: I,
2404
2392
  requireInsuranceNumber: v,
@@ -2408,11 +2396,11 @@ const rs = [], ds = [], ls = ot(
2408
2396
  termsUrl: y,
2409
2397
  validateCodiceFiscale: b,
2410
2398
  validateInsuranceNumber: d,
2411
- confirmationChannels: _,
2399
+ confirmationChannels: T,
2412
2400
  defaultConfirmationChannels: x,
2413
2401
  value: g,
2414
2402
  onChange: S,
2415
- onSubmit: T,
2403
+ onSubmit: _,
2416
2404
  onStepChange: A,
2417
2405
  onDateSelect: G,
2418
2406
  onWindowChange: B,
@@ -2421,12 +2409,12 @@ const rs = [], ds = [], ls = ot(
2421
2409
  servicePickerStyle: P,
2422
2410
  operatorPickerStyle: Q,
2423
2411
  loadingDates: q,
2424
- loadingSlots: pe,
2412
+ loadingSlots: me,
2425
2413
  submitting: ee,
2426
2414
  submitError: xe,
2427
2415
  mode: Y = "live",
2428
2416
  showModifyOnSuccess: ne = !0,
2429
- surface: me = "flat",
2417
+ surface: pe = "flat",
2430
2418
  emptyServicesSlot: Se,
2431
2419
  onboardingIncompleteSlot: Ie,
2432
2420
  "aria-label": Ve,
@@ -2434,9 +2422,9 @@ const rs = [], ds = [], ls = ot(
2434
2422
  className: Le,
2435
2423
  ...Ne
2436
2424
  }, we) => {
2437
- const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ?? rs, de = p ?? ds;
2425
+ const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ?? os, de = m ?? rs;
2438
2426
  H(() => {
2439
- const R = Va(g, {
2427
+ const R = Ea(g, {
2440
2428
  useSpecialties: a,
2441
2429
  lockedOperatorId: n,
2442
2430
  autoSelectSingleService: o,
@@ -2451,8 +2439,8 @@ const rs = [], ds = [], ls = ot(
2451
2439
  J,
2452
2440
  u
2453
2441
  ]);
2454
- const L = w(
2455
- () => Ea({
2442
+ const V = w(
2443
+ () => Ba({
2456
2444
  country: t,
2457
2445
  useSpecialties: a,
2458
2446
  allowOperatorSelection: i,
@@ -2477,16 +2465,16 @@ const rs = [], ds = [], ls = ot(
2477
2465
  g
2478
2466
  ]
2479
2467
  ), [We, ge] = K(
2480
- L.currentStep
2481
- ), Xe = se(L.currentStep);
2468
+ V.currentStep
2469
+ ), Xe = se(V.currentStep);
2482
2470
  H(() => {
2483
- L.currentStep > Xe.current && ge(L.currentStep), Xe.current = L.currentStep;
2484
- }, [L.currentStep]);
2471
+ V.currentStep > Xe.current && ge(V.currentStep), Xe.current = V.currentStep;
2472
+ }, [V.currentStep]);
2485
2473
  const [fe, he] = K("idle"), [Re, Fe] = K(null), Qe = j(
2486
2474
  async (R) => {
2487
- if (!L.selectedSlot) return;
2475
+ if (!V.selectedSlot) return;
2488
2476
  const ze = {
2489
- slot: L.selectedSlot,
2477
+ slot: V.selectedSlot,
2490
2478
  value: {
2491
2479
  ...g,
2492
2480
  details: R,
@@ -2496,8 +2484,8 @@ const rs = [], ds = [], ls = ot(
2496
2484
  };
2497
2485
  he("submitting");
2498
2486
  try {
2499
- await T(ze), Fe({
2500
- slot: L.selectedSlot,
2487
+ await _(ze), Fe({
2488
+ slot: V.selectedSlot,
2501
2489
  details: R,
2502
2490
  specialtyId: g.specialtyId,
2503
2491
  serviceId: g.serviceId,
@@ -2509,10 +2497,10 @@ const rs = [], ds = [], ls = ot(
2509
2497
  throw he("error"), new Error("Booking submission failed");
2510
2498
  }
2511
2499
  },
2512
- [L.selectedSlot, T, g]
2500
+ [V.selectedSlot, _, g]
2513
2501
  ), ve = se(null);
2514
- Tt(we, () => ve.current, []);
2515
- const be = fe === "success" ? 8 : L.currentStep, et = se(null);
2502
+ _t(we, () => ve.current, []);
2503
+ const be = fe === "success" ? 8 : V.currentStep, et = se(null);
2516
2504
  H(() => {
2517
2505
  if (be !== et.current && (et.current = be, A == null || A(be), be === 8 && ve.current))
2518
2506
  try {
@@ -2536,9 +2524,9 @@ const rs = [], ds = [], ls = ot(
2536
2524
  }),
2537
2525
  [C, S]
2538
2526
  );
2539
- Ot(Da, $e, oe);
2527
+ Ot(Ma, $e, oe);
2540
2528
  const Dt = Ve ?? re("booking.regionLabel"), At = w(() => fe !== "success" || !Re ? null : /* @__PURE__ */ s(
2541
- ts,
2529
+ es,
2542
2530
  {
2543
2531
  snapshot: Re,
2544
2532
  operators: de,
@@ -2562,17 +2550,17 @@ const rs = [], ds = [], ls = ot(
2562
2550
  Y,
2563
2551
  ne,
2564
2552
  $e
2565
- ]), _t = w(() => {
2553
+ ]), Tt = w(() => {
2566
2554
  if (fe === "success") return null;
2567
- const R = C === "accordion" ? ss : C === "calendar" ? is : C === "flexible" ? ns : C === "progress" ? os : as, ze = {
2568
- cascade: L,
2555
+ const R = C === "accordion" ? as : C === "calendar" ? ss : C === "flexible" ? is : C === "progress" ? ns : ts, ze = {
2556
+ cascade: V,
2569
2557
  inputs: {
2570
2558
  specialties: J,
2571
2559
  services: u,
2572
2560
  operators: de,
2573
2561
  availableDates: r,
2574
2562
  availableSlots: c,
2575
- nextAvailableDate: m
2563
+ nextAvailableDate: p
2576
2564
  },
2577
2565
  value: g,
2578
2566
  onChange: S,
@@ -2589,14 +2577,14 @@ const rs = [], ds = [], ls = ot(
2589
2577
  termsUrl: y,
2590
2578
  validateCodiceFiscale: b,
2591
2579
  validateInsuranceNumber: d,
2592
- confirmationChannels: _,
2580
+ confirmationChannels: T,
2593
2581
  defaultConfirmationChannels: x,
2594
2582
  submitError: xe
2595
2583
  },
2596
2584
  emptyServicesSlot: Se,
2597
2585
  onboardingIncompleteSlot: Ie,
2598
2586
  loadingDates: q,
2599
- loadingSlots: pe,
2587
+ loadingSlots: me,
2600
2588
  onDateSelect: G,
2601
2589
  onWindowChange: B,
2602
2590
  datePickerStyle: E,
@@ -2612,13 +2600,13 @@ const rs = [], ds = [], ls = ot(
2612
2600
  }, [
2613
2601
  fe,
2614
2602
  C,
2615
- L,
2603
+ V,
2616
2604
  J,
2617
2605
  u,
2618
2606
  de,
2619
2607
  r,
2620
2608
  c,
2621
- m,
2609
+ p,
2622
2610
  g,
2623
2611
  S,
2624
2612
  Qe,
@@ -2634,12 +2622,12 @@ const rs = [], ds = [], ls = ot(
2634
2622
  y,
2635
2623
  b,
2636
2624
  d,
2637
- _,
2625
+ T,
2638
2626
  x,
2639
2627
  Se,
2640
2628
  Ie,
2641
2629
  q,
2642
- pe,
2630
+ me,
2643
2631
  G,
2644
2632
  B,
2645
2633
  E,
@@ -2660,9 +2648,9 @@ const rs = [], ds = [], ls = ot(
2660
2648
  "data-component": "booking",
2661
2649
  "data-component-id": oe,
2662
2650
  "data-variant": C,
2663
- className: za({
2651
+ className: $a({
2664
2652
  variant: C,
2665
- surface: me,
2653
+ surface: pe,
2666
2654
  className: Le
2667
2655
  }),
2668
2656
  ...Ne,
@@ -2684,17 +2672,17 @@ const rs = [], ds = [], ls = ot(
2684
2672
  ]
2685
2673
  }
2686
2674
  ),
2687
- At ?? _t
2675
+ At ?? Tt
2688
2676
  ]
2689
2677
  }
2690
2678
  );
2691
2679
  }
2692
2680
  );
2693
- ls.displayName = "Booking";
2681
+ ds.displayName = "Booking";
2694
2682
  export {
2695
- ls as B,
2683
+ ds as B,
2696
2684
  qe as C,
2697
2685
  X as O,
2698
- Da as b
2686
+ Ma as b
2699
2687
  };
2700
- //# sourceMappingURL=booking-DlDVuWMd.js.map
2688
+ //# sourceMappingURL=booking-WV2GSru5.js.map