@mediquo/elements 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/README.md +7 -18
  2. package/dist/chunks/api-chat-client-Dx-sFrf2.js +1 -0
  3. package/dist/chunks/{apple-pay-outcomes-SIvDJWN_.js → apple-pay-outcomes--uAwZeLE.js} +1 -1
  4. package/dist/chunks/appointment-details-BM8peAHH.js +1 -0
  5. package/dist/chunks/{appointment-details-CVEDe_k0.d.ts → appointment-details-KL9fK6vG.d.ts} +1 -2
  6. package/dist/chunks/ca_ES-DYhnenv6.js +1 -0
  7. package/dist/chunks/checkout-bridge-BFpVxNww.js +1 -0
  8. package/dist/chunks/{chunk-Y4EKUX25-Bix9r5ry.js → chunk-Y4EKUX25-Bdei04iw.js} +1 -1
  9. package/dist/chunks/{chunk-YTQUGGS3-DH0H7ld7.js → chunk-YTQUGGS3-sBILRfPo.js} +1 -1
  10. package/dist/chunks/de_DE-Dw0iVZNb.js +1 -0
  11. package/dist/chunks/{documentation-view-BSt0gtCR.js → documentation-view-BcA4Vbhp.js} +1 -1
  12. package/dist/chunks/en_US-DONnbI9l.js +1 -0
  13. package/dist/chunks/{external-JLtsAfi6.js → external-cM_kgYO_.js} +1 -1
  14. package/dist/chunks/{index-CUirgiWh.d.ts → index-BEPyJrJL.d.ts} +1 -1
  15. package/dist/chunks/{index-B3rs7SlM.d.ts → index-BKjqWyIs.d.ts} +1 -1
  16. package/dist/chunks/{index-B6OMnYjW.js → index-CGWd3FWG.js} +1 -1
  17. package/dist/chunks/index-Djkwyh_M.js +1 -0
  18. package/dist/chunks/{index-CCWMMqiq.js → index-Dw4Aeoyg.js} +1 -1
  19. package/dist/chunks/{appointment.model.d-BWwBLaEL.d.ts → index-DwlJg2um.d.ts} +13 -0
  20. package/dist/chunks/{index-D2yqKnpP.js → index-VQqG1eyA.js} +1 -1
  21. package/dist/chunks/{index-DFaKhE7Q.d.ts → index-fut7tm1R.d.ts} +1 -1
  22. package/dist/chunks/{index.d-ByhRBSb1.d.ts → index.d-DHMNq1lu.d.ts} +2 -7
  23. package/dist/chunks/{login-token-task-Yib__6a9.js → login-token-task-NQJ77O_q.js} +1 -1
  24. package/dist/chunks/mq-chat-room-BkXGHzrd.js +1 -0
  25. package/dist/chunks/{mq-chat-room-C8wCADp2.d.ts → mq-chat-room-C0dJCvpV.d.ts} +2 -2
  26. package/dist/chunks/{mq-next-appointments-CbjNpG1H.js → mq-next-appointments-BngkXupq.js} +1 -1
  27. package/dist/chunks/{mq-recent-documents-DNqh_8J0.js → mq-recent-documents-Ee-JRTdl.js} +1 -1
  28. package/dist/chunks/mq-schedule-DAKftQ3D.js +1 -0
  29. package/dist/chunks/{mq-support-chat-tdev5LC-.js → mq-support-chat-Bzj5LYHb.js} +1 -1
  30. package/dist/chunks/{mq-videocall-CwYtlPu6.js → mq-videocall-Cp7LSoDs.js} +1 -1
  31. package/dist/chunks/{next-appointment-card-DLU7-wIv.js → next-appointment-card-BE0KW2vv.js} +1 -1
  32. package/dist/chunks/{next-appointment-card-CPg9FuOI.d.ts → next-appointment-card-Z5G1jqtz.d.ts} +4 -4
  33. package/dist/chunks/professional-overview-Ck_SPivX.js +1 -0
  34. package/dist/chunks/{professional-overview-mO3tuMuH.d.ts → professional-overview-QVHl_ITk.d.ts} +1 -0
  35. package/dist/chunks/pt_PT-dELUeDqB.js +1 -0
  36. package/dist/chunks/task-CqjSKFwZ.js +1 -0
  37. package/dist/chunks/{telemetry-client-K37KMdy_.js → telemetry-client-DA2_SZBC.js} +1 -1
  38. package/dist/env.js +1 -1
  39. package/dist/events.d.ts +1 -22
  40. package/dist/events.js +1 -1
  41. package/dist/i18n.js +1 -1
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +1 -1
  44. package/dist/mq-api-client-provider.d.ts +1 -1
  45. package/dist/mq-api-client-provider.js +1 -1
  46. package/dist/mq-apple-pay-checkout.d.ts +1 -1
  47. package/dist/mq-apple-pay-checkout.js +1 -1
  48. package/dist/mq-appointment-checkout.d.ts +20 -14
  49. package/dist/mq-appointment-checkout.js +1 -1
  50. package/dist/mq-appointment-documentation.d.ts +4 -4
  51. package/dist/mq-appointment-documentation.js +1 -1
  52. package/dist/mq-chat-room.d.ts +3 -3
  53. package/dist/mq-chat-room.js +1 -1
  54. package/dist/mq-checkout.d.ts +44 -61
  55. package/dist/mq-checkout.js +1 -1
  56. package/dist/mq-dashboard.d.ts +6 -6
  57. package/dist/mq-dashboard.js +1 -1
  58. package/dist/mq-documents.d.ts +2 -2
  59. package/dist/mq-documents.js +1 -1
  60. package/dist/mq-google-pay-checkout.d.ts +1 -1
  61. package/dist/mq-google-pay-checkout.js +1 -1
  62. package/dist/mq-immediate-videocall-checkout.d.ts +10 -9
  63. package/dist/mq-immediate-videocall-checkout.js +1 -1
  64. package/dist/mq-my-appointments.d.ts +6 -6
  65. package/dist/mq-my-appointments.js +1 -1
  66. package/dist/mq-next-appointments.d.ts +5 -5
  67. package/dist/mq-next-appointments.js +1 -1
  68. package/dist/mq-payment-poller.d.ts +2 -2
  69. package/dist/mq-payment-poller.js +1 -1
  70. package/dist/mq-professional-presence-sync.js +1 -1
  71. package/dist/mq-recent-documents.d.ts +2 -2
  72. package/dist/mq-recent-documents.js +1 -1
  73. package/dist/mq-schedule-success.d.ts +5 -5
  74. package/dist/mq-schedule-success.js +2 -2
  75. package/dist/mq-schedule.d.ts +52 -98
  76. package/dist/mq-schedule.js +1 -1
  77. package/dist/mq-socket-provider.js +1 -1
  78. package/dist/mq-support-chat.d.ts +3 -3
  79. package/dist/mq-support-chat.js +1 -1
  80. package/dist/mq-terms-and-conditions.d.ts +2 -2
  81. package/dist/mq-terms-and-conditions.js +1 -1
  82. package/dist/mq-unread-count-sync.js +1 -1
  83. package/dist/mq-videocall.d.ts +5 -5
  84. package/dist/mq-videocall.js +1 -1
  85. package/dist/react/mq-api-client-provider.d.ts +1 -1
  86. package/dist/react/mq-api-client-provider.js +1 -1
  87. package/dist/react/mq-apple-pay-checkout.d.ts +1 -1
  88. package/dist/react/mq-apple-pay-checkout.js +1 -1
  89. package/dist/react/mq-appointment-checkout.d.ts +12 -8
  90. package/dist/react/mq-appointment-checkout.js +1 -1
  91. package/dist/react/mq-appointment-documentation.d.ts +4 -4
  92. package/dist/react/mq-appointment-documentation.js +1 -1
  93. package/dist/react/mq-chat-room.d.ts +3 -3
  94. package/dist/react/mq-chat-room.js +1 -1
  95. package/dist/react/mq-checkout.d.ts +11 -8
  96. package/dist/react/mq-checkout.js +1 -1
  97. package/dist/react/mq-dashboard.d.ts +6 -6
  98. package/dist/react/mq-dashboard.js +1 -1
  99. package/dist/react/mq-documents-page.d.ts +2 -2
  100. package/dist/react/mq-documents-page.js +1 -1
  101. package/dist/react/mq-documents.d.ts +2 -2
  102. package/dist/react/mq-documents.js +1 -1
  103. package/dist/react/mq-google-pay-checkout.d.ts +1 -1
  104. package/dist/react/mq-google-pay-checkout.js +1 -1
  105. package/dist/react/mq-immediate-videocall-checkout.d.ts +4 -2
  106. package/dist/react/mq-immediate-videocall-checkout.js +1 -1
  107. package/dist/react/mq-my-appointments.d.ts +6 -6
  108. package/dist/react/mq-my-appointments.js +1 -1
  109. package/dist/react/mq-next-appointments.d.ts +5 -5
  110. package/dist/react/mq-next-appointments.js +1 -1
  111. package/dist/react/mq-payment-poller.d.ts +1 -1
  112. package/dist/react/mq-payment-poller.js +1 -1
  113. package/dist/react/mq-professional-presence-sync.js +1 -1
  114. package/dist/react/mq-recent-documents.d.ts +2 -2
  115. package/dist/react/mq-recent-documents.js +1 -1
  116. package/dist/react/mq-schedule-success.d.ts +5 -5
  117. package/dist/react/mq-schedule-success.js +1 -1
  118. package/dist/react/mq-schedule.d.ts +4 -14
  119. package/dist/react/mq-schedule.js +1 -1
  120. package/dist/react/mq-socket-provider.js +1 -1
  121. package/dist/react/mq-support-chat.d.ts +3 -3
  122. package/dist/react/mq-support-chat.js +1 -1
  123. package/dist/react/mq-terms-and-conditions.d.ts +2 -2
  124. package/dist/react/mq-terms-and-conditions.js +1 -1
  125. package/dist/react/mq-unread-count-sync.js +1 -1
  126. package/dist/react/mq-videocall.d.ts +5 -5
  127. package/dist/react/mq-videocall.js +1 -1
  128. package/dist/ui/mq-calendar.js +1 -1
  129. package/dist/ui/mq-tabs.js +49 -22
  130. package/package.json +1 -1
  131. package/dist/chunks/api-chat-client-s45J7LKB.js +0 -1
  132. package/dist/chunks/appointment-details-BYGwLfww.js +0 -1
  133. package/dist/chunks/ca_ES-BOvS9ayb.js +0 -1
  134. package/dist/chunks/de_DE-B-4V4SgD.js +0 -1
  135. package/dist/chunks/en_US-CgxjeeCm.js +0 -1
  136. package/dist/chunks/mq-chat-room-B_WgeuXn.js +0 -1
  137. package/dist/chunks/mq-schedule-BfW7y8uG.js +0 -1
  138. package/dist/chunks/professional-overview-B4E05rLd.js +0 -1
  139. package/dist/chunks/pt_PT-Vb6hoo2l.js +0 -1
  140. package/dist/chunks/task-Bj8p7kJX.js +0 -1
