@arbidocs/blocks 0.5.93 → 0.5.95

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 (121) hide show
  1. package/dist/{ConnectedNativeDocxComparison-6KL5XI3L.js → ConnectedNativeDocxComparison-FNHQKY57.js} +6 -6
  2. package/dist/{ConnectedNativeDocxComparison-6KL5XI3L.js.map → ConnectedNativeDocxComparison-FNHQKY57.js.map} +1 -1
  3. package/dist/{ConnectedNativeDocxComparison-P346QOX5.cjs → ConnectedNativeDocxComparison-KIMSYQV2.cjs} +7 -7
  4. package/dist/{ConnectedNativeDocxComparison-P346QOX5.cjs.map → ConnectedNativeDocxComparison-KIMSYQV2.cjs.map} +1 -1
  5. package/dist/{ConnectedNativeDocxEditor-7JHSQ6KI.cjs → ConnectedNativeDocxEditor-UOZGILPM.cjs} +7 -7
  6. package/dist/{ConnectedNativeDocxEditor-7JHSQ6KI.cjs.map → ConnectedNativeDocxEditor-UOZGILPM.cjs.map} +1 -1
  7. package/dist/{ConnectedNativeDocxEditor-ATZ2TG2L.js → ConnectedNativeDocxEditor-WFDFGJYW.js} +5 -5
  8. package/dist/{ConnectedNativeDocxEditor-ATZ2TG2L.js.map → ConnectedNativeDocxEditor-WFDFGJYW.js.map} +1 -1
  9. package/dist/{ConnectedStreamedWordArtifact-FHSGQHXQ.js → ConnectedStreamedWordArtifact-SFELZUTS.js} +6 -6
  10. package/dist/{ConnectedStreamedWordArtifact-FHSGQHXQ.js.map → ConnectedStreamedWordArtifact-SFELZUTS.js.map} +1 -1
  11. package/dist/{ConnectedStreamedWordArtifact-5HI3WSAJ.cjs → ConnectedStreamedWordArtifact-WFKYXIX5.cjs} +7 -7
  12. package/dist/ConnectedStreamedWordArtifact-WFKYXIX5.cjs.map +1 -0
  13. package/dist/{DocumentReviewCard-JRY3CX3Q.cjs → DocumentReviewCard-7XUBPCQD.cjs} +14 -14
  14. package/dist/{DocumentReviewCard-JRY3CX3Q.cjs.map → DocumentReviewCard-7XUBPCQD.cjs.map} +1 -1
  15. package/dist/{DocumentReviewCard-6RPKRNAA.js → DocumentReviewCard-X5DXEU2G.js} +9 -9
  16. package/dist/{DocumentReviewCard-6RPKRNAA.js.map → DocumentReviewCard-X5DXEU2G.js.map} +1 -1
  17. package/dist/{FilesViewerDialog-WN2POSGF.js → FilesViewerDialog-4Q6WJMSX.js} +8 -8
  18. package/dist/{FilesViewerDialog-WN2POSGF.js.map → FilesViewerDialog-4Q6WJMSX.js.map} +1 -1
  19. package/dist/{FilesViewerDialog-7MEXD5M3.cjs → FilesViewerDialog-H4ZXFNLV.cjs} +9 -9
  20. package/dist/{FilesViewerDialog-7MEXD5M3.cjs.map → FilesViewerDialog-H4ZXFNLV.cjs.map} +1 -1
  21. package/dist/WorkspaceTableView-DYABS53K.js +1 -1
  22. package/dist/WorkspaceTableView-ZIQ7JWT5.cjs +1 -1
  23. package/dist/agents/index.cjs +254 -254
  24. package/dist/agents/index.js +4 -4
  25. package/dist/calls/index.cjs +1 -1
  26. package/dist/calls/index.js +1 -1
  27. package/dist/{chunk-ZQ2MQBNC.cjs → chunk-33MKOWSA.cjs} +4 -4
  28. package/dist/chunk-33MKOWSA.cjs.map +1 -0
  29. package/dist/{chunk-PG2XUZF6.js → chunk-45M4QWCM.js} +3 -3
  30. package/dist/{chunk-PG2XUZF6.js.map → chunk-45M4QWCM.js.map} +1 -1
  31. package/dist/{chunk-5KQEM2YF.js → chunk-5T5CM7UC.js} +3 -3
  32. package/dist/{chunk-5KQEM2YF.js.map → chunk-5T5CM7UC.js.map} +1 -1
  33. package/dist/{chunk-ECCV4YOL.cjs → chunk-5ZWEUUJN.cjs} +8 -8
  34. package/dist/{chunk-ECCV4YOL.cjs.map → chunk-5ZWEUUJN.cjs.map} +1 -1
  35. package/dist/{chunk-SYWJNSPS.cjs → chunk-6HI5OXB6.cjs} +3 -3
  36. package/dist/{chunk-SYWJNSPS.cjs.map → chunk-6HI5OXB6.cjs.map} +1 -1
  37. package/dist/{chunk-PCAWLVHE.js → chunk-AJ4TBTA3.js} +3 -3
  38. package/dist/{chunk-PCAWLVHE.js.map → chunk-AJ4TBTA3.js.map} +1 -1
  39. package/dist/{chunk-6IS3IRUF.cjs → chunk-CJBDBBN2.cjs} +4 -4
  40. package/dist/{chunk-6IS3IRUF.cjs.map → chunk-CJBDBBN2.cjs.map} +1 -1
  41. package/dist/{chunk-42IVGYNL.js → chunk-CY2K4K5M.js} +4 -4
  42. package/dist/{chunk-42IVGYNL.js.map → chunk-CY2K4K5M.js.map} +1 -1
  43. package/dist/{chunk-HDPT7D6F.cjs → chunk-D3ABKS7T.cjs} +3 -3
  44. package/dist/{chunk-HDPT7D6F.cjs.map → chunk-D3ABKS7T.cjs.map} +1 -1
  45. package/dist/{chunk-FSUWRDZT.cjs → chunk-DCHNB7DF.cjs} +51 -51
  46. package/dist/{chunk-FSUWRDZT.cjs.map → chunk-DCHNB7DF.cjs.map} +1 -1
  47. package/dist/{chunk-SXY7K54A.cjs → chunk-GFG7DCJ3.cjs} +35 -35
  48. package/dist/{chunk-SXY7K54A.cjs.map → chunk-GFG7DCJ3.cjs.map} +1 -1
  49. package/dist/{chunk-RZG4ALKZ.js → chunk-H2DG5HIO.js} +3 -3
  50. package/dist/{chunk-RZG4ALKZ.js.map → chunk-H2DG5HIO.js.map} +1 -1
  51. package/dist/{chunk-QD7ARXGQ.js → chunk-H626HTFB.js} +3 -3
  52. package/dist/{chunk-QD7ARXGQ.js.map → chunk-H626HTFB.js.map} +1 -1
  53. package/dist/{chunk-EW54OI4U.cjs → chunk-HEM27NA3.cjs} +4 -4
  54. package/dist/{chunk-EW54OI4U.cjs.map → chunk-HEM27NA3.cjs.map} +1 -1
  55. package/dist/{chunk-Z4IPTLRS.js → chunk-HU3MX5PY.js} +3 -3
  56. package/dist/{chunk-Z4IPTLRS.js.map → chunk-HU3MX5PY.js.map} +1 -1
  57. package/dist/{chunk-LBQCFJ5O.js → chunk-I4PB257E.js} +3 -3
  58. package/dist/{chunk-LBQCFJ5O.js.map → chunk-I4PB257E.js.map} +1 -1
  59. package/dist/{chunk-UI24FQRU.cjs → chunk-KTHBUDYQ.cjs} +48 -48
  60. package/dist/{chunk-UI24FQRU.cjs.map → chunk-KTHBUDYQ.cjs.map} +1 -1
  61. package/dist/{chunk-TEMJBXGQ.cjs → chunk-MBXQSBG3.cjs} +9 -9
  62. package/dist/{chunk-TEMJBXGQ.cjs.map → chunk-MBXQSBG3.cjs.map} +1 -1
  63. package/dist/{chunk-GUTYYUVC.js → chunk-NIXAAPIG.js} +8 -8
  64. package/dist/{chunk-GUTYYUVC.js.map → chunk-NIXAAPIG.js.map} +1 -1
  65. package/dist/{chunk-QSBPOYWA.js → chunk-O5MH74TI.js} +3 -3
  66. package/dist/{chunk-QSBPOYWA.js.map → chunk-O5MH74TI.js.map} +1 -1
  67. package/dist/{chunk-ZZFOJXGQ.js → chunk-OVO4PUZR.js} +5 -5
  68. package/dist/{chunk-ZZFOJXGQ.js.map → chunk-OVO4PUZR.js.map} +1 -1
  69. package/dist/{chunk-X2QYHDXE.js → chunk-PE4UFYMH.js} +3 -3
  70. package/dist/{chunk-X2QYHDXE.js.map → chunk-PE4UFYMH.js.map} +1 -1
  71. package/dist/{chunk-SHSIZTZX.js → chunk-RQW2CFOQ.js} +4 -4
  72. package/dist/{chunk-SHSIZTZX.js.map → chunk-RQW2CFOQ.js.map} +1 -1
  73. package/dist/{chunk-B3WHUTI7.cjs → chunk-SDXK2COQ.cjs} +8 -8
  74. package/dist/{chunk-B3WHUTI7.cjs.map → chunk-SDXK2COQ.cjs.map} +1 -1
  75. package/dist/{chunk-4NSZCDR6.js → chunk-SH4YEIF6.js} +4 -4
  76. package/dist/chunk-SH4YEIF6.js.map +1 -0
  77. package/dist/{chunk-436ILQPJ.js → chunk-SOBLG72E.js} +3 -3
  78. package/dist/{chunk-436ILQPJ.js.map → chunk-SOBLG72E.js.map} +1 -1
  79. package/dist/{chunk-VEETUCPR.cjs → chunk-TBARSVW7.cjs} +28 -28
  80. package/dist/{chunk-VEETUCPR.cjs.map → chunk-TBARSVW7.cjs.map} +1 -1
  81. package/dist/{chunk-WTXYRXR5.js → chunk-TG4S236F.js} +8 -8
  82. package/dist/{chunk-WTXYRXR5.js.map → chunk-TG4S236F.js.map} +1 -1
  83. package/dist/{chunk-QD4APOHO.cjs → chunk-TZHLO7HF.cjs} +4 -4
  84. package/dist/{chunk-QD4APOHO.cjs.map → chunk-TZHLO7HF.cjs.map} +1 -1
  85. package/dist/{chunk-PAMIB34K.cjs → chunk-U4ZLFL6M.cjs} +5 -5
  86. package/dist/{chunk-PAMIB34K.cjs.map → chunk-U4ZLFL6M.cjs.map} +1 -1
  87. package/dist/{chunk-V2CNHRLZ.cjs → chunk-VVQEEHDV.cjs} +4 -4
  88. package/dist/{chunk-V2CNHRLZ.cjs.map → chunk-VVQEEHDV.cjs.map} +1 -1
  89. package/dist/{chunk-JCZCDIEZ.cjs → chunk-XTCNETMI.cjs} +4 -4
  90. package/dist/{chunk-JCZCDIEZ.cjs.map → chunk-XTCNETMI.cjs.map} +1 -1
  91. package/dist/{chunk-7KQSBID2.js → chunk-Y7UHKEVT.js} +3 -3
  92. package/dist/{chunk-7KQSBID2.js.map → chunk-Y7UHKEVT.js.map} +1 -1
  93. package/dist/{chunk-2BXEHCH2.cjs → chunk-ZSWMRG72.cjs} +4 -4
  94. package/dist/{chunk-2BXEHCH2.cjs.map → chunk-ZSWMRG72.cjs.map} +1 -1
  95. package/dist/connect/docx.cjs +10 -10
  96. package/dist/connect/docx.js +6 -6
  97. package/dist/connect/index.cjs +622 -607
  98. package/dist/connect/index.cjs.map +1 -1
  99. package/dist/connect/index.js +67 -52
  100. package/dist/connect/index.js.map +1 -1
  101. package/dist/connect/viewer.cjs +7 -7
  102. package/dist/connect/viewer.js +6 -6
  103. package/dist/connection/report-problem/ReportProblemDialog.d.ts +1 -0
  104. package/dist/embed/index.cjs +14 -14
  105. package/dist/embed/index.js +8 -8
  106. package/dist/facts/index.cjs +43 -43
  107. package/dist/facts/index.js +2 -2
  108. package/dist/files/AiReviewDialog.d.ts +2 -0
  109. package/dist/files/index.cjs +222 -222
  110. package/dist/files/index.js +1 -1
  111. package/dist/index.cjs +672 -672
  112. package/dist/index.js +11 -11
  113. package/dist/settings/index.cjs +1 -1
  114. package/dist/settings/index.js +1 -1
  115. package/dist/workflow-canvas/index.cjs +30 -30
  116. package/dist/workflow-canvas/index.js +13 -13
  117. package/node_modules/@arbidocs/coedit/package.json +1 -1
  118. package/package.json +5 -5
  119. package/dist/ConnectedStreamedWordArtifact-5HI3WSAJ.cjs.map +0 -1
  120. package/dist/chunk-4NSZCDR6.js.map +0 -1
  121. package/dist/chunk-ZQ2MQBNC.cjs.map +0 -1
@@ -4,17 +4,17 @@
4
4
  var chunk3532KA6K_cjs = require('../chunk-3532KA6K.cjs');
5
5
  var chunkDDIV3MYQ_cjs = require('../chunk-DDIV3MYQ.cjs');
6
6
  var chunkWVEYUH6C_cjs = require('../chunk-WVEYUH6C.cjs');
7
- var chunkVEETUCPR_cjs = require('../chunk-VEETUCPR.cjs');
7
+ var chunkTBARSVW7_cjs = require('../chunk-TBARSVW7.cjs');
8
8
  var chunkPSIKUQYM_cjs = require('../chunk-PSIKUQYM.cjs');
9
9
  var chunkNZQZ2HFU_cjs = require('../chunk-NZQZ2HFU.cjs');
10
- var chunkFSUWRDZT_cjs = require('../chunk-FSUWRDZT.cjs');
10
+ var chunkDCHNB7DF_cjs = require('../chunk-DCHNB7DF.cjs');
11
11
  var chunkC5CWKZ5D_cjs = require('../chunk-C5CWKZ5D.cjs');
12
12
  var chunkCIXA5A65_cjs = require('../chunk-CIXA5A65.cjs');
13
13
  var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
14
- var chunkB3WHUTI7_cjs = require('../chunk-B3WHUTI7.cjs');
15
- var chunkJCZCDIEZ_cjs = require('../chunk-JCZCDIEZ.cjs');
16
- var chunkQD4APOHO_cjs = require('../chunk-QD4APOHO.cjs');
17
- var chunkHDPT7D6F_cjs = require('../chunk-HDPT7D6F.cjs');
14
+ var chunkSDXK2COQ_cjs = require('../chunk-SDXK2COQ.cjs');
15
+ var chunkXTCNETMI_cjs = require('../chunk-XTCNETMI.cjs');
16
+ var chunkTZHLO7HF_cjs = require('../chunk-TZHLO7HF.cjs');
17
+ var chunkD3ABKS7T_cjs = require('../chunk-D3ABKS7T.cjs');
18
18
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
19
19
  var chunkECZXW346_cjs = require('../chunk-ECZXW346.cjs');
20
20
  var chunkE5TPRRAW_cjs = require('../chunk-E5TPRRAW.cjs');
@@ -22,18 +22,18 @@ require('../chunk-UMMZNZV3.cjs');
22
22
  require('../chunk-AEQT2QQX.cjs');
23
23
  var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
24
24
  require('../chunk-XNW62J54.cjs');
25
- var chunkECCV4YOL_cjs = require('../chunk-ECCV4YOL.cjs');
25
+ var chunk5ZWEUUJN_cjs = require('../chunk-5ZWEUUJN.cjs');
26
26
  var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
27
27
  var chunkLCPU44GW_cjs = require('../chunk-LCPU44GW.cjs');
28
28
  var chunkSIYNZR5B_cjs = require('../chunk-SIYNZR5B.cjs');
29
29
  var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
30
30
  var chunkJXKNPKU6_cjs = require('../chunk-JXKNPKU6.cjs');
31
31
  var chunkKJM5X7NX_cjs = require('../chunk-KJM5X7NX.cjs');
32
- var chunkEW54OI4U_cjs = require('../chunk-EW54OI4U.cjs');
32
+ var chunkHEM27NA3_cjs = require('../chunk-HEM27NA3.cjs');
33
33
  var chunk7E3SUV4J_cjs = require('../chunk-7E3SUV4J.cjs');
34
- var chunkSXY7K54A_cjs = require('../chunk-SXY7K54A.cjs');
34
+ var chunkGFG7DCJ3_cjs = require('../chunk-GFG7DCJ3.cjs');
35
35
  var chunkMMSHLHTA_cjs = require('../chunk-MMSHLHTA.cjs');
36
- var chunkZQ2MQBNC_cjs = require('../chunk-ZQ2MQBNC.cjs');
36
+ var chunk33MKOWSA_cjs = require('../chunk-33MKOWSA.cjs');
37
37
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
38
38
  var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
39
39
  var chunk2VJBIBPE_cjs = require('../chunk-2VJBIBPE.cjs');
@@ -43,7 +43,7 @@ require('../chunk-JH6JTI76.cjs');
43
43
  var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
44
44
  require('../chunk-DTMBAFIL.cjs');
45
45
  require('../chunk-ZESMRGDV.cjs');
46
- var chunkPAMIB34K_cjs = require('../chunk-PAMIB34K.cjs');
46
+ var chunkU4ZLFL6M_cjs = require('../chunk-U4ZLFL6M.cjs');
47
47
  var chunkYSCDHY53_cjs = require('../chunk-YSCDHY53.cjs');
48
48
  require('../chunk-NEGFHF3V.cjs');
49
49
  var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
@@ -53,6 +53,8 @@ var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
53
53
  require('../chunk-PCB2BPN3.cjs');
54
54
  var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
55
55
  var chunk7EY5CYCS_cjs = require('../chunk-7EY5CYCS.cjs');
56
+ var chunkYN7ZQEHS_cjs = require('../chunk-YN7ZQEHS.cjs');
57
+ require('../chunk-7G2LJMUG.cjs');
56
58
  var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
57
59
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
58
60
  var chunkHXWBXYVN_cjs = require('../chunk-HXWBXYVN.cjs');
@@ -65,19 +67,17 @@ require('../chunk-NWNVWO6L.cjs');
65
67
  require('../chunk-SK6HQ46Q.cjs');
66
68
  var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
67
69
  var chunkKJRWGAII_cjs = require('../chunk-KJRWGAII.cjs');
70
+ require('../chunk-VLCY46K6.cjs');
68
71
  var chunkHI3NRSNC_cjs = require('../chunk-HI3NRSNC.cjs');
69
72
  var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
70
73
  var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
71
74
  require('../chunk-OEJQFPWO.cjs');
72
- var chunkYN7ZQEHS_cjs = require('../chunk-YN7ZQEHS.cjs');
73
- require('../chunk-7G2LJMUG.cjs');
74
- require('../chunk-VLCY46K6.cjs');
75
75
  require('../chunk-BQOL4XNZ.cjs');
76
- var chunkTEMJBXGQ_cjs = require('../chunk-TEMJBXGQ.cjs');
76
+ var chunkMBXQSBG3_cjs = require('../chunk-MBXQSBG3.cjs');
77
77
  var chunkKNC77LZZ_cjs = require('../chunk-KNC77LZZ.cjs');
78
78
  require('../chunk-I4IS6ST6.cjs');
79
79
  require('../chunk-EVZH6Z5O.cjs');
80
- var chunkSYWJNSPS_cjs = require('../chunk-SYWJNSPS.cjs');
80
+ var chunk6HI5OXB6_cjs = require('../chunk-6HI5OXB6.cjs');
81
81
  require('../chunk-3YEXZX4H.cjs');
82
82
  var chunkZHUQYIV3_cjs = require('../chunk-ZHUQYIV3.cjs');
83
83
  var chunkOYXWQTHF_cjs = require('../chunk-OYXWQTHF.cjs');
@@ -93,9 +93,6 @@ var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
93
93
  var chunk25UUJRSJ_cjs = require('../chunk-25UUJRSJ.cjs');
94
94
  var chunkVYJF4ZQY_cjs = require('../chunk-VYJF4ZQY.cjs');
95
95
  var chunkM74FWYNL_cjs = require('../chunk-M74FWYNL.cjs');
96
- var chunkI6SPGHFY_cjs = require('../chunk-I6SPGHFY.cjs');
97
- var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
98
- var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
99
96
  var chunk4ZM3J3SL_cjs = require('../chunk-4ZM3J3SL.cjs');
100
97
  require('../chunk-OAIOOVFN.cjs');
101
98
  var chunkIOCEKN44_cjs = require('../chunk-IOCEKN44.cjs');
@@ -104,11 +101,14 @@ var chunk5HEMXXHR_cjs = require('../chunk-5HEMXXHR.cjs');
104
101
  var chunkBFKTZUFT_cjs = require('../chunk-BFKTZUFT.cjs');
105
102
  var chunkWV65MJ43_cjs = require('../chunk-WV65MJ43.cjs');
106
103
  var chunkTMX7YFVM_cjs = require('../chunk-TMX7YFVM.cjs');
107
- var chunkLUO46ELJ_cjs = require('../chunk-LUO46ELJ.cjs');
108
104
  var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
105
+ var chunkLUO46ELJ_cjs = require('../chunk-LUO46ELJ.cjs');
109
106
  var chunkSJSGSHIT_cjs = require('../chunk-SJSGSHIT.cjs');
110
107
  var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
111
108
  require('../chunk-ZT5MIFLC.cjs');
109
+ var chunkI6SPGHFY_cjs = require('../chunk-I6SPGHFY.cjs');
110
+ var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
111
+ var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
112
112
  var chunk32YCMXT2_cjs = require('../chunk-32YCMXT2.cjs');
113
113
  require('../chunk-RT3M5WOS.cjs');
114
114
  require('../chunk-7CSEMMDJ.cjs');
