@alfadocs/ui-kit-debug 1.90.1 → 1.91.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 (380) hide show
  1. package/dist/_chunks/address-autocomplete-DR4Xn23Z.js +519 -0
  2. package/dist/_chunks/address-autocomplete-DR4Xn23Z.js.map +1 -0
  3. package/dist/_chunks/{address-fields-CfnXK8RT.js → address-fields-qxQkGwPf.js} +5 -5
  4. package/dist/_chunks/{address-fields-CfnXK8RT.js.map → address-fields-qxQkGwPf.js.map} +1 -1
  5. package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
  6. package/dist/_chunks/{agenda-card-BDuvreCe.js.map → agenda-card-BhY342MA.js.map} +1 -1
  7. package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
  8. package/dist/_chunks/{agenda-tray-D-jvptdo.js.map → agenda-tray-BmxBGEci.js.map} +1 -1
  9. package/dist/_chunks/{ai-permission-notice-CoW22jx1.js → ai-permission-notice-VNh3W57L.js} +2 -2
  10. package/dist/_chunks/{ai-permission-notice-CoW22jx1.js.map → ai-permission-notice-VNh3W57L.js.map} +1 -1
  11. package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
  12. package/dist/_chunks/{alia-sidebar-CsTRAxC8.js.map → alia-sidebar-ovRX_oti.js.map} +1 -1
  13. package/dist/_chunks/{anamnesis-summary-rows-fbEQwcuW.js → anamnesis-summary-rows-EKPfVCmh.js} +2 -2
  14. package/dist/_chunks/{anamnesis-summary-rows-fbEQwcuW.js.map → anamnesis-summary-rows-EKPfVCmh.js.map} +1 -1
  15. package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
  16. package/dist/_chunks/{appointment-card-5JMWi9_f.js.map → appointment-card-Bstc1p7a.js.map} +1 -1
  17. package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
  18. package/dist/_chunks/{appointment-peek-39BwVMUf.js.map → appointment-peek-C0kKqnFk.js.map} +1 -1
  19. package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
  20. package/dist/_chunks/{appointment-timeline-1-Za2miy.js.map → appointment-timeline-rbt9AwHO.js.map} +1 -1
  21. package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
  22. package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js.map → appointment-tray-6zd8RLIL.js.map} +1 -1
  23. package/dist/_chunks/autocomplete-BXMcNoa3.js +562 -0
  24. package/dist/_chunks/autocomplete-BXMcNoa3.js.map +1 -0
  25. package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
  26. package/dist/_chunks/avatar-a6042Ox2.js.map +1 -0
  27. package/dist/_chunks/{balance-badge-cell-C4FYwmrZ.js → balance-badge-cell-BtJvre1-.js} +3 -3
  28. package/dist/_chunks/{balance-badge-cell-C4FYwmrZ.js.map → balance-badge-cell-BtJvre1-.js.map} +1 -1
  29. package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
  30. package/dist/_chunks/booking-opt_h7Uc.js.map +1 -0
  31. package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
  32. package/dist/_chunks/{calendar-ClB-jWH1.js.map → calendar-CmiMS4FJ.js.map} +1 -1
  33. package/dist/_chunks/{calendar-appointment-editor-dialog-C1v2MNE4.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +11 -11
  34. package/dist/_chunks/{calendar-appointment-editor-dialog-C1v2MNE4.js.map → calendar-appointment-editor-dialog-sJKLoVJ2.js.map} +1 -1
  35. package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
  36. package/dist/_chunks/{care-plan-card-BYCPNDvA.js.map → care-plan-card-DD9rEWYN.js.map} +1 -1
  37. package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
  38. package/dist/_chunks/{care-plan-header-BzsAg6oY.js.map → care-plan-header-CXUJQt8Q.js.map} +1 -1
  39. package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
  40. package/dist/_chunks/{chat-message-CmFJdEre.js.map → chat-message-LRO_6Ee3.js.map} +1 -1
  41. package/dist/_chunks/{checkbox-BjDv-r3o.js → checkbox-a7Sh-dXb.js} +32 -31
  42. package/dist/_chunks/checkbox-a7Sh-dXb.js.map +1 -0
  43. package/dist/_chunks/{checkbox-group-Cw2H5qaq.js → checkbox-group-eGdv9fZc.js} +2 -2
  44. package/dist/_chunks/{checkbox-group-Cw2H5qaq.js.map → checkbox-group-eGdv9fZc.js.map} +1 -1
  45. package/dist/_chunks/{city-input-CJVGswxp.js → city-input-CA59CjnV.js} +2 -2
  46. package/dist/_chunks/{city-input-CJVGswxp.js.map → city-input-CA59CjnV.js.map} +1 -1
  47. package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
  48. package/dist/_chunks/{clinical-note-card-Caidqcwa.js.map → clinical-note-card-Cut2lNmu.js.map} +1 -1
  49. package/dist/_chunks/{combobox-CDPm_n0p.js → combobox-D-gpgEDy.js} +314 -294
  50. package/dist/_chunks/combobox-D-gpgEDy.js.map +1 -0
  51. package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
  52. package/dist/_chunks/{contact-card-Czu60UvU.js.map → contact-card-ClvEDM9e.js.map} +1 -1
  53. package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
  54. package/dist/_chunks/contact-profile-card-CX45mZA3.js.map +1 -0
  55. package/dist/_chunks/{country-select-DQ8q7ypA.js → country-select-BfmX9y5i.js} +2 -2
  56. package/dist/_chunks/{country-select-DQ8q7ypA.js.map → country-select-BfmX9y5i.js.map} +1 -1
  57. package/dist/_chunks/{data-table-B_IcS0Ke.js → data-table-CqQgoNsU.js} +2 -2
  58. package/dist/_chunks/{data-table-B_IcS0Ke.js.map → data-table-CqQgoNsU.js.map} +1 -1
  59. package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
  60. package/dist/_chunks/{dependent-selector-C4kOgO8b.js.map → dependent-selector-CyNi7M_f.js.map} +1 -1
  61. package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
  62. package/dist/_chunks/{entity-summary-BLxzSSXK.js.map → entity-summary-B_bOloqP.js.map} +1 -1
  63. package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
  64. package/dist/_chunks/error-page-B0fGNTRB.js.map +1 -0
  65. package/dist/_chunks/{face-scheme-BgJGFDTa.js → face-scheme-BKSE98bo.js} +2 -2
  66. package/dist/_chunks/{face-scheme-BgJGFDTa.js.map → face-scheme-BKSE98bo.js.map} +1 -1
  67. package/dist/_chunks/{file-manager-C9YOT-Dn.js → file-manager-BnI1ZWZu.js} +2 -2
  68. package/dist/_chunks/{file-manager-C9YOT-Dn.js.map → file-manager-BnI1ZWZu.js.map} +1 -1
  69. package/dist/_chunks/{header-settings-BVhjndtV.js → header-settings-BeA2fnol.js} +24 -23
  70. package/dist/_chunks/header-settings-BeA2fnol.js.map +1 -0
  71. package/dist/_chunks/{heatmap-HTz3Jvzy.js → heatmap-fCxwNz2o.js} +2 -2
  72. package/dist/_chunks/{heatmap-HTz3Jvzy.js.map → heatmap-fCxwNz2o.js.map} +1 -1
  73. package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
  74. package/dist/_chunks/languages-CGLX6Qpe.js.map +1 -0
  75. package/dist/_chunks/link-DtCfnLnF.js +332 -0
  76. package/dist/_chunks/link-DtCfnLnF.js.map +1 -0
  77. package/dist/_chunks/{link-cell-renderer-C0ynDik7.js → link-cell-renderer-BS3V4LA6.js} +4 -4
  78. package/dist/_chunks/{link-cell-renderer-C0ynDik7.js.map → link-cell-renderer-BS3V4LA6.js.map} +1 -1
  79. package/dist/_chunks/{login-dev-card-DYwbL5sD.js → login-dev-card-BZBR58mu.js} +2 -2
  80. package/dist/_chunks/{login-dev-card-DYwbL5sD.js.map → login-dev-card-BZBR58mu.js.map} +1 -1
  81. package/dist/_chunks/{map-view-Bvi06RVh.js → map-view-UrNgxBy3.js} +260 -237
  82. package/dist/_chunks/map-view-UrNgxBy3.js.map +1 -0
  83. package/dist/_chunks/{index.modern-BeRXQVdc.js → maps-core-gate-DkNqGkm3.js} +360 -319
  84. package/dist/_chunks/maps-core-gate-DkNqGkm3.js.map +1 -0
  85. package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js → marketplace-app-shell-CJQtx3sv.js} +3 -3
  86. package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js.map → marketplace-app-shell-CJQtx3sv.js.map} +1 -1
  87. package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
  88. package/dist/_chunks/{message-card-CvCnCssc.js.map → message-card-B6SduXJv.js.map} +1 -1
  89. package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
  90. package/dist/_chunks/{message-tray-IJYvy6Cf.js.map → message-tray-Cllf-v0G.js.map} +1 -1
  91. package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
  92. package/dist/_chunks/{nav-grid-Oc4aCPrg.js.map → nav-grid-D2xVcHTO.js.map} +1 -1
  93. package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
  94. package/dist/_chunks/{note-attachment-DIlIQ7JF.js.map → note-attachment-cnj2JRrg.js.map} +1 -1
  95. package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
  96. package/dist/_chunks/{note-timeline-KzL52MmB.js.map → note-timeline-BrjHBQfx.js.map} +1 -1
  97. package/dist/_chunks/{notes-panel-CZO1qsD-.js → notes-panel-ib7I3aNf.js} +3 -3
  98. package/dist/_chunks/{notes-panel-CZO1qsD-.js.map → notes-panel-ib7I3aNf.js.map} +1 -1
  99. package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
  100. package/dist/_chunks/operator-hero-C_5B-8Qp.js.map +1 -0
  101. package/dist/_chunks/{patient-details-D0P5eog5.js → patient-details-BjcUpD9S.js} +3 -3
  102. package/dist/_chunks/{patient-details-D0P5eog5.js.map → patient-details-BjcUpD9S.js.map} +1 -1
  103. package/dist/_chunks/{patient-field-row-R73dZJY6.js → patient-field-row-B0tdiaWi.js} +6 -6
  104. package/dist/_chunks/{patient-field-row-R73dZJY6.js.map → patient-field-row-B0tdiaWi.js.map} +1 -1
  105. package/dist/_chunks/patient-search-Ca9j5cWb.js +1306 -0
  106. package/dist/_chunks/patient-search-Ca9j5cWb.js.map +1 -0
  107. package/dist/_chunks/{patient-summary-card-6U74-ivO.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
  108. package/dist/_chunks/{patient-summary-card-6U74-ivO.js.map → patient-summary-card-Cvv6_Ugk.js.map} +1 -1
  109. package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
  110. package/dist/_chunks/{payment-request-card-MndSlVoK.js.map → payment-request-card-BfGauFY0.js.map} +1 -1
  111. package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js → periodontal-diagnosis-DD3hrg9X.js} +2 -2
  112. package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js.map → periodontal-diagnosis-DD3hrg9X.js.map} +1 -1
  113. package/dist/_chunks/{permission-matrix-BoQjENGV.js → permission-matrix-BJ6sg3Zp.js} +3 -3
  114. package/dist/_chunks/{permission-matrix-BoQjENGV.js.map → permission-matrix-BJ6sg3Zp.js.map} +1 -1
  115. package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
  116. package/dist/_chunks/practice-profile-hero-ClzE-4CB.js.map +1 -0
  117. package/dist/_chunks/{practice-results-B61krlwu.js → practice-results-CQ_KvEXK.js} +517 -514
  118. package/dist/_chunks/practice-results-CQ_KvEXK.js.map +1 -0
  119. package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
  120. package/dist/_chunks/{product-hub-panel-Blag8t8f.js.map → product-hub-panel-bHi7lkVD.js.map} +1 -1
  121. package/dist/_chunks/{province-select-CPdTwEob.js → province-select-D64whw0m.js} +2 -2
  122. package/dist/_chunks/{province-select-CPdTwEob.js.map → province-select-D64whw0m.js.map} +1 -1
  123. package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
  124. package/dist/_chunks/public-footer-IoRWoAMz.js.map +1 -0
  125. package/dist/_chunks/{registration-form-DmP3YUfp.js → registration-form-CRm6DaB9.js} +2 -2
  126. package/dist/_chunks/{registration-form-DmP3YUfp.js.map → registration-form-CRm6DaB9.js.map} +1 -1
  127. package/dist/_chunks/{reviews-panel-UzQQLb-z.js → reviews-panel-B7InBORU.js} +42 -41
  128. package/dist/_chunks/reviews-panel-B7InBORU.js.map +1 -0
  129. package/dist/_chunks/{rich-text-editor-BZTyxQBd.js → rich-text-editor-BfEu57dk.js} +3 -3
  130. package/dist/_chunks/{rich-text-editor-BZTyxQBd.js.map → rich-text-editor-BfEu57dk.js.map} +1 -1
  131. package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
  132. package/dist/_chunks/{signature-request-DjY-X62H.js.map → signature-request-DvhyrRpn.js.map} +1 -1
  133. package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
  134. package/dist/_chunks/{signed-out-frame-G-3ATOdu.js.map → signed-out-frame-CgRXOUzi.js.map} +1 -1
  135. package/dist/_chunks/{slot-grid-Bb13H9Rl.js → slot-grid-B-IAFX3C.js} +183 -170
  136. package/dist/_chunks/slot-grid-B-IAFX3C.js.map +1 -0
  137. package/dist/_chunks/{task-editor-BOETWbjU.js → task-editor-CI1SKUNc.js} +2 -2
  138. package/dist/_chunks/{task-editor-BOETWbjU.js.map → task-editor-CI1SKUNc.js.map} +1 -1
  139. package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
  140. package/dist/_chunks/{timeline-wUuTDFY_.js.map → timeline-BcYHdP56.js.map} +1 -1
  141. package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
  142. package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js.map → use-appointment-details-read-D8vDg0sg.js.map} +1 -1
  143. package/dist/_chunks/{voice-control-panel-BziKE-KK.js → voice-control-panel-BP0otrID.js} +2 -2
  144. package/dist/_chunks/{voice-control-panel-BziKE-KK.js.map → voice-control-panel-BP0otrID.js.map} +1 -1
  145. package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js → workflow-webhook-action-B_nBJ_ht.js} +2 -2
  146. package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js.map → workflow-webhook-action-B_nBJ_ht.js.map} +1 -1
  147. package/dist/agent-catalog.json +3 -3
  148. package/dist/agent-i18n/en.json +1 -1
  149. package/dist/components/_shared/maps-core-gate.d.ts +18 -0
  150. package/dist/components/_shared/maps-core-gate.d.ts.map +1 -0
  151. package/dist/components/_shared/social-brand-icons.d.ts +29 -0
  152. package/dist/components/_shared/social-brand-icons.d.ts.map +1 -0
  153. package/dist/components/address-autocomplete/address-autocomplete.d.ts.map +1 -1
  154. package/dist/components/address-autocomplete/index.js +1 -1
  155. package/dist/components/address-fields/index.js +1 -1
  156. package/dist/components/agenda-card/index.js +1 -1
  157. package/dist/components/agenda-tray/index.js +1 -1
  158. package/dist/components/ai-permission-notice/index.js +1 -1
  159. package/dist/components/appointment-card/index.js +2 -2
  160. package/dist/components/appointment-details-panel/index.js +1 -1
  161. package/dist/components/appointment-peek/index.js +1 -1
  162. package/dist/components/appointment-timeline/index.js +1 -1
  163. package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -1
  164. package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
  165. package/dist/components/autocomplete/index.js +1 -1
  166. package/dist/components/avatar/avatar.d.ts +14 -0
  167. package/dist/components/avatar/avatar.d.ts.map +1 -1
  168. package/dist/components/avatar/index.js +1 -1
  169. package/dist/components/booking/booking-types.d.ts +26 -0
  170. package/dist/components/booking/booking-types.d.ts.map +1 -1
  171. package/dist/components/booking/booking.d.ts.map +1 -1
  172. package/dist/components/booking/details-form.d.ts.map +1 -1
  173. package/dist/components/booking/index.js +1 -1
  174. package/dist/components/booking/slot-load-state.d.ts +11 -0
  175. package/dist/components/booking/slot-load-state.d.ts.map +1 -0
  176. package/dist/components/calendar/index.js +1 -1
  177. package/dist/components/care-plan-card/index.js +1 -1
  178. package/dist/components/care-plan-header/index.js +1 -1
  179. package/dist/components/chat-message/index.js +1 -1
  180. package/dist/components/checkbox/checkbox.d.ts.map +1 -1
  181. package/dist/components/checkbox/index.js +1 -1
  182. package/dist/components/checkbox-group/index.js +1 -1
  183. package/dist/components/city-input/index.js +1 -1
  184. package/dist/components/clinical-note-card/index.js +1 -1
  185. package/dist/components/combobox/combobox.d.ts.map +1 -1
  186. package/dist/components/combobox/index.js +1 -1
  187. package/dist/components/contact-card/index.js +1 -1
  188. package/dist/components/contact-profile-card/index.js +1 -1
  189. package/dist/components/country-select/index.js +1 -1
  190. package/dist/components/data-table/index.js +2 -2
  191. package/dist/components/dependent-selector/index.js +1 -1
  192. package/dist/components/entity-summary/index.js +1 -1
  193. package/dist/components/face-scheme/index.js +1 -1
  194. package/dist/components/file-manager/index.js +1 -1
  195. package/dist/components/header-settings/header-settings.d.ts +2 -1
  196. package/dist/components/header-settings/header-settings.d.ts.map +1 -1
  197. package/dist/components/header-settings/index.js +1 -1
  198. package/dist/components/heatmap/index.js +1 -1
  199. package/dist/components/link/index.js +1 -1
  200. package/dist/components/link/link.d.ts +10 -1
  201. package/dist/components/link/link.d.ts.map +1 -1
  202. package/dist/components/link/social-url.d.ts +71 -0
  203. package/dist/components/link/social-url.d.ts.map +1 -0
  204. package/dist/components/map-view/index.js +1 -1
  205. package/dist/components/map-view/map-view.d.ts.map +1 -1
  206. package/dist/components/message-card/index.js +1 -1
  207. package/dist/components/message-tray/index.js +1 -1
  208. package/dist/components/nav-grid/index.js +1 -1
  209. package/dist/components/note-timeline/index.js +1 -1
  210. package/dist/components/notes-panel/index.js +1 -1
  211. package/dist/components/operator-hero/index.js +1 -1
  212. package/dist/components/operator-hero/operator-hero.d.ts +6 -0
  213. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  214. package/dist/components/patient-details/index.js +1 -1
  215. package/dist/components/patient-search/index.js +1 -1
  216. package/dist/components/patient-search/patient-search.d.ts.map +1 -1
  217. package/dist/components/patient-summary-card/index.js +1 -1
  218. package/dist/components/patient-table/index.js +1 -1
  219. package/dist/components/payment-card/index.js +1 -1
  220. package/dist/components/periodontal-diagnosis/index.js +1 -1
  221. package/dist/components/permission-matrix/index.js +1 -1
  222. package/dist/components/practice-profile-hero/index.js +1 -1
  223. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
  224. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
  225. package/dist/components/practice-results/index.js +1 -1
  226. package/dist/components/practice-results/practice-results.d.ts +8 -2
  227. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  228. package/dist/components/product-hub-tray/index.js +1 -1
  229. package/dist/components/province-select/index.js +1 -1
  230. package/dist/components/public-footer/index.js +1 -1
  231. package/dist/components/public-footer/public-footer.d.ts +13 -1
  232. package/dist/components/public-footer/public-footer.d.ts.map +1 -1
  233. package/dist/components/public-footer/socials.d.ts +6 -5
  234. package/dist/components/public-footer/socials.d.ts.map +1 -1
  235. package/dist/components/reviews-panel/index.js +1 -1
  236. package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
  237. package/dist/components/rich-text-editor/index.js +1 -1
  238. package/dist/components/slot-grid/index.js +1 -1
  239. package/dist/components/slot-grid/slot-grid.d.ts +2 -0
  240. package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
  241. package/dist/components/task-editor/index.js +1 -1
  242. package/dist/components/timeline/index.js +1 -1
  243. package/dist/components/voice-control-panel/index.js +1 -1
  244. package/dist/host-compat.css +1 -10
  245. package/dist/i18n/config.d.ts.map +1 -1
  246. package/dist/i18n/config.js +224 -96
  247. package/dist/i18n/config.js.map +1 -1
  248. package/dist/i18n/locales/ar.d.ts +3 -0
  249. package/dist/i18n/locales/ar.d.ts.map +1 -1
  250. package/dist/i18n/locales/ar.js +4 -1
  251. package/dist/i18n/locales/ar.js.map +1 -1
  252. package/dist/i18n/locales/de.d.ts +3 -0
  253. package/dist/i18n/locales/de.d.ts.map +1 -1
  254. package/dist/i18n/locales/de.js +4 -1
  255. package/dist/i18n/locales/de.js.map +1 -1
  256. package/dist/i18n/locales/el.d.ts +3 -0
  257. package/dist/i18n/locales/el.d.ts.map +1 -1
  258. package/dist/i18n/locales/el.js +4 -1
  259. package/dist/i18n/locales/el.js.map +1 -1
  260. package/dist/i18n/locales/en.d.ts +3 -0
  261. package/dist/i18n/locales/en.d.ts.map +1 -1
  262. package/dist/i18n/locales/en.js +3 -0
  263. package/dist/i18n/locales/en.js.map +1 -1
  264. package/dist/i18n/locales/es.d.ts +3 -0
  265. package/dist/i18n/locales/es.d.ts.map +1 -1
  266. package/dist/i18n/locales/es.js +4 -1
  267. package/dist/i18n/locales/es.js.map +1 -1
  268. package/dist/i18n/locales/fr.d.ts +3 -0
  269. package/dist/i18n/locales/fr.d.ts.map +1 -1
  270. package/dist/i18n/locales/fr.js +4 -1
  271. package/dist/i18n/locales/fr.js.map +1 -1
  272. package/dist/i18n/locales/hi.d.ts +3 -0
  273. package/dist/i18n/locales/hi.d.ts.map +1 -1
  274. package/dist/i18n/locales/hi.js +4 -1
  275. package/dist/i18n/locales/hi.js.map +1 -1
  276. package/dist/i18n/locales/it.d.ts +3 -0
  277. package/dist/i18n/locales/it.d.ts.map +1 -1
  278. package/dist/i18n/locales/it.js +4 -1
  279. package/dist/i18n/locales/it.js.map +1 -1
  280. package/dist/i18n/locales/ja.d.ts +3 -0
  281. package/dist/i18n/locales/ja.d.ts.map +1 -1
  282. package/dist/i18n/locales/ja.js +4 -1
  283. package/dist/i18n/locales/ja.js.map +1 -1
  284. package/dist/i18n/locales/nl.d.ts +3 -0
  285. package/dist/i18n/locales/nl.d.ts.map +1 -1
  286. package/dist/i18n/locales/nl.js +4 -1
  287. package/dist/i18n/locales/nl.js.map +1 -1
  288. package/dist/i18n/locales/pl.d.ts +3 -0
  289. package/dist/i18n/locales/pl.d.ts.map +1 -1
  290. package/dist/i18n/locales/pl.js +4 -1
  291. package/dist/i18n/locales/pl.js.map +1 -1
  292. package/dist/i18n/locales/pt.d.ts +3 -0
  293. package/dist/i18n/locales/pt.d.ts.map +1 -1
  294. package/dist/i18n/locales/pt.js +4 -1
  295. package/dist/i18n/locales/pt.js.map +1 -1
  296. package/dist/i18n/locales/ro.d.ts +3 -0
  297. package/dist/i18n/locales/ro.d.ts.map +1 -1
  298. package/dist/i18n/locales/ro.js +4 -1
  299. package/dist/i18n/locales/ro.js.map +1 -1
  300. package/dist/i18n/locales/ru.d.ts +3 -0
  301. package/dist/i18n/locales/ru.d.ts.map +1 -1
  302. package/dist/i18n/locales/ru.js +4 -1
  303. package/dist/i18n/locales/ru.js.map +1 -1
  304. package/dist/i18n/locales/sq.d.ts +3 -0
  305. package/dist/i18n/locales/sq.d.ts.map +1 -1
  306. package/dist/i18n/locales/sq.js +4 -1
  307. package/dist/i18n/locales/sq.js.map +1 -1
  308. package/dist/i18n/locales/sv.d.ts +3 -0
  309. package/dist/i18n/locales/sv.d.ts.map +1 -1
  310. package/dist/i18n/locales/sv.js +4 -1
  311. package/dist/i18n/locales/sv.js.map +1 -1
  312. package/dist/i18n/locales/tr.d.ts +3 -0
  313. package/dist/i18n/locales/tr.d.ts.map +1 -1
  314. package/dist/i18n/locales/tr.js +4 -1
  315. package/dist/i18n/locales/tr.js.map +1 -1
  316. package/dist/i18n/locales/zh.d.ts +3 -0
  317. package/dist/i18n/locales/zh.d.ts.map +1 -1
  318. package/dist/i18n/locales/zh.js +4 -1
  319. package/dist/i18n/locales/zh.js.map +1 -1
  320. package/dist/index.js +68 -68
  321. package/dist/locales/ar.json +4 -1
  322. package/dist/locales/de.json +4 -1
  323. package/dist/locales/el.json +4 -1
  324. package/dist/locales/en.json +3 -0
  325. package/dist/locales/es.json +4 -1
  326. package/dist/locales/fr.json +4 -1
  327. package/dist/locales/hi.json +4 -1
  328. package/dist/locales/it.json +4 -1
  329. package/dist/locales/ja.json +4 -1
  330. package/dist/locales/nl.json +4 -1
  331. package/dist/locales/pl.json +4 -1
  332. package/dist/locales/pt.json +4 -1
  333. package/dist/locales/ro.json +4 -1
  334. package/dist/locales/ru.json +4 -1
  335. package/dist/locales/sq.json +4 -1
  336. package/dist/locales/sv.json +4 -1
  337. package/dist/locales/tr.json +4 -1
  338. package/dist/locales/zh.json +4 -1
  339. package/dist/patterns/alia-assistant/index.js +1 -1
  340. package/dist/patterns/anamnesis/index.js +1 -1
  341. package/dist/patterns/calendar/index.js +1 -1
  342. package/dist/patterns/error-page/error-page-english.d.ts +71 -0
  343. package/dist/patterns/error-page/error-page-english.d.ts.map +1 -0
  344. package/dist/patterns/error-page/error-page.d.ts.map +1 -1
  345. package/dist/patterns/error-page/index.js +1 -1
  346. package/dist/patterns/login-form/index.js +1 -1
  347. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  348. package/dist/patterns/registration-form/index.js +1 -1
  349. package/dist/patterns/signature-request/index.js +1 -1
  350. package/dist/patterns/signed-out-frame/index.js +1 -1
  351. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  352. package/dist/tokens.css +1 -1
  353. package/package.json +1 -1
  354. package/dist/_chunks/address-autocomplete-bPR2mNBt.js +0 -498
  355. package/dist/_chunks/address-autocomplete-bPR2mNBt.js.map +0 -1
  356. package/dist/_chunks/autocomplete-CnB1mHGc.js +0 -539
  357. package/dist/_chunks/autocomplete-CnB1mHGc.js.map +0 -1
  358. package/dist/_chunks/avatar-BPiPL7ND.js.map +0 -1
  359. package/dist/_chunks/booking-C0FoW8Yx.js +0 -4336
  360. package/dist/_chunks/booking-C0FoW8Yx.js.map +0 -1
  361. package/dist/_chunks/checkbox-BjDv-r3o.js.map +0 -1
  362. package/dist/_chunks/combobox-CDPm_n0p.js.map +0 -1
  363. package/dist/_chunks/contact-profile-card-Da1vmJQI.js.map +0 -1
  364. package/dist/_chunks/error-page-Bhai-spN.js +0 -344
  365. package/dist/_chunks/error-page-Bhai-spN.js.map +0 -1
  366. package/dist/_chunks/header-settings-BVhjndtV.js.map +0 -1
  367. package/dist/_chunks/index.modern-BeRXQVdc.js.map +0 -1
  368. package/dist/_chunks/languages-CZqBaPwI.js.map +0 -1
  369. package/dist/_chunks/link-N5_YpLtm.js +0 -138
  370. package/dist/_chunks/link-N5_YpLtm.js.map +0 -1
  371. package/dist/_chunks/map-view-Bvi06RVh.js.map +0 -1
  372. package/dist/_chunks/operator-hero-6aAIQaFZ.js.map +0 -1
  373. package/dist/_chunks/patient-search-CCOUZABE.js +0 -1196
  374. package/dist/_chunks/patient-search-CCOUZABE.js.map +0 -1
  375. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js.map +0 -1
  376. package/dist/_chunks/practice-results-B61krlwu.js.map +0 -1
  377. package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
  378. package/dist/_chunks/public-footer-CXOrdAaS.js.map +0 -1
  379. package/dist/_chunks/reviews-panel-UzQQLb-z.js.map +0 -1
  380. package/dist/_chunks/slot-grid-Bb13H9Rl.js.map +0 -1