@@ -4,20 +4,20 @@ import { MqBackEvent } from '../events.js';
4
4
  import 'lit-html/directive.js';
5
5
  import 'lit-html/directives/keyed.js';
6
6
  import 'lit';
7
- import '../chunks/index.d-ByhRBSb1.js';
7
+ import '../chunks/index.d-DHMNq1lu.js';
8
8
  import 'axios';
9
9
  import 'zod';
10
10
  import '../chunks/schemas.d-b6_AekBb.js';
11
11
  import '../ui/mq-button.js';
12
12
  import 'lit-html';
13
13
  import '../env.js';
14
- import '../chunks/appointment.model.d-BWwBLaEL.js';
14
+ import '../chunks/index-DwlJg2um.js';
15
15
  import '../ui/mq-callout.js';
16
16
  import '../ui/mq-page-title.js';
17
- import '../chunks/professional-overview-mO3tuMuH.js';
17
+ import '../chunks/professional-overview-QVHl_ITk.js';
18
18
  import '../ui/mq-text-button.js';
19
19
  import '../ui/mq-avatar.js';
20
- import '../chunks/appointment-details-CVEDe_k0.js';
20
+ import '../chunks/appointment-details-KL9fK6vG.js';
21
21
  import '../ui/mq-clamped-text.js';
22
22
  import '../ui/mq-card.js';
23
23
  import '../chunks/price.d-CwLosdAN.js';
@@ -53,16 +53,6 @@ interface MqScheduleProps {
53
53
  locale?: MqSchedule$1["locale"];
54
54
  /** Environment override (`"development" | "production"`). */
55
55
  env?: MqSchedule$1["env"];
56
- /** Return URL passed to the Apple Pay shell as `success_url`. */
57
- applePaySuccessUrl?: MqSchedule$1["applePaySuccessUrl"];
58
- /** URL the payment gateway returns to after an off-site payment. */
59
- returnUrl?: MqSchedule$1["returnUrl"];
60
- /** Offer Google Pay in the payment step. Defaults to `false`. */
61
- googlePayEnabled?: MqSchedule$1["googlePayEnabled"];
62
- /** Offer Apple Pay in the payment step. Defaults to `false`. */
63
- applePayEnabled?: MqSchedule$1["applePayEnabled"];
64
- /** Redirect Stripe payments to Stripe hosted checkout. Defaults to `false`. */
65
- stripeRedirect?: MqSchedule$1["stripeRedirect"];
66
56
  timezone?: MqSchedule$1["timezone"];
67
57
  /** An appointment was successfully created. */
68
58
  onAppointmentCreated?: (event: AppointmentCreatedEvent) => void;
@@ -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-BfW7y8uG.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-K37KMdy_.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-s45J7LKB.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-B4E05rLd.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-avatar.js";import"../chunks/appointment-details-BYGwLfww.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"../ui/mq-skeleton.js";import"../ui/mq-select.js";import"../ui/mq-badge.js";import"../chunks/index-D2yqKnpP.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};
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-DAKftQ3D.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-Dx-sFrf2.js";import"../chunks/external-cM_kgYO_.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-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};
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-sBILRfPo.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/external-cM_kgYO_.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};
@@ -3,15 +3,15 @@ import { MqSupportChat as MqSupportChat$1 } from '../mq-support-chat.js';
3
3
  import { DownloadFileEvent } from '../events.js';
4
4
  import 'lit-html';
5
5
  import 'lit';
6
- import '../chunks/index.d-ByhRBSb1.js';
6
+ import '../chunks/index.d-DHMNq1lu.js';
7
7
  import 'axios';
8
8
  import 'zod';
9
9
  import '../chunks/schemas.d-b6_AekBb.js';
10
- import '../chunks/mq-chat-room-C8wCADp2.js';
10
+ import '../chunks/mq-chat-room-C0dJCvpV.js';
11
11
  import '../ui/mq-avatar.js';
12
12
  import '../ui/mq-button.js';
13
13
  import '../ui/mq-skeleton.js';
14
- import '../chunks/appointment.model.d-BWwBLaEL.js';
14
+ import '../chunks/index-DwlJg2um.js';
15
15
  import '@tanstack/query-core';
16
16
 
17
17
  /** Emitted when the widget is opened. */
@@ -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-tdev5LC-.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-s45J7LKB.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-B_WgeuXn.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-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};
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-Bzj5LYHb.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-Dx-sFrf2.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/external-cM_kgYO_.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-Bdei04iw.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-BkXGHzrd.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-sBILRfPo.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,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { M as MqTermsAndConditions$1, T as TermsAndConditionsContinueEvent } from '../chunks/index-CUirgiWh.js';
2
+ import { M as MqTermsAndConditions$1, T as TermsAndConditionsContinueEvent } from '../chunks/index-BEPyJrJL.js';
3
3
  import 'lit-html';
4
4
  import 'lit';
5
- import '../chunks/index.d-ByhRBSb1.js';
5
+ import '../chunks/index.d-DHMNq1lu.js';
6
6
  import 'axios';
7
7
  import 'zod';
8
8
  import '../chunks/schemas.d-b6_AekBb.js';
@@ -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-B6OMnYjW.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-s45J7LKB.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};
2
+ import{o as t}from"../chunks/create-component-BB-6Gu6l.js";import*as s from"react";import{M as n}from"../chunks/index-CGWd3FWG.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-Dx-sFrf2.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/external-cM_kgYO_.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-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};
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-sBILRfPo.js";import"../chunks/external-cM_kgYO_.js";import"../chunks/chunk-Y4EKUX25-Bdei04iw.js";import"../chunks/chunk-6CCJWPGL-TiaqZaPV.js";const c=t({react:n,tagName:"mq-unread-count-sync",elementClass:s});export{c as MqUnreadCountSync};
@@ -4,24 +4,24 @@ import { MqViewAppointmentsEvent } from '../events.js';
4
4
  import 'lit-html';
5
5
  import 'lit';
6
6
  import '@lit/task';
7
- import '../chunks/index.d-ByhRBSb1.js';
7
+ import '../chunks/index.d-DHMNq1lu.js';
8
8
  import 'axios';
9
9
  import 'zod';
10
10
  import '../chunks/schemas.d-b6_AekBb.js';
11
- import '../chunks/appointment.model.d-BWwBLaEL.js';
11
+ import '../chunks/index-DwlJg2um.js';
12
12
  import '@opentok/client';
13
13
  import '../ui/mq-page-title.js';
14
14
  import '../ui/mq-button.js';
15
- import '../chunks/professional-overview-mO3tuMuH.js';
15
+ import '../chunks/professional-overview-QVHl_ITk.js';
16
16
  import '../ui/mq-text-button.js';
17
17
  import '../ui/mq-avatar.js';
18
- import '../chunks/mq-chat-room-C8wCADp2.js';
18
+ import '../chunks/mq-chat-room-C0dJCvpV.js';
19
19
  import '../ui/mq-skeleton.js';
20
20
  import '@tanstack/query-core';
21
21
  import '../ui/mq-floating-bubble.js';
22
22
  import '../ui/mq-card.js';
23
23
  import '../ui/mq-unread-badge.js';
24
- import '../chunks/index-B3rs7SlM.js';
24
+ import '../chunks/index-BKjqWyIs.js';
25
25
  import '../chunks/document.model.d-DIzMiOmd.js';
26
26
  import '../ui/mq-rating.js';
27
27
  import '../chunks/mq-layout-D8Mak16a.js';
