@alfadocs/ui-kit-debug 0.47.0 → 0.49.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 (517) hide show
  1. package/dist/_chunks/{address-autocomplete-CSjMrBvu.js → address-autocomplete-CT-9AOli.js} +2 -2
  2. package/dist/_chunks/{address-autocomplete-CSjMrBvu.js.map → address-autocomplete-CT-9AOli.js.map} +1 -1
  3. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  4. package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
  5. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  6. package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
  7. package/dist/_chunks/ai-consent-banner-F2md5JD3.js +169 -0
  8. package/dist/_chunks/ai-consent-banner-F2md5JD3.js.map +1 -0
  9. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js +280 -0
  10. package/dist/_chunks/ai-tools-rail-CYLWrRmm.js.map +1 -0
  11. package/dist/_chunks/{alert-ywPR59NE.js → alert-CUTxnym2.js} +56 -35
  12. package/dist/_chunks/alert-CUTxnym2.js.map +1 -0
  13. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  14. package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
  15. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  16. package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
  17. package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js +412 -0
  18. package/dist/_chunks/antenatal-schedule-timeline-Dg0m0yFl.js.map +1 -0
  19. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  20. package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
  21. package/dist/_chunks/{ar-DEz65ZJW.js → ar-C68WKG5a.js} +2 -2
  22. package/dist/_chunks/{ar-DEz65ZJW.js.map → ar-C68WKG5a.js.map} +1 -1
  23. package/dist/_chunks/{audio-recorder-DC-v9YFW.js → audio-recorder-DVJXV7_k.js} +2 -2
  24. package/dist/_chunks/{audio-recorder-DC-v9YFW.js.map → audio-recorder-DVJXV7_k.js.map} +1 -1
  25. package/dist/_chunks/bishop-score-2MzAz8NE.js +185 -0
  26. package/dist/_chunks/bishop-score-2MzAz8NE.js.map +1 -0
  27. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  28. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
  29. package/dist/_chunks/{booking-DlDVuWMd.js → booking-DljH0JkS.js} +294 -306
  30. package/dist/_chunks/booking-DljH0JkS.js.map +1 -0
  31. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  32. package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
  33. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  34. package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
  35. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  36. package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
  37. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  38. package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
  39. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  40. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
  41. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  42. package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
  43. package/dist/_chunks/circle-arrow-up-CC_85SuH.js +16 -0
  44. package/dist/_chunks/circle-arrow-up-CC_85SuH.js.map +1 -0
  45. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  46. package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
  47. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  48. package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
  49. package/dist/_chunks/cycle-calculator-oOkj5wlB.js +252 -0
  50. package/dist/_chunks/cycle-calculator-oOkj5wlB.js.map +1 -0
  51. package/dist/_chunks/{date-picker-Bq7xhMA-.js → date-picker-BfHblqwA.js} +2 -2
  52. package/dist/_chunks/{date-picker-Bq7xhMA-.js.map → date-picker-BfHblqwA.js.map} +1 -1
  53. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js → date-picker-variants-CXEAx3O_.js} +22 -22
  54. package/dist/_chunks/{date-picker-variants-DLi1Va_e.js.map → date-picker-variants-CXEAx3O_.js.map} +1 -1
  55. package/dist/_chunks/{date-range-picker-DcXuI9y7.js → date-range-picker-hcAMs1wO.js} +3 -3
  56. package/dist/_chunks/{date-range-picker-DcXuI9y7.js.map → date-range-picker-hcAMs1wO.js.map} +1 -1
  57. package/dist/_chunks/{date-time-picker-RimumeLR.js → date-time-picker-H-3Pwqlb.js} +9 -9
  58. package/dist/_chunks/{date-time-picker-RimumeLR.js.map → date-time-picker-H-3Pwqlb.js.map} +1 -1
  59. package/dist/_chunks/{de-bTBGdjPS.js → de-DK4A9_a8.js} +2 -2
  60. package/dist/_chunks/{de-bTBGdjPS.js.map → de-DK4A9_a8.js.map} +1 -1
  61. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  62. package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
  63. package/dist/_chunks/{document-scanner-BqLsGs4Y.js → document-scanner-Cxqvq7GR.js} +2 -2
  64. package/dist/_chunks/{document-scanner-BqLsGs4Y.js.map → document-scanner-Cxqvq7GR.js.map} +1 -1
  65. package/dist/_chunks/due-date-calculator-tDqZXPWO.js +256 -0
  66. package/dist/_chunks/due-date-calculator-tDqZXPWO.js.map +1 -0
  67. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js → editable-currency-cell-renderer-Bh48OHRv.js} +2 -2
  68. package/dist/_chunks/{editable-currency-cell-renderer-CLil9B29.js.map → editable-currency-cell-renderer-Bh48OHRv.js.map} +1 -1
  69. package/dist/_chunks/{el-BWG5RXxa.js → el-B29HXhG5.js} +2 -2
  70. package/dist/_chunks/{el-BWG5RXxa.js.map → el-B29HXhG5.js.map} +1 -1
  71. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  72. package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
  73. package/dist/_chunks/{es-DfO_G435.js → es-BOwPVwWn.js} +2 -2
  74. package/dist/_chunks/{es-DfO_G435.js.map → es-BOwPVwWn.js.map} +1 -1
  75. package/dist/_chunks/fetal-weight-Da-B4P4k.js +122 -0
  76. package/dist/_chunks/fetal-weight-Da-B4P4k.js.map +1 -0
  77. package/dist/_chunks/{fr-BTn24bs8.js → fr-DoDBtn0T.js} +2 -2
  78. package/dist/_chunks/{fr-BTn24bs8.js.map → fr-DoDBtn0T.js.map} +1 -1
  79. package/dist/_chunks/{freemium-paywall-DzpD63WY.js → freemium-paywall-BWaLWje-.js} +2 -2
  80. package/dist/_chunks/{freemium-paywall-DzpD63WY.js.map → freemium-paywall-BWaLWje-.js.map} +1 -1
  81. package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js +311 -0
  82. package/dist/_chunks/gestational-age-calculator-DbDfTJU2.js.map +1 -0
  83. package/dist/_chunks/hcg-doubling-DAnpbale.js +170 -0
  84. package/dist/_chunks/hcg-doubling-DAnpbale.js.map +1 -0
  85. package/dist/_chunks/{hi-Dj3oYd84.js → hi-DGByrKby.js} +2 -2
  86. package/dist/_chunks/{hi-Dj3oYd84.js.map → hi-DGByrKby.js.map} +1 -1
  87. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  88. package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
  89. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  90. package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
  91. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js → isSameWeek-B1odL2vR.js} +2 -2
  92. package/dist/_chunks/{isSameWeek-HfxKk6Lz.js.map → isSameWeek-B1odL2vR.js.map} +1 -1
  93. package/dist/_chunks/{it-Y85ofIQQ.js → it-B16rEecm.js} +3 -3
  94. package/dist/_chunks/{it-Y85ofIQQ.js.map → it-B16rEecm.js.map} +1 -1
  95. package/dist/_chunks/{ja-CQ7J6YoA.js → ja-B0viOgft.js} +2 -2
  96. package/dist/_chunks/{ja-CQ7J6YoA.js.map → ja-B0viOgft.js.map} +1 -1
  97. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  98. package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
  99. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  100. package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
  101. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js → marketplace-app-shell-UKSLx9K_.js} +3 -3
  102. package/dist/_chunks/{marketplace-app-shell-Gfsf78ge.js.map → marketplace-app-shell-UKSLx9K_.js.map} +1 -1
  103. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  104. package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
  105. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  106. package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
  107. package/dist/_chunks/{nl-D9kHCmp3.js → nl-cBxEX2QU.js} +2 -2
  108. package/dist/_chunks/{nl-D9kHCmp3.js.map → nl-cBxEX2QU.js.map} +1 -1
  109. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  110. package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
  111. package/dist/_chunks/{patient-search-CocVcGJ3.js → patient-search-BJOmTmDA.js} +2 -2
  112. package/dist/_chunks/{patient-search-CocVcGJ3.js.map → patient-search-BJOmTmDA.js.map} +1 -1
  113. package/dist/_chunks/{patient-shell-CnT4L8gn.js → patient-shell-DUmhXnFq.js} +2 -2
  114. package/dist/_chunks/{patient-shell-CnT4L8gn.js.map → patient-shell-DUmhXnFq.js.map} +1 -1
  115. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  116. package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
  117. package/dist/_chunks/{payment-form-BNTx4876.js → payment-form-xmeCkxas.js} +2 -2
  118. package/dist/_chunks/{payment-form-BNTx4876.js.map → payment-form-xmeCkxas.js.map} +1 -1
  119. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  120. package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
  121. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-q1D3Uion.js} +4 -4
  122. package/dist/_chunks/pdf-viewer-q1D3Uion.js.map +1 -0
  123. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  124. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
  125. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  126. package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
  127. package/dist/_chunks/{pl-B3Smqpkr.js → pl-DtS08ioY.js} +3 -3
  128. package/dist/_chunks/{pl-B3Smqpkr.js.map → pl-DtS08ioY.js.map} +1 -1
  129. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-Cq1y8JFD.js} +4 -3
  130. package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-Cq1y8JFD.js.map} +1 -1
  131. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js +322 -0
  132. package/dist/_chunks/pregnancy-weight-gain-CCGrvarh.js.map +1 -0
  133. package/dist/_chunks/product-hub-panel-CkfZBA3t.js +620 -0
  134. package/dist/_chunks/product-hub-panel-CkfZBA3t.js.map +1 -0
  135. package/dist/_chunks/{pt-D3J-1c_7.js → pt-yFXs1VvH.js} +2 -2
  136. package/dist/_chunks/{pt-D3J-1c_7.js.map → pt-yFXs1VvH.js.map} +1 -1
  137. package/dist/_chunks/{ro-BKAbbEA3.js → ro-DsCzSrzR.js} +2 -2
  138. package/dist/_chunks/{ro-BKAbbEA3.js.map → ro-DsCzSrzR.js.map} +1 -1
  139. package/dist/_chunks/{ru-BeG8f0Ep.js → ru-DgDxL0pc.js} +3 -3
  140. package/dist/_chunks/{ru-BeG8f0Ep.js.map → ru-DgDxL0pc.js.map} +1 -1
  141. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  142. package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
  143. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  144. package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
  145. package/dist/_chunks/{sidebar-_vJXI9rB.js → sidebar-h78cTNLh.js} +440 -338
  146. package/dist/_chunks/sidebar-h78cTNLh.js.map +1 -0
  147. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-CZkAf28g.js} +2 -2
  148. package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-CZkAf28g.js.map} +1 -1
  149. package/dist/_chunks/{sq-_hRPaeUy.js → sq-DHlCYN67.js} +2 -2
  150. package/dist/_chunks/{sq-_hRPaeUy.js.map → sq-DHlCYN67.js.map} +1 -1
  151. package/dist/_chunks/subDays-Bs00akhK.js +8 -0
  152. package/dist/_chunks/{subDays-Dv7q9S7u.js.map → subDays-Bs00akhK.js.map} +1 -1
  153. package/dist/_chunks/{sv-g009fSpe.js → sv-O0QaQs_s.js} +2 -2
  154. package/dist/_chunks/{sv-g009fSpe.js.map → sv-O0QaQs_s.js.map} +1 -1
  155. package/dist/_chunks/{tr-OKUOuhMW.js → tr-BmNDRuio.js} +2 -2
  156. package/dist/_chunks/{tr-OKUOuhMW.js.map → tr-BmNDRuio.js.map} +1 -1
  157. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  158. package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
  159. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  160. package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
  161. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  162. package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
  163. package/dist/_chunks/video-BAeICxCT.js +21 -0
  164. package/dist/_chunks/video-BAeICxCT.js.map +1 -0
  165. package/dist/_chunks/warning-stack-CXfoAT-_.js +220 -0
  166. package/dist/_chunks/warning-stack-CXfoAT-_.js.map +1 -0
  167. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-DzX_LI4y.js} +139 -157
  168. package/dist/_chunks/workflow-map-DzX_LI4y.js.map +1 -0
  169. package/dist/_chunks/{zh-CN-De4zwEhx.js → zh-CN-CgVJZEzz.js} +3 -3
  170. package/dist/_chunks/{zh-CN-De4zwEhx.js.map → zh-CN-CgVJZEzz.js.map} +1 -1
  171. package/dist/agent-catalog.json +367 -1
  172. package/dist/components/_shared/antenatal-schedule-timeline.d.ts +18 -0
  173. package/dist/components/_shared/antenatal-schedule-timeline.d.ts.map +1 -0
  174. package/dist/components/_shared/antenatal-schedule.d.ts +68 -0
  175. package/dist/components/_shared/antenatal-schedule.d.ts.map +1 -0
  176. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  177. package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
  178. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  179. package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
  180. package/dist/components/_shared/index.d.ts +5 -0
  181. package/dist/components/_shared/index.d.ts.map +1 -1
  182. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  183. package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
  184. package/dist/components/_shared/obstetrics.d.ts +138 -0
  185. package/dist/components/_shared/obstetrics.d.ts.map +1 -0
  186. package/dist/components/address-autocomplete/index.js +1 -1
  187. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  188. package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
  189. package/dist/components/agenda-card/index.d.ts +2 -1
  190. package/dist/components/agenda-card/index.d.ts.map +1 -1
  191. package/dist/components/agenda-card/index.js +6 -5
  192. package/dist/components/agenda-card/index.js.map +1 -1
  193. package/dist/components/agenda-tray/index.js +1 -1
  194. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  195. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
  196. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  197. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
  198. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  199. package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
  200. package/dist/components/ai-consent-banner/index.js +6 -0
  201. package/dist/components/ai-consent-banner/index.js.map +1 -0
  202. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  203. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
  204. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  205. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
  206. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  207. package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
  208. package/dist/components/ai-tools-rail/index.js +6 -0
  209. package/dist/components/ai-tools-rail/index.js.map +1 -0
  210. package/dist/components/alert/alert.d.ts +2 -2
  211. package/dist/components/alert/alert.d.ts.map +1 -1
  212. package/dist/components/alert/index.js +1 -1
  213. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  214. package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
  215. package/dist/components/anamnesis-card/index.d.ts +3 -0
  216. package/dist/components/anamnesis-card/index.d.ts.map +1 -0
  217. package/dist/components/anamnesis-card/index.js +5 -0
  218. package/dist/components/anamnesis-card/index.js.map +1 -0
  219. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  220. package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
  221. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  222. package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
  223. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  224. package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
  225. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  226. package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
  227. package/dist/components/appointment-card/index.d.ts +8 -0
  228. package/dist/components/appointment-card/index.d.ts.map +1 -0
  229. package/dist/components/appointment-card/index.js +10 -0
  230. package/dist/components/appointment-card/index.js.map +1 -0
  231. package/dist/components/audio-recorder/index.js +1 -1
  232. package/dist/components/badge/badge.d.ts +1 -1
  233. package/dist/components/bishop-score/bishop-score.d.ts +27 -0
  234. package/dist/components/bishop-score/bishop-score.d.ts.map +1 -0
  235. package/dist/components/bishop-score/bishop.d.ts +30 -0
  236. package/dist/components/bishop-score/bishop.d.ts.map +1 -0
  237. package/dist/components/bishop-score/index.d.ts +4 -0
  238. package/dist/components/bishop-score/index.d.ts.map +1 -0
  239. package/dist/components/bishop-score/index.js +10 -0
  240. package/dist/components/bishop-score/index.js.map +1 -0
  241. package/dist/components/bmi-calculator/index.js +1 -1
  242. package/dist/components/booking/index.js +1 -1
  243. package/dist/components/calculator-dialog/index.js +1 -1
  244. package/dist/components/calendar/index.js +1 -1
  245. package/dist/components/card/card.d.ts +1 -1
  246. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  247. package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
  248. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  249. package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
  250. package/dist/components/care-plan-card/index.d.ts +4 -0
  251. package/dist/components/care-plan-card/index.d.ts.map +1 -0
  252. package/dist/components/care-plan-card/index.js +6 -0
  253. package/dist/components/care-plan-card/index.js.map +1 -0
  254. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  255. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
  256. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  257. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
  258. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  259. package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
  260. package/dist/components/care-plan-entry-card/index.js +6 -0
  261. package/dist/components/care-plan-entry-card/index.js.map +1 -0
  262. package/dist/components/chat-message/chat-message.d.ts +7 -0
  263. package/dist/components/chat-message/chat-message.d.ts.map +1 -1
  264. package/dist/components/chat-message/index.js +1 -1
  265. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  266. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
  267. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  268. package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
  269. package/dist/components/clinical-note-card/index.d.ts +4 -0
  270. package/dist/components/clinical-note-card/index.d.ts.map +1 -0
  271. package/dist/components/clinical-note-card/index.js +6 -0
  272. package/dist/components/clinical-note-card/index.js.map +1 -0
  273. package/dist/components/contact-profile-card/index.js +1 -1
  274. package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
  275. package/dist/components/cycle-calculator/cycle.d.ts +5 -0
  276. package/dist/components/cycle-calculator/cycle.d.ts.map +1 -1
  277. package/dist/components/cycle-calculator/index.js +1 -1
  278. package/dist/components/data-table/index.js +1 -1
  279. package/dist/components/date-picker/index.js +1 -1
  280. package/dist/components/date-range-picker/index.js +1 -1
  281. package/dist/components/date-time-picker/index.js +1 -1
  282. package/dist/components/dialog/dialog.d.ts +7 -0
  283. package/dist/components/dialog/dialog.d.ts.map +1 -1
  284. package/dist/components/dialog/index.js +1 -1
  285. package/dist/components/document-scanner/index.js +1 -1
  286. package/dist/components/due-date-calculator/due-date-calculator.d.ts +13 -1
  287. package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
  288. package/dist/components/due-date-calculator/gestation.d.ts +1 -59
  289. package/dist/components/due-date-calculator/gestation.d.ts.map +1 -1
  290. package/dist/components/due-date-calculator/index.d.ts +1 -1
  291. package/dist/components/due-date-calculator/index.d.ts.map +1 -1
  292. package/dist/components/due-date-calculator/index.js +16 -10
  293. package/dist/components/fetal-weight/efw.d.ts +25 -0
  294. package/dist/components/fetal-weight/efw.d.ts.map +1 -0
  295. package/dist/components/fetal-weight/fetal-weight.d.ts +27 -0
  296. package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -0
  297. package/dist/components/fetal-weight/index.d.ts +4 -0
  298. package/dist/components/fetal-weight/index.d.ts.map +1 -0
  299. package/dist/components/fetal-weight/index.js +6 -0
  300. package/dist/components/fetal-weight/index.js.map +1 -0
  301. package/dist/components/freemium-paywall/index.js +1 -1
  302. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +25 -1
  303. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
  304. package/dist/components/gestational-age-calculator/index.js +1 -1
  305. package/dist/components/hcg-doubling/hcg-doubling.d.ts +31 -0
  306. package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -0
  307. package/dist/components/hcg-doubling/hcg.d.ts +33 -0
  308. package/dist/components/hcg-doubling/hcg.d.ts.map +1 -0
  309. package/dist/components/hcg-doubling/index.d.ts +4 -0
  310. package/dist/components/hcg-doubling/index.d.ts.map +1 -0
  311. package/dist/components/hcg-doubling/index.js +7 -0
  312. package/dist/components/hcg-doubling/index.js.map +1 -0
  313. package/dist/components/index.d.ts +14 -0
  314. package/dist/components/index.d.ts.map +1 -1
  315. package/dist/components/message-card/index.js +5 -4
  316. package/dist/components/message-card/index.js.map +1 -1
  317. package/dist/components/message-card/message-card.d.ts +1 -2
  318. package/dist/components/message-card/message-card.d.ts.map +1 -1
  319. package/dist/components/message-tray/index.js +1 -1
  320. package/dist/components/operator-hero/index.js +1 -1
  321. package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
  322. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  323. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  324. package/dist/components/patient-search/index.js +1 -1
  325. package/dist/components/patient-summary-card/index.d.ts +4 -0
  326. package/dist/components/patient-summary-card/index.d.ts.map +1 -0
  327. package/dist/components/patient-summary-card/index.js +6 -0
  328. package/dist/components/patient-summary-card/index.js.map +1 -0
  329. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  330. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
  331. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  332. package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
  333. package/dist/components/payment-card/index.d.ts +7 -0
  334. package/dist/components/payment-card/index.d.ts.map +1 -0
  335. package/dist/components/payment-card/index.js +8 -0
  336. package/dist/components/payment-card/index.js.map +1 -0
  337. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  338. package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
  339. package/dist/components/payment-card/payment-card.d.ts +71 -0
  340. package/dist/components/payment-card/payment-card.d.ts.map +1 -0
  341. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  342. package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
  343. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  344. package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
  345. package/dist/components/payment-form/index.js +1 -1
  346. package/dist/components/pdf-viewer/index.js +1 -1
  347. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  348. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  349. package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
  350. package/dist/components/periodontal-chart-card/index.js +7 -0
  351. package/dist/components/periodontal-chart-card/index.js.map +1 -0
  352. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  353. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
  354. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  355. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
  356. package/dist/components/practice-results/index.js +1 -1
  357. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  358. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +7 -0
  359. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
  360. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +33 -8
  361. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts.map +1 -1
  362. package/dist/components/product-hub-tray/index.d.ts +8 -0
  363. package/dist/components/product-hub-tray/index.d.ts.map +1 -0
  364. package/dist/components/product-hub-tray/index.js +10 -0
  365. package/dist/components/product-hub-tray/index.js.map +1 -0
  366. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts +4 -0
  367. package/dist/components/product-hub-tray/product-hub-panel.agent.d.ts.map +1 -0
  368. package/dist/components/product-hub-tray/product-hub-panel.d.ts +54 -0
  369. package/dist/components/product-hub-tray/product-hub-panel.d.ts.map +1 -0
  370. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts +4 -0
  371. package/dist/components/product-hub-tray/product-hub-tray.agent.d.ts.map +1 -0
  372. package/dist/components/product-hub-tray/product-hub-tray.d.ts +115 -0
  373. package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -0
  374. package/dist/components/public-header/public-header.d.ts +1 -1
  375. package/dist/components/sidebar/index.d.ts +2 -2
  376. package/dist/components/sidebar/index.d.ts.map +1 -1
  377. package/dist/components/sidebar/index.js +12 -11
  378. package/dist/components/sidebar/sidebar.d.ts +14 -1
  379. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  380. package/dist/components/sign-document/index.js +1 -1
  381. package/dist/components/stat/stat.d.ts +1 -1
  382. package/dist/components/transaction-chip/index.js +1 -1
  383. package/dist/components/unit-converter/index.js +1 -1
  384. package/dist/components/warning-stack/index.js +1 -1
  385. package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
  386. package/dist/components/workflow/index.js +1 -1
  387. package/dist/i18n/locales/ar.d.ts +561 -1
  388. package/dist/i18n/locales/ar.d.ts.map +1 -1
  389. package/dist/i18n/locales/ar.js +560 -2
  390. package/dist/i18n/locales/ar.js.map +1 -1
  391. package/dist/i18n/locales/de.d.ts +561 -1
  392. package/dist/i18n/locales/de.d.ts.map +1 -1
  393. package/dist/i18n/locales/de.js +560 -2
  394. package/dist/i18n/locales/de.js.map +1 -1
  395. package/dist/i18n/locales/el.d.ts +561 -1
  396. package/dist/i18n/locales/el.d.ts.map +1 -1
  397. package/dist/i18n/locales/el.js +560 -2
  398. package/dist/i18n/locales/el.js.map +1 -1
  399. package/dist/i18n/locales/en.d.ts +561 -1
  400. package/dist/i18n/locales/en.d.ts.map +1 -1
  401. package/dist/i18n/locales/en.js +560 -2
  402. package/dist/i18n/locales/en.js.map +1 -1
  403. package/dist/i18n/locales/es.d.ts +561 -1
  404. package/dist/i18n/locales/es.d.ts.map +1 -1
  405. package/dist/i18n/locales/es.js +560 -2
  406. package/dist/i18n/locales/es.js.map +1 -1
  407. package/dist/i18n/locales/fr.d.ts +561 -1
  408. package/dist/i18n/locales/fr.d.ts.map +1 -1
  409. package/dist/i18n/locales/fr.js +560 -2
  410. package/dist/i18n/locales/fr.js.map +1 -1
  411. package/dist/i18n/locales/hi.d.ts +561 -1
  412. package/dist/i18n/locales/hi.d.ts.map +1 -1
  413. package/dist/i18n/locales/hi.js +560 -2
  414. package/dist/i18n/locales/hi.js.map +1 -1
  415. package/dist/i18n/locales/it.d.ts +561 -1
  416. package/dist/i18n/locales/it.d.ts.map +1 -1
  417. package/dist/i18n/locales/it.js +560 -2
  418. package/dist/i18n/locales/it.js.map +1 -1
  419. package/dist/i18n/locales/ja.d.ts +561 -1
  420. package/dist/i18n/locales/ja.d.ts.map +1 -1
  421. package/dist/i18n/locales/ja.js +560 -2
  422. package/dist/i18n/locales/ja.js.map +1 -1
  423. package/dist/i18n/locales/nl.d.ts +561 -1
  424. package/dist/i18n/locales/nl.d.ts.map +1 -1
  425. package/dist/i18n/locales/nl.js +560 -2
  426. package/dist/i18n/locales/nl.js.map +1 -1
  427. package/dist/i18n/locales/pl.d.ts +561 -1
  428. package/dist/i18n/locales/pl.d.ts.map +1 -1
  429. package/dist/i18n/locales/pl.js +560 -2
  430. package/dist/i18n/locales/pl.js.map +1 -1
  431. package/dist/i18n/locales/pt.d.ts +561 -1
  432. package/dist/i18n/locales/pt.d.ts.map +1 -1
  433. package/dist/i18n/locales/pt.js +560 -2
  434. package/dist/i18n/locales/pt.js.map +1 -1
  435. package/dist/i18n/locales/ro.d.ts +561 -1
  436. package/dist/i18n/locales/ro.d.ts.map +1 -1
  437. package/dist/i18n/locales/ro.js +560 -2
  438. package/dist/i18n/locales/ro.js.map +1 -1
  439. package/dist/i18n/locales/ru.d.ts +561 -1
  440. package/dist/i18n/locales/ru.d.ts.map +1 -1
  441. package/dist/i18n/locales/ru.js +560 -2
  442. package/dist/i18n/locales/ru.js.map +1 -1
  443. package/dist/i18n/locales/sq.d.ts +561 -1
  444. package/dist/i18n/locales/sq.d.ts.map +1 -1
  445. package/dist/i18n/locales/sq.js +560 -2
  446. package/dist/i18n/locales/sq.js.map +1 -1
  447. package/dist/i18n/locales/sv.d.ts +561 -1
  448. package/dist/i18n/locales/sv.d.ts.map +1 -1
  449. package/dist/i18n/locales/sv.js +560 -2
  450. package/dist/i18n/locales/sv.js.map +1 -1
  451. package/dist/i18n/locales/tr.d.ts +561 -1
  452. package/dist/i18n/locales/tr.d.ts.map +1 -1
  453. package/dist/i18n/locales/tr.js +560 -2
  454. package/dist/i18n/locales/tr.js.map +1 -1
  455. package/dist/i18n/locales/zh.d.ts +561 -1
  456. package/dist/i18n/locales/zh.d.ts.map +1 -1
  457. package/dist/i18n/locales/zh.js +560 -2
  458. package/dist/i18n/locales/zh.js.map +1 -1
  459. package/dist/index.js +663 -600
  460. package/dist/index.js.map +1 -1
  461. package/dist/locales/ar.json +562 -2
  462. package/dist/locales/de.json +562 -2
  463. package/dist/locales/el.json +562 -2
  464. package/dist/locales/en.json +562 -2
  465. package/dist/locales/es.json +562 -2
  466. package/dist/locales/fr.json +562 -2
  467. package/dist/locales/hi.json +562 -2
  468. package/dist/locales/it.json +562 -2
  469. package/dist/locales/ja.json +562 -2
  470. package/dist/locales/nl.json +562 -2
  471. package/dist/locales/pl.json +562 -2
  472. package/dist/locales/pt.json +562 -2
  473. package/dist/locales/ro.json +562 -2
  474. package/dist/locales/ru.json +562 -2
  475. package/dist/locales/sq.json +562 -2
  476. package/dist/locales/sv.json +562 -2
  477. package/dist/locales/tr.json +562 -2
  478. package/dist/locales/zh.json +562 -2
  479. package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
  480. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  481. package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
  482. package/dist/patterns/alia-assistant/index.js +1 -1
  483. package/dist/patterns/marketplace-app-shell/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 +58 -1
  487. package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
  488. package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
  489. package/dist/_chunks/alert-ywPR59NE.js.map +0 -1
  490. package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
  491. package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
  492. package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
  493. package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
  494. package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
  495. package/dist/_chunks/cycle-calculator-KxA8dqDf.js +0 -211
  496. package/dist/_chunks/cycle-calculator-KxA8dqDf.js.map +0 -1
  497. package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
  498. package/dist/_chunks/due-date-calculator-mFxpHLml.js +0 -216
  499. package/dist/_chunks/due-date-calculator-mFxpHLml.js.map +0 -1
  500. package/dist/_chunks/gestation-mWF4AXea.js +0 -50
  501. package/dist/_chunks/gestation-mWF4AXea.js.map +0 -1
  502. package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js +0 -203
  503. package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js.map +0 -1
  504. package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
  505. package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
  506. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  507. package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
  508. package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
  509. package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js +0 -246
  510. package/dist/_chunks/pregnancy-weight-gain-BtEHaSqy.js.map +0 -1
  511. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
  512. package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
  513. package/dist/_chunks/sidebar-_vJXI9rB.js.map +0 -1
  514. package/dist/_chunks/subDays-Dv7q9S7u.js +0 -8
  515. package/dist/_chunks/warning-stack-DNR3-IbP.js +0 -180
  516. package/dist/_chunks/warning-stack-DNR3-IbP.js.map +0 -1
  517. package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
