@alfadocs/ui-kit-debug 0.31.0 → 0.31.2

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 (526) hide show
  1. package/dist/_chunks/{accordion-CNcodXuO.js → accordion-bSU21uTV.js} +3 -3
  2. package/dist/_chunks/{accordion-CNcodXuO.js.map → accordion-bSU21uTV.js.map} +1 -1
  3. package/dist/_chunks/{agenda-card-DO9_yogb.js → agenda-card-UJA6Arbs.js} +3 -3
  4. package/dist/_chunks/{agenda-card-DO9_yogb.js.map → agenda-card-UJA6Arbs.js.map} +1 -1
  5. package/dist/_chunks/{agenda-tray-WLbfMip6.js → agenda-tray-1fAxNOMz.js} +4 -4
  6. package/dist/_chunks/{agenda-tray-WLbfMip6.js.map → agenda-tray-1fAxNOMz.js.map} +1 -1
  7. package/dist/_chunks/{ai-prompt-input-BXlwNnWe.js → ai-prompt-input-C6sCr1Vi.js} +11 -10
  8. package/dist/_chunks/ai-prompt-input-C6sCr1Vi.js.map +1 -0
  9. package/dist/_chunks/{alia-sidebar-C-232sD7.js → alia-sidebar-BEoMl6UL.js} +9 -9
  10. package/dist/_chunks/{alia-sidebar-C-232sD7.js.map → alia-sidebar-BEoMl6UL.js.map} +1 -1
  11. package/dist/_chunks/ar-CEpIJtcO.js +399 -0
  12. package/dist/_chunks/ar-CEpIJtcO.js.map +1 -0
  13. package/dist/_chunks/{audio-recorder-DL800PE_.js → audio-recorder-C1rhKhSN.js} +114 -114
  14. package/dist/_chunks/audio-recorder-C1rhKhSN.js.map +1 -0
  15. package/dist/_chunks/audio-visualiser-l6zPd0AG.js +162 -0
  16. package/dist/_chunks/audio-visualiser-l6zPd0AG.js.map +1 -0
  17. package/dist/_chunks/{autocomplete-CUh0f7Dj.js → autocomplete-DIgdhCGJ.js} +2 -2
  18. package/dist/_chunks/{autocomplete-CUh0f7Dj.js.map → autocomplete-DIgdhCGJ.js.map} +1 -1
  19. package/dist/_chunks/{avatar-D_H4emLo.js → avatar-BNQNhoyL.js} +19 -18
  20. package/dist/_chunks/avatar-BNQNhoyL.js.map +1 -0
  21. package/dist/_chunks/{badge-CIjQ1Us1.js → badge-CptERaHx.js} +2 -2
  22. package/dist/_chunks/{badge-CIjQ1Us1.js.map → badge-CptERaHx.js.map} +1 -1
  23. package/dist/_chunks/{booking-Bhk9IYm3.js → booking-BIZ9GSer.js} +15 -15
  24. package/dist/_chunks/{booking-Bhk9IYm3.js.map → booking-BIZ9GSer.js.map} +1 -1
  25. package/dist/_chunks/{breadcrumb--YI7lcHA.js → breadcrumb-CLlhx7qo.js} +2 -2
  26. package/dist/_chunks/{breadcrumb--YI7lcHA.js.map → breadcrumb-CLlhx7qo.js.map} +1 -1
  27. package/dist/_chunks/{button-group-Bh2g_Ng-.js → button-group-Ciq6J4IW.js} +15 -14
  28. package/dist/_chunks/button-group-Ciq6J4IW.js.map +1 -0
  29. package/dist/_chunks/{calendar-WWNx448i.js → calendar-YHFknAGv.js} +22 -22
  30. package/dist/_chunks/{calendar-WWNx448i.js.map → calendar-YHFknAGv.js.map} +1 -1
  31. package/dist/_chunks/{carousel.agent-C2Icc9_T.js → carousel.agent-DrX96W-1.js} +2 -2
  32. package/dist/_chunks/{carousel.agent-C2Icc9_T.js.map → carousel.agent-DrX96W-1.js.map} +1 -1
  33. package/dist/_chunks/{chart-BLvFl169.js → chart-DLkVn_ex.js} +2 -2
  34. package/dist/_chunks/{chart-BLvFl169.js.map → chart-DLkVn_ex.js.map} +1 -1
  35. package/dist/_chunks/{chat-container-izziXViv.js → chat-container-ogB4OskO.js} +24 -23
  36. package/dist/_chunks/chat-container-ogB4OskO.js.map +1 -0
  37. package/dist/_chunks/{chat-input-cyl_y9bh.js → chat-input-CQe7nR_v.js} +132 -118
  38. package/dist/_chunks/chat-input-CQe7nR_v.js.map +1 -0
  39. package/dist/_chunks/{chat-message-fg221-yx.js → chat-message-D53_fH2w.js} +2 -2
  40. package/dist/_chunks/{chat-message-fg221-yx.js.map → chat-message-D53_fH2w.js.map} +1 -1
  41. package/dist/_chunks/{checkbox-Dgp_cfUr.js → checkbox-DRcOdmXv.js} +3 -3
  42. package/dist/_chunks/{checkbox-Dgp_cfUr.js.map → checkbox-DRcOdmXv.js.map} +1 -1
  43. package/dist/_chunks/{checkbox-group-eVowqKcT.js → checkbox-group-CpUwlHug.js} +3 -3
  44. package/dist/_chunks/{checkbox-group-eVowqKcT.js.map → checkbox-group-CpUwlHug.js.map} +1 -1
  45. package/dist/_chunks/{collapsible-hHiyZp0b.js → collapsible-CERONory.js} +2 -2
  46. package/dist/_chunks/{collapsible-hHiyZp0b.js.map → collapsible-CERONory.js.map} +1 -1
  47. package/dist/_chunks/{color-picker-Bm-gzpsh.js → color-picker-9tL7pz5y.js} +192 -181
  48. package/dist/_chunks/color-picker-9tL7pz5y.js.map +1 -0
  49. package/dist/_chunks/{combobox-Da9eq00i.js → combobox-BC-DFx8G.js} +31 -30
  50. package/dist/_chunks/combobox-BC-DFx8G.js.map +1 -0
  51. package/dist/_chunks/{command-palette-11BieSNq.js → command-palette-BiPAAno-.js} +125 -123
  52. package/dist/_chunks/command-palette-BiPAAno-.js.map +1 -0
  53. package/dist/_chunks/{copy-field-BAF4mt9h.js → copy-field-CCq7j6Zc.js} +2 -2
  54. package/dist/_chunks/{copy-field-BAF4mt9h.js.map → copy-field-CCq7j6Zc.js.map} +1 -1
  55. package/dist/_chunks/{date-picker-D0Ry1dMz.js → date-picker-B94HAV4A.js} +4 -4
  56. package/dist/_chunks/{date-picker-D0Ry1dMz.js.map → date-picker-B94HAV4A.js.map} +1 -1
  57. package/dist/_chunks/{date-range-picker-DYgHzMOo.js → date-range-picker-D4dgDlLU.js} +73 -73
  58. package/dist/_chunks/date-range-picker-D4dgDlLU.js.map +1 -0
  59. package/dist/_chunks/{date-time-picker-CGmGtcyc.js → date-time-picker-D1GEzf8p.js} +5 -5
  60. package/dist/_chunks/{date-time-picker-CGmGtcyc.js.map → date-time-picker-D1GEzf8p.js.map} +1 -1
  61. package/dist/_chunks/de-Dfbeau59.js +477 -0
  62. package/dist/_chunks/de-Dfbeau59.js.map +1 -0
  63. package/dist/_chunks/{description-list-CWjnaDGn.js → description-list-BEbK2g93.js} +2 -2
  64. package/dist/_chunks/{description-list-CWjnaDGn.js.map → description-list-BEbK2g93.js.map} +1 -1
  65. package/dist/_chunks/{dialog-C-lTGVkB.js → dialog-Cee13rHU.js} +3 -3
  66. package/dist/_chunks/{dialog-C-lTGVkB.js.map → dialog-Cee13rHU.js.map} +1 -1
  67. package/dist/_chunks/{dropdown-menu-DZxwF23X.js → dropdown-menu-BC5ZdOMo.js} +3 -3
  68. package/dist/_chunks/{dropdown-menu-DZxwF23X.js.map → dropdown-menu-BC5ZdOMo.js.map} +1 -1
  69. package/dist/_chunks/{editable-currency-cell-renderer-Od3Q-Y8J.js → editable-currency-cell-renderer-BpicmolK.js} +314 -317
  70. package/dist/_chunks/editable-currency-cell-renderer-BpicmolK.js.map +1 -0
  71. package/dist/_chunks/el-Dro3J7CP.js +373 -0
  72. package/dist/_chunks/el-Dro3J7CP.js.map +1 -0
  73. package/dist/_chunks/{email-input-DvJ_kPKL.js → email-input-lQivsFrw.js} +3 -3
  74. package/dist/_chunks/{email-input-DvJ_kPKL.js.map → email-input-lQivsFrw.js.map} +1 -1
  75. package/dist/_chunks/es-Dvg8u70B.js +373 -0
  76. package/dist/_chunks/es-Dvg8u70B.js.map +1 -0
  77. package/dist/_chunks/{file-upload-DxAQprcU.js → file-upload-CdozCPct.js} +226 -233
  78. package/dist/_chunks/file-upload-CdozCPct.js.map +1 -0
  79. package/dist/_chunks/fr-VOGjBSPP.js +338 -0
  80. package/dist/_chunks/fr-VOGjBSPP.js.map +1 -0
  81. package/dist/_chunks/{freemium-paywall-B9c8Ylww.js → freemium-paywall-D1N02Oam.js} +4 -4
  82. package/dist/_chunks/{freemium-paywall-B9c8Ylww.js.map → freemium-paywall-D1N02Oam.js.map} +1 -1
  83. package/dist/_chunks/{header-DDj7uGD-.js → header-CTZWX-tm.js} +2 -2
  84. package/dist/_chunks/{header-DDj7uGD-.js.map → header-CTZWX-tm.js.map} +1 -1
  85. package/dist/_chunks/hi-BSDxWU_y.js +433 -0
  86. package/dist/_chunks/hi-BSDxWU_y.js.map +1 -0
  87. package/dist/_chunks/{icon-button-DPEqBKBQ.js → icon-button-CKEOrN37.js} +2 -2
  88. package/dist/_chunks/{icon-button-DPEqBKBQ.js.map → icon-button-CKEOrN37.js.map} +1 -1
  89. package/dist/_chunks/{icon-button-group-DeV3FpNY.js → icon-button-group-C48khLE0.js} +23 -22
  90. package/dist/_chunks/icon-button-group-C48khLE0.js.map +1 -0
  91. package/dist/_chunks/{isSameDay-DHG8Xade.js → isSameDay-DUEiAT0G.js} +2 -2
  92. package/dist/_chunks/{isSameDay-DHG8Xade.js.map → isSameDay-DUEiAT0G.js.map} +1 -1
  93. package/dist/_chunks/isSameWeek-Dfzu29cW.js +14 -0
  94. package/dist/_chunks/isSameWeek-Dfzu29cW.js.map +1 -0
  95. package/dist/_chunks/it-CuonvcI_.js +401 -0
  96. package/dist/_chunks/it-CuonvcI_.js.map +1 -0
  97. package/dist/_chunks/ja-DO57gIOT.js +366 -0
  98. package/dist/_chunks/ja-DO57gIOT.js.map +1 -0
  99. package/dist/_chunks/{key-value-pair-BvDY3zuc.js → key-value-pair-C8DaR3Xs.js} +2 -2
  100. package/dist/_chunks/{key-value-pair-BvDY3zuc.js.map → key-value-pair-C8DaR3Xs.js.map} +1 -1
  101. package/dist/_chunks/{list-BdvDctBz.js → list-BOwqwy03.js} +44 -43
  102. package/dist/_chunks/list-BOwqwy03.js.map +1 -0
  103. package/dist/_chunks/{locale-picker-CY89MChR.js → locale-picker-D99UyZVJ.js} +4 -4
  104. package/dist/_chunks/{locale-picker-CY89MChR.js.map → locale-picker-D99UyZVJ.js.map} +1 -1
  105. package/dist/_chunks/{map-view-DyB8tr6c.js → map-view-WEWqXzof.js} +569 -557
  106. package/dist/_chunks/{map-view-DyB8tr6c.js.map → map-view-WEWqXzof.js.map} +1 -1
  107. package/dist/_chunks/{message-card-D6iyPacd.js → message-card-BbRhZkDI.js} +3 -3
  108. package/dist/_chunks/{message-card-D6iyPacd.js.map → message-card-BbRhZkDI.js.map} +1 -1
  109. package/dist/_chunks/{message-tray-Bh-0ra-Y.js → message-tray-B762TKuv.js} +11 -10
  110. package/dist/_chunks/message-tray-B762TKuv.js.map +1 -0
  111. package/dist/_chunks/{multi-select-dSe6Xtc4.js → multi-select-DOLO3K_z.js} +26 -25
  112. package/dist/_chunks/multi-select-DOLO3K_z.js.map +1 -0
  113. package/dist/_chunks/{navigation-menu-CyS1fBJ7.js → navigation-menu-C6lBYVv9.js} +3 -3
  114. package/dist/_chunks/{navigation-menu-CyS1fBJ7.js.map → navigation-menu-C6lBYVv9.js.map} +1 -1
  115. package/dist/_chunks/nl-DjPaaWaW.js +326 -0
  116. package/dist/_chunks/nl-DjPaaWaW.js.map +1 -0
  117. package/dist/_chunks/{notification-card-vaMaA7Wa.js → notification-card-DMdO4g54.js} +2 -2
  118. package/dist/_chunks/{notification-card-vaMaA7Wa.js.map → notification-card-DMdO4g54.js.map} +1 -1
  119. package/dist/_chunks/{notification-tray-Cnum6LwM.js → notification-tray-Dl3FTleW.js} +17 -16
  120. package/dist/_chunks/notification-tray-Dl3FTleW.js.map +1 -0
  121. package/dist/_chunks/{number-input-BZXu6bPY.js → number-input-Dj5L3pXK.js} +2 -2
  122. package/dist/_chunks/{number-input-BZXu6bPY.js.map → number-input-Dj5L3pXK.js.map} +1 -1
  123. package/dist/_chunks/{otp-input-BDF_iNpa.js → otp-input-BEg_sn8A.js} +2 -2
  124. package/dist/_chunks/{otp-input-BDF_iNpa.js.map → otp-input-BEg_sn8A.js.map} +1 -1
  125. package/dist/_chunks/{pagination-BWaXF7W0.js → pagination-DQOgnxxw.js} +2 -2
  126. package/dist/_chunks/{pagination-BWaXF7W0.js.map → pagination-DQOgnxxw.js.map} +1 -1
  127. package/dist/_chunks/{parseISO-Dk4xa7q6.js → parseISO-DEpUNwxZ.js} +2 -2
  128. package/dist/_chunks/{parseISO-Dk4xa7q6.js.map → parseISO-DEpUNwxZ.js.map} +1 -1
  129. package/dist/_chunks/{patient-search-ZpHN-pgJ.js → patient-search-hFiYbqcl.js} +8 -8
  130. package/dist/_chunks/{patient-search-ZpHN-pgJ.js.map → patient-search-hFiYbqcl.js.map} +1 -1
  131. package/dist/_chunks/{patient-shell-CYaNkbA1.js → patient-shell-CDvMw_Nk.js} +6 -6
  132. package/dist/_chunks/{patient-shell-CYaNkbA1.js.map → patient-shell-CDvMw_Nk.js.map} +1 -1
  133. package/dist/_chunks/{payment-form-Ds3rxvad.js → payment-form-D5rgnZu7.js} +2 -2
  134. package/dist/_chunks/{payment-form-Ds3rxvad.js.map → payment-form-D5rgnZu7.js.map} +1 -1
  135. package/dist/_chunks/{pdf-viewer-CIuaocnq.js → pdf-viewer-DvtEHcEP.js} +347 -320
  136. package/dist/_chunks/{pdf-viewer-CIuaocnq.js.map → pdf-viewer-DvtEHcEP.js.map} +1 -1
  137. package/dist/_chunks/{phone-input-DKSHX7NQ.js → phone-input-DfZbPPvh.js} +217 -201
  138. package/dist/_chunks/phone-input-DfZbPPvh.js.map +1 -0
  139. package/dist/_chunks/pl-Cl4lOx2N.js +514 -0
  140. package/dist/_chunks/pl-Cl4lOx2N.js.map +1 -0
  141. package/dist/_chunks/{popover-BfHSBEKq.js → popover-Devce-tT.js} +3 -3
  142. package/dist/_chunks/{popover-BfHSBEKq.js.map → popover-Devce-tT.js.map} +1 -1
  143. package/dist/_chunks/practice-results-JQunxBIg.js +1618 -0
  144. package/dist/_chunks/practice-results-JQunxBIg.js.map +1 -0
  145. package/dist/_chunks/{privacy-lock-C6Ra5m3p.js → privacy-lock-DD-wHxBg.js} +3 -3
  146. package/dist/_chunks/{privacy-lock-C6Ra5m3p.js.map → privacy-lock-DD-wHxBg.js.map} +1 -1
  147. package/dist/_chunks/{progress-B-PSO5OS.js → progress-kzIRcdaq.js} +11 -10
  148. package/dist/_chunks/progress-kzIRcdaq.js.map +1 -0
  149. package/dist/_chunks/pt-D7qO5CzD.js +370 -0
  150. package/dist/_chunks/pt-D7qO5CzD.js.map +1 -0
  151. package/dist/_chunks/{public-footer.agent-Bc99tE5Z.js → public-footer.agent-Bh0rnx4i.js} +21 -14
  152. package/dist/_chunks/public-footer.agent-Bh0rnx4i.js.map +1 -0
  153. package/dist/_chunks/{public-header.agent-B-B0WDAi.js → public-header.agent-B2dDg2_d.js} +3 -3
  154. package/dist/_chunks/{public-header.agent-B-B0WDAi.js.map → public-header.agent-B2dDg2_d.js.map} +1 -1
  155. package/dist/_chunks/{radio-i4ogu3cq.js → radio-TWf9Q-mp.js} +2 -2
  156. package/dist/_chunks/{radio-i4ogu3cq.js.map → radio-TWf9Q-mp.js.map} +1 -1
  157. package/dist/_chunks/{radio-group-CTlGc36r.js → radio-group-BcF92GEF.js} +4 -4
  158. package/dist/_chunks/{radio-group-CTlGc36r.js.map → radio-group-BcF92GEF.js.map} +1 -1
  159. package/dist/_chunks/{react-day-picker-D3yzgvDB.js → react-day-picker-DsjfS7uI.js} +662 -615
  160. package/dist/_chunks/{react-day-picker-D3yzgvDB.js.map → react-day-picker-DsjfS7uI.js.map} +1 -1
  161. package/dist/_chunks/recaptcha-widget-CFYyLSEX.js +221 -0
  162. package/dist/_chunks/recaptcha-widget-CFYyLSEX.js.map +1 -0
  163. package/dist/_chunks/registry-nPAVE19X.js +21 -0
  164. package/dist/_chunks/registry-nPAVE19X.js.map +1 -0
  165. package/dist/_chunks/{resizable-COV-cnth.js → resizable-3vzqDlg6.js} +29 -28
  166. package/dist/_chunks/resizable-3vzqDlg6.js.map +1 -0
  167. package/dist/_chunks/{reviews-panel-bKEUKSic.js → reviews-panel-yanuBZs-.js} +4 -4
  168. package/dist/_chunks/{reviews-panel-bKEUKSic.js.map → reviews-panel-yanuBZs-.js.map} +1 -1
  169. package/dist/_chunks/{rich-text-editor-J-wAz9eN.js → rich-text-editor-CHmr9Bz8.js} +2 -2
  170. package/dist/_chunks/{rich-text-editor-J-wAz9eN.js.map → rich-text-editor-CHmr9Bz8.js.map} +1 -1
  171. package/dist/_chunks/ro-CP2-VJ_O.js +361 -0
  172. package/dist/_chunks/ro-CP2-VJ_O.js.map +1 -0
  173. package/dist/_chunks/ru-RPn9_Lpq.js +561 -0
  174. package/dist/_chunks/ru-RPn9_Lpq.js.map +1 -0
  175. package/dist/_chunks/{scroll-area-DEDU-lp-.js → scroll-area-BWqCkEGz.js} +2 -2
  176. package/dist/_chunks/{scroll-area-DEDU-lp-.js.map → scroll-area-BWqCkEGz.js.map} +1 -1
  177. package/dist/_chunks/{search-bar-BRMW1-WG.js → search-bar-CP6wUJFY.js} +3 -3
  178. package/dist/_chunks/{search-bar-BRMW1-WG.js.map → search-bar-CP6wUJFY.js.map} +1 -1
  179. package/dist/_chunks/{search-input-CIA6pPfn.js → search-input-C1C3jQpD.js} +24 -23
  180. package/dist/_chunks/search-input-C1C3jQpD.js.map +1 -0
  181. package/dist/_chunks/{select-C92AT_OZ.js → select-hsCaJSX3.js} +3 -3
  182. package/dist/_chunks/{select-C92AT_OZ.js.map → select-hsCaJSX3.js.map} +1 -1
  183. package/dist/_chunks/{sheet-D8Yl0nKR.js → sheet-BV-yuLE2.js} +3 -3
  184. package/dist/_chunks/{sheet-D8Yl0nKR.js.map → sheet-BV-yuLE2.js.map} +1 -1
  185. package/dist/_chunks/{sidebar-DkyC6GvS.js → sidebar-BbR8f6oe.js} +3 -3
  186. package/dist/_chunks/{sidebar-DkyC6GvS.js.map → sidebar-BbR8f6oe.js.map} +1 -1
  187. package/dist/_chunks/{signature-capture-DjMlFOzS.js → signature-capture-C-fF71xI.js} +213 -205
  188. package/dist/_chunks/signature-capture-C-fF71xI.js.map +1 -0
  189. package/dist/_chunks/{slider-CfEzeseL.js → slider-BHWzXdjt.js} +3 -3
  190. package/dist/_chunks/{slider-CfEzeseL.js.map → slider-BHWzXdjt.js.map} +1 -1
  191. package/dist/_chunks/{slot-grid-Q94gVmhn.js → slot-grid-Dz13dH82.js} +4 -4
  192. package/dist/_chunks/{slot-grid-Q94gVmhn.js.map → slot-grid-Dz13dH82.js.map} +1 -1
  193. package/dist/_chunks/{sparkline-B5Ms55PZ.js → sparkline-DEROcSl0.js} +2 -2
  194. package/dist/_chunks/{sparkline-B5Ms55PZ.js.map → sparkline-DEROcSl0.js.map} +1 -1
  195. package/dist/_chunks/sq-AQvefouo.js +355 -0
  196. package/dist/_chunks/sq-AQvefouo.js.map +1 -0
  197. package/dist/_chunks/{stepper-progress-jFY8BSf7.js → stepper-progress-DDjq5nei.js} +16 -15
  198. package/dist/_chunks/stepper-progress-DDjq5nei.js.map +1 -0
  199. package/dist/_chunks/streaming-text-GH07yIYh.js +127 -0
  200. package/dist/_chunks/streaming-text-GH07yIYh.js.map +1 -0
  201. package/dist/_chunks/sv-zkx9eBtD.js +376 -0
  202. package/dist/_chunks/sv-zkx9eBtD.js.map +1 -0
  203. package/dist/_chunks/{switch-D916VW86.js → switch-BJ6HD3Mn.js} +2 -2
  204. package/dist/_chunks/{switch-D916VW86.js.map → switch-BJ6HD3Mn.js.map} +1 -1
  205. package/dist/_chunks/{tabs-aEQfQV3x.js → tabs-BpPYVme_.js} +4 -4
  206. package/dist/_chunks/{tabs-aEQfQV3x.js.map → tabs-BpPYVme_.js.map} +1 -1
  207. package/dist/_chunks/{tag-bBPAvXyh.js → tag-CyoaEmf_.js} +2 -2
  208. package/dist/_chunks/{tag-bBPAvXyh.js.map → tag-CyoaEmf_.js.map} +1 -1
  209. package/dist/_chunks/{task-tray-6NlryfMJ.js → task-tray-DRK0b0Qb.js} +3 -3
  210. package/dist/_chunks/{task-tray-6NlryfMJ.js.map → task-tray-DRK0b0Qb.js.map} +1 -1
  211. package/dist/_chunks/{text-area-D5GAe8pV.js → text-area-BIx0tZ05.js} +27 -26
  212. package/dist/_chunks/text-area-BIx0tZ05.js.map +1 -0
  213. package/dist/_chunks/{text-input-CakysYnD.js → text-input-BaClJL8Y.js} +2 -2
  214. package/dist/_chunks/{text-input-CakysYnD.js.map → text-input-BaClJL8Y.js.map} +1 -1
  215. package/dist/_chunks/{theme-toggle-JoeMs_ws.js → theme-toggle-DpC28kt5.js} +6 -6
  216. package/dist/_chunks/{theme-toggle-JoeMs_ws.js.map → theme-toggle-DpC28kt5.js.map} +1 -1
  217. package/dist/_chunks/{time-picker-DeVZkIY2.js → time-picker-B5umYwfv.js} +2 -2
  218. package/dist/_chunks/{time-picker-DeVZkIY2.js.map → time-picker-B5umYwfv.js.map} +1 -1
  219. package/dist/_chunks/{timeline-CR7HjZCK.js → timeline-D0Wo7v_o.js} +3 -3
  220. package/dist/_chunks/{timeline-CR7HjZCK.js.map → timeline-D0Wo7v_o.js.map} +1 -1
  221. package/dist/_chunks/{toast.agent-DVpKt38p.js → toast.agent-WHHfw5VX.js} +322 -320
  222. package/dist/_chunks/{toast.agent-DVpKt38p.js.map → toast.agent-WHHfw5VX.js.map} +1 -1
  223. package/dist/_chunks/{tooltip-ClJd0ciy.js → tooltip-DvmfrNvB.js} +29 -20
  224. package/dist/_chunks/tooltip-DvmfrNvB.js.map +1 -0
  225. package/dist/_chunks/{tooth-scheme-3mITSXiZ.js → tooth-scheme-CxlsLjfN.js} +2 -2
  226. package/dist/_chunks/{tooth-scheme-3mITSXiZ.js.map → tooth-scheme-CxlsLjfN.js.map} +1 -1
  227. package/dist/_chunks/tr-Dmr412Ac.js +378 -0
  228. package/dist/_chunks/tr-Dmr412Ac.js.map +1 -0
  229. package/dist/_chunks/{transcript-panel-QUQ9XJmf.js → transcript-panel-DyhTpAP7.js} +21 -20
  230. package/dist/_chunks/transcript-panel-DyhTpAP7.js.map +1 -0
  231. package/dist/_chunks/{use-direction-D6rvvG9G.js → use-direction-Dp8h70PP.js} +7 -6
  232. package/dist/_chunks/use-direction-Dp8h70PP.js.map +1 -0
  233. package/dist/_chunks/use-isomorphic-layout-effect-BGfaCOP1.js +6 -0
  234. package/dist/_chunks/use-isomorphic-layout-effect-BGfaCOP1.js.map +1 -0
  235. package/dist/_chunks/use-media-query-CcAx5SMM.js +16 -0
  236. package/dist/_chunks/use-media-query-CcAx5SMM.js.map +1 -0
  237. package/dist/_chunks/{use-password-requirements-E0sSfx5X.js → use-password-requirements-DsgduV1x.js} +3 -3
  238. package/dist/_chunks/{use-password-requirements-E0sSfx5X.js.map → use-password-requirements-DsgduV1x.js.map} +1 -1
  239. package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js +43 -0
  240. package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js.map +1 -0
  241. package/dist/_chunks/{workflow-map-DlWBJJBt.js → workflow-map-BSvQS3be.js} +6 -6
  242. package/dist/_chunks/{workflow-map-DlWBJJBt.js.map → workflow-map-BSvQS3be.js.map} +1 -1
  243. package/dist/_chunks/zh-CN-DxVt64Zk.js +388 -0
  244. package/dist/_chunks/zh-CN-DxVt64Zk.js.map +1 -0
  245. package/dist/agent/registry.d.ts +1 -6
  246. package/dist/agent/registry.d.ts.map +1 -1
  247. package/dist/agent-catalog.json +1 -1
  248. package/dist/components/_shared/date-locale.d.ts +7 -2
  249. package/dist/components/_shared/date-locale.d.ts.map +1 -1
  250. package/dist/components/_shared/index.d.ts +1 -1
  251. package/dist/components/_shared/index.d.ts.map +1 -1
  252. package/dist/components/accordion/index.js +1 -1
  253. package/dist/components/agenda-card/index.js +1 -1
  254. package/dist/components/agenda-tray/index.js +1 -1
  255. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -1
  256. package/dist/components/ai-prompt-input/index.js +1 -1
  257. package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -1
  258. package/dist/components/audio-recorder/index.js +1 -1
  259. package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -1
  260. package/dist/components/audio-visualiser/index.js +1 -1
  261. package/dist/components/autocomplete/index.js +1 -1
  262. package/dist/components/avatar/avatar.d.ts.map +1 -1
  263. package/dist/components/avatar/index.js +1 -1
  264. package/dist/components/badge/index.js +1 -1
  265. package/dist/components/booking/index.js +1 -1
  266. package/dist/components/breadcrumb/index.js +1 -1
  267. package/dist/components/button/index.js +1 -1
  268. package/dist/components/button-group/button-group.d.ts.map +1 -1
  269. package/dist/components/button-group/index.js +1 -1
  270. package/dist/components/calendar/calendar.d.ts.map +1 -1
  271. package/dist/components/calendar/index.js +1 -1
  272. package/dist/components/carousel/index.js +1 -1
  273. package/dist/components/chart/index.js +1 -1
  274. package/dist/components/chat-container/chat-container.d.ts.map +1 -1
  275. package/dist/components/chat-container/index.js +1 -1
  276. package/dist/components/chat-input/chat-input.d.ts.map +1 -1
  277. package/dist/components/chat-input/index.js +1 -1
  278. package/dist/components/chat-message/index.js +1 -1
  279. package/dist/components/checkbox/index.js +1 -1
  280. package/dist/components/checkbox-group/index.js +1 -1
  281. package/dist/components/collapsible/index.js +1 -1
  282. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  283. package/dist/components/color-picker/index.js +1 -1
  284. package/dist/components/combobox/combobox.d.ts.map +1 -1
  285. package/dist/components/combobox/index.js +1 -1
  286. package/dist/components/command-palette/command-palette.d.ts.map +1 -1
  287. package/dist/components/command-palette/index.js +1 -1
  288. package/dist/components/copy-field/index.js +1 -1
  289. package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -1
  290. package/dist/components/data-table/data-table.d.ts.map +1 -1
  291. package/dist/components/data-table/index.js +1 -1
  292. package/dist/components/date-picker/index.js +1 -1
  293. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
  294. package/dist/components/date-range-picker/index.js +1 -1
  295. package/dist/components/date-time-picker/index.js +1 -1
  296. package/dist/components/description-list/index.js +1 -1
  297. package/dist/components/dialog/index.js +1 -1
  298. package/dist/components/dropdown-menu/index.js +1 -1
  299. package/dist/components/email-input/index.js +1 -1
  300. package/dist/components/file-upload/file-upload.d.ts.map +1 -1
  301. package/dist/components/file-upload/index.js +1 -1
  302. package/dist/components/freemium-paywall/index.js +1 -1
  303. package/dist/components/header/index.js +1 -1
  304. package/dist/components/header-settings/index.js +6 -6
  305. package/dist/components/icon-button/index.js +1 -1
  306. package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -1
  307. package/dist/components/icon-button-group/index.js +1 -1
  308. package/dist/components/key-value-pair/index.js +1 -1
  309. package/dist/components/list/index.js +1 -1
  310. package/dist/components/list/list.d.ts.map +1 -1
  311. package/dist/components/locale-picker/index.js +1 -1
  312. package/dist/components/map-view/index.js +1 -1
  313. package/dist/components/map-view/map-view.d.ts +10 -0
  314. package/dist/components/map-view/map-view.d.ts.map +1 -1
  315. package/dist/components/message-card/index.js +1 -1
  316. package/dist/components/message-tray/index.js +1 -1
  317. package/dist/components/message-tray/message-tray.d.ts.map +1 -1
  318. package/dist/components/multi-select/index.js +1 -1
  319. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  320. package/dist/components/navigation-menu/index.js +1 -1
  321. package/dist/components/notification-card/index.js +1 -1
  322. package/dist/components/notification-tray/index.js +1 -1
  323. package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
  324. package/dist/components/number-input/index.js +1 -1
  325. package/dist/components/otp-input/index.js +1 -1
  326. package/dist/components/pagination/index.js +1 -1
  327. package/dist/components/password-input/index.js +1 -1
  328. package/dist/components/patient-search/index.js +1 -1
  329. package/dist/components/payment-form/index.js +1 -1
  330. package/dist/components/pdf-viewer/index.js +1 -1
  331. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  332. package/dist/components/phone-input/index.js +1 -1
  333. package/dist/components/phone-input/phone-input.d.ts.map +1 -1
  334. package/dist/components/popover/index.js +1 -1
  335. package/dist/components/practice-results/index.js +1 -1
  336. package/dist/components/practice-results/practice-results.d.ts +23 -1
  337. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  338. package/dist/components/privacy-lock/index.js +1 -1
  339. package/dist/components/progress/index.js +1 -1
  340. package/dist/components/progress/progress.d.ts.map +1 -1
  341. package/dist/components/public-footer/index.js +1 -1
  342. package/dist/components/public-footer/public-footer.d.ts.map +1 -1
  343. package/dist/components/public-header/index.js +1 -1
  344. package/dist/components/radio/index.js +1 -1
  345. package/dist/components/radio-group/index.js +2 -2
  346. package/dist/components/recaptcha-widget/index.js +1 -1
  347. package/dist/components/recaptcha-widget/recaptcha-widget.d.ts.map +1 -1
  348. package/dist/components/resizable/index.js +1 -1
  349. package/dist/components/resizable/resizable.d.ts.map +1 -1
  350. package/dist/components/reviews-panel/index.js +1 -1
  351. package/dist/components/rich-text-editor/index.js +1 -1
  352. package/dist/components/scroll-area/index.js +1 -1
  353. package/dist/components/search-bar/index.js +1 -1
  354. package/dist/components/search-input/index.js +1 -1
  355. package/dist/components/select/index.js +1 -1
  356. package/dist/components/sheet/index.js +1 -1
  357. package/dist/components/sidebar/index.js +1 -1
  358. package/dist/components/signature-capture/index.js +1 -1
  359. package/dist/components/signature-capture/signature-capture.d.ts.map +1 -1
  360. package/dist/components/slider/index.js +1 -1
  361. package/dist/components/slot-grid/index.js +1 -1
  362. package/dist/components/sparkline/index.js +1 -1
  363. package/dist/components/stepper-progress/index.js +1 -1
  364. package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -1
  365. package/dist/components/streaming-text/index.js +1 -1
  366. package/dist/components/streaming-text/streaming-text.d.ts.map +1 -1
  367. package/dist/components/switch/index.js +1 -1
  368. package/dist/components/tabs/index.js +1 -1
  369. package/dist/components/tag/index.js +1 -1
  370. package/dist/components/task-tray/index.js +1 -1
  371. package/dist/components/text-area/index.js +1 -1
  372. package/dist/components/text-area/text-area.d.ts.map +1 -1
  373. package/dist/components/text-input/index.js +1 -1
  374. package/dist/components/theme-toggle/index.js +1 -1
  375. package/dist/components/time-picker/index.js +1 -1
  376. package/dist/components/timeline/index.js +1 -1
  377. package/dist/components/toast/index.js +1 -1
  378. package/dist/components/toast/toast.d.ts.map +1 -1
  379. package/dist/components/tooltip/index.js +1 -1
  380. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  381. package/dist/components/tooth-scheme/index.js +1 -1
  382. package/dist/components/transcript-panel/index.js +1 -1
  383. package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -1
  384. package/dist/components/workflow/index.js +1 -1
  385. package/dist/hooks/index.js +69 -66
  386. package/dist/hooks/index.js.map +1 -1
  387. package/dist/hooks/use-debounced-value.d.ts.map +1 -1
  388. package/dist/hooks/use-direction.d.ts.map +1 -1
  389. package/dist/hooks/use-focus-trap.d.ts.map +1 -1
  390. package/dist/hooks/use-scroll-to-first-error.d.ts.map +1 -1
  391. package/dist/i18n/locales/ar.d.ts +92 -0
  392. package/dist/i18n/locales/ar.d.ts.map +1 -1
  393. package/dist/i18n/locales/ar.js +82 -0
  394. package/dist/i18n/locales/ar.js.map +1 -1
  395. package/dist/i18n/locales/de.d.ts +92 -0
  396. package/dist/i18n/locales/de.d.ts.map +1 -1
  397. package/dist/i18n/locales/de.js +81 -0
  398. package/dist/i18n/locales/de.js.map +1 -1
  399. package/dist/i18n/locales/el.d.ts +92 -0
  400. package/dist/i18n/locales/el.d.ts.map +1 -1
  401. package/dist/i18n/locales/el.js +82 -0
  402. package/dist/i18n/locales/el.js.map +1 -1
  403. package/dist/i18n/locales/en.d.ts +27 -0
  404. package/dist/i18n/locales/en.d.ts.map +1 -1
  405. package/dist/i18n/locales/en.js +27 -0
  406. package/dist/i18n/locales/en.js.map +1 -1
  407. package/dist/i18n/locales/es.d.ts +92 -0
  408. package/dist/i18n/locales/es.d.ts.map +1 -1
  409. package/dist/i18n/locales/es.js +81 -0
  410. package/dist/i18n/locales/es.js.map +1 -1
  411. package/dist/i18n/locales/fr.d.ts +92 -0
  412. package/dist/i18n/locales/fr.d.ts.map +1 -1
  413. package/dist/i18n/locales/fr.js +81 -0
  414. package/dist/i18n/locales/fr.js.map +1 -1
  415. package/dist/i18n/locales/hi.d.ts +92 -0
  416. package/dist/i18n/locales/hi.d.ts.map +1 -1
  417. package/dist/i18n/locales/hi.js +82 -0
  418. package/dist/i18n/locales/hi.js.map +1 -1
  419. package/dist/i18n/locales/it.d.ts +92 -0
  420. package/dist/i18n/locales/it.d.ts.map +1 -1
  421. package/dist/i18n/locales/it.js +81 -0
  422. package/dist/i18n/locales/it.js.map +1 -1
  423. package/dist/i18n/locales/ja.d.ts +92 -0
  424. package/dist/i18n/locales/ja.d.ts.map +1 -1
  425. package/dist/i18n/locales/ja.js +82 -0
  426. package/dist/i18n/locales/ja.js.map +1 -1
  427. package/dist/i18n/locales/nl.d.ts +92 -0
  428. package/dist/i18n/locales/nl.d.ts.map +1 -1
  429. package/dist/i18n/locales/nl.js +81 -0
  430. package/dist/i18n/locales/nl.js.map +1 -1
  431. package/dist/i18n/locales/pl.d.ts +92 -0
  432. package/dist/i18n/locales/pl.d.ts.map +1 -1
  433. package/dist/i18n/locales/pl.js +82 -0
  434. package/dist/i18n/locales/pl.js.map +1 -1
  435. package/dist/i18n/locales/pt.d.ts +92 -0
  436. package/dist/i18n/locales/pt.d.ts.map +1 -1
  437. package/dist/i18n/locales/pt.js +83 -0
  438. package/dist/i18n/locales/pt.js.map +1 -1
  439. package/dist/i18n/locales/ro.d.ts +92 -0
  440. package/dist/i18n/locales/ro.d.ts.map +1 -1
  441. package/dist/i18n/locales/ro.js +82 -0
  442. package/dist/i18n/locales/ro.js.map +1 -1
  443. package/dist/i18n/locales/ru.d.ts +92 -0
  444. package/dist/i18n/locales/ru.d.ts.map +1 -1
  445. package/dist/i18n/locales/ru.js +82 -0
  446. package/dist/i18n/locales/ru.js.map +1 -1
  447. package/dist/i18n/locales/sq.d.ts +92 -0
  448. package/dist/i18n/locales/sq.d.ts.map +1 -1
  449. package/dist/i18n/locales/sq.js +82 -0
  450. package/dist/i18n/locales/sq.js.map +1 -1
  451. package/dist/i18n/locales/sv.d.ts +92 -0
  452. package/dist/i18n/locales/sv.d.ts.map +1 -1
  453. package/dist/i18n/locales/sv.js +82 -0
  454. package/dist/i18n/locales/sv.js.map +1 -1
  455. package/dist/i18n/locales/tr.d.ts +92 -0
  456. package/dist/i18n/locales/tr.d.ts.map +1 -1
  457. package/dist/i18n/locales/tr.js +82 -0
  458. package/dist/i18n/locales/tr.js.map +1 -1
  459. package/dist/i18n/locales/zh.d.ts +92 -0
  460. package/dist/i18n/locales/zh.d.ts.map +1 -1
  461. package/dist/i18n/locales/zh.js +82 -0
  462. package/dist/i18n/locales/zh.js.map +1 -1
  463. package/dist/index.js +541 -540
  464. package/dist/index.js.map +1 -1
  465. package/dist/locales/ar.json +92 -0
  466. package/dist/locales/de.json +92 -0
  467. package/dist/locales/el.json +92 -0
  468. package/dist/locales/en.json +27 -0
  469. package/dist/locales/es.json +92 -0
  470. package/dist/locales/fr.json +92 -0
  471. package/dist/locales/hi.json +92 -0
  472. package/dist/locales/it.json +92 -0
  473. package/dist/locales/ja.json +92 -0
  474. package/dist/locales/nl.json +92 -0
  475. package/dist/locales/pl.json +92 -0
  476. package/dist/locales/pt.json +92 -0
  477. package/dist/locales/ro.json +92 -0
  478. package/dist/locales/ru.json +92 -0
  479. package/dist/locales/sq.json +92 -0
  480. package/dist/locales/sv.json +92 -0
  481. package/dist/locales/tr.json +92 -0
  482. package/dist/locales/zh.json +92 -0
  483. package/dist/patterns/alia-assistant/index.js +1 -1
  484. package/dist/patterns/patient-shell/index.js +1 -1
  485. package/dist/tokens.css +1 -1
  486. package/package.json +1 -2
  487. package/dist/_chunks/ai-prompt-input-BXlwNnWe.js.map +0 -1
  488. package/dist/_chunks/audio-recorder-DL800PE_.js.map +0 -1
  489. package/dist/_chunks/audio-visualiser-I-T4Z7EU.js +0 -145
  490. package/dist/_chunks/audio-visualiser-I-T4Z7EU.js.map +0 -1
  491. package/dist/_chunks/avatar-D_H4emLo.js.map +0 -1
  492. package/dist/_chunks/button-group-Bh2g_Ng-.js.map +0 -1
  493. package/dist/_chunks/chat-container-izziXViv.js.map +0 -1
  494. package/dist/_chunks/chat-input-cyl_y9bh.js.map +0 -1
  495. package/dist/_chunks/color-picker-Bm-gzpsh.js.map +0 -1
  496. package/dist/_chunks/combobox-Da9eq00i.js.map +0 -1
  497. package/dist/_chunks/command-palette-11BieSNq.js.map +0 -1
  498. package/dist/_chunks/date-range-picker-DYgHzMOo.js.map +0 -1
  499. package/dist/_chunks/editable-currency-cell-renderer-Od3Q-Y8J.js.map +0 -1
  500. package/dist/_chunks/file-upload-DxAQprcU.js.map +0 -1
  501. package/dist/_chunks/icon-button-group-DeV3FpNY.js.map +0 -1
  502. package/dist/_chunks/list-BdvDctBz.js.map +0 -1
  503. package/dist/_chunks/message-tray-Bh-0ra-Y.js.map +0 -1
  504. package/dist/_chunks/multi-select-dSe6Xtc4.js.map +0 -1
  505. package/dist/_chunks/notification-tray-Cnum6LwM.js.map +0 -1
  506. package/dist/_chunks/phone-input-DKSHX7NQ.js.map +0 -1
  507. package/dist/_chunks/practice-results-CEKjwsgS.js +0 -1441
  508. package/dist/_chunks/practice-results-CEKjwsgS.js.map +0 -1
  509. package/dist/_chunks/progress-B-PSO5OS.js.map +0 -1
  510. package/dist/_chunks/public-footer.agent-Bc99tE5Z.js.map +0 -1
  511. package/dist/_chunks/recaptcha-widget-BtBNb6tB.js +0 -192
  512. package/dist/_chunks/recaptcha-widget-BtBNb6tB.js.map +0 -1
  513. package/dist/_chunks/registry-C9nwlNyL.js +0 -21
  514. package/dist/_chunks/registry-C9nwlNyL.js.map +0 -1
  515. package/dist/_chunks/resizable-COV-cnth.js.map +0 -1
  516. package/dist/_chunks/search-input-CIA6pPfn.js.map +0 -1
  517. package/dist/_chunks/signature-capture-DjMlFOzS.js.map +0 -1
  518. package/dist/_chunks/stepper-progress-jFY8BSf7.js.map +0 -1
  519. package/dist/_chunks/streaming-text-BgjCTVOw.js +0 -105
  520. package/dist/_chunks/streaming-text-BgjCTVOw.js.map +0 -1
  521. package/dist/_chunks/text-area-D5GAe8pV.js.map +0 -1
  522. package/dist/_chunks/tooltip-ClJd0ciy.js.map +0 -1
  523. package/dist/_chunks/transcript-panel-QUQ9XJmf.js.map +0 -1
  524. package/dist/_chunks/use-direction-D6rvvG9G.js.map +0 -1
  525. package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +0 -55
  526. package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js.map +0 -1
