@fluid-app/portal-sdk 0.1.249 → 0.1.251

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 (224) hide show
  1. package/dist/{AddressAutocompleteInput-B0qLrCHN.mjs → AddressAutocompleteInput-Bdsv2iFU.mjs} +2 -2
  2. package/dist/{AddressAutocompleteInput-B0qLrCHN.mjs.map → AddressAutocompleteInput-Bdsv2iFU.mjs.map} +1 -1
  3. package/dist/{ChartWidget-Ci4Q0Ig-.mjs → ChartWidget-aFsH9gwD.mjs} +2 -2
  4. package/dist/{ChartWidget-Ci4Q0Ig-.mjs.map → ChartWidget-aFsH9gwD.mjs.map} +1 -1
  5. package/dist/{ContactsScreen-Bq8zrA8k.mjs → ContactsScreen-DlxwuLwy.mjs} +4 -4
  6. package/dist/{ContactsScreen-Bq8zrA8k.mjs.map → ContactsScreen-DlxwuLwy.mjs.map} +1 -1
  7. package/dist/{FluidProvider-DS1QKy5j.mjs → FluidProvider-CvS807e4.mjs} +9 -9
  8. package/dist/{FluidProvider-DS1QKy5j.mjs.map → FluidProvider-CvS807e4.mjs.map} +1 -1
  9. package/dist/{InfiniteScrollSentinel-BHIgNtHI.mjs → InfiniteScrollSentinel-Dq--_LMC.mjs} +2 -2
  10. package/dist/{InfiniteScrollSentinel-BHIgNtHI.mjs.map → InfiniteScrollSentinel-Dq--_LMC.mjs.map} +1 -1
  11. package/dist/{LinkWidget-utkZrvAV.mjs → LinkWidget-CcEATaYa.mjs} +2 -2
  12. package/dist/{LinkWidget-utkZrvAV.mjs.map → LinkWidget-CcEATaYa.mjs.map} +1 -1
  13. package/dist/{MessagingScreen-CJ_9yIHK.mjs → MessagingScreen-D7crRUnX.mjs} +4 -4
  14. package/dist/{MessagingScreen-CJ_9yIHK.mjs.map → MessagingScreen-D7crRUnX.mjs.map} +1 -1
  15. package/dist/{MessagingScreen-s7CL9vPN.mjs → MessagingScreen-DZfFOdFI.mjs} +8 -8
  16. package/dist/{MessagingScreen-DeYSVcMd.cjs → MessagingScreen-GLb5id9n.cjs} +63 -130
  17. package/dist/MessagingScreen-GLb5id9n.cjs.map +1 -0
  18. package/dist/{MessagingScreen-FHwytr8B.cjs → MessagingScreen-jOf-MSk1.cjs} +1 -1
  19. package/dist/{MySiteScreen-DX8tBz8Z.mjs → MySiteScreen-CZFM4MQO.mjs} +3 -3
  20. package/dist/{MySiteScreen-DX8tBz8Z.mjs.map → MySiteScreen-CZFM4MQO.mjs.map} +1 -1
  21. package/dist/{OrdersScreen-B3vtWt8_.mjs → OrdersScreen-BDTtvnBR.mjs} +3 -3
  22. package/dist/{OrdersScreen-B3vtWt8_.mjs.map → OrdersScreen-BDTtvnBR.mjs.map} +1 -1
  23. package/dist/{ProfileScreen-IPuXlf9V.mjs → ProfileScreen--6ETap-j.mjs} +5 -5
  24. package/dist/{ProfileScreen-IPuXlf9V.mjs.map → ProfileScreen--6ETap-j.mjs.map} +1 -1
  25. package/dist/{ProfileScreen-m3fTsHyw.mjs → ProfileScreen-BXzIR1xc.mjs} +9 -9
  26. package/dist/{SearchSort-B5Jrk5lW.mjs → SearchSort-CnUiCGu2.mjs} +2 -2
  27. package/dist/{SearchSort-B5Jrk5lW.mjs.map → SearchSort-CnUiCGu2.mjs.map} +1 -1
  28. package/dist/{ShareablesScreen-NMoZH9ed.mjs → ShareablesScreen-BY47-Q_G.mjs} +4 -4
  29. package/dist/{ShareablesScreen-NMoZH9ed.mjs.map → ShareablesScreen-BY47-Q_G.mjs.map} +1 -1
  30. package/dist/{ShareablesScreen-Cd8chxk4.mjs → ShareablesScreen-D0z03RD0.mjs} +4 -4
  31. package/dist/{ShopScreen-DJANOOka.mjs → ShopScreen-BLU3IQ5B.mjs} +24 -24
  32. package/dist/{ShopScreen-DJANOOka.mjs.map → ShopScreen-BLU3IQ5B.mjs.map} +1 -1
  33. package/dist/{ShopScreen-CM3DDvLt.cjs → ShopScreen-BsfMjIPn.cjs} +21 -21
  34. package/dist/{ShopScreen-CM3DDvLt.cjs.map → ShopScreen-BsfMjIPn.cjs.map} +1 -1
  35. package/dist/{ShopScreen-BvSiWgsJ.mjs → ShopScreen-CKRSy_uk.mjs} +8 -8
  36. package/dist/{ShopScreen-Cz0dbkhp.cjs → ShopScreen-P7EazKlQ.cjs} +1 -1
  37. package/dist/{SubscriptionsScreen-DCUwHrdm.cjs → SubscriptionsScreen-BToWvdTh.cjs} +661 -252
  38. package/dist/SubscriptionsScreen-BToWvdTh.cjs.map +1 -0
  39. package/dist/{SubscriptionsScreen-rZxqb0eR.mjs → SubscriptionsScreen-CTGqV8gK.mjs} +567 -218
  40. package/dist/SubscriptionsScreen-CTGqV8gK.mjs.map +1 -0
  41. package/dist/{SubscriptionsScreen-BgKpfzi0.cjs → SubscriptionsScreen-DHTV7cFL.cjs} +1 -1
  42. package/dist/{TableWidget-CNCHDRrR.mjs → TableWidget-BtAfTNH_.mjs} +2 -2
  43. package/dist/{TableWidget-CNCHDRrR.mjs.map → TableWidget-BtAfTNH_.mjs.map} +1 -1
  44. package/dist/{ToDoWidget-C3lh-3SB.mjs → ToDoWidget-bn9bc_MO.mjs} +2 -2
  45. package/dist/{ToDoWidget-C3lh-3SB.mjs.map → ToDoWidget-bn9bc_MO.mjs.map} +1 -1
  46. package/dist/{UpgradeScreen-D_CM1n1M.mjs → UpgradeScreen-B-5QKZ_X.mjs} +2 -2
  47. package/dist/{UpgradeScreen-D_CM1n1M.mjs.map → UpgradeScreen-B-5QKZ_X.mjs.map} +1 -1
  48. package/dist/{components-D2h9u3tH.mjs → components-hloC7Tbu.mjs} +2 -2
  49. package/dist/{components-D2h9u3tH.mjs.map → components-hloC7Tbu.mjs.map} +1 -1
  50. package/dist/de-DGEv3Wj7.cjs +43 -0
  51. package/dist/de-DGEv3Wj7.cjs.map +1 -0
  52. package/dist/de-f_0MEvly.mjs +37 -0
  53. package/dist/de-f_0MEvly.mjs.map +1 -0
  54. package/dist/el-DBeHybzu.mjs +37 -0
  55. package/dist/el-DBeHybzu.mjs.map +1 -0
  56. package/dist/el-a-BUUyaN.cjs +43 -0
  57. package/dist/el-a-BUUyaN.cjs.map +1 -0
  58. package/dist/{es-C5dhBJ9E.mjs → es-B1tdcIoq.mjs} +2 -2
  59. package/dist/{es-C5dhBJ9E.mjs.map → es-B1tdcIoq.mjs.map} +1 -1
  60. package/dist/es-N-LjvJCS.cjs +43 -0
  61. package/dist/es-N-LjvJCS.cjs.map +1 -0
  62. package/dist/es-zRvcomm1.mjs +37 -0
  63. package/dist/es-zRvcomm1.mjs.map +1 -0
  64. package/dist/fr-CFggon_j.cjs +43 -0
  65. package/dist/fr-CFggon_j.cjs.map +1 -0
  66. package/dist/fr-DZ8hb7Li.mjs +37 -0
  67. package/dist/fr-DZ8hb7Li.mjs.map +1 -0
  68. package/dist/he-BXo3e9k9.mjs +37 -0
  69. package/dist/he-BXo3e9k9.mjs.map +1 -0
  70. package/dist/he-T4b_SIEg.cjs +43 -0
  71. package/dist/he-T4b_SIEg.cjs.map +1 -0
  72. package/dist/hu-C5uVO1Gi.cjs +43 -0
  73. package/dist/hu-C5uVO1Gi.cjs.map +1 -0
  74. package/dist/hu-DUbmD_v7.mjs +37 -0
  75. package/dist/hu-DUbmD_v7.mjs.map +1 -0
  76. package/dist/id-I8bH5NN_.mjs +37 -0
  77. package/dist/id-I8bH5NN_.mjs.map +1 -0
  78. package/dist/id-_R_sj2Zl.cjs +43 -0
  79. package/dist/id-_R_sj2Zl.cjs.map +1 -0
  80. package/dist/index.cjs +9 -9
  81. package/dist/index.mjs +39 -39
  82. package/dist/{format-CLUjV1oR.cjs → isAfter-DXdeICis.cjs} +80 -1
  83. package/dist/isAfter-DXdeICis.cjs.map +1 -0
  84. package/dist/it-BMvqaIb9.cjs +43 -0
  85. package/dist/it-BMvqaIb9.cjs.map +1 -0
  86. package/dist/it-D3Jf5QRi.mjs +37 -0
  87. package/dist/it-D3Jf5QRi.mjs.map +1 -0
  88. package/dist/ja-9CIQCExk.mjs +37 -0
  89. package/dist/ja-9CIQCExk.mjs.map +1 -0
  90. package/dist/ja-DBbelgna.cjs +43 -0
  91. package/dist/ja-DBbelgna.cjs.map +1 -0
  92. package/dist/ko-Bw-gMUu6.mjs +37 -0
  93. package/dist/ko-Bw-gMUu6.mjs.map +1 -0
  94. package/dist/ko-C0Tajaz1.cjs +43 -0
  95. package/dist/ko-C0Tajaz1.cjs.map +1 -0
  96. package/dist/nl-B89YTYeT.cjs +43 -0
  97. package/dist/nl-B89YTYeT.cjs.map +1 -0
  98. package/dist/nl-DDGMf5eH.mjs +37 -0
  99. package/dist/nl-DDGMf5eH.mjs.map +1 -0
  100. package/dist/{order-status-badge-CjX7Qxdk.mjs → order-status-badge-CKLegNhv.mjs} +4 -4
  101. package/dist/{order-status-badge-CjX7Qxdk.mjs.map → order-status-badge-CKLegNhv.mjs.map} +1 -1
  102. package/dist/pl--xhIwSlw.cjs +43 -0
  103. package/dist/pl--xhIwSlw.cjs.map +1 -0
  104. package/dist/pl-CdZlOTsS.mjs +37 -0
  105. package/dist/pl-CdZlOTsS.mjs.map +1 -0
  106. package/dist/pt-BdKQZfRo.mjs +37 -0
  107. package/dist/pt-BdKQZfRo.mjs.map +1 -0
  108. package/dist/pt-Cfp_A3CX.cjs +43 -0
  109. package/dist/pt-Cfp_A3CX.cjs.map +1 -0
  110. package/dist/ro-DnAztrxY.mjs +37 -0
  111. package/dist/ro-DnAztrxY.mjs.map +1 -0
  112. package/dist/ro-Qp0OJAI0.cjs +43 -0
  113. package/dist/ro-Qp0OJAI0.cjs.map +1 -0
  114. package/dist/ru-BkBpELbx.mjs +37 -0
  115. package/dist/ru-BkBpELbx.mjs.map +1 -0
  116. package/dist/ru-CY41Fh7R.cjs +43 -0
  117. package/dist/ru-CY41Fh7R.cjs.map +1 -0
  118. package/dist/{src-KINQ78Nj.mjs → src-jSFuc4IV.mjs} +2 -2
  119. package/dist/{src-KINQ78Nj.mjs.map → src-jSFuc4IV.mjs.map} +1 -1
  120. package/dist/th--13cvzk3.cjs +43 -0
  121. package/dist/th--13cvzk3.cjs.map +1 -0
  122. package/dist/th-B4QOqrXn.mjs +37 -0
  123. package/dist/th-B4QOqrXn.mjs.map +1 -0
  124. package/dist/tl-CEypklNf.mjs +37 -0
  125. package/dist/tl-CEypklNf.mjs.map +1 -0
  126. package/dist/tl-CaqI-eLl.cjs +43 -0
  127. package/dist/tl-CaqI-eLl.cjs.map +1 -0
  128. package/dist/tr-BzJ5aLBX.cjs +43 -0
  129. package/dist/tr-BzJ5aLBX.cjs.map +1 -0
  130. package/dist/tr-DUrLeX63.mjs +37 -0
  131. package/dist/tr-DUrLeX63.mjs.map +1 -0
  132. package/dist/zh_CN-2xAokYb4.cjs +43 -0
  133. package/dist/zh_CN-2xAokYb4.cjs.map +1 -0
  134. package/dist/zh_CN-Bhfuxe7w.mjs +37 -0
  135. package/dist/zh_CN-Bhfuxe7w.mjs.map +1 -0
  136. package/dist/zh_TW-B9XT91CL.cjs +43 -0
  137. package/dist/zh_TW-B9XT91CL.cjs.map +1 -0
  138. package/dist/zh_TW-DR3xhpLa.mjs +37 -0
  139. package/dist/zh_TW-DR3xhpLa.mjs.map +1 -0
  140. package/package.json +14 -14
  141. package/dist/MessagingScreen-DeYSVcMd.cjs.map +0 -1
  142. package/dist/SubscriptionsScreen-DCUwHrdm.cjs.map +0 -1
  143. package/dist/SubscriptionsScreen-rZxqb0eR.mjs.map +0 -1
  144. package/dist/de-CH__cDep.mjs +0 -6
  145. package/dist/de-CH__cDep.mjs.map +0 -1
  146. package/dist/de-CqKH8kwp.cjs +0 -12
  147. package/dist/de-CqKH8kwp.cjs.map +0 -1
  148. package/dist/el-CIrAhB-W.cjs +0 -12
  149. package/dist/el-CIrAhB-W.cjs.map +0 -1
  150. package/dist/el-De9QZiqh.mjs +0 -6
  151. package/dist/el-De9QZiqh.mjs.map +0 -1
  152. package/dist/es-4Wsa13tV.cjs +0 -12
  153. package/dist/es-4Wsa13tV.cjs.map +0 -1
  154. package/dist/es-CZLh7tET.mjs +0 -6
  155. package/dist/es-CZLh7tET.mjs.map +0 -1
  156. package/dist/format-CLUjV1oR.cjs.map +0 -1
  157. package/dist/fr-BDKPrKKW.cjs +0 -12
  158. package/dist/fr-BDKPrKKW.cjs.map +0 -1
  159. package/dist/fr-CIfM_0kG.mjs +0 -6
  160. package/dist/fr-CIfM_0kG.mjs.map +0 -1
  161. package/dist/he-5dq6lV2h.cjs +0 -12
  162. package/dist/he-5dq6lV2h.cjs.map +0 -1
  163. package/dist/he-BTK1iEJE.mjs +0 -6
  164. package/dist/he-BTK1iEJE.mjs.map +0 -1
  165. package/dist/hu-CrZGIbz9.mjs +0 -6
  166. package/dist/hu-CrZGIbz9.mjs.map +0 -1
  167. package/dist/hu-Dpgriy5N.cjs +0 -12
  168. package/dist/hu-Dpgriy5N.cjs.map +0 -1
  169. package/dist/id-B-LeCfHj.mjs +0 -6
  170. package/dist/id-B-LeCfHj.mjs.map +0 -1
  171. package/dist/id-Ba-0RT7y.cjs +0 -12
  172. package/dist/id-Ba-0RT7y.cjs.map +0 -1
  173. package/dist/it-CaxIV-R4.cjs +0 -12
  174. package/dist/it-CaxIV-R4.cjs.map +0 -1
  175. package/dist/it-rIkFmAF3.mjs +0 -6
  176. package/dist/it-rIkFmAF3.mjs.map +0 -1
  177. package/dist/ja--J_bhk3I.mjs +0 -6
  178. package/dist/ja--J_bhk3I.mjs.map +0 -1
  179. package/dist/ja-Lcg_Qqtj.cjs +0 -12
  180. package/dist/ja-Lcg_Qqtj.cjs.map +0 -1
  181. package/dist/ko-B2fghWQ9.mjs +0 -6
  182. package/dist/ko-B2fghWQ9.mjs.map +0 -1
  183. package/dist/ko-CFu0TjJO.cjs +0 -12
  184. package/dist/ko-CFu0TjJO.cjs.map +0 -1
  185. package/dist/nl-DR9IRXGT.cjs +0 -12
  186. package/dist/nl-DR9IRXGT.cjs.map +0 -1
  187. package/dist/nl-KgHmrRKy.mjs +0 -6
  188. package/dist/nl-KgHmrRKy.mjs.map +0 -1
  189. package/dist/pl-BJvDPvs3.mjs +0 -6
  190. package/dist/pl-BJvDPvs3.mjs.map +0 -1
  191. package/dist/pl-DSGSRDM2.cjs +0 -12
  192. package/dist/pl-DSGSRDM2.cjs.map +0 -1
  193. package/dist/pt-CmZpxftX.mjs +0 -6
  194. package/dist/pt-CmZpxftX.mjs.map +0 -1
  195. package/dist/pt-Pz_D1HUz.cjs +0 -12
  196. package/dist/pt-Pz_D1HUz.cjs.map +0 -1
  197. package/dist/ro-BoGeZTac.cjs +0 -12
  198. package/dist/ro-BoGeZTac.cjs.map +0 -1
  199. package/dist/ro-C_4rHVWp.mjs +0 -6
  200. package/dist/ro-C_4rHVWp.mjs.map +0 -1
  201. package/dist/ru-B0lzoBye.mjs +0 -6
  202. package/dist/ru-B0lzoBye.mjs.map +0 -1
  203. package/dist/ru-Cd7LUmcu.cjs +0 -12
  204. package/dist/ru-Cd7LUmcu.cjs.map +0 -1
  205. package/dist/th-DwLAQd0u.cjs +0 -12
  206. package/dist/th-DwLAQd0u.cjs.map +0 -1
  207. package/dist/th-QhoPGZ6C.mjs +0 -6
  208. package/dist/th-QhoPGZ6C.mjs.map +0 -1
  209. package/dist/tl-Dsfp243U.mjs +0 -6
  210. package/dist/tl-Dsfp243U.mjs.map +0 -1
  211. package/dist/tl-DwAVpDyB.cjs +0 -12
  212. package/dist/tl-DwAVpDyB.cjs.map +0 -1
  213. package/dist/tr-BFbCmHQZ.cjs +0 -12
  214. package/dist/tr-BFbCmHQZ.cjs.map +0 -1
  215. package/dist/tr-BiolaqkO.mjs +0 -6
  216. package/dist/tr-BiolaqkO.mjs.map +0 -1
  217. package/dist/zh_CN-Cn-k18Y5.cjs +0 -12
  218. package/dist/zh_CN-Cn-k18Y5.cjs.map +0 -1
  219. package/dist/zh_CN-DcGf3QsR.mjs +0 -6
  220. package/dist/zh_CN-DcGf3QsR.mjs.map +0 -1
  221. package/dist/zh_TW-CIUhIeJP.cjs +0 -12
  222. package/dist/zh_TW-CIUhIeJP.cjs.map +0 -1
  223. package/dist/zh_TW-DFw2O0OX.mjs +0 -6
  224. package/dist/zh_TW-DFw2O0OX.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import "./FluidProvider-DS1QKy5j.mjs";
