@mieweb/ui 0.8.0-dev.1 → 0.8.0-dev.11

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 (193) hide show
  1. package/README.md +162 -739
  2. package/agent/mieweb-ui.instructions.md +34 -16
  3. package/dist/CsvBlock-HMAZ7YK5.cjs +15 -0
  4. package/dist/{CsvBlock-OTFG3PYZ.cjs.map → CsvBlock-HMAZ7YK5.cjs.map} +1 -1
  5. package/dist/CsvBlock-RPGHFTVD.js +6 -0
  6. package/dist/{CsvBlock-PUSTBQ5B.js.map → CsvBlock-RPGHFTVD.js.map} +1 -1
  7. package/dist/SurveyBlock-ID55AT3R.js +6 -0
  8. package/dist/{SurveyBlock-JLHS3YQD.js.map → SurveyBlock-ID55AT3R.js.map} +1 -1
  9. package/dist/SurveyBlock-K6HKI7AD.cjs +15 -0
  10. package/dist/{SurveyBlock-M2ZRTGVJ.cjs.map → SurveyBlock-K6HKI7AD.cjs.map} +1 -1
  11. package/dist/{chunk-RZJXCI53.js → chunk-22CYDCXA.js} +3 -3
  12. package/dist/{chunk-RZJXCI53.js.map → chunk-22CYDCXA.js.map} +1 -1
  13. package/dist/{chunk-OTQ72WX3.js → chunk-2BPIVWAK.js} +3 -3
  14. package/dist/{chunk-OTQ72WX3.js.map → chunk-2BPIVWAK.js.map} +1 -1
  15. package/dist/{chunk-6EWJGRC3.js → chunk-3JWAABYI.js} +6 -6
  16. package/dist/chunk-3JWAABYI.js.map +1 -0
  17. package/dist/{chunk-5J5PEUUA.js → chunk-4KFVGIY6.js} +4 -4
  18. package/dist/{chunk-5J5PEUUA.js.map → chunk-4KFVGIY6.js.map} +1 -1
  19. package/dist/{chunk-LDQ2T27A.js → chunk-4KZIXV2J.js} +11 -11
  20. package/dist/{chunk-LDQ2T27A.js.map → chunk-4KZIXV2J.js.map} +1 -1
  21. package/dist/{chunk-WIYQI35R.cjs → chunk-4SIGL6QC.cjs} +4 -4
  22. package/dist/{chunk-WIYQI35R.cjs.map → chunk-4SIGL6QC.cjs.map} +1 -1
  23. package/dist/{chunk-4AE2L6AO.cjs → chunk-7FTBPLA6.cjs} +8 -8
  24. package/dist/chunk-7FTBPLA6.cjs.map +1 -0
  25. package/dist/{chunk-2AB4PQYL.js → chunk-7IBZA7G6.js} +6 -4
  26. package/dist/chunk-7IBZA7G6.js.map +1 -0
  27. package/dist/{chunk-3RADKLLD.cjs → chunk-7SFGEE4M.cjs} +13 -13
  28. package/dist/{chunk-3RADKLLD.cjs.map → chunk-7SFGEE4M.cjs.map} +1 -1
  29. package/dist/{chunk-JHZW3Y62.js → chunk-7ZP3NNII.js} +3 -3
  30. package/dist/chunk-7ZP3NNII.js.map +1 -0
  31. package/dist/{chunk-QMKYJ4AT.cjs → chunk-ABTO4RD6.cjs} +3 -3
  32. package/dist/{chunk-QMKYJ4AT.cjs.map → chunk-ABTO4RD6.cjs.map} +1 -1
  33. package/dist/{chunk-QOJ4V7YX.cjs → chunk-BT7SXNZU.cjs} +4 -4
  34. package/dist/{chunk-QOJ4V7YX.cjs.map → chunk-BT7SXNZU.cjs.map} +1 -1
  35. package/dist/{chunk-DX64KLSN.js → chunk-CLQUCPV6.js} +4 -4
  36. package/dist/{chunk-DX64KLSN.js.map → chunk-CLQUCPV6.js.map} +1 -1
  37. package/dist/{chunk-DJ4JPFWI.js → chunk-CLRWVJOD.js} +3 -3
  38. package/dist/{chunk-DJ4JPFWI.js.map → chunk-CLRWVJOD.js.map} +1 -1
  39. package/dist/{chunk-LDCFNWJC.cjs → chunk-D6UXVOPS.cjs} +23 -20
  40. package/dist/chunk-D6UXVOPS.cjs.map +1 -0
  41. package/dist/{chunk-5JZIDILK.cjs → chunk-FK4ZV5VO.cjs} +3 -3
  42. package/dist/chunk-FK4ZV5VO.cjs.map +1 -0
  43. package/dist/{chunk-2PEVRI26.cjs → chunk-FTDNNKHE.cjs} +12 -12
  44. package/dist/chunk-FTDNNKHE.cjs.map +1 -0
  45. package/dist/{chunk-EK6DYGFG.js → chunk-GPZDP2IA.js} +21 -18
  46. package/dist/chunk-GPZDP2IA.js.map +1 -0
  47. package/dist/{chunk-I2ECTLON.cjs → chunk-HXSA6QC5.cjs} +3 -3
  48. package/dist/{chunk-I2ECTLON.cjs.map → chunk-HXSA6QC5.cjs.map} +1 -1
  49. package/dist/{chunk-DCBMTFLE.js → chunk-HZ4MBUC3.js} +3 -3
  50. package/dist/{chunk-DCBMTFLE.js.map → chunk-HZ4MBUC3.js.map} +1 -1
  51. package/dist/{chunk-U3JU6BI5.cjs → chunk-JEIW7BSV.cjs} +3 -3
  52. package/dist/{chunk-U3JU6BI5.cjs.map → chunk-JEIW7BSV.cjs.map} +1 -1
  53. package/dist/{chunk-4CUFXCC5.cjs → chunk-JIU6CVPF.cjs} +3 -3
  54. package/dist/{chunk-4CUFXCC5.cjs.map → chunk-JIU6CVPF.cjs.map} +1 -1
  55. package/dist/{chunk-UJS3JTVT.js → chunk-KLLRTTC5.js} +10 -10
  56. package/dist/chunk-KLLRTTC5.js.map +1 -0
  57. package/dist/{chunk-5BPUZK2B.cjs → chunk-KOISIOUB.cjs} +90 -3
  58. package/dist/chunk-KOISIOUB.cjs.map +1 -0
  59. package/dist/{chunk-F2S6NV5N.js → chunk-LCCJIEPO.js} +9 -9
  60. package/dist/chunk-LCCJIEPO.js.map +1 -0
  61. package/dist/{chunk-AHUYW673.js → chunk-LZVPVY5P.js} +4 -4
  62. package/dist/{chunk-AHUYW673.js.map → chunk-LZVPVY5P.js.map} +1 -1
  63. package/dist/{chunk-YMHOF6WA.cjs → chunk-MYAU2ZUC.cjs} +3 -3
  64. package/dist/{chunk-YMHOF6WA.cjs.map → chunk-MYAU2ZUC.cjs.map} +1 -1
  65. package/dist/{chunk-2SSAAE3I.cjs → chunk-NFKX6QJP.cjs} +3 -3
  66. package/dist/{chunk-2SSAAE3I.cjs.map → chunk-NFKX6QJP.cjs.map} +1 -1
  67. package/dist/{chunk-TQZPYDUL.cjs → chunk-NPW226H5.cjs} +8 -8
  68. package/dist/{chunk-TQZPYDUL.cjs.map → chunk-NPW226H5.cjs.map} +1 -1
  69. package/dist/{chunk-EPQPUFS6.cjs → chunk-NYJIXR4Y.cjs} +6 -6
  70. package/dist/chunk-NYJIXR4Y.cjs.map +1 -0
  71. package/dist/{chunk-FDUA6OGN.js → chunk-PFKRHNYV.js} +8 -8
  72. package/dist/chunk-PFKRHNYV.js.map +1 -0
  73. package/dist/{chunk-ZZJ4ZVYR.cjs → chunk-PJ6CC53R.cjs} +3 -3
  74. package/dist/{chunk-ZZJ4ZVYR.cjs.map → chunk-PJ6CC53R.cjs.map} +1 -1
  75. package/dist/{chunk-N3Y43KOB.js → chunk-Q4NRKKIW.js} +11 -4
  76. package/dist/chunk-Q4NRKKIW.js.map +1 -0
  77. package/dist/{chunk-SEPYBAML.js → chunk-RVGTI4F6.js} +3 -3
  78. package/dist/{chunk-SEPYBAML.js.map → chunk-RVGTI4F6.js.map} +1 -1
  79. package/dist/{chunk-5Y5FSR4N.js → chunk-SCXELRRZ.js} +3 -3
  80. package/dist/{chunk-5Y5FSR4N.js.map → chunk-SCXELRRZ.js.map} +1 -1
  81. package/dist/{chunk-K4S4FAYX.cjs → chunk-SNSA6NWD.cjs} +4 -4
  82. package/dist/{chunk-K4S4FAYX.cjs.map → chunk-SNSA6NWD.cjs.map} +1 -1
  83. package/dist/{chunk-6GKX36JX.js → chunk-SRMTRD7F.js} +9 -3
  84. package/dist/chunk-SRMTRD7F.js.map +1 -0
  85. package/dist/{chunk-VQ5HJCTP.js → chunk-SZ6H4RJG.js} +90 -3
  86. package/dist/chunk-SZ6H4RJG.js.map +1 -0
  87. package/dist/{chunk-5U6GETAW.js → chunk-TQDZLRIE.js} +3 -3
  88. package/dist/chunk-TQDZLRIE.js.map +1 -0
  89. package/dist/{chunk-SVZ4MQVQ.js → chunk-UBOVDAD7.js} +3 -3
  90. package/dist/{chunk-SVZ4MQVQ.js.map → chunk-UBOVDAD7.js.map} +1 -1
  91. package/dist/{chunk-JR4QIU54.cjs → chunk-UEDTZYGI.cjs} +9 -3
  92. package/dist/chunk-UEDTZYGI.cjs.map +1 -0
  93. package/dist/{chunk-DG7KE4YJ.cjs → chunk-VA3WQ5KJ.cjs} +3 -3
  94. package/dist/{chunk-DG7KE4YJ.cjs.map → chunk-VA3WQ5KJ.cjs.map} +1 -1
  95. package/dist/{chunk-H7QSGFMZ.cjs → chunk-VKNCQIVN.cjs} +11 -4
  96. package/dist/chunk-VKNCQIVN.cjs.map +1 -0
  97. package/dist/{chunk-XO3WLK65.js → chunk-VVDE4CHU.js} +3 -3
  98. package/dist/{chunk-XO3WLK65.js.map → chunk-VVDE4CHU.js.map} +1 -1
  99. package/dist/{chunk-XS35KPBZ.cjs → chunk-WIAQQNFU.cjs} +4 -4
  100. package/dist/{chunk-XS35KPBZ.cjs.map → chunk-WIAQQNFU.cjs.map} +1 -1
  101. package/dist/{chunk-JQQABHDN.js → chunk-WKUDITGD.js} +4 -4
  102. package/dist/{chunk-JQQABHDN.js.map → chunk-WKUDITGD.js.map} +1 -1
  103. package/dist/{chunk-DWCYEPTT.js → chunk-XNU4NTVE.js} +3 -3
  104. package/dist/{chunk-DWCYEPTT.js.map → chunk-XNU4NTVE.js.map} +1 -1
  105. package/dist/{chunk-FF235PKY.cjs → chunk-XWZEECEX.cjs} +3 -3
  106. package/dist/chunk-XWZEECEX.cjs.map +1 -0
  107. package/dist/{chunk-G52YRAJC.cjs → chunk-ZONEAWPR.cjs} +10 -10
  108. package/dist/chunk-ZONEAWPR.cjs.map +1 -0
  109. package/dist/{chunk-YRLCR76L.cjs → chunk-ZSGEGISB.cjs} +6 -4
  110. package/dist/chunk-ZSGEGISB.cjs.map +1 -0
  111. package/dist/components/Alert/index.cjs +5 -5
  112. package/dist/components/Alert/index.js +1 -1
  113. package/dist/components/AudioPlayer/index.cjs +6 -6
  114. package/dist/components/AudioPlayer/index.js +1 -1
  115. package/dist/components/Autocomplete/index.cjs +2 -2
  116. package/dist/components/Autocomplete/index.js +1 -1
  117. package/dist/components/Avatar/index.cjs +5 -5
  118. package/dist/components/Avatar/index.js +1 -1
  119. package/dist/components/Breadcrumb/index.cjs +3 -3
  120. package/dist/components/Breadcrumb/index.js +1 -1
  121. package/dist/components/CountryCodeDropdown/index.cjs +4 -4
  122. package/dist/components/CountryCodeDropdown/index.js +1 -1
  123. package/dist/components/DateInput/index.cjs +2 -2
  124. package/dist/components/DateInput/index.js +1 -1
  125. package/dist/components/Dropdown/index.cjs +8 -8
  126. package/dist/components/Dropdown/index.js +1 -1
  127. package/dist/components/FloatingWindow/index.cjs +3 -3
  128. package/dist/components/FloatingWindow/index.js +1 -1
  129. package/dist/components/GlossaryTooltip/index.cjs +2 -2
  130. package/dist/components/GlossaryTooltip/index.js +1 -1
  131. package/dist/components/Markdown/index.cjs +9 -9
  132. package/dist/components/Markdown/index.js +3 -3
  133. package/dist/components/MediaEditor/index.cjs +7 -7
  134. package/dist/components/MediaEditor/index.js +2 -2
  135. package/dist/components/Pagination/index.cjs +4 -4
  136. package/dist/components/Pagination/index.js +1 -1
  137. package/dist/components/QuickAction/index.cjs +6 -6
  138. package/dist/components/QuickAction/index.js +1 -1
  139. package/dist/components/RichTextEditor/index.cjs +5 -5
  140. package/dist/components/RichTextEditor/index.js +2 -2
  141. package/dist/components/SectionSpyNav/index.cjs +2 -2
  142. package/dist/components/SectionSpyNav/index.js +1 -1
  143. package/dist/components/Slider/index.cjs +5 -5
  144. package/dist/components/Slider/index.js +1 -1
  145. package/dist/components/SuperChat/index.cjs +22 -22
  146. package/dist/components/SuperChat/index.cjs.map +1 -1
  147. package/dist/components/SuperChat/index.js +10 -10
  148. package/dist/components/SuperChat/index.js.map +1 -1
  149. package/dist/components/SuperChat/plugins/index.cjs +5 -5
  150. package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
  151. package/dist/components/SuperChat/plugins/index.js +4 -4
  152. package/dist/components/SuperChat/plugins/index.js.map +1 -1
  153. package/dist/components/TranscriptView/index.cjs +3 -3
  154. package/dist/components/TranscriptView/index.js +1 -1
  155. package/dist/esheet.cjs +5 -5
  156. package/dist/esheet.js +2 -2
  157. package/dist/index.cjs +731 -697
  158. package/dist/index.cjs.map +1 -1
  159. package/dist/index.d.cts +50 -13
  160. package/dist/index.d.ts +50 -13
  161. package/dist/index.js +522 -489
  162. package/dist/index.js.map +1 -1
  163. package/dist/styles/init.css +25 -0
  164. package/dist/styles.css +1 -1
  165. package/dist/tailwind-preset.cjs +4 -4
  166. package/dist/tailwind-preset.js +1 -1
  167. package/package.json +5 -2
  168. package/dist/CsvBlock-OTFG3PYZ.cjs +0 -15
  169. package/dist/CsvBlock-PUSTBQ5B.js +0 -6
  170. package/dist/SurveyBlock-JLHS3YQD.js +0 -6
  171. package/dist/SurveyBlock-M2ZRTGVJ.cjs +0 -15
  172. package/dist/chunk-2AB4PQYL.js.map +0 -1
  173. package/dist/chunk-2PEVRI26.cjs.map +0 -1
  174. package/dist/chunk-4AE2L6AO.cjs.map +0 -1
  175. package/dist/chunk-5BPUZK2B.cjs.map +0 -1
  176. package/dist/chunk-5JZIDILK.cjs.map +0 -1
  177. package/dist/chunk-5U6GETAW.js.map +0 -1
  178. package/dist/chunk-6EWJGRC3.js.map +0 -1
  179. package/dist/chunk-6GKX36JX.js.map +0 -1
  180. package/dist/chunk-EK6DYGFG.js.map +0 -1
  181. package/dist/chunk-EPQPUFS6.cjs.map +0 -1
  182. package/dist/chunk-F2S6NV5N.js.map +0 -1
  183. package/dist/chunk-FDUA6OGN.js.map +0 -1
  184. package/dist/chunk-FF235PKY.cjs.map +0 -1
  185. package/dist/chunk-G52YRAJC.cjs.map +0 -1
  186. package/dist/chunk-H7QSGFMZ.cjs.map +0 -1
  187. package/dist/chunk-JHZW3Y62.js.map +0 -1
  188. package/dist/chunk-JR4QIU54.cjs.map +0 -1
  189. package/dist/chunk-LDCFNWJC.cjs.map +0 -1
  190. package/dist/chunk-N3Y43KOB.js.map +0 -1
  191. package/dist/chunk-UJS3JTVT.js.map +0 -1
  192. package/dist/chunk-VQ5HJCTP.js.map +0 -1
  193. package/dist/chunk-YRLCR76L.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -15,82 +15,82 @@ import { Text } from './chunk-3YSIZ2CK.js';
15
15
  export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
16
16
  export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-SH6B4MG5.js';
17
17
  export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
18
- export { TranscriptView, formatTimestampMs } from './chunk-SEPYBAML.js';
18
+ export { TranscriptView, formatTimestampMs } from './chunk-RVGTI4F6.js';
19
19
  export { VisuallyHidden } from './chunk-H2CIKJQI.js';
20
20
  export { SourceTip } from './chunk-KFEN2SRZ.js';
21
21
  export { Sparkline } from './chunk-CG4ZKJLE.js';
22
22
  import { Spinner, SpinnerWithLabel } from './chunk-UA7E7PDS.js';
23
23
  export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-UA7E7PDS.js';
24
- import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-RZJXCI53.js';
25
- export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-RZJXCI53.js';
26
- import { EmptyState } from './chunk-EK6DYGFG.js';
27
- export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-EK6DYGFG.js';
28
- import { MessageComposer } from './chunk-UJS3JTVT.js';
29
- export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-UJS3JTVT.js';
24
+ import { SparklesIcon, RefreshIcon, CloseIcon, AIMessageDisplay } from './chunk-22CYDCXA.js';
25
+ export { AILogoIcon, AIMessageDisplay, AITypingIndicator, ChatBubble, ChevronIcon, CloseIcon, CollapsiblePill, MCPToolCallDisplay, MessageAvatar, RefreshIcon, ResourceLink, SendIcon, SparklesIcon, SpinnerIcon, ToolStatusIcon, getToolIcon } from './chunk-22CYDCXA.js';
26
+ import { EmptyState } from './chunk-GPZDP2IA.js';
27
+ export { AttachmentPreview, ConversationHeader, ConversationListItem, ConversationListSkeleton, DateSeparator, EmptyState, LightboxModal, LoadMoreButton, MessageBubble, MessageList, MessageStatusIcon, MessageThread, MessagingSplitView, ReadReceiptIndicator, SkeletonMessage, TypingIndicator, bubbleVariants, formatDateLabel, formatFileSize, formatLastSeen, getConversationSubtitle, getConversationTitle, groupMessagesByDate, headerVariants, isSameSenderGroup, useMessageScroll, useMessages, useReadReceipts, useTypingIndicator } from './chunk-GPZDP2IA.js';
28
+ import { MessageComposer } from './chunk-KLLRTTC5.js';
29
+ export { AttachmentPicker, AttachmentPreviewItem, CameraButton, CharacterCounter, DragDropZone, MessageComposer, SendButton, generateAttachmentId, getFileType, sendButtonVariants, validateFile } from './chunk-KLLRTTC5.js';
30
30
  import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-TNUL4LGG.js';
31
31
  export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-TNUL4LGG.js';
32
- export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-JQQABHDN.js';
32
+ export { RichTextEditor, convertAngleBracketsToMustache, processDictation } from './chunk-WKUDITGD.js';
33
33
  export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-23AYDOCH.js';
34
34
  export { ScrollArea, scrollAreaVariants } from './chunk-HS25RPDW.js';
35
- export { SectionSpyNav } from './chunk-JHZW3Y62.js';
35
+ export { SectionSpyNav } from './chunk-7ZP3NNII.js';
36
36
  export { Separator, separatorVariants } from './chunk-OQWZYKJM.js';
37
37
  import { Skeleton } from './chunk-ZIUADGAR.js';
38
38
  export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-ZIUADGAR.js';
39
- export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-FDUA6OGN.js';
39
+ export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-PFKRHNYV.js';
40
40
  export { PhoneInput, PhoneInputGroup } from './chunk-GXODR6V4.js';
41
41
  import { Progress } from './chunk-CEQJGUAS.js';
42
42
  export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-CEQJGUAS.js';
43
- export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-5U6GETAW.js';
43
+ export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-TQDZLRIE.js';
44
44
  export { ReadingProgressBar } from './chunk-WKSUL2ZN.js';
45
45
  import { RecordButton } from './chunk-VNWJTCBQ.js';
46
46
  export { RecordButton, formatDuration, recordButtonVariants } from './chunk-VNWJTCBQ.js';
47
- export { GlossaryTooltip } from './chunk-6GKX36JX.js';
47
+ export { GlossaryTooltip } from './chunk-SRMTRD7F.js';
48
48
  export { Kbd, KeyboardShortcutsOverlay } from './chunk-X5ZPYYMS.js';
49
- export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-DX64KLSN.js';
49
+ export { CodeBlock, MarkdownRenderer, highlightCode, useMarkdown } from './chunk-CLQUCPV6.js';
50
50
  export { HtmlPreviewBlock } from './chunk-UZ5NGGMI.js';
51
51
  export { MermaidBlock } from './chunk-EHQ77LL5.js';
52
- export { SurveyBlock } from './chunk-DWCYEPTT.js';
53
- export { CsvBlock } from './chunk-5J5PEUUA.js';
52
+ export { SurveyBlock } from './chunk-XNU4NTVE.js';
53
+ export { CsvBlock } from './chunk-4KFVGIY6.js';
54
54
  export { FenceBlock } from './chunk-NLBT5O2X.js';
55
- export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-LDQ2T27A.js';
56
- export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-OTQ72WX3.js';
55
+ export { FillerWordsModal, MediaEditor, SilenceSettingsModal, SpeedMarkerMenu, WordEditorModal } from './chunk-4KZIXV2J.js';
56
+ export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-2BPIVWAK.js';
57
57
  import './chunk-RISZWWEQ.js';
58
58
  export { MediaPlayer, inferMediaKind, mediaPlayerVariants } from './chunk-EMMYFHOT.js';
59
59
  export { CopyButton } from './chunk-5QZ73PZC.js';
60
- import { CountryDropdownBase } from './chunk-DJ4JPFWI.js';
61
- export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-DJ4JPFWI.js';
60
+ import { CountryDropdownBase } from './chunk-CLRWVJOD.js';
61
+ export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-CLRWVJOD.js';
62
62
  export { CustomizableDashboard, DashboardCustomizePanel, consolidateColumns, mergeColumnOrder, moveAcrossColumns, reorderOnDrop, requiredColumns } from './chunk-F57VRLKP.js';
63
63
  import { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
64
64
  export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-AQ564XO7.js';
65
65
  export { Sheet, SheetBody, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetTitle, sheetContentVariants, sheetOverlayVariants } from './chunk-LMBXJZLG.js';
66
- import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-AHUYW673.js';
67
- export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-AHUYW673.js';
66
+ import { Dropdown, DropdownItem, DropdownSeparator, DropdownContent, DropdownHeader } from './chunk-LZVPVY5P.js';
67
+ export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator, DropdownSubmenu } from './chunk-LZVPVY5P.js';
68
68
  export { FilterSummaryBar } from './chunk-6SCQ7FKT.js';