@@ -0,0 +1,355 @@
1
+ import { o as s, q as r, r as i, v as m } from "./react-day-picker-DsjfS7uI.js";
2
+ const d = {
3
+ lessThanXSeconds: {
4
+ one: "më pak se një sekondë",
5
+ other: "më pak se {{count}} sekonda"
6
+ },
7
+ xSeconds: {
8
+ one: "1 sekondë",
9
+ other: "{{count}} sekonda"
10
+ },
11
+ halfAMinute: "gjysëm minuti",
12
+ lessThanXMinutes: {
13
+ one: "më pak se një minute",
14
+ other: "më pak se {{count}} minuta"
15
+ },
16
+ xMinutes: {
17
+ one: "1 minutë",
18
+ other: "{{count}} minuta"
19
+ },
20
+ aboutXHours: {
21
+ one: "rreth 1 orë",
22
+ other: "rreth {{count}} orë"
23
+ },
24
+ xHours: {
25
+ one: "1 orë",
26
+ other: "{{count}} orë"
27
+ },
28
+ xDays: {
29
+ one: "1 ditë",
30
+ other: "{{count}} ditë"
31
+ },
32
+ aboutXWeeks: {
33
+ one: "rreth 1 javë",
34
+ other: "rreth {{count}} javë"
35
+ },
36
+ xWeeks: {
37
+ one: "1 javë",
38
+ other: "{{count}} javë"
39
+ },
40
+ aboutXMonths: {
41
+ one: "rreth 1 muaj",
42
+ other: "rreth {{count}} muaj"
43
+ },
44
+ xMonths: {
45
+ one: "1 muaj",
46
+ other: "{{count}} muaj"
47
+ },
48
+ aboutXYears: {
49
+ one: "rreth 1 vit",
50
+ other: "rreth {{count}} vite"
51
+ },
52
+ xYears: {
53
+ one: "1 vit",
54
+ other: "{{count}} vite"
55
+ },
56
+ overXYears: {
57
+ one: "mbi 1 vit",
58
+ other: "mbi {{count}} vite"
59
+ },
60
+ almostXYears: {
61
+ one: "pothuajse 1 vit",
62
+ other: "pothuajse {{count}} vite"
63
+ }
64
+ }, h = (e, a, t) => {
65
+ let n;
66
+ const o = d[e];
67
+ return typeof o == "string" ? n = o : a === 1 ? n = o.one : n = o.other.replace("{{count}}", String(a)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "në " + n : n + " më parë" : n;
68
+ }, u = {
69
+ full: "EEEE, MMMM do, y",
70
+ long: "MMMM do, y",
71
+ medium: "MMM d, y",
72
+ short: "MM/dd/yyyy"
73
+ }, l = {
74
+ full: "h:mm:ss a zzzz",
75
+ long: "h:mm:ss a z",
76
+ medium: "h:mm:ss a",
77
+ short: "h:mm a"
78
+ }, c = {
79
+ full: "{{date}} 'në' {{time}}",
80
+ long: "{{date}} 'në' {{time}}",
81
+ medium: "{{date}}, {{time}}",
82
+ short: "{{date}}, {{time}}"
83
+ }, b = {
84
+ date: s({
85
+ formats: u,
86
+ defaultWidth: "full"
87
+ }),
88
+ time: s({
89
+ formats: l,
90
+ defaultWidth: "full"
91
+ }),
92
+ dateTime: s({
93
+ formats: c,
94
+ defaultWidth: "full"
95
+ })
96
+ }, f = {
97
+ lastWeek: "'të' eeee 'e shkuar në' p",
98
+ yesterday: "'dje në' p",
99
+ today: "'sot në' p",
100
+ tomorrow: "'nesër në' p",
101
+ nextWeek: "eeee 'at' p",
102
+ other: "P"
103
+ }, g = (e, a, t, n) => f[e], j = {
104
+ narrow: ["P", "M"],
105
+ abbreviated: ["PK", "MK"],
106
+ wide: ["Para Krishtit", "Mbas Krishtit"]
107
+ }, p = {
108
+ narrow: ["1", "2", "3", "4"],
109
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
110
+ wide: ["4-mujori I", "4-mujori II", "4-mujori III", "4-mujori IV"]
111
+ }, P = {
112
+ narrow: ["J", "S", "M", "P", "M", "Q", "K", "G", "S", "T", "N", "D"],
113
+ abbreviated: [
114
+ "Jan",
115
+ "Shk",
116
+ "Mar",
117
+ "Pri",
118
+ "Maj",
119
+ "Qer",
120
+ "Kor",
121
+ "Gus",
122
+ "Sht",
123
+ "Tet",
124
+ "Nën",
125
+ "Dhj"
126
+ ],
127
+ wide: [
128
+ "Janar",
129
+ "Shkurt",
130
+ "Mars",
131
+ "Prill",
132
+ "Maj",
133
+ "Qershor",
134
+ "Korrik",
135
+ "Gusht",
136
+ "Shtator",
137
+ "Tetor",
138
+ "Nëntor",
139
+ "Dhjetor"
140
+ ]
141
+ }, M = {
142
+ narrow: ["D", "H", "M", "M", "E", "P", "S"],
143
+ short: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
144
+ abbreviated: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Sht"],
145
+ wide: ["Dielë", "Hënë", "Martë", "Mërkurë", "Enjte", "Premte", "Shtunë"]
146
+ }, v = {
147
+ narrow: {
148
+ am: "p",
149
+ pm: "m",
150
+ midnight: "m",
151
+ noon: "d",
152
+ morning: "mëngjes",
153
+ afternoon: "dite",
154
+ evening: "mbrëmje",
155
+ night: "natë"
156
+ },
157
+ abbreviated: {
158
+ am: "PD",
159
+ pm: "MD",
160
+ midnight: "mesnëtë",
161
+ noon: "drek",
162
+ morning: "mëngjes",
163
+ afternoon: "mbasdite",
164
+ evening: "mbrëmje",
165
+ night: "natë"
166
+ },
167
+ wide: {
168
+ am: "p.d.",
169
+ pm: "m.d.",
170
+ midnight: "mesnëtë",
171
+ noon: "drek",
172
+ morning: "mëngjes",
173
+ afternoon: "mbasdite",
174
+ evening: "mbrëmje",
175
+ night: "natë"
176
+ }
177
+ }, k = {
178
+ narrow: {
179
+ am: "p",
180
+ pm: "m",
181
+ midnight: "m",
182
+ noon: "d",
183
+ morning: "në mëngjes",
184
+ afternoon: "në mbasdite",
185
+ evening: "në mbrëmje",
186
+ night: "në mesnatë"
187
+ },
188
+ abbreviated: {
189
+ am: "PD",
190
+ pm: "MD",
191
+ midnight: "mesnatë",
192
+ noon: "drek",
193
+ morning: "në mëngjes",
194
+ afternoon: "në mbasdite",
195
+ evening: "në mbrëmje",
196
+ night: "në mesnatë"
197
+ },
198
+ wide: {
199
+ am: "p.d.",
200
+ pm: "m.d.",
201
+ midnight: "mesnatë",
202
+ noon: "drek",
203
+ morning: "në mëngjes",
204
+ afternoon: "në mbasdite",
205
+ evening: "në mbrëmje",
206
+ night: "në mesnatë"
207
+ }
208
+ }, y = (e, a) => {
209
+ const t = Number(e);
210
+ return (a == null ? void 0 : a.unit) === "hour" ? String(t) : t === 1 ? t + "-rë" : t === 4 ? t + "t" : t + "-të";
211
+ }, w = {
212
+ ordinalNumber: y,
213
+ era: r({
214
+ values: j,
215
+ defaultWidth: "wide"
216
+ }),
217
+ quarter: r({
218
+ values: p,
219
+ defaultWidth: "wide",
220
+ argumentCallback: (e) => e - 1
221
+ }),
222
+ month: r({
223
+ values: P,
224
+ defaultWidth: "wide"
225
+ }),
226
+ day: r({
227
+ values: M,
228
+ defaultWidth: "wide"
229
+ }),
230
+ dayPeriod: r({
231
+ values: v,
232
+ defaultWidth: "wide",
233
+ formattingValues: k,
234
+ defaultFormattingWidth: "wide"
235
+ })
236
+ }, W = /^(\d+)(-rë|-të|t|)?/i, D = /\d+/i, S = {
237
+ narrow: /^(p|m)/i,
238
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
239
+ wide: /^(para krishtit|mbas krishtit)/i
240
+ }, q = {
241
+ any: [/^b/i, /^(p|m)/i]
242
+ }, x = {
243
+ narrow: /^[1234]/i,
244
+ abbreviated: /^q[1234]/i,
245
+ wide: /^[1234]-mujori (i{1,3}|iv)/i
246
+ }, E = {
247
+ any: [/1/i, /2/i, /3/i, /4/i]
248
+ }, F = {
249
+ narrow: /^[jsmpqkftnd]/i,
250
+ abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,
251
+ wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i
252
+ }, Q = {
253
+ narrow: [
254
+ /^j/i,
255
+ /^s/i,
256
+ /^m/i,
257
+ /^p/i,
258
+ /^m/i,
259
+ /^q/i,
260
+ /^k/i,
261
+ /^g/i,
262
+ /^s/i,
263
+ /^t/i,
264
+ /^n/i,
265
+ /^d/i
266
+ ],
267
+ any: [
268
+ /^ja/i,
269
+ /^shk/i,
270
+ /^mar/i,
271
+ /^pri/i,
272
+ /^maj/i,
273
+ /^qer/i,
274
+ /^kor/i,
275
+ /^gu/i,
276
+ /^sht/i,
277
+ /^tet/i,
278
+ /^n/i,
279
+ /^d/i
280
+ ]
281
+ }, V = {
282
+ narrow: /^[dhmeps]/i,
283
+ short: /^(di|hë|ma|më|en|pr|sh)/i,
284
+ abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i,
285
+ wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i
286
+ }, z = {
287
+ narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i],
288
+ any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i]
289
+ }, I = {
290
+ narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,
291
+ any: /^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i
292
+ }, N = {
293
+ any: {
294
+ am: /^p/i,
295
+ pm: /^m/i,
296
+ midnight: /^me/i,
297
+ noon: /^dr/i,
298
+ morning: /mëngjes/i,
299
+ afternoon: /mbasdite/i,
300
+ evening: /mbrëmje/i,
301
+ night: /natë/i
302
+ }
303
+ }, X = {
304
+ ordinalNumber: m({
305
+ matchPattern: W,
306
+ parsePattern: D,
307
+ valueCallback: (e) => parseInt(e, 10)
308
+ }),
309
+ era: i({
310
+ matchPatterns: S,
311
+ defaultMatchWidth: "wide",
312
+ parsePatterns: q,
313
+ defaultParseWidth: "any"
314
+ }),
315
+ quarter: i({
316
+ matchPatterns: x,
317
+ defaultMatchWidth: "wide",
318
+ parsePatterns: E,
319
+ defaultParseWidth: "any",
320
+ valueCallback: (e) => e + 1
321
+ }),
322
+ month: i({
323
+ matchPatterns: F,
324
+ defaultMatchWidth: "wide",
325
+ parsePatterns: Q,
326
+ defaultParseWidth: "any"
327
+ }),
328
+ day: i({
329
+ matchPatterns: V,
330
+ defaultMatchWidth: "wide",
331
+ parsePatterns: z,
332
+ defaultParseWidth: "any"
333
+ }),
334
+ dayPeriod: i({
335
+ matchPatterns: I,
336
+ defaultMatchWidth: "any",
337
+ parsePatterns: N,
338
+ defaultParseWidth: "any"
339
+ })
340
+ }, T = {
341
+ code: "sq",
342
+ formatDistance: h,
343
+ formatLong: b,
344
+ formatRelative: g,
345
+ localize: w,
346
+ match: X,
347
+ options: {
348
+ weekStartsOn: 1,
349
+ firstWeekContainsDate: 1
350
+ }
351
+ };
352
+ export {
353
+ T as sq
354
+ };
355
+ //# sourceMappingURL=sq-AQvefouo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sq-AQvefouo.js","sources":["../../node_modules/date-fns/locale/sq/_lib/formatDistance.js","../../node_modules/date-fns/locale/sq/_lib/formatLong.js","../../node_modules/date-fns/locale/sq/_lib/formatRelative.js","../../node_modules/date-fns/locale/sq/_lib/localize.js","../../node_modules/date-fns/locale/sq/_lib/match.js","../../node_modules/date-fns/locale/sq.js"],"sourcesContent":["const formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"më pak se një sekondë\",\n other: \"më pak se {{count}} sekonda\",\n },\n\n xSeconds: {\n one: \"1 sekondë\",\n other: \"{{count}} sekonda\",\n },\n\n halfAMinute: \"gjysëm minuti\",\n\n lessThanXMinutes: {\n one: \"më pak se një minute\",\n other: \"më pak se {{count}} minuta\",\n },\n\n xMinutes: {\n one: \"1 minutë\",\n other: \"{{count}} minuta\",\n },\n\n aboutXHours: {\n one: \"rreth 1 orë\",\n other: \"rreth {{count}} orë\",\n },\n\n xHours: {\n one: \"1 orë\",\n other: \"{{count}} orë\",\n },\n\n xDays: {\n one: \"1 ditë\",\n other: \"{{count}} ditë\",\n },\n\n aboutXWeeks: {\n one: \"rreth 1 javë\",\n other: \"rreth {{count}} javë\",\n },\n\n xWeeks: {\n one: \"1 javë\",\n other: \"{{count}} javë\",\n },\n\n aboutXMonths: {\n one: \"rreth 1 muaj\",\n other: \"rreth {{count}} muaj\",\n },\n\n xMonths: {\n one: \"1 muaj\",\n other: \"{{count}} muaj\",\n },\n\n aboutXYears: {\n one: \"rreth 1 vit\",\n other: \"rreth {{count}} vite\",\n },\n\n xYears: {\n one: \"1 vit\",\n other: \"{{count}} vite\",\n },\n\n overXYears: {\n one: \"mbi 1 vit\",\n other: \"mbi {{count}} vite\",\n },\n\n almostXYears: {\n one: \"pothuajse 1 vit\",\n other: \"pothuajse {{count}} vite\",\n },\n};\n\nexport const formatDistance = (token, count, options) => {\n let result;\n\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"në \" + result;\n } else {\n return result + \" më parë\";\n }\n }\n\n return result;\n};\n","import { buildFormatLongFn } from \"../../_lib/buildFormatLongFn.js\";\n\nconst dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\",\n};\n\nconst timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\",\n};\n\nconst dateTimeFormats = {\n full: \"{{date}} 'në' {{time}}\",\n long: \"{{date}} 'në' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\",\n};\n\nexport const formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\",\n }),\n\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\",\n }),\n\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\",\n }),\n};\n","const formatRelativeLocale = {\n lastWeek: \"'të' eeee 'e shkuar në' p\",\n yesterday: \"'dje në' p\",\n today: \"'sot në' p\",\n tomorrow: \"'nesër në' p\",\n nextWeek: \"eeee 'at' p\",\n other: \"P\",\n};\n\nexport const formatRelative = (token, _date, _baseDate, _options) =>\n formatRelativeLocale[token];\n","import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"P\", \"M\"],\n abbreviated: [\"PK\", \"MK\"],\n wide: [\"Para Krishtit\", \"Mbas Krishtit\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"4-mujori I\", \"4-mujori II\", \"4-mujori III\", \"4-mujori IV\"],\n};\n\n// Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\nconst monthValues = {\n narrow: [\"J\", \"S\", \"M\", \"P\", \"M\", \"Q\", \"K\", \"G\", \"S\", \"T\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Shk\",\n \"Mar\",\n \"Pri\",\n \"Maj\",\n \"Qer\",\n \"Kor\",\n \"Gus\",\n \"Sht\",\n \"Tet\",\n \"Nën\",\n \"Dhj\",\n ],\n\n wide: [\n \"Janar\",\n \"Shkurt\",\n \"Mars\",\n \"Prill\",\n \"Maj\",\n \"Qershor\",\n \"Korrik\",\n \"Gusht\",\n \"Shtator\",\n \"Tetor\",\n \"Nëntor\",\n \"Dhjetor\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"D\", \"H\", \"M\", \"M\", \"E\", \"P\", \"S\"],\n short: [\"Di\", \"Hë\", \"Ma\", \"Më\", \"En\", \"Pr\", \"Sh\"],\n abbreviated: [\"Die\", \"Hën\", \"Mar\", \"Mër\", \"Enj\", \"Pre\", \"Sht\"],\n wide: [\"Dielë\", \"Hënë\", \"Martë\", \"Mërkurë\", \"Enjte\", \"Premte\", \"Shtunë\"],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"p\",\n pm: \"m\",\n midnight: \"m\",\n noon: \"d\",\n morning: \"mëngjes\",\n afternoon: \"dite\",\n evening: \"mbrëmje\",\n night: \"natë\",\n },\n abbreviated: {\n am: \"PD\",\n pm: \"MD\",\n midnight: \"mesnëtë\",\n noon: \"drek\",\n morning: \"mëngjes\",\n afternoon: \"mbasdite\",\n evening: \"mbrëmje\",\n night: \"natë\",\n },\n wide: {\n am: \"p.d.\",\n pm: \"m.d.\",\n midnight: \"mesnëtë\",\n noon: \"drek\",\n morning: \"mëngjes\",\n afternoon: \"mbasdite\",\n evening: \"mbrëmje\",\n night: \"natë\",\n },\n};\n\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"p\",\n pm: \"m\",\n midnight: \"m\",\n noon: \"d\",\n morning: \"në mëngjes\",\n afternoon: \"në mbasdite\",\n evening: \"në mbrëmje\",\n night: \"në mesnatë\",\n },\n abbreviated: {\n am: \"PD\",\n pm: \"MD\",\n midnight: \"mesnatë\",\n noon: \"drek\",\n morning: \"në mëngjes\",\n afternoon: \"në mbasdite\",\n evening: \"në mbrëmje\",\n night: \"në mesnatë\",\n },\n wide: {\n am: \"p.d.\",\n pm: \"m.d.\",\n midnight: \"mesnatë\",\n noon: \"drek\",\n morning: \"në mëngjes\",\n afternoon: \"në mbasdite\",\n evening: \"në mbrëmje\",\n night: \"në mesnatë\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, options) => {\n const number = Number(dirtyNumber);\n\n if (options?.unit === \"hour\") return String(number);\n\n if (number === 1) return number + \"-rë\";\n if (number === 4) return number + \"t\";\n\n return number + \"-të\";\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n","import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(-rë|-të|t|)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(p|m)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(para krishtit|mbas krishtit)/i,\n};\nconst parseEraPatterns = {\n any: [/^b/i, /^(p|m)/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]-mujori (i{1,3}|iv)/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[jsmpqkftnd]/i,\n abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,\n wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^s/i,\n /^m/i,\n /^p/i,\n /^m/i,\n /^q/i,\n /^k/i,\n /^g/i,\n /^s/i,\n /^t/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^ja/i,\n /^shk/i,\n /^mar/i,\n /^pri/i,\n /^maj/i,\n /^qer/i,\n /^kor/i,\n /^gu/i,\n /^sht/i,\n /^tet/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[dhmeps]/i,\n short: /^(di|hë|ma|më|en|pr|sh)/i,\n abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i,\n wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i,\n};\nconst parseDayPatterns = {\n narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i],\n any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,\n any: /^([pm]\\.?\\s?d\\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^p/i,\n pm: /^m/i,\n midnight: /^me/i,\n noon: /^dr/i,\n morning: /mëngjes/i,\n afternoon: /mbasdite/i,\n evening: /mbrëmje/i,\n night: /natë/i,\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n","import { formatDistance } from \"./sq/_lib/formatDistance.js\";\nimport { formatLong } from \"./sq/_lib/formatLong.js\";\nimport { formatRelative } from \"./sq/_lib/formatRelative.js\";\nimport { localize } from \"./sq/_lib/localize.js\";\nimport { match } from \"./sq/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary Albanian locale.\n * @language Shqip\n * @iso-639-2 sqi\n * @author Ardit Dine [@arditdine](https://github.com/arditdine)\n */\nexport const sq = {\n code: \"sq\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1 /* Monday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default sq;\n"],"names":["formatDistanceLocale","formatDistance","token","count","options","result","tokenValue","dateFormats","timeFormats","dateTimeFormats","formatLong","buildFormatLongFn","formatRelativeLocale","formatRelative","_date","_baseDate","_options","eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","localize","buildLocalizeFn","quarter","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index","sq"],"mappings":";AAAA,MAAMA,IAAuB;AAAA,EAC3B,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;AAAA,IACR,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,aAAa;AAAA,EAEb,kBAAkB;AAAA,IAChB,KAAK;AAAA,IACL,OAAO;AAAA,EACX;AAAA,EAEE,UAAU;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AAA,EACtC,CAAG;AAAA,EAED,OAAOD,EAAa;AAAA,IAClB,eAAeT;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,KAAKQ,EAAa;AAAA,IAChB,eAAeP;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,WAAWM,EAAa;AAAA,IACtB,eAAeL;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AACH,GCtHaM,IAAK;AAAA,EAChB,MAAM;AAAA,EACN,gBAAgB7C;AAAA,EAChB,YAAYS;AAAA,EACZ,gBAAgBG;AAAA,EAChB,UAAUa;AAAA,EACV,OAAOe;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0,1,2,3,4,5]}
@@ -1,8 +1,9 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as H, useRef as P, useState as E, useEffect as I, useLayoutEffect as B, useMemo as C, useImperativeHandle as L } from "react";
2
+ import { forwardRef as H, useRef as P, useState as I, useEffect as E, useMemo as B, useImperativeHandle as C } from "react";
3
3
  import { c as p } from "./index-D2ZczOXr.js";
