@alfadocs/ui-kit 1.143.0 → 1.145.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 (338) hide show
  1. package/dist/_chunks/{actions-cell-renderer-CPNyF6ye.js → actions-cell-renderer-BA1FB6cT.js} +3 -3
  2. package/dist/_chunks/{address-autocomplete-yDLqg43e.js → address-autocomplete-_LeOFdM7.js} +2 -2
  3. package/dist/_chunks/{address-fields-Bh9JZJHZ.js → address-fields-C4khof4C.js} +2 -2
  4. package/dist/_chunks/{agenda-tray-CGcS_qoM.js → agenda-tray-NgxPuAAz.js} +3 -3
  5. package/dist/_chunks/{ai-credits-exhausted-notice-Lws3113e.js → ai-credits-exhausted-notice-DCq27xy2.js} +2 -2
  6. package/dist/_chunks/{ai-credits-notice-D_Zm_N2A.js → ai-credits-notice-B6buIgmV.js} +3 -3
  7. package/dist/_chunks/{ai-permission-notice-CEDEWE2-.js → ai-permission-notice-C_YB3MBA.js} +2 -2
  8. package/dist/_chunks/{ai-prompt-input-y4-dtQIT.js → ai-prompt-input-Bwoa8gNc.js} +2 -2
  9. package/dist/_chunks/{ai-summary-panel-CJVOjr2I.js → ai-summary-panel-Cdsve-XN.js} +7 -7
  10. package/dist/_chunks/{alia-sidebar-AKz42_XE.js → alia-sidebar-Bjuxk8mU.js} +7 -7
  11. package/dist/_chunks/{anamnesis-card-W8ZaDytS.js → anamnesis-card-G0qzw0Oi.js} +2 -2
  12. package/dist/_chunks/{anamnesis-summary-rows-wUl7oXBO.js → anamnesis-summary-rows-QCv6zW-J.js} +7 -7
  13. package/dist/_chunks/{appointment-details-panel.history-B8R8XfGe.js → appointment-details-panel.history-eqPMKmW0.js} +3 -3
  14. package/dist/_chunks/{appointment-details-panel.identity-C20Y9xNC.js → appointment-details-panel.identity--_j07UG1.js} +2 -2
  15. package/dist/_chunks/{appointment-peek-BCzekfWh.js → appointment-peek-B3raO90X.js} +3 -3
  16. package/dist/_chunks/{appointment-timeline-CMc_3C74.js → appointment-timeline-D5qbZ7in.js} +5 -5
  17. package/dist/_chunks/{appointment-tray-D8k5YKLU.js → appointment-tray-CFCxukwq.js} +3 -3
  18. package/dist/_chunks/{audio-recorder-DxhCiLqG.js → audio-recorder-DcUIVMWj.js} +3 -3
  19. package/dist/_chunks/{balance-badge-cell-10BdaOQ8.js → balance-badge-cell-BPz9bQAB.js} +4 -4
  20. package/dist/_chunks/{bill-line-table-qAdmV19W.js → bill-line-table-DnkFqMnM.js} +2 -2
  21. package/dist/_chunks/{bishop-score-DbvfBlBM.js → bishop-score-fJRN0MtR.js} +2 -2
  22. package/dist/_chunks/{bmi-calculator-rq3ZsKp0.js → bmi-calculator-FmXBHbot.js} +2 -2
  23. package/dist/_chunks/{button-DohK_Ak_.js → button-Dp4j9ygh.js} +6 -6
  24. package/dist/_chunks/{button-group-DoKG16Fy.js → button-group-N60L3HMa.js} +2 -2
  25. package/dist/_chunks/{calendar-CyLtLBNP.js → calendar-DDTWUYnw.js} +2 -2
  26. package/dist/_chunks/{calendar-appointment-editor-dialog-9kVppi9f.js → calendar-appointment-editor-dialog-sY-k0GGW.js} +21 -21
  27. package/dist/_chunks/{calendar-editor-discard-host-BblBxMqT.js → calendar-editor-discard-host-DWS_kM-a.js} +6 -6
  28. package/dist/_chunks/{calendar-waiting-list-panel-CSFJw5np.js → calendar-waiting-list-panel-Bm7NAZdk.js} +9 -9
  29. package/dist/_chunks/{calendar-workspace.model-B8yPwuBv.js → calendar-workspace.model-4zmA3BFE.js} +2 -2
  30. package/dist/_chunks/{calendar.sheets-DZh3p8HE.js → calendar.sheets-CCvdZF-R.js} +15 -15
  31. package/dist/_chunks/{calls-panel-CnjAKFgA.js → calls-panel-BTTfHnPD.js} +5 -5
  32. package/dist/_chunks/{care-plan-card-CkRqA58O.js → care-plan-card-2U2LuIJD.js} +2 -2
  33. package/dist/_chunks/{care-plan-entry-card-DurPuYAP.js → care-plan-entry-card-CUAlQv1c.js} +2 -2
  34. package/dist/_chunks/{care-plan-header-C4i93i8H.js → care-plan-header-Dm9KZ41y.js} +2 -2
  35. package/dist/_chunks/{carousel.agent-CkDXR3-8.js → carousel.agent-CN78qTiR.js} +2 -2
  36. package/dist/_chunks/{chart-ChNsJf9_.js → chart-EUdS8caO.js} +3 -3
  37. package/dist/_chunks/{chat-input-BmvnuZqj.js → chat-input-kduOKc5Q.js} +2 -2
  38. package/dist/_chunks/{chat-message-IG9uRq6y.js → chat-message-Db7cWCgO.js} +3 -3
  39. package/dist/_chunks/{check-in-documents-CEVcgcYZ.js → check-in-documents-v1jFfDE1.js} +2 -2
  40. package/dist/_chunks/{code-block-BTsCXVGI.js → code-block-BpmhaXp_.js} +2 -2
  41. package/dist/_chunks/{communications-panel-MgAuWYBy.js → communications-panel-DDzUyoHi.js} +6 -6
  42. package/dist/_chunks/{connection-status-DWClakYw.js → connection-status-Bi6KPTlh.js} +3 -3
  43. package/dist/_chunks/{contact-profile-card-CsZNMlws.js → contact-profile-card-BxnBI1z1.js} +3 -3
  44. package/dist/_chunks/{control-room-rail-DBmNpbDE.js → control-room-rail-BQvaYowi.js} +3 -3
  45. package/dist/_chunks/{copy-field-BaYEDJ9f.js → copy-field-Bp0rH_YO.js} +2 -2
  46. package/dist/_chunks/{cycle-calculator-BUCGfEcy.js → cycle-calculator-Dd-dNPyR.js} +2 -2
  47. package/dist/_chunks/{dashboard-grid-D2egA1Zu.js → dashboard-grid-C_cby1Cf.js} +2 -2
  48. package/dist/_chunks/{data-grid-tyE2kGfx.js → data-grid-CujX-2tF.js} +6 -6
  49. package/dist/_chunks/{data-grid-tabs-Mbj6bSK2.js → data-grid-tabs-3NIWrciW.js} +2 -2
  50. package/dist/_chunks/{data-table-Huk4CNHs.js → data-table-DFAYYsSc.js} +6 -6
  51. package/dist/_chunks/{data-table-tabs-D5ujdK56.js → data-table-tabs-BKdmGcyD.js} +2 -2
  52. package/dist/_chunks/{date-range-panel-BOgfP_V3.js → date-range-panel-B86RANxB.js} +2 -2
  53. package/dist/_chunks/{default-tabs-ChkVzOL8.js → default-tabs-CqP1uWdx.js} +9 -9
  54. package/dist/_chunks/{description-list-BxzDN9o2.js → description-list-DA4TgL_I.js} +2 -2
  55. package/dist/_chunks/{dev-bypass-button-B7ePcJcg.js → dev-bypass-button-BzfYGPuf.js} +2 -2
  56. package/dist/_chunks/{document-preview-x_S8V7VC.js → document-preview-oSuJsJ3k.js} +4 -4
  57. package/dist/_chunks/{document-scanner-CETscDea.js → document-scanner-C_9P-ysi.js} +2 -2
  58. package/dist/_chunks/{due-date-calculator-DpN0Z9p4.js → due-date-calculator-CcYdmiCI.js} +2 -2
  59. package/dist/_chunks/{editable-currency-cell-renderer-C6z6ABN_.js → editable-currency-cell-renderer-DXJI0fnU.js} +3 -3
  60. package/dist/_chunks/{editable-description-KU56SP4P.js → editable-description-BQauSuCG.js} +3 -3
  61. package/dist/_chunks/{editor-overlay-Dc8uVxEp.js → editor-overlay-jc9HUeQ2.js} +30 -27
  62. package/dist/_chunks/{empty-state-DwJ5YNzz.js → empty-state-5REM7oDM.js} +2 -2
  63. package/dist/_chunks/{entity-summary-DgZSdp6d.js → entity-summary-CZmGcWi2.js} +3 -3
  64. package/dist/_chunks/{error-boundary-tAn_GuCu.js → error-boundary-BQ5mRqEd.js} +2 -2
  65. package/dist/_chunks/{error-page-WLhmWUTq.js → error-page-CdNGIezW.js} +2 -2
  66. package/dist/_chunks/{face-scheme-S88jbOzl.js → face-scheme-ByYeboH9.js} +5 -5
  67. package/dist/_chunks/{fetal-weight-DWj-_ME8.js → fetal-weight-BZql9VkN.js} +2 -2
  68. package/dist/_chunks/{field-array-CA-gn526.js → field-array-kwUgFOIr.js} +3 -3
  69. package/dist/_chunks/{file-manager-kdPsJq_k.js → file-manager-Cp3Z4VvM.js} +7 -7
  70. package/dist/_chunks/{finished-terminal-unDnXT4j.js → finished-terminal-YrhOLYbx.js} +2 -2
  71. package/dist/_chunks/{fiscal-code-input-DZlpaMGg.js → fiscal-code-input-BsQS8gaD.js} +2 -2
  72. package/dist/_chunks/{forgot-password-form-B4ufmBFn.js → forgot-password-form-BUC_hDCJ.js} +2 -2
  73. package/dist/_chunks/{freemium-paywall-BDeq9QWR.js → freemium-paywall-DafloSRi.js} +2 -2
  74. package/dist/_chunks/{gestational-age-calculator-CCDIhSMV.js → gestational-age-calculator-DrVw8arH.js} +2 -2
  75. package/dist/_chunks/{hcg-doubling-BekuksBv.js → hcg-doubling-XWQ6IhEg.js} +2 -2
  76. package/dist/_chunks/{header-l_B8MV0g.js → header-lzhNZEij.js} +2 -2
  77. package/dist/_chunks/{header-settings-CvZ7Qii6.js → header-settings-BIiYXX9_.js} +4 -4
  78. package/dist/_chunks/{heatmap-Cb4JSpv_.js → heatmap-DvsZ-mcL.js} +6 -6
  79. package/dist/_chunks/{help-me-write-templates-C84_4iwX.js → help-me-write-templates-DlA54nu5.js} +6 -6
  80. package/dist/_chunks/{hover-card-CIiPOlyM.js → hover-card-CS8ulBf9.js} +2 -2
  81. package/dist/_chunks/{icon-button-group-CLhC7wjU.js → icon-button-group-DEAx9M5v.js} +2 -2
  82. package/dist/_chunks/{icon-button-S8_weU3g.js → icon-button-u9VMQn3x.js} +2 -2
  83. package/dist/_chunks/{icon-picker-Ct6n8GTa.js → icon-picker-CF4nDCzC.js} +3 -3
  84. package/dist/_chunks/{image-cropper-Ch80rFdt.js → image-cropper-CfaSPVt3.js} +2 -2
  85. package/dist/_chunks/{info-tip-CkH2En-i.js → info-tip-cCppV1fD.js} +2 -2
  86. package/dist/_chunks/{insert-result-CDMMt7q8.js → insert-result-UUow9IIY.js} +2 -2
  87. package/dist/_chunks/{invoice-upload-list-CZ1B9yWh.js → invoice-upload-list-srvWy5_d.js} +5 -5
  88. package/dist/_chunks/{key-value-pair-DOTl68_U.js → key-value-pair-BykhMTcP.js} +2 -2
  89. package/dist/_chunks/{kit-extensions-C_oZ7WOq.js → kit-extensions-CSPGIdcn.js} +7 -7
  90. package/dist/_chunks/{link-cell-renderer-Bt_sl4iP.js → link-cell-renderer-CWLArl5e.js} +3 -3
  91. package/dist/_chunks/{locale-picker-OrojXX6E.js → locale-picker-BEJjNGCO.js} +3 -3
  92. package/dist/_chunks/{login-dev-card-oRh9h7N2.js → login-dev-card-DqUNJcd7.js} +2 -2
  93. package/dist/_chunks/{map-view-Cm69dCnY.js → map-view-n6GiDRWM.js} +3 -3
  94. package/dist/_chunks/{marketplace-app-shell-DnL187-U.js → marketplace-app-shell-CGA-R-zt.js} +4 -4
  95. package/dist/_chunks/{medication-line-BohqbCYD.js → medication-line-DFa5oFhf.js} +2 -2
  96. package/dist/_chunks/{medication-search-DoEDakoM.js → medication-search-CTUtXuPT.js} +2 -2
  97. package/dist/_chunks/{message-card-DvBjcZgH.js → message-card-DQML_W8I.js} +3 -3
  98. package/dist/_chunks/{message-tray-BHaE254g.js → message-tray-Dx2HPcKB.js} +4 -4
  99. package/dist/_chunks/{muscle-scheme-vNd8wU7V.js → muscle-scheme-BMFuuKGh.js} +2 -2
  100. package/dist/_chunks/{notes-panel-DCKbuZqS.js → notes-panel-C9aB1Cma.js} +4 -4
  101. package/dist/_chunks/{notification-card-CDuzAytQ.js → notification-card-BPGZhE5t.js} +3 -3
  102. package/dist/_chunks/{notification-tray-CnPV8jDA.js → notification-tray-BnC5OItw.js} +4 -4
  103. package/dist/_chunks/{optical-prescription-CWwrW4YQ.js → optical-prescription-DZvauMiM.js} +2 -2
  104. package/dist/_chunks/{panel-subview-DCyvn-49.js → panel-subview-DjBwNV16.js} +2 -2
  105. package/dist/_chunks/{parts-IFiXO68Y.js → parts-DyCxaRF0.js} +4 -4
  106. package/dist/_chunks/{patient-account-settings-BQ9bMsJS.js → patient-account-settings-Do0QbDJe.js} +5 -5
  107. package/dist/_chunks/{patient-card-Cpr8iD19.js → patient-card-D1DrK4BT.js} +2 -2
  108. package/dist/_chunks/{patient-check-in-resume-v5lYhMsh.js → patient-check-in-resume-Bxy1_Pfo.js} +8 -8
  109. package/dist/_chunks/{patient-details-6uJZ27ZL.js → patient-details-Cj3dp9GB.js} +3 -3
  110. package/dist/_chunks/{patient-field-row-D8Cu_MQp.js → patient-field-row-DDjsUsc_.js} +6 -6
  111. package/dist/_chunks/{patient-picker-CQNsqYn2.js → patient-picker-Dm74jHIk.js} +2 -2
  112. package/dist/_chunks/{patient-search-C6-INPjs.js → patient-search-5nLD0jpg.js} +3 -3
  113. package/dist/_chunks/{patient-sign-in-pin-DmMBwWet.js → patient-sign-in-pin-da7C8DOd.js} +3 -3
  114. package/dist/_chunks/{patient-sign-in-steps-BKcxNkdY.js → patient-sign-in-steps-kS2ktytw.js} +5 -5
  115. package/dist/_chunks/{patient-summary-card-NYjO0IfN.js → patient-summary-card-roM9Esfb.js} +5 -5
  116. package/dist/_chunks/{payment-automation-upsell-CGdG2Mwk.js → payment-automation-upsell-N1A_IIw0.js} +2 -2
  117. package/dist/_chunks/{payment-request-card-CNW00DCx.js → payment-request-card-C9VglWsV.js} +3 -3
  118. package/dist/_chunks/{periodontal-chart-DqHrQY4e.js → periodontal-chart-C5JFeQS7.js} +2 -2
  119. package/dist/_chunks/{periodontal-chart-card-q9WSHRC2.js → periodontal-chart-card-DiZYn_60.js} +2 -2
  120. package/dist/_chunks/{popover-CkvP3rHZ.js → popover-C9O7my6h.js} +2 -2
  121. package/dist/_chunks/{portal-details-CwX3VNxh.js → portal-details-CKF4yFHs.js} +5 -5
  122. package/dist/_chunks/{portal-documents-BWdXhWpZ.js → portal-documents-DvpAwmSI.js} +5 -5
  123. package/dist/_chunks/{portal-parts-DbCMuZVl.js → portal-parts-Cvu4PfIY.js} +4 -4
  124. package/dist/_chunks/{practice-results-BUEsl2Pj.js → practice-results-D0TAgL8v.js} +6 -6
  125. package/dist/_chunks/{pregnancy-dating-wc9iCN0f.js → pregnancy-dating-BEVI6zvu.js} +2 -2
  126. package/dist/_chunks/{pregnancy-weight-gain-DmrVHk9y.js → pregnancy-weight-gain-CDkFYcWW.js} +2 -2
  127. package/dist/_chunks/{prescription-history-DPjqflwJ.js → prescription-history-CD3e3U3I.js} +14 -14
  128. package/dist/_chunks/{privacy-lock-CcrjIbBv.js → privacy-lock-C25IybCx.js} +3 -3
  129. package/dist/_chunks/{privacy-mask-C2ZLKrMh.js → privacy-mask-zVh0ntm0.js} +2 -2
  130. package/dist/_chunks/{product-hub-panel-DiWjSIR2.js → product-hub-panel-NVpRuJeW.js} +3 -3
  131. package/dist/_chunks/{public-header.agent-Dsl9zhA2.js → public-header.agent-Dzo6ujrE.js} +3 -3
  132. package/dist/_chunks/{radiograph-panel.agent-CSpr2paU.js → radiograph-panel.agent-BUZPsuSP.js} +4 -4
  133. package/dist/_chunks/{registration-form-BEsIjznv.js → registration-form-AtRCt8n5.js} +3 -3
  134. package/dist/_chunks/{reserved.agent-C_pr0bHy.js → reserved.agent-DjvapRF1.js} +6 -6
  135. package/dist/_chunks/{reset-password-form-DwtSNhnA.js → reset-password-form-AMUxqdAS.js} +2 -2
  136. package/dist/_chunks/{reviews-panel-CdHUSndF.js → reviews-panel-Cw5ygAxs.js} +4 -4
  137. package/dist/_chunks/rich-text-editor-CJXc5GgH.js +4351 -0
  138. package/dist/_chunks/{row-actions-C6d6vy5z.js → row-actions-CA938TAd.js} +3 -3
  139. package/dist/_chunks/{saved-view-tabs-CVUM3Nqz.js → saved-view-tabs-COU4bT59.js} +3 -3
  140. package/dist/_chunks/{send-registration-link-form-D-NkS__p.js → send-registration-link-form-D1lPdOPC.js} +2 -2
  141. package/dist/_chunks/{session-countdown-StcyUU5O.js → session-countdown-CGsIG01-.js} +2 -2
  142. package/dist/_chunks/{sheet-BIAhwdyS.js → sheet-CZDjW9Q-.js} +2 -2
  143. package/dist/_chunks/{sign-in-with-alfadocs-button-DzrNgbWv.js → sign-in-with-alfadocs-button-D7JQVzZK.js} +2 -2
  144. package/dist/_chunks/{signature-request-BfKo3vOz.js → signature-request-CfHfAEQt.js} +3 -3
  145. package/dist/_chunks/{signed-out-frame-Oa2e1yps.js → signed-out-frame-CC25CgKo.js} +3 -3
  146. package/dist/_chunks/{signing-end-screen-Pmda6tCH.js → signing-end-screen-Bq6tkFE6.js} +5 -5
  147. package/dist/_chunks/{slot-grid-CfA5zeMv.js → slot-grid-khIpy8Gx.js} +4 -4
  148. package/dist/_chunks/{sms-code-entry-Dgp4GwlM.js → sms-code-entry-C70L3m6-.js} +2 -2
  149. package/dist/_chunks/{specialty-list-BzalHR8_.js → specialty-list-1tltjGRG.js} +2 -2
  150. package/dist/_chunks/{step-up-dialog-C1O8ctoh.js → step-up-dialog-NkVLEV9z.js} +3 -3
  151. package/dist/_chunks/{streaming-text-Nb3Q7L94.js → streaming-text-BXoHgx0l.js} +2 -2
  152. package/dist/_chunks/{sync-tray-BgrO4QjH.js → sync-tray-BQD-HuA4.js} +3 -3
  153. package/dist/_chunks/{task-editor-DNkrLbgK.js → task-editor-B9YpfwcW.js} +7 -7
  154. package/dist/_chunks/{task-tray-Bmi9wCHq.js → task-tray-CxxcGGgx.js} +3 -3
  155. package/dist/_chunks/{tasks-panel-CDFHAHrN.js → tasks-panel-DsjfS_k5.js} +5 -5
  156. package/dist/_chunks/{theme-toggle-C2LPw3xr.js → theme-toggle-DAqT_Yxy.js} +3 -3
  157. package/dist/_chunks/{toast-DQ1Zu1kk.js → toast-Cgmh1cvj.js} +2 -2
  158. package/dist/_chunks/{token-insert-menu-sGtftx4Y.js → token-insert-menu-BxqGMrZN.js} +2 -2
  159. package/dist/_chunks/{tool-rail-mWmYNRCV.js → tool-rail-DjPEiBa2.js} +2 -2
  160. package/dist/_chunks/{toolbar-JTR20W-U.js → toolbar-z_6tE7zG.js} +3 -3
  161. package/dist/_chunks/{tooth-scheme-DpgciFU8.js → tooth-scheme-C7xJEzaK.js} +2 -2
  162. package/dist/_chunks/{types-BrJRsnSG.js → types-DjQeiZXC.js} +2 -2
  163. package/dist/_chunks/{unit-converter-D1e1wZRE.js → unit-converter-CdrdnDlr.js} +2 -2
  164. package/dist/_chunks/{use-appointment-details-read-xj0PyEhI.js → use-appointment-details-read-Dod21IxM.js} +109 -101
  165. package/dist/_chunks/{verify-identity-types-CpeJIc9F.js → verify-identity-types-D0-sw1Qk.js} +2 -2
  166. package/dist/_chunks/{voice-control-panel-DqvvZN2A.js → voice-control-panel-DeWo646r.js} +6 -6
  167. package/dist/_chunks/{warning-stack-Dx7cpj10.js → warning-stack-BvfxZNfR.js} +3 -3
  168. package/dist/_chunks/{week-availability-CsTiwtYj.js → week-availability-D0tTll4q.js} +2 -2
  169. package/dist/_chunks/{weekly-hours-editor-BsVsgeOc.js → weekly-hours-editor-pTLyK8tt.js} +2 -2
  170. package/dist/_chunks/{workflow-map-CwfLHuiD.js → workflow-map-F7OThorL.js} +5 -5
  171. package/dist/_chunks/{workflow-webhook-action-BUWc2txJ.js → workflow-webhook-action-FImC6mwH.js} +6 -6
  172. package/dist/agent-catalog.json +1 -1
  173. package/dist/appointment-editor-panel/index.js +4 -4
  174. package/dist/aws-transcribe/index.js +176 -152
  175. package/dist/booking-tools-data/index.js +1 -1
  176. package/dist/browser-support.js +1 -1
  177. package/dist/calendar-action-buttons/index.js +4 -4
  178. package/dist/components/address-autocomplete/index.js +1 -1
  179. package/dist/components/address-fields/index.js +1 -1
  180. package/dist/components/agenda-tray/index.js +1 -1
  181. package/dist/components/ai-credits-notice/index.js +2 -2
  182. package/dist/components/ai-permission-notice/index.js +1 -1
  183. package/dist/components/ai-prompt-input/index.js +1 -1
  184. package/dist/components/ai-summary-panel/index.js +1 -1
  185. package/dist/components/anamnesis-card/index.js +1 -1
  186. package/dist/components/appointment-card/index.js +1 -1
  187. package/dist/components/appointment-details-panel/index.js +2 -2
  188. package/dist/components/appointment-peek/index.js +1 -1
  189. package/dist/components/appointment-timeline/index.js +1 -1
  190. package/dist/components/audio-recorder/index.js +1 -1
  191. package/dist/components/bill-line-table/index.js +1 -1
  192. package/dist/components/bill-table/index.js +1 -1
  193. package/dist/components/bishop-score/index.js +1 -1
  194. package/dist/components/bmi-calculator/index.js +1 -1
  195. package/dist/components/booking/index.js +1 -1
  196. package/dist/components/button/index.js +2 -2
  197. package/dist/components/button-group/index.js +1 -1
  198. package/dist/components/calendar/index.js +1 -1
  199. package/dist/components/calls-panel/index.js +1 -1
  200. package/dist/components/care-plan-card/index.js +1 -1
  201. package/dist/components/care-plan-entry-card/index.js +1 -1
  202. package/dist/components/care-plan-header/index.js +1 -1
  203. package/dist/components/carousel/index.js +1 -1
  204. package/dist/components/chart/index.js +1 -1
  205. package/dist/components/chat-input/index.js +1 -1
  206. package/dist/components/chat-message/index.js +1 -1
  207. package/dist/components/communications-panel/index.js +1 -1
  208. package/dist/components/connection-status/index.js +1 -1
  209. package/dist/components/contact-profile-card/index.js +1 -1
  210. package/dist/components/control-room-rail/index.js +1 -1
  211. package/dist/components/copy-field/index.js +1 -1
  212. package/dist/components/cycle-calculator/index.js +1 -1
  213. package/dist/components/dashboard-grid/index.js +1 -1
  214. package/dist/components/data-grid/index.js +2 -2
  215. package/dist/components/data-grid-tabs/index.js +1 -1
  216. package/dist/components/data-table/index.js +4 -4
  217. package/dist/components/data-table-tabs/index.js +1 -1
  218. package/dist/components/description-list/index.js +1 -1
  219. package/dist/components/dev-bypass-button/index.js +1 -1
  220. package/dist/components/document-preview/index.js +1 -1
  221. package/dist/components/document-scanner/index.js +1 -1
  222. package/dist/components/due-date-calculator/index.js +1 -1
  223. package/dist/components/editable-description/index.js +1 -1
  224. package/dist/components/editor-overlay/index.js +1 -1
  225. package/dist/components/empty-state/index.js +1 -1
  226. package/dist/components/entity-summary/index.js +1 -1
  227. package/dist/components/error-boundary/index.js +1 -1
  228. package/dist/components/face-scheme/index.js +1 -1
  229. package/dist/components/fetal-weight/index.js +1 -1
  230. package/dist/components/field-array/index.js +1 -1
  231. package/dist/components/file-manager/index.js +1 -1
  232. package/dist/components/finished-terminal/index.js +1 -1
  233. package/dist/components/fiscal-code-input/index.js +1 -1
  234. package/dist/components/freemium-paywall/index.js +1 -1
  235. package/dist/components/gestational-age-calculator/index.js +1 -1
  236. package/dist/components/hcg-doubling/index.js +1 -1
  237. package/dist/components/header/index.js +1 -1
  238. package/dist/components/header-settings/index.js +1 -1
  239. package/dist/components/heatmap/index.js +1 -1
  240. package/dist/components/hover-card/index.js +1 -1
  241. package/dist/components/icon-button/index.js +1 -1
  242. package/dist/components/icon-button-group/index.js +1 -1
  243. package/dist/components/icon-picker/index.js +1 -1
  244. package/dist/components/image-cropper/index.js +1 -1
  245. package/dist/components/info-tip/index.js +1 -1
  246. package/dist/components/invoice-upload/index.js +1 -1
  247. package/dist/components/invoice-upload-list/index.js +1 -1
  248. package/dist/components/key-value-pair/index.js +1 -1
  249. package/dist/components/locale-picker/index.js +1 -1
  250. package/dist/components/map-view/index.js +1 -1
  251. package/dist/components/medication-line/index.js +1 -1
  252. package/dist/components/medication-search/index.js +1 -1
  253. package/dist/components/message-card/index.js +1 -1
  254. package/dist/components/message-tray/index.js +1 -1
  255. package/dist/components/muscle-scheme/index.js +1 -1
  256. package/dist/components/notes-panel/index.js +1 -1
  257. package/dist/components/notification-card/index.js +1 -1
  258. package/dist/components/notification-tray/index.js +1 -1
  259. package/dist/components/optical-prescription/index.js +1 -1
  260. package/dist/components/panel-subview/index.js +1 -1
  261. package/dist/components/patient-details/index.js +1 -1
  262. package/dist/components/patient-search/index.js +1 -1
  263. package/dist/components/patient-summary-card/index.js +1 -1
  264. package/dist/components/patient-table/index.js +1 -1
  265. package/dist/components/payment-card/index.js +1 -1
  266. package/dist/components/periodontal-chart/index.js +1 -1
  267. package/dist/components/periodontal-chart-card/index.js +1 -1
  268. package/dist/components/popover/index.js +1 -1
  269. package/dist/components/practice-results/index.js +1 -1
  270. package/dist/components/pregnancy-dating/index.js +1 -1
  271. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  272. package/dist/components/privacy-lock/index.js +1 -1
  273. package/dist/components/product-hub-tray/index.js +1 -1
  274. package/dist/components/public-header/index.js +1 -1
  275. package/dist/components/radiograph-panel/index.js +1 -1
  276. package/dist/components/reviews-panel/index.js +1 -1
  277. package/dist/components/rich-text-editor/editor-toolbar.d.ts +2 -0
  278. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +2 -0
  279. package/dist/components/rich-text-editor/index.js +2 -2
  280. package/dist/components/rich-text-editor/rich-text-editor.d.ts +7 -0
  281. package/dist/components/row-actions/index.js +1 -1
  282. package/dist/components/session-countdown/index.js +1 -1
  283. package/dist/components/sheet/index.js +1 -1
  284. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  285. package/dist/components/slot-grid/index.js +1 -1
  286. package/dist/components/sms-code-entry/index.js +1 -1
  287. package/dist/components/specialty-list/index.js +1 -1
  288. package/dist/components/step-up-dialog/index.js +1 -1
  289. package/dist/components/streaming-text/index.js +1 -1
  290. package/dist/components/sync-tray/index.js +1 -1
  291. package/dist/components/task-editor/index.js +1 -1
  292. package/dist/components/task-tray/index.js +1 -1
  293. package/dist/components/tasks-panel/index.js +1 -1
  294. package/dist/components/theme-toggle/index.js +1 -1
  295. package/dist/components/toast/index.js +1 -1
  296. package/dist/components/token-insert-menu/index.js +1 -1
  297. package/dist/components/tool-rail/index.js +1 -1
  298. package/dist/components/tooth-scheme/index.js +1 -1
  299. package/dist/components/unit-converter/index.js +1 -1
  300. package/dist/components/voice-control-panel/index.js +1 -1
  301. package/dist/components/warning-stack/index.js +1 -1
  302. package/dist/components/week-availability/index.js +1 -1
  303. package/dist/components/weekly-hours-editor/index.js +1 -1
  304. package/dist/components/workflow/index.js +1 -1
  305. package/dist/core.css +1 -1
  306. package/dist/find-free-slots-panel/index.js +1 -1
  307. package/dist/host-calendar-selection.css +89 -0
  308. package/dist/index.js +157 -157
  309. package/dist/online-bookings-panel/index.js +2 -2
  310. package/dist/patterns/alia-assistant/index.js +1 -1
  311. package/dist/patterns/anamnesis/index.js +1 -1
  312. package/dist/patterns/calendar/index.js +4 -4
  313. package/dist/patterns/check-in-documents/index.js +1 -1
  314. package/dist/patterns/error-page/index.js +1 -1
  315. package/dist/patterns/forgot-password-form/index.js +1 -1
  316. package/dist/patterns/help-me-write-templates/index.js +2 -2
  317. package/dist/patterns/login-form/index.js +1 -1
  318. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  319. package/dist/patterns/patient-account-settings/index.js +1 -1
  320. package/dist/patterns/patient-check-in/index.js +1 -1
  321. package/dist/patterns/patient-portal/index.js +2 -2
  322. package/dist/patterns/patient-sign-in/index.js +2 -2
  323. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  324. package/dist/patterns/prescription/index.js +1 -1
  325. package/dist/patterns/registration-form/index.js +1 -1
  326. package/dist/patterns/reset-password-form/index.js +1 -1
  327. package/dist/patterns/send-registration-link-form/index.js +1 -1
  328. package/dist/patterns/signature-request/index.js +1 -1
  329. package/dist/patterns/signed-out-frame/index.js +1 -1
  330. package/dist/patterns/signing/index.js +1 -1
  331. package/dist/patterns/verify-identity/index.js +1 -1
  332. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  333. package/dist/redactor.css +3 -0
  334. package/dist/speech/aws-transcribe.d.ts +9 -0
  335. package/dist/tokens.css +4 -1
  336. package/dist/waiting-list-panel/index.js +4 -4
  337. package/package.json +7 -2
  338. package/dist/_chunks/rich-text-editor-DoCaj0qc.js +0 -4264
