@alfadocs/ui-kit-debug 1.113.0 → 1.114.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/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
- package/dist/_chunks/{anamnesis-card-BzuluoD1.js.map → anamnesis-card-Ddnrdfx3.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js.map → anamnesis-summary-card-S1H_AARG.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js.map → anamnesis-summary-rows-DaS-j8Jd.js.map} +1 -1
- package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js.map → antenatal-schedule-timeline-DmlXxevC.js.map} +1 -1
- package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
- package/dist/_chunks/{bishop-score-CnIft4eV.js.map → bishop-score-QJu-sM1y.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
- package/dist/_chunks/{bmi-calculator-NMkXc079.js.map → bmi-calculator-Ba4yoR31.js.map} +1 -1
- package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
- package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js.map → calendar-appointment-editor-dialog-iyh9QqNw.js.map} +1 -1
- package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
- package/dist/_chunks/{card-C85_Ndhb.js.map → card-DVO3x8E-.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BVkxGiGl.js.map → clinical-note-card-Zz5_GEz-.js.map} +1 -1
- package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
- package/dist/_chunks/{connection-status-CWSU3eiq.js.map → connection-status-DjarASoU.js.map} +1 -1
- package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
- package/dist/_chunks/{contact-card-CymtNvy3.js.map → contact-card-Cv-Nwvac.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CAL66GaH.js.map → contact-profile-card-DMXWBBkU.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
- package/dist/_chunks/{cycle-calculator-ZMDvToIm.js.map → cycle-calculator-Dd-XbKmZ.js.map} +1 -1
- package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
- package/dist/_chunks/{document-preview-5xs64jME.js.map → document-preview-WvJKHJOP.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
- package/dist/_chunks/{due-date-calculator-Dr2cDa64.js.map → due-date-calculator-Dl6SyMHO.js.map} +1 -1
- package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
- package/dist/_chunks/{entity-summary-BbqqYqF1.js.map → entity-summary-DGCBQDt1.js.map} +1 -1
- package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
- package/dist/_chunks/{face-scheme-e2M2HJGz.js.map → face-scheme-DlcQaQVR.js.map} +1 -1
- package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
- package/dist/_chunks/{fetal-weight-CkIwJgiH.js.map → fetal-weight-DmZzMRzB.js.map} +1 -1
- package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
- package/dist/_chunks/{finished-terminal-DXVAfhRr.js.map → finished-terminal-BKTFUk3S.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
- package/dist/_chunks/{forgot-password-form-YQVzSskq.js.map → forgot-password-form-Bc_UPax6.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js.map → gestational-age-calculator-DmzYdW5e.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
- package/dist/_chunks/{hcg-doubling-DdyUt4gz.js.map → hcg-doubling-Tr72PetS.js.map} +1 -1
- package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
- package/dist/_chunks/{heatmap-BiwC7Gdx.js.map → heatmap-CNxCDl0D.js.map} +1 -1
- package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
- package/dist/_chunks/{kit-extensions-BOsUgWnE.js.map → kit-extensions-DZJRmDI6.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-D7orCfJT.js} +2 -2
- package/dist/_chunks/{login-dev-card-B6-zCFq3.js.map → login-dev-card-D7orCfJT.js.map} +1 -1
- package/dist/_chunks/map-view-Bny79cWa.js +856 -0
- package/dist/_chunks/map-view-Bny79cWa.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js.map → marketplace-app-shell-CPNVBVLH.js.map} +1 -1
- package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
- package/dist/_chunks/motion-is-off-BvAuNV5O.js.map +1 -0
- package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
- package/dist/_chunks/{notes-panel-Cz621DWV.js.map → notes-panel-DXMTObBv.js.map} +1 -1
- package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
- package/dist/_chunks/{operator-hero-BELhrv9o.js.map → operator-hero-BWayX73x.js.map} +1 -1
- package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DdtXBNjt.js} +2 -2
- package/dist/_chunks/{patient-details-RsT3SaYh.js.map → patient-details-DdtXBNjt.js.map} +1 -1
- package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
- package/dist/_chunks/patient-search-DDRDCjZi.js.map +1 -0
- package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-CGHz-Bvm.js} +2 -2
- package/dist/_chunks/{patient-summary-card-BjZErlbt.js.map → patient-summary-card-CGHz-Bvm.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
- package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js.map → payment-automation-upsell-D7yaD4u1.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
- package/dist/_chunks/{payment-request-card-IR83TJax.js.map → payment-request-card-BmV2pLoM.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
- package/dist/_chunks/{periodontal-chart-DqdUEFxK.js.map → periodontal-chart-Bjz7O4wT.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js.map → periodontal-chart-card-CxEXHl2x.js.map} +1 -1
- package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js.map → periodontal-diagnosis-xheWfi4g.js.map} +1 -1
- package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js.map → periodontal-risk-chart-BBPB9wf1.js.map} +1 -1
- package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js.map → practice-profile-hero-Cw4NZp0A.js.map} +1 -1
- package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
- package/dist/_chunks/practice-results-BlxfBx-D.js.map +1 -0
- package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js.map → pregnancy-dating-BvorzHrd.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js.map → pregnancy-weight-gain-DQoOM8QV.js.map} +1 -1
- package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
- package/dist/_chunks/{privacy-mask-DbEKI-Jv.js.map → privacy-mask-Dc3kdkCR.js.map} +1 -1
- package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
- package/dist/_chunks/public-footer-CB7ruuLI.js.map +1 -0
- package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
- package/dist/_chunks/public-header.agent-Db4wm6_S.js.map +1 -0
- package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-Lw9T7IXr.js} +2 -2
- package/dist/_chunks/{registration-form-Cq5_OSIL.js.map → registration-form-Lw9T7IXr.js.map} +1 -1
- package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-D2jwJPac.js} +21 -31
- package/dist/_chunks/reserved.agent-D2jwJPac.js.map +1 -0
- package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
- package/dist/_chunks/{reset-password-form-BVsL2fOJ.js.map → reset-password-form-C93SH0Tx.js.map} +1 -1
- package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
- package/dist/_chunks/{reviews-panel-B03auSpQ.js.map → reviews-panel-CfJPEkH7.js.map} +1 -1
- package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
- package/dist/_chunks/{section-card-D1sV4Voz.js.map → section-card-DFr2wGal.js.map} +1 -1
- package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DfbTjrEK.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-OgPomrZN.js.map → send-registration-link-form-DfbTjrEK.js.map} +1 -1
- package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CPow3aCZ.js.map → signed-out-frame-bh7fn_Px.js.map} +1 -1
- package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
- package/dist/_chunks/stat-WGLdn5Vn.js.map +1 -0
- package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
- package/dist/_chunks/{task-card-TSJjuuDe.js.map → task-card-DqVoitRk.js.map} +1 -1
- package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
- package/dist/_chunks/{task-editor-gqWF1jI6.js.map → task-editor-D--LwVrg.js.map} +1 -1
- package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
- package/dist/_chunks/{task-tray-DrXfMCuf.js.map → task-tray-C6j8HVMv.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
- package/dist/_chunks/{tasks-panel-OuIaydK5.js.map → tasks-panel-D6PuF4MQ.js.map} +1 -1
- package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
- package/dist/_chunks/{timeline-CKUaBZOx.js.map → timeline-AMqE-c2T.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js.map → use-appointment-details-read-BK_Gw1GG.js.map} +1 -1
- package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
- package/dist/_chunks/{workflow-map-DWk-rZse.js.map → workflow-map-B4XkcET0.js.map} +1 -1
- package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js.map → workflow-webhook-action-CtBn5JvO.js.map} +1 -1
- package/dist/agent-catalog.json +6 -6
- package/dist/agent-i18n/en.json +2 -2
- package/dist/components/_shared/motion-is-off.d.ts +7 -0
- package/dist/components/_shared/motion-is-off.d.ts.map +1 -0
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-details-panel/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/booking/step-focus.d.ts +0 -6
- package/dist/components/booking/step-focus.d.ts.map +1 -1
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/clinical-note-card/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/cycle-calculator/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/finished-terminal/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/heatmap/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +16 -0
- package/dist/components/map-view/map-view.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +6 -2
- package/dist/components/patient-search/patient-search.d.ts.map +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.agent.d.ts.map +1 -1
- package/dist/components/practice-results/practice-results.d.ts +15 -2
- package/dist/components/practice-results/practice-results.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +23 -0
- package/dist/components/public-footer/public-footer.d.ts.map +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +7 -0
- package/dist/components/public-header/public-header.d.ts.map +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +7 -0
- package/dist/components/stat/stat.d.ts.map +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/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/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +1 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +2 -1
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +1 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +2 -1
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +1 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +2 -1
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +1 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +1 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +2 -1
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +1 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +2 -1
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +1 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +2 -1
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +1 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +2 -1
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +1 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +2 -1
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +1 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +2 -1
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +1 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +2 -1
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +1 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +2 -1
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +1 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +2 -1
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +1 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +2 -1
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +1 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +2 -1
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +1 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +2 -1
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +1 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +2 -1
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +1 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +2 -1
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +60 -60
- package/dist/locales/ar.json +2 -1
- package/dist/locales/de.json +2 -1
- package/dist/locales/el.json +2 -1
- package/dist/locales/en.json +1 -0
- package/dist/locales/es.json +2 -1
- package/dist/locales/fr.json +2 -1
- package/dist/locales/hi.json +2 -1
- package/dist/locales/it.json +2 -1
- package/dist/locales/ja.json +2 -1
- package/dist/locales/nl.json +2 -1
- package/dist/locales/pl.json +2 -1
- package/dist/locales/pt.json +2 -1
- package/dist/locales/ro.json +2 -1
- package/dist/locales/ru.json +2 -1
- package/dist/locales/sq.json +2 -1
- package/dist/locales/sv.json +2 -1
- package/dist/locales/tr.json +2 -1
- package/dist/locales/zh.json +2 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
- package/dist/_chunks/map-view-Dn7aXZJw.js.map +0 -1
- package/dist/_chunks/patient-search-CxuqVUTB.js.map +0 -1
- package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
- package/dist/_chunks/practice-results-BByRCIuR.js.map +0 -1
- package/dist/_chunks/public-footer-DGjLTtNK.js.map +0 -1
- package/dist/_chunks/public-header.agent-_ArDD1Xr.js.map +0 -1
- package/dist/_chunks/reserved.agent-BMkapgom.js.map +0 -1
- package/dist/_chunks/stat-BFKZV50y.js.map +0 -1
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
import { jsx as l, jsxs as T } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as xe, useMemo as V, useRef as k, useId as Ce, useState as N, useEffect as x, useCallback as _, useImperativeHandle as Le, useLayoutEffect as Ee } from "react";
|
|
3
|
+
import { createPortal as Ve } from "react-dom";
|
|
4
|
+
import { c as S } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as q } from "react-i18next";
|
|
6
|
+
import { M as Ie, A as Pe, a as _e, b as Te, P as oe, c as Ne, u as Se, d as ie, e as $ } from "./maps-core-gate-DkNqGkm3.js";
|
|
7
|
+
import { B as Ge } from "./button-DohK_Ak_.js";
|
|
8
|
+
import { S as Re } from "./skeleton-tTWJpvAq.js";
|
|
9
|
+
import { V as Ae } from "./visually-hidden-BHxEUGyT.js";
|
|
10
|
+
import { E as Ze } from "./error-boundary-tAn_GuCu.js";
|
|
11
|
+
import { u as Oe } from "./registry-DvAUVLHh.js";
|
|
12
|
+
import { l as je } from "./length-token-DwMnGEYT.js";
|
|
13
|
+
import { M as De } from "./map-pin-BaY37-Km.js";
|
|
14
|
+
import { E as He } from "./external-link-CY6zAXXU.js";
|
|
15
|
+
const $e = {
|
|
16
|
+
id: "map-view",
|
|
17
|
+
// pan → scroll (viewport move); set_zoom → set_value; select_marker → pick
|
|
18
|
+
// (NON-persisting marker focus, no value state slot).
|
|
19
|
+
capabilities: ["scroll", "set_value", "pick"],
|
|
20
|
+
// Every action routes through the imperative bridge, which only exists
|
|
21
|
+
// once the map has loaded: consent granted (the default is
|
|
22
|
+
// `consentGranted={false}`) and Google Maps finished loading. Until then
|
|
23
|
+
// all three actions are silent no-ops. `consentGranted` says whether the
|
|
24
|
+
// gate is passed, and a null `center` after it means the map is still
|
|
25
|
+
// loading. `center` / `zoom` are read off the live
|
|
26
|
+
// map because Google clamps zoom and animates pans, so requested is not
|
|
27
|
+
// applied; `selectedMarkerId` is the only confirmation the host accepted
|
|
28
|
+
// a `select_marker` proposal.
|
|
29
|
+
//
|
|
30
|
+
// A9: marker ids only (`MapMarker.id` is a stable opaque id). Never
|
|
31
|
+
// `MapMarker.label`, never the `address` prop (consumer-supplied free
|
|
32
|
+
// text, PII in any patient-address deployment), never `apiKey`.
|
|
33
|
+
state: {
|
|
34
|
+
consentGranted: {
|
|
35
|
+
type: "boolean",
|
|
36
|
+
descriptionKey: "ui.agent.mapView.state.consentGranted",
|
|
37
|
+
description: "True when the GDPR consent gate has been passed. Read this FIRST: while it is false every action is a silent no-op against a placeholder, and nothing else in the surface says so. When it is true but `center` is still null, Google Maps is loading; wait for `center` before acting.",
|
|
38
|
+
read: (e) => e.isConsentGranted()
|
|
39
|
+
},
|
|
40
|
+
markerCount: {
|
|
41
|
+
type: "number",
|
|
42
|
+
descriptionKey: "ui.agent.mapView.state.markerCount",
|
|
43
|
+
description: "Number of markers the consumer passed. Zero means there is nothing for `select_marker` to select. A count only — no ids, labels or positions.",
|
|
44
|
+
read: (e) => e.getMarkerCount()
|
|
45
|
+
},
|
|
46
|
+
selectedMarkerId: {
|
|
47
|
+
type: "string | null",
|
|
48
|
+
descriptionKey: "ui.agent.mapView.state.selectedMarkerId",
|
|
49
|
+
description: "Id of the marker the host currently holds as selected, or null. Selection is fully controlled by the consumer, so `select_marker` only proposes — this slot is the only way to see whether the proposal was accepted.",
|
|
50
|
+
read: (e) => e.getSelectedMarkerId()
|
|
51
|
+
},
|
|
52
|
+
center: {
|
|
53
|
+
type: "{ lat: number; lng: number } | null",
|
|
54
|
+
descriptionKey: "ui.agent.mapView.state.center",
|
|
55
|
+
description: "Live map centre in lat/lng, or null until the map has loaded (consent not granted, or Google Maps still loading). The read-back for `pan_to`, and the sign that the map is ready.",
|
|
56
|
+
read: (e) => e.getCenter()
|
|
57
|
+
},
|
|
58
|
+
zoom: {
|
|
59
|
+
type: "number | null",
|
|
60
|
+
descriptionKey: "ui.agent.mapView.state.zoom",
|
|
61
|
+
description: "Live zoom level, or null until the map has loaded. Google clamps zoom to the map type's range, so this is not necessarily the value last passed to `set_zoom`.",
|
|
62
|
+
read: (e) => e.getZoom()
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
actions: {
|
|
66
|
+
pan_to: {
|
|
67
|
+
// Ephemeral viewport move, no data loss → read.
|
|
68
|
+
safety: "read",
|
|
69
|
+
argsType: "{ position: { lat: number; lng: number } }",
|
|
70
|
+
argsSchema: {
|
|
71
|
+
type: "object",
|
|
72
|
+
properties: {
|
|
73
|
+
position: {
|
|
74
|
+
type: "object",
|
|
75
|
+
properties: {
|
|
76
|
+
lat: { type: "number", description: "Latitude in degrees." },
|
|
77
|
+
lng: { type: "number", description: "Longitude in degrees." }
|
|
78
|
+
},
|
|
79
|
+
required: ["lat", "lng"]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
required: ["position"]
|
|
83
|
+
},
|
|
84
|
+
idempotent: !0,
|
|
85
|
+
descriptionKey: "ui.agent.mapView.actions.panTo",
|
|
86
|
+
description: "Pan the map to a new centre without changing zoom. Read the `center` slot back to confirm — Google animates the pan, so the applied centre settles after the call.",
|
|
87
|
+
errors: [
|
|
88
|
+
"Silent no-op until the map has loaded: while `consentGranted` is false (only the consent placeholder shows) or while `center` is still null (Google Maps is loading)."
|
|
89
|
+
],
|
|
90
|
+
invoke: (e, o) => {
|
|
91
|
+
e.panTo(o.position);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
set_zoom: {
|
|
95
|
+
// Ephemeral viewport zoom, no data loss → read.
|
|
96
|
+
safety: "read",
|
|
97
|
+
argsType: "{ zoom: number }",
|
|
98
|
+
argsSchema: {
|
|
99
|
+
type: "object",
|
|
100
|
+
properties: {
|
|
101
|
+
zoom: {
|
|
102
|
+
type: "number",
|
|
103
|
+
description: "Zoom level, typical range 1–20."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
required: ["zoom"]
|
|
107
|
+
},
|
|
108
|
+
idempotent: !0,
|
|
109
|
+
descriptionKey: "ui.agent.mapView.actions.setZoom",
|
|
110
|
+
description: "Set the map zoom level (typical range 1–20). Read the `zoom` slot back — Google clamps the request to the map type’s supported range, so requested and applied can differ.",
|
|
111
|
+
errors: [
|
|
112
|
+
"Silent no-op until the map has loaded: while `consentGranted` is false (only the consent placeholder shows) or while `center` is still null (Google Maps is loading).",
|
|
113
|
+
"Requested zoom is clamped to the map type's range; `zoom` reports what was actually applied."
|
|
114
|
+
],
|
|
115
|
+
invoke: (e, o) => {
|
|
116
|
+
e.setZoom(o.zoom);
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
select_marker: {
|
|
120
|
+
// Ephemeral marker focus, no data loss → read.
|
|
121
|
+
safety: "read",
|
|
122
|
+
argsType: "{ id: string | null }",
|
|
123
|
+
argsSchema: {
|
|
124
|
+
type: "object",
|
|
125
|
+
properties: {
|
|
126
|
+
id: {
|
|
127
|
+
type: ["string", "null"],
|
|
128
|
+
description: "Marker id to select, or null to clear the selection."
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
required: ["id"]
|
|
132
|
+
},
|
|
133
|
+
idempotent: !0,
|
|
134
|
+
descriptionKey: "ui.agent.mapView.actions.selectMarker",
|
|
135
|
+
description: "Propose a marker selection by id, or pass null to clear it. Fires the host's `onMarkerClick`; selection is controlled by the host, so read the `selectedMarkerId` slot back to see whether it accepted.",
|
|
136
|
+
errors: [
|
|
137
|
+
"Silent no-op until the map has loaded: while `consentGranted` is false (only the consent placeholder shows) or while `center` is still null (Google Maps is loading).",
|
|
138
|
+
"The host owns `selectedMarkerId` and may ignore the proposal; `selectedMarkerId` is unchanged when it does."
|
|
139
|
+
],
|
|
140
|
+
invoke: (e, o) => {
|
|
141
|
+
e.selectMarker(o.id);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
domHooks: {
|
|
146
|
+
root: {
|
|
147
|
+
attr: "data-component",
|
|
148
|
+
value: "map-view",
|
|
149
|
+
description: "Marks the element as a kit MapView."
|
|
150
|
+
},
|
|
151
|
+
instanceId: {
|
|
152
|
+
attr: "data-component-id",
|
|
153
|
+
sourceProp: "id",
|
|
154
|
+
description: "Sourced from the id prop."
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}, Ke = S(
|
|
158
|
+
["ds:relative ds:overflow-hidden ds:block", "ds:bg-[var(--muted)]"].join(" "),
|
|
159
|
+
{
|
|
160
|
+
variants: {
|
|
161
|
+
size: {
|
|
162
|
+
sm: "ds:[--map-block-size:14rem]",
|
|
163
|
+
md: "ds:[--map-block-size:20rem]",
|
|
164
|
+
lg: "ds:[--map-block-size:28rem]",
|
|
165
|
+
// `fill` defers sizing to the parent. The outer takes
|
|
166
|
+
// `block-size: 100%` so the inner (also 100%) has something
|
|
167
|
+
// to inherit from. Use inside a viewport-locked column —
|
|
168
|
+
// `<PracticeResults variant="map-first">` wires this through
|
|
169
|
+
// automatically; standalone consumers must give the parent
|
|
170
|
+
// a constrained block-size or the map collapses to 0.
|
|
171
|
+
fill: "ds:[block-size:100%]"
|
|
172
|
+
},
|
|
173
|
+
surface: {
|
|
174
|
+
bordered: "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
175
|
+
elevated: "ds:rounded-[var(--radius-md)] ds:shadow-[var(--shadow-card)] ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))] ds:border-[color:var(--card-border)]",
|
|
176
|
+
bare: "ds:rounded-none ds:border-0"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
defaultVariants: { size: "md", surface: "bordered" }
|
|
180
|
+
}
|
|
181
|
+
), We = S("ds:block ds:w-full", {
|
|
182
|
+
variants: {
|
|
183
|
+
size: {
|
|
184
|
+
sm: "ds:[block-size:var(--map-block-size)]",
|
|
185
|
+
md: "ds:[block-size:var(--map-block-size)]",
|
|
186
|
+
lg: "ds:[block-size:var(--map-block-size)]",
|
|
187
|
+
fill: "ds:[block-size:100%]"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
defaultVariants: { size: "md" }
|
|
191
|
+
}), qe = S(
|
|
192
|
+
[
|
|
193
|
+
"ds:absolute ds:inset-0",
|
|
194
|
+
"ds:flex ds:flex-col ds:items-center ds:justify-center",
|
|
195
|
+
"ds:gap-[var(--spacing-sm)]",
|
|
196
|
+
"ds:p-[var(--spacing-md)]",
|
|
197
|
+
"ds:bg-[var(--muted)] ds:text-[var(--foreground)]",
|
|
198
|
+
"ds:text-center"
|
|
199
|
+
].join(" ")
|
|
200
|
+
), Be = S("type-heading-3 ds:m-0"), se = S(
|
|
201
|
+
"type-body-sm ds:text-[var(--muted-foreground)] ds:[max-inline-size:28rem] ds:m-0"
|
|
202
|
+
);
|
|
203
|
+
function Fe({
|
|
204
|
+
onHandleReady: e,
|
|
205
|
+
onMarkerSelect: o,
|
|
206
|
+
onCameraMove: r
|
|
207
|
+
}) {
|
|
208
|
+
const a = $();
|
|
209
|
+
return x(() => {
|
|
210
|
+
if (a)
|
|
211
|
+
return e({
|
|
212
|
+
panTo: (t) => {
|
|
213
|
+
r(), a.panTo(t);
|
|
214
|
+
},
|
|
215
|
+
setZoom: (t) => {
|
|
216
|
+
r(), a.setZoom(t);
|
|
217
|
+
},
|
|
218
|
+
jumpTo: (t, i) => {
|
|
219
|
+
r(), a.moveCamera({ center: t, zoom: i });
|
|
220
|
+
},
|
|
221
|
+
selectMarker: (t) => o(t),
|
|
222
|
+
// Read straight off the live map: Google clamps `setZoom` to the
|
|
223
|
+
// map type's range and animates `panTo`, so requested and applied
|
|
224
|
+
// are not the same value.
|
|
225
|
+
getCenter: () => {
|
|
226
|
+
var t;
|
|
227
|
+
return ((t = a.getCenter()) == null ? void 0 : t.toJSON()) ?? null;
|
|
228
|
+
},
|
|
229
|
+
getZoom: () => a.getZoom() ?? null
|
|
230
|
+
}), () => e(null);
|
|
231
|
+
}, [a, e, o, r]), null;
|
|
232
|
+
}
|
|
233
|
+
function Je({
|
|
234
|
+
onBoundsChange: e,
|
|
235
|
+
userInteraction: o
|
|
236
|
+
}) {
|
|
237
|
+
const r = $(), a = k(e);
|
|
238
|
+
return a.current = e, x(() => {
|
|
239
|
+
if (!r) return;
|
|
240
|
+
const t = r.getDiv();
|
|
241
|
+
let i = null;
|
|
242
|
+
const d = () => {
|
|
243
|
+
o.current = {
|
|
244
|
+
pendingInput: !1,
|
|
245
|
+
moved: !1,
|
|
246
|
+
programmatic: !1
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
d();
|
|
250
|
+
let h;
|
|
251
|
+
const u = /* @__PURE__ */ new Set(), m = (n) => {
|
|
252
|
+
if (n instanceof PointerEvent && n.pointerType === "touch" && (n.type === "pointerdown" && u.add(n.pointerId), n.type === "pointerup" || n.type === "pointercancel")) {
|
|
253
|
+
u.delete(n.pointerId);
|
|
254
|
+
return;
|
|
255
|
+
}
|
|
256
|
+
if (n instanceof PointerEvent && n.type === "pointermove" && n.buttons === 0 && n.pointerType !== "touch" || n instanceof KeyboardEvent && ![
|
|
257
|
+
"ArrowUp",
|
|
258
|
+
"ArrowDown",
|
|
259
|
+
"ArrowLeft",
|
|
260
|
+
"ArrowRight",
|
|
261
|
+
"+",
|
|
262
|
+
"=",
|
|
263
|
+
"-",
|
|
264
|
+
"_",
|
|
265
|
+
"Enter",
|
|
266
|
+
" ",
|
|
267
|
+
"PageUp",
|
|
268
|
+
"PageDown"
|
|
269
|
+
].includes(n.key))
|
|
270
|
+
return;
|
|
271
|
+
const p = document.fullscreenElement, v = !!(p && (p.contains(t) || t.contains(p)));
|
|
272
|
+
let b = n.type === "dblclick";
|
|
273
|
+
n instanceof PointerEvent && n.type === "pointermove" && (b = n.pointerType !== "touch" || u.size >= 2 || v), n.type === "touchmove" && (b = n.touches.length >= 2 || v), n instanceof KeyboardEvent && (b = n.key !== "Enter" && n.key !== " "), n instanceof WheelEvent && (b = n.ctrlKey || n.metaKey || v), n.type === "click" && (b = n.target instanceof Element && n.target.closest('button, [role="button"]') != null), b && (o.current.programmatic = !1), o.current.pendingInput = !0, clearTimeout(h), h = setTimeout(() => {
|
|
274
|
+
o.current.pendingInput = !1;
|
|
275
|
+
}, 250);
|
|
276
|
+
}, f = () => {
|
|
277
|
+
o.current.pendingInput && !o.current.programmatic && (o.current.moved = !0);
|
|
278
|
+
}, g = () => {
|
|
279
|
+
var E, P;
|
|
280
|
+
const n = (E = r.getBounds()) == null ? void 0 : E.toJSON(), p = (P = r.getCenter()) == null ? void 0 : P.toJSON(), v = r.getZoom(), b = o.current.moved;
|
|
281
|
+
if (d(), clearTimeout(h), !n || !p || v == null) return;
|
|
282
|
+
const z = !i || Object.keys(n).some(
|
|
283
|
+
(G) => n[G] !== i.bounds[G]
|
|
284
|
+
), I = i != null && (v !== i.zoom || p.lat !== i.center.lat || p.lng !== i.center.lng);
|
|
285
|
+
i = { bounds: n, center: p, zoom: v }, z && a.current(n, { userInteraction: b && I });
|
|
286
|
+
}, c = [
|
|
287
|
+
"pointerdown",
|
|
288
|
+
"pointermove",
|
|
289
|
+
"pointerup",
|
|
290
|
+
"pointercancel",
|
|
291
|
+
"touchstart",
|
|
292
|
+
"touchmove",
|
|
293
|
+
"click",
|
|
294
|
+
"dblclick",
|
|
295
|
+
"wheel",
|
|
296
|
+
"keydown"
|
|
297
|
+
];
|
|
298
|
+
c.forEach(
|
|
299
|
+
(n) => t.addEventListener(n, m, { capture: !0, passive: !0 })
|
|
300
|
+
);
|
|
301
|
+
const w = [
|
|
302
|
+
r.addListener("dragstart", () => {
|
|
303
|
+
o.current.programmatic = !1, o.current.moved = !0;
|
|
304
|
+
}),
|
|
305
|
+
r.addListener("center_changed", f),
|
|
306
|
+
r.addListener("zoom_changed", f),
|
|
307
|
+
r.addListener("idle", g)
|
|
308
|
+
];
|
|
309
|
+
return g(), () => {
|
|
310
|
+
w.forEach((n) => n.remove()), c.forEach(
|
|
311
|
+
(n) => t.removeEventListener(n, m, !0)
|
|
312
|
+
), clearTimeout(h), d();
|
|
313
|
+
};
|
|
314
|
+
}, [r, o]), null;
|
|
315
|
+
}
|
|
316
|
+
function Ue(e, o) {
|
|
317
|
+
const r = $(), [a, t] = N(null), { lat: i, lng: d } = o;
|
|
318
|
+
return x(() => {
|
|
319
|
+
if (!r || typeof r.getCenter != "function") return;
|
|
320
|
+
const h = () => {
|
|
321
|
+
var p, v;
|
|
322
|
+
const m = (p = r.getCenter()) == null ? void 0 : p.toJSON(), f = r.getZoom(), g = (v = r.getDiv) == null ? void 0 : v.call(r);
|
|
323
|
+
if (!m || f == null || !g) {
|
|
324
|
+
t(null);
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
327
|
+
const c = g.clientWidth, w = g.clientHeight, n = le * 2 ** f;
|
|
328
|
+
t({
|
|
329
|
+
id: e,
|
|
330
|
+
width: c,
|
|
331
|
+
height: w,
|
|
332
|
+
x: c / 2 + (d - m.lng) / 360 * n,
|
|
333
|
+
y: w / 2 - (H(i) - H(m.lat)) * n / (2 * Math.PI)
|
|
334
|
+
});
|
|
335
|
+
};
|
|
336
|
+
h();
|
|
337
|
+
const u = ["bounds_changed", "zoom_changed", "center_changed", "idle"].flatMap(
|
|
338
|
+
(m) => typeof r.addListener == "function" ? [r.addListener(m, h)] : []
|
|
339
|
+
);
|
|
340
|
+
return () => u.forEach((m) => m.remove());
|
|
341
|
+
}, [r, e, i, d]), (a == null ? void 0 : a.id) === e ? a : null;
|
|
342
|
+
}
|
|
343
|
+
function Xe({
|
|
344
|
+
marker: e,
|
|
345
|
+
frame: o,
|
|
346
|
+
direction: r,
|
|
347
|
+
children: a
|
|
348
|
+
}) {
|
|
349
|
+
const t = Ue(e.id, e.position);
|
|
350
|
+
return !t || !o ? null : Ve(
|
|
351
|
+
/* @__PURE__ */ l(et, { anchor: t, direction: r, children: a }),
|
|
352
|
+
o
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
const Ye = 52, Qe = 12, D = 8;
|
|
356
|
+
function et({
|
|
357
|
+
anchor: e,
|
|
358
|
+
children: o,
|
|
359
|
+
direction: r
|
|
360
|
+
}) {
|
|
361
|
+
const a = k(null), [t, i] = N(
|
|
362
|
+
null
|
|
363
|
+
);
|
|
364
|
+
if (Ee(() => {
|
|
365
|
+
const n = a.current;
|
|
366
|
+
n && i(
|
|
367
|
+
(p) => (p == null ? void 0 : p.width) === n.offsetWidth && p.height === n.offsetHeight ? p : { width: n.offsetWidth, height: n.offsetHeight }
|
|
368
|
+
);
|
|
369
|
+
}, [o, e.id]), !(e.x >= 0 && e.x <= e.width && e.y >= 0 && e.y <= e.height)) return null;
|
|
370
|
+
const h = (t == null ? void 0 : t.width) ?? 0, u = (t == null ? void 0 : t.height) ?? 0, m = Math.max(D, e.width - h - D), f = Math.min(Math.max(e.x - h / 2, D), m), g = e.y - Ye - u, c = g < D, w = c ? e.y + Qe : g;
|
|
371
|
+
return (
|
|
372
|
+
// The layer is `ltr` because the map is geographic: x is always measured
|
|
373
|
+
// from the physical left. The card inside takes the page direction.
|
|
374
|
+
/* @__PURE__ */ l(
|
|
375
|
+
"div",
|
|
376
|
+
{
|
|
377
|
+
dir: "ltr",
|
|
378
|
+
"aria-hidden": "true",
|
|
379
|
+
"data-component": "map-view-marker-card-layer",
|
|
380
|
+
className: "ds:pointer-events-none ds:absolute ds:inset-0 ds:overflow-hidden",
|
|
381
|
+
children: /* @__PURE__ */ l(
|
|
382
|
+
"div",
|
|
383
|
+
{
|
|
384
|
+
ref: a,
|
|
385
|
+
"data-component": "map-view-marker-card",
|
|
386
|
+
"data-marker-id": e.id,
|
|
387
|
+
"data-placement": c ? "below" : "above",
|
|
388
|
+
style: {
|
|
389
|
+
"--marker-card-x": `${f}px`,
|
|
390
|
+
"--marker-card-y": `${w}px`
|
|
391
|
+
},
|
|
392
|
+
"data-measured": t ? "true" : "false",
|
|
393
|
+
className: "ds:absolute ds:[inset-inline-start:var(--marker-card-x)] ds:[inset-block-start:var(--marker-card-y)] ds:[inline-size:max-content] ds:[max-inline-size:calc(100%-var(--spacing-md))] ds:data-[measured=false]:invisible",
|
|
394
|
+
children: /* @__PURE__ */ l("div", { dir: r, children: o })
|
|
395
|
+
}
|
|
396
|
+
)
|
|
397
|
+
}
|
|
398
|
+
)
|
|
399
|
+
);
|
|
400
|
+
}
|
|
401
|
+
const le = 256, tt = (e) => e * Math.PI / 180;
|
|
402
|
+
function H(e) {
|
|
403
|
+
const o = Math.min(Math.max(Math.sin(tt(e)), -0.9999), 0.9999);
|
|
404
|
+
return Math.log((1 + o) / (1 - o)) / 2;
|
|
405
|
+
}
|
|
406
|
+
const nt = (e) => Math.atan(Math.sinh(e)) * 180 / Math.PI;
|
|
407
|
+
function rt(e) {
|
|
408
|
+
let o = -90, r = 90, a = -180, t = 180;
|
|
409
|
+
for (const { lat: i, lng: d } of e)
|
|
410
|
+
o = Math.max(o, i), r = Math.min(r, i), a = Math.max(a, d), t = Math.min(t, d);
|
|
411
|
+
return { north: o, south: r, east: a, west: t };
|
|
412
|
+
}
|
|
413
|
+
function ot(e, o, r, a, t) {
|
|
414
|
+
const { north: i, south: d, east: h, west: u } = rt(e);
|
|
415
|
+
if (i === d && h === u)
|
|
416
|
+
return { center: { lat: i, lng: h }, zoom: t };
|
|
417
|
+
const m = H(i), f = H(d), g = {
|
|
418
|
+
lat: nt((m + f) / 2),
|
|
419
|
+
lng: (h + u) / 2
|
|
420
|
+
}, c = (n, p) => p > 0 ? Math.log2(Math.max(n, 1) / le / p) : t, w = Math.min(
|
|
421
|
+
c(o - 2 * a, (h - u) / 360),
|
|
422
|
+
c(r - 2 * a, (m - f) / (2 * Math.PI)),
|
|
423
|
+
t
|
|
424
|
+
);
|
|
425
|
+
return { center: g, zoom: Math.max(0, Math.floor(w)) };
|
|
426
|
+
}
|
|
427
|
+
const ce = ({ id: e, lat: o, lng: r }) => e != null ? `id:${e}` : `at:${o},${r}`;
|
|
428
|
+
function st({
|
|
429
|
+
points: e,
|
|
430
|
+
fitKey: o,
|
|
431
|
+
maxZoom: r,
|
|
432
|
+
onCameraMove: a
|
|
433
|
+
}) {
|
|
434
|
+
const t = $(), i = k(null), d = k(!1), h = k(null);
|
|
435
|
+
return x(() => {
|
|
436
|
+
if (!t) return;
|
|
437
|
+
const u = () => {
|
|
438
|
+
var n;
|
|
439
|
+
const f = h.current, g = (n = t.getCenter()) == null ? void 0 : n.toJSON(), c = t.getZoom();
|
|
440
|
+
f != null && c === f.zoom && g != null && Math.abs(g.lat - f.center.lat) < 1e-6 && Math.abs(g.lng - f.center.lng) < 1e-6 || (d.current = !0);
|
|
441
|
+
}, m = [
|
|
442
|
+
t.addListener("dragstart", () => {
|
|
443
|
+
d.current = !0;
|
|
444
|
+
}),
|
|
445
|
+
t.addListener("center_changed", u),
|
|
446
|
+
t.addListener("zoom_changed", u)
|
|
447
|
+
];
|
|
448
|
+
return () => m.forEach((f) => f.remove());
|
|
449
|
+
}, [t]), x(() => {
|
|
450
|
+
var v;
|
|
451
|
+
if (!t) return;
|
|
452
|
+
const u = ((v = i.current) == null ? void 0 : v.map) === t ? i.current : null;
|
|
453
|
+
if ((u == null ? void 0 : u.key) === o) return;
|
|
454
|
+
const m = new Set(e.map(ce)), f = (b, z) => {
|
|
455
|
+
h.current = { center: b, zoom: z }, a(), t.moveCamera({ center: b, zoom: z }), d.current = !1;
|
|
456
|
+
};
|
|
457
|
+
if (e.length === 0) {
|
|
458
|
+
i.current = { map: t, key: o, points: m };
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
if (u != null && u.points.size > 0 && [...u.points].every((b) => m.has(b)) && d.current) {
|
|
462
|
+
i.current = { map: t, key: o, points: m };
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
const c = t.getDiv();
|
|
466
|
+
if (!(c instanceof Element)) return;
|
|
467
|
+
const w = () => {
|
|
468
|
+
i.current = { map: t, key: o, points: m };
|
|
469
|
+
const b = Math.min(
|
|
470
|
+
je("--spacing-2xl", c, 48),
|
|
471
|
+
c.clientWidth / 4,
|
|
472
|
+
c.clientHeight / 4
|
|
473
|
+
), { center: z, zoom: I } = ot(
|
|
474
|
+
e,
|
|
475
|
+
c.clientWidth,
|
|
476
|
+
c.clientHeight,
|
|
477
|
+
b,
|
|
478
|
+
r
|
|
479
|
+
);
|
|
480
|
+
f(z, I);
|
|
481
|
+
}, n = () => c.clientWidth > 0 && c.clientHeight > 0;
|
|
482
|
+
if (n() || typeof ResizeObserver > "u") {
|
|
483
|
+
w();
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
const p = new ResizeObserver(() => {
|
|
487
|
+
n() && (p.disconnect(), w());
|
|
488
|
+
});
|
|
489
|
+
return p.observe(c), () => p.disconnect();
|
|
490
|
+
}, [t, o, e, r, a]), null;
|
|
491
|
+
}
|
|
492
|
+
const de = (e) => {
|
|
493
|
+
var o, r;
|
|
494
|
+
return typeof ((r = (o = globalThis.google) == null ? void 0 : o.maps) == null ? void 0 : r[e]) == "function";
|
|
495
|
+
};
|
|
496
|
+
function ue() {
|
|
497
|
+
const { t: e } = q("ui");
|
|
498
|
+
return /* @__PURE__ */ T(
|
|
499
|
+
"div",
|
|
500
|
+
{
|
|
501
|
+
role: "status",
|
|
502
|
+
"data-testid": "map-view-loading",
|
|
503
|
+
className: "ds:[inline-size:100%] ds:[block-size:100%]",
|
|
504
|
+
children: [
|
|
505
|
+
/* @__PURE__ */ l(Re, { variant: "rectangular", width: "100%", height: "100%" }),
|
|
506
|
+
/* @__PURE__ */ l(Ae, { children: e("common.loading") })
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
);
|
|
510
|
+
}
|
|
511
|
+
function at({ children: e }) {
|
|
512
|
+
const o = Se();
|
|
513
|
+
return ie("maps") || !o || de("Map") ? e : /* @__PURE__ */ l(ue, {});
|
|
514
|
+
}
|
|
515
|
+
function it({ children: e }) {
|
|
516
|
+
return ie("marker") || de("Marker") ? e : null;
|
|
517
|
+
}
|
|
518
|
+
function ae({
|
|
519
|
+
address: e,
|
|
520
|
+
contentLang: o,
|
|
521
|
+
description: r,
|
|
522
|
+
onLoadMap: a,
|
|
523
|
+
openInGoogleMapsHref: t,
|
|
524
|
+
consentCta: i
|
|
525
|
+
}) {
|
|
526
|
+
const { t: d } = q("ui");
|
|
527
|
+
return /* @__PURE__ */ T("div", { className: qe(), "data-testid": "map-view-consent", children: [
|
|
528
|
+
/* @__PURE__ */ l(
|
|
529
|
+
De,
|
|
530
|
+
{
|
|
531
|
+
"aria-hidden": "true",
|
|
532
|
+
className: "ds:size-6 ds:text-[var(--muted-foreground)]"
|
|
533
|
+
}
|
|
534
|
+
),
|
|
535
|
+
/* @__PURE__ */ l("p", { className: Be(), children: d("mapView.consentTitle") }),
|
|
536
|
+
e ? /* @__PURE__ */ l(
|
|
537
|
+
"p",
|
|
538
|
+
{
|
|
539
|
+
className: se(),
|
|
540
|
+
"data-testid": "map-view-address",
|
|
541
|
+
lang: o,
|
|
542
|
+
children: e
|
|
543
|
+
}
|
|
544
|
+
) : null,
|
|
545
|
+
/* @__PURE__ */ l("p", { className: se(), children: r }),
|
|
546
|
+
/* @__PURE__ */ T("div", { className: "ds:flex ds:gap-[var(--spacing-sm)] ds:flex-wrap ds:items-center ds:justify-center", children: [
|
|
547
|
+
i ?? /* @__PURE__ */ l(
|
|
548
|
+
Ge,
|
|
549
|
+
{
|
|
550
|
+
type: "button",
|
|
551
|
+
intent: "primary",
|
|
552
|
+
size: "sm",
|
|
553
|
+
onClick: a,
|
|
554
|
+
"data-testid": "map-view-load-cta",
|
|
555
|
+
children: d("mapView.consentCta")
|
|
556
|
+
}
|
|
557
|
+
),
|
|
558
|
+
/* @__PURE__ */ T(
|
|
559
|
+
"a",
|
|
560
|
+
{
|
|
561
|
+
href: t,
|
|
562
|
+
target: "_blank",
|
|
563
|
+
rel: "noopener noreferrer",
|
|
564
|
+
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:text-[var(--primary-readable)] ds:underline ds:underline-offset-2",
|
|
565
|
+
children: [
|
|
566
|
+
d("mapView.openInGoogleMaps"),
|
|
567
|
+
/* @__PURE__ */ l(He, { "aria-hidden": "true", className: "ds:size-3" })
|
|
568
|
+
]
|
|
569
|
+
}
|
|
570
|
+
)
|
|
571
|
+
] })
|
|
572
|
+
] });
|
|
573
|
+
}
|
|
574
|
+
const lt = xe(
|
|
575
|
+
({
|
|
576
|
+
id: e,
|
|
577
|
+
apiKey: o,
|
|
578
|
+
center: r,
|
|
579
|
+
zoom: a = 15,
|
|
580
|
+
markers: t,
|
|
581
|
+
selectedMarkerId: i,
|
|
582
|
+
hoveredMarkerId: d,
|
|
583
|
+
renderMarkerCard: h,
|
|
584
|
+
onMarkerClick: u,
|
|
585
|
+
onBoundsChange: m,
|
|
586
|
+
consentGranted: f = !1,
|
|
587
|
+
onConsentRequest: g,
|
|
588
|
+
address: c,
|
|
589
|
+
contentLang: w,
|
|
590
|
+
consentDescription: n,
|
|
591
|
+
consentCta: p,
|
|
592
|
+
mapId: v,
|
|
593
|
+
size: b,
|
|
594
|
+
surface: z,
|
|
595
|
+
ariaLabel: I,
|
|
596
|
+
fitToPoints: E,
|
|
597
|
+
fitKey: P,
|
|
598
|
+
fitMaxZoom: G = 15,
|
|
599
|
+
className: pe,
|
|
600
|
+
...me
|
|
601
|
+
}, he) => {
|
|
602
|
+
const { t: R, i18n: B } = q("ui"), A = V(() => E ?? [], [E]), fe = V(
|
|
603
|
+
() => P ?? A.map((s) => `${ce(s)}@${s.lat},${s.lng}`).sort().join("|"),
|
|
604
|
+
[P, A]
|
|
605
|
+
), C = A.length > 0, F = k(C), J = Ce(), ge = V(
|
|
606
|
+
() => `map-${J.replace(/[^a-zA-Z0-9-_]/g, "")}`,
|
|
607
|
+
[J]
|
|
608
|
+
), [U, ye] = N(!1);
|
|
609
|
+
x(() => {
|
|
610
|
+
if (typeof window > "u") return;
|
|
611
|
+
const s = window.matchMedia("(prefers-reduced-motion: reduce)"), y = () => ye(s.matches);
|
|
612
|
+
return y(), s.addEventListener("change", y), () => s.removeEventListener("change", y);
|
|
613
|
+
}, []);
|
|
614
|
+
const X = V(() => `https://www.google.com/maps/search/?api=1&query=${c ? encodeURIComponent(c) : `${r.lat},${r.lng}`}`, [c, r.lat, r.lng]), M = k(null), Y = k({
|
|
615
|
+
pendingInput: !1,
|
|
616
|
+
moved: !1,
|
|
617
|
+
programmatic: !1
|
|
618
|
+
}), Z = _(() => {
|
|
619
|
+
Y.current = {
|
|
620
|
+
pendingInput: !1,
|
|
621
|
+
moved: !1,
|
|
622
|
+
programmatic: !0
|
|
623
|
+
};
|
|
624
|
+
}, []), O = _(
|
|
625
|
+
(s) => {
|
|
626
|
+
Z(), u == null || u(s);
|
|
627
|
+
},
|
|
628
|
+
[Z, u]
|
|
629
|
+
), [be, ve] = N(null), K = V(
|
|
630
|
+
() => d != null && h ? (t ?? []).find((s) => s.id === d) ?? null : null,
|
|
631
|
+
[d, h, t]
|
|
632
|
+
), we = _((s) => {
|
|
633
|
+
M.current = s;
|
|
634
|
+
}, []), Q = k(!1), ee = k(null), te = k(0), j = _(
|
|
635
|
+
() => ({
|
|
636
|
+
panTo: (s) => {
|
|
637
|
+
var y;
|
|
638
|
+
return (y = M.current) == null ? void 0 : y.panTo(s);
|
|
639
|
+
},
|
|
640
|
+
setZoom: (s) => {
|
|
641
|
+
var y;
|
|
642
|
+
return (y = M.current) == null ? void 0 : y.setZoom(s);
|
|
643
|
+
},
|
|
644
|
+
selectMarker: (s) => {
|
|
645
|
+
var y;
|
|
646
|
+
return (y = M.current) == null ? void 0 : y.selectMarker(s);
|
|
647
|
+
},
|
|
648
|
+
// Without `isConsentGranted` an agent has no way to learn that
|
|
649
|
+
// its pan / zoom / select was swallowed by the GDPR gate rather
|
|
650
|
+
// than applied: under the default (`consentGranted={false}`) the
|
|
651
|
+
// whole Maps subtree is unmounted and every action optional-chains
|
|
652
|
+
// into nothing.
|
|
653
|
+
isConsentGranted: () => Q.current,
|
|
654
|
+
getCenter: () => {
|
|
655
|
+
var s;
|
|
656
|
+
return ((s = M.current) == null ? void 0 : s.getCenter()) ?? null;
|
|
657
|
+
},
|
|
658
|
+
getZoom: () => {
|
|
659
|
+
var s;
|
|
660
|
+
return ((s = M.current) == null ? void 0 : s.getZoom()) ?? null;
|
|
661
|
+
},
|
|
662
|
+
getSelectedMarkerId: () => ee.current,
|
|
663
|
+
getMarkerCount: () => te.current
|
|
664
|
+
}),
|
|
665
|
+
[]
|
|
666
|
+
);
|
|
667
|
+
Le(he, j, [j]);
|
|
668
|
+
const ke = V(
|
|
669
|
+
() => j(),
|
|
670
|
+
[j]
|
|
671
|
+
);
|
|
672
|
+
Oe($e, ke, e), x(() => {
|
|
673
|
+
var y, L;
|
|
674
|
+
const s = F.current && !C;
|
|
675
|
+
if (F.current = C, !C) {
|
|
676
|
+
if (s) {
|
|
677
|
+
(y = M.current) == null || y.jumpTo(r, a);
|
|
678
|
+
return;
|
|
679
|
+
}
|
|
680
|
+
U || (L = M.current) == null || L.panTo(r);
|
|
681
|
+
}
|
|
682
|
+
}, [r.lat, r.lng, U, C]), x(() => {
|
|
683
|
+
var s;
|
|
684
|
+
C || (s = M.current) == null || s.setZoom(a);
|
|
685
|
+
}, [a, C]);
|
|
686
|
+
const [Me, ne] = N(!1), re = f || Me;
|
|
687
|
+
Q.current = re, ee.current = i ?? null, te.current = (t ?? []).length;
|
|
688
|
+
const ze = _(() => {
|
|
689
|
+
if (g) {
|
|
690
|
+
g(), ne(!0);
|
|
691
|
+
return;
|
|
692
|
+
}
|
|
693
|
+
ne(!0);
|
|
694
|
+
}, [g]);
|
|
695
|
+
return /* @__PURE__ */ l(
|
|
696
|
+
"div",
|
|
697
|
+
{
|
|
698
|
+
className: Ke({ size: b, surface: z, className: pe }),
|
|
699
|
+
"data-component": "map-view",
|
|
700
|
+
"data-component-id": e ?? ge,
|
|
701
|
+
role: "region",
|
|
702
|
+
"aria-label": I ?? R("mapView.label"),
|
|
703
|
+
...me,
|
|
704
|
+
children: /* @__PURE__ */ l(
|
|
705
|
+
"div",
|
|
706
|
+
{
|
|
707
|
+
ref: ve,
|
|
708
|
+
className: We({ size: b, className: "ds:relative" }),
|
|
709
|
+
children: re ? (
|
|
710
|
+
// A provider failure shows the consent placeholder (its "Open in
|
|
711
|
+
// Google Maps" link needs no script) with "Load map" as the
|
|
712
|
+
// retry, instead of unmounting the host's React tree. The gate
|
|
713
|
+
// starts the provider only once Google's `core` and `maps`
|
|
714
|
+
// libraries have arrived.
|
|
715
|
+
/* @__PURE__ */ l(
|
|
716
|
+
Ze,
|
|
717
|
+
{
|
|
718
|
+
fallback: ({ reset: s }) => /* @__PURE__ */ l(
|
|
719
|
+
ae,
|
|
720
|
+
{
|
|
721
|
+
address: c,
|
|
722
|
+
contentLang: w,
|
|
723
|
+
description: n ?? R("mapView.consentDescription"),
|
|
724
|
+
onLoadMap: s,
|
|
725
|
+
consentCta: void 0,
|
|
726
|
+
openInGoogleMapsHref: X
|
|
727
|
+
}
|
|
728
|
+
),
|
|
729
|
+
children: /* @__PURE__ */ l(Ie, { libraries: ["maps"], pending: /* @__PURE__ */ l(ue, {}), children: /* @__PURE__ */ l(
|
|
730
|
+
Pe,
|
|
731
|
+
{
|
|
732
|
+
apiKey: o,
|
|
733
|
+
language: B.language,
|
|
734
|
+
children: /* @__PURE__ */ l(at, { children: /* @__PURE__ */ T(
|
|
735
|
+
_e,
|
|
736
|
+
{
|
|
737
|
+
defaultCenter: r,
|
|
738
|
+
defaultZoom: a,
|
|
739
|
+
mapId: v,
|
|
740
|
+
gestureHandling: "cooperative",
|
|
741
|
+
disableDefaultUI: !1,
|
|
742
|
+
onClick: () => O(null),
|
|
743
|
+
className: "ds:[inline-size:100%] ds:[block-size:100%]",
|
|
744
|
+
children: [
|
|
745
|
+
/* @__PURE__ */ l(
|
|
746
|
+
Fe,
|
|
747
|
+
{
|
|
748
|
+
onHandleReady: we,
|
|
749
|
+
onMarkerSelect: O,
|
|
750
|
+
onCameraMove: Z
|
|
751
|
+
}
|
|
752
|
+
),
|
|
753
|
+
m ? /* @__PURE__ */ l(
|
|
754
|
+
Je,
|
|
755
|
+
{
|
|
756
|
+
onBoundsChange: m,
|
|
757
|
+
userInteraction: Y
|
|
758
|
+
}
|
|
759
|
+
) : null,
|
|
760
|
+
E ? /* @__PURE__ */ l(
|
|
761
|
+
st,
|
|
762
|
+
{
|
|
763
|
+
points: A,
|
|
764
|
+
fitKey: fe,
|
|
765
|
+
maxZoom: G,
|
|
766
|
+
onCameraMove: Z
|
|
767
|
+
}
|
|
768
|
+
) : null,
|
|
769
|
+
K && h ? /* @__PURE__ */ l(
|
|
770
|
+
Xe,
|
|
771
|
+
{
|
|
772
|
+
marker: K,
|
|
773
|
+
frame: be,
|
|
774
|
+
direction: B.dir(),
|
|
775
|
+
children: h(K.id)
|
|
776
|
+
}
|
|
777
|
+
) : null,
|
|
778
|
+
/* @__PURE__ */ l(it, { children: (t ?? []).map((s) => {
|
|
779
|
+
const y = i != null && i === s.id, L = d != null && d === s.id, W = R("mapView.markerLabel", {
|
|
780
|
+
label: s.label ?? s.id
|
|
781
|
+
});
|
|
782
|
+
return v ? /* @__PURE__ */ l(
|
|
783
|
+
Te,
|
|
784
|
+
{
|
|
785
|
+
position: s.position,
|
|
786
|
+
title: W,
|
|
787
|
+
"aria-label": W,
|
|
788
|
+
"data-selected": y ? "true" : "false",
|
|
789
|
+
"data-hovered": L ? "true" : "false",
|
|
790
|
+
zIndex: L ? 1e3 : y ? 500 : void 0,
|
|
791
|
+
onClick: () => O(s.id),
|
|
792
|
+
children: L ? (
|
|
793
|
+
// Hovered pin: larger, deep ink body with a
|
|
794
|
+
// white ring. Theme-invariant, because the
|
|
795
|
+
// tiles do not follow the kit theme: one of
|
|
796
|
+
// body and ring clears 3:1 on any map style.
|
|
797
|
+
// Not `--accent`, which failed contrast.
|
|
798
|
+
/* @__PURE__ */ l(
|
|
799
|
+
oe,
|
|
800
|
+
{
|
|
801
|
+
scale: 1.4,
|
|
802
|
+
background: "var(--map-marker-hover-color)",
|
|
803
|
+
borderColor: "var(--map-marker-hover-ring)",
|
|
804
|
+
glyphColor: "var(--map-marker-hover-ring)"
|
|
805
|
+
}
|
|
806
|
+
)
|
|
807
|
+
) : /* @__PURE__ */ l(
|
|
808
|
+
oe,
|
|
809
|
+
{
|
|
810
|
+
background: "var(--primary)",
|
|
811
|
+
borderColor: "var(--primary)",
|
|
812
|
+
glyphColor: "var(--primary-foreground)"
|
|
813
|
+
}
|
|
814
|
+
)
|
|
815
|
+
},
|
|
816
|
+
s.id
|
|
817
|
+
) : /* @__PURE__ */ l(
|
|
818
|
+
Ne,
|
|
819
|
+
{
|
|
820
|
+
position: s.position,
|
|
821
|
+
title: W,
|
|
822
|
+
zIndex: L ? 1e3 : y ? 500 : void 0,
|
|
823
|
+
onClick: () => O(s.id)
|
|
824
|
+
},
|
|
825
|
+
s.id
|
|
826
|
+
);
|
|
827
|
+
}) })
|
|
828
|
+
]
|
|
829
|
+
}
|
|
830
|
+
) })
|
|
831
|
+
}
|
|
832
|
+
) })
|
|
833
|
+
}
|
|
834
|
+
)
|
|
835
|
+
) : /* @__PURE__ */ l(
|
|
836
|
+
ae,
|
|
837
|
+
{
|
|
838
|
+
address: c,
|
|
839
|
+
contentLang: w,
|
|
840
|
+
description: n ?? R("mapView.consentDescription"),
|
|
841
|
+
onLoadMap: ze,
|
|
842
|
+
consentCta: p,
|
|
843
|
+
openInGoogleMapsHref: X
|
|
844
|
+
}
|
|
845
|
+
)
|
|
846
|
+
}
|
|
847
|
+
)
|
|
848
|
+
}
|
|
849
|
+
);
|
|
850
|
+
}
|
|
851
|
+
);
|
|
852
|
+
lt.displayName = "MapView";
|
|
853
|
+
export {
|
|
854
|
+
lt as M
|
|
855
|
+
};
|
|
856
|
+
//# sourceMappingURL=map-view-Bny79cWa.js.map
|