@mediquo/elements 0.0.0-pr-383-20261029152148

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 (334) hide show
  1. package/README.md +386 -0
  2. package/dist/chunks/addDays-CdyO-PRI.js +1 -0
  3. package/dist/chunks/addSeconds-fO5orJrt.js +1 -0
  4. package/dist/chunks/api-chat-client-CcYgqPdC.js +1 -0
  5. package/dist/chunks/api-client-context-BXGqBAlO.js +1 -0
  6. package/dist/chunks/apple-pay-outcomes-D8hSE_oM.js +1 -0
  7. package/dist/chunks/appointment-details-Blo6OsLN.js +1 -0
  8. package/dist/chunks/appointment-details-KL9fK6vG.d.ts +23 -0
  9. package/dist/chunks/blob-to-base64-CUL1trde.js +1 -0
  10. package/dist/chunks/ca_ES-BHS8BUwp.js +1 -0
  11. package/dist/chunks/checkout-bridge-BFpVxNww.js +1 -0
  12. package/dist/chunks/chunk-5EJXDIGT-Bb4_pfDr.js +1 -0
  13. package/dist/chunks/chunk-6CCJWPGL-TiaqZaPV.js +1 -0
  14. package/dist/chunks/chunk-BUV4MGML-CkhBbfUu.js +1 -0
  15. package/dist/chunks/chunk-FUCSYDW7-Duj5hy8S.js +1 -0
  16. package/dist/chunks/chunk-NIAGR3ZC-BDlNUZa1.js +1 -0
  17. package/dist/chunks/chunk-RCFIJTXZ-C6Ir0-sM.js +1 -0
  18. package/dist/chunks/chunk-S5RWG6G2-CQJ38pW6.js +1 -0
  19. package/dist/chunks/chunk-Y4EKUX25-Bix9r5ry.js +1 -0
  20. package/dist/chunks/chunk-YTQUGGS3-DH0H7ld7.js +1 -0
  21. package/dist/chunks/class-map-CXGDNDhW.js +1 -0
  22. package/dist/chunks/consume-CovVqBjI.js +1 -0
  23. package/dist/chunks/context-consumer-ESdICVAb.js +1 -0
  24. package/dist/chunks/context-request-event-Dfydf1ub.js +1 -0
  25. package/dist/chunks/create-component-BB-6Gu6l.js +1 -0
  26. package/dist/chunks/create-context-DqP79qjF.js +1 -0
  27. package/dist/chunks/custom-element-CiOhPWP1-DPpsGZrV.js +1 -0
  28. package/dist/chunks/custom-element-D2ziPxYE.js +1 -0
  29. package/dist/chunks/de_DE-CveFSuUP.js +1 -0
  30. package/dist/chunks/default-IpEn36CA.d.ts +5 -0
  31. package/dist/chunks/directive-DrycXrFV.js +1 -0
  32. package/dist/chunks/directive-helpers-m2qHStQ1.js +1 -0
  33. package/dist/chunks/document.model.d-DIzMiOmd.d.ts +6 -0
  34. package/dist/chunks/documentation-view-CAU1T5j3.js +1 -0
  35. package/dist/chunks/en_US-B_aQeYjm.js +1 -0
  36. package/dist/chunks/ensure-context-root-DbdqwnKB.js +1 -0
  37. package/dist/chunks/external-JLtsAfi6.js +1 -0
  38. package/dist/chunks/format-tMwfQwDf.js +1 -0
  39. package/dist/chunks/get-appointment-query-DuHrjd8L.js +1 -0
  40. package/dist/chunks/get-organization-setup-query-De7eM6V3.js +1 -0
  41. package/dist/chunks/get-patient-profile-query-D9btgcxl.js +1 -0
  42. package/dist/chunks/get-schedule-services-query-Io2aQ_7G.js +1 -0
  43. package/dist/chunks/if-defined-DgEoHV04.js +1 -0
  44. package/dist/chunks/index-BO2YvuaV.d.ts +54 -0
  45. package/dist/chunks/index-BeyZqqE9.d.ts +31 -0
  46. package/dist/chunks/index-BkDanNQg.js +1 -0
  47. package/dist/chunks/index-BlRNICIU.js +1 -0
  48. package/dist/chunks/index-CSn2VnHN.js +1 -0
  49. package/dist/chunks/index-Cp5_a_ei.js +329 -0
  50. package/dist/chunks/index-Cu-DpEFM.js +1 -0
  51. package/dist/chunks/index-DTEtqjQF.d.ts +15 -0
  52. package/dist/chunks/index-DoKSSg_l.js +1 -0
  53. package/dist/chunks/index-DwlJg2um.d.ts +187 -0
  54. package/dist/chunks/index-IcMN_Zy_.js +1 -0
  55. package/dist/chunks/index-Nf3nZ9O3.d.ts +16 -0
  56. package/dist/chunks/index-_XIb963s.js +1 -0
  57. package/dist/chunks/index-mf2T4jWX.js +1 -0
  58. package/dist/chunks/index-ov4Ad6vl.d.ts +55 -0
  59. package/dist/chunks/index-xi0bxKot.js +341 -0
  60. package/dist/chunks/index.d-k8r5vUZn.d.ts +3353 -0
  61. package/dist/chunks/index.d-yyTprZdj.d.ts +84 -0
  62. package/dist/chunks/isBefore-DBi1CiNR.js +1 -0
  63. package/dist/chunks/keyed-c1C5T7e_.js +1 -0
  64. package/dist/chunks/lit-element-B5-nYi7k.js +1 -0
  65. package/dist/chunks/localized-decorator-BlOuLhym.js +1 -0
  66. package/dist/chunks/login-token-task-KxmMdqVo.js +1 -0
  67. package/dist/chunks/mq-chat-room-CwN_aR5x.js +1 -0
  68. package/dist/chunks/mq-chat-room-D2O_3Zur.d.ts +292 -0
  69. package/dist/chunks/mq-layout-D8Mak16a.d.ts +21 -0
  70. package/dist/chunks/mq-layout-qMP-lpxw.js +1 -0
  71. package/dist/chunks/mq-next-appointments-CZ1eKA8t.js +1 -0
  72. package/dist/chunks/mq-professional-presence-sync-Cw8kVtpC.d.ts +22 -0
  73. package/dist/chunks/mq-recent-documents-C2_iUYKT.js +1 -0
  74. package/dist/chunks/mq-schedule-9rEQK6SJ.js +1 -0
  75. package/dist/chunks/mq-support-chat-DWz3EZ9j.js +1 -0
  76. package/dist/chunks/mq-unread-count-sync-BviIsMJy.d.ts +22 -0
  77. package/dist/chunks/mq-videocall-CcRWCujw.js +870 -0
  78. package/dist/chunks/mutation-controller-CR2qcqhH.js +1 -0
  79. package/dist/chunks/next-appointment-card-DMCNzLUc.js +1 -0
  80. package/dist/chunks/next-appointment-card-Dhu45fRq.d.ts +123 -0
  81. package/dist/chunks/parseISO-CEksKisk.js +1 -0
  82. package/dist/chunks/price-DU3YLTpk.js +1 -0
  83. package/dist/chunks/price.d-CwLosdAN.d.ts +10 -0
  84. package/dist/chunks/professional-overview-QVHl_ITk.d.ts +26 -0
  85. package/dist/chunks/professional-overview-yVZgXRCU.js +1 -0
  86. package/dist/chunks/property-C1CmBSnw.js +1 -0
  87. package/dist/chunks/provide-BwI4DDGF.js +1 -0
  88. package/dist/chunks/pt_PT-D1CvMEpH.js +1 -0
  89. package/dist/chunks/query-CeeutdfT.js +1 -0
  90. package/dist/chunks/query-controller-B1byDHlF.js +1 -0
  91. package/dist/chunks/refund-cancel-policy-DoMzcLlL.js +1 -0
  92. package/dist/chunks/runtime-Bg1WXVCx.js +1 -0
  93. package/dist/chunks/schemas.d-b6_AekBb.d.ts +145 -0
  94. package/dist/chunks/state-Br45Av8Z.js +1 -0
  95. package/dist/chunks/style-map-MoXKugLp.js +1 -0
  96. package/dist/chunks/task-BYPV1iNw.js +1 -0
  97. package/dist/chunks/telemetry-client-DA2_SZBC.js +1 -0
  98. package/dist/env.d.ts +21 -0
  99. package/dist/env.js +1 -0
  100. package/dist/events.d.ts +134 -0
  101. package/dist/events.js +1 -0
  102. package/dist/i18n.d.ts +11 -0
  103. package/dist/i18n.js +1 -0
  104. package/dist/index.d.ts +5 -0
  105. package/dist/index.js +1 -0
  106. package/dist/mq-api-client-provider.d.ts +39 -0
  107. package/dist/mq-api-client-provider.js +1 -0
  108. package/dist/mq-apple-pay-checkout.d.ts +94 -0
  109. package/dist/mq-apple-pay-checkout.js +1 -0
  110. package/dist/mq-appointment-checkout.d.ts +65 -0
  111. package/dist/mq-appointment-checkout.js +1 -0
  112. package/dist/mq-appointment-documentation.d.ts +59 -0
  113. package/dist/mq-appointment-documentation.js +1 -0
  114. package/dist/mq-chat-room.d.ts +23 -0
  115. package/dist/mq-chat-room.js +1 -0
  116. package/dist/mq-checkout.d.ts +111 -0
  117. package/dist/mq-checkout.js +1 -0
  118. package/dist/mq-dashboard.d.ts +96 -0
  119. package/dist/mq-dashboard.js +1 -0
  120. package/dist/mq-documents.d.ts +96 -0
  121. package/dist/mq-documents.js +1 -0
  122. package/dist/mq-google-pay-checkout.d.ts +129 -0
  123. package/dist/mq-google-pay-checkout.js +1 -0
  124. package/dist/mq-immediate-videocall-checkout.d.ts +51 -0
  125. package/dist/mq-immediate-videocall-checkout.js +1 -0
  126. package/dist/mq-my-appointments.d.ts +172 -0
  127. package/dist/mq-my-appointments.js +1 -0
  128. package/dist/mq-next-appointments.d.ts +59 -0
  129. package/dist/mq-next-appointments.js +1 -0
  130. package/dist/mq-payment-poller.d.ts +71 -0
  131. package/dist/mq-payment-poller.js +1 -0
  132. package/dist/mq-professional-presence-sync.d.ts +32 -0
  133. package/dist/mq-professional-presence-sync.js +1 -0
  134. package/dist/mq-query-client-provider.d.ts +20 -0
  135. package/dist/mq-query-client-provider.js +1 -0
  136. package/dist/mq-recent-documents.d.ts +49 -0
  137. package/dist/mq-recent-documents.js +1 -0
  138. package/dist/mq-schedule-success.d.ts +100 -0
  139. package/dist/mq-schedule-success.js +4 -0
  140. package/dist/mq-schedule.d.ts +812 -0
  141. package/dist/mq-schedule.js +1 -0
  142. package/dist/mq-session-provider.d.ts +28 -0
  143. package/dist/mq-session-provider.js +1 -0
  144. package/dist/mq-socket-provider.d.ts +103 -0
  145. package/dist/mq-socket-provider.js +1 -0
  146. package/dist/mq-support-chat.d.ts +97 -0
  147. package/dist/mq-support-chat.js +1 -0
  148. package/dist/mq-terms-and-conditions.d.ts +27 -0
  149. package/dist/mq-terms-and-conditions.js +1 -0
  150. package/dist/mq-theme-provider.d.ts +33 -0
  151. package/dist/mq-theme-provider.js +1 -0
  152. package/dist/mq-unread-count-sync.d.ts +24 -0
  153. package/dist/mq-unread-count-sync.js +1 -0
  154. package/dist/mq-videocall.d.ts +698 -0
  155. package/dist/mq-videocall.js +1 -0
  156. package/dist/react/mq-api-client-provider.d.ts +26 -0
  157. package/dist/react/mq-api-client-provider.js +2 -0
  158. package/dist/react/mq-apple-pay-checkout.d.ts +35 -0
  159. package/dist/react/mq-apple-pay-checkout.js +2 -0
  160. package/dist/react/mq-appointment-checkout.d.ts +39 -0
  161. package/dist/react/mq-appointment-checkout.js +2 -0
  162. package/dist/react/mq-appointment-documentation.d.ts +43 -0
  163. package/dist/react/mq-appointment-documentation.js +2 -0
  164. package/dist/react/mq-chat-room.d.ts +47 -0
  165. package/dist/react/mq-chat-room.js +2 -0
  166. package/dist/react/mq-checkout.d.ts +38 -0
  167. package/dist/react/mq-checkout.js +2 -0
  168. package/dist/react/mq-dashboard.d.ts +62 -0
  169. package/dist/react/mq-dashboard.js +2 -0
  170. package/dist/react/mq-documents-page.d.ts +35 -0
  171. package/dist/react/mq-documents-page.js +2 -0
  172. package/dist/react/mq-documents.d.ts +32 -0
  173. package/dist/react/mq-documents.js +2 -0
  174. package/dist/react/mq-google-pay-checkout.d.ts +40 -0
  175. package/dist/react/mq-google-pay-checkout.js +2 -0
  176. package/dist/react/mq-immediate-videocall-checkout.d.ts +31 -0
  177. package/dist/react/mq-immediate-videocall-checkout.js +2 -0
  178. package/dist/react/mq-my-appointments.d.ts +51 -0
  179. package/dist/react/mq-my-appointments.js +2 -0
  180. package/dist/react/mq-next-appointments.d.ts +43 -0
  181. package/dist/react/mq-next-appointments.js +2 -0
  182. package/dist/react/mq-payment-poller.d.ts +37 -0
  183. package/dist/react/mq-payment-poller.js +2 -0
  184. package/dist/react/mq-professional-presence-sync.d.ts +13 -0
  185. package/dist/react/mq-professional-presence-sync.js +2 -0
  186. package/dist/react/mq-query-client-provider.d.ts +24 -0
  187. package/dist/react/mq-query-client-provider.js +2 -0
  188. package/dist/react/mq-recent-documents.d.ts +32 -0
  189. package/dist/react/mq-recent-documents.js +2 -0
  190. package/dist/react/mq-schedule-success.d.ts +54 -0
  191. package/dist/react/mq-schedule-success.js +2 -0
  192. package/dist/react/mq-schedule.d.ts +70 -0
  193. package/dist/react/mq-schedule.js +2 -0
  194. package/dist/react/mq-session-provider.d.ts +19 -0
  195. package/dist/react/mq-session-provider.js +2 -0
  196. package/dist/react/mq-socket-provider.d.ts +20 -0
  197. package/dist/react/mq-socket-provider.js +2 -0
  198. package/dist/react/mq-support-chat.d.ts +50 -0
  199. package/dist/react/mq-support-chat.js +2 -0
  200. package/dist/react/mq-terms-and-conditions.d.ts +34 -0
  201. package/dist/react/mq-terms-and-conditions.js +2 -0
  202. package/dist/react/mq-theme-provider.d.ts +19 -0
  203. package/dist/react/mq-theme-provider.js +2 -0
  204. package/dist/react/mq-toast-container.d.ts +17 -0
  205. package/dist/react/mq-toast-container.js +2 -0
  206. package/dist/react/mq-unread-count-sync.d.ts +13 -0
  207. package/dist/react/mq-unread-count-sync.js +2 -0
  208. package/dist/react/mq-videocall.d.ts +76 -0
  209. package/dist/react/mq-videocall.js +2 -0
  210. package/dist/theme.d.ts +218 -0
  211. package/dist/theme.js +11 -0
  212. package/dist/toast.d.ts +4 -0
  213. package/dist/toast.js +1 -0
  214. package/dist/ui/back-link.d.ts +24 -0
  215. package/dist/ui/back-link.js +1 -0
  216. package/dist/ui/icons/alert-circle-icon.d.ts +6 -0
  217. package/dist/ui/icons/alert-circle-icon.js +1 -0
  218. package/dist/ui/icons/annotation-question-icon.d.ts +6 -0
  219. package/dist/ui/icons/annotation-question-icon.js +1 -0
  220. package/dist/ui/icons/arrow-narrow-left-icon.d.ts +6 -0
  221. package/dist/ui/icons/arrow-narrow-left-icon.js +1 -0
  222. package/dist/ui/icons/arrow-right-icon.d.ts +6 -0
  223. package/dist/ui/icons/arrow-right-icon.js +1 -0
  224. package/dist/ui/icons/briefcase-icon.d.ts +6 -0
  225. package/dist/ui/icons/briefcase-icon.js +1 -0
  226. package/dist/ui/icons/calendar-icon.d.ts +6 -0
  227. package/dist/ui/icons/calendar-icon.js +1 -0
  228. package/dist/ui/icons/chat-bubble-icon.d.ts +6 -0
  229. package/dist/ui/icons/chat-bubble-icon.js +1 -0
  230. package/dist/ui/icons/check-circle-icon.d.ts +6 -0
  231. package/dist/ui/icons/check-circle-icon.js +1 -0
  232. package/dist/ui/icons/check-double-icon.d.ts +6 -0
  233. package/dist/ui/icons/check-double-icon.js +1 -0
  234. package/dist/ui/icons/check-icon.d.ts +6 -0
  235. package/dist/ui/icons/check-icon.js +1 -0
  236. package/dist/ui/icons/chevron-down-icon.d.ts +6 -0
  237. package/dist/ui/icons/chevron-down-icon.js +1 -0
  238. package/dist/ui/icons/chevron-left-icon.d.ts +6 -0
  239. package/dist/ui/icons/chevron-left-icon.js +1 -0
  240. package/dist/ui/icons/chevron-right-icon.d.ts +6 -0
  241. package/dist/ui/icons/chevron-right-icon.js +1 -0
  242. package/dist/ui/icons/clock-icon.d.ts +6 -0
  243. package/dist/ui/icons/clock-icon.js +1 -0
  244. package/dist/ui/icons/dots-horizontal-icon.d.ts +6 -0
  245. package/dist/ui/icons/dots-horizontal-icon.js +1 -0
  246. package/dist/ui/icons/download-02-icon.d.ts +6 -0
  247. package/dist/ui/icons/download-02-icon.js +1 -0
  248. package/dist/ui/icons/download-icon.d.ts +6 -0
  249. package/dist/ui/icons/download-icon.js +1 -0
  250. package/dist/ui/icons/file-icon.d.ts +6 -0
  251. package/dist/ui/icons/file-icon.js +1 -0
  252. package/dist/ui/icons/heartbeat-icon.d.ts +5 -0
  253. package/dist/ui/icons/heartbeat-icon.js +1 -0
  254. package/dist/ui/icons/help-circle-icon.d.ts +6 -0
  255. package/dist/ui/icons/help-circle-icon.js +1 -0
  256. package/dist/ui/icons/info-circle-outine-icon.d.ts +6 -0
  257. package/dist/ui/icons/info-circle-outine-icon.js +1 -0
  258. package/dist/ui/icons/message-bubble-icon.d.ts +6 -0
  259. package/dist/ui/icons/message-bubble-icon.js +1 -0
  260. package/dist/ui/icons/message-square-icon.d.ts +6 -0
  261. package/dist/ui/icons/message-square-icon.js +1 -0
  262. package/dist/ui/icons/mic-icon.d.ts +6 -0
  263. package/dist/ui/icons/mic-icon.js +1 -0
  264. package/dist/ui/icons/mic-off-icon.d.ts +6 -0
  265. package/dist/ui/icons/mic-off-icon.js +1 -0
  266. package/dist/ui/icons/phone-icon.d.ts +6 -0
  267. package/dist/ui/icons/phone-icon.js +1 -0
  268. package/dist/ui/icons/refresh-ccw-icon.d.ts +7 -0
  269. package/dist/ui/icons/refresh-ccw-icon.js +1 -0
  270. package/dist/ui/icons/refresh-icon.d.ts +6 -0
  271. package/dist/ui/icons/refresh-icon.js +1 -0
  272. package/dist/ui/icons/settings-icon.d.ts +6 -0
  273. package/dist/ui/icons/settings-icon.js +1 -0
  274. package/dist/ui/icons/spinner-icon.d.ts +6 -0
  275. package/dist/ui/icons/spinner-icon.js +1 -0
  276. package/dist/ui/icons/tag-icon.d.ts +6 -0
  277. package/dist/ui/icons/tag-icon.js +1 -0
  278. package/dist/ui/icons/time-left-icon.d.ts +5 -0
  279. package/dist/ui/icons/time-left-icon.js +1 -0
  280. package/dist/ui/icons/types.d.ts +10 -0
  281. package/dist/ui/icons/types.js +1 -0
  282. package/dist/ui/icons/upload-icon.d.ts +6 -0
  283. package/dist/ui/icons/upload-icon.js +1 -0
  284. package/dist/ui/icons/video-icon.d.ts +6 -0
  285. package/dist/ui/icons/video-icon.js +1 -0
  286. package/dist/ui/icons/video-off-icon.d.ts +6 -0
  287. package/dist/ui/icons/video-off-icon.js +1 -0
  288. package/dist/ui/icons/volume-icon.d.ts +6 -0
  289. package/dist/ui/icons/volume-icon.js +1 -0
  290. package/dist/ui/icons/x-icon.d.ts +6 -0
  291. package/dist/ui/icons/x-icon.js +1 -0
  292. package/dist/ui/mq-avatar.d.ts +37 -0
  293. package/dist/ui/mq-avatar.js +1 -0
  294. package/dist/ui/mq-badge.d.ts +18 -0
  295. package/dist/ui/mq-badge.js +4 -0
  296. package/dist/ui/mq-button.d.ts +37 -0
  297. package/dist/ui/mq-button.js +1 -0
  298. package/dist/ui/mq-calendar.d.ts +68 -0
  299. package/dist/ui/mq-calendar.js +1 -0
  300. package/dist/ui/mq-callout.d.ts +23 -0
  301. package/dist/ui/mq-callout.js +1 -0
  302. package/dist/ui/mq-card.d.ts +18 -0
  303. package/dist/ui/mq-card.js +1 -0
  304. package/dist/ui/mq-checkbox.d.ts +41 -0
  305. package/dist/ui/mq-checkbox.js +1 -0
  306. package/dist/ui/mq-clamped-text.d.ts +46 -0
  307. package/dist/ui/mq-clamped-text.js +1 -0
  308. package/dist/ui/mq-dialog.d.ts +98 -0
  309. package/dist/ui/mq-dialog.js +1 -0
  310. package/dist/ui/mq-floating-bubble.d.ts +42 -0
  311. package/dist/ui/mq-floating-bubble.js +1 -0
  312. package/dist/ui/mq-input.d.ts +42 -0
  313. package/dist/ui/mq-input.js +1 -0
  314. package/dist/ui/mq-page-title.d.ts +31 -0
  315. package/dist/ui/mq-page-title.js +1 -0
  316. package/dist/ui/mq-rating.d.ts +30 -0
  317. package/dist/ui/mq-rating.js +1 -0
  318. package/dist/ui/mq-select.d.ts +83 -0
  319. package/dist/ui/mq-select.js +1 -0
  320. package/dist/ui/mq-skeleton.d.ts +18 -0
  321. package/dist/ui/mq-skeleton.js +1 -0
  322. package/dist/ui/mq-tabs.d.ts +76 -0
  323. package/dist/ui/mq-tabs.js +106 -0
  324. package/dist/ui/mq-text-button.d.ts +39 -0
  325. package/dist/ui/mq-text-button.js +1 -0
  326. package/dist/ui/mq-textarea.d.ts +38 -0
  327. package/dist/ui/mq-textarea.js +1 -0
  328. package/dist/ui/mq-time-slot-picker.d.ts +85 -0
  329. package/dist/ui/mq-time-slot-picker.js +1 -0
  330. package/dist/ui/mq-toast.d.ts +20 -0
  331. package/dist/ui/mq-toast.js +1 -0
  332. package/dist/ui/mq-unread-badge.d.ts +15 -0
  333. package/dist/ui/mq-unread-badge.js +1 -0
  334. package/package.json +247 -0