@@ -2,19 +2,19 @@ import { jsxs as d, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as Pt, useId as C, useRef as i, useState as m, useEffect as A, useCallback as Mt } from "react";
3
3
  import { useTranslation as ze } from "react-i18next";
4
4
  import { c as h } from "./index-D2ZczOXr.js";
5
- import { C as _e } from "./code-block-BTsCXVGI.js";
5
+ import { C as _e } from "./code-block-BpmhaXp_.js";
6
6
  import { A as k } from "./accordion-Ch3xp0mX.js";
7
7
  import { A as U } from "./alert-C4WKViaS.js";
8
8
  import { B as jt } from "./badge-BUk4RjTS.js";
9
- import { B as $e } from "./button-DohK_Ak_.js";
10
- import { I as qt } from "./icon-button-S8_weU3g.js";
9
+ import { B as $e } from "./button-Dp4j9ygh.js";
10
+ import { I as qt } from "./icon-button-u9VMQn3x.js";
11
11
  import { C as Xe } from "./card-n6W6LW-N.js";
12
12
  import { C as Ht } from "./checkbox-DV4sNDeB.js";
13
- import { F as _t } from "./field-array-CA-gn526.js";
13
+ import { F as _t } from "./field-array-kwUgFOIr.js";
14
14
  import { F as J } from "./form-field-CyHfOVKF.js";