@@ -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-CwYtlPu6.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-Bj8p7kJX.js";import"../chunks/api-client-context-BXGqBAlO.js";import"../chunks/create-context-DqP79qjF.js";import"../chunks/api-chat-client-s45J7LKB.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-B4E05rLd.js";import"../ui/icons/chevron-down-icon.js";import"../ui/mq-text-button.js";import"../ui/mq-avatar.js";import"../ui/icons/clock-icon.js";import"../chunks/documentation-view-BSt0gtCR.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-B_WgeuXn.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-K37KMdy_.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};
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-Cp7LSoDs.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-Dx-sFrf2.js";import"../chunks/chunk-NIAGR3ZC-BDlNUZa1.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/external-cM_kgYO_.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-BcA4Vbhp.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-BkXGHzrd.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-Bdei04iw.js";import"../ui/icons/check-double-icon.js";import"../ui/icons/check-icon.js";import"../chunks/addDays-CdyO-PRI.js";import"../chunks/chunk-YTQUGGS3-sBILRfPo.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};
@@ -1 +1 @@
1
- import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../chunks/class-map-Co76I6aw.js";import"./icons/chevron-left-icon.js";import"./icons/chevron-right-icon.js";import"./icons/spinner-icon.js";export{D as DateSelectEvent,M as MqCalendar,N as NextMonthEvent,P as PrevMonthEvent}from"../chunks/index-D2yqKnpP.js";import"../chunks/format-tMwfQwDf.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/if-defined-BYeVdwgd.js";import"./icons/types.js";
1
+ import"../chunks/custom-element-D2ziPxYE.js";import"../chunks/runtime-Bg1WXVCx.js";import"../chunks/localized-decorator-BlOuLhym.js";import"../chunks/lit-element-DiWJYFwC.js";import"../chunks/property-scuRaFcM.js";import"../chunks/state-LQivXIgA.js";import"../chunks/class-map-Co76I6aw.js";import"./icons/chevron-left-icon.js";import"./icons/chevron-right-icon.js";import"./icons/spinner-icon.js";export{D as DateSelectEvent,M as MqCalendar,N as NextMonthEvent,P as PrevMonthEvent}from"../chunks/index-VQqG1eyA.js";import"../chunks/format-tMwfQwDf.js";import"../chunks/parseISO-CEksKisk.js";import"../chunks/isBefore-DBi1CiNR.js";import"../chunks/directive-2EDmOukv.js";import"../chunks/if-defined-BYeVdwgd.js";import"./icons/types.js";
@@ -1,23 +1,32 @@
1
- import{e as t,t as e}from"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import{i as s,a as i,x as a}from"../chunks/lit-element-DiWJYFwC.js";import{n}from"../chunks/property-scuRaFcM.js";const r=s`
1
+ import{e as t,t as e}from"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import{i as s,a as i,x as a}from"../chunks/lit-element-DiWJYFwC.js";import{n as r}from"../chunks/property-scuRaFcM.js";const n=s`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  }
6
6
  `,o=s`