69
- export { FloatingWindow, MinimizedWindow } from './chunk-N3Y43KOB.js';
69
+ export { FloatingWindow, MinimizedWindow } from './chunk-Q4NRKKIW.js';
70
70
  export { FreshnessBadge, FreshnessDot, daysSince, freshnessLevel } from './chunk-HQ3XPCHG.js';
71
71
  import './chunk-IQ4KQJAO.js';
72
- export { Breadcrumb, BreadcrumbSlash } from './chunk-5Y5FSR4N.js';
72
+ export { Breadcrumb, BreadcrumbSlash } from './chunk-SCXELRRZ.js';
73
73
  import './chunk-OF7NTZ2I.js';
74
74
  import { Checkbox } from './chunk-753Z3NXL.js';
75
75
  export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
76
76
  export { ClampedText } from './chunk-L6MDULYB.js';
77
77
  export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
78
78
  export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
79
- export { miewebUIPreset, miewebUISafelist } from './chunk-VQ5HJCTP.js';
79
+ export { miewebUIPreset, miewebUISafelist } from './chunk-SZ6H4RJG.js';
80
80
  export { Accordion } from './chunk-Y6YSJPVC.js';
81
- import { Alert, AlertTitle, AlertDescription } from './chunk-6EWJGRC3.js';
82
- export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-6EWJGRC3.js';
81
+ import { Alert, AlertTitle, AlertDescription } from './chunk-3JWAABYI.js';
82
+ export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-3JWAABYI.js';
83
83
  import { AlertDialog } from './chunk-FPVRQCCL.js';
84
84
  export { AlertDialog } from './chunk-FPVRQCCL.js';
85
- export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-XO3WLK65.js';
85
+ export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-VVDE4CHU.js';
86
86
  export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-2DW4PUJD.js';
87
- export { Autocomplete } from './chunk-SVZ4MQVQ.js';
88
- import { Avatar } from './chunk-DCBMTFLE.js';
89
- export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-DCBMTFLE.js';
87
+ export { Autocomplete } from './chunk-UBOVDAD7.js';
88
+ import { Avatar } from './chunk-HZ4MBUC3.js';
89
+ export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
90
90
  import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
91
91
  export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
92
- import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-F2S6NV5N.js';
93
- export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-F2S6NV5N.js';
92
+ import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-LCCJIEPO.js';
93
+ export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-LCCJIEPO.js';
94
94
  import { Textarea } from './chunk-H3YO5GBM.js';
95
95
  export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
96
96
  import { Tooltip } from './chunk-FJ7YPVKV.js';
@@ -101,8 +101,8 @@ import { Label } from './chunk-I3WGZPI6.js';
101
101
  export { Label, labelVariants } from './chunk-I3WGZPI6.js';
102
102
  import { Select } from './chunk-ATOWMVZH.js';
103
103
  export { Select, selectTriggerVariants } from './chunk-ATOWMVZH.js';
104
- import { DateInput } from './chunk-2AB4PQYL.js';
105
- export { DateInput } from './chunk-2AB4PQYL.js';
104
+ import { DateInput } from './chunk-7IBZA7G6.js';
105
+ export { DateInput } from './chunk-7IBZA7G6.js';
106
106
  import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';
107
107
  export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-QYSUYB3S.js';
108
108
  import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-XMCIXHGH.js';
@@ -478,7 +478,7 @@ function AddContactModal({
478
478
  size: "sm",
479
479
  onClick: handleAddCustomField,
480
480
  children: [
481
- /* @__PURE__ */ jsx(PlusIcon, { className: "mr-1 h-4 w-4" }),
481
+ /* @__PURE__ */ jsx(PlusIcon, { className: "me-1 h-4 w-4" }),
482
482
  "Add Field"
483
483
  ]
484
484
  }
@@ -531,7 +531,7 @@ function AddContactModal({
531
531
  }
532
532
  ),
533
533
  /* @__PURE__ */ jsx(Button, { type: "submit", disabled: isSaving, children: isSaving ? /* @__PURE__ */ jsxs(Fragment, { children: [
534
- /* @__PURE__ */ jsx(SpinnerIcon2, { className: "mr-2 h-4 w-4 animate-spin" }),
534
+ /* @__PURE__ */ jsx(SpinnerIcon2, { className: "me-2 h-4 w-4 animate-spin" }),
535
535
  "Saving..."
536
536
  ] }) : "Save Contact" })
537
537
  ] })
@@ -733,7 +733,7 @@ function AdditionalFields({
733
733
  "data-slot": "additional-fields-header",
734
734
  onClick: () => setIsExpanded(!isExpanded),
735
735
  className: cn(
736
- "flex w-full items-center gap-2 text-left text-sm font-medium",
736
+ "flex w-full items-center gap-2 text-start text-sm font-medium",
737
737
  "text-gray-700 hover:text-gray-900",
738
738
  "dark:text-gray-300 dark:hover:text-gray-100",
739
739
  "transition-colors"
@@ -751,7 +751,7 @@ function AdditionalFields({
751
751
  )
752
752
  }
753
753
  ),
754
- value.length > 0 && /* @__PURE__ */ jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300 ml-1 rounded-full px-2 py-0.5 text-xs", children: value.length })
754
+ value.length > 0 && /* @__PURE__ */ jsx("span", { className: "bg-brand-100 text-brand-700 dark:bg-brand-900/30 dark:text-brand-300 ms-1 rounded-full px-2 py-0.5 text-xs", children: value.length })
755
755
  ]
756
756
  }
757
757
  ),
@@ -1656,6 +1656,126 @@ function AIChat({
1656
1656
  }
1657
1657
  );
1658
1658
  }