1
+ import "./FluidProvider-CvS807e4.mjs";
2
2
  import "./ScreenRenderer-BQal-fnZ.mjs";
3
3
  import "./account-api-context-BIZ_aibJ.mjs";
4
4
  import "./store-api-context-C1lXT_3d.mjs";
@@ -22,12 +22,12 @@ import "./purify.es-Ba5Ug4-y.mjs";
22
22
  import "./MediaRenderer-13Jlf38P.mjs";
23
23
  import "./CarouselWidget-C0X-nFyW.mjs";
24
24
  import "./CatchUpWidget-BkeZR91e.mjs";
25
- import "./src-KINQ78Nj.mjs";
26
- import { n as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-CJ_9yIHK.mjs";
27
- import "./ChartWidget-Ci4Q0Ig-.mjs";
25
+ import "./src-jSFuc4IV.mjs";
26
+ import { n as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-D7crRUnX.mjs";
27
+ import "./ChartWidget-aFsH9gwD.mjs";
28
28
  import "./ContainerWidget-cbX_KEOQ.mjs";
29
29
  import "./ImageWidget-DmaAQZBK.mjs";
30
- import "./LinkWidget-utkZrvAV.mjs";
30
+ import "./LinkWidget-CcEATaYa.mjs";
31
31
  import "./ListWidget-CNAxW_3c.mjs";
32
32
  import "./MySiteWidget-C0n9cSw7.mjs";
33
33
  import "./scroll-arrows-D90Miaz_.mjs";
@@ -38,10 +38,10 @@ import "./QuickShareWidget-DJ0Y71om.mjs";
38
38
  import "./RecentActivityWidget-Rpj33TiN.mjs";
39
39
  import "./SeparatorWidget-Bgzsloji.mjs";
40
40
  import "./SpacerWidget-C1byII28.mjs";
41
- import "./TableWidget-CNCHDRrR.mjs";
42
- import "./ToDoWidget-C3lh-3SB.mjs";
41
+ import "./TableWidget-BtAfTNH_.mjs";
42
+ import "./ToDoWidget-bn9bc_MO.mjs";
43
43
  import "./VideoWidget-DKhqN_Rx.mjs";
44
44
  import "./ScreenHeaderContext-4WYXIqQ5.mjs";
45
45
  import "./dist-BstXVe25.mjs";
46
- import "./es-C5dhBJ9E.mjs";
46
+ import "./es-B1tdcIoq.mjs";
47
47
  export { MessagingScreen, messagingScreenPropertySchema };
@@ -4,7 +4,7 @@ const require_src = require("./src-uhf6Szlw.cjs");
4
4
  const require_ScreenHeaderContext = require("./ScreenHeaderContext-oIu5Bvhs.cjs");
5
5
  const require_use_store = require("./use-store-D2S1FywW.cjs");
6
6
  const require_use_account = require("./use-account-D6Z9hkDX.cjs");
7
- const require_format = require("./format-CLUjV1oR.cjs");
7
+ const require_isAfter = require("./isAfter-DXdeICis.cjs");
8
8
  const require_dist = require("./dist-D_3_ZuC5.cjs");
9
9
  const require_es = require("./es-B5heQ57j.cjs");
10
10
  let react = require("react");
@@ -4395,50 +4395,6 @@ function MessagesHeader({ conversation, renderUserProfile, onToast }) {
4395
4395
  return null;
4396
4396
  }
4397
4397
  //#endregion
4398
- //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/addMonths.js
4399
- /**
4400
- * The {@link addMonths} function options.
4401
- */
4402
- /**
4403
- * @name addMonths
4404
- * @category Month Helpers
4405
- * @summary Add the specified number of months to the given date.
4406
- *
4407
- * @description
4408
- * Add the specified number of months to the given date.
4409
- *
4410
- * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
4411
- * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.
4412
- *
4413
- * @param date - The date to be changed
4414
- * @param amount - The amount of months to be added.
4415
- * @param options - The options object
4416
- *
4417
- * @returns The new date with the months added
4418
- *
4419
- * @example
4420
- * // Add 5 months to 1 September 2014:
4421
- * const result = addMonths(new Date(2014, 8, 1), 5)
4422
- * //=> Sun Feb 01 2015 00:00:00
4423
- *
4424
- * // Add one month to 30 January 2023:
4425
- * const result = addMonths(new Date(2023, 0, 30), 1)
4426
- * //=> Tue Feb 28 2023 00:00:00
4427
- */
4428
- function addMonths(date, amount, options) {
4429
- const _date = require_format.toDate(date, options?.in);
4430
- if (isNaN(amount)) return require_format.constructFrom(options?.in || date, NaN);
4431
- if (!amount) return _date;
4432
- const dayOfMonth = _date.getDate();
4433
- const endOfDesiredMonth = require_format.constructFrom(options?.in || date, _date.getTime());
4434
- endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);
4435
- if (dayOfMonth >= endOfDesiredMonth.getDate()) return endOfDesiredMonth;
4436
- else {
4437
- _date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);
4438
- return _date;
4439
- }
4440
- }
4441
- //#endregion
4442
4398
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isWeekend.js
4443
4399
  /**
4444
4400
  * The {@link isWeekend} function options.
@@ -4462,7 +4418,7 @@ function addMonths(date, amount, options) {
4462
4418
  * //=> true
4463
4419
  */