4
- import { useTranslation as O } from "react-i18next";
5
- import { u as Z } from "./registry-C9nwlNyL.js";
4
+ import { useTranslation as L } from "react-i18next";
5
+ import { u as O } from "./registry-nPAVE19X.js";
6
+ import { u as Z } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
6
7
  const _ = {
7
8
  id: "stepper-progress",
8
9
  capabilities: ["navigate"],
@@ -120,14 +121,14 @@ const _ = {
120
121
  className: k,
121
122
  ...R
122
123
  }, T) => {
123
- const { t: u } = O(), v = P(null), t = o.length, s = Math.max(0, Math.min(e, t - 1)), r = o[s], f = (r == null ? void 0 : r.status) === "error" ? "error" : "current", g = s + 1, V = t === 0 ? 0 : g / t * 100, m = f === "error" ? "error" : s === t - 1 && t > 0 ? "complete" : "progress", [K, j] = E(!1);
124
- I(() => {
124
+ const { t: u } = L(), m = P(null), t = o.length, s = Math.max(0, Math.min(e, t - 1)), r = o[s], v = (r == null ? void 0 : r.status) === "error" ? "error" : "current", f = s + 1, V = t === 0 ? 0 : f / t * 100, g = v === "error" ? "error" : s === t - 1 && t > 0 ? "complete" : "progress", [K, j] = I(!1);
125
+ E(() => {
125
126
  j(!0);
126
127
  }, []);
127
128
  const h = K ? V : 0;
128
- B(() => {
129
+ Z(() => {
129
130
  var n;
130
- (n = v.current) == null || n.style.setProperty(
131
+ (n = m.current) == null || n.style.setProperty(
131
132
  "--stepper-progress-value",
132
133
  String(h)
133
134
  );
@@ -135,11 +136,11 @@ const _ = {
135
136
  const x = u("navigation.stepper.stepOfTotal", {
136
137
  n: s + 1,
137
138
  total: t
138
- }), z = S ?? u("navigation.stepper.label"), l = f === "error" && (r != null && r.description) ? r.description : null, q = [
139
+ }), z = S ?? u("navigation.stepper.label"), l = v === "error" && (r != null && r.description) ? r.description : null, q = [
139
140
  x,
140
141
  r ? `— ${r.label}` : null,
141
142
  l
142
- ].filter(Boolean).join(" "), A = C(
143
+ ].filter(Boolean).join(" "), A = B(
143
144
  () => ({
144
145
  getCurrentStep: () => s,
145
146
  getTotalSteps: () => t,
@@ -157,7 +158,7 @@ const _ = {
157
158
  }),
158
159
  [s, t, a]
159
160
  ), b = P(null);
160
- return L(T, () => b.current, []), Z(_, A, d), /* @__PURE__ */ c(
161
+ return C(T, () => b.current, []), O(_, A, d), /* @__PURE__ */ c(
161
162
  "div",
162
163
  {
163
164
  ref: b,
@@ -167,7 +168,7 @@ const _ = {
167
168
  className: $({ captionPosition: N, className: k }),
168
169
  ...R,
169
170
  children: [
170
- w ? null : /* @__PURE__ */ c("div", { className: G({ tone: m }), "aria-hidden": "true", children: [
171
+ w ? null : /* @__PURE__ */ c("div", { className: G({ tone: g }), "aria-hidden": "true", children: [
171
172
  /* @__PURE__ */ i("span", { className: "type-meta ds:font-[var(--font-weight-semibold)]", children: x }),
172
173
  r ? /* @__PURE__ */ c("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: [
173
174
  "— ",
@@ -182,15 +183,15 @@ const _ = {
182
183
  "aria-label": z,
183
184
  "aria-valuemin": 0,
184
185
  "aria-valuemax": t,
185
- "aria-valuenow": g,
186
+ "aria-valuenow": f,
186
187
  "aria-valuetext": q,
187
188
  className: D({ size: M }),
188
189
  children: /* @__PURE__ */ i(
189
190
  "span",
190
191
  {
191
- ref: v,
192
+ ref: m,
192
193
  "aria-hidden": "true",
193
- className: F({ tone: m })
194
+ className: F({ tone: g })
194
195
  }
195
196
  )
196
197
  }
@@ -205,4 +206,4 @@ export {
205
206
  J as S,
206
207
  _ as s
207
208
  };
208
- //# sourceMappingURL=stepper-progress-jFY8BSf7.js.map
209
+ //# sourceMappingURL=stepper-progress-DDjq5nei.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper-progress-DDjq5nei.js","sources":["../../src/components/stepper-progress/stepper-progress.agent.ts","../../src/components/stepper-progress/stepper-progress.tsx"],"sourcesContent":["/* -------------------------------------------------------------------- */\n/* Agent adapter — StepperProgress. */\n/* */\n/* Pure indicator — the component itself has no internal step-change */\n/* affordance. The adapter exposes the active step + total and forwards */\n/* goto/next/previous to the consumer-supplied onStepChange handler so */\n/* an agent can drive a hosting wizard by step index. */\n/* -------------------------------------------------------------------- */\n\nimport type { AgentAdapter } from '../../agent/types';\nimport type { StepperProgressHandle } from './stepper-progress';\n\nexport const stepperProgressAgent: AgentAdapter<StepperProgressHandle> = {\n id: 'stepper-progress',\n capabilities: ['navigate'],\n state: {\n currentStep: {\n type: 'number',\n descriptionKey: 'ui.agent.stepperProgress.state.currentStep',\n description: 'Zero-indexed active step.',\n read: (handle) => handle.getCurrentStep(),\n },\n totalSteps: {\n type: 'number',\n descriptionKey: 'ui.agent.stepperProgress.state.totalSteps',\n description: 'Total number of steps in the flow.',\n read: (handle) => handle.getTotalSteps(),\n },\n },\n actions: {\n goto_step: {\n safety: 'read',\n argsType: '{ step: number }',\n descriptionKey: 'ui.agent.stepperProgress.actions.gotoStep',\n description:\n 'Request the host to activate the given step via onStepChange. No-op when no handler is wired.',\n invoke: (handle, args: { step: number }) => {\n handle.gotoStep(args.step);\n },\n },\n next: {\n safety: 'read',\n descriptionKey: 'ui.agent.stepperProgress.actions.next',\n description: 'Request the host to advance one step via onStepChange.',\n invoke: (handle) => {\n handle.next();\n },\n },\n previous: {\n safety: 'read',\n descriptionKey: 'ui.agent.stepperProgress.actions.previous',\n description: 'Request the host to retreat one step via onStepChange.',\n invoke: (handle) => {\n handle.previous();\n },\n },\n },\n domHooks: {\n root: {\n attr: 'data-component',\n value: 'stepper-progress',\n description: 'Marks the StepperProgress root.',\n },\n instanceId: {\n attr: 'data-component-id',\n sourceProp: 'id',\n description: 'Sourced from the id prop.',\n },\n },\n};\n","import {\n forwardRef,\n useEffect,\n useImperativeHandle,\n useMemo,\n useRef,\n useState,\n type ComponentPropsWithoutRef,\n} from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport type { StepSpec, StepState } from '../_shared/stepper';\nimport { useAgentRegistration } from '../../agent/registry';\nimport { stepperProgressAgent } from './stepper-progress.agent';\nimport { useIsomorphicLayoutEffect } from '../../hooks/use-isomorphic-layout-effect';\n\n/* -------------------------------------------------------------------- */\n/* StepperProgress */\n/* */\n/* A lightweight \"Step N of M — {label}\" caption + fill bar. Pure */\n/* indicator — no revisit, no per-step click targets. For flows that */\n/* need editable completed steps, reach for `StepperAccordion`. */\n/* -------------------------------------------------------------------- */\n\ntype Size = 'sm' | 'default';\ntype CaptionPosition = 'top' | 'bottom';\ntype Tone = 'progress' | 'error' | 'complete';\n\nconst rootVariants = cva('ds:flex ds:w-full', {\n variants: {\n captionPosition: {\n top: 'ds:flex-col ds:gap-[var(--spacing-xs)]',\n bottom: 'ds:flex-col-reverse ds:gap-[var(--spacing-xs)]',\n },\n },\n defaultVariants: { captionPosition: 'top' },\n});\n\nconst trackVariants = cva(\n 'ds:relative ds:w-full ds:overflow-hidden ds:rounded-[var(--radius-full)] ds:bg-[var(--muted)]',\n {\n variants: {\n size: {\n sm: 'ds:h-[var(--spacing-xs)]',\n default: 'ds:h-[var(--spacing-sm)]',\n },\n },\n defaultVariants: { size: 'default' },\n },\n);\n\nconst fillVariants = cva(\n [\n 'ds:block ds:h-full ds:rounded-[var(--radius-full)]',\n 'ds:[inline-size:calc(var(--stepper-progress-value,0)*1%)]',\n 'ds:transition-[inline-size,background-color] ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]',\n 'ds:motion-reduce:transition-none',\n ].join(' '),\n {\n variants: {\n tone: {\n progress: 'ds:bg-[var(--primary)]',\n error: 'ds:bg-[var(--destructive)]',\n complete: 'ds:bg-[var(--success,var(--primary))]',\n },\n },\n defaultVariants: { tone: 'progress' },\n },\n);\n\nconst captionVariants = cva(\n 'ds:flex ds:items-baseline ds:gap-[var(--spacing-sm)] ds:flex-wrap',\n {\n variants: {\n tone: {\n progress: 'ds:text-[var(--foreground)]',\n error: 'ds:text-[var(--destructive)]',\n complete: 'ds:text-[var(--foreground)]',\n },\n },\n defaultVariants: { tone: 'progress' },\n },\n);\n\nexport interface StepperProgressProps\n extends\n Omit<ComponentPropsWithoutRef<'div'>, 'aria-label'>,\n VariantProps<typeof trackVariants>,\n VariantProps<typeof rootVariants> {\n /** Active step (0-indexed). */\n activeStep: number;\n /** Step specs — `label` is used in the caption for the active step. */\n steps: StepSpec[];\n /** Override the default `aria-label` on the progressbar. */\n 'aria-label'?: string;\n /** Hide the \"Step N of M — label\" caption. @default false */\n hideCaption?: boolean;\n /** Track size. @default 'default' */\n size?: Size;\n /** Caption position relative to the bar. @default 'top' */\n captionPosition?: CaptionPosition;\n /**\n * Consumer-supplied instance id, surfaced as `data-component-id` so an\n * agent / UI bridge can address this instance.\n */\n id?: string;\n /**\n * Called when an external driver (agent adapter) requests a step change.\n * StepperProgress is a pure indicator and does not own step state itself\n * — this hook lets a host wizard react to agent-driven navigation.\n */\n onStepChange?: (next: number) => void;\n}\n\n/**\n * Imperative handle for agent-readiness. Exposed via `ref`.\n *\n * The handle is the surface the future MCP UI bridge invokes through the\n * runtime registry. Methods are pure functions of the current props +\n * internal state; mutations route through the consumer's `onStepChange`.\n */\nexport interface StepperProgressHandle {\n getCurrentStep: () => number;\n getTotalSteps: () => number;\n gotoStep: (step: number) => void;\n next: () => void;\n previous: () => void;\n}\n\nconst StepperProgress = forwardRef<HTMLDivElement, StepperProgressProps>(\n (\n {\n activeStep,\n steps,\n 'aria-label': ariaLabel,\n hideCaption = false,\n size = 'default',\n captionPosition = 'top',\n id,\n onStepChange,\n className,\n ...rest\n },\n ref,\n ) => {\n const { t } = useTranslation();\n const fillRef = useRef<HTMLSpanElement>(null);\n\n const total = steps.length;\n const clampedActive = Math.max(0, Math.min(activeStep, total - 1));\n const activeSpec = steps[clampedActive];\n // The progress variant only renders one \"active\" step at a time — the\n // shared four-way state machine collapses to error-or-current here.\n const activeState: StepState =\n activeSpec?.status === 'error' ? 'error' : 'current';\n\n // Fill reaches through the completed segments plus the current one, so\n // a 4-step flow at index 1 fills 50% (2/4). Matches the user's mental\n // model for \"how far along am I\".\n const filledCount = clampedActive + 1;\n const targetPercent = total === 0 ? 0 : (filledCount / total) * 100;\n\n const tone: Tone =\n activeState === 'error'\n ? 'error'\n : clampedActive === total - 1 && total > 0\n ? 'complete'\n : 'progress';\n\n // Mount-in animation: paint at 0 on first render, then swap to the\n // target in a post-mount effect so the CSS transition animates from\n // empty → target. Matches the pattern in `components/progress`.\n const [hasMounted, setHasMounted] = useState(false);\n useEffect(() => {\n setHasMounted(true);\n }, []);\n const percent = hasMounted ? targetPercent : 0;\n\n // Setting a CSS custom property via `style.setProperty` (rather than a\n // JSX `style={{}}` attribute) is the sanctioned escape hatch for\n // runtime-computed CSS tokens per `src/docs/23-constraints.mdx` §4;\n // the `components/progress` bar uses the same pattern for its fill.\n useIsomorphicLayoutEffect(() => {\n fillRef.current?.style.setProperty(\n '--stepper-progress-value',\n String(percent),\n );\n }, [percent]);\n\n const captionText = t('navigation.stepper.stepOfTotal', {\n n: clampedActive + 1,\n total,\n });\n const label = ariaLabel ?? t('navigation.stepper.label');\n const errorCopy =\n activeState === 'error' && activeSpec?.description\n ? activeSpec.description\n : null;\n // `aria-valuetext` is the single AT source — the caption is aria-hidden\n // so anything the caption exposes (label, error description) must be\n // appended here too, or it's invisible to screen-reader users who set\n // `hideCaption`.\n const valueText = [\n captionText,\n activeSpec ? `— ${activeSpec.label}` : null,\n errorCopy,\n ]\n .filter(Boolean)\n .join(' ');\n\n const handle = useMemo<StepperProgressHandle>(\n () => ({\n getCurrentStep: () => clampedActive,\n getTotalSteps: () => total,\n gotoStep: (step: number) => {\n if (!onStepChange) return;\n const clamped = Math.max(0, Math.min(step, Math.max(total - 1, 0)));\n if (clamped !== clampedActive) onStepChange(clamped);\n },\n next: () => {\n if (!onStepChange) return;\n if (clampedActive < total - 1) onStepChange(clampedActive + 1);\n },\n previous: () => {\n if (!onStepChange) return;\n if (clampedActive > 0) onStepChange(clampedActive - 1);\n },\n }),\n [clampedActive, total, onStepChange],\n );\n const rootRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => rootRef.current as HTMLDivElement, []);\n useAgentRegistration(stepperProgressAgent, handle, id);\n\n return (\n <div\n ref={rootRef}\n id={id}\n data-component=\"stepper-progress\"\n data-component-id={id}\n className={rootVariants({ captionPosition, className })}\n {...rest}\n >\n {hideCaption ? null : (\n <div className={captionVariants({ tone })} aria-hidden=\"true\">\n <span className=\"type-meta ds:font-[var(--font-weight-semibold)]\">\n {captionText}\n </span>\n {activeSpec ? (\n <span className=\"type-meta ds:text-[var(--muted-foreground)]\">\n — {activeSpec.label}\n </span>\n ) : null}\n {errorCopy ? (\n <span className=\"type-meta ds:ms-auto ds:text-[var(--destructive)]\">\n {errorCopy}\n </span>\n ) : null}\n </div>\n )}\n <div\n role=\"progressbar\"\n aria-label={label}\n aria-valuemin={0}\n aria-valuemax={total}\n aria-valuenow={filledCount}\n aria-valuetext={valueText}\n className={trackVariants({ size })}\n >\n <span\n ref={fillRef}\n aria-hidden=\"true\"\n className={fillVariants({ tone })}\n />\n </div>\n </div>\n );\n },\n);\nStepperProgress.displayName = 'StepperProgress';\n\nexport { StepperProgress };\n"],"names":["stepperProgressAgent","handle","args","rootVariants","cva","trackVariants","fillVariants","captionVariants","StepperProgress","forwardRef","activeStep","steps","ariaLabel","hideCaption","size","captionPosition","id","onStepChange","className","rest","ref","t","useTranslation","fillRef","useRef","total","clampedActive","activeSpec","activeState","filledCount","targetPercent","tone","hasMounted","setHasMounted","useState","useEffect","percent","useIsomorphicLayoutEffect","_a","captionText","label","errorCopy","valueText","useMemo","step","clamped","rootRef","useImperativeHandle","useAgentRegistration","jsxs","jsx"],"mappings":";;;;;;AAYO,MAAMA,IAA4D;AAAA,EACvE,IAAI;AAAA,EACJ,cAAc,CAAC,UAAU;AAAA,EACzB,OAAO;AAAA,IACL,aAAa;AAAA,MACX,MAAM;AAAA,MACN,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,MAAM,CAACC,MAAWA,EAAO,eAAA;AAAA,IAAe;AAAA,IAE1C,YAAY;AAAA,MACV,MAAM;AAAA,MACN,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,MAAM,CAACA,MAAWA,EAAO,cAAA;AAAA,IAAc;AAAA,EACzC;AAAA,EAEF,SAAS;AAAA,IACP,WAAW;AAAA,MACT,QAAQ;AAAA,MACR,UAAU;AAAA,MACV,gBAAgB;AAAA,MAChB,aACE;AAAA,MACF,QAAQ,CAACA,GAAQC,MAA2B;AAC1C,QAAAD,EAAO,SAASC,EAAK,IAAI;AAAA,MAC3B;AAAA,IAAA;AAAA,IAEF,MAAM;AAAA,MACJ,QAAQ;AAAA,MACR,gBAAgB;AAAA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ACCZ,IACC,gBAAAsB,EAAC,QAAA,EAAK,WAAU,+CAA8C,UAAA;AAAA,cAAA;AAAA,cACzDtB,EAAW;AAAA,YAAA,EAAA,CAChB,IACE;AAAA,YACHc,IACC,gBAAAS,EAAC,QAAA,EAAK,WAAU,qDACb,aACH,IACE;AAAA,UAAA,GACN;AAAA,UAEF,gBAAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,cAAYV;AAAA,cACZ,iBAAe;AAAA,cACf,iBAAef;AAAA,cACf,iBAAeI;AAAA,cACf,kBAAgBa;AAAA,cAChB,WAAWrC,EAAc,EAAE,MAAAS,GAAM;AAAA,cAEjC,UAAA,gBAAAoC;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,KAAK3B;AAAA,kBACL,eAAY;AAAA,kBACZ,WAAWjB,EAAa,EAAE,MAAAyB,EAAA,CAAM;AAAA,gBAAA;AAAA,cAAA;AAAA,YAClC;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAGN;AACF;AACAvB,EAAgB,cAAc;"}
@@ -0,0 +1,127 @@
1
+ import { jsxs as p, jsx as l } from "react/jsx-runtime";
2
+ import { forwardRef as h, useState as y, useEffect as b, Fragment as v } from "react";
3
+ import { c as x } from "./index-D2ZczOXr.js";
4
+ const g = x(
5
+ "type-body ds:block ds:whitespace-pre-wrap ds:break-words",
6
+ {
7
+ variants: {
8
+ // Family, weight, tracking, line-height all come from `.type-body` on the base.
9
+ // Size variants override --type-body-size to shift the ramp step.
10
+ size: {
11
+ sm: "ds:[--type-body-size:var(--font-size-sm)]",
12
+ md: "",
13
+ lg: "ds:[--type-body-size:var(--font-size-lg)]"
14
+ },
15
+ density: {
16
+ default: "",
17
+ compact: "ds:[--type-body-size:var(--font-size-sm)] ds:leading-snug"
18
+ }
19
+ },
20
+ defaultVariants: { size: "md", density: "default" }
21
+ }
22
+ );
23
+ function z(a) {
24
+ const t = [], r = a.length, o = 42, c = 96, u = 10;
25
+ let i = 0, e = 0;
26
+ const d = (n) => {
27
+ n > i && t.push({ type: "text", value: a.slice(i, n) });
28
+ };
29
+ for (; e < r; ) {
30
+ const n = a.charCodeAt(e);
31
+ if (n === o && e + 1 < r && a.charCodeAt(e + 1) === o) {
32
+ let s = e + 2;
33
+ for (; s < r && a.charCodeAt(s) !== o; ) s++;
34
+ if (s < r - 1 && a.charCodeAt(s + 1) === o && s > e + 2) {
35
+ d(e), t.push({ type: "bold", value: a.slice(e + 2, s) }), e = s + 2, i = e;
36
+ continue;
37
+ }
38
+ e += 2;
39
+ continue;
40
+ }
41
+ if (n === c) {
42
+ let s = e + 1;
43
+ for (; s < r && a.charCodeAt(s) !== c; ) s++;
44
+ if (s < r && s > e + 1) {
45
+ d(e), t.push({ type: "code", value: a.slice(e + 1, s) }), e = s + 1, i = e;
46
+ continue;
47
+ }
48
+ e += 1;
49
+ continue;
50
+ }
51
+ if (n === u) {
52
+ d(e), t.push({ type: "br" }), e += 1, i = e;
53
+ continue;
54
+ }
55
+ e += 1;
56
+ }
57
+ return d(r), t;
58
+ }
59
+ function T(a) {
60
+ return z(a).map((t, r) => t.type === "bold" ? /* @__PURE__ */ l("strong", { children: t.value }, r) : t.type === "code" ? /* @__PURE__ */ l(
61
+ "code",
62
+ {
63
+ dir: "ltr",
64
+ className: "ds:rounded-[var(--radius-sm)] ds:bg-muted/20 ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:font-[family-name:var(--font-mono)] ds:text-[length:0.95em]",
65
+ children: t.value
66
+ },
67
+ r
68
+ ) : t.type === "br" ? /* @__PURE__ */ l("br", {}, r) : /* @__PURE__ */ l(v, { children: t.value }, r));
69
+ }
70
+ const C = h(
71
+ ({
72
+ content: a,
73
+ isStreaming: t,
74
+ renderMarkdown: r = !1,
75
+ ariaLive: o = "polite",
76
+ size: c = "md",
77
+ density: u = "default",
78
+ className: i,
79
+ ...e
80
+ }, d) => {
81
+ const [n, s] = y(a);
82
+ b(() => {
83
+ if (!t) {
84
+ s(a);
85
+ return;
86
+ }
87
+ const f = setTimeout(() => s(a), 100);
88
+ return () => clearTimeout(f);
89
+ }, [a, t]);
90
+ const m = r ? T(n) : n;
91
+ return /* @__PURE__ */ p(
92
+ "span",
93
+ {
94
+ ref: d,
95
+ "aria-live": o,
96
+ "aria-busy": !!t,
97
+ "data-component": "streaming-text",
98
+ className: g({ size: c, density: u, className: i }),
99
+ ...e,
100
+ children: [
101
+ m,
102
+ t ? /* @__PURE__ */ l(
103
+ "span",
104
+ {
105
+ "aria-hidden": "true",
106
+ className: [
107
+ "ds:inline-block ds:align-baseline",
108
+ "ds:text-[color:var(--primary)]",
109
+ "ds:motion-safe:animate-[streaming-cursor-blink_1s_step-end_infinite]",
110
+ "ds:motion-reduce:opacity-100",
111
+ "ds:[.theme-accessible_&]:animate-none",
112
+ "ds:forced-colors:text-[CanvasText]",
113
+ "ds:ms-[1px]"
114
+ ].join(" "),
115
+ children: "▍"
116
+ }
117
+ ) : null
118
+ ]
119
+ }
120
+ );
121
+ }
122
+ );
123
+ C.displayName = "StreamingText";
124
+ export {
125
+ C as S
126
+ };
127
+ //# sourceMappingURL=streaming-text-GH07yIYh.js.map