@mediquo/elements 0.12.0 → 0.12.1-rc.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/api-chat-client-BZAeIvwy.js +1 -0
- package/dist/chunks/{apple-pay-outcomes--uAwZeLE.js → apple-pay-outcomes-BDEoZ3jG.js} +1 -1
- package/dist/chunks/{chunk-Y4EKUX25-Bdei04iw.js → chunk-Y4EKUX25-Bix9r5ry.js} +1 -1
- package/dist/chunks/{chunk-YTQUGGS3-sBILRfPo.js → chunk-YTQUGGS3-DH0H7ld7.js} +1 -1
- package/dist/chunks/{documentation-view-BcA4Vbhp.js → documentation-view-BUhSeZQQ.js} +1 -1
- package/dist/chunks/{external-cM_kgYO_.js → external-JLtsAfi6.js} +1 -1
- package/dist/chunks/{index-CGWd3FWG.js → index-C8H-Uzbs.js} +1 -1
- package/dist/chunks/{index-Dw4Aeoyg.js → index-DTBCUojx.js} +1 -1
- package/dist/chunks/{mq-chat-room-BkXGHzrd.js → mq-chat-room-D8z-cbzt.js} +1 -1
- package/dist/chunks/{mq-next-appointments-BngkXupq.js → mq-next-appointments-DsfhBPsc.js} +1 -1
- package/dist/chunks/{mq-recent-documents-Ee-JRTdl.js → mq-recent-documents-BW54beY8.js} +1 -1
- package/dist/chunks/{mq-schedule-DAKftQ3D.js → mq-schedule-DWa7lyBh.js} +1 -1
- package/dist/chunks/{mq-support-chat-Bzj5LYHb.js → mq-support-chat-Do9xyxf2.js} +1 -1
- package/dist/chunks/mq-videocall-BSUe9dXT.js +1 -0
- package/dist/chunks/{next-appointment-card-BE0KW2vv.js → next-appointment-card-CBf_4Err.js} +1 -1
- package/dist/env.js +1 -1
- package/dist/i18n.js +1 -1
- package/dist/mq-api-client-provider.js +1 -1
- package/dist/mq-apple-pay-checkout.js +1 -1
- package/dist/mq-appointment-checkout.js +1 -1
- package/dist/mq-appointment-documentation.js +1 -1
- package/dist/mq-chat-room.js +1 -1
- package/dist/mq-checkout.js +1 -1
- package/dist/mq-dashboard.js +1 -1
- package/dist/mq-documents.js +1 -1
- package/dist/mq-google-pay-checkout.js +1 -1
- package/dist/mq-immediate-videocall-checkout.js +1 -1
- package/dist/mq-my-appointments.js +1 -1
- package/dist/mq-next-appointments.js +1 -1
- package/dist/mq-payment-poller.js +1 -1
- package/dist/mq-professional-presence-sync.js +1 -1
- package/dist/mq-recent-documents.js +1 -1
- package/dist/mq-schedule-success.js +1 -1
- package/dist/mq-schedule.js +1 -1
- package/dist/mq-socket-provider.js +1 -1
- package/dist/mq-support-chat.js +1 -1
- package/dist/mq-terms-and-conditions.js +1 -1
- package/dist/mq-unread-count-sync.js +1 -1
- package/dist/mq-videocall.js +1 -1
- package/dist/react/mq-api-client-provider.js +1 -1
- package/dist/react/mq-apple-pay-checkout.js +1 -1
- package/dist/react/mq-appointment-checkout.js +1 -1
- package/dist/react/mq-appointment-documentation.js +1 -1
- package/dist/react/mq-chat-room.js +1 -1
- package/dist/react/mq-checkout.js +1 -1
- package/dist/react/mq-dashboard.js +1 -1
- package/dist/react/mq-documents-page.js +1 -1
- package/dist/react/mq-documents.js +1 -1
- package/dist/react/mq-google-pay-checkout.js +1 -1
- package/dist/react/mq-immediate-videocall-checkout.js +1 -1
- package/dist/react/mq-my-appointments.js +1 -1
- package/dist/react/mq-next-appointments.js +1 -1
- package/dist/react/mq-payment-poller.js +1 -1
- package/dist/react/mq-professional-presence-sync.js +1 -1
- package/dist/react/mq-recent-documents.js +1 -1
- package/dist/react/mq-schedule-success.js +1 -1
- package/dist/react/mq-schedule.js +1 -1
- package/dist/react/mq-socket-provider.js +1 -1
- package/dist/react/mq-support-chat.js +1 -1
- package/dist/react/mq-terms-and-conditions.js +1 -1
- package/dist/react/mq-unread-count-sync.js +1 -1
- package/dist/react/mq-videocall.js +1 -1
- package/dist/ui/mq-input.d.ts +1 -0
- package/dist/ui/mq-input.js +1 -1
- package/package.json +2 -2
- package/dist/chunks/api-chat-client-Dx-sFrf2.js +0 -1
- package/dist/chunks/mq-videocall-Cp7LSoDs.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqDocumentsPage as o}from"../mq-documents.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqDocumentsPage as o}from"../mq-documents.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"@tanstack/query-core";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/index-DTBCUojx.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/blob-to-base64-CUL1trde.js";import"../chunks/state-LQivXIgA.js";import"../events.js";import"../ui/icons/download-02-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-toast.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/get-patient-profile-query-D9btgcxl.js";import"../ui/icons/chevron-left-icon.js";import"../ui/icons/chevron-right-icon.js";import"../chunks/index-D3_2tkC3.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/file-icon.js";const i=s({react:t,tagName:"mq-documents-page",elementClass:o,events:{onBack:"mq-back"}});export{i as MqDocumentsPage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqDocuments as o}from"../mq-documents.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqDocuments as o}from"../mq-documents.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"@tanstack/query-core";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/index-DTBCUojx.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/blob-to-base64-CUL1trde.js";import"../chunks/state-LQivXIgA.js";import"../events.js";import"../ui/icons/download-02-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-toast.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/get-patient-profile-query-D9btgcxl.js";import"../ui/icons/chevron-left-icon.js";import"../ui/icons/chevron-right-icon.js";import"../chunks/index-D3_2tkC3.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/file-icon.js";const i=s({react:t,tagName:"mq-documents",elementClass:o});export{i as MqDocuments};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqGooglePayCheckout as e}from"../mq-google-pay-checkout.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/login-token-task-NQJ77O_q.js";import"../chunks/task-CqjSKFwZ.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../env.js";import"../i18n.js";import"../chunks/external-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqGooglePayCheckout as e}from"../mq-google-pay-checkout.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/login-token-task-NQJ77O_q.js";import"../chunks/task-CqjSKFwZ.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../env.js";import"../i18n.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../chunks/apple-pay-outcomes-BDEoZ3jG.js";const o=t({react:s,tagName:"mq-google-pay-checkout",elementClass:e,events:{onPaymentSuccess:"payment-success",onPaymentDenied:"payment-denied",onPaymentError:"payment-error"}});export{o as MqGooglePayCheckout};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqImmediateVideocallCheckout as e}from"../mq-immediate-videocall-checkout.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/if-defined-BYeVdwgd.js";import"../mq-checkout.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/task-CqjSKFwZ.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/login-token-task-NQJ77O_q.js";import"../chunks/state-LQivXIgA.js";import"../chunks/query-CeeutdfT.js";import"../env.js";import"../theme.js";import"../i18n.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqImmediateVideocallCheckout as e}from"../mq-immediate-videocall-checkout.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/if-defined-BYeVdwgd.js";import"../mq-checkout.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/task-CqjSKFwZ.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/login-token-task-NQJ77O_q.js";import"../chunks/state-LQivXIgA.js";import"../chunks/query-CeeutdfT.js";import"../env.js";import"../theme.js";import"../i18n.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/checkout-bridge-BFpVxNww.js";const o=t({react:s,tagName:"mq-immediate-videocall-checkout",elementClass:e,events:{onPaymentSuccess:"payment-success"}});export{o as MqImmediateVideocallCheckout};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqMyAppointments as i}from"../mq-my-appointments.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-
|
|
2
|
+
import{o}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{MqMyAppointments as i}from"../mq-my-appointments.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/appointment-details-BM8peAHH.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/addSeconds-fO5orJrt.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../ui/icons/briefcase-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../ui/mq-tabs.js";import"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/next-appointment-card-CBf_4Err.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"@tanstack/query-core";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/get-organization-setup-query-De7eM6V3.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/chunk-Y4EKUX25-Bix9r5ry.js";import"../chunks/refund-cancel-policy-DoMzcLlL.js";import"../chunks/state-LQivXIgA.js";import"../events.js";import"../ui/icons/dots-horizontal-icon.js";import"../chunks/mq-chat-room-D8z-cbzt.js";import"../chunks/provide-BwI4DDGF.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/mq-avatar.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/chunk-BUV4MGML-CkhBbfUu.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../chunks/addDays-CdyO-PRI.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/index-Djkwyh_M.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-dialog.js";import"../ui/icons/video-icon.js";import"../chunks/price-DU3YLTpk.js";import"../chunks/professional-overview-Ck_SPivX.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-text-button.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-unread-badge.js";import"../ui/mq-toast.js";import"../chunks/get-schedule-services-query-Io2aQ_7G.js";const s=o({react:t,tagName:"mq-my-appointments",elementClass:i,events:{onTabChange:"ontabchange",onRequestAppointment:"request-appointment",onHome:"mq-home",onAppointmentBook:"mq-appointment-book",onAppointmentJoinVideocall:"mq-appointment-join-videocall",onAppointmentReschedule:"mq-appointment-reschedule",onAppointmentViewDocumentation:"mq-appointment-view-documentation"}});export{s as MqMyAppointments};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import"../mq-next-appointments.js";import{M as o}from"../chunks/mq-next-appointments-
|
|
2
|
+
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import"../mq-next-appointments.js";import{M as o}from"../chunks/mq-next-appointments-DsfhBPsc.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../events.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"@tanstack/query-core";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/next-appointment-card-CBf_4Err.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/get-organization-setup-query-De7eM6V3.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/chunk-Y4EKUX25-Bix9r5ry.js";import"../chunks/refund-cancel-policy-DoMzcLlL.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../ui/icons/dots-horizontal-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../chunks/mq-chat-room-D8z-cbzt.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/mq-avatar.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-button.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/chunk-BUV4MGML-CkhBbfUu.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../chunks/addDays-CdyO-PRI.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/index-Djkwyh_M.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-dialog.js";import"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../ui/icons/video-icon.js";import"../chunks/price-DU3YLTpk.js";import"../chunks/professional-overview-Ck_SPivX.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-text-button.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-unread-badge.js";import"../ui/mq-toast.js";import"../chunks/get-patient-profile-query-D9btgcxl.js";import"../chunks/index-D3_2tkC3.js";import"../ui/icons/file-icon.js";import"../chunks/index-MfyXh-qX.js";import"../ui/icons/arrow-right-icon.js";const s=i({react:t,tagName:"mq-next-appointments",elementClass:o,events:{onViewAppointments:"mq-view-appointments",onAppointmentJoinVideocall:"mq-appointment-join-videocall",onAppointmentReschedule:"mq-appointment-reschedule"}});export{s as MqNextAppointments};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqPaymentPoller as e}from"../mq-payment-poller.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{MqPaymentPoller as e}from"../mq-payment-poller.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../events.js";import"../ui/icons/spinner-icon.js";import"../ui/icons/types.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/if-defined-BYeVdwgd.js";const o=t({react:s,tagName:"mq-payment-poller",elementClass:e,events:{onPaymentSucceeded:"mq-payment-succeeded",onHome:"mq-home"}});export{o as MqPaymentPoller};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{MqProfessionalPresenceSync as n}from"../mq-professional-presence-sync.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-YTQUGGS3-
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{MqProfessionalPresenceSync as n}from"../mq-professional-presence-sync.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/chunk-BUV4MGML-CkhBbfUu.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";const t=s({react:e,tagName:"mq-professional-presence-sync",elementClass:n});export{t as MqProfessionalPresenceSync};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import"../mq-recent-documents.js";import{M as o}from"../chunks/mq-recent-documents-
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import"../mq-recent-documents.js";import{M as o}from"../chunks/mq-recent-documents-BW54beY8.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../events.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"@tanstack/query-core";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/index-DTBCUojx.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/blob-to-base64-CUL1trde.js";import"../chunks/state-LQivXIgA.js";import"../ui/icons/download-02-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-toast.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/get-patient-profile-query-D9btgcxl.js";import"../chunks/index-MfyXh-qX.js";import"../ui/icons/arrow-right-icon.js";import"../chunks/index-D3_2tkC3.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/file-icon.js";const n=s({react:t,tagName:"mq-recent-documents",elementClass:o,events:{onViewDocuments:"mq-view-documents",onDownloadFile:"mq-download-file"}});export{n as MqRecentDocuments};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as i from"react";import{MqScheduleSuccess as o}from"../mq-schedule-success.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as i from"react";import{MqScheduleSuccess as o}from"../mq-schedule-success.js";import"../i18n.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../env.js";import"../events.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../ui/icons/check-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/mq-callout.js";import"../ui/icons/info-circle-outine-icon.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/professional-overview-Ck_SPivX.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-text-button.js";import"../ui/mq-avatar.js";import"../chunks/index-Djkwyh_M.js";import"../chunks/appointment-details-BM8peAHH.js";import"../chunks/addSeconds-fO5orJrt.js";import"../ui/icons/briefcase-icon.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"@tanstack/query-core";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/get-appointment-query-DuHrjd8L.js";import"../chunks/get-patient-profile-query-D9btgcxl.js";import"../chunks/chunk-Y4EKUX25-Bix9r5ry.js";import"../ui/icons/chat-bubble-icon.js";import"../ui/icons/video-icon.js";import"../chunks/mq-chat-room-D8z-cbzt.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/chunk-BUV4MGML-CkhBbfUu.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/check-double-icon.js";import"../chunks/addDays-CdyO-PRI.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-unread-badge.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/price-DU3YLTpk.js";import"../ui/mq-card.js";const t=s({react:i,tagName:"mq-schedule-success",elementClass:o,events:{onOpenVideocall:"open-videocall",onViewAppointments:"mq-view-appointments",onHome:"mq-home"}});export{t as MqScheduleSuccess};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{M as t}from"../chunks/mq-schedule-
|
|
2
|
+
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{M as t}from"../chunks/mq-schedule-DWa7lyBh.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"@tanstack/query-core";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/get-appointment-query-DuHrjd8L.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/get-organization-setup-query-De7eM6V3.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/get-patient-profile-query-D9btgcxl.js";import"../chunks/get-schedule-services-query-Io2aQ_7G.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/refund-cancel-policy-DoMzcLlL.js";import"../events.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../ui/mq-button.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/if-defined-BYeVdwgd.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/state-LQivXIgA.js";import"../chunks/index-C76yAope.js";import"../chunks/style-map-CIdqdn7C.js";import"../ui/mq-text-button.js";import"../i18n.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-input.js";import"../chunks/query-CeeutdfT.js";import"../ui/icons/calendar-icon.js";import"../ui/icons/types.js";import"../ui/mq-callout.js";import"../ui/icons/info-circle-outine-icon.js";import"../ui/mq-page-title.js";import"../ui/icons/arrow-narrow-left-icon.js";import"../chunks/professional-overview-Ck_SPivX.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-avatar.js";import"../chunks/index-Djkwyh_M.js";import"../chunks/appointment-details-BM8peAHH.js";import"../chunks/addSeconds-fO5orJrt.js";import"../ui/icons/briefcase-icon.js";import"../ui/icons/clock-icon.js";import"../ui/icons/message-bubble-icon.js";import"../ui/icons/phone-icon.js";import"../ui/mq-card.js";import"../ui/icons/spinner-icon.js";import"../ui/icons/tag-icon.js";import"../chunks/price-DU3YLTpk.js";import"../ui/mq-toast.js";import"../ui/icons/file-icon.js";import"../ui/icons/upload-icon.js";import"../ui/icons/x-icon.js";import"../ui/mq-textarea.js";import"../chunks/checkout-bridge-BFpVxNww.js";import"../ui/mq-skeleton.js";import"../ui/mq-select.js";import"../ui/mq-badge.js";import"../chunks/index-VQqG1eyA.js";import"../ui/icons/chevron-left-icon.js";import"../ui/icons/chevron-right-icon.js";import"../chunks/format-tMwfQwDf.js";import"../ui/mq-time-slot-picker.js";import"../chunks/addDays-CdyO-PRI.js";import"../theme.js";const o=i({react:s,tagName:"mq-schedule",elementClass:t,events:{onAppointmentCreated:"appointment-created",onAuthRequired:"auth-required",onBack:"mq-back"}});export{o as MqSchedule};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{SocketProvider as s}from"../mq-socket-provider.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-YTQUGGS3-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as e from"react";import{SocketProvider as s}from"../mq-socket-provider.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";const r=t({react:e,tagName:"mq-socket-provider",elementClass:s});export{r as MqSocketProvider};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{M as o}from"../chunks/mq-support-chat-
|
|
2
|
+
import{o as s}from"../chunks/create-component-BB-6Gu6l.js";import*as t from"react";import{M as o}from"../chunks/mq-support-chat-Do9xyxf2.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"@tanstack/query-core";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../chunks/get-organization-setup-query-De7eM6V3.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../chunks/chunk-BUV4MGML-CkhBbfUu.js";import"../chunks/chunk-Y4EKUX25-Bix9r5ry.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../theme.js";import"../ui/icons/annotation-question-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/icons/types.js";import"../ui/icons/spinner-icon.js";import"../ui/icons/x-icon.js";import"../chunks/mq-chat-room-D8z-cbzt.js";import"../ui/mq-avatar.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-button.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/query-CeeutdfT.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../events.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../i18n.js";import"../chunks/addDays-CdyO-PRI.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/index-Djkwyh_M.js";import"../chunks/index-BkDanNQg.js";import"../ui/mq-toast.js";const n=s({react:t,tagName:"mq-support-chat",elementClass:o,events:{onOpen:"mq-support-chat-open",onClose:"mq-support-chat-close",onDownloadFile:"mq-download-file"}});export{n as MqSupportChat};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{M as n}from"../chunks/index-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{M as n}from"../chunks/index-C8H-Uzbs.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../ui/mq-checkbox.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/mq-button.js";import"../chunks/if-defined-BYeVdwgd.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../env.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";const o=t({react:s,tagName:"mq-terms-and-conditions",elementClass:n,events:{onContinue:"continue"}});export{o as MqTermsAndConditions};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as n from"react";import{MqUnreadCountSync as s}from"../mq-unread-count-sync.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/chunk-YTQUGGS3-
|
|
2
|
+
import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as n from"react";import{MqUnreadCountSync as s}from"../mq-unread-count-sync.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/chunk-Y4EKUX25-Bix9r5ry.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";const c=t({react:n,tagName:"mq-unread-count-sync",elementClass:s});export{c as MqUnreadCountSync};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as o from"react";import{M as s}from"../chunks/mq-videocall-
|
|
2
|
+
import{o as i}from"../chunks/create-component-BB-6Gu6l.js";import*as o from"react";import{M as s}from"../chunks/mq-videocall-BSUe9dXT.js";import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../ui/icons/spinner-icon.js";import"../ui/icons/types.js";import"../chunks/provide-BwI4DDGF.js";import"../chunks/context-request-event-Dfydf1ub.js";import"../chunks/consume-CovVqBjI.js";import"../chunks/context-consumer-ESdICVAb.js";import"../chunks/task-CqjSKFwZ.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-chat-client-BZAeIvwy.js";import"../chunks/external-JLtsAfi6.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../env.js";import"../chunks/state-LQivXIgA.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/addSeconds-fO5orJrt.js";import"../i18n.js";import"../chunks/chunk-FUCSYDW7-Duj5hy8S.js";import"../ui/icons/calendar-icon.js";import"../chunks/if-defined-BYeVdwgd.js";import"../ui/mq-page-title.js";import"../events.js";import"../ui/mq-button.js";import"../chunks/class-map-Co76I6aw.js";import"../chunks/directive-2EDmOukv.js";import"../ui/icons/arrow-narrow-left-icon.js";import"../chunks/professional-overview-Ck_SPivX.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-text-button.js";import"../ui/mq-avatar.js";import"../chunks/index-Djkwyh_M.js";import"../ui/icons/clock-icon.js";import"../chunks/documentation-view-BUhSeZQQ.js";import"../ui/icons/info-circle-outine-icon.js";import"../chunks/chunk-S5RWG6G2-CQJ38pW6.js";import"../ui/icons/message-bubble-icon.js";import"../chunks/mq-chat-room-D8z-cbzt.js";import"../theme.js";import"../ui/icons/x-icon.js";import"../ui/mq-skeleton.js";import"../chunks/style-map-CIdqdn7C.js";import"../chunks/query-controller-B1byDHlF.js";import"../chunks/chunk-RCFIJTXZ-C6Ir0-sM.js";import"@tanstack/query-core";import"../chunks/chunk-BUV4MGML-CkhBbfUu.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";import"../ui/icons/chevron-left-icon.js";import"../chunks/query-CeeutdfT.js";import"../chunks/chunk-Y4EKUX25-Bix9r5ry.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../chunks/addDays-CdyO-PRI.js";import"../chunks/chunk-YTQUGGS3-DH0H7ld7.js";import"../chunks/mutation-controller-CR2qcqhH.js";import"../ui/mq-floating-bubble.js";import"../ui/mq-card.js";import"../ui/mq-unread-badge.js";import"../ui/icons/download-icon.js";import"../chunks/blob-to-base64-CUL1trde.js";import"../chunks/telemetry-client-DA2_SZBC.js";import"../chunks/chunk-5EJXDIGT-Bb4_pfDr.js";import"../ui/icons/chat-bubble-icon.js";import"../ui/icons/mic-icon.js";import"../ui/icons/mic-off-icon.js";import"../ui/icons/video-icon.js";import"../ui/icons/video-off-icon.js";import"../ui/icons/alert-circle-icon.js";import"../ui/mq-rating.js";import"../ui/mq-toast.js";import"../ui/icons/heartbeat-icon.js";import"../ui/icons/time-left-icon.js";import"../chunks/mq-layout-BndHxkbb.js";const t=i({react:o,tagName:"mq-videocall",elementClass:s,events:{onToggleAudio:"toggle-audio",onToggleVideo:"toggle-video",onToggleChat:"toggle-chat",onViewDocumentation:"view-documentation",onDownloadFile:"download-file",onReviewSubmitted:"review-submitted",onReviewSkipped:"review-skipped",onViewAppointments:"mq-view-appointments"}});export{t as MqVideocall};
|
package/dist/ui/mq-input.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare class MqInput extends LitElement {
|
|
|
24
24
|
type: "text" | "email" | "password" | "tel" | "url" | "number" | "date" | "time" | "datetime-local";
|
|
25
25
|
size: InputSize;
|
|
26
26
|
private focused;
|
|
27
|
+
private partial;
|
|
27
28
|
private readonly inputElement?;
|
|
28
29
|
private handleInput;
|
|
29
30
|
private handleFocus;
|
package/dist/ui/mq-input.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,c as t}from"../chunks/custom-element-D2ziPxYE.js";import{i
|
|
1
|
+
import{_ as e,c as t}from"../chunks/custom-element-D2ziPxYE.js";import{i,a as o,x as r}from"../chunks/lit-element-DiWJYFwC.js";import{n as a}from"../chunks/property-scuRaFcM.js";import{r as s}from"../chunks/state-LQivXIgA.js";import{e as n}from"../chunks/query-CeeutdfT.js";import{e as l}from"../chunks/class-map-Co76I6aw.js";import{o as p}from"../chunks/if-defined-BYeVdwgd.js";import{calendarIcon as d}from"./icons/calendar-icon.js";import"../chunks/directive-2EDmOukv.js";import"./icons/types.js";const c=i`:host{display:inline-block;width:100%;min-width:200px;font-family:var(--font-body, "Roboto", sans-serif)}.root{position:relative;width:100%}.control{position:relative;width:100%;font-size:var(--text-base);line-height:var(--text-base--line-height)}.input-wrapper{cursor:text;box-sizing:border-box;position:relative;display:flex;flex-direction:column;justify-content:center;height:var(--input-height-md);width:100%;border-radius:var(--border-radius-lg);border:1px solid var(--color-neutrals-border-default);background:var(--color-neutrals-background-extraWeak);padding:var(--size-2) var(--size-4);transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.input-wrapper:focus-within{outline:0;box-shadow:0 0 0 1.5px var(--color-background),0 0 0 3.5px var(--color-primary)}.control.focused .input-wrapper{border-color:var(--color-primary);box-shadow:0 0 0 1px var(--color-primary)}.control.error .input-wrapper{border-color:var(--color-error-border-default)}.control.error.focused .input-wrapper{border-color:var(--color-error-border-default);box-shadow:0 0 0 1px var(--color-error-border-default)}.control.error .input-wrapper:focus-within{box-shadow:0 0 0 1px var(--color-error-border-default)}.label{color:var(--color-neutrals-text-medium);font-family:var(--font-body);font-size:var(--text-base);font-weight:var(--font-weight-normal);transition:transform .2s ease,font-size .2s ease,top .2s ease;transform-origin:left center;pointer-events:none;position:absolute;left:var(--sp-4);top:50%;transform:translateY(-50%)}.control.disabled .label{opacity:.65}.control.filled .label,.control.focused .label{font-size:var(--text-xs);top:var(--sp-0);transform:translateY(0)}.input{border:none;outline:0;background:0 0;font-family:inherit;font-size:var(--text-base);color:var(--color-neutrals-text-default);width:100%;padding:0;line-height:1;transition:margin-top .2s ease;margin-top:0}.control.filled .input-wrapper:has(.label) .input,.control.focused .input-wrapper:has(.label) .input{margin-top:var(--size-4)}.input::placeholder{color:var(--color-neutrals-text-medium);opacity:.7}.input:disabled{opacity:.65;cursor:not-allowed}.input[type=number]::-webkit-inner-spin-button,.input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.input[type=number]{appearance:textfield;-moz-appearance:textfield}.input[type=date]::-webkit-calendar-picker-indicator,.input[type=datetime-local]::-webkit-calendar-picker-indicator,.input[type=time]::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none;appearance:none}.control:not(.filled):not(.focused) .input-wrapper:has(.label) .input:is([type=date],[type=time],[type=datetime-local]){color:transparent}.icon{position:absolute;right:var(--size-4);top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:auto}:host([size=sm]) .input-wrapper{height:var(--input-height-sm);padding:var(--size-1) var(--size-3);font-size:var(--text-sm)}:host([size=sm]) .label{font-size:var(--text-sm);left:var(--sp-3)}:host([size=sm]) .control.filled .label,:host([size=sm]) .control.focused .label{font-size:var(--text-xxs)}:host([size=sm]) .input{font-size:var(--text-sm)}:host([size=sm]) .control.filled .input-wrapper:has(.label) .input,:host([size=sm]) .control.focused .input-wrapper:has(.label) .input{margin-top:var(--size-3)}:host([size=md]) .input-wrapper{height:var(--input-height-md)}:host([size=lg]) .input-wrapper{height:var(--input-height-lg);padding:var(--size-3) var(--size-5);font-size:var(--text-lg)}:host([size=lg]) .label{font-size:var(--text-lg);left:var(--sp-5)}:host([size=lg]) .control.filled .label,:host([size=lg]) .control.focused .label{font-size:var(--text-sm)}:host([size=lg]) .input{font-size:var(--text-lg)}:host([size=lg]) .control.filled .input-wrapper:has(.label) .input,:host([size=lg]) .control.focused .input-wrapper:has(.label) .input{margin-top:var(--size-5)}`;class MqInputChangeEvent extends Event{static{this.eventName="onvaluechange"}constructor(e){super(MqInputChangeEvent.eventName,{bubbles:!0,composed:!0}),this.value=e}}let u=class MqInput extends o{constructor(){super(...arguments),this.labelId=`${"mq-input-label"}-${Math.random().toString(36).slice(2,10)}`,this.label="",this.required=!1,this.value="",this.disabled=!1,this.error=!1,this.placeholder="",this.type="text",this.size="md",this.focused=!1,this.partial=!1}static{this.styles=[c]}handleInput(e){const t=e.target,i=this.value;this.value=t.value,this.partial=t.validity.badInput,i!==this.value&&(this.dispatchEvent(new MqInputChangeEvent(this.value)),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})))}handleFocus(){this.focused=!0}handleBlur(){this.focused=!1,this.partial=!!this.inputElement?.validity.badInput}handleWrapperClick(){this.focus()}handleWrapperKeyDown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.focus())}focus(){this.inputElement?.focus()}blur(){this.inputElement?.blur()}handleIconClick(e){e.stopPropagation();const t=this.inputElement;if(t){if("showPicker"in t&&"function"==typeof t.showPicker)try{return void t.showPicker()}catch{}t.focus()}}get shouldShowCalendarIcon(){return"date"===this.type||"time"===this.type||"datetime-local"===this.type}render(){const e=!!this.value||this.partial,t=l({control:!0,filled:e,focused:this.focused,disabled:this.disabled,error:this.error});return r`<div class="root"><div class="${t}"><div class="input-wrapper" @click="${this.handleWrapperClick}" @keydown="${this.handleWrapperKeyDown}">${this.label?r`<label class="label" id="${this.labelId}" for="input-${this.labelId}">${this.label}${this.required?r`<span aria-label="required">*</span>`:""}</label>`:""} <input id="input-${this.labelId}" class="input" type="${this.type}" name="${p(this.name)}" .value="${this.value}" placeholder="${p(this.label?void 0:this.placeholder)}" ?disabled="${this.disabled}" aria-labelledby="${p(this.label?this.labelId:void 0)}" aria-label="${p(this.label?void 0:this.placeholder||void 0)}" @input="${this.handleInput}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${this.shouldShowCalendarIcon?r`<span class="icon" aria-hidden="true" @click="${this.handleIconClick}">${d({size:20,color:"var(--color-neutrals-text-medium)"})}</span>`:""}</div></div></div>`}};e([a({type:String})],u.prototype,"label",void 0),e([a({type:Boolean})],u.prototype,"required",void 0),e([a({type:String,reflect:!0})],u.prototype,"value",void 0),e([a({type:Boolean,reflect:!0})],u.prototype,"disabled",void 0),e([a({type:Boolean,reflect:!0})],u.prototype,"error",void 0),e([a({type:String})],u.prototype,"name",void 0),e([a({type:String})],u.prototype,"placeholder",void 0),e([a({type:String})],u.prototype,"type",void 0),e([a({type:String,reflect:!0})],u.prototype,"size",void 0),e([s()],u.prototype,"focused",void 0),e([s()],u.prototype,"partial",void 0),e([n("input")],u.prototype,"inputElement",void 0),u=e([t("mq-input")],u);export{u as MqInput,MqInputChangeEvent};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediquo/elements",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.12.0",
|
|
4
|
+
"version": "0.12.1-rc.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Mediquo elements web components",
|
|
7
7
|
"license": "ISC",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"@lit/localize": "^0.12.2",
|
|
188
188
|
"@lit/react": "^1.0.8",
|
|
189
189
|
"@lit/task": "^1.0.3",
|
|
190
|
-
"@opentok/client": "^2.
|
|
190
|
+
"@opentok/client": "^2.35.3",
|
|
191
191
|
"@tanstack/lit-form": "^1.23.4",
|
|
192
192
|
"@tanstack/query-core": "^5.87.4",
|
|
193
193
|
"axios": "^1.10.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./chunk-NIAGR3ZC-BDlNUZa1.js";import{z as t,o as n,s as i,n as r,a as s,e as o,u as a,b as l,l as c,i as u,c as d,d as p,r as h,f,g as m}from"./external-cM_kgYO_.js";import{i as g}from"./isBefore-DBi1CiNR.js";import{env as b}from"../env.js";var y=t.enum(["pending","expired","accepted","inCall","declined","cancelled","finished","free_of_charge","owed","unpaid","reporting"]),_=y.enum,v=t.enum(["videocall","chat","phonecall"]),w=v.enum,C=t.object({id:t.string().uuid(),room_id:t.string(),channel:v,consultation_short_url:t.string().url().nullable(),call_id:t.string().url(),duration:t.number(),from:t.object({hash:t.string(),name:t.string().nullable(),avatar:t.string().url().nullable(),speciality:t.string().nullable(),collegiate_number:t.string().nullable(),is_dismissed:t.boolean(),languages:t.array(t.string()),description:t.string().nullable()}),to:t.object({id:t.number(),hash:t.string(),name:t.string().nullable(),avatar:t.string().url().nullable(),is_dismissed:t.boolean()}),speciality_id:t.number().nullable(),has_chat_in_appointment:t.boolean().optional(),created_at:t.string(),status:y,seconds_to_open:t.number().nonnegative(),start_date:t.string(),started_at:t.string().nullable(),expires_at:t.string().nullable(),consultation_reason:t.string().nullable(),preconsultation_documents:t.array(t.object({file_path:t.string(),file_name:t.string(),id:t.string().uuid()})).nullable(),service_id:t.string().uuid().nullable(),price:t.number().nullable().optional(),currency:t.string().nullable().optional(),discount_amount:t.number().nullable().optional()}),E=t.enum(["appointment","chat","immediate"]),R=E.enum;function S(e){return 0===e.seconds_to_open}function O(t){if(!t)return!1;const n=new Date,i=e(t);return g(i,n)}var A=o(["available","reserved"]),j=A.enum,T=n({id:i().uuid(),channel:v,duration:r(),starts_at:i(),finishes_at:i(),professional:n({id:i().uuid(),name:i()}),services:s(n({id:i().uuid(),name:i()})),speciality:n({id:r(),price:n({amount:r(),currency:i()}).nullish()}),status:A,payable_reference:i().nullish()}),x=t.array(t.object({id:t.string().uuid(),name:t.string(),code:t.string(),channel:v,price:t.object({amount:t.number(),currency:t.string()}).nullable()})),k=t.object({high_demand:t.boolean().optional()}),P=t.object({id:t.string().uuid(),avatar:t.string().url().nullable(),description:t.string().nullable(),collegiate_number:t.string().nullable(),languages:t.array(t.string()),name:t.string(),slots:t.array(T),speciality:t.object({id:t.number()}),tax_id:t.string().nullable()}),N=t.object({data:t.array(P),meta:k.optional()});t.object({speciality_id:t.number(),organization_schedule_service_id:t.string().uuid(),closest_slots_days:t.number().optional(),slots_per_day:t.number().optional()}),t.object({service_id:t.string().uuid(),professional_hash:t.string().uuid(),starts_at:t.string(),finishes_at:t.string(),rescheduling_appointment_id:t.string().uuid().optional()});var U=t.object({data:t.array(T),meta:k.optional()}),L=t.array(t.object({id:t.number(),name:t.string(),code:t.string().nullish(),price:t.object({amount:t.number(),currency:t.string()}).nullable()}));t.object({slot_id:t.string().uuid(),service_id:t.string().uuid().optional(),speciality_id:t.number().optional()});var F=T;a([c(1),c(2),c(3)]);var D={Sent:1,Received:2,Read:3},B=n({roomId:r(),messageId:i().uuid(),string:i(),status:r(),senderType:o(["ordinary","system"]),fromUserHash:i().uuid(),auto:a([c(0),c(1)]),createdAt:i().nullable(),deletedAt:i().nullable(),time:r().nullable()}),I=n({file_name:i(),file_size:r(),url:i().url(),signed_url:i().url().nullable(),type:o(["uncategorized","voice_note"]),meta:n({duration:r()})}),$=B.extend({type:c("string"),attachment:l()}),q=B.extend({type:c("file"),attachment:I}),z=B.extend({type:c("image"),attachment:I});n({roomId:r()});var M=s(a([$,q,z]));n({roomId:r()});var K=n({unread_count:r()});n({professional_hash:i()});var H=n({room_id:r()});t.object({api_key:t.string(),token:t.string()});var J=t.object({access_token:t.string(),patient:t.object({hash:t.string(),country_code:t.string(),timezone:t.string(),first_name:t.string(),last_name:t.string().nullable(),name:t.string(),birth_date:t.string().nullable(),email:t.string().email().nullable(),language_code:t.string(),phone:t.string(),phone_prefix:t.string(),tax_id:t.string().nullable(),legal_consent:t.object({accepted_at:t.string().nullable(),last_version_at:t.string().nullable(),terms_url:t.string(),privacy_url:t.string(),has_commercial_communications:t.boolean(),organization_name:t.string()})})});n({consultation_id:i(),consultation_type:E,rating:r().int().min(1).max(5),comment:i().nullable().optional()});var W=n({rating:r().int().optional(),comment:i().nullable().optional()}).passthrough();n({file:u(File)});var V=n({url:i().url()});function X(e){return n({data:s(e),meta:n({current_page:r(),last_page:r(),per_page:r(),total:r()})})}var G=t.enum(["prescription","report","diagnosticTestPrescription"]),Q=G.enum,Z=t.enum(["published","draft"]);Z.enum;var Y=t.object({document_id:t.string().uuid(),document_type:G,name:t.string(),professional:t.object({speciality_id:t.number(),speciality_name:t.string().optional()}),status:Z,url:t.string().url(),created_at:t.string()}),ee=n({hash:i(),profile:n({first_name:i().nullable(),last_name:i().nullable(),birth_date:i().nullable(),gender:o(["male","female"]).nullable(),email:i().nullable(),phone_prefix:i().nullable(),phone:i().nullable(),billing:n({tax_id:i().nullable(),address:i().nullable(),country_code:i().nullable(),region:i().nullable(),postal_code:i().nullable()})})});function te(e){const t=e?.profile;return`${t?.first_name??""} ${t?.last_name??""}`.trim()}function ne(e){return[e?.profile.first_name,e?.profile.last_name,e?.profile.email,e?.profile.phone,e?.profile.birth_date,e?.profile?.billing?.tax_id].every(e=>null!==e)}t.object({appointmentId:t.string()});var ie=C;t.object({callId:t.string()});var re=t.object({session_id:t.string(),session_token:t.string()});t.object({professional_hash:t.string(),consultation_id:t.string(),consultation_type:t.enum(["appointment"])}),t.object({professional_hash:t.string(),consultation_id:t.string(),consultation_type:t.enum(["appointment"])}),t.object({appointment_id:t.string()});var se=t.array(Y);t.object({url:t.string().url()}),t.object({first_name:ee.shape.profile.shape.first_name,last_name:ee.shape.profile.shape.last_name,tax_id:ee.shape.profile.shape.billing.shape.tax_id,birth_date:ee.shape.profile.shape.birth_date,gender:ee.shape.profile.shape.gender.optional(),email:ee.shape.profile.shape.email,phone_prefix:ee.shape.profile.shape.phone_prefix,phone:ee.shape.profile.shape.phone,terms_accepted:t.boolean(),privacy_accepted:t.boolean()}),t.object({patient_hash:t.string(),page:t.number().optional(),per_page:t.number().optional()});var oe=X(Y),ae=o(["monday","tuesday","wednesday","thursday","friday","saturday","sunday","working_week","weekend","all_week"]);ae.enum;var le=n({days_of_week:ae,from_time:i(),to_time:i()});n({hash:i().uuid()});var ce=n({hash:i().uuid(),active_absence:n({id:i().uuid(),finishes_at:i()}).nullable(),avatar:i().url().nullable(),collegiate_number:i().nullable(),description:i().nullable(),is_available:d(),name:i(),overview:i().nullable(),schedule_description:i().nullable(),speciality_id:r().nullable(),status:o(["online","offline"]),title:i().nullable(),chat_schedule:n({channel:v,duration:r(),name:i(),timezone:i(),starts_at:i(),gaps:s(le)}).nullable()});function ue(e){return e.active_absence?"absent":"online"===e.status?"online":"offline"}o(["online","offline","absent"]),n({roomId:r()}),n({slot_id:i().uuid(),service_id:i().uuid(),specialty_id:i(),consultation_reason:i().optional(),preconsultation_documents:s(n({file_path:i(),file_name:i()})).optional(),discount_code:i().optional(),return_url:i().url().optional(),payable_reference:i().optional()});var de=n({id:i(),percent_off:r(),code:i(),after_discount_amount:r().nullable()}),pe=n({id:i(),percent_off:r(),code:i(),name:i().nullish()}),he={Addon:"addon",Stripe:"stripe"},fe=n({session_id:i(),payment_link:i().url(),provider:p(he).optional()});n({video_call_schedule_id:i()});var me=fe;n({professional_hash:i().uuid()});var ge=fe,be={Paid:"paid",Unpaid:"unpaid",Denied:"denied",Refunded:"refunded"},ye=n({status:p(be),consultation_id:i(),consultation_type:i()}),_e={SlotUnavailable:422},ve=n({error:i(),refunded:d().optional()});n({order_id:i(),validation_url:i().url()});var we=h(f());n({order_id:i(),token:i()});var Ce=n({data:n({status:p(be),consultation_id:i(),consultation_type:i().optional()})});n({order_id:i(),token:i()});var Ee=n({data:n({status:p(be),consultation_id:i(),consultation_type:i().optional()})}),Re=t.array(t.object({id:t.number(),name:t.string(),code:t.string()})),Se=t.object({primary_color:t.string().nullable(),logo:t.string().nullable(),favicon:t.string().nullable(),support_professional:t.object({hash:t.string().nullable()}).optional(),home:t.object({title:t.string().nullable(),description:t.string().nullable(),image_url:t.string().nullable()}),appointments:t.object({reserve_conditions:t.string().nullable(),seconds_before_start_to_refund_on_cancel:t.number().nullable(),has_nps:t.boolean().optional(),has_chat_in_appointment:t.boolean().optional(),has_discount_coupons_show:t.boolean().optional(),payment_provider:t.nativeEnum(he).nullish()}),legal_consent:t.object({terms_url:t.string().nullable(),privacy_url:t.string().nullable()})}),Oe=ee;n({first_name:i(),last_name:i(),tax_id:i(),birth_date:i(),gender:o(["male","female"]),email:i(),phone_prefix:i(),phone:i(),terms_accepted:d(),privacy_accepted:d()}),n({terms_accepted:d(),privacy_accepted:d(),commercial_accepted:d()}),n({hash:i().uuid()});var Ae=n({id:r(),hash:i().uuid(),speciality_alias:i(),name:i(),avatar:i().url(),description:i(),collegiate_number:i(),languages:s(i()),centers:s(n({id:i().uuid(),name:i()}))});n({status:s(y).optional(),order:n({field:o(["starts_at"]).optional(),direction:o(["asc","desc"]).optional()}).optional(),page:r().optional(),per_page:r().optional()});var je=X(n({appointment:n({id:i().uuid(),url:i().url(),starts_at:i(),duration:r(),status:y,channel:v,expires_at:i().nullable(),service_id:i().uuid().nullable(),has_chat_in_appointment:d().optional()}),room:n({id:r()}),price:n({amount:r(),currency:i()}).nullable(),patient:n({hash:i().uuid()}),slots:s(m()),professional:n({hash:i().uuid(),name:i(),avatar:i().url().optional(),description:i().optional(),languages:s(i()),collegiate_number:i().optional()}),speciality:n({id:r(),name:i()})}));n({slot_id:i().uuid(),service_id:i().uuid(),consultation_reason:i().optional(),preconsultation_documents:s(n({file_path:i(),file_name:i()})).optional(),discount_code:i().optional()});var Te=n({appointment:n({id:i().uuid()})});n({id:i().uuid()});var xe=C,ke=n({file_path:i(),presigned_storage_url:i().url()});function Pe(e,t){return function(){return e.apply(t,arguments)}}n({id:i().uuid(),slot_id:i().uuid(),consultation_reason:i().optional(),preconsultation_documents:s(n({file_path:i(),file_name:i()})).optional()}),n({id:i().uuid()}),n({appointment_id:i().uuid(),consultation_reason:i().optional()}),n({appointment_id:i().uuid(),file_path:i(),file_name:i()}),n({appointment_id:i().uuid(),document_id:i().uuid()}),n({appointmentId:i().uuid()});const{toString:Ne}=Object.prototype,{getPrototypeOf:Ue}=Object,{iterator:Le,toStringTag:Fe}=Symbol,De=(Be=Object.create(null),e=>{const t=Ne.call(e);return Be[t]||(Be[t]=t.slice(8,-1).toLowerCase())});var Be;const Ie=e=>(e=e.toLowerCase(),t=>De(t)===e),$e=e=>t=>typeof t===e,{isArray:qe}=Array,ze=$e("undefined");function Me(e){return null!==e&&!ze(e)&&null!==e.constructor&&!ze(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ke=Ie("ArrayBuffer");const He=$e("string"),Je=$e("function"),We=$e("number"),Ve=e=>null!==e&&"object"==typeof e,Xe=e=>{if("object"!==De(e))return!1;const t=Ue(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Fe in e||Le in e)},Ge=Ie("Date"),Qe=Ie("File"),Ze=Ie("Blob"),Ye=Ie("FileList"),et=Ie("URLSearchParams"),[tt,nt,it,rt]=["ReadableStream","Request","Response","Headers"].map(Ie);function st(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,r;if("object"!=typeof e&&(e=[e]),qe(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{if(Me(e))return;const r=n?Object.getOwnPropertyNames(e):Object.keys(e),s=r.length;let o;for(i=0;i<s;i++)o=r[i],t.call(null,e[o],o,e)}}function ot(e,t){if(Me(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i,r=n.length;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const at="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,lt=e=>!ze(e)&&e!==at;const ct=(ut="undefined"!=typeof Uint8Array&&Ue(Uint8Array),e=>ut&&e instanceof ut);var ut;const dt=Ie("HTMLFormElement"),pt=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ht=Ie("RegExp"),ft=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};st(n,(n,r)=>{let s;!1!==(s=t(n,r,e))&&(i[r]=s||n)}),Object.defineProperties(e,i)};const mt=Ie("AsyncFunction"),gt=(bt="function"==typeof setImmediate,yt=Je(at.postMessage),bt?setImmediate:yt?(_t=`axios@${Math.random()}`,vt=[],at.addEventListener("message",({source:e,data:t})=>{e===at&&t===_t&&vt.length&&vt.shift()()},!1),e=>{vt.push(e),at.postMessage(_t,"*")}):e=>setTimeout(e));var bt,yt,_t,vt;const wt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(at):"undefined"!=typeof process&&process.nextTick||gt;var Ct={isArray:qe,isArrayBuffer:Ke,isBuffer:Me,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Je(e.append)&&("formdata"===(t=De(e))||"object"===t&&Je(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Ke(e.buffer),t},isString:He,isNumber:We,isBoolean:e=>!0===e||!1===e,isObject:Ve,isPlainObject:Xe,isEmptyObject:e=>{if(!Ve(e)||Me(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:tt,isRequest:nt,isResponse:it,isHeaders:rt,isUndefined:ze,isDate:Ge,isFile:Qe,isBlob:Ze,isRegExp:ht,isFunction:Je,isStream:e=>Ve(e)&&Je(e.pipe),isURLSearchParams:et,isTypedArray:ct,isFileList:Ye,forEach:st,merge:function e(){const{caseless:t}=lt(this)&&this||{},n={},i=(i,r)=>{const s=t&&ot(n,r)||r;Xe(n[s])&&Xe(i)?n[s]=e(n[s],i):Xe(i)?n[s]=e({},i):qe(i)?n[s]=i.slice():n[s]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&st(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(st(t,(t,i)=>{n&&Je(t)?e[i]=Pe(t,n):e[i]=t},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let r,s,o;const a={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)o=r[s],i&&!i(o,e,t)||a[o]||(t[o]=e[o],a[o]=!0);e=!1!==n&&Ue(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:De,kindOfTest:Ie,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(qe(e))return e;let t=e.length;if(!We(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Le]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:dt,hasOwnProperty:pt,hasOwnProp:pt,reduceDescriptors:ft,freezeMethods:e=>{ft(e,(t,n)=>{if(Je(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Je(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach(e=>{n[e]=!0})};return qe(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:ot,global:at,isContextDefined:lt,isSpecCompliantForm:function(e){return!!(e&&Je(e.append)&&"FormData"===e[Fe]&&e[Le])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Ve(e)){if(t.indexOf(e)>=0)return;if(Me(e))return e;if(!("toJSON"in e)){t[i]=e;const r=qe(e)?[]:{};return st(e,(e,t)=>{const s=n(e,i+1);!ze(s)&&(r[t]=s)}),t[i]=void 0,r}}return e};return n(e,0)},isAsyncFn:mt,isThenable:e=>e&&(Ve(e)||Je(e))&&Je(e.then)&&Je(e.catch),setImmediate:gt,asap:wt,isIterable:e=>null!=e&&Je(e[Le])};function Et(e,t,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}Ct.inherits(Et,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ct.toJSONObject(this.config),code:this.code,status:this.status}}});const Rt=Et.prototype,St={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{St[e]={value:e}}),Object.defineProperties(Et,St),Object.defineProperty(Rt,"isAxiosError",{value:!0}),Et.from=(e,t,n,i,r,s)=>{const o=Object.create(Rt);return Ct.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),Et.call(o,e.message,t,n,i,r),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};function Ot(e){return Ct.isPlainObject(e)||Ct.isArray(e)}function At(e){return Ct.endsWith(e,"[]")?e.slice(0,-2):e}function jt(e,t,n){return e?e.concat(t).map(function(e,t){return e=At(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const Tt=Ct.toFlatObject(Ct,{},null,function(e){return/^is[A-Z]/.test(e)});function xt(e,t,n){if(!Ct.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const i=(n=Ct.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Ct.isUndefined(t[e])})).metaTokens,r=n.visitor||c,s=n.dots,o=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ct.isSpecCompliantForm(t);if(!Ct.isFunction(r))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Ct.isDate(e))return e.toISOString();if(Ct.isBoolean(e))return e.toString();if(!a&&Ct.isBlob(e))throw new Et("Blob is not supported. Use a Buffer instead.");return Ct.isArrayBuffer(e)||Ct.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,r){let a=e;if(e&&!r&&"object"==typeof e)if(Ct.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ct.isArray(e)&&function(e){return Ct.isArray(e)&&!e.some(Ot)}(e)||(Ct.isFileList(e)||Ct.endsWith(n,"[]"))&&(a=Ct.toArray(e)))return n=At(n),a.forEach(function(e,i){!Ct.isUndefined(e)&&null!==e&&t.append(!0===o?jt([n],i,s):null===o?n:n+"[]",l(e))}),!1;return!!Ot(e)||(t.append(jt(r,n,s),l(e)),!1)}const u=[],d=Object.assign(Tt,{defaultVisitor:c,convertValue:l,isVisitable:Ot});if(!Ct.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!Ct.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+i.join("."));u.push(n),Ct.forEach(n,function(n,s){!0===(!(Ct.isUndefined(n)||null===n)&&r.call(t,n,Ct.isString(s)?s.trim():s,i,d))&&e(n,i?i.concat(s):[s])}),u.pop()}}(e),t}function kt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Pt(e,t){this._pairs=[],e&&xt(e,this,t)}const Nt=Pt.prototype;function Ut(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lt(e,t,n){if(!t)return e;const i=n&&n.encode||Ut;Ct.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let s;if(s=r?r(t,n):Ct.isURLSearchParams(t)?t.toString():new Pt(t,n).toString(i),s){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}Nt.append=function(e,t){this._pairs.push([e,t])},Nt.toString=function(e){const t=e?function(t){return e.call(this,t,kt)}:kt;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class InterceptorManager{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ct.forEach(this.handlers,function(t){null!==t&&e(t)})}}var Ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Pt,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Bt="undefined"!=typeof window&&"undefined"!=typeof document,It="object"==typeof navigator&&navigator||void 0,$t=Bt&&(!It||["ReactNative","NativeScript","NS"].indexOf(It.product)<0),qt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,zt=Bt&&window.location.href||"http://localhost";var Mt={...Object.freeze({__proto__:null,hasBrowserEnv:Bt,hasStandardBrowserEnv:$t,hasStandardBrowserWebWorkerEnv:qt,navigator:It,origin:zt}),...Dt};function Kt(e){function t(e,n,i,r){let s=e[r++];if("__proto__"===s)return!0;const o=Number.isFinite(+s),a=r>=e.length;if(s=!s&&Ct.isArray(i)?i.length:s,a)return Ct.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!o;i[s]&&Ct.isObject(i[s])||(i[s]=[]);return t(e,n,i[s],r)&&Ct.isArray(i[s])&&(i[s]=function(e){const t={},n=Object.keys(e);let i;const r=n.length;let s;for(i=0;i<r;i++)s=n[i],t[s]=e[s];return t}(i[s])),!o}if(Ct.isFormData(e)&&Ct.isFunction(e.entries)){const n={};return Ct.forEachEntry(e,(e,i)=>{t(function(e){return Ct.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),i,n,0)}),n}return null}const Ht={transitional:Ft,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,r=Ct.isObject(e);r&&Ct.isHTMLForm(e)&&(e=new FormData(e));if(Ct.isFormData(e))return i?JSON.stringify(Kt(e)):e;if(Ct.isArrayBuffer(e)||Ct.isBuffer(e)||Ct.isStream(e)||Ct.isFile(e)||Ct.isBlob(e)||Ct.isReadableStream(e))return e;if(Ct.isArrayBufferView(e))return e.buffer;if(Ct.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return xt(e,new Mt.classes.URLSearchParams,{visitor:function(e,t,n,i){return Mt.isNode&&Ct.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((s=Ct.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return xt(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return r||i?(t.setContentType("application/json",!1),function(e,t,n){if(Ct.isString(e))try{return(t||JSON.parse)(e),Ct.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ht.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(Ct.isResponse(e)||Ct.isReadableStream(e))return e;if(e&&Ct.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Et.from(e,Et.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Mt.classes.FormData,Blob:Mt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ct.forEach(["delete","get","head","post","put","patch"],e=>{Ht.headers[e]={}});const Jt=Ct.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Wt=Symbol("internals");function Vt(e){return e&&String(e).trim().toLowerCase()}function Xt(e){return!1===e||null==e?e:Ct.isArray(e)?e.map(Xt):String(e)}function Gt(e,t,n,i,r){return Ct.isFunction(i)?i.call(this,t,n):(r&&(t=n),Ct.isString(t)?Ct.isString(i)?-1!==t.indexOf(i):Ct.isRegExp(i)?i.test(t):void 0:void 0)}let Qt=class AxiosHeaders{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function r(e,t,n){const r=Vt(t);if(!r)throw new Error("header name must be a non-empty string");const s=Ct.findKey(i,r);(!s||void 0===i[s]||!0===n||void 0===n&&!1!==i[s])&&(i[s||t]=Xt(e))}const s=(e,t)=>Ct.forEach(e,(e,n)=>r(e,n,t));if(Ct.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(Ct.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))s((e=>{const t={};let n,i,r;return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),i=e.substring(r+1).trim(),!n||t[n]&&Jt[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t})(e),t);else if(Ct.isObject(e)&&Ct.isIterable(e)){let n,i,r={};for(const t of e){if(!Ct.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[i=t[0]]=(n=r[i])?Ct.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}s(r,t)}else null!=e&&r(t,e,n);return this}get(e,t){if(e=Vt(e)){const n=Ct.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(Ct.isFunction(t))return t.call(this,e,n);if(Ct.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Vt(e)){const n=Ct.findKey(this,e);return!(!n||void 0===this[n]||t&&!Gt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function r(e){if(e=Vt(e)){const r=Ct.findKey(n,e);!r||t&&!Gt(0,n[r],r,t)||(delete n[r],i=!0)}}return Ct.isArray(e)?e.forEach(r):r(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const r=t[n];e&&!Gt(0,this[r],r,e,!0)||(delete this[r],i=!0)}return i}normalize(e){const t=this,n={};return Ct.forEach(this,(i,r)=>{const s=Ct.findKey(n,r);if(s)return t[s]=Xt(i),void delete t[r];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(r):String(r).trim();o!==r&&delete t[r],t[o]=Xt(i),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ct.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&Ct.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Wt]=this[Wt]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=Vt(e);t[i]||(!function(e,t){const n=Ct.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(e,n,r){return this[i].call(this,t,e,n,r)},configurable:!0})})}(n,e),t[i]=!0)}return Ct.isArray(e)?e.forEach(i):i(e),this}};function Zt(e,t){const n=this||Ht,i=t||n,r=Qt.from(i.headers);let s=i.data;return Ct.forEach(e,function(e){s=e.call(n,s,r.normalize(),t?t.status:void 0)}),r.normalize(),s}function Yt(e){return!(!e||!e.__CANCEL__)}function en(e,t,n){Et.call(this,e??"canceled",Et.ERR_CANCELED,t,n),this.name="CanceledError"}function tn(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new Et("Request failed with status code "+n.status,[Et.ERR_BAD_REQUEST,Et.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}Qt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ct.reduceDescriptors(Qt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Ct.freezeMethods(Qt),Ct.inherits(en,Et,{__CANCEL__:!0});const nn=(e,t,n=3)=>{let i=0;const r=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r,s=0,o=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),c=i[o];r||(r=l),n[s]=a,i[s]=l;let u=o,d=0;for(;u!==s;)d+=n[u++],u%=e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),l-r<t)return;const p=c&&l-c;return p?Math.round(1e3*d/p):void 0}}(50,250);return function(e,t){let n,i,r=0,s=1e3/t;const o=(t,s=Date.now())=>{r=s,n=null,i&&(clearTimeout(i),i=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-r;a>=s?o(e,t):(n=e,i||(i=setTimeout(()=>{i=null,o(n)},s-a)))},()=>n&&o(n)]}(n=>{const s=n.loaded,o=n.lengthComputable?n.total:void 0,a=s-i,l=r(a);i=s;e({loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&s<=o?(o-s)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},rn=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},sn=e=>(...t)=>Ct.asap(()=>e(...t));var on=Mt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Mt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Mt.origin),Mt.navigator&&/(msie|trident)/i.test(Mt.navigator.userAgent)):()=>!0,an=Mt.hasStandardBrowserEnv?{write(e,t,n,i,r,s){const o=[e+"="+encodeURIComponent(t)];Ct.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Ct.isString(i)&&o.push("path="+i),Ct.isString(r)&&o.push("domain="+r),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ln(e,t,n){let i=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(i||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const cn=e=>e instanceof Qt?{...e}:e;function un(e,t){t=t||{};const n={};function i(e,t,n,i){return Ct.isPlainObject(e)&&Ct.isPlainObject(t)?Ct.merge.call({caseless:i},e,t):Ct.isPlainObject(t)?Ct.merge({},t):Ct.isArray(t)?t.slice():t}function r(e,t,n,r){return Ct.isUndefined(t)?Ct.isUndefined(e)?void 0:i(void 0,e,0,r):i(e,t,0,r)}function s(e,t){if(!Ct.isUndefined(t))return i(void 0,t)}function o(e,t){return Ct.isUndefined(t)?Ct.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function a(n,r,s){return s in t?i(n,r):s in e?i(void 0,n):void 0}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(e,t,n)=>r(cn(e),cn(t),0,!0)};return Ct.forEach(Object.keys({...e,...t}),function(i){const s=l[i]||r,o=s(e[i],t[i],i);Ct.isUndefined(o)&&s!==a||(n[i]=o)}),n}var dn=e=>{const t=un({},e);let n,{data:i,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:a,auth:l}=t;if(t.headers=a=Qt.from(a),t.url=Lt(ln(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Ct.isFormData(i))if(Mt.hasStandardBrowserEnv||Mt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map(e=>e.trim()).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(Mt.hasStandardBrowserEnv&&(r&&Ct.isFunction(r)&&(r=r(t)),r||!1!==r&&on(t.url))){const e=s&&o&&an.read(o);e&&a.set(s,e)}return t};var pn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const i=dn(e);let r=i.data;const s=Qt.from(i.headers).normalize();let o,a,l,c,u,{responseType:d,onUploadProgress:p,onDownloadProgress:h}=i;function f(){c&&c(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(o),i.signal&&i.signal.removeEventListener("abort",o)}let m=new XMLHttpRequest;function g(){if(!m)return;const i=Qt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());tn(function(e){t(e),f()},function(e){n(e),f()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:e,request:m}),m=null}m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Et("Request aborted",Et.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Et("Network Error",Et.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||Ft;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new Et(t,r.clarifyTimeoutError?Et.ETIMEDOUT:Et.ECONNABORTED,e,m)),m=null},void 0===r&&s.setContentType(null),"setRequestHeader"in m&&Ct.forEach(s.toJSON(),function(e,t){m.setRequestHeader(t,e)}),Ct.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),d&&"json"!==d&&(m.responseType=i.responseType),h&&([l,u]=nn(h,!0),m.addEventListener("progress",l)),p&&m.upload&&([a,c]=nn(p),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(o=t=>{m&&(n(!t||t.type?new en(null,e,m):t),m.abort(),m=null)},i.cancelToken&&i.cancelToken.subscribe(o),i.signal&&(i.signal.aborted?o():i.signal.addEventListener("abort",o)));const b=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(i.url);b&&-1===Mt.protocols.indexOf(b)?n(new Et("Unsupported protocol "+b+":",Et.ERR_BAD_REQUEST,e)):m.send(r||null)})};const hn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const r=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;i.abort(t instanceof Et?t:new en(t instanceof Error?t.message:t))}};let s=t&&setTimeout(()=>{s=null,r(new Et(`timeout ${t} of ms exceeded`,Et.ETIMEDOUT))},t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),e=null)};e.forEach(e=>e.addEventListener("abort",r));const{signal:a}=i;return a.unsubscribe=()=>Ct.asap(o),a}},fn=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let i,r=0;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},mn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},gn=(e,t,n,i)=>{const r=async function*(e,t){for await(const n of mn(e))yield*fn(n,t)}(e,t);let s,o=0,a=e=>{s||(s=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await r.next();if(t)return a(),void e.close();let s=i.byteLength;if(n){let e=o+=s;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw a(e),e}},cancel:e=>(a(e),r.return())},{highWaterMark:2})},bn="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,yn=bn&&"function"==typeof ReadableStream,_n=bn&&("function"==typeof TextEncoder?(vn=new TextEncoder,e=>vn.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var vn;const wn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Cn=yn&&wn(()=>{let e=!1;const t=new Request(Mt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),En=yn&&wn(()=>Ct.isReadableStream(new Response("").body)),Rn={stream:En&&(e=>e.body)};var Sn;bn&&(Sn=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Rn[e]&&(Rn[e]=Ct.isFunction(Sn[e])?t=>t[e]():(t,n)=>{throw new Et(`Response type '${e}' is not supported`,Et.ERR_NOT_SUPPORT,n)})}));const On=async(e,t)=>{const n=Ct.toFiniteNumber(e.getContentLength());return n??(async e=>{if(null==e)return 0;if(Ct.isBlob(e))return e.size;if(Ct.isSpecCompliantForm(e)){const t=new Request(Mt.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ct.isArrayBufferView(e)||Ct.isArrayBuffer(e)?e.byteLength:(Ct.isURLSearchParams(e)&&(e+=""),Ct.isString(e)?(await _n(e)).byteLength:void 0)})(t)};const An={http:null,xhr:pn,fetch:bn&&(async e=>{let{url:t,method:n,data:i,signal:r,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:p}=dn(e);c=c?(c+"").toLowerCase():"text";let h,f=hn([r,s&&s.toAbortSignal()],o);const m=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let g;try{if(l&&Cn&&"get"!==n&&"head"!==n&&0!==(g=await On(u,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(Ct.isFormData(i)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=rn(g,nn(sn(l)));i=gn(n.body,65536,e,t)}}Ct.isString(d)||(d=d?"include":"omit");const r="credentials"in Request.prototype;h=new Request(t,{...p,signal:f,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:r?d:void 0});let s=await fetch(h,p);const o=En&&("stream"===c||"response"===c);if(En&&(a||o&&m)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});const t=Ct.toFiniteNumber(s.headers.get("content-length")),[n,i]=a&&rn(t,nn(sn(a),!0))||[];s=new Response(gn(s.body,65536,n,()=>{i&&i(),m&&m()}),e)}c=c||"text";let b=await Rn[Ct.findKey(Rn,c)||"text"](s,e);return!o&&m&&m(),await new Promise((t,n)=>{tn(t,n,{data:b,headers:Qt.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:h})})}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Et("Network Error",Et.ERR_NETWORK,e,h),{cause:t.cause||t});throw Et.from(t,t&&t.code,e,h)}})};Ct.forEach(An,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const jn=e=>`- ${e}`,Tn=e=>Ct.isFunction(e)||null===e||!1===e;var xn=e=>{e=Ct.isArray(e)?e:[e];const{length:t}=e;let n,i;const r={};for(let s=0;s<t;s++){let t;if(n=e[s],i=n,!Tn(n)&&(i=An[(t=String(n)).toLowerCase()],void 0===i))throw new Et(`Unknown adapter '${t}'`);if(i)break;r[t||"#"+s]=i}if(!i){const e=Object.entries(r).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new Et("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(jn).join("\n"):" "+jn(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function kn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new en(null,e)}function Pn(e){kn(e),e.headers=Qt.from(e.headers),e.data=Zt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return xn(e.adapter||Ht.adapter)(e).then(function(t){return kn(e),t.data=Zt.call(e,e.transformResponse,t),t.headers=Qt.from(t.headers),t},function(t){return Yt(t)||(kn(e),t&&t.response&&(t.response.data=Zt.call(e,e.transformResponse,t.response),t.response.headers=Qt.from(t.response.headers))),Promise.reject(t)})}const Nn="1.11.0",Un={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Un[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ln={};Un.transitional=function(e,t,n){function i(e,t){return"[Axios v"+Nn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,s)=>{if(!1===e)throw new Et(i(r," has been removed"+(t?" in "+t:"")),Et.ERR_DEPRECATED);return t&&!Ln[r]&&(Ln[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},Un.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Fn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Et("options must be an object",Et.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const s=i[r],o=t[s];if(o){const t=e[s],n=void 0===t||o(t,s,e);if(!0!==n)throw new Et("option "+s+" must be "+n,Et.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Et("Unknown option "+s,Et.ERR_BAD_OPTION)}},validators:Un};const Dn=Fn.validators;let Bn=class Axios{constructor(e){this.defaults=e||{},this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=un(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:r}=t;void 0!==n&&Fn.assertOptions(n,{silentJSONParsing:Dn.transitional(Dn.boolean),forcedJSONParsing:Dn.transitional(Dn.boolean),clarifyTimeoutError:Dn.transitional(Dn.boolean)},!1),null!=i&&(Ct.isFunction(i)?t.paramsSerializer={serialize:i}:Fn.assertOptions(i,{encode:Dn.function,serialize:Dn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Fn.assertOptions(t,{baseUrl:Dn.spelling("baseURL"),withXsrfToken:Dn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=r&&Ct.merge(r.common,r[t.method]);r&&Ct.forEach(["delete","get","head","post","put","patch","common"],e=>{delete r[e]}),t.headers=Qt.concat(s,r);const o=[];let a=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,o.unshift(e.fulfilled,e.rejected))});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!a){const e=[Pn.bind(this),void 0];for(e.unshift(...o),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=o.length;let p=t;for(d=0;d<u;){const e=o[d++],t=o[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{c=Pn.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Lt(ln((e=un(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Ct.forEach(["delete","get","head","options"],function(e){Bn.prototype[e]=function(t,n){return this.request(un(n||{},{method:e,url:t,data:(n||{}).data}))}}),Ct.forEach(["post","put","patch"],function(e){function t(t){return function(n,i,r){return this.request(un(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Bn.prototype[e]=t(),Bn.prototype[e+"Form"]=t(!0)});const In={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(In).forEach(([e,t])=>{In[t]=e});const $n=function e(t){const n=new Bn(t),i=Pe(Bn.prototype.request,n);return Ct.extend(i,Bn.prototype,n,{allOwnKeys:!0}),Ct.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(un(t,n))},i}(Ht);$n.Axios=Bn,$n.CanceledError=en,$n.CancelToken=class CancelToken{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,r){n.reason||(n.reason=new en(e,i,r),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new CancelToken(function(t){e=t}),cancel:e}}},$n.isCancel=Yt,$n.VERSION=Nn,$n.toFormData=xt,$n.AxiosError=Et,$n.Cancel=$n.CanceledError,$n.all=function(e){return Promise.all(e)},$n.spread=function(e){return function(t){return e.apply(null,t)}},$n.isAxiosError=function(e){return Ct.isObject(e)&&!0===e.isAxiosError},$n.mergeConfig=un,$n.AxiosHeaders=Qt,$n.formToJSON=e=>Kt(Ct.isHTMLForm(e)?new FormData(e):e),$n.getAdapter=xn,$n.HttpStatusCode=In,$n.default=$n;const{Axios:qn,AxiosError:zn,CanceledError:Mn,isCancel:Kn,CancelToken:Hn,VERSION:Jn,all:Wn,Cancel:Vn,isAxiosError:Xn,spread:Gn,toFormData:Qn,AxiosHeaders:Zn,HttpStatusCode:Yn,formToJSON:ei,getAdapter:ti,mergeConfig:ni}=$n;var ii=class{constructor(e,t){this.httpClient=e,this.validate=t}async getAppointments(e){return this.httpClient.get("/appointments/v1",{params:e}).then(this.validate(je))}async createAppointment(e){return this.httpClient.post(`/appointments/v1/slots/${e.slot_id}`,e).then(e=>e.data).then(this.validate(Te))}async getAppointment(e){return this.httpClient.get(`/api/v1/appointments/${e.id}`).then(e=>e.data).then(this.validate(xe))}async getDocumentsStorage(){return this.httpClient.get("/appointments/v1/documents/storage").then(e=>e.data).then(this.validate(ke))}async rescheduleAppointment(e){const{id:t,...n}=e;return this.httpClient.put(`/appointments/v1/${t}/reschedule`,n)}async cancelAppointment(e){return this.httpClient.put(`/appointments/v1/${e.id}/cancel`)}async updateAppointment(e){const{appointment_id:t,...n}=e;return this.httpClient.put(`/appointments/v1/${t}/update`,n)}async addDocument(e){const{appointment_id:t,...n}=e;return this.httpClient.post(`/appointments/v1/${t}/consultation-document`,n)}async deleteDocument(e){return this.httpClient.delete(`/appointments/v1/${e.appointment_id}/consultation-document/${e.document_id}`)}async reconnectAppointment(e){return this.httpClient.put(`/appointments/v1/${e.appointmentId}/reconnect`)}},ri=class{constructor(e,t){this.httpClient=e,this.validate=t}async loginToken(e){return this.httpClient.post("/login/v1/token",{token:e.token},{headers:{"x-api-key":e.api_key}}).then(this.validate(J))}};var si=class{constructor(e,t){this.httpClient=e,this.validate=t}async postReview(e){return this.httpClient.post("/consultations/v1/review",e)}async startChatConsultation(e){return this.httpClient.put(`/consultations/v1/chat/professionals/${encodeURIComponent(e)}/consult`).then(()=>{})}async getReview(e){return this.httpClient.get(`/consultations/v1/review/${e}`).then(e=>e.data).then(this.validate(W))}},oi=class{constructor(e,t){this.httpClient=e,this.validate=t}async uploadFile(e){const t=new FormData;return t.append("file",e.file,e.file.name),this.httpClient.post("/documents/v1/upload-file",t,{headers:{"Content-Type":"multipart/form-data"}}).then(this.validate(V))}},ai=class{constructor(e,t){this.httpClient=e,this.validate=t}async getAppointment(e){return this.httpClient.get(`/flash/v1/appointments/${e.appointmentId}`).then(e=>e.data).then(this.validate(ie))}async joinCall(e){return this.httpClient.get(`/flash/v1/calls/${e.callId}/join`).then(e=>e.data).then(this.validate(re))}async setReady(e){return this.httpClient.post(`/flash/v1/waiting/${e.professional_hash}/ready`,{consultation_id:e.consultation_id,consultation_type:e.consultation_type})}async leaveWaitingRoom(e){return this.httpClient.post(`/flash/v1/waiting/${e.professional_hash}/leave`,{consultation_id:e.consultation_id,consultation_type:e.consultation_type})}async getSharedDocuments(e){return this.httpClient.get(`/flash/v1/appointments/${e.appointment_id}/documents`).then(e=>e.data).then(this.validate(se))}async downloadDocument(e){return this.httpClient.get(e.url,{responseType:"blob"}).then(e=>e.data)}async updatePatientProfile(e){return this.httpClient.put("/flash/v1/profile",e)}async getPatientDocuments(e){return this.httpClient.get(`/flash/v1/patients/${e.patient_hash}/documents`,{params:{page:e.page,per_page:e.per_page}}).then(this.validate(oe))}},li=class{constructor(e,t){this.httpClient=e,this.validate=t}async getOrganizationSpecialties(){return this.httpClient.get("/organizations/v1/specialities").then(e=>e.data).then(this.validate(Re))}async getOrganizationSetup(){return this.httpClient.get("/organizations/v1/setup").then(e=>e.data).then(this.validate(Se))}},ci=class{constructor(e,t){this.httpClient=e,this.validate=t}async createPaymentLink(e){const{specialty_id:t,...n}=e,i={...n,speciality_id:t};return this.httpClient.post("/payments/v1/schedule",i).then(e=>e.data).then(this.validate(fe))}async createImmediateVideocallPaymentLink(e){return this.httpClient.post("/payments/v1/immediate-videocall",e).then(e=>e.data).then(this.validate(me))}async createChatConsultationPaymentLink(e){return this.httpClient.post("/payments/v1/schedule",e).then(e=>e.data).then(this.validate(ge))}async getConsultationCoupon(e,t){return this.httpClient.get(`/payments/v1/consultation-coupon/${encodeURIComponent(e)}`,{params:{amount:t}}).then(e=>e.data).then(this.validate(de))}async getAppointmentConsultationCoupon(e){return this.httpClient.get(`/payments/v1/appointment/${encodeURIComponent(e)}/consultation-coupon`).then(e=>e.data).then(this.validate(pe))}async getPaymentSession(e){return this.httpClient.get(`/payments/v1/session/${e}`).then(e=>e.data).then(this.validate(ye))}async validateApplePayMerchant(e){return this.httpClient.post("/payments/v1/apple-pay/validate-merchant",e).then(this.validate(we))}async authorizeApplePay(e){return this.httpClient.post("/payments/v1/apple-pay/authorize",e).then(this.validate(Ce))}async authorizeGooglePay(e){return this.httpClient.post("/payments/v1/google-pay/authorize",e).then(this.validate(Ee))}},ui=class{constructor(e,t){this.httpClient=e,this.validate=t}async getProfessional(e){return this.httpClient.get(`sdk/v1/professionals/${e.hash}`).then(e=>e.data).then(this.validate(ce))}async readAllMessages(e){return this.httpClient.put(`sdk/v1/rooms/${e.roomId}/messages/read`).then(e=>e.data)}},di=class{constructor(e,t){this.httpClient=e,this.validate=t}async getPatientProfile(){return this.httpClient.get("/profile/v1/patients").then(e=>e.data).then(this.validate(Oe))}async getProfessionalPublicProfile(e){return this.httpClient.get(`/profile/v1/public/professionals/${e.hash}`).then(e=>e.data).then(this.validate(Ae))}async acceptLegalConsent(e){return this.httpClient.post("/profile/v1/legal-consent",e)}},pi=class{constructor(e,t){this.httpClient=e,this.validate=t}async getRoomMessages(e){return this.httpClient.get(`api/v1/rooms/${e.roomId}/messages`).then(e=>e.data).then(this.validate(M))}async getUnreadMessagesCount(e){return this.httpClient.get(`chat/v1/${e.roomId}/unread-count`).then(e=>e.data).then(this.validate(K))}async createSupportRoom(e){return this.httpClient.post("chat/v1/support-room",e).then(e=>e.data).then(this.validate(H))}},hi=class{constructor(e,t){this.httpClient=e,this.validate=t}async getScheduleServices(){return this.httpClient.get("/schedules/v1/services").then(e=>e.data).then(this.validate(x))}async getProfessionalsBySpecialtyAndService(e){return this.httpClient.get("/schedules/v1/professionals",{params:e}).then(e=>e.data).then(e=>this.validate(N)({data:e}))}async getScheduleServiceProfessionalSlots(e){return this.httpClient.get(`/schedules/v1/services/${e.service_id}/professionals/${e.professional_hash}/slots`,{params:{starts_at:e.starts_at,finishes_at:e.finishes_at,rescheduling_appointment_id:e.rescheduling_appointment_id}}).then(e=>e.data).then(e=>this.validate(U)({data:e}))}async getScheduleServiceSpecialities(e){return this.httpClient.get(`/schedules/v1/services/${e}/specialities`).then(e=>e.data).then(this.validate(L))}async getScheduleSlot(e){return this.httpClient.get(`schedules/v1/slot/${e.slot_id}`,{params:{service_id:e.service_id,speciality_id:e.speciality_id}}).then(e=>e.data).then(this.validate(F))}};var fi={development:"https://chat-dev.mediquo.com",production:"https://chat.mediquo.com"},mi=class{constructor({env:e="production",baseURL:t,debug:n,apiKey:i,token:r,locale:s}={}){const o=t??fi[e];var a;this.httpClient=(a=o,$n.create({baseURL:a,headers:{"Content-Type":"application/json"}}));const l=(c={debug:n},e=>t=>{const n=e.safeParse(t.data);if(n.error&&c?.debug){const e=t.config?.url??"";console.warn(`[Validation Error]${e?` - URL: ${e}`:""}\n${i=n.error,i.issues.map(e=>`${e.path.join(".")}: ${e.message}`).join("\n")}`)}var i;return n.data??t.data});var c;this.flash=new ai(this.httpClient,l),this.auth=new ri(this.httpClient,l),this.appointments=new ii(this.httpClient,l),this.payments=new ci(this.httpClient,l),this.schedules=new hi(this.httpClient,l),this.organizations=new li(this.httpClient,l),this.profile=new di(this.httpClient,l),this.professionals=new ui(this.httpClient,l),this.rooms=new pi(this.httpClient,l),this.documents=new oi(this.httpClient,l),this.consultations=new si(this.httpClient,l),i&&this.setApiKey(i),r&&this.setAuthToken(r),s&&this.setLanguage(s)}setAuthToken(e){this.httpClient.defaults.headers.common.Authorization=`Bearer ${e}`}setApiKey(e){this._apiKey=e,this.httpClient.defaults.headers.common["x-api-key"]=e}getApiKey(){return this._apiKey}setLanguage(e){this.httpClient.defaults.headers.common["Accept-Language"]=e}};function gi({env:e,apiKey:t,token:n,locale:i}={}){const r=e??b.MODE;return new mi({env:r,debug:"development"===r,apiKey:t,token:n,locale:i})}const bi=["env","apiKey","token","locale","inheritedApiClient"];function yi(e,t,n){if(bi.some(t=>e.has(t)))return t.apiKey||t.token||t.locale||!n?gi({...t,apiKey:t.apiKey??n?.getApiKey()}):n}export{_ as A,R as C,Q as D,D as M,be as P,j as S,_e as a,ve as b,gi as c,O as d,w as e,S as f,ue as g,he as h,Xn as i,te as j,ne as k,yi as n};
|