@@ -1,37 +1,37 @@
1
- import { jsx as t, jsxs as f, Fragment as rt } from "react/jsx-runtime";
2
- import { forwardRef as ot, useState as pe, useRef as T, useMemo as M, useImperativeHandle as lt, useCallback as $, useEffect as X } from "react";
3
- import { c as D } from "./index-D2ZczOXr.js";
4
- import { useTranslation as w } from "react-i18next";
5
- import { A as ee } from "./alert-9kEwDza3.js";
6
- import { A as Le } from "./avatar-BPiPL7ND.js";
7
- import { B as te } from "./button-DohK_Ak_.js";
8
- import { D as V } from "./dropdown-menu-D1we7oAY.js";
9
- import { E as ct } from "./empty-state-DwJ5YNzz.js";
10
- import { M as dt } from "./map-view-Bvi06RVh.js";
11
- import { R as Pe } from "./rating-CGYpg5dj.js";
1
+ import { jsx as t, jsxs as h, Fragment as at } from "react/jsx-runtime";
2
+ import { forwardRef as it, useState as me, useRef as T, useMemo as M, useImperativeHandle as st, useCallback as O, useEffect as J } from "react";
3
+ import { c as V } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as C } from "react-i18next";
5
+ import { A as Y } from "./alert-9kEwDza3.js";
6
+ import { A as Se } from "./avatar-a6042Ox2.js";
7
+ import { B as ee } from "./button-DohK_Ak_.js";
8
+ import { D } from "./dropdown-menu-D1we7oAY.js";
9
+ import { E as rt } from "./empty-state-DwJ5YNzz.js";
10
+ import { M as ot } from "./map-view-UrNgxBy3.js";
11
+ import { R as Le } from "./rating-CGYpg5dj.js";
12
12
  import { S as I } from "./sheet-uZZXaO_S.js";