@@ -0,0 +1,329 @@
1
+ import{e as t,t as e}from"./custom-element-CiOhPWP1-DPpsGZrV.js";import{T as n,r as o,i,b as s,a as r,x as a}from"./lit-element-B5-nYi7k.js";import{n as c}from"./property-C1CmBSnw.js";import{r as l}from"./state-Br45Av8Z.js";import{e as h,i as d,t as u}from"./directive-DrycXrFV.js";import{p as f,v as p,s as m,M as g,m as v}from"./directive-helpers-m2qHStQ1.js";import{o as y}from"./style-map-MoXKugLp.js";const w=(t,e,n)=>{const o=new Map;for(let i=e;i<=n;i++)o.set(t[i],i);return o},x=h(class extends d{constructor(t){if(super(t),t.type!==u.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,n){let o;void 0===n?n=e:void 0!==e&&(o=e);const i=[],s=[];let r=0;for(const e of t)i[r]=o?o(e,r):r,s[r]=n(e,r),r++;return{values:s,keys:i}}render(t,e,n){return this.dt(t,e,n).values}update(t,[e,o,i]){const s=f(t),{values:r,keys:a}=this.dt(e,o,i);if(!Array.isArray(s))return this.ut=a,r;const c=this.ut??=[],l=[];let h,d,u=0,y=s.length-1,x=0,b=r.length-1;for(;u<=y&&x<=b;)if(null===s[u])u++;else if(null===s[y])y--;else if(c[u]===a[x])l[x]=p(s[u],r[x]),u++,x++;else if(c[y]===a[b])l[b]=p(s[y],r[b]),y--,b--;else if(c[u]===a[b])l[b]=p(s[u],r[b]),m(t,l[b+1],s[u]),u++,b--;else if(c[y]===a[x])l[x]=p(s[y],r[x]),m(t,s[u],s[y]),y--,x++;else if(void 0===h&&(h=w(a,x,b),d=w(c,u,y)),h.has(c[u]))if(h.has(c[y])){const e=d.get(a[x]),n=void 0!==e?s[e]:null;if(null===n){const e=m(t,s[u]);p(e,r[x]),l[x]=e}else l[x]=p(n,r[x]),m(t,s[u],n),s[e]=null;x++}else g(s[y]),y--;else g(s[u]),u++;for(;x<=b;){const e=m(t,l[b+1]);p(e,r[x]),l[x++]=e}for(;u<=y;){const t=s[u++];null!==t&&g(t)}return this.ut=a,v(t,l),n}}),b={duration:{150:"150ms",300:"300ms",500:"500ms"}},$={lg:"0.5rem"},T={width:"22.5rem",radius:$.lg,shadow:"0px 8px 16px -2px rgb(10 10 34 / 0.08)",gap:"0.875rem",inset:"1.5rem",insetMobile:"1rem",insetBottomMobile:"4.5rem",infoBg:{900:"#191731"}[900],successBg:"#1B7A3D",errorBg:{700:"#B30135"}[700],enterDuration:b.duration[500],exitDuration:b.duration[300],easing:"cubic-bezier(0.23, 1, 0.32, 1)"},k=Math.min,P=Math.max,A=Math.round,L=Math.floor,E=t=>({x:t,y:t}),S={left:"right",right:"left",bottom:"top",top:"bottom"},R={start:"end",end:"start"};function q(t,e,n){return P(t,k(e,n))}function D(t,e){return"function"==typeof t?t(e):t}function C(t){return t.split("-")[0]}function M(t){return t.split("-")[1]}function O(t){return"x"===t?"y":"x"}function F(t){return"y"===t?"height":"width"}const B=new Set(["top","bottom"]);function I(t){return B.has(C(t))?"y":"x"}function _(t){return O(I(t))}function z(t){return t.replace(/start|end/g,t=>R[t])}const H=["left","right"],N=["right","left"],W=["top","bottom"],V=["bottom","top"];function Y(t,e,n,o){const i=M(t);let s=function(t,e,n){switch(t){case"top":case"bottom":return n?e?N:H:e?H:N;case"left":case"right":return e?W:V;default:return[]}}(C(t),"start"===n,o);return i&&(s=s.map(t=>t+"-"+i),e&&(s=s.concat(s.map(z)))),s}function j(t){return t.replace(/left|right|bottom|top/g,t=>S[t])}function U(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function X(t,e,n){let{reference:o,floating:i}=t;const s=I(e),r=_(e),a=F(r),c=C(e),l="y"===s,h=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,u=o[a]/2-i[a]/2;let f;switch(c){case"top":f={x:h,y:o.y-i.height};break;case"bottom":f={x:h,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-i.width,y:d};break;default:f={x:o.x,y:o.y}}switch(M(e)){case"start":f[r]-=u*(n&&l?-1:1);break;case"end":f[r]+=u*(n&&l?-1:1)}return f}async function K(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:s,rects:r,elements:a,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:u=!1,padding:f=0}=D(e,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(f),m=a[u?"floating"===d?"reference":"floating":d],g=U(await s.getClippingRect({element:null==(n=await(null==s.isElement?void 0:s.isElement(m)))||n?m:m.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:h,strategy:c})),v="floating"===d?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,y=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),w=await(null==s.isElement?void 0:s.isElement(y))&&await(null==s.getScale?void 0:s.getScale(y))||{x:1,y:1},x=U(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:c}):v);return{top:(g.top-x.top+p.top)/w.y,bottom:(x.bottom-g.bottom+p.bottom)/w.y,left:(g.left-x.left+p.left)/w.x,right:(x.right-g.right+p.right)/w.x}}const G=new Set(["left","top"]);function J(){return"undefined"!=typeof window}function Q(t){return et(t)?(t.nodeName||"").toLowerCase():"#document"}function Z(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function tt(t){var e;return null==(e=(et(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function et(t){return!!J()&&(t instanceof Node||t instanceof Z(t).Node)}function nt(t){return!!J()&&(t instanceof Element||t instanceof Z(t).Element)}function ot(t){return!!J()&&(t instanceof HTMLElement||t instanceof Z(t).HTMLElement)}function it(t){return!(!J()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof Z(t).ShadowRoot)}const st=new Set(["inline","contents"]);function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!st.has(i)}const at=new Set(["table","td","th"]);function ct(t){return at.has(Q(t))}const lt=[":popover-open",":modal"];function ht(t){return lt.some(e=>{try{return t.matches(e)}catch(t){return!1}})}const dt=["transform","translate","scale","rotate","perspective"],ut=["transform","translate","scale","rotate","perspective","filter"],ft=["paint","layout","strict","content"];function pt(t){const e=mt(),n=nt(t)?yt(t):t;return dt.some(t=>!!n[t]&&"none"!==n[t])||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||ut.some(t=>(n.willChange||"").includes(t))||ft.some(t=>(n.contain||"").includes(t))}function mt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const gt=new Set(["html","body","#document"]);function vt(t){return gt.has(Q(t))}function yt(t){return Z(t).getComputedStyle(t)}function wt(t){return nt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function xt(t){if("html"===Q(t))return t;const e=t.assignedSlot||t.parentNode||it(t)&&t.host||tt(t);return it(e)?e.host:e}function bt(t){const e=xt(t);return vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:ot(e)&&rt(e)?e:bt(e)}function $t(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=bt(t),s=i===(null==(o=t.ownerDocument)?void 0:o.body),r=Z(i);if(s){const t=Tt(r);return e.concat(r,r.visualViewport||[],rt(i)?i:[],t&&n?$t(t):[])}return e.concat(i,$t(i,[],n))}function Tt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function kt(t){const e=yt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=ot(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,a=A(n)!==s||A(o)!==r;return a&&(n=s,o=r),{width:n,height:o,$:a}}function Pt(t){return nt(t)?t:t.contextElement}function At(t){const e=Pt(t);if(!ot(e))return E(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=kt(e);let r=(s?A(n.width):n.width)/o,a=(s?A(n.height):n.height)/i;return r&&Number.isFinite(r)||(r=1),a&&Number.isFinite(a)||(a=1),{x:r,y:a}}const Lt=E(0);function Et(t){const e=Z(t);return mt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Lt}function St(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),s=Pt(t);let r=E(1);e&&(o?nt(o)&&(r=At(o)):r=At(t));const a=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==Z(t))&&e}(s,n,o)?Et(s):E(0);let c=(i.left+a.x)/r.x,l=(i.top+a.y)/r.y,h=i.width/r.x,d=i.height/r.y;if(s){const t=Z(s),e=o&&nt(o)?Z(o):o;let n=t,i=Tt(n);for(;i&&o&&e!==n;){const t=At(i),e=i.getBoundingClientRect(),o=yt(i),s=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,r=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;c*=t.x,l*=t.y,h*=t.x,d*=t.y,c+=s,l+=r,n=Z(i),i=Tt(n)}}return U({width:h,height:d,x:c,y:l})}function Rt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:St(tt(t)).left+n}function qt(t,e,n){void 0===n&&(n=!1);const o=t.getBoundingClientRect();return{x:o.left+e.scrollLeft-(n?0:Rt(t,o)),y:o.top+e.scrollTop}}const Dt=new Set(["absolute","fixed"]);function Ct(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=Z(t),o=tt(t),i=n.visualViewport;let s=o.clientWidth,r=o.clientHeight,a=0,c=0;if(i){s=i.width,r=i.height;const t=mt();(!t||t&&"fixed"===e)&&(a=i.offsetLeft,c=i.offsetTop)}return{width:s,height:r,x:a,y:c}}(t,n);else if("document"===e)o=function(t){const e=tt(t),n=wt(t),o=t.ownerDocument.body,i=P(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=P(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let r=-n.scrollLeft+Rt(t);const a=-n.scrollTop;return"rtl"===yt(o).direction&&(r+=P(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:a}}(tt(t));else if(nt(e))o=function(t,e){const n=St(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=ot(t)?At(t):E(1);return{width:t.clientWidth*s.x,height:t.clientHeight*s.y,x:i*s.x,y:o*s.y}}(e,n);else{const n=Et(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return U(o)}function Mt(t,e){const n=xt(t);return!(n===e||!nt(n)||vt(n))&&("fixed"===yt(n).position||Mt(n,e))}function Ot(t,e,n){const o=ot(e),i=tt(e),s="fixed"===n,r=St(t,!0,s,e);let a={scrollLeft:0,scrollTop:0};const c=E(0);function l(){c.x=Rt(i)}if(o||!o&&!s)if(("body"!==Q(e)||rt(i))&&(a=wt(e)),o){const t=St(e,!0,s,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&l();s&&!o&&i&&l();const h=!i||o||s?E(0):qt(i,a);return{x:r.left+a.scrollLeft-c.x-h.x,y:r.top+a.scrollTop-c.y-h.y,width:r.width,height:r.height}}function Ft(t){return"static"===yt(t).position}function Bt(t,e){if(!ot(t)||"fixed"===yt(t).position)return null;if(e)return e(t);let n=t.offsetParent;return tt(t)===n&&(n=n.ownerDocument.body),n}function It(t,e){const n=Z(t);if(ht(t))return n;if(!ot(t)){let e=xt(t);for(;e&&!vt(e);){if(nt(e)&&!Ft(e))return e;e=xt(e)}return n}let o=Bt(t,e);for(;o&&ct(o)&&Ft(o);)o=Bt(o,e);return o&&vt(o)&&Ft(o)&&!pt(o)?n:o||function(t){let e=xt(t);for(;ot(e)&&!vt(e);){if(pt(e))return e;if(ht(e))return null;e=xt(e)}return null}(t)||n}const _t={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s="fixed"===i,r=tt(o),a=!!e&&ht(e.floating);if(o===r||a&&s)return n;let c={scrollLeft:0,scrollTop:0},l=E(1);const h=E(0),d=ot(o);if((d||!d&&!s)&&(("body"!==Q(o)||rt(r))&&(c=wt(o)),ot(o))){const t=St(o);l=At(o),h.x=t.x+o.clientLeft,h.y=t.y+o.clientTop}const u=!r||d||s?E(0):qt(r,c,!0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+h.x+u.x,y:n.y*l.y-c.scrollTop*l.y+h.y+u.y}},getDocumentElement:tt,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[..."clippingAncestors"===n?ht(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let o=$t(t,[],!1).filter(t=>nt(t)&&"body"!==Q(t)),i=null;const s="fixed"===yt(t).position;let r=s?xt(t):t;for(;nt(r)&&!vt(r);){const e=yt(r),n=pt(r);n||"fixed"!==e.position||(i=null),(s?!n&&!i:!n&&"static"===e.position&&i&&Dt.has(i.position)||rt(r)&&!n&&Mt(t,r))?o=o.filter(t=>t!==r):i=e,r=xt(r)}return e.set(t,o),o}(e,this._c):[].concat(n),o],r=s[0],a=s.reduce((t,n)=>{const o=Ct(e,n,i);return t.top=P(o.top,t.top),t.right=k(o.right,t.right),t.bottom=k(o.bottom,t.bottom),t.left=P(o.left,t.left),t},Ct(e,r,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:It,getElementRects:async function(t){const e=this.getOffsetParent||It,n=this.getDimensions,o=await n(t.floating);return{reference:Ot(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=kt(t);return{width:e,height:n}},getScale:At,isElement:nt,isRTL:function(t){return"rtl"===yt(t).direction}};function zt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ht(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,l=Pt(t),h=i||s?[...l?$t(l):[],...$t(e)]:[];h.forEach(t=>{i&&t.addEventListener("scroll",n,{passive:!0}),s&&t.addEventListener("resize",n)});const d=l&&a?function(t,e){let n,o=null;const i=tt(t);function s(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function r(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),s();const l=t.getBoundingClientRect(),{left:h,top:d,width:u,height:f}=l;if(a||e(),!u||!f)return;const p={rootMargin:-L(d)+"px "+-L(i.clientWidth-(h+u))+"px "+-L(i.clientHeight-(d+f))+"px "+-L(h)+"px",threshold:P(0,k(1,c))||1};let m=!0;function g(e){const o=e[0].intersectionRatio;if(o!==c){if(!m)return r();o?r(!1,o):n=setTimeout(()=>{r(!1,1e-7)},1e3)}1!==o||zt(l,t.getBoundingClientRect())||r(),m=!1}try{o=new IntersectionObserver(g,{...p,root:i.ownerDocument})}catch(t){o=new IntersectionObserver(g,p)}o.observe(t)}(!0),s}(l,n):null;let u,f=-1,p=null;r&&(p=new ResizeObserver(t=>{let[o]=t;o&&o.target===l&&p&&(p.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var t;null==(t=p)||t.observe(e)})),n()}),l&&!c&&p.observe(l),p.observe(e));let m=c?St(t):null;return c&&function e(){const o=St(t);m&&!zt(m,o)&&n();m=o,u=requestAnimationFrame(e)}(),n(),()=>{var t;h.forEach(t=>{i&&t.removeEventListener("scroll",n),s&&t.removeEventListener("resize",n)}),null==d||d(),null==(t=p)||t.disconnect(),p=null,c&&cancelAnimationFrame(u)}}const Nt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:r,middlewareData:a}=e,c=await async function(t,e){const{placement:n,platform:o,elements:i}=t,s=await(null==o.isRTL?void 0:o.isRTL(i.floating)),r=C(n),a=M(n),c="y"===I(n),l=G.has(r)?-1:1,h=s&&c?-1:1,d=D(e,t);let{mainAxis:u,crossAxis:f,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof p&&(f="end"===a?-1*p:p),c?{x:f*h,y:u*l}:{x:u*l,y:f*h}}(e,t);return r===(null==(n=a.offset)?void 0:n.placement)&&null!=(o=a.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:s+c.y,data:{...c,placement:r}}}}},Wt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=D(t,e),l={x:n,y:o},h=await K(e,c),d=I(C(i)),u=O(d);let f=l[u],p=l[d];if(s){const t="y"===u?"bottom":"right";f=q(f+h["y"===u?"top":"left"],f,f-h[t])}if(r){const t="y"===d?"bottom":"right";p=q(p+h["y"===d?"top":"left"],p,p-h[t])}const m=a.fn({...e,[u]:f,[d]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[u]:s,[d]:r}}}}}},Vt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:r,initialPlacement:a,platform:c,elements:l}=e,{mainAxis:h=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=D(t,e);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const v=C(i),y=I(a),w=C(a)===a,x=await(null==c.isRTL?void 0:c.isRTL(l.floating)),b=u||(w||!m?[j(a)]:function(t){const e=j(t);return[z(t),e,z(e)]}(a)),$="none"!==p;!u&&$&&b.push(...Y(a,m,p,x));const T=[a,...b],k=await K(e,g),P=[];let A=(null==(o=s.flip)?void 0:o.overflows)||[];if(h&&P.push(k[v]),d){const t=function(t,e,n){void 0===n&&(n=!1);const o=M(t),i=_(t),s=F(i);let r="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=j(r)),[r,j(r)]}(i,r,x);P.push(k[t[0]],k[t[1]])}if(A=[...A,{placement:i,overflows:P}],!P.every(t=>t<=0)){var L,E;const t=((null==(L=s.flip)?void 0:L.index)||0)+1,e=T[t];if(e){if(!("alignment"===d&&y!==I(e))||A.every(t=>t.overflows[0]>0&&I(t.placement)===y))return{data:{index:t,overflows:A},reset:{placement:e}}}let n=null==(E=A.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:E.placement;if(!n)switch(f){case"bestFit":{var S;const t=null==(S=A.filter(t=>{if($){const e=I(t.placement);return e===y||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:S[0];t&&(n=t);break}case"initialPlacement":n=a}if(i!==n)return{reset:{placement:n}}}return{}}}},Yt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:r,elements:a}=e,{apply:c=()=>{},...l}=D(t,e),h=await K(e,l),d=C(i),u=M(i),f="y"===I(i),{width:p,height:m}=s.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=u===(await(null==r.isRTL?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,g="end"===u?"top":"bottom");const y=m-h.top-h.bottom,w=p-h.left-h.right,x=k(m-h[g],y),b=k(p-h[v],w),$=!e.middlewareData.shift;let T=x,A=b;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(A=w),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(T=y),$&&!u){const t=P(h.left,0),e=P(h.right,0),n=P(h.top,0),o=P(h.bottom,0);f?A=p-2*(0!==t||0!==e?t+e:P(h.left,h.right)):T=m-2*(0!==n||0!==o?n+o:P(h.top,h.bottom))}await c({...e,availableWidth:A,availableHeight:T});const L=await r.getDimensions(a.floating);return p!==L.width||m!==L.height?{reset:{rects:!0}}:{}}}},jt=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:s,middlewareData:r}=e,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=D(t,e),h={x:n,y:o},d=I(i),u=O(d);let f=h[u],p=h[d];const m=D(a,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const t="y"===u?"height":"width",e=s.reference[u]-s.floating[t]+g.mainAxis,n=s.reference[u]+s.reference[t]-g.mainAxis;f<e?f=e:f>n&&(f=n)}if(l){var v,y;const t="y"===u?"width":"height",e=G.has(C(i)),n=s.reference[d]-s.floating[t]+(e&&(null==(v=r.offset)?void 0:v[d])||0)+(e?0:g.crossAxis),o=s.reference[d]+s.reference[t]+(e?0:(null==(y=r.offset)?void 0:y[d])||0)-(e?g.crossAxis:0);p<n?p=n:p>o&&(p=o)}return{[u]:f,[d]:p}}}},Ut=(t,e,n)=>{const o=new Map,i={platform:_t,...n},s={...i.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,a=s.filter(Boolean),c=await(null==r.isRTL?void 0:r.isRTL(e));let l=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:d}=X(l,o,c),u=o,f={},p=0;for(let n=0;n<a.length;n++){const{name:s,fn:m}=a[n],{x:g,y:v,data:y,reset:w}=await m({x:h,y:d,initialPlacement:o,placement:u,strategy:i,middlewareData:f,rects:l,platform:r,elements:{reference:t,floating:e}});h=null!=g?g:h,d=null!=v?v:d,f={...f,[s]:{...f[s],...y}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(u=w.placement),w.rects&&(l=!0===w.rects?await r.getElementRects({reference:t,floating:e,strategy:i}):w.rects),({x:h,y:d}=X(l,u,c))),n=-1)}return{x:h,y:d,placement:u,strategy:i,middlewareData:f}})(t,e,{...i,platform:s})};let Xt=0;function Kt(t){return Xt+=1,`${t}-${Xt}`}function Gt(t){"function"==typeof t.showPopover&&(t.matches(":popover-open")||t.showPopover())}function Jt(t){"function"==typeof t.hidePopover&&t.matches(":popover-open")&&t.hidePopover()}function Qt(t,e,{side:n,align:o,sideOffset:i}){const s="center"===o?n:`${n}-${o}`;let r=()=>{};const a=new Promise(t=>{r=t});return e.style.removeProperty("--mq-popup-available-height"),{placed:a,stop:Ht(t,e,()=>{Ut(t,e,{strategy:"fixed",placement:s,middleware:[Nt(i),Wt({crossAxis:!1,limiter:jt()}),Vt(),Yt({apply({availableHeight:t,rects:n}){e.style.setProperty("--mq-popup-available-height",`${t}px`),e.style.setProperty("--mq-popup-anchor-width",`${n.reference.width}px`)}})]}).then(({x:t,y:n,placement:o})=>{e.style.left=`${t}px`,e.style.top=`${n}px`,e.dataset.side=o.split("-")[0],r()})})}}function Zt(t,e,n){const o=void 0===n?-1:e.indexOf(n);switch(t){case"Home":case"PageUp":return e[0];case"End":case"PageDown":return e[e.length-1];case"ArrowDown":return-1===o?e[0]:e[Math.min(o+1,e.length-1)];case"ArrowUp":return-1===o?e[e.length-1]:e[Math.max(o-1,0)];default:return}}const te=t=>["ArrowDown","ArrowUp","Home","End","PageUp","PageDown"].includes(t),ee=t=>1===t.key.length&&!t.ctrlKey&&!t.metaKey&&!t.altKey;class Typeahead{constructor(){this.search=""}get active(){return""!==this.search}match(t,e,n){this.search+=t,clearTimeout(this.timer),this.timer=setTimeout(()=>{this.search=""},1e3);const o=this.search.length>1&&[...this.search].every(t=>t===this.search[0]),i=(o?this.search[0]:this.search)?.toLowerCase()??"",s=n?Math.max(e.indexOf(n),0):0;let r=[...e.slice(s),...e.slice(0,s)];1===i.length&&(r=r.filter(t=>t!==n));const a=r.find(t=>(t.textContent??"").trim().toLowerCase().startsWith(i));return a===n?void 0:a}reset(){clearTimeout(this.timer),this.search=""}}function ne(t){const e=t?.getAnimations?.()??[];return Promise.all(e.map(t=>t.finished.catch(()=>{})))}function oe(t){const e=t.getRootNode().activeElement;return!!e&&t.contains(e)}const ie=(t,e)=>o(`var(--toast-${t}, ${e})`),se=ie("width",T.width),re=ie("radius",T.radius),ae=ie("shadow",T.shadow),ce=ie("gap",T.gap),le=ie("inset",T.inset),he=ie("inset-mobile",T.insetMobile),de=ie("inset-bottom-mobile",T.insetBottomMobile),ue=ie("info-bg",T.infoBg),fe=ie("success-bg",T.successBg),pe=ie("error-bg",T.errorBg),me=ie("enter-duration",T.enterDuration),ge=ie("exit-duration",T.exitDuration),ve=ie("easing",T.easing),ye=o("var(--mq-color-grey-50, #ffffff)"),we=i`
2
+ /* The toaster: a popover in the top layer, reset from the UA's centred,
3
+ bordered box. Phones: full width over the bottom edge, clear of the chat
4
+ launcher. */
5
+ :host {
6
+ position: fixed;
7
+ inset: auto;
8
+ left: calc(${he} + var(--mq-safe-left, 0px));
9
+ right: calc(${he} + var(--mq-safe-right, 0px));
10
+ bottom: calc(${de} + var(--mq-safe-bottom, 0px));
11
+ /* The UA's popover box fits its content, and the toasts are out of flow. */
12
+ width: auto;
13
+ /* Only matters without the Popover API; the top layer ignores it. */
14
+ z-index: 9999;
15
+ box-sizing: border-box;
16
+ margin: 0;
17
+ padding: 0;
18
+ border: 0;
19
+ background: transparent;
20
+ overflow: visible;
21
+ color: inherit;
22
+ /* Only the toasts take the pointer; the page around them stays usable. */
23
+ pointer-events: none;
24
+ }
25
+
26
+ :host([position^="top"]) {
27
+ top: calc(${he} + var(--mq-safe-top, 0px));
28
+ bottom: auto;
29
+ }
30
+
31
+ @media (min-width: 768px) {
32
+ :host {
33
+ width: ${se};
34
+ max-width: calc(100vw - 2 * ${le});
35
+ left: auto;
36
+ right: auto;
37
+ bottom: calc(${le} + var(--mq-safe-bottom, 0px));
38
+ }
39
+
40
+ :host([position^="top"]) {
41
+ top: calc(${le} + var(--mq-safe-top, 0px));
42
+ }
43
+
44
+ :host([position$="left"]) {
45
+ left: calc(${le} + var(--mq-safe-left, 0px));
46
+ }
47
+
48
+ :host([position$="right"]) {
49
+ right: calc(${le} + var(--mq-safe-right, 0px));
50
+ }
51
+
52
+ :host([position$="center"]) {
53
+ left: 0;
54
+ right: 0;
55
+ margin-inline: auto;
56
+ }
57
+ }
58
+
59
+ /* Sonner's stack. Every toast sits on the anchored edge, the newest in
60
+ front. --_lift points away from the edge, where the stack grows. */
61
+ .stack {
62
+ margin: 0;
63
+ padding: 0;
64
+ list-style: none;
65
+ /* Not laid out as a grid: only here so the toaster can read the gap in px. */
66
+ row-gap: ${ce};
67
+ --_lift: -1;
68
+ }
69
+
70
+ :host([position^="top"]) .stack {
71
+ --_lift: 1;
72
+ }
73
+
74
+ .toast {
75
+ position: absolute;
76
+ left: 0;
77
+ right: 0;
78
+ bottom: 0;
79
+ z-index: var(--z);
80
+ display: flex;
81
+ align-items: center;
82
+ gap: var(--mq-spacing-3, 0.75rem);
83
+ box-sizing: border-box;
84
+ height: var(--height);
85
+ min-height: 3rem;
86
+ margin: 0;
87
+ padding: var(--mq-spacing-3, 0.75rem) var(--mq-spacing-4, 1rem);
88
+ border-radius: ${re};
89
+ background: var(--_bg, ${ue});
90
+ color: ${ye};
91
+ box-shadow: ${ae};
92
+ font-family: var(--mq-typography-family-sans, var(--font-body, inherit));
93
+ font-size: var(--mq-typography-size-sm, 0.875rem);
94
+ font-weight: var(--mq-typography-weight-normal, 400);
95
+ line-height: 1.35;
96
+ pointer-events: auto;
97
+ /* Swiping drags it; the page must not scroll under the finger. */
98
+ touch-action: none;
99
+ transform: var(--_y, none);
100
+ transition-property: transform, translate, scale, opacity, height;
101
+ /* translate only moves for a swipe: a short one eases back as fast as an exit. */
102
+ transition-duration: ${me}, ${ge}, ${me}, ${me}, ${me};
103
+ transition-timing-function: ${ve};
104
+ }
105
+
106
+ :host([position^="top"]) .toast {
107
+ top: 0;
108
+ bottom: auto;
109
+ }
110
+
111
+ .toast.success {
112
+ --_bg: ${fe};
113
+ }
114
+
115
+ .toast.error {
116
+ --_bg: ${pe};
117
+ }
118
+
119
+ .toast > * {
120
+ transition: opacity ${me} ${ve};
121
+ }
122
+
123
+ /* Comes in from the edge, closer and fading in. */
124
+ .toast[data-place="enter"] {
125
+ --_y: translateY(calc(var(--_lift) * -100%));
126
+ scale: 0.9;
127
+ opacity: 0;
128
+ }
129
+
130
+ /* Behind the front one: lifted by the gap, smaller, as tall as the front
131
+ one and with its content hidden, so the stack reads as cards. */
132
+ .toast[data-place="behind"] {
133
+ --_y: translateY(calc(var(--_lift) * ${ce} * var(--index)))
134
+ scale(calc(1 - var(--index) * 0.05));
135
+ height: var(--front-height);
136
+ }
137
+
138
+ .toast[data-place="behind"] > *,
139
+ .toast[data-place="out-behind"] > * {
140
+ opacity: 0;
141
+ }
142
+
143
+ /* Fanned out: every toast at its real height, one gap apart. */
144
+ .toast[data-place="fanned"] {
145
+ --_y: translateY(
146
+ calc(var(--_lift) * (var(--before) + var(--index) * ${ce}))
147
+ );
148
+ }
149
+
150
+ /* Leaving, quicker than coming in: back to the edge, smaller and fading. */
151
+ /* It keeps the pointer while it goes, as Sonner's leaving toasts do: the
152
+ mouse that closed it stays on the stack, which stays fanned out. */
153
+ .toast[data-place^="out-"],
154
+ .toast[data-swipe-out] {
155
+ scale: 0.9;
156
+ opacity: 0;
157
+ transition-duration: ${ge};
158
+ }
159
+
160
+ .toast[data-place="out-front"] {
161
+ --_y: translateY(calc(var(--_lift) * -100%));
162
+ }
163
+
164
+ .toast[data-place="out-fanned"] {
165
+ --_y: translateY(
166
+ calc(var(--_lift) * (var(--before) + var(--index) * ${ce}))
167
+ )
168
+ translateY(calc(var(--_lift) * -100%));
169
+ }
170
+
171
+ /* A back card recedes one more step into the stack as it goes, under the
172
+ newer cards, rather than crossing them. */
173
+ .toast[data-place="out-behind"] {
174
+ --_y: translateY(calc(var(--_lift) * ${ce} * (var(--index) + 1)))
175
+ scale(calc(1 - (var(--index) + 1) * 0.05));
176
+ height: var(--front-height);
177
+ }
178
+
179
+ /* Past the third card: waiting behind, out of sight. */
180
+ .toast[data-hidden] {
181
+ opacity: 0;
182
+ pointer-events: none;
183
+ }
184
+
185
+ .toast[data-swiping] {
186
+ transition: none;
187
+ }
188
+
189
+ /* Fanned out, a bridge over each gap keeps the mouse on the stack. Only
190
+ with a mouse: on touch it would catch taps meant for the page. */
191
+ @media (hover: hover) {
192
+ .stack[data-expanded] .toast::after {
193
+ content: "";
194
+ position: absolute;
195
+ left: 0;
196
+ right: 0;
197
+ bottom: 100%;
198
+ height: calc(${ce} + 1px);
199
+ }
200
+
201
+ :host([position^="top"]) .stack[data-expanded] .toast::after {
202
+ top: 100%;
203
+ bottom: auto;
204
+ }
205
+ }
206
+
207
+ .icon {
208
+ flex-shrink: 0;
209
+ width: var(--mq-size-icon-md, 1.25rem);
210
+ height: var(--mq-size-icon-md, 1.25rem);
211
+ }
212
+
213
+ .message {
214
+ flex: 1;
215
+ min-width: 0;
216
+ overflow-wrap: anywhere;
217
+ }
218
+
219
+ /* MediCore's IconButton, Inverse Ghost. The negative margins keep the toast
220
+ at 48px and the glyph in line with the padding. */
221
+ .close {
222
+ display: inline-flex;
223
+ flex-shrink: 0;
224
+ align-items: center;
225
+ justify-content: center;
226
+ box-sizing: border-box;
227
+ width: var(--mq-size-control-sm, 2rem);
228
+ height: var(--mq-size-control-sm, 2rem);
229
+ margin: calc(var(--mq-spacing-1, 0.25rem) * -1)
230
+ calc(var(--mq-spacing-2, 0.5rem) * -1)
231
+ calc(var(--mq-spacing-1, 0.25rem) * -1) 0;
232
+ padding: 0;
233
+ border: none;
234
+ border-radius: var(--mq-radius-md, 0.375rem);
235
+ background: transparent;
236
+ color: inherit;
237
+ cursor: pointer;
238
+ }
239
+
240
+ .close svg {
241
+ width: var(--mq-size-icon-sm, 1rem);
242
+ height: var(--mq-size-icon-sm, 1rem);
243
+ }
244
+
245
+ /* Touch screens keep :hover after a tap. */
246
+ @media (hover: hover) {
247
+ .close:hover {
248
+ background: rgb(255 255 255 / 0.12);
249
+ }
250
+ }
251
+
252
+ /* The brand ring would vanish on the dark toast. */
253
+ .close:focus-visible {
254
+ outline: 2px solid ${ye};
255
+ outline-offset: 2px;
256
+ }
257
+
258
+ @media (forced-colors: active) {
259
+ .toast {
260
+ border: 1px solid CanvasText;
261
+ }
262
+ }
263
+
264
+ /* Appears and goes: the stack keeps its layout, nothing moves. */
265
+ @media (prefers-reduced-motion: reduce) {
266
+ .toast,
267
+ .toast > * {
268
+ transition: none;
269
+ }
270
+ }
271
+ `,xe=s`<path d="M18.333 10a8.333 8.333 0 1 1-16.666 0 8.333 8.333 0 0 1 16.666 0Z" />`,be={info:s`${xe}<path d="M10 13.333V10m0-3.333h.008" />`,success:s`${xe}<path d="m6.25 10 2.5 2.5 5-5" />`,error:s`${xe}<path d="M10 6.667V10m0 3.333h.008" />`};let $e,Te=class MqToaster extends r{constructor(){super(...arguments),this.position="bottom-left",this.toasts=[],this.hovered=!1,this.focused=!1,this.tapped=!1,this.pressed=!1,this.gap=14,this.room=Number.POSITIVE_INFINITY,this.paused=!1,this.nextId=0,this.syncPause=()=>{const t=this.expanded||this.pressed||document.hidden;if(t!==this.paused){this.paused=t;for(const e of this.toasts)t?this.stopTimer(e):this.startTimer(e)}},this.onPointerEnter=t=>{"touch"!==t.pointerType&&(this.hovered=!0,this.syncPause())},this.onPointerLeave=t=>{"touch"===t.pointerType||this.swipe||(this.hovered=!1,this.syncPause())},this.onOutsidePointerDown=t=>{t.composedPath().includes(this)||this.setTapped(!1)},this.onFocusIn=()=>{this.focused=!0,this.syncPause()},this.onFocusOut=t=>{this.focused=this.contains(t.relatedTarget),this.syncPause()}}static{this.styles=[we]}connectedCallback(){super.connectedCallback(),$e=this,this.setAttribute("popover","manual"),this.addEventListener("pointerenter",this.onPointerEnter),this.addEventListener("pointerleave",this.onPointerLeave),this.addEventListener("focusin",this.onFocusIn),this.addEventListener("focusout",this.onFocusOut),document.addEventListener("visibilitychange",this.syncPause)}disconnectedCallback(){this.removeEventListener("pointerenter",this.onPointerEnter),this.removeEventListener("pointerleave",this.onPointerLeave),this.removeEventListener("focusin",this.onFocusIn),this.removeEventListener("focusout",this.onFocusOut),document.removeEventListener("visibilitychange",this.syncPause),document.removeEventListener("pointerdown",this.onOutsidePointerDown,!0);for(const t of this.toasts)window.clearTimeout(t.timer);this.toasts=[],super.disconnectedCallback()}add(t,e,{duration:n=5e3,position:o,closeLabel:i="Close"}={}){o&&(this.position=o);const s={id:++this.nextId,message:t,variant:e,closeLabel:i,mounted:!1,removed:!1,swiped:!1,height:0,place:"front",index:0,before:0,hidden:!1,remaining:n>0?n:Number.POSITIVE_INFINITY,startedAt:0};this.toasts=[s,...this.toasts],this.startTimer(s),this.isConnected&&(oe(this)||Jt(this),Gt(this))}get expanded(){return this.hovered||this.focused||this.tapped}updated(){const t=this.renderRoot.querySelector(".stack");t&&(this.gap=Number.parseFloat(getComputedStyle(t).rowGap)||this.gap);const e=this.getBoundingClientRect();this.room=(this.position.startsWith("top")?window.innerHeight-e.top:e.bottom)-this.gap;let n=!1;for(const t of this.toasts){if(t.mounted)continue;const e=this.element(t);e&&(t.height=e.offsetHeight,t.mounted=!0,n=!0)}n&&queueMicrotask(()=>this.requestUpdate())}element(t){return this.renderRoot.querySelector(`[data-id="${t.id}"]`)}async dismiss(t,e=!1){if(t.removed)return;this.stopTimer(t),t.removed=!0,t.swiped=e,this.requestUpdate(),await this.updateComplete;const n=this.element(t);if(t.mounted&&n){const t=Number.parseFloat(getComputedStyle(n).transitionDuration);await Promise.race([ne(n),new Promise(e=>setTimeout(e,1e3*t+50))])}this.toasts=this.toasts.filter(e=>e!==t),this.toasts.some(t=>!t.removed)||(this.hovered=!1,this.setTapped(!1)),0===this.toasts.length&&Jt(this),await this.updateComplete,this.focused=oe(this),this.syncPause()}startTimer(t){this.paused||t.removed||void 0===t.timer&&Number.isFinite(t.remaining)&&(t.startedAt=Date.now(),t.timer=window.setTimeout(()=>{t.timer=void 0,this.dismiss(t)},t.remaining))}stopTimer(t){void 0!==t.timer&&(window.clearTimeout(t.timer),t.timer=void 0,t.remaining-=Date.now()-t.startedAt)}setTapped(t){t!==this.tapped&&(this.tapped=t,t?document.addEventListener("pointerdown",this.onOutsidePointerDown,!0):document.removeEventListener("pointerdown",this.onOutsidePointerDown,!0),this.syncPause())}onSwipeStart(t,e){if(0!==e.button||t.removed)return;if(e.target.closest("button"))return;const n=e.currentTarget;n.setPointerCapture?.(e.pointerId),this.swipe={toast:t,element:n,x:e.clientX,y:e.clientY,startedAt:Date.now(),amount:0,moved:0,touch:"touch"===e.pointerType},this.pressed=!0,this.syncPause()}onSwipeMove(t){const e=this.swipe;if(!e)return;const n=t.clientX-e.x,o=t.clientY-e.y;if(e.moved=Math.max(e.moved,Math.abs(n),Math.abs(o)),!e.axis&&(Math.abs(n)>1||Math.abs(o)>1)&&(e.axis=Math.abs(n)>Math.abs(o)?"x":"y"),!e.axis)return;const[i,s]=this.position.split("-"),r="y"===e.axis?"top"===i?-1:1:"left"===s?-1:"right"===s?1:0,a="x"===e.axis?n:o;e.amount=Math.sign(a)===r?a:0,e.element.toggleAttribute("data-swiping",!0),e.element.style.translate="x"===e.axis?`${e.amount}px 0`:`0 ${e.amount}px`,e.element.style.opacity=String(Math.max(0,1-Math.abs(e.amount)/150))}onSwipeEnd(){const t=this.swipe;if(!t)return;this.swipe=void 0,this.pressed=!1;const{element:e,amount:n,axis:o}=t;e.removeAttribute("data-swiping"),e.style.opacity="";const i=Math.abs(n),s=i/Math.max(Date.now()-t.startedAt,1);if(i>=45||i>10&&s>.11){const i=`calc(${n}px + ${100*Math.sign(n)}%)`;e.style.translate="x"===o?`${i} 0`:`0 ${i}`,this.dismiss(t.toast,!0)}else e.style.translate="",t.touch&&t.moved<10&&this.setTapped(!0);t.touch||this.matches(":hover")||(this.hovered=!1),this.syncPause()}render(){const t=this.toasts.filter(t=>!t.removed),e=t.find(t=>t.height)?.height??0;let n=0;return t.forEach((t,o)=>{const i=t.height||e;t.index=o,t.before=n,t.place=0===o?"front":this.expanded?"fanned":"behind",t.hidden=o>=3||this.expanded&&o>0&&n+o*this.gap+i>this.room,n+=i}),a`<ol
272
+ class="stack"
273
+ part="stack"
274
+ ?data-expanded=${this.expanded}
275
+ style=${y({"--front-height":`${e}px`})}
276
+ >
277
+ ${x(this.toasts,t=>t.id,t=>a`<li
278
+ class="toast ${t.variant}"
279
+ part="toast"
280
+ data-id=${t.id}
281
+ data-place=${this.placeOf(t)}
282
+ ?data-hidden=${!t.removed&&t.hidden}
283
+ ?data-swipe-out=${t.swiped}
284
+ style=${y({"--index":String(t.index),"--before":`${t.before}px`,"--height":t.height?`${t.height}px`:void 0,"--z":String(this.toasts.length-this.toasts.indexOf(t))})}
285
+ @pointerdown=${e=>this.onSwipeStart(t,e)}
286
+ @pointermove=${t=>this.onSwipeMove(t)}
287
+ @pointerup=${()=>this.onSwipeEnd()}
288
+ @pointercancel=${()=>this.onSwipeEnd()}
289
+ >
290
+ <svg
291
+ class="icon"
292
+ aria-hidden="true"
293
+ viewBox="0 0 20 20"
294
+ fill="none"
295
+ stroke="currentColor"
296
+ stroke-width="1.5"
297
+ stroke-linecap="round"
298
+ stroke-linejoin="round"
299
+ >
300
+ ${be[t.variant]}
301
+ </svg>
302
+ <div
303
+ class="message"
304
+ role=${"error"===t.variant?"alert":"status"}
305
+ aria-atomic="true"
306
+ >
307
+ ${t.message}
308
+ </div>
309
+ <button
310
+ class="close"
311
+ part="close"
312
+ type="button"
313
+ aria-label=${t.closeLabel}
314
+ @click=${()=>this.dismiss(t)}
315
+ >
316
+ <svg
317
+ aria-hidden="true"
318
+ viewBox="0 0 24 24"
319
+ fill="none"
320
+ stroke="currentColor"
321
+ stroke-width="2"
322
+ stroke-linecap="round"
323
+ stroke-linejoin="round"
324
+ >
325
+ <path d="M18 6 6 18M6 6l12 12" />
326
+ </svg>
327
+ </button>
328
+ </li>`)}
329
+ </ol>`}placeOf(t){return t.mounted?!t.removed||t.swiped?t.place:"front"===t.place?"out-front":"fanned"===t.place?"out-fanned":"out-behind":"enter"}};function ke(){if($e?.isConnected)return $e;const t=document.querySelector("mq-toaster");if(t)return t;const e=document.createElement("mq-toaster");return(document.querySelector("mq-theme-provider")??document.body).append(e),e}t([c({type:String,reflect:!0})],Te.prototype,"position",void 0),t([l()],Te.prototype,"toasts",void 0),t([l()],Te.prototype,"hovered",void 0),t([l()],Te.prototype,"focused",void 0),t([l()],Te.prototype,"tapped",void 0),Te=t([e("mq-toaster")],Te);const Pe={success(t,e){ke().add(t,"success",e)},error(t,e){ke().add(t,"error",e)},info(t,e){ke().add(t,"info",e)}};export{Pe as F,Te as O,Typeahead as T,Zt as a,Kt as c,ee as d,b as e,ne as f,Gt as h,Qt as l,$ as m,Jt as p,te as u,oe as y};
@@ -0,0 +1 @@
1
+ import{_ as t,c as e}from"./custom-element-D2ziPxYE.js";import{m as a}from"./runtime-Bg1WXVCx.js";import{l as r}from"./localized-decorator-BlOuLhym.js";import{i as n,a as s,x as o}from"./lit-element-B5-nYi7k.js";import{n as i}from"./property-C1CmBSnw.js";import{r as d}from"./state-Br45Av8Z.js";import{e as l}from"./class-map-CXGDNDhW.js";import{chevronLeftIcon as c}from"../ui/icons/chevron-left-icon.js";import{chevronRightIcon as v}from"../ui/icons/chevron-right-icon.js";import{spinnerIcon as h}from"../ui/icons/spinner-icon.js";import{g as p,i as u}from"./format-tMwfQwDf.js";import{t as g,c as m,n as y,g as b,p as f,a as D,s as k}from"./parseISO-CEksKisk.js";import{i as w}from"./isBefore-DBi1CiNR.js";function M(t,e,a){const r=g(t,a?.in);if(isNaN(e))return m(t,NaN);if(!e)return r;const n=r.getDate(),s=m(t,r.getTime());s.setMonth(r.getMonth()+e+1,0);return n>=s.getDate()?s:(r.setFullYear(s.getFullYear(),s.getMonth(),n),r)}function S(t,e){const a=g(t,e?.in),r=a.getMonth();return a.setFullYear(a.getFullYear(),r+1,0),a.setHours(23,59,59,999),a}function x(t,e){const{start:a,end:r}=function(t,e){const[a,r]=y(t,e.start,e.end);return{start:a,end:r}}(e?.in,t);let n=+a>+r;const s=n?+a:+r,o=n?r:a;o.setHours(0,0,0,0);const i=[];for(;+o<=s;)i.push(m(a,o)),o.setDate(o.getDate()+1),o.setHours(0,0,0,0);return n?i.reverse():i}function j(t,e){const a=g(t,e?.in);return a.setDate(1),a.setHours(0,0,0,0),a}function E(t,e){const a=b(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,n=g(t,e?.in),s=n.getDay(),o=6+(s<r?-7:0)-(s-r);return n.setDate(n.getDate()+o),n.setHours(23,59,59,999),n}function $(t,e){return+g(t)>+g(e)}const N=n`:host{display:block;font-family:var(--font-body)}.calendar{background:var(--color-card);border-radius:var(--border-radius-lg);user-select:none}.calendar-header{display:flex;align-items:center;justify-content:space-between;background:var(--color-primary-background-extraWeak);padding:var(--sp-4);border-radius:var(--border-radius-lg) var(--border-radius-lg) 0 0}.calendar-header-title{font-family:var(--font-titles);font-size:var(--text-lg);font-weight:var(--font-weight-bold);color:var(--color-gray-darkest)}.calendar-body{position:relative;transition:opacity .2s}.calendar-body.loading{opacity:.4;pointer-events:none}.calendar-nav{display:flex;gap:var(--sp-2)}.calendar-nav-button{display:flex;align-items:center;justify-content:center;width:var(--size-8);height:var(--size-8);border:none;background:0 0;border-radius:var(--border-radius-md);cursor:pointer;transition:background-color .2s;color:var(--color-gray-darkest);padding:0}.calendar-nav-button:hover{background:var(--color-background-primary-light)}.calendar-nav-button:disabled{opacity:.3;cursor:not-allowed}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,var(--sp-11));justify-content:space-between;padding:var(--sp-4) var(--sp-4) var(--sp-2) var(--sp-4)}.calendar-weekday{text-align:center;font-size:var(--text-sm);font-weight:var(--font-weight-bold);color:var(--color-gray-darkest);padding:var(--sp-2)}.calendar-days{display:grid;gap:var(--sp-1);grid-template-columns:repeat(7,var(--sp-11));justify-content:space-between;padding:0 var(--sp-4) var(--sp-4) var(--sp-4)}.calendar-day{width:var(--sp-11);height:var(--sp-11);display:flex;align-items:center;justify-content:center;border:none;background:0 0;border-radius:var(--border-radius-full);cursor:pointer;font-family:var(--font-body);font-size:var(--text-sm);font-weight:var(--font-weight-medium);color:var(--color-gray-darkest);transition:all .2s;padding:0;position:relative}.calendar-day:hover:not(:disabled):not(.other-month){background:var(--color-gray-lighter)}.calendar-day.other-month{color:var(--color-gray-medium);background:0 0}.calendar-day:disabled{color:var(--color-gray-medium);background:0 0;cursor:not-allowed}.calendar-day.available:not(.selected){background:var(--color-primary);color:var(--color-white);font-weight:var(--font-weight-semibold)}.calendar-day.available:hover:not(:disabled):not(.selected){background:var(--color-primary-dark)}.calendar-day.selected{background:var(--color-primary);color:var(--color-white);font-weight:var(--font-weight-bold)}.calendar-day.selected:hover:not(:disabled){background:var(--color-primary-dark)}.calendar-day-empty{width:var(--sp-11);height:var(--sp-11)}.calendar-spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:10}@media (min-width:640px){.calendar-weekdays{gap:var(--sp-2)}.calendar-days{gap:var(--sp-2)}}@media (min-width:768px){.calendar-weekdays{gap:var(--sp-3)}.calendar-days{gap:var(--sp-3)}}@media (min-width:1024px){.calendar-weekdays{gap:var(--sp-4)}.calendar-days{gap:var(--sp-4)}}`;class DateSelectEvent extends Event{static{this.eventName="date-select"}constructor(t){super(DateSelectEvent.eventName,{bubbles:!0,composed:!0}),this.detail=t}}class PrevMonthEvent extends Event{static{this.eventName="prev-month"}constructor(t){super(PrevMonthEvent.eventName,{bubbles:!0,composed:!0}),this.detail=t}}class NextMonthEvent extends Event{static{this.eventName="next-month"}constructor(t){super(NextMonthEvent.eventName,{bubbles:!0,composed:!0}),this.detail=t}}let C=class MqCalendar extends s{constructor(){super(...arguments),this.locale="es-ES",this.isLoading=!1,this.handlePrevMonth=()=>{const t=this.getCurrentMonthDate(),e=M(t,-1,a);var a;this.dispatchEvent(new PrevMonthEvent({currentMonth:e.toISOString()}))},this.handleNextMonth=()=>{const t=M(this.getCurrentMonthDate(),1);this.dispatchEvent(new NextMonthEvent({currentMonth:t.toISOString()}))},this.handleDayClick=t=>{t.isDisabled||(this.selectedDate=t.date,this.value=t.date.toISOString(),this.dispatchEvent(new DateSelectEvent({date:t.date.toISOString()})),this.requestUpdate())}}static{this.styles=[N]}connectedCallback(){super.connectedCallback(),this.value&&(this.selectedDate=f(this.value))}getMonthYear(){const t=this.getCurrentMonthDate();return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}getCurrentMonthDate(){return this.currentMonth?f(this.currentMonth):this.getToday()}getToday(){return f(p(new Date,this.timezone))}getWeekdays(){const t=D(new Date(2024,0,1),{weekStartsOn:1}),e=x({start:t,end:E(t,{weekStartsOn:1})}),a=new Intl.DateTimeFormat(this.locale,{weekday:"narrow"});return e.map(t=>a.format(t).toUpperCase())}getDaysInMonth(){const t=this.getCurrentMonthDate(),e=j(t),a=S(t);return x({start:D(e,{weekStartsOn:1}),end:E(a,{weekStartsOn:1})}).map(e=>{const a=function(t,e,a){const[r,n]=y(a?.in,t,e);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}(e,t);return this.createCalendarDay(e,a)})}createCalendarDay(t,e){const a=k(t),r=u(a,this.getToday()),n=this.isDateAvailable(a);return{date:a,isCurrentMonth:e,isToday:r,isDisabled:this.isDateDisabled(a,n),isSelected:!!this.selectedDate&&u(a,this.selectedDate),isAvailable:n}}isDateAvailable(t){if(!this.availableDays||0===this.availableDays.length)return!1;const e=k(t);return this.availableDays.some(t=>{const a=k(f(t));return u(e,a)})}isDateDisabled(t,e){const a=k(t);if(this.availableDays&&this.availableDays.length>0)return!e;if(this.minDate){const t=k(f(this.minDate));if(w(a,t))return!0}if(this.maxDate){if($(a,k(f(this.maxDate))))return!0}return!1}render(){const t=this.getDaysInMonth(),e=this.getWeekdays();return o`<div class="calendar"><div class="calendar-header"><button class="calendar-nav-button" @click="${this.handlePrevMonth}" aria-label="${a("Mes anterior")}">${c({size:24})}</button><div class="calendar-header-title">${this.getMonthYear()}</div><button class="calendar-nav-button" @click="${this.handleNextMonth}" aria-label="${a("Mes siguiente")}">${v({size:24})}</button></div><div class="calendar-body ${this.isLoading?"loading":""}"><div class="calendar-weekdays">${e.map(t=>o`<div class="calendar-weekday">${t}</div>`)}</div><div class="calendar-days">${t.map(t=>t.isCurrentMonth?o`<button class="${l({"calendar-day":!0,"other-month":!t.isCurrentMonth,today:t.isToday,selected:t.isSelected,available:t.isAvailable})}" ?disabled="${t.isDisabled||this.isLoading}" @click="${()=>this.handleDayClick(t)}" aria-label="${t.date.toLocaleDateString(this.locale)}">${t.date.getDate()}</button>`:o`<div class="calendar-day-empty"></div>`)}</div>${this.isLoading?o`<div class="calendar-spinner">${h({size:40,color:"var(--color-primary)"})}</div>`:""}</div></div>`}};t([i({type:String})],C.prototype,"locale",void 0),t([i({type:String,attribute:"min-date"})],C.prototype,"minDate",void 0),t([i({type:String,attribute:"max-date"})],C.prototype,"maxDate",void 0),t([i({type:String})],C.prototype,"value",void 0),t([i({type:Boolean,attribute:"is-loading"})],C.prototype,"isLoading",void 0),t([i({type:String,attribute:"current-month"})],C.prototype,"currentMonth",void 0),t([i({type:Array,attribute:"available-days"})],C.prototype,"availableDays",void 0),t([i({type:String})],C.prototype,"timezone",void 0),t([d()],C.prototype,"selectedDate",void 0),C=t([r(),e("mq-calendar")],C);export{DateSelectEvent as D,C as M,NextMonthEvent as N,PrevMonthEvent as P,S as e,$ as i,j as s};
@@ -0,0 +1,15 @@
1
+ import * as lit_html from 'lit-html';
2
+ import * as lit from 'lit';
3
+ import { LitElement } from 'lit';
4
+
5
+ declare class SectionHeader extends LitElement {
6
+ static styles: lit.CSSResult;
7
+ heading: string;
8
+ actionLabel?: string;
9
+ render(): lit_html.TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ "section-header": SectionHeader;
14
+ }
15
+ }
@@ -0,0 +1 @@
1
+ import{_ as t,c as e}from"./custom-element-D2ziPxYE.js";import{l as i}from"./localized-decorator-BlOuLhym.js";import"./runtime-Bg1WXVCx.js";import{i as o,a as n,E as a,x as r}from"./lit-element-B5-nYi7k.js";import{n as s}from"./property-C1CmBSnw.js";import{arrowRightIcon as c}from"../ui/icons/arrow-right-icon.js";const l=o`:host{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);width:100%}.heading{font-family:var(--font-titles);font-size:var(--text-base);line-height:1.5;font-weight:var(--font-weight-medium);color:var(--color-text-icons--primary,#0a0a22);margin:0}.action{display:inline-flex;align-items:center;gap:6px;background:0 0;border:none;padding:0;cursor:pointer;font-family:var(--font-body);font-size:var(--text-sm);line-height:1.35;font-weight:var(--font-weight-normal);color:var(--color-primary-text-link,#4a1ea7);white-space:nowrap}.action:hover{text-decoration:underline}.action svg{flex-shrink:0}`;let p=class SectionHeader extends n{constructor(){super(...arguments),this.heading=""}static{this.styles=l}render(){return r`<h2 class="heading">${this.heading}</h2>${this.actionLabel?r`<button class="action" type="button" @click="${()=>{this.dispatchEvent(new CustomEvent("section-action",{bubbles:!0,composed:!0}))}}">${this.actionLabel} ${c({size:18,color:"var(--color-primary-text-link, #4a1ea7)"})}</button>`:a}`}};t([s({type:String})],p.prototype,"heading",void 0),t([s({type:String,attribute:"action-label"})],p.prototype,"actionLabel",void 0),p=t([i(),e("section-header")],p);
@@ -0,0 +1,187 @@
1
+ import z from 'zod';
2
+ import * as lit from 'lit';
3
+ import { LitElement, TemplateResult } from 'lit';
4
+
5
+ declare const AppointmentChannelSchema: z.ZodEnum<["videocall", "chat", "phonecall"]>;
6
+ type AppointmentChannel = z.infer<typeof AppointmentChannelSchema>;
7
+ declare const AppointmentSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ room_id: z.ZodString;
10
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
11
+ consultation_short_url: z.ZodNullable<z.ZodString>;
12
+ call_id: z.ZodString;
13
+ duration: z.ZodNumber;
14
+ from: z.ZodObject<{
15
+ hash: z.ZodString;
16
+ name: z.ZodNullable<z.ZodString>;
17
+ avatar: z.ZodNullable<z.ZodString>;
18
+ speciality: z.ZodNullable<z.ZodString>;
19
+ collegiate_number: z.ZodNullable<z.ZodString>;
20
+ is_dismissed: z.ZodBoolean;
21
+ languages: z.ZodArray<z.ZodString, "many">;
22
+ description: z.ZodNullable<z.ZodString>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ hash: string;
25
+ name: string | null;
26
+ avatar: string | null;
27
+ speciality: string | null;
28
+ collegiate_number: string | null;
29
+ is_dismissed: boolean;
30
+ languages: string[];
31
+ description: string | null;
32
+ }, {
33
+ hash: string;
34
+ name: string | null;
35
+ avatar: string | null;
36
+ speciality: string | null;
37
+ collegiate_number: string | null;
38
+ is_dismissed: boolean;
39
+ languages: string[];
40
+ description: string | null;
41
+ }>;
42
+ to: z.ZodObject<{
43
+ id: z.ZodNumber;
44
+ hash: z.ZodString;
45
+ name: z.ZodNullable<z.ZodString>;
46
+ avatar: z.ZodNullable<z.ZodString>;
47
+ is_dismissed: z.ZodBoolean;
48
+ }, "strip", z.ZodTypeAny, {
49
+ id: number;
50
+ hash: string;
51
+ name: string | null;
52
+ avatar: string | null;
53
+ is_dismissed: boolean;
54
+ }, {
55
+ id: number;
56
+ hash: string;
57
+ name: string | null;
58
+ avatar: string | null;
59
+ is_dismissed: boolean;
60
+ }>;
61
+ speciality_id: z.ZodNullable<z.ZodNumber>;
62
+ has_chat_in_appointment: z.ZodOptional<z.ZodBoolean>;
63
+ created_at: z.ZodString;
64
+ status: z.ZodEnum<["pending", "expired", "accepted", "inCall", "declined", "cancelled", "finished", "free_of_charge", "owed", "unpaid", "reporting"]>;
65
+ seconds_to_open: z.ZodNumber;
66
+ start_date: z.ZodString;
67
+ started_at: z.ZodNullable<z.ZodString>;
68
+ expires_at: z.ZodNullable<z.ZodString>;
69
+ consultation_reason: z.ZodNullable<z.ZodString>;
70
+ preconsultation_documents: z.ZodNullable<z.ZodArray<z.ZodObject<{
71
+ file_path: z.ZodString;
72
+ file_name: z.ZodString;
73
+ id: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ id: string;
76
+ file_path: string;
77
+ file_name: string;
78
+ }, {
79
+ id: string;
80
+ file_path: string;
81
+ file_name: string;
82
+ }>, "many">>;
83
+ service_id: z.ZodNullable<z.ZodString>;
84
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ discount_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
89
+ id: string;
90
+ room_id: string;
91
+ channel: "videocall" | "chat" | "phonecall";
92
+ consultation_short_url: string | null;
93
+ call_id: string;
94
+ duration: number;
95
+ from: {
96
+ hash: string;
97
+ name: string | null;
98
+ avatar: string | null;
99
+ speciality: string | null;
100
+ collegiate_number: string | null;
101
+ is_dismissed: boolean;
102
+ languages: string[];
103
+ description: string | null;
104
+ };
105
+ to: {
106
+ id: number;
107
+ hash: string;
108
+ name: string | null;
109
+ avatar: string | null;
110
+ is_dismissed: boolean;
111
+ };
112
+ speciality_id: number | null;
113
+ created_at: string;
114
+ seconds_to_open: number;
115
+ start_date: string;
116
+ started_at: string | null;
117
+ expires_at: string | null;
118
+ consultation_reason: string | null;
119
+ preconsultation_documents: {
120
+ id: string;
121
+ file_path: string;
122
+ file_name: string;
123
+ }[] | null;
124
+ service_id: string | null;
125
+ has_chat_in_appointment?: boolean | undefined;
126
+ price?: number | null | undefined;
127
+ currency?: string | null | undefined;
128
+ discount_amount?: number | null | undefined;
129
+ }, {
130
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
131
+ id: string;
132
+ room_id: string;
133
+ channel: "videocall" | "chat" | "phonecall";
134
+ consultation_short_url: string | null;
135
+ call_id: string;
136
+ duration: number;
137
+ from: {
138
+ hash: string;
139
+ name: string | null;
140
+ avatar: string | null;
141
+ speciality: string | null;
142
+ collegiate_number: string | null;
143
+ is_dismissed: boolean;
144
+ languages: string[];
145
+ description: string | null;
146
+ };
147
+ to: {
148
+ id: number;
149
+ hash: string;
150
+ name: string | null;
151
+ avatar: string | null;
152
+ is_dismissed: boolean;
153
+ };
154
+ speciality_id: number | null;
155
+ created_at: string;
156
+ seconds_to_open: number;
157
+ start_date: string;
158
+ started_at: string | null;
159
+ expires_at: string | null;
160
+ consultation_reason: string | null;
161
+ preconsultation_documents: {
162
+ id: string;
163
+ file_path: string;
164
+ file_name: string;
165
+ }[] | null;
166
+ service_id: string | null;
167
+ has_chat_in_appointment?: boolean | undefined;
168
+ price?: number | null | undefined;
169
+ currency?: string | null | undefined;
170
+ discount_amount?: number | null | undefined;
171
+ }>;
172
+ type Appointment = z.infer<typeof AppointmentSchema>;
173
+ declare const ConsultationTypeSchema: z.ZodEnum<["appointment", "chat", "immediate"]>;
174
+ type ConsultationType = z.infer<typeof ConsultationTypeSchema>;
175
+
176
+ declare class ProfessionalDescription extends LitElement {
177
+ static styles: lit.CSSResult;
178
+ text: string;
179
+ render(): (string | TemplateResult)[];
180
+ }
181
+ declare global {
182
+ interface HTMLElementTagNameMap {
183
+ "professional-description": ProfessionalDescription;
184
+ }
185
+ }
186
+
187
+ export type { AppointmentChannel as A, ConsultationType as C, Appointment as a };
@@ -0,0 +1 @@
1
+ import{_ as t,c as i}from"./custom-element-D2ziPxYE.js";import{l as o}from"./localized-decorator-BlOuLhym.js";import"./runtime-Bg1WXVCx.js";import{i as e,a as r,x as s}from"./lit-element-B5-nYi7k.js";import{n}from"./property-C1CmBSnw.js";import{calendarIcon as a}from"../ui/icons/calendar-icon.js";import{fileIcon as c}from"../ui/icons/file-icon.js";const p=e`:host{display:flex;flex-direction:column;gap:var(--sp-4);width:100%;box-sizing:border-box}svg{flex-shrink:0;width:25px;height:25px}.content{display:flex;flex-direction:column;gap:var(--sp-2)}.title{font-family:var(--font-titles);font-size:var(--text-base);line-height:1.5;font-weight:var(--font-weight-medium);color:var(--color-text-icons--primary,#0a0a22);margin:0}.description{font-family:var(--font-body);font-size:var(--text-sm);line-height:1.35;font-weight:var(--font-weight-normal);color:var(--color-text-icons--secondary,#6d658b);margin:0}@media (min-width:768px){:host{flex-direction:row;align-items:flex-start;gap:var(--sp-6)}svg{width:32px;height:32px}}`;let l=class WidgetEmptyState extends r{constructor(){super(...arguments),this.icon="document",this.heading="",this.description=""}static{this.styles=p}render(){const t="calendar"===this.icon?a:c;return s`${t({size:32,color:"var(--color-primary, #4a1ea7)"})}<div class="content"><p class="title">${this.heading}</p><p class="description">${this.description}</p></div>`}};t([n({type:String})],l.prototype,"icon",void 0),t([n({type:String})],l.prototype,"heading",void 0),t([n({type:String})],l.prototype,"description",void 0),l=t([o(),i("widget-empty-state")],l);
@@ -0,0 +1,16 @@
1
+ import * as lit_html from 'lit-html';
2
+ import * as lit from 'lit';
3
+ import { LitElement } from 'lit';
4
+
5
+ declare class WidgetEmptyState extends LitElement {
6
+ static styles: lit.CSSResult;
7
+ icon: "document" | "calendar";
8
+ heading: string;
9
+ description: string;
10
+ render(): lit_html.TemplateResult<1>;
11
+ }
12
+ declare global {
13
+ interface HTMLElementTagNameMap {
14
+ "widget-empty-state": WidgetEmptyState;
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ import{_ as t,c as e}from"./custom-element-D2ziPxYE.js";import{i as r,a as s,x as o}from"./lit-element-B5-nYi7k.js";import{n}from"./property-C1CmBSnw.js";const a=/\r\n?|[\u2028\u2029]/g,i=/(https?:\/\/[^\s<>"]+|www\.[^\s<>"]+)/gi,p=/[.,;:!?)\]}'"»]+$/,l=r`:host{white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4}a{color:var(--color-primary-text-link,#4a1ea7);text-decoration:underline}`;function c(t){return t.split(i).flatMap((t,e)=>e%2==0?[t]:function(t){const e=t.match(p)?.[0]??"",r=t.slice(0,t.length-e.length),s=r.toLowerCase().startsWith("http")?r:`https://${r}`;return[o`<a href="${s}" target="_blank" rel="noopener noreferrer">${r}</a>`,e]}(t))}let h=class ProfessionalDescription extends s{constructor(){super(...arguments),this.text=""}static{this.styles=l}render(){return c(this.text.replace(a,"\n").trim())}};t([n({type:String})],h.prototype,"text",void 0),h=t([e("professional-description")],h);