15
15
  import { P as $t } from "./password-input-SJGHFdOO.js";
16
16
  import { T as ue } from "./text-input-B6iAgCr3.js";
17
- import { T as Xt } from "./token-insert-menu-sGtftx4Y.js";
17
+ import { T as Xt } from "./token-insert-menu-BxqGMrZN.js";
18
18
  import { u as Ue } from "./use-copy-to-clipboard-Cyfc_dlv.js";
19
19
  import { u as Kt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
20
20
  import { C as Je } from "./check-DrFSN__t.js";
@@ -784,4 +784,4 @@ export {
784
784
  To as W,
785
785
  ao as a
786
786
  };
787
- //# sourceMappingURL=workflow-webhook-action-BUWc2txJ.js.map
787
+ //# sourceMappingURL=workflow-webhook-action-FImC6mwH.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.143.0",
3
+ "packageVersion": "1.145.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1,14 +1,14 @@
1
1
  import { jsx as a, jsxs as x } from "react/jsx-runtime";
2
2
  import { useMemo as H, useCallback as h } from "react";
3
3
  import { useTranslation as D } from "react-i18next";
4
- import { I as j } from "../_chunks/icon-button-S8_weU3g.js";
4
+ import { I as j } from "../_chunks/icon-button-u9VMQn3x.js";
5
5
  import { a as F } from "../_chunks/panel-header-CbtlTe85.js";
6
6
  import { a as G } from "../_chunks/tooltip-uEBdD1-5.js";
7
7
  import { C as N, E as O } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
8
- import { A as W, S as q } from "../_chunks/calendar.sheets-DZh3p8HE.js";
9
- import { u as z, c as B } from "../_chunks/calendar-editor-discard-host-BblBxMqT.js";
8
+ import { A as W, S as q } from "../_chunks/calendar.sheets-CCvdZF-R.js";
9
+ import { u as z, c as B } from "../_chunks/calendar-editor-discard-host-DWS_kM-a.js";
10
10
  import { X as M } from "../_chunks/x-B5YnXwCz.js";
11
- import { P as R } from "../_chunks/privacy-mask-C2ZLKrMh.js";
11
+ import { P as R } from "../_chunks/privacy-mask-zVh0ntm0.js";
12
12
  import { C as X } from "../_chunks/calendar-clock-hbObjfGY.js";
13
13
  function oo({
14
14
  data: s,
@@ -1,7 +1,7 @@
1
- var V = Object.defineProperty;
2
- var $ = (t, e, n) => e in t ? V(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var D = (t, e, n) => $(t, typeof e != "symbol" ? e + "" : e, n);
4
- const J = (() => {
1
+ var q = Object.defineProperty;
2
+ var Q = (t, e, n) => e in t ? q(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var B = (t, e, n) => Q(t, typeof e != "symbol" ? e + "" : e, n);
4
+ const Z = (() => {
5
5
  const t = new Uint32Array(256);
6
6
  for (let e = 0; e < 256; e++) {
7
7
  let n = e;
@@ -11,59 +11,59 @@ const J = (() => {
11
11
  }
12
12
  return t;
13
13
  })();
14
- function C(t) {
14
+ function x(t) {
15
15
  let e = 4294967295;
16
16
  for (let n = 0; n < t.length; n++)
17
- e = (J[(e ^ t[n]) & 255] ^ e >>> 8) >>> 0;
17
+ e = (Z[(e ^ t[n]) & 255] ^ e >>> 8) >>> 0;
18
18
  return (e ^ 4294967295) >>> 0;
19
19
  }
20
- const B = 7, m = 12, W = new TextEncoder(), P = new TextDecoder();
21
- function K(t) {
22
- const e = Object.entries(t).map(([s, o]) => {
23
- const a = W.encode(s), u = W.encode(o), c = new Uint8Array(
24
- 1 + a.length + 1 + 2 + u.length
25
- ), i = new DataView(c.buffer);
26
- let h = 0;
27
- return i.setUint8(h, a.length), h += 1, c.set(a, h), h += a.length, i.setUint8(h, B), h += 1, i.setUint16(h, u.length), h += 2, c.set(u, h), c;
28
- }), n = new Uint8Array(e.reduce((s, o) => s + o.length, 0));
20
+ const V = 7, b = 12, I = new TextEncoder(), F = new TextDecoder();
21
+ function ee(t) {
22
+ const e = Object.entries(t).map(([s, c]) => {
23
+ const o = I.encode(s), u = I.encode(c), l = new Uint8Array(
24
+ 1 + o.length + 1 + 2 + u.length
25
+ ), h = new DataView(l.buffer);
26
+ let i = 0;
27
+ return h.setUint8(i, o.length), i += 1, l.set(o, i), i += o.length, h.setUint8(i, V), i += 1, h.setUint16(i, u.length), i += 2, l.set(u, i), l;
28
+ }), n = new Uint8Array(e.reduce((s, c) => s + c.length, 0));
29
29
  let r = 0;
30
30
  for (const s of e)
31
31
  n.set(s, r), r += s.length;
32
32
  return n;
33
33
  }
34
- function H(t, e) {
35
- const n = K(t), r = m + n.length + e.length + 4, s = new Uint8Array(r), o = new DataView(s.buffer);
36
- return o.setUint32(0, r), o.setUint32(4, n.length), o.setUint32(8, C(s.subarray(0, 8))), s.set(n, m), s.set(e, m + n.length), o.setUint32(r - 4, C(s.subarray(0, r - 4))), s;
34
+ function te(t, e) {
35
+ const n = ee(t), r = b + n.length + e.length + 4, s = new Uint8Array(r), c = new DataView(s.buffer);
36
+ return c.setUint32(0, r), c.setUint32(4, n.length), c.setUint32(8, x(s.subarray(0, 8))), s.set(n, b), s.set(e, b + n.length), c.setUint32(r - 4, x(s.subarray(0, r - 4))), s;
37
37
  }
38
- function Y(t) {
38
+ function ne(t) {
39
39
  const e = new Uint8Array(t);
40
- if (e.length < m + 4)
40
+ if (e.length < b + 4)
41
41
  throw new Error("event-stream: frame too short");
42
42
  const n = new DataView(t), r = n.getUint32(0), s = n.getUint32(4);
43
- if (r !== e.length || m + s + 4 > r)
43
+ if (r !== e.length || b + s + 4 > r)
44
44
  throw new Error("event-stream: lengths do not match the frame");
45
- if (n.getUint32(8) !== C(e.subarray(0, 8)))
45
+ if (n.getUint32(8) !== x(e.subarray(0, 8)))
46
46
  throw new Error("event-stream: prelude checksum mismatch");
47
- if (n.getUint32(r - 4) !== C(e.subarray(0, r - 4)))
47
+ if (n.getUint32(r - 4) !== x(e.subarray(0, r - 4)))
48
48
  throw new Error("event-stream: message checksum mismatch");
49
- const o = {};
50
- let a = m;
51
- const u = m + s;
52
- for (; a < u; ) {
53
- const c = n.getUint8(a);
54
- a += 1;
55
- const i = P.decode(e.subarray(a, a + c));
56
- if (a += c, n.getUint8(a) !== B) break;
57
- a += 1;
58
- const h = n.getUint16(a);
59
- a += 2, o[i] = P.decode(
60
- e.subarray(a, a + h)
61
- ), a += h;
49
+ const c = {};
50
+ let o = b;
51
+ const u = b + s;
52
+ for (; o < u; ) {
53
+ const l = n.getUint8(o);
54
+ o += 1;
55
+ const h = F.decode(e.subarray(o, o + l));
56
+ if (o += l, n.getUint8(o) !== V) break;
57
+ o += 1;
58
+ const i = n.getUint16(o);
59
+ o += 2, c[h] = F.decode(
60
+ e.subarray(o, o + i)
61
+ ), o += i;
62
62
  }
63
- return { headers: o, payload: e.slice(u, r - 4) };
63
+ return { headers: c, payload: e.slice(u, r - 4) };
64
64
  }
65
- function j(t) {
66
- return H(
65
+ function z(t) {
66
+ return te(
67
67
  {
68
68
  ":content-type": "application/octet-stream",
69
69
  ":event-type": "AudioEvent",
@@ -72,16 +72,16 @@ function j(t) {
72
72
  t
73
73
  );
74
74
  }
75
- class g extends Error {
75
+ class w extends Error {
76
76
  constructor(n, r) {
77
77
  super(
78
78
  r ? `AWS Transcribe: ${n} (${r})` : `AWS Transcribe: ${n}`
79
79
  );
80
- D(this, "code");
80
+ B(this, "code");
81
81
  this.name = "AwsTranscribeError", this.code = n;
82
82
  }
83
83
  }
84
- const q = {
84
+ const re = {
85
85
  de: "de-DE",
86
86
  en: "en-GB",
87
87
  es: "es-ES",
@@ -89,26 +89,26 @@ const q = {
89
89
  it: "it-IT",
90
90
  pt: "pt-PT"
91
91
  };
92
- function ie(t) {
93
- return q[t.toLowerCase().split(/[-_]/)[0] ?? ""] ?? null;
92
+ function ge(t) {
93
+ return re[t.toLowerCase().split(/[-_]/)[0] ?? ""] ?? null;
94
94
  }
95
- const Q = [8e3, 16e3, 44100, 48e3];
96
- function X(t) {
95
+ const oe = [8e3, 16e3, 44100, 48e3];
96
+ function se(t) {
97
97
  const e = Math.round(t);
98
- return Q.reduce(
98
+ return oe.reduce(
99
99
  (n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n
100
100
  );
101
101
  }
102
- function Z(t, e, n) {
102
+ function ae(t, e, n) {
103
103
  if (e === n) return t;
104
104
  const r = e / n, s = new Float32Array(Math.max(1, Math.round(t.length / r)));
105
- for (let o = 0; o < s.length; o++) {
106
- const a = o * r, u = Math.floor(a), c = t[u] ?? 0, i = t[u + 1] ?? c;
107
- s[o] = c + (i - c) * (a - u);
105
+ for (let c = 0; c < s.length; c++) {
106
+ const o = c * r, u = Math.floor(o), l = t[u] ?? 0, h = t[u + 1] ?? l;
107
+ s[c] = l + (h - l) * (o - u);
108
108
  }
109
109
  return s;
110
110
  }
111
- function ee(t) {
111
+ function ce(t) {
112
112
  const e = new Uint8Array(t.length * 2), n = new DataView(e.buffer);
113
113
  for (let r = 0; r < t.length; r++) {
114
114
  const s = Math.max(-1, Math.min(1, t[r] ?? 0));
@@ -116,25 +116,25 @@ function ee(t) {
116
116
  }
117
117
  return e;
118
118
  }
119
- function te(t) {
120
- var r, s, o;
119
+ function ie(t) {
120
+ var r, s, c;
121
121
  const e = t;
122
- return (((r = e == null ? void 0 : e.Transcript) == null ? void 0 : r.Results) ?? ((o = (s = e == null ? void 0 : e.TranscriptEvent) == null ? void 0 : s.Transcript) == null ? void 0 : o.Results) ?? []).flatMap((a) => {
123
- var c, i;
124
- const u = (i = (c = a.Alternatives) == null ? void 0 : c[0]) == null ? void 0 : i.Transcript;
125
- return typeof u == "string" ? [{ text: u, partial: a.IsPartial === !0 }] : [];
122
+ return (((r = e == null ? void 0 : e.Transcript) == null ? void 0 : r.Results) ?? ((c = (s = e == null ? void 0 : e.TranscriptEvent) == null ? void 0 : s.Transcript) == null ? void 0 : c.Results) ?? []).flatMap((o) => {
123
+ var l, h;
124
+ const u = (h = (l = o.Alternatives) == null ? void 0 : l[0]) == null ? void 0 : h.Transcript;
125
+ return typeof u == "string" ? [{ text: u, partial: o.IsPartial === !0 }] : [];
126
126
  });
127
127
  }
128
- function G() {
128
+ function $() {
129
129
  if (typeof window > "u") return;
130
130
  const t = window;
131
131
  return t.AudioContext ?? t.webkitAudioContext;
132
132
  }
133
- function ne() {
133
+ function ue() {
134
134
  var t;
135
- return typeof navigator < "u" && typeof ((t = navigator.mediaDevices) == null ? void 0 : t.getUserMedia) == "function" && G() !== void 0 && typeof WebSocket < "u";
135
+ return typeof navigator < "u" && typeof ((t = navigator.mediaDevices) == null ? void 0 : t.getUserMedia) == "function" && $() !== void 0 && typeof WebSocket < "u";
136
136
  }
137
- const re = 3e3, _ = "alfadocs-aws-transcribe-capture", oe = `class Capture extends AudioWorkletProcessor {
137
+ const le = 3e3, de = 10, K = "alfadocs-aws-transcribe-capture", fe = `class Capture extends AudioWorkletProcessor {
138
138
  constructor(options) {
139
139
  super();
140
140
  this.size = (options && options.processorOptions && options.processorOptions.chunk) || 2048;
@@ -154,62 +154,91 @@ const re = 3e3, _ = "alfadocs-aws-transcribe-capture", oe = `class Capture exten
154
154
  return true;
155
155
  }
156
156
  }
157
- registerProcessor(${JSON.stringify(_)}, Capture);`;
158
- async function se(t, e, n) {
157
+ registerProcessor(${JSON.stringify(K)}, Capture);`;
158
+ async function he(t, e, n) {
159
159
  if (t.audioWorklet && typeof AudioWorkletNode < "u") {
160
- const o = URL.createObjectURL(
161
- new Blob([oe], { type: "text/javascript" })
160
+ const c = URL.createObjectURL(
161
+ new Blob([fe], { type: "text/javascript" })
162
162
  );
163
163
  try {
164
- await t.audioWorklet.addModule(o);
165
- const a = new AudioWorkletNode(t, _, {
164
+ await t.audioWorklet.addModule(c);
165
+ const o = new AudioWorkletNode(t, K, {
166
166
  processorOptions: { chunk: e }
167
167
  });
168
- return a.port.onmessage = (u) => n(u.data), a;
168
+ return o.port.onmessage = (u) => n(u.data), o;
169
169
  } catch {
170
170
  } finally {
171
- URL.revokeObjectURL(o);
171
+ URL.revokeObjectURL(c);
172
172
  }
173
173
  }
174
174
  let r = 1024;
175
175
  for (; r < e && r < 16384; ) r *= 2;
176
176
  const s = t.createScriptProcessor(r, 1, 1);
177
- return s.onaudioprocess = (o) => n(o.inputBuffer.getChannelData(0).slice()), s;
177
+ return s.onaudioprocess = (c) => n(c.inputBuffer.getChannelData(0).slice()), s;
178
178
  }
179
- function ae(t) {
179
+ function pe(t) {
180
180
  return t && typeof t == "object" && "name" in t ? String(t.name) : void 0;
181
181
  }
182
- function ue(t) {
183
- return async ({ signal: e, onPartialTranscript: n, onFinalTranscript: r }) => {
184
- const s = G();
185
- if (!s || !ne())
186
- throw new g("unsupported");
182
+ function ye(t) {
183
+ return async ({
184
+ signal: e,
185
+ onPartialTranscript: n,
186
+ onFinalTranscript: r,
187
+ onStatus: s
188
+ }) => {
189
+ const c = $();
190
+ if (!c || !ue())
191
+ throw new w("unsupported");
187
192
  if (e.aborted) return;
188
193
  let o;
189
194
  try {
190
- o = new s({ sampleRate: 48e3 });
195
+ o = new c({ sampleRate: 48e3 });
191
196
  } catch {
192
- o = new s();
197
+ o = new c();
193
198
  }
194
- const a = o.sampleRate || 48e3, u = X(a), c = Math.max(1024, Math.round(a * 0.05));
199
+ const u = o.sampleRate || 48e3, l = se(u), h = Math.max(1024, Math.round(u * 0.05));
195
200
  let i = null;
196
- const h = [], v = () => {
197
- for (const p of h.splice(0)) {
198
- "port" in p && (p.port.onmessage = null), "onaudioprocess" in p && (p.onaudioprocess = null);
201
+ const k = [], A = () => {
202
+ for (const a of k.splice(0)) {
203
+ "port" in a && (a.port.onmessage = null), "onaudioprocess" in a && (a.onaudioprocess = null);
199
204
  try {
200
- p.disconnect();
205
+ a.disconnect();
201
206
  } catch {
202
207
  }
203
208
  }
204
- i == null || i.getTracks().forEach((p) => p.stop()), i = null, o.state !== "closed" && o.close().catch(() => {
209
+ i == null || i.getTracks().forEach((a) => a.stop()), i = null, o.state !== "closed" && o.close().catch(() => {
205
210
  });
211
+ }, N = Math.round(u * de);
212
+ let p = new Float32Array(0), E = null;
213
+ const R = (a) => {
214
+ !E || E.readyState !== WebSocket.OPEN || a.length === 0 || E.send(
215
+ z(ce(ae(a, u, l)))
216
+ );
217
+ }, M = (a) => {
218
+ if (!(!E || E.readyState !== WebSocket.OPEN)) {
219
+ for (; p.length >= h; )
220
+ R(p.subarray(0, h)), p = p.slice(h);
221
+ a && p.length && (R(p), p = new Float32Array(0));
222
+ }
223
+ }, J = (a) => {
224
+ const f = new Float32Array(p.length + a.length);
225
+ f.set(p), f.set(a, p.length), p = f.length > N ? f.slice(f.length - N) : f, M(!1);
226
+ }, H = async (a) => {
227
+ const f = await he(o, h, J);
228
+ if (!i) {
229
+ "port" in f && (f.port.onmessage = null), "onaudioprocess" in f && (f.onaudioprocess = null);
230
+ return;
231
+ }
232
+ const v = o.createMediaStreamSource(a), g = o.createGain();
233
+ g.gain.value = 0, k.push(v, f, g), v.connect(f), f.connect(g), g.connect(o.destination);
206
234
  };
207
235
  try {
208
236
  o.state === "suspended" && await o.resume();
209
237
  } catch {
210
- throw v(), new g("unsupported", "audio context");
238
+ throw A(), new w("unsupported", "audio context");
211
239
  }
212
- const I = typeof t.languageCode == "function" ? t.languageCode() : t.languageCode, [E, A] = await Promise.allSettled([
240
+ s == null || s("connecting");
241
+ const X = typeof t.languageCode == "function" ? t.languageCode() : t.languageCode, [m, U] = await Promise.allSettled([
213
242
  navigator.mediaDevices.getUserMedia({
214
243
  audio: {
215
244
  channelCount: 1,
@@ -217,104 +246,99 @@ function ue(t) {
217
246
  noiseSuppression: !0,
218
247
  autoGainControl: !0
219
248
  }
249
+ }).then(async (a) => {
250
+ if (i = a, e.aborted) return a;
251
+ try {
252
+ await H(a);
253
+ } catch {
254
+ throw new w("unsupported", "audio graph");
255
+ }
256
+ return !e.aborted && i && (s == null || s("listening")), a;
220
257
  }),
221
258
  t.getUrl(
222
- { languageCode: I, mediaEncoding: "pcm", sampleRate: u },
259
+ { languageCode: X, mediaEncoding: "pcm", sampleRate: l },
223
260
  e
224
261
  )
225
262
  ]);
226
- if (E.status === "fulfilled" && (i = E.value), e.aborted || E.status === "rejected" || A.status === "rejected") {
227
- if (v(), e.aborted) return;
228
- if (E.status === "rejected") {
229
- const p = ae(E.reason);
230
- throw p === "NotAllowedError" || p === "PermissionDeniedError" || p === "SecurityError" ? new g("permission") : new g("unsupported", p);
263
+ if (m.status === "fulfilled" && (i = m.value), e.aborted || m.status === "rejected" || U.status === "rejected") {
264
+ if (A(), e.aborted) return;
265
+ if (m.status === "rejected") {
266
+ if (m.reason instanceof w) throw m.reason;
267
+ const a = pe(m.reason);
268
+ throw a === "NotAllowedError" || a === "PermissionDeniedError" || a === "SecurityError" ? new w("permission") : new w("unsupported", a);
231
269
  }
232
- throw new g(
270
+ throw new w(
233
271
  "url",
234
- A.status === "rejected" && A.reason instanceof Error ? A.reason.message : void 0
272
+ U.status === "rejected" && U.reason instanceof Error ? U.reason.message : void 0
235
273
  );
236
274
  }
237
- const F = A.value;
238
- let l;
275
+ const Y = U.value;
276
+ let d;
239
277
  try {
240
- l = new WebSocket(F), l.binaryType = "arraybuffer";
278
+ d = new WebSocket(Y), d.binaryType = "arraybuffer";
241
279
  } catch {
242
- throw v(), new g("connection");
280
+ throw A(), new w("connection");
243
281
  }
244
- return new Promise((p, z) => {
245
- let U = !1, S = "", x = null, M, w = new Float32Array(0);
246
- const R = (d) => {
247
- l.readyState !== WebSocket.OPEN || d.length === 0 || l.send(
248
- j(ee(Z(d, a, u)))
249
- );
250
- }, k = (d) => {
251
- for (; w.length >= c; )
252
- R(w.subarray(0, c)), w = w.slice(c);
253
- d && w.length && (R(w), w = new Float32Array(0));
254
- }, b = (d) => {
255
- if (U) return;
256
- U = !0, clearTimeout(M), e.removeEventListener("abort", L), v(), l.onopen = l.onmessage = l.onerror = l.onclose = null, (l.readyState === WebSocket.OPEN || l.readyState === WebSocket.CONNECTING) && l.close();
257
- const f = S.trim();
258
- S = "", n(""), f && r(f), d && !e.aborted ? z(d) : p();
282
+ return E = d, new Promise((a, f) => {
283
+ let v = !1, g = "", O = null, L, W = !1;
284
+ const D = () => {
285
+ M(!0), d.send(z(new Uint8Array(0))), L = setTimeout(() => C(), le);
286
+ }, C = (S) => {
287
+ if (v) return;
288
+ v = !0, clearTimeout(L), e.removeEventListener("abort", P), A(), d.onopen = d.onmessage = d.onerror = d.onclose = null, (d.readyState === WebSocket.OPEN || d.readyState === WebSocket.CONNECTING) && d.close();
289
+ const y = g.trim();
290
+ g = "", n(""), y && r(y), S && !e.aborted ? f(S) : a();
259
291
  };
260
- function L() {
261
- U || (v(), l.readyState === WebSocket.OPEN ? (k(!0), l.send(j(new Uint8Array(0))), M = setTimeout(() => b(), re)) : b());
292
+ function P() {
293
+ v || (A(), d.readyState === WebSocket.OPEN ? D() : d.readyState === WebSocket.CONNECTING && p.length > 0 ? W = !0 : C());
262
294
  }
263
- e.addEventListener("abort", L, { once: !0 }), l.onopen = () => {
264
- if (!i) return b();
265
- se(o, c, (d) => {
266
- const f = new Float32Array(w.length + d.length);
267
- f.set(w), f.set(d, w.length), w = f, k(!1);
268
- }).then((d) => {
269
- if (U || !i) return;
270
- const f = o.createMediaStreamSource(i), y = o.createGain();
271
- y.gain.value = 0, h.push(f, d, y), f.connect(d), d.connect(y), y.connect(o.destination);
272
- }).catch(
273
- () => b(new g("unsupported", "audio graph"))
274
- );
275
- }, l.onmessage = (d) => {
276
- let f;
295
+ e.addEventListener("abort", P, { once: !0 }), d.onopen = () => {
296
+ if (W) return D();
297
+ if (!i) return C();
298
+ M(!1);
299
+ }, d.onmessage = (S) => {
300
+ let y;
277
301
  try {
278
- f = Y(d.data);
302
+ y = ne(S.data);
279
303
  } catch {
280
304
  return;
281
305
  }
282
- const y = f.headers[":message-type"];
283
- if (y === "exception") {
284
- x = new g(
306
+ const j = y.headers[":message-type"];
307
+ if (j === "exception") {
308
+ O = new w(
285
309
  "service",
286
- f.headers[":exception-type"] ?? f.headers[":error-code"]
310
+ y.headers[":exception-type"] ?? y.headers[":error-code"]
287
311
  );
288
312
  return;
289
313
  }
290
- if (y !== "event" || f.headers[":event-type"] !== "TranscriptEvent")
314
+ if (j !== "event" || y.headers[":event-type"] !== "TranscriptEvent")
291
315
  return;
292
- let N;
316
+ let G;
293
317
  try {
294
- N = JSON.parse(new TextDecoder().decode(f.payload));
318
+ G = JSON.parse(new TextDecoder().decode(y.payload));
295
319
  } catch {
296
320
  return;
297
321
  }
298
- for (const T of te(N))
322
+ for (const T of ie(G))
299
323
  if (T.partial)
300
- S = T.text, n(T.text);
324
+ g = T.text, n(T.text);
301
325
  else {
302
- S = "", n("");
303
- const O = T.text.trim();
304
- O && r(O);
326
+ g = "", n("");
327
+ const _ = T.text.trim();
328
+ _ && r(_);
305
329
  }
306
- }, l.onerror = () => b(x ?? new g("connection")), l.onclose = () => b(x ?? void 0);
330
+ }, d.onerror = () => C(O ?? new w("connection")), d.onclose = () => C(O ?? void 0);
307
331
  });
308
332
  };
309
333
  }
310
334
  export {
311
- g as AwsTranscribeError,
312
- ie as awsLanguageCode,
313
- ue as createAwsTranscribeDictation,
314
- ne as isAwsTranscribeSupported,
315
- Z as resample,
316
- ee as toPcm16,
317
- te as transcriptResults,
318
- X as transmitSampleRate
335
+ w as AwsTranscribeError,
336
+ ge as awsLanguageCode,
337
+ ye as createAwsTranscribeDictation,
338
+ ue as isAwsTranscribeSupported,
339
+ ae as resample,
340
+ ce as toPcm16,
341
+ ie as transcriptResults,
342
+ se as transmitSampleRate
319
343
  };
320
344
  //# sourceMappingURL=index.js.map
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
2
2
  import { a as d } from "../_chunks/tooltip-uEBdD1-5.js";
3
3
  import { C as p } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
4
4
  import { c as y } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
5
- import { h as P } from "../_chunks/calendar-workspace.model-B8yPwuBv.js";
5
+ import { h as P } from "../_chunks/calendar-workspace.model-4zmA3BFE.js";
6
6
  function l(e) {
7
7
  const s = String(e.getMonth() + 1).padStart(2, "0"), t = String(e.getDate()).padStart(2, "0");
8
8
  return `${e.getFullYear()}-${s}-${t}`;