13
- import { S as ut } from "./skeleton-tTWJpvAq.js";
14
- import { S as mt } from "./spinner-CoflYlEx.js";
15
- import { B as O } from "./badge-BUk4RjTS.js";
16
- import { u as ft } from "./use-media-query-CcAx5SMM.js";
17
- import { b as pt, a as Re } from "./format-price-BcFBa-WP.js";
18
- import { u as ht } from "./registry-DvAUVLHh.js";
19
- import { c as gt } from "./createLucideIcon-DhHxpK9K.js";
20
- import { R as vt } from "./refresh-cw-DnI0cLFC.js";
21
- import { C as Ae } from "./chevron-down-DWE7GSq9.js";
22
- import { M as ae } from "./map-pin-BaY37-Km.js";
23
- import { L as Me, B as bt } from "./languages-CZqBaPwI.js";
24
- import { S as Te } from "./shield-check-DCJALLVh.js";
25
- import { H as Ie } from "./heart--qCA4ffe.js";
26
- import { C as xt } from "./calendar-clock-hbObjfGY.js";
27
- import { C as yt } from "./calendar-plus-BFrIRE4r.js";
13
+ import { S as lt } from "./skeleton-tTWJpvAq.js";
14
+ import { S as ct } from "./spinner-CoflYlEx.js";
15
+ import { B as $ } from "./badge-BUk4RjTS.js";
16
+ import { u as dt } from "./use-media-query-CcAx5SMM.js";
17
+ import { b as ut, a as Ce } from "./format-price-BcFBa-WP.js";
18
+ import { u as mt } from "./registry-DvAUVLHh.js";
19
+ import { c as pt } from "./createLucideIcon-DhHxpK9K.js";
20
+ import { R as ft } from "./refresh-cw-DnI0cLFC.js";
21
+ import { C as Pe } from "./chevron-down-DWE7GSq9.js";
22
+ import { L as Ae } from "./languages-CGLX6Qpe.js";
23
+ import { S as Me } from "./shield-check-DCJALLVh.js";
24
+ import { H as Te } from "./heart--qCA4ffe.js";
25
+ import { M as pe } from "./map-pin-BaY37-Km.js";
26
+ import { C as ht } from "./calendar-clock-hbObjfGY.js";
27
+ import { C as gt } from "./calendar-plus-BFrIRE4r.js";
28
28
  /**
29
29
  * @license lucide-react v1.22.0 - ISC
30
30
  *
31
31
  * This source code is licensed under the ISC license.
32
32
  * See the LICENSE file in the root directory of this source tree.
33
33
  */