1659
+ var ToastContext = createContext(null);
1660
+ var toastIdCounter = 0;
1661
+ function generateToastId() {
1662
+ return `toast-${++toastIdCounter}-${Date.now()}`;
1663
+ }
1664
+ function ToastProvider({
1665
+ children,
1666
+ maxToasts = 5,
1667
+ defaultDuration = 5e3,
1668
+ position = "bottom-end"
1669
+ }) {
1670
+ const [toasts, setToasts] = useState([]);
1671
+ const dismiss = useCallback((id) => {
1672
+ setToasts((prev) => {
1673
+ const toast2 = prev.find((t) => t.id === id);
1674
+ if (toast2?.onDismiss) {
1675
+ toast2.onDismiss();
1676
+ }
1677
+ return prev.filter((t) => t.id !== id);
1678
+ });
1679
+ }, []);
1680
+ const dismissAll = useCallback(() => {
1681
+ setToasts((prev) => {
1682
+ prev.forEach((t) => t.onDismiss?.());
1683
+ return [];
1684
+ });
1685
+ }, []);
1686
+ const toast = useCallback(
1687
+ (options) => {
1688
+ const id = generateToastId();
1689
+ const duration = options.duration ?? defaultDuration;
1690
+ const newToast = {
1691
+ ...options,
1692
+ id,
1693
+ variant: options.variant ?? "info",
1694
+ dismissible: options.dismissible ?? true,
1695
+ duration
1696
+ };
1697
+ setToasts((prev) => {
1698
+ const updated = [...prev, newToast];
1699
+ if (updated.length > maxToasts) {
1700
+ const removed = updated.slice(0, updated.length - maxToasts);
1701
+ removed.forEach((t) => t.onDismiss?.());
1702
+ return updated.slice(-maxToasts);
1703
+ }
1704
+ return updated;
1705
+ });
1706
+ if (duration > 0) {
1707
+ setTimeout(() => dismiss(id), duration);
1708
+ }
1709
+ return id;
1710
+ },
1711
+ [maxToasts, defaultDuration, dismiss]
1712
+ );
1713
+ const success = useCallback(
1714
+ (message, options) => {
1715
+ return toast({ ...options, message, variant: "success" });
1716
+ },
1717
+ [toast]
1718
+ );
1719
+ const error = useCallback(
1720
+ (message, options) => {
1721
+ return toast({
1722
+ ...options,
1723
+ message,
1724
+ variant: "error",
1725
+ duration: options?.duration ?? 7e3
1726
+ // Errors stay longer by default
1727
+ });
1728
+ },
1729
+ [toast]
1730
+ );
1731
+ const warning = useCallback(
1732
+ (message, options) => {
1733
+ return toast({ ...options, message, variant: "warning" });
1734
+ },
1735
+ [toast]
1736
+ );
1737
+ const info = useCallback(
1738
+ (message, options) => {
1739
+ return toast({ ...options, message, variant: "info" });
1740
+ },
1741
+ [toast]
1742
+ );
1743
+ const contextValue = useMemo(
1744
+ () => ({
1745
+ toasts,
1746
+ position,
1747
+ toast,
1748
+ success,
1749
+ error,
1750
+ warning,
1751
+ info,
1752
+ dismiss,
1753
+ dismissAll
1754
+ }),
1755
+ [
1756
+ toasts,
1757
+ position,
1758
+ toast,
1759
+ success,
1760
+ error,
1761
+ warning,
1762
+ info,
1763
+ dismiss,
1764
+ dismissAll
1765
+ ]
1766
+ );
1767
+ return /* @__PURE__ */ jsx(ToastContext.Provider, { value: contextValue, children });
1768
+ }
1769
+ function useToast() {
1770
+ const context = useContext(ToastContext);
1771
+ if (!context) {
1772
+ throw new Error("useToast must be used within a ToastProvider");
1773
+ }
1774
+ return context;
1775
+ }
1776
+ function useOptionalToast() {
1777
+ return useContext(ToastContext);
1778
+ }
1659
1779
  var CheckIcon = () => /* @__PURE__ */ jsx(
1660
1780
  "svg",
1661
1781
  {
@@ -1787,7 +1907,7 @@ function Toast({
1787
1907
  className: cn(
1788
1908
  "flex items-start gap-3 rounded-lg border p-4 shadow-lg",
1789
1909
  "max-w-[420px] min-w-[300px]",
1790
- "animate-slide-in-right",
1910
+ "animate-slide-in-right rtl:animate-slide-in-left",
1791
1911
  styles.container
1792
1912
  ),
1793
1913
  children: [
@@ -1820,18 +1940,25 @@ function Toast({
1820
1940
  );
1821
1941
  }
1822
1942
  var positionStyles = {
1823
- "top-left": "top-4 left-4 items-start",
1943
+ "top-start": "top-4 start-4 items-start",
1824
1944
  "top-center": "top-4 left-1/2 -translate-x-1/2 items-center",
1825
- "top-right": "top-4 right-4 items-end",
1826
- "bottom-left": "bottom-4 left-4 items-start",
1945
+ "top-end": "top-4 end-4 items-end",
1946
+ "bottom-start": "bottom-4 start-4 items-start",
1827
1947
  "bottom-center": "bottom-4 left-1/2 -translate-x-1/2 items-center",
1828
- "bottom-right": "bottom-4 right-4 items-end"
1948
+ "bottom-end": "bottom-4 end-4 items-end",
1949
+ // Deprecated physical aliases for the logical positions above.
1950
+ "top-left": "top-4 start-4 items-start",
1951
+ "top-right": "top-4 end-4 items-end",
1952
+ "bottom-left": "bottom-4 start-4 items-start",
1953
+ "bottom-right": "bottom-4 end-4 items-end"
1829
1954
  };
1830
1955
  function ToastContainer({
1831
1956
  toasts,
1832
- position = "bottom-right",
1957
+ position,
1833
1958
  onDismiss
1834
1959
  }) {
1960
+ const context = useOptionalToast();
1961
+ const resolvedPosition = position ?? context?.position ?? "bottom-end";
1835
1962
  if (toasts.length === 0) return null;
1836
1963
  return /* @__PURE__ */ jsx(
1837
1964
  "div",
@@ -1839,7 +1966,7 @@ function ToastContainer({
1839
1966
  "data-slot": "toast-container",
1840
1967
  className: cn(
1841
1968
  "pointer-events-none fixed z-50 flex flex-col gap-2",
1842
- positionStyles[position]
1969
+ positionStyles[resolvedPosition]
1843
1970
  ),
1844
1971
  "aria-live": "polite",
1845
1972
  "aria-atomic": "true",
@@ -1847,111 +1974,6 @@ function ToastContainer({
1847
1974
  }
1848
1975
  );
1849
1976
  }
1850
- var ToastContext = createContext(null);
1851
- var toastIdCounter = 0;
1852
- function generateToastId() {
1853
- return `toast-${++toastIdCounter}-${Date.now()}`;
1854
- }
1855
- function ToastProvider({
1856
- children,
1857
- maxToasts = 5,
1858
- defaultDuration = 5e3
1859
- }) {
1860
- const [toasts, setToasts] = useState([]);
1861
- const dismiss = useCallback((id) => {
1862
- setToasts((prev) => {
1863
- const toast2 = prev.find((t) => t.id === id);
1864
- if (toast2?.onDismiss) {
1865
- toast2.onDismiss();
1866
- }
1867
- return prev.filter((t) => t.id !== id);
1868
- });
1869
- }, []);
1870
- const dismissAll = useCallback(() => {
1871
- setToasts((prev) => {
1872
- prev.forEach((t) => t.onDismiss?.());
1873
- return [];
1874
- });
1875
- }, []);
1876
- const toast = useCallback(
1877
- (options) => {
1878
- const id = generateToastId();
1879
- const duration = options.duration ?? defaultDuration;
1880
- const newToast = {
1881
- ...options,
1882
- id,
1883
- variant: options.variant ?? "info",
1884
- dismissible: options.dismissible ?? true,
1885
- duration
1886
- };
1887
- setToasts((prev) => {
1888
- const updated = [...prev, newToast];
1889
- if (updated.length > maxToasts) {
1890
- const removed = updated.slice(0, updated.length - maxToasts);
1891
- removed.forEach((t) => t.onDismiss?.());
1892
- return updated.slice(-maxToasts);
1893
- }
1894
- return updated;
1895
- });
1896
- if (duration > 0) {
1897
- setTimeout(() => dismiss(id), duration);
1898
- }
1899
- return id;
1900
- },
1901
- [maxToasts, defaultDuration, dismiss]
1902
- );
1903
- const success = useCallback(
1904
- (message, options) => {
1905
- return toast({ ...options, message, variant: "success" });
1906
- },
1907
- [toast]
1908
- );
1909
- const error = useCallback(
1910
- (message, options) => {
1911
- return toast({
1912
- ...options,
1913
- message,
1914
- variant: "error",
1915
- duration: options?.duration ?? 7e3
1916
- // Errors stay longer by default
1917
- });
1918
- },
1919
- [toast]
1920
- );
1921
- const warning = useCallback(
1922
- (message, options) => {
1923
- return toast({ ...options, message, variant: "warning" });
1924
- },
1925
- [toast]
1926
- );
1927
- const info = useCallback(
1928
- (message, options) => {
1929
- return toast({ ...options, message, variant: "info" });
1930
- },
1931
- [toast]
1932
- );
1933
- const contextValue = useMemo(
1934
- () => ({
1935
- toasts,
1936
- toast,
1937
- success,
1938
- error,
1939
- warning,
1940
- info,
1941
- dismiss,
1942
- dismissAll
1943
- }),
1944
- [toasts, toast, success, error, warning, info, dismiss, dismissAll]
1945
- );
1946
- return /* @__PURE__ */ jsx(ToastContext.Provider, { value: contextValue, children });
1947
- }
1948
- function useToast() {
1949
- const context = useContext(ToastContext);
1950
- if (!context) {
1951
- throw new Error("useToast must be used within a ToastProvider");
1952
- }
1953
- return context;
1954
- }
1955
1977
  var MENU_OFFSET_PX = 6;
1956
1978
  var MENU_MAX_HEIGHT_PX = 320;
1957
1979
  function optionKey(option) {
@@ -2363,7 +2385,7 @@ function ComposerModelSelector({
2363
2385
  ChevronRight$1,
2364
2386
  {
2365
2387
  "aria-hidden": "true",
2366
- className: "text-muted-foreground h-4 w-4 shrink-0"
2388
+ className: "text-muted-foreground h-4 w-4 shrink-0 rtl:-scale-x-100"
2367
2389
  }
2368
2390
  )
2369
2391
  ]
@@ -2385,7 +2407,13 @@ function ComposerModelSelector({
2385
2407
  "focus-visible:ring-ring focus-visible:ring-2 focus-visible:outline-none"
2386
2408
  ),
2387
2409
  children: [
2388
- /* @__PURE__ */ jsx(ChevronLeft, { "aria-hidden": "true", className: "h-3.5 w-3.5" }),
2410
+ /* @__PURE__ */ jsx(
2411
+ ChevronLeft,
2412
+ {
2413
+ "aria-hidden": "true",
2414
+ className: "h-3.5 w-3.5 rtl:-scale-x-100"
2415
+ }
2416
+ ),
2389
2417
  effortLabel
2390
2418
  ]
2391
2419
  }
@@ -3249,7 +3277,7 @@ function ItemLabel({ label, sub }) {
3249
3277
  ] });
3250
3278
  }
3251
3279
  var itemClasses = cn(
3252
- "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left text-sm",
3280
+ "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-start text-sm",
3253
3281
  "transition-colors duration-150 focus:outline-none",
3254
3282
  "text-neutral-700 dark:text-neutral-300",
3255
3283
  "hover:bg-neutral-100 dark:hover:bg-neutral-700",
@@ -5360,10 +5388,14 @@ function AIChatTrigger({
5360
5388
  className
5361
5389
  }) {
5362
5390
  const positionClasses = {
5363
- "bottom-right": "bottom-4 right-4",
5364
- "bottom-left": "bottom-4 left-4",
5365
- "top-right": "top-4 right-4",
5366
- "top-left": "top-4 left-4"
5391
+ "bottom-right": "bottom-4 end-4",
5392
+ "bottom-left": "bottom-4 start-4",
5393
+ "top-right": "top-4 end-4",
5394
+ "top-left": "top-4 start-4",
5395
+ "bottom-end": "bottom-4 end-4",
5396
+ "bottom-start": "bottom-4 start-4",
5397
+ "top-end": "top-4 end-4",
5398
+ "top-start": "top-4 start-4"
5367
5399
  };
5368
5400
  return /* @__PURE__ */ jsxs(
5369
5401
  "button",
@@ -5388,7 +5420,7 @@ function AIChatTrigger({
5388
5420
  "span",
5389
5421
  {
5390
5422
  "data-slot": "ai-chat-trigger-badge",
5391
- className: "absolute -top-1 -right-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs font-bold",
5423
+ className: "absolute -end-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs font-bold",
5392
5424
  children: badge > 9 ? "9+" : badge
5393
5425
  }
5394
5426
  ),
@@ -5412,8 +5444,10 @@ function AIChatModal({
5412
5444
  });
5413
5445
  if (!open) return null;
5414
5446
  const positionClasses = {
5415
- "bottom-right": "bottom-20 right-4",
5416
- "bottom-left": "bottom-20 left-4",
5447
+ "bottom-right": "bottom-20 end-4",
5448
+ "bottom-left": "bottom-20 start-4",
5449
+ "bottom-end": "bottom-20 end-4",
5450
+ "bottom-start": "bottom-20 start-4",
5417
5451
  center: "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
5418
5452
  };
5419
5453
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -5759,7 +5793,7 @@ function VoiceSetup({
5759
5793
  {
5760
5794
  variant: "ghost",
5761
5795
  size: "sm",
5762
- className: "text-muted-foreground absolute top-4 left-4",
5796
+ className: "text-muted-foreground absolute start-4 top-4",
5763
5797
  onClick: () => {
5764
5798
  oz.cancel();
5765
5799
  onCancel();
@@ -6010,7 +6044,7 @@ function VoiceManager({ logoSrc }) {
6010
6044
  /* @__PURE__ */ jsx("div", { className: "mt-[22px] flex w-full max-w-[460px] flex-col gap-2.5", children: voices.map((v) => /* @__PURE__ */ jsxs(
6011
6045
  "div",
6012
6046
  {
6013
- className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-left",
6047
+ className: "border-border bg-card flex items-center gap-3 rounded-2xl border px-4 py-3 text-start",
6014
6048
  children: [
6015
6049
  /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
6016
6050
  editingId === v.id ? /* @__PURE__ */ jsx(
@@ -6557,7 +6591,7 @@ function VisitScribe({
6557
6591
  /* @__PURE__ */ jsx(
6558
6592
  "span",
6559
6593
  {
6560
- className: "mr-2 inline-block h-2.5 w-2.5 animate-pulse rounded-full bg-white",
6594
+ className: "me-2 inline-block h-2.5 w-2.5 animate-pulse rounded-full bg-white",
6561
6595
  "aria-hidden": "true"
6562
6596
  }
6563
6597
  ),
@@ -6653,7 +6687,7 @@ function VisitScribe({
6653
6687
  recording && /* @__PURE__ */ jsx(
6654
6688
  "span",
6655
6689
  {
6656
- className: "mr-2 inline-block h-2 w-2 animate-pulse rounded-full bg-red-500 align-middle",
6690
+ className: "me-2 inline-block h-2 w-2 animate-pulse rounded-full bg-red-500 align-middle",
6657
6691
  "aria-hidden": "true"
6658
6692
  }
6659
6693
  ),
@@ -6923,7 +6957,7 @@ function ReconciliationProposalRow({
6923
6957
  proposal.required && /* @__PURE__ */ jsx(
6924
6958
  "span",
6925
6959
  {
6926
- className: "text-muted-foreground ml-1 text-xs font-normal",
6960
+ className: "text-muted-foreground ms-1 text-xs font-normal",
6927
6961
  "aria-label": "required",
6928
6962
  children: "(required)"
6929
6963
  }
@@ -7842,7 +7876,7 @@ function AssertionTimeline({ concern }) {
7842
7876
  "ol",
7843
7877
  {
7844
7878
  "aria-label": "Assertion history",
7845
- className: "border-border mt-2 ml-1.5 space-y-2 border-l pl-4",
7879
+ className: "border-border ms-1.5 mt-2 space-y-2 border-s ps-4",
7846
7880
  children: items.map((a) => {
7847
7881
  const refuted = a.verificationStatus === "refuted" || a.verificationStatus === "entered-in-error";
7848
7882
  const verification = VERIFICATION_BADGE[a.verificationStatus];
@@ -7851,7 +7885,7 @@ function AssertionTimeline({ concern }) {
7851
7885
  "span",
7852
7886
  {
7853
7887
  "aria-hidden": true,
7854
- className: "bg-border absolute top-1.5 -left-5 h-2 w-2 rounded-full"
7888
+ className: "bg-border absolute -start-5 top-1.5 h-2 w-2 rounded-full"
7855
7889
  }
7856
7890
  ),
7857
7891
  /* @__PURE__ */ jsxs("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
@@ -7953,7 +7987,7 @@ function ConcernRow({
7953
7987
  ),
7954
7988
  /* @__PURE__ */ jsx(UncertaintyBadge, { uncertainty: current.uncertainty }),
7955
7989
  concern.relationships?.map((r) => /* @__PURE__ */ jsxs(Badge, { variant: "outline", size: "sm", children: [
7956
- /* @__PURE__ */ jsx(Link, { size: 10, className: "mr-1" }),
7990
+ /* @__PURE__ */ jsx(Link, { size: 10, className: "me-1" }),
7957
7991
  r.type.replace(/-/g, " "),
7958
7992
  r.display ? `: ${r.display}` : ""
7959
7993
  ] }, `${r.type}:${r.concernId}`)),
@@ -7985,7 +8019,7 @@ function ConcernRow({
7985
8019
  ] }),
7986
8020
  expanded && /* @__PURE__ */ jsxs(Fragment, { children: [
7987
8021
  /* @__PURE__ */ jsx(AssertionTimeline, { concern }),
7988
- concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-2 ml-1.5 pl-4", children: [
8022
+ concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "ms-1.5 mt-2 ps-4", children: [
7989
8023
  /* @__PURE__ */ jsx("h5", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Observations" }),
7990
8024
  /* @__PURE__ */ jsx("ol", { "aria-label": "Observations", className: "mt-1 space-y-1", children: [...concern.observations].reverse().map((o) => /* @__PURE__ */ jsxs("li", { className: "flex flex-wrap gap-x-2 text-sm", children: [
7991
8025
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs tabular-nums", children: o.date }),
@@ -8531,7 +8565,7 @@ function AddOrderForm({
8531
8565
  {
8532
8566
  role: "form",
8533
8567
  "aria-label": `Add order for ${problemText}`,
8534
- className: "border-border bg-muted/40 mt-1.5 ml-2.5 flex flex-wrap items-center gap-1.5 rounded-md border border-dashed p-2",
8568
+ className: "border-border bg-muted/40 ms-2.5 mt-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-dashed p-2",
8535
8569
  children: [
8536
8570
  /* @__PURE__ */ jsxs(
8537
8571
  "select",
@@ -8935,12 +8969,12 @@ var Assessment = React13.forwardRef(
8935
8969
  ]
8936
8970
  }
8937
8971
  ),
8938
- item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 pl-6 text-sm", children: item.note }),
8972
+ item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 ps-6 text-sm", children: item.note }),
8939
8973
  showPlan && linkedOrders.length > 0 && /* @__PURE__ */ jsx(
8940
8974
  "ul",
8941
8975
  {
8942
8976
  "aria-label": `Plan for ${assertion.text}`,
8943
- className: "border-border mt-1.5 ml-2.5 border-l pl-4",
8977
+ className: "border-border ms-2.5 mt-1.5 border-s ps-4",
8944
8978
  children: linkedOrders.map((order) => /* @__PURE__ */ jsx(
8945
8979
  OrderRow,
8946
8980
  {
@@ -9046,7 +9080,7 @@ var Assessment = React13.forwardRef(
9046
9080
  {
9047
9081
  role: "group",
9048
9082
  "aria-label": `Add "${pendingFreeText}" as`,
9049
- className: "flex w-full flex-wrap items-center gap-1.5 pl-1",
9083
+ className: "flex w-full flex-wrap items-center gap-1.5 ps-1",
9050
9084
  children: [
9051
9085
  /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-sm", children: [
9052
9086
  "Add",
@@ -9232,7 +9266,7 @@ function AuthDialog({
9232
9266
  {
9233
9267
  type: "button",
9234
9268
  onClick: onClose,
9235
- className: "text-muted-foreground absolute top-4 right-4 rounded-full p-1 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-700 dark:hover:text-gray-300",
9269
+ className: "text-muted-foreground absolute end-4 top-4 rounded-full p-1 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-700 dark:hover:text-gray-300",
9236
9270
  "aria-label": "Close",
9237
9271
  children: /* @__PURE__ */ jsx(CloseIcon2, { className: "h-5 w-5" })
9238
9272
  }
@@ -9459,7 +9493,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
9459
9493
  onChange: (e) => setPassword(e.target.value),
9460
9494
  required: true,
9461
9495
  autoComplete: "current-password",
9462
- className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
9496
+ className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
9463
9497
  placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
9464
9498
  }
9465
9499
  ),
@@ -9468,7 +9502,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
9468
9502
  {
9469
9503
  type: "button",
9470
9504
  onClick: () => setShowPassword(!showPassword),
9471
- className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
9505
+ className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
9472
9506
  "aria-label": showPassword ? "Hide password" : "Show password",
9473
9507
  children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
9474
9508
  }
@@ -9484,7 +9518,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
9484
9518
  className: "text-primary-800 focus:ring-primary-500 rounded border-gray-300"
9485
9519
  }
9486
9520
  ),
9487
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ml-2 text-sm", children: "Remember me" })
9521
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-2 text-sm", children: "Remember me" })
9488
9522
  ] }),
9489
9523
  /* @__PURE__ */ jsx(
9490
9524
  "button",
@@ -9568,7 +9602,7 @@ function SignupForm({
9568
9602
  required: true,
9569
9603
  autoComplete: "new-password",
9570
9604
  minLength: 8,
9571
- className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
9605
+ className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
9572
9606
  placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
9573
9607
  }
9574
9608
  ),
@@ -9577,7 +9611,7 @@ function SignupForm({
9577
9611
  {
9578
9612
  type: "button",
9579
9613
  onClick: () => setShowPassword(!showPassword),
9580
- className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
9614
+ className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
9581
9615
  "aria-label": showPassword ? "Hide password" : "Show password",
9582
9616
  children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
9583
9617
  }
@@ -9622,7 +9656,7 @@ function SignupForm({
9622
9656
  className: "text-primary-800 focus:ring-primary-500 mt-0.5 rounded border-gray-300"
9623
9657
  }
9624
9658
  ),
9625
- /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-2 text-sm", children: [
9659
+ /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-sm", children: [
9626
9660
  "I agree to the",
9627
9661
  " ",
9628
9662
  /* @__PURE__ */ jsx(
@@ -9747,7 +9781,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
9747
9781
  required: true,
9748
9782
  autoComplete: "new-password",
9749
9783
  minLength: 8,
9750
- className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
9784
+ className: "focus:ring-primary-500 w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pe-10 text-gray-900 focus:border-transparent focus:ring-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white",
9751
9785
  placeholder: "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"
9752
9786
  }
9753
9787
  ),
@@ -9756,7 +9790,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
9756
9790
  {
9757
9791
  type: "button",
9758
9792
  onClick: () => setShowPassword(!showPassword),
9759
- className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
9793
+ className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 hover:text-gray-700",
9760
9794
  "aria-label": showPassword ? "Hide password" : "Show password",
9761
9795
  children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
9762
9796
  }
@@ -10057,7 +10091,7 @@ function FloatingInput({
10057
10091
  htmlFor: inputId,
10058
10092
  "data-slot": "floating-input-label",
10059
10093
  className: cn(
10060
- "text-muted-foreground absolute top-4 left-4 origin-left transform transition-all duration-200",
10094
+ "text-muted-foreground absolute start-4 top-4 origin-left transform transition-all duration-200 rtl:origin-right",
10061
10095
  "peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100",
10062
10096
  "peer-focus:-translate-y-2 peer-focus:scale-75",
10063
10097
  "peer-[:not(:placeholder-shown)]:-translate-y-2 peer-[:not(:placeholder-shown)]:scale-75",
@@ -10118,7 +10152,7 @@ function ServiceSelect({
10118
10152
  onClick: () => setIsOpen(!isOpen),
10119
10153
  "data-slot": "service-select-trigger",
10120
10154
  className: cn(
10121
- "w-full rounded-lg border px-4 py-3 text-left transition-colors",
10155
+ "w-full rounded-lg border px-4 py-3 text-start transition-colors",
10122
10156
  "bg-background",
10123
10157
  "focus:ring-2 focus:outline-none",
10124
10158
  error ? "border-destructive focus:ring-destructive/20" : "border-input focus:border-primary-500 focus:ring-primary-500/20"
@@ -10137,7 +10171,7 @@ function ServiceSelect({
10137
10171
  ChevronDownIcon,
10138
10172
  {
10139
10173
  className: cn(
10140
- "text-muted-foreground absolute top-1/2 right-4 h-5 w-5 -translate-y-1/2 transition-transform",
10174
+ "text-muted-foreground absolute end-4 top-1/2 h-5 w-5 -translate-y-1/2 transition-transform",
10141
10175
  isOpen && "rotate-180"
10142
10176
  )
10143
10177
  }
@@ -11163,7 +11197,7 @@ function DayScheduleRow({
11163
11197
  ),
11164
11198
  children: [
11165
11199
  dayName,
11166
- isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300 ml-1 text-xs", children: "(Today)" })
11200
+ isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300 ms-1 text-xs", children: "(Today)" })
11167
11201
  ]
11168
11202
  }
11169
11203
  ),
@@ -11171,7 +11205,7 @@ function DayScheduleRow({
11171
11205
  "div",
11172
11206
  {
11173
11207
  "data-slot": "business-hours-day-hours",
11174
- className: cn("text-right", hasMultipleRanges && "flex flex-col gap-1"),
11208
+ className: cn("text-end", hasMultipleRanges && "flex flex-col gap-1"),
11175
11209
  "data-cy": `provider-hours-${dayHours.day}`,
11176
11210
  children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Closed" })
11177
11211
  }
@@ -11679,7 +11713,7 @@ function BusinessHoursDaysEditor({
11679
11713
  disabled,
11680
11714
  className: "text-xs",
11681
11715
  children: [
11682
- /* @__PURE__ */ jsx(CopyIcon, { className: "mr-1 h-3 w-3" }),
11716
+ /* @__PURE__ */ jsx(CopyIcon, { className: "me-1 h-3 w-3" }),
11683
11717
  "Copy"
11684
11718
  ]
11685
11719
  }
@@ -11714,7 +11748,7 @@ function BusinessHoursDaysEditor({
11714
11748
  disabled,
11715
11749
  className: "text-xs",
11716
11750
  children: [
11717
- /* @__PURE__ */ jsx(PlusIcon2, { className: "mr-1 h-3 w-3" }),
11751
+ /* @__PURE__ */ jsx(PlusIcon2, { className: "me-1 h-3 w-3" }),
11718
11752
  addHoursLabel
11719
11753
  ]
11720
11754
  }
@@ -12235,7 +12269,7 @@ var CaseContextBar = React13.forwardRef(
12235
12269
  disabled: !onBack,
12236
12270
  "aria-label": l.back,
12237
12271
  className: "-ms-2 h-6 w-6 shrink-0",
12238
- children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16 })
12272
+ children: /* @__PURE__ */ jsx(ArrowLeft, { size: 16, className: "rtl:-scale-x-100" })
12239
12273
  }
12240
12274
  ),
12241
12275
  /* @__PURE__ */ jsxs(
@@ -12340,7 +12374,7 @@ var CaseManagementHeader = React13.forwardRef(
12340
12374
  disabled: !onBack,
12341
12375
  "aria-label": l.back,
12342
12376
  className: "-ms-2 h-8 w-8 shrink-0",
12343
- children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
12377
+ children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
12344
12378
  }
12345
12379
  ),
12346
12380
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-wrap items-baseline gap-x-4 gap-y-0.5", children: [
@@ -12740,7 +12774,7 @@ function ConditionEditor({
12740
12774
  mode === "add" && effectiveRenderCodeSearch && !text.trim() ? /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
12741
12775
  /* @__PURE__ */ jsxs("span", { className: "text-foreground block text-sm font-medium", children: [
12742
12776
  "Problem name",
12743
- /* @__PURE__ */ jsx("span", { className: "text-destructive ml-1", "aria-hidden": "true", children: "*" })
12777
+ /* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", "aria-hidden": "true", children: "*" })
12744
12778
  ] }),
12745
12779
  effectiveRenderCodeSearch({
12746
12780
  placeholder: "Search conditions \u2014 or type a name and press Enter\u2026",
@@ -12914,7 +12948,7 @@ function ConditionEditor({
12914
12948
  disabled: fields.severity?.known === false,
12915
12949
  onClick: () => setSeverity(active ? void 0 : s),
12916
12950
  className: cn(
12917
- "border-border border-l px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-l-0",
12951
+ "border-border border-s px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-s-0",
12918
12952
  "disabled:opacity-40",
12919
12953
  active ? "bg-primary-600 text-white" : "bg-background text-muted-foreground hover:text-foreground"
12920
12954
  ),
@@ -13190,7 +13224,7 @@ function CheckrIntegration({
13190
13224
  /* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: "Checkr" }),
13191
13225
  connected && account?.name && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
13192
13226
  account.name,
13193
- account.plan && /* @__PURE__ */ jsxs("span", { className: "ml-2 text-xs", children: [
13227
+ account.plan && /* @__PURE__ */ jsxs("span", { className: "ms-2 text-xs", children: [
13194
13228
  "(",
13195
13229
  account.plan,
13196
13230
  ")"
@@ -13203,7 +13237,7 @@ function CheckrIntegration({
13203
13237
  "svg",
13204
13238
  {
13205
13239
  "aria-hidden": "true",
13206
- className: "mr-2 h-4 w-4",
13240
+ className: "me-2 h-4 w-4",
13207
13241
  fill: "none",
13208
13242
  viewBox: "0 0 24 24",
13209
13243
  stroke: "currentColor",
@@ -13233,7 +13267,7 @@ function CheckrIntegration({
13233
13267
  "svg",
13234
13268
  {
13235
13269
  "aria-hidden": "true",
13236
- className: "mr-2 inline-block h-4 w-4",
13270
+ className: "me-2 inline-block h-4 w-4",
13237
13271
  fill: "none",
13238
13272
  viewBox: "0 0 24 24",
13239
13273
  stroke: "currentColor",
@@ -13282,7 +13316,7 @@ function CheckrIntegration({
13282
13316
  "svg",
13283
13317
  {
13284
13318
  "aria-hidden": "true",
13285
- className: "mr-2 h-4 w-4",
13319
+ className: "me-2 h-4 w-4",
13286
13320
  fill: "none",
13287
13321
  viewBox: "0 0 24 24",
13288
13322
  stroke: "currentColor",
@@ -13304,7 +13338,7 @@ function CheckrIntegration({
13304
13338
  "svg",
13305
13339
  {
13306
13340
  "aria-hidden": "true",
13307
- className: "mr-2 h-4 w-4",
13341
+ className: "me-2 h-4 w-4",
13308
13342
  fill: "none",
13309
13343
  viewBox: "0 0 24 24",
13310
13344
  stroke: "currentColor",
@@ -13383,7 +13417,7 @@ function CheckrIntegration({
13383
13417
  report.packageName && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: report.packageName })
13384
13418
  ] })
13385
13419
  ] }),
13386
- /* @__PURE__ */ jsxs("div", { className: "text-right", children: [
13420
+ /* @__PURE__ */ jsxs("div", { className: "text-end", children: [
13387
13421
  /* @__PURE__ */ jsx(
13388
13422
  "span",
13389
13423
  {
@@ -13506,7 +13540,7 @@ function CheckrIntegration({
13506
13540
  "svg",
13507
13541
  {
13508
13542
  "aria-hidden": "true",
13509
- className: "mr-2 h-4 w-4",
13543
+ className: "me-2 h-4 w-4",
13510
13544
  fill: "none",
13511
13545
  viewBox: "0 0 24 24",
13512
13546
  stroke: "currentColor",
@@ -13921,7 +13955,7 @@ function CommandPalette({
13921
13955
  "data-slot": "command-palette-search",
13922
13956
  className: "relative border-b border-gray-200 dark:border-gray-700",
13923
13957
  children: [
13924
- /* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute top-1/2 left-4 -translate-y-1/2", children: /* @__PURE__ */ jsx(SearchIcon2, {}) }),
13958
+ /* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute start-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(SearchIcon2, {}) }),
13925
13959
  /* @__PURE__ */ jsx(
13926
13960
  "input",
13927
13961
  {
@@ -13934,7 +13968,7 @@ function CommandPalette({
13934
13968
  autoFocus: true,
13935
13969
  "data-testid": `${testId}-input`,
13936
13970
  className: cn(
13937
- "w-full bg-transparent py-4 pr-12 pl-12 text-base",
13971
+ "w-full bg-transparent py-4 ps-12 pe-12 text-base",
13938
13972
  "focus:outline-none dark:text-white dark:placeholder-gray-400"
13939
13973
  )
13940
13974
  }
@@ -13944,12 +13978,12 @@ function CommandPalette({
13944
13978
  {
13945
13979
  onClick: () => setQuery(""),
13946
13980
  "data-testid": `${testId}-clear`,
13947
- className: "text-muted-foreground absolute top-1/2 right-12 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
13981
+ className: "text-muted-foreground absolute end-12 top-1/2 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
13948
13982
  "aria-label": "Clear search",
13949
13983
  children: /* @__PURE__ */ jsx(XIcon3, {})
13950
13984
  }
13951
13985
  ),
13952
- isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute top-1/2 right-4 -translate-y-1/2", children: /* @__PURE__ */ jsx(SpinnerIcon3, {}) })
13986
+ isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute end-4 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ jsx(SpinnerIcon3, {}) })
13953
13987
  ]
13954
13988
  }
13955
13989
  ),
@@ -14024,7 +14058,7 @@ function CommandPalette({
14024
14058
  "span",
14025
14059
  {
14026
14060
  className: cn(
14027
- "mr-2 inline-block h-4 w-4 align-middle",
14061
+ "me-2 inline-block h-4 w-4 align-middle",
14028
14062
  categoryInfo.colorClass
14029
14063
  ),
14030
14064
  children: categoryInfo.icon
@@ -14074,7 +14108,7 @@ function CommandPalette({
14074
14108
  onMouseEnter: () => setSelectedIndex(currentIndex),
14075
14109
  disabled: item.disabled,
14076
14110
  className: cn(
14077
- "flex w-full items-start gap-3 px-4 py-3 text-left transition-colors",
14111
+ "flex w-full items-start gap-3 px-4 py-3 text-start transition-colors",
14078
14112
  isSelected ? "bg-primary-50 dark:bg-primary-900/20" : "hover:bg-gray-50 dark:hover:bg-gray-700/50",
14079
14113
  item.disabled && "cursor-not-allowed opacity-50"
14080
14114
  ),
@@ -14130,9 +14164,9 @@ function CommandPalette({
14130
14164
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
14131
14165
  /* @__PURE__ */ jsx("kbd", { className: "rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u2191\u2193" }),
14132
14166
  /* @__PURE__ */ jsx("span", { children: "navigate" }),
14133
- /* @__PURE__ */ jsx("kbd", { className: "ml-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u21B5" }),
14167
+ /* @__PURE__ */ jsx("kbd", { className: "ms-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "\u21B5" }),
14134
14168
  /* @__PURE__ */ jsx("span", { children: "select" }),
14135
- /* @__PURE__ */ jsx("kbd", { className: "ml-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "esc" }),
14169
+ /* @__PURE__ */ jsx("kbd", { className: "ms-2 rounded border border-gray-200 bg-white px-1 py-0.5 dark:border-gray-600 dark:bg-gray-700", children: "esc" }),
14136
14170
  /* @__PURE__ */ jsx("span", { children: "close" })
14137
14171
  ] }),
14138
14172
  /* @__PURE__ */ jsxs("span", { children: [
@@ -14170,7 +14204,7 @@ function CommandPaletteTrigger({
14170
14204
  ),
14171
14205
  children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
14172
14206
  /* @__PURE__ */ jsx(SearchIcon2, {}),
14173
- /* @__PURE__ */ jsx("span", { className: "flex-1 text-left whitespace-nowrap", children: placeholder }),
14207
+ /* @__PURE__ */ jsx("span", { className: "flex-1 text-start whitespace-nowrap", children: placeholder }),
14174
14208
  /* @__PURE__ */ jsxs(
14175
14209
  "kbd",
14176
14210
  {
@@ -14243,7 +14277,7 @@ function ConnectionStatusOverlay({
14243
14277
  {
14244
14278
  "data-slot": "connection-overlay-card",
14245
14279
  className: cn(cardVariants2({ animate })),
14246
- children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-left", children: [
14280
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
14247
14281
  /* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(ConnectionIcon, { status: connection.status, className: "h-12 w-12" }) }),
14248
14282
  /* @__PURE__ */ jsxs("div", { "data-slot": "connection-overlay-content", className: "flex-1", children: [
14249
14283
  /* @__PURE__ */ jsx("p", { className: "text-gray-700 dark:text-gray-300", children: displayMessage }),
@@ -14296,7 +14330,7 @@ function UpdateAvailableOverlay({
14296
14330
  {
14297
14331
  "data-slot": "update-overlay-card",
14298
14332
  className: cn(cardVariants2({ animate: true })),
14299
- children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-left", children: [
14333
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-4 text-center md:flex-row md:text-start", children: [
14300
14334
  /* @__PURE__ */ jsx("div", { className: "shrink-0", children: logoUrl ? /* @__PURE__ */ jsx(
14301
14335
  "img",
14302
14336
  {
@@ -14395,7 +14429,7 @@ function ConnectionStatusBar({
14395
14429
  "aria-live": "polite",
14396
14430
  "data-slot": "connection-bar",
14397
14431
  className: cn(
14398
- "fixed right-0 left-0 z-40 px-4 py-2",
14432
+ "fixed start-0 end-0 z-40 px-4 py-2",
14399
14433
  position === "top" ? "top-0" : "bottom-0",
14400
14434
  isConnecting ? "bg-warning-500 text-warning-900" : "bg-destructive-700 text-white",
14401
14435
  className
@@ -14726,7 +14760,7 @@ function RowActionMenu({
14726
14760
  role: "menuitem",
14727
14761
  type: "button",
14728
14762
  className: cn(
14729
- "flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs",
14763
+ "flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
14730
14764
  "transition-colors duration-100",
14731
14765
  action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
14732
14766
  ),
@@ -14798,7 +14832,7 @@ function HoverMenu({
14798
14832
  {
14799
14833
  "data-slot": "count-badge-menu-scroll",
14800
14834
  className: "max-h-[240px] min-h-0 overflow-y-auto",
14801
- children: /* @__PURE__ */ jsxs("table", { className: "w-full text-left text-xs", children: [
14835
+ children: /* @__PURE__ */ jsxs("table", { className: "w-full text-start text-xs", children: [
14802
14836
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-b border-neutral-100 dark:border-neutral-700", children: [
14803
14837
  /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "#" }),
14804
14838
  /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "Label" }),
@@ -14891,14 +14925,14 @@ function ViewModalActions({
14891
14925
  "aria-expanded": shareOpen,
14892
14926
  "aria-haspopup": "menu",
14893
14927
  children: [
14894
- /* @__PURE__ */ jsx(Share, { size: 14, className: "mr-1.5" }),
14928
+ /* @__PURE__ */ jsx(Share, { size: 14, className: "me-1.5" }),
14895
14929
  "Share",
14896
14930
  /* @__PURE__ */ jsx(
14897
14931
  ChevronDown,
14898
14932
  {
14899
14933
  size: 12,
14900
14934
  className: cn(
14901
- "ml-1 transition-transform duration-150",
14935
+ "ms-1 transition-transform duration-150",
14902
14936
  shareOpen && "rotate-180"
14903
14937
  )
14904
14938
  }
@@ -14925,7 +14959,7 @@ function ViewModalActions({
14925
14959
  role: "menuitem",
14926
14960
  type: "button",
14927
14961
  className: cn(
14928
- "flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm",
14962
+ "flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
14929
14963
  "text-neutral-700 hover:bg-neutral-100",
14930
14964
  "dark:text-neutral-300 dark:hover:bg-neutral-700"
14931
14965
  ),
@@ -14945,7 +14979,7 @@ function ViewModalActions({
14945
14979
  role: "menuitem",
14946
14980
  type: "button",
14947
14981
  className: cn(
14948
- "flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm",
14982
+ "flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
14949
14983
  "text-neutral-700 hover:bg-neutral-100",
14950
14984
  "dark:text-neutral-300 dark:hover:bg-neutral-700"
14951
14985
  ),
@@ -14965,7 +14999,7 @@ function ViewModalActions({
14965
14999
  role: "menuitem",
14966
15000
  type: "button",
14967
15001
  className: cn(
14968
- "flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm",
15002
+ "flex w-full items-center gap-2 px-3 py-1.5 text-start text-sm",
14969
15003
  "text-neutral-700 hover:bg-neutral-100",
14970
15004
  "dark:text-neutral-300 dark:hover:bg-neutral-700"
14971
15005
  ),
@@ -14994,7 +15028,7 @@ function ViewModalActions({
14994
15028
  size: "sm",
14995
15029
  onClick: () => console.warn("Export", viewTarget),
14996
15030
  children: [
14997
- /* @__PURE__ */ jsx(Download, { size: 14, className: "mr-1.5" }),
15031
+ /* @__PURE__ */ jsx(Download, { size: 14, className: "me-1.5" }),
14998
15032
  "Export"
14999
15033
  ]
15000
15034
  }
@@ -15006,7 +15040,7 @@ function ViewModalActions({
15006
15040
  size: "sm",
15007
15041
  onClick: () => console.warn("Open in chart", viewTarget),
15008
15042
  children: [
15009
- /* @__PURE__ */ jsx(ExternalLink, { size: 14, className: "mr-1.5" }),
15043
+ /* @__PURE__ */ jsx(ExternalLink, { size: 14, className: "me-1.5" }),
15010
15044
  "Open in Chart"
15011
15045
  ]
15012
15046
  }
@@ -15490,10 +15524,13 @@ var bannerVariants = cva(
15490
15524
  {
15491
15525
  variants: {
15492
15526
  position: {
15493
- bottom: "bottom-0 left-0 right-0",
15494
- top: "top-0 left-0 right-0",
15495
- "bottom-left": "bottom-4 left-4 max-w-md",
15496
- "bottom-right": "bottom-4 right-4 max-w-md"
15527
+ bottom: "bottom-0 start-0 end-0",
15528
+ top: "top-0 start-0 end-0",
15529
+ "bottom-start": "bottom-4 start-4 max-w-md",
15530
+ "bottom-end": "bottom-4 end-4 max-w-md",
15531
+ // Deprecated physical aliases for the logical positions above.
15532
+ "bottom-left": "bottom-4 start-4 max-w-md",
15533
+ "bottom-right": "bottom-4 end-4 max-w-md"
15497
15534
  },
15498
15535
  variant: {
15499
15536
  default: "bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 shadow-lg",
@@ -15683,7 +15720,7 @@ function CompactCookieBanner({
15683
15720
  "aria-label": "Cookie consent",
15684
15721
  "data-slot": "compact-cookie-banner",
15685
15722
  className: cn(
15686
- "fixed right-4 bottom-4 left-4 md:right-4 md:left-auto md:max-w-sm",
15723
+ "fixed start-4 end-4 bottom-4 md:start-auto md:end-4 md:max-w-sm",
15687
15724
  "z-50 rounded-lg bg-gray-900 p-4 text-white shadow-xl",
15688
15725
  className
15689
15726
  ),
@@ -16228,7 +16265,7 @@ var DashboardWidget = React13.forwardRef(
16228
16265
  "data-slot": "dashboard-widget-header",
16229
16266
  className: cn(
16230
16267
  "border-border flex flex-row items-center justify-between gap-2 border-b px-4 py-3 pb-3",
16231
- accent && "pl-6"
16268
+ accent && "ps-6"
16232
16269
  ),
16233
16270
  children: [
16234
16271
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
@@ -16272,7 +16309,7 @@ var DashboardWidget = React13.forwardRef(
16272
16309
  CardContent,
16273
16310
  {
16274
16311
  "data-slot": "dashboard-widget-body",
16275
- className: cn("px-4 py-3", accent && "pl-6"),
16312
+ className: cn("px-4 py-3", accent && "ps-6"),
16276
16313
  children
16277
16314
  }
16278
16315
  ),
@@ -16280,7 +16317,7 @@ var DashboardWidget = React13.forwardRef(
16280
16317
  "div",
16281
16318
  {
16282
16319
  "data-slot": "dashboard-widget-footer",
16283
- className: cn("border-border border-t px-4 py-2", accent && "pl-6"),
16320
+ className: cn("border-border border-t px-4 py-2", accent && "ps-6"),
16284
16321
  children: footer
16285
16322
  }
16286
16323
  )
@@ -16372,7 +16409,7 @@ function DashboardWidgetTableInner({
16372
16409
  {
16373
16410
  className: cn(
16374
16411
  "px-4 text-xs",
16375
- col.align === "right" && "text-right",
16412
+ col.align === "right" && "text-end",
16376
16413
  col.align === "center" && "text-center",
16377
16414
  col.className
16378
16415
  ),
@@ -16395,7 +16432,7 @@ function DashboardWidgetTableInner({
16395
16432
  {
16396
16433
  className: cn(
16397
16434
  "px-4 py-2 text-sm",
16398
- col.align === "right" && "text-right",
16435
+ col.align === "right" && "text-end",
16399
16436
  col.align === "center" && "text-center",
16400
16437
  col.className
16401
16438
  ),
@@ -16403,7 +16440,7 @@ function DashboardWidgetTableInner({
16403
16440
  },
16404
16441
  col.key
16405
16442
  )),
16406
- actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-right", children: /* @__PURE__ */ jsx(
16443
+ actions && actions.length > 0 && /* @__PURE__ */ jsx(TableCell, { className: "w-0 px-2 py-2 text-end", children: /* @__PURE__ */ jsx(
16407
16444
  WidgetRowActionMenu,
16408
16445
  {
16409
16446
  row,
@@ -16505,7 +16542,7 @@ function WidgetRowActionMenu({
16505
16542
  role: "menuitem",
16506
16543
  type: "button",
16507
16544
  className: cn(
16508
- "flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs",
16545
+ "flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
16509
16546
  "transition-colors duration-100",
16510
16547
  action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
16511
16548
  ),
@@ -16567,7 +16604,7 @@ var DashboardWidgetActions = React13.forwardRef(({ className, actions, columns =
16567
16604
  /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: action.label })
16568
16605
  ] });
16569
16606
  const sharedClasses = cn(
16570
- "flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-left transition-colors",
16607
+ "flex items-center gap-2 rounded-lg border border-border px-3 py-2 text-start transition-colors",
16571
16608
  "hover:bg-muted/60 hover:border-primary-200 dark:hover:border-primary-800",
16572
16609
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
16573
16610
  action.disabled && "opacity-50 cursor-not-allowed pointer-events-none"
@@ -16609,7 +16646,7 @@ var DashboardWidgetDataCards = React13.forwardRef(({ className, items, columns =
16609
16646
  /* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: item.label }),
16610
16647
  /* @__PURE__ */ jsxs("dd", { className: "text-foreground mt-0.5 text-sm font-semibold", children: [
16611
16648
  item.value,
16612
- item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ml-0.5 text-xs font-normal", children: item.unit })
16649
+ item.unit && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-0.5 text-xs font-normal", children: item.unit })
16613
16650
  ] })
16614
16651
  ] }, `${item.label}-${i}`)) }),
16615
16652
  footer && /* @__PURE__ */ jsx("div", { className: "border-border text-muted-foreground flex items-center gap-2 border-t pt-2 text-xs", children: footer })
@@ -17053,9 +17090,9 @@ function DateRangePicker({
17053
17090
  // In range background
17054
17091
  inRange && "bg-muted",
17055
17092
  // Start date
17056
- start && "bg-foreground text-background hover:bg-foreground rounded-l-md font-semibold",
17093
+ start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
17057
17094
  // End date
17058
- end && !start && "border-foreground text-foreground rounded-r-md border font-semibold",
17095
+ end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
17059
17096
  // Today indicator (only if not start/end)
17060
17097
  today && !start && !end && "font-semibold"
17061
17098
  ),
@@ -17087,7 +17124,7 @@ function DateRangePicker({
17087
17124
  "data-slot": "date-range-trigger",
17088
17125
  className: cn(
17089
17126
  "border-input bg-background hover:bg-muted",
17090
- "inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-left text-sm font-normal",
17127
+ "inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
17091
17128
  "focus:ring-ring focus:ring-2 focus:outline-none",
17092
17129
  "transition-colors",
17093
17130
  !displayValue && "text-muted-foreground"
@@ -17156,7 +17193,7 @@ function DateRangePicker({
17156
17193
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17157
17194
  "aria-label": "Previous month",
17158
17195
  "data-slot": "date-range-nav",
17159
- children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
17196
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
17160
17197
  }
17161
17198
  ),
17162
17199
  /* @__PURE__ */ jsxs(
@@ -17179,7 +17216,7 @@ function DateRangePicker({
17179
17216
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17180
17217
  "aria-label": "Next month",
17181
17218
  "data-slot": "date-range-nav",
17182
- children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4" })
17219
+ children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4 rtl:-scale-x-100" })
17183
17220
  }
17184
17221
  )
17185
17222
  ]
@@ -17235,7 +17272,7 @@ function DateRangePicker({
17235
17272
  "div",
17236
17273
  {
17237
17274
  className: cn(
17238
- "border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-r p-3",
17275
+ "border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
17239
17276
  isResponsive && "hidden md:flex"
17240
17277
  ),
17241
17278
  "data-slot": "date-range-presets",
@@ -17246,7 +17283,7 @@ function DateRangePicker({
17246
17283
  onClick: () => handlePresetSelect(preset.key),
17247
17284
  "data-slot": "date-range-preset",
17248
17285
  className: cn(
17249
- "rounded-md px-3 py-1.5 text-left text-sm transition-colors",
17286
+ "rounded-md px-3 py-1.5 text-start text-sm transition-colors",
17250
17287
  "hover:bg-muted",
17251
17288
  activePreset === preset.key && "bg-primary-800 text-white"
17252
17289
  ),
@@ -17287,7 +17324,7 @@ function DateRangePicker({
17287
17324
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17288
17325
  "aria-label": "Previous month",
17289
17326
  "data-slot": "date-range-nav",
17290
- children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
17327
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4 rtl:-scale-x-100" })
17291
17328
  }
17292
17329
  ),
17293
17330
  /* @__PURE__ */ jsxs(
@@ -17310,7 +17347,7 @@ function DateRangePicker({
17310
17347
  className: "hover:bg-muted rounded-md p-1 transition-colors md:hidden",
17311
17348
  "aria-label": "Next month",
17312
17349
  "data-slot": "date-range-nav",
17313
- children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4" })
17350
+ children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4 rtl:-scale-x-100" })
17314
17351
  }
17315
17352
  )
17316
17353
  ]
@@ -17345,7 +17382,7 @@ function DateRangePicker({
17345
17382
  className: "hover:bg-muted rounded-md p-1 transition-colors",
17346
17383
  "aria-label": "Next month",
17347
17384
  "data-slot": "date-range-nav",
17348
- children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4" })
17385
+ children: /* @__PURE__ */ jsx(ChevronRight$1, { className: "h-4 w-4 rtl:-scale-x-100" })
17349
17386
  }
17350
17387
  )
17351
17388
  ]
@@ -17385,9 +17422,9 @@ function DateRangeFilter({
17385
17422
  Dropdown,
17386
17423
  {
17387
17424
  trigger: /* @__PURE__ */ jsxs(Button, { variant, size: "md", className, children: [
17388
- /* @__PURE__ */ jsx(Calendar$1, { className: "mr-2 h-4 w-4" }),
17425
+ /* @__PURE__ */ jsx(Calendar$1, { className: "me-2 h-4 w-4" }),
17389
17426
  activeLabel || labels.filter || "Filter by Date",
17390
- /* @__PURE__ */ jsx(ChevronDown$1, { className: "ml-2 h-3 w-3" })
17427
+ /* @__PURE__ */ jsx(ChevronDown$1, { className: "ms-2 h-3 w-3" })
17391
17428
  ] }),
17392
17429
  className: "w-56",
17393
17430
  "data-slot": "date-range-filter",
@@ -17625,7 +17662,7 @@ function FilePreviewItem({ file, onRemove, disabled }) {
17625
17662
  "span",
17626
17663
  {
17627
17664
  className: cn(
17628
- "absolute bottom-2 left-2 px-2 py-0.5",
17665
+ "absolute start-2 bottom-2 px-2 py-0.5",
17629
17666
  "rounded-full text-xs font-medium",
17630
17667
  "bg-black/50 text-white",
17631
17668
  "capitalize"
@@ -18182,15 +18219,15 @@ function DocumentDetectionOverlay({
18182
18219
  {
18183
18220
  className: `absolute inset-4 rounded-lg border-4 transition-colors duration-300 ${borderColor}`,
18184
18221
  children: [
18185
- /* @__PURE__ */ jsx("div", { className: "absolute -top-1 -left-1 h-6 w-6 rounded-tl border-t-4 border-l-4 border-current" }),
18186
- /* @__PURE__ */ jsx("div", { className: "absolute -top-1 -right-1 h-6 w-6 rounded-tr border-t-4 border-r-4 border-current" }),
18187
- /* @__PURE__ */ jsx("div", { className: "absolute -bottom-1 -left-1 h-6 w-6 rounded-bl border-b-4 border-l-4 border-current" }),
18188
- /* @__PURE__ */ jsx("div", { className: "absolute -right-1 -bottom-1 h-6 w-6 rounded-br border-r-4 border-b-4 border-current" })
18222
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-1 -top-1 h-6 w-6 rounded-ss border-s-4 border-t-4 border-current" }),
18223
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-1 -top-1 h-6 w-6 rounded-se border-e-4 border-t-4 border-current" }),
18224
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-1 -bottom-1 h-6 w-6 rounded-es border-s-4 border-b-4 border-current" }),
18225
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-1 -bottom-1 h-6 w-6 rounded-ee border-e-4 border-b-4 border-current" })
18189
18226
  ]
18190
18227
  }
18191
18228
  ),
18192
18229
  /* @__PURE__ */ jsx(CountdownDisplay, { seconds: captureCountdown }),
18193
- /* @__PURE__ */ jsxs("div", { className: "absolute top-3 right-3 left-3", children: [
18230
+ /* @__PURE__ */ jsxs("div", { className: "absolute start-3 end-3 top-3", children: [
18194
18231
  /* @__PURE__ */ jsx(
18195
18232
  "div",
18196
18233
  {
@@ -18206,7 +18243,7 @@ function DocumentDetectionOverlay({
18206
18243
  }
18207
18244
  ) })
18208
18245
  ] }),
18209
- showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute right-3 bottom-3 left-3", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap justify-center gap-2 rounded-lg bg-black/60 p-2 backdrop-blur-sm", children: [
18246
+ showDetailedMetrics && /* @__PURE__ */ jsx("div", { className: "absolute start-3 end-3 bottom-3", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap justify-center gap-2 rounded-lg bg-black/60 p-2 backdrop-blur-sm", children: [
18210
18247
  /* @__PURE__ */ jsx(StatusPill, { label: "Focus", isOk: isInFocus, value: focusScore }),
18211
18248
  /* @__PURE__ */ jsx(
18212
18249
  StatusPill,
@@ -18247,12 +18284,12 @@ function CameraViewfinder({
18247
18284
  isReady && detectionOverlay,
18248
18285
  isReady && !detectionOverlay && /* @__PURE__ */ jsxs("div", { className: "pointer-events-none absolute inset-0", children: [
18249
18286
  /* @__PURE__ */ jsxs("div", { className: "absolute inset-8 rounded-lg border-2 border-white/30", children: [
18250
- /* @__PURE__ */ jsx("div", { className: "absolute -top-0.5 -left-0.5 h-6 w-6 rounded-tl-lg border-t-4 border-l-4 border-white" }),
18251
- /* @__PURE__ */ jsx("div", { className: "absolute -top-0.5 -right-0.5 h-6 w-6 rounded-tr-lg border-t-4 border-r-4 border-white" }),
18252
- /* @__PURE__ */ jsx("div", { className: "absolute -bottom-0.5 -left-0.5 h-6 w-6 rounded-bl-lg border-b-4 border-l-4 border-white" }),
18253
- /* @__PURE__ */ jsx("div", { className: "absolute -right-0.5 -bottom-0.5 h-6 w-6 rounded-br-lg border-r-4 border-b-4 border-white" })
18287
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-0.5 -top-0.5 h-6 w-6 rounded-ss-lg border-s-4 border-t-4 border-white" }),
18288
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-0.5 -top-0.5 h-6 w-6 rounded-se-lg border-e-4 border-t-4 border-white" }),
18289
+ /* @__PURE__ */ jsx("div", { className: "absolute -start-0.5 -bottom-0.5 h-6 w-6 rounded-es-lg border-s-4 border-b-4 border-white" }),
18290
+ /* @__PURE__ */ jsx("div", { className: "absolute -end-0.5 -bottom-0.5 h-6 w-6 rounded-ee-lg border-e-4 border-b-4 border-white" })
18254
18291
  ] }),
18255
- /* @__PURE__ */ jsx("div", { className: "absolute right-0 bottom-4 left-0 text-center", children: /* @__PURE__ */ jsx("span", { className: "rounded-full bg-black/50 px-3 py-1 text-sm text-white", children: "Position document within the frame" }) })
18292
+ /* @__PURE__ */ jsx("div", { className: "absolute start-0 end-0 bottom-4 text-center", children: /* @__PURE__ */ jsx("span", { className: "rounded-full bg-black/50 px-3 py-1 text-sm text-white", children: "Position document within the frame" }) })
18256
18293
  ] })
18257
18294
  ] });
18258
18295
  }
@@ -18265,7 +18302,7 @@ function PermissionDeniedMessage({ onRetry }) {
18265
18302
  ] }),
18266
18303
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center", children: [
18267
18304
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "To enable camera access:" }),
18268
- /* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-left text-sm", children: [
18305
+ /* @__PURE__ */ jsxs("ol", { className: "text-muted-foreground list-inside list-decimal space-y-1 text-start text-sm", children: [
18269
18306
  /* @__PURE__ */ jsx("li", { children: "Click the camera/lock icon in your browser's address bar" }),
18270
18307
  /* @__PURE__ */ jsx("li", { children: "Allow camera access for this site" }),
18271
18308
  /* @__PURE__ */ jsx("li", { children: "Click the button below to try again" })
@@ -19669,7 +19706,7 @@ function ClaimProviderForm({
19669
19706
  "svg",
19670
19707
  {
19671
19708
  "aria-hidden": "true",
19672
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
19709
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
19673
19710
  fill: "none",
19674
19711
  viewBox: "0 0 24 24",
19675
19712
  children: [
@@ -19911,7 +19948,7 @@ function CreateInvoiceModal({
19911
19948
  type: "button",
19912
19949
  "data-slot": "invoice-modal-order",
19913
19950
  onClick: () => toggleOrder(order.id),
19914
- className: `w-full rounded-lg border p-3 text-left transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
19951
+ className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
19915
19952
  children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
19916
19953
  /* @__PURE__ */ jsx(
19917
19954
  "div",
@@ -20112,7 +20149,7 @@ function CreateInvoiceModal({
20112
20149
  "svg",
20113
20150
  {
20114
20151
  "aria-hidden": "true",
20115
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
20152
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
20116
20153
  fill: "none",
20117
20154
  viewBox: "0 0 24 24",
20118
20155
  children: [
@@ -20282,7 +20319,7 @@ function CreateReferralModal({
20282
20319
  "aria-pressed": isSelected,
20283
20320
  "data-slot": "referral-modal-service",
20284
20321
  onClick: () => toggleService(service.id),
20285
- className: `w-full rounded-lg border p-3 text-left transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
20322
+ className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
20286
20323
  children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
20287
20324
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
20288
20325
  /* @__PURE__ */ jsx(
@@ -20393,7 +20430,7 @@ function CreateReferralModal({
20393
20430
  selectedServices.size > 1 ? "s" : "",
20394
20431
  " selected"
20395
20432
  ] }) }),
20396
- /* @__PURE__ */ jsxs("div", { className: "text-right", children: [
20433
+ /* @__PURE__ */ jsxs("div", { className: "text-end", children: [
20397
20434
  /* @__PURE__ */ jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
20398
20435
  /* @__PURE__ */ jsxs(
20399
20436
  "p",
@@ -20427,7 +20464,7 @@ function CreateReferralModal({
20427
20464
  "svg",
20428
20465
  {
20429
20466
  "aria-hidden": "true",
20430
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
20467
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
20431
20468
  fill: "none",
20432
20469
  viewBox: "0 0 24 24",
20433
20470
  children: [
@@ -20570,7 +20607,7 @@ function EditUserRoleModal({
20570
20607
  "svg",
20571
20608
  {
20572
20609
  "aria-hidden": "true",
20573
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
20610
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
20574
20611
  fill: "none",
20575
20612
  viewBox: "0 0 24 24",
20576
20613
  children: [
@@ -21137,7 +21174,7 @@ function EmployeeProfileCard({
21137
21174
  {
21138
21175
  type: "button",
21139
21176
  onClick: () => fileInputRef.current?.click(),
21140
- className: "bg-primary-800 hover:bg-primary-900 absolute right-0 bottom-0 rounded-full p-1.5 text-white shadow-md transition-colors",
21177
+ className: "bg-primary-800 hover:bg-primary-900 absolute end-0 bottom-0 rounded-full p-1.5 text-white shadow-md transition-colors",
21141
21178
  "aria-label": "Edit photo",
21142
21179
  "data-slot": "employee-card-photo-edit",
21143
21180
  children: /* @__PURE__ */ jsx(Edit2, { className: "h-3 w-3" })
@@ -21455,7 +21492,7 @@ function EmployerContactCard({
21455
21492
  "svg",
21456
21493
  {
21457
21494
  "aria-hidden": "true",
21458
- className: "mr-1 h-4 w-4",
21495
+ className: "me-1 h-4 w-4",
21459
21496
  fill: "none",
21460
21497
  stroke: "currentColor",
21461
21498
  viewBox: "0 0 24 24",
@@ -21663,7 +21700,7 @@ function EmployerList({
21663
21700
  "svg",
21664
21701
  {
21665
21702
  "aria-hidden": "true",
21666
- className: "absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 text-gray-400",
21703
+ className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
21667
21704
  fill: "none",
21668
21705
  stroke: "currentColor",
21669
21706
  viewBox: "0 0 24 24",
@@ -21685,7 +21722,7 @@ function EmployerList({
21685
21722
  placeholder: "Search employers...",
21686
21723
  value: searchQuery,
21687
21724
  onChange: handleSearch,
21688
- className: "pl-9"
21725
+ className: "ps-9"
21689
21726
  }
21690
21727
  )
21691
21728
  ] }),
@@ -21694,7 +21731,7 @@ function EmployerList({
21694
21731
  "svg",
21695
21732
  {
21696
21733
  "aria-hidden": "true",
21697
- className: "mr-1 h-4 w-4",
21734
+ className: "me-1 h-4 w-4",
21698
21735
  fill: "none",
21699
21736
  stroke: "currentColor",
21700
21737
  viewBox: "0 0 24 24",
@@ -21882,7 +21919,7 @@ function EmployerPricingCard({
21882
21919
  /* @__PURE__ */ jsx(CardTitle, { className: "text-base font-semibold", children: serviceName }),
21883
21920
  !isActive && /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
21884
21921
  ] }),
21885
- /* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-right", children: [
21922
+ /* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
21886
21923
  /* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
21887
21924
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
21888
21925
  ] })
@@ -21931,7 +21968,7 @@ function EmployerPricingCard({
21931
21968
  "svg",
21932
21969
  {
21933
21970
  "aria-hidden": "true",
21934
- className: "mr-1 h-3.5 w-3.5",
21971
+ className: "me-1 h-3.5 w-3.5",
21935
21972
  fill: "none",
21936
21973
  stroke: "currentColor",
21937
21974
  viewBox: "0 0 24 24",
@@ -21953,7 +21990,7 @@ function EmployerPricingCard({
21953
21990
  "svg",
21954
21991
  {
21955
21992
  "aria-hidden": "true",
21956
- className: "mr-1 h-3.5 w-3.5 text-red-500",
21993
+ className: "me-1 h-3.5 w-3.5 text-red-500",
21957
21994
  fill: "none",
21958
21995
  stroke: "currentColor",
21959
21996
  viewBox: "0 0 24 24",
@@ -22170,7 +22207,7 @@ function EmployerView({
22170
22207
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
22171
22208
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
22172
22209
  ] }),
22173
- /* @__PURE__ */ jsxs("div", { className: "text-right", children: [
22210
+ /* @__PURE__ */ jsxs("div", { className: "text-end", children: [
22174
22211
  /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(order.status), children: order.status }),
22175
22212
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
22176
22213
  ] }),
@@ -22206,7 +22243,7 @@ function EmployerView({
22206
22243
  formatDate4(invoice.dueDate)
22207
22244
  ] })
22208
22245
  ] }),
22209
- /* @__PURE__ */ jsxs("div", { className: "text-right", children: [
22246
+ /* @__PURE__ */ jsxs("div", { className: "text-end", children: [
22210
22247
  /* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
22211
22248
  /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
22212
22249
  ] }),
@@ -22381,7 +22418,7 @@ function EmployerServiceModal({
22381
22418
  !config.useBasePrice && /* @__PURE__ */ jsxs(
22382
22419
  "div",
22383
22420
  {
22384
- className: "border-border ml-4 border-l-2 pl-4",
22421
+ className: "border-border ms-4 border-s-2 ps-4",
22385
22422
  "data-slot": "employer-service-indent",
22386
22423
  children: [
22387
22424
  /* @__PURE__ */ jsx(
@@ -22397,7 +22434,7 @@ function EmployerServiceModal({
22397
22434
  /* @__PURE__ */ jsx(
22398
22435
  "span",
22399
22436
  {
22400
- className: "text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2",
22437
+ className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
22401
22438
  "data-slot": "employer-service-price-prefix",
22402
22439
  children: "$"
22403
22440
  }
@@ -22410,7 +22447,7 @@ function EmployerServiceModal({
22410
22447
  min: "0",
22411
22448
  step: "0.01",
22412
22449
  "data-slot": "employer-service-price-input",
22413
- className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2 pr-4 pl-7 shadow-sm focus:ring-2 focus:outline-none",
22450
+ className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
22414
22451
  value: config.customPrice ?? "",
22415
22452
  onChange: (e) => setConfig((prev) => ({
22416
22453
  ...prev,
@@ -22518,7 +22555,7 @@ function EmployerServiceModal({
22518
22555
  config.notifyOnOrder && /* @__PURE__ */ jsx(
22519
22556
  "div",
22520
22557
  {
22521
- className: "border-border ml-4 border-l-2 pl-4",
22558
+ className: "border-border ms-4 border-s-2 ps-4",
22522
22559
  "data-slot": "employer-service-indent",
22523
22560
  children: /* @__PURE__ */ jsx(
22524
22561
  Input,
@@ -22576,7 +22613,7 @@ function EmployerServiceModal({
22576
22613
  "svg",
22577
22614
  {
22578
22615
  "aria-hidden": "true",
22579
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
22616
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
22580
22617
  "data-slot": "employer-service-spinner",
22581
22618
  fill: "none",
22582
22619
  viewBox: "0 0 24 24",
@@ -22775,7 +22812,7 @@ function ServerErrorPage({
22775
22812
  showErrorDetails && errorMessage && /* @__PURE__ */ jsx(
22776
22813
  "div",
22777
22814
  {
22778
- className: "mt-4 max-w-2xl text-left",
22815
+ className: "mt-4 max-w-2xl text-start",
22779
22816
  "data-slot": "error-page-details",
22780
22817
  children: /* @__PURE__ */ jsxs("details", { className: "rounded-lg bg-gray-100 p-4 dark:bg-gray-800", children: [
22781
22818
  /* @__PURE__ */ jsx("summary", { className: "cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-300", children: "Error Details" }),
@@ -23300,7 +23337,7 @@ function FileManager({
23300
23337
  TableCell,
23301
23338
  {
23302
23339
  "data-slot": "file-manager-actions",
23303
- className: "text-right",
23340
+ className: "text-end",
23304
23341
  children: /* @__PURE__ */ jsx(
23305
23342
  FileRowActionMenu,
23306
23343
  {
@@ -23455,7 +23492,7 @@ function FileRowActionMenu({
23455
23492
  role: "menuitem",
23456
23493
  type: "button",
23457
23494
  className: cn(
23458
- "flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs",
23495
+ "flex w-full items-center gap-2 px-3 py-1.5 text-start text-xs",
23459
23496
  "transition-colors duration-100",
23460
23497
  action.variant === "danger" ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-neutral-700 hover:bg-neutral-100 dark:text-neutral-300 dark:hover:bg-neutral-700"
23461
23498
  ),
@@ -23586,7 +23623,7 @@ var HealthSurveillance = React13.forwardRef(
23586
23623
  "aria-expanded": isOpen,
23587
23624
  "aria-label": `${isOpen ? "Hide" : "Show"} orders for ${programLabel(item.key)}`,
23588
23625
  className: "text-muted-foreground hover:text-foreground shrink-0",
23589
- children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 14 })
23626
+ children: isOpen ? /* @__PURE__ */ jsx(ChevronDown, { size: 14 }) : /* @__PURE__ */ jsx(ChevronRight, { size: 14, className: "rtl:-scale-x-100" })
23590
23627
  }
23591
23628
  ) : /* @__PURE__ */ jsx("span", { className: "w-3.5 shrink-0" }),
23592
23629
  /* @__PURE__ */ jsx(Badge, { variant: badge.variant, size: "sm", children: badge.label }),
@@ -23608,11 +23645,11 @@ var HealthSurveillance = React13.forwardRef(
23608
23645
  return /* @__PURE__ */ jsxs(
23609
23646
  "div",
23610
23647
  {
23611
- className: cn(level > 0 && "border-border border-l-2"),
23612
- style: level > 0 ? { marginLeft: (level - 1) * 16 + 2 } : void 0,
23648
+ className: cn(level > 0 && "border-border border-s-2"),
23649
+ style: level > 0 ? { marginInlineStart: (level - 1) * 16 + 2 } : void 0,
23613
23650
  children: [
23614
- isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground pl-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
23615
- /* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "pl-3"), children: spec.keys.map((o) => {
23651
+ isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
23652
+ /* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
23616
23653
  const isPending = item.pendingKeys.includes(o);
23617
23654
  return /* @__PURE__ */ jsx(
23618
23655
  Checkbox,
@@ -23824,7 +23861,7 @@ function HelpSupportPanel({
23824
23861
  "svg",
23825
23862
  {
23826
23863
  "aria-hidden": "true",
23827
- className: "mr-2 h-4 w-4",
23864
+ className: "me-2 h-4 w-4",
23828
23865
  fill: "none",
23829
23866
  stroke: "currentColor",
23830
23867
  viewBox: "0 0 24 24",
@@ -23848,7 +23885,7 @@ function HelpSupportPanel({
23848
23885
  "svg",
23849
23886
  {
23850
23887
  "aria-hidden": "true",
23851
- className: "mr-2 h-4 w-4",
23888
+ className: "me-2 h-4 w-4",
23852
23889
  fill: "none",
23853
23890
  stroke: "currentColor",
23854
23891
  viewBox: "0 0 24 24",
@@ -23891,7 +23928,7 @@ function HelpSupportPanel({
23891
23928
  /* @__PURE__ */ jsxs(
23892
23929
  "button",
23893
23930
  {
23894
- className: "flex w-full items-center justify-between px-4 py-3 text-left transition-colors hover:bg-gray-50 dark:hover:bg-gray-800",
23931
+ className: "flex w-full items-center justify-between px-4 py-3 text-start transition-colors hover:bg-gray-50 dark:hover:bg-gray-800",
23895
23932
  onClick: () => setExpandedFaq(
23896
23933
  expandedFaq === faq.id ? null : faq.id
23897
23934
  ),
@@ -24298,7 +24335,7 @@ function HRISProviderSelector({
24298
24335
  className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
24299
24336
  "data-slot": "hris-connected-btn",
24300
24337
  children: [
24301
- /* @__PURE__ */ jsx("i", { className: "fas fa-link-slash mr-2" }),
24338
+ /* @__PURE__ */ jsx("i", { className: "fas fa-link-slash me-2" }),
24302
24339
  disconnect
24303
24340
  ]
24304
24341
  }
@@ -24311,7 +24348,7 @@ function HRISProviderSelector({
24311
24348
  className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
24312
24349
  "data-slot": "hris-connected-btn-primary",
24313
24350
  children: [
24314
- /* @__PURE__ */ jsx("i", { className: "fas fa-rotate mr-2" }),
24351
+ /* @__PURE__ */ jsx("i", { className: "fas fa-rotate me-2" }),
24315
24352
  refreshSync
24316
24353
  ]
24317
24354
  }
@@ -24328,7 +24365,7 @@ function HRISProviderSelector({
24328
24365
  /* @__PURE__ */ jsx(
24329
24366
  "span",
24330
24367
  {
24331
- className: "text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2",
24368
+ className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
24332
24369
  "data-slot": "hris-search-icon",
24333
24370
  children: /* @__PURE__ */ jsx("i", { className: "fas fa-search" })
24334
24371
  }
@@ -24340,7 +24377,7 @@ function HRISProviderSelector({
24340
24377
  placeholder: search,
24341
24378
  value: searchQuery,
24342
24379
  onChange: (e) => onSearchChange?.(e.target.value),
24343
- className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2 pr-4 pl-10 focus:ring-1 focus:outline-none",
24380
+ className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2 ps-10 pe-4 focus:ring-1 focus:outline-none",
24344
24381
  "data-slot": "hris-search-input"
24345
24382
  }
24346
24383
  )
@@ -24549,10 +24586,10 @@ function InventoryManager({
24549
24586
  /* @__PURE__ */ jsx("hr", { className: "border-border mb-4" }),
24550
24587
  logEntries.length > 0 ? /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
24551
24588
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-border border-b", children: [
24552
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-left text-xs font-medium tracking-wider uppercase", children: "Date" }),
24553
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-left text-xs font-medium tracking-wider uppercase", children: "User" }),
24554
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-left text-xs font-medium tracking-wider uppercase", children: "Change" }),
24555
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-right text-xs font-medium tracking-wider uppercase", children: "Quantity" })
24589
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
24590
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "User" }),
24591
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-start text-xs font-medium tracking-wider uppercase", children: "Change" }),
24592
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground py-2 text-end text-xs font-medium tracking-wider uppercase", children: "Quantity" })
24556
24593
  ] }) }),
24557
24594
  /* @__PURE__ */ jsx("tbody", { className: "divide-border/50 divide-y", children: logEntries.map((entry) => /* @__PURE__ */ jsxs(React13.Fragment, { children: [
24558
24595
  /* @__PURE__ */ jsxs("tr", { children: [
@@ -24566,7 +24603,7 @@ function InventoryManager({
24566
24603
  ),
24567
24604
  /* @__PURE__ */ jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.createdBy.name }),
24568
24605
  /* @__PURE__ */ jsx("td", { className: "text-muted-foreground py-2 text-sm", children: entry.type === "credit" ? "Added" : "Removed" }),
24569
- /* @__PURE__ */ jsx("td", { className: "py-2 text-right text-sm", children: /* @__PURE__ */ jsxs(
24606
+ /* @__PURE__ */ jsx("td", { className: "py-2 text-end text-sm", children: /* @__PURE__ */ jsxs(
24570
24607
  "span",
24571
24608
  {
24572
24609
  className: `inline-flex items-center gap-1 ${entry.type === "credit" ? "text-green-700 dark:text-green-400" : "text-red-700 dark:text-red-400"}`,
@@ -24613,7 +24650,7 @@ function InventoryManager({
24613
24650
  }
24614
24651
  ) })
24615
24652
  ] }),
24616
- entry.memo && /* @__PURE__ */ jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsx("td", { colSpan: 4, className: "px-2 py-1 text-right", children: /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-xs italic", children: [
24653
+ entry.memo && /* @__PURE__ */ jsx("tr", { className: "bg-muted/50", children: /* @__PURE__ */ jsx("td", { colSpan: 4, className: "px-2 py-1 text-end", children: /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-xs italic", children: [
24617
24654
  "Memo: ",
24618
24655
  entry.memo
24619
24656
  ] }) }) })
@@ -24661,13 +24698,13 @@ function InventoryManager({
24661
24698
  {
24662
24699
  type: "button",
24663
24700
  onClick: () => setUpdateType("debit"),
24664
- className: `rounded-l-md border px-4 py-2 text-sm font-medium transition-colors ${updateType === "debit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
24701
+ className: `rounded-s-md border px-4 py-2 text-sm font-medium transition-colors ${updateType === "debit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
24665
24702
  children: [
24666
24703
  /* @__PURE__ */ jsx(
24667
24704
  "svg",
24668
24705
  {
24669
24706
  "aria-hidden": "true",
24670
- className: "mr-1 inline-block h-4 w-4",
24707
+ className: "me-1 inline-block h-4 w-4",
24671
24708
  fill: "none",
24672
24709
  viewBox: "0 0 24 24",
24673
24710
  stroke: "currentColor",
@@ -24691,13 +24728,13 @@ function InventoryManager({
24691
24728
  {
24692
24729
  type: "button",
24693
24730
  onClick: () => setUpdateType("credit"),
24694
- className: `rounded-r-md border-t border-r border-b px-4 py-2 text-sm font-medium transition-colors ${updateType === "credit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
24731
+ className: `rounded-e-md border-e border-t border-b px-4 py-2 text-sm font-medium transition-colors ${updateType === "credit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
24695
24732
  children: [
24696
24733
  /* @__PURE__ */ jsx(
24697
24734
  "svg",
24698
24735
  {
24699
24736
  "aria-hidden": "true",
24700
- className: "mr-1 inline-block h-4 w-4",
24737
+ className: "me-1 inline-block h-4 w-4",
24701
24738
  fill: "none",
24702
24739
  viewBox: "0 0 24 24",
24703
24740
  stroke: "currentColor",
@@ -24990,7 +25027,7 @@ function InviteUserModal({
24990
25027
  "svg",
24991
25028
  {
24992
25029
  "aria-hidden": "true",
24993
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
25030
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
24994
25031
  "data-slot": "invite-user-spinner",
24995
25032
  fill: "none",
24996
25033
  viewBox: "0 0 24 24",
@@ -25117,7 +25154,7 @@ function InvoiceList({
25117
25154
  "svg",
25118
25155
  {
25119
25156
  "aria-hidden": "true",
25120
- className: "absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 text-gray-400",
25157
+ className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
25121
25158
  fill: "none",
25122
25159
  stroke: "currentColor",
25123
25160
  viewBox: "0 0 24 24",
@@ -25139,7 +25176,7 @@ function InvoiceList({
25139
25176
  placeholder: "Search invoices...",
25140
25177
  value: searchQuery,
25141
25178
  onChange: handleSearch,
25142
- className: "pl-9"
25179
+ className: "ps-9"
25143
25180
  }
25144
25181
  )
25145
25182
  ] }),
@@ -25165,7 +25202,7 @@ function InvoiceList({
25165
25202
  "svg",
25166
25203
  {
25167
25204
  "aria-hidden": "true",
25168
- className: "mr-1 h-4 w-4",
25205
+ className: "me-1 h-4 w-4",
25169
25206
  fill: "none",
25170
25207
  stroke: "currentColor",
25171
25208
  viewBox: "0 0 24 24",
@@ -25257,11 +25294,11 @@ function InvoiceList({
25257
25294
  className: "overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
25258
25295
  children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
25259
25296
  /* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
25260
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Invoice" }),
25261
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Employer" }),
25262
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase md:table-cell", children: "Issued" }),
25263
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase md:table-cell", children: "Due" }),
25264
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Amount" }),
25297
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Invoice" }),
25298
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Employer" }),
25299
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase md:table-cell", children: "Issued" }),
25300
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase md:table-cell", children: "Due" }),
25301
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
25265
25302
  /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" })
25266
25303
  ] }) }),
25267
25304
  /* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: filteredInvoices.map((invoice) => /* @__PURE__ */ jsxs(
@@ -25284,7 +25321,7 @@ function InvoiceList({
25284
25321
  children: formatDate4(invoice.dueDate)
25285
25322
  }
25286
25323
  ) }),
25287
- /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-right", children: /* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }) }),
25324
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: /* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }) }),
25288
25325
  /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status }) })
25289
25326
  ]
25290
25327
  },
@@ -25515,12 +25552,12 @@ function InvoicePaymentPage({
25515
25552
  className: "border-t border-gray-200 pt-4 dark:border-gray-700",
25516
25553
  children: /* @__PURE__ */ jsxs("table", { className: "w-full text-sm", children: [
25517
25554
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "text-muted-foreground", children: [
25518
- /* @__PURE__ */ jsx("th", { className: "pb-2 text-left font-medium", children: "Item" }),
25519
- /* @__PURE__ */ jsx("th", { className: "pb-2 text-right font-medium", children: "Amount" })
25555
+ /* @__PURE__ */ jsx("th", { className: "pb-2 text-start font-medium", children: "Item" }),
25556
+ /* @__PURE__ */ jsx("th", { className: "pb-2 text-end font-medium", children: "Amount" })
25520
25557
  ] }) }),
25521
25558
  /* @__PURE__ */ jsx("tbody", { className: "text-gray-700 dark:text-gray-300", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { children: [
25522
25559
  /* @__PURE__ */ jsx("td", { className: "py-1", children: item.description }),
25523
- /* @__PURE__ */ jsx("td", { className: "py-1 text-right", children: formatCurrency3(item.total) })
25560
+ /* @__PURE__ */ jsx("td", { className: "py-1 text-end", children: formatCurrency3(item.total) })
25524
25561
  ] }, item.id)) })
25525
25562
  ] })
25526
25563
  }
@@ -25680,7 +25717,7 @@ function InvoicePaymentPage({
25680
25717
  "svg",
25681
25718
  {
25682
25719
  "aria-hidden": "true",
25683
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
25720
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
25684
25721
  fill: "none",
25685
25722
  viewBox: "0 0 24 24",
25686
25723
  children: [
@@ -25772,7 +25809,7 @@ function InvoiceView({
25772
25809
  "svg",
25773
25810
  {
25774
25811
  "aria-hidden": "true",
25775
- className: "mr-1 h-4 w-4",
25812
+ className: "me-1 h-4 w-4",
25776
25813
  fill: "none",
25777
25814
  stroke: "currentColor",
25778
25815
  viewBox: "0 0 24 24",
@@ -25813,7 +25850,7 @@ function InvoiceView({
25813
25850
  "svg",
25814
25851
  {
25815
25852
  "aria-hidden": "true",
25816
- className: "mr-1 h-4 w-4",
25853
+ className: "me-1 h-4 w-4",
25817
25854
  fill: "none",
25818
25855
  stroke: "currentColor",
25819
25856
  viewBox: "0 0 24 24",
@@ -25844,7 +25881,7 @@ function InvoiceView({
25844
25881
  "svg",
25845
25882
  {
25846
25883
  "aria-hidden": "true",
25847
- className: "mr-1 h-4 w-4",
25884
+ className: "me-1 h-4 w-4",
25848
25885
  fill: "none",
25849
25886
  stroke: "currentColor",
25850
25887
  viewBox: "0 0 24 24",
@@ -25885,7 +25922,7 @@ function InvoiceView({
25885
25922
  "svg",
25886
25923
  {
25887
25924
  "aria-hidden": "true",
25888
- className: "mr-1 h-4 w-4",
25925
+ className: "me-1 h-4 w-4",
25889
25926
  fill: "none",
25890
25927
  stroke: "currentColor",
25891
25928
  viewBox: "0 0 24 24",
@@ -25909,7 +25946,7 @@ function InvoiceView({
25909
25946
  "svg",
25910
25947
  {
25911
25948
  "aria-hidden": "true",
25912
- className: "mr-1 h-4 w-4",
25949
+ className: "me-1 h-4 w-4",
25913
25950
  fill: "none",
25914
25951
  stroke: "currentColor",
25915
25952
  viewBox: "0 0 24 24",
@@ -25959,7 +25996,7 @@ function InvoiceView({
25959
25996
  "div",
25960
25997
  {
25961
25998
  "data-slot": "invoice-view-meta",
25962
- className: "text-left sm:text-right",
25999
+ className: "text-start sm:text-end",
25963
26000
  children: [
25964
26001
  /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "INVOICE" }),
25965
26002
  /* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
@@ -25999,10 +26036,10 @@ function InvoiceView({
25999
26036
  className: "mb-6 overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
26000
26037
  children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
26001
26038
  /* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
26002
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium uppercase", children: "Description" }),
26039
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium uppercase", children: "Description" }),
26003
26040
  /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-center text-xs font-medium uppercase sm:table-cell", children: "Qty" }),
26004
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-right text-xs font-medium uppercase sm:table-cell", children: "Unit Price" }),
26005
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium uppercase", children: "Total" })
26041
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-end text-xs font-medium uppercase sm:table-cell", children: "Unit Price" }),
26042
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium uppercase", children: "Total" })
26006
26043
  ] }) }),
26007
26044
  /* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { className: "bg-white dark:bg-gray-900", children: [
26008
26045
  /* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
@@ -26013,8 +26050,8 @@ function InvoiceView({
26013
26050
  ] })
26014
26051
  ] }),
26015
26052
  /* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 text-center text-gray-700 sm:table-cell dark:text-gray-300", children: item.quantity }),
26016
- /* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 text-right text-gray-700 sm:table-cell dark:text-gray-300", children: formatCurrency3(item.unitPrice) }),
26017
- /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-right font-medium text-gray-900 dark:text-white", children: formatCurrency3(item.total) })
26053
+ /* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 text-end text-gray-700 sm:table-cell dark:text-gray-300", children: formatCurrency3(item.unitPrice) }),
26054
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end font-medium text-gray-900 dark:text-white", children: formatCurrency3(item.total) })
26018
26055
  ] }, item.id)) })
26019
26056
  ] })
26020
26057
  }
@@ -26072,7 +26109,7 @@ var DEFAULT_LANGUAGES = [
26072
26109
  { code: "hi", name: "\u0939\u093F\u0928\u094D\u0926\u0940", englishName: "Hindi", flag: "\u{1F1EE}\u{1F1F3}" },
26073
26110
  { code: "ru", name: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439", englishName: "Russian", flag: "\u{1F1F7}\u{1F1FA}" }
26074
26111
  ];
26075
- var selectorVariants = cva("relative inline-block text-left", {
26112
+ var selectorVariants = cva("relative inline-block text-start", {
26076
26113
  variants: {
26077
26114
  size: {
26078
26115
  sm: "",
@@ -26249,7 +26286,7 @@ function LanguageSelectorNative({
26249
26286
  disabled,
26250
26287
  "aria-label": label,
26251
26288
  className: cn(
26252
- "w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2 pr-8 text-sm",
26289
+ "w-full appearance-none rounded-lg border border-gray-300 bg-white px-3 py-2 pe-8 text-sm",
26253
26290
  "focus:border-primary-500 focus:ring-primary-500 text-gray-700 focus:ring-2 focus:outline-none",
26254
26291
  "dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200",
26255
26292
  disabled && "cursor-not-allowed opacity-50",
@@ -26264,7 +26301,7 @@ function LanguageSelectorNative({
26264
26301
  ]
26265
26302
  }
26266
26303
  ),
26267
- /* @__PURE__ */ jsx(ChevronDownIcon2, { className: "pointer-events-none absolute top-1/2 right-2 h-4 w-4 -translate-y-1/2 text-gray-400" })
26304
+ /* @__PURE__ */ jsx(ChevronDownIcon2, { className: "pointer-events-none absolute end-2 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400" })
26268
26305
  ] });
26269
26306
  }
26270
26307
  function LanguageSelectorInline({
@@ -26294,13 +26331,13 @@ function LanguageSelectorInline({
26294
26331
  "data-slot": "language-selector-inline-option",
26295
26332
  className: cn(
26296
26333
  "px-3 py-1.5 text-sm transition-colors",
26297
- index === 0 && "rounded-l-lg",
26298
- index === languages.length - 1 && "rounded-r-lg",
26299
- index > 0 && "border-l border-gray-200 dark:border-gray-700",
26334
+ index === 0 && "rounded-s-lg",
26335
+ index === languages.length - 1 && "rounded-e-lg",
26336
+ index > 0 && "border-s border-gray-200 dark:border-gray-700",
26300
26337
  language.code === value ? "bg-primary-800 text-white" : "bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"
26301
26338
  ),
26302
26339
  children: [
26303
- showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "mr-1", children: language.flag }),
26340
+ showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "me-1", children: language.flag }),
26304
26341
  language.code.toUpperCase()
26305
26342
  ]
26306
26343
  },
@@ -26433,7 +26470,7 @@ function LoadingBar({
26433
26470
  showPercentage && !isIndeterminate && /* @__PURE__ */ jsxs(
26434
26471
  "p",
26435
26472
  {
26436
- className: "text-muted-foreground mt-1 text-right text-sm",
26473
+ className: "text-muted-foreground mt-1 text-end text-sm",
26437
26474
  "data-slot": "loading-bar-percentage",
26438
26475
  children: [
26439
26476
  Math.round(progress),
@@ -27055,7 +27092,7 @@ function OnboardingWizard({
27055
27092
  /* @__PURE__ */ jsxs(
27056
27093
  "div",
27057
27094
  {
27058
- className: "ml-3 hidden flex-col lg:flex",
27095
+ className: "ms-3 hidden flex-col lg:flex",
27059
27096
  "data-slot": "onboarding-header-brand",
27060
27097
  children: [
27061
27098
  /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: brandName }),
@@ -27222,7 +27259,7 @@ function OnboardingStepQuestion({
27222
27259
  onClick: () => onSelect?.(option.id),
27223
27260
  className: "rounded-full",
27224
27261
  children: [
27225
- option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "mr-2") }),
27262
+ option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "me-2") }),
27226
27263
  option.label
27227
27264
  ]
27228
27265
  },
@@ -27250,7 +27287,7 @@ function OnboardingCompletion({
27250
27287
  className: "text-foreground mb-0 text-2xl",
27251
27288
  "data-slot": "onboarding-completion-title",
27252
27289
  children: [
27253
- /* @__PURE__ */ jsx("i", { className: "fas fa-check-circle mr-2 text-green-500" }),
27290
+ /* @__PURE__ */ jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
27254
27291
  "Setup complete!"
27255
27292
  ]
27256
27293
  }
@@ -27271,15 +27308,15 @@ function OnboardingCompletion({
27271
27308
  "data-slot": "onboarding-completion-actions",
27272
27309
  children: [
27273
27310
  /* @__PURE__ */ jsxs(Button, { variant: "primary", onClick: onStartOrder, children: [
27274
- /* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart mr-2" }),
27311
+ /* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart me-2" }),
27275
27312
  "Start your first order"
27276
27313
  ] }),
27277
27314
  /* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToDashboard, children: [
27278
- /* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt mr-2" }),
27315
+ /* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt me-2" }),
27279
27316
  "Go to Dashboard"
27280
27317
  ] }),
27281
27318
  /* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToEmployees, children: [
27282
- /* @__PURE__ */ jsx("i", { className: "fas fa-users mr-2" }),
27319
+ /* @__PURE__ */ jsx("i", { className: "fas fa-users me-2" }),
27283
27320
  "Go to Employees"
27284
27321
  ] })
27285
27322
  ]
@@ -27430,7 +27467,7 @@ function OrderCard({
27430
27467
  }
27431
27468
  )
27432
27469
  ] }),
27433
- totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-right", children: /* @__PURE__ */ jsx("p", { className: "text-foreground font-semibold", children: formatCurrency(totalAmount, currency) }) })
27470
+ totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-end", children: /* @__PURE__ */ jsx("p", { className: "text-foreground font-semibold", children: formatCurrency(totalAmount, currency) }) })
27434
27471
  ] }),
27435
27472
  /* @__PURE__ */ jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
27436
27473
  /* @__PURE__ */ jsx(
@@ -27511,7 +27548,7 @@ function OrderCard({
27511
27548
  children: "View Details"
27512
27549
  }
27513
27550
  ),
27514
- showActions && /* @__PURE__ */ jsxs("div", { className: "ml-auto flex gap-2", children: [
27551
+ showActions && /* @__PURE__ */ jsxs("div", { className: "ms-auto flex gap-2", children: [
27515
27552
  onReject && /* @__PURE__ */ jsx(
27516
27553
  "button",
27517
27554
  {
@@ -28026,7 +28063,7 @@ function OrderConfirmationWizard({
28026
28063
  "svg",
28027
28064
  {
28028
28065
  "aria-hidden": "true",
28029
- className: "mr-1 h-4 w-4",
28066
+ className: "me-1 h-4 w-4",
28030
28067
  fill: "none",
28031
28068
  stroke: "currentColor",
28032
28069
  viewBox: "0 0 24 24",
@@ -28066,7 +28103,7 @@ function OrderConfirmationWizard({
28066
28103
  "svg",
28067
28104
  {
28068
28105
  "aria-hidden": "true",
28069
- className: "ml-1 h-4 w-4",
28106
+ className: "ms-1 h-4 w-4",
28070
28107
  fill: "none",
28071
28108
  stroke: "currentColor",
28072
28109
  viewBox: "0 0 24 24",
@@ -28093,7 +28130,7 @@ function OrderConfirmationWizard({
28093
28130
  "svg",
28094
28131
  {
28095
28132
  "aria-hidden": "true",
28096
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
28133
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
28097
28134
  fill: "none",
28098
28135
  viewBox: "0 0 24 24",
28099
28136
  children: [
@@ -28126,7 +28163,7 @@ function OrderConfirmationWizard({
28126
28163
  "svg",
28127
28164
  {
28128
28165
  "aria-hidden": "true",
28129
- className: "ml-1 h-4 w-4",
28166
+ className: "ms-1 h-4 w-4",
28130
28167
  fill: "none",
28131
28168
  stroke: "currentColor",
28132
28169
  viewBox: "0 0 24 24",
@@ -28226,7 +28263,7 @@ function OrderList({
28226
28263
  {
28227
28264
  "data-slot": "order-list-tab-count",
28228
28265
  className: cn(
28229
- "ml-2 rounded-full px-2 py-0.5 text-xs",
28266
+ "ms-2 rounded-full px-2 py-0.5 text-xs",
28230
28267
  activeTab === tab.id ? "bg-blue-200 text-blue-800 dark:bg-blue-800 dark:text-blue-200" : "text-muted-foreground bg-gray-200 dark:bg-gray-700"
28231
28268
  ),
28232
28269
  children: count
@@ -28250,7 +28287,7 @@ function OrderList({
28250
28287
  "svg",
28251
28288
  {
28252
28289
  "aria-hidden": "true",
28253
- className: "absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 text-gray-400",
28290
+ className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
28254
28291
  fill: "none",
28255
28292
  viewBox: "0 0 24 24",
28256
28293
  stroke: "currentColor",
@@ -28272,7 +28309,7 @@ function OrderList({
28272
28309
  placeholder: searchPlaceholder,
28273
28310
  value: searchValue,
28274
28311
  onChange: (e) => onSearchChange?.(e.target.value),
28275
- className: "rounded-lg border border-gray-300 bg-white py-2 pr-4 pl-9 text-sm text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
28312
+ className: "rounded-lg border border-gray-300 bg-white py-2 ps-9 pe-4 text-sm text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
28276
28313
  }
28277
28314
  )
28278
28315
  ] }),
@@ -28804,7 +28841,7 @@ function OrderLookupForm({
28804
28841
  "svg",
28805
28842
  {
28806
28843
  "aria-hidden": "true",
28807
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
28844
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
28808
28845
  fill: "none",
28809
28846
  viewBox: "0 0 24 24",
28810
28847
  children: [
@@ -28914,7 +28951,7 @@ function OrderSidebar({
28914
28951
  "div",
28915
28952
  {
28916
28953
  "data-slot": "order-sidebar",
28917
- className: `fixed top-0 right-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
28954
+ className: `fixed end-0 top-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
28918
28955
  role: "dialog",
28919
28956
  "aria-modal": "true",
28920
28957
  "aria-label": "Order details",
@@ -29033,7 +29070,7 @@ function OrderSidebar({
29033
29070
  "div",
29034
29071
  {
29035
29072
  "data-slot": "order-sidebar-footer",
29036
- className: "absolute right-0 bottom-0 left-0 border-t border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-900",
29073
+ className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-900",
29037
29074
  children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsx(
29038
29075
  Button,
29039
29076
  {
@@ -29348,7 +29385,7 @@ function PatientOverflowMenu({
29348
29385
  }
29349
29386
  )
29350
29387
  ] }),
29351
- /* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-t-0 md:border-l" }),
29388
+ /* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
29352
29389
  /* @__PURE__ */ jsxs("div", { className: "md:min-w-[26rem]", children: [
29353
29390
  /* @__PURE__ */ jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px] font-semibold tracking-wide uppercase", children: "Add" }) }),
29354
29391
  /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
@@ -29549,8 +29586,8 @@ var PatientHeader = React13.forwardRef(
29549
29586
  onClick: onBack,
29550
29587
  disabled: !onBack,
29551
29588
  "aria-label": "Go back",
29552
- className: "mt-1 -ml-2 h-8 w-8 shrink-0",
29553
- children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
29589
+ className: "-ms-2 mt-1 h-8 w-8 shrink-0",
29590
+ children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18, className: "rtl:-scale-x-100" })
29554
29591
  }
29555
29592
  ),
29556
29593
  /* @__PURE__ */ jsx(
@@ -29645,7 +29682,7 @@ var PatientHeader = React13.forwardRef(
29645
29682
  )
29646
29683
  ] })
29647
29684
  ] }),
29648
- showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-left text-xs font-medium tracking-wide text-amber-800 dark:border-amber-800/40 dark:bg-amber-950/40 dark:text-amber-300", children: patient.flags.map(
29685
+ showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-start text-xs font-medium tracking-wide text-amber-800 dark:border-amber-800/40 dark:bg-amber-950/40 dark:text-amber-300", children: patient.flags.map(
29649
29686
  (flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
29650
29687
  ).join(" \xB7 ") }),
29651
29688
  /* @__PURE__ */ jsxs(
@@ -30269,13 +30306,13 @@ function PaymentHistoryTable({
30269
30306
  className: `overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700 ${className}`,
30270
30307
  children: /* @__PURE__ */ jsxs("table", { "data-slot": "payment-history-table", className: "w-full", children: [
30271
30308
  /* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
30272
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Date" }),
30273
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Invoice" }),
30274
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase md:table-cell", children: "Employer" }),
30275
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase lg:table-cell", children: "Method" }),
30276
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Amount" }),
30309
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Date" }),
30310
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Invoice" }),
30311
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase md:table-cell", children: "Employer" }),
30312
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-start text-xs font-medium tracking-wider uppercase lg:table-cell", children: "Method" }),
30313
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Amount" }),
30277
30314
  /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
30278
- onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Action" })
30315
+ onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Action" })
30279
30316
  ] }) }),
30280
30317
  /* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: payments.map((payment) => /* @__PURE__ */ jsxs(
30281
30318
  "tr",
@@ -30307,7 +30344,7 @@ function PaymentHistoryTable({
30307
30344
  payment.cardLast4 && ` \u2022\u2022\u2022\u2022 ${payment.cardLast4}`
30308
30345
  ] })
30309
30346
  ] }) }),
30310
- /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-right", children: /* @__PURE__ */ jsx(
30347
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: /* @__PURE__ */ jsx(
30311
30348
  "p",
30312
30349
  {
30313
30350
  className: `font-medium ${payment.status === "refunded" ? "text-muted-foreground line-through" : "text-gray-900 dark:text-white"}`,
@@ -30315,7 +30352,7 @@ function PaymentHistoryTable({
30315
30352
  }
30316
30353
  ) }),
30317
30354
  /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(payment.status), children: payment.status }) }),
30318
- onRefund && /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-right", children: payment.status === "completed" && /* @__PURE__ */ jsx(
30355
+ onRefund && /* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-end", children: payment.status === "completed" && /* @__PURE__ */ jsx(
30319
30356
  Button,
30320
30357
  {
30321
30358
  variant: "ghost",
@@ -30835,11 +30872,11 @@ function PendingClaimsTable({
30835
30872
  children: [
30836
30873
  /* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
30837
30874
  /* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
30838
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
30839
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Role" }),
30840
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
30875
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
30876
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Role" }),
30877
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-start text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
30841
30878
  /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
30842
- /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Actions" })
30879
+ /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-end text-xs font-medium tracking-wider uppercase", children: "Actions" })
30843
30880
  ] }) }),
30844
30881
  /* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxs(
30845
30882
  "tr",
@@ -30857,7 +30894,7 @@ function PendingClaimsTable({
30857
30894
  /* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: claim.claimantRole || "Not specified" }) }),
30858
30895
  /* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
30859
30896
  /* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(claim.status), children: claim.status }) }),
30860
- /* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-right", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
30897
+ /* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-end", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
30861
30898
  onViewDetails && /* @__PURE__ */ jsx(
30862
30899
  Button,
30863
30900
  {
@@ -30983,7 +31020,7 @@ function PermissionItem({
30983
31020
  });
30984
31021
  }
30985
31022
  };
30986
- return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "ml-4"), "data-slot": "perm-item", children: [
31023
+ return /* @__PURE__ */ jsxs("div", { className: cn("py-1", level > 0 && "ms-4"), "data-slot": "perm-item", children: [
30987
31024
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", "data-slot": "perm-item-row", children: [
30988
31025
  hasChildren && /* @__PURE__ */ jsx(
30989
31026
  "button",
@@ -30994,7 +31031,7 @@ function PermissionItem({
30994
31031
  "aria-expanded": isExpanded,
30995
31032
  "aria-label": isExpanded ? `Collapse ${permission.name}` : `Expand ${permission.name}`,
30996
31033
  "data-slot": "perm-item-toggle",
30997
- children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight$1, { className: "text-muted-foreground h-4 w-4" })
31034
+ children: isExpanded ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight$1, { className: "text-muted-foreground h-4 w-4 rtl:-scale-x-100" })
30998
31035
  }
30999
31036
  ),
31000
31037
  !hasChildren && /* @__PURE__ */ jsx("span", { className: "w-5" }),
@@ -31129,16 +31166,16 @@ function PermissionsEditor({
31129
31166
  ]
31130
31167
  }
31131
31168
  ),
31132
- /* @__PURE__ */ jsx("div", { className: "space-y-4 pl-2", "data-slot": "perm-groups", children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxs("div", { children: [
31169
+ /* @__PURE__ */ jsx("div", { className: "space-y-4 ps-2", "data-slot": "perm-groups", children: groups.map((group, groupIndex) => /* @__PURE__ */ jsxs("div", { children: [
31133
31170
  /* @__PURE__ */ jsxs(
31134
31171
  "button",
31135
31172
  {
31136
31173
  type: "button",
31137
31174
  onClick: () => toggleGroup(group.id),
31138
- className: "hover:bg-muted/50 -ml-2 flex w-full items-center gap-2 rounded py-2 pl-2 text-left",
31175
+ className: "hover:bg-muted/50 -ms-2 flex w-full items-center gap-2 rounded py-2 ps-2 text-start",
31139
31176
  "data-slot": "perm-group-header",
31140
31177
  children: [
31141
- expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight$1, { className: "text-muted-foreground h-4 w-4" }),
31178
+ expandedGroups.has(group.id) ? /* @__PURE__ */ jsx(ChevronDown$1, { className: "text-muted-foreground h-4 w-4" }) : /* @__PURE__ */ jsx(ChevronRight$1, { className: "text-muted-foreground h-4 w-4 rtl:-scale-x-100" }),
31142
31179
  /* @__PURE__ */ jsx("span", { className: "font-semibold", "data-slot": "perm-group-name", children: group.name })
31143
31180
  ]
31144
31181
  }
@@ -31146,7 +31183,7 @@ function PermissionsEditor({
31146
31183
  expandedGroups.has(group.id) && /* @__PURE__ */ jsx(
31147
31184
  "div",
31148
31185
  {
31149
- className: "mt-2 ml-6 border-l pl-4",
31186
+ className: "ms-6 mt-2 border-s ps-4",
31150
31187
  "data-slot": "perm-group-list",
31151
31188
  children: group.permissions.map((permission) => /* @__PURE__ */ jsx(
31152
31189
  PermissionItem,
@@ -31198,7 +31235,7 @@ function PermissionsEditor({
31198
31235
  /* @__PURE__ */ jsx(
31199
31236
  "div",
31200
31237
  {
31201
- className: "max-h-60 space-y-2 overflow-y-auto pl-2",
31238
+ className: "max-h-60 space-y-2 overflow-y-auto ps-2",
31202
31239
  "data-slot": "perm-employer-list",
31203
31240
  children: employers.map((employer) => /* @__PURE__ */ jsxs(
31204
31241
  "div",
@@ -31225,7 +31262,7 @@ function PermissionsEditor({
31225
31262
  employer.address && /* @__PURE__ */ jsxs(
31226
31263
  "span",
31227
31264
  {
31228
- className: "text-muted-foreground ml-2",
31265
+ className: "text-muted-foreground ms-2",
31229
31266
  "data-slot": "perm-employer-addr",
31230
31267
  children: [
31231
31268
  "| ",
@@ -31335,7 +31372,7 @@ function RelevanceControl({
31335
31372
  onClick: () => onChange(active ? null : relevance),
31336
31373
  className: cn(
31337
31374
  "px-2 py-1 text-xs font-medium transition-colors",
31338
- "border-border border-l first:border-l-0",
31375
+ "border-border border-s first:border-s-0",
31339
31376
  active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
31340
31377
  ),
31341
31378
  children: RELEVANCE_LABELS[relevance]
@@ -31462,7 +31499,7 @@ var PresentingProblems = React13.forwardRef(
31462
31499
  children: "out of scope"
31463
31500
  }
31464
31501
  ),
31465
- !readOnly && /* @__PURE__ */ jsx("span", { className: "ml-auto", children: /* @__PURE__ */ jsx(
31502
+ !readOnly && /* @__PURE__ */ jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsx(
31466
31503
  RelevanceControl,
31467
31504
  {
31468
31505
  value: relevance,
@@ -31624,7 +31661,7 @@ function ProductVersion({
31624
31661
  name,
31625
31662
  " ",
31626
31663
  versionDisplay,
31627
- build && /* @__PURE__ */ jsxs("span", { className: "ml-1", children: [
31664
+ build && /* @__PURE__ */ jsxs("span", { className: "ms-1", children: [
31628
31665
  "(",
31629
31666
  build,
31630
31667
  ")"
@@ -32381,7 +32418,7 @@ function Breadcrumb2({ items, className }) {
32381
32418
  "data-slot": "provider-detail-breadcrumb",
32382
32419
  className: cn("py-2", className),
32383
32420
  children: /* @__PURE__ */ jsx("ol", { className: "flex flex-wrap items-center gap-1 text-sm", children: items.map((item, index) => /* @__PURE__ */ jsxs("li", { className: "flex items-center", children: [
32384
- index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4" }),
32421
+ index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4 rtl:-scale-x-100" }),
32385
32422
  index === items.length - 1 ? /* @__PURE__ */ jsx("span", { className: "max-w-[200px] truncate font-medium text-gray-900 dark:text-white", children: item.label }) : /* @__PURE__ */ jsx(
32386
32423
  "a",
32387
32424
  {
@@ -32410,7 +32447,7 @@ function MobileBackButton({
32410
32447
  href,
32411
32448
  className: "bg-primary-800 hover:bg-primary-900 inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
32412
32449
  children: [
32413
- /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
32450
+ /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4 rtl:-scale-x-100" }),
32414
32451
  label
32415
32452
  ]
32416
32453
  }
@@ -33905,7 +33942,7 @@ var ProviderSearchBar = React13.forwardRef(
33905
33942
  className: cn(
33906
33943
  "border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
33907
33944
  "w-full",
33908
- onGeolocate ? "pl-0" : "pl-3"
33945
+ onGeolocate ? "ps-0" : "ps-3"
33909
33946
  )
33910
33947
  }
33911
33948
  ) }),
@@ -34008,7 +34045,7 @@ var inputVariants3 = cva(
34008
34045
  {
34009
34046
  variants: {
34010
34047
  hasIcon: {
34011
- true: "pl-10",
34048
+ true: "ps-10",
34012
34049
  false: ""
34013
34050
  }
34014
34051
  },
@@ -34022,10 +34059,9 @@ var selectVariants = cva([
34022
34059
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
34023
34060
  "disabled:cursor-not-allowed disabled:opacity-50",
34024
34061
  "dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
34025
- "appearance-none bg-no-repeat bg-right pr-8",
34062
+ "appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
34026
34063
  'bg-[url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e")]',
34027
- "bg-[length:1.5em_1.5em]",
34028
- "bg-[right_0.5rem_center]"
34064
+ "bg-[length:1.5em_1.5em]"
34029
34065
  ]);
34030
34066
  var labelVariants2 = cva([
34031
34067
  "text-sm font-medium text-neutral-700 dark:text-neutral-300",
@@ -34103,7 +34139,7 @@ function InputField({ label, icon, className, id, ...props }) {
34103
34139
  return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
34104
34140
  label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
34105
34141
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
34106
- icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3 text-neutral-400", children: icon }),
34142
+ icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3 text-neutral-400", children: icon }),
34107
34143
  /* @__PURE__ */ jsx(
34108
34144
  "input",
34109
34145
  {
@@ -34254,7 +34290,7 @@ function ServiceMultiSelect({
34254
34290
  "aria-labelledby": label ? void 0 : "services-label",
34255
34291
  className: cn(
34256
34292
  selectVariants(),
34257
- "w-full text-left",
34293
+ "w-full text-start",
34258
34294
  !selectedServices.length && "text-muted-foreground",
34259
34295
  disabled && "cursor-not-allowed opacity-50"
34260
34296
  ),
@@ -34285,11 +34321,11 @@ function ServiceMultiSelect({
34285
34321
  value: searchTerm,
34286
34322
  onChange: (e) => setSearchTerm(e.target.value),
34287
34323
  placeholder: "Search services...",
34288
- className: cn(inputVariants3({ hasIcon: true }), "pl-8"),
34324
+ className: cn(inputVariants3({ hasIcon: true }), "ps-8"),
34289
34325
  autoFocus: true
34290
34326
  }
34291
34327
  ),
34292
- /* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2 left-4 -translate-y-1/2 text-neutral-400" })
34328
+ /* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
34293
34329
  ] }),
34294
34330
  Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
34295
34331
  ([category, categoryServices]) => /* @__PURE__ */ jsxs("div", { children: [
@@ -34306,7 +34342,7 @@ function ServiceMultiSelect({
34306
34342
  "aria-selected": isSelected,
34307
34343
  onClick: () => handleToggleService(service.value),
34308
34344
  className: cn(
34309
- "flex w-full items-center justify-between px-3 py-2 text-left text-sm",
34345
+ "flex w-full items-center justify-between px-3 py-2 text-start text-sm",
34310
34346
  "hover:bg-neutral-100 dark:hover:bg-neutral-700",
34311
34347
  isSelected && "bg-primary-50 dark:bg-primary-900/20"
34312
34348
  ),
@@ -34490,7 +34526,7 @@ function CompactFilterBar({
34490
34526
  "data-slot": "provider-compact-filter",
34491
34527
  children: [
34492
34528
  /* @__PURE__ */ jsx("div", { className: "min-w-[150px] flex-1", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
34493
- /* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
34529
+ /* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
34494
34530
  /* @__PURE__ */ jsx(
34495
34531
  "input",
34496
34532
  {
@@ -34500,7 +34536,7 @@ function CompactFilterBar({
34500
34536
  onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
34501
34537
  disabled: loading,
34502
34538
  className: cn(
34503
- "h-9 w-full rounded-md border border-neutral-200 pr-3 pl-9 text-sm",
34539
+ "h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
34504
34540
  "focus:ring-primary-500 focus:ring-2 focus:outline-none",
34505
34541
  "dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
34506
34542
  )
@@ -34523,7 +34559,7 @@ function CompactFilterBar({
34523
34559
  },
34524
34560
  disabled: loading,
34525
34561
  className: cn(
34526
- "h-9 w-20 rounded-l-md border border-neutral-200 px-3 text-sm",
34562
+ "h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
34527
34563
  "focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
34528
34564
  "dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
34529
34565
  )
@@ -34537,7 +34573,7 @@ function CompactFilterBar({
34537
34573
  disabled: loading,
34538
34574
  "aria-label": "Search radius",
34539
34575
  className: cn(
34540
- "h-9 rounded-r-md border border-l-0 border-neutral-200 px-2 text-sm",
34576
+ "h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
34541
34577
  "focus:ring-primary-500 focus:ring-2 focus:outline-none",
34542
34578
  "dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
34543
34579
  ),
@@ -34683,7 +34719,7 @@ function ActiveFilters({
34683
34719
  {
34684
34720
  type: "button",
34685
34721
  onClick: filter.onClear,
34686
- className: "ml-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
34722
+ className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
34687
34723
  "aria-label": `Remove filter: ${filter.label}`,
34688
34724
  children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-3 w-3" })
34689
34725
  }
@@ -34786,7 +34822,7 @@ function ProviderSelector({
34786
34822
  onClick: () => !disabled && setIsOpen(!isOpen),
34787
34823
  disabled,
34788
34824
  className: cn(
34789
- "flex w-full items-center gap-3 rounded-lg border px-3 text-left transition-colors",
34825
+ "flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
34790
34826
  "bg-background text-foreground",
34791
34827
  "border-input",
34792
34828
  "hover:border-muted-foreground/50",
@@ -34903,7 +34939,7 @@ function ProviderSelector({
34903
34939
  "svg",
34904
34940
  {
34905
34941
  "aria-hidden": "true",
34906
- className: "text-muted-foreground absolute top-1/2 left-3 h-4 w-4 -translate-y-1/2",
34942
+ className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
34907
34943
  fill: "none",
34908
34944
  viewBox: "0 0 24 24",
34909
34945
  stroke: "currentColor",
@@ -34926,7 +34962,7 @@ function ProviderSelector({
34926
34962
  placeholder: searchPlaceholder,
34927
34963
  value: searchQuery,
34928
34964
  onChange: (e) => setSearchQuery(e.target.value),
34929
- className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2 pr-4 pl-9 text-sm focus:ring-1 focus:outline-none",
34965
+ className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2 ps-9 pe-4 text-sm focus:ring-1 focus:outline-none",
34930
34966
  autoFocus: true
34931
34967
  }
34932
34968
  )
@@ -34938,7 +34974,7 @@ function ProviderSelector({
34938
34974
  "data-slot": "provider-selector-option",
34939
34975
  onClick: () => handleSelect(provider),
34940
34976
  className: cn(
34941
- "flex w-full items-center gap-3 px-4 py-3 text-left transition-colors",
34977
+ "flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
34942
34978
  "hover:bg-muted",
34943
34979
  selectedProvider?.id === provider.id && "bg-primary/10"
34944
34980
  ),
@@ -35862,7 +35898,7 @@ function ProviderUsersTable({
35862
35898
  /* @__PURE__ */ jsxs("div", { children: [
35863
35899
  /* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
35864
35900
  user.name,
35865
- isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ml-1.5 text-xs", children: "(you)" })
35901
+ isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
35866
35902
  ] }),
35867
35903
  /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
35868
35904
  ] })
@@ -35870,7 +35906,7 @@ function ProviderUsersTable({
35870
35906
  /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
35871
35907
  /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
35872
35908
  /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
35873
- showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-right", children: /* @__PURE__ */ jsx(
35909
+ showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-end", children: /* @__PURE__ */ jsx(
35874
35910
  RowActionsMenu,
35875
35911
  {
35876
35912
  user,
@@ -35926,11 +35962,11 @@ function QuickLinksCard({
35926
35962
  "span",
35927
35963
  {
35928
35964
  "data-slot": "quick-links-icon",
35929
- className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "mr-3"} `,
35965
+ className: `text-muted-foreground ${layout === "grid" ? "mb-1" : "me-3"} `,
35930
35966
  children: link.icon
35931
35967
  }
35932
35968
  ),
35933
- /* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-left", children: [
35969
+ /* @__PURE__ */ jsxs("span", { "data-slot": "quick-links-label", className: "flex-1 text-start", children: [
35934
35970
  /* @__PURE__ */ jsx("span", { className: "text-foreground block text-sm font-medium", children: link.label }),
35935
35971
  link.description && layout !== "grid" && /* @__PURE__ */ jsx(
35936
35972
  "span",
@@ -35945,7 +35981,7 @@ function QuickLinksCard({
35945
35981
  "span",
35946
35982
  {
35947
35983
  "data-slot": "quick-links-badge",
35948
- className: "bg-primary/10 ml-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-900)] dark:text-[var(--mieweb-primary-400)]",
35984
+ className: "bg-primary/10 ms-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-900)] dark:text-[var(--mieweb-primary-400)]",
35949
35985
  children: link.badge
35950
35986
  }
35951
35987
  ),
@@ -36184,11 +36220,11 @@ function RecurringServiceCard({
36184
36220
  )
36185
36221
  ] }),
36186
36222
  effectiveState === "warning" && /* @__PURE__ */ jsxs("div", { className: "bg-warning/10 text-warning-800 dark:text-warning-200 rounded-md px-3 py-2 text-xs", children: [
36187
- /* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle mr-1" }),
36223
+ /* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
36188
36224
  consentNote
36189
36225
  ] }),
36190
36226
  effectiveState === "error" && /* @__PURE__ */ jsxs("div", { className: "bg-destructive/10 text-destructive-800 dark:text-destructive-200 rounded-md px-3 py-2 text-xs", children: [
36191
- /* @__PURE__ */ jsx("i", { className: "fas fa-times-circle mr-1" }),
36227
+ /* @__PURE__ */ jsx("i", { className: "fas fa-times-circle me-1" }),
36192
36228
  consentNote
36193
36229
  ] }),
36194
36230
  !isDisabled && /* @__PURE__ */ jsxs(
@@ -36415,7 +36451,7 @@ function RecurringServiceSetupModal({
36415
36451
  ),
36416
36452
  /* @__PURE__ */ jsx("span", { className: "text-sm", children: overrideConsent })
36417
36453
  ] }),
36418
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground ml-6 text-xs", children: overrideConsentNote })
36454
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
36419
36455
  ] }),
36420
36456
  /* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
36421
36457
  /* @__PURE__ */ jsx(
@@ -36592,7 +36628,7 @@ function RejectionModal({
36592
36628
  showDetails && /* @__PURE__ */ jsxs("div", { "data-slot": "rejection-modal-details", children: [
36593
36629
  /* @__PURE__ */ jsxs("label", { className: "text-foreground mb-1 block text-sm font-medium", children: [
36594
36630
  detailsLabel,
36595
- needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive ml-1", children: "*" })
36631
+ needsDetails && /* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", children: "*" })
36596
36632
  ] }),
36597
36633
  /* @__PURE__ */ jsx(
36598
36634
  "textarea",
@@ -36630,7 +36666,7 @@ function RejectionModal({
36630
36666
  "svg",
36631
36667
  {
36632
36668
  "aria-hidden": "true",
36633
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
36669
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
36634
36670
  fill: "none",
36635
36671
  viewBox: "0 0 24 24",
36636
36672
  children: [
@@ -36802,7 +36838,7 @@ function ReportDashboard({
36802
36838
  "svg",
36803
36839
  {
36804
36840
  "aria-hidden": "true",
36805
- className: "mr-2 h-4 w-4",
36841
+ className: "me-2 h-4 w-4",
36806
36842
  fill: "none",
36807
36843
  stroke: "currentColor",
36808
36844
  viewBox: "0 0 24 24",
@@ -37164,7 +37200,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
37164
37200
  /* @__PURE__ */ jsx(
37165
37201
  "span",
37166
37202
  {
37167
- className: "bg-muted border-input rounded-l-md border border-r-0 px-3 py-2 text-sm font-medium",
37203
+ className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
37168
37204
  "data-slot": "ref-file-badge",
37169
37205
  children: results
37170
37206
  }
@@ -37174,7 +37210,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
37174
37210
  {
37175
37211
  value: files.map((f) => f.name).join(", "),
37176
37212
  readOnly: true,
37177
- className: "rounded-none border-r-0 border-l-0",
37213
+ className: "rounded-none border-s-0 border-e-0",
37178
37214
  placeholder: "No files selected"
37179
37215
  }
37180
37216
  ),
@@ -37193,10 +37229,10 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
37193
37229
  {
37194
37230
  type: "button",
37195
37231
  variant: "secondary",
37196
- className: "rounded-l-none",
37232
+ className: "rounded-s-none",
37197
37233
  onClick: () => fileInputRef.current?.click(),
37198
37234
  children: [
37199
- /* @__PURE__ */ jsx(FileUp, { className: "mr-2 h-4 w-4" }),
37235
+ /* @__PURE__ */ jsx(FileUp, { className: "me-2 h-4 w-4" }),
37200
37236
  browseFiles
37201
37237
  ]
37202
37238
  }
@@ -37214,7 +37250,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
37214
37250
  {
37215
37251
  type: "button",
37216
37252
  onClick: () => removeFile(index),
37217
- className: "text-muted-foreground hover:text-destructive ml-2",
37253
+ className: "text-muted-foreground hover:text-destructive ms-2",
37218
37254
  "data-slot": "ref-file-remove",
37219
37255
  children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
37220
37256
  }
@@ -37388,7 +37424,7 @@ function ResultsEntryModal({
37388
37424
  "svg",
37389
37425
  {
37390
37426
  "aria-hidden": "true",
37391
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
37427
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
37392
37428
  fill: "none",
37393
37429
  viewBox: "0 0 24 24",
37394
37430
  children: [
@@ -37648,7 +37684,7 @@ function ScheduleCalendar({
37648
37684
  weekDates.map((date, i) => /* @__PURE__ */ jsxs(
37649
37685
  "div",
37650
37686
  {
37651
- className: `flex-1 border-l border-gray-200 p-2 text-center dark:border-gray-700 ${isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50 dark:bg-blue-900/20" : ""}`,
37687
+ className: `flex-1 border-s border-gray-200 p-2 text-center dark:border-gray-700 ${isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50 dark:bg-blue-900/20" : ""}`,
37652
37688
  children: [
37653
37689
  /* @__PURE__ */ jsx(
37654
37690
  "p",
@@ -37680,7 +37716,7 @@ function ScheduleCalendar({
37680
37716
  children: hours.map((hour) => /* @__PURE__ */ jsx(
37681
37717
  "div",
37682
37718
  {
37683
- className: "text-muted-foreground h-16 pr-2 text-right text-xs",
37719
+ className: "text-muted-foreground h-16 pe-2 text-end text-xs",
37684
37720
  children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
37685
37721
  hour: "numeric",
37686
37722
  hour12: true
@@ -37695,7 +37731,7 @@ function ScheduleCalendar({
37695
37731
  return /* @__PURE__ */ jsxs(
37696
37732
  "div",
37697
37733
  {
37698
- className: `relative flex-1 border-l border-gray-200 dark:border-gray-700 ${view === "week" && isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
37734
+ className: `relative flex-1 border-s border-gray-200 dark:border-gray-700 ${view === "week" && isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
37699
37735
  children: [
37700
37736
  hours.map((hour) => /* @__PURE__ */ jsx(
37701
37737
  "div",
@@ -37731,7 +37767,7 @@ function ScheduleCalendar({
37731
37767
  role: "button",
37732
37768
  tabIndex: 0,
37733
37769
  "aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
37734
- className: `absolute right-1 left-1 cursor-pointer overflow-hidden rounded border-l-4 px-2 py-1 text-xs text-white ${getStatusColor(appointment.status)}`,
37770
+ className: `absolute start-1 end-1 cursor-pointer overflow-hidden rounded border-s-4 px-2 py-1 text-xs text-white ${getStatusColor(appointment.status)}`,
37735
37771
  style: {
37736
37772
  top: position.top,
37737
37773
  height: position.height,
@@ -37955,7 +37991,7 @@ var accordionVariants = cva(
37955
37991
  );
37956
37992
  var categoryHeaderVariants = cva(
37957
37993
  [
37958
- "w-full flex items-center justify-between py-4 px-4 text-left",
37994
+ "w-full flex items-center justify-between py-4 px-4 text-start",
37959
37995
  "transition-colors",
37960
37996
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
37961
37997
  ],
@@ -38064,7 +38100,7 @@ function ServiceLink({
38064
38100
  children: [
38065
38101
  /* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
38066
38102
  /* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
38067
- service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-2 text-xs", children: [
38103
+ service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
38068
38104
  "(",
38069
38105
  service.providerCount,
38070
38106
  ")"
@@ -38091,7 +38127,7 @@ function SubCategoryAccordion({
38091
38127
  onClick: () => setIsExpanded(!isExpanded),
38092
38128
  className: cn(
38093
38129
  "flex w-full items-center justify-between px-3 py-2",
38094
- "text-left font-medium text-neutral-700 dark:text-neutral-200",
38130
+ "text-start font-medium text-neutral-700 dark:text-neutral-200",
38095
38131
  "hover:text-primary-800 dark:hover:text-primary-400",
38096
38132
  "focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
38097
38133
  ),
@@ -38121,7 +38157,7 @@ function SubCategoryAccordion({
38121
38157
  isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
38122
38158
  ),
38123
38159
  inert: !isExpanded || void 0,
38124
- children: /* @__PURE__ */ jsx("div", { className: "space-y-1 pb-2 pl-4", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsx(
38160
+ children: /* @__PURE__ */ jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsx(
38125
38161
  ServiceLink,
38126
38162
  {
38127
38163
  service,
@@ -38476,7 +38512,7 @@ function ServiceBadge({
38476
38512
  const isClickable = Boolean(href || onClick);
38477
38513
  const isInteractive = interactive ?? isClickable;
38478
38514
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
38479
- icon && /* @__PURE__ */ jsx("span", { className: "mr-1 flex-shrink-0", children: icon }),
38515
+ icon && /* @__PURE__ */ jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
38480
38516
  /* @__PURE__ */ jsx("span", { className: "truncate", children }),
38481
38517
  removable && onRemove && /* @__PURE__ */ jsx(
38482
38518
  "button",
@@ -38488,7 +38524,7 @@ function ServiceBadge({
38488
38524
  e.stopPropagation();
38489
38525
  onRemove();
38490
38526
  },
38491
- className: "ml-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
38527
+ className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
38492
38528
  "aria-label": `Remove ${children}`,
38493
38529
  children: /* @__PURE__ */ jsx(CloseIcon4, { className: "h-3 w-3" })
38494
38530
  }
@@ -38605,7 +38641,7 @@ function ServiceTagCloudBadges({
38605
38641
  href: onServiceClick ? void 0 : `/service/${service.slug}`,
38606
38642
  children: [
38607
38643
  service.name,
38608
- showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-1", children: [
38644
+ showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-1", children: [
38609
38645
  "(",
38610
38646
  service.count,
38611
38647
  ")"
@@ -38656,7 +38692,7 @@ function SelectedServicesBadges({
38656
38692
  {
38657
38693
  type: "button",
38658
38694
  onClick: onClearAll,
38659
- className: "text-muted-foreground ml-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
38695
+ className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
38660
38696
  children: "Clear all"
38661
38697
  }
38662
38698
  )
@@ -38718,7 +38754,7 @@ function DOTBadge({
38718
38754
  ),
38719
38755
  ...props,
38720
38756
  children: [
38721
- /* @__PURE__ */ jsx(DOTIcon, { className: "mr-1 h-3.5 w-3.5" }),
38757
+ /* @__PURE__ */ jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
38722
38758
  children || config.label
38723
38759
  ]
38724
38760
  }
@@ -38981,7 +39017,7 @@ function ServiceCard({
38981
39017
  {
38982
39018
  type: "button",
38983
39019
  onClick: handleManageClick,
38984
- className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10 ml-auto rounded px-3 py-1 text-sm font-medium transition-colors",
39020
+ className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10 ms-auto rounded px-3 py-1 text-sm font-medium transition-colors",
38985
39021
  children: "Manage"
38986
39022
  }
38987
39023
  )
@@ -39170,7 +39206,7 @@ function ServiceGeneralSettings({
39170
39206
  }
39171
39207
  ),
39172
39208
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
39173
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2", children: "$" }),
39209
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
39174
39210
  /* @__PURE__ */ jsx(
39175
39211
  "input",
39176
39212
  {
@@ -39178,7 +39214,7 @@ function ServiceGeneralSettings({
39178
39214
  type: "number",
39179
39215
  min: "0",
39180
39216
  step: "0.01",
39181
- className: "w-full rounded-md border border-gray-300 py-2 pr-4 pl-7 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
39217
+ className: "w-full rounded-md border border-gray-300 py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
39182
39218
  value: basePrice,
39183
39219
  onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
39184
39220
  placeholder: "0.00"
@@ -39202,13 +39238,13 @@ function ServiceGeneralSettings({
39202
39238
  id: "turnaround-days",
39203
39239
  type: "number",
39204
39240
  min: "0",
39205
- className: "w-full rounded-md border border-gray-300 px-3 py-2 pr-16 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
39241
+ className: "w-full rounded-md border border-gray-300 px-3 py-2 pe-16 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
39206
39242
  value: turnaroundDays ?? "",
39207
39243
  onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
39208
39244
  placeholder: "0"
39209
39245
  }
39210
39246
  ),
39211
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 text-sm", children: "days" })
39247
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
39212
39248
  ] })
39213
39249
  ] })
39214
39250
  ] })
@@ -39451,7 +39487,7 @@ function ServicePicker({
39451
39487
  }
39452
39488
  ),
39453
39489
  showSearch && /* @__PURE__ */ jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
39454
- /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3", children: /* @__PURE__ */ jsx(SearchIcon5, { className: "text-muted-foreground h-5 w-5" }) }),
39490
+ /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3", children: /* @__PURE__ */ jsx(SearchIcon5, { className: "text-muted-foreground h-5 w-5" }) }),
39455
39491
  /* @__PURE__ */ jsx(
39456
39492
  Input,
39457
39493
  {
@@ -39459,7 +39495,7 @@ function ServicePicker({
39459
39495
  value: searchQuery,
39460
39496
  onChange: (e) => setSearchQuery(e.target.value),
39461
39497
  placeholder: searchPlaceholder,
39462
- className: "pl-10",
39498
+ className: "ps-10",
39463
39499
  "data-cy": "input-search-services"
39464
39500
  }
39465
39501
  )
@@ -39560,10 +39596,10 @@ function ServiceGroupItem({
39560
39596
  onClick: () => onToggleGroup(group.id),
39561
39597
  className: cn(
39562
39598
  "flex w-full items-center justify-between rounded-lg px-3 py-2",
39563
- "text-muted-foreground text-left text-sm font-medium",
39599
+ "text-muted-foreground text-start text-sm font-medium",
39564
39600
  "hover:bg-muted",
39565
39601
  "transition-colors",
39566
- depth > 0 && "ml-4"
39602
+ depth > 0 && "ms-4"
39567
39603
  ),
39568
39604
  "aria-expanded": isExpanded,
39569
39605
  children: [
@@ -39601,7 +39637,7 @@ function ServiceGroupItem({
39601
39637
  "ul",
39602
39638
  {
39603
39639
  "data-slot": "service-picker-group-list",
39604
- className: "mt-1 space-y-1 pl-4",
39640
+ className: "mt-1 space-y-1 ps-4",
39605
39641
  children: [
39606
39642
  group.services.map((service) => /* @__PURE__ */ jsx(
39607
39643
  ServiceItem,
@@ -39994,10 +40030,10 @@ function ServicePricingManager({
39994
40030
  /* @__PURE__ */ jsx(CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No services found" }) : /* @__PURE__ */ jsxs("div", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: [
39995
40031
  /* @__PURE__ */ jsxs("div", { className: "text-muted-foreground hidden gap-4 py-3 text-xs font-medium uppercase md:grid md:grid-cols-6", children: [
39996
40032
  /* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
39997
- /* @__PURE__ */ jsx("div", { className: "text-right", children: "Base Price" }),
39998
- /* @__PURE__ */ jsx("div", { className: "text-right", children: "Employer Price" }),
40033
+ /* @__PURE__ */ jsx("div", { className: "text-end", children: "Base Price" }),
40034
+ /* @__PURE__ */ jsx("div", { className: "text-end", children: "Employer Price" }),
39999
40035
  /* @__PURE__ */ jsx("div", { className: "text-center", children: "Status" }),
40000
- /* @__PURE__ */ jsx("div", { className: "text-right", children: "Actions" })
40036
+ /* @__PURE__ */ jsx("div", { className: "text-end", children: "Actions" })
40001
40037
  ] }),
40002
40038
  filteredServices.map((service) => /* @__PURE__ */ jsxs(
40003
40039
  "div",
@@ -40014,14 +40050,14 @@ function ServicePricingManager({
40014
40050
  ] }),
40015
40051
  /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
40016
40052
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
40017
- /* @__PURE__ */ jsx("p", { className: "text-right font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
40053
+ /* @__PURE__ */ jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
40018
40054
  ] }),
40019
40055
  /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
40020
40056
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
40021
- /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-right", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
40057
+ /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
40022
40058
  ] }),
40023
40059
  /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
40024
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground mr-2 text-sm md:hidden", children: "Status:" }),
40060
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
40025
40061
  /* @__PURE__ */ jsx(
40026
40062
  Badge,
40027
40063
  {
@@ -40571,7 +40607,7 @@ function SetupServiceModal({
40571
40607
  }
40572
40608
  ),
40573
40609
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
40574
- /* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2", children: "$" }),
40610
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
40575
40611
  /* @__PURE__ */ jsx(
40576
40612
  "input",
40577
40613
  {
@@ -40579,7 +40615,7 @@ function SetupServiceModal({
40579
40615
  type: "number",
40580
40616
  min: "0",
40581
40617
  step: "0.01",
40582
- className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2 pr-4 pl-7 shadow-sm focus:ring-2 focus:outline-none",
40618
+ className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
40583
40619
  value: formData.price,
40584
40620
  onChange: (e) => setFormData((prev) => ({
40585
40621
  ...prev,
@@ -40646,7 +40682,7 @@ function SetupServiceModal({
40646
40682
  "div",
40647
40683
  {
40648
40684
  "data-slot": "setup-service-inventory",
40649
- className: "border-border ml-4 border-l-2 pl-4",
40685
+ className: "border-border ms-4 border-s-2 ps-4",
40650
40686
  children: /* @__PURE__ */ jsx(
40651
40687
  Input,
40652
40688
  {
@@ -40706,7 +40742,7 @@ function SetupServiceModal({
40706
40742
  "svg",
40707
40743
  {
40708
40744
  "aria-hidden": "true",
40709
- className: "mr-2 -ml-1 h-4 w-4 animate-spin",
40745
+ className: "-ms-1 me-2 h-4 w-4 animate-spin",
40710
40746
  fill: "none",
40711
40747
  viewBox: "0 0 24 24",
40712
40748
  children: [
@@ -40828,7 +40864,7 @@ var ChevronLeftIcon2 = () => /* @__PURE__ */ jsx(
40828
40864
  "svg",
40829
40865
  {
40830
40866
  "aria-hidden": "true",
40831
- className: "h-4 w-4",
40867
+ className: "h-4 w-4 rtl:-scale-x-100",
40832
40868
  fill: "none",
40833
40869
  viewBox: "0 0 24 24",
40834
40870
  stroke: "currentColor",
@@ -40840,7 +40876,7 @@ var ChevronRightIcon2 = () => /* @__PURE__ */ jsx(
40840
40876
  "svg",
40841
40877
  {
40842
40878
  "aria-hidden": "true",
40843
- className: "h-4 w-4",
40879
+ className: "h-4 w-4 rtl:-scale-x-100",
40844
40880
  fill: "none",
40845
40881
  viewBox: "0 0 24 24",
40846
40882
  stroke: "currentColor",
@@ -41526,7 +41562,7 @@ function FooterLinkSection({
41526
41562
  ),
41527
41563
  children: [
41528
41564
  link.label,
41529
- link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "ml-1 inline-block h-3 w-3 opacity-50" })
41565
+ link.external && /* @__PURE__ */ jsx(ExternalLinkIcon, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
41530
41566
  ]
41531
41567
  }
41532
41568
  ) }, link.href)) })
@@ -41833,7 +41869,7 @@ function SimpleFooter({
41833
41869
  variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
41834
41870
  className
41835
41871
  ),
41836
- children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-left", children: [
41872
+ children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-start", children: [
41837
41873
  /* @__PURE__ */ jsx(CopyrightText, { companyName, variant }),
41838
41874
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-4 sm:justify-end", children: [
41839
41875
  /* @__PURE__ */ jsx(
@@ -41971,7 +42007,7 @@ function NavLinks({
41971
42007
  ),
41972
42008
  children: [
41973
42009
  link.label,
41974
- link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "ml-1 inline-block h-3 w-3 opacity-50" })
42010
+ link.external && /* @__PURE__ */ jsx(ExternalLinkIcon2, { className: "ms-1 inline-block h-3 w-3 opacity-50" })
41975
42011
  ]
41976
42012
  },
41977
42013
  link.href
@@ -42157,7 +42193,7 @@ function UserMenu({
42157
42193
  "div",
42158
42194
  {
42159
42195
  "data-slot": "site-header-user-dropdown",
42160
- className: "absolute right-0 z-50 mt-2 w-56 rounded-lg bg-white shadow-lg ring-1 ring-black/5 dark:bg-gray-800 dark:ring-white/10",
42196
+ className: "absolute end-0 z-50 mt-2 w-56 rounded-lg bg-white shadow-lg ring-1 ring-black/5 dark:bg-gray-800 dark:ring-white/10",
42161
42197
  children: [
42162
42198
  /* @__PURE__ */ jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
42163
42199
  /* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
@@ -42185,7 +42221,7 @@ function UserMenu({
42185
42221
  setIsOpen(false);
42186
42222
  },
42187
42223
  className: cn(
42188
- "flex w-full items-center gap-2 px-4 py-2 text-left text-sm",
42224
+ "flex w-full items-center gap-2 px-4 py-2 text-start text-sm",
42189
42225
  index === defaultItems.length - 1 && onLogout ? "text-red-600 hover:bg-red-50 dark:text-red-400 dark:hover:bg-red-900/20" : "text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700"
42190
42226
  ),
42191
42227
  children: [
@@ -42250,7 +42286,7 @@ function MobileMenuPanel({
42250
42286
  "div",
42251
42287
  {
42252
42288
  className: cn(
42253
- "fixed top-0 right-0 bottom-0 z-50 w-80 max-w-full bg-white shadow-xl md:hidden dark:bg-gray-900",
42289
+ "fixed end-0 top-0 bottom-0 z-50 w-80 max-w-full bg-white shadow-xl md:hidden dark:bg-gray-900",
42254
42290
  className
42255
42291
  ),
42256
42292
  children: [
@@ -42282,7 +42318,7 @@ function MobileMenuPanel({
42282
42318
  },
42283
42319
  link.href
42284
42320
  )) }),
42285
- /* @__PURE__ */ jsx("div", { className: "absolute right-0 bottom-0 left-0 border-t border-gray-200 p-4 dark:border-gray-700", children: user ? /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
42321
+ /* @__PURE__ */ jsx("div", { className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 p-4 dark:border-gray-700", children: user ? /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
42286
42322
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 px-2", children: [
42287
42323
  /* @__PURE__ */ jsx("div", { className: "bg-primary-100 text-primary-900 dark:bg-primary-900/30 dark:text-primary-400 flex h-10 w-10 items-center justify-center rounded-full font-medium", children: user.name.split(" ").map((w) => w[0]).join("").slice(0, 2) }),
42288
42324
  /* @__PURE__ */ jsxs("div", { children: [
@@ -42333,22 +42369,19 @@ function MobileMenuPanel({
42333
42369
  )
42334
42370
  ] });
42335
42371
  }
42336
- var headerVariants3 = cva(
42337
- "fixed top-0 left-0 right-0 z-40 transition-colors",
42338
- {
42339
- variants: {
42340
- variant: {
42341
- primary: "bg-primary-800",
42342
- white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
42343
- transparent: "bg-transparent",
42344
- glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
42345
- }
42346
- },
42347
- defaultVariants: {
42348
- variant: "primary"
42372
+ var headerVariants3 = cva("fixed top-0 start-0 end-0 z-40 transition-colors", {
42373
+ variants: {
42374
+ variant: {
42375
+ primary: "bg-primary-800",
42376
+ white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
42377
+ transparent: "bg-transparent",
42378
+ glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
42349
42379
  }
42380
+ },
42381
+ defaultVariants: {
42382
+ variant: "primary"
42350
42383
  }
42351
- );
42384
+ });
42352
42385
  function SiteHeader({
42353
42386
  logo = {},
42354
42387
  links = [],
@@ -42455,7 +42488,7 @@ function CompactHeader({
42455
42488
  {
42456
42489
  href: backHref,
42457
42490
  className: "rounded-lg p-2 text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-800",
42458
- children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5" })
42491
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
42459
42492
  }
42460
42493
  ) : onBack ? /* @__PURE__ */ jsx(
42461
42494
  "button",
@@ -42463,7 +42496,7 @@ function CompactHeader({
42463
42496
  type: "button",
42464
42497
  onClick: onBack,
42465
42498
  className: "rounded-lg p-2 text-gray-700 hover:bg-gray-100 dark:text-white dark:hover:bg-gray-800",
42466
- children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5" })
42499
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon3, { className: "h-5 w-5 rtl:-scale-x-100" })
42467
42500
  }
42468
42501
  ) : null;
42469
42502
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -42480,7 +42513,7 @@ function CompactHeader({
42480
42513
  {
42481
42514
  "data-slot": "site-header-compact",
42482
42515
  className: cn(
42483
- "fixed top-0 right-0 left-0 z-40 border-b border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
42516
+ "fixed start-0 end-0 top-0 z-40 border-b border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
42484
42517
  className
42485
42518
  ),
42486
42519
  children: /* @__PURE__ */ jsxs(
@@ -43430,8 +43463,8 @@ function TocList({
43430
43463
  {
43431
43464
  className: cn(
43432
43465
  "space-y-1",
43433
- depth > 0 && indentLines && "border-border ml-3 border-l pl-3",
43434
- depth > 0 && !indentLines && "ml-4"
43466
+ depth > 0 && indentLines && "border-border ms-3 border-s ps-3",
43467
+ depth > 0 && !indentLines && "ms-4"
43435
43468
  ),
43436
43469
  children: items.map((item) => /* @__PURE__ */ jsxs("li", { children: [
43437
43470
  /* @__PURE__ */ jsx(
@@ -43726,7 +43759,7 @@ function TimelineEventList({
43726
43759
  events.length > 1 && /* @__PURE__ */ jsx(
43727
43760
  "div",
43728
43761
  {
43729
- className: "absolute top-0 bottom-0 left-5 w-px bg-neutral-200 dark:bg-neutral-700",
43762
+ className: "absolute start-5 top-0 bottom-0 w-px bg-neutral-200 dark:bg-neutral-700",
43730
43763
  "aria-hidden": "true"
43731
43764
  }
43732
43765
  ),
@@ -44053,7 +44086,7 @@ function WebChartReportViewer({
44053
44086
  onClick: onReconnect,
44054
44087
  className: "mt-2",
44055
44088
  children: [
44056
- /* @__PURE__ */ jsx(Link$1, { className: "mr-2 h-4 w-4" }),
44089
+ /* @__PURE__ */ jsx(Link$1, { className: "me-2 h-4 w-4" }),
44057
44090
  reconnect
44058
44091
  ]
44059
44092
  }
@@ -44061,7 +44094,7 @@ function WebChartReportViewer({
44061
44094
  ] })
44062
44095
  ] }),
44063
44096
  !error && !loading && /* @__PURE__ */ jsxs(Button, { onClick: onRefreshReports, className: "mb-4", children: [
44064
- /* @__PURE__ */ jsx(RefreshCw$1, { className: "mr-2 h-4 w-4" }),
44097
+ /* @__PURE__ */ jsx(RefreshCw$1, { className: "me-2 h-4 w-4" }),
44065
44098
  refreshReports
44066
44099
  ] }),
44067
44100
  /* @__PURE__ */ jsx(
@@ -44588,6 +44621,6 @@ function WebsiteInputGroup({
44588
44621
  }
44589
44622
  WebsiteInputGroup.displayName = "WebsiteInputGroup";
44590
44623
 
44591
- export { AIChat, AIChatModal, AIChatTrigger, AIReconciliationPanel, AccessDeniedPage, ActionButton2 as ActionButton, ActionButtonsBar, ActiveFilters, AddContactModal, AddServiceCard, AdditionalFields, Address, AddressCard, AddressCompact, AddressDisplay, AddressForm, AddressInline, AppHeader, AppHeaderActions, AppHeaderBrand, AppHeaderDivider, AppHeaderIconButton, AppHeaderSearch, AppHeaderSection, AppHeaderTitle, AppHeaderUserMenu, Assessment, AuthButtons, AuthDialog, BookAppointmentButton, BookingDialog, BusinessHours, BusinessHoursEditor, ButtonGroup, CHANGE_TYPE_LABELS, CONCERN_STATUS_LABELS, CSVColumnMapper, CSVFileUpload, CardSkeleton, CaseContextBar, CaseManagementHeader, CheckrIntegration, ClaimListingButton, ClaimProviderForm, CodingChips, CommandPalette, CommandPaletteProvider, CommandPaletteTrigger, CompactCookieBanner, CompactFilterBar, CompactHeader, CompactHours, CompactProviderHeader, ComposerModelSelector, ConditionEditor, ConnectionStatusBadge, ConnectionStatusBar, ConnectionStatusOverlay, ConsentSwitch, CookieConsentBanner, CopyrightText, CountBadge, CountryDropdown, CreateInvoiceModal, CreateReferralModal, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, DashboardWidget, DashboardWidgetActions, DashboardWidgetDataCards, DashboardWidgetInfo, DashboardWidgetTable, DateRangeFilter, DateRangePicker, DialogOverlay, DisclaimerText, DockablePanel, DocumentDetectionOverlay, DocumentScanner, DropZone, DropzoneOverlay, EditUserRoleModal, EmployeeForm, EmployeeProfileCard, EmployerContactCard, EmployerList, EmployerPricingCard, EmployerServiceModal, EmployerView, ErrorPage, FileManager, FilePreview, FloatingAIChat, FloatingInput, FooterLinkSection, SocialMediaLinks2 as FooterSocialLinks, HRISProviderSelector, HandsFreeChat, HealthSurveillance, HelpSupportPanel, HeroSearchBar, HeyOzwell, HeyOzwellToggle, HoursSummary, ImagingOrderEditor, InlineBookingForm, InventoryManager, InviteUserModal, InvoiceList, InvoicePaymentPage, InvoiceView, LabOrderEditor, LanguageSelector, LanguageSelectorInline, LanguageSelectorNative, LegalLinks, LoadingBar, LoadingDots, LoadingOverlay, LoadingPage, LoadingSkeleton, MODEL_MANIFEST, MaintenancePage, MobileBackButton, MobileMenuButton, MobileMenuPanel, ModelInfoList, NavLinks, NewsletterForm, NotFoundPage, NotificationCenter, ORDER_TYPE_META, ORDER_TYPE_SEARCH_DOMAINS, OfflinePage, OnboardingCompletion, OnboardingStepQuestion, OnboardingWizard, OpenStatusBadge, OrderCard, OrderConfirmation, OrderConfirmationWizard, OrderDetailSidebar, OrderEditor, OrderList, OrderLookupForm, OrderSidebar, OrderSidebarTabs, OzwellChat, OzwellSettingsMenu, PageHeader, PatientHeader, PaymentHistoryTable, PaymentMethodBank, PaymentMethodCard, PaymentMethodList, PendingClaimsTable, PermissionsEditor, PillSelect, PresentingProblems, ProblemList, ProcedureOrderEditor, ProductVersion, ProductVersionBadge, Breadcrumb2 as ProviderBreadcrumb, ProviderCard, ProviderCardGrid, ProviderCardSkeleton, ProviderDetailHeader, ProviderDetailHeaderSkeleton, ProviderLogo2 as ProviderLogo, ProviderOverview, ProviderSearchBar, ProviderSearchFilters, ProviderSelector, ProviderSettings, SocialMediaLinks as ProviderSocialLinks, ProviderUsersTable, QuickBookCard, QuickLinksCard, RELEVANCE_LABELS, RecurringServiceAddCard, RecurringServiceCard, RecurringServiceGrid, RecurringServiceSetupModal, ReferralEditor, RejectionModal, ReportDashboard, ReportDatePicker, ReportLink, ReportTimeRange, ResultsEntryCard, ResultsEntryForm, ResultsEntryModal, SSOConfigForm, ScheduleCalendar, SearchResultsMessage, SelectedServicesBadges, ServerErrorPage, ServiceAccordion, ServiceBadge, ServiceBadgeGroup, ServiceCard, ServiceCategoryBadge, ServiceGeneralSettings, ServiceGrid, ServiceLink, ServiceList, ServiceMultiSelect, ServicePicker, ServicePricingManager, ServiceSelect, ServiceShippingSettings, ServiceTagCloud, ServiceTagCloudBadges, SetupServiceModal, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMobileToggle, SidebarNav, SidebarNavGroup, SidebarNavItem, SidebarProvider, SidebarSearch, SidebarToggle, SimpleFooter, SiteFooter, SiteHeader, SiteLogo, StepIndicator, StripeBadge, StripeSecureBadge, SuggestedActions, TableOfContents, TimelineEventList, TimelineProgress, Toast, ToastContainer, ToastProvider, UncertaintyBadge, UpdateAvailableOverlay, UserMenu, VerifiedBadge2 as VerifiedBadge, VisitScribe, VoiceManager, VoiceSetup, WEBSITE_TYPES, WebChartReportViewer, WebcamModal, WebsiteInput, WebsiteInputGroup, askOzwell, askOzwellStream, attributeSegments, calculateDateRange, centroid, chime, clearVoiceprints, clearWhatPrints, clusterEmbeddings, concernGroupKey, concernHistoryContent, cosine, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, currentAssertion, decodeTo16kMono, defaultCaseManagementHeaderLabels, defaultOrderTabs, defaultReconciliationIsEqual, endsWithDone, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, generateId, getDefaultPresets, getDictationLoad, getExtendedPresets, getGoogleMapsSearchUrl, getGoogleMapsUrl, getOzwellConfig, getVoiceprints, getWakeWarm, inferSpeakerRoles, isConditionCodetype, isOzwellConfigured, isValidUrl, isWhisperLoaded, labelClusters, loadWhatPrints, medicationToOrder, mergeTurns, openRollingRecorder, orderToMedication, orderTypeForCodetype, panelVariants as reconciliationPanelVariants, saveWhatPrints, setVoiceprints, stripStopPhrase, subscribeDictationLoad, subscribeWakeWarm, toOzwellMessages, transcribeBlob, transcribeGate, transcribeSamples, transcribeSegments, transcribeServer, trimTrailingStopPhrase, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDiarization, useDocumentDetection, useDropzone, useFileUpload, useHeyOzwell, useSidebar, useSpeakerVerify, useToast, useVisitScribe, useVoiceSetup, useWakeWord, warmStopGate, warmWakeModels, warmWhisper, widgetVariants };
44624
+ export { AIChat, AIChatModal, AIChatTrigger, AIReconciliationPanel, AccessDeniedPage, ActionButton2 as ActionButton, ActionButtonsBar, ActiveFilters, AddContactModal, AddServiceCard, AdditionalFields, Address, AddressCard, AddressCompact, AddressDisplay, AddressForm, AddressInline, AppHeader, AppHeaderActions, AppHeaderBrand, AppHeaderDivider, AppHeaderIconButton, AppHeaderSearch, AppHeaderSection, AppHeaderTitle, AppHeaderUserMenu, Assessment, AuthButtons, AuthDialog, BookAppointmentButton, BookingDialog, BusinessHours, BusinessHoursEditor, ButtonGroup, CHANGE_TYPE_LABELS, CONCERN_STATUS_LABELS, CSVColumnMapper, CSVFileUpload, CardSkeleton, CaseContextBar, CaseManagementHeader, CheckrIntegration, ClaimListingButton, ClaimProviderForm, CodingChips, CommandPalette, CommandPaletteProvider, CommandPaletteTrigger, CompactCookieBanner, CompactFilterBar, CompactHeader, CompactHours, CompactProviderHeader, ComposerModelSelector, ConditionEditor, ConnectionStatusBadge, ConnectionStatusBar, ConnectionStatusOverlay, ConsentSwitch, CookieConsentBanner, CopyrightText, CountBadge, CountryDropdown, CreateInvoiceModal, CreateReferralModal, DEFAULT_ERROR_CONFIGS, DEFAULT_LANGUAGES, DEFAULT_RADIUS_OPTIONS, DEFAULT_SOCIAL_PROVIDERS, DOTBadge, DashboardWidget, DashboardWidgetActions, DashboardWidgetDataCards, DashboardWidgetInfo, DashboardWidgetTable, DateRangeFilter, DateRangePicker, DialogOverlay, DisclaimerText, DockablePanel, DocumentDetectionOverlay, DocumentScanner, DropZone, DropzoneOverlay, EditUserRoleModal, EmployeeForm, EmployeeProfileCard, EmployerContactCard, EmployerList, EmployerPricingCard, EmployerServiceModal, EmployerView, ErrorPage, FileManager, FilePreview, FloatingAIChat, FloatingInput, FooterLinkSection, SocialMediaLinks2 as FooterSocialLinks, HRISProviderSelector, HandsFreeChat, HealthSurveillance, HelpSupportPanel, HeroSearchBar, HeyOzwell, HeyOzwellToggle, HoursSummary, ImagingOrderEditor, InlineBookingForm, InventoryManager, InviteUserModal, InvoiceList, InvoicePaymentPage, InvoiceView, LabOrderEditor, LanguageSelector, LanguageSelectorInline, LanguageSelectorNative, LegalLinks, LoadingBar, LoadingDots, LoadingOverlay, LoadingPage, LoadingSkeleton, MODEL_MANIFEST, MaintenancePage, MobileBackButton, MobileMenuButton, MobileMenuPanel, ModelInfoList, NavLinks, NewsletterForm, NotFoundPage, NotificationCenter, ORDER_TYPE_META, ORDER_TYPE_SEARCH_DOMAINS, OfflinePage, OnboardingCompletion, OnboardingStepQuestion, OnboardingWizard, OpenStatusBadge, OrderCard, OrderConfirmation, OrderConfirmationWizard, OrderDetailSidebar, OrderEditor, OrderList, OrderLookupForm, OrderSidebar, OrderSidebarTabs, OzwellChat, OzwellSettingsMenu, PageHeader, PatientHeader, PaymentHistoryTable, PaymentMethodBank, PaymentMethodCard, PaymentMethodList, PendingClaimsTable, PermissionsEditor, PillSelect, PresentingProblems, ProblemList, ProcedureOrderEditor, ProductVersion, ProductVersionBadge, Breadcrumb2 as ProviderBreadcrumb, ProviderCard, ProviderCardGrid, ProviderCardSkeleton, ProviderDetailHeader, ProviderDetailHeaderSkeleton, ProviderLogo2 as ProviderLogo, ProviderOverview, ProviderSearchBar, ProviderSearchFilters, ProviderSelector, ProviderSettings, SocialMediaLinks as ProviderSocialLinks, ProviderUsersTable, QuickBookCard, QuickLinksCard, RELEVANCE_LABELS, RecurringServiceAddCard, RecurringServiceCard, RecurringServiceGrid, RecurringServiceSetupModal, ReferralEditor, RejectionModal, ReportDashboard, ReportDatePicker, ReportLink, ReportTimeRange, ResultsEntryCard, ResultsEntryForm, ResultsEntryModal, SSOConfigForm, ScheduleCalendar, SearchResultsMessage, SelectedServicesBadges, ServerErrorPage, ServiceAccordion, ServiceBadge, ServiceBadgeGroup, ServiceCard, ServiceCategoryBadge, ServiceGeneralSettings, ServiceGrid, ServiceLink, ServiceList, ServiceMultiSelect, ServicePicker, ServicePricingManager, ServiceSelect, ServiceShippingSettings, ServiceTagCloud, ServiceTagCloudBadges, SetupServiceModal, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMobileToggle, SidebarNav, SidebarNavGroup, SidebarNavItem, SidebarProvider, SidebarSearch, SidebarToggle, SimpleFooter, SiteFooter, SiteHeader, SiteLogo, StepIndicator, StripeBadge, StripeSecureBadge, SuggestedActions, TableOfContents, TimelineEventList, TimelineProgress, Toast, ToastContainer, ToastProvider, UncertaintyBadge, UpdateAvailableOverlay, UserMenu, VerifiedBadge2 as VerifiedBadge, VisitScribe, VoiceManager, VoiceSetup, WEBSITE_TYPES, WebChartReportViewer, WebcamModal, WebsiteInput, WebsiteInputGroup, askOzwell, askOzwellStream, attributeSegments, calculateDateRange, centroid, chime, clearVoiceprints, clearWhatPrints, clusterEmbeddings, concernGroupKey, concernHistoryContent, cosine, countBadgeVariants, countChipVariants, create24HourSchedule, createDefaultSchedule, createWeekdaySchedule, currentAssertion, decodeTo16kMono, defaultCaseManagementHeaderLabels, defaultOrderTabs, defaultReconciliationIsEqual, endsWithDone, formatAddressLines, formatAddressSingleLine, formatCityState, formatCityStateZip, generateId, getDefaultPresets, getDictationLoad, getExtendedPresets, getGoogleMapsSearchUrl, getGoogleMapsUrl, getOzwellConfig, getVoiceprints, getWakeWarm, inferSpeakerRoles, isConditionCodetype, isOzwellConfigured, isValidUrl, isWhisperLoaded, labelClusters, loadWhatPrints, medicationToOrder, mergeTurns, openRollingRecorder, orderToMedication, orderTypeForCodetype, panelVariants as reconciliationPanelVariants, saveWhatPrints, setVoiceprints, stripStopPhrase, subscribeDictationLoad, subscribeWakeWarm, toOzwellMessages, transcribeBlob, transcribeGate, transcribeSamples, transcribeSegments, transcribeServer, trimTrailingStopPhrase, useCamera, useCommandPalette, useConnectionStatus, useCookieConsent, useDiarization, useDocumentDetection, useDropzone, useFileUpload, useHeyOzwell, useOptionalToast, useSidebar, useSpeakerVerify, useToast, useVisitScribe, useVoiceSetup, useWakeWord, warmStopGate, warmWakeModels, warmWhisper, widgetVariants };
44592
44625
  //# sourceMappingURL=index.js.map
44593
44626
  //# sourceMappingURL=index.js.map