7
+ /* Spacing lives on .list, not :host: page-level resets such as Tailwind's
8
+ preflight outrank :host rules and would zero the padding and margin. */
7
9
  :host {
10
+ display: block;
11
+ }
12
+
13
+ .list {
8
14
  display: flex;
9
15
  align-items: center;
10
16
  box-sizing: border-box;
11
17
  width: 100%;
12
- max-width: var(--mq-tabs-list-width, 304px);
18
+ max-width: var(--mq-tabs-list-width, 20rem);
13
19
  margin-inline: auto;
14
- padding: var(--sp-1, 4px);
15
- border-radius: var(--mq-tabs-list-radius, 6px);
16
- background-color: var(--mq-tabs-list-background, #edecf1);
20
+ padding: var(--mq-spacing-1, 0.25rem);
21
+ border-radius: var(--mq-tabs-list-radius, var(--mq-radius-xl, 0.75rem));
22
+ background-color: var(
23
+ --mq-tabs-list-background,
24
+ var(--mq-border-default, #edecf1)
25
+ );
17
26
  box-shadow: var(--mq-tabs-list-shadow, 0 4px 8px rgb(0 0 0 / 5%));
18
27
  }
19
28
 
20
- :host([orientation="vertical"]) {
29
+ :host([orientation="vertical"]) .list {
21
30
  flex-direction: column;
22
31
  align-items: stretch;
23
32
  }
@@ -29,27 +38,40 @@ import{e as t,t as e}from"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import{
29
38
  justify-content: center;
30
39
  box-sizing: border-box;
31
40
  min-width: 0;
32
- padding: calc(var(--spacing-unit, 4px) * 1.5) var(--sp-3, 12px);
33
- border-radius: var(--mq-tabs-trigger-radius, 4px);
34
- color: var(--color-text-icons--disabled, #9b90ae);
35
- font-family: var(--font-body, sans-serif);
36
- font-size: var(--text-xs, 0.75rem);
37
- line-height: 20px;
38
- font-weight: var(--font-weight-semibold, 600);
39
- white-space: nowrap;
40
- overflow: hidden;
41
- text-overflow: ellipsis;
41
+ height: var(--mq-size-control-sm, 2rem);
42
+ border-radius: var(--mq-tabs-trigger-radius, var(--mq-radius-lg, 0.5rem));
43
+ color: color-mix(in srgb, var(--mq-text-primary, #0a0a23) 64%, transparent);
44
+ font-family: var(--mq-typography-family-sans, system-ui, sans-serif);
45
+ /* 15px sits between the sm and base type steps, so it has no token. */
46
+ font-size: var(--mq-tabs-trigger-font-size, 0.9375rem);
47
+ line-height: 1.25rem;
48
+ font-weight: var(--mq-typography-weight-semibold, 600);
42
49
  cursor: pointer;
43
50
  user-select: none;
51
+ touch-action: manipulation;
44
52
  -webkit-tap-highlight-color: transparent;
45
53
  transition:
46
54
  color 0.15s ease,
47
55
  background-color 0.15s ease;
48
56
  }
49
57
 
58
+ .label {
59
+ display: block;
60
+ max-width: 100%;
61
+ box-sizing: border-box;
62
+ padding-inline: var(--mq-spacing-4, 1rem);
63
+ white-space: nowrap;
64
+ overflow: hidden;
65
+ text-overflow: ellipsis;
66
+ }
67
+
68
+ :host(:hover:not([active]):not([disabled])) {
69
+ color: var(--mq-text-primary, #0a0a23);
70
+ }
71
+
50
72
  :host([active]) {
51
- background-color: var(--color-card, #ffffff);
52
- color: var(--color-primary-text-link, #4a1ea7);
73
+ background-color: var(--mq-surface-surface, #ffffff);
74
+ color: var(--mq-text-brand, #6500cc);
53
75
  }
54
76
 
55
77
  :host([disabled]) {
@@ -58,13 +80,16 @@ import{e as t,t as e}from"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import{
58
80
  }
59
81
 
60
82
  :host(:focus-visible) {
61
- outline: 2px solid var(--color-primary-background-default, #4a1ea7);
83
+ outline: 2px solid var(--mq-border-focus, #c053ff);
62
84
  outline-offset: 1px;
63
85
  }
64
86
  `,c=s`
65
87
  :host {
66
88
  display: block;
67
- padding: var(--mq-tabs-content-padding, var(--sp-5, 20px) 0 0);
89
+ }
90
+
91
+ .panel {
92
+ padding: var(--mq-tabs-content-padding, var(--mq-spacing-5, 1.25rem) 0 0);
68
93
  }
69
94
 
70
95
  :host([hidden]),
@@ -73,7 +98,9 @@ import{e as t,t as e}from"../chunks/custom-element-CiOhPWP1-DPpsGZrV.js";import{
73
98
  }
74
99
 
75
100
  :host(:focus-visible) {
76
- outline: 2px solid var(--color-primary-background-default, #4a1ea7);
101
+ outline: 2px solid var(--mq-border-focus, #c053ff);
77
102
  outline-offset: 2px;
78
103
  }
79
- `;let d=0;function h(t,e){t.hasAttribute("role")||t.setAttribute("role",e)}class MqTabsSelectEvent extends Event{static{this.eventName="onvaluechange"}constructor(t){super(MqTabsSelectEvent.eventName,{bubbles:!0,composed:!0}),this.value=t}}let u=class MqTabs extends i{constructor(){super(...arguments),this.defaultValue=null,this.value=null,this.activationMode="automatic",this.instanceId=(d+=1,d),this.onRequestSelect=t=>{const e=t;e.value&&(this.value=e.value)},this.orphanTriggers=new Set,this.handleSlotChange=()=>{this.applySelection()}}static{this.styles=[r]}connectedCallback(){super.connectedCallback(),this.addEventListener(MqTabsSelectEvent.eventName,this.onRequestSelect)}disconnectedCallback(){this.removeEventListener(MqTabsSelectEvent.eventName,this.onRequestSelect),super.disconnectedCallback()}firstUpdated(){if(!this.value){const t=this.defaultValue??this.triggers[0]?.value??null;t&&(this.value=t)}this.applySelection()}updated(t){t.has("value")&&this.applySelection()}get triggers(){return Array.from(this.querySelectorAll("mq-tabs-trigger"))}get panels(){return Array.from(this.querySelectorAll("mq-tabs-content"))}applySelection(){const{value:t}=this,e=this.triggers,s=this.panels,i=e.some(e=>!!t&&e.value===t);e.forEach((e,a)=>{const n=!!t&&e.value===t,r=s.find(t=>t.value===e.value);e.id||(e.id=`mq-tabs-${this.instanceId}-trigger-${a}`),r&&!r.id&&(r.id=`mq-tabs-${this.instanceId}-panel-${a}`),r?(e.setAttribute("aria-controls",r.id),r.setAttribute("aria-labelledby",e.id)):(e.removeAttribute("aria-controls"),this.warnOrphanTrigger(e.value)),e.active=n,e.tabIndex=n||!i&&0===a?0:-1});for(const e of s)e.active=!!t&&e.value===t}warnOrphanTrigger(t){t&&!this.orphanTriggers.has(t)&&(this.orphanTriggers.add(t),console.warn(`mq-tabs: no <mq-tabs-content value="${t}"> matches the trigger with that value, so the tab controls nothing and its panel will never show.`))}render(){return a`<slot @slotchange=${this.handleSlotChange}></slot>`}};t([n({type:String,attribute:"default-value"})],u.prototype,"defaultValue",void 0),t([n({type:String,reflect:!0})],u.prototype,"value",void 0),t([n({type:String,attribute:"activation-mode"})],u.prototype,"activationMode",void 0),u=t([e("mq-tabs")],u);let p=class MqTabsList extends i{constructor(){super(...arguments),this.label="",this.orientation="horizontal",this.handleSlotChange=()=>{this.closest("mq-tabs")?.applySelection()},this.handleKeyDown=t=>{if(t.key!==this.nextKey&&t.key!==this.previousKey&&"Home"!==t.key&&"End"!==t.key)return;const e=t.composedPath().find(t=>t instanceof HTMLElement&&"MQ-TABS-TRIGGER"===t.tagName);if(!e)return;const s=this.enabledTriggers;if(0===s.length)return;t.preventDefault();const i=s.indexOf(e),a=s.length-1;let n;n="Home"===t.key?0:"End"===t.key?a:t.key===this.nextKey?-1===i?0:(i+1)%s.length:i<=0?a:i-1;const r=s[n];if(!r)return;r.focus();const o=this.closest("mq-tabs");o&&"automatic"!==o.activationMode||r.select()}}static{this.styles=[o]}connectedCallback(){super.connectedCallback(),h(this,"tablist"),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}updated(){this.setAttribute("aria-orientation",this.orientation),this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")}get enabledTriggers(){return Array.from(this.querySelectorAll("mq-tabs-trigger:not([disabled])"))}get nextKey(){return"vertical"===this.orientation?"ArrowDown":"ArrowRight"}get previousKey(){return"vertical"===this.orientation?"ArrowUp":"ArrowLeft"}render(){return a`<slot @slotchange=${this.handleSlotChange}></slot>`}};t([n({type:String})],p.prototype,"label",void 0),t([n({type:String,reflect:!0})],p.prototype,"orientation",void 0),p=t([e("mq-tabs-list")],p);let b=class MqTabsTrigger extends i{constructor(){super(...arguments),this.disabled=!1,this.active=!1,this.handleClick=()=>{this.select()},this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.select())}}static{this.styles=[l]}connectedCallback(){super.connectedCallback(),h(this,"tab"),this.hasAttribute("tabindex")||(this.tabIndex=-1),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}updated(){this.setAttribute("aria-selected",this.active?"true":"false"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}select(){!this.disabled&&this.value&&this.dispatchEvent(new MqTabsSelectEvent(this.value))}render(){return a`<slot></slot>`}};t([n({type:String,reflect:!0})],b.prototype,"value",void 0),t([n({type:Boolean,reflect:!0})],b.prototype,"disabled",void 0),t([n({type:Boolean,reflect:!0})],b.prototype,"active",void 0),b=t([e("mq-tabs-trigger")],b);let v=class MqTabsContent extends i{constructor(){super(...arguments),this.active=!1}static{this.styles=[c]}connectedCallback(){super.connectedCallback(),h(this,"tabpanel"),this.hasAttribute("tabindex")||(this.tabIndex=0)}updated(){this.toggleAttribute("hidden",!this.active)}render(){return a`<slot></slot>`}};t([n({type:String,reflect:!0})],v.prototype,"value",void 0),t([n({type:Boolean,reflect:!0})],v.prototype,"active",void 0),v=t([e("mq-tabs-content")],v);export{u as MqTabs,v as MqTabsContent,p as MqTabsList,MqTabsSelectEvent,b as MqTabsTrigger};
104
+ `;let d=0;function h(t,e){t.hasAttribute("role")||t.setAttribute("role",e)}class MqTabsSelectEvent extends Event{static{this.eventName="onvaluechange"}constructor(t){super(MqTabsSelectEvent.eventName,{bubbles:!0,composed:!0}),this.value=t}}let u=class MqTabs extends i{constructor(){super(...arguments),this.defaultValue=null,this.value=null,this.activationMode="automatic",this.instanceId=(d+=1,d),this.onRequestSelect=t=>{const e=t;e.value&&(this.value=e.value)},this.orphanTriggers=new Set,this.handleSlotChange=()=>{this.applySelection()}}static{this.styles=[n]}connectedCallback(){super.connectedCallback(),this.addEventListener(MqTabsSelectEvent.eventName,this.onRequestSelect)}disconnectedCallback(){this.removeEventListener(MqTabsSelectEvent.eventName,this.onRequestSelect),super.disconnectedCallback()}firstUpdated(){if(!this.value){const t=this.defaultValue??this.triggers[0]?.value??null;t&&(this.value=t)}this.applySelection()}updated(t){t.has("value")&&this.applySelection()}get triggers(){return Array.from(this.querySelectorAll("mq-tabs-trigger"))}get panels(){return Array.from(this.querySelectorAll("mq-tabs-content"))}applySelection(){const{value:t}=this,e=this.triggers,s=this.panels,i=e.some(e=>!!t&&e.value===t);e.forEach((e,a)=>{const r=!!t&&e.value===t,n=s.find(t=>t.value===e.value);e.id||(e.id=`mq-tabs-${this.instanceId}-trigger-${a}`),n&&!n.id&&(n.id=`mq-tabs-${this.instanceId}-panel-${a}`),n?(e.setAttribute("aria-controls",n.id),n.setAttribute("aria-labelledby",e.id)):(e.removeAttribute("aria-controls"),this.warnOrphanTrigger(e.value)),e.active=r,e.tabIndex=r||!i&&0===a?0:-1});for(const e of s)e.active=!!t&&e.value===t}warnOrphanTrigger(t){t&&!this.orphanTriggers.has(t)&&(this.orphanTriggers.add(t),console.warn(`mq-tabs: no <mq-tabs-content value="${t}"> matches the trigger with that value, so the tab controls nothing and its panel will never show.`))}render(){return a`<slot @slotchange=${this.handleSlotChange}></slot>`}};t([r({type:String,attribute:"default-value"})],u.prototype,"defaultValue",void 0),t([r({type:String,reflect:!0})],u.prototype,"value",void 0),t([r({type:String,attribute:"activation-mode"})],u.prototype,"activationMode",void 0),u=t([e("mq-tabs")],u);let p=class MqTabsList extends i{constructor(){super(...arguments),this.label="",this.orientation="horizontal",this.handleSlotChange=()=>{this.closest("mq-tabs")?.applySelection()},this.handleKeyDown=t=>{if(t.key!==this.nextKey&&t.key!==this.previousKey&&"Home"!==t.key&&"End"!==t.key)return;const e=t.composedPath().find(t=>t instanceof HTMLElement&&"MQ-TABS-TRIGGER"===t.tagName);if(!e)return;const s=this.enabledTriggers;if(0===s.length)return;t.preventDefault();const i=s.indexOf(e),a=s.length-1;let r;r="Home"===t.key?0:"End"===t.key?a:t.key===this.nextKey?-1===i?0:(i+1)%s.length:i<=0?a:i-1;const n=s[r];if(!n)return;n.focus();const o=this.closest("mq-tabs");o&&"automatic"!==o.activationMode||n.select()}}static{this.styles=[o]}connectedCallback(){super.connectedCallback(),h(this,"tablist"),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}updated(){this.setAttribute("aria-orientation",this.orientation),this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")}get enabledTriggers(){return Array.from(this.querySelectorAll("mq-tabs-trigger:not([disabled])"))}get nextKey(){return"vertical"===this.orientation?"ArrowDown":"ArrowRight"}get previousKey(){return"vertical"===this.orientation?"ArrowUp":"ArrowLeft"}render(){return a`<div class="list" part="list">
105
+ <slot @slotchange=${this.handleSlotChange}></slot>
106
+ </div>`}};t([r({type:String})],p.prototype,"label",void 0),t([r({type:String,reflect:!0})],p.prototype,"orientation",void 0),p=t([e("mq-tabs-list")],p);let b=class MqTabsTrigger extends i{constructor(){super(...arguments),this.disabled=!1,this.active=!1,this.handleClick=()=>{this.select()},this.handleKeyDown=t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.select())}}static{this.styles=[l]}connectedCallback(){super.connectedCallback(),h(this,"tab"),this.hasAttribute("tabindex")||(this.tabIndex=-1),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeyDown),super.disconnectedCallback()}updated(){this.setAttribute("aria-selected",this.active?"true":"false"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}select(){!this.disabled&&this.value&&this.dispatchEvent(new MqTabsSelectEvent(this.value))}render(){return a`<span class="label" part="label"><slot></slot></span>`}};t([r({type:String,reflect:!0})],b.prototype,"value",void 0),t([r({type:Boolean,reflect:!0})],b.prototype,"disabled",void 0),t([r({type:Boolean,reflect:!0})],b.prototype,"active",void 0),b=t([e("mq-tabs-trigger")],b);let v=class MqTabsContent extends i{constructor(){super(...arguments),this.active=!1}static{this.styles=[c]}connectedCallback(){super.connectedCallback(),h(this,"tabpanel"),this.hasAttribute("tabindex")||(this.tabIndex=0)}updated(){this.toggleAttribute("hidden",!this.active)}render(){return a`<div class="panel" part="panel"><slot></slot></div>`}};t([r({type:String,reflect:!0})],v.prototype,"value",void 0),t([r({type:Boolean,reflect:!0})],v.prototype,"active",void 0),v=t([e("mq-tabs-content")],v);export{u as MqTabs,v as MqTabsContent,p as MqTabsList,MqTabsSelectEvent,b as MqTabsTrigger};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mediquo/elements",
3
3
  "private": false,
4
- "version": "0.11.0",
4
+ "version": "0.12.0",
5
5
  "type": "module",
6
6
  "description": "Mediquo elements web components",
7
7
  "license": "ISC",
@@ -1 +0,0 @@
1
- import{a as e,u as t,o as n,n as i,b as r,l as s,s as o,e as a,z as l,i as c,c as u,r as d,d as p,f as h,g as f}from"./external-JLtsAfi6.js";import{b as m}from"./chunk-NIAGR3ZC-BDlNUZa1.js";import{i as g}from"./isBefore-DBi1CiNR.js";import{env as b}from"../env.js";t([s(1),s(2),s(3)]);var y={Sent:1,Received:2,Read:3},_=n({roomId:i(),messageId:o().uuid(),string:o(),status:i(),senderType:a(["ordinary","system"]),fromUserHash:o().uuid(),auto:t([s(0),s(1)]),createdAt:o().nullable(),deletedAt:o().nullable(),time:i().nullable()}),v=n({file_name:o(),file_size:i(),url:o().url(),signed_url:o().url().nullable(),type:a(["uncategorized","voice_note"]),meta:n({duration:i()})}),w=_.extend({type:s("string"),attachment:r()}),C=_.extend({type:s("file"),attachment:v}),E=_.extend({type:s("image"),attachment:v});n({roomId:i()});var R=e(t([w,C,E]));n({roomId:i()});var S=n({unread_count:i()});n({professional_hash:o()});var O=n({room_id:i()}),A=l.enum(["pending","expired","accepted","inCall","declined","cancelled","finished","free_of_charge","owed","unpaid","reporting"]),j=A.enum,T=l.enum(["videocall","chat","phonecall"]),x=T.enum,k=l.object({id:l.string().uuid(),room_id:l.string(),channel:T,consultation_short_url:l.string().url().nullable(),call_id:l.string().url(),duration:l.number(),from:l.object({hash:l.string(),name:l.string().nullable(),avatar:l.string().url().nullable(),speciality:l.string().nullable(),collegiate_number:l.string().nullable(),is_dismissed:l.boolean(),languages:l.array(l.string()),description:l.string().nullable()}),to:l.object({id:l.number(),hash:l.string(),name:l.string().nullable(),avatar:l.string().url().nullable(),is_dismissed:l.boolean()}),speciality_id:l.number().nullable(),has_chat_in_appointment:l.boolean().optional(),created_at:l.string(),status:A,seconds_to_open:l.number().nonnegative(),start_date:l.string(),started_at:l.string().nullable(),expires_at:l.string().nullable(),consultation_reason:l.string().nullable(),preconsultation_documents:l.array(l.object({file_path:l.string(),file_name:l.string(),id:l.string().uuid()})).nullable(),service_id:l.string().uuid().nullable(),price:l.number().nullable().optional(),currency:l.string().nullable().optional(),discount_amount:l.number().nullable().optional()}),P=l.enum(["appointment","chat","immediate"]),N=P.enum;function U(e){return 0===e.seconds_to_open}function L(e){if(!e)return!1;const t=new Date,n=m(e);return g(n,t)}var F=a(["available","reserved"]),D=F.enum,B=n({id:o().uuid(),channel:T,duration:i(),starts_at:o(),finishes_at:o(),professional:n({id:o().uuid(),name:o()}),services:e(n({id:o().uuid(),name:o()})),speciality:n({id:i(),price:n({amount:i(),currency:o()}).nullish()}),status:F,payable_reference:o().nullish()}),I=l.array(l.object({id:l.string().uuid(),name:l.string(),code:l.string(),channel:T,price:l.object({amount:l.number(),currency:l.string()}).nullable()})),$=l.object({high_demand:l.boolean().optional()}),q=l.object({id:l.string().uuid(),avatar:l.string().url().nullable(),description:l.string().nullable(),collegiate_number:l.string().nullable(),languages:l.array(l.string()),name:l.string(),slots:l.array(B),speciality:l.object({id:l.number()}),tax_id:l.string().nullable()}),z=l.object({data:l.array(q),meta:$.optional()});l.object({speciality_id:l.number(),organization_schedule_service_id:l.string().uuid(),closest_slots_days:l.number().optional(),slots_per_day:l.number().optional()}),l.object({service_id:l.string().uuid(),professional_hash:l.string().uuid(),starts_at:l.string(),finishes_at:l.string(),rescheduling_appointment_id:l.string().uuid().optional()});var M=l.object({data:l.array(B),meta:$.optional()}),K=l.array(l.object({id:l.number(),name:l.string(),code:l.string().nullish(),price:l.object({amount:l.number(),currency:l.string()}).nullable()}));l.object({slot_id:l.string().uuid(),service_id:l.string().uuid().optional(),speciality_id:l.number().optional()});var H=B;l.object({api_key:l.string(),token:l.string()});var J=l.object({access_token:l.string(),patient:l.object({hash:l.string(),country_code:l.string(),timezone:l.string(),first_name:l.string(),last_name:l.string().nullable(),name:l.string(),birth_date:l.string().nullable(),email:l.string().email().nullable(),language_code:l.string(),phone:l.string(),phone_prefix:l.string(),tax_id:l.string().nullable(),legal_consent:l.object({accepted_at:l.string().nullable(),last_version_at:l.string().nullable(),terms_url:l.string(),privacy_url:l.string(),has_commercial_communications:l.boolean(),organization_name:l.string()})})});n({consultation_id:o(),consultation_type:P,rating:i().int().min(1).max(5),comment:o().nullable().optional()});var W=n({rating:i().int().optional(),comment:o().nullable().optional()}).passthrough();n({file:c(File)});var V=n({url:o().url()});function X(t){return n({data:e(t),meta:n({current_page:i(),last_page:i(),per_page:i(),total:i()})})}var G=l.enum(["prescription","report","diagnosticTestPrescription"]),Q=G.enum,Z=l.enum(["published","draft"]);Z.enum;var Y=l.object({document_id:l.string().uuid(),document_type:G,name:l.string(),professional:l.object({speciality_id:l.number(),speciality_name:l.string().optional()}),status:Z,url:l.string().url(),created_at:l.string()}),ee=n({hash:o(),profile:n({first_name:o().nullable(),last_name:o().nullable(),birth_date:o().nullable(),gender:a(["male","female"]).nullable(),email:o().nullable(),phone_prefix:o().nullable(),phone:o().nullable(),billing:n({tax_id:o().nullable(),address:o().nullable(),country_code:o().nullable(),region:o().nullable(),postal_code:o().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)}l.object({appointmentId:l.string()});var ie=k;l.object({callId:l.string()});var re=l.object({session_id:l.string(),session_token:l.string()});l.object({professional_hash:l.string(),consultation_id:l.string(),consultation_type:l.enum(["appointment"])}),l.object({professional_hash:l.string(),consultation_id:l.string(),consultation_type:l.enum(["appointment"])}),l.object({appointment_id:l.string()});var se=l.array(Y);l.object({url:l.string().url()}),l.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:l.boolean(),privacy_accepted:l.boolean()}),l.object({patient_hash:l.string(),page:l.number().optional(),per_page:l.number().optional()});var oe=X(Y);n({slot_id:o().uuid(),service_id:o().uuid(),specialty_id:o(),consultation_reason:o().optional(),preconsultation_documents:e(n({file_path:o(),file_name:o()})).optional(),discount_code:o().optional(),return_url:o().url().optional(),payable_reference:o().optional()});var ae=n({id:o(),percent_off:i(),code:o(),after_discount_amount:i().nullable()}),le=n({id:o(),percent_off:i(),code:o(),name:o().nullish()}),ce={Addon:"addon",Stripe:"stripe"},ue=n({session_id:o(),payment_link:o().url(),provider:u(ce).optional()});n({video_call_schedule_id:o()});var de=ue;n({professional_hash:o().uuid()});var pe=ue,he={Paid:"paid",Unpaid:"unpaid",Denied:"denied",Refunded:"refunded"},fe=n({status:u(he),consultation_id:o(),consultation_type:o()}),me={SlotUnavailable:422},ge=n({error:o(),refunded:h().optional()});n({order_id:o(),validation_url:o().url()});var be=d(p());n({order_id:o(),token:o()});var ye=n({data:n({status:u(he),consultation_id:o(),consultation_type:o().optional()})});n({order_id:o(),token:o()});var _e=n({data:n({status:u(he),consultation_id:o(),consultation_type:o().optional()})}),ve=l.array(l.object({id:l.number(),name:l.string(),code:l.string()})),we=l.object({primary_color:l.string().nullable(),logo:l.string().nullable(),favicon:l.string().nullable(),support_professional:l.object({hash:l.string().nullable()}).optional(),home:l.object({title:l.string().nullable(),description:l.string().nullable(),image_url:l.string().nullable()}),appointments:l.object({reserve_conditions:l.string().nullable(),seconds_before_start_to_refund_on_cancel:l.number().nullable(),has_nps:l.boolean().optional(),has_chat_in_appointment:l.boolean().optional(),has_discount_coupons_show:l.boolean().optional(),payment_provider:l.nativeEnum(ce).nullish()}),legal_consent:l.object({terms_url:l.string().nullable(),privacy_url:l.string().nullable()})}),Ce=a(["monday","tuesday","wednesday","thursday","friday","saturday","sunday","working_week","weekend","all_week"]);Ce.enum;var Ee=n({days_of_week:Ce,from_time:o(),to_time:o()});n({hash:o().uuid()});var Re=n({hash:o().uuid(),active_absence:n({id:o().uuid(),finishes_at:o()}).nullable(),avatar:o().url().nullable(),collegiate_number:o().nullable(),description:o().nullable(),is_available:h(),name:o(),overview:o().nullable(),schedule_description:o().nullable(),speciality_id:i().nullable(),status:a(["online","offline"]),title:o().nullable(),chat_schedule:n({channel:T,duration:i(),name:o(),timezone:o(),starts_at:o(),gaps:e(Ee)}).nullable()});function Se(e){return e.active_absence?"absent":"online"===e.status?"online":"offline"}a(["online","offline","absent"]),n({roomId:i()});var Oe=ee;n({first_name:o(),last_name:o(),tax_id:o(),birth_date:o(),gender:a(["male","female"]),email:o(),phone_prefix:o(),phone:o(),terms_accepted:h(),privacy_accepted:h()}),n({terms_accepted:h(),privacy_accepted:h(),commercial_accepted:h()}),n({hash:o().uuid()});var Ae=n({id:i(),hash:o().uuid(),speciality_alias:o(),name:o(),avatar:o().url(),description:o(),collegiate_number:o(),languages:e(o()),centers:e(n({id:o().uuid(),name:o()}))});n({status:e(A).optional(),order:n({field:a(["starts_at"]).optional(),direction:a(["asc","desc"]).optional()}).optional(),page:i().optional(),per_page:i().optional()});var je=X(n({appointment:n({id:o().uuid(),url:o().url(),starts_at:o(),duration:i(),status:A,channel:T,expires_at:o().nullable(),service_id:o().uuid().nullable(),has_chat_in_appointment:h().optional()}),room:n({id:i()}),price:n({amount:i(),currency:o()}).nullable(),patient:n({hash:o().uuid()}),slots:e(f()),professional:n({hash:o().uuid(),name:o(),avatar:o().url().optional(),description:o().optional(),languages:e(o()),collegiate_number:o().optional()}),speciality:n({id:i(),name:o()})}));n({slot_id:o().uuid(),service_id:o().uuid(),consultation_reason:o().optional(),preconsultation_documents:e(n({file_path:o(),file_name:o()})).optional(),discount_code:o().optional()});var Te=n({appointment:n({id:o().uuid()})});n({id:o().uuid()});var xe=k,ke=n({file_path:o(),presigned_storage_url:o().url()});function Pe(e,t){return function(){return e.apply(t,arguments)}}n({id:o().uuid(),slot_id:o().uuid(),consultation_reason:o().optional(),preconsultation_documents:e(n({file_path:o(),file_name:o()})).optional()}),n({id:o().uuid()}),n({appointment_id:o().uuid(),consultation_reason:o().optional()}),n({appointment_id:o().uuid(),file_path:o(),file_name:o()}),n({appointment_id:o().uuid(),document_id:o().uuid()}),n({appointmentId:o().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(ve))}async getOrganizationSetup(){return this.httpClient.get("/organizations/v1/setup").then(e=>e.data).then(this.validate(we))}},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(ue))}async createImmediateVideocallPaymentLink(e){return this.httpClient.post("/payments/v1/immediate-videocall",e).then(e=>e.data).then(this.validate(de))}async createChatConsultationPaymentLink(e){return this.httpClient.post("/payments/v1/schedule",e).then(e=>e.data).then(this.validate(pe))}async getConsultationCoupon(e,t){return this.httpClient.get(`/payments/v1/consultation-coupon/${encodeURIComponent(e)}`,{params:{amount:t}}).then(e=>e.data).then(this.validate(ae))}async getAppointmentConsultationCoupon(e){return this.httpClient.get(`/payments/v1/appointment/${encodeURIComponent(e)}/consultation-coupon`).then(e=>e.data).then(this.validate(le))}async getPaymentSession(e){return this.httpClient.get(`/payments/v1/session/${e}`).then(e=>e.data).then(this.validate(fe))}async validateApplePayMerchant(e){return this.httpClient.post("/payments/v1/apple-pay/validate-merchant",e).then(this.validate(be))}async authorizeApplePay(e){return this.httpClient.post("/payments/v1/apple-pay/authorize",e).then(this.validate(ye))}async authorizeGooglePay(e){return this.httpClient.post("/payments/v1/google-pay/authorize",e).then(this.validate(_e))}},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(Re))}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(R))}async getUnreadMessagesCount(e){return this.httpClient.get(`chat/v1/${e.roomId}/unread-count`).then(e=>e.data).then(this.validate(S))}async createSupportRoom(e){return this.httpClient.post("chat/v1/support-room",e).then(e=>e.data).then(this.validate(O))}},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(I))}async getProfessionalsBySpecialtyAndService(e){return this.httpClient.get("/schedules/v1/professionals",{params:e}).then(e=>e.data).then(e=>this.validate(z)({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(M)({data:e}))}async getScheduleServiceSpecialities(e){return this.httpClient.get(`/schedules/v1/services/${e}/specialities`).then(e=>e.data).then(this.validate(K))}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(H))}};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{j as A,N as C,Q as D,y as M,he as P,D as S,me as a,ge as b,gi as c,L as d,x as e,U as f,Se as g,ce as h,Xn as i,te as j,ne as k,yi as n};
@@ -1 +0,0 @@
1
- import{_ as t,c as e}from"./custom-element-D2ziPxYE.js";import{m as i}from"./runtime-Bg1WXVCx.js";import{l as o}from"./localized-decorator-BlOuLhym.js";import{g as a,p as n,a as r}from"./chunk-NIAGR3ZC-BDlNUZa1.js";import{a as s}from"./addSeconds-fO5orJrt.js";import{i as l,a as p,E as m,x as c}from"./lit-element-DiWJYFwC.js";import{n as d}from"./property-scuRaFcM.js";import{e as h}from"./class-map-Co76I6aw.js";import{getLocale as u}from"../i18n.js";import{briefcaseIcon as f}from"../ui/icons/briefcase-icon.js";import{calendarIcon as v}from"../ui/icons/calendar-icon.js";import{clockIcon as w}from"../ui/icons/clock-icon.js";import{messageBubbleIcon as g}from"../ui/icons/message-bubble-icon.js";import{phoneIcon as y}from"../ui/icons/phone-icon.js";const j=l`.appointment-details{display:flex;flex-direction:column;gap:var(--sp-3)}.detail-row{display:inline-flex;width:fit-content;align-items:center;gap:var(--sp-2);color:var(--color-neutrals-text-default);font-family:var(--font-body);font-size:var(--text-sm);line-height:var(--text-sm--line-height);font-weight:var(--font-weight-bold)}.detail-row svg{flex-shrink:0}.detail-row span::first-letter{text-transform:uppercase}.detail-row.full-width{width:100%}:host([strike-through]) .detail-row span{text-decoration:line-through}@media (min-width:768px){.appointment-details.wide{flex-direction:row;flex-wrap:wrap}}`;let x=class AppointmentDetails extends p{constructor(){super(...arguments),this.channel=void 0,this.variant="default",this.strikeThrough=!1,this.timezone=void 0,this._appointmentChannelToLabel=t=>{switch(t){case"videocall":return i("Videoconsulta");case"chat":return i("Chat");case"phonecall":return i("Consulta telefónica");default:return""}},this._appointmentChannelToIcon=t=>{switch(t){case"videocall":return f({size:24});case"chat":return g({size:24});case"phonecall":return y({size:24});default:return m}}}static{this.styles=j}render(){const t=u().replace("_","-"),e=a(this.timezone),i=new Intl.DateTimeFormat(t,{weekday:"long",year:"numeric",month:"long",day:"numeric",...e?{timeZone:e}:{}}),o=new Intl.DateTimeFormat(t,{timeStyle:"short",...e?{timeZone:e}:{}}),l=n(this.startsAt),p=s(l,this.duration),d=i.format(l),f=o.format(l),g=o.format(p),y=e?r(e,l):"";return c`<div class="${h({"appointment-details":!0,wide:"wide"===this.variant})}"><div class="detail-row">${v({size:24})} <span>${d}</span></div><div class="detail-row">${w({size:24})} <span>${f} - ${g}${y?` (${y})`:""}</span></div>${this.channel?c`<div class="detail-row full-width">${this._appointmentChannelToIcon(this.channel)} <span>${this._appointmentChannelToLabel(this.channel)}</span></div>`:m}</div>`}};t([d({type:String})],x.prototype,"startsAt",void 0),t([d({type:Number})],x.prototype,"duration",void 0),t([d({type:String})],x.prototype,"channel",void 0),t([d({type:String})],x.prototype,"variant",void 0),t([d({type:Boolean,attribute:"strike-through"})],x.prototype,"strikeThrough",void 0),t([d({type:String})],x.prototype,"timezone",void 0),x=t([o(),e("appointment-details")],x);export{x as A};
@@ -1 +0,0 @@
1
- import{s as a}from"./runtime-Bg1WXVCx.js";const e={s0043fc30b467bc43:"Ocultar detalls",s00c8bf60a179e056:"Google Pay no està disponible. Prova amb targeta o un altre mètode de pagament.",s035706a468d0c40b:"Divendres",s0520ac0a7da193d4:"No hem pogut validar el codi. Torna-ho a provar.",s071bd6bbf6c08f34:"Carregant",s08404262212123ef:"Com et puc ajudar?",s08fe5307b5987c42:"De",s08fe5907b5988674:"Dg",s09165307b5ad0e23:"Dme",s09165b07b5ad1bbb:"Dm",s09195307b5af43fa:"Dl",s092e4f07b5c19938:"Dj",s093b3307b5cbf400:"Dv",s09462f07b5d5f4b9:"Ds",s09528d5c26b62213:"Dijous",s0aaec824f7c6b501:"Enviar missatge",s0b0085a15991b134:"Reconectant...",s0b0955208f737a86:"L'arxiu supera la mida màxima permesa",s0eb69642cbc19745:"Aquesta cita ja ha passat, per la qual cosa no es pot modificar.",s0fc7c4bfd185800d:"Aquí es mostraran les teves receptes i informes mèdics.",s0fcbdef9dc977231:"S'ha produït un error en carregar la pàgina. Si us plau, intenta-ho de nou o contacta amb el suport.",s11605fc03de64e14:"Escriu aquí...",s12f171594a5379d2:"¿Segur que vols cancel·lar aquesta cita?",s132e84f499a23985:"Sense horaris disponibles actualment",s13317a76a9ed776e:"Repetir",s142eba34d93fe59e:"Descripció",s1513f3687bfcac96:"Diumenge",s1a0efa6ac51e8a85:"Pàgina anterior",s1a874fc38d0fcef0:"Ordre mèdica",s1d318e9d0ccba86b:"Xat",s1ee6d7e6d04932a4:"El correu electrònic no és vàlid",s1fe8bb7f6ae07f9b:"No tens cites en l'historial",s219b833c5ca095b3:"Aquí podràs veure totes les cites que has tingut. Pots accedir a les documents de cada consulta i reagendar una cita si és necessari.",s22cf91a84fba4c4e:"Quan agendis una cita, apareixerà aquí per que puguis consultar-la, modificar-la o cancel·lar-la.",s238c3ed6d3ecc66a:"Tancar",s24b59d5a129dc0d0:"No hem pogut anul·lar la cita. Torna-ho a provar.",s255bf4de23c83482:"Condicions de reserva:",s256189bafbcd2e34:"El telèfon no és vàlid",s27e462e9f48eb3a6:"Documentació",s2a1d212b3cb5c1a1:"Pots xatejar amb el professional fins 48 hores finalitzada la teva cita",s2aa2c19d07591438:"Rebràs un recordatori 15 minuts abans de la consulta",s2aab27b26a86469f:"Motiu de consulta",s2b9fde9a5739d2a0:"Nom",s2bb20b2162a18938:"¿Per què necessites la consulta?",s2d6183fa992e10e9:"Aquest professional no té horaris disponibles",s2ebd846b5a30f9d1:"Ho sentim, no hem pogut repetir la teva cita. Si us plau, contacta amb el suport.",s30c9095a2e07d929:"Sala d'espera",s31219c9bdeb7bc3e:"Continuar",s337e34cd11150eb6:"Veure totes les meves cites",s346d488070fe4cc8:"Demanar cita",s3944638e633d719a:"Consulta",s3b77baf6a4864231:"Error desconegut",s3bd87e3e21b07900:"Espereu mentre es restableix la connexió",s3dc6584e403858df:"No hem pogut carregar la teva documentació",s3f55bc3bfec41a5d:"Adjuntar arxius",s4177fe7f5d70fd33:"Tornar",s41826ac201c3cd85:"No s'ha pogut obrir el chat amb suport",s4364d4be7641e15f:"Confirmar cita",s43e5edcc8801e9a4:"Perfil del professional",s47afb8f6895a937b:a`Actualment hi ha una demanda elevada de cites a ${0}, de manera que els temps d'espera poden ser més llargs de l'habitual.`,s4813ee5d305442e5:"Sembla que no t'hem trobat a l'hora de la teva cita. Pots programar una altra consulta per resoldre els teus dubtes.",s49683919cdaeca83:"Avui",s4a061033615c8016:"Documents",s4a8494821c987a17:"Informe",s4a8f1fcd3f5e5952:"Encara no és l'hora!",s4d20157b5a655e70:"Aquest horari no està disponible. Si us plau, seleccioneu un altre.",s4de424f531892818:"Anar a videotrucada",s51c461d40f9fb865:"Selecciona el teu especialista",s536a0b4d3d4a5d9f:"No hem pogut carregar la teva propera cita",s53d957dda6cc200b:"Servei i plataforma prestats per",s53e2497bf900c7fd:"No tens properes cites",s5558a2e389d04223:"Modificar",s55c5126e99bae190:"Buscar disponibilitat",s563dcbfd432eb18f:"Anul·lar cita",s57e65113a89160cf:"Modalitat de la cita",s59612eaa6993aa7e:a`${0} minuts`,s5eef402d73eecbdc:"Adjuntar arxiu",s5f7956aacb5c6ca2:"Comprovant Google Pay…",s5f817b8841b188d2:"Més opcions",s631f73a10d156b22:"Consulta expirada",s63f7af84683dd7c3:"Aquesta cita ja no es pot modificar ni anul·lar: no queda el temps mínim requerit abans del començament.",s643155d1b6ee1684:"Torna-ho a provar en uns minuts.",s64b78a5026d4ce8d:"No hi ha horaris disponibles",s65bedc0e516977d9:"Dissabte",s679be6312356a21c:"Agenda una consulta mèdica quan la necessitis. Aquí podràs veure tots els detalls i podràs gestionar les teves properes cites.",s67f30f9f4ea881f3:"Aquest codi no és vàlid.",s6a50fd7f52263b04:"No s'ha pogut tornar a la sala d'espera",s6ab6fcd87fdbf217:"Hola",s6b1c4fb634461e7c:"Mes anterior",s6b6fa877ec1e6968:"Xatejar amb el professional",s6c81d42670932f93:"Actualitzar",s6e2423db05f36856:"Petició de cita",s6ecdc22accc55af7:"Videoconferència",s70258a0040dd9e19:"Tornar a la sala d'espera",s718177442a7447b2:"Cita amb un especialista en menys de 72 hores",s733b3bf647b7b0fa:"Accepta els permisos de càmera i micròfon",s73cad78d8a3c39c2:"Prescripció",s74d7a739b6ab651d:"Històric",s757fef148e0c94c6:"Disponibilitat",s77320b73fdd9cc40:"Sortir",s775370fdb0af1546:"Data de naixement",s77c2b712a9813175:"Demanar una nova cita",s77f8e4bee88d44aa:a`${0} de ${1}`,s7907902da8916212:"El professional et trucarà al número que indiques en aquest camp.",s7aa3cd94d51825fc:"No hi ha professionals disponibles per a l'especialitat seleccionada. Si us plau, torna a intentar-ho en un altre moment o selecciona una altra especialitat.",s7af26e861bb6f905:"Falta l'identificador de passarel·la de Google Pay",s7fd8da9511b66dd4:"Pots adjuntar imatges o documentació addicional (analítiques, resultats de proves, etc.) perquè les avaluï el metge",s83c6ce869a2bbaa7:"(1 és molt dolent, 5 és excel·lent)",s8447efe79d058943:"Import pagat",s8581adc786786298:"Format d'arxiu no suportat",s862ca980b16911d0:"Xateja amb el professional",s8c18dbf02590a72e:"Codi de promoció aplicat",s8cce15c931017937:"Tornar a l'inici",s8e7a6119525dc7c9:a`Ho sentim, com falten menys de ${0} minuts per a la teva cita no la podem modificar.`,s9005845c358db9da:"No hem pogut descarregar el document.",s92f34d487d1d0355:"Promoció",s94626d2ffd70f075:"Codi de promoció validat correctament",s9536695467bcf9c4:"Aquesta cita ja ha passat, per la qual cosa no es pot anul·lar.",s96474eac63a69381:"Anar al xat",s96ceb408923a7ab1:a`Nº COL. ${0}`,s979ee14368bf1505:"Xateja amb mi",s9802dd10b2c2f760:"Enviar",s99898f495319cd49:"Aquest missatge ha estat eliminat",s9c309154722f8e06:"Carregant el portal de pagament",s9cabdaf42f04afee:"Introdueix el codi",s9cbf16425cadadb1:"Si us plau, intenta-ho de nou més tard.",s9d22fa67943fdc4c:"Consulta telefònica",sa00e726e1e7e46a9:"Afegir codi de promoció",sa27f38ad9db3bc4f:"Asesor comercial",sa2fe3f3b565f15f4:"Cancel·lar",sa4186d5e26cab4bb:"Pàgina no trobada",sa497ebaaeb251035:"Repetir cita",sa7de4334479674c6:"Modificar cita",sa82bc40dafbe3256:a`Cita agendada de ${0}`,sa83d79734eb60ee3:"Aplicar",sa86d729f62b39f99:"Unir-se a la videoconferència",sa87d2c48a52b2617:"No tens documentació",sab964c37a0934399:"No s'ha pogut carregar Google Pay. Comprova la configuració del lloc web i torna-ho a provar.",sac2728ace11e5f4b:"Especialitat*",sadc5ede25dd6e126:"El professional t'enviarà un missatge per poder coordinar la cita. Assegura't de tenir bona cobertura i poder atendre en el horari escollit.",sae8f7ac5552b2af1:"Quan faltin 10 minuts per a la teva consulta, podràs accedir a la videoconferència",saf63dc4c8601ec8c:"a",safe333e385f371ff:"Verificant el teu pagament...",saff3019e8a8c5f98:"Dilluns",sb01184796ad3832e:"Com t'ha anat la cita?",sb410a3509b92a90c:"Tens algun comentari sobre la consulta?",sb49dc4c5edae9d4e:"Valoració de la consulta",sb5387e21dc21422b:"Cita modificada",sb621415007181c43:"Mes següent",sb73394814d122852:"Si el teu metge ha generat alguna documentació, podràs veure-la i descarregar-la aquí, des de la secció de documentació, el teu correu o el xat.",sb882f28c9b20052e:"Cita confirmada",sba98cf8b2a7dfca4:"Ahir",sbbee712c4900abc2:"No hem pogut iniciar el pagament",sbc0be90393c87447:a`Resum de la cita per a ${0}`,sbcf081de432a2172:"Veure detalls",sbcfc05bdb868b383:"Receta",sbd07d1f779e482ae:"No hem pogut confirmar el teu pagament",sbd9803cceb34513a:"Iniciar xat amb assessor comercial",sbda1cf7b293e17d2:"Pujar arxiu",sc27e7c4850fc5a34:a`Ho sentim, com falten menys de ${0} hores per a la teva cita no la podem anul·lar.`,sc3bb7ea72886e4d0:"Documents recents",sc3c7734c15d2a045:"Explica'ns com va anar l'atenció o si vas tenir cap problema amb la videotrucada…",sc43929cc6582a185:"Veure agenda completa",sc4edf6a4e0157d4e:"Properes cites",sc6f816a96e8578ff:"Ho sentim, aquesta cita ja no es pot anul·lar.",sc7cf2be40c8614fa:a`Ho sentim, com falten menys de ${0} minuts per a la teva cita no la podem anul·lar.`,sca0e87aae6bde276:"Va passar algun problema?",sca4bd395e3148194:"Confirmar cancel·lació",sca90bc30758f9082:"La pàgina que estàs buscant ha estat eliminada, renombrada o pot que no existeixi.",scbe4c6673872bda5:"Telèfon",sce29e337ebd75277:"Chat amb suport",scf469737e1670fd4:"Pàgina següent",scfc7f5c5f41936dc:"Les meves cites",sd1f44f1a8bc20e67:"Correu electrònic",sd24922a2783f286e:"Dimecres",sd2a8fc66c53c1a27:"Ometre",sd3f7579076c6611c:"Sembla que has denegat els permisos necessaris per entrar a la videotrucada. Edita els permisos en el teu navegador per entrar. Una vegada concedits, has de refrescar aquesta pantalla.",sd4beaeb9a1b1fed5:"Dates anteriors",sd812eb30f385776d:"Completa el teu perfil",sd853d3bcf5341b59:"Veure més",sda962b28e9110c82:"Realitza la cerca en el teu quadre mèdic digital",sdb7004e477873574:"Consulta anul·lada correctament",sdd963b1b2ce9a1f5:a`El professional et trucarà al ${0} en el horari seleccionat. Assegura't de tenir bona cobertura i poder atendre en el horari escollit.`,sde993da26c048f19:"Traumatologia, ginecologia, endocrinologia, digestiva o psiquiatria",sdee32ae81ca0d6d8:"Afegeix al calendari",se00b081edccfae39:"Dates següents",se07ea9607704c5ad:"Canviar codi",se090f7226b372a4a:"Si la cita no s'ha pogut fer, pots",se0c7cc77f86aa8a0:"Cognoms",se17f2b402ecea2e1:"Import a devolver",se18fa3ef98e155de:"Preparant Google Pay…",se1cce5af3e9bb6ee:"S'ha produït un error en l'enviament de l'arxiu",se1cf783f86c53031:"Dimarts",se45e6f6f3428ad50:a`Enllaç a la cita: ${0}`,se5a09223256f98db:"Aquest camp és obligatori",se5f9264155b99909:"S'ha produït un problema en verificar l'estat del teu pagament. Si us plau, contacta amb el suport si el càrrega s'ha realitzat.",se92e438da4e7099f:a`Ho sentim, com falten menys de ${0} hores per a la teva cita no la podem modificar.`,sea11fd8a12559bc5:"Cita prèvia:",seb6739450e8d9c8d:"¿Segur que vols cancel·lar aquesta cita? Se t'devolverà el import pagat en un termini de 5-10 dies hàbils.",seb850e89f9ff58e8:"Propera cita",sed750da423170d47:"Resultats per a:",sed836a96c3b5d523:"Portal de pagament",sed8ec5e3c64fa25d:"Total",sed97e90642983578:"Continuar al pagament",sedb2092dda465ea1:"DNI/NIE",sedbca9676f07a51f:"Modalitat de la cita*",see7c0a7b5b6ebbc5:"Utilitza el xat per enviar el motiu de consulta, documents o imatges",sefc0dd68776c9466:"Qüestionari preconsulta",sf0638d3fc50964d2:"Escull una altra data",sf0695a0a125ae748:"Confirmar",sf09d5e51b63f2b7d:"Pagar amb Google Pay",sf199b210440b7c5f:"Consulta finalitzada",sf3457daf057bff15:"tornar a la sala d'espera.",sf484a0e20a7829ac:"T'enviarem un enllaç al correu electrònic indicat quan sigui el moment de connectar-te a la videoconferència. Assegura't de tenir bona connexió a internet i un dispositiu amb càmera i micròfon.",sf48d12e7ae207023:"Especialitat",sf5258cfb2fa10bdc:"Espera a ser atès sense sortir d'aquesta pantalla",sf63a72ff4116c6a9:"Descarregar document",sf9705e1c4e82c017:"No s'ha pogut enviar el qüestionari",sfa6bc28a7faedc92:"Nova cita d'especialitats digitals",sfac5734d03595135:"Veure-les totes",sfc63af0362cfb78b:"Falta l'identificador de comerç de Google Pay",sfd51ca4e1b145054:"No s'ha pogut reservar aquest horari. Si us plau, seleccioneu un altre.",sff337500b69abf7f:"El metge està finalitzant la gestió de la teva consulta. Actualitza en uns minuts per veure si tens documentació.",sffbc330c8a19f838:"Veure menys",sc6a6d42245892254:"Falta el identificador de comercio de Apple Pay",s3da77e69fe62cb2a:"No se ha podido cargar Apple Pay. Comprueba la configuración del sitio e inténtalo de nuevo.",se1dd5d211b5b00e4:"Apple Pay no está disponible",s7e8b7a5acbdf83ed:"Preparando Apple Pay…",sc8271ba819299b59:"Comprobando Apple Pay…",s57e95bc3afddfeb0:"Para pagar con Apple Pay, escanea el código QR con tu iPhone (iOS 18 o posterior) y confirma el pago.",sf32cd04f9a848ee2:"Pagar con Apple Pay",s6a796114fe45025d:a`${0}, ${1} h${2}`,s35d601992fe66fed:"Confirmando tu pago",s5370521b92483bf3:"No cierres, vuelvas atrás ni actualices la ventana; esto puede tardar unos momentos.",s77bf41039c589159:"Tu pago no se ha completado",s0e850d0fec6daf7d:"El pago ha sido rechazado y no hemos creado la cita. No se te ha cobrado nada: puedes volver a reservar desde el inicio.",s4007fa55a28f1f73:"Ese horario ya no está disponible",s0089e78f42dfd1a4:"Otro paciente ha reservado esa cita mientras completabas el pago, así que no hemos podido crearla.",saeefd0d6fb204a80:"Te hemos devuelto el importe automáticamente; puede tardar unos días en reflejarse en tu cuenta.",se478d6710916dadf:"No hemos podido devolverte el importe automáticamente. Escríbenos y lo resolvemos:",sf9e6fbadcce256d0:"Ha ocurrido un error",sa24acad3b1338788:"No hemos podido confirmar tu pago. Por favor, inténtalo de nuevo más tarde.",s8bbbd679ddb50d3b:"Si se te ha cobrado sin una cita confirmada, contacta con nuestro equipo en",s67ebdb57fc6ed724:"Confirmar y pagar",sf75ec3d5bb6b65ab:"Método de pago",s0ef2d611972d04af:"Selecciona un método para realizar el pago de la cita",s0569fb3d65e68486:"Tarjeta",sa8771906f4c82494:"Google pay",se2570afbd791e071:"Apple pay",s3a392bf1aa5a8813:"No se puede iniciar Google Pay",sc9c8fbf418b784ac:"No se puede iniciar Apple Pay",s55e29f17a7ab0b80:"Esperando confirmación de Google Pay",s8ff9b86afd460a55:"Esperando confirmación de Apple Pay",s5b8873ddba610f68:"Abrir Google Pay",s9506fb9bc66942ed:"Abrir Apple Pay",s6db69fd67f48404c:"Abrir ventana de Google Pay",s6911c9ad386cc8b9:"Abrir ventana de Apple Pay",s4a9be42496525265:"Volver a abrir Google Pay",s3356a53ef97dcfba:"Volver a abrir Apple Pay",s9ca719e1a40e96e3:"Faltan credenciales de pago. Vuelve atrás e inténtalo de nuevo, o paga con tarjeta.",s0f6deacf5441e291:"Elegir otro método",s275336b3d23d6d9c:"No cierres esta página.",s970d59d6d88e7e6c:"No se puede iniciar el pago",s705f4bd8bc8e04d8:"Faltan credenciales de pago. Vuelve atrás e inténtalo de nuevo.",s1dec877628213eef:"Tus citas",se0c593aac5e172e6:"Accede, modifica o anula tus citas.",s230b0bee447e61a5:"Ver mis citas"};export{e as templates};