34
- const kt = [
34
+ const vt = [
35
35
  [
36
36
  "path",
37
37
  {
@@ -41,7 +41,7 @@ const kt = [
41
41
  ],
42
42
  ["path", { d: "M15 5.764v15", key: "1pn4in" }],
43
43
  ["path", { d: "M9 3.236v15", key: "1uimfh" }]
44
- ], Ct = gt("map", kt), wt = {
44
+ ], bt = pt("map", vt), xt = {
45
45
  id: "practice-results",
46
46
  // `scroll` backs scroll_to_result; `pick` backs focus_pin (a non-persisting
47
47
  // pin highlight). The active variant is consumer-owned via props, so there is
@@ -120,17 +120,17 @@ const kt = [
120
120
  description: 'Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result. The non-focusable card group is labelled by the practice-result-{id}-name heading, which contains data-component="practice-result-name-link": a visible link to result.href that navigates without firing onResultSelect or click telemetry. Each card also carries up to two CTA anchors: data-component="practice-result-open-cta" (practice page; absent when the consumer sets showCardOpenButton=false) and data-component="practice-result-book-cta" (booking flow; data-slot-aware="true" when it deep-links to a next slot). Card content carries its own read-only hooks: data-component="practice-result-tagline", data-component="practice-result-description", and data-component="practice-result-price" (the kit-formatted first-visit cost: firstVisitPrice supports fixed, from and range amounts plus an optional practice-written label; it takes precedence over the older firstVisitPriceCents fixed-price field. Absent when neither price is set).'
121
121
  }
122
122
  }
123
- }, Rt = 13, Nt = [
123
+ }, yt = 13, wt = [
124
124
  "distance",
125
125
  "rating",
126
126
  "next-available",
127
127
  "relevance"
128
128
  ];
129
- function Fe(e, n, i) {
129
+ function Ie(e, n, i) {
130
130
  const s = `languages.${e}`;
131
131
  return i.exists(s) ? n(s) : e.toUpperCase();
132
132
  }
133
- function H(e, n) {
133
+ function B(e, n) {
134
134
  if (typeof window > "u") return;
135
135
  const i = window.track;
136
136
  try {
@@ -138,28 +138,28 @@ function H(e, n) {
138
138
  } catch {
139
139
  }
140
140
  }
141
- function Q(e, n, i, s) {
141
+ function Z(e, n, i, s) {
142
142
  const r = e.findIndex((c) => c.id === n);
143
143
  if (r < 0) return;
144
144
  const a = e[r];
145
- a && (H("serp_result_clicked", { resultId: n, source: i, position: r }), s(a, i));
145
+ a && (B("serp_result_clicked", { resultId: n, source: i, position: r }), s(a, i));
146
146
  }
147
- function St(e, n) {
148
- const s = (n.lat - e.lat) * Math.PI / 180, r = (n.lng - e.lng) * Math.PI / 180, a = e.lat * Math.PI / 180, c = n.lat * Math.PI / 180, u = Math.sin(s / 2), o = Math.sin(r / 2), h = u * u + Math.cos(a) * Math.cos(c) * o * o;
149
- return 2 * 6371 * Math.asin(Math.min(1, Math.sqrt(h)));
147
+ function kt(e, n) {
148
+ const s = (n.lat - e.lat) * Math.PI / 180, r = (n.lng - e.lng) * Math.PI / 180, a = e.lat * Math.PI / 180, c = n.lat * Math.PI / 180, u = Math.sin(s / 2), o = Math.sin(r / 2), f = u * u + Math.cos(a) * Math.cos(c) * o * o;
149
+ return 2 * 6371 * Math.asin(Math.min(1, Math.sqrt(f)));
150
150
  }
151
- function Lt(e, n, i) {
151
+ function Ct(e, n, i) {
152
152
  var r;
153
153
  const s = [];
154
154
  for (const a of e) {
155
155
  const c = a.field ?? a.key, u = (((r = i == null ? void 0 : i[a.key]) == null ? void 0 : r.length) ?? 0) > 0, o = a.type === "boolean" || a.type !== "options" && a.options.length === 0 && (u || n.some(
156
- (h) => typeof h[c] == "boolean"
156
+ (f) => typeof f[c] == "boolean"
157
157
  ));
158
158
  !o && a.options.length === 0 || s.push({ ...a, boolean: o, booleanField: c });
159
159
  }
160
160
  return s;
161
161
  }
162
- function Pt(e, n, i) {
162
+ function Rt(e, n, i) {
163
163
  return !n || Object.keys(n).length === 0 ? e : e.filter((s) => {
164
164
  for (const r of i) {
165
165
  const a = n[r.key];
@@ -174,12 +174,12 @@ function Pt(e, n, i) {
174
174
  return !0;
175
175
  });
176
176
  }
177
- function At(e, n, i) {
177
+ function Nt(e, n, i) {
178
178
  const s = e.map((a) => {
179
- const c = a.location ? a.location.distanceKm ?? (i ? St(i, a.location) : void 0) : void 0;
179
+ const c = a.location ? a.location.distanceKm ?? (i ? kt(i, a.location) : void 0) : void 0;
180
180
  return { result: a, distanceKm: c };
181
181
  }), r = (a, c) => {
182
- var u, o, h, l;
182
+ var u, o, f, l;
183
183
  switch (n) {
184
184
  case "distance":
185
185
  return a.distanceKm == null && c.distanceKm == null ? 0 : a.distanceKm == null ? 1 : c.distanceKm == null ? -1 : a.distanceKm - c.distanceKm;
@@ -188,7 +188,7 @@ function At(e, n, i) {
188
188
  return (((o = c.result.rating) == null ? void 0 : o.value) ?? -1) - m;
189
189
  }
190
190
  case "next-available": {
191
- const m = ((h = a.result.nextAvailableSlot) == null ? void 0 : h.dateTime) ?? "", p = ((l = c.result.nextAvailableSlot) == null ? void 0 : l.dateTime) ?? "";
191
+ const m = ((f = a.result.nextAvailableSlot) == null ? void 0 : f.dateTime) ?? "", p = ((l = c.result.nextAvailableSlot) == null ? void 0 : l.dateTime) ?? "";
192
192
  return !m && !p ? 0 : m ? p ? m.localeCompare(p) : -1 : 1;
193
193
  }
194
194
  case "relevance":
@@ -203,7 +203,7 @@ function At(e, n, i) {
203
203
  } : a
204
204
  );
205
205
  }
206
- function Ne(e) {
206
+ function Re(e) {
207
207
  let n = -1 / 0, i = 1 / 0, s = -1 / 0, r = 1 / 0, a = !1;
208
208
  for (const c of e) {
209
209
  if (!c.location) continue;
@@ -214,7 +214,7 @@ function Ne(e) {
214
214
  if (a)
215
215
  return { north: n, south: i, east: s, west: r };
216
216
  }
217
- const Mt = D(
217
+ const St = V(
218
218
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)] ds:gap-[var(--spacing-md)]",
219
219
  {
220
220
  variants: {
@@ -227,20 +227,20 @@ const Mt = D(
227
227
  defaultVariants: { variant: "split-list-map" }
228
228
  }
229
229
  );
230
- function _e({
230
+ function Fe({
231
231
  heading: e,
232
232
  headingLevel: n,
233
233
  intro: i,
234
234
  totalCount: s,
235
235
  searchCentreLabel: r
236
236
  }) {
237
- const { t: a } = w("ui"), c = `h${n}`;
237
+ const { t: a } = C("ui"), c = `h${n}`;
238
238
  if (!e && !i && s == null) return null;
239
239
  const u = s != null ? r ? a("practiceResults.results.heading", {
240
240
  count: s,
241
241
  place: r
242
242
  }) : a("practiceResults.results.summary", { count: s }) : void 0;
243
- return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
243
+ return /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
244
244
  e ? /* @__PURE__ */ t(c, { className: "type-title-section ds:m-0 ds:text-[var(--foreground)]", children: e }) : null,
245
245
  i ? /* @__PURE__ */ t("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children: i }) : null,
246
246
  u ? /* @__PURE__ */ t(
@@ -253,7 +253,7 @@ function _e({
253
253
  ) : null
254
254
  ] });
255
255
  }
256
- const ne = D(
256
+ const te = V(
257
257
  [
258
258
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
259
259
  "ds:min-h-[var(--min-target-size)]",
@@ -275,7 +275,7 @@ const ne = D(
275
275
  },
276
276
  defaultVariants: { state: "idle" }
277
277
  }
278
- ), Tt = D(
278
+ ), Lt = V(
279
279
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
280
280
  {
281
281
  variants: {
@@ -294,7 +294,7 @@ const ne = D(
294
294
  },
295
295
  defaultVariants: { placement: "inline" }
296
296
  }
297
- ), It = D(
297
+ ), Pt = V(
298
298
  [
299
299
  "ds:ms-[var(--spacing-xs)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
300
300
  "ds:min-h-[var(--min-target-size)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
@@ -305,34 +305,34 @@ const ne = D(
305
305
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
306
306
  ].join(" ")
307
307
  );
308
- function ze({
308
+ function _e({
309
309
  facets: e,
310
310
  value: n,
311
311
  onChange: i,
312
312
  floating: s
313
313
  }) {
314
- const { t: r } = w("ui"), a = M(() => n ?? {}, [n]), c = M(
314
+ const { t: r } = C("ui"), a = M(() => n ?? {}, [n]), c = M(
315
315
  () => Object.values(a).some((l) => l && l.length > 0),
316
316
  [a]
317
317
  ), u = (l, m) => {
318
318
  const p = { ...a };
319
- m.length === 0 ? delete p[l] : p[l] = m, i(p), H("serp_filter_changed", { key: l, values: m });
319
+ m.length === 0 ? delete p[l] : p[l] = m, i(p), B("serp_filter_changed", { key: l, values: m });
320
320
  }, o = (l) => {
321
321
  var p;
322
322
  const m = (((p = a[l]) == null ? void 0 : p.length) ?? 0) > 0;
323
323
  u(l, m ? [] : ["true"]);
324
- }, h = (l, m) => {
324
+ }, f = (l, m) => {
325
325
  const p = a[l.key] ?? [], b = p.includes(m);
326
326
  let g;
327
327
  l.multi ? g = b ? p.filter((x) => x !== m) : [...p, m] : g = b ? [] : [m], u(l.key, g);
328
328
  };
329
- return e.length === 0 ? null : /* @__PURE__ */ f(
329
+ return e.length === 0 ? null : /* @__PURE__ */ h(
330
330
  "div",
331
331
  {
332
332
  "data-component": "practice-results-filters",
333
333
  role: "group",
334
334
  "aria-label": r("practiceResults.filters.label"),
335
- className: Tt({
335
+ className: Lt({
336
336
  placement: s ? "floating" : "inline"
337
337
  }),
338
338
  children: [
@@ -346,7 +346,7 @@ function ze({
346
346
  "aria-pressed": b,
347
347
  "aria-label": l.label,
348
348
  onClick: () => o(l.key),
349
- className: ne({
349
+ className: te({
350
350
  state: b ? "active" : "idle"
351
351
  }),
352
352
  children: /* @__PURE__ */ t("span", { children: l.label })
@@ -354,22 +354,22 @@ function ze({
354
354
  l.key
355
355
  );
356
356
  const g = b ? ` (${p.length})` : "";
357
- return /* @__PURE__ */ f(V.Root, { children: [
358
- /* @__PURE__ */ t(V.Trigger, { asChild: !0, children: /* @__PURE__ */ f(
357
+ return /* @__PURE__ */ h(D.Root, { children: [
358
+ /* @__PURE__ */ t(D.Trigger, { asChild: !0, children: /* @__PURE__ */ h(
359
359
  "button",
360
360
  {
361
361
  type: "button",
362
362
  "aria-label": `${l.label}${g}`,
363
- className: ne({
363
+ className: te({
364
364
  state: b ? "active" : "idle"
365
365
  }),
366
366
  children: [
367
- /* @__PURE__ */ f("span", { children: [
367
+ /* @__PURE__ */ h("span", { children: [
368
368
  l.label,
369
369
  g
370
370
  ] }),
371
371
  /* @__PURE__ */ t(
372
- Ae,
372
+ Pe,
373
373
  {
374
374
  "aria-hidden": "true",
375
375
  className: "ds:size-3.5 ds:shrink-0"
@@ -378,12 +378,12 @@ function ze({
378
378
  ]
379
379
  }
380
380
  ) }),
381
- /* @__PURE__ */ t(V.Content, { sideOffset: 8, align: "start", children: l.options.map((x) => /* @__PURE__ */ t(
382
- V.CheckboxItem,
381
+ /* @__PURE__ */ t(D.Content, { sideOffset: 8, align: "start", children: l.options.map((x) => /* @__PURE__ */ t(
382
+ D.CheckboxItem,
383
383
  {
384
384
  checked: p.includes(x.value),
385
385
  onSelect: (k) => {
386
- l.multi && k.preventDefault(), h(l, x.value);
386
+ l.multi && k.preventDefault(), f(l, x.value);
387
387
  },
388
388
  children: x.label
389
389
  },
@@ -396,9 +396,9 @@ function ze({
396
396
  {
397
397
  type: "button",
398
398
  onClick: () => {
399
- i({}), H("serp_filter_changed", { key: "*", values: [] });
399
+ i({}), B("serp_filter_changed", { key: "*", values: [] });
400
400
  },
401
- className: It(),
401
+ className: Pt(),
402
402
  children: r("practiceResults.filters.clear")
403
403
  }
404
404
  ) : null
@@ -406,8 +406,8 @@ function ze({
406
406
  }
407
407
  );
408
408
  }
409
- function me({ value: e, onChange: n }) {
410
- const { t: i } = w("ui"), s = (r) => {
409
+ function de({ value: e, onChange: n }) {
410
+ const { t: i } = C("ui"), s = (r) => {
411
411
  switch (r) {
412
412
  case "distance":
413
413
  return i("practiceResults.sort.distance");
@@ -420,47 +420,47 @@ function me({ value: e, onChange: n }) {
420
420
  return i("practiceResults.sort.relevance");
421
421
  }
422
422
  };
423
- return /* @__PURE__ */ f(V.Root, { children: [
424
- /* @__PURE__ */ t(V.Trigger, { asChild: !0, children: /* @__PURE__ */ f(
423
+ return /* @__PURE__ */ h(D.Root, { children: [
424
+ /* @__PURE__ */ t(D.Trigger, { asChild: !0, children: /* @__PURE__ */ h(
425
425
  "button",
426
426
  {
427
427
  type: "button",
428
428
  "aria-label": `${i("practiceResults.sort.label")}: ${s(e)}`,
429
- className: ne({ state: "idle" }),
429
+ className: te({ state: "idle" }),
430
430
  children: [
431
- /* @__PURE__ */ f("span", { children: [
431
+ /* @__PURE__ */ h("span", { children: [
432
432
  i("practiceResults.sort.label"),
433
433
  ": ",
434
434
  s(e)
435
435
  ] }),
436
- /* @__PURE__ */ t(Ae, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" })
436
+ /* @__PURE__ */ t(Pe, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" })
437
437
  ]
438
438
  }
439
439
  ) }),
440
- /* @__PURE__ */ t(V.Content, { sideOffset: 8, align: "end", children: /* @__PURE__ */ t(
441
- V.RadioGroup,
440
+ /* @__PURE__ */ t(D.Content, { sideOffset: 8, align: "end", children: /* @__PURE__ */ t(
441
+ D.RadioGroup,
442
442
  {
443
443
  value: e,
444
444
  onValueChange: (r) => {
445
445
  const a = r;
446
- a !== e && (n(a), H("serp_sort_changed", { sort: a }));
446
+ a !== e && (n(a), B("serp_sort_changed", { sort: a }));
447
447
  },
448
- children: Nt.map((r) => /* @__PURE__ */ t(V.RadioItem, { value: r, children: s(r) }, r))
448
+ children: wt.map((r) => /* @__PURE__ */ t(D.RadioItem, { value: r, children: s(r) }, r))
449
449
  }
450
450
  ) })
451
451
  ] });
452
452
  }
453
- function He({ distanceKm: e }) {
454
- const { t: n, i18n: i } = w("ui"), s = M(() => {
453
+ function At({ distanceKm: e }) {
454
+ const { t: n, i18n: i } = C("ui"), s = M(() => {
455
455
  if (e < 1) return n("practiceResults.distance.below");
456
456
  const r = new Intl.NumberFormat(i.language, {
457
457
  maximumFractionDigits: 1
458
458
  }).format(e);
459
459
  return n("practiceResults.distance.km", { distance: r });
460
460
  }, [e, n, i.language]);
461
- return /* @__PURE__ */ t(O, { variant: "neutral", leading: /* @__PURE__ */ t(ae, { "aria-hidden": "true" }), children: s });
461
+ return /* @__PURE__ */ t($, { variant: "neutral", leading: /* @__PURE__ */ t(pe, { "aria-hidden": "true" }), children: s });
462
462
  }
463
- const Se = D(
463
+ const Ne = V(
464
464
  [
465
465
  "ds:inline-size-[12rem] ds:block-size-[8rem] ds:shrink-0",
466
466
  "ds:rounded-[var(--radius-md)] ds:overflow-hidden"
@@ -479,31 +479,31 @@ const Se = D(
479
479
  defaultVariants: { state: "placeholder" }
480
480
  }
481
481
  );
482
- function Ft() {
482
+ function Mt() {
483
483
  if (typeof document > "u") return "4945a3";
484
484
  const e = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), n = /^#?([0-9a-fA-F]{6})$/.exec(e);
485
485
  return n ? n[1] : "4945a3";
486
486
  }
487
- function _t({
487
+ function Tt({
488
488
  apiKey: e,
489
489
  center: n,
490
490
  zoom: i = 14,
491
491
  address: s
492
492
  }) {
493
- const { t: r } = w("ui");
493
+ const { t: r } = C("ui");
494
494
  if (!e)
495
- return /* @__PURE__ */ f(
495
+ return /* @__PURE__ */ h(
496
496
  "div",
497
497
  {
498
498
  "aria-hidden": s ? void 0 : "true",
499
- className: Se({ state: "placeholder" }),
499
+ className: Ne({ state: "placeholder" }),
500
500
  children: [
501
- /* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-5 ds:shrink-0" }),
501
+ /* @__PURE__ */ t(pe, { "aria-hidden": "true", className: "ds:size-5 ds:shrink-0" }),
502
502
  s ? /* @__PURE__ */ t("span", { dir: "auto", className: "type-meta ds:[overflow-wrap:anywhere]", children: s }) : null
503
503
  ]
504
504
  }
505
505
  );
506
- const a = Ft(), c = `https://maps.googleapis.com/maps/api/staticmap?center=${n.lat},${n.lng}&zoom=${i}&size=240x160&scale=2&markers=color:0x${a}%7C${n.lat},${n.lng}&key=${encodeURIComponent(e)}`;
506
+ const a = Mt(), c = `https://maps.googleapis.com/maps/api/staticmap?center=${n.lat},${n.lng}&zoom=${i}&size=240x160&scale=2&markers=color:0x${a}%7C${n.lat},${n.lng}&key=${encodeURIComponent(e)}`;
507
507
  return /* @__PURE__ */ t(
508
508
  "img",
509
509
  {
@@ -513,11 +513,11 @@ function _t({
513
513
  decoding: "async",
514
514
  width: 240,
515
515
  height: 160,
516
- className: Se({ state: "image" })
516
+ className: Ne({ state: "image" })
517
517
  }
518
518
  );
519
519
  }
520
- function Be({ tagline: e }) {
520
+ function It({ tagline: e }) {
521
521
  return e ? /* @__PURE__ */ t(
522
522
  "span",
523
523
  {
@@ -528,7 +528,7 @@ function Be({ tagline: e }) {
528
528
  }
529
529
  ) : null;
530
530
  }
531
- const zt = D(
531
+ const Ft = V(
532
532
  "type-body-sm ds:m-0 ds:text-[var(--muted-foreground)] ds:whitespace-pre-line ds:break-words",
533
533
  {
534
534
  variants: {
@@ -540,7 +540,7 @@ const zt = D(
540
540
  defaultVariants: { density: "compact" }
541
541
  }
542
542
  );
543
- function $e({
543
+ function He({
544
544
  description: e,
545
545
  density: n
546
546
  }) {
@@ -549,38 +549,41 @@ function $e({
549
549
  {
550
550
  "data-component": "practice-result-description",
551
551
  dir: "auto",
552
- className: zt({ density: n }),
552
+ className: Ft({ density: n }),
553
553
  children: e
554
554
  }
555
555
  ) : null;
556
556
  }
557
- function Ht(e, n, i, s) {
557
+ function _t(e, n, i, s) {
558
558
  if (e.kind === "fixed")
559
- return pt(
559
+ return ut(
560
560
  e.minCents,
561
561
  n,
562
562
  i,
563
563
  s("common.freeOfCharge")
564
564
  );
565
- const r = Re(e.minCents, n, i);
565
+ const r = Ce(e.minCents, n, i);
566
566
  return e.kind === "range" && e.maxCents != null && Number.isFinite(e.maxCents) && e.maxCents > e.minCents ? s("practiceResults.card.priceRange", {
567
567
  min: r,
568
- max: Re(e.maxCents, n, i)
568
+ max: Ce(e.maxCents, n, i)
569
569
  }) : s("practiceResults.card.priceFrom", { price: r });
570
570
  }
571
- const Bt = D("ds:min-w-0", {
572
- variants: {
573
- practiceWritten: { true: "ds:truncate" }
571
+ const Ht = V(
572
+ "ds:min-w-0 ds:max-w-full ds:[overflow-wrap:anywhere]",
573
+ {
574
+ variants: {
575
+ practiceWritten: { true: "ds:truncate" }
576
+ }
574
577
  }
575
- });
576
- function Ve({
578
+ );
579
+ function zt({
577
580
  price: e,
578
581
  cents: n,
579
582
  currencyCode: i = "EUR"
580
583
  }) {
581
584
  var p;
582
- const { t: s, i18n: r } = w("ui"), a = e && Number.isFinite(e.minCents) ? e : void 0, c = (a == null ? void 0 : a.kind) ?? "fixed", u = (a == null ? void 0 : a.minCents) ?? n, o = a == null ? void 0 : a.maxCents, h = M(
583
- () => u == null ? void 0 : Ht(
585
+ const { t: s, i18n: r } = C("ui"), a = e && Number.isFinite(e.minCents) ? e : void 0, c = (a == null ? void 0 : a.kind) ?? "fixed", u = (a == null ? void 0 : a.minCents) ?? n, o = a == null ? void 0 : a.maxCents, f = M(
586
+ () => u == null ? void 0 : _t(
584
587
  { kind: c, minCents: u, maxCents: o },
585
588
  i,
586
589
  r.language ?? "en",
@@ -588,52 +591,45 @@ function Ve({
588
591
  ),
589
592
  [c, u, o, i, r.language, s]
590
593
  );
591
- if (h === void 0) return null;
594
+ if (f === void 0) return null;
592
595
  const l = (p = a == null ? void 0 : a.label) == null ? void 0 : p.trim().replace(/:$/, "").trim(), m = l || s("practiceResults.card.firstVisitPrice");
593
- return /* @__PURE__ */ f(
596
+ return /* @__PURE__ */ h(
594
597
  "span",
595
598
  {
596
599
  "data-component": "practice-result-price",
597
- className: "type-body-sm ds:inline-flex ds:min-w-0 ds:max-w-full ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[var(--muted-foreground)]",
600
+ className: "type-body-sm ds:flex ds:min-w-0 ds:max-w-full ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)] ds:text-start ds:text-[var(--muted-foreground)] ds:sm:@min-[280px]/result-heading:max-w-[45%] ds:sm:@min-[280px]/result-heading:items-end ds:sm:@min-[280px]/result-heading:text-end",
598
601
  children: [
599
- /* @__PURE__ */ f("span", { className: "ds:inline-flex ds:min-w-0 ds:max-w-full ds:items-center ds:gap-[var(--spacing-xs)]", children: [
600
- /* @__PURE__ */ t(
601
- bt,
602
- {
603
- "aria-hidden": "true",
604
- className: "ds:size-4 ds:shrink-0 ds:text-[var(--primary)]"
605
- }
606
- ),
607
- /* @__PURE__ */ t(
608
- "span",
609
- {
610
- dir: "auto",
611
- title: m,
612
- className: Bt({
613
- practiceWritten: !!l
614
- }),
615
- children: m
616
- }
617
- )
618
- ] }),
619
- /* @__PURE__ */ t("span", { className: "ds:sr-only", children: ": " }),
620
602
  /* @__PURE__ */ t(
621
603
  "span",
622
604
  {
623
605
  dir: "auto",
624
- className: "ds:min-w-0 ds:[overflow-wrap:anywhere] ds:font-[var(--font-weight-medium)] ds:text-[var(--foreground)]",
625
- children: h
606
+ title: m,
607
+ className: Ht({
608
+ practiceWritten: !!l
609
+ }),
610
+ children: m
611
+ }
612
+ ),
613
+ /* @__PURE__ */ t("span", { className: "ds:sr-only", children: ": " }),
614
+ /* @__PURE__ */ t(
615
+ $,
616
+ {
617
+ variant: "accentSoft",
618
+ size: "lg",
619
+ dir: "auto",
620
+ className: "ds:h-auto ds:min-h-6 ds:min-w-0 ds:max-w-full ds:whitespace-normal ds:[overflow-wrap:anywhere]",
621
+ children: f
626
622
  }
627
623
  )
628
624
  ]
629
625
  }
630
626
  );
631
627
  }
632
- function Oe({ time: e }) {
633
- const { t: n } = w("ui");
634
- return /* @__PURE__ */ f("span", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
628
+ function ze({ time: e }) {
629
+ const { t: n } = C("ui");
630
+ return /* @__PURE__ */ h("span", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
635
631
  /* @__PURE__ */ t(
636
- xt,
632
+ ht,
637
633
  {
638
634
  "aria-hidden": "true",
639
635
  className: "ds:size-4 ds:text-[var(--primary)]"
@@ -642,7 +638,7 @@ function Oe({ time: e }) {
642
638
  n("practiceResults.nextSlot.summary", { time: e })
643
639
  ] });
644
640
  }
645
- function De({
641
+ function $e({
646
642
  result: e,
647
643
  openLabel: n,
648
644
  bookLabel: i,
@@ -650,29 +646,29 @@ function De({
650
646
  onOpenClick: r,
651
647
  onBookClick: a
652
648
  }) {
653
- const { t: c } = w("ui"), u = e.nextAvailableSlot, o = (u == null ? void 0 : u.bookingHref) ?? e.bookingHref ?? e.href, h = u && s ? c("practiceResults.nextSlot.cta", { time: s }) : i;
654
- return /* @__PURE__ */ f("div", { className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)]", children: [
655
- n !== void 0 ? /* @__PURE__ */ t(te, { intent: "secondary", size: "sm", asChild: !0, onClick: r, children: /* @__PURE__ */ f("a", { href: e.href, "data-component": "practice-result-open-cta", children: [
649
+ const { t: c } = C("ui"), u = e.nextAvailableSlot, o = (u == null ? void 0 : u.bookingHref) ?? e.bookingHref ?? e.href, f = u && s ? c("practiceResults.nextSlot.cta", { time: s }) : i;
650
+ return /* @__PURE__ */ h("div", { className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)]", children: [
651
+ n !== void 0 ? /* @__PURE__ */ t(ee, { intent: "secondary", size: "sm", asChild: !0, onClick: r, children: /* @__PURE__ */ h("a", { href: e.href, "data-component": "practice-result-open-cta", children: [
656
652
  n,
657
653
  " ",
658
654
  /* @__PURE__ */ t("span", { className: "ds:sr-only", children: e.name })
659
655
  ] }) }) : null,
660
656
  /* @__PURE__ */ t(
661
- te,
657
+ ee,
662
658
  {
663
659
  intent: "primary",
664
660
  size: "sm",
665
661
  asChild: !0,
666
- startIcon: /* @__PURE__ */ t(yt, { "aria-hidden": "true" }),
662
+ startIcon: /* @__PURE__ */ t(gt, { "aria-hidden": "true" }),
667
663
  onClick: a,
668
- children: /* @__PURE__ */ f(
664
+ children: /* @__PURE__ */ h(
669
665
  "a",
670
666
  {
671
667
  href: o,
672
668
  "data-component": "practice-result-book-cta",
673
669
  "data-slot-aware": u ? "true" : void 0,
674
670
  children: [
675
- h,
671
+ f,
676
672
  " ",
677
673
  /* @__PURE__ */ t("span", { className: "ds:sr-only", children: e.name })
678
674
  ]
@@ -682,9 +678,9 @@ function De({
682
678
  )
683
679
  ] });
684
680
  }
685
- const Ke = D(
681
+ const Be = V(
686
682
  [
687
- "ds:relative ds:flex ds:w-full ds:cursor-pointer",
683
+ "ds:@container/result-card ds:relative ds:flex ds:w-full ds:cursor-pointer",
688
684
  "ds:rounded-[var(--radius-lg)]",
689
685
  "ds:bg-[var(--card)] ds:text-[var(--card-foreground)]",
690
686
  "ds:border ds:border-[color:var(--card-border)]",
@@ -710,24 +706,24 @@ const Ke = D(
710
706
  },
711
707
  defaultVariants: { density: "compact" }
712
708
  }
713
- ), $t = D([
709
+ ), $t = V([
714
710
  "ds:text-[var(--foreground)] ds:no-underline ds:hover:underline",
715
711
  "ds:rounded-[var(--radius-xs)]",
716
712
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
717
713
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
718
714
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
719
715
  ]);
720
- function Ee({
716
+ function Bt({
721
717
  result: e,
722
718
  headingLevel: n
723
719
  }) {
724
- const i = `h${ve(n)}`;
720
+ const i = `h${ge(n)}`;
725
721
  return /* @__PURE__ */ t(
726
722
  i,
727
723
  {
728
724
  id: `practice-result-${e.id}-name`,
729
725
  dir: "auto",
730
- className: "type-title-card ds:m-0 ds:text-[var(--foreground)]",
726
+ className: "type-title-card ds:m-0 ds:min-w-0 ds:[overflow-wrap:anywhere] ds:text-[var(--foreground)]",
731
727
  children: /* @__PURE__ */ t(
732
728
  "a",
733
729
  {
@@ -741,13 +737,62 @@ function Ee({
741
737
  }
742
738
  );
743
739
  }
744
- function je(e) {
740
+ function Oe({
741
+ result: e,
742
+ headingLevel: n
743
+ }) {
744
+ var i, s;
745
+ return /* @__PURE__ */ t(
746
+ "div",
747
+ {
748
+ "data-component": "practice-result-heading",
749
+ className: "ds:@container/result-heading ds:min-w-0 ds:flex-1",
750
+ children: /* @__PURE__ */ h("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)] ds:sm:@min-[280px]/result-heading:flex-row ds:sm:@min-[280px]/result-heading:gap-[var(--spacing-md)]", children: [
751
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:min-w-0 ds:w-full ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
752
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
753
+ /* @__PURE__ */ t(Bt, { result: e, headingLevel: n }),
754
+ ((i = e.location) == null ? void 0 : i.distanceKm) != null ? /* @__PURE__ */ t(At, { distanceKm: e.location.distanceKm }) : null
755
+ ] }),
756
+ e.subtitle ? /* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: e.subtitle }) : null,
757
+ /* @__PURE__ */ t(It, { tagline: e.tagline }),
758
+ (s = e.location) != null && s.address ? /* @__PURE__ */ h(
759
+ "span",
760
+ {
761
+ "data-component": "practice-result-address",
762
+ className: "type-meta ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
763
+ children: [
764
+ /* @__PURE__ */ t(pe, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
765
+ /* @__PURE__ */ t(
766
+ "span",
767
+ {
768
+ dir: "auto",
769
+ className: "ds:min-w-0 ds:[overflow-wrap:anywhere]",
770
+ children: e.location.address
771
+ }
772
+ )
773
+ ]
774
+ }
775
+ ) : null
776
+ ] }),
777
+ /* @__PURE__ */ t(
778
+ zt,
779
+ {
780
+ price: e.firstVisitPrice,
781
+ cents: e.firstVisitPriceCents,
782
+ currencyCode: e.currencyCode
783
+ }
784
+ )
785
+ ] })
786
+ }
787
+ );
788
+ }
789
+ function De(e) {
745
790
  const n = e.target.closest(
746
791
  'a, button, [role="button"], input, select, textarea, label'
747
792
  );
748
793
  return n !== null && n !== e.currentTarget && e.currentTarget.contains(n);
749
794
  }
750
- function Vt({
795
+ function Ot({
751
796
  result: e,
752
797
  headingLevel: n,
753
798
  highlighted: i,
@@ -757,17 +802,17 @@ function Vt({
757
802
  density: c = "compact",
758
803
  openLabel: u,
759
804
  bookLabel: o,
760
- onBookClick: h,
805
+ onBookClick: f,
761
806
  nextSlotText: l,
762
807
  maxInsuranceChips: m = 3,
763
808
  maxLanguageChips: p = 4,
764
809
  children: b
765
810
  }) {
766
- var Z, W, E, j, K, R;
767
- const { t: g, i18n: x } = w("ui"), k = e.rating, y = (Z = e.location) == null ? void 0 : Z.distanceKm, d = (((W = e.languages) == null ? void 0 : W.length) ?? 0) > 0, S = (((E = e.insurances) == null ? void 0 : E.length) ?? 0) > 0, N = e.specializedInFearPatients, L = d || S || N, C = (e.languages ?? []).slice(0, p), F = (((j = e.languages) == null ? void 0 : j.length) ?? 0) - C.length, A = (e.insurances ?? []).slice(0, m), G = (((K = e.insurances) == null ? void 0 : K.length) ?? 0) - A.length;
811
+ var q, U, G, K;
812
+ const { t: g, i18n: x } = C("ui"), k = e.rating, y = (((q = e.languages) == null ? void 0 : q.length) ?? 0) > 0, d = (((U = e.insurances) == null ? void 0 : U.length) ?? 0) > 0, w = e.specializedInFearPatients, P = y || d || w, S = (e.languages ?? []).slice(0, p), F = (((G = e.languages) == null ? void 0 : G.length) ?? 0) - S.length, _ = (e.insurances ?? []).slice(0, m), L = (((K = e.insurances) == null ? void 0 : K.length) ?? 0) - _.length;
768
813
  return (
769
814
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events -- card is role="group" by design (axe nested-interactive); click handler is mouse-only sync.
770
- /* @__PURE__ */ f(
815
+ /* @__PURE__ */ h(
771
816
  "div",
772
817
  {
773
818
  "data-component": "practice-result-card",
@@ -775,87 +820,69 @@ function Vt({
775
820
  "data-highlighted": i ? "true" : "false",
776
821
  role: "group",
777
822
  "aria-labelledby": `practice-result-${e.id}-name`,
778
- onClick: (B) => {
779
- je(B) || s();
823
+ onClick: (A) => {
824
+ De(A) || s();
780
825
  },
781
826
  onMouseEnter: a,
782
827
  onFocus: a,
783
- className: Ke({ density: c }),
828
+ className: Be({ density: c }),
784
829
  children: [
785
830
  /* @__PURE__ */ t(
786
- Le,
831
+ Se,
787
832
  {
788
833
  src: e.imageUrl,
834
+ alt: e.imageAlt,
789
835
  name: e.name,
790
836
  size: "lg",
791
837
  shape: "rounded",
792
838
  ratio: "4:3"
793
839
  }
794
840
  ),
795
- /* @__PURE__ */ f("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
796
- /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
797
- /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
798
- /* @__PURE__ */ t(Ee, { result: e, headingLevel: n }),
799
- y != null ? /* @__PURE__ */ t(He, { distanceKm: y }) : null
800
- ] }),
801
- e.subtitle ? /* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: e.subtitle }) : null,
802
- /* @__PURE__ */ t(Be, { tagline: e.tagline }),
803
- (R = e.location) != null && R.address ? /* @__PURE__ */ f("span", { className: "type-meta ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
804
- /* @__PURE__ */ t(ae, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
805
- /* @__PURE__ */ t("span", { dir: "auto", children: e.location.address })
806
- ] }) : null
807
- ] }),
841
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
842
+ /* @__PURE__ */ t(Oe, { result: e, headingLevel: n }),
808
843
  k && k.count > 0 ? /* @__PURE__ */ t(
809
- Pe,
844
+ Le,
810
845
  {
811
846
  value: k.value,
812
847
  reviews: { count: k.count },
813
848
  size: "sm"
814
849
  }
815
850
  ) : null,
816
- L ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
817
- C.map((B) => /* @__PURE__ */ t(
818
- O,
851
+ P ? /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
852
+ S.map((A) => /* @__PURE__ */ t(
853
+ $,
819
854
  {
820
855
  variant: "neutral",
821
- leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }),
822
- children: Fe(B, g, x)
856
+ leading: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" }),
857
+ children: Ie(A, g, x)
823
858
  },
824
- `lang-${B}`
859
+ `lang-${A}`
825
860
  )),
826
- F > 0 ? /* @__PURE__ */ t(O, { variant: "neutral", children: `+${F}` }) : null,
827
- A.map((B) => /* @__PURE__ */ t(
828
- O,
861
+ F > 0 ? /* @__PURE__ */ t($, { variant: "neutral", children: `+${F}` }) : null,
862
+ _.map((A) => /* @__PURE__ */ t(
863
+ $,
829
864
  {
830
865
  variant: "info",
831
- leading: /* @__PURE__ */ t(Te, { "aria-hidden": "true" }),
832
- children: B
866
+ leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }),
867
+ children: A
833
868
  },
834
- `ins-${B}`
869
+ `ins-${A}`
835
870
  )),
836
- G > 0 ? /* @__PURE__ */ t(O, { variant: "neutral", children: `+${G}` }) : null,
837
- N ? /* @__PURE__ */ t(O, { variant: "info", leading: /* @__PURE__ */ t(Ie, { "aria-hidden": "true" }), children: g("practiceResults.fearPatient.label") }) : null
871
+ L > 0 ? /* @__PURE__ */ t($, { variant: "neutral", children: `+${L}` }) : null,
872
+ w ? /* @__PURE__ */ t($, { variant: "info", leading: /* @__PURE__ */ t(Te, { "aria-hidden": "true" }), children: g("practiceResults.fearPatient.label") }) : null
838
873
  ] }) : null,
839
- /* @__PURE__ */ t($e, { description: e.description, density: "compact" }),
840
- /* @__PURE__ */ t(
841
- Ve,
842
- {
843
- price: e.firstVisitPrice,
844
- cents: e.firstVisitPriceCents,
845
- currencyCode: e.currencyCode
846
- }
847
- ),
848
- e.nextAvailableSlot && l ? /* @__PURE__ */ t(Oe, { time: l }) : null,
874
+ /* @__PURE__ */ t(He, { description: e.description, density: "compact" }),
875
+ e.nextAvailableSlot && l ? /* @__PURE__ */ t(ze, { time: l }) : null,
849
876
  b,
850
877
  /* @__PURE__ */ t(
851
- De,
878
+ $e,
852
879
  {
853
880
  result: e,
854
881
  openLabel: u,
855
882
  bookLabel: o,
856
883
  nextSlotText: l,
857
884
  onOpenClick: r,
858
- onBookClick: h
885
+ onBookClick: f
859
886
  }
860
887
  )
861
888
  ] })
@@ -864,7 +891,7 @@ function Vt({
864
891
  )
865
892
  );
866
893
  }
867
- function Ot({
894
+ function Dt({
868
895
  result: e,
869
896
  headingLevel: n,
870
897
  apiKey: i,
@@ -874,10 +901,10 @@ function Ot({
874
901
  onBookClick: c,
875
902
  onHover: u,
876
903
  openLabel: o,
877
- bookLabel: h
904
+ bookLabel: f
878
905
  }) {
879
- var d, S, N, L;
880
- const { t: l, i18n: m } = w("ui"), p = M(() => {
906
+ var y, d;
907
+ const { t: l, i18n: m } = C("ui"), p = M(() => {
881
908
  if (e.nextAvailableSlot)
882
909
  try {
883
910
  return new Intl.DateTimeFormat(m.language, {
@@ -888,10 +915,10 @@ function Ot({
888
915
  } catch {
889
916
  return e.nextAvailableSlot.dateTime;
890
917
  }
891
- }, [e.nextAvailableSlot, m.language]), b = (((d = e.languages) == null ? void 0 : d.length) ?? 0) > 0, g = (((S = e.insurances) == null ? void 0 : S.length) ?? 0) > 0, x = e.specializedInFearPatients, k = b || g || x, y = (N = e.location) == null ? void 0 : N.distanceKm;
918
+ }, [e.nextAvailableSlot, m.language]), b = (((y = e.languages) == null ? void 0 : y.length) ?? 0) > 0, g = (((d = e.insurances) == null ? void 0 : d.length) ?? 0) > 0, x = e.specializedInFearPatients, k = b || g || x;
892
919
  return (
893
920
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events -- card is role="group" by design (axe nested-interactive); click handler is mouse-only sync.
894
- /* @__PURE__ */ f(
921
+ /* @__PURE__ */ h(
895
922
  "div",
896
923
  {
897
924
  "data-component": "practice-result-card",
@@ -900,15 +927,15 @@ function Ot({
900
927
  "data-highlighted": s ? "true" : "false",
901
928
  role: "group",
902
929
  "aria-labelledby": `practice-result-${e.id}-name`,
903
- onClick: (C) => {
904
- je(C) || r();
930
+ onClick: (w) => {
931
+ De(w) || r();
905
932
  },
906
933
  onMouseEnter: u,
907
934
  onFocus: u,
908
- className: Ke({ density: "rich" }),
935
+ className: Be({ density: "rich" }),
909
936
  children: [
910
- e.location ? /* @__PURE__ */ t(
911
- _t,
937
+ e.location ? /* @__PURE__ */ t("div", { className: "ds:hidden ds:@min-[640px]/result-card:block", children: /* @__PURE__ */ t(
938
+ Tt,
912
939
  {
913
940
  apiKey: i,
914
941
  center: {
@@ -917,83 +944,59 @@ function Ot({
917
944
  },
918
945
  address: e.location.address
919
946
  }
920
- ) : null,
921
- /* @__PURE__ */ f("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
922
- /* @__PURE__ */ f("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-md)]", children: [
947
+ ) }) : null,
948
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
949
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-md)]", children: [
923
950
  /* @__PURE__ */ t(
924
- Le,
951
+ Se,
925
952
  {
926
953
  src: e.imageUrl,
954
+ alt: e.imageAlt,
927
955
  name: e.name,
928
956
  size: "md",
929
957
  shape: "rounded",
930
958
  ratio: "4:3"
931
959
  }
932
960
  ),
933
- /* @__PURE__ */ f("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
934
- /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
935
- /* @__PURE__ */ t(Ee, { result: e, headingLevel: n }),
936
- y != null ? /* @__PURE__ */ t(He, { distanceKm: y }) : null
937
- ] }),
938
- e.subtitle ? /* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: e.subtitle }) : null,
939
- /* @__PURE__ */ t(Be, { tagline: e.tagline }),
940
- (L = e.location) != null && L.address ? /* @__PURE__ */ f("span", { className: "type-meta ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
941
- /* @__PURE__ */ t(
942
- ae,
943
- {
944
- "aria-hidden": "true",
945
- className: "ds:size-3.5 ds:shrink-0"
946
- }
947
- ),
948
- /* @__PURE__ */ t("span", { dir: "auto", children: e.location.address })
949
- ] }) : null
950
- ] }),
951
- e.rating && e.rating.count > 0 ? /* @__PURE__ */ t(
952
- Pe,
953
- {
954
- value: e.rating.value,
955
- reviews: { count: e.rating.count },
956
- size: "md"
957
- }
958
- ) : null
961
+ /* @__PURE__ */ t(Oe, { result: e, headingLevel: n })
959
962
  ] }),
960
- k ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
961
- b ? (e.languages ?? []).map((C) => /* @__PURE__ */ t(
962
- O,
963
+ e.rating && e.rating.count > 0 ? /* @__PURE__ */ t(
964
+ Le,
965
+ {
966
+ value: e.rating.value,
967
+ reviews: { count: e.rating.count },
968
+ size: "md"
969
+ }
970
+ ) : null,
971
+ k ? /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
972
+ b ? (e.languages ?? []).map((w) => /* @__PURE__ */ t(
973
+ $,
963
974
  {
964
975
  variant: "neutral",
965
- leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }),
966
- children: Fe(C, l, m)
976
+ leading: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" }),
977
+ children: Ie(w, l, m)
967
978
  },
968
- `lang-${C}`
979
+ `lang-${w}`
969
980
  )) : null,
970
- g ? (e.insurances ?? []).map((C) => /* @__PURE__ */ t(
971
- O,
981
+ g ? (e.insurances ?? []).map((w) => /* @__PURE__ */ t(
982
+ $,
972
983
  {
973
984
  variant: "info",
974
- leading: /* @__PURE__ */ t(Te, { "aria-hidden": "true" }),
975
- children: C
985
+ leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }),
986
+ children: w
976
987
  },
977
- `ins-${C}`
988
+ `ins-${w}`
978
989
  )) : null,
979
- x ? /* @__PURE__ */ t(O, { variant: "info", leading: /* @__PURE__ */ t(Ie, { "aria-hidden": "true" }), children: l("practiceResults.fearPatient.label") }) : null
990
+ x ? /* @__PURE__ */ t($, { variant: "info", leading: /* @__PURE__ */ t(Te, { "aria-hidden": "true" }), children: l("practiceResults.fearPatient.label") }) : null
980
991
  ] }) : null,
981
- /* @__PURE__ */ t($e, { description: e.description, density: "rich" }),
982
- /* @__PURE__ */ t(
983
- Ve,
984
- {
985
- price: e.firstVisitPrice,
986
- cents: e.firstVisitPriceCents,
987
- currencyCode: e.currencyCode
988
- }
989
- ),
990
- e.nextAvailableSlot && p ? /* @__PURE__ */ t(Oe, { time: p }) : null,
992
+ /* @__PURE__ */ t(He, { description: e.description, density: "rich" }),
993
+ e.nextAvailableSlot && p ? /* @__PURE__ */ t(ze, { time: p }) : null,
991
994
  /* @__PURE__ */ t(
992
- De,
995
+ $e,
993
996
  {
994
997
  result: e,
995
998
  openLabel: o,
996
- bookLabel: h,
999
+ bookLabel: f,
997
1000
  nextSlotText: p,
998
1001
  onOpenClick: a,
999
1002
  onBookClick: c
@@ -1005,7 +1008,7 @@ function Ot({
1005
1008
  )
1006
1009
  );
1007
1010
  }
1008
- function he({
1011
+ function fe({
1009
1012
  results: e,
1010
1013
  headingLevel: n,
1011
1014
  highlightedId: i,
@@ -1015,7 +1018,7 @@ function he({
1015
1018
  onCardBookClick: c,
1016
1019
  openLabel: u,
1017
1020
  bookLabel: o,
1018
- formatNextSlot: h,
1021
+ formatNextSlot: f,
1019
1022
  onLoadMore: l,
1020
1023
  loadingMore: m,
1021
1024
  loadingSkeletons: p,
@@ -1023,21 +1026,21 @@ function he({
1023
1026
  apiKey: g,
1024
1027
  containerRef: x
1025
1028
  }) {
1026
- const { t: k } = w("ui"), y = T(null);
1027
- return X(() => {
1029
+ const { t: k } = C("ui"), y = T(null);
1030
+ return J(() => {
1028
1031
  if (!l) return;
1029
1032
  const d = y.current;
1030
1033
  if (!d || typeof IntersectionObserver > "u") return;
1031
- const S = new IntersectionObserver(
1032
- (N) => {
1033
- for (const L of N)
1034
- L.isIntersecting && (H("serp_load_more", {
1034
+ const w = new IntersectionObserver(
1035
+ (P) => {
1036
+ for (const S of P)
1037
+ S.isIntersecting && (B("serp_load_more", {
1035
1038
  currentCount: e.length
1036
1039
  }), l());
1037
1040
  },
1038
1041
  { root: null, rootMargin: "200px" }
1039
1042
  );
1040
- return S.observe(d), () => S.disconnect();
1043
+ return w.observe(d), () => w.disconnect();
1041
1044
  }, [l, e.length]), p ? /* @__PURE__ */ t(
1042
1045
  "div",
1043
1046
  {
@@ -1045,16 +1048,16 @@ function he({
1045
1048
  "aria-live": "polite",
1046
1049
  "aria-label": k("practiceResults.loading"),
1047
1050
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
1048
- children: Array.from({ length: 4 }).map((d, S) => /* @__PURE__ */ t(
1049
- ut,
1051
+ children: Array.from({ length: 4 }).map((d, w) => /* @__PURE__ */ t(
1052
+ lt,
1050
1053
  {
1051
1054
  variant: "rounded",
1052
1055
  height: b === "rich" ? "11rem" : "7rem"
1053
1056
  },
1054
- `pr-skel-${S}`
1057
+ `pr-skel-${w}`
1055
1058
  ))
1056
1059
  }
1057
- ) : /* @__PURE__ */ f(
1060
+ ) : /* @__PURE__ */ h(
1058
1061
  "div",
1059
1062
  {
1060
1063
  ref: x,
@@ -1064,7 +1067,7 @@ function he({
1064
1067
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:overflow-y-auto",
1065
1068
  children: [
1066
1069
  e.map((d) => /* @__PURE__ */ t("div", { role: "listitem", children: b === "rich" ? /* @__PURE__ */ t(
1067
- Ot,
1070
+ Dt,
1068
1071
  {
1069
1072
  result: d,
1070
1073
  headingLevel: n,
@@ -1078,7 +1081,7 @@ function he({
1078
1081
  bookLabel: o
1079
1082
  }
1080
1083
  ) : /* @__PURE__ */ t(
1081
- Vt,
1084
+ Ot,
1082
1085
  {
1083
1086
  result: d,
1084
1087
  headingLevel: n,
@@ -1089,7 +1092,7 @@ function he({
1089
1092
  onHover: () => s(d.id),
1090
1093
  openLabel: u,
1091
1094
  bookLabel: o,
1092
- nextSlotText: h(d)
1095
+ nextSlotText: f(d)
1093
1096
  }
1094
1097
  ) }, d.id)),
1095
1098
  l ? /* @__PURE__ */ t(
@@ -1098,14 +1101,14 @@ function he({
1098
1101
  ref: y,
1099
1102
  "aria-hidden": "true",
1100
1103
  className: "ds:flex ds:items-center ds:justify-center ds:py-[var(--spacing-md)]",
1101
- children: m ? /* @__PURE__ */ t(mt, { size: "md", variant: "pulse" }) : /* @__PURE__ */ t("span", { className: "ds:size-1" })
1104
+ children: m ? /* @__PURE__ */ t(ct, { size: "md", variant: "pulse" }) : /* @__PURE__ */ t("span", { className: "ds:size-1" })
1102
1105
  }
1103
1106
  ) : null
1104
1107
  ]
1105
1108
  }
1106
1109
  );
1107
1110
  }
1108
- function fe({
1111
+ function ue({
1109
1112
  results: e,
1110
1113
  searchCentre: n,
1111
1114
  zoom: i,
@@ -1115,12 +1118,12 @@ function fe({
1115
1118
  onPinClick: c,
1116
1119
  onPinHover: u,
1117
1120
  onPinFirstInteract: o,
1118
- onBoundsChange: h,
1121
+ onBoundsChange: f,
1119
1122
  consentGranted: l,
1120
1123
  onConsentRequest: m,
1121
1124
  mapHandleRef: p
1122
1125
  }) {
1123
- const { t: b } = w("ui"), g = M(
1126
+ const { t: b } = C("ui"), g = M(
1124
1127
  () => e.filter(
1125
1128
  (d) => !!d.location
1126
1129
  ).map((d) => ({
@@ -1140,23 +1143,23 @@ function fe({
1140
1143
  [g]
1141
1144
  ), y = M(() => {
1142
1145
  if (n) return n;
1143
- const d = Ne(e);
1146
+ const d = Re(e);
1144
1147
  return d ? {
1145
1148
  lat: (d.north + d.south) / 2,
1146
1149
  lng: (d.east + d.west) / 2
1147
1150
  } : { lat: 45.4642, lng: 9.19 };
1148
1151
  }, [e, n]);
1149
- return X(() => {
1150
- if (!h) return;
1151
- const d = Ne(e);
1152
- d && (h(d), H("serp_map_panned", { bounds: d }));
1153
- }, [e, h]), /* @__PURE__ */ t(
1152
+ return J(() => {
1153
+ if (!f) return;
1154
+ const d = Re(e);
1155
+ d && (f(d), B("serp_map_panned", { bounds: d }));
1156
+ }, [e, f]), /* @__PURE__ */ t(
1154
1157
  "div",
1155
1158
  {
1156
1159
  "data-component": "practice-results-map-panel",
1157
1160
  className: "ds:relative ds:flex ds:size-full ds:min-h-[24rem] ds:flex-col",
1158
1161
  children: /* @__PURE__ */ t(
1159
- dt,
1162
+ ot,
1160
1163
  {
1161
1164
  ref: p,
1162
1165
  apiKey: s ?? "",
@@ -1181,13 +1184,13 @@ function fe({
1181
1184
  }
1182
1185
  );
1183
1186
  }
1184
- function ge({
1187
+ function he({
1185
1188
  variantBodyProps: e
1186
1189
  }) {
1187
1190
  const { facets: n, value: i, onChange: s, heading: r, intro: a, totalCount: c, searchCentre: u } = e;
1188
- return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1191
+ return /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1189
1192
  /* @__PURE__ */ t(
1190
- _e,
1193
+ Fe,
1191
1194
  {
1192
1195
  heading: r,
1193
1196
  headingLevel: e.headingLevel,
@@ -1196,9 +1199,9 @@ function ge({
1196
1199
  searchCentreLabel: u == null ? void 0 : u.label
1197
1200
  }
1198
1201
  ),
1199
- n.length > 0 ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1202
+ n.length > 0 ? /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1200
1203
  /* @__PURE__ */ t(
1201
- ze,
1204
+ _e,
1202
1205
  {
1203
1206
  facets: n,
1204
1207
  value: i.facets,
@@ -1206,14 +1209,14 @@ function ge({
1206
1209
  }
1207
1210
  ),
1208
1211
  /* @__PURE__ */ t(
1209
- me,
1212
+ de,
1210
1213
  {
1211
1214
  value: i.sort ?? "relevance",
1212
1215
  onChange: (o) => s({ ...i, sort: o })
1213
1216
  }
1214
1217
  )
1215
1218
  ] }) : /* @__PURE__ */ t("div", { className: "ds:flex ds:justify-end", children: /* @__PURE__ */ t(
1216
- me,
1219
+ de,
1217
1220
  {
1218
1221
  value: i.sort ?? "relevance",
1219
1222
  onChange: (o) => s({ ...i, sort: o })
@@ -1221,44 +1224,44 @@ function ge({
1221
1224
  ) })
1222
1225
  ] });
1223
1226
  }
1224
- function ve(e) {
1227
+ function ge(e) {
1225
1228
  return Math.min(e + 1, 6);
1226
1229
  }
1227
- function be({
1230
+ function ve({
1228
1231
  headingLevel: e
1229
1232
  }) {
1230
- const { t: n } = w("ui");
1233
+ const { t: n } = C("ui");
1231
1234
  return /* @__PURE__ */ t(
1232
- ct,
1235
+ rt,
1233
1236
  {
1234
1237
  variant: "no-results",
1235
- headingLevel: ve(e),
1238
+ headingLevel: ge(e),
1236
1239
  title: n("practiceResults.empty.title"),
1237
1240
  description: n("practiceResults.empty.description")
1238
1241
  }
1239
1242
  );
1240
1243
  }
1241
- function xe({
1244
+ function be({
1242
1245
  onRetry: e,
1243
1246
  headingLevel: n
1244
1247
  }) {
1245
- const { t: i } = w("ui"), s = ve(n);
1246
- return /* @__PURE__ */ f(ee, { variant: "error", children: [
1247
- /* @__PURE__ */ t(ee.Title, { as: `h${s}`, children: i("practiceResults.error.title") }),
1248
- /* @__PURE__ */ t(ee.Description, { children: i("practiceResults.error.description") }),
1249
- e ? /* @__PURE__ */ t(ee.Action, { children: /* @__PURE__ */ t(
1250
- te,
1248
+ const { t: i } = C("ui"), s = ge(n);
1249
+ return /* @__PURE__ */ h(Y, { variant: "error", children: [
1250
+ /* @__PURE__ */ t(Y.Title, { as: `h${s}`, children: i("practiceResults.error.title") }),
1251
+ /* @__PURE__ */ t(Y.Description, { children: i("practiceResults.error.description") }),
1252
+ e ? /* @__PURE__ */ t(Y.Action, { children: /* @__PURE__ */ t(
1253
+ ee,
1251
1254
  {
1252
1255
  intent: "secondary",
1253
1256
  size: "sm",
1254
- startIcon: /* @__PURE__ */ t(vt, { "aria-hidden": "true" }),
1257
+ startIcon: /* @__PURE__ */ t(ft, { "aria-hidden": "true" }),
1255
1258
  onClick: e,
1256
1259
  children: i("practiceResults.error.retry")
1257
1260
  }
1258
1261
  ) }) : null
1259
1262
  ] });
1260
1263
  }
1261
- function Dt(e) {
1264
+ function Vt(e) {
1262
1265
  const {
1263
1266
  results: n,
1264
1267
  apiKey: i,
@@ -1268,7 +1271,7 @@ function Dt(e) {
1268
1271
  onLoadMore: c,
1269
1272
  loadingMore: u,
1270
1273
  loadingSkeletons: o,
1271
- emptyResultsSlot: h,
1274
+ emptyResultsSlot: f,
1272
1275
  errorSlot: l,
1273
1276
  error: m,
1274
1277
  onRetry: p,
@@ -1278,9 +1281,9 @@ function Dt(e) {
1278
1281
  consentGranted: k,
1279
1282
  onConsentRequest: y,
1280
1283
  onBoundsChange: d,
1281
- listContainerRef: S
1282
- } = e, { t: N } = w("ui"), [L, C] = pe(!1), F = m ? l ?? /* @__PURE__ */ t(xe, { onRetry: p, headingLevel: e.headingLevel }) : n.length === 0 && !o ? h ?? /* @__PURE__ */ t(be, { headingLevel: e.headingLevel }) : /* @__PURE__ */ t(
1283
- he,
1284
+ listContainerRef: w
1285
+ } = e, { t: P } = C("ui"), [S, F] = me(!1), _ = m ? l ?? /* @__PURE__ */ t(be, { onRetry: p, headingLevel: e.headingLevel }) : n.length === 0 && !o ? f ?? /* @__PURE__ */ t(ve, { headingLevel: e.headingLevel }) : /* @__PURE__ */ t(
1286
+ fe,
1284
1287
  {
1285
1288
  results: n,
1286
1289
  headingLevel: e.headingLevel,
@@ -1296,15 +1299,15 @@ function Dt(e) {
1296
1299
  loadingMore: u,
1297
1300
  loadingSkeletons: o,
1298
1301
  density: "compact",
1299
- containerRef: S
1302
+ containerRef: w
1300
1303
  }
1301
1304
  );
1302
- return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1303
- /* @__PURE__ */ t(ge, { variantBodyProps: e }),
1304
- /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:lg:grid ds:lg:grid-cols-[55fr_45fr] ds:lg:gap-[var(--spacing-lg)] ds:lg:items-start", children: [
1305
- /* @__PURE__ */ t("div", { className: "ds:min-w-0", children: F }),
1305
+ return /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1306
+ /* @__PURE__ */ t(he, { variantBodyProps: e }),
1307
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:lg:grid ds:lg:grid-cols-[55fr_45fr] ds:lg:gap-[var(--spacing-lg)] ds:lg:items-start", children: [
1308
+ /* @__PURE__ */ t("div", { className: "ds:min-w-0", children: _ }),
1306
1309
  /* @__PURE__ */ t("div", { className: "ds:hidden ds:lg:block ds:sticky ds:top-[var(--spacing-md)] ds:h-[40rem]", children: /* @__PURE__ */ t(
1307
- fe,
1310
+ ue,
1308
1311
  {
1309
1312
  results: n,
1310
1313
  searchCentre: a,
@@ -1312,8 +1315,8 @@ function Dt(e) {
1312
1315
  apiKey: i,
1313
1316
  mapId: s,
1314
1317
  highlightedId: b,
1315
- onPinClick: (A) => {
1316
- Q(n, A, "pin", e.onResultSelect), x(A);
1318
+ onPinClick: (L) => {
1319
+ Z(n, L, "pin", e.onResultSelect), x(L);
1317
1320
  },
1318
1321
  onPinHover: g,
1319
1322
  onPinFirstInteract: e.onPinFirstInteract,
@@ -1325,22 +1328,22 @@ function Dt(e) {
1325
1328
  ) })
1326
1329
  ] }),
1327
1330
  /* @__PURE__ */ t("div", { className: "ds:flex ds:lg:hidden ds:sticky ds:bottom-[var(--spacing-md)] ds:justify-center", children: /* @__PURE__ */ t(
1328
- te,
1331
+ ee,
1329
1332
  {
1330
1333
  intent: "primary",
1331
1334
  size: "md",
1332
- startIcon: /* @__PURE__ */ t(Ct, { "aria-hidden": "true" }),
1333
- onClick: () => C(!0),
1334
- children: N("practiceResults.viewMap")
1335
+ startIcon: /* @__PURE__ */ t(bt, { "aria-hidden": "true" }),
1336
+ onClick: () => F(!0),
1337
+ children: P("practiceResults.viewMap")
1335
1338
  }
1336
1339
  ) }),
1337
- /* @__PURE__ */ t(I.Root, { open: L, onOpenChange: C, children: /* @__PURE__ */ f(I.Content, { side: "bottom", size: "lg", children: [
1338
- /* @__PURE__ */ t(I.Header, { children: /* @__PURE__ */ t(I.Title, { children: N("practiceResults.map.label") }) }),
1339
- /* @__PURE__ */ f(I.Body, { children: [
1340
- /* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: N("practiceResults.sheet.description") }),
1341
- /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1340
+ /* @__PURE__ */ t(I.Root, { open: S, onOpenChange: F, children: /* @__PURE__ */ h(I.Content, { side: "bottom", size: "lg", children: [
1341
+ /* @__PURE__ */ t(I.Header, { children: /* @__PURE__ */ t(I.Title, { children: P("practiceResults.map.label") }) }),
1342
+ /* @__PURE__ */ h(I.Body, { children: [
1343
+ /* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: P("practiceResults.sheet.description") }),
1344
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1342
1345
  /* @__PURE__ */ t("div", { className: "ds:h-[20rem]", children: /* @__PURE__ */ t(
1343
- fe,
1346
+ ue,
1344
1347
  {
1345
1348
  results: n,
1346
1349
  searchCentre: a,
@@ -1348,8 +1351,8 @@ function Dt(e) {
1348
1351
  apiKey: i,
1349
1352
  mapId: s,
1350
1353
  highlightedId: b,
1351
- onPinClick: (A) => {
1352
- Q(n, A, "pin", e.onResultSelect), x(A);
1354
+ onPinClick: (L) => {
1355
+ Z(n, L, "pin", e.onResultSelect), x(L);
1353
1356
  },
1354
1357
  onPinHover: g,
1355
1358
  onPinFirstInteract: e.onPinFirstInteract,
@@ -1359,7 +1362,7 @@ function Dt(e) {
1359
1362
  mapHandleRef: e.mapHandleRef
1360
1363
  }
1361
1364
  ) }),
1362
- F
1365
+ _
1363
1366
  ] })
1364
1367
  ] })
1365
1368
  ] }) })
@@ -1369,40 +1372,40 @@ const Kt = {
1369
1372
  peek: "sm",
1370
1373
  half: "md",
1371
1374
  full: "lg"
1372
- }, U = [
1375
+ }, j = [
1373
1376
  "peek",
1374
1377
  "half",
1375
1378
  "full"
1376
1379
  ];
1377
1380
  function Et({ value: e, onChange: n }) {
1378
- const { t: i, i18n: s } = w("ui"), r = s.dir() === "rtl", a = T(
1381
+ const { t: i, i18n: s } = C("ui"), r = s.dir() === "rtl", a = T(
1379
1382
  /* @__PURE__ */ new Map()
1380
- ), c = $((o) => {
1381
- var h;
1382
- (h = a.current.get(o)) == null || h.focus();
1383
- }, []), u = $(
1384
- (o, h) => {
1385
- const l = U.indexOf(h), m = U.length, p = r ? "ArrowLeft" : "ArrowRight", b = r ? "ArrowRight" : "ArrowLeft";
1383
+ ), c = O((o) => {
1384
+ var f;
1385
+ (f = a.current.get(o)) == null || f.focus();
1386
+ }, []), u = O(
1387
+ (o, f) => {
1388
+ const l = j.indexOf(f), m = j.length, p = r ? "ArrowLeft" : "ArrowRight", b = r ? "ArrowRight" : "ArrowLeft";
1386
1389
  let g = null;
1387
1390
  switch (o.key) {
1388
1391
  case p:
1389
1392
  case "ArrowDown":
1390
- g = U[(l + 1) % m];
1393
+ g = j[(l + 1) % m];
1391
1394
  break;
1392
1395
  case b:
1393
1396
  case "ArrowUp":
1394
- g = U[(l - 1 + m) % m];
1397
+ g = j[(l - 1 + m) % m];
1395
1398
  break;
1396
1399
  case "Home":
1397
- g = U[0];
1400
+ g = j[0];
1398
1401
  break;
1399
1402
  case "End":
1400
- g = U[m - 1];
1403
+ g = j[m - 1];
1401
1404
  break;
1402
1405
  default:
1403
1406
  return;
1404
1407
  }
1405
- o.preventDefault(), g && g !== h && n(g), g && c(g);
1408
+ o.preventDefault(), g && g !== f && n(g), g && c(g);
1406
1409
  },
1407
1410
  [c, r, n]
1408
1411
  );
@@ -1412,8 +1415,8 @@ function Et({ value: e, onChange: n }) {
1412
1415
  role: "radiogroup",
1413
1416
  "aria-label": i("practiceResults.sheet.snap.label"),
1414
1417
  className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
1415
- children: U.map((o) => {
1416
- const h = e === o;
1418
+ children: j.map((o) => {
1419
+ const f = e === o;
1417
1420
  return /* @__PURE__ */ t(
1418
1421
  "button",
1419
1422
  {
@@ -1422,13 +1425,13 @@ function Et({ value: e, onChange: n }) {
1422
1425
  },
1423
1426
  type: "button",
1424
1427
  role: "radio",
1425
- "aria-checked": h,
1428
+ "aria-checked": f,
1426
1429
  "aria-label": i(`practiceResults.sheet.snap.${o}`),
1427
- tabIndex: h ? 0 : -1,
1430
+ tabIndex: f ? 0 : -1,
1428
1431
  onClick: () => n(o),
1429
1432
  onKeyDown: (l) => u(l, o),
1430
- className: ne({
1431
- state: h ? "active" : "idle"
1433
+ className: te({
1434
+ state: f ? "active" : "idle"
1432
1435
  }),
1433
1436
  children: i(`practiceResults.sheet.snap.${o}`)
1434
1437
  },
@@ -1448,7 +1451,7 @@ function jt(e) {
1448
1451
  onLoadMore: c,
1449
1452
  loadingMore: u,
1450
1453
  loadingSkeletons: o,
1451
- emptyResultsSlot: h,
1454
+ emptyResultsSlot: f,
1452
1455
  errorSlot: l,
1453
1456
  error: m,
1454
1457
  onRetry: p,
@@ -1458,12 +1461,12 @@ function jt(e) {
1458
1461
  consentGranted: k,
1459
1462
  onConsentRequest: y,
1460
1463
  onBoundsChange: d,
1461
- listContainerRef: S,
1462
- facets: N,
1463
- value: L,
1464
- onChange: C
1465
- } = e, { t: F } = w("ui"), [A, G] = pe("half"), Z = Kt[A], W = ft("(min-width: 1024px)"), E = m ? l ?? /* @__PURE__ */ t(xe, { onRetry: p, headingLevel: e.headingLevel }) : n.length === 0 && !o ? h ?? /* @__PURE__ */ t(be, { headingLevel: e.headingLevel }) : /* @__PURE__ */ t(
1466
- he,
1464
+ listContainerRef: w,
1465
+ facets: P,
1466
+ value: S,
1467
+ onChange: F
1468
+ } = e, { t: _ } = C("ui"), [L, q] = me("half"), U = Kt[L], G = dt("(min-width: 1024px)"), K = m ? l ?? /* @__PURE__ */ t(be, { onRetry: p, headingLevel: e.headingLevel }) : n.length === 0 && !o ? f ?? /* @__PURE__ */ t(ve, { headingLevel: e.headingLevel }) : /* @__PURE__ */ t(
1469
+ fe,
1467
1470
  {
1468
1471
  results: n,
1469
1472
  headingLevel: e.headingLevel,
@@ -1480,10 +1483,10 @@ function jt(e) {
1480
1483
  loadingSkeletons: o,
1481
1484
  density: "compact",
1482
1485
  apiKey: i,
1483
- containerRef: S
1486
+ containerRef: w
1484
1487
  }
1485
- ), j = /* @__PURE__ */ t(
1486
- fe,
1488
+ ), A = /* @__PURE__ */ t(
1489
+ ue,
1487
1490
  {
1488
1491
  results: n,
1489
1492
  searchCentre: a,
@@ -1491,8 +1494,8 @@ function jt(e) {
1491
1494
  apiKey: i,
1492
1495
  mapId: s,
1493
1496
  highlightedId: b,
1494
- onPinClick: (R) => {
1495
- Q(n, R, "pin", e.onResultSelect), x(R);
1497
+ onPinClick: (N) => {
1498
+ Z(n, N, "pin", e.onResultSelect), x(N);
1496
1499
  },
1497
1500
  onPinHover: g,
1498
1501
  onPinFirstInteract: e.onPinFirstInteract,
@@ -1501,16 +1504,16 @@ function jt(e) {
1501
1504
  onConsentRequest: y,
1502
1505
  mapHandleRef: e.mapHandleRef
1503
1506
  }
1504
- ), K = N.length > 0 ? /* @__PURE__ */ t("div", { className: "ds:absolute ds:start-[var(--spacing-md)] ds:top-[var(--spacing-md)] ds:max-w-[calc(100%-var(--spacing-lg))]", children: /* @__PURE__ */ t(
1505
- ze,
1507
+ ), W = P.length > 0 ? /* @__PURE__ */ t("div", { className: "ds:absolute ds:start-[var(--spacing-md)] ds:top-[var(--spacing-md)] ds:max-w-[calc(100%-var(--spacing-lg))]", children: /* @__PURE__ */ t(
1508
+ _e,
1506
1509
  {
1507
- facets: N,
1508
- value: L.facets,
1509
- onChange: (R) => C({ ...L, facets: R }),
1510
+ facets: P,
1511
+ value: S.facets,
1512
+ onChange: (N) => F({ ...S, facets: N }),
1510
1513
  floating: !0
1511
1514
  }
1512
1515
  ) }) : null;
1513
- return /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: W ? (
1516
+ return /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: G ? (
1514
1517
  // Desktop: 65/35 map left + cards rail right. NO Sheet (the
1515
1518
  // Sheet would portal to body and occlude the desktop layout
1516
1519
  // regardless of the parent's `lg:hidden` class).
@@ -1528,11 +1531,11 @@ function jt(e) {
1528
1531
  // the map column is `lg:sticky lg:h-[44rem]` (stays visible
1529
1532
  // as the patient scrolls cards) and the rail renders at
1530
1533
  // natural height. Single page scroll.
1531
- /* @__PURE__ */ f(rt, { children: [
1532
- /* @__PURE__ */ t(ge, { variantBodyProps: e }),
1533
- /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-[65fr_35fr] ds:gap-[var(--spacing-lg)] ds:items-start", children: [
1534
- /* @__PURE__ */ t("div", { className: "ds:sticky ds:top-[var(--spacing-md)] ds:h-[44rem]", children: j }),
1535
- /* @__PURE__ */ t("div", { className: "ds:min-w-0", children: E })
1534
+ /* @__PURE__ */ h(at, { children: [
1535
+ /* @__PURE__ */ t(he, { variantBodyProps: e }),
1536
+ /* @__PURE__ */ h("div", { className: "ds:grid ds:grid-cols-[65fr_35fr] ds:gap-[var(--spacing-lg)] ds:items-start", children: [
1537
+ /* @__PURE__ */ t("div", { className: "ds:sticky ds:top-[var(--spacing-md)] ds:h-[44rem]", children: A }),
1538
+ /* @__PURE__ */ t("div", { className: "ds:min-w-0", children: K })
1536
1539
  ] })
1537
1540
  ] })
1538
1541
  ) : (
@@ -1542,9 +1545,9 @@ function jt(e) {
1542
1545
  // via the snap radiogroup at the top of the sheet body. Filters
1543
1546
  // stay floating on mobile — the full-bleed map IS the viewport
1544
1547
  // chrome, so floating chips are the only place for them.
1545
- /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1548
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1546
1549
  /* @__PURE__ */ t(
1547
- _e,
1550
+ Fe,
1548
1551
  {
1549
1552
  heading: e.heading,
1550
1553
  headingLevel: e.headingLevel,
@@ -1553,40 +1556,40 @@ function jt(e) {
1553
1556
  searchCentreLabel: a == null ? void 0 : a.label
1554
1557
  }
1555
1558
  ),
1556
- /* @__PURE__ */ f("div", { className: "ds:relative ds:h-[60vh] ds:min-h-[20rem]", children: [
1557
- j,
1558
- K
1559
+ /* @__PURE__ */ h("div", { className: "ds:relative ds:h-[60vh] ds:min-h-[20rem]", children: [
1560
+ A,
1561
+ W
1559
1562
  ] }),
1560
1563
  /* @__PURE__ */ t(I.Root, { open: !0, children: /* @__PURE__ */ t(
1561
1564
  I.Content,
1562
1565
  {
1563
1566
  side: "bottom",
1564
- size: Z,
1565
- onEscapeKeyDown: (R) => R.preventDefault(),
1566
- onPointerDownOutside: (R) => R.preventDefault(),
1567
- onInteractOutside: (R) => R.preventDefault(),
1568
- children: /* @__PURE__ */ f(I.Body, { children: [
1569
- /* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: F("practiceResults.sheet.descriptionMapFirst") }),
1570
- /* @__PURE__ */ f("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: [
1571
- /* @__PURE__ */ t(I.Title, { className: "type-title-card ds:m-0 ds:text-[var(--foreground)]", children: F("practiceResults.sheet.title", {
1567
+ size: U,
1568
+ onEscapeKeyDown: (N) => N.preventDefault(),
1569
+ onPointerDownOutside: (N) => N.preventDefault(),
1570
+ onInteractOutside: (N) => N.preventDefault(),
1571
+ children: /* @__PURE__ */ h(I.Body, { children: [
1572
+ /* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: _("practiceResults.sheet.descriptionMapFirst") }),
1573
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: [
1574
+ /* @__PURE__ */ t(I.Title, { className: "type-title-card ds:m-0 ds:text-[var(--foreground)]", children: _("practiceResults.sheet.title", {
1572
1575
  count: e.totalCount ?? n.length
1573
1576
  }) }),
1574
1577
  /* @__PURE__ */ t(
1575
1578
  Et,
1576
1579
  {
1577
- value: A,
1578
- onChange: G
1580
+ value: L,
1581
+ onChange: q
1579
1582
  }
1580
1583
  )
1581
1584
  ] }),
1582
1585
  /* @__PURE__ */ t("div", { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ t(
1583
- me,
1586
+ de,
1584
1587
  {
1585
- value: L.sort ?? "relevance",
1586
- onChange: (R) => C({ ...L, sort: R })
1588
+ value: S.sort ?? "relevance",
1589
+ onChange: (N) => F({ ...S, sort: N })
1587
1590
  }
1588
1591
  ) }),
1589
- E
1592
+ K
1590
1593
  ] })
1591
1594
  }
1592
1595
  ) })
@@ -1603,12 +1606,12 @@ function qt(e) {
1603
1606
  emptyResultsSlot: c,
1604
1607
  errorSlot: u,
1605
1608
  error: o,
1606
- onRetry: h,
1609
+ onRetry: f,
1607
1610
  highlightedId: l,
1608
1611
  onCardHover: m,
1609
1612
  listContainerRef: p
1610
- } = e, b = o ? u ?? /* @__PURE__ */ t(xe, { onRetry: h, headingLevel: e.headingLevel }) : n.length === 0 && !a ? c ?? /* @__PURE__ */ t(be, { headingLevel: e.headingLevel }) : /* @__PURE__ */ t(
1611
- he,
1613
+ } = e, b = o ? u ?? /* @__PURE__ */ t(be, { onRetry: f, headingLevel: e.headingLevel }) : n.length === 0 && !a ? c ?? /* @__PURE__ */ t(ve, { headingLevel: e.headingLevel }) : /* @__PURE__ */ t(
1614
+ fe,
1612
1615
  {
1613
1616
  results: n,
1614
1617
  headingLevel: e.headingLevel,
@@ -1628,12 +1631,12 @@ function qt(e) {
1628
1631
  containerRef: p
1629
1632
  }
1630
1633
  );
1631
- return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1632
- /* @__PURE__ */ t(ge, { variantBodyProps: e }),
1634
+ return /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1635
+ /* @__PURE__ */ t(he, { variantBodyProps: e }),
1633
1636
  b
1634
1637
  ] });
1635
1638
  }
1636
- const Ut = ot(function({
1639
+ const Ut = it(function({
1637
1640
  variant: n = "split-list-map",
1638
1641
  results: i,
1639
1642
  totalCount: s,
@@ -1641,8 +1644,8 @@ const Ut = ot(function({
1641
1644
  facets: a,
1642
1645
  googleMapsApiKey: c,
1643
1646
  mapId: u,
1644
- defaultZoom: o = Rt,
1645
- onBoundsChange: h,
1647
+ defaultZoom: o = yt,
1648
+ onBoundsChange: f,
1646
1649
  consentGranted: l,
1647
1650
  onConsentRequest: m,
1648
1651
  skipConsentGate: p = !1,
@@ -1652,44 +1655,44 @@ const Ut = ot(function({
1652
1655
  onChange: k,
1653
1656
  onResultSelect: y,
1654
1657
  loading: d,
1655
- emptyResultsSlot: S,
1656
- errorSlot: N,
1657
- error: L,
1658
- onRetry: C,
1659
- heading: F,
1660
- headingLevel: A = 2,
1661
- intro: G,
1662
- cardOpenButtonLabel: Z,
1663
- cardBookButtonLabel: W,
1664
- showCardOpenButton: E = !0,
1665
- "aria-label": j,
1666
- id: K,
1667
- className: R,
1668
- ...B
1669
- }, qe) {
1670
- const { t: ie, i18n: ye } = w("ui"), [Ue, J] = pe(null), Y = T(/* @__PURE__ */ new Set()), se = T(/* @__PURE__ */ new Set()), Ge = T(null), re = T(null), oe = M(
1658
+ emptyResultsSlot: w,
1659
+ errorSlot: P,
1660
+ error: S,
1661
+ onRetry: F,
1662
+ heading: _,
1663
+ headingLevel: L = 2,
1664
+ intro: q,
1665
+ cardOpenButtonLabel: U,
1666
+ cardBookButtonLabel: G,
1667
+ showCardOpenButton: K = !0,
1668
+ "aria-label": A,
1669
+ id: W,
1670
+ className: N,
1671
+ ...Ve
1672
+ }, Ke) {
1673
+ const { t: ne, i18n: xe } = C("ui"), [Ee, Q] = me(null), X = T(/* @__PURE__ */ new Set()), ae = T(/* @__PURE__ */ new Set()), je = T(null), ie = T(null), se = M(
1671
1674
  () => ({
1672
1675
  getVariant: () => n,
1673
1676
  scrollToResult: (v) => {
1674
- const z = re.current;
1677
+ const z = ie.current;
1675
1678
  if (!z) return;
1676
- const P = z.querySelector(
1679
+ const R = z.querySelector(
1677
1680
  `[data-component="practice-result-card"][data-result-id="${CSS.escape(v)}"]`
1678
1681
  );
1679
- P && (P.scrollIntoView({ behavior: "smooth", block: "nearest" }), J(v));
1682
+ R && (R.scrollIntoView({ behavior: "smooth", block: "nearest" }), Q(v));
1680
1683
  },
1681
1684
  focusPin: (v) => {
1682
- J(v);
1685
+ Q(v);
1683
1686
  }
1684
1687
  }),
1685
1688
  [n]
1686
1689
  );
1687
- lt(qe, () => oe, [oe]), ht(wt, oe, K);
1688
- const Ze = E ? Z ?? ie("practiceResults.card.open") : void 0, We = W ?? ie("practiceResults.card.book"), Qe = $(
1690
+ st(Ke, () => se, [se]), mt(xt, se, W);
1691
+ const qe = K ? U ?? ne("practiceResults.card.open") : void 0, Ue = G ?? ne("practiceResults.card.book"), Ge = O(
1689
1692
  (v) => {
1690
1693
  if (v.nextAvailableSlot)
1691
1694
  try {
1692
- return new Intl.DateTimeFormat(ye.language, {
1695
+ return new Intl.DateTimeFormat(xe.language, {
1693
1696
  weekday: "short",
1694
1697
  hour: "numeric",
1695
1698
  minute: "numeric"
@@ -1698,90 +1701,90 @@ const Ut = ot(function({
1698
1701
  return v.nextAvailableSlot.dateTime;
1699
1702
  }
1700
1703
  },
1701
- [ye.language]
1702
- ), ke = T(null);
1703
- X(() => {
1704
- ke.current !== n && (ke.current = n, H("serp_variant_exposed", {
1704
+ [xe.language]
1705
+ ), ye = T(null);
1706
+ J(() => {
1707
+ ye.current !== n && (ye.current = n, B("serp_variant_exposed", {
1705
1708
  variant: n,
1706
1709
  totalCount: s ?? i.length
1707
- }), Y.current = /* @__PURE__ */ new Set(), se.current = /* @__PURE__ */ new Set());
1710
+ }), X.current = /* @__PURE__ */ new Set(), ae.current = /* @__PURE__ */ new Set());
1708
1711
  }, [n]);
1709
- const le = T(!1), ce = M(
1710
- () => Lt(a ?? [], i, x.facets),
1712
+ const re = T(!1), oe = M(
1713
+ () => Ct(a ?? [], i, x.facets),
1711
1714
  [a, i, x.facets]
1712
- ), de = x.sort ?? (r ? "distance" : "relevance"), _ = M(() => {
1713
- const v = Pt(i, x.facets, ce);
1714
- return At(v, de, r);
1715
- }, [i, x.facets, ce, de, r]);
1716
- X(() => {
1717
- const v = _.length === 0;
1718
- v && !le.current ? (H("serp_empty_results", {
1715
+ ), le = x.sort ?? (r ? "distance" : "relevance"), H = M(() => {
1716
+ const v = Rt(i, x.facets, oe);
1717
+ return Nt(v, le, r);
1718
+ }, [i, x.facets, oe, le, r]);
1719
+ J(() => {
1720
+ const v = H.length === 0;
1721
+ v && !re.current ? (B("serp_empty_results", {
1719
1722
  appliedFacets: x.facets ?? {}
1720
- }), le.current = !0) : v || (le.current = !1);
1721
- }, [_.length, x.facets]);
1722
- const q = T(null), Ce = T(null);
1723
- X(
1723
+ }), re.current = !0) : v || (re.current = !1);
1724
+ }, [H.length, x.facets]);
1725
+ const E = T(null), we = T(null);
1726
+ J(
1724
1727
  () => () => {
1725
- q.current && clearTimeout(q.current);
1728
+ E.current && clearTimeout(E.current);
1726
1729
  },
1727
1730
  []
1728
1731
  );
1729
- const Je = $((v) => {
1730
- J(v), !Y.current.has(v) && (Ce.current === v && q.current || (q.current && clearTimeout(q.current), Ce.current = v, q.current = setTimeout(() => {
1731
- Y.current.has(v) || (Y.current.add(v), H("serp_result_hovered_card", { resultId: v })), q.current = null;
1732
+ const Ze = O((v) => {
1733
+ Q(v), !X.current.has(v) && (we.current === v && E.current || (E.current && clearTimeout(E.current), we.current = v, E.current = setTimeout(() => {
1734
+ X.current.has(v) || (X.current.add(v), B("serp_result_hovered_card", { resultId: v })), E.current = null;
1732
1735
  }, 500)));
1733
- }, []), Xe = $((v) => {
1734
- J(v);
1735
- const z = re.current;
1736
+ }, []), We = O((v) => {
1737
+ Q(v);
1738
+ const z = ie.current;
1736
1739
  if (!z) return;
1737
- const P = z.querySelector(
1740
+ const R = z.querySelector(
1738
1741
  `[data-component="practice-result-card"][data-result-id="${CSS.escape(v)}"]`
1739
1742
  );
1740
- P == null || P.scrollIntoView({ behavior: "smooth", block: "nearest" });
1741
- }, []), Ye = $((v) => {
1742
- se.current.has(v) || (se.current.add(v), H("serp_result_hovered_pin", { resultId: v }));
1743
- }, []), we = T(null), et = $(
1743
+ R == null || R.scrollIntoView({ behavior: "smooth", block: "nearest" });
1744
+ }, []), Qe = O((v) => {
1745
+ ae.current.has(v) || (ae.current.add(v), B("serp_result_hovered_pin", { resultId: v }));
1746
+ }, []), ke = T(null), Je = O(
1744
1747
  (v) => {
1745
- J(v);
1746
- const z = _.find((P) => P.id === v);
1748
+ Q(v);
1749
+ const z = H.find((R) => R.id === v);
1747
1750
  if (z) {
1748
1751
  if (z.location) {
1749
- const P = we.current;
1750
- P == null || P.panTo({
1752
+ const R = ke.current;
1753
+ R == null || R.panTo({
1751
1754
  lat: z.location.lat,
1752
1755
  lng: z.location.lng
1753
- }), P == null || P.setZoom(16);
1756
+ }), R == null || R.setZoom(16);
1754
1757
  }
1755
- Q(_, v, "card", y);
1758
+ Z(H, v, "card", y);
1756
1759
  }
1757
1760
  },
1758
- [_, y]
1759
- ), tt = $(
1761
+ [H, y]
1762
+ ), Xe = O(
1760
1763
  (v) => {
1761
- Q(
1762
- _,
1764
+ Z(
1765
+ H,
1763
1766
  v,
1764
1767
  "open-button",
1765
1768
  y
1766
1769
  );
1767
1770
  },
1768
- [_, y]
1769
- ), nt = $(
1771
+ [H, y]
1772
+ ), Ye = O(
1770
1773
  (v) => {
1771
- Q(
1772
- _,
1774
+ Z(
1775
+ H,
1773
1776
  v,
1774
1777
  "book-button",
1775
1778
  y
1776
1779
  );
1777
1780
  },
1778
- [_, y]
1779
- ), at = !!d && i.length === 0, ue = {
1780
- results: _,
1781
+ [H, y]
1782
+ ), et = !!d && i.length === 0, ce = {
1783
+ results: H,
1781
1784
  totalCount: s,
1782
1785
  searchCentre: r,
1783
- facets: ce,
1784
- value: { ...x, sort: de },
1786
+ facets: oe,
1787
+ value: { ...x, sort: le },
1785
1788
  onChange: k,
1786
1789
  onResultSelect: y,
1787
1790
  onLoadMore: b,
@@ -1796,57 +1799,57 @@ const Ut = ot(function({
1796
1799
  // because no placeholder renders — nothing to fire it from.
1797
1800
  consentGranted: p ? !0 : l,
1798
1801
  onConsentRequest: p ? void 0 : m,
1799
- onBoundsChange: h,
1800
- loadingSkeletons: at,
1801
- emptyResultsSlot: S,
1802
- errorSlot: N,
1803
- error: L,
1804
- onRetry: C,
1805
- heading: F,
1806
- headingLevel: A,
1807
- intro: G,
1808
- highlightedId: Ue,
1809
- onCardHover: Je,
1810
- onPinClick: Xe,
1811
- onPinFirstInteract: Ye,
1812
- onCardSelect: et,
1813
- onCardOpenClick: tt,
1814
- onCardBookClick: nt,
1815
- openLabel: Ze,
1816
- bookLabel: We,
1817
- formatNextSlot: Qe,
1818
- listContainerRef: Ge,
1819
- mapHandleRef: we
1820
- }, it = (() => {
1802
+ onBoundsChange: f,
1803
+ loadingSkeletons: et,
1804
+ emptyResultsSlot: w,
1805
+ errorSlot: P,
1806
+ error: S,
1807
+ onRetry: F,
1808
+ heading: _,
1809
+ headingLevel: L,
1810
+ intro: q,
1811
+ highlightedId: Ee,
1812
+ onCardHover: Ze,
1813
+ onPinClick: We,
1814
+ onPinFirstInteract: Qe,
1815
+ onCardSelect: Je,
1816
+ onCardOpenClick: Xe,
1817
+ onCardBookClick: Ye,
1818
+ openLabel: qe,
1819
+ bookLabel: Ue,
1820
+ formatNextSlot: Ge,
1821
+ listContainerRef: je,
1822
+ mapHandleRef: ke
1823
+ }, tt = (() => {
1821
1824
  switch (n) {
1822
1825
  case "map-first":
1823
- return /* @__PURE__ */ t(jt, { ...ue });
1826
+ return /* @__PURE__ */ t(jt, { ...ce });
1824
1827
  case "rich-cards":
1825
- return /* @__PURE__ */ t(qt, { ...ue });
1828
+ return /* @__PURE__ */ t(qt, { ...ce });
1826
1829
  case "split-list-map":
1827
1830
  default:
1828
- return /* @__PURE__ */ t(Dt, { ...ue });
1831
+ return /* @__PURE__ */ t(Vt, { ...ce });
1829
1832
  }
1830
- })(), st = j ?? ie("practiceResults.regionLabel");
1833
+ })(), nt = A ?? ne("practiceResults.regionLabel");
1831
1834
  return /* @__PURE__ */ t(
1832
1835
  "div",
1833
1836
  {
1834
- ref: re,
1837
+ ref: ie,
1835
1838
  role: "region",
1836
- "aria-label": st,
1837
- id: K,
1839
+ "aria-label": nt,
1840
+ id: W,
1838
1841
  "data-component": "practice-results",
1839
- "data-component-id": K,
1842
+ "data-component-id": W,
1840
1843
  "data-variant": n,
1841
- className: Mt({ variant: n, className: R }),
1842
- ...B,
1843
- children: it
1844
+ className: St({ variant: n, className: N }),
1845
+ ...Ve,
1846
+ children: tt
1844
1847
  }
1845
1848
  );
1846
1849
  });
1847
1850
  Ut.displayName = "PracticeResults";
1848
1851
  export {
1849
1852
  Ut as P,
1850
- wt as p
1853
+ xt as p
1851
1854
  };
1852
- //# sourceMappingURL=practice-results-B61krlwu.js.map
1855
+ //# sourceMappingURL=practice-results-CQ_KvEXK.js.map