@@ -1,50 +1,22 @@
1
- import { jsxs as G, jsx as x } from "react/jsx-runtime";
2
- import { forwardRef as it, useRef as Tt } from "react";
3
- import { useTranslation as Mt } from "react-i18next";
4
- import { c as It } from "./index-D2ZczOXr.js";
5
- import { B as At } from "./button-DD_0Xdmr.js";
6
- import { c as lt } from "./createLucideIcon-CrFbzy84.js";
7
- import { I as Ct } from "./image-C6RM5hfF.js";
1
+ import { jsxs as G, jsx as g } from "react/jsx-runtime";
2
+ import { forwardRef as it, useRef as Lt } from "react";
3
+ import { useTranslation as Tt } from "react-i18next";
4
+ import { c as Mt } from "./index-D2ZczOXr.js";
5
+ import { B as It } from "./button-DD_0Xdmr.js";
6
+ import { L as Ct } from "./layers-pzGcbLPj.js";
7
+ import { I as Bt } from "./image-C6RM5hfF.js";
8
+ import { c as Et } from "./createLucideIcon-CrFbzy84.js";
8
9
  /**
9
10
  * @license lucide-react v1.8.0 - ISC
10
11
  *
11
12
  * This source code is licensed under the ISC license.
12
13
  * See the LICENSE file in the root directory of this source tree.
13
14
  */