4464
4420
  function isWeekend(date, options) {
4465
- const day = require_format.toDate(date, options?.in).getDay();
4421
+ const day = require_isAfter.toDate(date, options?.in).getDay();
4466
4422
  return day === 0 || day === 6;
4467
4423
  }
4468
4424
  //#endregion
@@ -4493,8 +4449,8 @@ function isWeekend(date, options) {
4493
4449
  * //=> Thu Jul 10 2014 12:30:00
4494
4450
  */
4495
4451
  function addMinutes(date, amount, options) {
4496
- const _date = require_format.toDate(date, options?.in);
4497
- _date.setTime(_date.getTime() + amount * require_format.millisecondsInMinute);
4452
+ const _date = require_isAfter.toDate(date, options?.in);
4453
+ _date.setTime(_date.getTime() + amount * require_isAfter.millisecondsInMinute);
4498
4454
  return _date;
4499
4455
  }
4500
4456
  //#endregion
@@ -4532,7 +4488,7 @@ function addMinutes(date, amount, options) {
4532
4488
  * // ]
4533
4489
  */
4534
4490
  function compareAsc(dateLeft, dateRight) {
4535
- const diff = +require_format.toDate(dateLeft) - +require_format.toDate(dateRight);
4491
+ const diff = +require_isAfter.toDate(dateLeft) - +require_isAfter.toDate(dateRight);
4536
4492
  if (diff < 0) return -1;
4537
4493
  else if (diff > 0) return 1;
4538
4494
  return diff;
@@ -4568,7 +4524,7 @@ function compareAsc(dateLeft, dateRight) {
4568
4524
  * }
4569
4525
  */
4570
4526
  function constructNow(date) {
4571
- return require_format.constructFrom(date, Date.now());
4527
+ return require_isAfter.constructFrom(date, Date.now());
4572
4528
  }
4573
4529
  //#endregion
4574
4530
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameDay.js
@@ -4605,8 +4561,8 @@ function constructNow(date) {
4605
4561
  * //=> false
4606
4562
  */
4607
4563
  function isSameDay(laterDate, earlierDate, options) {
4608
- const [dateLeft_, dateRight_] = require_format.normalizeDates(options?.in, laterDate, earlierDate);
4609
- return +require_format.startOfDay(dateLeft_) === +require_format.startOfDay(dateRight_);
4564
+ const [dateLeft_, dateRight_] = require_isAfter.normalizeDates(options?.in, laterDate, earlierDate);
4565
+ return +require_isAfter.startOfDay(dateLeft_) === +require_isAfter.startOfDay(dateRight_);
4610
4566
  }
4611
4567
  //#endregion
4612
4568
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInCalendarMonths.js
@@ -4636,7 +4592,7 @@ function isSameDay(laterDate, earlierDate, options) {
4636
4592
  * //=> 8
4637
4593
  */
4638
4594
  function differenceInCalendarMonths(laterDate, earlierDate, options) {
4639
- const [laterDate_, earlierDate_] = require_format.normalizeDates(options?.in, laterDate, earlierDate);
4595
+ const [laterDate_, earlierDate_] = require_isAfter.normalizeDates(options?.in, laterDate, earlierDate);
4640
4596
  const yearsDiff = laterDate_.getFullYear() - earlierDate_.getFullYear();
4641
4597
  const monthsDiff = laterDate_.getMonth() - earlierDate_.getMonth();
4642
4598
  return yearsDiff * 12 + monthsDiff;
@@ -4700,9 +4656,9 @@ function differenceInCalendarMonths(laterDate, earlierDate, options) {
4700
4656
  * //=> 92
4701
4657
  */
4702
4658
  function differenceInDays(laterDate, earlierDate, options) {
4703
- const [laterDate_, earlierDate_] = require_format.normalizeDates(options?.in, laterDate, earlierDate);
4659
+ const [laterDate_, earlierDate_] = require_isAfter.normalizeDates(options?.in, laterDate, earlierDate);
4704
4660
  const sign = compareLocalAsc(laterDate_, earlierDate_);
4705
- const difference = Math.abs(require_format.differenceInCalendarDays(laterDate_, earlierDate_));
4661
+ const difference = Math.abs(require_isAfter.differenceInCalendarDays(laterDate_, earlierDate_));
4706
4662
  laterDate_.setDate(laterDate_.getDate() - sign * difference);
4707
4663
  const result = sign * (difference - Number(compareLocalAsc(laterDate_, earlierDate_) === -sign));
4708
4664
  return result === 0 ? 0 : result;
@@ -4749,8 +4705,8 @@ function getRoundingMethod(method) {
4749
4705
  * //=> 12
4750
4706
  */
4751
4707
  function differenceInHours(laterDate, earlierDate, options) {
4752
- const [laterDate_, earlierDate_] = require_format.normalizeDates(options?.in, laterDate, earlierDate);
4753
- const diff = (+laterDate_ - +earlierDate_) / require_format.millisecondsInHour;
4708
+ const [laterDate_, earlierDate_] = require_isAfter.normalizeDates(options?.in, laterDate, earlierDate);
4709
+ const diff = (+laterDate_ - +earlierDate_) / require_isAfter.millisecondsInHour;
4754
4710
  return getRoundingMethod(options?.roundingMethod)(diff);
4755
4711
  }
4756
4712
  //#endregion
@@ -4778,7 +4734,7 @@ function differenceInHours(laterDate, earlierDate, options) {
4778
4734
  * //=> 1100
4779
4735
  */
4780
4736
  function differenceInMilliseconds(laterDate, earlierDate) {
4781
- return +require_format.toDate(laterDate) - +require_format.toDate(earlierDate);
4737
+ return +require_isAfter.toDate(laterDate) - +require_isAfter.toDate(earlierDate);
4782
4738
  }
4783
4739
  //#endregion
4784
4740
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/differenceInMinutes.js
@@ -4816,7 +4772,7 @@ function differenceInMilliseconds(laterDate, earlierDate) {
4816
4772
  * //=> -1
4817
4773
  */
4818
4774
  function differenceInMinutes(dateLeft, dateRight, options) {
4819
- const diff = differenceInMilliseconds(dateLeft, dateRight) / require_format.millisecondsInMinute;
4775
+ const diff = differenceInMilliseconds(dateLeft, dateRight) / require_isAfter.millisecondsInMinute;
4820
4776
  return getRoundingMethod(options?.roundingMethod)(diff);
4821
4777
  }
4822
4778
  //#endregion
@@ -4847,7 +4803,7 @@ function differenceInMinutes(dateLeft, dateRight, options) {
4847
4803
  * //=> Tue Sep 02 2014 23:59:59.999
4848
4804
  */
4849
4805
  function endOfDay(date, options) {
4850
- const _date = require_format.toDate(date, options?.in);
4806
+ const _date = require_isAfter.toDate(date, options?.in);
4851
4807
  _date.setHours(23, 59, 59, 999);
4852
4808
  return _date;
4853
4809
  }
@@ -4879,7 +4835,7 @@ function endOfDay(date, options) {
4879
4835
  * //=> Tue Sep 30 2014 23:59:59.999
4880
4836
  */
4881
4837
  function endOfMonth(date, options) {
4882
- const _date = require_format.toDate(date, options?.in);
4838
+ const _date = require_isAfter.toDate(date, options?.in);
4883
4839
  const month = _date.getMonth();
4884
4840
  _date.setFullYear(_date.getFullYear(), month + 1, 0);
4885
4841
  _date.setHours(23, 59, 59, 999);
@@ -4906,7 +4862,7 @@ function endOfMonth(date, options) {
4906
4862
  * //=> true
4907
4863
  */
4908
4864
  function isLastDayOfMonth(date, options) {
4909
- const _date = require_format.toDate(date, options?.in);
4865
+ const _date = require_isAfter.toDate(date, options?.in);
4910
4866
  return +endOfDay(_date, options) === +endOfMonth(_date, options);
4911
4867
  }
4912
4868
  //#endregion
@@ -4931,7 +4887,7 @@ function isLastDayOfMonth(date, options) {
4931
4887
  * //=> 7
4932
4888
  */
4933
4889
  function differenceInMonths(laterDate, earlierDate, options) {
4934
- const [laterDate_, workingLaterDate, earlierDate_] = require_format.normalizeDates(options?.in, laterDate, laterDate, earlierDate);
4890
+ const [laterDate_, workingLaterDate, earlierDate_] = require_isAfter.normalizeDates(options?.in, laterDate, laterDate, earlierDate);
4935
4891
  const sign = compareAsc(workingLaterDate, earlierDate_);
4936
4892
  const difference = Math.abs(differenceInCalendarMonths(workingLaterDate, earlierDate_));
4937
4893
  if (difference < 1) return 0;
@@ -5024,29 +4980,6 @@ function differenceInWeeks(laterDate, earlierDate, options) {
5024
4980
  return getRoundingMethod(options?.roundingMethod)(diff);
5025
4981
  }
5026
4982
  //#endregion
5027
- //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isAfter.js
5028
- /**
5029
- * @name isAfter
5030
- * @category Common Helpers
5031
- * @summary Is the first date after the second one?
5032
- *
5033
- * @description
5034
- * Is the first date after the second one?
5035
- *
5036
- * @param date - The date that should be after the other one to return true
5037
- * @param dateToCompare - The date to compare with
5038
- *
5039
- * @returns The first date is after the second date
5040
- *
5041
- * @example
5042
- * // Is 10 July 1989 after 11 February 1987?
5043
- * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
5044
- * //=> true
5045
- */
5046
- function isAfter(date, dateToCompare) {
5047
- return +require_format.toDate(date) > +require_format.toDate(dateToCompare);
5048
- }
5049
- //#endregion
5050
4983
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isBefore.js
5051
4984
  /**
5052
4985
  * @name isBefore
@@ -5067,7 +5000,7 @@ function isAfter(date, dateToCompare) {
5067
5000
  * //=> false
5068
5001
  */
5069
5002
  function isBefore(date, dateToCompare) {
5070
- return +require_format.toDate(date) < +require_format.toDate(dateToCompare);
5003
+ return +require_isAfter.toDate(date) < +require_isAfter.toDate(dateToCompare);
5071
5004
  }
5072
5005
  //#endregion
5073
5006
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isSameYear.js
@@ -5094,7 +5027,7 @@ function isBefore(date, dateToCompare) {
5094
5027
  * //=> true
5095
5028
  */
5096
5029
  function isSameYear(laterDate, earlierDate, options) {
5097
- const [laterDate_, earlierDate_] = require_format.normalizeDates(options?.in, laterDate, earlierDate);
5030
+ const [laterDate_, earlierDate_] = require_isAfter.normalizeDates(options?.in, laterDate, earlierDate);
5098
5031
  return laterDate_.getFullYear() === earlierDate_.getFullYear();
5099
5032
  }
5100
5033
  //#endregion
@@ -5122,7 +5055,7 @@ function isSameYear(laterDate, earlierDate, options) {
5122
5055
  * //=> true
5123
5056
  */
5124
5057
  function isToday(date, options) {
5125
- return isSameDay(require_format.constructFrom(options?.in || date, date), constructNow(options?.in || date));
5058
+ return isSameDay(require_isAfter.constructFrom(options?.in || date, date), constructNow(options?.in || date));
5126
5059
  }
5127
5060
  //#endregion
5128
5061
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js
@@ -5149,7 +5082,7 @@ function isToday(date, options) {
5149
5082
  * //=> Fri Aug 22 2014 00:00:00
5150
5083
  */
5151
5084
  function subDays(date, amount, options) {
5152
- return require_format.addDays(date, -amount, options);
5085
+ return require_isAfter.addDays(date, -amount, options);
5153
5086
  }
5154
5087
  //#endregion
5155
5088
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/isYesterday.js
@@ -5176,7 +5109,7 @@ function subDays(date, amount, options) {
5176
5109
  * //=> true
5177
5110
  */
5178
5111
  function isYesterday(date, options) {
5179
- return isSameDay(require_format.constructFrom(options?.in || date, date), subDays(constructNow(options?.in || date), 1));
5112
+ return isSameDay(require_isAfter.constructFrom(options?.in || date, date), subDays(constructNow(options?.in || date), 1));
5180
5113
  }
5181
5114
  //#endregion
5182
5115
  //#region ../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/parseISO.js
@@ -5217,7 +5150,7 @@ function isYesterday(date, options) {
5217
5150
  * //=> Fri Apr 11 2014 00:00:00
5218
5151
  */
5219
5152
  function parseISO(argument, options) {
5220
- const invalidDate = () => require_format.constructFrom(options?.in, NaN);
5153
+ const invalidDate = () => require_isAfter.constructFrom(options?.in, NaN);
5221
5154
  const additionalDigits = options?.additionalDigits ?? 2;
5222
5155
  const dateStrings = splitDateString(argument);
5223
5156
  let date;
@@ -5238,12 +5171,12 @@ function parseISO(argument, options) {
5238
5171
  if (isNaN(offset)) return invalidDate();
5239
5172
  } else {
5240
5173
  const tmpDate = new Date(timestamp + time);
5241
- const result = require_format.toDate(0, options?.in);
5174
+ const result = require_isAfter.toDate(0, options?.in);
5242
5175
  result.setFullYear(tmpDate.getUTCFullYear(), tmpDate.getUTCMonth(), tmpDate.getUTCDate());
5243
5176
  result.setHours(tmpDate.getUTCHours(), tmpDate.getUTCMinutes(), tmpDate.getUTCSeconds(), tmpDate.getUTCMilliseconds());
5244
5177
  return result;
5245
5178
  }
5246
- return require_format.toDate(timestamp + time + offset, options?.in);
5179
+ return require_isAfter.toDate(timestamp + time + offset, options?.in);
5247
5180
  }
5248
5181
  const patterns = {
5249
5182
  dateTimeDelimiter: /[T ]/,
@@ -5320,7 +5253,7 @@ function parseTime(timeString) {
5320
5253
  const minutes = parseTimeUnit(captures[2]);
5321
5254
  const seconds = parseTimeUnit(captures[3]);
5322
5255
  if (!validateTime(hours, minutes, seconds)) return NaN;
5323
- return hours * require_format.millisecondsInHour + minutes * require_format.millisecondsInMinute + seconds * 1e3;
5256
+ return hours * require_isAfter.millisecondsInHour + minutes * require_isAfter.millisecondsInMinute + seconds * 1e3;
5324
5257
  }
5325
5258
  function parseTimeUnit(value) {
5326
5259
  return value && parseFloat(value.replace(",", ".")) || 0;
@@ -5333,7 +5266,7 @@ function parseTimezone(timezoneString) {
5333
5266
  const hours = parseInt(captures[2]);
5334
5267
  const minutes = captures[3] && parseInt(captures[3]) || 0;
5335
5268
  if (!validateTimezone(hours, minutes)) return NaN;
5336
- return sign * (hours * require_format.millisecondsInHour + minutes * require_format.millisecondsInMinute);
5269
+ return sign * (hours * require_isAfter.millisecondsInHour + minutes * require_isAfter.millisecondsInMinute);
5337
5270
  }
5338
5271
  function dayOfISOWeekYear(isoWeekYear, week, day) {
5339
5272
  const date = /* @__PURE__ */ new Date(0);
@@ -5404,7 +5337,7 @@ function validateTimezone(_hours, minutes) {
5404
5337
  * //=> Mon Sep 01 2014 04:30:00
5405
5338
  */
5406
5339
  function setHours(date, hours, options) {
5407
- const _date = require_format.toDate(date, options?.in);
5340
+ const _date = require_isAfter.toDate(date, options?.in);
5408
5341
  _date.setHours(hours);
5409
5342
  return _date;
5410
5343
  }
@@ -5436,7 +5369,7 @@ function setHours(date, hours, options) {
5436
5369
  * //=> Mon Sep 01 2014 11:30:40.300
5437
5370
  */
5438
5371
  function setMilliseconds(date, milliseconds, options) {
5439
- const _date = require_format.toDate(date, options?.in);
5372
+ const _date = require_isAfter.toDate(date, options?.in);
5440
5373
  _date.setMilliseconds(milliseconds);
5441
5374
  return _date;
5442
5375
  }
@@ -5468,7 +5401,7 @@ function setMilliseconds(date, milliseconds, options) {
5468
5401
  * //=> Mon Sep 01 2014 11:45:40
5469
5402
  */
5470
5403
  function setMinutes(date, minutes, options) {
5471
- const date_ = require_format.toDate(date, options?.in);
5404
+ const date_ = require_isAfter.toDate(date, options?.in);
5472
5405
  date_.setMinutes(minutes);
5473
5406
  return date_;
5474
5407
  }
@@ -5500,7 +5433,7 @@ function setMinutes(date, minutes, options) {
5500
5433
  * //=> Mon Sep 01 2014 11:30:45
5501
5434
  */
5502
5435
  function setSeconds(date, seconds, options) {
5503
- const _date = require_format.toDate(date, options?.in);
5436
+ const _date = require_isAfter.toDate(date, options?.in);
5504
5437
  _date.setSeconds(seconds);
5505
5438
  return _date;
5506
5439
  }
@@ -5532,7 +5465,7 @@ function setSeconds(date, seconds, options) {
5532
5465
  * //=> Mon Sep 01 2014 00:00:00
5533
5466
  */
5534
5467
  function subMonths(date, amount, options) {
5535
- return addMonths(date, -amount, options);
5468
+ return require_isAfter.addMonths(date, -amount, options);
5536
5469
  }
5537
5470
  //#endregion
5538
5471
  //#region ../../messaging/ui/src/components/DatePickerDialog.tsx
@@ -5583,13 +5516,13 @@ function DatePickerDialog({ open, onOpenChange, onApply }) {
5583
5516
  }),
5584
5517
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
5585
5518
  className: "text-base font-semibold text-gray-700",
5586
- children: require_format.format(currentMonth, "MMMM yyyy")
5519
+ children: require_isAfter.format(currentMonth, "MMMM yyyy")
5587
5520
  }),
5588
5521
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
5589
5522
  type: "button",
5590
5523
  "aria-label": "Previous month",
5591
5524
  className: "size-8 rounded-md hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:opacity-30",
5592
- onClick: () => setCurrentMonth((m) => addMonths(m, 1)),
5525
+ onClick: () => setCurrentMonth((m) => require_isAfter.addMonths(m, 1)),
5593
5526
  disabled: !canGoNext,
5594
5527
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, {})
5595
5528
  })
@@ -5600,13 +5533,13 @@ function DatePickerDialog({ open, onOpenChange, onApply }) {
5600
5533
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.Input, {
5601
5534
  name: "date",
5602
5535
  type: "date",
5603
- value: require_format.format(selectedDate, "yyyy-MM-dd"),
5536
+ value: require_isAfter.format(selectedDate, "yyyy-MM-dd"),
5604
5537
  onChange: (e) => {
5605
5538
  const value = e.target.value;
5606
5539
  setSelectedDate(new Date(value));
5607
5540
  setCurrentMonth(new Date(value));
5608
5541
  },
5609
- max: require_format.format(now, "yyyy-MM-dd"),
5542
+ max: require_isAfter.format(now, "yyyy-MM-dd"),
5610
5543
  className: (0, clsx.default)("hide-date-picker border border-gray-300")
5611
5544
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.Button, {
5612
5545
  type: "button",
@@ -5684,7 +5617,7 @@ function UnreadDivider() {
5684
5617
  //#region ../../messaging/ui/src/components/Divider.tsx
5685
5618
  function DayDivider({ date, conversationId, onJumpToDate }) {
5686
5619
  const d = date ? new Date(date) : /* @__PURE__ */ new Date();
5687
- const label = date ? isToday(d) ? "Today" : isYesterday(d) ? "Yesterday" : require_format.format(d, "MMMM d, yyyy") : "Jump to...";
5620
+ const label = date ? isToday(d) ? "Today" : isYesterday(d) ? "Yesterday" : require_isAfter.format(d, "MMMM d, yyyy") : "Jump to...";
5688
5621
  const [dateMenuOpen, setDateMenuOpen] = (0, react.useState)(false);
5689
5622
  const [modalOpen, setModalOpen] = (0, react.useState)(false);
5690
5623
  const jumpToDate = (date) => {
@@ -5727,22 +5660,22 @@ function DayDivider({ date, conversationId, onJumpToDate }) {
5727
5660
  children: [
5728
5661
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuItem, {
5729
5662
  className: "mx-1.5 my-0 cursor-pointer rounded-md px-2.5 py-[9px] text-sm font-medium text-slate-700",
5730
- onSelect: () => jumpToDate(require_format.startOfDay(/* @__PURE__ */ new Date())),
5663
+ onSelect: () => jumpToDate(require_isAfter.startOfDay(/* @__PURE__ */ new Date())),
5731
5664
  children: "Today"
5732
5665
  }),
5733
5666
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuItem, {
5734
5667
  className: "mx-1.5 my-0 cursor-pointer rounded-md px-2.5 py-[9px] text-sm font-medium text-slate-700",
5735
- onSelect: () => jumpToDate(require_format.startOfDay(subDays(/* @__PURE__ */ new Date(), 1))),
5668
+ onSelect: () => jumpToDate(require_isAfter.startOfDay(subDays(/* @__PURE__ */ new Date(), 1))),
5736
5669
  children: "Yesterday"
5737
5670
  }),
5738
5671
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuItem, {
5739
5672
  className: "mx-1.5 my-0 cursor-pointer rounded-md px-2.5 py-[9px] text-sm font-medium text-slate-700",
5740
- onSelect: () => jumpToDate(require_format.startOfDay(subDays(/* @__PURE__ */ new Date(), 7))),
5673
+ onSelect: () => jumpToDate(require_isAfter.startOfDay(subDays(/* @__PURE__ */ new Date(), 7))),
5741
5674
  children: "Last Week"
5742
5675
  }),
5743
5676
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuItem, {
5744
5677
  className: "mx-1.5 my-0 cursor-pointer rounded-md px-2.5 py-[9px] text-sm font-medium text-slate-700",
5745
- onSelect: () => jumpToDate(require_format.startOfDay(subDays(/* @__PURE__ */ new Date(), 30))),
5678
+ onSelect: () => jumpToDate(require_isAfter.startOfDay(subDays(/* @__PURE__ */ new Date(), 30))),
5746
5679
  children: "Last Month"
5747
5680
  }),
5748
5681
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.DropdownMenuItem, {
@@ -5766,7 +5699,7 @@ function DayDivider({ date, conversationId, onJumpToDate }) {
5766
5699
  onOpenChange: setModalOpen,
5767
5700
  initialDate: d,
5768
5701
  onApply: (date) => {
5769
- jumpToDate(require_format.startOfDay(date));
5702
+ jumpToDate(require_isAfter.startOfDay(date));
5770
5703
  }
5771
5704
  })
5772
5705
  ]
@@ -40786,22 +40719,22 @@ function Timestamp({ children: timestamp, className = "", displayMode = "auto" }
40786
40719
  if (!timestamp || typeof timestamp !== "string" || timestamp.trim() === "") return null;
40787
40720
  const tsDate = parseISO(timestamp);
40788
40721
  const now = /* @__PURE__ */ new Date();
40789
- const timePart = require_format.format(tsDate, "p");
40722
+ const timePart = require_isAfter.format(tsDate, "p");
40790
40723
  const relativeTime = timeAgo(timestamp);
40791
40724
  let displayedText;
40792
- const weekday = require_format.format(tsDate, "eeee");
40793
- const monthDay = require_format.format(tsDate, "MMMM d");
40794
- const fullDate = require_format.format(tsDate, "MMMM d, yyyy");
40725
+ const weekday = require_isAfter.format(tsDate, "eeee");
40726
+ const monthDay = require_isAfter.format(tsDate, "MMMM d");
40727
+ const fullDate = require_isAfter.format(tsDate, "MMMM d, yyyy");
40795
40728
  if (displayMode === "timeOnly") displayedText = timePart;
40796
40729
  else if (displayMode === "dayAndTime") displayedText = `${weekday} at ${timePart}`;
40797
40730
  else if (displayMode === "monthDayAndTime") displayedText = `${monthDay} at ${timePart}`;
40798
40731
  else if (displayMode === "fullDateAndTime") displayedText = `${fullDate} at ${timePart}`;
40799
40732
  else {
40800
- const todayRef = require_format.startOfDay(now);
40801
- const tsDateRef = require_format.startOfDay(tsDate);
40733
+ const todayRef = require_isAfter.startOfDay(now);
40734
+ const tsDateRef = require_isAfter.startOfDay(tsDate);
40802
40735
  const sixDaysAgoRef = subDays(todayRef, 6);
40803
40736
  if (isToday(tsDate)) displayedText = timePart;
40804
- else if (isAfter(tsDateRef, sixDaysAgoRef) && isBefore(tsDateRef, todayRef)) displayedText = `${weekday} at ${timePart}`;
40737
+ else if (require_isAfter.isAfter(tsDateRef, sixDaysAgoRef) && isBefore(tsDateRef, todayRef)) displayedText = `${weekday} at ${timePart}`;
40805
40738
  else if (isSameYear(tsDate, now)) displayedText = `${monthDay} at ${timePart}`;
40806
40739
  else displayedText = `${fullDate} at ${timePart}`;
40807
40740
  }
@@ -54629,7 +54562,7 @@ function ScheduleMessageDialog({ open, onOpenChange, onApply, initialDate = null
54629
54562
  }, [initialDate, now]);
54630
54563
  const [selectedDate, setSelectedDate] = (0, react.useState)(() => initial);
54631
54564
  const [currentMonth, setCurrentMonth] = (0, react.useState)(() => initial);
54632
- const [timeHM, setTimeHM] = (0, react.useState)(() => require_format.format(initial, "HH:mm"));
54565
+ const [timeHM, setTimeHM] = (0, react.useState)(() => require_isAfter.format(initial, "HH:mm"));
54633
54566
  const selectedDateAtTime = (0, react.useMemo)(() => {
54634
54567
  const parts = timeHM.split(":");
54635
54568
  const hh = Number.parseInt(parts[0] ?? "0", 10);
@@ -54637,8 +54570,8 @@ function ScheduleMessageDialog({ open, onOpenChange, onApply, initialDate = null
54637
54570
  return setMilliseconds(setSeconds(setMinutes(setHours(selectedDate, Number.isFinite(hh) ? hh : 0), Number.isFinite(mm) ? mm : 0), 0), 0);
54638
54571
  }, [selectedDate, timeHM]);
54639
54572
  const isValid = (0, react.useMemo)(() => selectedDateAtTime >= effectiveMin, [selectedDateAtTime, effectiveMin]);
54640
- const minDay = require_format.startOfDay(effectiveMin);
54641
- const minTimeForSelectedDay = isSameDay(selectedDate, effectiveMin) ? require_format.format(effectiveMin, "HH:mm") : void 0;
54573
+ const minDay = require_isAfter.startOfDay(effectiveMin);
54574
+ const minTimeForSelectedDay = isSameDay(selectedDate, effectiveMin) ? require_isAfter.format(effectiveMin, "HH:mm") : void 0;
54642
54575
  const handleApply = () => {
54643
54576
  if (!isValid) return;
54644
54577
  onApply(selectedDateAtTime);
@@ -54680,13 +54613,13 @@ function ScheduleMessageDialog({ open, onOpenChange, onApply, initialDate = null
54680
54613
  }),
54681
54614
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
54682
54615
  className: "text-base font-semibold text-gray-700",
54683
- children: require_format.format(currentMonth, "MMMM yyyy")
54616
+ children: require_isAfter.format(currentMonth, "MMMM yyyy")
54684
54617
  }),
54685
54618
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
54686
54619
  type: "button",
54687
54620
  "aria-label": "Next month",
54688
54621
  className: "size-8 rounded-md hover:bg-gray-100 active:bg-gray-200",
54689
- onClick: () => setCurrentMonth((m) => addMonths(m, 1)),
54622
+ onClick: () => setCurrentMonth((m) => require_isAfter.addMonths(m, 1)),
54690
54623
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronRight, {})
54691
54624
  })
54692
54625
  ]
@@ -54696,14 +54629,14 @@ function ScheduleMessageDialog({ open, onOpenChange, onApply, initialDate = null
54696
54629
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.Input, {
54697
54630
  name: "date",
54698
54631
  type: "date",
54699
- value: require_format.format(selectedDate, "yyyy-MM-dd"),
54632
+ value: require_isAfter.format(selectedDate, "yyyy-MM-dd"),
54700
54633
  onChange: (e) => {
54701
54634
  const d = new Date(e.target.value);
54702
54635
  if (Number.isNaN(d.getTime())) return;
54703
54636
  setSelectedDate(d);
54704
54637
  setCurrentMonth(d);
54705
54638
  },
54706
- min: require_format.format(minDay, "yyyy-MM-dd"),
54639
+ min: require_isAfter.format(minDay, "yyyy-MM-dd"),
54707
54640
  className: (0, clsx.default)("hide-date-picker border border-gray-300")
54708
54641
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_src.Input, {
54709
54642
  name: "time",
@@ -54773,7 +54706,7 @@ function ComposerActions({ editor, onAttachment, onSend, onSchedule, canSendMess
54773
54706
  const results = [];
54774
54707
  let dayOffset = 0;
54775
54708
  while (results.length < 4 && dayOffset < 14) {
54776
- const day = require_format.addDays(now, dayOffset);
54709
+ const day = require_isAfter.addDays(now, dayOffset);
54777
54710
  if (!isWeekend(day)) {
54778
54711
  const nineAm = setMilliseconds(setSeconds(setMinutes(setHours(new Date(day), 9), 0), 0), 0);
54779
54712
  if (nineAm >= minTime) results.push(nineAm);
@@ -54792,7 +54725,7 @@ function ComposerActions({ editor, onAttachment, onSend, onSchedule, canSendMess
54792
54725
  minute: "2-digit"
54793
54726
  });
54794
54727
  if (isSameDay(date, now)) return `Today at ${time}`;
54795
- if (isSameDay(date, require_format.addDays(now, 1))) return `Tomorrow at ${time}`;
54728
+ if (isSameDay(date, require_isAfter.addDays(now, 1))) return `Tomorrow at ${time}`;
54796
54729
  return `${date.toLocaleDateString(void 0, { weekday: "long" })} at ${time}`;
54797
54730
  };
54798
54731
  const applyCustomSchedule = (dt) => {
@@ -56978,7 +56911,7 @@ function formatScheduledShort(iso) {
56978
56911
  if (!iso) return null;
56979
56912
  try {
56980
56913
  const d = parseISO(iso);
56981
- return `Send ${require_format.format(d, "MMM d")} at ${require_format.format(d, "p")}`;
56914
+ return `Send ${require_isAfter.format(d, "MMM d")} at ${require_isAfter.format(d, "p")}`;
56982
56915
  } catch {
56983
56916
  return null;
56984
56917
  }
@@ -57132,7 +57065,7 @@ function ScheduledMessageRow({ message, onToast }) {
57132
57065
  editScheduledId: message.id
57133
57066
  }),
57134
57067
  onReschedule: () => {
57135
- setRescheduleAtValue(scheduledAt ? require_format.format(parseISO(scheduledAt), "yyyy-MM-dd'T'HH:mm") : "");
57068
+ setRescheduleAtValue(scheduledAt ? require_isAfter.format(parseISO(scheduledAt), "yyyy-MM-dd'T'HH:mm") : "");
57136
57069
  setOpenReschedule(true);
57137
57070
  },
57138
57071
  onSendNow: () => setOpenConfirm(true),
@@ -57580,4 +57513,4 @@ Object.defineProperty(exports, "useMessagingConfig", {
57580
57513
  }
57581
57514
  });
57582
57515
 
57583
- //# sourceMappingURL=MessagingScreen-DeYSVcMd.cjs.map
57516
+ //# sourceMappingURL=MessagingScreen-GLb5id9n.cjs.map