@alfadocs/ui-kit-debug 0.71.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/accordion-C11v9ouP.js +250 -0
- package/dist/_chunks/accordion-C11v9ouP.js.map +1 -0
- package/dist/_chunks/address-autocomplete-Bq-1n1UX.js +496 -0
- package/dist/_chunks/address-autocomplete-Bq-1n1UX.js.map +1 -0
- package/dist/_chunks/address-fields-COyjgqxA.js +246 -0
- package/dist/_chunks/address-fields-COyjgqxA.js.map +1 -0
- package/dist/_chunks/agenda-card-BCGaQazD.js +147 -0
- package/dist/_chunks/agenda-card-BCGaQazD.js.map +1 -0
- package/dist/_chunks/agenda-tray-loL2A3Cx.js +215 -0
- package/dist/_chunks/agenda-tray-loL2A3Cx.js.map +1 -0
- package/dist/_chunks/ai-consent-banner-Bke9m8VS.js +170 -0
- package/dist/_chunks/ai-consent-banner-Bke9m8VS.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-TVI95hJD.js +500 -0
- package/dist/_chunks/ai-prompt-input-TVI95hJD.js.map +1 -0
- package/dist/_chunks/alert-KJbsPYkI.js +314 -0
- package/dist/_chunks/alert-KJbsPYkI.js.map +1 -0
- package/dist/_chunks/alia-sidebar-BV5lBSFR.js +1183 -0
- package/dist/_chunks/alia-sidebar-BV5lBSFR.js.map +1 -0
- package/dist/_chunks/anamnesis-card-CWO4Ui9c.js +156 -0
- package/dist/_chunks/anamnesis-card-CWO4Ui9c.js.map +1 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js.map +1 -1
- package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js +413 -0
- package/dist/_chunks/antenatal-schedule-timeline-CY-VsLok.js.map +1 -0
- package/dist/_chunks/appointment-card-Cy4FOkGP.js +311 -0
- package/dist/_chunks/appointment-card-Cy4FOkGP.js.map +1 -0
- package/dist/_chunks/appointment-timeline-BWAPPk8F.js +388 -0
- package/dist/_chunks/appointment-timeline-BWAPPk8F.js.map +1 -0
- package/dist/_chunks/appointment-tray-D3mk04TT.js +193 -0
- package/dist/_chunks/appointment-tray-D3mk04TT.js.map +1 -0
- package/dist/_chunks/ar-BOqyIfoY.js +399 -0
- package/dist/_chunks/ar-BOqyIfoY.js.map +1 -0
- package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
- package/dist/_chunks/astroid-BN4f5VXU.js.map +1 -0
- package/dist/_chunks/audio-recorder-BbjG55dP.js +450 -0
- package/dist/_chunks/audio-recorder-BbjG55dP.js.map +1 -0
- package/dist/_chunks/bishop-score-C6eoak_j.js +304 -0
- package/dist/_chunks/bishop-score-C6eoak_j.js.map +1 -0
- package/dist/_chunks/bmi-calculator-BmQfoEGP.js +434 -0
- package/dist/_chunks/bmi-calculator-BmQfoEGP.js.map +1 -0
- package/dist/_chunks/booking-B62CMY5k.js +2695 -0
- package/dist/_chunks/booking-B62CMY5k.js.map +1 -0
- package/dist/_chunks/breadcrumb-agut0PwN.js +393 -0
- package/dist/_chunks/breadcrumb-agut0PwN.js.map +1 -0
- package/dist/_chunks/calculator-dialog-DuXMQSdm.js +40 -0
- package/dist/_chunks/calculator-dialog-DuXMQSdm.js.map +1 -0
- package/dist/_chunks/calendar-DeAlFPsF.js +1050 -0
- package/dist/_chunks/calendar-DeAlFPsF.js.map +1 -0
- package/dist/_chunks/calendar-clock-hbObjfGY.js +19 -0
- package/dist/_chunks/calendar-clock-hbObjfGY.js.map +1 -0
- package/dist/_chunks/calendar-days-BGWklvE-.js +23 -0
- package/dist/_chunks/calendar-days-BGWklvE-.js.map +1 -0
- package/dist/_chunks/care-plan-card-DhXbfGzE.js +256 -0
- package/dist/_chunks/care-plan-card-DhXbfGzE.js.map +1 -0
- package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js +322 -0
- package/dist/_chunks/care-plan-entry-card-D3YGD6rj.js.map +1 -0
- package/dist/_chunks/care-plan-header-DtQxyfOb.js +198 -0
- package/dist/_chunks/care-plan-header-DtQxyfOb.js.map +1 -0
- package/dist/_chunks/carousel.agent-j7hWxJWr.js +1754 -0
- package/dist/_chunks/carousel.agent-j7hWxJWr.js.map +1 -0
- package/dist/_chunks/chat-container-BVCoN06N.js +234 -0
- package/dist/_chunks/chat-container-BVCoN06N.js.map +1 -0
- package/dist/_chunks/chat-input-Btq_uuMZ.js +368 -0
- package/dist/_chunks/chat-input-Btq_uuMZ.js.map +1 -0
- package/dist/_chunks/chat-message-DXjjM8z9.js +239 -0
- package/dist/_chunks/chat-message-DXjjM8z9.js.map +1 -0
- package/dist/_chunks/check-DrFSN__t.js +12 -0
- package/dist/_chunks/check-DrFSN__t.js.map +1 -0
- package/dist/_chunks/checkbox-group-CfqMv57d.js +213 -0
- package/dist/_chunks/checkbox-group-CfqMv57d.js.map +1 -0
- package/dist/_chunks/chevron-down-DWE7GSq9.js +12 -0
- package/dist/_chunks/chevron-down-DWE7GSq9.js.map +1 -0
- package/dist/_chunks/chevron-left-B8cOyH-V.js +12 -0
- package/dist/_chunks/chevron-left-B8cOyH-V.js.map +1 -0
- package/dist/_chunks/chevron-right-I9AeSxH2.js +12 -0
- package/dist/_chunks/chevron-right-I9AeSxH2.js.map +1 -0
- package/dist/_chunks/chevron-up-umRGgtJA.js +12 -0
- package/dist/_chunks/chevron-up-umRGgtJA.js.map +1 -0
- package/dist/_chunks/chevrons-right-DIHg7Xqi.js +26 -0
- package/dist/_chunks/chevrons-right-DIHg7Xqi.js.map +1 -0
- package/dist/_chunks/circle-alert-rGDZ73Wh.js +16 -0
- package/dist/_chunks/circle-alert-rGDZ73Wh.js.map +1 -0
- package/dist/_chunks/circle-check-BN6rz4NV.js +15 -0
- package/dist/_chunks/circle-check-BN6rz4NV.js.map +1 -0
- package/dist/_chunks/circle-j7oZoouK.js +12 -0
- package/dist/_chunks/circle-j7oZoouK.js.map +1 -0
- package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
- package/dist/_chunks/circle-x-W8Enq3i4.js.map +1 -0
- package/dist/_chunks/city-input-towzBenY.js +169 -0
- package/dist/_chunks/city-input-towzBenY.js.map +1 -0
- package/dist/_chunks/clinical-note-card-C7F_24IC.js +436 -0
- package/dist/_chunks/clinical-note-card-C7F_24IC.js.map +1 -0
- package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
- package/dist/_chunks/clipboard-check-BeAGxDVT.js.map +1 -0
- package/dist/_chunks/clock-Drd4Wtis.js +15 -0
- package/dist/_chunks/clock-Drd4Wtis.js.map +1 -0
- package/dist/_chunks/code-block-Cwi7e3HM.js +106 -0
- package/dist/_chunks/code-block-Cwi7e3HM.js.map +1 -0
- package/dist/_chunks/color-picker-D-tUwxxT.js +718 -0
- package/dist/_chunks/color-picker-D-tUwxxT.js.map +1 -0
- package/dist/_chunks/columns-2-8lq4-b8e.js +15 -0
- package/dist/_chunks/columns-2-8lq4-b8e.js.map +1 -0
- package/dist/_chunks/combobox-DiMLItyu.js +513 -0
- package/dist/_chunks/combobox-DiMLItyu.js.map +1 -0
- package/dist/_chunks/command-palette-DQl_SNEv.js +473 -0
- package/dist/_chunks/command-palette-DQl_SNEv.js.map +1 -0
- package/dist/_chunks/connection-status-0HajXMXM.js +108 -0
- package/dist/_chunks/connection-status-0HajXMXM.js.map +1 -0
- package/dist/_chunks/contact-card-0hnFJwrz.js +121 -0
- package/dist/_chunks/contact-card-0hnFJwrz.js.map +1 -0
- package/dist/_chunks/contact-profile-card-IggiUVpN.js +333 -0
- package/dist/_chunks/contact-profile-card-IggiUVpN.js.map +1 -0
- package/dist/_chunks/control-room-rail-DaGcsdZ6.js +333 -0
- package/dist/_chunks/control-room-rail-DaGcsdZ6.js.map +1 -0
- package/dist/_chunks/copy-field-PAp0-Wr5.js +268 -0
- package/dist/_chunks/copy-field-PAp0-Wr5.js.map +1 -0
- package/dist/_chunks/copy-vRpqqHtY.js +15 -0
- package/dist/_chunks/copy-vRpqqHtY.js.map +1 -0
- package/dist/_chunks/country-select-DYHDLEjG.js +709 -0
- package/dist/_chunks/country-select-DYHDLEjG.js.map +1 -0
- package/dist/_chunks/createLucideIcon-DhHxpK9K.js +117 -0
- package/dist/_chunks/createLucideIcon-DhHxpK9K.js.map +1 -0
- package/dist/_chunks/cycle-calculator-BNILyVas.js +252 -0
- package/dist/_chunks/cycle-calculator-BNILyVas.js.map +1 -0
- package/dist/_chunks/date-picker-CVkD_lOi.js +1845 -0
- package/dist/_chunks/date-picker-CVkD_lOi.js.map +1 -0
- package/dist/_chunks/date-picker-variants-DLg-ZrIo.js +3224 -0
- package/dist/_chunks/date-picker-variants-DLg-ZrIo.js.map +1 -0
- package/dist/_chunks/date-range-picker-Dw12DgV8.js +324 -0
- package/dist/_chunks/date-range-picker-Dw12DgV8.js.map +1 -0
- package/dist/_chunks/date-time-picker-Cd_OJtOy.js +336 -0
- package/dist/_chunks/date-time-picker-Cd_OJtOy.js.map +1 -0
- package/dist/_chunks/de-DFLsUxeV.js +477 -0
- package/dist/_chunks/de-DFLsUxeV.js.map +1 -0
- package/dist/_chunks/dependent-selector-DyFpdzZV.js +338 -0
- package/dist/_chunks/dependent-selector-DyFpdzZV.js.map +1 -0
- package/dist/_chunks/description-list-CmBVxIF5.js +319 -0
- package/dist/_chunks/description-list-CmBVxIF5.js.map +1 -0
- package/dist/_chunks/dialog-UbKJCi1X.js +230 -0
- package/dist/_chunks/dialog-UbKJCi1X.js.map +1 -0
- package/dist/_chunks/document-scanner-B23j4w7X.js +711 -0
- package/dist/_chunks/document-scanner-B23j4w7X.js.map +1 -0
- package/dist/_chunks/download-CfYKJO_j.js +16 -0
- package/dist/_chunks/download-CfYKJO_j.js.map +1 -0
- package/dist/_chunks/dropdown-menu-DU-Hrf33.js +355 -0
- package/dist/_chunks/dropdown-menu-DU-Hrf33.js.map +1 -0
- package/dist/_chunks/due-date-calculator-CmdAl_JO.js +256 -0
- package/dist/_chunks/due-date-calculator-CmdAl_JO.js.map +1 -0
- package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js +410 -0
- package/dist/_chunks/editable-currency-cell-renderer-z9fJFw6Z.js.map +1 -0
- package/dist/_chunks/editor-overlay-BIOzr8v7.js +88 -0
- package/dist/_chunks/editor-overlay-BIOzr8v7.js.map +1 -0
- package/dist/_chunks/el-OVjBKytp.js +373 -0
- package/dist/_chunks/el-OVjBKytp.js.map +1 -0
- package/dist/_chunks/ellipsis-dRo9ouSU.js +16 -0
- package/dist/_chunks/ellipsis-dRo9ouSU.js.map +1 -0
- package/dist/_chunks/email-input-Dpe63k0K.js +397 -0
- package/dist/_chunks/email-input-Dpe63k0K.js.map +1 -0
- package/dist/_chunks/entity-card-9_62gY7l.js +87 -0
- package/dist/_chunks/entity-card-9_62gY7l.js.map +1 -0
- package/dist/_chunks/entity-summary-DpGziDv5.js +277 -0
- package/dist/_chunks/entity-summary-DpGziDv5.js.map +1 -0
- package/dist/_chunks/es-DKDNrHXG.js +373 -0
- package/dist/_chunks/es-DKDNrHXG.js.map +1 -0
- package/dist/_chunks/external-link-CY6zAXXU.js +16 -0
- package/dist/_chunks/external-link-CY6zAXXU.js.map +1 -0
- package/dist/_chunks/eye-BjhN2nYf.js +21 -0
- package/dist/_chunks/eye-BjhN2nYf.js.map +1 -0
- package/dist/_chunks/eye-off-C_4xkbRP.js +29 -0
- package/dist/_chunks/eye-off-C_4xkbRP.js.map +1 -0
- package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
- package/dist/_chunks/face-scheme-DOZO3M_c.js.map +1 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js.map +1 -0
- package/dist/_chunks/fetal-weight-CVAH8sJ3.js +122 -0
- package/dist/_chunks/fetal-weight-CVAH8sJ3.js.map +1 -0
- package/dist/_chunks/field-array-CDzc3hTM.js +146 -0
- package/dist/_chunks/field-array-CDzc3hTM.js.map +1 -0
- package/dist/_chunks/field-value-Dj3i52H2.js +415 -0
- package/dist/_chunks/field-value-Dj3i52H2.js.map +1 -0
- package/dist/_chunks/file-spreadsheet-DmwyfV4O.js +25 -0
- package/dist/_chunks/file-spreadsheet-DmwyfV4O.js.map +1 -0
- package/dist/_chunks/file-text-5yv6r2ls.js +24 -0
- package/dist/_chunks/file-text-5yv6r2ls.js.map +1 -0
- package/dist/_chunks/file-upload-Kw1rdvFw.js +819 -0
- package/dist/_chunks/file-upload-Kw1rdvFw.js.map +1 -0
- package/dist/_chunks/finished-terminal-Di4gtZ50.js +122 -0
- package/dist/_chunks/finished-terminal-Di4gtZ50.js.map +1 -0
- package/dist/_chunks/fiscal-code-input-DKNXFXs3.js +553 -0
- package/dist/_chunks/fiscal-code-input-DKNXFXs3.js.map +1 -0
- package/dist/_chunks/form-field-M5UpX65Z.js +123 -0
- package/dist/_chunks/form-field-M5UpX65Z.js.map +1 -0
- package/dist/_chunks/fr-BfMvQh-v.js +338 -0
- package/dist/_chunks/fr-BfMvQh-v.js.map +1 -0
- package/dist/_chunks/freemium-paywall-DFoeedwh.js +275 -0
- package/dist/_chunks/freemium-paywall-DFoeedwh.js.map +1 -0
- package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js +311 -0
- package/dist/_chunks/gestational-age-calculator-BwCBPAGX.js.map +1 -0
- package/dist/_chunks/globe-sHBW1JN5.js +16 -0
- package/dist/_chunks/globe-sHBW1JN5.js.map +1 -0
- package/dist/_chunks/grip-vertical-onSb1JXO.js +19 -0
- package/dist/_chunks/grip-vertical-onSb1JXO.js.map +1 -0
- package/dist/_chunks/hash-CSQ9SChR.js +17 -0
- package/dist/_chunks/hash-CSQ9SChR.js.map +1 -0
- package/dist/_chunks/hcg-doubling-CSsWxEJc.js +170 -0
- package/dist/_chunks/hcg-doubling-CSsWxEJc.js.map +1 -0
- package/dist/_chunks/header-DaXWDw0M.js +297 -0
- package/dist/_chunks/header-DaXWDw0M.js.map +1 -0
- package/dist/_chunks/header-settings-B0G_u-wV.js +284 -0
- package/dist/_chunks/header-settings-B0G_u-wV.js.map +1 -0
- package/dist/_chunks/heart--qCA4ffe.js +20 -0
- package/dist/_chunks/heart--qCA4ffe.js.map +1 -0
- package/dist/_chunks/heart-pulse-BCppJyN2.js +21 -0
- package/dist/_chunks/heart-pulse-BCppJyN2.js.map +1 -0
- package/dist/_chunks/hi-C0GEMwlD.js +433 -0
- package/dist/_chunks/hi-C0GEMwlD.js.map +1 -0
- package/dist/_chunks/iban-input-DXIA8Ln_.js +436 -0
- package/dist/_chunks/iban-input-DXIA8Ln_.js.map +1 -0
- package/dist/_chunks/icon-picker-Di6uYDG-.js +272 -0
- package/dist/_chunks/icon-picker-Di6uYDG-.js.map +1 -0
- package/dist/_chunks/image-B_5MNK0x.js +16 -0
- package/dist/_chunks/image-B_5MNK0x.js.map +1 -0
- package/dist/_chunks/image-cropper-CdmWFrMC.js +367 -0
- package/dist/_chunks/image-cropper-CdmWFrMC.js.map +1 -0
- package/dist/_chunks/info-CGn22peZ.js +16 -0
- package/dist/_chunks/info-CGn22peZ.js.map +1 -0
- package/dist/_chunks/insert-result-C7xSDb8q.js +742 -0
- package/dist/_chunks/insert-result-C7xSDb8q.js.map +1 -0
- package/dist/_chunks/isSameWeek-HddDAyJG.js +14 -0
- package/dist/_chunks/isSameWeek-HddDAyJG.js.map +1 -0
- package/dist/_chunks/it-5f4hiT2e.js +401 -0
- package/dist/_chunks/it-5f4hiT2e.js.map +1 -0
- package/dist/_chunks/ja-U0_2inl_.js +366 -0
- package/dist/_chunks/ja-U0_2inl_.js.map +1 -0
- package/dist/_chunks/key-value-pair-Byyyc_9J.js +144 -0
- package/dist/_chunks/key-value-pair-Byyyc_9J.js.map +1 -0
- package/dist/_chunks/languages-CGLX6Qpe.js +19 -0
- package/dist/_chunks/languages-CGLX6Qpe.js.map +1 -0
- package/dist/_chunks/layers-DcAENmsZ.js +34 -0
- package/dist/_chunks/layers-DcAENmsZ.js.map +1 -0
- package/dist/_chunks/link-CPb_pZPr.js +129 -0
- package/dist/_chunks/link-CPb_pZPr.js.map +1 -0
- package/dist/_chunks/link-cell-renderer-BCppbMec.js +2185 -0
- package/dist/_chunks/link-cell-renderer-BCppbMec.js.map +1 -0
- package/dist/_chunks/locale-picker-DzF7Q5Y8.js +739 -0
- package/dist/_chunks/locale-picker-DzF7Q5Y8.js.map +1 -0
- package/dist/_chunks/lock-ClAFG1gy.js +15 -0
- package/dist/_chunks/lock-ClAFG1gy.js.map +1 -0
- package/dist/_chunks/log-out-oDS6zO5d.js +16 -0
- package/dist/_chunks/log-out-oDS6zO5d.js.map +1 -0
- package/dist/_chunks/mail-BqXVF2zH.js +15 -0
- package/dist/_chunks/mail-BqXVF2zH.js.map +1 -0
- package/dist/_chunks/map-pin-BaY37-Km.js +21 -0
- package/dist/_chunks/map-pin-BaY37-Km.js.map +1 -0
- package/dist/_chunks/map-view-ByPvWG_9.js +378 -0
- package/dist/_chunks/map-view-ByPvWG_9.js.map +1 -0
- package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js +513 -0
- package/dist/_chunks/marketplace-app-shell-BCYiOvKZ.js.map +1 -0
- package/dist/_chunks/maximize-2-BYd2Kti7.js +17 -0
- package/dist/_chunks/maximize-2-BYd2Kti7.js.map +1 -0
- package/dist/_chunks/menu-Op71AWIC.js +16 -0
- package/dist/_chunks/menu-Op71AWIC.js.map +1 -0
- package/dist/_chunks/message-card-BZnnffyB.js +319 -0
- package/dist/_chunks/message-card-BZnnffyB.js.map +1 -0
- package/dist/_chunks/message-circle-Bepl9JT5.js +20 -0
- package/dist/_chunks/message-circle-Bepl9JT5.js.map +1 -0
- package/dist/_chunks/message-tray-cUHOCdU0.js +494 -0
- package/dist/_chunks/message-tray-cUHOCdU0.js.map +1 -0
- package/dist/_chunks/mic-CUklMZGF.js +16 -0
- package/dist/_chunks/mic-CUklMZGF.js.map +1 -0
- package/dist/_chunks/monitor-xXSrufmP.js +16 -0
- package/dist/_chunks/monitor-xXSrufmP.js.map +1 -0
- package/dist/_chunks/multi-select-D5QLBJM1.js +614 -0
- package/dist/_chunks/multi-select-D5QLBJM1.js.map +1 -0
- package/dist/_chunks/muscle-scheme-B9MIkuj0.js +1714 -0
- package/dist/_chunks/muscle-scheme-B9MIkuj0.js.map +1 -0
- package/dist/_chunks/nav-grid-gRudLsPX.js +169 -0
- package/dist/_chunks/nav-grid-gRudLsPX.js.map +1 -0
- package/dist/_chunks/navigation-menu-D3VndouD.js +310 -0
- package/dist/_chunks/navigation-menu-D3VndouD.js.map +1 -0
- package/dist/_chunks/nl-CDVnnx1U.js +326 -0
- package/dist/_chunks/nl-CDVnnx1U.js.map +1 -0
- package/dist/_chunks/notes-panel-CMyjUXD4.js +324 -0
- package/dist/_chunks/notes-panel-CMyjUXD4.js.map +1 -0
- package/dist/_chunks/notification-card-BHJ07FkH.js +290 -0
- package/dist/_chunks/notification-card-BHJ07FkH.js.map +1 -0
- package/dist/_chunks/notification-tray-Dzm1c3Wy.js +499 -0
- package/dist/_chunks/notification-tray-Dzm1c3Wy.js.map +1 -0
- package/dist/_chunks/number-input-DjWzmlEY.js +350 -0
- package/dist/_chunks/number-input-DjWzmlEY.js.map +1 -0
- package/dist/_chunks/operator-hero-DVy0RGoD.js +202 -0
- package/dist/_chunks/operator-hero-DVy0RGoD.js.map +1 -0
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
- package/dist/_chunks/optical-prescription-Bmlbuopi.js.map +1 -0
- package/dist/_chunks/pagination-EkD5SiCK.js +486 -0
- package/dist/_chunks/pagination-EkD5SiCK.js.map +1 -0
- package/dist/_chunks/patient-details-pU_E5xM2.js +778 -0
- package/dist/_chunks/patient-details-pU_E5xM2.js.map +1 -0
- package/dist/_chunks/patient-search-X9SUZGpy.js +1167 -0
- package/dist/_chunks/patient-search-X9SUZGpy.js.map +1 -0
- package/dist/_chunks/patient-shell-oiIRqEAl.js +162 -0
- package/dist/_chunks/patient-shell-oiIRqEAl.js.map +1 -0
- package/dist/_chunks/patient-summary-card--t3BjTdU.js +452 -0
- package/dist/_chunks/patient-summary-card--t3BjTdU.js.map +1 -0
- package/dist/_chunks/patient-table-BgWgNIMf.js +1110 -0
- package/dist/_chunks/patient-table-BgWgNIMf.js.map +1 -0
- package/dist/_chunks/payment-form-DL9xk9BA.js +690 -0
- package/dist/_chunks/payment-form-DL9xk9BA.js.map +1 -0
- package/dist/_chunks/payment-request-card-2ts7ITxd.js +467 -0
- package/dist/_chunks/payment-request-card-2ts7ITxd.js.map +1 -0
- package/dist/_chunks/pdf-viewer-DF3VMaPo.js +1005 -0
- package/dist/_chunks/pdf-viewer-DF3VMaPo.js.map +1 -0
- package/dist/_chunks/pencil-B1sKKyuT.js +21 -0
- package/dist/_chunks/pencil-B1sKKyuT.js.map +1 -0
- package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js +455 -0
- package/dist/_chunks/periodontal-chart-card-6c6Lt4ws.js.map +1 -0
- package/dist/_chunks/permission-matrix-BIJrGEmz.js +174 -0
- package/dist/_chunks/permission-matrix-BIJrGEmz.js.map +1 -0
- package/dist/_chunks/phone-FceYcIFQ.js +20 -0
- package/dist/_chunks/phone-FceYcIFQ.js.map +1 -0
- package/dist/_chunks/phone-input-dtnrvnZf.js +580 -0
- package/dist/_chunks/phone-input-dtnrvnZf.js.map +1 -0
- package/dist/_chunks/pl-BWNumNrg.js +514 -0
- package/dist/_chunks/pl-BWNumNrg.js.map +1 -0
- package/dist/_chunks/plus-DzMQ_c6b.js +15 -0
- package/dist/_chunks/plus-DzMQ_c6b.js.map +1 -0
- package/dist/_chunks/popover-uJ6BvEU3.js +302 -0
- package/dist/_chunks/popover-uJ6BvEU3.js.map +1 -0
- package/dist/_chunks/postal-code-input-BznBxVxf.js +192 -0
- package/dist/_chunks/postal-code-input-BznBxVxf.js.map +1 -0
- package/dist/_chunks/practice-results-CSEHTH2V.js +1609 -0
- package/dist/_chunks/practice-results-CSEHTH2V.js.map +1 -0
- package/dist/_chunks/pregnancy-dating-CxVAA6_4.js +421 -0
- package/dist/_chunks/pregnancy-dating-CxVAA6_4.js.map +1 -0
- package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js +322 -0
- package/dist/_chunks/pregnancy-weight-gain-C7zyrwow.js.map +1 -0
- package/dist/_chunks/printer-rkK0T1gi.js +22 -0
- package/dist/_chunks/printer-rkK0T1gi.js.map +1 -0
- package/dist/_chunks/privacy-lock-DrRmK8C7.js +197 -0
- package/dist/_chunks/privacy-lock-DrRmK8C7.js.map +1 -0
- package/dist/_chunks/product-hub-panel-CaZqttvm.js +678 -0
- package/dist/_chunks/product-hub-panel-CaZqttvm.js.map +1 -0
- package/dist/_chunks/province-select-BDywtmL-.js +261 -0
- package/dist/_chunks/province-select-BDywtmL-.js.map +1 -0
- package/dist/_chunks/pt-zqdQuryr.js +370 -0
- package/dist/_chunks/pt-zqdQuryr.js.map +1 -0
- package/dist/_chunks/public-footer.agent-BKkK3T3V.js +596 -0
- package/dist/_chunks/public-footer.agent-BKkK3T3V.js.map +1 -0
- package/dist/_chunks/public-header.agent-C-opZaOw.js +597 -0
- package/dist/_chunks/public-header.agent-C-opZaOw.js.map +1 -0
- package/dist/_chunks/radio-group-CI-6SmSw.js +167 -0
- package/dist/_chunks/radio-group-CI-6SmSw.js.map +1 -0
- package/dist/_chunks/radiograph-panel.agent-D1x33moc.js +553 -0
- package/dist/_chunks/radiograph-panel.agent-D1x33moc.js.map +1 -0
- package/dist/_chunks/rating-BYbUowdK.js +171 -0
- package/dist/_chunks/rating-BYbUowdK.js.map +1 -0
- package/dist/_chunks/refresh-cw-DnI0cLFC.js +17 -0
- package/dist/_chunks/refresh-cw-DnI0cLFC.js.map +1 -0
- package/dist/_chunks/reviews-panel-liUj6OPX.js +559 -0
- package/dist/_chunks/reviews-panel-liUj6OPX.js.map +1 -0
- package/dist/_chunks/rich-text-editor-DUgznqOf.js +2621 -0
- package/dist/_chunks/rich-text-editor-DUgznqOf.js.map +1 -0
- package/dist/_chunks/ro-CornQr64.js +361 -0
- package/dist/_chunks/ro-CornQr64.js.map +1 -0
- package/dist/_chunks/rotate-ccw-BBQnIVTr.js +15 -0
- package/dist/_chunks/rotate-ccw-BBQnIVTr.js.map +1 -0
- package/dist/_chunks/ru-CKAXNYVD.js +561 -0
- package/dist/_chunks/ru-CKAXNYVD.js.map +1 -0
- package/dist/_chunks/scan-line-CNseIHQ0.js +18 -0
- package/dist/_chunks/scan-line-CNseIHQ0.js.map +1 -0
- package/dist/_chunks/search-QbWPlY5f.js +15 -0
- package/dist/_chunks/search-QbWPlY5f.js.map +1 -0
- package/dist/_chunks/search-bar-CJj6sI9m.js +612 -0
- package/dist/_chunks/search-bar-CJj6sI9m.js.map +1 -0
- package/dist/_chunks/search-input-B7GmlPIE.js +237 -0
- package/dist/_chunks/search-input-B7GmlPIE.js.map +1 -0
- package/dist/_chunks/select-BmCbJMJS.js +442 -0
- package/dist/_chunks/select-BmCbJMJS.js.map +1 -0
- package/dist/_chunks/send-C5kDJ-Mz.js +21 -0
- package/dist/_chunks/send-C5kDJ-Mz.js.map +1 -0
- package/dist/_chunks/session-countdown-qr8EO5QY.js +214 -0
- package/dist/_chunks/session-countdown-qr8EO5QY.js.map +1 -0
- package/dist/_chunks/settings-d25ju_6L.js +21 -0
- package/dist/_chunks/settings-d25ju_6L.js.map +1 -0
- package/dist/_chunks/sheet-B_X54aZo.js +296 -0
- package/dist/_chunks/sheet-B_X54aZo.js.map +1 -0
- package/dist/_chunks/shield-check-DCJALLVh.js +21 -0
- package/dist/_chunks/shield-check-DCJALLVh.js.map +1 -0
- package/dist/_chunks/sidebar-B0OBmJrC.js +1311 -0
- package/dist/_chunks/sidebar-B0OBmJrC.js.map +1 -0
- package/dist/_chunks/sign-document-nK03S73h.js +370 -0
- package/dist/_chunks/sign-document-nK03S73h.js.map +1 -0
- package/dist/_chunks/signature-field-jgwYgUhO.js +197 -0
- package/dist/_chunks/signature-field-jgwYgUhO.js.map +1 -0
- package/dist/_chunks/smart-date-CsPlilQA.js +114 -0
- package/dist/_chunks/smart-date-CsPlilQA.js.map +1 -0
- package/dist/_chunks/sq-CIIvqXZv.js +355 -0
- package/dist/_chunks/sq-CIIvqXZv.js.map +1 -0
- package/dist/_chunks/square-DASBRZ0U.js +14 -0
- package/dist/_chunks/square-DASBRZ0U.js.map +1 -0
- package/dist/_chunks/square-check-big-dj0o8yA3.js +18 -0
- package/dist/_chunks/square-check-big-dj0o8yA3.js.map +1 -0
- package/dist/_chunks/star-Bf9L2Uot.js +20 -0
- package/dist/_chunks/star-Bf9L2Uot.js.map +1 -0
- package/dist/_chunks/stepper-accordion-BeVMZPuG.js +247 -0
- package/dist/_chunks/stepper-accordion-BeVMZPuG.js.map +1 -0
- package/dist/_chunks/stethoscope-sZXGC43m.js +18 -0
- package/dist/_chunks/stethoscope-sZXGC43m.js.map +1 -0
- package/dist/_chunks/streaming-text-Cedc05ya.js +131 -0
- package/dist/_chunks/streaming-text-Cedc05ya.js.map +1 -0
- package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
- package/dist/_chunks/subDays-DGSOp9d9.js.map +1 -0
- package/dist/_chunks/sun-Bj9Mr553.js +38 -0
- package/dist/_chunks/sun-Bj9Mr553.js.map +1 -0
- package/dist/_chunks/sv-Kpk1pzjz.js +376 -0
- package/dist/_chunks/sv-Kpk1pzjz.js.map +1 -0
- package/dist/_chunks/tab-bar-Axhk6xzx.js +262 -0
- package/dist/_chunks/tab-bar-Axhk6xzx.js.map +1 -0
- package/dist/_chunks/tabs-DVQ941Sj.js +408 -0
- package/dist/_chunks/tabs-DVQ941Sj.js.map +1 -0
- package/dist/_chunks/tag-3wgkwwDB.js +258 -0
- package/dist/_chunks/tag-3wgkwwDB.js.map +1 -0
- package/dist/_chunks/task-card-BUgK6yZT.js +189 -0
- package/dist/_chunks/task-card-BUgK6yZT.js.map +1 -0
- package/dist/_chunks/task-tray-DP5A3Qnc.js +251 -0
- package/dist/_chunks/task-tray-DP5A3Qnc.js.map +1 -0
- package/dist/_chunks/tasks-panel-BuxaYtEF.js +757 -0
- package/dist/_chunks/tasks-panel-BuxaYtEF.js.map +1 -0
- package/dist/_chunks/text-input-CUvCb6ST.js +283 -0
- package/dist/_chunks/text-input-CUvCb6ST.js.map +1 -0
- package/dist/_chunks/theme-toggle-dtdy5EaL.js +367 -0
- package/dist/_chunks/theme-toggle-dtdy5EaL.js.map +1 -0
- package/dist/_chunks/timeline-r-8IUoBS.js +294 -0
- package/dist/_chunks/timeline-r-8IUoBS.js.map +1 -0
- package/dist/_chunks/toast.agent-BSxl057x.js +1005 -0
- package/dist/_chunks/toast.agent-BSxl057x.js.map +1 -0
- package/dist/_chunks/token-insert-menu-Pok4nExI.js +147 -0
- package/dist/_chunks/token-insert-menu-Pok4nExI.js.map +1 -0
- package/dist/_chunks/tooth-scheme-D_rso4uu.js +2133 -0
- package/dist/_chunks/tooth-scheme-D_rso4uu.js.map +1 -0
- package/dist/_chunks/tr-DHaeLFxG.js +378 -0
- package/dist/_chunks/tr-DHaeLFxG.js.map +1 -0
- package/dist/_chunks/transaction-chip-B6iWoVmU.js +225 -0
- package/dist/_chunks/transaction-chip-B6iWoVmU.js.map +1 -0
- package/dist/_chunks/transcript-panel-BGkEhvHO.js +374 -0
- package/dist/_chunks/transcript-panel-BGkEhvHO.js.map +1 -0
- package/dist/_chunks/trash-2-uumy3fy1.js +18 -0
- package/dist/_chunks/trash-2-uumy3fy1.js.map +1 -0
- package/dist/_chunks/triangle-alert-CBnO6nq_.js +22 -0
- package/dist/_chunks/triangle-alert-CBnO6nq_.js.map +1 -0
- package/dist/_chunks/unit-converter-fEqluT8b.js +337 -0
- package/dist/_chunks/unit-converter-fEqluT8b.js.map +1 -0
- package/dist/_chunks/use-password-requirements-Bwtqx1qN.js +453 -0
- package/dist/_chunks/use-password-requirements-Bwtqx1qN.js.map +1 -0
- package/dist/_chunks/user-B12p7bVF.js +15 -0
- package/dist/_chunks/user-B12p7bVF.js.map +1 -0
- package/dist/_chunks/user-cog-BTn98Arm.js +24 -0
- package/dist/_chunks/user-cog-BTn98Arm.js.map +1 -0
- package/dist/_chunks/users-BjS_Gg1E.js +17 -0
- package/dist/_chunks/users-BjS_Gg1E.js.map +1 -0
- package/dist/_chunks/video-BheNGvsu.js +21 -0
- package/dist/_chunks/video-BheNGvsu.js.map +1 -0
- package/dist/_chunks/warning-stack-BaMI7-n7.js +268 -0
- package/dist/_chunks/warning-stack-BaMI7-n7.js.map +1 -0
- package/dist/_chunks/workflow-map-qWsgCldq.js +1356 -0
- package/dist/_chunks/workflow-map-qWsgCldq.js.map +1 -0
- package/dist/_chunks/x-B5YnXwCz.js +15 -0
- package/dist/_chunks/x-B5YnXwCz.js.map +1 -0
- package/dist/_chunks/zh-CN-BncsTBwM.js +388 -0
- package/dist/_chunks/zh-CN-BncsTBwM.js.map +1 -0
- package/dist/_chunks/zoom-out-Dnif4kJx.js +29 -0
- package/dist/_chunks/zoom-out-Dnif4kJx.js.map +1 -0
- package/dist/agent-catalog.json +1473 -317
- package/dist/agent-i18n/en.json +107 -15
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/chat-message.d.ts +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
- package/dist/components/face-scheme/detect-face-landmarks.d.ts.map +1 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts.map +1 -0
- package/dist/components/face-scheme/face-scheme.d.ts +144 -0
- package/dist/components/face-scheme/face-scheme.d.ts.map +1 -0
- package/dist/components/face-scheme/index.d.ts +7 -0
- package/dist/components/face-scheme/index.d.ts.map +1 -0
- package/dist/components/face-scheme/index.js +17 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.d.ts +6 -0
- package/dist/components/muscle-scheme/index.d.ts.map +1 -0
- package/dist/components/muscle-scheme/index.js +16 -0
- package/dist/components/muscle-scheme/index.js.map +1 -0
- package/dist/components/muscle-scheme/muscle-paths.d.ts +22 -0
- package/dist/components/muscle-scheme/muscle-paths.d.ts.map +1 -0
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts.map +1 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts.map +1 -0
- package/dist/components/muscle-scheme/muscle-scheme.d.ts +66 -0
- package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -0
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.d.ts +6 -0
- package/dist/components/optical-prescription/index.d.ts.map +1 -0
- package/dist/components/optical-prescription/index.js +38 -0
- package/dist/components/optical-prescription/index.js.map +1 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts.map +1 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/smart-date/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +139 -98
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +141 -107
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +139 -98
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +141 -107
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +139 -98
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +141 -107
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +139 -98
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +141 -107
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +139 -98
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +141 -107
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +139 -98
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +141 -107
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +139 -98
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +141 -107
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +139 -98
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +141 -107
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +139 -98
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +141 -107
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +139 -98
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +141 -107
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +139 -98
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +141 -107
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +139 -98
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +141 -107
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +139 -98
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +141 -107
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +139 -98
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +141 -107
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +139 -98
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +141 -107
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +139 -98
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +141 -107
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +139 -98
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +141 -107
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +139 -98
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +141 -107
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +710 -662
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +141 -100
- package/dist/locales/de.json +141 -100
- package/dist/locales/el.json +141 -100
- package/dist/locales/en.json +141 -100
- package/dist/locales/es.json +141 -100
- package/dist/locales/fr.json +141 -100
- package/dist/locales/hi.json +141 -100
- package/dist/locales/it.json +141 -100
- package/dist/locales/ja.json +141 -100
- package/dist/locales/nl.json +141 -100
- package/dist/locales/pl.json +141 -100
- package/dist/locales/pt.json +141 -100
- package/dist/locales/ro.json +141 -100
- package/dist/locales/ru.json +141 -100
- package/dist/locales/sq.json +141 -100
- package/dist/locales/sv.json +141 -100
- package/dist/locales/tr.json +141 -100
- package/dist/locales/zh.json +141 -100
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -0
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-sidebar.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +7 -1
- package/package.json +13 -5
- package/dist/_chunks/accordion-DnIa7OHX.js +0 -250
- package/dist/_chunks/accordion-DnIa7OHX.js.map +0 -1
- package/dist/_chunks/address-autocomplete-BEX9PXty.js +0 -496
- package/dist/_chunks/address-autocomplete-BEX9PXty.js.map +0 -1
- package/dist/_chunks/address-fields-CPbFJ8e8.js +0 -246
- package/dist/_chunks/address-fields-CPbFJ8e8.js.map +0 -1
- package/dist/_chunks/agenda-card-BQ-IKAru.js +0 -147
- package/dist/_chunks/agenda-card-BQ-IKAru.js.map +0 -1
- package/dist/_chunks/agenda-tray-CGXRk58j.js +0 -215
- package/dist/_chunks/agenda-tray-CGXRk58j.js.map +0 -1
- package/dist/_chunks/ai-consent-banner-Be-h9mRI.js +0 -170
- package/dist/_chunks/ai-consent-banner-Be-h9mRI.js.map +0 -1
- package/dist/_chunks/ai-prompt-input-V4DdOeqv.js +0 -500
- package/dist/_chunks/ai-prompt-input-V4DdOeqv.js.map +0 -1
- package/dist/_chunks/alert-CHYZ96tR.js +0 -314
- package/dist/_chunks/alert-CHYZ96tR.js.map +0 -1
- package/dist/_chunks/alia-sidebar-DvIUzIX9.js +0 -1127
- package/dist/_chunks/alia-sidebar-DvIUzIX9.js.map +0 -1
- package/dist/_chunks/anamnesis-card-DvYCa16e.js +0 -156
- package/dist/_chunks/anamnesis-card-DvYCa16e.js.map +0 -1
- package/dist/_chunks/anatomy-scheme-CXSk11UJ.js +0 -2445
- package/dist/_chunks/anatomy-scheme-CXSk11UJ.js.map +0 -1
- package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js +0 -413
- package/dist/_chunks/antenatal-schedule-timeline-CwXrQRm1.js.map +0 -1
- package/dist/_chunks/appointment-card-DVaeJNVB.js +0 -294
- package/dist/_chunks/appointment-card-DVaeJNVB.js.map +0 -1
- package/dist/_chunks/appointment-timeline-PJgnrjFb.js +0 -388
- package/dist/_chunks/appointment-timeline-PJgnrjFb.js.map +0 -1
- package/dist/_chunks/appointment-tray-B16QPGbm.js +0 -193
- package/dist/_chunks/appointment-tray-B16QPGbm.js.map +0 -1
- package/dist/_chunks/ar-Cn5Fq48Z.js +0 -399
- package/dist/_chunks/ar-Cn5Fq48Z.js.map +0 -1
- package/dist/_chunks/audio-recorder-DNDsOLqO.js +0 -450
- package/dist/_chunks/audio-recorder-DNDsOLqO.js.map +0 -1
- package/dist/_chunks/bishop-score-Cym_TeQY.js +0 -304
- package/dist/_chunks/bishop-score-Cym_TeQY.js.map +0 -1
- package/dist/_chunks/bmi-calculator-zjeY4E7J.js +0 -434
- package/dist/_chunks/bmi-calculator-zjeY4E7J.js.map +0 -1
- package/dist/_chunks/booking-C7do4vaR.js +0 -2711
- package/dist/_chunks/booking-C7do4vaR.js.map +0 -1
- package/dist/_chunks/breadcrumb-CchdeG7d.js +0 -393
- package/dist/_chunks/breadcrumb-CchdeG7d.js.map +0 -1
- package/dist/_chunks/calculator-dialog-BR5iU0kf.js +0 -40
- package/dist/_chunks/calculator-dialog-BR5iU0kf.js.map +0 -1
- package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
- package/dist/_chunks/calendar-B6soK1Yb.js.map +0 -1
- package/dist/_chunks/calendar-CZUjL8SZ.js +0 -1050
- package/dist/_chunks/calendar-CZUjL8SZ.js.map +0 -1
- package/dist/_chunks/calendar-clock-CYkcqdwl.js +0 -19
- package/dist/_chunks/calendar-clock-CYkcqdwl.js.map +0 -1
- package/dist/_chunks/calendar-days-C4BmpCZg.js +0 -23
- package/dist/_chunks/calendar-days-C4BmpCZg.js.map +0 -1
- package/dist/_chunks/care-plan-card-DzPDYgtK.js +0 -256
- package/dist/_chunks/care-plan-card-DzPDYgtK.js.map +0 -1
- package/dist/_chunks/care-plan-entry-card-CEnQy7YP.js +0 -322
- package/dist/_chunks/care-plan-entry-card-CEnQy7YP.js.map +0 -1
- package/dist/_chunks/care-plan-header-DcXFXWit.js +0 -198
- package/dist/_chunks/care-plan-header-DcXFXWit.js.map +0 -1
- package/dist/_chunks/carousel.agent-4v8Emr9E.js +0 -1754
- package/dist/_chunks/carousel.agent-4v8Emr9E.js.map +0 -1
- package/dist/_chunks/chat-container-DWho5hPR.js +0 -234
- package/dist/_chunks/chat-container-DWho5hPR.js.map +0 -1
- package/dist/_chunks/chat-input-BcXTetgM.js +0 -368
- package/dist/_chunks/chat-input-BcXTetgM.js.map +0 -1
- package/dist/_chunks/chat-message-DzpcJR-q.js +0 -239
- package/dist/_chunks/chat-message-DzpcJR-q.js.map +0 -1
- package/dist/_chunks/check-DPdL_Sm7.js +0 -12
- package/dist/_chunks/check-DPdL_Sm7.js.map +0 -1
- package/dist/_chunks/checkbox-group-PqNmQ-cE.js +0 -213
- package/dist/_chunks/checkbox-group-PqNmQ-cE.js.map +0 -1
- package/dist/_chunks/chevron-down-BX_NP2Yh.js +0 -12
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +0 -1
- package/dist/_chunks/chevron-left-CX1jqD2M.js +0 -12
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +0 -1
- package/dist/_chunks/chevron-right-BrpYejk0.js +0 -12
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +0 -1
- package/dist/_chunks/chevron-up-zOEDrmBB.js +0 -12
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +0 -1
- package/dist/_chunks/chevrons-right-d9MwesPG.js +0 -26
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +0 -1
- package/dist/_chunks/circle-BkqTgYmt.js +0 -12
- package/dist/_chunks/circle-BkqTgYmt.js.map +0 -1
- package/dist/_chunks/circle-alert-ChA9opNA.js +0 -16
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +0 -1
- package/dist/_chunks/circle-check-9AeSgJD_.js +0 -15
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +0 -1
- package/dist/_chunks/circle-x-Du2CmjaU.js +0 -16
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +0 -1
- package/dist/_chunks/city-input-Dkgaak7I.js +0 -169
- package/dist/_chunks/city-input-Dkgaak7I.js.map +0 -1
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +0 -436
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js.map +0 -1
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
- package/dist/_chunks/clipboard-list-S7s-MXQq.js.map +0 -1
- package/dist/_chunks/clock-21AGPWJ5.js +0 -15
- package/dist/_chunks/clock-21AGPWJ5.js.map +0 -1
- package/dist/_chunks/code-block-BBWHhIc8.js +0 -106
- package/dist/_chunks/code-block-BBWHhIc8.js.map +0 -1
- package/dist/_chunks/color-picker-C_fZl6sA.js +0 -718
- package/dist/_chunks/color-picker-C_fZl6sA.js.map +0 -1
- package/dist/_chunks/columns-2-BTOBZbep.js +0 -15
- package/dist/_chunks/columns-2-BTOBZbep.js.map +0 -1
- package/dist/_chunks/combobox-DnqSF0IH.js +0 -513
- package/dist/_chunks/combobox-DnqSF0IH.js.map +0 -1
- package/dist/_chunks/command-palette-CJzmc5pC.js +0 -473
- package/dist/_chunks/command-palette-CJzmc5pC.js.map +0 -1
- package/dist/_chunks/connection-status-CY1HV8Wg.js +0 -108
- package/dist/_chunks/connection-status-CY1HV8Wg.js.map +0 -1
- package/dist/_chunks/contact-card-Cf8Ktyt3.js +0 -121
- package/dist/_chunks/contact-card-Cf8Ktyt3.js.map +0 -1
- package/dist/_chunks/contact-profile-card-DDPwRFiP.js +0 -333
- package/dist/_chunks/contact-profile-card-DDPwRFiP.js.map +0 -1
- package/dist/_chunks/control-room-rail-FAQZrGVL.js +0 -333
- package/dist/_chunks/control-room-rail-FAQZrGVL.js.map +0 -1
- package/dist/_chunks/copy-B00HK7tj.js +0 -15
- package/dist/_chunks/copy-B00HK7tj.js.map +0 -1
- package/dist/_chunks/copy-field-Bjw9u2cV.js +0 -268
- package/dist/_chunks/copy-field-Bjw9u2cV.js.map +0 -1
- package/dist/_chunks/country-select-BwUZQvTa.js +0 -709
- package/dist/_chunks/country-select-BwUZQvTa.js.map +0 -1
- package/dist/_chunks/createLucideIcon-CrFbzy84.js +0 -117
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +0 -1
- package/dist/_chunks/cycle-calculator-CCmPwcBl.js +0 -252
- package/dist/_chunks/cycle-calculator-CCmPwcBl.js.map +0 -1
- package/dist/_chunks/date-picker-Dl9RKxaV.js +0 -1845
- package/dist/_chunks/date-picker-Dl9RKxaV.js.map +0 -1
- package/dist/_chunks/date-picker-variants-DAcSLTua.js +0 -3224
- package/dist/_chunks/date-picker-variants-DAcSLTua.js.map +0 -1
- package/dist/_chunks/date-range-picker-CTUeR6Bj.js +0 -324
- package/dist/_chunks/date-range-picker-CTUeR6Bj.js.map +0 -1
- package/dist/_chunks/date-time-picker-BhoogS5Q.js +0 -336
- package/dist/_chunks/date-time-picker-BhoogS5Q.js.map +0 -1
- package/dist/_chunks/de-CrJs4ZsX.js +0 -477
- package/dist/_chunks/de-CrJs4ZsX.js.map +0 -1
- package/dist/_chunks/dependent-selector-DUV4thxX.js +0 -338
- package/dist/_chunks/dependent-selector-DUV4thxX.js.map +0 -1
- package/dist/_chunks/description-list-gkNGWk5G.js +0 -319
- package/dist/_chunks/description-list-gkNGWk5G.js.map +0 -1
- package/dist/_chunks/dialog-ZNuboNmy.js +0 -230
- package/dist/_chunks/dialog-ZNuboNmy.js.map +0 -1
- package/dist/_chunks/document-scanner-C_AxLooF.js +0 -711
- package/dist/_chunks/document-scanner-C_AxLooF.js.map +0 -1
- package/dist/_chunks/download-CDF1sbL9.js +0 -16
- package/dist/_chunks/download-CDF1sbL9.js.map +0 -1
- package/dist/_chunks/dropdown-menu-qrxjymfw.js +0 -355
- package/dist/_chunks/dropdown-menu-qrxjymfw.js.map +0 -1
- package/dist/_chunks/due-date-calculator-Brdj-euS.js +0 -256
- package/dist/_chunks/due-date-calculator-Brdj-euS.js.map +0 -1
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +0 -410
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js.map +0 -1
- package/dist/_chunks/editor-overlay-wYm22wZK.js +0 -88
- package/dist/_chunks/editor-overlay-wYm22wZK.js.map +0 -1
- package/dist/_chunks/el-DHdMOIhL.js +0 -373
- package/dist/_chunks/el-DHdMOIhL.js.map +0 -1
- package/dist/_chunks/ellipsis-rgGdiK_9.js +0 -16
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +0 -1
- package/dist/_chunks/email-input-DJ7EXklP.js +0 -397
- package/dist/_chunks/email-input-DJ7EXklP.js.map +0 -1
- package/dist/_chunks/entity-card-DmrgYSEX.js +0 -87
- package/dist/_chunks/entity-card-DmrgYSEX.js.map +0 -1
- package/dist/_chunks/entity-summary-CaM1Y-xE.js +0 -291
- package/dist/_chunks/entity-summary-CaM1Y-xE.js.map +0 -1
- package/dist/_chunks/es-DCATCfqo.js +0 -373
- package/dist/_chunks/es-DCATCfqo.js.map +0 -1
- package/dist/_chunks/external-link-C6F25E6k.js +0 -16
- package/dist/_chunks/external-link-C6F25E6k.js.map +0 -1
- package/dist/_chunks/eye-LHlSU38h.js +0 -21
- package/dist/_chunks/eye-LHlSU38h.js.map +0 -1
- package/dist/_chunks/eye-off-xEXDAh5z.js +0 -29
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +0 -1
- package/dist/_chunks/fetal-weight-DNCkyeVo.js +0 -122
- package/dist/_chunks/fetal-weight-DNCkyeVo.js.map +0 -1
- package/dist/_chunks/field-array-siUZzfYe.js +0 -146
- package/dist/_chunks/field-array-siUZzfYe.js.map +0 -1
- package/dist/_chunks/field-value-3jMM0uDx.js +0 -415
- package/dist/_chunks/field-value-3jMM0uDx.js.map +0 -1
- package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js +0 -25
- package/dist/_chunks/file-spreadsheet-zUkY8rJ2.js.map +0 -1
- package/dist/_chunks/file-text-DSNuv2B8.js +0 -24
- package/dist/_chunks/file-text-DSNuv2B8.js.map +0 -1
- package/dist/_chunks/file-upload-DwZcAK8D.js +0 -819
- package/dist/_chunks/file-upload-DwZcAK8D.js.map +0 -1
- package/dist/_chunks/finished-terminal-VjZ_-eDD.js +0 -122
- package/dist/_chunks/finished-terminal-VjZ_-eDD.js.map +0 -1
- package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js +0 -553
- package/dist/_chunks/fiscal-code-input-Cf-8O4Fj.js.map +0 -1
- package/dist/_chunks/form-field-BOm9hK35.js +0 -123
- package/dist/_chunks/form-field-BOm9hK35.js.map +0 -1
- package/dist/_chunks/fr-BfGEMshF.js +0 -338
- package/dist/_chunks/fr-BfGEMshF.js.map +0 -1
- package/dist/_chunks/freemium-paywall-WYlNO7yT.js +0 -275
- package/dist/_chunks/freemium-paywall-WYlNO7yT.js.map +0 -1
- package/dist/_chunks/gestational-age-calculator-DKzEV5Qi.js +0 -311
- package/dist/_chunks/gestational-age-calculator-DKzEV5Qi.js.map +0 -1
- package/dist/_chunks/globe-BkEFMNSg.js +0 -16
- package/dist/_chunks/globe-BkEFMNSg.js.map +0 -1
- package/dist/_chunks/grip-vertical-Dlg0_k5C.js +0 -19
- package/dist/_chunks/grip-vertical-Dlg0_k5C.js.map +0 -1
- package/dist/_chunks/hash-CysBBS_N.js +0 -17
- package/dist/_chunks/hash-CysBBS_N.js.map +0 -1
- package/dist/_chunks/hcg-doubling-C7bmuaU3.js +0 -170
- package/dist/_chunks/hcg-doubling-C7bmuaU3.js.map +0 -1
- package/dist/_chunks/header-CNszv2WQ.js +0 -297
- package/dist/_chunks/header-CNszv2WQ.js.map +0 -1
- package/dist/_chunks/header-settings-DJqoAl5m.js +0 -284
- package/dist/_chunks/header-settings-DJqoAl5m.js.map +0 -1
- package/dist/_chunks/heart-C0faivFf.js +0 -20
- package/dist/_chunks/heart-C0faivFf.js.map +0 -1
- package/dist/_chunks/heart-pulse-CvuyFKHB.js +0 -21
- package/dist/_chunks/heart-pulse-CvuyFKHB.js.map +0 -1
- package/dist/_chunks/hi-CBFRXEIm.js +0 -433
- package/dist/_chunks/hi-CBFRXEIm.js.map +0 -1
- package/dist/_chunks/iban-input-B0TWzR1R.js +0 -436
- package/dist/_chunks/iban-input-B0TWzR1R.js.map +0 -1
- package/dist/_chunks/icon-picker-0B7KhrF1.js +0 -272
- package/dist/_chunks/icon-picker-0B7KhrF1.js.map +0 -1
- package/dist/_chunks/image-C6RM5hfF.js +0 -16
- package/dist/_chunks/image-C6RM5hfF.js.map +0 -1
- package/dist/_chunks/image-cropper-D9jqJy19.js +0 -367
- package/dist/_chunks/image-cropper-D9jqJy19.js.map +0 -1
- package/dist/_chunks/info-B9XNKn05.js +0 -16
- package/dist/_chunks/info-B9XNKn05.js.map +0 -1
- package/dist/_chunks/insert-result-njqBthzT.js +0 -742
- package/dist/_chunks/insert-result-njqBthzT.js.map +0 -1
- package/dist/_chunks/isSameWeek-I3DfXUp1.js +0 -14
- package/dist/_chunks/isSameWeek-I3DfXUp1.js.map +0 -1
- package/dist/_chunks/it-nz6vAKwG.js +0 -401
- package/dist/_chunks/it-nz6vAKwG.js.map +0 -1
- package/dist/_chunks/ja-DQcqdAEJ.js +0 -366
- package/dist/_chunks/ja-DQcqdAEJ.js.map +0 -1
- package/dist/_chunks/key-value-pair-BrgbMfbF.js +0 -144
- package/dist/_chunks/key-value-pair-BrgbMfbF.js.map +0 -1
- package/dist/_chunks/languages-DsVf_WzT.js +0 -19
- package/dist/_chunks/languages-DsVf_WzT.js.map +0 -1
- package/dist/_chunks/layers-pzGcbLPj.js +0 -34
- package/dist/_chunks/layers-pzGcbLPj.js.map +0 -1
- package/dist/_chunks/link-DrD_cRUg.js +0 -129
- package/dist/_chunks/link-DrD_cRUg.js.map +0 -1
- package/dist/_chunks/link-cell-renderer-De_SLjSq.js +0 -2185
- package/dist/_chunks/link-cell-renderer-De_SLjSq.js.map +0 -1
- package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
- package/dist/_chunks/list-checks-BUs75d_o.js.map +0 -1
- package/dist/_chunks/locale-picker-ChYYSX2N.js +0 -739
- package/dist/_chunks/locale-picker-ChYYSX2N.js.map +0 -1
- package/dist/_chunks/lock-CKOIn0IK.js +0 -15
- package/dist/_chunks/lock-CKOIn0IK.js.map +0 -1
- package/dist/_chunks/log-out-616hnn2-.js +0 -16
- package/dist/_chunks/log-out-616hnn2-.js.map +0 -1
- package/dist/_chunks/mail-C8irm52s.js +0 -15
- package/dist/_chunks/mail-C8irm52s.js.map +0 -1
- package/dist/_chunks/map-pin-B8STOPMJ.js +0 -21
- package/dist/_chunks/map-pin-B8STOPMJ.js.map +0 -1
- package/dist/_chunks/map-view-BkOoGoX2.js +0 -378
- package/dist/_chunks/map-view-BkOoGoX2.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-BGqkywsi.js +0 -513
- package/dist/_chunks/marketplace-app-shell-BGqkywsi.js.map +0 -1
- package/dist/_chunks/maximize-2-Cm9OUQ2m.js +0 -17
- package/dist/_chunks/maximize-2-Cm9OUQ2m.js.map +0 -1
- package/dist/_chunks/menu-XRhW3_99.js +0 -16
- package/dist/_chunks/menu-XRhW3_99.js.map +0 -1
- package/dist/_chunks/message-card-DsHFFiL1.js +0 -319
- package/dist/_chunks/message-card-DsHFFiL1.js.map +0 -1
- package/dist/_chunks/message-circle-C23eicgb.js +0 -20
- package/dist/_chunks/message-circle-C23eicgb.js.map +0 -1
- package/dist/_chunks/message-tray-C0a6CL1_.js +0 -494
- package/dist/_chunks/message-tray-C0a6CL1_.js.map +0 -1
- package/dist/_chunks/mic-B4Gog3Gi.js +0 -16
- package/dist/_chunks/mic-B4Gog3Gi.js.map +0 -1
- package/dist/_chunks/monitor-D-SFdbrU.js +0 -16
- package/dist/_chunks/monitor-D-SFdbrU.js.map +0 -1
- package/dist/_chunks/multi-select-WE4S9FIF.js +0 -614
- package/dist/_chunks/multi-select-WE4S9FIF.js.map +0 -1
- package/dist/_chunks/nav-grid-9xphY3FM.js +0 -169
- package/dist/_chunks/nav-grid-9xphY3FM.js.map +0 -1
- package/dist/_chunks/navigation-menu-DRUi6sSj.js +0 -310
- package/dist/_chunks/navigation-menu-DRUi6sSj.js.map +0 -1
- package/dist/_chunks/nl-L5SuDjyl.js +0 -326
- package/dist/_chunks/nl-L5SuDjyl.js.map +0 -1
- package/dist/_chunks/notes-panel-DXiMfuvp.js +0 -320
- package/dist/_chunks/notes-panel-DXiMfuvp.js.map +0 -1
- package/dist/_chunks/notification-card-BMqNzCIt.js +0 -290
- package/dist/_chunks/notification-card-BMqNzCIt.js.map +0 -1
- package/dist/_chunks/notification-tray-BmUlCx3g.js +0 -499
- package/dist/_chunks/notification-tray-BmUlCx3g.js.map +0 -1
- package/dist/_chunks/number-input-DxphVG_A.js +0 -350
- package/dist/_chunks/number-input-DxphVG_A.js.map +0 -1
- package/dist/_chunks/operator-hero-BO8TqzX2.js +0 -202
- package/dist/_chunks/operator-hero-BO8TqzX2.js.map +0 -1
- package/dist/_chunks/pagination-D58kglCr.js +0 -486
- package/dist/_chunks/pagination-D58kglCr.js.map +0 -1
- package/dist/_chunks/patient-details-DgfTJimE.js +0 -759
- package/dist/_chunks/patient-details-DgfTJimE.js.map +0 -1
- package/dist/_chunks/patient-search-CSWQKOSP.js +0 -1167
- package/dist/_chunks/patient-search-CSWQKOSP.js.map +0 -1
- package/dist/_chunks/patient-shell-BMwsIKlW.js +0 -162
- package/dist/_chunks/patient-shell-BMwsIKlW.js.map +0 -1
- package/dist/_chunks/patient-summary-card-D4NdgYJB.js +0 -452
- package/dist/_chunks/patient-summary-card-D4NdgYJB.js.map +0 -1
- package/dist/_chunks/patient-table-CERknpd8.js +0 -1110
- package/dist/_chunks/patient-table-CERknpd8.js.map +0 -1
- package/dist/_chunks/payment-form-CxqIXqw7.js +0 -690
- package/dist/_chunks/payment-form-CxqIXqw7.js.map +0 -1
- package/dist/_chunks/payment-request-card-Blf-MFNY.js +0 -467
- package/dist/_chunks/payment-request-card-Blf-MFNY.js.map +0 -1
- package/dist/_chunks/pdf-viewer-QfebdLOd.js +0 -1005
- package/dist/_chunks/pdf-viewer-QfebdLOd.js.map +0 -1
- package/dist/_chunks/pencil-CfQX-0Qc.js +0 -21
- package/dist/_chunks/pencil-CfQX-0Qc.js.map +0 -1
- package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js +0 -455
- package/dist/_chunks/periodontal-chart-card-hRRJY1NN.js.map +0 -1
- package/dist/_chunks/permission-matrix-Bw5oexUt.js +0 -174
- package/dist/_chunks/permission-matrix-Bw5oexUt.js.map +0 -1
- package/dist/_chunks/phone-Bi5yUm4I.js +0 -20
- package/dist/_chunks/phone-Bi5yUm4I.js.map +0 -1
- package/dist/_chunks/phone-input-DjU-XmO_.js +0 -580
- package/dist/_chunks/phone-input-DjU-XmO_.js.map +0 -1
- package/dist/_chunks/pl-YAn5z2wR.js +0 -514
- package/dist/_chunks/pl-YAn5z2wR.js.map +0 -1
- package/dist/_chunks/plus-CYKNmfuA.js +0 -15
- package/dist/_chunks/plus-CYKNmfuA.js.map +0 -1
- package/dist/_chunks/popover-B2qCDhJC.js +0 -302
- package/dist/_chunks/popover-B2qCDhJC.js.map +0 -1
- package/dist/_chunks/postal-code-input-UCOYuRY2.js +0 -192
- package/dist/_chunks/postal-code-input-UCOYuRY2.js.map +0 -1
- package/dist/_chunks/practice-results-El5Z-oVp.js +0 -1609
- package/dist/_chunks/practice-results-El5Z-oVp.js.map +0 -1
- package/dist/_chunks/pregnancy-dating-CunHrOpO.js +0 -421
- package/dist/_chunks/pregnancy-dating-CunHrOpO.js.map +0 -1
- package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js +0 -322
- package/dist/_chunks/pregnancy-weight-gain-BUNpTsH-.js.map +0 -1
- package/dist/_chunks/printer-CeVEWfQq.js +0 -22
- package/dist/_chunks/printer-CeVEWfQq.js.map +0 -1
- package/dist/_chunks/privacy-lock-BzMLQu-j.js +0 -197
- package/dist/_chunks/privacy-lock-BzMLQu-j.js.map +0 -1
- package/dist/_chunks/product-hub-panel-DtU7KXxm.js +0 -678
- package/dist/_chunks/product-hub-panel-DtU7KXxm.js.map +0 -1
- package/dist/_chunks/province-select-D_TZvix3.js +0 -261
- package/dist/_chunks/province-select-D_TZvix3.js.map +0 -1
- package/dist/_chunks/pt-D9xdT5KQ.js +0 -370
- package/dist/_chunks/pt-D9xdT5KQ.js.map +0 -1
- package/dist/_chunks/public-footer.agent-D0cFbjWl.js +0 -596
- package/dist/_chunks/public-footer.agent-D0cFbjWl.js.map +0 -1
- package/dist/_chunks/public-header.agent-TxmC_x1I.js +0 -597
- package/dist/_chunks/public-header.agent-TxmC_x1I.js.map +0 -1
- package/dist/_chunks/radio-group-BPt7pKZW.js +0 -167
- package/dist/_chunks/radio-group-BPt7pKZW.js.map +0 -1
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +0 -553
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js.map +0 -1
- package/dist/_chunks/rating-BRD7O74e.js +0 -171
- package/dist/_chunks/rating-BRD7O74e.js.map +0 -1
- package/dist/_chunks/refresh-cw-CC8jSKMr.js +0 -17
- package/dist/_chunks/refresh-cw-CC8jSKMr.js.map +0 -1
- package/dist/_chunks/reviews-panel-DxkSrgMl.js +0 -559
- package/dist/_chunks/reviews-panel-DxkSrgMl.js.map +0 -1
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js +0 -2621
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js.map +0 -1
- package/dist/_chunks/ro-Cp--52bT.js +0 -361
- package/dist/_chunks/ro-Cp--52bT.js.map +0 -1
- package/dist/_chunks/rotate-ccw-BWANpitO.js +0 -15
- package/dist/_chunks/rotate-ccw-BWANpitO.js.map +0 -1
- package/dist/_chunks/ru-BM8eX_Zz.js +0 -561
- package/dist/_chunks/ru-BM8eX_Zz.js.map +0 -1
- package/dist/_chunks/scan-line-lGioFwLC.js +0 -18
- package/dist/_chunks/scan-line-lGioFwLC.js.map +0 -1
- package/dist/_chunks/search-BonnQsHv.js +0 -15
- package/dist/_chunks/search-BonnQsHv.js.map +0 -1
- package/dist/_chunks/search-bar-C_T3pBJn.js +0 -612
- package/dist/_chunks/search-bar-C_T3pBJn.js.map +0 -1
- package/dist/_chunks/search-input-DQvGxR74.js +0 -237
- package/dist/_chunks/search-input-DQvGxR74.js.map +0 -1
- package/dist/_chunks/select-KsyRr8WH.js +0 -442
- package/dist/_chunks/select-KsyRr8WH.js.map +0 -1
- package/dist/_chunks/send-CySZIRPJ.js +0 -21
- package/dist/_chunks/send-CySZIRPJ.js.map +0 -1
- package/dist/_chunks/session-countdown-X1Ki6i0M.js +0 -214
- package/dist/_chunks/session-countdown-X1Ki6i0M.js.map +0 -1
- package/dist/_chunks/settings-ca2Yi9R8.js +0 -21
- package/dist/_chunks/settings-ca2Yi9R8.js.map +0 -1
- package/dist/_chunks/sheet-umkfZjF6.js +0 -296
- package/dist/_chunks/sheet-umkfZjF6.js.map +0 -1
- package/dist/_chunks/shield-check-BjCGH_Sr.js +0 -21
- package/dist/_chunks/shield-check-BjCGH_Sr.js.map +0 -1
- package/dist/_chunks/sidebar-QCp9wHNP.js +0 -1311
- package/dist/_chunks/sidebar-QCp9wHNP.js.map +0 -1
- package/dist/_chunks/sign-document-By6hMOra.js +0 -370
- package/dist/_chunks/sign-document-By6hMOra.js.map +0 -1
- package/dist/_chunks/signature-field-Dy1JRjzE.js +0 -197
- package/dist/_chunks/signature-field-Dy1JRjzE.js.map +0 -1
- package/dist/_chunks/smart-date-CWikAqZx.js +0 -114
- package/dist/_chunks/smart-date-CWikAqZx.js.map +0 -1
- package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
- package/dist/_chunks/sparkles-CuYXqQLg.js.map +0 -1
- package/dist/_chunks/sq-XRpr0r49.js +0 -355
- package/dist/_chunks/sq-XRpr0r49.js.map +0 -1
- package/dist/_chunks/square-CZoGU14v.js +0 -14
- package/dist/_chunks/square-CZoGU14v.js.map +0 -1
- package/dist/_chunks/square-check-big-Jr-0202D.js +0 -18
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +0 -1
- package/dist/_chunks/star-vav0SJ9e.js +0 -20
- package/dist/_chunks/star-vav0SJ9e.js.map +0 -1
- package/dist/_chunks/stepper-accordion-DC-H-8v4.js +0 -247
- package/dist/_chunks/stepper-accordion-DC-H-8v4.js.map +0 -1
- package/dist/_chunks/stethoscope-DT5qCW8Y.js +0 -18
- package/dist/_chunks/stethoscope-DT5qCW8Y.js.map +0 -1
- package/dist/_chunks/streaming-text-BB9mvK4m.js +0 -131
- package/dist/_chunks/streaming-text-BB9mvK4m.js.map +0 -1
- package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
- package/dist/_chunks/subDays-BcYv1Lxi.js.map +0 -1
- package/dist/_chunks/sun-BuXE0xUS.js +0 -38
- package/dist/_chunks/sun-BuXE0xUS.js.map +0 -1
- package/dist/_chunks/sv-Z3APomE8.js +0 -376
- package/dist/_chunks/sv-Z3APomE8.js.map +0 -1
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +0 -262
- package/dist/_chunks/tab-bar-Bv9nGNdO.js.map +0 -1
- package/dist/_chunks/tabs-CYZVKKDl.js +0 -408
- package/dist/_chunks/tabs-CYZVKKDl.js.map +0 -1
- package/dist/_chunks/tag-BQXwuJq1.js +0 -258
- package/dist/_chunks/tag-BQXwuJq1.js.map +0 -1
- package/dist/_chunks/task-card-DCdsI0ZT.js +0 -189
- package/dist/_chunks/task-card-DCdsI0ZT.js.map +0 -1
- package/dist/_chunks/task-tray-DNVejijD.js +0 -251
- package/dist/_chunks/task-tray-DNVejijD.js.map +0 -1
- package/dist/_chunks/tasks-panel-C9odmawT.js +0 -757
- package/dist/_chunks/tasks-panel-C9odmawT.js.map +0 -1
- package/dist/_chunks/text-input-B-OWQ1Je.js +0 -283
- package/dist/_chunks/text-input-B-OWQ1Je.js.map +0 -1
- package/dist/_chunks/theme-toggle-XB6o_lgs.js +0 -367
- package/dist/_chunks/theme-toggle-XB6o_lgs.js.map +0 -1
- package/dist/_chunks/timeline-CqA4nKTI.js +0 -294
- package/dist/_chunks/timeline-CqA4nKTI.js.map +0 -1
- package/dist/_chunks/toast.agent-57UzyR9U.js +0 -1005
- package/dist/_chunks/toast.agent-57UzyR9U.js.map +0 -1
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js +0 -147
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js.map +0 -1
- package/dist/_chunks/tooth-scheme-DJZtzfeY.js +0 -2133
- package/dist/_chunks/tooth-scheme-DJZtzfeY.js.map +0 -1
- package/dist/_chunks/tr-e0-P4FON.js +0 -378
- package/dist/_chunks/tr-e0-P4FON.js.map +0 -1
- package/dist/_chunks/transaction-chip-CscoQbxF.js +0 -225
- package/dist/_chunks/transaction-chip-CscoQbxF.js.map +0 -1
- package/dist/_chunks/transcript-panel-CHGHHHdT.js +0 -374
- package/dist/_chunks/transcript-panel-CHGHHHdT.js.map +0 -1
- package/dist/_chunks/trash-2-rPAKaRgB.js +0 -18
- package/dist/_chunks/trash-2-rPAKaRgB.js.map +0 -1
- package/dist/_chunks/triangle-alert-CBPUIzQo.js +0 -22
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +0 -1
- package/dist/_chunks/unit-converter-CwlZbfdn.js +0 -337
- package/dist/_chunks/unit-converter-CwlZbfdn.js.map +0 -1
- package/dist/_chunks/use-password-requirements-BXvS2MBS.js +0 -453
- package/dist/_chunks/use-password-requirements-BXvS2MBS.js.map +0 -1
- package/dist/_chunks/user-CPxpqFjJ.js +0 -15
- package/dist/_chunks/user-CPxpqFjJ.js.map +0 -1
- package/dist/_chunks/user-cog-BS_qc8nA.js +0 -24
- package/dist/_chunks/user-cog-BS_qc8nA.js.map +0 -1
- package/dist/_chunks/users-MBVtUzwd.js +0 -17
- package/dist/_chunks/users-MBVtUzwd.js.map +0 -1
- package/dist/_chunks/video-BAeICxCT.js +0 -21
- package/dist/_chunks/video-BAeICxCT.js.map +0 -1
- package/dist/_chunks/warning-stack--sTrrBDA.js +0 -268
- package/dist/_chunks/warning-stack--sTrrBDA.js.map +0 -1
- package/dist/_chunks/workflow-map-M8MBBHQm.js +0 -1356
- package/dist/_chunks/workflow-map-M8MBBHQm.js.map +0 -1
- package/dist/_chunks/x-CCcI3eJp.js +0 -15
- package/dist/_chunks/x-CCcI3eJp.js.map +0 -1
- package/dist/_chunks/zh-CN-B-igM5gY.js +0 -388
- package/dist/_chunks/zh-CN-B-igM5gY.js.map +0 -1
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +0 -29
- package/dist/_chunks/zoom-out-CgVtf2Wx.js.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +0 -20
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +0 -69
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/index.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.d.ts.map +0 -1
- package/dist/components/anatomy-scheme/index.js +0 -17
- /package/dist/components/{anatomy-scheme → face-scheme}/index.js.map +0 -0
|
@@ -0,0 +1,2695 @@
|
|
|
1
|
+
import { jsxs as f, jsx as a, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef as ae, useEffect as H, useMemo as w, useImperativeHandle as _t } from "react";
|
|
3
|
+
import { c as Pe } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as O, Trans as Pt } from "react-i18next";
|
|
5
|
+
import { u as Ot } from "./registry-DvAUVLHh.js";
|
|
6
|
+
import { A as z } from "./alert-KJbsPYkI.js";
|
|
7
|
+
import { B as ie } from "./button-DD_0Xdmr.js";
|
|
8
|
+
import { C as Ke } from "./checkbox-BuZ1u__2.js";
|
|
9
|
+
import { C as Bt } from "./checkbox-group-CfqMv57d.js";
|
|
10
|
+
import { D as Et } from "./date-picker-CVkD_lOi.js";
|
|
11
|
+
import { E as Rt } from "./email-input-Dpe63k0K.js";
|
|
12
|
+
import { F as Z } from "./form-field-M5UpX65Z.js";
|
|
13
|
+
import { P as Vt } from "./phone-input-dtnrvnZf.js";
|
|
14
|
+
import { T as Lt } from "./text-area-Bt3p7Pt0.js";
|
|
15
|
+
import { T as Ce } from "./text-input-CUvCb6ST.js";
|
|
16
|
+
import { S as Ft } from "./spinner-hbwuKwMf.js";
|
|
17
|
+
import { I as tt } from "./icon-button-LqoiKcUN.js";
|
|
18
|
+
import { S as Oe } from "./select-BmCbJMJS.js";
|
|
19
|
+
import { C as Ge } from "./combobox-DiMLItyu.js";
|
|
20
|
+
import { M as Ue } from "./multi-select-D5QLBJM1.js";
|
|
21
|
+
import { S as _e } from "./skeleton-CZbwyJAA.js";
|
|
22
|
+
import { E as dt } from "./empty-state-BLy7tigq.js";
|
|
23
|
+
import { S as $t } from "./stepper-accordion-BeVMZPuG.js";
|
|
24
|
+
import { S as zt } from "./stepper-progress-Bv0njx4g.js";
|
|
25
|
+
import { p as L, S as Kt } from "./slot-grid-FsqumOaS.js";
|
|
26
|
+
import { s as le, i as st } from "./isSameDay-DUEiAT0G.js";
|
|
27
|
+
import { w as lt, i as ce, a as je, n as jt, f as ye, d as qt, h as Te, x as De } from "./date-picker-variants-DLg-ZrIo.js";
|
|
28
|
+
import { s as Ht } from "./subDays-DGSOp9d9.js";
|
|
29
|
+
import { C as Gt } from "./chevron-left-B8cOyH-V.js";
|
|
30
|
+
import { C as Ut } from "./chevron-right-I9AeSxH2.js";
|
|
31
|
+
import { c as F } from "./createLucideIcon-DhHxpK9K.js";
|
|
32
|
+
import { M as Yt, S as Jt } from "./sun-Bj9Mr553.js";
|
|
33
|
+
import { S as Zt } from "./stethoscope-sZXGC43m.js";
|
|
34
|
+
import { H as Wt } from "./heart-pulse-BCppJyN2.js";
|
|
35
|
+
import { E as Xt } from "./eye-BjhN2nYf.js";
|
|
36
|
+
import { S as Qt } from "./scan-line-CNseIHQ0.js";
|
|
37
|
+
import { A as es } from "./astroid-BN4f5VXU.js";
|
|
38
|
+
import { C as ts } from "./clipboard-check-BeAGxDVT.js";
|
|
39
|
+
/**
|
|
40
|
+
* @license lucide-react v1.22.0 - ISC
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the ISC license.
|
|
43
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/
|
|
45
|
+
const ss = [
|
|
46
|
+
[
|
|
47
|
+
"path",
|
|
48
|
+
{
|
|
49
|
+
d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",
|
|
50
|
+
key: "169zse"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
], as = F("activity", ss);
|
|
54
|
+
/**
|
|
55
|
+
* @license lucide-react v1.22.0 - ISC
|
|
56
|
+
*
|
|
57
|
+
* This source code is licensed under the ISC license.
|
|
58
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
+
*/
|
|
60
|
+
const is = [
|
|
61
|
+
["path", { d: "M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5", key: "1u7htd" }],
|
|
62
|
+
["path", { d: "M15 12h.01", key: "1k8ypt" }],
|
|
63
|
+
[
|
|
64
|
+
"path",
|
|
65
|
+
{
|
|
66
|
+
d: "M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",
|
|
67
|
+
key: "11xh7x"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
["path", { d: "M9 12h.01", key: "157uk2" }]
|
|
71
|
+
], ns = F("baby", is);
|
|
72
|
+
/**
|
|
73
|
+
* @license lucide-react v1.22.0 - ISC
|
|
74
|
+
*
|
|
75
|
+
* This source code is licensed under the ISC license.
|
|
76
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
+
*/
|
|
78
|
+
const os = [
|
|
79
|
+
[
|
|
80
|
+
"path",
|
|
81
|
+
{
|
|
82
|
+
d: "M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z",
|
|
83
|
+
key: "w610uw"
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
], rs = F("bone", os);
|
|
87
|
+
/**
|
|
88
|
+
* @license lucide-react v1.22.0 - ISC
|
|
89
|
+
*
|
|
90
|
+
* This source code is licensed under the ISC license.
|
|
91
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
+
*/
|
|
93
|
+
const ds = [
|
|
94
|
+
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
95
|
+
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
96
|
+
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
97
|
+
["path", { d: "M17.997 5.125a4 4 0 0 1 2.526 5.77", key: "iwvgf7" }],
|
|
98
|
+
["path", { d: "M18 18a4 4 0 0 0 2-7.464", key: "efp6ie" }],
|
|
99
|
+
["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
|
|
100
|
+
["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
|
|
101
|
+
["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
|
|
102
|
+
], ls = F("brain", ds);
|
|
103
|
+
/**
|
|
104
|
+
* @license lucide-react v1.22.0 - ISC
|
|
105
|
+
*
|
|
106
|
+
* This source code is licensed under the ISC license.
|
|
107
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
+
*/
|
|
109
|
+
const cs = [
|
|
110
|
+
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
111
|
+
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
112
|
+
["path", { d: "M3 10h18", key: "8toen8" }],
|
|
113
|
+
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
114
|
+
["path", { d: "M17 14h-6", key: "bkmgh3" }],
|
|
115
|
+
["path", { d: "M13 18H7", key: "bb0bb7" }],
|
|
116
|
+
["path", { d: "M7 14h.01", key: "1qa3f1" }],
|
|
117
|
+
["path", { d: "M17 18h.01", key: "1bdyru" }]
|
|
118
|
+
], us = F("calendar-range", cs);
|
|
119
|
+
/**
|
|
120
|
+
* @license lucide-react v1.22.0 - ISC
|
|
121
|
+
*
|
|
122
|
+
* This source code is licensed under the ISC license.
|
|
123
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
+
*/
|
|
125
|
+
const ps = [
|
|
126
|
+
["path", { d: "M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0", key: "1dfaln" }],
|
|
127
|
+
["path", { d: "M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4", key: "1qnva7" }]
|
|
128
|
+
], ms = F("ear", ps);
|
|
129
|
+
/**
|
|
130
|
+
* @license lucide-react v1.22.0 - ISC
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the ISC license.
|
|
133
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/
|
|
135
|
+
const gs = [
|
|
136
|
+
["path", { d: "M6 18h8", key: "1borvv" }],
|
|
137
|
+
["path", { d: "M3 22h18", key: "8prr45" }],
|
|
138
|
+
["path", { d: "M14 22a7 7 0 1 0 0-14h-1", key: "1jwaiy" }],
|
|
139
|
+
["path", { d: "M9 14h2", key: "197e7h" }],
|
|
140
|
+
["path", { d: "M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z", key: "1bmzmy" }],
|
|
141
|
+
["path", { d: "M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3", key: "1drr47" }]
|
|
142
|
+
], fs = F("microscope", gs);
|
|
143
|
+
/**
|
|
144
|
+
* @license lucide-react v1.22.0 - ISC
|
|
145
|
+
*
|
|
146
|
+
* This source code is licensed under the ISC license.
|
|
147
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
148
|
+
*/
|
|
149
|
+
const hs = [
|
|
150
|
+
[
|
|
151
|
+
"path",
|
|
152
|
+
{ d: "m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z", key: "wa1lgi" }
|
|
153
|
+
],
|
|
154
|
+
["path", { d: "m8.5 8.5 7 7", key: "rvfmvr" }]
|
|
155
|
+
], vs = F("pill", hs);
|
|
156
|
+
/**
|
|
157
|
+
* @license lucide-react v1.22.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/
|
|
162
|
+
const bs = [
|
|
163
|
+
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
164
|
+
["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
|
|
165
|
+
["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
|
|
166
|
+
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
167
|
+
["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
|
|
168
|
+
], ys = F("scissors", bs);
|
|
169
|
+
/**
|
|
170
|
+
* @license lucide-react v1.22.0 - ISC
|
|
171
|
+
*
|
|
172
|
+
* This source code is licensed under the ISC license.
|
|
173
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
+
*/
|
|
175
|
+
const ks = [
|
|
176
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
177
|
+
["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
|
|
178
|
+
["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
|
|
179
|
+
["line", { x1: "15", x2: "15.01", y1: "9", y2: "9", key: "1p4y9e" }]
|
|
180
|
+
], xs = F("smile", ks);
|
|
181
|
+
/**
|
|
182
|
+
* @license lucide-react v1.22.0 - ISC
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the ISC license.
|
|
185
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/
|
|
187
|
+
const Ss = [
|
|
188
|
+
["path", { d: "M12 10V2", key: "16sf7g" }],
|
|
189
|
+
["path", { d: "m4.93 10.93 1.41 1.41", key: "2a7f42" }],
|
|
190
|
+
["path", { d: "M2 18h2", key: "j10viu" }],
|
|
191
|
+
["path", { d: "M20 18h2", key: "wocana" }],
|
|
192
|
+
["path", { d: "m19.07 10.93-1.41 1.41", key: "15zs5n" }],
|
|
193
|
+
["path", { d: "M22 22H2", key: "19qnx5" }],
|
|
194
|
+
["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
|
|
195
|
+
["path", { d: "M16 18a4 4 0 0 0-8 0", key: "1lzouq" }]
|
|
196
|
+
], Is = F("sunset", Ss);
|
|
197
|
+
/**
|
|
198
|
+
* @license lucide-react v1.22.0 - ISC
|
|
199
|
+
*
|
|
200
|
+
* This source code is licensed under the ISC license.
|
|
201
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
202
|
+
*/
|
|
203
|
+
const Ns = [
|
|
204
|
+
["path", { d: "m18 2 4 4", key: "22kx64" }],
|
|
205
|
+
["path", { d: "m17 7 3-3", key: "1w1zoj" }],
|
|
206
|
+
["path", { d: "M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5", key: "1exhtz" }],
|
|
207
|
+
["path", { d: "m9 11 4 4", key: "rovt3i" }],
|
|
208
|
+
["path", { d: "m5 19-3 3", key: "59f2uf" }],
|
|
209
|
+
["path", { d: "m14 4 6 6", key: "yqp9t2" }]
|
|
210
|
+
], at = F("syringe", Ns);
|
|
211
|
+
function ws(e, t, s) {
|
|
212
|
+
return lt(e, -1, s);
|
|
213
|
+
}
|
|
214
|
+
const Cs = {
|
|
215
|
+
id: "booking",
|
|
216
|
+
// `view_change` removed (0.69): the layout `variant` is a fixed prop — the
|
|
217
|
+
// handle exposes only `getVariant` (state), no action mutates it. The flow's
|
|
218
|
+
// only navigation is step-to-step (`goto_step` → `navigate`).
|
|
219
|
+
capabilities: ["navigate"],
|
|
220
|
+
state: {
|
|
221
|
+
variant: {
|
|
222
|
+
type: "string",
|
|
223
|
+
descriptionKey: "ui.agent.booking.state.variant",
|
|
224
|
+
description: "Active variant — one of `inline-list`, `accordion`, `calendar`, `flexible`, `progress`.",
|
|
225
|
+
read: (e) => e.getVariant()
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
actions: {
|
|
229
|
+
reset: {
|
|
230
|
+
// destructive: clears the whole in-progress booking value (patient
|
|
231
|
+
// identity, contact, slot choice) — irreversibly loses user input.
|
|
232
|
+
safety: "destructive",
|
|
233
|
+
idempotent: !0,
|
|
234
|
+
descriptionKey: "ui.agent.booking.actions.reset",
|
|
235
|
+
description: "Clear the booking value back to an empty state. Use to abandon an in-progress flow.",
|
|
236
|
+
errors: ["Resetting after submit has no effect — the flow is on step 8."],
|
|
237
|
+
invoke: (e) => {
|
|
238
|
+
e.reset();
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
goto_step: {
|
|
242
|
+
safety: "read",
|
|
243
|
+
argsType: "{ step: 1 | 2 | 3 | 4 | 5 | 6 | 7 }",
|
|
244
|
+
argsSchema: {
|
|
245
|
+
type: "object",
|
|
246
|
+
properties: {
|
|
247
|
+
step: {
|
|
248
|
+
type: "integer",
|
|
249
|
+
enum: [1, 2, 3, 4, 5, 6, 7],
|
|
250
|
+
description: "Target step (1-7)."
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
required: ["step"]
|
|
254
|
+
},
|
|
255
|
+
idempotent: !0,
|
|
256
|
+
descriptionKey: "ui.agent.booking.actions.gotoStep",
|
|
257
|
+
description: "Jump to the given step. Implementations may clamp to the first incomplete step if the requested one is not reachable yet.",
|
|
258
|
+
errors: [
|
|
259
|
+
"Requested step is not yet reachable — clamped to the first incomplete step."
|
|
260
|
+
],
|
|
261
|
+
examples: [{ args: { step: 1 }, note: "Return to the first step." }],
|
|
262
|
+
invoke: (e, t) => {
|
|
263
|
+
e.goToStep(t.step);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
domHooks: {
|
|
268
|
+
root: {
|
|
269
|
+
attr: "data-component",
|
|
270
|
+
value: "booking",
|
|
271
|
+
description: "Marks the Booking root region."
|
|
272
|
+
},
|
|
273
|
+
instanceId: {
|
|
274
|
+
attr: "data-component-id",
|
|
275
|
+
sourceProp: "id",
|
|
276
|
+
description: "Sourced from the id prop."
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}, qe = [
|
|
280
|
+
"email",
|
|
281
|
+
"whatsapp",
|
|
282
|
+
"sms"
|
|
283
|
+
], X = "all", Ds = "de";
|
|
284
|
+
function Ms(e) {
|
|
285
|
+
return [...e.lockedOperatorId ? e.specialties.filter(
|
|
286
|
+
(s) => {
|
|
287
|
+
var i;
|
|
288
|
+
return (i = s.operatorIds) == null ? void 0 : i.includes(e.lockedOperatorId);
|
|
289
|
+
}
|
|
290
|
+
) : e.specialties].sort((s, i) => {
|
|
291
|
+
const n = s.sequenceNumber ?? Number.POSITIVE_INFINITY, o = i.sequenceNumber ?? Number.POSITIVE_INFINITY;
|
|
292
|
+
return n - o;
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
function As(e) {
|
|
296
|
+
let t = e.services;
|
|
297
|
+
if (e.lockedOperatorId && (t = t.filter(
|
|
298
|
+
(i) => {
|
|
299
|
+
var n;
|
|
300
|
+
return (n = i.operatorIds) == null ? void 0 : n.includes(e.lockedOperatorId);
|
|
301
|
+
}
|
|
302
|
+
)), e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) {
|
|
303
|
+
const i = ue(e.value);
|
|
304
|
+
i.length > 0 && (t = t.filter(
|
|
305
|
+
(n) => n.specialtyId !== void 0 && i.includes(n.specialtyId)
|
|
306
|
+
));
|
|
307
|
+
}
|
|
308
|
+
return t;
|
|
309
|
+
}
|
|
310
|
+
function Ts(e) {
|
|
311
|
+
const t = e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties;
|
|
312
|
+
if (t) {
|
|
313
|
+
const s = ue(e.value);
|
|
314
|
+
if (s.length > 0)
|
|
315
|
+
return e.operators.filter(
|
|
316
|
+
(i) => {
|
|
317
|
+
var n;
|
|
318
|
+
return (n = i.specialtyIds) == null ? void 0 : n.some((o) => s.includes(o));
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
if (!t) {
|
|
323
|
+
const s = Be(e.value);
|
|
324
|
+
if (s.length > 0)
|
|
325
|
+
return e.operators.filter(
|
|
326
|
+
(i) => {
|
|
327
|
+
var n;
|
|
328
|
+
return (n = i.appointmentBookingReasonIds) == null ? void 0 : n.some((o) => s.includes(o));
|
|
329
|
+
}
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
return [];
|
|
333
|
+
}
|
|
334
|
+
function _s(e, t) {
|
|
335
|
+
const s = e.country === Ds, i = !s || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, p = !o || l, r = Be(e.value).length > 0, c = !p || r, m = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && m.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0, M = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, y = r && m.length === 0;
|
|
336
|
+
return {
|
|
337
|
+
insurance: s,
|
|
338
|
+
specialty: o,
|
|
339
|
+
service: p,
|
|
340
|
+
operator: k,
|
|
341
|
+
date: I,
|
|
342
|
+
slot: N,
|
|
343
|
+
details: M,
|
|
344
|
+
onboardingIncomplete: y
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
function Ps(e, t) {
|
|
348
|
+
const s = [];
|
|
349
|
+
t.insurance && s.push(1), t.specialty && s.push(2), s.push(3), t.operator && s.push(4), s.push(5), s.push(6), s.push(7);
|
|
350
|
+
const i = {
|
|
351
|
+
1: e.value.insuranceType !== void 0,
|
|
352
|
+
// 0.34.0: array-or-single — satisfied when EITHER form is present.
|
|
353
|
+
2: ue(e.value).length > 0,
|
|
354
|
+
3: Be(e.value).length > 0,
|
|
355
|
+
4: e.value.operatorId !== void 0 || e.value.operatorIds !== void 0 && e.value.operatorIds.length > 0,
|
|
356
|
+
5: e.value.date !== void 0,
|
|
357
|
+
6: e.value.slotKey !== void 0,
|
|
358
|
+
7: !1
|
|
359
|
+
// details fulfilment is owned by the form's own validation
|
|
360
|
+
};
|
|
361
|
+
return {
|
|
362
|
+
currentStep: s.find((o) => !i[o]) ?? 7,
|
|
363
|
+
visibleSteps: s
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
function Os(e) {
|
|
367
|
+
const t = {
|
|
368
|
+
specialties: Ms(e),
|
|
369
|
+
services: As(e),
|
|
370
|
+
operators: Ts(e)
|
|
371
|
+
}, s = _s(e, t), { currentStep: i, visibleSteps: n } = Ps(e, s);
|
|
372
|
+
let o;
|
|
373
|
+
if (e.value.date && e.value.slotKey) {
|
|
374
|
+
const c = e.availableSlots[e.value.date];
|
|
375
|
+
c && (o = c.find((m) => m.key === e.value.slotKey));
|
|
376
|
+
}
|
|
377
|
+
const l = Be(e.value), u = l.length > 0 ? e.services.find((c) => c.id === l[0]) : void 0, p = ue(e.value).length > 0, r = l.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!s.insurance || e.value.insuranceType !== void 0) && (!s.specialty || p);
|
|
378
|
+
return {
|
|
379
|
+
gates: s,
|
|
380
|
+
filtered: t,
|
|
381
|
+
currentStep: i,
|
|
382
|
+
totalSteps: n.length,
|
|
383
|
+
visibleSteps: n,
|
|
384
|
+
isReadyToSubmit: r,
|
|
385
|
+
durationMin: u == null ? void 0 : u.durationMin,
|
|
386
|
+
selectedSlot: o
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
function ct(e, t) {
|
|
390
|
+
return {
|
|
391
|
+
...e,
|
|
392
|
+
insuranceType: t,
|
|
393
|
+
specialtyId: void 0,
|
|
394
|
+
serviceId: void 0,
|
|
395
|
+
operatorId: void 0,
|
|
396
|
+
date: void 0,
|
|
397
|
+
slotKey: void 0,
|
|
398
|
+
details: void 0
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
function ut(e, t) {
|
|
402
|
+
return {
|
|
403
|
+
...e,
|
|
404
|
+
specialtyId: t,
|
|
405
|
+
specialtyIds: void 0,
|
|
406
|
+
serviceId: void 0,
|
|
407
|
+
serviceIds: void 0,
|
|
408
|
+
operatorId: void 0,
|
|
409
|
+
operatorIds: void 0,
|
|
410
|
+
date: void 0,
|
|
411
|
+
slotKey: void 0,
|
|
412
|
+
details: void 0
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
function pt(e, t) {
|
|
416
|
+
return {
|
|
417
|
+
...e,
|
|
418
|
+
specialtyId: void 0,
|
|
419
|
+
specialtyIds: t,
|
|
420
|
+
serviceId: void 0,
|
|
421
|
+
serviceIds: void 0,
|
|
422
|
+
operatorId: void 0,
|
|
423
|
+
operatorIds: void 0,
|
|
424
|
+
date: void 0,
|
|
425
|
+
slotKey: void 0,
|
|
426
|
+
details: void 0
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
function mt(e, t) {
|
|
430
|
+
return {
|
|
431
|
+
...e,
|
|
432
|
+
serviceId: t,
|
|
433
|
+
serviceIds: void 0,
|
|
434
|
+
// Default the operator to the "All operators" sentinel so a patient
|
|
435
|
+
// who doesn't care about picking lands on a satisfied step 4 without
|
|
436
|
+
// any further input.
|
|
437
|
+
operatorId: t ? X : void 0,
|
|
438
|
+
operatorIds: void 0,
|
|
439
|
+
date: void 0,
|
|
440
|
+
slotKey: void 0,
|
|
441
|
+
details: void 0
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
function gt(e, t) {
|
|
445
|
+
const s = !!t && t.length > 0;
|
|
446
|
+
return {
|
|
447
|
+
...e,
|
|
448
|
+
serviceId: void 0,
|
|
449
|
+
serviceIds: t,
|
|
450
|
+
operatorId: s ? X : void 0,
|
|
451
|
+
operatorIds: void 0,
|
|
452
|
+
date: void 0,
|
|
453
|
+
slotKey: void 0,
|
|
454
|
+
details: void 0
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
function ft(e, t) {
|
|
458
|
+
return {
|
|
459
|
+
...e,
|
|
460
|
+
operatorId: t,
|
|
461
|
+
operatorIds: void 0,
|
|
462
|
+
date: void 0,
|
|
463
|
+
slotKey: void 0,
|
|
464
|
+
details: void 0
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
function ht(e, t) {
|
|
468
|
+
return {
|
|
469
|
+
...e,
|
|
470
|
+
operatorId: void 0,
|
|
471
|
+
operatorIds: t,
|
|
472
|
+
date: void 0,
|
|
473
|
+
slotKey: void 0,
|
|
474
|
+
details: void 0
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
function ue(e) {
|
|
478
|
+
return e.specialtyIds && e.specialtyIds.length > 0 ? e.specialtyIds : e.specialtyId ? [e.specialtyId] : [];
|
|
479
|
+
}
|
|
480
|
+
function Be(e) {
|
|
481
|
+
return e.serviceIds && e.serviceIds.length > 0 ? e.serviceIds : e.serviceId ? [e.serviceId] : [];
|
|
482
|
+
}
|
|
483
|
+
function Ee(e, t) {
|
|
484
|
+
return {
|
|
485
|
+
...e,
|
|
486
|
+
date: t,
|
|
487
|
+
slotKey: void 0
|
|
488
|
+
// Keep details — date/slot changes shouldn't wipe the patient form
|
|
489
|
+
// since the user has already filled some fields.
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
function vt(e, t) {
|
|
493
|
+
return {
|
|
494
|
+
...e,
|
|
495
|
+
slotKey: t
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
function Bs(e, t) {
|
|
499
|
+
let s = e;
|
|
500
|
+
if (t.lockedOperatorId && s.operatorId !== t.lockedOperatorId && (s = { ...s, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && s.specialtyId === void 0 && s.specialtyIds === void 0 && (s = { ...s, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
|
|
501
|
+
const n = ue(s), o = n.length > 0 ? t.services.filter(
|
|
502
|
+
(l) => l.specialtyId && n.includes(l.specialtyId)
|
|
503
|
+
) : t.services;
|
|
504
|
+
o.length === 1 && s.serviceId === void 0 && s.serviceIds === void 0 && (s = { ...s, serviceId: o[0].id }, s.operatorId === void 0 && s.operatorIds === void 0 && (s = { ...s, operatorId: X }));
|
|
505
|
+
}
|
|
506
|
+
return s;
|
|
507
|
+
}
|
|
508
|
+
function He(e) {
|
|
509
|
+
if (e.operatorId && e.operatorId !== X)
|
|
510
|
+
return e.operatorId;
|
|
511
|
+
}
|
|
512
|
+
function Es(e) {
|
|
513
|
+
if (!e) return !1;
|
|
514
|
+
const t = e.trim();
|
|
515
|
+
return /^\+?\d[\d\s\-()]{6,}$/.test(t);
|
|
516
|
+
}
|
|
517
|
+
function bt(e) {
|
|
518
|
+
const t = e && e.length > 0 ? e : ["email"], s = new Set(t);
|
|
519
|
+
return qe.filter((i) => s.has(i));
|
|
520
|
+
}
|
|
521
|
+
function Rs(e, t, s) {
|
|
522
|
+
const i = bt(e), n = new Set(i);
|
|
523
|
+
if (s)
|
|
524
|
+
return qe.filter(
|
|
525
|
+
(r) => s.includes(r) && n.has(r)
|
|
526
|
+
);
|
|
527
|
+
const o = [];
|
|
528
|
+
n.has("email") && o.push("email");
|
|
529
|
+
const l = Es(t), u = n.has("whatsapp");
|
|
530
|
+
u && l && o.push("whatsapp"), !u && n.has("sms") && o.push("sms");
|
|
531
|
+
const p = new Set(o);
|
|
532
|
+
return qe.filter((r) => p.has(r));
|
|
533
|
+
}
|
|
534
|
+
const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, Me = { state: "idle" }, Ye = ot(
|
|
535
|
+
({
|
|
536
|
+
value: e,
|
|
537
|
+
onChange: t,
|
|
538
|
+
onSubmit: s,
|
|
539
|
+
requireCodiceFiscale: i = !1,
|
|
540
|
+
requireDateOfBirth: n = !1,
|
|
541
|
+
requireInsuranceNumber: o = !1,
|
|
542
|
+
insuranceType: l,
|
|
543
|
+
showNote: u = !1,
|
|
544
|
+
showReturningPatientFlag: p = !1,
|
|
545
|
+
privacyPolicyUrl: r,
|
|
546
|
+
termsUrl: c,
|
|
547
|
+
validateCodiceFiscale: m,
|
|
548
|
+
validateInsuranceNumber: k,
|
|
549
|
+
submitting: I = !1,
|
|
550
|
+
summarySlot: v,
|
|
551
|
+
defaultPhoneCountry: N,
|
|
552
|
+
confirmationChannels: D,
|
|
553
|
+
defaultConfirmationChannels: M,
|
|
554
|
+
submitError: y
|
|
555
|
+
}, b) => {
|
|
556
|
+
var we, re;
|
|
557
|
+
const { t: d } = O(), T = rt(), [x, g] = K(Me), [S, _] = K(Me), [A, G] = K({}), B = j(
|
|
558
|
+
(h) => G((C) => ({ ...C, [h]: !0 })),
|
|
559
|
+
[]
|
|
560
|
+
), E = ae(null), U = ae(
|
|
561
|
+
null
|
|
562
|
+
);
|
|
563
|
+
H(
|
|
564
|
+
() => () => {
|
|
565
|
+
E.current && clearTimeout(E.current), U.current && clearTimeout(U.current);
|
|
566
|
+
},
|
|
567
|
+
[]
|
|
568
|
+
);
|
|
569
|
+
const P = j(
|
|
570
|
+
(h) => t({ ...e, ...h }),
|
|
571
|
+
[e, t]
|
|
572
|
+
), Q = w(
|
|
573
|
+
() => bt(D),
|
|
574
|
+
[D]
|
|
575
|
+
), q = Q.length >= 2, pe = ae(!1);
|
|
576
|
+
H(() => {
|
|
577
|
+
if (!q) {
|
|
578
|
+
e.confirmationChannels !== void 0 && P({ confirmationChannels: void 0 });
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
if (e.confirmationChannels !== void 0) {
|
|
582
|
+
pe.current = !0;
|
|
583
|
+
return;
|
|
584
|
+
}
|
|
585
|
+
const h = Rs(
|
|
586
|
+
Q,
|
|
587
|
+
e.mobilePhone,
|
|
588
|
+
M
|
|
589
|
+
);
|
|
590
|
+
pe.current = !0, P({ confirmationChannels: h });
|
|
591
|
+
}, [
|
|
592
|
+
q,
|
|
593
|
+
Q,
|
|
594
|
+
e.mobilePhone,
|
|
595
|
+
M
|
|
596
|
+
]);
|
|
597
|
+
const ee = w(
|
|
598
|
+
() => e.confirmationChannels ?? [],
|
|
599
|
+
[e.confirmationChannels]
|
|
600
|
+
), xe = q && ee.length === 0;
|
|
601
|
+
H(() => {
|
|
602
|
+
const h = e.codiceFiscale;
|
|
603
|
+
if (!i || !m || !h) {
|
|
604
|
+
g(Me);
|
|
605
|
+
return;
|
|
606
|
+
}
|
|
607
|
+
if (!Vs.test(h)) {
|
|
608
|
+
g({
|
|
609
|
+
state: "invalid",
|
|
610
|
+
hint: d("booking.details.codiceFiscale.invalidFormat")
|
|
611
|
+
});
|
|
612
|
+
return;
|
|
613
|
+
}
|
|
614
|
+
g({ state: "pending" }), E.current && clearTimeout(E.current), E.current = setTimeout(() => {
|
|
615
|
+
m(h).then(
|
|
616
|
+
(C) => g(
|
|
617
|
+
C.valid ? { state: "valid" } : { state: "invalid", hint: C.hint }
|
|
618
|
+
)
|
|
619
|
+
).catch(
|
|
620
|
+
() => g({
|
|
621
|
+
state: "invalid",
|
|
622
|
+
hint: d("booking.details.codiceFiscale.unavailable")
|
|
623
|
+
})
|
|
624
|
+
);
|
|
625
|
+
}, nt);
|
|
626
|
+
}, [i, m, e.codiceFiscale, d]);
|
|
627
|
+
const Y = o && l === "public";
|
|
628
|
+
H(() => {
|
|
629
|
+
const h = e.insuranceNumber;
|
|
630
|
+
if (!Y || !k || !h) {
|
|
631
|
+
_(Me);
|
|
632
|
+
return;
|
|
633
|
+
}
|
|
634
|
+
_({ state: "pending" }), U.current && clearTimeout(U.current), U.current = setTimeout(() => {
|
|
635
|
+
k(h).then(
|
|
636
|
+
(C) => _(
|
|
637
|
+
C.valid ? { state: "valid" } : { state: "invalid", hint: C.hint }
|
|
638
|
+
)
|
|
639
|
+
).catch(
|
|
640
|
+
() => _({
|
|
641
|
+
state: "invalid",
|
|
642
|
+
hint: d("booking.details.insuranceNumber.unavailable")
|
|
643
|
+
})
|
|
644
|
+
);
|
|
645
|
+
}, nt);
|
|
646
|
+
}, [Y, k, e.insuranceNumber, d]);
|
|
647
|
+
const ne = w(
|
|
648
|
+
() => !!(e.email && Ls.test(e.email)),
|
|
649
|
+
[e.email]
|
|
650
|
+
), me = w(
|
|
651
|
+
() => !!(e.mobilePhone && e.mobilePhone.length >= 6),
|
|
652
|
+
[e.mobilePhone]
|
|
653
|
+
), Se = w(() => {
|
|
654
|
+
var h, C;
|
|
655
|
+
return !(!((h = e.firstName) != null && h.trim()) || !((C = e.lastName) != null && C.trim()) || !ne || !me || i && x.state !== "valid" || n && !e.dateOfBirth || Y && S.state !== "valid");
|
|
656
|
+
}, [
|
|
657
|
+
e.firstName,
|
|
658
|
+
e.lastName,
|
|
659
|
+
ne,
|
|
660
|
+
me,
|
|
661
|
+
i,
|
|
662
|
+
x.state,
|
|
663
|
+
n,
|
|
664
|
+
e.dateOfBirth,
|
|
665
|
+
Y,
|
|
666
|
+
S.state
|
|
667
|
+
]), Ie = !!(e.privacyConsent && e.termsConsent), Re = !q || ee.length > 0, oe = Se && Ie && Re && !I, Ve = (h) => {
|
|
668
|
+
if (h.preventDefault(), G({
|
|
669
|
+
firstName: !0,
|
|
670
|
+
lastName: !0,
|
|
671
|
+
email: !0,
|
|
672
|
+
mobilePhone: !0,
|
|
673
|
+
codiceFiscale: !0,
|
|
674
|
+
dateOfBirth: !0,
|
|
675
|
+
insuranceNumber: !0
|
|
676
|
+
}), !oe) return;
|
|
677
|
+
const C = {
|
|
678
|
+
firstName: e.firstName.trim(),
|
|
679
|
+
lastName: e.lastName.trim(),
|
|
680
|
+
email: e.email.trim(),
|
|
681
|
+
mobilePhone: e.mobilePhone,
|
|
682
|
+
privacyConsent: !0,
|
|
683
|
+
termsConsent: !0,
|
|
684
|
+
codiceFiscale: e.codiceFiscale,
|
|
685
|
+
dateOfBirth: e.dateOfBirth,
|
|
686
|
+
insuranceNumber: e.insuranceNumber,
|
|
687
|
+
note: e.note,
|
|
688
|
+
returningPatient: e.returningPatient,
|
|
689
|
+
// Only include when the picker was visible; otherwise the single
|
|
690
|
+
// implicit channel is inferred backend-side from the practice
|
|
691
|
+
// config.
|
|
692
|
+
confirmationChannels: q ? ee : void 0
|
|
693
|
+
};
|
|
694
|
+
s(C);
|
|
695
|
+
}, Ne = (h, C) => {
|
|
696
|
+
const te = C && /^https?:\/\//i.test(C) ? C : void 0;
|
|
697
|
+
return te ? /* @__PURE__ */ a(
|
|
698
|
+
Pt,
|
|
699
|
+
{
|
|
700
|
+
i18nKey: h,
|
|
701
|
+
components: {
|
|
702
|
+
// The `<Trans>` runtime injects link text from the i18n
|
|
703
|
+
// string. The anchor renders empty at static-analysis time,
|
|
704
|
+
// so `jsx-a11y/anchor-has-content` would false-flag — silence
|
|
705
|
+
// it; the runtime content is the localised policy / terms
|
|
706
|
+
// label.
|
|
707
|
+
policyLink: (
|
|
708
|
+
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
709
|
+
/* @__PURE__ */ a(
|
|
710
|
+
"a",
|
|
711
|
+
{
|
|
712
|
+
href: te,
|
|
713
|
+
target: "_blank",
|
|
714
|
+
rel: "noopener noreferrer",
|
|
715
|
+
className: "ds:underline ds:text-[var(--primary)]"
|
|
716
|
+
}
|
|
717
|
+
)
|
|
718
|
+
)
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
) : d(h);
|
|
722
|
+
};
|
|
723
|
+
return /* @__PURE__ */ f(
|
|
724
|
+
"form",
|
|
725
|
+
{
|
|
726
|
+
ref: b,
|
|
727
|
+
id: T,
|
|
728
|
+
noValidate: !0,
|
|
729
|
+
onSubmit: Ve,
|
|
730
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
731
|
+
children: [
|
|
732
|
+
v,
|
|
733
|
+
/* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
|
|
734
|
+
/* @__PURE__ */ a(
|
|
735
|
+
Z,
|
|
736
|
+
{
|
|
737
|
+
label: d("booking.details.firstName.label"),
|
|
738
|
+
required: !0,
|
|
739
|
+
error: A.firstName && !((we = e.firstName) != null && we.trim()) ? d("booking.details.firstName.required") : void 0,
|
|
740
|
+
children: /* @__PURE__ */ a(
|
|
741
|
+
Ce,
|
|
742
|
+
{
|
|
743
|
+
autoComplete: "given-name",
|
|
744
|
+
value: e.firstName ?? "",
|
|
745
|
+
onChange: (h) => P({ firstName: h.target.value }),
|
|
746
|
+
onBlur: () => B("firstName")
|
|
747
|
+
}
|
|
748
|
+
)
|
|
749
|
+
}
|
|
750
|
+
),
|
|
751
|
+
/* @__PURE__ */ a(
|
|
752
|
+
Z,
|
|
753
|
+
{
|
|
754
|
+
label: d("booking.details.lastName.label"),
|
|
755
|
+
required: !0,
|
|
756
|
+
error: A.lastName && !((re = e.lastName) != null && re.trim()) ? d("booking.details.lastName.required") : void 0,
|
|
757
|
+
children: /* @__PURE__ */ a(
|
|
758
|
+
Ce,
|
|
759
|
+
{
|
|
760
|
+
autoComplete: "family-name",
|
|
761
|
+
value: e.lastName ?? "",
|
|
762
|
+
onChange: (h) => P({ lastName: h.target.value }),
|
|
763
|
+
onBlur: () => B("lastName")
|
|
764
|
+
}
|
|
765
|
+
)
|
|
766
|
+
}
|
|
767
|
+
)
|
|
768
|
+
] }),
|
|
769
|
+
/* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
|
|
770
|
+
/* @__PURE__ */ a(
|
|
771
|
+
Z,
|
|
772
|
+
{
|
|
773
|
+
label: d("booking.details.email.label"),
|
|
774
|
+
required: !0,
|
|
775
|
+
error: A.email && !ne ? d("booking.details.email.invalid") : void 0,
|
|
776
|
+
children: /* @__PURE__ */ a(
|
|
777
|
+
Rt,
|
|
778
|
+
{
|
|
779
|
+
value: e.email ?? "",
|
|
780
|
+
onChange: (h) => P({ email: h.target.value }),
|
|
781
|
+
onBlur: () => B("email")
|
|
782
|
+
}
|
|
783
|
+
)
|
|
784
|
+
}
|
|
785
|
+
),
|
|
786
|
+
/* @__PURE__ */ a(
|
|
787
|
+
Z,
|
|
788
|
+
{
|
|
789
|
+
label: d("booking.details.mobilePhone.label"),
|
|
790
|
+
required: !0,
|
|
791
|
+
error: A.mobilePhone && !me ? d("booking.details.mobilePhone.invalid") : void 0,
|
|
792
|
+
children: /* @__PURE__ */ a(
|
|
793
|
+
Vt,
|
|
794
|
+
{
|
|
795
|
+
value: e.mobilePhone ?? "",
|
|
796
|
+
defaultCountry: N == null ? void 0 : N.toUpperCase(),
|
|
797
|
+
onChange: (h) => {
|
|
798
|
+
P({ mobilePhone: h }), B("mobilePhone");
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
)
|
|
802
|
+
}
|
|
803
|
+
)
|
|
804
|
+
] }),
|
|
805
|
+
i || n ? /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
|
|
806
|
+
i ? /* @__PURE__ */ a(
|
|
807
|
+
Z,
|
|
808
|
+
{
|
|
809
|
+
label: d("booking.details.codiceFiscale.label"),
|
|
810
|
+
required: !0,
|
|
811
|
+
description: x.state === "pending" ? d("booking.details.codiceFiscale.checking") : d("booking.details.codiceFiscale.helper"),
|
|
812
|
+
error: A.codiceFiscale && x.state === "invalid" ? x.hint ?? d("booking.details.codiceFiscale.invalid") : void 0,
|
|
813
|
+
children: /* @__PURE__ */ a(
|
|
814
|
+
Ce,
|
|
815
|
+
{
|
|
816
|
+
value: e.codiceFiscale ?? "",
|
|
817
|
+
maxLength: 16,
|
|
818
|
+
onChange: (h) => P({
|
|
819
|
+
codiceFiscale: h.target.value.slice(0, 16).toUpperCase()
|
|
820
|
+
}),
|
|
821
|
+
onBlur: () => B("codiceFiscale")
|
|
822
|
+
}
|
|
823
|
+
)
|
|
824
|
+
}
|
|
825
|
+
) : null,
|
|
826
|
+
n ? /* @__PURE__ */ a(
|
|
827
|
+
Z,
|
|
828
|
+
{
|
|
829
|
+
label: d("booking.details.dateOfBirth.label"),
|
|
830
|
+
required: !0,
|
|
831
|
+
error: A.dateOfBirth && !e.dateOfBirth ? d("booking.details.dateOfBirth.required") : void 0,
|
|
832
|
+
children: /* @__PURE__ */ a(
|
|
833
|
+
Et,
|
|
834
|
+
{
|
|
835
|
+
value: e.dateOfBirth ? new Date(e.dateOfBirth) : void 0,
|
|
836
|
+
onChange: (h) => {
|
|
837
|
+
P({
|
|
838
|
+
dateOfBirth: h ? h.toISOString().slice(0, 10) : void 0
|
|
839
|
+
}), B("dateOfBirth");
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
)
|
|
843
|
+
}
|
|
844
|
+
) : null
|
|
845
|
+
] }) : null,
|
|
846
|
+
Y ? /* @__PURE__ */ a(
|
|
847
|
+
Z,
|
|
848
|
+
{
|
|
849
|
+
label: d("booking.details.insuranceNumber.label"),
|
|
850
|
+
required: !0,
|
|
851
|
+
description: S.state === "pending" ? d("booking.details.insuranceNumber.checking") : void 0,
|
|
852
|
+
error: A.insuranceNumber && S.state === "invalid" ? S.hint ?? d("booking.details.insuranceNumber.invalid") : void 0,
|
|
853
|
+
children: /* @__PURE__ */ a(
|
|
854
|
+
Ce,
|
|
855
|
+
{
|
|
856
|
+
value: e.insuranceNumber ?? "",
|
|
857
|
+
onChange: (h) => P({ insuranceNumber: h.target.value }),
|
|
858
|
+
onBlur: () => B("insuranceNumber")
|
|
859
|
+
}
|
|
860
|
+
)
|
|
861
|
+
}
|
|
862
|
+
) : null,
|
|
863
|
+
u ? /* @__PURE__ */ a(
|
|
864
|
+
Z,
|
|
865
|
+
{
|
|
866
|
+
label: d("booking.details.note.label"),
|
|
867
|
+
description: d("booking.details.note.helper", {
|
|
868
|
+
max: it
|
|
869
|
+
}),
|
|
870
|
+
children: /* @__PURE__ */ a(
|
|
871
|
+
Lt,
|
|
872
|
+
{
|
|
873
|
+
value: e.note ?? "",
|
|
874
|
+
maxLength: it,
|
|
875
|
+
rows: 3,
|
|
876
|
+
onChange: (h) => P({ note: h.target.value })
|
|
877
|
+
}
|
|
878
|
+
)
|
|
879
|
+
}
|
|
880
|
+
) : null,
|
|
881
|
+
p ? /* @__PURE__ */ a(
|
|
882
|
+
Ke,
|
|
883
|
+
{
|
|
884
|
+
checked: !!e.returningPatient,
|
|
885
|
+
onCheckedChange: (h) => P({ returningPatient: h === !0 }),
|
|
886
|
+
label: d("booking.details.returningPatient.label")
|
|
887
|
+
}
|
|
888
|
+
) : null,
|
|
889
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
890
|
+
/* @__PURE__ */ a(
|
|
891
|
+
Ke,
|
|
892
|
+
{
|
|
893
|
+
checked: !!e.privacyConsent,
|
|
894
|
+
onCheckedChange: (h) => P({ privacyConsent: h === !0 }),
|
|
895
|
+
label: /* @__PURE__ */ f(W, { children: [
|
|
896
|
+
Ne(
|
|
897
|
+
"booking.details.consent.privacy.label",
|
|
898
|
+
r
|
|
899
|
+
),
|
|
900
|
+
/* @__PURE__ */ a(
|
|
901
|
+
"span",
|
|
902
|
+
{
|
|
903
|
+
"aria-hidden": "true",
|
|
904
|
+
className: "ds:text-[var(--destructive)] ds:ms-[var(--spacing-2xs)]",
|
|
905
|
+
children: "*"
|
|
906
|
+
}
|
|
907
|
+
)
|
|
908
|
+
] })
|
|
909
|
+
}
|
|
910
|
+
),
|
|
911
|
+
/* @__PURE__ */ a(
|
|
912
|
+
Ke,
|
|
913
|
+
{
|
|
914
|
+
checked: !!e.termsConsent,
|
|
915
|
+
onCheckedChange: (h) => P({ termsConsent: h === !0 }),
|
|
916
|
+
label: /* @__PURE__ */ f(W, { children: [
|
|
917
|
+
Ne(
|
|
918
|
+
"booking.details.consent.terms.label",
|
|
919
|
+
c
|
|
920
|
+
),
|
|
921
|
+
/* @__PURE__ */ a(
|
|
922
|
+
"span",
|
|
923
|
+
{
|
|
924
|
+
"aria-hidden": "true",
|
|
925
|
+
className: "ds:text-[var(--destructive)] ds:ms-[var(--spacing-2xs)]",
|
|
926
|
+
children: "*"
|
|
927
|
+
}
|
|
928
|
+
)
|
|
929
|
+
] })
|
|
930
|
+
}
|
|
931
|
+
)
|
|
932
|
+
] }),
|
|
933
|
+
q ? /* @__PURE__ */ a(
|
|
934
|
+
"div",
|
|
935
|
+
{
|
|
936
|
+
"data-component": "booking-confirmation-channels",
|
|
937
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
938
|
+
children: /* @__PURE__ */ a(
|
|
939
|
+
Bt,
|
|
940
|
+
{
|
|
941
|
+
label: d("booking.confirmation.heading"),
|
|
942
|
+
helperText: d("booking.confirmation.helper"),
|
|
943
|
+
value: ee,
|
|
944
|
+
onChange: (h) => P({
|
|
945
|
+
confirmationChannels: h
|
|
946
|
+
}),
|
|
947
|
+
orientation: "vertical",
|
|
948
|
+
options: Q.map((h) => ({
|
|
949
|
+
value: h,
|
|
950
|
+
label: d(`booking.confirmation.channel.${h}`)
|
|
951
|
+
})),
|
|
952
|
+
error: xe ? d("booking.confirmation.atLeastOne") : void 0
|
|
953
|
+
}
|
|
954
|
+
)
|
|
955
|
+
}
|
|
956
|
+
) : null,
|
|
957
|
+
y ? /* @__PURE__ */ a(z, { variant: "error", children: /* @__PURE__ */ a(z.Description, { children: y }) }) : null,
|
|
958
|
+
/* @__PURE__ */ a(
|
|
959
|
+
ie,
|
|
960
|
+
{
|
|
961
|
+
intent: "primary",
|
|
962
|
+
size: "md",
|
|
963
|
+
type: "submit",
|
|
964
|
+
disabled: !oe,
|
|
965
|
+
startIcon: I ? /* @__PURE__ */ a(Ft, { variant: "pulse", size: "sm" }) : void 0,
|
|
966
|
+
children: d("booking.details.submit")
|
|
967
|
+
}
|
|
968
|
+
)
|
|
969
|
+
]
|
|
970
|
+
}
|
|
971
|
+
);
|
|
972
|
+
}
|
|
973
|
+
);
|
|
974
|
+
Ye.displayName = "BookingDetailsForm";
|
|
975
|
+
const Fs = Pe(
|
|
976
|
+
"ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
|
|
977
|
+
{
|
|
978
|
+
variants: {
|
|
979
|
+
variant: {
|
|
980
|
+
"inline-list": "ds:gap-[var(--spacing-md)]",
|
|
981
|
+
accordion: "ds:gap-[var(--spacing-md)]",
|
|
982
|
+
calendar: "ds:gap-[var(--spacing-md)]",
|
|
983
|
+
flexible: "ds:gap-[var(--spacing-lg)]",
|
|
984
|
+
progress: "ds:gap-[var(--spacing-sm)]"
|
|
985
|
+
},
|
|
986
|
+
// `surface="elevated"` matches `Card variant="elevated"` — same
|
|
987
|
+
// tokens, same padding, same boundary behaviour — so consumers can
|
|
988
|
+
// drop their own Card wraps without a double-card look. Default
|
|
989
|
+
// `'flat'` preserves 0.30.x rendering.
|
|
990
|
+
surface: {
|
|
991
|
+
flat: "",
|
|
992
|
+
elevated: [
|
|
993
|
+
"ds:rounded-[var(--radius-lg)]",
|
|
994
|
+
"ds:bg-[var(--card)] ds:text-[var(--card-foreground)]",
|
|
995
|
+
"ds:border ds:border-[color:var(--card-border)]",
|
|
996
|
+
"ds:shadow-[var(--shadow-card)]",
|
|
997
|
+
"ds:p-[var(--spacing-md)]"
|
|
998
|
+
].join(" ")
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
defaultVariants: { variant: "inline-list", surface: "flat" }
|
|
1002
|
+
}
|
|
1003
|
+
), $s = [
|
|
1004
|
+
[
|
|
1005
|
+
/\b(estetic|aesthetic|botox|filler|mesoterap|chirurgia\s*plastic)/i,
|
|
1006
|
+
at
|
|
1007
|
+
],
|
|
1008
|
+
[/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Wt],
|
|
1009
|
+
[/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, xs],
|
|
1010
|
+
[/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, Xt],
|
|
1011
|
+
[/\b(otorin|udito|orecchi|hearing|ear)/i, ms],
|
|
1012
|
+
[/\b(neuro|brain|cervello)/i, ls],
|
|
1013
|
+
[/\b(pediatr|child|bambin)/i, ns],
|
|
1014
|
+
[/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, rs],
|
|
1015
|
+
[/\b(lab|analis|test|sang|esami)/i, fs],
|
|
1016
|
+
[/\b(farmaco|pharm|pillol|refill)/i, vs],
|
|
1017
|
+
[/\b(chirurg|surg|intervent|operat)/i, ys],
|
|
1018
|
+
[/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Qt],
|
|
1019
|
+
[/\b(vacc|inject|inie|punto)/i, at],
|
|
1020
|
+
[/\b(derma|skin|pelle)/i, es],
|
|
1021
|
+
[/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, ts],
|
|
1022
|
+
[/\b(general|medicin|family|control|check[-\s]?up)/i, as]
|
|
1023
|
+
];
|
|
1024
|
+
function zs(e) {
|
|
1025
|
+
for (const [t, s] of $s)
|
|
1026
|
+
if (t.test(e)) return s;
|
|
1027
|
+
return null;
|
|
1028
|
+
}
|
|
1029
|
+
function Ks(e) {
|
|
1030
|
+
const t = zs(e.label) ?? Zt;
|
|
1031
|
+
return /* @__PURE__ */ a(t, { "aria-hidden": "true", className: "ds:size-5" });
|
|
1032
|
+
}
|
|
1033
|
+
function se(e) {
|
|
1034
|
+
return Te(e, "yyyy-MM-dd");
|
|
1035
|
+
}
|
|
1036
|
+
const js = [
|
|
1037
|
+
"ds:relative ds:flex ds:items-center ds:justify-center",
|
|
1038
|
+
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
1039
|
+
"ds:rounded-[var(--radius-sm)]",
|
|
1040
|
+
"ds:text-[length:var(--font-size-sm)]",
|
|
1041
|
+
"ds:transition-colors ds:duration-[var(--animation-duration)]",
|
|
1042
|
+
"ds:motion-reduce:transition-none",
|
|
1043
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
1044
|
+
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1045
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
1046
|
+
].join(" "), qs = Pe(js, {
|
|
1047
|
+
variants: {
|
|
1048
|
+
state: {
|
|
1049
|
+
available: "ds:cursor-pointer ds:text-[var(--foreground)] ds:hover:bg-[var(--muted)]/30",
|
|
1050
|
+
unavailable: "ds:cursor-not-allowed ds:text-[var(--muted-foreground)]/60",
|
|
1051
|
+
selected: "ds:bg-[var(--primary)] ds:text-[var(--primary-foreground)] ds:font-[var(--font-weight-semibold)]",
|
|
1052
|
+
outside: "ds:text-[var(--muted-foreground)]/40"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
defaultVariants: { state: "unavailable" }
|
|
1056
|
+
});
|
|
1057
|
+
function Hs({
|
|
1058
|
+
availableDates: e,
|
|
1059
|
+
selectedDate: t,
|
|
1060
|
+
onSelectDate: s,
|
|
1061
|
+
locale: i,
|
|
1062
|
+
loading: n
|
|
1063
|
+
}) {
|
|
1064
|
+
const { t: o } = O(), l = w(() => t ? ye(L(t)) : e.length > 0 ? ye(L(e[0])) : ye(/* @__PURE__ */ new Date()), [t, e]), [u, p] = K(l), [r, c] = K(null), m = w(() => {
|
|
1065
|
+
const y = ye(u), b = qt(u), d = y.getDay(), T = b.getDate(), x = [];
|
|
1066
|
+
for (let g = d; g > 0; g -= 1) {
|
|
1067
|
+
const S = new Date(y);
|
|
1068
|
+
S.setDate(y.getDate() - g), x.push(S);
|
|
1069
|
+
}
|
|
1070
|
+
for (let g = 0; g < T; g += 1) {
|
|
1071
|
+
const S = new Date(y);
|
|
1072
|
+
S.setDate(y.getDate() + g), x.push(S);
|
|
1073
|
+
}
|
|
1074
|
+
for (; x.length < 42; ) {
|
|
1075
|
+
const g = x[x.length - 1], S = new Date(g);
|
|
1076
|
+
S.setDate(g.getDate() + 1), x.push(S);
|
|
1077
|
+
}
|
|
1078
|
+
return x;
|
|
1079
|
+
}, [u]), k = w(() => {
|
|
1080
|
+
try {
|
|
1081
|
+
return new Intl.DateTimeFormat(i, {
|
|
1082
|
+
month: "long",
|
|
1083
|
+
year: "numeric"
|
|
1084
|
+
}).format(u);
|
|
1085
|
+
} catch {
|
|
1086
|
+
return Te(u, "MMMM yyyy");
|
|
1087
|
+
}
|
|
1088
|
+
}, [u, i]), I = w(() => {
|
|
1089
|
+
const y = new Date(2024, 0, 7);
|
|
1090
|
+
return Array.from({ length: 7 }, (b, d) => {
|
|
1091
|
+
const T = new Date(y);
|
|
1092
|
+
T.setDate(y.getDate() + d);
|
|
1093
|
+
try {
|
|
1094
|
+
return new Intl.DateTimeFormat(i, { weekday: "short" }).format(T);
|
|
1095
|
+
} catch {
|
|
1096
|
+
return Te(T, "EEE");
|
|
1097
|
+
}
|
|
1098
|
+
});
|
|
1099
|
+
}, [i]), v = w(() => new Set(e), [e]), N = j(
|
|
1100
|
+
(y) => v.has(se(y)),
|
|
1101
|
+
[v]
|
|
1102
|
+
), D = w(() => {
|
|
1103
|
+
if (r) return r;
|
|
1104
|
+
if (t) return L(t);
|
|
1105
|
+
const y = m.find(
|
|
1106
|
+
(b) => De(b, u) && N(b)
|
|
1107
|
+
);
|
|
1108
|
+
return y || (m.find((b) => De(b, u)) ?? null);
|
|
1109
|
+
}, [r, t, m, u, N]), M = j(
|
|
1110
|
+
(y, b) => {
|
|
1111
|
+
let d = null;
|
|
1112
|
+
switch (y.key) {
|
|
1113
|
+
case "ArrowLeft":
|
|
1114
|
+
d = new Date(b), d.setDate(b.getDate() - 1);
|
|
1115
|
+
break;
|
|
1116
|
+
case "ArrowRight":
|
|
1117
|
+
d = new Date(b), d.setDate(b.getDate() + 1);
|
|
1118
|
+
break;
|
|
1119
|
+
case "ArrowUp":
|
|
1120
|
+
d = new Date(b), d.setDate(b.getDate() - 7);
|
|
1121
|
+
break;
|
|
1122
|
+
case "ArrowDown":
|
|
1123
|
+
d = new Date(b), d.setDate(b.getDate() + 7);
|
|
1124
|
+
break;
|
|
1125
|
+
case "Home":
|
|
1126
|
+
d = new Date(b), d.setDate(b.getDate() - b.getDay());
|
|
1127
|
+
break;
|
|
1128
|
+
case "End":
|
|
1129
|
+
d = new Date(b), d.setDate(b.getDate() + (6 - b.getDay()));
|
|
1130
|
+
break;
|
|
1131
|
+
case "Enter":
|
|
1132
|
+
case " ": {
|
|
1133
|
+
y.preventDefault(), N(b) && s(se(b));
|
|
1134
|
+
return;
|
|
1135
|
+
}
|
|
1136
|
+
default:
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
d && (y.preventDefault(), De(d, u) || p(ye(d)), c(d));
|
|
1140
|
+
},
|
|
1141
|
+
[N, s, u]
|
|
1142
|
+
);
|
|
1143
|
+
return n ? /* @__PURE__ */ f(
|
|
1144
|
+
"div",
|
|
1145
|
+
{
|
|
1146
|
+
role: "status",
|
|
1147
|
+
"aria-live": "polite",
|
|
1148
|
+
"aria-label": o("common.loading"),
|
|
1149
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
1150
|
+
children: [
|
|
1151
|
+
/* @__PURE__ */ a(_e, { variant: "text", width: "40%" }),
|
|
1152
|
+
/* @__PURE__ */ a("div", { className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]", children: Array.from({ length: 42 }, (y, b) => /* @__PURE__ */ a(_e, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
|
|
1153
|
+
]
|
|
1154
|
+
}
|
|
1155
|
+
) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1156
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
1157
|
+
/* @__PURE__ */ a(
|
|
1158
|
+
tt,
|
|
1159
|
+
{
|
|
1160
|
+
icon: /* @__PURE__ */ a(Gt, {}),
|
|
1161
|
+
"aria-label": o("booking.previousMonth"),
|
|
1162
|
+
size: "sm",
|
|
1163
|
+
intent: "ghost",
|
|
1164
|
+
flipIconInRtl: !0,
|
|
1165
|
+
onClick: () => {
|
|
1166
|
+
p((y) => ws(y)), c(null);
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
),
|
|
1170
|
+
/* @__PURE__ */ a(
|
|
1171
|
+
"span",
|
|
1172
|
+
{
|
|
1173
|
+
className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]",
|
|
1174
|
+
"aria-live": "polite",
|
|
1175
|
+
children: k
|
|
1176
|
+
}
|
|
1177
|
+
),
|
|
1178
|
+
/* @__PURE__ */ a(
|
|
1179
|
+
tt,
|
|
1180
|
+
{
|
|
1181
|
+
icon: /* @__PURE__ */ a(Ut, {}),
|
|
1182
|
+
"aria-label": o("booking.nextMonth"),
|
|
1183
|
+
size: "sm",
|
|
1184
|
+
intent: "ghost",
|
|
1185
|
+
flipIconInRtl: !0,
|
|
1186
|
+
onClick: () => {
|
|
1187
|
+
p((y) => lt(y, 1)), c(null);
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
)
|
|
1191
|
+
] }),
|
|
1192
|
+
/* @__PURE__ */ f(
|
|
1193
|
+
"div",
|
|
1194
|
+
{
|
|
1195
|
+
role: "grid",
|
|
1196
|
+
"aria-label": o("booking.monthGridLabel"),
|
|
1197
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
1198
|
+
children: [
|
|
1199
|
+
/* @__PURE__ */ a(
|
|
1200
|
+
"div",
|
|
1201
|
+
{
|
|
1202
|
+
role: "row",
|
|
1203
|
+
className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
|
|
1204
|
+
children: I.map((y, b) => /* @__PURE__ */ a(
|
|
1205
|
+
"div",
|
|
1206
|
+
{
|
|
1207
|
+
role: "columnheader",
|
|
1208
|
+
className: "type-meta ds:text-center ds:text-[var(--muted-foreground)] ds:font-[var(--font-weight-medium)]",
|
|
1209
|
+
children: y
|
|
1210
|
+
},
|
|
1211
|
+
`wd-${b}`
|
|
1212
|
+
))
|
|
1213
|
+
}
|
|
1214
|
+
),
|
|
1215
|
+
Array.from({ length: 6 }, (y, b) => /* @__PURE__ */ a(
|
|
1216
|
+
"div",
|
|
1217
|
+
{
|
|
1218
|
+
role: "row",
|
|
1219
|
+
className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
|
|
1220
|
+
children: m.slice(b * 7, b * 7 + 7).map((d, T) => {
|
|
1221
|
+
const x = b * 7 + T, g = De(d, u), S = g && N(d), _ = t ? st(d, L(t)) : !1, A = g ? _ ? "selected" : S ? "available" : "unavailable" : "outside", G = D ? st(D, d) : !1, B = (() => {
|
|
1222
|
+
try {
|
|
1223
|
+
return new Intl.DateTimeFormat(i, {
|
|
1224
|
+
dateStyle: "full"
|
|
1225
|
+
}).format(d);
|
|
1226
|
+
} catch {
|
|
1227
|
+
return Te(d, "PPP");
|
|
1228
|
+
}
|
|
1229
|
+
})();
|
|
1230
|
+
return /* @__PURE__ */ a(
|
|
1231
|
+
"button",
|
|
1232
|
+
{
|
|
1233
|
+
type: "button",
|
|
1234
|
+
role: "gridcell",
|
|
1235
|
+
"aria-label": B,
|
|
1236
|
+
"aria-selected": _ || void 0,
|
|
1237
|
+
"aria-disabled": !S || void 0,
|
|
1238
|
+
tabIndex: G ? 0 : -1,
|
|
1239
|
+
disabled: !S,
|
|
1240
|
+
onClick: () => {
|
|
1241
|
+
S && s(se(d));
|
|
1242
|
+
},
|
|
1243
|
+
onKeyDown: (E) => M(E, d),
|
|
1244
|
+
className: qs({ state: A }),
|
|
1245
|
+
children: /* @__PURE__ */ a("span", { "aria-hidden": "true", children: d.getDate() })
|
|
1246
|
+
},
|
|
1247
|
+
`mg-cell-${x}`
|
|
1248
|
+
);
|
|
1249
|
+
})
|
|
1250
|
+
},
|
|
1251
|
+
`mg-row-${b}`
|
|
1252
|
+
))
|
|
1253
|
+
]
|
|
1254
|
+
}
|
|
1255
|
+
)
|
|
1256
|
+
] });
|
|
1257
|
+
}
|
|
1258
|
+
const Gs = Pe(
|
|
1259
|
+
[
|
|
1260
|
+
"ds:relative ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-md)]",
|
|
1261
|
+
"ds:min-h-[var(--min-target-size)]",
|
|
1262
|
+
"ds:rounded-[var(--radius-md)]",
|
|
1263
|
+
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
1264
|
+
"ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]",
|
|
1265
|
+
"ds:text-start",
|
|
1266
|
+
"ds:transition-[background-color,box-shadow]",
|
|
1267
|
+
"ds:duration-[var(--animation-duration)]",
|
|
1268
|
+
"ds:motion-reduce:transition-none",
|
|
1269
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
1270
|
+
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1271
|
+
"ds:forced-colors:[outline:1px_solid_CanvasText]",
|
|
1272
|
+
"ds:cursor-pointer"
|
|
1273
|
+
].join(" "),
|
|
1274
|
+
{
|
|
1275
|
+
variants: {
|
|
1276
|
+
state: {
|
|
1277
|
+
idle: "ds:bg-[var(--card)] ds:shadow-[var(--shadow-sm)] ds:hover:shadow-[var(--shadow-md)]",
|
|
1278
|
+
selected: "ds:bg-[color-mix(in_srgb,var(--primary)_8%,var(--card))] ds:shadow-[var(--shadow-sm)]"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
defaultVariants: { state: "idle" }
|
|
1282
|
+
}
|
|
1283
|
+
);
|
|
1284
|
+
function Us({
|
|
1285
|
+
services: e,
|
|
1286
|
+
selectedServiceId: t,
|
|
1287
|
+
onSelect: s
|
|
1288
|
+
}) {
|
|
1289
|
+
const { t: i } = O(), n = rt(), [o, l] = K(() => {
|
|
1290
|
+
if (t) {
|
|
1291
|
+
const c = e.findIndex((m) => m.id === t);
|
|
1292
|
+
if (c >= 0) return c;
|
|
1293
|
+
}
|
|
1294
|
+
return 0;
|
|
1295
|
+
}), u = ae(/* @__PURE__ */ new Map()), p = j((c) => {
|
|
1296
|
+
var m;
|
|
1297
|
+
(m = u.current.get(c)) == null || m.focus();
|
|
1298
|
+
}, []), r = j(
|
|
1299
|
+
(c, m, k) => {
|
|
1300
|
+
const I = e.length;
|
|
1301
|
+
if (I !== 0)
|
|
1302
|
+
switch (c.key) {
|
|
1303
|
+
case "ArrowDown":
|
|
1304
|
+
case "ArrowRight": {
|
|
1305
|
+
c.preventDefault();
|
|
1306
|
+
const v = (m + 1) % I;
|
|
1307
|
+
l(v), p(v);
|
|
1308
|
+
break;
|
|
1309
|
+
}
|
|
1310
|
+
case "ArrowUp":
|
|
1311
|
+
case "ArrowLeft": {
|
|
1312
|
+
c.preventDefault();
|
|
1313
|
+
const v = (m - 1 + I) % I;
|
|
1314
|
+
l(v), p(v);
|
|
1315
|
+
break;
|
|
1316
|
+
}
|
|
1317
|
+
case "Home": {
|
|
1318
|
+
c.preventDefault(), l(0), p(0);
|
|
1319
|
+
break;
|
|
1320
|
+
}
|
|
1321
|
+
case "End": {
|
|
1322
|
+
c.preventDefault();
|
|
1323
|
+
const v = I - 1;
|
|
1324
|
+
l(v), p(v);
|
|
1325
|
+
break;
|
|
1326
|
+
}
|
|
1327
|
+
case "Enter":
|
|
1328
|
+
case " ": {
|
|
1329
|
+
c.preventDefault(), s(k);
|
|
1330
|
+
break;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
[e.length, p, s]
|
|
1335
|
+
);
|
|
1336
|
+
return e.length === 0 ? null : /* @__PURE__ */ a(
|
|
1337
|
+
"div",
|
|
1338
|
+
{
|
|
1339
|
+
role: "radiogroup",
|
|
1340
|
+
"aria-label": i("booking.serviceListLabel"),
|
|
1341
|
+
id: n,
|
|
1342
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
1343
|
+
children: e.map((c, m) => {
|
|
1344
|
+
const k = t === c.id, I = o === m, v = i("booking.serviceCardLabel", {
|
|
1345
|
+
label: c.label,
|
|
1346
|
+
duration: c.durationMin
|
|
1347
|
+
}), N = Ks(c);
|
|
1348
|
+
return /* @__PURE__ */ f(
|
|
1349
|
+
"button",
|
|
1350
|
+
{
|
|
1351
|
+
ref: (D) => {
|
|
1352
|
+
D ? u.current.set(m, D) : u.current.delete(m);
|
|
1353
|
+
},
|
|
1354
|
+
type: "button",
|
|
1355
|
+
role: "radio",
|
|
1356
|
+
"aria-checked": k,
|
|
1357
|
+
"aria-label": v,
|
|
1358
|
+
tabIndex: I ? 0 : -1,
|
|
1359
|
+
onClick: () => s(c.id),
|
|
1360
|
+
onFocus: () => l(m),
|
|
1361
|
+
onKeyDown: (D) => r(D, m, c.id),
|
|
1362
|
+
className: Gs({
|
|
1363
|
+
state: k ? "selected" : "idle"
|
|
1364
|
+
}),
|
|
1365
|
+
children: [
|
|
1366
|
+
/* @__PURE__ */ a(
|
|
1367
|
+
"span",
|
|
1368
|
+
{
|
|
1369
|
+
"aria-hidden": "true",
|
|
1370
|
+
className: "ds:flex ds:size-10 ds:shrink-0 ds:items-center ds:justify-center ds:rounded-[var(--radius-sm)] ds:bg-[var(--primary)]/10 ds:text-[var(--primary)]",
|
|
1371
|
+
children: N
|
|
1372
|
+
}
|
|
1373
|
+
),
|
|
1374
|
+
/* @__PURE__ */ f("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
1375
|
+
/* @__PURE__ */ a("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: c.label }),
|
|
1376
|
+
/* @__PURE__ */ a("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: i("booking.serviceSummary", { minutes: c.durationMin }) })
|
|
1377
|
+
] })
|
|
1378
|
+
]
|
|
1379
|
+
},
|
|
1380
|
+
c.id
|
|
1381
|
+
);
|
|
1382
|
+
})
|
|
1383
|
+
}
|
|
1384
|
+
);
|
|
1385
|
+
}
|
|
1386
|
+
const Ys = Pe(
|
|
1387
|
+
[
|
|
1388
|
+
"ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-2xs)]",
|
|
1389
|
+
"ds:min-h-[var(--min-target-size)]",
|
|
1390
|
+
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
1391
|
+
"ds:pt-[var(--spacing-2xs)] ds:pb-[var(--spacing-2xs)]",
|
|
1392
|
+
"ds:rounded-[var(--radius-md)]",
|
|
1393
|
+
"ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-medium)]",
|
|
1394
|
+
"ds:transition-[background-color,color,box-shadow] ds:duration-[var(--animation-duration)]",
|
|
1395
|
+
"ds:motion-reduce:transition-none",
|
|
1396
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
1397
|
+
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1398
|
+
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
|
|
1399
|
+
"ds:forced-colors:[border:1px_solid_ButtonText] ds:forced-colors:text-[ButtonText]"
|
|
1400
|
+
].join(" "),
|
|
1401
|
+
{
|
|
1402
|
+
variants: {
|
|
1403
|
+
state: {
|
|
1404
|
+
idle: "ds:bg-[color:var(--card)] ds:text-[color:var(--foreground)] ds:shadow-[var(--shadow-sm)] ds:hover:enabled:bg-[color:var(--muted)]/40 ds:hover:enabled:shadow-[var(--shadow-md)]",
|
|
1405
|
+
selected: "ds:bg-[color:var(--primary)] ds:text-[color:var(--primary-foreground)] ds:shadow-[var(--shadow-sm)]",
|
|
1406
|
+
unavailable: "ds:[outline:1px_dashed_color:var(--border)] ds:[outline-offset:-1px] ds:bg-transparent ds:text-[color:var(--muted-foreground)]"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
defaultVariants: { state: "idle" }
|
|
1410
|
+
}
|
|
1411
|
+
);
|
|
1412
|
+
function Js(e) {
|
|
1413
|
+
const [t] = e.split(":").map((i) => parseInt(i, 10)), s = Number.isFinite(t) ? t : 0;
|
|
1414
|
+
return s < 12 ? "morning" : s < 17 ? "afternoon" : "evening";
|
|
1415
|
+
}
|
|
1416
|
+
const Zs = {
|
|
1417
|
+
morning: Jt,
|
|
1418
|
+
afternoon: Is,
|
|
1419
|
+
evening: Yt
|
|
1420
|
+
};
|
|
1421
|
+
function Ws({
|
|
1422
|
+
date: e,
|
|
1423
|
+
slots: t,
|
|
1424
|
+
selectedSlotKey: s,
|
|
1425
|
+
onSelect: i,
|
|
1426
|
+
loading: n,
|
|
1427
|
+
locale: o
|
|
1428
|
+
}) {
|
|
1429
|
+
const { t: l } = O(), u = w(() => {
|
|
1430
|
+
try {
|
|
1431
|
+
return new Intl.DateTimeFormat(o, {
|
|
1432
|
+
weekday: "long",
|
|
1433
|
+
day: "numeric",
|
|
1434
|
+
month: "long"
|
|
1435
|
+
}).format(L(e));
|
|
1436
|
+
} catch {
|
|
1437
|
+
return e;
|
|
1438
|
+
}
|
|
1439
|
+
}, [e, o]), p = w(() => {
|
|
1440
|
+
const m = {
|
|
1441
|
+
morning: [],
|
|
1442
|
+
afternoon: [],
|
|
1443
|
+
evening: []
|
|
1444
|
+
};
|
|
1445
|
+
for (const k of t)
|
|
1446
|
+
m[Js(k.time)].push(k);
|
|
1447
|
+
return m;
|
|
1448
|
+
}, [t]), r = t.filter((m) => m.available).length, c = ["morning", "afternoon", "evening"];
|
|
1449
|
+
return n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1450
|
+
/* @__PURE__ */ a(_e, { variant: "text", width: "60%" }),
|
|
1451
|
+
[0, 1].map((m) => /* @__PURE__ */ a(
|
|
1452
|
+
"div",
|
|
1453
|
+
{
|
|
1454
|
+
className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)]",
|
|
1455
|
+
children: [0, 1, 2].map((k) => /* @__PURE__ */ a(_e, { variant: "rounded", height: "44px" }, k))
|
|
1456
|
+
},
|
|
1457
|
+
m
|
|
1458
|
+
))
|
|
1459
|
+
] }) : r === 0 ? /* @__PURE__ */ a(dt, { variant: "no-results", title: l("booking.noSlotsForDate") }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
1460
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
1461
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
1462
|
+
/* @__PURE__ */ a(
|
|
1463
|
+
us,
|
|
1464
|
+
{
|
|
1465
|
+
"aria-hidden": "true",
|
|
1466
|
+
className: "ds:size-4 ds:text-[color:var(--accent)]"
|
|
1467
|
+
}
|
|
1468
|
+
),
|
|
1469
|
+
/* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u })
|
|
1470
|
+
] }),
|
|
1471
|
+
/* @__PURE__ */ a("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: l("booking.slotsAvailable", { count: r }) })
|
|
1472
|
+
] }),
|
|
1473
|
+
c.map((m) => {
|
|
1474
|
+
const k = p[m];
|
|
1475
|
+
if (k.length === 0) return null;
|
|
1476
|
+
const I = Zs[m];
|
|
1477
|
+
return /* @__PURE__ */ f(
|
|
1478
|
+
"div",
|
|
1479
|
+
{
|
|
1480
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
1481
|
+
children: [
|
|
1482
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: [
|
|
1483
|
+
/* @__PURE__ */ a(I, { "aria-hidden": "true", className: "ds:size-3.5" }),
|
|
1484
|
+
/* @__PURE__ */ a("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: l(`booking.timeOfDay.${m}`) })
|
|
1485
|
+
] }),
|
|
1486
|
+
/* @__PURE__ */ a(
|
|
1487
|
+
"div",
|
|
1488
|
+
{
|
|
1489
|
+
role: "group",
|
|
1490
|
+
"aria-label": l(`booking.timeOfDay.${m}`),
|
|
1491
|
+
className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)] ds:sm:grid-cols-4",
|
|
1492
|
+
children: k.map((v) => {
|
|
1493
|
+
const N = v.key === s, D = v.available ? N ? "selected" : "idle" : "unavailable";
|
|
1494
|
+
return /* @__PURE__ */ a(
|
|
1495
|
+
"button",
|
|
1496
|
+
{
|
|
1497
|
+
type: "button",
|
|
1498
|
+
"data-slot-id": v.key,
|
|
1499
|
+
disabled: !v.available,
|
|
1500
|
+
"aria-pressed": N,
|
|
1501
|
+
"aria-label": l("booking.slotAvailableLabel", {
|
|
1502
|
+
time: v.time
|
|
1503
|
+
}),
|
|
1504
|
+
onClick: () => v.available && i(v),
|
|
1505
|
+
className: Ys({ state: D }),
|
|
1506
|
+
children: v.time
|
|
1507
|
+
},
|
|
1508
|
+
v.key
|
|
1509
|
+
);
|
|
1510
|
+
})
|
|
1511
|
+
}
|
|
1512
|
+
)
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
m
|
|
1516
|
+
);
|
|
1517
|
+
})
|
|
1518
|
+
] });
|
|
1519
|
+
}
|
|
1520
|
+
const Ae = 4;
|
|
1521
|
+
function Xs({
|
|
1522
|
+
availableDates: e,
|
|
1523
|
+
availableSlots: t,
|
|
1524
|
+
value: s,
|
|
1525
|
+
onChange: i,
|
|
1526
|
+
onDateSelect: n,
|
|
1527
|
+
onWindowChange: o,
|
|
1528
|
+
loadingDates: l,
|
|
1529
|
+
loadingSlots: u,
|
|
1530
|
+
locale: p
|
|
1531
|
+
}) {
|
|
1532
|
+
const r = w(() => le(/* @__PURE__ */ new Date()), []), [c, m] = K(() => {
|
|
1533
|
+
if (s.date) {
|
|
1534
|
+
const g = le(L(s.date));
|
|
1535
|
+
if (!ce(r, g)) return g;
|
|
1536
|
+
}
|
|
1537
|
+
if (e.length > 0) {
|
|
1538
|
+
const g = le(L(e[0]));
|
|
1539
|
+
if (ce(g, r)) return g;
|
|
1540
|
+
}
|
|
1541
|
+
return r;
|
|
1542
|
+
}), k = w(
|
|
1543
|
+
() => je(c, Ae - 1),
|
|
1544
|
+
[c]
|
|
1545
|
+
), I = w(() => Array.from({ length: Ae }, (g, S) => {
|
|
1546
|
+
const _ = je(c, S), A = se(_), B = (t[A] ?? []).map((E) => ({
|
|
1547
|
+
id: E.key,
|
|
1548
|
+
// SlotGrid formats `start` as a time via Intl.DateTimeFormat —
|
|
1549
|
+
// compose a full ISO from the column's date + the slot's HH:mm
|
|
1550
|
+
// so the locale-formatter has a real timestamp to work with.
|
|
1551
|
+
start: `${A}T${E.time}:00`,
|
|
1552
|
+
available: E.available
|
|
1553
|
+
}));
|
|
1554
|
+
return { date: A, slots: B };
|
|
1555
|
+
}), [c, t]), v = ce(c, r), N = !0, D = j(() => {
|
|
1556
|
+
m((g) => {
|
|
1557
|
+
const S = Ht(g, Ae);
|
|
1558
|
+
return ce(r, S) ? r : S;
|
|
1559
|
+
});
|
|
1560
|
+
}, [r]), M = j(() => {
|
|
1561
|
+
m((g) => je(g, Ae));
|
|
1562
|
+
}, []);
|
|
1563
|
+
H(() => {
|
|
1564
|
+
if (e.length === 0) return;
|
|
1565
|
+
const g = le(L(e[0]));
|
|
1566
|
+
!ce(g, r) || e.some((_) => {
|
|
1567
|
+
const A = le(L(_));
|
|
1568
|
+
return !ce(A, k) && !jt(A, c);
|
|
1569
|
+
}) || m(g);
|
|
1570
|
+
}, [e]), H(() => {
|
|
1571
|
+
o == null || o(se(c), se(k));
|
|
1572
|
+
}, [c, k, o]);
|
|
1573
|
+
const y = j(
|
|
1574
|
+
(g, S) => {
|
|
1575
|
+
const _ = typeof S.date == "string" ? S.date : se(S.date);
|
|
1576
|
+
i({
|
|
1577
|
+
...vt(Ee(s, _), g.id)
|
|
1578
|
+
}), n == null || n(_);
|
|
1579
|
+
},
|
|
1580
|
+
[i, n, s]
|
|
1581
|
+
), b = l || u ? "loading" : "default", d = I.some((g) => g.slots.length > 0), T = e[0];
|
|
1582
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1583
|
+
!d && !!T ? /* @__PURE__ */ a(
|
|
1584
|
+
Je,
|
|
1585
|
+
{
|
|
1586
|
+
nextAvailableDate: T,
|
|
1587
|
+
onJump: () => m(le(L(T))),
|
|
1588
|
+
locale: p
|
|
1589
|
+
}
|
|
1590
|
+
) : null,
|
|
1591
|
+
/* @__PURE__ */ a(
|
|
1592
|
+
Kt,
|
|
1593
|
+
{
|
|
1594
|
+
days: I,
|
|
1595
|
+
state: b,
|
|
1596
|
+
selectedSlotId: s.slotKey,
|
|
1597
|
+
maxInitialSlotsPerDay: 6,
|
|
1598
|
+
locale: p,
|
|
1599
|
+
hasPrevious: v,
|
|
1600
|
+
hasNext: N,
|
|
1601
|
+
onSlotSelect: y,
|
|
1602
|
+
onPreviousDays: D,
|
|
1603
|
+
onNextDays: M
|
|
1604
|
+
}
|
|
1605
|
+
)
|
|
1606
|
+
] });
|
|
1607
|
+
}
|
|
1608
|
+
function yt(e) {
|
|
1609
|
+
const {
|
|
1610
|
+
inputs: t,
|
|
1611
|
+
value: s,
|
|
1612
|
+
onChange: i,
|
|
1613
|
+
onDateSelect: n,
|
|
1614
|
+
onWindowChange: o,
|
|
1615
|
+
loadingDates: l,
|
|
1616
|
+
loadingSlots: u,
|
|
1617
|
+
locale: p,
|
|
1618
|
+
datePickerStyle: r
|
|
1619
|
+
} = e;
|
|
1620
|
+
return r === "four-day-grid" ? /* @__PURE__ */ a(
|
|
1621
|
+
Xs,
|
|
1622
|
+
{
|
|
1623
|
+
availableDates: t.availableDates,
|
|
1624
|
+
availableSlots: t.availableSlots,
|
|
1625
|
+
value: s,
|
|
1626
|
+
onChange: i,
|
|
1627
|
+
onDateSelect: n,
|
|
1628
|
+
onWindowChange: o,
|
|
1629
|
+
loadingDates: l,
|
|
1630
|
+
loadingSlots: u,
|
|
1631
|
+
locale: p
|
|
1632
|
+
}
|
|
1633
|
+
) : /* @__PURE__ */ a(
|
|
1634
|
+
Hs,
|
|
1635
|
+
{
|
|
1636
|
+
availableDates: t.availableDates,
|
|
1637
|
+
selectedDate: s.date,
|
|
1638
|
+
onSelectDate: (c) => {
|
|
1639
|
+
i(Ee(s, c)), n == null || n(c);
|
|
1640
|
+
},
|
|
1641
|
+
locale: p,
|
|
1642
|
+
loading: l ?? u
|
|
1643
|
+
}
|
|
1644
|
+
);
|
|
1645
|
+
}
|
|
1646
|
+
function kt(e) {
|
|
1647
|
+
const { inputs: t, value: s, onChange: i, loadingSlots: n, locale: o, datePickerStyle: l } = e;
|
|
1648
|
+
return l === "four-day-grid" || !s.date ? null : /* @__PURE__ */ a(
|
|
1649
|
+
Ws,
|
|
1650
|
+
{
|
|
1651
|
+
date: s.date,
|
|
1652
|
+
slots: t.availableSlots[s.date] ?? [],
|
|
1653
|
+
selectedSlotKey: s.slotKey,
|
|
1654
|
+
onSelect: (u) => i(vt(s, u.key)),
|
|
1655
|
+
loading: n,
|
|
1656
|
+
locale: o
|
|
1657
|
+
}
|
|
1658
|
+
);
|
|
1659
|
+
}
|
|
1660
|
+
function xt({ value: e, onChange: t }) {
|
|
1661
|
+
const { t: s } = O(), i = [
|
|
1662
|
+
{ value: "private", label: s("booking.insurance.private") },
|
|
1663
|
+
{ value: "public", label: s("booking.insurance.public") }
|
|
1664
|
+
];
|
|
1665
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1666
|
+
/* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: s("booking.insurance.heading") }),
|
|
1667
|
+
/* @__PURE__ */ a(
|
|
1668
|
+
Oe,
|
|
1669
|
+
{
|
|
1670
|
+
options: i,
|
|
1671
|
+
value: e ?? "",
|
|
1672
|
+
onValueChange: (n) => {
|
|
1673
|
+
(n === "private" || n === "public") && t(n);
|
|
1674
|
+
},
|
|
1675
|
+
placeholder: s("booking.insurance.placeholder"),
|
|
1676
|
+
"aria-label": s("booking.insurance.heading")
|
|
1677
|
+
}
|
|
1678
|
+
)
|
|
1679
|
+
] });
|
|
1680
|
+
}
|
|
1681
|
+
function St({
|
|
1682
|
+
specialties: e,
|
|
1683
|
+
value: t,
|
|
1684
|
+
valueIds: s,
|
|
1685
|
+
onChange: i,
|
|
1686
|
+
onChangeIds: n,
|
|
1687
|
+
pickerStyle: o = "select"
|
|
1688
|
+
}) {
|
|
1689
|
+
const { t: l } = O(), u = e.map((r) => ({
|
|
1690
|
+
value: r.id,
|
|
1691
|
+
label: r.label
|
|
1692
|
+
})), p = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.specialty.heading") });
|
|
1693
|
+
return o === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1694
|
+
p,
|
|
1695
|
+
/* @__PURE__ */ a(
|
|
1696
|
+
Ue,
|
|
1697
|
+
{
|
|
1698
|
+
options: u,
|
|
1699
|
+
value: s ?? [],
|
|
1700
|
+
onChange: n,
|
|
1701
|
+
placeholder: l("booking.specialty.placeholder"),
|
|
1702
|
+
"aria-label": l("booking.specialty.heading"),
|
|
1703
|
+
allowClear: !0
|
|
1704
|
+
}
|
|
1705
|
+
)
|
|
1706
|
+
] }) : o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1707
|
+
p,
|
|
1708
|
+
/* @__PURE__ */ a(
|
|
1709
|
+
Ge,
|
|
1710
|
+
{
|
|
1711
|
+
options: u,
|
|
1712
|
+
value: t ?? "",
|
|
1713
|
+
onValueChange: (r) => i(r === "" ? "" : r),
|
|
1714
|
+
placeholder: l("booking.specialty.placeholder"),
|
|
1715
|
+
"aria-label": l("booking.specialty.heading"),
|
|
1716
|
+
clearable: !0
|
|
1717
|
+
}
|
|
1718
|
+
)
|
|
1719
|
+
] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1720
|
+
p,
|
|
1721
|
+
/* @__PURE__ */ a(
|
|
1722
|
+
Oe,
|
|
1723
|
+
{
|
|
1724
|
+
options: u,
|
|
1725
|
+
value: t ?? "",
|
|
1726
|
+
onValueChange: (r) => i(r),
|
|
1727
|
+
placeholder: l("booking.specialty.placeholder"),
|
|
1728
|
+
"aria-label": l("booking.specialty.heading")
|
|
1729
|
+
}
|
|
1730
|
+
)
|
|
1731
|
+
] });
|
|
1732
|
+
}
|
|
1733
|
+
function It({
|
|
1734
|
+
services: e,
|
|
1735
|
+
value: t,
|
|
1736
|
+
valueIds: s,
|
|
1737
|
+
onChange: i,
|
|
1738
|
+
onChangeIds: n,
|
|
1739
|
+
pickerStyle: o,
|
|
1740
|
+
compact: l
|
|
1741
|
+
}) {
|
|
1742
|
+
const { t: u } = O(), p = o ?? (l ? "select" : "cards"), r = e.map((m) => ({
|
|
1743
|
+
value: m.id,
|
|
1744
|
+
label: `${m.label} · ${u("booking.serviceSummary", {
|
|
1745
|
+
minutes: m.durationMin
|
|
1746
|
+
})}`
|
|
1747
|
+
})), c = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u("booking.service.heading") });
|
|
1748
|
+
return p === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1749
|
+
c,
|
|
1750
|
+
/* @__PURE__ */ a(
|
|
1751
|
+
Ue,
|
|
1752
|
+
{
|
|
1753
|
+
options: r,
|
|
1754
|
+
value: s ?? [],
|
|
1755
|
+
onChange: n,
|
|
1756
|
+
placeholder: u("booking.service.placeholder"),
|
|
1757
|
+
"aria-label": u("booking.service.heading"),
|
|
1758
|
+
allowClear: !0
|
|
1759
|
+
}
|
|
1760
|
+
)
|
|
1761
|
+
] }) : p === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1762
|
+
c,
|
|
1763
|
+
/* @__PURE__ */ a(
|
|
1764
|
+
Ge,
|
|
1765
|
+
{
|
|
1766
|
+
options: r,
|
|
1767
|
+
value: t ?? "",
|
|
1768
|
+
onValueChange: (m) => i(m === "" ? "" : m),
|
|
1769
|
+
placeholder: u("booking.service.placeholder"),
|
|
1770
|
+
"aria-label": u("booking.service.heading"),
|
|
1771
|
+
clearable: !0
|
|
1772
|
+
}
|
|
1773
|
+
)
|
|
1774
|
+
] }) : p === "select" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1775
|
+
c,
|
|
1776
|
+
/* @__PURE__ */ a(
|
|
1777
|
+
Oe,
|
|
1778
|
+
{
|
|
1779
|
+
options: r,
|
|
1780
|
+
value: t ?? "",
|
|
1781
|
+
onValueChange: (m) => i(m),
|
|
1782
|
+
placeholder: u("booking.service.placeholder"),
|
|
1783
|
+
"aria-label": u("booking.service.heading")
|
|
1784
|
+
}
|
|
1785
|
+
)
|
|
1786
|
+
] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1787
|
+
c,
|
|
1788
|
+
/* @__PURE__ */ a(
|
|
1789
|
+
Us,
|
|
1790
|
+
{
|
|
1791
|
+
services: e,
|
|
1792
|
+
selectedServiceId: t,
|
|
1793
|
+
onSelect: i
|
|
1794
|
+
}
|
|
1795
|
+
)
|
|
1796
|
+
] });
|
|
1797
|
+
}
|
|
1798
|
+
function Nt({
|
|
1799
|
+
operators: e,
|
|
1800
|
+
value: t,
|
|
1801
|
+
valueIds: s,
|
|
1802
|
+
onChange: i,
|
|
1803
|
+
onChangeIds: n,
|
|
1804
|
+
pickerStyle: o = "select"
|
|
1805
|
+
}) {
|
|
1806
|
+
const { t: l } = O(), u = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.operator.heading") });
|
|
1807
|
+
if (o === "multi-select" && n) {
|
|
1808
|
+
const r = e.map((c) => ({
|
|
1809
|
+
value: c.id,
|
|
1810
|
+
label: c.name
|
|
1811
|
+
}));
|
|
1812
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1813
|
+
u,
|
|
1814
|
+
/* @__PURE__ */ a(
|
|
1815
|
+
Ue,
|
|
1816
|
+
{
|
|
1817
|
+
options: r,
|
|
1818
|
+
value: s ?? [],
|
|
1819
|
+
onChange: n,
|
|
1820
|
+
placeholder: l("booking.operator.placeholder"),
|
|
1821
|
+
"aria-label": l("booking.operator.heading"),
|
|
1822
|
+
allowClear: !0
|
|
1823
|
+
}
|
|
1824
|
+
)
|
|
1825
|
+
] });
|
|
1826
|
+
}
|
|
1827
|
+
const p = [
|
|
1828
|
+
{ value: X, label: l("booking.operator.all") },
|
|
1829
|
+
...e.map((r) => ({ value: r.id, label: r.name }))
|
|
1830
|
+
];
|
|
1831
|
+
return o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1832
|
+
u,
|
|
1833
|
+
/* @__PURE__ */ a(
|
|
1834
|
+
Ge,
|
|
1835
|
+
{
|
|
1836
|
+
options: p,
|
|
1837
|
+
value: t ?? X,
|
|
1838
|
+
onValueChange: (r) => i(r === "" ? X : r),
|
|
1839
|
+
placeholder: l("booking.operator.placeholder"),
|
|
1840
|
+
"aria-label": l("booking.operator.heading"),
|
|
1841
|
+
clearable: !0
|
|
1842
|
+
}
|
|
1843
|
+
)
|
|
1844
|
+
] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1845
|
+
u,
|
|
1846
|
+
/* @__PURE__ */ a(
|
|
1847
|
+
Oe,
|
|
1848
|
+
{
|
|
1849
|
+
options: p,
|
|
1850
|
+
value: t ?? X,
|
|
1851
|
+
onValueChange: (r) => i(r),
|
|
1852
|
+
placeholder: l("booking.operator.placeholder"),
|
|
1853
|
+
"aria-label": l("booking.operator.heading")
|
|
1854
|
+
}
|
|
1855
|
+
)
|
|
1856
|
+
] });
|
|
1857
|
+
}
|
|
1858
|
+
function wt({
|
|
1859
|
+
customSlot: e
|
|
1860
|
+
}) {
|
|
1861
|
+
const { t } = O();
|
|
1862
|
+
return e ? /* @__PURE__ */ a(W, { children: e }) : /* @__PURE__ */ f(z, { variant: "warning", children: [
|
|
1863
|
+
/* @__PURE__ */ a(z.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
|
|
1864
|
+
/* @__PURE__ */ a(z.Description, { children: t("booking.onboardingIncomplete.description") })
|
|
1865
|
+
] });
|
|
1866
|
+
}
|
|
1867
|
+
function Je({
|
|
1868
|
+
nextAvailableDate: e,
|
|
1869
|
+
onJump: t,
|
|
1870
|
+
locale: s
|
|
1871
|
+
}) {
|
|
1872
|
+
const { t: i } = O(), n = w(() => {
|
|
1873
|
+
try {
|
|
1874
|
+
return new Intl.DateTimeFormat(s, { dateStyle: "long" }).format(
|
|
1875
|
+
L(e)
|
|
1876
|
+
);
|
|
1877
|
+
} catch {
|
|
1878
|
+
return e;
|
|
1879
|
+
}
|
|
1880
|
+
}, [e, s]);
|
|
1881
|
+
return /* @__PURE__ */ f(z, { variant: "info", children: [
|
|
1882
|
+
/* @__PURE__ */ a(z.Description, { children: i("booking.nextAvailable.description", { date: n }) }),
|
|
1883
|
+
/* @__PURE__ */ a(z.Action, { children: /* @__PURE__ */ a(ie, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
|
|
1884
|
+
] });
|
|
1885
|
+
}
|
|
1886
|
+
function Qs({
|
|
1887
|
+
snapshot: e,
|
|
1888
|
+
operators: t,
|
|
1889
|
+
specialties: s,
|
|
1890
|
+
services: i,
|
|
1891
|
+
locale: n,
|
|
1892
|
+
mode: o,
|
|
1893
|
+
showModify: l,
|
|
1894
|
+
onReset: u,
|
|
1895
|
+
onModify: p
|
|
1896
|
+
}) {
|
|
1897
|
+
const { t: r } = O(), m = (e.details.confirmationChannels ?? ["email"]).map(
|
|
1898
|
+
(M) => r(`booking.confirmation.channel.${M}`)
|
|
1899
|
+
), k = o === "demo" ? r("booking.success.descriptionDemo") : m.length > 1 ? r("booking.success.descriptionMultiple", {
|
|
1900
|
+
channels: m.join(" · ")
|
|
1901
|
+
}) : r("booking.success.descriptionSingle", { channel: m[0] }), I = w(() => {
|
|
1902
|
+
if (e.date)
|
|
1903
|
+
try {
|
|
1904
|
+
return new Intl.DateTimeFormat(n, {
|
|
1905
|
+
weekday: "long",
|
|
1906
|
+
day: "numeric",
|
|
1907
|
+
month: "long"
|
|
1908
|
+
}).format(L(e.date));
|
|
1909
|
+
} catch {
|
|
1910
|
+
return e.date;
|
|
1911
|
+
}
|
|
1912
|
+
}, [e.date, n]), v = e.operatorId ? t.find((M) => M.id === e.operatorId) : void 0, N = e.specialtyId ? s.find((M) => M.id === e.specialtyId) : void 0, D = e.serviceId ? i.find((M) => M.id === e.serviceId) : void 0;
|
|
1913
|
+
return /* @__PURE__ */ f(
|
|
1914
|
+
"div",
|
|
1915
|
+
{
|
|
1916
|
+
"data-component": "booking-success",
|
|
1917
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
1918
|
+
children: [
|
|
1919
|
+
/* @__PURE__ */ f(z, { variant: "success", children: [
|
|
1920
|
+
/* @__PURE__ */ a(z.Title, { as: "h3", children: r("booking.success.heading") }),
|
|
1921
|
+
/* @__PURE__ */ a(z.Description, { children: k })
|
|
1922
|
+
] }),
|
|
1923
|
+
/* @__PURE__ */ a("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ f("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
|
|
1924
|
+
N ? /* @__PURE__ */ f(W, { children: [
|
|
1925
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summarySpecialty") }),
|
|
1926
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: N.label })
|
|
1927
|
+
] }) : null,
|
|
1928
|
+
D ? /* @__PURE__ */ f(W, { children: [
|
|
1929
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryService") }),
|
|
1930
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: D.label })
|
|
1931
|
+
] }) : null,
|
|
1932
|
+
I ? /* @__PURE__ */ f(W, { children: [
|
|
1933
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryDate") }),
|
|
1934
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: I })
|
|
1935
|
+
] }) : null,
|
|
1936
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryTime") }),
|
|
1937
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: e.slot.time }),
|
|
1938
|
+
v ? /* @__PURE__ */ f(W, { children: [
|
|
1939
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryProvider") }),
|
|
1940
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: v.name })
|
|
1941
|
+
] }) : null
|
|
1942
|
+
] }) }),
|
|
1943
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
1944
|
+
/* @__PURE__ */ a(ie, { intent: "secondary", size: "md", onClick: u, children: r("booking.success.bookAnother") }),
|
|
1945
|
+
l ? /* @__PURE__ */ a(ie, { intent: "ghost", size: "md", onClick: p, children: r("booking.success.modifyBooking") }) : null
|
|
1946
|
+
] })
|
|
1947
|
+
]
|
|
1948
|
+
}
|
|
1949
|
+
);
|
|
1950
|
+
}
|
|
1951
|
+
function Ct({ customSlot: e }) {
|
|
1952
|
+
const { t } = O();
|
|
1953
|
+
return e ? /* @__PURE__ */ a(W, { children: e }) : /* @__PURE__ */ a(
|
|
1954
|
+
dt,
|
|
1955
|
+
{
|
|
1956
|
+
variant: "no-results",
|
|
1957
|
+
title: t("booking.emptyServices.title"),
|
|
1958
|
+
description: t("booking.emptyServices.description")
|
|
1959
|
+
}
|
|
1960
|
+
);
|
|
1961
|
+
}
|
|
1962
|
+
function ea(e) {
|
|
1963
|
+
const {
|
|
1964
|
+
cascade: t,
|
|
1965
|
+
inputs: s,
|
|
1966
|
+
value: i,
|
|
1967
|
+
onChange: n,
|
|
1968
|
+
onSubmit: o,
|
|
1969
|
+
emptyServicesSlot: l,
|
|
1970
|
+
onboardingIncompleteSlot: u,
|
|
1971
|
+
loadingDates: p,
|
|
1972
|
+
loadingSlots: r,
|
|
1973
|
+
onDateSelect: c,
|
|
1974
|
+
onWindowChange: m,
|
|
1975
|
+
datePickerStyle: k,
|
|
1976
|
+
specialtyPickerStyle: I,
|
|
1977
|
+
servicePickerStyle: v,
|
|
1978
|
+
operatorPickerStyle: N,
|
|
1979
|
+
submitting: D,
|
|
1980
|
+
locale: M,
|
|
1981
|
+
detailsProps: y
|
|
1982
|
+
} = e, { t: b } = O();
|
|
1983
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
1984
|
+
t.gates.insurance ? /* @__PURE__ */ a(
|
|
1985
|
+
xt,
|
|
1986
|
+
{
|
|
1987
|
+
value: i.insuranceType,
|
|
1988
|
+
onChange: (d) => n(ct(i, d))
|
|
1989
|
+
}
|
|
1990
|
+
) : null,
|
|
1991
|
+
t.gates.specialty ? /* @__PURE__ */ a(
|
|
1992
|
+
St,
|
|
1993
|
+
{
|
|
1994
|
+
specialties: t.filtered.specialties,
|
|
1995
|
+
value: i.specialtyId,
|
|
1996
|
+
valueIds: i.specialtyIds,
|
|
1997
|
+
onChange: (d) => n(ut(i, d)),
|
|
1998
|
+
onChangeIds: (d) => n(pt(i, d)),
|
|
1999
|
+
pickerStyle: I
|
|
2000
|
+
}
|
|
2001
|
+
) : null,
|
|
2002
|
+
t.gates.service ? t.filtered.services.length === 0 ? /* @__PURE__ */ a(Ct, { customSlot: l }) : /* @__PURE__ */ a(
|
|
2003
|
+
It,
|
|
2004
|
+
{
|
|
2005
|
+
services: t.filtered.services,
|
|
2006
|
+
value: i.serviceId,
|
|
2007
|
+
valueIds: i.serviceIds,
|
|
2008
|
+
onChange: (d) => n(mt(i, d)),
|
|
2009
|
+
onChangeIds: (d) => n(gt(i, d)),
|
|
2010
|
+
pickerStyle: v
|
|
2011
|
+
}
|
|
2012
|
+
) : null,
|
|
2013
|
+
t.gates.onboardingIncomplete ? /* @__PURE__ */ a(wt, { customSlot: u }) : null,
|
|
2014
|
+
t.gates.operator ? /* @__PURE__ */ a(
|
|
2015
|
+
Nt,
|
|
2016
|
+
{
|
|
2017
|
+
operators: t.filtered.operators,
|
|
2018
|
+
value: i.operatorId,
|
|
2019
|
+
valueIds: i.operatorIds,
|
|
2020
|
+
onChange: (d) => n(ft(i, d)),
|
|
2021
|
+
onChangeIds: (d) => n(ht(i, d)),
|
|
2022
|
+
pickerStyle: N
|
|
2023
|
+
}
|
|
2024
|
+
) : null,
|
|
2025
|
+
t.gates.date ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
2026
|
+
/* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: b("booking.date.heading") }),
|
|
2027
|
+
s.availableDates.length === 0 && s.nextAvailableDate ? /* @__PURE__ */ a(
|
|
2028
|
+
Je,
|
|
2029
|
+
{
|
|
2030
|
+
nextAvailableDate: s.nextAvailableDate,
|
|
2031
|
+
onJump: () => n(Ee(i, s.nextAvailableDate)),
|
|
2032
|
+
locale: M
|
|
2033
|
+
}
|
|
2034
|
+
) : yt({
|
|
2035
|
+
inputs: s,
|
|
2036
|
+
value: i,
|
|
2037
|
+
onChange: n,
|
|
2038
|
+
onDateSelect: c,
|
|
2039
|
+
onWindowChange: m,
|
|
2040
|
+
loadingDates: p,
|
|
2041
|
+
loadingSlots: r,
|
|
2042
|
+
locale: M,
|
|
2043
|
+
datePickerStyle: k
|
|
2044
|
+
})
|
|
2045
|
+
] }) : null,
|
|
2046
|
+
t.gates.slot && i.date && k === "month-calendar" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
2047
|
+
/* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: b("booking.slot.heading") }),
|
|
2048
|
+
kt({
|
|
2049
|
+
inputs: s,
|
|
2050
|
+
value: i,
|
|
2051
|
+
onChange: n,
|
|
2052
|
+
loadingSlots: r,
|
|
2053
|
+
locale: M,
|
|
2054
|
+
datePickerStyle: k
|
|
2055
|
+
})
|
|
2056
|
+
] }) : null,
|
|
2057
|
+
t.gates.details && t.selectedSlot ? /* @__PURE__ */ a(
|
|
2058
|
+
Ye,
|
|
2059
|
+
{
|
|
2060
|
+
...y,
|
|
2061
|
+
value: i.details ?? {},
|
|
2062
|
+
onChange: (d) => n({ ...i, details: d }),
|
|
2063
|
+
onSubmit: o,
|
|
2064
|
+
submitting: D,
|
|
2065
|
+
defaultPhoneCountry: e.policy.country
|
|
2066
|
+
}
|
|
2067
|
+
) : null
|
|
2068
|
+
] });
|
|
2069
|
+
}
|
|
2070
|
+
function $(e, t, s = {}) {
|
|
2071
|
+
const {
|
|
2072
|
+
cascade: i,
|
|
2073
|
+
inputs: n,
|
|
2074
|
+
value: o,
|
|
2075
|
+
onChange: l,
|
|
2076
|
+
onSubmit: u,
|
|
2077
|
+
emptyServicesSlot: p,
|
|
2078
|
+
onboardingIncompleteSlot: r,
|
|
2079
|
+
loadingDates: c,
|
|
2080
|
+
loadingSlots: m,
|
|
2081
|
+
onDateSelect: k,
|
|
2082
|
+
onWindowChange: I,
|
|
2083
|
+
datePickerStyle: v,
|
|
2084
|
+
specialtyPickerStyle: N,
|
|
2085
|
+
servicePickerStyle: D,
|
|
2086
|
+
operatorPickerStyle: M,
|
|
2087
|
+
submitting: y,
|
|
2088
|
+
locale: b,
|
|
2089
|
+
detailsProps: d,
|
|
2090
|
+
policy: T
|
|
2091
|
+
} = t;
|
|
2092
|
+
switch (e) {
|
|
2093
|
+
case 1:
|
|
2094
|
+
return /* @__PURE__ */ a(
|
|
2095
|
+
xt,
|
|
2096
|
+
{
|
|
2097
|
+
value: o.insuranceType,
|
|
2098
|
+
onChange: (x) => l(ct(o, x))
|
|
2099
|
+
}
|
|
2100
|
+
);
|
|
2101
|
+
case 2:
|
|
2102
|
+
return /* @__PURE__ */ a(
|
|
2103
|
+
St,
|
|
2104
|
+
{
|
|
2105
|
+
specialties: i.filtered.specialties,
|
|
2106
|
+
value: o.specialtyId,
|
|
2107
|
+
valueIds: o.specialtyIds,
|
|
2108
|
+
onChange: (x) => l(ut(o, x)),
|
|
2109
|
+
onChangeIds: (x) => l(pt(o, x)),
|
|
2110
|
+
pickerStyle: N
|
|
2111
|
+
}
|
|
2112
|
+
);
|
|
2113
|
+
case 3:
|
|
2114
|
+
return i.filtered.services.length === 0 ? /* @__PURE__ */ a(Ct, { customSlot: p }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ a(wt, { customSlot: r }) : /* @__PURE__ */ a(
|
|
2115
|
+
It,
|
|
2116
|
+
{
|
|
2117
|
+
services: i.filtered.services,
|
|
2118
|
+
value: o.serviceId,
|
|
2119
|
+
valueIds: o.serviceIds,
|
|
2120
|
+
onChange: (x) => l(mt(o, x)),
|
|
2121
|
+
onChangeIds: (x) => l(gt(o, x)),
|
|
2122
|
+
pickerStyle: D,
|
|
2123
|
+
compact: s.compactService
|
|
2124
|
+
}
|
|
2125
|
+
);
|
|
2126
|
+
case 4:
|
|
2127
|
+
return /* @__PURE__ */ a(
|
|
2128
|
+
Nt,
|
|
2129
|
+
{
|
|
2130
|
+
operators: i.filtered.operators,
|
|
2131
|
+
value: o.operatorId,
|
|
2132
|
+
valueIds: o.operatorIds,
|
|
2133
|
+
onChange: (x) => l(ft(o, x)),
|
|
2134
|
+
onChangeIds: (x) => l(ht(o, x)),
|
|
2135
|
+
pickerStyle: M
|
|
2136
|
+
}
|
|
2137
|
+
);
|
|
2138
|
+
case 5:
|
|
2139
|
+
return n.availableDates.length === 0 && n.nextAvailableDate ? /* @__PURE__ */ a(
|
|
2140
|
+
Je,
|
|
2141
|
+
{
|
|
2142
|
+
nextAvailableDate: n.nextAvailableDate,
|
|
2143
|
+
onJump: () => l(Ee(o, n.nextAvailableDate)),
|
|
2144
|
+
locale: b
|
|
2145
|
+
}
|
|
2146
|
+
) : yt({
|
|
2147
|
+
inputs: n,
|
|
2148
|
+
value: o,
|
|
2149
|
+
onChange: l,
|
|
2150
|
+
onDateSelect: k,
|
|
2151
|
+
onWindowChange: I,
|
|
2152
|
+
loadingDates: c,
|
|
2153
|
+
loadingSlots: m,
|
|
2154
|
+
locale: b,
|
|
2155
|
+
datePickerStyle: v
|
|
2156
|
+
});
|
|
2157
|
+
case 6:
|
|
2158
|
+
return kt({
|
|
2159
|
+
inputs: n,
|
|
2160
|
+
value: o,
|
|
2161
|
+
onChange: l,
|
|
2162
|
+
loadingSlots: m,
|
|
2163
|
+
locale: b,
|
|
2164
|
+
datePickerStyle: v
|
|
2165
|
+
});
|
|
2166
|
+
case 7:
|
|
2167
|
+
return i.selectedSlot ? /* @__PURE__ */ a(
|
|
2168
|
+
Ye,
|
|
2169
|
+
{
|
|
2170
|
+
...d,
|
|
2171
|
+
value: o.details ?? {},
|
|
2172
|
+
onChange: (x) => l({ ...o, details: x }),
|
|
2173
|
+
onSubmit: u,
|
|
2174
|
+
submitting: y,
|
|
2175
|
+
defaultPhoneCountry: T.country
|
|
2176
|
+
}
|
|
2177
|
+
) : null;
|
|
2178
|
+
/* c8 ignore next 2 */
|
|
2179
|
+
default:
|
|
2180
|
+
return null;
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
function Ze() {
|
|
2184
|
+
const { t: e } = O();
|
|
2185
|
+
return w(
|
|
2186
|
+
() => ({
|
|
2187
|
+
1: e("booking.insurance.heading"),
|
|
2188
|
+
2: e("booking.specialty.heading"),
|
|
2189
|
+
3: e("booking.service.heading"),
|
|
2190
|
+
4: e("booking.operator.heading"),
|
|
2191
|
+
5: e("booking.date.heading"),
|
|
2192
|
+
6: e("booking.slot.heading"),
|
|
2193
|
+
7: e("booking.details.heading")
|
|
2194
|
+
}),
|
|
2195
|
+
[e]
|
|
2196
|
+
);
|
|
2197
|
+
}
|
|
2198
|
+
function ta(e) {
|
|
2199
|
+
const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, l = Ze(), u = w(
|
|
2200
|
+
() => o === "four-day-grid" ? t.visibleSteps.filter((c) => c !== 6) : t.visibleSteps,
|
|
2201
|
+
[t.visibleSteps, o]
|
|
2202
|
+
), p = w(
|
|
2203
|
+
() => u.map((c) => ({
|
|
2204
|
+
label: l[c],
|
|
2205
|
+
summary: Dt(c, s, t),
|
|
2206
|
+
status: ke(c, s) && c < t.currentStep ? "completed" : void 0,
|
|
2207
|
+
content: $(c, e, { compactService: !0 })
|
|
2208
|
+
})),
|
|
2209
|
+
[u, s, l, t, e]
|
|
2210
|
+
), r = Math.max(0, t.visibleSteps.indexOf(i));
|
|
2211
|
+
return /* @__PURE__ */ a(
|
|
2212
|
+
$t,
|
|
2213
|
+
{
|
|
2214
|
+
activeStep: r,
|
|
2215
|
+
steps: p,
|
|
2216
|
+
onStepChange: (c) => {
|
|
2217
|
+
const m = t.visibleSteps[c];
|
|
2218
|
+
m && n(m);
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
);
|
|
2222
|
+
}
|
|
2223
|
+
function ke(e, t) {
|
|
2224
|
+
switch (e) {
|
|
2225
|
+
case 1:
|
|
2226
|
+
return t.insuranceType !== void 0;
|
|
2227
|
+
case 2:
|
|
2228
|
+
return t.specialtyId !== void 0;
|
|
2229
|
+
case 3:
|
|
2230
|
+
return t.serviceId !== void 0;
|
|
2231
|
+
case 4:
|
|
2232
|
+
return t.operatorId !== void 0;
|
|
2233
|
+
case 5:
|
|
2234
|
+
return t.date !== void 0;
|
|
2235
|
+
case 6:
|
|
2236
|
+
return t.slotKey !== void 0;
|
|
2237
|
+
case 7:
|
|
2238
|
+
return !1;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
function Dt(e, t, s) {
|
|
2242
|
+
var i;
|
|
2243
|
+
if (ke(e, t))
|
|
2244
|
+
switch (e) {
|
|
2245
|
+
case 1:
|
|
2246
|
+
return t.insuranceType;
|
|
2247
|
+
case 2: {
|
|
2248
|
+
const n = s.filtered.specialties.find(
|
|
2249
|
+
(o) => o.id === t.specialtyId
|
|
2250
|
+
);
|
|
2251
|
+
return n == null ? void 0 : n.label;
|
|
2252
|
+
}
|
|
2253
|
+
case 3: {
|
|
2254
|
+
const n = s.filtered.services.find(
|
|
2255
|
+
(o) => o.id === t.serviceId
|
|
2256
|
+
);
|
|
2257
|
+
return n == null ? void 0 : n.label;
|
|
2258
|
+
}
|
|
2259
|
+
case 4: {
|
|
2260
|
+
const n = He(t);
|
|
2261
|
+
if (!n) return;
|
|
2262
|
+
const o = s.filtered.operators.find((l) => l.id === n);
|
|
2263
|
+
return o == null ? void 0 : o.name;
|
|
2264
|
+
}
|
|
2265
|
+
case 5:
|
|
2266
|
+
return t.date;
|
|
2267
|
+
case 6:
|
|
2268
|
+
return (i = s.selectedSlot) == null ? void 0 : i.time;
|
|
2269
|
+
case 7:
|
|
2270
|
+
return;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
function sa(e) {
|
|
2274
|
+
const { cascade: t, value: s, setActiveStep: i } = e, { t: n } = O(), o = Ze(), l = t.visibleSteps.filter(
|
|
2275
|
+
(p) => p === 1 || p === 2 || p === 3 || p === 4
|
|
2276
|
+
), u = l.some(
|
|
2277
|
+
(p) => !ke(p, s)
|
|
2278
|
+
);
|
|
2279
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
2280
|
+
u ? l.filter((p) => !ke(p, s)).slice(0, 1).map((p) => /* @__PURE__ */ a("div", { children: $(p, e, { compactService: !0 }) }, `csf-${p}`)) : /* @__PURE__ */ a(
|
|
2281
|
+
"div",
|
|
2282
|
+
{
|
|
2283
|
+
role: "group",
|
|
2284
|
+
"aria-label": n("booking.regionLabel"),
|
|
2285
|
+
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
2286
|
+
children: l.map((p) => {
|
|
2287
|
+
const r = Dt(p, s, t);
|
|
2288
|
+
return r ? /* @__PURE__ */ f(
|
|
2289
|
+
ie,
|
|
2290
|
+
{
|
|
2291
|
+
intent: "tonal",
|
|
2292
|
+
size: "sm",
|
|
2293
|
+
onClick: () => i(p),
|
|
2294
|
+
children: [
|
|
2295
|
+
o[p],
|
|
2296
|
+
": ",
|
|
2297
|
+
r
|
|
2298
|
+
]
|
|
2299
|
+
},
|
|
2300
|
+
`csc-${p}`
|
|
2301
|
+
) : null;
|
|
2302
|
+
})
|
|
2303
|
+
}
|
|
2304
|
+
),
|
|
2305
|
+
!u && t.gates.date ? (
|
|
2306
|
+
// four-day-grid embeds slots inline with the day strip — the
|
|
2307
|
+
// historic 2-col date|slot split collapses to a single column
|
|
2308
|
+
// so the picker spans the full width instead of orphaning an
|
|
2309
|
+
// empty right cell.
|
|
2310
|
+
e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ a("div", { children: $(5, e) }) : /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
|
|
2311
|
+
/* @__PURE__ */ a("div", { className: "ds:min-w-0", children: $(5, e) }),
|
|
2312
|
+
/* @__PURE__ */ a("div", { className: "ds:min-w-0", children: s.date ? $(6, e) : null })
|
|
2313
|
+
] })
|
|
2314
|
+
) : null,
|
|
2315
|
+
t.gates.details ? /* @__PURE__ */ a("div", { children: $(7, e) }) : null
|
|
2316
|
+
] });
|
|
2317
|
+
}
|
|
2318
|
+
function aa(e) {
|
|
2319
|
+
const { cascade: t, datePickerStyle: s } = e, i = t.visibleSteps.filter(
|
|
2320
|
+
(o) => o === 1 || o === 2 || o === 3 || o === 4
|
|
2321
|
+
);
|
|
2322
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
2323
|
+
/* @__PURE__ */ f(
|
|
2324
|
+
"div",
|
|
2325
|
+
{
|
|
2326
|
+
className: s === "four-day-grid" ? "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]" : "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2",
|
|
2327
|
+
children: [
|
|
2328
|
+
/* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: i.map((o) => /* @__PURE__ */ a("div", { children: $(o, e, { compactService: !0 }) }, `fbf-${o}`)) }),
|
|
2329
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
2330
|
+
t.gates.date ? $(5, e) : null,
|
|
2331
|
+
t.gates.slot && e.value.date ? $(6, e) : null
|
|
2332
|
+
] })
|
|
2333
|
+
]
|
|
2334
|
+
}
|
|
2335
|
+
),
|
|
2336
|
+
t.gates.details ? $(7, e) : null
|
|
2337
|
+
] });
|
|
2338
|
+
}
|
|
2339
|
+
function ia(e) {
|
|
2340
|
+
const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: l } = O(), u = Ze(), p = w(
|
|
2341
|
+
() => o === "four-day-grid" ? t.visibleSteps.filter((v) => v !== 6) : t.visibleSteps,
|
|
2342
|
+
[t.visibleSteps, o]
|
|
2343
|
+
), r = Math.max(0, p.indexOf(i)), c = p.length, m = w(
|
|
2344
|
+
() => p.map((v) => ({ label: u[v] })),
|
|
2345
|
+
[p, u]
|
|
2346
|
+
), k = r > 0, I = r < c - 1 && ke(i, s);
|
|
2347
|
+
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
2348
|
+
/* @__PURE__ */ a(zt, { activeStep: r, steps: m }),
|
|
2349
|
+
/* @__PURE__ */ a("div", { children: $(i, e, { compactService: !0 }) }),
|
|
2350
|
+
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
2351
|
+
/* @__PURE__ */ a(
|
|
2352
|
+
ie,
|
|
2353
|
+
{
|
|
2354
|
+
intent: "ghost",
|
|
2355
|
+
size: "md",
|
|
2356
|
+
disabled: !k,
|
|
2357
|
+
onClick: () => {
|
|
2358
|
+
const v = p[r - 1];
|
|
2359
|
+
v && n(v);
|
|
2360
|
+
},
|
|
2361
|
+
children: l("booking.actions.back")
|
|
2362
|
+
}
|
|
2363
|
+
),
|
|
2364
|
+
i < 7 ? /* @__PURE__ */ a(
|
|
2365
|
+
ie,
|
|
2366
|
+
{
|
|
2367
|
+
intent: "primary",
|
|
2368
|
+
size: "md",
|
|
2369
|
+
disabled: !I,
|
|
2370
|
+
onClick: () => {
|
|
2371
|
+
const v = p[r + 1];
|
|
2372
|
+
v && n(v);
|
|
2373
|
+
},
|
|
2374
|
+
children: l("booking.actions.next")
|
|
2375
|
+
}
|
|
2376
|
+
) : null
|
|
2377
|
+
] })
|
|
2378
|
+
] });
|
|
2379
|
+
}
|
|
2380
|
+
const na = [], oa = [], ra = ot(
|
|
2381
|
+
({
|
|
2382
|
+
variant: e = "inline-list",
|
|
2383
|
+
country: t,
|
|
2384
|
+
// No default — the cascade engine treats `undefined` as "auto-on
|
|
2385
|
+
// when `specialties` has items" so consumers who pass specialty
|
|
2386
|
+
// data without the explicit flag still get the step.
|
|
2387
|
+
useSpecialties: s,
|
|
2388
|
+
allowOperatorSelection: i = !1,
|
|
2389
|
+
lockedOperatorId: n,
|
|
2390
|
+
autoSelectSingleService: o = !1,
|
|
2391
|
+
specialties: l,
|
|
2392
|
+
services: u,
|
|
2393
|
+
operators: p,
|
|
2394
|
+
availableDates: r,
|
|
2395
|
+
availableSlots: c,
|
|
2396
|
+
nextAvailableDate: m,
|
|
2397
|
+
requireCodiceFiscale: k,
|
|
2398
|
+
requireDateOfBirth: I,
|
|
2399
|
+
requireInsuranceNumber: v,
|
|
2400
|
+
showNote: N,
|
|
2401
|
+
showReturningPatientFlag: D,
|
|
2402
|
+
privacyPolicyUrl: M,
|
|
2403
|
+
termsUrl: y,
|
|
2404
|
+
validateCodiceFiscale: b,
|
|
2405
|
+
validateInsuranceNumber: d,
|
|
2406
|
+
confirmationChannels: T,
|
|
2407
|
+
defaultConfirmationChannels: x,
|
|
2408
|
+
value: g,
|
|
2409
|
+
onChange: S,
|
|
2410
|
+
onSubmit: _,
|
|
2411
|
+
onStepChange: A,
|
|
2412
|
+
onDateSelect: G,
|
|
2413
|
+
onWindowChange: B,
|
|
2414
|
+
datePickerStyle: E = "month-calendar",
|
|
2415
|
+
specialtyPickerStyle: U,
|
|
2416
|
+
servicePickerStyle: P,
|
|
2417
|
+
operatorPickerStyle: Q,
|
|
2418
|
+
loadingDates: q,
|
|
2419
|
+
loadingSlots: pe,
|
|
2420
|
+
submitting: ee,
|
|
2421
|
+
submitError: xe,
|
|
2422
|
+
mode: Y = "live",
|
|
2423
|
+
showModifyOnSuccess: ne = !0,
|
|
2424
|
+
surface: me = "flat",
|
|
2425
|
+
emptyServicesSlot: Se,
|
|
2426
|
+
onboardingIncompleteSlot: Ie,
|
|
2427
|
+
"aria-label": Re,
|
|
2428
|
+
id: oe,
|
|
2429
|
+
className: Ve,
|
|
2430
|
+
...Ne
|
|
2431
|
+
}, we) => {
|
|
2432
|
+
const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ?? na, de = p ?? oa;
|
|
2433
|
+
H(() => {
|
|
2434
|
+
const V = Bs(g, {
|
|
2435
|
+
useSpecialties: s,
|
|
2436
|
+
lockedOperatorId: n,
|
|
2437
|
+
autoSelectSingleService: o,
|
|
2438
|
+
specialties: J,
|
|
2439
|
+
services: u
|
|
2440
|
+
});
|
|
2441
|
+
(V.specialtyId !== g.specialtyId || V.operatorId !== g.operatorId || V.serviceId !== g.serviceId) && S(V);
|
|
2442
|
+
}, [
|
|
2443
|
+
n,
|
|
2444
|
+
s,
|
|
2445
|
+
o,
|
|
2446
|
+
J,
|
|
2447
|
+
u
|
|
2448
|
+
]);
|
|
2449
|
+
const R = w(
|
|
2450
|
+
() => Os({
|
|
2451
|
+
country: t,
|
|
2452
|
+
useSpecialties: s,
|
|
2453
|
+
allowOperatorSelection: i,
|
|
2454
|
+
lockedOperatorId: n,
|
|
2455
|
+
specialties: J,
|
|
2456
|
+
services: u,
|
|
2457
|
+
operators: de,
|
|
2458
|
+
availableSlots: c,
|
|
2459
|
+
value: g
|
|
2460
|
+
}),
|
|
2461
|
+
[
|
|
2462
|
+
t,
|
|
2463
|
+
s,
|
|
2464
|
+
i,
|
|
2465
|
+
n,
|
|
2466
|
+
o,
|
|
2467
|
+
J,
|
|
2468
|
+
u,
|
|
2469
|
+
de,
|
|
2470
|
+
r,
|
|
2471
|
+
c,
|
|
2472
|
+
g
|
|
2473
|
+
]
|
|
2474
|
+
), [We, ge] = K(
|
|
2475
|
+
R.currentStep
|
|
2476
|
+
), Xe = ae(R.currentStep);
|
|
2477
|
+
H(() => {
|
|
2478
|
+
R.currentStep > Xe.current && ge(R.currentStep), Xe.current = R.currentStep;
|
|
2479
|
+
}, [R.currentStep]);
|
|
2480
|
+
const [fe, he] = K("idle"), [Le, Fe] = K(null), Qe = j(
|
|
2481
|
+
async (V) => {
|
|
2482
|
+
if (!R.selectedSlot) return;
|
|
2483
|
+
const ze = {
|
|
2484
|
+
slot: R.selectedSlot,
|
|
2485
|
+
value: {
|
|
2486
|
+
...g,
|
|
2487
|
+
details: V,
|
|
2488
|
+
operatorId: He(g) ?? g.operatorId
|
|
2489
|
+
},
|
|
2490
|
+
details: V
|
|
2491
|
+
};
|
|
2492
|
+
he("submitting");
|
|
2493
|
+
try {
|
|
2494
|
+
await _(ze), Fe({
|
|
2495
|
+
slot: R.selectedSlot,
|
|
2496
|
+
details: V,
|
|
2497
|
+
specialtyId: g.specialtyId,
|
|
2498
|
+
serviceId: g.serviceId,
|
|
2499
|
+
insuranceType: g.insuranceType,
|
|
2500
|
+
operatorId: He(g),
|
|
2501
|
+
date: g.date
|
|
2502
|
+
}), he("success");
|
|
2503
|
+
} catch {
|
|
2504
|
+
throw he("error"), new Error("Booking submission failed");
|
|
2505
|
+
}
|
|
2506
|
+
},
|
|
2507
|
+
[R.selectedSlot, _, g]
|
|
2508
|
+
), ve = ae(null);
|
|
2509
|
+
_t(we, () => ve.current, []);
|
|
2510
|
+
const be = fe === "success" ? 8 : R.currentStep, et = ae(null);
|
|
2511
|
+
H(() => {
|
|
2512
|
+
if (be !== et.current && (et.current = be, A == null || A(be), be === 8 && ve.current))
|
|
2513
|
+
try {
|
|
2514
|
+
ve.current.scrollIntoView({
|
|
2515
|
+
behavior: "smooth",
|
|
2516
|
+
block: "start"
|
|
2517
|
+
});
|
|
2518
|
+
} catch {
|
|
2519
|
+
ve.current.scrollIntoView();
|
|
2520
|
+
}
|
|
2521
|
+
}, [be, A]);
|
|
2522
|
+
const $e = w(
|
|
2523
|
+
() => ({
|
|
2524
|
+
getVariant: () => C,
|
|
2525
|
+
reset: () => {
|
|
2526
|
+
S({}), Fe(null), he("idle"), ge(1);
|
|
2527
|
+
},
|
|
2528
|
+
goToStep: (V) => {
|
|
2529
|
+
ge(V);
|
|
2530
|
+
}
|
|
2531
|
+
}),
|
|
2532
|
+
[C, S]
|
|
2533
|
+
);
|
|
2534
|
+
Ot(Cs, $e, oe);
|
|
2535
|
+
const Mt = Re ?? re("booking.regionLabel"), At = w(() => fe !== "success" || !Le ? null : /* @__PURE__ */ a(
|
|
2536
|
+
Qs,
|
|
2537
|
+
{
|
|
2538
|
+
snapshot: Le,
|
|
2539
|
+
operators: de,
|
|
2540
|
+
specialties: J,
|
|
2541
|
+
services: u,
|
|
2542
|
+
locale: te,
|
|
2543
|
+
mode: Y,
|
|
2544
|
+
showModify: ne,
|
|
2545
|
+
onReset: () => $e.reset(),
|
|
2546
|
+
onModify: () => {
|
|
2547
|
+
Fe(null), he("idle"), ge(7);
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
), [
|
|
2551
|
+
fe,
|
|
2552
|
+
Le,
|
|
2553
|
+
de,
|
|
2554
|
+
J,
|
|
2555
|
+
u,
|
|
2556
|
+
te,
|
|
2557
|
+
Y,
|
|
2558
|
+
ne,
|
|
2559
|
+
$e
|
|
2560
|
+
]), Tt = w(() => {
|
|
2561
|
+
if (fe === "success") return null;
|
|
2562
|
+
const V = C === "accordion" ? ta : C === "calendar" ? sa : C === "flexible" ? aa : C === "progress" ? ia : ea, ze = {
|
|
2563
|
+
cascade: R,
|
|
2564
|
+
inputs: {
|
|
2565
|
+
specialties: J,
|
|
2566
|
+
services: u,
|
|
2567
|
+
operators: de,
|
|
2568
|
+
availableDates: r,
|
|
2569
|
+
availableSlots: c,
|
|
2570
|
+
nextAvailableDate: m
|
|
2571
|
+
},
|
|
2572
|
+
value: g,
|
|
2573
|
+
onChange: S,
|
|
2574
|
+
onSubmit: Qe,
|
|
2575
|
+
policy: { country: t, lockedOperatorId: n },
|
|
2576
|
+
detailsProps: {
|
|
2577
|
+
requireCodiceFiscale: k,
|
|
2578
|
+
requireDateOfBirth: I,
|
|
2579
|
+
requireInsuranceNumber: v,
|
|
2580
|
+
insuranceType: g.insuranceType,
|
|
2581
|
+
showNote: N,
|
|
2582
|
+
showReturningPatientFlag: D,
|
|
2583
|
+
privacyPolicyUrl: M,
|
|
2584
|
+
termsUrl: y,
|
|
2585
|
+
validateCodiceFiscale: b,
|
|
2586
|
+
validateInsuranceNumber: d,
|
|
2587
|
+
confirmationChannels: T,
|
|
2588
|
+
defaultConfirmationChannels: x,
|
|
2589
|
+
submitError: xe
|
|
2590
|
+
},
|
|
2591
|
+
emptyServicesSlot: Se,
|
|
2592
|
+
onboardingIncompleteSlot: Ie,
|
|
2593
|
+
loadingDates: q,
|
|
2594
|
+
loadingSlots: pe,
|
|
2595
|
+
onDateSelect: G,
|
|
2596
|
+
onWindowChange: B,
|
|
2597
|
+
datePickerStyle: E,
|
|
2598
|
+
specialtyPickerStyle: U,
|
|
2599
|
+
servicePickerStyle: P,
|
|
2600
|
+
operatorPickerStyle: Q,
|
|
2601
|
+
submitting: ee,
|
|
2602
|
+
locale: te,
|
|
2603
|
+
activeStep: We,
|
|
2604
|
+
setActiveStep: ge
|
|
2605
|
+
};
|
|
2606
|
+
return /* @__PURE__ */ a(V, { ...ze });
|
|
2607
|
+
}, [
|
|
2608
|
+
fe,
|
|
2609
|
+
C,
|
|
2610
|
+
R,
|
|
2611
|
+
J,
|
|
2612
|
+
u,
|
|
2613
|
+
de,
|
|
2614
|
+
r,
|
|
2615
|
+
c,
|
|
2616
|
+
m,
|
|
2617
|
+
g,
|
|
2618
|
+
S,
|
|
2619
|
+
Qe,
|
|
2620
|
+
t,
|
|
2621
|
+
n,
|
|
2622
|
+
k,
|
|
2623
|
+
I,
|
|
2624
|
+
v,
|
|
2625
|
+
xe,
|
|
2626
|
+
N,
|
|
2627
|
+
D,
|
|
2628
|
+
M,
|
|
2629
|
+
y,
|
|
2630
|
+
b,
|
|
2631
|
+
d,
|
|
2632
|
+
T,
|
|
2633
|
+
x,
|
|
2634
|
+
Se,
|
|
2635
|
+
Ie,
|
|
2636
|
+
q,
|
|
2637
|
+
pe,
|
|
2638
|
+
G,
|
|
2639
|
+
B,
|
|
2640
|
+
E,
|
|
2641
|
+
U,
|
|
2642
|
+
P,
|
|
2643
|
+
Q,
|
|
2644
|
+
ee,
|
|
2645
|
+
te,
|
|
2646
|
+
We
|
|
2647
|
+
]);
|
|
2648
|
+
return /* @__PURE__ */ f(
|
|
2649
|
+
"div",
|
|
2650
|
+
{
|
|
2651
|
+
ref: ve,
|
|
2652
|
+
role: "region",
|
|
2653
|
+
"aria-label": Mt,
|
|
2654
|
+
id: oe,
|
|
2655
|
+
"data-component": "booking",
|
|
2656
|
+
"data-component-id": oe,
|
|
2657
|
+
"data-variant": C,
|
|
2658
|
+
className: Fs({
|
|
2659
|
+
variant: C,
|
|
2660
|
+
surface: me,
|
|
2661
|
+
className: Ve
|
|
2662
|
+
}),
|
|
2663
|
+
...Ne,
|
|
2664
|
+
children: [
|
|
2665
|
+
/* @__PURE__ */ f(
|
|
2666
|
+
"div",
|
|
2667
|
+
{
|
|
2668
|
+
className: [
|
|
2669
|
+
"ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
2670
|
+
"ds:rounded-[var(--radius-md)]",
|
|
2671
|
+
"ds:bg-[color-mix(in_srgb,var(--primary)_35%,var(--background))]",
|
|
2672
|
+
"ds:bg-[image:var(--gradient-hero-brand)]",
|
|
2673
|
+
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
2674
|
+
"ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]"
|
|
2675
|
+
].join(" "),
|
|
2676
|
+
children: [
|
|
2677
|
+
/* @__PURE__ */ a("h2", { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: re("booking.regionLabel") }),
|
|
2678
|
+
/* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: re("booking.headingSubtitle") })
|
|
2679
|
+
]
|
|
2680
|
+
}
|
|
2681
|
+
),
|
|
2682
|
+
At ?? Tt
|
|
2683
|
+
]
|
|
2684
|
+
}
|
|
2685
|
+
);
|
|
2686
|
+
}
|
|
2687
|
+
);
|
|
2688
|
+
ra.displayName = "Booking";
|
|
2689
|
+
export {
|
|
2690
|
+
ra as B,
|
|
2691
|
+
qe as C,
|
|
2692
|
+
X as O,
|
|
2693
|
+
Cs as b
|
|
2694
|
+
};
|
|
2695
|
+
//# sourceMappingURL=booking-B62CMY5k.js.map
|