14
- const Bt = [
15
- [
16
- "path",
17
- {
18
- d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
19
- key: "zw3jo"
20
- }
21
- ],
22
- [
23
- "path",
24
- {
25
- d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
26
- key: "1wduqc"
27
- }
28
- ],
29
- [
30
- "path",
31
- {
32
- d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
33
- key: "kqbvx6"
34
- }
35
- ]
36
- ], Et = lt("layers", Bt);
37
- /**
38
- * @license lucide-react v1.8.0 - ISC
39
- *
40
- * This source code is licensed under the ISC license.
41
- * See the LICENSE file in the root directory of this source tree.
42
- */
43
- const _t = [
15
+ const At = [
44
16
  ["path", { d: "M12 4v16", key: "1654pz" }],
45
17
  ["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
46
18
  ["path", { d: "M9 20h6", key: "s66wpe" }]
47
- ], St = lt("type", _t), Yt = 15, J = 40, Nt = [18.5, 25, 30];
19
+ ], _t = Et("type", At), St = 15, J = 40, Yt = [18.5, 25, 30];
48
20
  function bn() {
49
21
  return {
50
22
  bands: [
@@ -53,19 +25,19 @@ function bn() {
53
25
  { upTo: 30, colorToken: "--warning-readable" },
54
26
  { upTo: J, colorToken: "--destructive" }
55
27
  ],
56
- min: Yt,
28
+ min: St,
57
29
  max: J,
58
- ticks: [...Nt]
30
+ ticks: [...Yt]
59
31
  };
60
32
  }
61
- const P = 14, U = 12, Gt = U / 2, Q = 18, Ht = 12, Rt = 16;
33
+ const P = 14, U = 12, Nt = U / 2, Q = 18, Gt = 12, Ht = 16;
62
34
  function S(t, n, i, a, r) {
63
35
  if (i <= n) return a;
64
36
  const s = (t - n) / (i - n);
65
37
  return a + s * (r - a);
66
38
  }
67
- function ct(t, { width: n, height: i }) {
68
- const a = P, r = n - P, s = Q + Ht, e = Q, c = s + U + Rt;
39
+ function lt(t, { width: n, height: i }) {
40
+ const a = P, r = n - P, s = Q + Gt, e = Q, c = s + U + Ht;
69
41
  let u = t.min;
70
42
  const d = t.bands.map((l) => {
71
43
  const L = Math.max(t.min, Math.min(u, t.max)), y = Math.max(t.min, Math.min(l.upTo, t.max));
@@ -83,7 +55,7 @@ function ct(t, { width: n, height: i }) {
83
55
  barEnd: r,
84
56
  barY: s,
85
57
  barH: U,
86
- barRadius: Gt,
58
+ barRadius: Nt,
87
59
  bands: d,
88
60
  marker: {
89
61
  x: v,
@@ -99,35 +71,35 @@ function ct(t, { width: n, height: i }) {
99
71
  ariaLabel: t.ariaLabel
100
72
  };
101
73
  }
102
- const o = (t) => Math.round(t * 100) / 100, C = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
103
- function ut(t, n, i, a, r, s) {
74
+ const o = (t) => Math.round(t * 100) / 100, B = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
75
+ function ct(t, n, i, a, r, s) {
104
76
  const e = t + i, c = n + a, u = s > 0 ? `A${s} ${s} 0 0 1 ${o(e)} ${o(n + s)}` : "", d = s > 0 ? `A${s} ${s} 0 0 1 ${o(e - s)} ${o(c)}` : "", f = r > 0 ? `A${r} ${r} 0 0 1 ${o(t)} ${o(c - r)}` : "", p = r > 0 ? `A${r} ${r} 0 0 1 ${o(t + r)} ${o(n)}` : "";
105
77
  return `M${o(t + r)} ${o(n)} H${o(e - s)} ${u} V${o(
106
78
  c - s
107
79
  )} ${d} H${o(t + r)} ${f} V${o(n + r)} ${p} Z`;
108
80
  }
109
- function Dt(t, n) {
110
- const { resolve: i, font: a, fg: r, muted: s, track: e } = n, c = C(a), u = `<rect x="${o(t.barStart)}" y="${o(
81
+ function Rt(t, n) {
82
+ const { resolve: i, font: a, fg: r, muted: s, track: e } = n, c = B(a), u = `<rect x="${o(t.barStart)}" y="${o(
111
83
  t.barY
112
- )}" width="${o(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m, g) => {
113
- const I = i(m.colorToken), _ = g === 0 ? t.barRadius : 0, Lt = g === d - 1 ? t.barRadius : 0;
114
- return `<path d="${ut(
84
+ )}" width="${o(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m, x) => {
85
+ const I = i(m.colorToken), _ = x === 0 ? t.barRadius : 0, wt = x === d - 1 ? t.barRadius : 0;
86
+ return `<path d="${ct(
115
87
  m.x,
116
88
  t.barY,
117
89
  m.w,
118
90
  t.barH,
119
91
  _,
120
- Lt
92
+ wt
121
93
  )}" fill="${I}"/>`;
122
94
  }).join(""), p = t.barY + t.barH, v = p + 4, h = t.ticks.map((m) => {
123
- const g = `<line x1="${o(m.x)}" y1="${o(p)}" x2="${o(
95
+ const x = `<line x1="${o(m.x)}" y1="${o(p)}" x2="${o(
124
96
  m.x
125
97
  )}" y2="${o(v)}" stroke="${e}" stroke-width="1"/>`, I = `<text x="${o(
126
98
  m.x
127
- )}" y="${o(t.tickLabelY)}" text-anchor="middle" font-family="${c}" font-size="9" fill="${s}">${C(
99
+ )}" y="${o(t.tickLabelY)}" text-anchor="middle" font-family="${c}" font-size="9" fill="${s}">${B(
128
100
  String(m.value)
129
101
  )}</text>`;
130
- return g + I;
102
+ return x + I;
131
103
  }).join(""), $ = o(t.marker.x), l = t.barY - 3, L = t.barY + t.barH + 3, y = `<line x1="${$}" y1="${o(l)}" x2="${$}" y2="${o(
132
104
  L
133
105
  )}" stroke="${r}" stroke-width="2" stroke-linecap="round"/>`, b = t.barY - 4, T = `<polygon points="${$},${o(t.barY + 1)} ${o(
@@ -137,41 +109,41 @@ function Dt(t, n) {
137
109
  if (t.marker.overflow) {
138
110
  const m = t.barY + t.barH / 2;
139
111
  if (t.marker.overflow === "start") {
140
- const g = t.barStart - 2;
141
- M = `<polyline points="${o(g + 5)},${o(m - 4)} ${o(
142
- g
143
- )},${o(m)} ${o(g + 5)},${o(
112
+ const x = t.barStart - 2;
113
+ M = `<polyline points="${o(x + 5)},${o(m - 4)} ${o(
114
+ x
115
+ )},${o(m)} ${o(x + 5)},${o(
144
116
  m + 4
145
117
  )}" fill="none" stroke="${r}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`;
146
118
  } else {
147
- const g = t.barEnd + 2;
148
- M = `<polyline points="${o(g - 5)},${o(m - 4)} ${o(
149
- g
150
- )},${o(m)} ${o(g - 5)},${o(
119
+ const x = t.barEnd + 2;
120
+ M = `<polyline points="${o(x - 5)},${o(m - 4)} ${o(
121
+ x
122
+ )},${o(m)} ${o(x - 5)},${o(
151
123
  m + 4
152
124
  )}" fill="none" stroke="${r}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`;
153
125
  }
154
126
  }
155
- const A = `<text x="${o(
127
+ const C = `<text x="${o(
156
128
  t.barStart
157
- )}" y="${o(t.valueLabelY)}" font-family="${c}" font-size="13" font-weight="700" fill="${r}">${C(
129
+ )}" y="${o(t.valueLabelY)}" font-family="${c}" font-size="13" font-weight="700" fill="${r}">${B(
158
130
  t.valueLabel