@@ -244,7 +244,7 @@ function ConnectedWorkspaceActivity({
244
244
  [feed.data]
245
245
  );
246
246
  return /* @__PURE__ */ jsxRuntime.jsx(
247
- chunkPAMIB34K_cjs.WorkspaceActivityList,
247
+ chunkU4ZLFL6M_cjs.WorkspaceActivityList,
248
248
  {
249
249
  ...listProps,
250
250
  items,
@@ -1427,14 +1427,14 @@ function ConnectedOfflineStatus({ compact = false }) {
1427
1427
  const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
1428
1428
  let tone;
1429
1429
  let label;
1430
- let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkSXY7K54A_cjs.openPendingSyncDialog;
1430
+ let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkGFG7DCJ3_cjs.openPendingSyncDialog;
1431
1431
  if (!isOnline) {
1432
1432
  tone = "offline";
1433
1433
  label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
1434
1434
  } else if (failed > 0) {
1435
1435
  tone = "failed";
1436
1436
  label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
1437
- onOpen = chunkSXY7K54A_cjs.openPendingSyncDialog;
1437
+ onOpen = chunkGFG7DCJ3_cjs.openPendingSyncDialog;
1438
1438
  } else if (outboxFailed > 0) {
1439
1439
  tone = "failed";
1440
1440
  label = `${plural(outboxFailed, "email", "emails")} not sent`;
@@ -1566,7 +1566,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1566
1566
  onChange: (e) => {
1567
1567
  const file = e.target.files?.[0];
1568
1568
  e.target.value = "";
1569
- if (file) void add(() => chunkTEMJBXGQ_cjs.importSkillFile(file));
1569
+ if (file) void add(() => chunkMBXQSBG3_cjs.importSkillFile(file));
1570
1570
  }
1571
1571
  }
1572
1572
  ),
@@ -1591,7 +1591,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1591
1591
  className: "space-y-2",
1592
1592
  onSubmit: (e) => {
1593
1593
  e.preventDefault();
1594
- if (url.trim()) void add(() => chunkTEMJBXGQ_cjs.importSkillFromUrl(url));
1594
+ if (url.trim()) void add(() => chunkMBXQSBG3_cjs.importSkillFromUrl(url));
1595
1595
  },
1596
1596
  children: [
1597
1597
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1654,9 +1654,9 @@ function ConnectedSkillsLibrary({
1654
1654
  const [type, setType] = react$1.useState("all");
1655
1655
  const [view, setView] = react$1.useState("gallery");
1656
1656
  const [isBusy, setIsBusy] = react$1.useState(false);
1657
- const all = react$1.useMemo(() => chunkTEMJBXGQ_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1657
+ const all = react$1.useMemo(() => chunkMBXQSBG3_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1658
1658
  const shown = react$1.useMemo(
1659
- () => chunkTEMJBXGQ_cjs.filterLibrarySkills(all, { query, source, type }),
1659
+ () => chunkMBXQSBG3_cjs.filterLibrarySkills(all, { query, source, type }),
1660
1660
  [all, query, source, type]
1661
1661
  );
1662
1662
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1667,21 +1667,21 @@ function ConnectedSkillsLibrary({
1667
1667
  const count2 = (s) => all.filter((x) => x.source === s).length;
1668
1668
  const sourceOptions = [
1669
1669
  { id: "all", label: "All", count: all.length },
1670
- { id: "builtin", label: chunkTEMJBXGQ_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1671
- { id: "mine", label: chunkTEMJBXGQ_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1672
- { id: "shared", label: chunkTEMJBXGQ_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1670
+ { id: "builtin", label: chunkMBXQSBG3_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1671
+ { id: "mine", label: chunkMBXQSBG3_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1672
+ { id: "shared", label: chunkMBXQSBG3_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1673
1673
  ];
1674
1674
  const types = [...new Set(all.map((s) => s.type))];
1675
1675
  const typeOptions = [
1676
1676
  { id: "all", label: "Any kind" },
1677
- ...types.map((t) => ({ id: t, label: chunkTEMJBXGQ_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1677
+ ...types.map((t) => ({ id: t, label: chunkMBXQSBG3_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1678
1678
  ];
1679
1679
  const pick = (slug) => {
1680
1680
  setSelected(slug);
1681
1681
  setMode("detail");
1682
1682
  };
1683
1683
  const markdownOf = async (skill) => {
1684
- if (!skill.docExtId) return chunkTEMJBXGQ_cjs.workflowToSkillMarkdown(skill.workflow);
1684
+ if (!skill.docExtId) return chunkMBXQSBG3_cjs.workflowToSkillMarkdown(skill.workflow);
1685
1685
  const response = await arbi.documents.download(skill.docExtId);
1686
1686
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1687
1687
  return response.text();
@@ -1745,7 +1745,7 @@ function ConnectedSkillsLibrary({
1745
1745
  try {
1746
1746
  documentTools.downloadBlob(
1747
1747
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1748
- chunkTEMJBXGQ_cjs.SKILL_MAIN_FILENAME
1748
+ chunkMBXQSBG3_cjs.SKILL_MAIN_FILENAME
1749
1749
  );
1750
1750
  } catch (error) {
1751
1751
  notify17(errorText(error, "Could not export the skill"), "error");
@@ -1786,10 +1786,10 @@ function ConnectedSkillsLibrary({
1786
1786
  }
1787
1787
  )
1788
1788
  ] }),
1789
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.SkillViewToggle, { value: view, onChange: setView })
1789
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.SkillViewToggle, { value: view, onChange: setView })
1790
1790
  ] }),
1791
1791
  /* @__PURE__ */ jsxRuntime.jsx(
1792
- chunkTEMJBXGQ_cjs.SkillFilterChips,
1792
+ chunkMBXQSBG3_cjs.SkillFilterChips,
1793
1793
  {
1794
1794
  label: "Show",
1795
1795
  value: source,
@@ -1798,7 +1798,7 @@ function ConnectedSkillsLibrary({
1798
1798
  }
1799
1799
  ),
1800
1800
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1801
- chunkTEMJBXGQ_cjs.SkillFilterChips,
1801
+ chunkMBXQSBG3_cjs.SkillFilterChips,
1802
1802
  {
1803
1803
  label: "Kind",
1804
1804
  value: type,
@@ -1845,12 +1845,12 @@ function ConnectedSkillsLibrary({
1845
1845
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1846
1846
  ),
1847
1847
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1848
- chunkTEMJBXGQ_cjs.SkillTile,
1848
+ chunkMBXQSBG3_cjs.SkillTile,
1849
1849
  {
1850
1850
  name: skill.title,
1851
1851
  testId: `skill-tile-${skill.slug}`,
1852
1852
  description: skill.description,
1853
- sourceLabel: skill.isShared ? `${chunkTEMJBXGQ_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkTEMJBXGQ_cjs.SKILL_SOURCE_LABELS[skill.source],
1853
+ sourceLabel: skill.isShared ? `${chunkMBXQSBG3_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkMBXQSBG3_cjs.SKILL_SOURCE_LABELS[skill.source],
1854
1854
  type: skill.type,
1855
1855
  icon,
1856
1856
  layout: view,
@@ -1885,7 +1885,7 @@ function ConnectedSkillsLibrary({
1885
1885
  }
1886
1886
  ),
1887
1887
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1888
- chunkTEMJBXGQ_cjs.SkillGenerateForm,
1888
+ chunkMBXQSBG3_cjs.SkillGenerateForm,
1889
1889
  {
1890
1890
  icon,
1891
1891
  onGenerate: (desc) => {
@@ -1912,11 +1912,11 @@ function ConnectedSkillsLibrary({
1912
1912
  ),
1913
1913
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1914
1914
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1915
- chunkTEMJBXGQ_cjs.SkillLibraryDetail,
1915
+ chunkMBXQSBG3_cjs.SkillLibraryDetail,
1916
1916
  {
1917
1917
  skill: current,
1918
1918
  icon,
1919
- instructions: current.docExtId ? currentText ? chunkTEMJBXGQ_cjs.parseSkillFrontmatter(currentText, chunkTEMJBXGQ_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1919
+ instructions: current.docExtId ? currentText ? chunkMBXQSBG3_cjs.parseSkillFrontmatter(currentText, chunkMBXQSBG3_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1920
1920
  isLoading: !!current.docExtId && textLoading,
1921
1921
  actions: {
1922
1922
  onRun: () => onRun(current.slug),
@@ -1951,7 +1951,7 @@ function SkillEditor({
1951
1951
  const [seeded, setSeeded] = react$1.useState(!isEditing);
1952
1952
  const [nameError, setNameError] = react$1.useState(null);
1953
1953
  if (isEditing && !seeded && text2 !== void 0) {
1954
- const parsed = chunkTEMJBXGQ_cjs.parseSkillFrontmatter(text2, chunkTEMJBXGQ_cjs.SKILL_MAIN_FILENAME);
1954
+ const parsed = chunkMBXQSBG3_cjs.parseSkillFrontmatter(text2, chunkMBXQSBG3_cjs.SKILL_MAIN_FILENAME);
1955
1955
  setDescription(parsed.description ?? "");
1956
1956
  setBody(parsed.content ?? "");
1957
1957
  setSeeded(true);
@@ -1965,15 +1965,15 @@ function SkillEditor({
1965
1965
  notify17("Add a short description.", "error");
1966
1966
  return;
1967
1967
  }
1968
- const slug = chunkTEMJBXGQ_cjs.skillSlug(name);
1968
+ const slug = chunkMBXQSBG3_cjs.skillSlug(name);
1969
1969
  try {
1970
- await onSave(slug, chunkTEMJBXGQ_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1970
+ await onSave(slug, chunkMBXQSBG3_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1971
1971
  } catch (err) {
1972
1972
  notify17(errorText(err, "Could not save the skill"), "error");
1973
1973
  }
1974
1974
  };
1975
1975
  return /* @__PURE__ */ jsxRuntime.jsx(
1976
- chunkTEMJBXGQ_cjs.SkillEditForm,
1976
+ chunkMBXQSBG3_cjs.SkillEditForm,
1977
1977
  {
1978
1978
  name,
1979
1979
  onNameChange: setName,
@@ -2012,7 +2012,7 @@ var DEFAULT_CONNECTED_SKILLS_BROWSER_LABELS = {
2012
2012
  function ConnectedSkillsBrowser({
2013
2013
  props,
2014
2014
  onClose: close,
2015
- builtins = chunkTEMJBXGQ_cjs.BUILTIN_SKILLS,
2015
+ builtins = chunkMBXQSBG3_cjs.BUILTIN_SKILLS,
2016
2016
  renderEditor,
2017
2017
  labels
2018
2018
  }) {
@@ -2065,7 +2065,7 @@ function ConnectedSkillsBrowser({
2065
2065
  }
2066
2066
  ) }),
2067
2067
  runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
2068
- chunkFSUWRDZT_cjs.ConnectedTaskComposer,
2068
+ chunkDCHNB7DF_cjs.ConnectedTaskComposer,
2069
2069
  {
2070
2070
  kind: "workflow",
2071
2071
  open: true,
@@ -2089,9 +2089,9 @@ function ConnectedAgentCreator({
2089
2089
  agent,
2090
2090
  initialName,
2091
2091
  onSaved,
2092
- capabilities = chunkTEMJBXGQ_cjs.DEFAULT_AGENT_CAPABILITIES,
2093
- templates = chunkTEMJBXGQ_cjs.DEFAULT_AGENT_TEMPLATES,
2094
- types = chunkTEMJBXGQ_cjs.DEFAULT_AGENT_TYPES,
2092
+ capabilities = chunkMBXQSBG3_cjs.DEFAULT_AGENT_CAPABILITIES,
2093
+ templates = chunkMBXQSBG3_cjs.DEFAULT_AGENT_TEMPLATES,
2094
+ types = chunkMBXQSBG3_cjs.DEFAULT_AGENT_TYPES,
2095
2095
  canRevokeWorkspaces = false,
2096
2096
  labels
2097
2097
  }) {
@@ -2133,7 +2133,7 @@ function ConnectedAgentCreator({
2133
2133
  const initialValues = react$1.useMemo(
2134
2134
  () => ({
2135
2135
  name: agent?.given_name ?? initialName ?? "",
2136
- persona: isEdit ? chunkTEMJBXGQ_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2136
+ persona: isEdit ? chunkMBXQSBG3_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2137
2137
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
2138
2138
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
2139
2139
  type: "builtin",
@@ -2152,7 +2152,7 @@ function ConnectedAgentCreator({
2152
2152
  try {
2153
2153
  let agentExtId = agent?.external_id ?? early?.id ?? "";
2154
2154
  if (!agentExtId) {
2155
- if (!chunkTEMJBXGQ_cjs.isValidAgentName(values.name)) {
2155
+ if (!chunkMBXQSBG3_cjs.isValidAgentName(values.name)) {
2156
2156
  notify17("Give the agent a name first.", "error");
2157
2157
  return;
2158
2158
  }
@@ -2188,7 +2188,7 @@ function ConnectedAgentCreator({
2188
2188
  title: `agent-${name}`,
2189
2189
  sections: {
2190
2190
  Agents: {
2191
- PERSONA: chunkTEMJBXGQ_cjs.composePersona(name, values.persona),
2191
+ PERSONA: chunkMBXQSBG3_cjs.composePersona(name, values.persona),
2192
2192
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
2193
2193
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
2194
2194
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2211,7 +2211,7 @@ function ConnectedAgentCreator({
2211
2211
  };
2212
2212
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2213
2213
  /* @__PURE__ */ jsxRuntime.jsx(
2214
- chunkTEMJBXGQ_cjs.AgentCreator,
2214
+ chunkMBXQSBG3_cjs.AgentCreator,
2215
2215
  {
2216
2216
  open: ready,
2217
2217
  onOpenChange,
@@ -2227,11 +2227,11 @@ function ConnectedAgentCreator({
2227
2227
  ) : void 0,
2228
2228
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2229
2229
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2230
- chunkTEMJBXGQ_cjs.AgentAvatarField,
2230
+ chunkMBXQSBG3_cjs.AgentAvatarField,
2231
2231
  {
2232
2232
  picture,
2233
2233
  isBusy: avatarBusy,
2234
- canGenerate: isEdit || chunkTEMJBXGQ_cjs.isValidAgentName(values.name),
2234
+ canGenerate: isEdit || chunkMBXQSBG3_cjs.isValidAgentName(values.name),
2235
2235
  onGenerate: () => handleGenerateAvatar(values)
2236
2236
  }
2237
2237
  ),
@@ -2283,7 +2283,7 @@ function ConnectedAgentCreator({
2283
2283
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2284
2284
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2285
2285
  ] }),
2286
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2286
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2287
2287
  ]
2288
2288
  }
2289
2289
  ) })
@@ -2675,7 +2675,7 @@ function useMemoryCount(enabled) {
2675
2675
  }
2676
2676
  function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2677
2677
  const { notify: notify17, openConversation, openDocument } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
2678
- const people = chunkFSUWRDZT_cjs.useTaskPeople();
2678
+ const people = chunkDCHNB7DF_cjs.useTaskPeople();
2679
2679
  const canEditShared = react.useCanEditShared();
2680
2680
  const isWorkspaceOwner = react.useIsWorkspaceOwner();
2681
2681
  const { data: workflows = [] } = react.useWorkflows({ live: true });
@@ -2701,7 +2701,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2701
2701
  }, [documents]);
2702
2702
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2703
2703
  /* @__PURE__ */ jsxRuntime.jsx(
2704
- chunkTEMJBXGQ_cjs.TaskTable,
2704
+ chunkMBXQSBG3_cjs.TaskTable,
2705
2705
  {
2706
2706
  tasks,
2707
2707
  isLoading,
@@ -2728,7 +2728,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2728
2728
  }
2729
2729
  ),
2730
2730
  activityFor && /* @__PURE__ */ jsxRuntime.jsx(
2731
- chunkFSUWRDZT_cjs.ConnectedTaskActivityDialog,
2731
+ chunkDCHNB7DF_cjs.ConnectedTaskActivityDialog,
2732
2732
  {
2733
2733
  conversationId: activityFor.external_id,
2734
2734
  taskName: activityFor.title || l.untitledTask,
@@ -2744,7 +2744,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2744
2744
  const { notify: notify17, openConversation } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
2745
2745
  const { workspaceId, ensureWorkspaceOpen } = chunkWV65MJ43_cjs.useConnectedWorkspace();
2746
2746
  const { data: skills = [] } = react.useSkills({ enabled: !!workspaceId, live: true });
2747
- const workflowTasks = chunkFSUWRDZT_cjs.useWorkflowTasks();
2747
+ const workflowTasks = chunkDCHNB7DF_cjs.useWorkflowTasks();
2748
2748
  const launchable = react$1.useMemo(
2749
2749
  () => [
2750
2750
  ...workflows,
@@ -2767,7 +2767,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2767
2767
  [workflows, skills, l.skillFiles]
2768
2768
  );
2769
2769
  const launch = async ({ workflow, inputs, agentId }) => {
2770
- const values = chunkTEMJBXGQ_cjs.defaultTaskComposerValues(launchable, {
2770
+ const values = chunkMBXQSBG3_cjs.defaultTaskComposerValues(launchable, {
2771
2771
  workflowId: workflow.id,
2772
2772
  assignee: "agent",
2773
2773
  inputs,
@@ -2788,7 +2788,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2788
2788
  }
2789
2789
  };
2790
2790
  return /* @__PURE__ */ jsxRuntime.jsx(
2791
- chunkECCV4YOL_cjs.ConnectedWorkflowLauncher,
2791
+ chunk5ZWEUUJN_cjs.ConnectedWorkflowLauncher,
2792
2792
  {
2793
2793
  workflows: launchable,
2794
2794
  onLaunch: launch,
@@ -2887,7 +2887,7 @@ function ConnectedAgentsPageScope(props) {
2887
2887
  children,
2888
2888
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
2889
2889
  taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
2890
- chunkFSUWRDZT_cjs.ConnectedTaskComposer,
2890
+ chunkDCHNB7DF_cjs.ConnectedTaskComposer,
2891
2891
  {
2892
2892
  open: true,
2893
2893
  onOpenChange: (open) => !open && setTaskDialog(null),
@@ -2909,7 +2909,7 @@ function AgentsGallery() {
2909
2909
  cardTestIds
2910
2910
  } = agentOptions;
2911
2911
  const { openConversation } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
2912
- const tasksByAgent = react$1.useMemo(() => chunkTEMJBXGQ_cjs.groupAgentTasks(tasks), [tasks]);
2912
+ const tasksByAgent = react$1.useMemo(() => chunkMBXQSBG3_cjs.groupAgentTasks(tasks), [tasks]);
2913
2913
  const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
2914
2914
  const { agents } = management;
2915
2915
  const cardDetails = (agent) => details.map(
@@ -2924,7 +2924,7 @@ function AgentsGallery() {
2924
2924
  ) : detail === "workspaces" ? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkspaceAccess, { agentExtId: agent.external_id, labels: l }, detail) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: behaviour.behaviourOf(agent.given_name) }, detail)
2925
2925
  );
2926
2926
  return /* @__PURE__ */ jsxRuntime.jsx(
2927
- chunkTEMJBXGQ_cjs.AgentGallery,
2927
+ chunkMBXQSBG3_cjs.AgentGallery,
2928
2928
  {
2929
2929
  count: agents.length,
2930
2930
  onCreate: management.create,
@@ -2934,9 +2934,9 @@ function AgentsGallery() {
2934
2934
  const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
2935
2935
  const running = agentTasks.filter((t) => t.in_progress);
2936
2936
  const watchConversationId = running[0]?.external_id ?? null;
2937
- const progress = agentTasks[0] ? chunkTEMJBXGQ_cjs.goalProgress(agentTasks[0]) : null;
2937
+ const progress = agentTasks[0] ? chunkMBXQSBG3_cjs.goalProgress(agentTasks[0]) : null;
2938
2938
  return /* @__PURE__ */ jsxRuntime.jsx(
2939
- chunkTEMJBXGQ_cjs.AgentCard,
2939
+ chunkMBXQSBG3_cjs.AgentCard,
2940
2940
  {
2941
2941
  name: displayName(agent),
2942
2942
  avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
@@ -3044,7 +3044,7 @@ function AgentsSectionBody({ id }) {
3044
3044
  ) });
3045
3045
  case "scheduled":
3046
3046
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
3047
- chunkECCV4YOL_cjs.ConnectedWorkflowsTable,
3047
+ chunk5ZWEUUJN_cjs.ConnectedWorkflowsTable,
3048
3048
  {
3049
3049
  filter: "scheduled",
3050
3050
  onEdit: (w) => openWorkflow?.(w.external_id),
@@ -3348,7 +3348,7 @@ function ConnectedTagTable({
3348
3348
  const fail2 = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
3349
3349
  const snapshot2 = (data) => {
3350
3350
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3351
- const bytes = chunkPAMIB34K_cjs.tagTableDocx(data, {
3351
+ const bytes = chunkU4ZLFL6M_cjs.tagTableDocx(data, {
3352
3352
  title,
3353
3353
  nameOf: (id) => people.find((p) => p.value === id)?.label
3354
3354
  });
@@ -3357,7 +3357,7 @@ function ConnectedTagTable({
3357
3357
  return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
3358
3358
  };
3359
3359
  return /* @__PURE__ */ jsxRuntime.jsx(
3360
- chunkPAMIB34K_cjs.TagTable,
3360
+ chunkU4ZLFL6M_cjs.TagTable,
3361
3361
  {
3362
3362
  ...props,
3363
3363
  table,
@@ -3441,8 +3441,8 @@ function ConnectedAiReview({
3441
3441
  const generate = react.useGenerateDocTags();
3442
3442
  const { data: liveDocs = [] } = react.useDocuments();
3443
3443
  const { data: tags = [] } = react.useTags();
3444
- const result = chunkEW54OI4U_cjs.useAiReviewStore((s) => s.run);
3445
- const setResult = chunkEW54OI4U_cjs.useAiReviewStore((s) => s.setRun);
3444
+ const result = chunkHEM27NA3_cjs.useAiReviewStore((s) => s.run);
3445
+ const setResult = chunkHEM27NA3_cjs.useAiReviewStore((s) => s.setRun);
3446
3446
  const phase = result ? "review" : "ask";
3447
3447
  const docCount = documents.length;
3448
3448
  const scope = allDocuments ? "processed" : "selected";
@@ -3598,7 +3598,8 @@ function ConnectedAiReview({
3598
3598
  scope,
3599
3599
  getGridApi,
3600
3600
  onReorderColumns,
3601
- setResult
3601
+ setResult,
3602
+ notify17
3602
3603
  ]);
3603
3604
  const isAiTag = react$1.useCallback(
3604
3605
  (id) => Boolean(tags.find((t) => t.external_id === id)?.instruction?.trim()),
@@ -3616,22 +3617,29 @@ function ConnectedAiReview({
3616
3617
  return result.docIds.map((id) => {
3617
3618
  const doc = liveDocs.find((d) => d.external_id === id);
3618
3619
  const stale = result.replacing && !finished.has(id);
3619
- const cells = resultTags.map((t) => ({
3620
- tagId: t.id,
3621
- note: stale ? void 0 : doc?.doctags?.find((dt) => dt.tag_ext_id === t.id)?.note ?? void 0,
3622
- isAi: aiTagIds.includes(t.id),
3623
- isFinished: finished.has(id)
3624
- }));
3620
+ const cells = resultTags.map((t) => {
3621
+ const tag = tags.find((tag2) => tag2.external_id === t.id);
3622
+ const doctag = stale ? void 0 : doc?.doctags?.find((dt) => dt.tag_ext_id === t.id);
3623
+ return {
3624
+ tagId: t.id,
3625
+ isApplied: Boolean(tag && browser.isPresenceTag(tag) && doctag),
3626
+ note: doctag?.note ?? void 0,
3627
+ isAi: aiTagIds.includes(t.id),
3628
+ isFinished: finished.has(id)
3629
+ };
3630
+ });
3625
3631
  return { id, title: doc ? ui.getDocumentTitle(doc, "Untitled") : id, cells };
3626
3632
  });
3627
- }, [result, liveDocs, resultTags, aiTagIds]);
3633
+ }, [result, liveDocs, resultTags, aiTagIds, tags]);
3628
3634
  const aiCellsTotal = rows.length * aiTagIds.length;
3629
3635
  const aiCellsDone = rows.reduce(
3630
- (acc, r) => acc + r.cells.filter((c) => c.isAi && c.note != null && c.note !== "").length,
3636
+ (acc, r) => acc + r.cells.filter((c) => c.isAi && (c.note != null && c.note !== "" || c.isApplied)).length,
3631
3637
  0
3632
3638
  );
3633
3639
  const aiCellsEmpty = rows.reduce(
3634
- (acc, r) => acc + r.cells.filter((c) => c.isAi && c.isFinished && (c.note == null || c.note === "")).length,
3640
+ (acc, r) => acc + r.cells.filter(
3641
+ (c) => c.isAi && c.isFinished && !c.isApplied && (c.note == null || c.note === "")
3642
+ ).length,
3635
3643
  0
3636
3644
  );
3637
3645
  const runInstruction = react$1.useMemo(() => {
@@ -3668,7 +3676,7 @@ function ConnectedAiReview({
3668
3676
  }, [kind]);
3669
3677
  const description = phase === "ask" ? `Ask one question \u2014 ARBI answers it for each of the ${docCount} ${scope} document${plural2(docCount)}.` : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
3670
3678
  return /* @__PURE__ */ jsxRuntime.jsx(
3671
- chunkZQ2MQBNC_cjs.AiReviewDialogView,
3679
+ chunk33MKOWSA_cjs.AiReviewDialogView,
3672
3680
  {
3673
3681
  open,
3674
3682
  onOpenChange: handleOpenChange,
@@ -3695,6 +3703,7 @@ function ConnectedAiReview({
3695
3703
  cells: r.cells.map((c) => ({
3696
3704
  fieldId: c.tagId,
3697
3705
  note: c.note,
3706
+ isApplied: c.isApplied,
3698
3707
  isAi: c.isAi,
3699
3708
  isFinished: c.isFinished
3700
3709
  }))
@@ -3718,9 +3727,9 @@ function GlossaryExport({ labelId, nameOf }) {
3718
3727
  const narrowed = agreements.find((a) => a.id === narrowTo);
3719
3728
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
3720
3729
  const download = (format) => {
3721
- const entries = chunkPAMIB34K_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3722
- const blob = format === "docx" ? new Blob([chunkPAMIB34K_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkPAMIB34K_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3723
- documentTools.downloadBlob(blob, chunkPAMIB34K_cjs.glossaryFileName(title, format));
3730
+ const entries = chunkU4ZLFL6M_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3731
+ const blob = format === "docx" ? new Blob([chunkU4ZLFL6M_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkU4ZLFL6M_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3732
+ documentTools.downloadBlob(blob, chunkU4ZLFL6M_cjs.glossaryFileName(title, format));
3724
3733
  };
3725
3734
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
3726
3735
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3784,8 +3793,8 @@ function useOpenTaggedContent() {
3784
3793
  if (!workspaceId) return;
3785
3794
  session.setTransientView("topbar.filter", "");
3786
3795
  if (kind === "documents") {
3787
- chunkEW54OI4U_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
3788
- chunkEW54OI4U_cjs.useFilesPrefs.getState().setViewMode("grid");
3796
+ chunkHEM27NA3_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
3797
+ chunkHEM27NA3_cjs.useFilesPrefs.getState().setViewMode("grid");
3789
3798
  session.setPage("documents");
3790
3799
  } else if (kind === "facts") {
3791
3800
  session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
@@ -3824,7 +3833,7 @@ function ConnectedTagForm({
3824
3833
  nameByKind = false
3825
3834
  }) {
3826
3835
  const isCreate = !tag;
3827
- const memberById = chunkVEETUCPR_cjs.useMemberLookup();
3836
+ const memberById = chunkTBARSVW7_cjs.useMemberLookup();
3828
3837
  const creator = memberById(tag?.created_by_ext_id);
3829
3838
  const updater = memberById(tag?.updated_by_ext_id);
3830
3839
  const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
@@ -3903,19 +3912,19 @@ function ConnectedTagForm({
3903
3912
  metaLines.push({
3904
3913
  text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
3905
3914
  byLabel: "by",
3906
- by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkQD4APOHO_cjs.DocumentUser, { user: creator }) : void 0
3915
+ by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkTZHLO7HF_cjs.DocumentUser, { user: creator }) : void 0
3907
3916
  });
3908
3917
  if (tag.updated_at && tag.updated_at !== tag.created_at) {
3909
3918
  metaLines.push({
3910
3919
  text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
3911
3920
  byLabel: "by",
3912
- by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkQD4APOHO_cjs.DocumentUser, { user: updater }) : void 0
3921
+ by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkTZHLO7HF_cjs.DocumentUser, { user: updater }) : void 0
3913
3922
  });
3914
3923
  }
3915
3924
  }
3916
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.TagFormRoot, { children: [
3925
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.TagFormRoot, { children: [
3917
3926
  !nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
3918
- chunkZQ2MQBNC_cjs.TagFormNameField,
3927
+ chunk33MKOWSA_cjs.TagFormNameField,
3919
3928
  {
3920
3929
  label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
3921
3930
  placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
@@ -3925,7 +3934,7 @@ function ConnectedTagForm({
3925
3934
  }
3926
3935
  ),
3927
3936
  kinds.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
3928
- chunkZQ2MQBNC_cjs.TagFormSelectField,
3937
+ chunk33MKOWSA_cjs.TagFormSelectField,
3929
3938
  {
3930
3939
  label: "Kind",
3931
3940
  testId: "inline-tag-form-kind-field",
@@ -3940,7 +3949,7 @@ function ConnectedTagForm({
3940
3949
  }
3941
3950
  ),
3942
3951
  kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
3943
- chunkZQ2MQBNC_cjs.TagFormSelectField,
3952
+ chunk33MKOWSA_cjs.TagFormSelectField,
3944
3953
  {
3945
3954
  label: group === "annotation" ? "Value type" : "Field Type",
3946
3955
  testId: "inline-tag-form-type-field",
@@ -3952,7 +3961,7 @@ function ConnectedTagForm({
3952
3961
  }
3953
3962
  ),
3954
3963
  showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
3955
- chunkZQ2MQBNC_cjs.TagFormSelectField,
3964
+ chunk33MKOWSA_cjs.TagFormSelectField,
3956
3965
  {
3957
3966
  label: "Nested Under",
3958
3967
  value: parentId,
@@ -3974,14 +3983,14 @@ function ConnectedTagForm({
3974
3983
  ]
3975
3984
  }
3976
3985
  ),
3977
- nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
3986
+ nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
3978
3987
  "Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
3979
3988
  " ",
3980
3989
  browser.TAG_NESTING_MAX_DEPTH,
3981
3990
  " levels deep."
3982
3991
  ] }),
3983
3992
  tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
3984
- chunkZQ2MQBNC_cjs.TagFormOptionsEditor,
3993
+ chunk33MKOWSA_cjs.TagFormOptionsEditor,
3985
3994
  {
3986
3995
  label: "Options",
3987
3996
  options: options2,
@@ -3994,7 +4003,7 @@ function ConnectedTagForm({
3994
4003
  }
3995
4004
  ),
3996
4005
  tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
3997
- chunkZQ2MQBNC_cjs.TagFormInstructionField,
4006
+ chunk33MKOWSA_cjs.TagFormInstructionField,
3998
4007
  {
3999
4008
  label: "AI Instruction",
4000
4009
  optionalLabel: "(optional)",
@@ -4004,12 +4013,12 @@ function ConnectedTagForm({
4004
4013
  onChange: setInstruction
4005
4014
  }
4006
4015
  ),
4007
- metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.TagFormMeta, { lines: metaLines }),
4016
+ metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.TagFormMeta, { lines: metaLines }),
4008
4017
  /* @__PURE__ */ jsxRuntime.jsx(
4009
- chunkZQ2MQBNC_cjs.TagFormFooter,
4018
+ chunk33MKOWSA_cjs.TagFormFooter,
4010
4019
  {
4011
4020
  sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
4012
- chunkZQ2MQBNC_cjs.TagFormSharedToggle,
4021
+ chunk33MKOWSA_cjs.TagFormSharedToggle,
4013
4022
  {
4014
4023
  label: "Shared with workspace",
4015
4024
  toggle: /* @__PURE__ */ jsxRuntime.jsx(
@@ -4249,7 +4258,7 @@ function KindSection({
4249
4258
  {
4250
4259
  testId: `tags-kind-${kind}`,
4251
4260
  title: ui.tagKindTitle(kind, { plural: true }),
4252
- description: chunkPAMIB34K_cjs.tagKindDescription(kind),
4261
+ description: chunkU4ZLFL6M_cjs.tagKindDescription(kind),
4253
4262
  children: [
4254
4263
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
4255
4264
  "p",
@@ -4259,9 +4268,9 @@ function KindSection({
4259
4268
  children: [
4260
4269
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
4261
4270
  "Extracting ",
4262
- chunkPAMIB34K_cjs.entitiesPhrase().toLowerCase(),
4271
+ chunkU4ZLFL6M_cjs.entitiesPhrase().toLowerCase(),
4263
4272
  " from ",
4264
- chunkPAMIB34K_cjs.documentCount(extractingCount),
4273
+ chunkU4ZLFL6M_cjs.documentCount(extractingCount),
4265
4274
  "\u2026"
4266
4275
  ]
4267
4276
  }
@@ -4279,7 +4288,7 @@ function KindSection({
4279
4288
  onOpenTag: ctx.onOpenTag,
4280
4289
  onOpenRow: ctx.onOpenTag,
4281
4290
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4282
- labels: chunkPAMIB34K_cjs.tagTableLabels(kind),
4291
+ labels: chunkU4ZLFL6M_cjs.tagTableLabels(kind),
4283
4292
  testId: `tags-table-${kind}`
4284
4293
  }
4285
4294
  )
@@ -4387,15 +4396,15 @@ function TagSection({
4387
4396
  onOpenTag: ctx.onOpenTag,
4388
4397
  onOpenRow: ctx.onOpenTag,
4389
4398
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4390
- labels: chunkPAMIB34K_cjs.tagTableLabels(tag.kind),
4399
+ labels: chunkU4ZLFL6M_cjs.tagTableLabels(tag.kind),
4391
4400
  testId: "tags-rows"
4392
4401
  }
4393
4402
  ),
4394
4403
  /* @__PURE__ */ jsxRuntime.jsx(
4395
- chunkPAMIB34K_cjs.TagDetail,
4404
+ chunkU4ZLFL6M_cjs.TagDetail,
4396
4405
  {
4397
4406
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4398
- fieldLabels: chunkPAMIB34K_cjs.tagTableLabels(tag.kind),
4407
+ fieldLabels: chunkU4ZLFL6M_cjs.tagTableLabels(tag.kind),
4399
4408
  row: detailRow,
4400
4409
  fields: schema.data?.fields ?? [],
4401
4410
  isLoading: detail.isLoading,
@@ -4403,7 +4412,7 @@ function TagSection({
4403
4412
  tags: tagOptions,
4404
4413
  onOpenTag: ctx.onOpenTag,
4405
4414
  onChangeValue: (id, fieldId, value) => setValues.mutateAsync({ tagId: id, values: { [fieldId]: value } }).catch((e) => notify17(browser.refusalReason(e, "Could not save the value"), "error")),
4406
- labels: chunkPAMIB34K_cjs.tagDetailLabels(),
4415
+ labels: chunkU4ZLFL6M_cjs.tagDetailLabels(),
4407
4416
  testId: "tags-detail"
4408
4417
  }
4409
4418
  )
@@ -4426,9 +4435,9 @@ var TAG_FILTER_FIELDS = [
4426
4435
  function ConnectedTagsPage() {
4427
4436
  const { confirm, notify: notify17, openSmartSearch } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
4428
4437
  const onOpenTaggedItems = useOpenTaggedContent();
4429
- const setReviewOpen = chunkEW54OI4U_cjs.useAiReviewStore((state) => state.setOpen);
4430
- const setReviewRun = chunkEW54OI4U_cjs.useAiReviewStore((state) => state.setRun);
4431
- const reviewOpen = chunkEW54OI4U_cjs.useAiReviewStore((state) => state.open);
4438
+ const setReviewOpen = chunkHEM27NA3_cjs.useAiReviewStore((state) => state.setOpen);
4439
+ const setReviewRun = chunkHEM27NA3_cjs.useAiReviewStore((state) => state.setRun);
4440
+ const reviewOpen = chunkHEM27NA3_cjs.useAiReviewStore((state) => state.open);
4432
4441
  const [review, setReview] = react$1.useState(null);
4433
4442
  const { data: tags } = chunkBFKTZUFT_cjs.useConnectedTags();
4434
4443
  const { data: documents } = chunkBFKTZUFT_cjs.useConnectedDocuments();
@@ -4478,7 +4487,7 @@ function ConnectedTagsPage() {
4478
4487
  const onDelete = async (t) => {
4479
4488
  const nested = browser.getChildTags([...tags], t.external_id);
4480
4489
  const uses = browser.tagUseCount(t);
4481
- const n2 = chunkPAMIB34K_cjs.tagsPageNouns();
4490
+ const n2 = chunkU4ZLFL6M_cjs.tagsPageNouns();
4482
4491
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
4483
4492
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
4484
4493
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -4499,11 +4508,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4499
4508
  try {
4500
4509
  await extract.mutateAsync(docIds);
4501
4510
  notify17(
4502
- `Extracting ${chunkPAMIB34K_cjs.entitiesPhrase().toLowerCase()} from ${chunkPAMIB34K_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4511
+ `Extracting ${chunkU4ZLFL6M_cjs.entitiesPhrase().toLowerCase()} from ${chunkU4ZLFL6M_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4503
4512
  "info"
4504
4513
  );
4505
4514
  } catch (error) {
4506
- notify17(browser.refusalReason(error, `Could not extract ${chunkPAMIB34K_cjs.entitiesPhrase().toLowerCase()}`), "error");
4515
+ notify17(browser.refusalReason(error, `Could not extract ${chunkU4ZLFL6M_cjs.entitiesPhrase().toLowerCase()}`), "error");
4507
4516
  throw error;
4508
4517
  }
4509
4518
  };
@@ -4517,10 +4526,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4517
4526
  onOpenTag: openTag,
4518
4527
  onOpenTaggedItems
4519
4528
  };
4520
- const n = chunkPAMIB34K_cjs.tagsPageNouns();
4529
+ const n = chunkU4ZLFL6M_cjs.tagsPageNouns();
4521
4530
  const action = view === "person" || view === "organisation" ? {
4522
4531
  label: "Extract",
4523
- title: `Extract ${chunkPAMIB34K_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4532
+ title: `Extract ${chunkU4ZLFL6M_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4524
4533
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
4525
4534
  run: () => setExtracting(true),
4526
4535
  testId: "tags-extract-entities"
@@ -4574,7 +4583,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4574
4583
  onTabChange: () => {
4575
4584
  },
4576
4585
  variant: "underline",
4577
- firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4586
+ firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4578
4587
  chunk6UZC4XVV_cjs.FilterInput,
4579
4588
  {
4580
4589
  value: filterText,
@@ -4596,7 +4605,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4596
4605
  filter: tagFilter
4597
4606
  }
4598
4607
  ) }),
4599
- centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4608
+ centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4600
4609
  chunkSNUBQMIS_cjs.ViewToggle,
4601
4610
  {
4602
4611
  options: browser.TAG_KINDS.map((k) => ({
@@ -4689,7 +4698,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4689
4698
  }
4690
4699
  ),
4691
4700
  /* @__PURE__ */ jsxRuntime.jsx(
4692
- chunkPAMIB34K_cjs.ExtractEntitiesDialog,
4701
+ chunkU4ZLFL6M_cjs.ExtractEntitiesDialog,
4693
4702
  {
4694
4703
  open: extracting,
4695
4704
  onOpenChange: setExtracting,
@@ -5277,7 +5286,7 @@ function ConnectedExportPanel({
5277
5286
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
5278
5287
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
5279
5288
  jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
5280
- chunkZQ2MQBNC_cjs.TransferProgressView,
5289
+ chunk33MKOWSA_cjs.TransferProgressView,
5281
5290
  {
5282
5291
  title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
5283
5292
  processed: job.processed ?? 0,
@@ -5290,7 +5299,7 @@ function ConnectedExportPanel({
5290
5299
  ),
5291
5300
  jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5292
5301
  react.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
5293
- chunkZQ2MQBNC_cjs.TransferResumeBanner,
5302
+ chunk33MKOWSA_cjs.TransferResumeBanner,
5294
5303
  {
5295
5304
  message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
5296
5305
  onResume: () => handleResume(job),
@@ -5298,7 +5307,7 @@ function ConnectedExportPanel({
5298
5307
  }
5299
5308
  ),
5300
5309
  /* @__PURE__ */ jsxRuntime.jsx(
5301
- chunkZQ2MQBNC_cjs.ExportResultsReport,
5310
+ chunk33MKOWSA_cjs.ExportResultsReport,
5302
5311
  {
5303
5312
  summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
5304
5313
  Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
@@ -5311,7 +5320,7 @@ function ConnectedExportPanel({
5311
5320
  ] }),
5312
5321
  !jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5313
5322
  resumable && /* @__PURE__ */ jsxRuntime.jsx(
5314
- chunkZQ2MQBNC_cjs.TransferResumeBanner,
5323
+ chunk33MKOWSA_cjs.TransferResumeBanner,
5315
5324
  {
5316
5325
  message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
5317
5326
  onResume: () => handleResume(resumable),
@@ -5319,7 +5328,7 @@ function ConnectedExportPanel({
5319
5328
  }
5320
5329
  ),
5321
5330
  /* @__PURE__ */ jsxRuntime.jsx(
5322
- chunkZQ2MQBNC_cjs.TransferScopeChooser,
5331
+ chunk33MKOWSA_cjs.TransferScopeChooser,
5323
5332
  {
5324
5333
  scope: scopeChoice,
5325
5334
  onScopeChange: setScopeChoice,
@@ -5330,7 +5339,7 @@ function ConnectedExportPanel({
5330
5339
  }
5331
5340
  ),
5332
5341
  /* @__PURE__ */ jsxRuntime.jsx(
5333
- chunkZQ2MQBNC_cjs.TransferKindsPicker,
5342
+ chunk33MKOWSA_cjs.TransferKindsPicker,
5334
5343
  {
5335
5344
  options: ALL_KINDS.map((kind) => ({
5336
5345
  kind,
@@ -5343,9 +5352,9 @@ function ConnectedExportPanel({
5343
5352
  )
5344
5353
  }
5345
5354
  ),
5346
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
5355
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
5347
5356
  /* @__PURE__ */ jsxRuntime.jsx(
5348
- chunkZQ2MQBNC_cjs.ExportMethodChooser,
5357
+ chunk33MKOWSA_cjs.ExportMethodChooser,
5349
5358
  {
5350
5359
  mode,
5351
5360
  onModeChange: setMode,
@@ -5357,17 +5366,17 @@ function ConnectedExportPanel({
5357
5366
  ),
5358
5367
  mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5359
5368
  /* @__PURE__ */ jsxRuntime.jsx(
5360
- chunkZQ2MQBNC_cjs.ExportWorkspacePicker,
5369
+ chunk33MKOWSA_cjs.ExportWorkspacePicker,
5361
5370
  {
5362
5371
  workspaces: workspaceOptions,
5363
5372
  selectedId: targetId,
5364
5373
  onSelect: setTargetId
5365
5374
  }
5366
5375
  ),
5367
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
5376
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
5368
5377
  ] }),
5369
5378
  /* @__PURE__ */ jsxRuntime.jsx(
5370
- chunkZQ2MQBNC_cjs.TransferPlanSummary,
5379
+ chunk33MKOWSA_cjs.TransferPlanSummary,
5371
5380
  {
5372
5381
  lines: summary.lines,
5373
5382
  warnings: summary.warnings,
@@ -5384,7 +5393,7 @@ function ConnectedExportPanel({
5384
5393
  ] })
5385
5394
  ] }),
5386
5395
  !jobId && /* @__PURE__ */ jsxRuntime.jsx(
5387
- chunkZQ2MQBNC_cjs.ExportFooter,
5396
+ chunk33MKOWSA_cjs.ExportFooter,
5388
5397
  {
5389
5398
  onCancel: onClose,
5390
5399
  onSubmit: handleSubmit,
@@ -5425,7 +5434,7 @@ function OpenExportDialog({
5425
5434
  children: [
5426
5435
  /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalHeader, { children: [
5427
5436
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
5428
- chunkZQ2MQBNC_cjs.ExportModalTitle,
5437
+ chunk33MKOWSA_cjs.ExportModalTitle,
5429
5438
  {
5430
5439
  workspace: workspace ? {
5431
5440
  icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -5842,7 +5851,7 @@ function ConnectedFieldsEditor({
5842
5851
  const [sortBy, setSortBy] = react$1.useState("name-asc");
5843
5852
  const [filterText, setFilterText] = react$1.useState("");
5844
5853
  const fieldRows = react$1.useMemo(
5845
- () => browser.flattenTagTree(chunkZQ2MQBNC_cjs.sortFields(chunkZQ2MQBNC_cjs.filterFieldsByName(tags, filterText), sortBy)),
5854
+ () => browser.flattenTagTree(chunk33MKOWSA_cjs.sortFields(chunk33MKOWSA_cjs.filterFieldsByName(tags, filterText), sortBy)),
5846
5855
  [tags, filterText, sortBy]
5847
5856
  );
5848
5857
  const exportItems = react$1.useMemo(
@@ -5862,7 +5871,7 @@ function ConnectedFieldsEditor({
5862
5871
  setIsDeleting(false);
5863
5872
  }
5864
5873
  };
5865
- const copy = chunkZQ2MQBNC_cjs.fieldsApplyBarCopy({
5874
+ const copy = chunk33MKOWSA_cjs.fieldsApplyBarCopy({
5866
5875
  nouns,
5867
5876
  targetNoun,
5868
5877
  fieldCount,
@@ -5871,9 +5880,9 @@ function ConnectedFieldsEditor({
5871
5880
  isApplying,
5872
5881
  isClearing
5873
5882
  });
5874
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FieldsEditorRoot, { children: [
5883
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FieldsEditorRoot, { children: [
5875
5884
  /* @__PURE__ */ jsxRuntime.jsx(
5876
- chunkZQ2MQBNC_cjs.FieldsEditorToolbar,
5885
+ chunk33MKOWSA_cjs.FieldsEditorToolbar,
5877
5886
  {
5878
5887
  nouns,
5879
5888
  onNew: () => {
@@ -5901,11 +5910,11 @@ function ConnectedFieldsEditor({
5901
5910
  onSortByChange: setSortBy
5902
5911
  }
5903
5912
  ),
5904
- /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FieldsEditorList, { children: [
5913
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FieldsEditorList, { children: [
5905
5914
  fieldRows.map(({ tag, depth, childCount }) => {
5906
5915
  const isEditingThis = editingTagId === tag.external_id;
5907
5916
  return /* @__PURE__ */ jsxRuntime.jsx(
5908
- chunkZQ2MQBNC_cjs.FieldRow,
5917
+ chunk33MKOWSA_cjs.FieldRow,
5909
5918
  {
5910
5919
  tagId: tag.external_id,
5911
5920
  name: tag.name,
@@ -5958,10 +5967,10 @@ function ConnectedFieldsEditor({
5958
5967
  tag.external_id
5959
5968
  );
5960
5969
  }),
5961
- fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FieldsEmptyState, { children: chunkZQ2MQBNC_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
5970
+ fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FieldsEmptyState, { children: chunk33MKOWSA_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
5962
5971
  ] }),
5963
5972
  /* @__PURE__ */ jsxRuntime.jsx(
5964
- chunkZQ2MQBNC_cjs.FieldsApplyBar,
5973
+ chunk33MKOWSA_cjs.FieldsApplyBar,
5965
5974
  {
5966
5975
  hint: copy.hint,
5967
5976
  applyLabel: copy.applyLabel,
@@ -6037,8 +6046,8 @@ function ConnectedFieldsManager({
6037
6046
  }
6038
6047
  );
6039
6048
  const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6040
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6041
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6049
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6050
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6042
6051
  ConnectedFieldsEditor,
6043
6052
  {
6044
6053
  group: activeKind,
@@ -6050,7 +6059,7 @@ function ConnectedFieldsManager({
6050
6059
  ] });
6051
6060
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
6052
6061
  /* @__PURE__ */ jsxRuntime.jsxs(chunkMMSHLHTA_cjs.DraggableHeader, { children: [
6053
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6062
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6054
6063
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
6055
6064
  ] }),
6056
6065
  body
@@ -6079,7 +6088,7 @@ function ConnectedFieldsManagerPanel({
6079
6088
  const [createRequest, setCreateRequest] = react.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
6080
6089
  const [kind, setKind] = react.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
6081
6090
  const documentIds = react.useArbiSessionState((s) => s.selectedDocumentIds);
6082
- const reviewing = chunkEW54OI4U_cjs.useFilesPrefs((state) => chunkEW54OI4U_cjs.filesViewMode(state) === "navigator");
6091
+ const reviewing = chunkHEM27NA3_cjs.useFilesPrefs((state) => chunkHEM27NA3_cjs.filesViewMode(state) === "navigator");
6083
6092
  const viewingId = react.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
6084
6093
  const reviewingId = reviewing ? viewingId : null;
6085
6094
  const handleClose = react$1.useCallback(() => {
@@ -6120,7 +6129,7 @@ function ConnectedFieldsManagerPanel({
6120
6129
  onAnnotationCreated,
6121
6130
  onAiFieldsApplied: (result) => {
6122
6131
  session.closePanel(FIELDS_MANAGER_PANEL);
6123
- const review = chunkEW54OI4U_cjs.useAiReviewStore.getState();
6132
+ const review = chunkHEM27NA3_cjs.useAiReviewStore.getState();
6124
6133
  review.setRun(result);
6125
6134
  review.setOpen(true);
6126
6135
  }
@@ -6166,7 +6175,7 @@ function ConnectedFactsSmartSearch({
6166
6175
  const runSearch = () => search().catch(() => notify17(`Could not search ${factsWord}. Please try again.`, "error"));
6167
6176
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "facts-smart-search", children: [
6168
6177
  /* @__PURE__ */ jsxRuntime.jsx(
6169
- chunkHDPT7D6F_cjs.FactSearchBar,
6178
+ chunkD3ABKS7T_cjs.FactSearchBar,
6170
6179
  {
6171
6180
  query,
6172
6181
  onQueryChange: setQuery,
@@ -6175,7 +6184,7 @@ function ConnectedFactsSmartSearch({
6175
6184
  isSearching
6176
6185
  }
6177
6186
  ),
6178
- !isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkHDPT7D6F_cjs.FactSearchTotals, { children: [
6187
+ !isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkD3ABKS7T_cjs.FactSearchTotals, { children: [
6179
6188
  hits.length.toLocaleString(),
6180
6189
  " ",
6181
6190
  hits.length === 1 ? factWord : factsWord,
@@ -6183,18 +6192,18 @@ function ConnectedFactsSmartSearch({
6183
6192
  lastQuery,
6184
6193
  "\u201D"
6185
6194
  ] }),
6186
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkHDPT7D6F_cjs.FactSearchPending, { children: [
6195
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkD3ABKS7T_cjs.FactSearchPending, { children: [
6187
6196
  "Searching ",
6188
6197
  factsWord,
6189
6198
  "\u2026"
6190
- ] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkHDPT7D6F_cjs.FactSearchNoMatches, { children: [
6199
+ ] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkD3ABKS7T_cjs.FactSearchNoMatches, { children: [
6191
6200
  "No ",
6192
6201
  factsWord,
6193
6202
  " matched \u201C",
6194
6203
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: lastQuery }),
6195
6204
  "\u201D."
6196
6205
  ] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: hits.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
6197
- chunkHDPT7D6F_cjs.FactSearchResult,
6206
+ chunkD3ABKS7T_cjs.FactSearchResult,
6198
6207
  {
6199
6208
  id: h.external_id,
6200
6209
  rank: i + 1,
@@ -6294,7 +6303,7 @@ function FactSourcesPopover({
6294
6303
  const olderVersion = refOf(docId) !== docId ? refOf(docId).split("@v")[1] : null;
6295
6304
  const cited = passagesOf(docId);
6296
6305
  return /* @__PURE__ */ jsxRuntime.jsx(
6297
- chunkHDPT7D6F_cjs.FactSourceGroup,
6306
+ chunkD3ABKS7T_cjs.FactSourceGroup,
6298
6307
  {
6299
6308
  docId,
6300
6309
  isViewing,
@@ -6383,7 +6392,7 @@ function FactMarkdownEditor({
6383
6392
  const editorRef = react$1.useRef(null);
6384
6393
  react$1.useEffect(() => {
6385
6394
  if (!editorRef.current) return;
6386
- return chunkHDPT7D6F_cjs.enableFactTableColumnResize(editorRef.current);
6395
+ return chunkD3ABKS7T_cjs.enableFactTableColumnResize(editorRef.current);
6387
6396
  }, []);
6388
6397
  react$1.useEffect(() => {
6389
6398
  if (!editing) return;
@@ -6495,7 +6504,7 @@ var factNouns = () => ({
6495
6504
  function useWorkspaceAsk() {
6496
6505
  const { openNewConversation, openFiles } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
6497
6506
  const { workspaceId } = chunkWV65MJ43_cjs.useConnectedWorkspace();
6498
- const setFilesViewMode = chunkEW54OI4U_cjs.useFilesPrefs((state) => state.setViewMode);
6507
+ const setFilesViewMode = chunkHEM27NA3_cjs.useFilesPrefs((state) => state.setViewMode);
6499
6508
  const ask = react$1.useCallback(
6500
6509
  (text2) => openNewConversation({ prompt: text2, keepDocumentOpen: true }),
6501
6510
  [openNewConversation]
@@ -7022,8 +7031,8 @@ function useFactFilters(notes, view, chat) {
7022
7031
  const makeTagPicker = react$1.useCallback(
7023
7032
  (selected, setSelected, opts) => {
7024
7033
  const applied = new Set(selected);
7025
- return /* @__PURE__ */ jsxRuntime.jsx(chunkHDPT7D6F_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
7026
- chunkZQ2MQBNC_cjs.FieldLabelsSelect,
7034
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkD3ABKS7T_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
7035
+ chunk33MKOWSA_cjs.FieldLabelsSelect,
7027
7036
  {
7028
7037
  options: labelOptions,
7029
7038
  appliedIds: applied,
@@ -7214,14 +7223,14 @@ function useFactSelection(notes, gridApiRef, setFactTags, chat) {
7214
7223
  }
7215
7224
  function renderSourcesCell(params) {
7216
7225
  const fact = params.data;
7217
- const count2 = chunkHDPT7D6F_cjs.sourceDocCount(fact);
7226
+ const count2 = chunkD3ABKS7T_cjs.sourceDocCount(fact);
7218
7227
  if (!fact || count2 === 0) return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/40", children: "\u2014" });
7219
7228
  return /* @__PURE__ */ jsxRuntime.jsxs(
7220
7229
  "button",
7221
7230
  {
7222
7231
  type: "button",
7223
7232
  onClick: () => params.context?.openEdit?.(fact),
7224
- title: chunkHDPT7D6F_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
7233
+ title: chunkD3ABKS7T_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
7225
7234
  "data-testid": `facts-grid-sources-${fact.external_id}`,
7226
7235
  className: "inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground",
7227
7236
  children: [
@@ -7250,7 +7259,7 @@ var FactHeader = react$1.memo(function FactHeader2({
7250
7259
  if (params.enableSorting) params.progressSort(e.shiftKey);
7251
7260
  },
7252
7261
  children: [
7253
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FilterButton, { params, colId }),
7262
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FilterButton, { params, colId }),
7254
7263
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
7255
7264
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
7256
7265
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7278,14 +7287,14 @@ function createFactPageColumns({
7278
7287
  onToggleConfirmed,
7279
7288
  onToggleShared
7280
7289
  }) {
7281
- const columns = chunkHDPT7D6F_cjs.createFactColumns({
7290
+ const columns = chunkD3ABKS7T_cjs.createFactColumns({
7282
7291
  onToggleInChat,
7283
7292
  isInChat,
7284
7293
  renderHeader: (params, colId) => /* @__PURE__ */ jsxRuntime.jsx(FactHeader, { params, colId }),
7285
7294
  renderRowActions: (fact, params) => {
7286
7295
  const ctx = params.context;
7287
7296
  return /* @__PURE__ */ jsxRuntime.jsx(
7288
- chunkHDPT7D6F_cjs.FactRowActions,
7297
+ chunkD3ABKS7T_cjs.FactRowActions,
7289
7298
  {
7290
7299
  onEdit: () => ctx?.openEdit?.(fact),
7291
7300
  canEdit: ctx?.canRewrite?.(fact) !== false,
@@ -7415,7 +7424,7 @@ function useFactsGrid({
7415
7424
  );
7416
7425
  const renderFactTags = react$1.useCallback(
7417
7426
  (fact, rowHeight) => /* @__PURE__ */ jsxRuntime.jsx(
7418
- chunkHDPT7D6F_cjs.FactLabelsCell,
7427
+ chunkD3ABKS7T_cjs.FactLabelsCell,
7419
7428
  {
7420
7429
  options: labelOptions,
7421
7430
  selectedIds: fact.tags.map((t) => t.tag_ext_id),
@@ -7522,7 +7531,7 @@ function useFactsPageView() {
7522
7531
  "facts.searchFields",
7523
7532
  DEFAULT_SEARCH_FIELDS
7524
7533
  );
7525
- const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkZQ2MQBNC_cjs.ROW_MIN);
7534
+ const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunk33MKOWSA_cjs.ROW_MIN);
7526
7535
  const labelWidth = react.useArbiSessionState(
7527
7536
  (s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
7528
7537
  );
@@ -7756,7 +7765,7 @@ function ConnectedFactsPage() {
7756
7765
  const view = pageView.view;
7757
7766
  const setView = pageView.setView;
7758
7767
  const openLabels = () => openFieldsManagerIn(session, "label");
7759
- const factsRowHeight = pageView.rowHeight === chunkZQ2MQBNC_cjs.ROW_MIN ? chunkZQ2MQBNC_cjs.ROW_MIN : chunkZQ2MQBNC_cjs.rowHeightForLines(chunkZQ2MQBNC_cjs.linesForRowHeight(pageView.rowHeight));
7768
+ const factsRowHeight = pageView.rowHeight === chunk33MKOWSA_cjs.ROW_MIN ? chunk33MKOWSA_cjs.ROW_MIN : chunk33MKOWSA_cjs.rowHeightForLines(chunk33MKOWSA_cjs.linesForRowHeight(pageView.rowHeight));
7760
7769
  const [isExportOpen, setIsExportOpen] = react$1.useState(false);
7761
7770
  const [filterOpen, setFilterOpen] = react$1.useState(false);
7762
7771
  const [factSection, setFactSection] = react$1.useState(null);
@@ -7780,7 +7789,7 @@ function ConnectedFactsPage() {
7780
7789
  };
7781
7790
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: setFactSection, className: "relative flex h-full flex-col", "data-testid": "facts-page", children: [
7782
7791
  /* @__PURE__ */ jsxRuntime.jsx(
7783
- chunkHDPT7D6F_cjs.FactsToolbar,
7792
+ chunkD3ABKS7T_cjs.FactsToolbar,
7784
7793
  {
7785
7794
  count: filteredNotes.length,
7786
7795
  hasActiveFilters: filters.hasActiveFilters,
@@ -7809,7 +7818,7 @@ function ConnectedFactsPage() {
7809
7818
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
7810
7819
  navSlotRef: setNavSlot,
7811
7820
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
7812
- chunkPAMIB34K_cjs.GridRowNavigator,
7821
+ chunkU4ZLFL6M_cjs.GridRowNavigator,
7813
7822
  {
7814
7823
  gridApi,
7815
7824
  selectedId: editingId,
@@ -7820,9 +7829,9 @@ function ConnectedFactsPage() {
7820
7829
  ) : null,
7821
7830
  showToolbarRow: view !== "smart_search",
7822
7831
  tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7823
- view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkHDPT7D6F_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
7832
+ view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkD3ABKS7T_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
7824
7833
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
7825
- chunkZQ2MQBNC_cjs.RowDensityControl,
7834
+ chunk33MKOWSA_cjs.RowDensityControl,
7826
7835
  {
7827
7836
  rowHeight: factsRowHeight,
7828
7837
  onRowHeightChange: pageView.setRowHeight,
@@ -7858,7 +7867,7 @@ function ConnectedFactsPage() {
7858
7867
  }
7859
7868
  ) }),
7860
7869
  /* @__PURE__ */ jsxRuntime.jsx(
7861
- chunkHDPT7D6F_cjs.FactComposer,
7870
+ chunkD3ABKS7T_cjs.FactComposer,
7862
7871
  {
7863
7872
  isOpen: composing,
7864
7873
  isEditing: !!editingId,
@@ -7888,7 +7897,7 @@ function ConnectedFactsPage() {
7888
7897
  reserveSourcesSpace: view === "gantt" || view === "calendar",
7889
7898
  citationContainer: factSection,
7890
7899
  renderDocumentPicker: (onSelect, selectedIds, onOpen, sourcesToggle, sourcesOpen) => /* @__PURE__ */ jsxRuntime.jsx(
7891
- chunkHDPT7D6F_cjs.FactSourcesRow,
7900
+ chunkD3ABKS7T_cjs.FactSourcesRow,
7892
7901
  {
7893
7902
  toggle: sourcesToggle,
7894
7903
  picker: /* @__PURE__ */ jsxRuntime.jsx(
@@ -7934,7 +7943,7 @@ function ConnectedFactsPage() {
7934
7943
  }
7935
7944
  ),
7936
7945
  dateInput: /* @__PURE__ */ jsxRuntime.jsx(
7937
- chunkHDPT7D6F_cjs.FactDateInput,
7946
+ chunkD3ABKS7T_cjs.FactDateInput,
7938
7947
  {
7939
7948
  value: composer.draftDateFields,
7940
7949
  onChange: composer.setDraftDateFields,
@@ -7944,7 +7953,7 @@ function ConnectedFactsPage() {
7944
7953
  }
7945
7954
  ),
7946
7955
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "scrollbar-subtle flex-1 overflow-y-auto pb-2", children: [
7947
- isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkHDPT7D6F_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkHDPT7D6F_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
7956
+ isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkD3ABKS7T_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkD3ABKS7T_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
7948
7957
  // Searches facts only (never documents). Kept before the empty-state guard so the
7949
7958
  // search UI is reachable even in an empty workspace.
7950
7959
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7957,7 +7966,7 @@ function ConnectedFactsPage() {
7957
7966
  )
7958
7967
  ) : notes.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col items-center justify-center", children: [
7959
7968
  /* @__PURE__ */ jsxRuntime.jsx(
7960
- chunkHDPT7D6F_cjs.FactsEmptyState,
7969
+ chunkD3ABKS7T_cjs.FactsEmptyState,
7961
7970
  {
7962
7971
  onUseExample: (text2) => {
7963
7972
  composer.setDraft(text2);
@@ -7968,7 +7977,7 @@ function ConnectedFactsPage() {
7968
7977
  ),
7969
7978
  /* @__PURE__ */ jsxRuntime.jsx(FactsFindInDocuments, {})
7970
7979
  ] }) : view === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
7971
- chunkHDPT7D6F_cjs.FactsCalendar,
7980
+ chunkD3ABKS7T_cjs.FactsCalendar,
7972
7981
  {
7973
7982
  facts: filteredNotes,
7974
7983
  onSelect: (n) => openEditIfAllowed(n),
@@ -7977,7 +7986,7 @@ function ConnectedFactsPage() {
7977
7986
  navigatorTotal: filteredNotes.length
7978
7987
  }
7979
7988
  ) : view === "gantt" ? /* @__PURE__ */ jsxRuntime.jsx(
7980
- chunkHDPT7D6F_cjs.FactsGanttPane,
7989
+ chunkD3ABKS7T_cjs.FactsGanttPane,
7981
7990
  {
7982
7991
  items: ganttItems,
7983
7992
  labelWidth: pageView.labelWidth,
@@ -8027,7 +8036,7 @@ function ConnectedFactsPage() {
8027
8036
  )
8028
8037
  ] }),
8029
8038
  selectable && notes.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
8030
- chunkHDPT7D6F_cjs.FactsBulkBar,
8039
+ chunkD3ABKS7T_cjs.FactsBulkBar,
8031
8040
  {
8032
8041
  count: selection.selectedFacts.length,
8033
8042
  onClear: selection.clearSelection,
@@ -8086,7 +8095,7 @@ function useConnectedShellWorkspaces(options2 = {}) {
8086
8095
  function ConnectedSsoDisconnect() {
8087
8096
  const { client } = react.useAccountClient();
8088
8097
  const { data: profile } = react.useProfile();
8089
- const auth = chunkB3WHUTI7_cjs.useAuthPages();
8098
+ const auth = chunkSDXK2COQ_cjs.useAuthPages();
8090
8099
  const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
8091
8100
  const [open, setOpen] = react$1.useState(false);
8092
8101
  const [step, setStep] = react$1.useState("email");
@@ -8264,14 +8273,14 @@ function ConnectedAccountSettings({
8264
8273
  }) {
8265
8274
  const [logoutOpen, setLogoutOpen] = react$1.useState(false);
8266
8275
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
8267
- /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8276
+ /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8268
8277
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
8269
8278
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
8270
8279
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
8271
- /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedSecuritySection, { children: securityRows }),
8280
+ /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedSecuritySection, { children: securityRows }),
8272
8281
  moreSettings,
8273
8282
  /* @__PURE__ */ jsxRuntime.jsx(
8274
- chunkB3WHUTI7_cjs.ConnectedIdentityVerification,
8283
+ chunkSDXK2COQ_cjs.ConnectedIdentityVerification,
8275
8284
  {
8276
8285
  collapsible: true,
8277
8286
  onManageBilling,
@@ -8281,7 +8290,7 @@ function ConnectedAccountSettings({
8281
8290
  ] }),
8282
8291
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
8283
8292
  connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
8284
- /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8293
+ /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8285
8294
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
8286
8295
  ui.Button,
8287
8296
  {
@@ -8298,9 +8307,9 @@ function ConnectedAccountSettings({
8298
8307
  }
8299
8308
  ) })
8300
8309
  ] }) }),
8301
- /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
8310
+ /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
8302
8311
  !onLogout && /* @__PURE__ */ jsxRuntime.jsx(
8303
- chunkB3WHUTI7_cjs.ConnectedLogoutDialog,
8312
+ chunkSDXK2COQ_cjs.ConnectedLogoutDialog,
8304
8313
  {
8305
8314
  open: logoutOpen,
8306
8315
  onClose: () => setLogoutOpen(false),
@@ -8608,7 +8617,7 @@ function ConnectedPrivacySettings({
8608
8617
  }
8609
8618
  )
8610
8619
  ] }) }),
8611
- /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedNotificationPreferences, {})
8620
+ /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedNotificationPreferences, {})
8612
8621
  ] });
8613
8622
  }
8614
8623
  var PROVIDER_NAMES = {
@@ -10589,7 +10598,7 @@ function ConnectedRecoveryKeyDialog({
10589
10598
  const arbi = react.useArbi();
10590
10599
  const { user, isSso: isSsoMode } = react.useArbiSession();
10591
10600
  const userEmail = user?.email;
10592
- const sso = chunkB3WHUTI7_cjs.useSsoSignIn();
10601
+ const sso = chunkSDXK2COQ_cjs.useSsoSignIn();
10593
10602
  const handleVerify = async () => {
10594
10603
  setError(null);
10595
10604
  if (!password) {
@@ -12833,13 +12842,13 @@ function ConnectedWorkspaceSettings({
12833
12842
  const [membersExpanded, setMembersExpanded] = react$1.useState(false);
12834
12843
  const [shareOpen, setShareOpen] = react$1.useState(false);
12835
12844
  if (!workspace) {
12836
- return /* @__PURE__ */ jsxRuntime.jsx(chunkC5CWKZ5D_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPAMIB34K_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
12845
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkC5CWKZ5D_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkU4ZLFL6M_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
12837
12846
  }
12838
12847
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12839
12848
  /* @__PURE__ */ jsxRuntime.jsxs(chunkC5CWKZ5D_cjs.WorkspacePageFrame, { testId, children: [
12840
12849
  /* @__PURE__ */ jsxRuntime.jsxs(chunkC5CWKZ5D_cjs.WorkspaceIdentityPanel, { children: [
12841
12850
  /* @__PURE__ */ jsxRuntime.jsx(
12842
- chunkPAMIB34K_cjs.EntityIdentityBar,
12851
+ chunkU4ZLFL6M_cjs.EntityIdentityBar,
12843
12852
  {
12844
12853
  testId: "workspace-identity-bar",
12845
12854
  canEdit: isOwner,
@@ -12856,7 +12865,7 @@ function ConnectedWorkspaceSettings({
12856
12865
  label: "Name",
12857
12866
  value: workspace.name,
12858
12867
  placeholder: "Untitled",
12859
- maxLength: chunkPAMIB34K_cjs.IDENTITY_NAME_MAX_LENGTH,
12868
+ maxLength: chunkU4ZLFL6M_cjs.IDENTITY_NAME_MAX_LENGTH,
12860
12869
  valueClassName: "truncate text-base font-semibold",
12861
12870
  testId: "workspace-home-title",
12862
12871
  hideLabel: true,
@@ -14494,36 +14503,36 @@ function ConnectedSharePointAdminConsentPage({
14494
14503
  const result = givenResult === void 0 ? queryResult : givenResult;
14495
14504
  const { apiBaseUrl } = chunkUIXY4HKM_cjs.useBlocksEnvironment().runtimeConfig;
14496
14505
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
14497
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentCard, { size: "md", children: [
14506
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentCard, { size: "md", children: [
14498
14507
  /* @__PURE__ */ jsxRuntime.jsx(
14499
- chunkTEMJBXGQ_cjs.ConsentHeader,
14508
+ chunkMBXQSBG3_cjs.ConsentHeader,
14500
14509
  {
14501
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
14510
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
14502
14511
  title: "Approve ARBI for SharePoint access",
14503
14512
  children: "A member of your organization uses ARBI and wants to sync documents from SharePoint. Your Microsoft 365 organization requires an administrator to approve this once for the whole organization."
14504
14513
  }
14505
14514
  ),
14506
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
14507
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
14508
- /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentSection, { title: "What you are approving", children: [
14515
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
14516
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
14517
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentSection, { title: "What you are approving", children: [
14509
14518
  /* @__PURE__ */ jsxRuntime.jsx(
14510
- chunkTEMJBXGQ_cjs.ConsentBulletList,
14519
+ chunkMBXQSBG3_cjs.ConsentBulletList,
14511
14520
  {
14512
14521
  items: [
14513
14522
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14514
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
14523
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
14515
14524
  " \u2014 lets each user who connects their own account import documents from sites they already have access to. ARBI never gets more access than the user has."
14516
14525
  ] }),
14517
14526
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14518
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
14527
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
14519
14528
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
14520
14529
  ] })
14521
14530
  ]
14522
14531
  }
14523
14532
  ),
14524
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
14533
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
14525
14534
  /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { asChild: true, className: "w-full pointer-coarse:h-11", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: consentUrl, children: "Review and approve in Microsoft" }) }),
14526
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
14535
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
14527
14536
  ] })
14528
14537
  ] }) });
14529
14538
  }
@@ -17263,7 +17272,7 @@ function ConnectedWorkspaceList({
17263
17272
  }
17264
17273
  );
17265
17274
  }
17266
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkPAMIB34K_cjs.LoadingIndicator, { message: "Loading workspaces..." });
17275
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkU4ZLFL6M_cjs.LoadingIndicator, { message: "Loading workspaces..." });
17267
17276
  if (list.error) {
17268
17277
  return /* @__PURE__ */ jsxRuntime.jsx(
17269
17278
  chunkECZXW346_cjs.HomeLoadError,
@@ -17336,7 +17345,7 @@ function ConnectedWorkspaceList({
17336
17345
  workspaceState
17337
17346
  }
17338
17347
  ) })
17339
- ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkPAMIB34K_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkECZXW346_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
17348
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkU4ZLFL6M_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkECZXW346_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
17340
17349
  WorkspaceTableView,
17341
17350
  {
17342
17351
  list,
@@ -17526,7 +17535,7 @@ function ConnectedProjectsListPage({
17526
17535
  };
17527
17536
  const { openProject } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
17528
17537
  const [search, setSearch] = react$1.useState("");
17529
- const { projects, isLoading } = chunkFSUWRDZT_cjs.useProjectSummaries();
17538
+ const { projects, isLoading } = chunkDCHNB7DF_cjs.useProjectSummaries();
17530
17539
  const rows = react$1.useMemo(() => {
17531
17540
  const q = search.trim().toLowerCase();
17532
17541
  if (!q) return projects;
@@ -17597,7 +17606,7 @@ function ConnectedProjectsListPage({
17597
17606
  }
17598
17607
  ),
17599
17608
  /* @__PURE__ */ jsxRuntime.jsx(
17600
- chunkPAMIB34K_cjs.Toolbar,
17609
+ chunkU4ZLFL6M_cjs.Toolbar,
17601
17610
  {
17602
17611
  search,
17603
17612
  onSearch: setSearch,
@@ -17659,7 +17668,7 @@ function ProjectDetailsForm({
17659
17668
  const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
17660
17669
  const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
17661
17670
  const update = react.useUpdateProjectFields();
17662
- const workspace = chunkFSUWRDZT_cjs.primaryProjectWorkspace(project);
17671
+ const workspace = chunkDCHNB7DF_cjs.primaryProjectWorkspace(project);
17663
17672
  const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
17664
17673
  const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
17665
17674
  const currency = project.budget?.currency ?? "GBP";
@@ -17784,7 +17793,7 @@ var COMPACT_BELOW = 132;
17784
17793
  var NO_DOCUMENTS = [];
17785
17794
  function useFilesWorkspace() {
17786
17795
  const { workspaceId, userId, live } = chunkWV65MJ43_cjs.useConnectedWorkspace();
17787
- const { members, role } = chunkECCV4YOL_cjs.useConnectedWorkspaceRole();
17796
+ const { members, role } = chunk5ZWEUUJN_cjs.useConnectedWorkspaceRole();
17788
17797
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
17789
17798
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
17790
17799
  return {
@@ -17848,9 +17857,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17848
17857
  for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
17849
17858
  return map;
17850
17859
  }, [workspaceTags]);
17851
- const pendingFolders = chunkEW54OI4U_cjs.usePendingFolders(wsId);
17852
- const addPendingFolder = chunkEW54OI4U_cjs.useFilesStore((state) => state.addPendingFolder);
17853
- const removePendingFolder = chunkEW54OI4U_cjs.useFilesStore((state) => state.removePendingFolder);
17860
+ const pendingFolders = chunkHEM27NA3_cjs.usePendingFolders(wsId);
17861
+ const addPendingFolder = chunkHEM27NA3_cjs.useFilesStore((state) => state.addPendingFolder);
17862
+ const removePendingFolder = chunkHEM27NA3_cjs.useFilesStore((state) => state.removePendingFolder);
17854
17863
  const [editingFolderPath, setEditingFolderPath] = react$1.useState(null);
17855
17864
  const isSearching = search.trim().length > 0;
17856
17865
  const selectedSet = react$1.useMemo(() => new Set(selectedIds), [selectedIds]);
@@ -17859,8 +17868,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17859
17868
  const { folders, files } = react$1.useMemo(() => {
17860
17869
  const result = isSearching ? {
17861
17870
  folders: [],
17862
- files: chunkZQ2MQBNC_cjs.searchExplorerDocuments(documents, search, sort)
17863
- } : chunkZQ2MQBNC_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
17871
+ files: chunk33MKOWSA_cjs.searchExplorerDocuments(documents, search, sort)
17872
+ } : chunk33MKOWSA_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
17864
17873
  if (sortReversed) result.files = [...result.files].reverse();
17865
17874
  return result;
17866
17875
  }, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
@@ -17871,7 +17880,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17871
17880
  const orderedFileIds = react$1.useMemo(() => files.map((d) => d.external_id), [files]);
17872
17881
  const folderDocs = react$1.useMemo(() => {
17873
17882
  const map = /* @__PURE__ */ new Map();
17874
- for (const f of folders) map.set(f.path.join("/"), chunkZQ2MQBNC_cjs.collectFolderDocs(documents, f.path));
17883
+ for (const f of folders) map.set(f.path.join("/"), chunk33MKOWSA_cjs.collectFolderDocs(documents, f.path));
17875
17884
  return map;
17876
17885
  }, [folders, documents]);
17877
17886
  const folderSelection = react$1.useMemo(() => {
@@ -18019,7 +18028,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18019
18028
  let name = base;
18020
18029
  let i = 2;
18021
18030
  while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
18022
- const path = chunkZQ2MQBNC_cjs.joinFolderPath([...currentPath, name]);
18031
+ const path = chunk33MKOWSA_cjs.joinFolderPath([...currentPath, name]);
18023
18032
  if (!path) return;
18024
18033
  addPendingFolder(wsId, path);
18025
18034
  setEditingFolderPath(path);
@@ -18055,10 +18064,10 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18055
18064
  notify17(`A folder named "${name}" already exists here.`, "error");
18056
18065
  return;
18057
18066
  }
18058
- const oldPath = chunkZQ2MQBNC_cjs.joinFolderPath(folder.path);
18067
+ const oldPath = chunk33MKOWSA_cjs.joinFolderPath(folder.path);
18059
18068
  const newPrefix = [...folder.path.slice(0, -1), name];
18060
- const newPath = chunkZQ2MQBNC_cjs.joinFolderPath(newPrefix);
18061
- const docs = chunkZQ2MQBNC_cjs.collectFolderDocs(documents, folder.path);
18069
+ const newPath = chunk33MKOWSA_cjs.joinFolderPath(newPrefix);
18070
+ const docs = chunk33MKOWSA_cjs.collectFolderDocs(documents, folder.path);
18062
18071
  try {
18063
18072
  if (await renameFolder(docs, folder.path, newPrefix) > 0) {
18064
18073
  notify17(`Renamed folder to "${name}"`, "success");
@@ -18117,7 +18126,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18117
18126
  const handleToggleFolder = react$1.useCallback(
18118
18127
  (folder, e) => {
18119
18128
  e.stopPropagation();
18120
- const ids = chunkZQ2MQBNC_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18129
+ const ids = chunk33MKOWSA_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18121
18130
  if (ids.length === 0) return;
18122
18131
  if (ids.every((id) => selectedSet.has(id))) {
18123
18132
  const remove = new Set(ids);
@@ -18178,9 +18187,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18178
18187
  );
18179
18188
  const handleDelete = react$1.useCallback(
18180
18189
  async (doc) => {
18181
- const name = chunkZQ2MQBNC_cjs.getExplorerDisplayName(doc);
18190
+ const name = chunk33MKOWSA_cjs.getExplorerDisplayName(doc);
18182
18191
  const confirmed = await confirm({
18183
- message: `Delete "${name}"? ${chunkZQ2MQBNC_cjs.RECENTLY_DELETED_HINT}`,
18192
+ message: `Delete "${name}"? ${chunk33MKOWSA_cjs.RECENTLY_DELETED_HINT}`,
18184
18193
  title: "Delete file"
18185
18194
  });
18186
18195
  if (!confirmed) return;
@@ -18200,7 +18209,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18200
18209
  );
18201
18210
  const handleFolderDownload = react$1.useCallback(
18202
18211
  (folder) => {
18203
- const docs = chunkZQ2MQBNC_cjs.collectFolderDocs(documents, folder.path);
18212
+ const docs = chunk33MKOWSA_cjs.collectFolderDocs(documents, folder.path);
18204
18213
  if (docs.length > 0) void downloadDocuments(docs);
18205
18214
  },
18206
18215
  [documents, downloadDocuments]
@@ -18209,7 +18218,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18209
18218
  if (onFolderMove) return onFolderMove;
18210
18219
  if (!onMoveSelected) return void 0;
18211
18220
  return (folder) => {
18212
- const ids = chunkZQ2MQBNC_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18221
+ const ids = chunk33MKOWSA_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18213
18222
  if (ids.length === 0) return;
18214
18223
  onSelectionChange(ids);
18215
18224
  onMoveSelected();
@@ -18217,14 +18226,14 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18217
18226
  }, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
18218
18227
  const handleFolderDelete = react$1.useCallback(
18219
18228
  async (folder) => {
18220
- const docs = chunkZQ2MQBNC_cjs.collectFolderDocs(documents, folder.path);
18229
+ const docs = chunk33MKOWSA_cjs.collectFolderDocs(documents, folder.path);
18221
18230
  if (docs.length === 0) {
18222
- const path = chunkZQ2MQBNC_cjs.joinFolderPath(folder.path);
18231
+ const path = chunk33MKOWSA_cjs.joinFolderPath(folder.path);
18223
18232
  if (wsId && path) removePendingFolder(wsId, path);
18224
18233
  return;
18225
18234
  }
18226
18235
  const confirmed = await confirm({
18227
- message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkZQ2MQBNC_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
18236
+ message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunk33MKOWSA_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
18228
18237
  title: "Delete folder"
18229
18238
  });
18230
18239
  if (!confirmed) return;
@@ -18241,8 +18250,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18241
18250
  [confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify17]
18242
18251
  );
18243
18252
  const canDeleteFolder = react$1.useCallback(
18244
- (folder) => canUpload && chunkZQ2MQBNC_cjs.collectFolderDocs(documents, folder.path).every(
18245
- (doc) => chunkZQ2MQBNC_cjs.canDeleteDocument(doc, userId, role)
18253
+ (folder) => canUpload && chunk33MKOWSA_cjs.collectFolderDocs(documents, folder.path).every(
18254
+ (doc) => chunk33MKOWSA_cjs.canDeleteDocument(doc, userId, role)
18246
18255
  ),
18247
18256
  [canUpload, documents, userId, role]
18248
18257
  );
@@ -18301,7 +18310,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18301
18310
  setActiveDragId(null);
18302
18311
  const data = event.over?.data.current;
18303
18312
  if (data?.type === "folder" && data.path) {
18304
- const targetFolder = chunkZQ2MQBNC_cjs.joinFolderPath(data.path);
18313
+ const targetFolder = chunk33MKOWSA_cjs.joinFolderPath(data.path);
18305
18314
  const moving = dragIdsRef.current.filter((id) => {
18306
18315
  const doc = documents.find((d) => d.external_id === id);
18307
18316
  return doc && (doc.folder ?? null) !== targetFolder;
@@ -18341,7 +18350,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18341
18350
  const dropped = Array.from(e.dataTransfer.files ?? []);
18342
18351
  if (dropped.length > 0) {
18343
18352
  e.preventDefault();
18344
- onUploadFiles(dropped, chunkZQ2MQBNC_cjs.joinFolderPath(currentPath));
18353
+ onUploadFiles(dropped, chunk33MKOWSA_cjs.joinFolderPath(currentPath));
18345
18354
  }
18346
18355
  },
18347
18356
  [canUpload, currentPath, onUploadFiles]
@@ -18358,9 +18367,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18358
18367
  onDragEnd: handleDragEnd,
18359
18368
  onDragCancel: () => setActiveDragId(null),
18360
18369
  children: [
18361
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.ExplorerStage, { children: [
18370
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.ExplorerStage, { children: [
18362
18371
  /* @__PURE__ */ jsxRuntime.jsx(
18363
- chunkZQ2MQBNC_cjs.ExplorerScroller,
18372
+ chunk33MKOWSA_cjs.ExplorerScroller,
18364
18373
  {
18365
18374
  ref: scrollRef,
18366
18375
  onClick: handleBackgroundClick,
@@ -18370,15 +18379,15 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18370
18379
  onDragLeave: handleNativeDragLeave,
18371
18380
  onDrop: handleNativeDrop,
18372
18381
  "data-testid": "explorer-scroll",
18373
- children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
18374
- chunkZQ2MQBNC_cjs.ExplorerEmpty,
18382
+ children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
18383
+ chunk33MKOWSA_cjs.ExplorerEmpty,
18375
18384
  {
18376
18385
  title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
18377
18386
  description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
18378
18387
  }
18379
18388
  ) : containerWidth === 0 ? (
18380
18389
  // Not measured yet: rendering now would flash one stretched column.
18381
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ExplorerLoadingTiles, {})
18390
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ExplorerLoadingTiles, {})
18382
18391
  ) : /* @__PURE__ */ jsxRuntime.jsx(
18383
18392
  "div",
18384
18393
  {
@@ -18408,7 +18417,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18408
18417
  if (entry.kind === "folder") {
18409
18418
  const key = entry.path.join("/");
18410
18419
  return /* @__PURE__ */ jsxRuntime.jsx(
18411
- chunkSXY7K54A_cjs.FolderTile,
18420
+ chunkGFG7DCJ3_cjs.FolderTile,
18412
18421
  {
18413
18422
  folder: entry,
18414
18423
  density,
@@ -18431,7 +18440,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18431
18440
  }
18432
18441
  const doc = entry.doc;
18433
18442
  return /* @__PURE__ */ jsxRuntime.jsx(
18434
- chunkSXY7K54A_cjs.FileTile,
18443
+ chunkGFG7DCJ3_cjs.FileTile,
18435
18444
  {
18436
18445
  doc,
18437
18446
  density,
@@ -18439,7 +18448,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18439
18448
  dragging: activeDragId === doc.external_id,
18440
18449
  dndActive: activeDragId !== null,
18441
18450
  renaming: renamingId === doc.external_id,
18442
- canDelete: chunkZQ2MQBNC_cjs.canDeleteDocument(doc, userId, role),
18451
+ canDelete: chunk33MKOWSA_cjs.canDeleteDocument(doc, userId, role),
18443
18452
  thumbnailUrl: thumbnailsById.get(doc.external_id),
18444
18453
  modifiedBy: userById.get(
18445
18454
  doc.updated_by_ext_id ?? doc.created_by_ext_id
@@ -18468,9 +18477,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18468
18477
  )
18469
18478
  }
18470
18479
  ),
18471
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
18480
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
18472
18481
  isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
18473
- chunkZQ2MQBNC_cjs.ExplorerDropOverlay,
18482
+ chunk33MKOWSA_cjs.ExplorerDropOverlay,
18474
18483
  {
18475
18484
  label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
18476
18485
  }
@@ -18484,7 +18493,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18484
18493
  function DragPreview({ doc, count: count2 }) {
18485
18494
  const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type });
18486
18495
  return /* @__PURE__ */ jsxRuntime.jsx(
18487
- chunkZQ2MQBNC_cjs.ExplorerDragPreview,
18496
+ chunk33MKOWSA_cjs.ExplorerDragPreview,
18488
18497
  {
18489
18498
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
18490
18499
  title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
@@ -18544,7 +18553,7 @@ function ProjectChronology({
18544
18553
  })),
18545
18554
  [facts]
18546
18555
  );
18547
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkHDPT7D6F_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
18556
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkD3ABKS7T_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
18548
18557
  }
18549
18558
  function ProjectThreads({
18550
18559
  projectId,
@@ -18718,11 +18727,11 @@ function ConnectedProjectPage({
18718
18727
  figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
18719
18728
  threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
18720
18729
  };
18721
- const { project, usage, isLoading } = chunkFSUWRDZT_cjs.useProjectSummary(projectId);
18730
+ const { project, usage, isLoading } = chunkDCHNB7DF_cjs.useProjectSummary(projectId);
18722
18731
  const { workspaceId } = chunkWV65MJ43_cjs.useConnectedWorkspace();
18723
18732
  const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
18724
- const selectWorkspace = chunkJCZCDIEZ_cjs.useSelectWorkspace();
18725
- const workspace = project ? chunkFSUWRDZT_cjs.primaryProjectWorkspace(project) : void 0;
18733
+ const selectWorkspace = chunkXTCNETMI_cjs.useSelectWorkspace();
18734
+ const workspace = project ? chunkDCHNB7DF_cjs.primaryProjectWorkspace(project) : void 0;
18726
18735
  const open = !!workspace && workspace.id === workspaceId;
18727
18736
  react$1.useEffect(() => {
18728
18737
  if (!workspace || workspace.id === workspaceId) return;
@@ -21429,10 +21438,10 @@ function ConnectedContactsPanel({
21429
21438
  function ConnectedConfigForm({ availableModels, ...rest }) {
21430
21439
  const hasModels = !!availableModels && availableModels.length > 0;
21431
21440
  const renderModelSelect = react$1.useCallback(
21432
- ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
21441
+ ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
21433
21442
  []
21434
21443
  );
21435
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
21444
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
21436
21445
  }
21437
21446
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
21438
21447
  const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
@@ -21549,7 +21558,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21549
21558
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
21550
21559
  if (editAgent) {
21551
21560
  return /* @__PURE__ */ jsxRuntime.jsx(
21552
- chunkTEMJBXGQ_cjs.AgentEditView,
21561
+ chunkMBXQSBG3_cjs.AgentEditView,
21553
21562
  {
21554
21563
  agentName: editAgent.name,
21555
21564
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -21565,7 +21574,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21565
21574
  }
21566
21575
  if (view === "main") {
21567
21576
  return /* @__PURE__ */ jsxRuntime.jsx(
21568
- chunkTEMJBXGQ_cjs.AgentMainView,
21577
+ chunkMBXQSBG3_cjs.AgentMainView,
21569
21578
  {
21570
21579
  onConnectExternal: () => setView("connect"),
21571
21580
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -21581,11 +21590,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21581
21590
  }
21582
21591
  if (result) {
21583
21592
  return /* @__PURE__ */ jsxRuntime.jsx(
21584
- chunkTEMJBXGQ_cjs.AgentCreatedView,
21593
+ chunkMBXQSBG3_cjs.AgentCreatedView,
21585
21594
  {
21586
21595
  email: result.email,
21587
21596
  signingKey: result.signingKey,
21588
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
21597
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
21589
21598
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
21590
21599
  isConfigOpen: configOpen,
21591
21600
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -21594,7 +21603,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21594
21603
  );
21595
21604
  }
21596
21605
  return /* @__PURE__ */ jsxRuntime.jsx(
21597
- chunkTEMJBXGQ_cjs.AgentCreateView,
21606
+ chunkMBXQSBG3_cjs.AgentCreateView,
21598
21607
  {
21599
21608
  name,
21600
21609
  onNameChange: setName,
@@ -21789,13 +21798,13 @@ function ConnectedNewThreadDialog({
21789
21798
  });
21790
21799
  const parentOptions = react$1.useMemo(() => {
21791
21800
  const leaf = { external_id: "__new__" };
21792
- return chunkTEMJBXGQ_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
21801
+ return chunkMBXQSBG3_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
21793
21802
  id: t.external_id,
21794
21803
  name: t.title?.trim() || "Untitled task"
21795
21804
  }));
21796
21805
  }, [tasks]);
21797
21806
  const submit = async (values) => {
21798
- const request = chunkTEMJBXGQ_cjs.newThreadToRequest(values);
21807
+ const request = chunkMBXQSBG3_cjs.newThreadToRequest(values);
21799
21808
  try {
21800
21809
  if (!workspaceId) throw new Error("Open a workspace to add a task.");
21801
21810
  if (!request.startAssistant && request.todo) {
@@ -21836,7 +21845,7 @@ function ConnectedNewThreadDialog({
21836
21845
  }
21837
21846
  };
21838
21847
  return /* @__PURE__ */ jsxRuntime.jsx(
21839
- chunkTEMJBXGQ_cjs.NewThreadDialog,
21848
+ chunkMBXQSBG3_cjs.NewThreadDialog,
21840
21849
  {
21841
21850
  open,
21842
21851
  onOpenChange,
@@ -21956,14 +21965,14 @@ var referencesOf = (inputs) => {
21956
21965
  return value?.documents ?? [];
21957
21966
  };
21958
21967
  var PROMPT_BINDINGS = {
21959
- [chunkTEMJBXGQ_cjs.GENERATE_IMAGE_ID]: {
21968
+ [chunkMBXQSBG3_cjs.GENERATE_IMAGE_ID]: {
21960
21969
  attachScope: false,
21961
21970
  tools: (inputs) => {
21962
21971
  const aspectRatio = typeof inputs.aspect_ratio === "string" ? inputs.aspect_ratio : "";
21963
21972
  return {
21964
21973
  retrieval_chunk: browser.buildRetrievalChunkTool([]),
21965
21974
  retrieval_full_context: browser.buildRetrievalFullContextTool(referencesOf(inputs)),
21966
- ...aspectRatio && aspectRatio !== chunkTEMJBXGQ_cjs.IMAGE_ASPECT_AUTO ? {
21975
+ ...aspectRatio && aspectRatio !== chunkMBXQSBG3_cjs.IMAGE_ASPECT_AUTO ? {
21967
21976
  image_generation: {
21968
21977
  name: "image_generation",
21969
21978
  description: "image generation",
@@ -21984,19 +21993,19 @@ var text = (inputs, name) => {
21984
21993
  function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
21985
21994
  const { data: documents = [] } = react.useDocuments();
21986
21995
  const { data: workspaceTags = [] } = react.useTags();
21987
- const tags = react$1.useMemo(() => chunkSYWJNSPS_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
21996
+ const tags = react$1.useMemo(() => chunk6HI5OXB6_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
21988
21997
  const createTag = react.useCreateTag();
21989
21998
  const updateTag = react.useUpdateTag();
21990
21999
  const generate = react.useGenerateDocTags();
21991
- const { create: createTask } = chunkFSUWRDZT_cjs.useWorkflowTasks();
22000
+ const { create: createTask } = chunkDCHNB7DF_cjs.useWorkflowTasks();
21992
22001
  const applyModel = react.useApplyChatModel();
21993
22002
  const session = react.useArbiSessionStore();
21994
22003
  const { notify: notify17, openFiles, openNewConversation } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
21995
22004
  const annotate = react$1.useCallback(
21996
22005
  async ({ inputs, scope }) => {
21997
22006
  const description = text(inputs, "description");
21998
- const name = text(inputs, "name") || chunkTEMJBXGQ_cjs.deriveAnnotationName(description);
21999
- const matching = chunkSYWJNSPS_cjs.matchWorkflowScope(documents, scope);
22007
+ const name = text(inputs, "name") || chunkMBXQSBG3_cjs.deriveAnnotationName(description);
22008
+ const matching = chunk6HI5OXB6_cjs.matchWorkflowScope(documents, scope);
22000
22009
  if (!name || !description || matching.length === 0) return;
22001
22010
  try {
22002
22011
  const existing = tags.find((t) => t.name.toLowerCase() === name.toLowerCase());
@@ -22039,9 +22048,9 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
22039
22048
  async (launch) => {
22040
22049
  const { workflow, inputs, scope, agentId } = launch;
22041
22050
  if (workflow.run.kind === "operation") {
22042
- if (workflow.id === chunkTEMJBXGQ_cjs.ANNOTATE_ID) {
22051
+ if (workflow.id === chunkMBXQSBG3_cjs.ANNOTATE_ID) {
22043
22052
  await annotate(launch);
22044
- chunkTEMJBXGQ_cjs.recordWorkflowUse(workflow.id);
22053
+ chunkMBXQSBG3_cjs.recordWorkflowUse(workflow.id);
22045
22054
  return;
22046
22055
  }
22047
22056
  throw new Error(`No host handler for workflow "${workflow.id}"`);
@@ -22051,7 +22060,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
22051
22060
  );
22052
22061
  const prompt = chunk5GQOIQCB_cjs.composeWorkflowPrompt(workflow, inputs, { documentTitles });
22053
22062
  if (!prompt) return;
22054
- chunkTEMJBXGQ_cjs.recordWorkflowUse(workflow.id);
22063
+ chunkMBXQSBG3_cjs.recordWorkflowUse(workflow.id);
22055
22064
  if (agentId) {
22056
22065
  try {
22057
22066
  const created = await createTask({
@@ -22096,7 +22105,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
22096
22105
  const binding = PROMPT_BINDINGS[workflow.id];
22097
22106
  if (!inPlace) openNewConversation();
22098
22107
  if (binding?.attachScope !== false && !chunk5GQOIQCB_cjs.isEmptyWorkflowScope(scope)) {
22099
- const ids = chunkSYWJNSPS_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
22108
+ const ids = chunk6HI5OXB6_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
22100
22109
  if (ids.length > 0) {
22101
22110
  session.setConversationDocuments(
22102
22111
  inPlace ? session.getState().conversationId ?? "new" : "new",
@@ -22131,30 +22140,30 @@ function ConnectedWorkflowStart({
22131
22140
  const onLaunch = useLaunchWorkflow({ landing });
22132
22141
  const { openUpload } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
22133
22142
  const { data: workspaceTags = [] } = react.useTags();
22134
- const tags = react$1.useMemo(() => chunkSYWJNSPS_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
22143
+ const tags = react$1.useMemo(() => chunk6HI5OXB6_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
22135
22144
  const fieldPlaceholder = react$1.useCallback(
22136
22145
  (field, inputs, workflow) => {
22137
- if (workflow.id !== chunkTEMJBXGQ_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
22138
- const derived = chunkTEMJBXGQ_cjs.deriveAnnotationName(String(inputs.description ?? ""));
22146
+ if (workflow.id !== chunkMBXQSBG3_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
22147
+ const derived = chunkMBXQSBG3_cjs.deriveAnnotationName(String(inputs.description ?? ""));
22139
22148
  return derived ? `Otherwise \u201C${derived}\u201D` : "Taken from the description";
22140
22149
  },
22141
22150
  []
22142
22151
  );
22143
22152
  return /* @__PURE__ */ jsxRuntime.jsx(
22144
- chunkECCV4YOL_cjs.ConnectedWorkflowLauncher,
22153
+ chunk5ZWEUUJN_cjs.ConnectedWorkflowLauncher,
22145
22154
  {
22146
22155
  ...rest,
22147
22156
  workflows,
22148
22157
  onLaunch,
22149
- renderIcon: chunkTEMJBXGQ_cjs.renderWorkflowIcon,
22158
+ renderIcon: chunkMBXQSBG3_cjs.renderWorkflowIcon,
22150
22159
  onAddFiles: openUpload,
22151
22160
  agentLabels: AGENT_LABELS,
22152
22161
  addFilesAction,
22153
22162
  fieldPlaceholder,
22154
- submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkTEMJBXGQ_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
22163
+ submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkMBXQSBG3_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
22155
22164
  renderNotice: ({ workflow, inputs }) => {
22156
- if (workflow.id !== chunkTEMJBXGQ_cjs.ANNOTATE_ID) return null;
22157
- const name = String(inputs.name ?? "").trim() || chunkTEMJBXGQ_cjs.deriveAnnotationName(String(inputs.description ?? ""));
22165
+ if (workflow.id !== chunkMBXQSBG3_cjs.ANNOTATE_ID) return null;
22166
+ const name = String(inputs.name ?? "").trim() || chunkMBXQSBG3_cjs.deriveAnnotationName(String(inputs.description ?? ""));
22158
22167
  const existing = name ? tags.find((t) => t.name.toLowerCase() === name.toLowerCase()) : void 0;
22159
22168
  if (!existing) return null;
22160
22169
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -22183,7 +22192,7 @@ var TILE_TEST_IDS = {
22183
22192
  annotate: "workspace-dashboard-quick-action-annotate"
22184
22193
  };
22185
22194
  function DashboardStart({ addMenu, onCreateNew }) {
22186
- const { dashboard: workflows } = chunkFSUWRDZT_cjs.useWorkflowDefinitions();
22195
+ const { dashboard: workflows } = chunkDCHNB7DF_cjs.useWorkflowDefinitions();
22187
22196
  const { isMember, role } = react.useCurrentWorkspace();
22188
22197
  const canWrite = isMember && role !== "guest";
22189
22198
  const [activeId, setActiveId] = react$1.useState(null);
@@ -22209,7 +22218,7 @@ function DashboardStart({ addMenu, onCreateNew }) {
22209
22218
  }
22210
22219
  ] : void 0,
22211
22220
  tileTestId: (workflow) => TILE_TEST_IDS[workflow.id],
22212
- disabledReason: (workflow) => !canWrite && workflow.id === chunkTEMJBXGQ_cjs.ANNOTATE_ID ? "Only workspace members can annotate files" : void 0
22221
+ disabledReason: (workflow) => !canWrite && workflow.id === chunkMBXQSBG3_cjs.ANNOTATE_ID ? "Only workspace members can annotate files" : void 0
22213
22222
  }
22214
22223
  );
22215
22224
  }
@@ -22240,7 +22249,7 @@ function recentConversations(conversations) {
22240
22249
  return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
22241
22250
  id: c.external_id,
22242
22251
  title: c.title?.trim() || "Untitled thread",
22243
- subtitle: c.status ? [chunkTEMJBXGQ_cjs.STATUS_LABELS[chunkTEMJBXGQ_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
22252
+ subtitle: c.status ? [chunkMBXQSBG3_cjs.STATUS_LABELS[chunkMBXQSBG3_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
22244
22253
  time: timeAndDate(c.updated_at)
22245
22254
  }));
22246
22255
  }
@@ -22331,7 +22340,7 @@ function DocumentsUploadButton({
22331
22340
  [hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
22332
22341
  );
22333
22342
  return /* @__PURE__ */ jsxRuntime.jsx(
22334
- chunkZQ2MQBNC_cjs.FilesAddMenu,
22343
+ chunk33MKOWSA_cjs.FilesAddMenu,
22335
22344
  {
22336
22345
  items,
22337
22346
  isCompact,
@@ -22426,7 +22435,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
22426
22435
  addFiles: () => upload(),
22427
22436
  dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
22428
22437
  /* @__PURE__ */ jsxRuntime.jsx(
22429
- chunkZQ2MQBNC_cjs.UrlInputDialog,
22438
+ chunk33MKOWSA_cjs.UrlInputDialog,
22430
22439
  {
22431
22440
  open: urlDialogOpen,
22432
22441
  onOpenChange: setUrlDialogOpen,
@@ -22616,7 +22625,7 @@ function parseTypedSkill(draft) {
22616
22625
  return m ? { slug: m[1].toLowerCase(), text: (m[2] ?? "").trim() } : null;
22617
22626
  }
22618
22627
  function useSlashSkillWorkflows({ landing }) {
22619
- const { skills, skillsEnabled } = chunkFSUWRDZT_cjs.useWorkflowDefinitions();
22628
+ const { skills, skillsEnabled } = chunkDCHNB7DF_cjs.useWorkflowDefinitions();
22620
22629
  const { commands } = react.useBuiltinCommands();
22621
22630
  const [active, setActive] = react$1.useState(null);
22622
22631
  const open = (workflow, text2) => {
@@ -22675,7 +22684,7 @@ function ConnectedAskField({
22675
22684
  filteredItems,
22676
22685
  isOpen: isSlashMenuOpen,
22677
22686
  canBrowseSkills
22678
- } = chunkB3WHUTI7_cjs.useSlashItems(text2, chunkTEMJBXGQ_cjs.BUILTIN_SKILLS);
22687
+ } = chunkSDXK2COQ_cjs.useSlashItems(text2, chunkMBXQSBG3_cjs.BUILTIN_SKILLS);
22679
22688
  const slashWorkflows = useSlashSkillWorkflows({ landing: "chat" });
22680
22689
  const insertSlashItem = (item) => {
22681
22690
  if (slashWorkflows.openFor(item)) {
@@ -22775,7 +22784,7 @@ function AddFromAccountsButton({
22775
22784
  className: "gap-2",
22776
22785
  "data-testid": dataTestId,
22777
22786
  children: [
22778
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
22787
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
22779
22788
  "Add from accounts"
22780
22789
  ]
22781
22790
  }
@@ -22859,7 +22868,7 @@ function ConnectedUploadDropzone({
22859
22868
  const onFiles = browse(fileInputRef);
22860
22869
  const onFolder = browse(folderInputRef);
22861
22870
  const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
22862
- chunkZQ2MQBNC_cjs.UploadDropArea,
22871
+ chunk33MKOWSA_cjs.UploadDropArea,
22863
22872
  {
22864
22873
  isActive: dragActive,
22865
22874
  isDisabled: disabled,
@@ -22873,11 +22882,11 @@ function ConnectedUploadDropzone({
22873
22882
  onClick: (e) => {
22874
22883
  if (e.target === e.currentTarget) onFiles();
22875
22884
  },
22876
- actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
22885
+ actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
22877
22886
  }
22878
22887
  );
22879
22888
  const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
22880
- chunkZQ2MQBNC_cjs.UrlInputDialog,
22889
+ chunk33MKOWSA_cjs.UrlInputDialog,
22881
22890
  {
22882
22891
  onUrlsSubmit,
22883
22892
  processing: disabled,
@@ -22890,12 +22899,12 @@ function ConnectedUploadDropzone({
22890
22899
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
22891
22900
  dropTarget,
22892
22901
  compactLeadingAction,
22893
- onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
22902
+ onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
22894
22903
  ] });
22895
22904
  }
22896
22905
  if (!source) {
22897
22906
  return /* @__PURE__ */ jsxRuntime.jsx(
22898
- chunkZQ2MQBNC_cjs.UploadSourcePicker,
22907
+ chunk33MKOWSA_cjs.UploadSourcePicker,
22899
22908
  {
22900
22909
  isDisabled: disabled,
22901
22910
  options: [
@@ -22931,14 +22940,14 @@ function ConnectedUploadDropzone({
22931
22940
  }
22932
22941
  if (source === "computer") {
22933
22942
  return /* @__PURE__ */ jsxRuntime.jsxs(
22934
- chunkZQ2MQBNC_cjs.UploadSourceSection,
22943
+ chunk33MKOWSA_cjs.UploadSourceSection,
22935
22944
  {
22936
22945
  testId: "upload-source-computer",
22937
22946
  className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
22938
22947
  children: [
22939
22948
  dropTarget,
22940
22949
  /* @__PURE__ */ jsxRuntime.jsx(
22941
- chunkZQ2MQBNC_cjs.UploadBrowseButtons,
22950
+ chunk33MKOWSA_cjs.UploadBrowseButtons,
22942
22951
  {
22943
22952
  layout: "grid",
22944
22953
  onFiles,
@@ -22951,15 +22960,15 @@ function ConnectedUploadDropzone({
22951
22960
  );
22952
22961
  }
22953
22962
  if (source === "internet" && onUrlsSubmit) {
22954
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
22963
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
22955
22964
  }
22956
22965
  if (source === "email" && accounts) {
22957
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
22966
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
22958
22967
  }
22959
22968
  return null;
22960
22969
  })();
22961
22970
  return /* @__PURE__ */ jsxRuntime.jsxs(
22962
- chunkZQ2MQBNC_cjs.UploadFrame,
22971
+ chunk33MKOWSA_cjs.UploadFrame,
22963
22972
  {
22964
22973
  isCompact: compact,
22965
22974
  isDimmed: disabled || processingMessage !== null,
@@ -23020,7 +23029,7 @@ function EmptyWorkspaceUpload({
23020
23029
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
23021
23030
  }
23022
23031
  ),
23023
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.PrivacyExplainerModal, {})
23032
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.PrivacyExplainerModal, {})
23024
23033
  ] })
23025
23034
  }
23026
23035
  );
@@ -23127,9 +23136,9 @@ function useDocumentFilters({
23127
23136
  const { data: members = [] } = react.useWorkspaceUsers();
23128
23137
  const user = members.find((m) => m.user.external_id === currentUserId)?.user;
23129
23138
  const offlineIds = react.useOfflineDocumentIds();
23130
- const pendingFolders = chunkEW54OI4U_cjs.usePendingFolders(selectedWorkspaceId);
23131
- const persistedDocumentFilters = chunkEW54OI4U_cjs.useFilesPrefs((state) => state.documentFilters);
23132
- const setPersistedDocumentFilters = chunkEW54OI4U_cjs.useFilesPrefs((state) => state.setDocumentFilters);
23139
+ const pendingFolders = chunkHEM27NA3_cjs.usePendingFolders(selectedWorkspaceId);
23140
+ const persistedDocumentFilters = chunkHEM27NA3_cjs.useFilesPrefs((state) => state.documentFilters);
23141
+ const setPersistedDocumentFilters = chunkHEM27NA3_cjs.useFilesPrefs((state) => state.setDocumentFilters);
23133
23142
  const folderTree = react$1.useMemo(() => {
23134
23143
  const allPaths = /* @__PURE__ */ new Set();
23135
23144
  let hasUnfiled = false;
@@ -23350,7 +23359,7 @@ function useDocumentFilters({
23350
23359
  {
23351
23360
  id: "uploaded_by_me",
23352
23361
  label: "Uploaded by me",
23353
- icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkSXY7K54A_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
23362
+ icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkGFG7DCJ3_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
23354
23363
  count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
23355
23364
  },
23356
23365
  {
@@ -23471,7 +23480,7 @@ function useDocumentFilters({
23471
23480
  const folderPath = react$1.useMemo(() => {
23472
23481
  for (const [key, state] of documentFilters) {
23473
23482
  if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
23474
- return chunkZQ2MQBNC_cjs.parseFolderSegments(key.slice("folder:".length));
23483
+ return chunk33MKOWSA_cjs.parseFolderSegments(key.slice("folder:".length));
23475
23484
  }
23476
23485
  }
23477
23486
  return [];
@@ -23480,7 +23489,7 @@ function useDocumentFilters({
23480
23489
  (path) => {
23481
23490
  const next = new Map(documentFilters);
23482
23491
  for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
23483
- const joined = chunkZQ2MQBNC_cjs.joinFolderPath(path);
23492
+ const joined = chunk33MKOWSA_cjs.joinFolderPath(path);
23484
23493
  if (joined) next.set(`folder:${joined}`, "include");
23485
23494
  setDocumentFilters(next);
23486
23495
  },
@@ -25655,7 +25664,7 @@ function ConnectedMailbox({
25655
25664
  onTabChange: () => {
25656
25665
  },
25657
25666
  compactBreakpoint: 360,
25658
- firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FilesFilterBar, { children: [
25667
+ firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FilesFilterBar, { children: [
25659
25668
  /* @__PURE__ */ jsxRuntime.jsx(
25660
25669
  chunk6UZC4XVV_cjs.FilterInput,
25661
25670
  {
@@ -25690,7 +25699,7 @@ function ConnectedMailbox({
25690
25699
  }
25691
25700
  ),
25692
25701
  folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
25693
- chunkZQ2MQBNC_cjs.FolderFilterButton,
25702
+ chunk33MKOWSA_cjs.FolderFilterButton,
25694
25703
  {
25695
25704
  label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
25696
25705
  isActive: false,
@@ -25698,7 +25707,7 @@ function ConnectedMailbox({
25698
25707
  onOpenChange: setFolderMenuOpen,
25699
25708
  testId: "mail-folder-button",
25700
25709
  children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
25701
- chunkZQ2MQBNC_cjs.FolderPickerRow,
25710
+ chunk33MKOWSA_cjs.FolderPickerRow,
25702
25711
  {
25703
25712
  label: item.name,
25704
25713
  count: item.unread > 0 ? item.unread : void 0,
@@ -26225,7 +26234,7 @@ function ConnectedSecureMailClaimPage({
26225
26234
  }) {
26226
26235
  const authenticated = react.useArbiSession().status === "signed-in";
26227
26236
  const { openMail } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
26228
- const { loading } = chunkB3WHUTI7_cjs.useAuthPages();
26237
+ const { loading } = chunkSDXK2COQ_cjs.useAuthPages();
26229
26238
  const claim = react.useClaimSecureMail();
26230
26239
  const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
26231
26240
  const [failure, setFailure] = react$1.useState(null);
@@ -26265,7 +26274,7 @@ function ConnectedSecureMailClaimPage({
26265
26274
  }
26266
26275
  })();
26267
26276
  }, [authenticated, claimId, key]);
26268
- if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkPAMIB34K_cjs.LoadingIndicator, { variant: "splash" }) });
26277
+ if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkU4ZLFL6M_cjs.LoadingIndicator, { variant: "splash" }) });
26269
26278
  return /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-screen items-center justify-center bg-background p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full max-w-md rounded-lg border border-border bg-card p-6", children: [
26270
26279
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
26271
26280
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -27656,7 +27665,7 @@ function EventEditorDialog({
27656
27665
  const { notify: notify17, runtimeConfig } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
27657
27666
  const attachmentDocuments = documents.map((document2) => ({
27658
27667
  doc_id: document2.external_id,
27659
- title: chunkECCV4YOL_cjs.toWorkflowFieldDocument(document2).title,
27668
+ title: chunk5ZWEUUJN_cjs.toWorkflowFieldDocument(document2).title,
27660
27669
  url: chunkLJJJ6CYH_cjs.buildDeepLinkUrl(
27661
27670
  { workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
27662
27671
  runtimeConfig.deploymentDomain
@@ -29411,7 +29420,7 @@ function ProcessingSettingsFooter({
29411
29420
  [configField]
29412
29421
  );
29413
29422
  return /* @__PURE__ */ jsxRuntime.jsx(
29414
- chunkZQ2MQBNC_cjs.UploadFooterBar,
29423
+ chunk33MKOWSA_cjs.UploadFooterBar,
29415
29424
  {
29416
29425
  skipDuplicates,
29417
29426
  onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
@@ -29420,7 +29429,7 @@ function ProcessingSettingsFooter({
29420
29429
  autoRenameInstruction,
29421
29430
  onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
29422
29431
  shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
29423
- chunkZQ2MQBNC_cjs.ShareToggle,
29432
+ chunk33MKOWSA_cjs.ShareToggle,
29424
29433
  {
29425
29434
  isVisible: isShared,
29426
29435
  onToggle: onSharedChange,
@@ -29597,7 +29606,7 @@ ${summary}`,
29597
29606
  }
29598
29607
  );
29599
29608
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
29600
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
29609
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
29601
29610
  files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
29602
29611
  ConnectedUploadDropzone,
29603
29612
  {
@@ -29613,7 +29622,7 @@ ${summary}`,
29613
29622
  }
29614
29623
  ),
29615
29624
  /* @__PURE__ */ jsxRuntime.jsx(
29616
- chunkZQ2MQBNC_cjs.SelectedFilesList,
29625
+ chunk33MKOWSA_cjs.SelectedFilesList,
29617
29626
  {
29618
29627
  renderFileIcon,
29619
29628
  files,
@@ -29622,10 +29631,10 @@ ${summary}`,
29622
29631
  formatFileSize: formatFileSize4
29623
29632
  }
29624
29633
  ),
29625
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
29626
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadErrorMessage, { message: error })
29627
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
29628
- chunkZQ2MQBNC_cjs.UploadProgress,
29634
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
29635
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadErrorMessage, { message: error })
29636
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
29637
+ chunk33MKOWSA_cjs.UploadProgress,
29629
29638
  {
29630
29639
  fileCount: count2,
29631
29640
  entityLabel: plural5(count2),
@@ -29765,7 +29774,7 @@ var PROVIDER_FAMILIES = [
29765
29774
  { key: "google", label: "Google", vendors: ["gmail"] }
29766
29775
  ];
29767
29776
  function VendorGlyph({ catalog }) {
29768
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
29777
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
29769
29778
  }
29770
29779
  function mailboxProductName(catalog) {
29771
29780
  if (catalog.vendor_key === "microsoft") return "Outlook";
@@ -29832,7 +29841,7 @@ function EmailProviderRow({
29832
29841
  const emailNoun = (n) => n === 1 ? "email" : "emails";
29833
29842
  const syncedCount = thisSync?.synced_count ?? 0;
29834
29843
  return /* @__PURE__ */ jsxRuntime.jsxs(
29835
- chunkZQ2MQBNC_cjs.ImportRow,
29844
+ chunk33MKOWSA_cjs.ImportRow,
29836
29845
  {
29837
29846
  testId: `email-provider-row-${catalog.vendor_key}`,
29838
29847
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
@@ -29841,7 +29850,7 @@ function EmailProviderRow({
29841
29850
  // Connecting AND reconnecting are owned by the family header, so a
29842
29851
  // not-connected or needs-reconnect row shows no button of its own.
29843
29852
  !isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
29844
- chunkZQ2MQBNC_cjs.ImportRunActions,
29853
+ chunk33MKOWSA_cjs.ImportRunActions,
29845
29854
  {
29846
29855
  isRunning: running,
29847
29856
  isStopping: cancelSync.isPending,
@@ -29856,10 +29865,10 @@ function EmailProviderRow({
29856
29865
  ),
29857
29866
  children: [
29858
29867
  isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
29859
- chunkZQ2MQBNC_cjs.ImportSummary,
29868
+ chunk33MKOWSA_cjs.ImportSummary,
29860
29869
  {
29861
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
29862
- chunkZQ2MQBNC_cjs.FolderSummary,
29870
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
29871
+ chunk33MKOWSA_cjs.FolderSummary,
29863
29872
  {
29864
29873
  names: thisSync.folders.map(
29865
29874
  (id) => mailboxFolders?.find((f) => f.id === id)?.name
@@ -29882,7 +29891,7 @@ function EmailProviderRow({
29882
29891
  }
29883
29892
  ),
29884
29893
  running && /* @__PURE__ */ jsxRuntime.jsx(
29885
- chunkZQ2MQBNC_cjs.ImportProgress,
29894
+ chunk33MKOWSA_cjs.ImportProgress,
29886
29895
  {
29887
29896
  processed: progress?.processed ?? 0,
29888
29897
  total: progress?.total,
@@ -29999,9 +30008,9 @@ function EmailImportPanel({
29999
30008
  return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
30000
30009
  }).filter((g) => g.entries.length > 0 || g.extra);
30001
30010
  if (groups.length === 0) return null;
30002
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ImportPanel, { "data-testid": "email-import-panel", children: groups.map(
30011
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ImportPanel, { "data-testid": "email-import-panel", children: groups.map(
30003
30012
  ({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
30004
- chunkZQ2MQBNC_cjs.ImportFamilySection,
30013
+ chunk33MKOWSA_cjs.ImportFamilySection,
30005
30014
  {
30006
30015
  label: family.label,
30007
30016
  identity,
@@ -30010,7 +30019,7 @@ function EmailImportPanel({
30010
30019
  onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
30011
30020
  testId: `import-family-${family.key}`,
30012
30021
  actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
30013
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.ImportList, { children: [
30022
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.ImportList, { children: [
30014
30023
  entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
30015
30024
  EmailProviderRow,
30016
30025
  {
@@ -30094,7 +30103,7 @@ function driveProduct(vendorKey) {
30094
30103
  }
30095
30104
  function VendorGlyph2({ catalog }) {
30096
30105
  return /* @__PURE__ */ jsxRuntime.jsx(
30097
- chunkZQ2MQBNC_cjs.VendorLogo,
30106
+ chunk33MKOWSA_cjs.VendorLogo,
30098
30107
  {
30099
30108
  vendorKey: catalog.vendor_key,
30100
30109
  product: driveProduct(catalog.vendor_key).glyph,
@@ -30217,7 +30226,7 @@ function OneDriveProviderRow({
30217
30226
  const driveNoun = (n) => n === 1 ? "document" : "documents";
30218
30227
  const showRunActions = isConnected && !needsReconnect;
30219
30228
  const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
30220
- chunkZQ2MQBNC_cjs.ImportActionButton,
30229
+ chunk33MKOWSA_cjs.ImportActionButton,
30221
30230
  {
30222
30231
  onClick: () => void reconnectSelf(),
30223
30232
  disabled: reauthPending,
@@ -30226,7 +30235,7 @@ function OneDriveProviderRow({
30226
30235
  }
30227
30236
  ) : null;
30228
30237
  return /* @__PURE__ */ jsxRuntime.jsxs(
30229
- chunkZQ2MQBNC_cjs.ImportRow,
30238
+ chunk33MKOWSA_cjs.ImportRow,
30230
30239
  {
30231
30240
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
30232
30241
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
@@ -30238,7 +30247,7 @@ function OneDriveProviderRow({
30238
30247
  // Until folders are configured here (or when nothing new is pending), Import now
30239
30248
  // stays disabled; the gear opens the folder picker.
30240
30249
  /* @__PURE__ */ jsxRuntime.jsx(
30241
- chunkZQ2MQBNC_cjs.ImportRunActions,
30250
+ chunk33MKOWSA_cjs.ImportRunActions,
30242
30251
  {
30243
30252
  isRunning: running,
30244
30253
  isStopping: cancelSync.isPending,
@@ -30257,16 +30266,16 @@ function OneDriveProviderRow({
30257
30266
  ) : reconnectAction
30258
30267
  ),
30259
30268
  children: [
30260
- ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
30269
+ ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
30261
30270
  "Couldn\u2019t reach SharePoint. Click ",
30262
30271
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
30263
30272
  " \u2014 if it keeps happening, log out and back in to refresh the connection."
30264
30273
  ] }),
30265
30274
  configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
30266
- chunkZQ2MQBNC_cjs.ImportSummary,
30275
+ chunk33MKOWSA_cjs.ImportSummary,
30267
30276
  {
30268
30277
  className: "mt-2",
30269
- aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ImportAside, { className: "max-w-none shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `drive-pending-${catalog.vendor_key}`, children: pendingCount > 0 ? `${pendingCount.toLocaleString()} new ${driveNoun(pendingCount)} to sync` : "No new documents to sync" }) }) : void 0,
30278
+ aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ImportAside, { className: "max-w-none shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `drive-pending-${catalog.vendor_key}`, children: pendingCount > 0 ? `${pendingCount.toLocaleString()} new ${driveNoun(pendingCount)} to sync` : "No new documents to sync" }) }) : void 0,
30270
30279
  children: [
30271
30280
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
30272
30281
  "Syncing ",
@@ -30294,7 +30303,7 @@ function OneDriveProviderRow({
30294
30303
  }
30295
30304
  ),
30296
30305
  running && /* @__PURE__ */ jsxRuntime.jsx(
30297
- chunkZQ2MQBNC_cjs.ImportProgress,
30306
+ chunk33MKOWSA_cjs.ImportProgress,
30298
30307
  {
30299
30308
  processed: progress?.processed ?? 0,
30300
30309
  total: progress?.total,
@@ -30358,13 +30367,13 @@ function SharePointEnableRow({
30358
30367
  }
30359
30368
  };
30360
30369
  return /* @__PURE__ */ jsxRuntime.jsx(
30361
- chunkZQ2MQBNC_cjs.ImportRow,
30370
+ chunk33MKOWSA_cjs.ImportRow,
30362
30371
  {
30363
30372
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
30364
- logo: /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
30373
+ logo: /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
30365
30374
  name: product.name,
30366
30375
  actions: /* @__PURE__ */ jsxRuntime.jsx(
30367
- chunkZQ2MQBNC_cjs.ImportActionButton,
30376
+ chunk33MKOWSA_cjs.ImportActionButton,
30368
30377
  {
30369
30378
  onClick: () => void enable(),
30370
30379
  disabled: pending,
@@ -30372,7 +30381,7 @@ function SharePointEnableRow({
30372
30381
  children: pending ? "Enabling\u2026" : `Enable ${product.name}`
30373
30382
  }
30374
30383
  ),
30375
- children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.ImportHint, { children: [
30384
+ children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.ImportHint, { children: [
30376
30385
  "Does your organization require admin approval?",
30377
30386
  " ",
30378
30387
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -30421,11 +30430,11 @@ function DriveImportPanel({
30421
30430
  }
30422
30431
  const product = driveProduct(entry.vendor_key);
30423
30432
  return /* @__PURE__ */ jsxRuntime.jsx(
30424
- chunkZQ2MQBNC_cjs.ImportRow,
30433
+ chunk33MKOWSA_cjs.ImportRow,
30425
30434
  {
30426
30435
  testId: `onedrive-provider-row-${entry.vendor_key}`,
30427
30436
  logo: /* @__PURE__ */ jsxRuntime.jsx(
30428
- chunkZQ2MQBNC_cjs.VendorLogo,
30437
+ chunk33MKOWSA_cjs.VendorLogo,
30429
30438
  {
30430
30439
  vendorKey: entry.vendor_key,
30431
30440
  product: product.glyph,
@@ -30450,7 +30459,7 @@ function DriveImportPanel({
30450
30459
  );
30451
30460
  }).filter(Boolean);
30452
30461
  if (rows.length === 0) return null;
30453
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
30462
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
30454
30463
  }
30455
30464
  function useHasAccountsImport() {
30456
30465
  const isVendorVisible = react.useConnectorVendorVisibility();
@@ -30651,7 +30660,7 @@ var CheckboxCellRenderer = react$1.memo(function CheckboxCellRenderer2({
30651
30660
  if (!params.data) return null;
30652
30661
  const isChecked = params.value === true;
30653
30662
  return /* @__PURE__ */ jsxRuntime.jsx(
30654
- chunkZQ2MQBNC_cjs.CheckboxCell,
30663
+ chunk33MKOWSA_cjs.CheckboxCell,
30655
30664
  {
30656
30665
  isChecked,
30657
30666
  color: tagColor,
@@ -30674,13 +30683,13 @@ var TagHeaderComponent = react$1.memo(function TagHeaderComponent2({
30674
30683
  return () => params.column.removeEventListener("sortChanged", updateSort);
30675
30684
  }, [params.column]);
30676
30685
  return /* @__PURE__ */ jsxRuntime.jsx(
30677
- chunkZQ2MQBNC_cjs.TagColumnHeader,
30686
+ chunk33MKOWSA_cjs.TagColumnHeader,
30678
30687
  {
30679
30688
  isCentered: isCheckbox,
30680
30689
  sort,
30681
30690
  onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
30682
- filter: /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FilterButton, { params, colId: tag.external_id }),
30683
- label: /* @__PURE__ */ jsxRuntime.jsx(chunkVEETUCPR_cjs.ConnectedTagEntity, { tag, size: "sm" })
30691
+ filter: /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FilterButton, { params, colId: tag.external_id }),
30692
+ label: /* @__PURE__ */ jsxRuntime.jsx(chunkTBARSVW7_cjs.ConnectedTagEntity, { tag, size: "sm" })
30684
30693
  }
30685
30694
  );
30686
30695
  });
@@ -30768,7 +30777,7 @@ function createTagColumn({
30768
30777
  }
30769
30778
  ) : void 0,
30770
30779
  // Use default rendering for text/number/select - shows value with truncation
30771
- cellEditor: isSelect ? chunkZQ2MQBNC_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
30780
+ cellEditor: isSelect ? chunk33MKOWSA_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
30772
30781
  cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
30773
30782
  cellEditorPopup: isText || isSelect,
30774
30783
  // Text and Select tags use popup editor for better UX
@@ -30885,14 +30894,14 @@ function createDocumentColumns({
30885
30894
  onToggleShared,
30886
30895
  notify: notify17
30887
30896
  }) {
30888
- const isRowEditableByOwner = (params) => chunkZQ2MQBNC_cjs.canChangeVisibility(params.data, currentUserExtId);
30889
- const isRowEditableByMember = (params) => chunkZQ2MQBNC_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
30897
+ const isRowEditableByOwner = (params) => chunk33MKOWSA_cjs.canChangeVisibility(params.data, currentUserExtId);
30898
+ const isRowEditableByMember = (params) => chunk33MKOWSA_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
30890
30899
  const documentNameCellRenderer = (params) => {
30891
30900
  const doc = params.data;
30892
30901
  if (!doc) return null;
30893
30902
  const context = params.context;
30894
30903
  return /* @__PURE__ */ jsxRuntime.jsx(
30895
- chunkSXY7K54A_cjs.DocumentNameCell,
30904
+ chunkGFG7DCJ3_cjs.DocumentNameCell,
30896
30905
  {
30897
30906
  doc,
30898
30907
  canEdit: isRowEditableByMember(params),
@@ -30911,7 +30920,7 @@ function createDocumentColumns({
30911
30920
  if (!params.data) return null;
30912
30921
  const isOwner = isRowEditableByOwner(params);
30913
30922
  return /* @__PURE__ */ jsxRuntime.jsx(
30914
- chunkSXY7K54A_cjs.DocumentSharedCell,
30923
+ chunkGFG7DCJ3_cjs.DocumentSharedCell,
30915
30924
  {
30916
30925
  document: params.data,
30917
30926
  disabled: !isOwner,
@@ -30924,7 +30933,7 @@ function createDocumentColumns({
30924
30933
  if (!params.data) return null;
30925
30934
  const context = params.context;
30926
30935
  return /* @__PURE__ */ jsxRuntime.jsx(
30927
- chunkSXY7K54A_cjs.StatusCell,
30936
+ chunkGFG7DCJ3_cjs.StatusCell,
30928
30937
  {
30929
30938
  doc: params.data,
30930
30939
  onStatusClick,
@@ -30937,7 +30946,7 @@ function createDocumentColumns({
30937
30946
  if (!params.data) return null;
30938
30947
  const context = params.context;
30939
30948
  return /* @__PURE__ */ jsxRuntime.jsx(
30940
- chunkSXY7K54A_cjs.DocumentLabelsCell,
30949
+ chunkGFG7DCJ3_cjs.DocumentLabelsCell,
30941
30950
  {
30942
30951
  doc: params.data,
30943
30952
  labels: checkboxTags,
@@ -30956,7 +30965,7 @@ function createDocumentColumns({
30956
30965
  const related = context?.getRelatedDocs?.().get(params.data.external_id);
30957
30966
  if (!related || react.getRelatedTotal(related) === 0) return null;
30958
30967
  return /* @__PURE__ */ jsxRuntime.jsx(
30959
- chunkSXY7K54A_cjs.RelatedDocumentsCell,
30968
+ chunkGFG7DCJ3_cjs.RelatedDocumentsCell,
30960
30969
  {
30961
30970
  currentDoc: params.data,
30962
30971
  related,
@@ -30971,7 +30980,7 @@ function createDocumentColumns({
30971
30980
  if (!params.data) return null;
30972
30981
  const context = params.context;
30973
30982
  return /* @__PURE__ */ jsxRuntime.jsx(
30974
- chunkSXY7K54A_cjs.DocumentFolderCell,
30983
+ chunkGFG7DCJ3_cjs.DocumentFolderCell,
30975
30984
  {
30976
30985
  document: params.data,
30977
30986
  isEditable: isRowEditableByMember(params),
@@ -31091,7 +31100,7 @@ function createDocumentColumns({
31091
31100
  singleClickEdit: true,
31092
31101
  cellEditor: "agSelectCellEditor",
31093
31102
  cellEditorParams: {
31094
- values: [...chunkZQ2MQBNC_cjs.DOCUMENT_TYPE_OPTIONS]
31103
+ values: [...chunk33MKOWSA_cjs.DOCUMENT_TYPE_OPTIONS]
31095
31104
  },
31096
31105
  context: { icon: lucideReact.Sparkles },
31097
31106
  valueGetter: (params) => ui.getDocumentNature(params.data) || "",
@@ -31397,7 +31406,7 @@ function createDocumentColumns({
31397
31406
  const context = params.context;
31398
31407
  const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
31399
31408
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
31400
- chunkSXY7K54A_cjs.UserAvatar,
31409
+ chunkGFG7DCJ3_cjs.UserAvatar,
31401
31410
  {
31402
31411
  user: creator,
31403
31412
  isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
@@ -31629,7 +31638,7 @@ function useDocumentTable({
31629
31638
  }
31630
31639
  const stabilizedTagIds = prevTagIdsRef.current;
31631
31640
  const stabilizedTagNames = prevTagNamesRef.current;
31632
- const defaultVisibleColumns = react$1.useMemo(() => [...chunkZQ2MQBNC_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
31641
+ const defaultVisibleColumns = react$1.useMemo(() => [...chunk33MKOWSA_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
31633
31642
  const toggleShared = react$1.useCallback((docId, shared) => {
31634
31643
  updateDocRef.current.mutate({ documents: [{ external_id: docId, shared }] });
31635
31644
  }, []);
@@ -31894,10 +31903,10 @@ function ConnectedFilesBulkActions({
31894
31903
  const bulk = useDocumentBulkActions(selectedDocuments);
31895
31904
  const count2 = selectedDocuments.length;
31896
31905
  const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
31897
- const shareState = chunkZQ2MQBNC_cjs.shareStateOf(bulk.freshSelectedDocuments);
31906
+ const shareState = chunk33MKOWSA_cjs.shareStateOf(bulk.freshSelectedDocuments);
31898
31907
  const handleToggleShare = async (shouldShare) => {
31899
31908
  if (shouldShare) return bulk.share();
31900
- const confirmed = await chunkZQ2MQBNC_cjs.confirmHideFromMembers(
31909
+ const confirmed = await chunk33MKOWSA_cjs.confirmHideFromMembers(
31901
31910
  confirm,
31902
31911
  bulk.freshSelectedDocuments.length,
31903
31912
  members
@@ -31914,7 +31923,7 @@ function ConnectedFilesBulkActions({
31914
31923
  const { openDocumentsChat, openFieldsManager } = actions;
31915
31924
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
31916
31925
  /* @__PURE__ */ jsxRuntime.jsx(
31917
- chunkZQ2MQBNC_cjs.BulkActionsBar,
31926
+ chunk33MKOWSA_cjs.BulkActionsBar,
31918
31927
  {
31919
31928
  count: count2,
31920
31929
  onClear: onClearSelection,
@@ -31940,7 +31949,7 @@ function ConnectedFilesBulkActions({
31940
31949
  onDelete: () => setConfirming("delete"),
31941
31950
  shareState,
31942
31951
  shareLabels: shareState === "shared" ? { share: "Make private" } : void 0,
31943
- shareTooltip: chunkZQ2MQBNC_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
31952
+ shareTooltip: chunk33MKOWSA_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
31944
31953
  onToggleShare: (shouldShare) => void handleToggleShare(shouldShare)
31945
31954
  }
31946
31955
  ),
@@ -31955,7 +31964,7 @@ function ConnectedFilesBulkActions({
31955
31964
  onClearSelection();
31956
31965
  },
31957
31966
  title: `Delete ${count2} ${noun}`,
31958
- description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkZQ2MQBNC_cjs.RECENTLY_DELETED_HINT : chunkZQ2MQBNC_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
31967
+ description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunk33MKOWSA_cjs.RECENTLY_DELETED_HINT : chunk33MKOWSA_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
31959
31968
  confirmText: "Delete",
31960
31969
  variant: "destructive"
31961
31970
  }
@@ -32206,7 +32215,7 @@ function useAiReviewLiveUpdates() {
32206
32215
  if (message.batch_type !== "doctag_generate") return;
32207
32216
  const docIds = message.doc_ext_ids ?? [];
32208
32217
  if (!docIds.length) return;
32209
- void refreshDocuments(docIds).then(() => chunkEW54OI4U_cjs.useAiReviewStore.getState().markFinished(docIds));
32218
+ void refreshDocuments(docIds).then(() => chunkHEM27NA3_cjs.useAiReviewStore.getState().markFinished(docIds));
32210
32219
  const { clearTask } = react.useArbiWsStore.getState();
32211
32220
  for (const id of docIds) clearTask(id);
32212
32221
  });
@@ -32241,7 +32250,7 @@ function useBatchCompleteToasts() {
32241
32250
  timer.current = null;
32242
32251
  const runs = pending.current;
32243
32252
  pending.current = /* @__PURE__ */ new Map();
32244
- const hasReview = !!chunkEW54OI4U_cjs.useAiReviewStore.getState().run;
32253
+ const hasReview = !!chunkHEM27NA3_cjs.useAiReviewStore.getState().run;
32245
32254
  for (const [id, entry] of runs) {
32246
32255
  const n = entry.docIds.size;
32247
32256
  notify17(
@@ -32254,7 +32263,7 @@ function useBatchCompleteToasts() {
32254
32263
  ...hasReview && {
32255
32264
  action: {
32256
32265
  label: "View results",
32257
- onClick: () => chunkEW54OI4U_cjs.useAiReviewStore.getState().setOpen(true)
32266
+ onClick: () => chunkHEM27NA3_cjs.useAiReviewStore.getState().setOpen(true)
32258
32267
  }
32259
32268
  }
32260
32269
  }
@@ -32262,7 +32271,7 @@ function useBatchCompleteToasts() {
32262
32271
  }
32263
32272
  }, AI_FIELDS_NOTICE_WINDOW_MS);
32264
32273
  } else if (message.batch_type === "entity_extract") {
32265
- say(`${chunkPAMIB34K_cjs.entitiesPhrase()} extracted from ${chunkPAMIB34K_cjs.documentCount(docIds.length)}`, "success", {
32274
+ say(`${chunkU4ZLFL6M_cjs.entitiesPhrase()} extracted from ${chunkU4ZLFL6M_cjs.documentCount(docIds.length)}`, "success", {
32266
32275
  ...openTags && { action: { label: "View", onClick: openTags } }
32267
32276
  });
32268
32277
  } else if (message.batch_type === "upload") {
@@ -32301,12 +32310,12 @@ function ConnectedMoveToFolder({
32301
32310
  setIsSubmitting(true);
32302
32311
  try {
32303
32312
  if (folderToMove) {
32304
- const docsInFolder = chunkZQ2MQBNC_cjs.collectFolderDocs(allDocs, folderToMove.path);
32313
+ const docsInFolder = chunk33MKOWSA_cjs.collectFolderDocs(allDocs, folderToMove.path);
32305
32314
  if (docsInFolder.length === 0) {
32306
32315
  onClose();
32307
32316
  return;
32308
32317
  }
32309
- const newPrefixSegments = targetFolder ? [...chunkZQ2MQBNC_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
32318
+ const newPrefixSegments = targetFolder ? [...chunk33MKOWSA_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
32310
32319
  await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
32311
32320
  const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
32312
32321
  notify17(`Moved folder to ${dest}`, "success");
@@ -32331,9 +32340,9 @@ function ConnectedMoveToFolder({
32331
32340
  }
32332
32341
  };
32333
32342
  const isFolderMode = !!folderToMove;
32334
- const folders = chunkSXY7K54A_cjs.useDocumentFolders(allDocs, targetFolder);
32343
+ const folders = chunkGFG7DCJ3_cjs.useDocumentFolders(allDocs, targetFolder);
32335
32344
  return /* @__PURE__ */ jsxRuntime.jsx(
32336
- chunkZQ2MQBNC_cjs.MoveToFolderDialog,
32345
+ chunk33MKOWSA_cjs.MoveToFolderDialog,
32337
32346
  {
32338
32347
  open: isOpen,
32339
32348
  onClose,
@@ -32343,7 +32352,7 @@ function ConnectedMoveToFolder({
32343
32352
  isSubmitting,
32344
32353
  onConfirm: handleMove,
32345
32354
  children: /* @__PURE__ */ jsxRuntime.jsx(
32346
- chunkZQ2MQBNC_cjs.FolderCommandList,
32355
+ chunk33MKOWSA_cjs.FolderCommandList,
32347
32356
  {
32348
32357
  folders,
32349
32358
  value: targetFolder,
@@ -32571,7 +32580,7 @@ function ConnectedBulkTagEditor({
32571
32580
  const isClearing = change?.action === "remove";
32572
32581
  return {
32573
32582
  id: tag.external_id,
32574
- badge: /* @__PURE__ */ jsxRuntime.jsx(chunkVEETUCPR_cjs.ConnectedTagEntity, { tag, size: "md" }),
32583
+ badge: /* @__PURE__ */ jsxRuntime.jsx(chunkTBARSVW7_cjs.ConnectedTagEntity, { tag, size: "md" }),
32575
32584
  type: tag.tag_type.type,
32576
32585
  color: ui.getEntityColor(tag.external_id, "medium"),
32577
32586
  options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
@@ -32603,7 +32612,7 @@ function ConnectedBulkTagEditor({
32603
32612
  const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
32604
32613
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
32605
32614
  /* @__PURE__ */ jsxRuntime.jsx(
32606
- chunkZQ2MQBNC_cjs.BulkTagEditorDialog,
32615
+ chunk33MKOWSA_cjs.BulkTagEditorDialog,
32607
32616
  {
32608
32617
  open,
32609
32618
  onClose,
@@ -32661,7 +32670,7 @@ function ConnectedBulkTagEditor({
32661
32670
  }
32662
32671
  ),
32663
32672
  /* @__PURE__ */ jsxRuntime.jsx(
32664
- chunkZQ2MQBNC_cjs.BulkReplaceDialog,
32673
+ chunk33MKOWSA_cjs.BulkReplaceDialog,
32665
32674
  {
32666
32675
  open: showGenerateConfirmation,
32667
32676
  onClose: () => setShowGenerateConfirmation(false),
@@ -32776,7 +32785,7 @@ function ViewSelector({
32776
32785
  columns: defaultColumns,
32777
32786
  icon: lucideReact.Table,
32778
32787
  // Both built-ins load at the minimal (compact) row height.
32779
- rowHeight: chunkZQ2MQBNC_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
32788
+ rowHeight: chunk33MKOWSA_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
32780
32789
  // [] = loading this view unpins everything.
32781
32790
  pinnedLeft: []
32782
32791
  },
@@ -32787,15 +32796,15 @@ function ViewSelector({
32787
32796
  // batch-select checkbox and Title stay fixed left while scrolling.
32788
32797
  columns: defaultColumns,
32789
32798
  icon: lucideReact.Columns3,
32790
- rowHeight: chunkZQ2MQBNC_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
32799
+ rowHeight: chunk33MKOWSA_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
32791
32800
  pinnedLeft: DOCUMENT_VIEW_PINNED
32792
32801
  },
32793
32802
  {
32794
32803
  key: "email-default",
32795
32804
  label: "Email view",
32796
- columns: [...chunkZQ2MQBNC_cjs.EMAIL_VIEW_COLUMNS],
32805
+ columns: [...chunk33MKOWSA_cjs.EMAIL_VIEW_COLUMNS],
32797
32806
  icon: lucideReact.Mail,
32798
- rowHeight: chunkZQ2MQBNC_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
32807
+ rowHeight: chunk33MKOWSA_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
32799
32808
  pinnedLeft: []
32800
32809
  }
32801
32810
  ],
@@ -32819,7 +32828,7 @@ function ViewSelector({
32819
32828
  },
32820
32829
  [confirm, workspaceId, deleteView, notify17]
32821
32830
  );
32822
- const menu = chunkZQ2MQBNC_cjs.useGridViews({
32831
+ const menu = chunk33MKOWSA_cjs.useGridViews({
32823
32832
  getGridApi,
32824
32833
  defaultColumns,
32825
32834
  builtins,
@@ -32834,7 +32843,7 @@ function ViewSelector({
32834
32843
  onDeleteView,
32835
32844
  isSaving
32836
32845
  });
32837
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ViewSelectorMenu, { ...menu });
32846
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ViewSelectorMenu, { ...menu });
32838
32847
  }
32839
32848
  function DocumentsFilterBarActions({
32840
32849
  isModal,
@@ -32874,7 +32883,7 @@ function DocumentsFilterBarActions({
32874
32883
  ),
32875
32884
  documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
32876
32885
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
32877
- chunkZQ2MQBNC_cjs.RowDensityControl,
32886
+ chunk33MKOWSA_cjs.RowDensityControl,
32878
32887
  {
32879
32888
  rowHeight: documentsRowHeight,
32880
32889
  onRowHeightChange: onDocumentsRowHeightChange
@@ -32982,8 +32991,8 @@ function DocumentsFilterBarActions({
32982
32991
  }
32983
32992
  function PersistedGridView(props) {
32984
32993
  const { persistState, gridId } = props;
32985
- const setGridState = chunkEW54OI4U_cjs.useFilesGridStates((state) => state.setGridState);
32986
- const gridState = persistState && gridId ? chunkEW54OI4U_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
32994
+ const setGridState = chunkHEM27NA3_cjs.useFilesGridStates((state) => state.setGridState);
32995
+ const gridState = persistState && gridId ? chunkHEM27NA3_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
32987
32996
  const onGridStateChange = react$1.useCallback(
32988
32997
  (state) => {
32989
32998
  if (persistState && gridId) setGridState(gridId, state);
@@ -33084,13 +33093,13 @@ var TABLET_TABLE_BELOW = 860;
33084
33093
  var TABLET_VIEWPORT_BELOW = 1100;
33085
33094
  var NO_CONVERSATION_DOCUMENTS2 = [];
33086
33095
  var DocumentReviewCard = react$1.lazy(
33087
- () => import('../DocumentReviewCard-JRY3CX3Q.cjs').then((module) => ({ default: module.DocumentReviewCard }))
33096
+ () => import('../DocumentReviewCard-7XUBPCQD.cjs').then((module) => ({ default: module.DocumentReviewCard }))
33088
33097
  );
33089
33098
  var FilesViewerDialog = react$1.lazy(
33090
- () => import('../FilesViewerDialog-7MEXD5M3.cjs').then((module) => ({ default: module.FilesViewerDialog }))
33099
+ () => import('../FilesViewerDialog-H4ZXFNLV.cjs').then((module) => ({ default: module.FilesViewerDialog }))
33091
33100
  );
33092
33101
  function defaultReviewCard(props) {
33093
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkPAMIB34K_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
33102
+ return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkU4ZLFL6M_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
33094
33103
  }
33095
33104
  function ConnectedFilesPage({
33096
33105
  isModal = false,
@@ -33111,7 +33120,7 @@ function ConnectedFilesPage({
33111
33120
  GridComponent = PersistedGridView,
33112
33121
  gridStateVersion,
33113
33122
  onGridApi,
33114
- prefsKey = chunkEW54OI4U_cjs.FILES_PREFS_KEY,
33123
+ prefsKey = chunkHEM27NA3_cjs.FILES_PREFS_KEY,
33115
33124
  defaultViewMode
33116
33125
  }) {
33117
33126
  const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
@@ -33132,7 +33141,7 @@ function ConnectedFilesPage({
33132
33141
  const deleteDocuments = react.useDeleteDocuments();
33133
33142
  const isDocumentsPending = isLoading && documents.length === 0;
33134
33143
  const { workspaceId, userId, live } = chunkWV65MJ43_cjs.useConnectedWorkspace();
33135
- const { role, members } = chunkECCV4YOL_cjs.useConnectedWorkspaceRole();
33144
+ const { role, members } = chunk5ZWEUUJN_cjs.useConnectedWorkspaceRole();
33136
33145
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
33137
33146
  const workspace = workspaces?.find((w) => w.external_id === workspaceId);
33138
33147
  const workspaceName = workspace?.name;
@@ -33157,8 +33166,8 @@ function ConnectedFilesPage({
33157
33166
  const inConversationDocuments = react.useArbiSessionState(
33158
33167
  (s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
33159
33168
  );
33160
- const viewMode = chunkEW54OI4U_cjs.useFilesPrefs((s) => chunkEW54OI4U_cjs.filesViewMode(s, prefsKey, defaultViewMode));
33161
- const setPrefsViewMode = chunkEW54OI4U_cjs.useFilesPrefs((s) => s.setViewMode);
33169
+ const viewMode = chunkHEM27NA3_cjs.useFilesPrefs((s) => chunkHEM27NA3_cjs.filesViewMode(s, prefsKey, defaultViewMode));
33170
+ const setPrefsViewMode = chunkHEM27NA3_cjs.useFilesPrefs((s) => s.setViewMode);
33162
33171
  const setViewMode = react$1.useCallback(
33163
33172
  (mode) => setPrefsViewMode(mode, prefsKey),
33164
33173
  [setPrefsViewMode, prefsKey]
@@ -33186,7 +33195,7 @@ function ConnectedFilesPage({
33186
33195
  (fromLink) => {
33187
33196
  setDialog(null);
33188
33197
  shownPlaceRef.current = null;
33189
- if (chunkEW54OI4U_cjs.filesViewMode(chunkEW54OI4U_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
33198
+ if (chunkHEM27NA3_cjs.filesViewMode(chunkHEM27NA3_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
33190
33199
  session.setViewingDocument(null);
33191
33200
  if (!fromLink) latest.current.onDocumentChange?.(null);
33192
33201
  },
@@ -33234,9 +33243,9 @@ function ConnectedFilesPage({
33234
33243
  else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
33235
33244
  } else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
33236
33245
  }, [linkedPlaceKey]);
33237
- const rowHeight = chunkEW54OI4U_cjs.useFilesPrefs((s) => s.rowHeight);
33238
- const setRowHeight = chunkEW54OI4U_cjs.useFilesPrefs((s) => s.setRowHeight);
33239
- const ownGridStates = chunkEW54OI4U_cjs.useFilesGridStates((s) => s.gridStates);
33246
+ const rowHeight = chunkHEM27NA3_cjs.useFilesPrefs((s) => s.rowHeight);
33247
+ const setRowHeight = chunkHEM27NA3_cjs.useFilesPrefs((s) => s.setRowHeight);
33248
+ const ownGridStates = chunkHEM27NA3_cjs.useFilesGridStates((s) => s.gridStates);
33240
33249
  const stateVersion = gridStateVersion ?? ownGridStates;
33241
33250
  const [pageEl, setPageEl] = react$1.useState(null);
33242
33251
  const [isTabletWidth, setIsTabletWidth] = react$1.useState(false);
@@ -33266,15 +33275,15 @@ function ConnectedFilesPage({
33266
33275
  const [explorerSortReversed, setExplorerSortReversed] = react$1.useState(false);
33267
33276
  const [explorerTileSize, setExplorerTileSize] = react$1.useState(TILE_DEFAULT);
33268
33277
  const [urlDialogOpen, setUrlDialogOpen] = react$1.useState(false);
33269
- const move = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.move);
33270
- const openMove = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.openMove);
33271
- const closeMove = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.closeMove);
33272
- const bulkTagsOpen = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
33273
- const setBulkTagsOpen = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
33274
- const deleteRequest = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.deleteRequest);
33275
- const requestDelete = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.requestDelete);
33276
- const exportOpen = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.exportOpen);
33277
- const setExportOpen = chunkEW54OI4U_cjs.useFilesDialogs((s) => s.setExportOpen);
33278
+ const move = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.move);
33279
+ const openMove = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.openMove);
33280
+ const closeMove = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.closeMove);
33281
+ const bulkTagsOpen = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
33282
+ const setBulkTagsOpen = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
33283
+ const deleteRequest = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.deleteRequest);
33284
+ const requestDelete = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.requestDelete);
33285
+ const exportOpen = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.exportOpen);
33286
+ const setExportOpen = chunkHEM27NA3_cjs.useFilesDialogs((s) => s.setExportOpen);
33278
33287
  const openOwnExport = react$1.useCallback(() => setExportOpen(true), [setExportOpen]);
33279
33288
  const exportItems = react$1.useMemo(
33280
33289
  () => selectedDocuments.map((doc) => ({
@@ -33317,17 +33326,17 @@ function ConnectedFilesPage({
33317
33326
  const relatedDocsMap = useFilesPageSession(documents, workspaceId);
33318
33327
  const defaultVisibleColumns = react$1.useMemo(
33319
33328
  () => [
33320
- ...chunkZQ2MQBNC_cjs.DEFAULT_DOCUMENT_COLUMNS,
33329
+ ...chunk33MKOWSA_cjs.DEFAULT_DOCUMENT_COLUMNS,
33321
33330
  ...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
33322
33331
  ],
33323
33332
  [allTags]
33324
33333
  );
33325
33334
  const handleReorderColumns = react$1.useCallback((ids, gridApi2) => {
33326
- if (gridApi2) chunkZQ2MQBNC_cjs.applyColumnLayout(gridApi2, ids);
33335
+ if (gridApi2) chunk33MKOWSA_cjs.applyColumnLayout(gridApi2, ids);
33327
33336
  }, []);
33328
33337
  const handleLoadView = react$1.useCallback(
33329
33338
  (view, gridApi2) => {
33330
- chunkZQ2MQBNC_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
33339
+ chunk33MKOWSA_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
33331
33340
  if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
33332
33341
  if (typeof view.row_height === "number") setRowHeight(view.row_height);
33333
33342
  },
@@ -33420,7 +33429,7 @@ function ConnectedFilesPage({
33420
33429
  );
33421
33430
  const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
33422
33431
  const navigatorDocuments = react$1.useMemo(
33423
- () => chunkZQ2MQBNC_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
33432
+ () => chunk33MKOWSA_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
33424
33433
  [filteredDocuments, explorerSort, explorerSortReversed]
33425
33434
  );
33426
33435
  const navigatorOnNavigate = react$1.useCallback(
@@ -33490,7 +33499,7 @@ function ConnectedFilesPage({
33490
33499
  },
33491
33500
  rowHeight
33492
33501
  };
33493
- const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FilesFilterBar, { children: [
33502
+ const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FilesFilterBar, { children: [
33494
33503
  /* @__PURE__ */ jsxRuntime.jsx(
33495
33504
  chunk6UZC4XVV_cjs.FilterInput,
33496
33505
  {
@@ -33525,7 +33534,7 @@ function ConnectedFilesPage({
33525
33534
  ),
33526
33535
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
33527
33536
  /* @__PURE__ */ jsxRuntime.jsx(
33528
- chunkZQ2MQBNC_cjs.DocumentsFolderButton,
33537
+ chunk33MKOWSA_cjs.DocumentsFolderButton,
33529
33538
  {
33530
33539
  documents,
33531
33540
  documentFilters,
@@ -33533,7 +33542,7 @@ function ConnectedFilesPage({
33533
33542
  onNewFolder: canUpload ? handleNewFolder : void 0
33534
33543
  }
33535
33544
  ),
33536
- openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FilesTagsButton, { onClick: openTags }),
33545
+ openTags && /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FilesTagsButton, { onClick: openTags }),
33537
33546
  workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
33538
33547
  ] })
33539
33548
  ] });
@@ -33556,9 +33565,9 @@ function ConnectedFilesPage({
33556
33565
  );
33557
33566
  const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
33558
33567
  const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
33559
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FilesPage, { isModal, ref: setPageEl, children: [
33568
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FilesPage, { isModal, ref: setPageEl, children: [
33560
33569
  /* @__PURE__ */ jsxRuntime.jsx(
33561
- chunkZQ2MQBNC_cjs.UrlInputDialog,
33570
+ chunk33MKOWSA_cjs.UrlInputDialog,
33562
33571
  {
33563
33572
  open: urlDialogOpen,
33564
33573
  onOpenChange: setUrlDialogOpen,
@@ -33567,7 +33576,7 @@ function ConnectedFilesPage({
33567
33576
  titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
33568
33577
  }
33569
33578
  ),
33570
- /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FilesPageHeader, { children: [
33579
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FilesPageHeader, { children: [
33571
33580
  /* @__PURE__ */ jsxRuntime.jsx(
33572
33581
  chunkSJSGSHIT_cjs.TabHeader,
33573
33582
  {
@@ -33588,7 +33597,7 @@ function ConnectedFilesPage({
33588
33597
  activeTabId: "documents",
33589
33598
  onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
33590
33599
  firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
33591
- centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
33600
+ centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
33592
33601
  !isNarrowFilterRow && viewToggle,
33593
33602
  /* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
33594
33603
  ] }),
@@ -33618,14 +33627,14 @@ function ConnectedFilesPage({
33618
33627
  }
33619
33628
  ),
33620
33629
  /* @__PURE__ */ jsxRuntime.jsx(
33621
- chunkZQ2MQBNC_cjs.FilesToolbar,
33630
+ chunk33MKOWSA_cjs.FilesToolbar,
33622
33631
  {
33623
33632
  className: "px-3 pb-2",
33624
33633
  rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
33625
33634
  viewMode === "grid" ? (
33626
33635
  // ‹ n / N › over the table's displayed rows; a step opens the document.
33627
33636
  /* @__PURE__ */ jsxRuntime.jsx(
33628
- chunkPAMIB34K_cjs.GridRowNavigator,
33637
+ chunkU4ZLFL6M_cjs.GridRowNavigator,
33629
33638
  {
33630
33639
  gridApi,
33631
33640
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -33640,7 +33649,7 @@ function ConnectedFilesPage({
33640
33649
  ) : viewMode === "explorer" ? (
33641
33650
  // The same over the explorer's tiles.
33642
33651
  /* @__PURE__ */ jsxRuntime.jsx(
33643
- chunkZQ2MQBNC_cjs.ExplorerFileNavigator,
33652
+ chunk33MKOWSA_cjs.ExplorerFileNavigator,
33644
33653
  {
33645
33654
  fileIds: explorerFileIds,
33646
33655
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -33679,7 +33688,7 @@ function ConnectedFilesPage({
33679
33688
  }
33680
33689
  ),
33681
33690
  viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
33682
- chunkZQ2MQBNC_cjs.NavigatorPickerBar,
33691
+ chunk33MKOWSA_cjs.NavigatorPickerBar,
33683
33692
  {
33684
33693
  currentDocument,
33685
33694
  documents: navigatorDocuments,
@@ -33706,11 +33715,11 @@ function ConnectedFilesPage({
33706
33715
  }
33707
33716
  }
33708
33717
  ) }),
33709
- /* @__PURE__ */ jsxRuntime.jsxs(chunkZQ2MQBNC_cjs.FilesPageMain, { children: [
33718
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk33MKOWSA_cjs.FilesPageMain, { children: [
33710
33719
  viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
33711
- chunkZQ2MQBNC_cjs.DocumentGrid,
33720
+ chunk33MKOWSA_cjs.DocumentGrid,
33712
33721
  {
33713
- layout: chunkZQ2MQBNC_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
33722
+ layout: chunk33MKOWSA_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
33714
33723
  presets: gridPresets,
33715
33724
  GridComponent,
33716
33725
  showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
@@ -33804,7 +33813,7 @@ function ConnectedFilesPage({
33804
33813
  onProduce: () => openDialog2("productionSet")
33805
33814
  }
33806
33815
  ),
33807
- isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
33816
+ isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
33808
33817
  /* @__PURE__ */ jsxRuntime.jsx(
33809
33818
  chunkJDFBEGQO_cjs.ConfirmDialog,
33810
33819
  {
@@ -33815,7 +33824,7 @@ function ConnectedFilesPage({
33815
33824
  requestDelete(null);
33816
33825
  },
33817
33826
  title: "Delete Document",
33818
- description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkZQ2MQBNC_cjs.RECENTLY_DELETED_HINT}` : "",
33827
+ description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunk33MKOWSA_cjs.RECENTLY_DELETED_HINT}` : "",
33819
33828
  confirmText: "Delete",
33820
33829
  variant: "destructive"
33821
33830
  }
@@ -33891,8 +33900,8 @@ function ConnectedFilesPage({
33891
33900
  }
33892
33901
  var NO_DOCUMENTS3 = [];
33893
33902
  function ConnectedAiReviewHost(props) {
33894
- const open = chunkEW54OI4U_cjs.useAiReviewStore((s) => s.open);
33895
- const setOpen = chunkEW54OI4U_cjs.useAiReviewStore((s) => s.setOpen);
33903
+ const open = chunkHEM27NA3_cjs.useAiReviewStore((s) => s.open);
33904
+ const setOpen = chunkHEM27NA3_cjs.useAiReviewStore((s) => s.setOpen);
33896
33905
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
33897
33906
  }
33898
33907
  function ConnectedGridView(props) {
@@ -33928,7 +33937,7 @@ function ProcessingSection({
33928
33937
  tasks,
33929
33938
  onDelete
33930
33939
  }) {
33931
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
33940
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
33932
33941
  }
33933
33942
  function ConnectedDocumentProcessingPanel({
33934
33943
  workspaceId,
@@ -34284,7 +34293,7 @@ var MENU_LABELS = {
34284
34293
  };
34285
34294
  function applyDatabaseColumns(columns, api) {
34286
34295
  const kept = (id) => api.getColumn(id) ? [id] : [];
34287
- chunkZQ2MQBNC_cjs.applyColumnLayout(api, [...kept(chunkIK4MSXXR_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkIK4MSXXR_cjs.ADD_COLUMN_COL_ID)]);
34296
+ chunk33MKOWSA_cjs.applyColumnLayout(api, [...kept(chunkIK4MSXXR_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkIK4MSXXR_cjs.ADD_COLUMN_COL_ID)]);
34288
34297
  }
34289
34298
  function DatabaseViewsMenu({
34290
34299
  databaseId,
@@ -34303,7 +34312,7 @@ function DatabaseViewsMenu({
34303
34312
  [defaultColumns]
34304
34313
  );
34305
34314
  const onLoadView = react$1.useCallback(
34306
- (view, api) => chunkZQ2MQBNC_cjs.applyViewColumns(api, view, applyDatabaseColumns),
34315
+ (view, api) => chunk33MKOWSA_cjs.applyViewColumns(api, view, applyDatabaseColumns),
34307
34316
  []
34308
34317
  );
34309
34318
  const onSaveView = react$1.useCallback(
@@ -34323,7 +34332,7 @@ function DatabaseViewsMenu({
34323
34332
  },
34324
34333
  [confirm, deleteView, notify17]
34325
34334
  );
34326
- const menu = chunkZQ2MQBNC_cjs.useGridViews({
34335
+ const menu = chunk33MKOWSA_cjs.useGridViews({
34327
34336
  getGridApi,
34328
34337
  defaultColumns,
34329
34338
  builtins,
@@ -34336,7 +34345,7 @@ function DatabaseViewsMenu({
34336
34345
  onDeleteView,
34337
34346
  isSaving
34338
34347
  });
34339
- return /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
34348
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
34340
34349
  }
34341
34350
  function useMoveLocalViews(gridId, ready, importViews) {
34342
34351
  const localViews = react.useArbiSessionState((state) => state.grid.savedViews[gridId]);
@@ -36284,6 +36293,8 @@ function ConnectedSupportTicketsDialog({
36284
36293
  onClose,
36285
36294
  onNewRequest
36286
36295
  }) {
36296
+ const arbi = react.useArbi();
36297
+ const reference = (id) => arbi.support.reference(id);
36287
36298
  const [selected, setSelected] = react$1.useState(ticketId);
36288
36299
  const [score, setScore] = react$1.useState(0);
36289
36300
  const [comment, setComment] = react$1.useState("");
@@ -36308,7 +36319,7 @@ function ConnectedSupportTicketsDialog({
36308
36319
  "data-testid": "support-tickets-dialog",
36309
36320
  children: [
36310
36321
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pr-8", children: [
36311
- /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: selected === void 0 ? "My support requests" : `Support request #${selected}` }),
36322
+ /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: selected === void 0 ? "My support requests" : `Support request ${reference(selected)}` }),
36312
36323
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: selected === void 0 ? "Track your requests and review the outcome." : "Updates and resolution from the support team." })
36313
36324
  ] }),
36314
36325
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-h-0 space-y-4 overflow-y-auto", children: [
@@ -36337,10 +36348,7 @@ function ConnectedSupportTicketsDialog({
36337
36348
  onClick: () => setSelected(item.ticket_id),
36338
36349
  children: [
36339
36350
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "min-w-0", children: [
36340
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-xs text-muted-foreground", children: [
36341
- "#",
36342
- item.ticket_id
36343
- ] }),
36351
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: reference(item.ticket_id) }),
36344
36352
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-sm font-medium", children: item.title })
36345
36353
  ] }),
36346
36354
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-1 text-xs", children: statuses[item.status] })
@@ -36617,6 +36625,7 @@ function ReportProblemDialog({
36617
36625
  const [cropArea, setCropArea] = react$1.useState(null);
36618
36626
  const [busy, setBusy] = react$1.useState(false);
36619
36627
  const [failure, setFailure] = react$1.useState(null);
36628
+ const [ticketReference, setTicketReference] = react$1.useState(null);
36620
36629
  const [ticketId, setTicketId] = react$1.useState(null);
36621
36630
  const [submissionId] = react$1.useState(() => crypto.randomUUID());
36622
36631
  const imgRef = react$1.useRef(null);
@@ -36680,6 +36689,9 @@ function ReportProblemDialog({
36680
36689
  idempotencyKey: submissionId
36681
36690
  });
36682
36691
  setTicketId(receipt.ticket_id);
36692
+ setTicketReference(
36693
+ receipt.reference && /^[a-z0-9-]+-[0-9]+$/.test(receipt.reference) && receipt.reference.endsWith(`-${receipt.ticket_id}`) ? receipt.reference : null
36694
+ );
36683
36695
  } catch (error) {
36684
36696
  setFailure(
36685
36697
  error instanceof Error ? error.message : "Could not send your request. Please try again."
@@ -36708,8 +36720,8 @@ function ReportProblemDialog({
36708
36720
  ] }),
36709
36721
  ticketId !== null && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4 rounded-md border border-border bg-muted p-4", children: [
36710
36722
  /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "font-medium", "data-testid": "report-ticket-receipt", children: [
36711
- "Ticket number: #",
36712
- ticketId
36723
+ "Ticket number: ",
36724
+ ticketReference ?? `#${ticketId}`
36713
36725
  ] }),
36714
36726
  /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { onClick: onClose, "data-testid": "report-receipt-close", children: "Close" })
36715
36727
  ] }),
@@ -36993,11 +37005,14 @@ function ConnectedReportProblem({
36993
37005
  ),
36994
37006
  options2.footnote
36995
37007
  ] }),
36996
- onSubmit: options2.onSubmit ?? ((report2) => arbi.support.create({
36997
- description: report2.description,
36998
- screenshot: report2.image,
36999
- idempotencyKey: report2.idempotencyKey
37000
- }))
37008
+ onSubmit: async (report2) => {
37009
+ const receipt = options2.onSubmit ? await options2.onSubmit(report2) : await arbi.support.create({
37010
+ description: report2.description,
37011
+ screenshot: report2.image,
37012
+ idempotencyKey: report2.idempotencyKey
37013
+ });
37014
+ return { ...receipt, reference: arbi.support.reference(receipt.ticket_id) };
37015
+ }
37001
37016
  });
37002
37017
  const bar = layout === "bar";
37003
37018
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -37044,9 +37059,9 @@ function resolveLaunchInputs(workflow, request) {
37044
37059
  return { ...fromContext, ...fromScope, ...request.inputs };
37045
37060
  }
37046
37061
  function useWorkflowLaunch() {
37047
- const { skills } = chunkFSUWRDZT_cjs.useWorkflowDefinitions();
37062
+ const { skills } = chunkDCHNB7DF_cjs.useWorkflowDefinitions();
37048
37063
  const launch = react$1.useCallback(
37049
- (workflowId, options2 = {}) => chunkTEMJBXGQ_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
37064
+ (workflowId, options2 = {}) => chunkMBXQSBG3_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
37050
37065
  []
37051
37066
  );
37052
37067
  const itemsFor = react$1.useCallback(
@@ -37075,9 +37090,9 @@ function useWorkflowLaunch() {
37075
37090
  return { launch, itemsFor, scopeItemsFor };
37076
37091
  }
37077
37092
  function Inner() {
37078
- const request = chunkTEMJBXGQ_cjs.useWorkflowLaunchRequest();
37079
- const close = chunkTEMJBXGQ_cjs.closeWorkflowLaunch;
37080
- const { skills } = chunkFSUWRDZT_cjs.useWorkflowDefinitions();
37093
+ const request = chunkMBXQSBG3_cjs.useWorkflowLaunchRequest();
37094
+ const close = chunkMBXQSBG3_cjs.closeWorkflowLaunch;
37095
+ const { skills } = chunkDCHNB7DF_cjs.useWorkflowDefinitions();
37081
37096
  const run = useLaunchWorkflow({ landing: request?.landing });
37082
37097
  const workflow = skills.find((w) => w.id === request?.workflowId);
37083
37098
  const inputs = react$1.useMemo(
@@ -37114,7 +37129,7 @@ function Inner() {
37114
37129
  );
37115
37130
  }
37116
37131
  function WorkflowLaunchHost() {
37117
- return chunkTEMJBXGQ_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
37132
+ return chunkMBXQSBG3_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
37118
37133
  }
37119
37134
  function isNeedsConfirmationDetail(detail) {
37120
37135
  return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
@@ -37426,7 +37441,7 @@ function ConnectedConversationSettings() {
37426
37441
  /* @__PURE__ */ jsxRuntime.jsx(
37427
37442
  chunkMMSHLHTA_cjs.ModelSelectionSection,
37428
37443
  {
37429
- selector: /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedModelSelector, {}),
37444
+ selector: /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedModelSelector, {}),
37430
37445
  onUseDefaults: settings.resetToDefaults
37431
37446
  }
37432
37447
  )
@@ -37485,7 +37500,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
37485
37500
  testId: "workspace-transfer-modal"
37486
37501
  }
37487
37502
  ),
37488
- logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
37503
+ logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
37489
37504
  conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
37490
37505
  unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
37491
37506
  productionSet: ConnectedProductionSetDialog,
@@ -37562,7 +37577,7 @@ function WorkflowRunStatusCell({ conversation }) {
37562
37577
  return person ? ui.getUserDisplayName(person) : void 0;
37563
37578
  };
37564
37579
  return /* @__PURE__ */ jsxRuntime.jsx(
37565
- chunkTEMJBXGQ_cjs.WorkflowRunStatus,
37580
+ chunkMBXQSBG3_cjs.WorkflowRunStatus,
37566
37581
  {
37567
37582
  steps,
37568
37583
  states,
@@ -37596,7 +37611,7 @@ function ConversationStatusCell({ conversation }) {
37596
37611
  if (conversation.plan?.steps?.length && !isLiveGenerating)
37597
37612
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
37598
37613
  return /* @__PURE__ */ jsxRuntime.jsx(
37599
- chunkTEMJBXGQ_cjs.ThreadStatusLine,
37614
+ chunkMBXQSBG3_cjs.ThreadStatusLine,
37600
37615
  {
37601
37616
  state: threadStateOf(conversation, isLiveGenerating),
37602
37617
  className: "h-full",
@@ -37863,7 +37878,7 @@ function useThreadLabels(canEditShared) {
37863
37878
  return {
37864
37879
  labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
37865
37880
  renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
37866
- chunkZQ2MQBNC_cjs.LabelMultiSelectView,
37881
+ chunk33MKOWSA_cjs.LabelMultiSelectView,
37867
37882
  {
37868
37883
  options: options2,
37869
37884
  appliedIds: new Set(row2.label_ext_ids ?? []),
@@ -37882,7 +37897,7 @@ function useThreadLabels(canEditShared) {
37882
37897
  ).map((label) => label.id)
37883
37898
  );
37884
37899
  return /* @__PURE__ */ jsxRuntime.jsx(
37885
- chunkZQ2MQBNC_cjs.BulkLabelSelectView,
37900
+ chunk33MKOWSA_cjs.BulkLabelSelectView,
37886
37901
  {
37887
37902
  options: options2,
37888
37903
  appliedIds: all,
@@ -37909,7 +37924,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
37909
37924
  setDraft("");
37910
37925
  };
37911
37926
  return /* @__PURE__ */ jsxRuntime.jsx(chunkZ6JUJI4A_cjs.ComposerDock, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkZ6JUJI4A_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
37912
- chunkB3WHUTI7_cjs.ConversationComposer,
37927
+ chunkSDXK2COQ_cjs.ConversationComposer,
37913
37928
  {
37914
37929
  value: draft,
37915
37930
  onValueChange: setDraft,
@@ -37917,7 +37932,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
37917
37932
  handleSendMessage: send,
37918
37933
  isConversationEmpty: true,
37919
37934
  shouldOfferFollowUp: false,
37920
- modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedModelSelector, { variant: "compact" }),
37935
+ modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedModelSelector, { variant: "compact" }),
37921
37936
  rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkZ6JUJI4A_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
37922
37937
  }
37923
37938
  ) }) });
@@ -37925,7 +37940,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
37925
37940
  var START_VISIBLE = 8;
37926
37941
  var START_SEARCH_ABOVE = 8;
37927
37942
  function ConnectedConversationStart() {
37928
- const { start } = chunkFSUWRDZT_cjs.useWorkflowDefinitions();
37943
+ const { start } = chunkDCHNB7DF_cjs.useWorkflowDefinitions();
37929
37944
  const { openSkillsBrowser } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
37930
37945
  const [query, setQuery] = react$1.useState("");
37931
37946
  const q = query.trim().toLowerCase();
@@ -37940,7 +37955,7 @@ function ConnectedConversationStart() {
37940
37955
  const browse = openSkillsBrowser ? [
37941
37956
  {
37942
37957
  id: "browse-all",
37943
- iconNode: chunkTEMJBXGQ_cjs.renderWorkflowIcon("library"),
37958
+ iconNode: chunkMBXQSBG3_cjs.renderWorkflowIcon("library"),
37944
37959
  title: "Browse all",
37945
37960
  description: "See every skill, make a copy, add your own",
37946
37961
  onSelect: () => openSkillsBrowser(),
@@ -38046,7 +38061,7 @@ function AgentBarShell({
38046
38061
  }, [isStepsExpanded, steps]);
38047
38062
  const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
38048
38063
  return /* @__PURE__ */ jsxRuntime.jsx(
38049
- chunkTEMJBXGQ_cjs.AgentBar,
38064
+ chunkMBXQSBG3_cjs.AgentBar,
38050
38065
  {
38051
38066
  className,
38052
38067
  testId,
@@ -38058,7 +38073,7 @@ function AgentBarShell({
38058
38073
  drawerRef: scrollRef,
38059
38074
  onDrawerScroll: handleDrawerScroll,
38060
38075
  drawer: /* @__PURE__ */ jsxRuntime.jsx(
38061
- chunkB3WHUTI7_cjs.AgentSteps,
38076
+ chunkSDXK2COQ_cjs.AgentSteps,
38062
38077
  {
38063
38078
  steps: stepList,
38064
38079
  isStreaming,
@@ -38110,7 +38125,7 @@ function AgentControlBar({
38110
38125
  const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
38111
38126
  const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
38112
38127
  const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
38113
- chunkB3WHUTI7_cjs.MessageLiveSeconds,
38128
+ chunkSDXK2COQ_cjs.MessageLiveSeconds,
38114
38129
  {
38115
38130
  ...liveTimer,
38116
38131
  offsetSeconds: currentStep?.t ?? 0,
@@ -38119,7 +38134,7 @@ function AgentControlBar({
38119
38134
  }
38120
38135
  );
38121
38136
  const status = /* @__PURE__ */ jsxRuntime.jsx(
38122
- chunkTEMJBXGQ_cjs.AgentBarStatus,
38137
+ chunkMBXQSBG3_cjs.AgentBarStatus,
38123
38138
  {
38124
38139
  state: showState ? controlState : void 0,
38125
38140
  stateLabel: STATE_LABEL[controlState],
@@ -38161,7 +38176,7 @@ function AgentControlBar({
38161
38176
  ];
38162
38177
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38163
38178
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
38164
- chunkTEMJBXGQ_cjs.AgentBarIconButton,
38179
+ chunkMBXQSBG3_cjs.AgentBarIconButton,
38165
38180
  {
38166
38181
  onClick: onStop,
38167
38182
  title: "Stop",
@@ -38170,22 +38185,22 @@ function AgentControlBar({
38170
38185
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
38171
38186
  }
38172
38187
  ),
38173
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.AgentBarMenu, { items: menuItems })
38188
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.AgentBarMenu, { items: menuItems })
38174
38189
  ] });
38175
38190
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
38176
38191
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
38177
38192
  );
38178
38193
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
38179
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.AgentBarNotes, { children: [
38194
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.AgentBarNotes, { children: [
38180
38195
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
38181
- chunkTEMJBXGQ_cjs.AgentBarQueuedNote,
38196
+ chunkMBXQSBG3_cjs.AgentBarQueuedNote,
38182
38197
  {
38183
38198
  text: message.content ?? "",
38184
38199
  isAcknowledged: message.acknowledged
38185
38200
  },
38186
38201
  index
38187
38202
  )),
38188
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
38203
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
38189
38204
  ] }) : null;
38190
38205
  return /* @__PURE__ */ jsxRuntime.jsx(
38191
38206
  AgentBarShell,
@@ -38334,7 +38349,7 @@ function ConnectedConversationEmpty({
38334
38349
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
38335
38350
  }
38336
38351
  ),
38337
- /* @__PURE__ */ jsxRuntime.jsx(chunkZQ2MQBNC_cjs.PrivacyExplainerModal, {})
38352
+ /* @__PURE__ */ jsxRuntime.jsx(chunk33MKOWSA_cjs.PrivacyExplainerModal, {})
38338
38353
  ] })
38339
38354
  }
38340
38355
  );
@@ -39120,7 +39135,7 @@ function ConversationThread({
39120
39135
  }, [isGenerating]);
39121
39136
  const slashWorkflows = useSlashSkillWorkflows({ landing: "current-chat" });
39122
39137
  const composerSkills = react$1.useMemo(
39123
- () => ({ builtin: chunkTEMJBXGQ_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
39138
+ () => ({ builtin: chunkMBXQSBG3_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
39124
39139
  [slashWorkflows.openFor]
39125
39140
  );
39126
39141
  const browseSkills = react$1.useMemo(
@@ -39169,7 +39184,7 @@ function ConversationThread({
39169
39184
  useStartRequestedDraft();
39170
39185
  const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
39171
39186
  return /* @__PURE__ */ jsxRuntime.jsxs(chunk32YCMXT2_cjs.ConversationBody, { children: [
39172
- /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkIOCEKN44_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
39187
+ /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkIOCEKN44_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
39173
39188
  meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
39174
39189
  chunkZBP4ZSAJ_cjs.ConversationFilter,
39175
39190
  {
@@ -39187,7 +39202,7 @@ function ConversationThread({
39187
39202
  ]
39188
39203
  }
39189
39204
  ) }),
39190
- /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
39205
+ /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
39191
39206
  showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunk4ZM3J3SL_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
39192
39207
  ] }) }) : meetingCallExtId ? (
39193
39208
  // A meeting thread with nothing yet: call-aware, not the upload prompt.
@@ -39195,7 +39210,7 @@ function ConversationThread({
39195
39210
  /* @__PURE__ */ jsxRuntime.jsx(chunk4ZM3J3SL_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
39196
39211
  /* @__PURE__ */ jsxRuntime.jsx(chunk4ZM3J3SL_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
39197
39212
  ] })
39198
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkB3WHUTI7_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
39213
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkSDXK2COQ_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
39199
39214
  ConnectedConversationEmpty,
39200
39215
  {
39201
39216
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -39266,7 +39281,7 @@ function ConversationThread({
39266
39281
  children: react.READ_ONLY_MEETING_TEXT
39267
39282
  }
39268
39283
  ) : /* @__PURE__ */ jsxRuntime.jsx(
39269
- chunkB3WHUTI7_cjs.ConversationComposer,
39284
+ chunkSDXK2COQ_cjs.ConversationComposer,
39270
39285
  {
39271
39286
  handleSendMessage: handleUserSend,
39272
39287
  placeholder: pendingAnswer ? "Type your answer to ARBI \u2014 or pick an option above" : void 0,
@@ -39606,7 +39621,7 @@ function ConnectedThreadsPage({
39606
39621
  };
39607
39622
  const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
39608
39623
  /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
39609
- chunkTEMJBXGQ_cjs.ConversationListView,
39624
+ chunkMBXQSBG3_cjs.ConversationListView,
39610
39625
  {
39611
39626
  showHeader,
39612
39627
  conversations: tasks,
@@ -39625,7 +39640,7 @@ function ConnectedThreadsPage({
39625
39640
  renderLabels: threadLabels.renderLabels,
39626
39641
  labelText: threadLabels.labelText,
39627
39642
  renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
39628
- chunkTEMJBXGQ_cjs.ConversationTurnSpeaker,
39643
+ chunkMBXQSBG3_cjs.ConversationTurnSpeaker,
39629
39644
  {
39630
39645
  variant: "icon",
39631
39646
  role: row2.last_message_role,
@@ -40012,7 +40027,7 @@ function ConnectedChatDocumentsTab({
40012
40027
  testId: `document-hover-toggle-${doc.external_id}`
40013
40028
  },
40014
40029
  status: /* @__PURE__ */ jsxRuntime.jsx(
40015
- chunkZQ2MQBNC_cjs.DocStatusIcon,
40030
+ chunk33MKOWSA_cjs.DocStatusIcon,
40016
40031
  {
40017
40032
  status: doc.status,
40018
40033
  onClick: onStatusClick,
@@ -40507,7 +40522,7 @@ function ConnectedConversationPage({
40507
40522
  );
40508
40523
  const { data: workspaceTags = [] } = react.useTags();
40509
40524
  const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
40510
- const historyCount = chunkTEMJBXGQ_cjs.filterConversationRows(
40525
+ const historyCount = chunkMBXQSBG3_cjs.filterConversationRows(
40511
40526
  threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
40512
40527
  threadFilter,
40513
40528
  (row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
@@ -40566,7 +40581,7 @@ function ConnectedConversationPage({
40566
40581
  ] })
40567
40582
  }
40568
40583
  ),
40569
- isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkFSUWRDZT_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
40584
+ isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkDCHNB7DF_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
40570
40585
  ] }),
40571
40586
  isInChat && /* @__PURE__ */ jsxRuntime.jsx(
40572
40587
  ConversationThread,
@@ -40596,7 +40611,7 @@ function ConnectedConversationPage({
40596
40611
  !isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
40597
40612
  ] }),
40598
40613
  /* @__PURE__ */ jsxRuntime.jsx(
40599
- chunkZQ2MQBNC_cjs.UrlInputDialog,
40614
+ chunk33MKOWSA_cjs.UrlInputDialog,
40600
40615
  {
40601
40616
  open: urlDialogOpen,
40602
40617
  onOpenChange: setUrlDialogOpen,
@@ -40775,7 +40790,7 @@ function SsoResendVerificationButton({
40775
40790
  onClick: async () => handleResendEmailVerification(),
40776
40791
  disabled: loading || disabled,
40777
40792
  "aria-label": "Resend verification email",
40778
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkPAMIB34K_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
40793
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkU4ZLFL6M_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
40779
40794
  "Didn't get a verification email? ",
40780
40795
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
40781
40796
  ] })
@@ -40786,16 +40801,16 @@ function SsoResendVerificationButton({
40786
40801
  }
40787
40802
  var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
40788
40803
  function ConnectedSsoCallback() {
40789
- const sso = chunkB3WHUTI7_cjs.useSsoSignIn();
40804
+ const sso = chunkSDXK2COQ_cjs.useSsoSignIn();
40790
40805
  const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
40791
- const auth = chunkB3WHUTI7_cjs.useAuthPages();
40806
+ const auth = chunkSDXK2COQ_cjs.useAuthPages();
40792
40807
  const { notify: notify17, navigate } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
40793
40808
  const passwordRules = auth.passwordRules;
40794
40809
  const isProcessing = react$1.useRef(false);
40795
40810
  const hasCheckedStatus = react$1.useRef(false);
40796
40811
  const [accessToken, setAccessToken] = react$1.useState(null);
40797
40812
  const [ssoStatus, setSsoStatus] = react$1.useState(null);
40798
- const ssoName = react$1.useMemo(() => chunkB3WHUTI7_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
40813
+ const ssoName = react$1.useMemo(() => chunkSDXK2COQ_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
40799
40814
  const [password, setPassword] = react$1.useState("");
40800
40815
  const [confirmPassword, setConfirmPassword] = react$1.useState("");
40801
40816
  const [error, setError] = react$1.useState(null);
@@ -40973,7 +40988,7 @@ function ConnectedSsoCallback() {
40973
40988
  setIsCheckingStatus(true);
40974
40989
  try {
40975
40990
  console.info("[SSO] Checking user status...");
40976
- const response = await chunkB3WHUTI7_cjs.ssoAccountStatus(arbi, accessToken, user);
40991
+ const response = await chunkSDXK2COQ_cjs.ssoAccountStatus(arbi, accessToken, user);
40977
40992
  console.info("[SSO] User status:", response.status);
40978
40993
  setSsoStatus(response);
40979
40994
  } catch (error2) {
@@ -41017,7 +41032,7 @@ function ConnectedSsoCallback() {
41017
41032
  setIsSubmitting(true);
41018
41033
  setError(null);
41019
41034
  try {
41020
- const { login, registered, linked } = await chunkB3WHUTI7_cjs.completeSsoSignIn(arbi, {
41035
+ const { login, registered, linked } = await chunkSDXK2COQ_cjs.completeSsoSignIn(arbi, {
41021
41036
  token: accessToken,
41022
41037
  user,
41023
41038
  status: ssoStatus,
@@ -41299,7 +41314,7 @@ function ConnectedSsoCallback() {
41299
41314
  ssoStatus.status !== "new_user" && auth.footer
41300
41315
  ] }),
41301
41316
  /* @__PURE__ */ jsxRuntime.jsx(
41302
- chunkB3WHUTI7_cjs.ConnectedForgotPassword,
41317
+ chunkSDXK2COQ_cjs.ConnectedForgotPassword,
41303
41318
  {
41304
41319
  open: showForgotPasswordModal,
41305
41320
  onOpenChange: setShowForgotPasswordModal,
@@ -41307,7 +41322,7 @@ function ConnectedSsoCallback() {
41307
41322
  }
41308
41323
  ),
41309
41324
  /* @__PURE__ */ jsxRuntime.jsx(
41310
- chunkB3WHUTI7_cjs.ConnectedPasswordChangeDialog,
41325
+ chunkSDXK2COQ_cjs.ConnectedPasswordChangeDialog,
41311
41326
  {
41312
41327
  open: showChangePasswordModal,
41313
41328
  onClose: () => setShowChangePasswordModal(false),
@@ -41466,27 +41481,27 @@ function ConnectedOAuthConsentPage({
41466
41481
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
41467
41482
  }
41468
41483
  if (error && !params) {
41469
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
41484
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
41470
41485
  }
41471
41486
  if (!params) {
41472
41487
  return null;
41473
41488
  }
41474
41489
  if (clientInfo?.isLocalAgentFlow) {
41475
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
41490
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
41476
41491
  }
41477
41492
  if (!isAuthenticated2) {
41478
41493
  return null;
41479
41494
  }
41480
41495
  if (callbackUrl) {
41481
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentCard, { size: "md", children: [
41482
- /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
41496
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentCard, { size: "md", children: [
41497
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
41483
41498
  "A new tab has opened to complete the connection. If it succeeded, you can close this page. If you see a connection error there, paste the URL below into Claude Cowork \u2014",
41484
41499
  " ",
41485
41500
  copied ? "it's already copied to your clipboard." : "copy it first."
41486
41501
  ] }),
41487
- /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentSection, { title: "Callback URL", children: [
41488
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
41489
- /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentText, { variant: "hint", children: [
41502
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentSection, { title: "Callback URL", children: [
41503
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
41504
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentText, { variant: "hint", children: [
41490
41505
  "In Claude Code, paste the URL at the prompt that says",
41491
41506
  " ",
41492
41507
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -41495,17 +41510,17 @@ function ConnectedOAuthConsentPage({
41495
41510
  ] })
41496
41511
  ] }) });
41497
41512
  }
41498
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentCard, { children: [
41499
- /* @__PURE__ */ jsxRuntime.jsxs(chunkTEMJBXGQ_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
41500
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
41513
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentCard, { children: [
41514
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkMBXQSBG3_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
41515
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
41501
41516
  " is requesting access to your ",
41502
41517
  appName,
41503
41518
  " workspace."
41504
41519
  ] }),
41505
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentPermissionList, { items: permissions }) }),
41506
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentNotice, { tone: "error", children: error }),
41507
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
41508
- /* @__PURE__ */ jsxRuntime.jsx(chunkTEMJBXGQ_cjs.ConsentFootnote, { children: footnote })
41520
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentPermissionList, { items: permissions }) }),
41521
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentNotice, { tone: "error", children: error }),
41522
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
41523
+ /* @__PURE__ */ jsxRuntime.jsx(chunkMBXQSBG3_cjs.ConsentFootnote, { children: footnote })
41509
41524
  ] }) });
41510
41525
  }
41511
41526
  function ConnectedSharedFilesPage({
@@ -41909,7 +41924,7 @@ function ConnectedTipBar({
41909
41924
  className,
41910
41925
  revealOnHover = false
41911
41926
  }) {
41912
- const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkB3WHUTI7_cjs.useContextualHints();
41927
+ const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkSDXK2COQ_cjs.useContextualHints();
41913
41928
  const { dismissed, dismissTip } = react.useDismissedTips();
41914
41929
  const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
41915
41930
  const { data: workspaces } = react.useWorkspaces();
@@ -41920,7 +41935,7 @@ function ConnectedTipBar({
41920
41935
  workspaceOpen,
41921
41936
  ...state
41922
41937
  };
41923
- const { tip, index, count: count2, previous, next, onHoverChange } = chunkPAMIB34K_cjs.useTipsPlacement({
41938
+ const { tip, index, count: count2, previous, next, onHoverChange } = chunkU4ZLFL6M_cjs.useTipsPlacement({
41924
41939
  registry,
41925
41940
  context,
41926
41941
  state: situation,
@@ -41998,7 +42013,7 @@ function useGettingStarted({
41998
42013
  const { user } = react.useArbiSession();
41999
42014
  const userExtId = user?.external_id;
42000
42015
  const temporaryOnly = user?.temporary_access_only === true;
42001
- const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkB3WHUTI7_cjs.useContextualHints();
42016
+ const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkSDXK2COQ_cjs.useContextualHints();
42002
42017
  const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
42003
42018
  const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
42004
42019
  const session = react.useArbiSessionStore();
@@ -42288,15 +42303,15 @@ Object.defineProperty(exports, "ConnectedMailInviteCard", {
42288
42303
  });
42289
42304
  Object.defineProperty(exports, "ConnectedTagEntity", {
42290
42305
  enumerable: true,
42291
- get: function () { return chunkVEETUCPR_cjs.ConnectedTagEntity; }
42306
+ get: function () { return chunkTBARSVW7_cjs.ConnectedTagEntity; }
42292
42307
  });
42293
42308
  Object.defineProperty(exports, "documentFieldContent", {
42294
42309
  enumerable: true,
42295
- get: function () { return chunkVEETUCPR_cjs.documentFieldContent; }
42310
+ get: function () { return chunkTBARSVW7_cjs.documentFieldContent; }
42296
42311
  });
42297
42312
  Object.defineProperty(exports, "useMemberLookup", {
42298
42313
  enumerable: true,
42299
- get: function () { return chunkVEETUCPR_cjs.useMemberLookup; }
42314
+ get: function () { return chunkTBARSVW7_cjs.useMemberLookup; }
42300
42315
  });
42301
42316
  Object.defineProperty(exports, "ConnectedAssistantDock", {
42302
42317
  enumerable: true,
@@ -42332,291 +42347,291 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
42332
42347
  });
42333
42348
  Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
42334
42349
  enumerable: true,
42335
- get: function () { return chunkFSUWRDZT_cjs.ConnectedTaskActivityDialog; }
42350
+ get: function () { return chunkDCHNB7DF_cjs.ConnectedTaskActivityDialog; }
42336
42351
  });
42337
42352
  Object.defineProperty(exports, "ConnectedTaskComposer", {
42338
42353
  enumerable: true,
42339
- get: function () { return chunkFSUWRDZT_cjs.ConnectedTaskComposer; }
42354
+ get: function () { return chunkDCHNB7DF_cjs.ConnectedTaskComposer; }
42340
42355
  });
42341
42356
  Object.defineProperty(exports, "ConnectedThreadTaskBar", {
42342
42357
  enumerable: true,
42343
- get: function () { return chunkFSUWRDZT_cjs.ConnectedThreadTaskBar; }
42358
+ get: function () { return chunkDCHNB7DF_cjs.ConnectedThreadTaskBar; }
42344
42359
  });
42345
42360
  Object.defineProperty(exports, "ConnectedWorkflowHistory", {
42346
42361
  enumerable: true,
42347
- get: function () { return chunkFSUWRDZT_cjs.ConnectedWorkflowHistory; }
42362
+ get: function () { return chunkDCHNB7DF_cjs.ConnectedWorkflowHistory; }
42348
42363
  });
42349
42364
  Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
42350
42365
  enumerable: true,
42351
- get: function () { return chunkFSUWRDZT_cjs.ConnectedWorkflowRunPage; }
42366
+ get: function () { return chunkDCHNB7DF_cjs.ConnectedWorkflowRunPage; }
42352
42367
  });
42353
42368
  Object.defineProperty(exports, "ConnectedWorkflowRunner", {
42354
42369
  enumerable: true,
42355
- get: function () { return chunkFSUWRDZT_cjs.ConnectedWorkflowRunner; }
42370
+ get: function () { return chunkDCHNB7DF_cjs.ConnectedWorkflowRunner; }
42356
42371
  });
42357
42372
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
42358
42373
  enumerable: true,
42359
- get: function () { return chunkFSUWRDZT_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
42374
+ get: function () { return chunkDCHNB7DF_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
42360
42375
  });
42361
42376
  Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
42362
42377
  enumerable: true,
42363
- get: function () { return chunkFSUWRDZT_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
42378
+ get: function () { return chunkDCHNB7DF_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
42364
42379
  });
42365
42380
  Object.defineProperty(exports, "WorkflowRunThread", {
42366
42381
  enumerable: true,
42367
- get: function () { return chunkFSUWRDZT_cjs.WorkflowRunThread; }
42382
+ get: function () { return chunkDCHNB7DF_cjs.WorkflowRunThread; }
42368
42383
  });
42369
42384
  Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
42370
42385
  enumerable: true,
42371
- get: function () { return chunkFSUWRDZT_cjs.WorkflowRunWorkspaceChangedError; }
42386
+ get: function () { return chunkDCHNB7DF_cjs.WorkflowRunWorkspaceChangedError; }
42372
42387
  });
42373
42388
  Object.defineProperty(exports, "buildProjectSummaries", {
42374
42389
  enumerable: true,
42375
- get: function () { return chunkFSUWRDZT_cjs.buildProjectSummaries; }
42390
+ get: function () { return chunkDCHNB7DF_cjs.buildProjectSummaries; }
42376
42391
  });
42377
42392
  Object.defineProperty(exports, "primaryProjectWorkspace", {
42378
42393
  enumerable: true,
42379
- get: function () { return chunkFSUWRDZT_cjs.primaryProjectWorkspace; }
42394
+ get: function () { return chunkDCHNB7DF_cjs.primaryProjectWorkspace; }
42380
42395
  });
42381
42396
  Object.defineProperty(exports, "useEnsureRequiredLabels", {
42382
42397
  enumerable: true,
42383
- get: function () { return chunkFSUWRDZT_cjs.useEnsureRequiredLabels; }
42398
+ get: function () { return chunkDCHNB7DF_cjs.useEnsureRequiredLabels; }
42384
42399
  });
42385
42400
  Object.defineProperty(exports, "useProjectSummaries", {
42386
42401
  enumerable: true,
42387
- get: function () { return chunkFSUWRDZT_cjs.useProjectSummaries; }
42402
+ get: function () { return chunkDCHNB7DF_cjs.useProjectSummaries; }
42388
42403
  });
42389
42404
  Object.defineProperty(exports, "useProjectSummary", {
42390
42405
  enumerable: true,
42391
- get: function () { return chunkFSUWRDZT_cjs.useProjectSummary; }
42406
+ get: function () { return chunkDCHNB7DF_cjs.useProjectSummary; }
42392
42407
  });
42393
42408
  Object.defineProperty(exports, "useRenderTaskPerson", {
42394
42409
  enumerable: true,
42395
- get: function () { return chunkFSUWRDZT_cjs.useRenderTaskPerson; }
42410
+ get: function () { return chunkDCHNB7DF_cjs.useRenderTaskPerson; }
42396
42411
  });
42397
42412
  Object.defineProperty(exports, "useRequiredLabels", {
42398
42413
  enumerable: true,
42399
- get: function () { return chunkFSUWRDZT_cjs.useRequiredLabels; }
42414
+ get: function () { return chunkDCHNB7DF_cjs.useRequiredLabels; }
42400
42415
  });
42401
42416
  Object.defineProperty(exports, "useSkillsEnabled", {
42402
42417
  enumerable: true,
42403
- get: function () { return chunkFSUWRDZT_cjs.useSkillsEnabled; }
42418
+ get: function () { return chunkDCHNB7DF_cjs.useSkillsEnabled; }
42404
42419
  });
42405
42420
  Object.defineProperty(exports, "useTaskPeople", {
42406
42421
  enumerable: true,
42407
- get: function () { return chunkFSUWRDZT_cjs.useTaskPeople; }
42422
+ get: function () { return chunkDCHNB7DF_cjs.useTaskPeople; }
42408
42423
  });
42409
42424
  Object.defineProperty(exports, "useWorkflowDefinitions", {
42410
42425
  enumerable: true,
42411
- get: function () { return chunkFSUWRDZT_cjs.useWorkflowDefinitions; }
42426
+ get: function () { return chunkDCHNB7DF_cjs.useWorkflowDefinitions; }
42412
42427
  });
42413
42428
  Object.defineProperty(exports, "useWorkflowTasks", {
42414
42429
  enumerable: true,
42415
- get: function () { return chunkFSUWRDZT_cjs.useWorkflowTasks; }
42430
+ get: function () { return chunkDCHNB7DF_cjs.useWorkflowTasks; }
42416
42431
  });
42417
42432
  Object.defineProperty(exports, "useWorkflowsPageState", {
42418
42433
  enumerable: true,
42419
- get: function () { return chunkFSUWRDZT_cjs.useWorkflowsPageState; }
42434
+ get: function () { return chunkDCHNB7DF_cjs.useWorkflowsPageState; }
42420
42435
  });
42421
42436
  Object.defineProperty(exports, "workflowRunView", {
42422
42437
  enumerable: true,
42423
- get: function () { return chunkFSUWRDZT_cjs.workflowRunView; }
42438
+ get: function () { return chunkDCHNB7DF_cjs.workflowRunView; }
42424
42439
  });
42425
42440
  Object.defineProperty(exports, "AgentSteps", {
42426
42441
  enumerable: true,
42427
- get: function () { return chunkB3WHUTI7_cjs.AgentSteps; }
42442
+ get: function () { return chunkSDXK2COQ_cjs.AgentSteps; }
42428
42443
  });
42429
42444
  Object.defineProperty(exports, "AnswerTable", {
42430
42445
  enumerable: true,
42431
- get: function () { return chunkB3WHUTI7_cjs.AnswerTable; }
42446
+ get: function () { return chunkSDXK2COQ_cjs.AnswerTable; }
42432
42447
  });
42433
42448
  Object.defineProperty(exports, "ArbiChat", {
42434
42449
  enumerable: true,
42435
- get: function () { return chunkB3WHUTI7_cjs.ArbiChat; }
42450
+ get: function () { return chunkSDXK2COQ_cjs.ArbiChat; }
42436
42451
  });
42437
42452
  Object.defineProperty(exports, "AskAgainContext", {
42438
42453
  enumerable: true,
42439
- get: function () { return chunkB3WHUTI7_cjs.AskAgainContext; }
42454
+ get: function () { return chunkSDXK2COQ_cjs.AskAgainContext; }
42440
42455
  });
42441
42456
  Object.defineProperty(exports, "ConnectedBranchControls", {
42442
42457
  enumerable: true,
42443
- get: function () { return chunkB3WHUTI7_cjs.ConnectedBranchControls; }
42458
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedBranchControls; }
42444
42459
  });
42445
42460
  Object.defineProperty(exports, "ConnectedCitationRenderer", {
42446
42461
  enumerable: true,
42447
- get: function () { return chunkB3WHUTI7_cjs.ConnectedCitationRenderer; }
42462
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedCitationRenderer; }
42448
42463
  });
42449
42464
  Object.defineProperty(exports, "ConnectedCompactConversation", {
42450
42465
  enumerable: true,
42451
- get: function () { return chunkB3WHUTI7_cjs.ConnectedCompactConversation; }
42466
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedCompactConversation; }
42452
42467
  });
42453
42468
  Object.defineProperty(exports, "ConnectedCompactLogin", {
42454
42469
  enumerable: true,
42455
- get: function () { return chunkB3WHUTI7_cjs.ConnectedCompactLogin; }
42470
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedCompactLogin; }
42456
42471
  });
42457
42472
  Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
42458
42473
  enumerable: true,
42459
- get: function () { return chunkB3WHUTI7_cjs.ConnectedConversationDocumentPicker; }
42474
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedConversationDocumentPicker; }
42460
42475
  });
42461
42476
  Object.defineProperty(exports, "ConnectedDangerZone", {
42462
42477
  enumerable: true,
42463
- get: function () { return chunkB3WHUTI7_cjs.ConnectedDangerZone; }
42478
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedDangerZone; }
42464
42479
  });
42465
42480
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
42466
42481
  enumerable: true,
42467
- get: function () { return chunkB3WHUTI7_cjs.ConnectedEmbeddedChat; }
42482
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedEmbeddedChat; }
42468
42483
  });
42469
42484
  Object.defineProperty(exports, "ConnectedForgotPassword", {
42470
42485
  enumerable: true,
42471
- get: function () { return chunkB3WHUTI7_cjs.ConnectedForgotPassword; }
42486
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedForgotPassword; }
42472
42487
  });
42473
42488
  Object.defineProperty(exports, "ConnectedIdentityVerification", {
42474
42489
  enumerable: true,
42475
- get: function () { return chunkB3WHUTI7_cjs.ConnectedIdentityVerification; }
42490
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedIdentityVerification; }
42476
42491
  });
42477
42492
  Object.defineProperty(exports, "ConnectedLoginPage", {
42478
42493
  enumerable: true,
42479
- get: function () { return chunkB3WHUTI7_cjs.ConnectedLoginPage; }
42494
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedLoginPage; }
42480
42495
  });
42481
42496
  Object.defineProperty(exports, "ConnectedLogoutDialog", {
42482
42497
  enumerable: true,
42483
- get: function () { return chunkB3WHUTI7_cjs.ConnectedLogoutDialog; }
42498
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedLogoutDialog; }
42484
42499
  });
42485
42500
  Object.defineProperty(exports, "ConnectedMessage", {
42486
42501
  enumerable: true,
42487
- get: function () { return chunkB3WHUTI7_cjs.ConnectedMessage; }
42502
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedMessage; }
42488
42503
  });
42489
42504
  Object.defineProperty(exports, "ConnectedMessageArea", {
42490
42505
  enumerable: true,
42491
- get: function () { return chunkB3WHUTI7_cjs.ConnectedMessageArea; }
42506
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedMessageArea; }
42492
42507
  });
42493
42508
  Object.defineProperty(exports, "ConnectedMessageList", {
42494
42509
  enumerable: true,
42495
- get: function () { return chunkB3WHUTI7_cjs.ConnectedMessageList; }
42510
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedMessageList; }
42496
42511
  });
42497
42512
  Object.defineProperty(exports, "ConnectedModelSelector", {
42498
42513
  enumerable: true,
42499
- get: function () { return chunkB3WHUTI7_cjs.ConnectedModelSelector; }
42514
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedModelSelector; }
42500
42515
  });
42501
42516
  Object.defineProperty(exports, "ConnectedNotificationPreferences", {
42502
42517
  enumerable: true,
42503
- get: function () { return chunkB3WHUTI7_cjs.ConnectedNotificationPreferences; }
42518
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedNotificationPreferences; }
42504
42519
  });
42505
42520
  Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
42506
42521
  enumerable: true,
42507
- get: function () { return chunkB3WHUTI7_cjs.ConnectedPasswordChangeDialog; }
42522
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedPasswordChangeDialog; }
42508
42523
  });
42509
42524
  Object.defineProperty(exports, "ConnectedProfileCard", {
42510
42525
  enumerable: true,
42511
- get: function () { return chunkB3WHUTI7_cjs.ConnectedProfileCard; }
42526
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedProfileCard; }
42512
42527
  });
42513
42528
  Object.defineProperty(exports, "ConnectedSecuritySection", {
42514
42529
  enumerable: true,
42515
- get: function () { return chunkB3WHUTI7_cjs.ConnectedSecuritySection; }
42530
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedSecuritySection; }
42516
42531
  });
42517
42532
  Object.defineProperty(exports, "ConnectedSessionsRow", {
42518
42533
  enumerable: true,
42519
- get: function () { return chunkB3WHUTI7_cjs.ConnectedSessionsRow; }
42534
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedSessionsRow; }
42520
42535
  });
42521
42536
  Object.defineProperty(exports, "ConnectedThreadsPreview", {
42522
42537
  enumerable: true,
42523
- get: function () { return chunkB3WHUTI7_cjs.ConnectedThreadsPreview; }
42538
+ get: function () { return chunkSDXK2COQ_cjs.ConnectedThreadsPreview; }
42524
42539
  });
42525
42540
  Object.defineProperty(exports, "ConversationComposer", {
42526
42541
  enumerable: true,
42527
- get: function () { return chunkB3WHUTI7_cjs.ConversationComposer; }
42542
+ get: function () { return chunkSDXK2COQ_cjs.ConversationComposer; }
42528
42543
  });
42529
42544
  Object.defineProperty(exports, "EmbeddedChatPanel", {
42530
42545
  enumerable: true,
42531
- get: function () { return chunkB3WHUTI7_cjs.EmbeddedChatPanel; }
42546
+ get: function () { return chunkSDXK2COQ_cjs.EmbeddedChatPanel; }
42532
42547
  });
42533
42548
  Object.defineProperty(exports, "MessageDetailsModal", {
42534
42549
  enumerable: true,
42535
- get: function () { return chunkB3WHUTI7_cjs.MessageDetailsModal; }
42550
+ get: function () { return chunkSDXK2COQ_cjs.MessageDetailsModal; }
42536
42551
  });
42537
42552
  Object.defineProperty(exports, "MessageLiveSeconds", {
42538
42553
  enumerable: true,
42539
- get: function () { return chunkB3WHUTI7_cjs.MessageLiveSeconds; }
42554
+ get: function () { return chunkSDXK2COQ_cjs.MessageLiveSeconds; }
42540
42555
  });
42541
42556
  Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
42542
42557
  enumerable: true,
42543
- get: function () { return chunkB3WHUTI7_cjs.PENDING_RECOVERY_KEY; }
42558
+ get: function () { return chunkSDXK2COQ_cjs.PENDING_RECOVERY_KEY; }
42544
42559
  });
42545
42560
  Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
42546
42561
  enumerable: true,
42547
- get: function () { return chunkB3WHUTI7_cjs.PREMIUM_TIER_TAG; }
42562
+ get: function () { return chunkSDXK2COQ_cjs.PREMIUM_TIER_TAG; }
42548
42563
  });
42549
42564
  Object.defineProperty(exports, "RunningSubagents", {
42550
42565
  enumerable: true,
42551
- get: function () { return chunkB3WHUTI7_cjs.RunningSubagents; }
42566
+ get: function () { return chunkSDXK2COQ_cjs.RunningSubagents; }
42552
42567
  });
42553
42568
  Object.defineProperty(exports, "STANDARD_TIER_TAG", {
42554
42569
  enumerable: true,
42555
- get: function () { return chunkB3WHUTI7_cjs.STANDARD_TIER_TAG; }
42570
+ get: function () { return chunkSDXK2COQ_cjs.STANDARD_TIER_TAG; }
42556
42571
  });
42557
42572
  Object.defineProperty(exports, "WorkflowStepMessage", {
42558
42573
  enumerable: true,
42559
- get: function () { return chunkB3WHUTI7_cjs.WorkflowStepMessage; }
42574
+ get: function () { return chunkSDXK2COQ_cjs.WorkflowStepMessage; }
42560
42575
  });
42561
42576
  Object.defineProperty(exports, "backUpOnSignup", {
42562
42577
  enumerable: true,
42563
- get: function () { return chunkB3WHUTI7_cjs.backUpOnSignup; }
42578
+ get: function () { return chunkSDXK2COQ_cjs.backUpOnSignup; }
42564
42579
  });
42565
42580
  Object.defineProperty(exports, "defaultHost", {
42566
42581
  enumerable: true,
42567
- get: function () { return chunkB3WHUTI7_cjs.defaultHost; }
42582
+ get: function () { return chunkSDXK2COQ_cjs.defaultHost; }
42568
42583
  });
42569
42584
  Object.defineProperty(exports, "renderConnectedUser", {
42570
42585
  enumerable: true,
42571
- get: function () { return chunkB3WHUTI7_cjs.renderConnectedUser; }
42586
+ get: function () { return chunkSDXK2COQ_cjs.renderConnectedUser; }
42572
42587
  });
42573
42588
  Object.defineProperty(exports, "renderSessionStatusIcon", {
42574
42589
  enumerable: true,
42575
- get: function () { return chunkB3WHUTI7_cjs.renderSessionStatusIcon; }
42590
+ get: function () { return chunkSDXK2COQ_cjs.renderSessionStatusIcon; }
42576
42591
  });
42577
42592
  Object.defineProperty(exports, "resolveSsoName", {
42578
42593
  enumerable: true,
42579
- get: function () { return chunkB3WHUTI7_cjs.resolveSsoName; }
42594
+ get: function () { return chunkSDXK2COQ_cjs.resolveSsoName; }
42580
42595
  });
42581
42596
  Object.defineProperty(exports, "useAuthPages", {
42582
42597
  enumerable: true,
42583
- get: function () { return chunkB3WHUTI7_cjs.useAuthPages; }
42598
+ get: function () { return chunkSDXK2COQ_cjs.useAuthPages; }
42584
42599
  });
42585
42600
  Object.defineProperty(exports, "useContextualHints", {
42586
42601
  enumerable: true,
42587
- get: function () { return chunkB3WHUTI7_cjs.useContextualHints; }
42602
+ get: function () { return chunkSDXK2COQ_cjs.useContextualHints; }
42588
42603
  });
42589
42604
  Object.defineProperty(exports, "useModelPicker", {
42590
42605
  enumerable: true,
42591
- get: function () { return chunkB3WHUTI7_cjs.useModelPicker; }
42606
+ get: function () { return chunkSDXK2COQ_cjs.useModelPicker; }
42592
42607
  });
42593
42608
  Object.defineProperty(exports, "useOpenChunk", {
42594
42609
  enumerable: true,
42595
- get: function () { return chunkB3WHUTI7_cjs.useOpenChunk; }
42610
+ get: function () { return chunkSDXK2COQ_cjs.useOpenChunk; }
42596
42611
  });
42597
42612
  Object.defineProperty(exports, "useOpenWorkspaceIcon", {
42598
42613
  enumerable: true,
42599
- get: function () { return chunkB3WHUTI7_cjs.useOpenWorkspaceIcon; }
42614
+ get: function () { return chunkSDXK2COQ_cjs.useOpenWorkspaceIcon; }
42600
42615
  });
42601
42616
  Object.defineProperty(exports, "useSlashItems", {
42602
42617
  enumerable: true,
42603
- get: function () { return chunkB3WHUTI7_cjs.useSlashItems; }
42618
+ get: function () { return chunkSDXK2COQ_cjs.useSlashItems; }
42604
42619
  });
42605
42620
  Object.defineProperty(exports, "useSsoSignIn", {
42606
42621
  enumerable: true,
42607
- get: function () { return chunkB3WHUTI7_cjs.useSsoSignIn; }
42622
+ get: function () { return chunkSDXK2COQ_cjs.useSsoSignIn; }
42608
42623
  });
42609
42624
  Object.defineProperty(exports, "useWorkspaceDocTitles", {
42610
42625
  enumerable: true,
42611
- get: function () { return chunkB3WHUTI7_cjs.useWorkspaceDocTitles; }
42626
+ get: function () { return chunkSDXK2COQ_cjs.useWorkspaceDocTitles; }
42612
42627
  });
42613
42628
  Object.defineProperty(exports, "useConnectedThreadActivity", {
42614
42629
  enumerable: true,
42615
- get: function () { return chunkJCZCDIEZ_cjs.useConnectedThreadActivity; }
42630
+ get: function () { return chunkXTCNETMI_cjs.useConnectedThreadActivity; }
42616
42631
  });
42617
42632
  Object.defineProperty(exports, "DocumentUser", {
42618
42633
  enumerable: true,
42619
- get: function () { return chunkQD4APOHO_cjs.DocumentUser; }
42634
+ get: function () { return chunkTZHLO7HF_cjs.DocumentUser; }
42620
42635
  });
42621
42636
  Object.defineProperty(exports, "EMBEDDED_SELECTED_DOCS_KEY", {
42622
42637
  enumerable: true,
@@ -42628,39 +42643,39 @@ Object.defineProperty(exports, "SELECTED_WORKSPACE_KEY", {
42628
42643
  });
42629
42644
  Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
42630
42645
  enumerable: true,
42631
- get: function () { return chunkECCV4YOL_cjs.ConnectedWorkflowDocumentsField; }
42646
+ get: function () { return chunk5ZWEUUJN_cjs.ConnectedWorkflowDocumentsField; }
42632
42647
  });
42633
42648
  Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
42634
42649
  enumerable: true,
42635
- get: function () { return chunkECCV4YOL_cjs.ConnectedWorkflowLauncher; }
42650
+ get: function () { return chunk5ZWEUUJN_cjs.ConnectedWorkflowLauncher; }
42636
42651
  });
42637
42652
  Object.defineProperty(exports, "ConnectedWorkflowsTable", {
42638
42653
  enumerable: true,
42639
- get: function () { return chunkECCV4YOL_cjs.ConnectedWorkflowsTable; }
42654
+ get: function () { return chunk5ZWEUUJN_cjs.ConnectedWorkflowsTable; }
42640
42655
  });
42641
42656
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
42642
42657
  enumerable: true,
42643
- get: function () { return chunkECCV4YOL_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
42658
+ get: function () { return chunk5ZWEUUJN_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
42644
42659
  });
42645
42660
  Object.defineProperty(exports, "toWorkflowFieldDocument", {
42646
42661
  enumerable: true,
42647
- get: function () { return chunkECCV4YOL_cjs.toWorkflowFieldDocument; }
42662
+ get: function () { return chunk5ZWEUUJN_cjs.toWorkflowFieldDocument; }
42648
42663
  });
42649
42664
  Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
42650
42665
  enumerable: true,
42651
- get: function () { return chunkECCV4YOL_cjs.useConnectedWorkflowScopeSource; }
42666
+ get: function () { return chunk5ZWEUUJN_cjs.useConnectedWorkflowScopeSource; }
42652
42667
  });
42653
42668
  Object.defineProperty(exports, "useConnectedWorkspaceRole", {
42654
42669
  enumerable: true,
42655
- get: function () { return chunkECCV4YOL_cjs.useConnectedWorkspaceRole; }
42670
+ get: function () { return chunk5ZWEUUJN_cjs.useConnectedWorkspaceRole; }
42656
42671
  });
42657
42672
  Object.defineProperty(exports, "useDocxCommentTarget", {
42658
42673
  enumerable: true,
42659
- get: function () { return chunkECCV4YOL_cjs.useDocxCommentTarget; }
42674
+ get: function () { return chunk5ZWEUUJN_cjs.useDocxCommentTarget; }
42660
42675
  });
42661
42676
  Object.defineProperty(exports, "useNativeDocxSupport", {
42662
42677
  enumerable: true,
42663
- get: function () { return chunkECCV4YOL_cjs.useNativeDocxSupport; }
42678
+ get: function () { return chunk5ZWEUUJN_cjs.useNativeDocxSupport; }
42664
42679
  });
42665
42680
  Object.defineProperty(exports, "useOpenWorkflow", {
42666
42681
  enumerable: true,
@@ -42692,35 +42707,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
42692
42707
  });
42693
42708
  Object.defineProperty(exports, "FILES_PREFS_KEY", {
42694
42709
  enumerable: true,
42695
- get: function () { return chunkEW54OI4U_cjs.FILES_PREFS_KEY; }
42710
+ get: function () { return chunkHEM27NA3_cjs.FILES_PREFS_KEY; }
42696
42711
  });
42697
42712
  Object.defineProperty(exports, "filesViewMode", {
42698
42713
  enumerable: true,
42699
- get: function () { return chunkEW54OI4U_cjs.filesViewMode; }
42714
+ get: function () { return chunkHEM27NA3_cjs.filesViewMode; }
42700
42715
  });
42701
42716
  Object.defineProperty(exports, "useAiReviewStore", {
42702
42717
  enumerable: true,
42703
- get: function () { return chunkEW54OI4U_cjs.useAiReviewStore; }
42718
+ get: function () { return chunkHEM27NA3_cjs.useAiReviewStore; }
42704
42719
  });
42705
42720
  Object.defineProperty(exports, "useFilesDialogs", {
42706
42721
  enumerable: true,
42707
- get: function () { return chunkEW54OI4U_cjs.useFilesDialogs; }
42722
+ get: function () { return chunkHEM27NA3_cjs.useFilesDialogs; }
42708
42723
  });
42709
42724
  Object.defineProperty(exports, "useFilesGridStates", {
42710
42725
  enumerable: true,
42711
- get: function () { return chunkEW54OI4U_cjs.useFilesGridStates; }
42726
+ get: function () { return chunkHEM27NA3_cjs.useFilesGridStates; }
42712
42727
  });
42713
42728
  Object.defineProperty(exports, "useFilesPrefs", {
42714
42729
  enumerable: true,
42715
- get: function () { return chunkEW54OI4U_cjs.useFilesPrefs; }
42730
+ get: function () { return chunkHEM27NA3_cjs.useFilesPrefs; }
42716
42731
  });
42717
42732
  Object.defineProperty(exports, "useFilesStore", {
42718
42733
  enumerable: true,
42719
- get: function () { return chunkEW54OI4U_cjs.useFilesStore; }
42734
+ get: function () { return chunkHEM27NA3_cjs.useFilesStore; }
42720
42735
  });
42721
42736
  Object.defineProperty(exports, "usePendingFolders", {
42722
42737
  enumerable: true,
42723
- get: function () { return chunkEW54OI4U_cjs.usePendingFolders; }
42738
+ get: function () { return chunkHEM27NA3_cjs.usePendingFolders; }
42724
42739
  });
42725
42740
  Object.defineProperty(exports, "ConnectedMarkdown", {
42726
42741
  enumerable: true,
@@ -42752,67 +42767,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
42752
42767
  });
42753
42768
  Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
42754
42769
  enumerable: true,
42755
- get: function () { return chunkSXY7K54A_cjs.ConnectedPendingSyncDialog; }
42770
+ get: function () { return chunkGFG7DCJ3_cjs.ConnectedPendingSyncDialog; }
42756
42771
  });
42757
42772
  Object.defineProperty(exports, "DocumentFolderCell", {
42758
42773
  enumerable: true,
42759
- get: function () { return chunkSXY7K54A_cjs.DocumentFolderCell; }
42774
+ get: function () { return chunkGFG7DCJ3_cjs.DocumentFolderCell; }
42760
42775
  });
42761
42776
  Object.defineProperty(exports, "DocumentLabelsCell", {
42762
42777
  enumerable: true,
42763
- get: function () { return chunkSXY7K54A_cjs.DocumentLabelsCell; }
42778
+ get: function () { return chunkGFG7DCJ3_cjs.DocumentLabelsCell; }
42764
42779
  });
42765
42780
  Object.defineProperty(exports, "DocumentNameCell", {
42766
42781
  enumerable: true,
42767
- get: function () { return chunkSXY7K54A_cjs.DocumentNameCell; }
42782
+ get: function () { return chunkGFG7DCJ3_cjs.DocumentNameCell; }
42768
42783
  });
42769
42784
  Object.defineProperty(exports, "DocumentSharedCell", {
42770
42785
  enumerable: true,
42771
- get: function () { return chunkSXY7K54A_cjs.DocumentSharedCell; }
42786
+ get: function () { return chunkGFG7DCJ3_cjs.DocumentSharedCell; }
42772
42787
  });
42773
42788
  Object.defineProperty(exports, "DocumentStatusGlyph", {
42774
42789
  enumerable: true,
42775
- get: function () { return chunkSXY7K54A_cjs.DocumentStatusGlyph; }
42790
+ get: function () { return chunkGFG7DCJ3_cjs.DocumentStatusGlyph; }
42776
42791
  });
42777
42792
  Object.defineProperty(exports, "DocumentSyncGlyph", {
42778
42793
  enumerable: true,
42779
- get: function () { return chunkSXY7K54A_cjs.DocumentSyncGlyph; }
42794
+ get: function () { return chunkGFG7DCJ3_cjs.DocumentSyncGlyph; }
42780
42795
  });
42781
42796
  Object.defineProperty(exports, "FileTooltipContent", {
42782
42797
  enumerable: true,
42783
- get: function () { return chunkSXY7K54A_cjs.FileTooltipContent; }
42798
+ get: function () { return chunkGFG7DCJ3_cjs.FileTooltipContent; }
42784
42799
  });
42785
42800
  Object.defineProperty(exports, "RelatedDocumentsCell", {
42786
42801
  enumerable: true,
42787
- get: function () { return chunkSXY7K54A_cjs.RelatedDocumentsCell; }
42802
+ get: function () { return chunkGFG7DCJ3_cjs.RelatedDocumentsCell; }
42788
42803
  });
42789
42804
  Object.defineProperty(exports, "StatusCell", {
42790
42805
  enumerable: true,
42791
- get: function () { return chunkSXY7K54A_cjs.StatusCell; }
42806
+ get: function () { return chunkGFG7DCJ3_cjs.StatusCell; }
42792
42807
  });
42793
42808
  Object.defineProperty(exports, "UserAvatar", {
42794
42809
  enumerable: true,
42795
- get: function () { return chunkSXY7K54A_cjs.UserAvatar; }
42810
+ get: function () { return chunkGFG7DCJ3_cjs.UserAvatar; }
42796
42811
  });
42797
42812
  Object.defineProperty(exports, "isActiveDocumentStatus", {
42798
42813
  enumerable: true,
42799
- get: function () { return chunkSXY7K54A_cjs.isActiveDocumentStatus; }
42814
+ get: function () { return chunkGFG7DCJ3_cjs.isActiveDocumentStatus; }
42800
42815
  });
42801
42816
  Object.defineProperty(exports, "openPendingSyncDialog", {
42802
42817
  enumerable: true,
42803
- get: function () { return chunkSXY7K54A_cjs.openPendingSyncDialog; }
42818
+ get: function () { return chunkGFG7DCJ3_cjs.openPendingSyncDialog; }
42804
42819
  });
42805
42820
  Object.defineProperty(exports, "parseQuotaError", {
42806
42821
  enumerable: true,
42807
- get: function () { return chunkSXY7K54A_cjs.parseQuotaError; }
42822
+ get: function () { return chunkGFG7DCJ3_cjs.parseQuotaError; }
42808
42823
  });
42809
42824
  Object.defineProperty(exports, "startMenuItem", {
42810
42825
  enumerable: true,
42811
- get: function () { return chunkSXY7K54A_cjs.startMenuItem; }
42826
+ get: function () { return chunkGFG7DCJ3_cjs.startMenuItem; }
42812
42827
  });
42813
42828
  Object.defineProperty(exports, "useDocumentFolders", {
42814
42829
  enumerable: true,
42815
- get: function () { return chunkSXY7K54A_cjs.useDocumentFolders; }
42830
+ get: function () { return chunkGFG7DCJ3_cjs.useDocumentFolders; }
42816
42831
  });
42817
42832
  Object.defineProperty(exports, "useMeetingThreadMessages", {
42818
42833
  enumerable: true,