159
131
  )}</text>`, R = t.summaryLabel ? `<text x="${o(t.barEnd)}" y="${o(
160
132
  t.valueLabelY
161
- )}" text-anchor="end" font-family="${c}" font-size="10" fill="${s}">${C(
133
+ )}" text-anchor="end" font-family="${c}" font-size="10" fill="${s}">${B(
162
134
  t.summaryLabel
163
- )}</text>` : "", D = `<title>${C(t.ariaLabel)}</title>`;
164
- return `<g role="img" aria-label="${C(
135
+ )}</text>` : "", D = `<title>${B(t.ariaLabel)}</title>`;
136
+ return `<g role="img" aria-label="${B(
165
137
  t.ariaLabel
166
- )}">${D}${u}${f}${h}${y}${T}${M}${A}${R}</g>`;
138
+ )}">${D}${u}${f}${h}${y}${T}${M}${C}${R}</g>`;
167
139
  }
168
- const Ot = 260, V = 64;
169
- function Pt(t) {
140
+ const Dt = 260, V = 64;
141
+ function Ot(t) {
170
142
  return `var(${t})`;
171
143
  }
172
- const Ut = it(
173
- function({ model: n, width: i = Ot, height: a = V, className: r }, s) {
174
- const e = ct(n, { width: i, height: a }), c = e.barY + e.barH, u = c + 4, d = e.barY - 3, f = e.barY + e.barH + 3, p = e.barY - 4, v = e.bands.length, h = e.barY + e.barH / 2;
144
+ const Pt = it(
145
+ function({ model: n, width: i = Dt, height: a = V, className: r }, s) {
146
+ const e = lt(n, { width: i, height: a }), c = e.barY + e.barH, u = c + 4, d = e.barY - 3, f = e.barY + e.barH + 3, p = e.barY - 4, v = e.bands.length, h = e.barY + e.barH / 2;
175
147
  return /* @__PURE__ */ G(
176
148
  "svg",
177
149
  {
@@ -185,8 +157,8 @@ const Ut = it(
185
157
  viewBox: `0 0 ${i} ${a}`,
186
158
  className: ["ds:[font-family:var(--font-sans)]", r].filter(Boolean).join(" "),
187
159
  children: [
188
- /* @__PURE__ */ x("title", { children: e.ariaLabel }),
189
- /* @__PURE__ */ x(
160
+ /* @__PURE__ */ g("title", { children: e.ariaLabel }),
161
+ /* @__PURE__ */ g(
190
162
  "rect",
191
163
  {
192
164
  x: o(e.barStart),
@@ -197,10 +169,10 @@ const Ut = it(
197
169
  className: "ds:fill-[color:var(--muted)]"
198
170
  }
199
171
  ),
200
- e.bands.map(($, l) => /* @__PURE__ */ x(
172
+ e.bands.map(($, l) => /* @__PURE__ */ g(
201
173
  "path",
202
174
  {
203
- d: ut(
175
+ d: ct(
204
176
  $.x,
205
177
  e.barY,
206
178
  $.w,
@@ -208,12 +180,12 @@ const Ut = it(
208
180
  l === 0 ? e.barRadius : 0,
209
181
  l === v - 1 ? e.barRadius : 0
210
182
  ),
211
- fill: Pt($.colorToken)
183
+ fill: Ot($.colorToken)
212
184
  },
213
185
  `${$.colorToken}-${l}`
214
186
  )),
215
187
  e.ticks.map(($) => /* @__PURE__ */ G("g", { children: [
216
- /* @__PURE__ */ x(
188
+ /* @__PURE__ */ g(
217
189
  "line",
218
190
  {
219
191
  x1: o($.x),
@@ -224,7 +196,7 @@ const Ut = it(
224
196
  className: "ds:stroke-[color:var(--border)]"
225
197
  }
226
198
  ),
227
- /* @__PURE__ */ x(
199
+ /* @__PURE__ */ g(
228
200
  "text",
229
201
  {
230
202
  x: o($.x),
@@ -236,7 +208,7 @@ const Ut = it(
236
208
  }
237
209
  )
238
210
  ] }, $.value)),
239
- /* @__PURE__ */ x(
211
+ /* @__PURE__ */ g(
240
212
  "line",
241
213
  {
242
214
  x1: o(e.marker.x),
@@ -248,7 +220,7 @@ const Ut = it(
248
220
  className: "ds:stroke-[color:var(--foreground)]"
249
221
  }
250
222
  ),
251
- /* @__PURE__ */ x(
223
+ /* @__PURE__ */ g(
252
224
  "polygon",
253
225
  {
254
226
  points: `${o(e.marker.x)},${o(e.barY + 1)} ${o(
@@ -257,7 +229,7 @@ const Ut = it(
257
229
  className: "ds:fill-[color:var(--foreground)]"
258
230
  }
259
231
  ),
260
- e.marker.overflow === "start" ? /* @__PURE__ */ x(
232
+ e.marker.overflow === "start" ? /* @__PURE__ */ g(
261
233
  "polyline",
262
234
  {
263
235
  points: `${o(e.barStart + 3)},${o(h - 4)} ${o(
@@ -270,7 +242,7 @@ const Ut = it(
270
242
  className: "ds:stroke-[color:var(--foreground)]"
271
243
  }
272
244
  ) : null,
273
- e.marker.overflow === "end" ? /* @__PURE__ */ x(
245
+ e.marker.overflow === "end" ? /* @__PURE__ */ g(
274
246
  "polyline",
275
247
  {
276
248
  points: `${o(e.barEnd - 3)},${o(h - 4)} ${o(
@@ -283,7 +255,7 @@ const Ut = it(
283
255
  className: "ds:stroke-[color:var(--foreground)]"
284
256
  }
285
257
  ) : null,
286
- /* @__PURE__ */ x(
258
+ /* @__PURE__ */ g(
287
259
  "text",
288
260
  {
289
261
  x: o(e.barStart),
@@ -294,7 +266,7 @@ const Ut = it(
294
266
  children: e.valueLabel
295
267
  }
296
268
  ),
297
- e.summaryLabel ? /* @__PURE__ */ x(
269
+ e.summaryLabel ? /* @__PURE__ */ g(
298
270
  "text",
299
271
  {
300
272
  x: o(e.barEnd),
@@ -310,8 +282,8 @@ const Ut = it(
310
282
  );
311
283
  }
312
284
  );
313
- Ut.displayName = "BandedGauge";
314
- const zt = 24, dt = 18, Y = 12, ft = {
285
+ Pt.displayName = "BandedGauge";
286
+ const Ut = 24, ut = 18, Y = 12, dt = {
315
287
  activity: '<path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/>',
316
288
  scale: '<path d="M12 3v18"/><path d="m19 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1"/><path d="m5 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M7 21h10"/>',
317
289
  ruler: '<path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z"/><path d="m14.5 12.5 2-2"/><path d="m11.5 9.5 2-2"/><path d="m8.5 6.5 2-2"/><path d="m17.5 15.5 2-2"/>',
@@ -325,22 +297,22 @@ const zt = 24, dt = 18, Y = 12, ft = {
325
297
  "trending-up": '<path d="M16 7h6v6"/><path d="m22 7-8.5 8.5-5-5L2 17"/>',
326
298
  percent: '<line x1="19" x2="5" y1="5" y2="19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/>'
327
299
  };
328
- function $t(t) {
329
- return Object.prototype.hasOwnProperty.call(ft, t);
300
+ function ft(t) {
301
+ return Object.prototype.hasOwnProperty.call(dt, t);
330
302
  }
331
303
  function tt(t, n, i, a, r) {
332
- if (!$t(t)) return "";
333
- const s = r / zt;
334
- return `<g transform="translate(${i} ${a}) scale(${s})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${ft[t]}</g>`;
304
+ if (!ft(t)) return "";
305
+ const s = r / Ut;
306
+ return `<g transform="translate(${i} ${a}) scale(${s})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${dt[t]}</g>`;
335
307
  }
336
- function E(t) {
308
+ function A(t) {
337
309
  return t.variant === "banded";
338
310
  }
339
- const Ft = ["fg", "muted", "accent", "border", "bg"], j = "--primary", q = 380, ht = (t) => t.trim().replace(/^--/, "");
340
- function Wt(t) {
311
+ const Ft = ["fg", "muted", "accent", "border", "bg"], j = "--primary", K = 380, $t = (t) => t.trim().replace(/^--/, "");
312
+ function zt(t) {
341
313
  return `ds:text-[color:var(${t})]`;
342
314
  }
343
- function pt(t) {
315
+ function ht(t) {
344
316
  return t.highlightToken ?? j;
345
317
  }
346
318
  function O(t) {
@@ -349,15 +321,15 @@ function O(t) {
349
321
  const a = t.highlightToken ?? j;
350
322
  n.add(a), n.add(`${a}-foreground`);
351
323
  }
352
- const i = pt(t);
324
+ const i = ht(t);
353
325
  if (n.add(i), t.gauge)
354
- if (E(t.gauge))
326
+ if (A(t.gauge))
355
327
  for (const a of t.gauge.bands) n.add(a.colorToken);
356
328
  else
357
329
  n.add(t.gauge.colorToken);
358
330
  return [...n];
359
331
  }
360
- function z(t, n = []) {
332
+ function F(t, n = []) {
361
333
  const i = {
362
334
  fg: "currentColor",
363
335
  muted: "currentColor",
@@ -374,7 +346,7 @@ function z(t, n = []) {
374
346
  }, r = {};
375
347
  for (const s of n) {
376
348
  const e = t.querySelector(
377
- `[data-token="${ht(s)}"]`
349
+ `[data-token="${$t(s)}"]`
378
350
  );
379
351
  if (e) {
380
352
  const c = getComputedStyle(e).color;
@@ -396,19 +368,19 @@ function H(t, n, i) {
396
368
  return n ? ((a = t.tokens) == null ? void 0 : a[n]) ?? i : i;
397
369
  }
398
370
  const k = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
399
- function bt(t) {
371
+ function pt(t) {
400
372
  const n = [t.title];
401
373
  t.highlight && n.push(t.highlight);
402
374
  for (const i of t.fields) n.push(`• ${i.label}: ${i.value}`);
403
375
  return n.join(`
404
376
  `);
405
377
  }
406
- function mt(t) {
378
+ function bt(t) {
407
379
  const n = t.fields.map((a) => `<li>${k(a.label)}: ${k(a.value)}</li>`).join(""), i = t.highlight ? `<p><strong>${k(t.highlight)}</strong></p>` : "";
408
380
  return `<p><strong>${k(t.title)}</strong></p>${i}<ul>${n}</ul>`;
409
381
  }
410
- const w = 20, B = w + 18, N = 22, Xt = 10, F = 22, nt = 16, et = 12, Vt = 12, xt = 34, W = 9, X = (xt + W) * 2, jt = 16, at = dt, qt = 6;
411
- function K(t, n) {
382
+ const w = 20, E = w + 18, N = 22, Wt = 10, z = 22, nt = 16, et = 12, Xt = 12, mt = 34, W = 9, X = (mt + W) * 2, Vt = 16, at = ut, jt = 6;
383
+ function q(t, n) {
412
384
  const i = n !== void 0 ? n : t.brand;
413
385
  return typeof i == "string" ? i : !1;
414
386
  }
@@ -419,7 +391,7 @@ function Kt(t) {
419
391
  return Number.isFinite(n) && typeof t.max == "number" && t.max > 0 ? Math.min(1, Math.max(0, n / t.max)) : 1;
420
392
  }
421
393
  function gt(t, n) {
422
- const i = !!t.highlight, a = B + Xt, r = (i ? a + N + nt : B + nt) + F - 6, s = r + Math.max(0, t.fields.length - 1) * F, e = t.gauge && E(t.gauge), d = t.gauge && !E(t.gauge) ? (i ? a : B) + X : 0, f = e ? s + jt : null, p = f !== null ? f + V : 0, v = Math.max(s, d, p), h = n ? v + et + Vt - 4 : v, $ = Math.round(h + (n ? et : w));
394
+ const i = !!t.highlight, a = E + Wt, r = (i ? a + N + nt : E + nt) + z - 6, s = r + Math.max(0, t.fields.length - 1) * z, e = t.gauge && A(t.gauge), d = t.gauge && !A(t.gauge) ? (i ? a : E) + X : 0, f = e ? s + Vt : null, p = f !== null ? f + V : 0, v = Math.max(s, d, p), h = n ? v + et + Xt - 4 : v, $ = Math.round(h + (n ? et : w));
423
395
  return {
424
396
  hasChip: i,
425
397
  chipY: a,
@@ -430,11 +402,11 @@ function gt(t, n) {
430
402
  height: $
431
403
  };
432
404
  }
433
- function vt(t, n) {
405
+ function xt(t, n) {
434
406
  return gt(t, n !== !1).height;
435
407
  }
436
- function Zt(t, n, i, a, r) {
437
- const s = xt, e = 2 * Math.PI * s, c = Kt(t), u = H(n, t.colorToken, n.accent), d = typeof t.segments == "number" && t.segments > 1 ? t.segments : 0, f = d ? 3 : 0, p = d ? e / d - f : e, v = d ? `${p} ${f}` : "", h = `${e * c} ${e}`, $ = `transform="rotate(-90 ${a} ${r})"`, l = k(
408
+ function qt(t, n, i, a, r) {
409
+ const s = mt, e = 2 * Math.PI * s, c = Kt(t), u = H(n, t.colorToken, n.accent), d = typeof t.segments == "number" && t.segments > 1 ? t.segments : 0, f = d ? 3 : 0, p = d ? e / d - f : e, v = d ? `${p} ${f}` : "", h = `${e * c} ${e}`, $ = `transform="rotate(-90 ${a} ${r})"`, l = k(
438
410
  t.label ? `${t.value} — ${t.label}` : t.value
439
411
  ), L = `<circle cx="${a}" cy="${r}" r="${s}" fill="none" stroke="${n.border}" stroke-width="${W}"${v ? ` stroke-dasharray="${v}"` : ""} ${$}/>`, y = `<circle cx="${a}" cy="${r}" r="${s}" fill="none" stroke="${u}" stroke-width="${W}" stroke-linecap="round" stroke-dasharray="${h}" ${$}/>`, b = `<text x="${a}" y="${r + 1}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="16" font-weight="700" fill="${n.fg}">${k(
440
412
  t.value
@@ -443,8 +415,8 @@ function Zt(t, n, i, a, r) {
443
415
  )}</text>` : "";
444
416
  return `<g role="img" aria-label="${l}"><title>${l}</title>${L}${y}${b}${T}</g>`;
445
417
  }
446
- function Jt(t, n, i, a) {
447
- const r = w - P, s = i - 2 * r, e = ct(
418
+ function Zt(t, n, i, a) {
419
+ const r = w - P, s = i - 2 * r, e = lt(
448
420
  {
449
421
  value: t.value,
450
422
  bands: t.bands,
@@ -457,7 +429,7 @@ function Jt(t, n, i, a) {
457
429
  ticks: t.ticks
458
430
  },
459
431
  { width: s, height: V }
460
- ), c = Dt(e, {
432
+ ), c = Rt(e, {
461
433
  resolve: (u) => H(n, u, n.accent),
462
434
  // Raw theme font — buildBandedGaugeSvgString escapes it once. Passing the
463
435
  // card's already-escaped `font` here would double-escape and break it.
@@ -479,67 +451,67 @@ function rt([t, n, i]) {
479
451
  };
480
452
  return 0.2126 * a(t) + 0.7152 * a(n) + 0.0722 * a(i);
481
453
  }
482
- function Qt(t, n) {
454
+ function Jt(t, n) {
483
455
  const i = ot(t), a = ot(n);
484
456
  if (!i || !a) return 0;
485
457
  const r = rt(i), s = rt(a);
486
458
  return (Math.max(r, s) + 0.05) / (Math.min(r, s) + 0.05);
487
459
  }
488
- function tn(t, n, i, a) {
489
- const r = t.highlight, s = t.highlightToken ?? j, e = H(n, s, n.accent), c = Qt(n.bg, e) >= 3 ? n.bg : n.fg, u = Math.round(r.length * 7.2 + 28), d = w + u / 2, f = a + N / 2 + 1;
460
+ function Qt(t, n, i, a) {
461
+ const r = t.highlight, s = t.highlightToken ?? j, e = H(n, s, n.accent), c = Jt(n.bg, e) >= 3 ? n.bg : n.fg, u = Math.round(r.length * 7.2 + 28), d = w + u / 2, f = a + N / 2 + 1;
490
462
  return `<rect x="${w}" y="${a}" width="${u}" height="${N}" rx="${N / 2}" fill="${e}"/><text x="${d}" y="${f}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="12" font-weight="600" fill="${c}">${k(
491
463
  r
492
464
  )}</text>`;
493
465
  }
494
466
  function Z(t, n, i = !1) {
495
- const a = q, r = gt(t, i !== !1), s = r.height, e = k(n.font), c = pt(t), u = H(n, c, n.accent), d = t.icon ? tt(
467
+ const a = K, r = gt(t, i !== !1), s = r.height, e = k(n.font), c = ht(t), u = H(n, c, n.accent), d = t.icon ? tt(
496
468
  t.icon,
497
469
  u,
498
470
  a - w - at,
499
- B - at + 2,
500
- dt
501
- ) : "", f = w + Y + qt, p = t.fields.map((b, T) => {
502
- const M = r.firstFieldY + T * F, A = T === 0, R = A ? 14 : 13, D = A ? 700 : 500, m = A ? u : n.fg, g = M - 4;
471
+ E - at + 2,
472
+ ut
473
+ ) : "", f = w + Y + jt, p = t.fields.map((b, T) => {
474
+ const M = r.firstFieldY + T * z, C = T === 0, R = C ? 14 : 13, D = C ? 700 : 500, m = C ? u : n.fg, x = M - 4;
503
475
  let I;
504
- if (b.icon && $t(b.icon)) {
476
+ if (b.icon && ft(b.icon)) {
505
477
  const _ = u;
506
478
  I = tt(
507
479
  b.icon,
508
480
  _,
509
481
  w,
510
- g - Y / 2,
482
+ x - Y / 2,
511
483
  Y
512
484
  );
513
485
  } else
514
- I = `<circle cx="${w + Y / 2}" cy="${g}" r="2" fill="${n.muted}"/>`;
486
+ I = `<circle cx="${w + Y / 2}" cy="${x}" r="2" fill="${n.muted}"/>`;
515
487
  return `${I}<text x="${f}" y="${M}" font-family="${e}" font-size="13"><tspan fill="${n.muted}">${k(
516
488
  b.label
517
489
  )}: </tspan><tspan font-size="${R}" font-weight="${D}" fill="${m}">${k(
518
490
  b.value
519
491
  )}</tspan></text>`;
520
- }).join(""), v = r.hasChip ? tn(t, n, e, r.chipY) : "";
492
+ }).join(""), v = r.hasChip ? Qt(t, n, e, r.chipY) : "";
521
493
  let h = "";
522
- t.gauge && (E(t.gauge) && r.bandedGaugeY !== null ? h = Jt(t.gauge, n, a, r.bandedGaugeY) : E(t.gauge) || (h = Zt(
494
+ t.gauge && (A(t.gauge) && r.bandedGaugeY !== null ? h = Zt(t.gauge, n, a, r.bandedGaugeY) : A(t.gauge) || (h = qt(
523
495
  t.gauge,
524
496
  n,
525
497
  e,
526
498
  a - w - X / 2,
527
- (r.hasChip ? r.chipY : B) + X / 2
499
+ (r.hasChip ? r.chipY : E) + X / 2
528
500
  )));
529
501
  const $ = i !== !1 ? `<text x="${w}" y="${r.footerY}" font-family="${e}" font-size="10" font-weight="500" fill="${n.muted}">${k(
530
502
  i
531
- )}</text>` : "", l = `<text x="${w}" y="${B}" font-family="${e}" font-size="16" font-weight="700" fill="${n.fg}">${k(
503
+ )}</text>` : "", l = `<text x="${w}" y="${E}" font-family="${e}" font-size="16" font-weight="700" fill="${n.fg}">${k(
532
504
  t.title
533
505
  )}</text>`, L = `<rect x="0.5" y="0.5" width="${a - 1}" height="${s - 1}" rx="12" fill="${n.bg}"/>`, y = `<rect x="0.5" y="0.5" width="${a - 1}" height="${s - 1}" rx="12" fill="none" stroke="${n.border}"/>`;
534
506
  return `<svg xmlns="http://www.w3.org/2000/svg" width="${a}" height="${s}" viewBox="0 0 ${a} ${s}" role="img" aria-label="${k(
535
507
  t.title
536
508
  )}">${L}${l}${d}${v}${h}${p}${$}${y}</svg>`;
537
509
  }
538
- function nn() {
510
+ function tn() {
539
511
  var t;
540
512
  return typeof navigator < "u" && typeof ((t = navigator.clipboard) == null ? void 0 : t.write) == "function" && typeof ClipboardItem < "u";
541
513
  }
542
- function kt(t, n, i) {
514
+ function vt(t, n, i) {
543
515
  return new Promise((a, r) => {
544
516
  const s = new Image();
545
517
  s.decoding = "async", s.onload = () => {
@@ -556,46 +528,46 @@ function kt(t, n, i) {
556
528
  }, s.onerror = () => r(new Error("SVG failed to decode as an image")), s.src = t;
557
529
  });
558
530
  }
559
- function yt() {
531
+ function kt() {
560
532
  const t = typeof window < "u" && typeof window.devicePixelRatio == "number" ? window.devicePixelRatio : 1;
561
533
  return Math.max(2, t);
562
534
  }
563
535
  async function mn(t, n = {}) {
564
- return (await wt(t, n)).dataUri;
536
+ return (await yt(t, n)).dataUri;
565
537
  }
566
- async function wt(t, n = {}) {
567
- const { colours: i, scale: a = yt() } = n, r = i ?? z(null), s = K(t, n.brand), e = Z(t, r, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = q, d = vt(t, s), f = await kt(
538
+ async function yt(t, n = {}) {
539
+ const { colours: i, scale: a = kt() } = n, r = i ?? F(null), s = q(t, n.brand), e = Z(t, r, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = K, d = xt(t, s), f = await vt(
568
540
  c,
569
541
  Math.round(u * a),
570
542
  Math.round(d * a)
571
543
  );
572
- return { dataUri: await en(f), width: u, height: d };
544
+ return { dataUri: await nn(f), width: u, height: d };
573
545
  }
574
- function en(t) {
546
+ function nn(t) {
575
547
  return new Promise((n, i) => {
576
548
  const a = new FileReader();
577
549
  a.onload = () => n(String(a.result)), a.onerror = () => i(a.error ?? new Error("FileReader error")), a.readAsDataURL(t);
578
550
  });
579
551
  }
580
- async function an(t, n, i) {
581
- const a = bt(n), r = new Blob([a], { type: "text/plain" });
552
+ async function en(t, n, i) {
553
+ const a = pt(n), r = new Blob([a], { type: "text/plain" });
582
554
  if (t === "text")
583
555
  return new ClipboardItem({ "text/plain": r });
584
- const s = K(n, void 0), e = Z(n, i, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = yt(), d = await kt(
556
+ const s = q(n, void 0), e = Z(n, i, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = kt(), d = await vt(
585
557
  c,
586
- Math.round(q * u),
587
- Math.round(vt(n, s) * u)
558
+ Math.round(K * u),
559
+ Math.round(xt(n, s) * u)
588
560
  );
589
561
  if (t === "image")
590
562
  return new ClipboardItem({ "image/png": d, "text/plain": r });
591
- const f = new Blob([mt(n)], { type: "text/html" });
563
+ const f = new Blob([bt(n)], { type: "text/html" });
592
564
  return new ClipboardItem({
593
565
  "text/html": f,
594
566
  "image/png": d,
595
567
  "text/plain": r
596
568
  });
597
569
  }
598
- const on = It(
570
+ const an = Mt(
599
571
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
600
572
  {
601
573
  variants: {
@@ -606,10 +578,10 @@ const on = It(
606
578
  },
607
579
  defaultVariants: { variant: "insert" }
608
580
  }
609
- ), rn = ["text", "image", "text-image"], sn = {
610
- text: /* @__PURE__ */ x(St, { "aria-hidden": !0 }),
611
- image: /* @__PURE__ */ x(Ct, { "aria-hidden": !0 }),
612
- "text-image": /* @__PURE__ */ x(Et, { "aria-hidden": !0 })
581
+ ), on = ["text", "image", "text-image"], rn = {
582
+ text: /* @__PURE__ */ g(_t, { "aria-hidden": !0 }),
583
+ image: /* @__PURE__ */ g(Bt, { "aria-hidden": !0 }),
584
+ "text-image": /* @__PURE__ */ g(Ct, { "aria-hidden": !0 })
613
585
  }, st = {
614
586
  insert: {
615
587
  text: "insert.text",
@@ -621,7 +593,7 @@ const on = It(
621
593
  image: "insert.copyImage",
622
594
  "text-image": "insert.copyTextImage"
623
595
  }
624
- }, ln = it(
596
+ }, sn = it(
625
597
  function({
626
598
  card: n,
627
599
  variant: i = "insert",
@@ -631,23 +603,23 @@ const on = It(
631
603
  size: e = "sm",
632
604
  intent: c = "primary"
633
605
  }, u) {
634
- const { t: d } = Mt(), f = Tt(null), p = (l) => {
635
- const L = bt(n), y = mt(n);
606
+ const { t: d } = Tt(), f = Lt(null), p = (l) => {
607
+ const L = pt(n), y = bt(n);
636
608
  let b = "", T = "";
637
- const M = l === "text" ? null : z(f.current, O(n));
638
- return M && (b = Z(n, M, K(n, void 0)), T = `data:image/svg+xml,${encodeURIComponent(b)}`), { mode: l, text: L, html: y, svg: b, imageDataUri: T, pngDataUri: () => M ? wt(n, { colours: M }) : Promise.resolve({ dataUri: "", width: 0, height: 0 }) };
609
+ const M = l === "text" ? null : F(f.current, O(n));
610
+ return M && (b = Z(n, M, q(n, void 0)), T = `data:image/svg+xml,${encodeURIComponent(b)}`), { mode: l, text: L, html: y, svg: b, imageDataUri: T, pngDataUri: () => M ? yt(n, { colours: M }) : Promise.resolve({ dataUri: "", width: 0, height: 0 }) };
639
611
  }, $ = i === "copy" ? (l) => {
640
- if (!nn()) {
612
+ if (!tn()) {
641
613
  s == null || s(new Error("Clipboard write unavailable in this context"));
642
614
  return;
643
615
  }
644
- const L = z(
616
+ const L = F(
645
617
  f.current,
646
618
  O(n)
647
619
  );
648
620
  (async () => {
649
621
  try {
650
- const y = await an(l, n, L);
622
+ const y = await en(l, n, L);
651
623
  await navigator.clipboard.write([y]), r == null || r(l);
652
624
  } catch (y) {
653
625
  s == null || s(y);
@@ -662,10 +634,10 @@ const on = It(
662
634
  ref: u,
663
635
  "data-component": "insert-result",
664
636
  "data-variant": i,
665
- className: on({ variant: i }),
637
+ className: an({ variant: i }),
666
638
  children: [
667
639
  /* @__PURE__ */ G("span", { ref: f, "aria-hidden": !0, className: "ds:sr-only", children: [
668
- Ft.map((l) => /* @__PURE__ */ x(
640
+ Ft.map((l) => /* @__PURE__ */ g(
669
641
  "span",
670
642
  {
671
643
  "data-k": l,
@@ -673,22 +645,22 @@ const on = It(
673
645
  },
674
646
  l
675
647
  )),
676
- O(n).map((l) => /* @__PURE__ */ x(
648
+ O(n).map((l) => /* @__PURE__ */ g(
677
649
  "span",
678
650
  {
679
- "data-token": ht(l),
680
- className: Wt(l)
651
+ "data-token": $t(l),
652
+ className: zt(l)
681
653
  },
682
654
  l
683
655
  ))
684
656
  ] }),
685
- rn.map((l) => /* @__PURE__ */ x(
686
- At,
657
+ on.map((l) => /* @__PURE__ */ g(
658
+ It,
687
659
  {
688
660
  type: "button",
689
661
  intent: c,
690
662
  size: e,
691
- startIcon: sn[l],
663
+ startIcon: rn[l],
692
664
  "aria-label": d(st[i][l]),
693
665
  onClick: () => $(l),
694
666
  children: d(st[i][l])
@@ -700,12 +672,12 @@ const on = It(
700
672
  );
701
673
  }
702
674
  );
703
- ln.displayName = "InsertButton";
675
+ sn.displayName = "InsertButton";
704
676
  export {
705
- Ut as B,
706
- ln as I,
677
+ Pt as B,
678
+ sn as I,
707
679
  mn as a,
708
680
  bn as b,
709
- wt as s
681
+ yt as s
710
682
  };
711
- //# sourceMappingURL=insert-result-C5ABnzDl.js.map
683
+ //# sourceMappingURL=insert-result-DNdi_JYW.js.map