@arbidocs/blocks 0.5.151 → 0.5.152

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 (146) hide show
  1. package/dist/{ConnectedNativeDocxComparison-JLT3VHYQ.cjs → ConnectedNativeDocxComparison-244UIHSM.cjs} +9 -9
  2. package/dist/{ConnectedStreamedWordArtifact-KWK6HLCZ.cjs.map → ConnectedNativeDocxComparison-244UIHSM.cjs.map} +1 -1
  3. package/dist/{ConnectedPresentation-SY42ADRU.cjs → ConnectedPresentation-JUXIXKYN.cjs} +9 -8
  4. package/dist/ConnectedPresentation-JUXIXKYN.cjs.map +1 -0
  5. package/dist/{ConnectedSlidesTab-JATNBI22.cjs → ConnectedSlidesTab-JA3VB66W.cjs} +8 -7
  6. package/dist/ConnectedSlidesTab-JA3VB66W.cjs.map +1 -0
  7. package/dist/{ConnectedStreamedWordArtifact-KWK6HLCZ.cjs → ConnectedStreamedWordArtifact-V6BRZMEQ.cjs} +9 -9
  8. package/dist/{ConnectedNativeDocxComparison-JLT3VHYQ.cjs.map → ConnectedStreamedWordArtifact-V6BRZMEQ.cjs.map} +1 -1
  9. package/dist/{DocumentReviewCard-USFBTVEL.cjs → DocumentReviewCard-5W2QQWKA.cjs} +14 -14
  10. package/dist/{DocumentReviewCard-USFBTVEL.cjs.map → DocumentReviewCard-5W2QQWKA.cjs.map} +1 -1
  11. package/dist/{FilesViewerDialog-O4CY7GM3.cjs → FilesViewerDialog-63QUTG4L.cjs} +12 -12
  12. package/dist/{FilesViewerDialog-O4CY7GM3.cjs.map → FilesViewerDialog-63QUTG4L.cjs.map} +1 -1
  13. package/dist/{RechartsRenderer-NRLQZSSY.cjs → RechartsRenderer-NU6WUZJS.cjs} +21 -20
  14. package/dist/RechartsRenderer-NU6WUZJS.cjs.map +1 -0
  15. package/dist/{SpotlightStrip-QQ2WUI32.cjs → SpotlightStrip-HXQFPAAL.cjs} +6 -5
  16. package/dist/SpotlightStrip-HXQFPAAL.cjs.map +1 -0
  17. package/dist/agents/index.cjs +179 -179
  18. package/dist/{chunk-3XCYPWC5.cjs → chunk-2P7VH2SK.cjs} +3 -3
  19. package/dist/chunk-2P7VH2SK.cjs.map +1 -0
  20. package/dist/{chunk-7Q46YAX4.cjs → chunk-3CJTO6RV.cjs} +152 -199
  21. package/dist/chunk-3CJTO6RV.cjs.map +1 -0
  22. package/dist/{chunk-PJTKXKDS.cjs → chunk-4I2PCP7O.cjs} +28 -28
  23. package/dist/{chunk-PJTKXKDS.cjs.map → chunk-4I2PCP7O.cjs.map} +1 -1
  24. package/dist/{chunk-OGJCEWME.cjs → chunk-4XNP27N4.cjs} +36 -36
  25. package/dist/{chunk-OGJCEWME.cjs.map → chunk-4XNP27N4.cjs.map} +1 -1
  26. package/dist/{chunk-2SILSQNF.cjs → chunk-4ZR4O5SP.cjs} +26 -8
  27. package/dist/chunk-4ZR4O5SP.cjs.map +1 -0
  28. package/dist/{chunk-ILATBO5Z.cjs → chunk-6ZZWQ3OL.cjs} +4 -4
  29. package/dist/{chunk-ILATBO5Z.cjs.map → chunk-6ZZWQ3OL.cjs.map} +1 -1
  30. package/dist/{chunk-VH4QXK5W.cjs → chunk-AG6KAGAX.cjs} +4 -4
  31. package/dist/{chunk-VH4QXK5W.cjs.map → chunk-AG6KAGAX.cjs.map} +1 -1
  32. package/dist/{chunk-MFZW4FEW.cjs → chunk-B5BGVPQ5.cjs} +4 -4
  33. package/dist/{chunk-MFZW4FEW.cjs.map → chunk-B5BGVPQ5.cjs.map} +1 -1
  34. package/dist/{chunk-PJ6J4EMZ.cjs → chunk-CULUTYOD.cjs} +4 -4
  35. package/dist/{chunk-PJ6J4EMZ.cjs.map → chunk-CULUTYOD.cjs.map} +1 -1
  36. package/dist/{chunk-H7AI54V2.cjs → chunk-CVVQHFLR.cjs} +3 -3
  37. package/dist/{chunk-H7AI54V2.cjs.map → chunk-CVVQHFLR.cjs.map} +1 -1
  38. package/dist/{chunk-R3C3S6EH.cjs → chunk-D5DOK2AE.cjs} +58 -58
  39. package/dist/{chunk-R3C3S6EH.cjs.map → chunk-D5DOK2AE.cjs.map} +1 -1
  40. package/dist/{chunk-MH7P5FEK.cjs → chunk-FCT62ZPE.cjs} +4 -4
  41. package/dist/{chunk-MH7P5FEK.cjs.map → chunk-FCT62ZPE.cjs.map} +1 -1
  42. package/dist/{chunk-QX2LAMVE.cjs → chunk-IXTDOPSB.cjs} +4 -4
  43. package/dist/{chunk-QX2LAMVE.cjs.map → chunk-IXTDOPSB.cjs.map} +1 -1
  44. package/dist/{chunk-AKR4JN6I.cjs → chunk-JCFXS336.cjs} +3 -3
  45. package/dist/{chunk-AKR4JN6I.cjs.map → chunk-JCFXS336.cjs.map} +1 -1
  46. package/dist/{chunk-N4TOSY7B.cjs → chunk-JLNKD56X.cjs} +4 -4
  47. package/dist/{chunk-N4TOSY7B.cjs.map → chunk-JLNKD56X.cjs.map} +1 -1
  48. package/dist/{chunk-DNTSR7UV.cjs → chunk-LYKT336H.cjs} +5 -5
  49. package/dist/{chunk-DNTSR7UV.cjs.map → chunk-LYKT336H.cjs.map} +1 -1
  50. package/dist/{chunk-MGGDT6JK.cjs → chunk-MAKCWF45.cjs} +4 -4
  51. package/dist/{chunk-MGGDT6JK.cjs.map → chunk-MAKCWF45.cjs.map} +1 -1
  52. package/dist/{chunk-DGUQK5GA.cjs → chunk-TFRCNIUY.cjs} +6 -6
  53. package/dist/{chunk-DGUQK5GA.cjs.map → chunk-TFRCNIUY.cjs.map} +1 -1
  54. package/dist/chunk-UM3EWCDE.cjs +105 -0
  55. package/dist/chunk-UM3EWCDE.cjs.map +1 -0
  56. package/dist/{chunk-WPUEGDBE.cjs → chunk-WUM76MJU.cjs} +6 -6
  57. package/dist/{chunk-WPUEGDBE.cjs.map → chunk-WUM76MJU.cjs.map} +1 -1
  58. package/dist/{chunk-6WWYH66F.cjs → chunk-Z3N32LL4.cjs} +8 -8
  59. package/dist/{chunk-6WWYH66F.cjs.map → chunk-Z3N32LL4.cjs.map} +1 -1
  60. package/dist/{chunk-JMBAUHI7.cjs → chunk-ZCQXQIBA.cjs} +28 -28
  61. package/dist/{chunk-JMBAUHI7.cjs.map → chunk-ZCQXQIBA.cjs.map} +1 -1
  62. package/dist/components/MetricCard.js +1 -1
  63. package/dist/components/MetricCard.js.map +2 -2
  64. package/dist/components/gestures/GestureHandle.d.ts +21 -0
  65. package/dist/components/gestures/GestureHandle.js +44 -0
  66. package/dist/components/gestures/GestureHandle.js.map +7 -0
  67. package/dist/components/gestures/handles.d.ts +43 -0
  68. package/dist/components/gestures/handles.js +18 -0
  69. package/dist/components/gestures/handles.js.map +7 -0
  70. package/dist/components/gestures/index.d.ts +3 -0
  71. package/dist/components/gestures/index.js +5 -0
  72. package/dist/components/gestures/index.js.map +7 -0
  73. package/dist/components/gestures/usePointerGesture.d.ts +51 -0
  74. package/dist/components/gestures/usePointerGesture.js +61 -0
  75. package/dist/components/gestures/usePointerGesture.js.map +7 -0
  76. package/dist/connect/docx.cjs +12 -12
  77. package/dist/connect/index.cjs +613 -613
  78. package/dist/connect/viewer.cjs +10 -10
  79. package/dist/connection/dashboards/DashboardPanel.js +6 -1
  80. package/dist/connection/dashboards/DashboardPanel.js.map +2 -2
  81. package/dist/connection/pages/BlockEditor.d.ts +0 -5
  82. package/dist/connection/pages/BlockEditor.js +3 -65
  83. package/dist/connection/pages/BlockEditor.js.map +2 -2
  84. package/dist/connection/pages/ConnectedPagesPage.d.ts +4 -1
  85. package/dist/connection/pages/ConnectedPagesPage.js +52 -71
  86. package/dist/connection/pages/ConnectedPagesPage.js.map +2 -2
  87. package/dist/connection/pages/DocumentBlocks.js +3 -3
  88. package/dist/connection/pages/DocumentBlocks.js.map +2 -2
  89. package/dist/connection/pages/DocumentsPicker.js +1 -1
  90. package/dist/connection/pages/DocumentsPicker.js.map +2 -2
  91. package/dist/connection/pages/EditablePageGrid.d.ts +31 -0
  92. package/dist/connection/pages/EditablePageGrid.js +200 -0
  93. package/dist/connection/pages/EditablePageGrid.js.map +7 -0
  94. package/dist/connection/pages/PageGrid.d.ts +7 -4
  95. package/dist/connection/pages/PageGrid.js +9 -3
  96. package/dist/connection/pages/PageGrid.js.map +2 -2
  97. package/dist/connection/pages/TableViewBlock.js +1 -1
  98. package/dist/connection/pages/TableViewBlock.js.map +2 -2
  99. package/dist/connection/pages/grid-layout.d.ts +38 -0
  100. package/dist/connection/pages/grid-layout.js +98 -0
  101. package/dist/connection/pages/grid-layout.js.map +7 -0
  102. package/dist/connection/pages/index.d.ts +2 -0
  103. package/dist/connection/pages/index.js +19 -1
  104. package/dist/connection/pages/index.js.map +2 -2
  105. package/dist/connection/pages/labels.d.ts +0 -2
  106. package/dist/connection/pages/labels.js +0 -2
  107. package/dist/connection/pages/labels.js.map +2 -2
  108. package/dist/connection/shell/experimentalNav.d.ts +8 -0
  109. package/dist/connection/shell/experimentalNav.js +23 -0
  110. package/dist/connection/shell/experimentalNav.js.map +7 -0
  111. package/dist/dashboards/ChartRenderer.d.ts +6 -0
  112. package/dist/dashboards/ChartRenderer.js +7 -2
  113. package/dist/dashboards/ChartRenderer.js.map +2 -2
  114. package/dist/dashboards/PanelView.d.ts +2 -0
  115. package/dist/dashboards/PanelView.js +12 -2
  116. package/dist/dashboards/PanelView.js.map +2 -2
  117. package/dist/dashboards/RechartsRenderer.js +19 -18
  118. package/dist/dashboards/RechartsRenderer.js.map +2 -2
  119. package/dist/dashboards/index.cjs +16 -16
  120. package/dist/embed/index.cjs +13 -13
  121. package/dist/facts/index.cjs +1 -1
  122. package/dist/files/index.cjs +226 -226
  123. package/dist/index.cjs +338 -320
  124. package/dist/index.cjs.map +1 -1
  125. package/dist/index.d.ts +1 -0
  126. package/dist/index.js +3 -0
  127. package/dist/index.js.map +2 -2
  128. package/dist/pages/index.cjs +389 -181
  129. package/dist/pages/index.cjs.map +1 -1
  130. package/dist/presentation/StageBox.js +63 -86
  131. package/dist/presentation/StageBox.js.map +2 -2
  132. package/dist/presentation/StageItem.js +86 -117
  133. package/dist/presentation/StageItem.js.map +2 -2
  134. package/dist/site/index.cjs +5 -5
  135. package/dist/studio/index.cjs +13 -13
  136. package/dist/styles.css +1 -1
  137. package/dist/workflow-canvas/index.cjs +25 -25
  138. package/node_modules/@arbidocs/coedit/package.json +1 -1
  139. package/package.json +5 -5
  140. package/dist/ConnectedPresentation-SY42ADRU.cjs.map +0 -1
  141. package/dist/ConnectedSlidesTab-JATNBI22.cjs.map +0 -1
  142. package/dist/RechartsRenderer-NRLQZSSY.cjs.map +0 -1
  143. package/dist/SpotlightStrip-QQ2WUI32.cjs.map +0 -1
  144. package/dist/chunk-2SILSQNF.cjs.map +0 -1
  145. package/dist/chunk-3XCYPWC5.cjs.map +0 -1
  146. package/dist/chunk-7Q46YAX4.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkJMBAUHI7_cjs = require('../chunk-JMBAUHI7.cjs');
4
+ var chunkZCQXQIBA_cjs = require('../chunk-ZCQXQIBA.cjs');
5
5
  var chunkSMO4SPPB_cjs = require('../chunk-SMO4SPPB.cjs');
6
6
  var chunk6OK7ESTL_cjs = require('../chunk-6OK7ESTL.cjs');
7
7
  var chunkGAA222SK_cjs = require('../chunk-GAA222SK.cjs');
@@ -9,15 +9,15 @@ var chunk2XHJVYNY_cjs = require('../chunk-2XHJVYNY.cjs');
9
9
  var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
10
10
  var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
11
11
  var chunkOF7KMG6R_cjs = require('../chunk-OF7KMG6R.cjs');
12
+ var chunk4I2PCP7O_cjs = require('../chunk-4I2PCP7O.cjs');
12
13
  var chunkNUFZFWHZ_cjs = require('../chunk-NUFZFWHZ.cjs');
13
- var chunkPJTKXKDS_cjs = require('../chunk-PJTKXKDS.cjs');
14
14
  var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
15
15
  var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
16
- var chunk6WWYH66F_cjs = require('../chunk-6WWYH66F.cjs');
16
+ var chunkZ3N32LL4_cjs = require('../chunk-Z3N32LL4.cjs');
17
17
  var chunkQWOPEBH2_cjs = require('../chunk-QWOPEBH2.cjs');
18
18
  var chunkQKCFV36K_cjs = require('../chunk-QKCFV36K.cjs');
19
- var chunkILATBO5Z_cjs = require('../chunk-ILATBO5Z.cjs');
20
- var chunkMGGDT6JK_cjs = require('../chunk-MGGDT6JK.cjs');
19
+ var chunk6ZZWQ3OL_cjs = require('../chunk-6ZZWQ3OL.cjs');
20
+ var chunkMAKCWF45_cjs = require('../chunk-MAKCWF45.cjs');
21
21
  var chunkV27WLYTG_cjs = require('../chunk-V27WLYTG.cjs');
22
22
  var chunkTN3UP3CI_cjs = require('../chunk-TN3UP3CI.cjs');
23
23
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
@@ -27,24 +27,28 @@ require('../chunk-UMMZNZV3.cjs');
27
27
  require('../chunk-AEQT2QQX.cjs');
28
28
  var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
29
29
  require('../chunk-XNW62J54.cjs');
30
- var chunkKRQCUVH7_cjs = require('../chunk-KRQCUVH7.cjs');
31
- var chunk2SILSQNF_cjs = require('../chunk-2SILSQNF.cjs');
32
- require('../chunk-PBPO54KZ.cjs');
30
+ var chunkVG5XNE4H_cjs = require('../chunk-VG5XNE4H.cjs');
31
+ var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
33
32
  var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
34
33
  var chunkQWVUBTW3_cjs = require('../chunk-QWVUBTW3.cjs');
35
34
  var chunkJVEDKKNO_cjs = require('../chunk-JVEDKKNO.cjs');
36
- var chunkMFZW4FEW_cjs = require('../chunk-MFZW4FEW.cjs');
35
+ var chunkB5BGVPQ5_cjs = require('../chunk-B5BGVPQ5.cjs');
37
36
  var chunkCYWOL2LS_cjs = require('../chunk-CYWOL2LS.cjs');
38
- var chunkOGJCEWME_cjs = require('../chunk-OGJCEWME.cjs');
37
+ var chunk4XNP27N4_cjs = require('../chunk-4XNP27N4.cjs');
39
38
  var chunkDUNXLT63_cjs = require('../chunk-DUNXLT63.cjs');
40
39
  require('../chunk-HYUKPHCT.cjs');
41
- var chunkAKR4JN6I_cjs = require('../chunk-AKR4JN6I.cjs');
40
+ var chunkJCFXS336_cjs = require('../chunk-JCFXS336.cjs');
42
41
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
43
42
  var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
44
43
  var chunkDLGYR4JL_cjs = require('../chunk-DLGYR4JL.cjs');
45
- var chunkMH7P5FEK_cjs = require('../chunk-MH7P5FEK.cjs');
44
+ var chunkFCT62ZPE_cjs = require('../chunk-FCT62ZPE.cjs');
45
+ var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
46
+ require('../chunk-V3KLUWQQ.cjs');
46
47
  var chunk5GBM7BQB_cjs = require('../chunk-5GBM7BQB.cjs');
47
48
  var chunk5DGNJ6VJ_cjs = require('../chunk-5DGNJ6VJ.cjs');
49
+ var chunkKRQCUVH7_cjs = require('../chunk-KRQCUVH7.cjs');
50
+ var chunk4ZR4O5SP_cjs = require('../chunk-4ZR4O5SP.cjs');
51
+ require('../chunk-PBPO54KZ.cjs');
48
52
  var chunkLYYJDQW6_cjs = require('../chunk-LYYJDQW6.cjs');
49
53
  var chunkQ25CZLK6_cjs = require('../chunk-Q25CZLK6.cjs');
50
54
  require('../chunk-MWHVETKN.cjs');
@@ -52,26 +56,22 @@ var chunkD4SJT3NG_cjs = require('../chunk-D4SJT3NG.cjs');
52
56
  require('../chunk-OUYBYZ7Y.cjs');
53
57
  var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
54
58
  require('../chunk-DTMBAFIL.cjs');
55
- var chunkVG5XNE4H_cjs = require('../chunk-VG5XNE4H.cjs');
56
- var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
57
- var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
58
- require('../chunk-V3KLUWQQ.cjs');
59
59
  require('../chunk-7NJKDJVO.cjs');
60
- var chunkWPUEGDBE_cjs = require('../chunk-WPUEGDBE.cjs');
60
+ var chunkWUM76MJU_cjs = require('../chunk-WUM76MJU.cjs');
61
61
  var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
62
62
  var chunkU4YOVI5D_cjs = require('../chunk-U4YOVI5D.cjs');
63
63
  require('../chunk-NEGFHF3V.cjs');
64
- var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
65
64
  var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
65
+ var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
66
66
  var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
67
67
  var chunk6XKQAQWF_cjs = require('../chunk-6XKQAQWF.cjs');
68
68
  var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
69
69
  require('../chunk-PCB2BPN3.cjs');
70
70
  var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
71
- var chunk3XCYPWC5_cjs = require('../chunk-3XCYPWC5.cjs');
72
- var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
73
71
  var chunkP7VUIW24_cjs = require('../chunk-P7VUIW24.cjs');
74
72
  require('../chunk-7G2LJMUG.cjs');
73
+ var chunkUKOYN2WD_cjs = require('../chunk-UKOYN2WD.cjs');
74
+ var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
75
75
  var chunkPIWXX2M4_cjs = require('../chunk-PIWXX2M4.cjs');
76
76
  require('../chunk-K4763GD5.cjs');
77
77
  var chunk2RLA6QO2_cjs = require('../chunk-2RLA6QO2.cjs');
@@ -82,15 +82,15 @@ require('../chunk-WQMR3O2D.cjs');
82
82
  var chunkNZNBJF3M_cjs = require('../chunk-NZNBJF3M.cjs');
83
83
  require('../chunk-NWNVWO6L.cjs');
84
84
  require('../chunk-SK6HQ46Q.cjs');
85
- require('../chunk-OEJQFPWO.cjs');
86
85
  var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
87
86
  var chunkEKFA2OS3_cjs = require('../chunk-EKFA2OS3.cjs');
88
87
  require('../chunk-WCT6FT2K.cjs');
89
88
  var chunkLH3PDPJP_cjs = require('../chunk-LH3PDPJP.cjs');
89
+ var chunk2P7VH2SK_cjs = require('../chunk-2P7VH2SK.cjs');
90
+ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
91
+ require('../chunk-OEJQFPWO.cjs');
90
92
  require('../chunk-BQOL4XNZ.cjs');
91
- var chunkUKOYN2WD_cjs = require('../chunk-UKOYN2WD.cjs');
92
- var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
93
- var chunkH7AI54V2_cjs = require('../chunk-H7AI54V2.cjs');
93
+ var chunkCVVQHFLR_cjs = require('../chunk-CVVQHFLR.cjs');
94
94
  var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
95
95
  var chunkJARBYN6Z_cjs = require('../chunk-JARBYN6Z.cjs');
96
96
  require('../chunk-I4IS6ST6.cjs');
@@ -107,8 +107,8 @@ require('../chunk-AHDJXIUB.cjs');
107
107
  var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
108
108
  var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
109
109
  var chunkA5SKK3CU_cjs = require('../chunk-A5SKK3CU.cjs');
110
- var chunkYA6GXWC2_cjs = require('../chunk-YA6GXWC2.cjs');
111
110
  var chunkDKY67DA6_cjs = require('../chunk-DKY67DA6.cjs');
111
+ var chunkYA6GXWC2_cjs = require('../chunk-YA6GXWC2.cjs');
112
112
  var chunkZVEW3JBT_cjs = require('../chunk-ZVEW3JBT.cjs');
113
113
  var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
114
114
  var chunkLOSCXAAF_cjs = require('../chunk-LOSCXAAF.cjs');
@@ -268,7 +268,7 @@ function ConnectedWorkspaceActivity({
268
268
  [feed.data]
269
269
  );
270
270
  return /* @__PURE__ */ jsxRuntime.jsx(
271
- chunkWPUEGDBE_cjs.WorkspaceActivityList,
271
+ chunkWUM76MJU_cjs.WorkspaceActivityList,
272
272
  {
273
273
  ...listProps,
274
274
  items,
@@ -1466,14 +1466,14 @@ function ConnectedOfflineStatus({ compact = false }) {
1466
1466
  const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
1467
1467
  let tone;
1468
1468
  let label;
1469
- let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkOGJCEWME_cjs.openPendingSyncDialog;
1469
+ let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunk4XNP27N4_cjs.openPendingSyncDialog;
1470
1470
  if (!isOnline) {
1471
1471
  tone = "offline";
1472
1472
  label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
1473
1473
  } else if (failed > 0) {
1474
1474
  tone = "failed";
1475
1475
  label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
1476
- onOpen = chunkOGJCEWME_cjs.openPendingSyncDialog;
1476
+ onOpen = chunk4XNP27N4_cjs.openPendingSyncDialog;
1477
1477
  } else if (outboxFailed > 0) {
1478
1478
  tone = "failed";
1479
1479
  label = `${plural(outboxFailed, "email", "emails")} not sent`;
@@ -1605,7 +1605,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1605
1605
  onChange: (e) => {
1606
1606
  const file = e.target.files?.[0];
1607
1607
  e.target.value = "";
1608
- if (file) void add(() => chunkH7AI54V2_cjs.importSkillFile(file));
1608
+ if (file) void add(() => chunkCVVQHFLR_cjs.importSkillFile(file));
1609
1609
  }
1610
1610
  }
1611
1611
  ),
@@ -1630,7 +1630,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1630
1630
  className: "space-y-2",
1631
1631
  onSubmit: (e) => {
1632
1632
  e.preventDefault();
1633
- if (url.trim()) void add(() => chunkH7AI54V2_cjs.importSkillFromUrl(url));
1633
+ if (url.trim()) void add(() => chunkCVVQHFLR_cjs.importSkillFromUrl(url));
1634
1634
  },
1635
1635
  children: [
1636
1636
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1698,9 +1698,9 @@ function ConnectedSkillsLibrary({
1698
1698
  const [type, setType] = react.useState("all");
1699
1699
  const [view, setView] = react.useState("gallery");
1700
1700
  const [isBusy, setIsBusy] = react.useState(false);
1701
- const all = react.useMemo(() => chunkH7AI54V2_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1701
+ const all = react.useMemo(() => chunkCVVQHFLR_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1702
1702
  const shown = react.useMemo(
1703
- () => chunkH7AI54V2_cjs.filterLibrarySkills(all, { query, source, type }),
1703
+ () => chunkCVVQHFLR_cjs.filterLibrarySkills(all, { query, source, type }),
1704
1704
  [all, query, source, type]
1705
1705
  );
1706
1706
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1711,21 +1711,21 @@ function ConnectedSkillsLibrary({
1711
1711
  const count2 = (s) => all.filter((x) => x.source === s).length;
1712
1712
  const sourceOptions = [
1713
1713
  { id: "all", label: "All", count: all.length },
1714
- { id: "builtin", label: chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1715
- { id: "mine", label: chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1716
- { id: "shared", label: chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1714
+ { id: "builtin", label: chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1715
+ { id: "mine", label: chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1716
+ { id: "shared", label: chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1717
1717
  ];
1718
1718
  const types = [...new Set(all.map((s) => s.type))];
1719
1719
  const typeOptions = [
1720
1720
  { id: "all", label: "Any kind" },
1721
- ...types.map((t) => ({ id: t, label: chunkH7AI54V2_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1721
+ ...types.map((t) => ({ id: t, label: chunkCVVQHFLR_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1722
1722
  ];
1723
1723
  const pick = (slug) => {
1724
1724
  setSelected(slug);
1725
1725
  setMode("detail");
1726
1726
  };
1727
1727
  const markdownOf = async (skill) => {
1728
- if (!skill.docExtId) return chunkH7AI54V2_cjs.workflowToSkillMarkdown(skill.workflow);
1728
+ if (!skill.docExtId) return chunkCVVQHFLR_cjs.workflowToSkillMarkdown(skill.workflow);
1729
1729
  const response = await arbi.documents.download(skill.docExtId);
1730
1730
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1731
1731
  return response.text();
@@ -1789,7 +1789,7 @@ function ConnectedSkillsLibrary({
1789
1789
  try {
1790
1790
  documentTools.downloadBlob(
1791
1791
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1792
- chunkH7AI54V2_cjs.SKILL_MAIN_FILENAME
1792
+ chunkCVVQHFLR_cjs.SKILL_MAIN_FILENAME
1793
1793
  );
1794
1794
  } catch (error) {
1795
1795
  notify19(errorText(error, "Could not export the skill"), "error");
@@ -1830,10 +1830,10 @@ function ConnectedSkillsLibrary({
1830
1830
  }
1831
1831
  )
1832
1832
  ] }),
1833
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.SkillViewToggle, { value: view, onChange: setView })
1833
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.SkillViewToggle, { value: view, onChange: setView })
1834
1834
  ] }),
1835
1835
  /* @__PURE__ */ jsxRuntime.jsx(
1836
- chunkH7AI54V2_cjs.SkillFilterChips,
1836
+ chunkCVVQHFLR_cjs.SkillFilterChips,
1837
1837
  {
1838
1838
  label: "Show",
1839
1839
  value: source,
@@ -1842,7 +1842,7 @@ function ConnectedSkillsLibrary({
1842
1842
  }
1843
1843
  ),
1844
1844
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1845
- chunkH7AI54V2_cjs.SkillFilterChips,
1845
+ chunkCVVQHFLR_cjs.SkillFilterChips,
1846
1846
  {
1847
1847
  label: "Kind",
1848
1848
  value: type,
@@ -1889,12 +1889,12 @@ function ConnectedSkillsLibrary({
1889
1889
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1890
1890
  ),
1891
1891
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1892
- chunkH7AI54V2_cjs.SkillTile,
1892
+ chunkCVVQHFLR_cjs.SkillTile,
1893
1893
  {
1894
1894
  name: skill.title,
1895
1895
  testId: `skill-tile-${skill.slug}`,
1896
1896
  description: skill.description,
1897
- sourceLabel: skill.isShared ? `${chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS[skill.source],
1897
+ sourceLabel: skill.isShared ? `${chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS[skill.source],
1898
1898
  type: skill.type,
1899
1899
  icon,
1900
1900
  layout: view,
@@ -1929,7 +1929,7 @@ function ConnectedSkillsLibrary({
1929
1929
  }
1930
1930
  ),
1931
1931
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1932
- chunkH7AI54V2_cjs.SkillGenerateForm,
1932
+ chunkCVVQHFLR_cjs.SkillGenerateForm,
1933
1933
  {
1934
1934
  icon,
1935
1935
  onGenerate: (desc) => {
@@ -1956,11 +1956,11 @@ function ConnectedSkillsLibrary({
1956
1956
  ),
1957
1957
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1958
1958
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1959
- chunkH7AI54V2_cjs.SkillLibraryDetail,
1959
+ chunkCVVQHFLR_cjs.SkillLibraryDetail,
1960
1960
  {
1961
1961
  skill: current,
1962
1962
  icon,
1963
- instructions: current.docExtId ? currentText ? chunkH7AI54V2_cjs.parseSkillFrontmatter(currentText, chunkH7AI54V2_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1963
+ instructions: current.docExtId ? currentText ? chunkCVVQHFLR_cjs.parseSkillFrontmatter(currentText, chunkCVVQHFLR_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1964
1964
  isLoading: !!current.docExtId && textLoading,
1965
1965
  actions: {
1966
1966
  onRun: () => onRun(current.slug),
@@ -1995,7 +1995,7 @@ function SkillEditor({
1995
1995
  const [seeded, setSeeded] = react.useState(!isEditing);
1996
1996
  const [nameError, setNameError] = react.useState(null);
1997
1997
  if (isEditing && !seeded && text !== void 0) {
1998
- const parsed = chunkH7AI54V2_cjs.parseSkillFrontmatter(text, chunkH7AI54V2_cjs.SKILL_MAIN_FILENAME);
1998
+ const parsed = chunkCVVQHFLR_cjs.parseSkillFrontmatter(text, chunkCVVQHFLR_cjs.SKILL_MAIN_FILENAME);
1999
1999
  setDescription(parsed.description ?? "");
2000
2000
  setBody(parsed.content ?? "");
2001
2001
  setSeeded(true);
@@ -2009,15 +2009,15 @@ function SkillEditor({
2009
2009
  notify19("Add a short description.", "error");
2010
2010
  return;
2011
2011
  }
2012
- const slug = chunkH7AI54V2_cjs.skillSlug(name);
2012
+ const slug = chunkCVVQHFLR_cjs.skillSlug(name);
2013
2013
  try {
2014
- await onSave(slug, chunkH7AI54V2_cjs.serializeSkill({ name: slug, description, body }), isEditing);
2014
+ await onSave(slug, chunkCVVQHFLR_cjs.serializeSkill({ name: slug, description, body }), isEditing);
2015
2015
  } catch (err) {
2016
2016
  notify19(errorText(err, "Could not save the skill"), "error");
2017
2017
  }
2018
2018
  };
2019
2019
  return /* @__PURE__ */ jsxRuntime.jsx(
2020
- chunkH7AI54V2_cjs.SkillEditForm,
2020
+ chunkCVVQHFLR_cjs.SkillEditForm,
2021
2021
  {
2022
2022
  name,
2023
2023
  onNameChange: setName,
@@ -2110,7 +2110,7 @@ function ConnectedSkillsBrowser({
2110
2110
  }
2111
2111
  ) }),
2112
2112
  runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
2113
- chunkPJTKXKDS_cjs.ConnectedTaskComposer,
2113
+ chunk4I2PCP7O_cjs.ConnectedTaskComposer,
2114
2114
  {
2115
2115
  kind: "workflow",
2116
2116
  open: true,
@@ -2134,9 +2134,9 @@ function ConnectedAgentCreator({
2134
2134
  agent,
2135
2135
  initialName,
2136
2136
  onSaved,
2137
- capabilities = chunkH7AI54V2_cjs.DEFAULT_AGENT_CAPABILITIES,
2138
- templates = chunkH7AI54V2_cjs.DEFAULT_AGENT_TEMPLATES,
2139
- types = chunkH7AI54V2_cjs.DEFAULT_AGENT_TYPES,
2137
+ capabilities = chunkCVVQHFLR_cjs.DEFAULT_AGENT_CAPABILITIES,
2138
+ templates = chunkCVVQHFLR_cjs.DEFAULT_AGENT_TEMPLATES,
2139
+ types = chunkCVVQHFLR_cjs.DEFAULT_AGENT_TYPES,
2140
2140
  canRevokeWorkspaces = false,
2141
2141
  labels
2142
2142
  }) {
@@ -2178,7 +2178,7 @@ function ConnectedAgentCreator({
2178
2178
  const initialValues = react.useMemo(
2179
2179
  () => ({
2180
2180
  name: agent?.given_name ?? initialName ?? "",
2181
- persona: isEdit ? chunkH7AI54V2_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2181
+ persona: isEdit ? chunkCVVQHFLR_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2182
2182
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
2183
2183
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
2184
2184
  type: "builtin",
@@ -2197,7 +2197,7 @@ function ConnectedAgentCreator({
2197
2197
  try {
2198
2198
  let agentExtId = agent?.external_id ?? early?.id ?? "";
2199
2199
  if (!agentExtId) {
2200
- if (!chunkH7AI54V2_cjs.isValidAgentName(values.name)) {
2200
+ if (!chunkCVVQHFLR_cjs.isValidAgentName(values.name)) {
2201
2201
  notify19("Give the agent a name first.", "error");
2202
2202
  return;
2203
2203
  }
@@ -2233,7 +2233,7 @@ function ConnectedAgentCreator({
2233
2233
  title: `agent-${name}`,
2234
2234
  sections: {
2235
2235
  Agents: {
2236
- PERSONA: chunkH7AI54V2_cjs.composePersona(name, values.persona),
2236
+ PERSONA: chunkCVVQHFLR_cjs.composePersona(name, values.persona),
2237
2237
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
2238
2238
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
2239
2239
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2256,7 +2256,7 @@ function ConnectedAgentCreator({
2256
2256
  };
2257
2257
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2258
2258
  /* @__PURE__ */ jsxRuntime.jsx(
2259
- chunkH7AI54V2_cjs.AgentCreator,
2259
+ chunkCVVQHFLR_cjs.AgentCreator,
2260
2260
  {
2261
2261
  open: ready,
2262
2262
  onOpenChange,
@@ -2272,11 +2272,11 @@ function ConnectedAgentCreator({
2272
2272
  ) : void 0,
2273
2273
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2274
2274
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2275
- chunkH7AI54V2_cjs.AgentAvatarField,
2275
+ chunkCVVQHFLR_cjs.AgentAvatarField,
2276
2276
  {
2277
2277
  picture,
2278
2278
  isBusy: avatarBusy,
2279
- canGenerate: isEdit || chunkH7AI54V2_cjs.isValidAgentName(values.name),
2279
+ canGenerate: isEdit || chunkCVVQHFLR_cjs.isValidAgentName(values.name),
2280
2280
  onGenerate: () => handleGenerateAvatar(values)
2281
2281
  }
2282
2282
  ),
@@ -2328,7 +2328,7 @@ function ConnectedAgentCreator({
2328
2328
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2329
2329
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2330
2330
  ] }),
2331
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2331
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2332
2332
  ]
2333
2333
  }
2334
2334
  ) })
@@ -2720,7 +2720,7 @@ function useMemoryCount(enabled) {
2720
2720
  }
2721
2721
  function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2722
2722
  const { notify: notify19, confirm, openConversation, openDocument } = chunk46LX6EQT_cjs.useBlocksEnvironment();
2723
- const people = chunkPJTKXKDS_cjs.useTaskPeople();
2723
+ const people = chunk4I2PCP7O_cjs.useTaskPeople();
2724
2724
  const canEditShared = react$1.useCanEditShared();
2725
2725
  const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
2726
2726
  const { data: workflows = [] } = react$1.useWorkflows({ live: true });
@@ -2746,7 +2746,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2746
2746
  }, [documents]);
2747
2747
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2748
2748
  /* @__PURE__ */ jsxRuntime.jsx(
2749
- chunkH7AI54V2_cjs.TaskTable,
2749
+ chunkCVVQHFLR_cjs.TaskTable,
2750
2750
  {
2751
2751
  tasks,
2752
2752
  isLoading,
@@ -2776,7 +2776,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2776
2776
  }
2777
2777
  ),
2778
2778
  activityFor && /* @__PURE__ */ jsxRuntime.jsx(
2779
- chunkPJTKXKDS_cjs.ConnectedTaskActivityDialog,
2779
+ chunk4I2PCP7O_cjs.ConnectedTaskActivityDialog,
2780
2780
  {
2781
2781
  conversationId: activityFor.external_id,
2782
2782
  taskName: activityFor.title || l.untitledTask,
@@ -2815,7 +2815,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2815
2815
  [workflows, skills, l.skillFiles]
2816
2816
  );
2817
2817
  const launch = async ({ workflow, inputs, agentId }) => {
2818
- const values = chunkH7AI54V2_cjs.defaultTaskComposerValues(launchable, {
2818
+ const values = chunkCVVQHFLR_cjs.defaultTaskComposerValues(launchable, {
2819
2819
  workflowId: workflow.id,
2820
2820
  assignee: "agent",
2821
2821
  inputs,
@@ -2935,7 +2935,7 @@ function ConnectedAgentsPageScope(props) {
2935
2935
  children,
2936
2936
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
2937
2937
  taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
2938
- chunkPJTKXKDS_cjs.ConnectedTaskComposer,
2938
+ chunk4I2PCP7O_cjs.ConnectedTaskComposer,
2939
2939
  {
2940
2940
  open: true,
2941
2941
  onOpenChange: (open) => !open && setTaskDialog(null),
@@ -2957,7 +2957,7 @@ function AgentsGallery() {
2957
2957
  cardTestIds
2958
2958
  } = agentOptions;
2959
2959
  const { openConversation } = chunk46LX6EQT_cjs.useBlocksEnvironment();
2960
- const tasksByAgent = react.useMemo(() => chunkH7AI54V2_cjs.groupAgentTasks(tasks), [tasks]);
2960
+ const tasksByAgent = react.useMemo(() => chunkCVVQHFLR_cjs.groupAgentTasks(tasks), [tasks]);
2961
2961
  const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
2962
2962
  const { agents } = management;
2963
2963
  const cardDetails = (agent) => details.map(
@@ -2972,7 +2972,7 @@ function AgentsGallery() {
2972
2972
  ) : 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)
2973
2973
  );
2974
2974
  return /* @__PURE__ */ jsxRuntime.jsx(
2975
- chunkH7AI54V2_cjs.AgentGallery,
2975
+ chunkCVVQHFLR_cjs.AgentGallery,
2976
2976
  {
2977
2977
  count: agents.length,
2978
2978
  onCreate: management.create,
@@ -2982,9 +2982,9 @@ function AgentsGallery() {
2982
2982
  const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
2983
2983
  const running = agentTasks.filter((t) => t.in_progress);
2984
2984
  const watchConversationId = running[0]?.external_id ?? null;
2985
- const progress = agentTasks[0] ? chunkH7AI54V2_cjs.goalProgress(agentTasks[0]) : null;
2985
+ const progress = agentTasks[0] ? chunkCVVQHFLR_cjs.goalProgress(agentTasks[0]) : null;
2986
2986
  return /* @__PURE__ */ jsxRuntime.jsx(
2987
- chunkH7AI54V2_cjs.AgentCard,
2987
+ chunkCVVQHFLR_cjs.AgentCard,
2988
2988
  {
2989
2989
  name: displayName(agent),
2990
2990
  avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
@@ -3013,7 +3013,7 @@ function AgentsStats() {
3013
3013
  const memoryCount = useMemoryCount(true);
3014
3014
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4", children: [
3015
3015
  /* @__PURE__ */ jsxRuntime.jsx(
3016
- chunk3XCYPWC5_cjs.MetricCard,
3016
+ chunk2P7VH2SK_cjs.MetricCard,
3017
3017
  {
3018
3018
  label: l.statAgents,
3019
3019
  value: management.agents.length,
@@ -3024,7 +3024,7 @@ function AgentsStats() {
3024
3024
  }
3025
3025
  ),
3026
3026
  /* @__PURE__ */ jsxRuntime.jsx(
3027
- chunk3XCYPWC5_cjs.MetricCard,
3027
+ chunk2P7VH2SK_cjs.MetricCard,
3028
3028
  {
3029
3029
  label: l.statTasks,
3030
3030
  value: tasks.length,
@@ -3035,7 +3035,7 @@ function AgentsStats() {
3035
3035
  }
3036
3036
  ),
3037
3037
  /* @__PURE__ */ jsxRuntime.jsx(
3038
- chunk3XCYPWC5_cjs.MetricCard,
3038
+ chunk2P7VH2SK_cjs.MetricCard,
3039
3039
  {
3040
3040
  label: l.statConfigs,
3041
3041
  value: behaviour.count,
@@ -3045,7 +3045,7 @@ function AgentsStats() {
3045
3045
  }
3046
3046
  ),
3047
3047
  /* @__PURE__ */ jsxRuntime.jsx(
3048
- chunk3XCYPWC5_cjs.MetricCard,
3048
+ chunk2P7VH2SK_cjs.MetricCard,
3049
3049
  {
3050
3050
  label: l.statMemory,
3051
3051
  value: memoryCount.count,
@@ -3092,7 +3092,7 @@ function AgentsSectionBody({ id }) {
3092
3092
  ) });
3093
3093
  case "scheduled":
3094
3094
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
3095
- chunkMH7P5FEK_cjs.ConnectedWorkflowsTable,
3095
+ chunkFCT62ZPE_cjs.ConnectedWorkflowsTable,
3096
3096
  {
3097
3097
  filter: "scheduled",
3098
3098
  onEdit: (w) => openWorkflow?.(w.external_id),
@@ -3396,7 +3396,7 @@ function ConnectedTagTable({
3396
3396
  const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
3397
3397
  const snapshot2 = (data) => {
3398
3398
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3399
- const bytes = chunkWPUEGDBE_cjs.tagTableDocx(data, {
3399
+ const bytes = chunkWUM76MJU_cjs.tagTableDocx(data, {
3400
3400
  title,
3401
3401
  nameOf: (id) => people.find((p) => p.value === id)?.label
3402
3402
  });
@@ -3405,7 +3405,7 @@ function ConnectedTagTable({
3405
3405
  return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
3406
3406
  };
3407
3407
  return /* @__PURE__ */ jsxRuntime.jsx(
3408
- chunkWPUEGDBE_cjs.TagTable,
3408
+ chunkWUM76MJU_cjs.TagTable,
3409
3409
  {
3410
3410
  ...props,
3411
3411
  table,
@@ -4243,8 +4243,8 @@ function ConnectedAiReview({
4243
4243
  const generate = react$1.useGenerateDocTags();
4244
4244
  const { data: liveDocs = [] } = react$1.useDocuments();
4245
4245
  const { data: tags = [] } = react$1.useTags();
4246
- const result = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.run);
4247
- const setResult = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.setRun);
4246
+ const result = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.run);
4247
+ const setResult = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.setRun);
4248
4248
  const phase = result ? "review" : "ask";
4249
4249
  const docCount = documents.length;
4250
4250
  const scope = allDocuments ? "processed" : "selected";
@@ -4479,7 +4479,7 @@ function ConnectedAiReview({
4479
4479
  }, [kind]);
4480
4480
  const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
4481
4481
  return /* @__PURE__ */ jsxRuntime.jsx(
4482
- chunkAKR4JN6I_cjs.AiReviewDialogView,
4482
+ chunkJCFXS336_cjs.AiReviewDialogView,
4483
4483
  {
4484
4484
  open,
4485
4485
  onOpenChange: handleOpenChange,
@@ -4530,9 +4530,9 @@ function GlossaryExport({ labelId, nameOf }) {
4530
4530
  const narrowed = agreements.find((a) => a.id === narrowTo);
4531
4531
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
4532
4532
  const download = (format) => {
4533
- const entries = chunkWPUEGDBE_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
4534
- const blob = format === "docx" ? new Blob([chunkWPUEGDBE_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkWPUEGDBE_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
4535
- documentTools.downloadBlob(blob, chunkWPUEGDBE_cjs.glossaryFileName(title, format));
4533
+ const entries = chunkWUM76MJU_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
4534
+ const blob = format === "docx" ? new Blob([chunkWUM76MJU_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkWUM76MJU_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
4535
+ documentTools.downloadBlob(blob, chunkWUM76MJU_cjs.glossaryFileName(title, format));
4536
4536
  };
4537
4537
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
4538
4538
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -4596,8 +4596,8 @@ function useOpenTaggedContent() {
4596
4596
  if (!workspaceId) return;
4597
4597
  session.setTransientView("topbar.filter", "");
4598
4598
  if (kind === "documents") {
4599
- chunkMFZW4FEW_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
4600
- chunkMFZW4FEW_cjs.useFilesPrefs.getState().setViewMode("grid");
4599
+ chunkB5BGVPQ5_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
4600
+ chunkB5BGVPQ5_cjs.useFilesPrefs.getState().setViewMode("grid");
4601
4601
  session.setPage("documents");
4602
4602
  } else if (kind === "facts") {
4603
4603
  session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
@@ -4636,7 +4636,7 @@ function ConnectedTagForm({
4636
4636
  nameByKind = false
4637
4637
  }) {
4638
4638
  const isCreate = !tag;
4639
- const memberById = chunkJMBAUHI7_cjs.useMemberLookup();
4639
+ const memberById = chunkZCQXQIBA_cjs.useMemberLookup();
4640
4640
  const creator = memberById(tag?.created_by_ext_id);
4641
4641
  const updater = memberById(tag?.updated_by_ext_id);
4642
4642
  const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
@@ -4715,19 +4715,19 @@ function ConnectedTagForm({
4715
4715
  metaLines.push({
4716
4716
  text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
4717
4717
  byLabel: "by",
4718
- by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkMGGDT6JK_cjs.DocumentUser, { user: creator }) : void 0
4718
+ by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkMAKCWF45_cjs.DocumentUser, { user: creator }) : void 0
4719
4719
  });
4720
4720
  if (tag.updated_at && tag.updated_at !== tag.created_at) {
4721
4721
  metaLines.push({
4722
4722
  text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
4723
4723
  byLabel: "by",
4724
- by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkMGGDT6JK_cjs.DocumentUser, { user: updater }) : void 0
4724
+ by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkMAKCWF45_cjs.DocumentUser, { user: updater }) : void 0
4725
4725
  });
4726
4726
  }
4727
4727
  }
4728
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.TagFormRoot, { children: [
4728
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.TagFormRoot, { children: [
4729
4729
  !nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
4730
- chunkAKR4JN6I_cjs.TagFormNameField,
4730
+ chunkJCFXS336_cjs.TagFormNameField,
4731
4731
  {
4732
4732
  label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
4733
4733
  placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
@@ -4737,7 +4737,7 @@ function ConnectedTagForm({
4737
4737
  }
4738
4738
  ),
4739
4739
  kinds2.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
4740
- chunkAKR4JN6I_cjs.TagFormSelectField,
4740
+ chunkJCFXS336_cjs.TagFormSelectField,
4741
4741
  {
4742
4742
  label: "Kind",
4743
4743
  testId: "inline-tag-form-kind-field",
@@ -4752,7 +4752,7 @@ function ConnectedTagForm({
4752
4752
  }
4753
4753
  ),
4754
4754
  kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
4755
- chunkAKR4JN6I_cjs.TagFormSelectField,
4755
+ chunkJCFXS336_cjs.TagFormSelectField,
4756
4756
  {
4757
4757
  label: group === "annotation" ? "Value type" : "Field Type",
4758
4758
  testId: "inline-tag-form-type-field",
@@ -4764,7 +4764,7 @@ function ConnectedTagForm({
4764
4764
  }
4765
4765
  ),
4766
4766
  showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
4767
- chunkAKR4JN6I_cjs.TagFormSelectField,
4767
+ chunkJCFXS336_cjs.TagFormSelectField,
4768
4768
  {
4769
4769
  label: "Nested Under",
4770
4770
  value: parentId,
@@ -4786,14 +4786,14 @@ function ConnectedTagForm({
4786
4786
  ]
4787
4787
  }
4788
4788
  ),
4789
- nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4789
+ nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4790
4790
  "Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
4791
4791
  " ",
4792
4792
  browser.TAG_NESTING_MAX_DEPTH,
4793
4793
  " levels deep."
4794
4794
  ] }),
4795
4795
  tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
4796
- chunkAKR4JN6I_cjs.TagFormOptionsEditor,
4796
+ chunkJCFXS336_cjs.TagFormOptionsEditor,
4797
4797
  {
4798
4798
  label: "Options",
4799
4799
  options,
@@ -4806,7 +4806,7 @@ function ConnectedTagForm({
4806
4806
  }
4807
4807
  ),
4808
4808
  tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
4809
- chunkAKR4JN6I_cjs.TagFormInstructionField,
4809
+ chunkJCFXS336_cjs.TagFormInstructionField,
4810
4810
  {
4811
4811
  label: "AI Instruction",
4812
4812
  optionalLabel: "(optional)",
@@ -4816,12 +4816,12 @@ function ConnectedTagForm({
4816
4816
  onChange: setInstruction
4817
4817
  }
4818
4818
  ),
4819
- metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TagFormMeta, { lines: metaLines }),
4819
+ metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TagFormMeta, { lines: metaLines }),
4820
4820
  /* @__PURE__ */ jsxRuntime.jsx(
4821
- chunkAKR4JN6I_cjs.TagFormFooter,
4821
+ chunkJCFXS336_cjs.TagFormFooter,
4822
4822
  {
4823
4823
  sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
4824
- chunkAKR4JN6I_cjs.TagFormSharedToggle,
4824
+ chunkJCFXS336_cjs.TagFormSharedToggle,
4825
4825
  {
4826
4826
  label: "Shared with workspace",
4827
4827
  toggle: /* @__PURE__ */ jsxRuntime.jsx(
@@ -5061,7 +5061,7 @@ function KindSection({
5061
5061
  {
5062
5062
  testId: `tags-kind-${kind}`,
5063
5063
  title: ui.tagKindTitle(kind, { plural: true }),
5064
- description: chunkWPUEGDBE_cjs.tagKindDescription(kind),
5064
+ description: chunkWUM76MJU_cjs.tagKindDescription(kind),
5065
5065
  children: [
5066
5066
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
5067
5067
  "p",
@@ -5071,9 +5071,9 @@ function KindSection({
5071
5071
  children: [
5072
5072
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
5073
5073
  "Extracting ",
5074
- chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase(),
5074
+ chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase(),
5075
5075
  " from ",
5076
- chunkWPUEGDBE_cjs.documentCount(extractingCount),
5076
+ chunkWUM76MJU_cjs.documentCount(extractingCount),
5077
5077
  "\u2026"
5078
5078
  ]
5079
5079
  }
@@ -5091,7 +5091,7 @@ function KindSection({
5091
5091
  onOpenTag: ctx.onOpenTag,
5092
5092
  onOpenRow: ctx.onOpenTag,
5093
5093
  onOpenTaggedItems: ctx.onOpenTaggedItems,
5094
- labels: chunkWPUEGDBE_cjs.tagTableLabels(kind),
5094
+ labels: chunkWUM76MJU_cjs.tagTableLabels(kind),
5095
5095
  testId: `tags-table-${kind}`
5096
5096
  }
5097
5097
  )
@@ -5199,15 +5199,15 @@ function TagSection({
5199
5199
  onOpenTag: ctx.onOpenTag,
5200
5200
  onOpenRow: ctx.onOpenTag,
5201
5201
  onOpenTaggedItems: ctx.onOpenTaggedItems,
5202
- labels: chunkWPUEGDBE_cjs.tagTableLabels(tag.kind),
5202
+ labels: chunkWUM76MJU_cjs.tagTableLabels(tag.kind),
5203
5203
  testId: "tags-rows"
5204
5204
  }
5205
5205
  ),
5206
5206
  /* @__PURE__ */ jsxRuntime.jsx(
5207
- chunkWPUEGDBE_cjs.TagDetail,
5207
+ chunkWUM76MJU_cjs.TagDetail,
5208
5208
  {
5209
5209
  onOpenTaggedItems: ctx.onOpenTaggedItems,
5210
- fieldLabels: chunkWPUEGDBE_cjs.tagTableLabels(tag.kind),
5210
+ fieldLabels: chunkWUM76MJU_cjs.tagTableLabels(tag.kind),
5211
5211
  row: detailRow,
5212
5212
  fields: schema.data?.fields ?? [],
5213
5213
  isLoading: detail.isLoading,
@@ -5221,7 +5221,7 @@ function TagSection({
5221
5221
  throw e;
5222
5222
  })
5223
5223
  ),
5224
- labels: chunkWPUEGDBE_cjs.tagDetailLabels(),
5224
+ labels: chunkWUM76MJU_cjs.tagDetailLabels(),
5225
5225
  testId: "tags-detail"
5226
5226
  }
5227
5227
  )
@@ -5244,9 +5244,9 @@ var TAG_FILTER_FIELDS = [
5244
5244
  function ConnectedTagsPage() {
5245
5245
  const { confirm, notify: notify19, openSmartSearch } = chunk46LX6EQT_cjs.useBlocksEnvironment();
5246
5246
  const onOpenTaggedItems = useOpenTaggedContent();
5247
- const setReviewOpen = chunkMFZW4FEW_cjs.useAiReviewStore((state) => state.setOpen);
5248
- const setReviewRun = chunkMFZW4FEW_cjs.useAiReviewStore((state) => state.setRun);
5249
- const reviewOpen = chunkMFZW4FEW_cjs.useAiReviewStore((state) => state.open);
5247
+ const setReviewOpen = chunkB5BGVPQ5_cjs.useAiReviewStore((state) => state.setOpen);
5248
+ const setReviewRun = chunkB5BGVPQ5_cjs.useAiReviewStore((state) => state.setRun);
5249
+ const reviewOpen = chunkB5BGVPQ5_cjs.useAiReviewStore((state) => state.open);
5250
5250
  const [review, setReview] = react.useState(null);
5251
5251
  const { data: tags } = chunkDWN5AUMH_cjs.useConnectedTags();
5252
5252
  const { data: documents } = chunkDWN5AUMH_cjs.useConnectedDocuments();
@@ -5296,7 +5296,7 @@ function ConnectedTagsPage() {
5296
5296
  const onDelete = async (t) => {
5297
5297
  const nested = browser.getChildTags([...tags], t.external_id);
5298
5298
  const uses = browser.tagUseCount(t);
5299
- const n2 = chunkWPUEGDBE_cjs.tagsPageNouns();
5299
+ const n2 = chunkWUM76MJU_cjs.tagsPageNouns();
5300
5300
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
5301
5301
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
5302
5302
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -5317,11 +5317,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5317
5317
  try {
5318
5318
  await extract.mutateAsync(docIds);
5319
5319
  notify19(
5320
- `Extracting ${chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase()} from ${chunkWPUEGDBE_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
5320
+ `Extracting ${chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase()} from ${chunkWUM76MJU_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
5321
5321
  "info"
5322
5322
  );
5323
5323
  } catch (error) {
5324
- notify19(browser.refusalReason(error, `Could not extract ${chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase()}`), "error");
5324
+ notify19(browser.refusalReason(error, `Could not extract ${chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase()}`), "error");
5325
5325
  throw error;
5326
5326
  }
5327
5327
  };
@@ -5335,10 +5335,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5335
5335
  onOpenTag: openTag,
5336
5336
  onOpenTaggedItems
5337
5337
  };
5338
- const n = chunkWPUEGDBE_cjs.tagsPageNouns();
5338
+ const n = chunkWUM76MJU_cjs.tagsPageNouns();
5339
5339
  const action = view === "person" || view === "organisation" ? {
5340
5340
  label: "Extract",
5341
- title: `Extract ${chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
5341
+ title: `Extract ${chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
5342
5342
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
5343
5343
  run: () => setExtracting(true),
5344
5344
  testId: "tags-extract-entities"
@@ -5392,7 +5392,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5392
5392
  onTabChange: () => {
5393
5393
  },
5394
5394
  variant: "underline",
5395
- firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
5395
+ firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
5396
5396
  chunk6UZC4XVV_cjs.FilterInput,
5397
5397
  {
5398
5398
  value: filterText,
@@ -5414,7 +5414,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5414
5414
  filter: tagFilter
5415
5415
  }
5416
5416
  ) }),
5417
- centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
5417
+ centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
5418
5418
  chunkSNUBQMIS_cjs.ViewToggle,
5419
5419
  {
5420
5420
  options: browser.TAG_KINDS.map((k) => ({
@@ -5507,7 +5507,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5507
5507
  }
5508
5508
  ),
5509
5509
  /* @__PURE__ */ jsxRuntime.jsx(
5510
- chunkWPUEGDBE_cjs.ExtractEntitiesDialog,
5510
+ chunkWUM76MJU_cjs.ExtractEntitiesDialog,
5511
5511
  {
5512
5512
  open: extracting,
5513
5513
  onOpenChange: setExtracting,
@@ -5978,7 +5978,7 @@ function ConnectedExportPanel({
5978
5978
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
5979
5979
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
5980
5980
  jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
5981
- chunkAKR4JN6I_cjs.TransferProgressView,
5981
+ chunkJCFXS336_cjs.TransferProgressView,
5982
5982
  {
5983
5983
  title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
5984
5984
  processed: job.processed ?? 0,
@@ -5991,7 +5991,7 @@ function ConnectedExportPanel({
5991
5991
  ),
5992
5992
  jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5993
5993
  react$1.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
5994
- chunkAKR4JN6I_cjs.TransferResumeBanner,
5994
+ chunkJCFXS336_cjs.TransferResumeBanner,
5995
5995
  {
5996
5996
  message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
5997
5997
  onResume: () => handleResume(job),
@@ -5999,7 +5999,7 @@ function ConnectedExportPanel({
5999
5999
  }
6000
6000
  ),
6001
6001
  /* @__PURE__ */ jsxRuntime.jsx(
6002
- chunkAKR4JN6I_cjs.ExportResultsReport,
6002
+ chunkJCFXS336_cjs.ExportResultsReport,
6003
6003
  {
6004
6004
  summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
6005
6005
  Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
@@ -6012,7 +6012,7 @@ function ConnectedExportPanel({
6012
6012
  ] }),
6013
6013
  !jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6014
6014
  resumable && /* @__PURE__ */ jsxRuntime.jsx(
6015
- chunkAKR4JN6I_cjs.TransferResumeBanner,
6015
+ chunkJCFXS336_cjs.TransferResumeBanner,
6016
6016
  {
6017
6017
  message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
6018
6018
  onResume: () => handleResume(resumable),
@@ -6020,7 +6020,7 @@ function ConnectedExportPanel({
6020
6020
  }
6021
6021
  ),
6022
6022
  /* @__PURE__ */ jsxRuntime.jsx(
6023
- chunkAKR4JN6I_cjs.TransferScopeChooser,
6023
+ chunkJCFXS336_cjs.TransferScopeChooser,
6024
6024
  {
6025
6025
  scope: scopeChoice,
6026
6026
  onScopeChange: setScopeChoice,
@@ -6031,7 +6031,7 @@ function ConnectedExportPanel({
6031
6031
  }
6032
6032
  ),
6033
6033
  /* @__PURE__ */ jsxRuntime.jsx(
6034
- chunkAKR4JN6I_cjs.TransferKindsPicker,
6034
+ chunkJCFXS336_cjs.TransferKindsPicker,
6035
6035
  {
6036
6036
  options: ALL_KINDS.map((kind) => ({
6037
6037
  kind,
@@ -6044,9 +6044,9 @@ function ConnectedExportPanel({
6044
6044
  )
6045
6045
  }
6046
6046
  ),
6047
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
6047
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
6048
6048
  /* @__PURE__ */ jsxRuntime.jsx(
6049
- chunkAKR4JN6I_cjs.ExportMethodChooser,
6049
+ chunkJCFXS336_cjs.ExportMethodChooser,
6050
6050
  {
6051
6051
  mode,
6052
6052
  onModeChange: setMode,
@@ -6058,17 +6058,17 @@ function ConnectedExportPanel({
6058
6058
  ),
6059
6059
  mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6060
6060
  /* @__PURE__ */ jsxRuntime.jsx(
6061
- chunkAKR4JN6I_cjs.ExportWorkspacePicker,
6061
+ chunkJCFXS336_cjs.ExportWorkspacePicker,
6062
6062
  {
6063
6063
  workspaces: workspaceOptions,
6064
6064
  selectedId: targetId,
6065
6065
  onSelect: setTargetId
6066
6066
  }
6067
6067
  ),
6068
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
6068
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
6069
6069
  ] }),
6070
6070
  /* @__PURE__ */ jsxRuntime.jsx(
6071
- chunkAKR4JN6I_cjs.TransferPlanSummary,
6071
+ chunkJCFXS336_cjs.TransferPlanSummary,
6072
6072
  {
6073
6073
  lines: summary.lines,
6074
6074
  warnings: summary.warnings,
@@ -6085,7 +6085,7 @@ function ConnectedExportPanel({
6085
6085
  ] })
6086
6086
  ] }),
6087
6087
  !jobId && /* @__PURE__ */ jsxRuntime.jsx(
6088
- chunkAKR4JN6I_cjs.ExportFooter,
6088
+ chunkJCFXS336_cjs.ExportFooter,
6089
6089
  {
6090
6090
  onCancel: onClose,
6091
6091
  onSubmit: handleSubmit,
@@ -6126,7 +6126,7 @@ function OpenExportDialog({
6126
6126
  children: [
6127
6127
  /* @__PURE__ */ jsxRuntime.jsxs(chunkCVPV4I7Z_cjs.ModalHeader, { children: [
6128
6128
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
6129
- chunkAKR4JN6I_cjs.ExportModalTitle,
6129
+ chunkJCFXS336_cjs.ExportModalTitle,
6130
6130
  {
6131
6131
  workspace: workspace ? {
6132
6132
  icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6543,7 +6543,7 @@ function ConnectedFieldsEditor({
6543
6543
  const [sortBy, setSortBy] = react.useState("name-asc");
6544
6544
  const [filterText, setFilterText] = react.useState("");
6545
6545
  const fieldRows = react.useMemo(
6546
- () => browser.flattenTagTree(chunkAKR4JN6I_cjs.sortFields(chunkAKR4JN6I_cjs.filterFieldsByName(tags, filterText), sortBy)),
6546
+ () => browser.flattenTagTree(chunkJCFXS336_cjs.sortFields(chunkJCFXS336_cjs.filterFieldsByName(tags, filterText), sortBy)),
6547
6547
  [tags, filterText, sortBy]
6548
6548
  );
6549
6549
  const exportItems = react.useMemo(
@@ -6563,7 +6563,7 @@ function ConnectedFieldsEditor({
6563
6563
  setIsDeleting(false);
6564
6564
  }
6565
6565
  };
6566
- const copy = chunkAKR4JN6I_cjs.fieldsApplyBarCopy({
6566
+ const copy = chunkJCFXS336_cjs.fieldsApplyBarCopy({
6567
6567
  nouns,
6568
6568
  targetNoun,
6569
6569
  fieldCount,
@@ -6572,9 +6572,9 @@ function ConnectedFieldsEditor({
6572
6572
  isApplying,
6573
6573
  isClearing
6574
6574
  });
6575
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FieldsEditorRoot, { children: [
6575
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FieldsEditorRoot, { children: [
6576
6576
  /* @__PURE__ */ jsxRuntime.jsx(
6577
- chunkAKR4JN6I_cjs.FieldsEditorToolbar,
6577
+ chunkJCFXS336_cjs.FieldsEditorToolbar,
6578
6578
  {
6579
6579
  nouns,
6580
6580
  onNew: () => {
@@ -6602,11 +6602,11 @@ function ConnectedFieldsEditor({
6602
6602
  onSortByChange: setSortBy
6603
6603
  }
6604
6604
  ),
6605
- /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FieldsEditorList, { children: [
6605
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FieldsEditorList, { children: [
6606
6606
  fieldRows.map(({ tag, depth, childCount }) => {
6607
6607
  const isEditingThis = editingTagId === tag.external_id;
6608
6608
  return /* @__PURE__ */ jsxRuntime.jsx(
6609
- chunkAKR4JN6I_cjs.FieldRow,
6609
+ chunkJCFXS336_cjs.FieldRow,
6610
6610
  {
6611
6611
  tagId: tag.external_id,
6612
6612
  name: tag.name,
@@ -6659,10 +6659,10 @@ function ConnectedFieldsEditor({
6659
6659
  tag.external_id
6660
6660
  );
6661
6661
  }),
6662
- fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsEmptyState, { children: chunkAKR4JN6I_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
6662
+ fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsEmptyState, { children: chunkJCFXS336_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
6663
6663
  ] }),
6664
6664
  /* @__PURE__ */ jsxRuntime.jsx(
6665
- chunkAKR4JN6I_cjs.FieldsApplyBar,
6665
+ chunkJCFXS336_cjs.FieldsApplyBar,
6666
6666
  {
6667
6667
  hint: copy.hint,
6668
6668
  applyLabel: copy.applyLabel,
@@ -6738,8 +6738,8 @@ function ConnectedFieldsManager({
6738
6738
  }
6739
6739
  );
6740
6740
  const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6741
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6742
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6741
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6742
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6743
6743
  ConnectedFieldsEditor,
6744
6744
  {
6745
6745
  group: activeKind,
@@ -6751,7 +6751,7 @@ function ConnectedFieldsManager({
6751
6751
  ] });
6752
6752
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
6753
6753
  /* @__PURE__ */ jsxRuntime.jsxs(chunkDUNXLT63_cjs.DraggableHeader, { children: [
6754
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6754
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6755
6755
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
6756
6756
  ] }),
6757
6757
  body
@@ -6780,7 +6780,7 @@ function ConnectedFieldsManagerPanel({
6780
6780
  const [createRequest, setCreateRequest] = react$1.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
6781
6781
  const [kind, setKind] = react$1.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
6782
6782
  const documentIds = react$1.useArbiSessionState((s) => s.selectedDocumentIds);
6783
- const reviewing = chunkMFZW4FEW_cjs.useFilesPrefs((state) => chunkMFZW4FEW_cjs.filesViewMode(state) === "navigator");
6783
+ const reviewing = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => chunkB5BGVPQ5_cjs.filesViewMode(state) === "navigator");
6784
6784
  const viewingId = react$1.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
6785
6785
  const reviewingId = reviewing ? viewingId : null;
6786
6786
  const handleClose = react.useCallback(() => {
@@ -6821,7 +6821,7 @@ function ConnectedFieldsManagerPanel({
6821
6821
  onAnnotationCreated,
6822
6822
  onAiFieldsApplied: (result) => {
6823
6823
  session.closePanel(FIELDS_MANAGER_PANEL);
6824
- const review = chunkMFZW4FEW_cjs.useAiReviewStore.getState();
6824
+ const review = chunkB5BGVPQ5_cjs.useAiReviewStore.getState();
6825
6825
  review.setRun(result);
6826
6826
  review.setOpen(true);
6827
6827
  }
@@ -7196,7 +7196,7 @@ var factNouns = () => ({
7196
7196
  function useWorkspaceAsk() {
7197
7197
  const { openNewConversation, openFiles } = chunk46LX6EQT_cjs.useBlocksEnvironment();
7198
7198
  const { workspaceId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
7199
- const setFilesViewMode = chunkMFZW4FEW_cjs.useFilesPrefs((state) => state.setViewMode);
7199
+ const setFilesViewMode = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => state.setViewMode);
7200
7200
  const ask = react.useCallback(
7201
7201
  (text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
7202
7202
  [openNewConversation]
@@ -7724,7 +7724,7 @@ function useFactFilters(notes, view, chat) {
7724
7724
  (selected, setSelected, opts) => {
7725
7725
  const applied = new Set(selected);
7726
7726
  return /* @__PURE__ */ jsxRuntime.jsx(chunkTN3UP3CI_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
7727
- chunkAKR4JN6I_cjs.FieldLabelsSelect,
7727
+ chunkJCFXS336_cjs.FieldLabelsSelect,
7728
7728
  {
7729
7729
  options: labelOptions,
7730
7730
  appliedIds: applied,
@@ -7951,7 +7951,7 @@ var FactHeader = react.memo(function FactHeader2({
7951
7951
  if (params.enableSorting) params.progressSort(e.shiftKey);
7952
7952
  },
7953
7953
  children: [
7954
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilterButton, { params, colId }),
7954
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilterButton, { params, colId }),
7955
7955
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
7956
7956
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
7957
7957
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8222,7 +8222,7 @@ function useFactsPageView() {
8222
8222
  "facts.searchFields",
8223
8223
  DEFAULT_SEARCH_FIELDS
8224
8224
  );
8225
- const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkAKR4JN6I_cjs.ROW_MIN);
8225
+ const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkJCFXS336_cjs.ROW_MIN);
8226
8226
  const labelWidth = react$1.useArbiSessionState(
8227
8227
  (s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
8228
8228
  );
@@ -8456,7 +8456,7 @@ function ConnectedFactsPage() {
8456
8456
  const view = pageView.view;
8457
8457
  const setView = pageView.setView;
8458
8458
  const openLabels = () => openFieldsManagerIn(session, "label");
8459
- const factsRowHeight = pageView.rowHeight === chunkAKR4JN6I_cjs.ROW_MIN ? chunkAKR4JN6I_cjs.ROW_MIN : chunkAKR4JN6I_cjs.rowHeightForLines(chunkAKR4JN6I_cjs.linesForRowHeight(pageView.rowHeight));
8459
+ const factsRowHeight = pageView.rowHeight === chunkJCFXS336_cjs.ROW_MIN ? chunkJCFXS336_cjs.ROW_MIN : chunkJCFXS336_cjs.rowHeightForLines(chunkJCFXS336_cjs.linesForRowHeight(pageView.rowHeight));
8460
8460
  const [isExportOpen, setIsExportOpen] = react.useState(false);
8461
8461
  const [filterOpen, setFilterOpen] = react.useState(false);
8462
8462
  const [factSection, setFactSection] = react.useState(null);
@@ -8509,7 +8509,7 @@ function ConnectedFactsPage() {
8509
8509
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
8510
8510
  navSlotRef: setNavSlot,
8511
8511
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
8512
- chunkWPUEGDBE_cjs.GridRowNavigator,
8512
+ chunkWUM76MJU_cjs.GridRowNavigator,
8513
8513
  {
8514
8514
  gridApi,
8515
8515
  selectedId: editingId,
@@ -8522,7 +8522,7 @@ function ConnectedFactsPage() {
8522
8522
  tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
8523
8523
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkTN3UP3CI_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
8524
8524
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
8525
- chunkAKR4JN6I_cjs.RowDensityControl,
8525
+ chunkJCFXS336_cjs.RowDensityControl,
8526
8526
  {
8527
8527
  rowHeight: factsRowHeight,
8528
8528
  onRowHeightChange: pageView.setRowHeight,
@@ -8786,7 +8786,7 @@ function useConnectedShellWorkspaces(options = {}) {
8786
8786
  function ConnectedSsoDisconnect() {
8787
8787
  const { client } = react$1.useAccountClient();
8788
8788
  const { data: profile } = react$1.useProfile();
8789
- const auth = chunk6WWYH66F_cjs.useAuthPages();
8789
+ const auth = chunkZ3N32LL4_cjs.useAuthPages();
8790
8790
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
8791
8791
  const [open, setOpen] = react.useState(false);
8792
8792
  const [step, setStep] = react.useState("email");
@@ -8964,14 +8964,14 @@ function ConnectedAccountSettings({
8964
8964
  }) {
8965
8965
  const [logoutOpen, setLogoutOpen] = react.useState(false);
8966
8966
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
8967
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8967
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8968
8968
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
8969
8969
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
8970
8970
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
8971
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedSecuritySection, { children: securityRows }),
8971
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedSecuritySection, { children: securityRows }),
8972
8972
  moreSettings,
8973
8973
  /* @__PURE__ */ jsxRuntime.jsx(
8974
- chunk6WWYH66F_cjs.ConnectedIdentityVerification,
8974
+ chunkZ3N32LL4_cjs.ConnectedIdentityVerification,
8975
8975
  {
8976
8976
  collapsible: true,
8977
8977
  onManageBilling,
@@ -8981,7 +8981,7 @@ function ConnectedAccountSettings({
8981
8981
  ] }),
8982
8982
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
8983
8983
  connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
8984
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8984
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8985
8985
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
8986
8986
  ui.Button,
8987
8987
  {
@@ -8998,9 +8998,9 @@ function ConnectedAccountSettings({
8998
8998
  }
8999
8999
  ) })
9000
9000
  ] }) }),
9001
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
9001
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
9002
9002
  !onLogout && /* @__PURE__ */ jsxRuntime.jsx(
9003
- chunk6WWYH66F_cjs.ConnectedLogoutDialog,
9003
+ chunkZ3N32LL4_cjs.ConnectedLogoutDialog,
9004
9004
  {
9005
9005
  open: logoutOpen,
9006
9006
  onClose: () => setLogoutOpen(false),
@@ -9343,7 +9343,7 @@ function ConnectedPrivacySettings({
9343
9343
  }
9344
9344
  )
9345
9345
  ] }) }),
9346
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedNotificationPreferences, {})
9346
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedNotificationPreferences, {})
9347
9347
  ] });
9348
9348
  }
9349
9349
  var PROVIDER_NAMES = {
@@ -9963,12 +9963,12 @@ function StorageTiers({
9963
9963
  testId
9964
9964
  }) {
9965
9965
  if (archivedBytes <= 0 && trashBytes <= 0) return null;
9966
- const parts = [`Live ${chunk2SILSQNF_cjs.formatBytes(bytes - archivedBytes - trashBytes)}`];
9967
- if (archivedBytes > 0) parts.push(`Archived ${chunk2SILSQNF_cjs.formatBytes(archivedBytes)}`);
9968
- if (trashBytes > 0) parts.push(`Recently deleted ${chunk2SILSQNF_cjs.formatBytes(trashBytes)}`);
9966
+ const parts = [`Live ${chunk4ZR4O5SP_cjs.formatBytes(bytes - archivedBytes - trashBytes)}`];
9967
+ if (archivedBytes > 0) parts.push(`Archived ${chunk4ZR4O5SP_cjs.formatBytes(archivedBytes)}`);
9968
+ if (trashBytes > 0) parts.push(`Recently deleted ${chunk4ZR4O5SP_cjs.formatBytes(trashBytes)}`);
9969
9969
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0.5 text-xs text-muted-foreground", "data-testid": testId, children: [
9970
9970
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "tabular-nums text-foreground", children: parts.join(" \xB7 ") }),
9971
- /* @__PURE__ */ jsxRuntime.jsx("p", { children: chunk2SILSQNF_cjs.reducedRateNote(reducedRate) })
9971
+ /* @__PURE__ */ jsxRuntime.jsx("p", { children: chunk4ZR4O5SP_cjs.reducedRateNote(reducedRate) })
9972
9972
  ] });
9973
9973
  }
9974
9974
  function StorageBreakdown({
@@ -9983,10 +9983,10 @@ function StorageBreakdown({
9983
9983
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-3 text-sm", children: [
9984
9984
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: row2.label }),
9985
9985
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "tabular-nums text-muted-foreground", children: [
9986
- chunk2SILSQNF_cjs.formatBytes(row2.bytes),
9986
+ chunk4ZR4O5SP_cjs.formatBytes(row2.bytes),
9987
9987
  row2.trashBytes > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1 text-xs", children: [
9988
9988
  "(",
9989
- chunk2SILSQNF_cjs.formatBytes(row2.trashBytes),
9989
+ chunk4ZR4O5SP_cjs.formatBytes(row2.trashBytes),
9990
9990
  " deleted)"
9991
9991
  ] })
9992
9992
  ] })
@@ -10008,7 +10008,7 @@ function where(item) {
10008
10008
  return "\u2014";
10009
10009
  }
10010
10010
  function breakdownText(item) {
10011
- const parts = Object.entries(item.breakdown ?? {}).filter(([kind, bytes]) => kind !== "document" && bytes > 0).map(([kind, bytes]) => `${chunk2SILSQNF_cjs.KIND_LABELS[kind] ?? kind} ${chunk2SILSQNF_cjs.formatBytes(bytes)}`);
10011
+ const parts = Object.entries(item.breakdown ?? {}).filter(([kind, bytes]) => kind !== "document" && bytes > 0).map(([kind, bytes]) => `${chunk4ZR4O5SP_cjs.KIND_LABELS[kind] ?? kind} ${chunk4ZR4O5SP_cjs.formatBytes(bytes)}`);
10012
10012
  return parts.length ? parts.join(" \xB7 ") : null;
10013
10013
  }
10014
10014
  function StorageItemsTable({
@@ -10023,9 +10023,9 @@ function StorageItemsTable({
10023
10023
  key: "name",
10024
10024
  header: "Item",
10025
10025
  render: (row2) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
10026
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-medium text-foreground", children: chunk2SILSQNF_cjs.itemTitle(row2) }),
10026
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-medium text-foreground", children: chunk4ZR4O5SP_cjs.itemTitle(row2) }),
10027
10027
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "truncate text-xs text-muted-foreground", children: [
10028
- chunk2SILSQNF_cjs.ITEM_LABELS[row2.item.kind] ?? row2.item.kind,
10028
+ chunk4ZR4O5SP_cjs.ITEM_LABELS[row2.item.kind] ?? row2.item.kind,
10029
10029
  " \xB7 ",
10030
10030
  where(row2.item),
10031
10031
  breakdownText(row2.item) ? ` \xB7 ${breakdownText(row2.item)}` : ""
@@ -10036,7 +10036,7 @@ function StorageItemsTable({
10036
10036
  key: "size",
10037
10037
  header: "Size",
10038
10038
  align: "right",
10039
- render: (row2) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(row2.item.bytes) })
10039
+ render: (row2) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(row2.item.bytes) })
10040
10040
  },
10041
10041
  {
10042
10042
  key: "date",
@@ -10051,7 +10051,7 @@ function StorageItemsTable({
10051
10051
  }
10052
10052
  ];
10053
10053
  return /* @__PURE__ */ jsxRuntime.jsx(
10054
- chunk3XCYPWC5_cjs.DataTable,
10054
+ chunk2P7VH2SK_cjs.DataTable,
10055
10055
  {
10056
10056
  columns,
10057
10057
  rows,
@@ -10104,7 +10104,7 @@ function ConnectedWorkspaceTrash({
10104
10104
  if (pending.kind === "purge") {
10105
10105
  void run(async () => {
10106
10106
  await purgeDeletedDocuments(workspaceExtId, { externalIds: [pending.doc.external_id] });
10107
- return `Deleted permanently \xB7 ${chunk2SILSQNF_cjs.formatBytes(pending.doc.bytes)} freed`;
10107
+ return `Deleted permanently \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(pending.doc.bytes)} freed`;
10108
10108
  }, "Could not delete permanently");
10109
10109
  return;
10110
10110
  }
@@ -10113,7 +10113,7 @@ function ConnectedWorkspaceTrash({
10113
10113
  const removed = await purgeDeletedDocuments(workspaceExtId, {
10114
10114
  includeOthersPrivate: manager && includeOthers
10115
10115
  });
10116
- return `Trash emptied \xB7 ${removed.length} ${removed.length === 1 ? "item" : "items"} \xB7 ${chunk2SILSQNF_cjs.formatBytes(freed)} freed`;
10116
+ return `Trash emptied \xB7 ${removed.length} ${removed.length === 1 ? "item" : "items"} \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(freed)} freed`;
10117
10117
  }, "Could not empty the trash");
10118
10118
  };
10119
10119
  const nothingToEmpty = emptiable.length === 0 && !(manager && othersCount > 0);
@@ -10121,7 +10121,7 @@ function ConnectedWorkspaceTrash({
10121
10121
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3", children: [
10122
10122
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
10123
10123
  title && /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "truncate text-sm font-medium text-foreground", children: title }),
10124
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: manager ? chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE : `${chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE} You can remove your own deleted items.` })
10124
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: manager ? chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE : `${chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE} You can remove your own deleted items.` })
10125
10125
  ] }),
10126
10126
  /* @__PURE__ */ jsxRuntime.jsxs(
10127
10127
  ui.Button,
@@ -10160,7 +10160,7 @@ function ConnectedWorkspaceTrash({
10160
10160
  "\xB7 deleted ",
10161
10161
  ui.formatFriendlyDate(doc.deleted_at),
10162
10162
  " \xB7 ",
10163
- chunk2SILSQNF_cjs.formatBytes(doc.bytes)
10163
+ chunk4ZR4O5SP_cjs.formatBytes(doc.bytes)
10164
10164
  ] })
10165
10165
  ] }),
10166
10166
  doc.restoring ? /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10216,7 +10216,7 @@ function ConnectedWorkspaceTrash({
10216
10216
  othersCount === 1 ? "item" : "items",
10217
10217
  " of other members \xB7",
10218
10218
  " ",
10219
- chunk2SILSQNF_cjs.formatBytes(others?.bytes ?? 0)
10219
+ chunk4ZR4O5SP_cjs.formatBytes(others?.bytes ?? 0)
10220
10220
  ]
10221
10221
  }
10222
10222
  )
@@ -10232,7 +10232,7 @@ function ConnectedWorkspaceTrash({
10232
10232
  onConfirm: confirm,
10233
10233
  isLoading: busy,
10234
10234
  title: pending?.kind === "purge" ? "Delete permanently?" : "Empty trash?",
10235
- description: pending?.kind === "purge" ? `${pending.doc.file_name || "It"} is removed for good now and stops using storage. This cannot be undone.` : manager ? `${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} you can see (${chunk2SILSQNF_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now and stop using storage. This cannot be undone.` : `Your ${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} in this workspace (${chunk2SILSQNF_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now. This cannot be undone.`,
10235
+ description: pending?.kind === "purge" ? `${pending.doc.file_name || "It"} is removed for good now and stops using storage. This cannot be undone.` : manager ? `${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} you can see (${chunk4ZR4O5SP_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now and stop using storage. This cannot be undone.` : `Your ${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} in this workspace (${chunk4ZR4O5SP_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now. This cannot be undone.`,
10236
10236
  confirmText: pending?.kind === "purge" ? "Delete permanently" : "Empty",
10237
10237
  testId: `${testId}-confirm`,
10238
10238
  children: pending?.kind === "empty" && manager && othersCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10255,7 +10255,7 @@ function ConnectedWorkspaceTrash({
10255
10255
  " private ",
10256
10256
  othersCount === 1 ? "item" : "items",
10257
10257
  " of other members (",
10258
- chunk2SILSQNF_cjs.formatBytes(others?.bytes ?? 0),
10258
+ chunk4ZR4O5SP_cjs.formatBytes(others?.bytes ?? 0),
10259
10259
  ")",
10260
10260
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block text-xs text-muted-foreground", children: "You can't see these. Left alone, their owners can still restore them until they're removed automatically." })
10261
10261
  ] })
@@ -10372,7 +10372,7 @@ function ConnectedStorageProjectCard({
10372
10372
  project.project_ext_id,
10373
10373
  pending.rows.map((r) => r.item.ref).filter(Boolean)
10374
10374
  );
10375
- return `Deleted permanently \xB7 ${chunk2SILSQNF_cjs.formatBytes(freed)} freed`;
10375
+ return `Deleted permanently \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(freed)} freed`;
10376
10376
  }, "Could not delete permanently");
10377
10377
  } else if (pending.kind === "empty-mail") {
10378
10378
  void run(async () => {
@@ -10384,7 +10384,7 @@ function ConnectedStorageProjectCard({
10384
10384
  }
10385
10385
  };
10386
10386
  const canRestore = (item) => item.kind === "mail" ? !!item.ref?.startsWith("eml-") : item.kind === "document" && !!item.ref && !!item.workspace_ext_id;
10387
- const kinds2 = chunk2SILSQNF_cjs.kindRows(project.by_kind);
10387
+ const kinds2 = chunk4ZR4O5SP_cjs.kindRows(project.by_kind);
10388
10388
  const folders = Object.entries(project.mail_folders ?? {}).sort((a, b) => b[1] - a[1]);
10389
10389
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { "data-testid": testId, children: [
10390
10390
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [
@@ -10413,8 +10413,8 @@ function ConnectedStorageProjectCard({
10413
10413
  chunkNZNBJF3M_cjs.UsageMeter,
10414
10414
  {
10415
10415
  label: "Storage",
10416
- value: chunk2SILSQNF_cjs.usedOfLimit(project.billable_bytes, project.limit_bytes),
10417
- pct: chunk2SILSQNF_cjs.usedPct(project.billable_bytes, project.limit_bytes),
10416
+ value: chunk4ZR4O5SP_cjs.usedOfLimit(project.billable_bytes, project.limit_bytes),
10417
+ pct: chunk4ZR4O5SP_cjs.usedPct(project.billable_bytes, project.limit_bytes),
10418
10418
  details: /* @__PURE__ */ jsxRuntime.jsx(
10419
10419
  StorageTiers,
10420
10420
  {
@@ -10460,8 +10460,8 @@ function ConnectedStorageProjectCard({
10460
10460
  ] })
10461
10461
  ] }),
10462
10462
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-1 text-sm", children: folders.map(([folder, bytes]) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex justify-between gap-3", children: [
10463
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: chunk2SILSQNF_cjs.MAIL_FOLDER_LABELS[folder] ?? folder }),
10464
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums text-muted-foreground", children: chunk2SILSQNF_cjs.formatBytes(bytes) })
10463
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: chunk4ZR4O5SP_cjs.MAIL_FOLDER_LABELS[folder] ?? folder }),
10464
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums text-muted-foreground", children: chunk4ZR4O5SP_cjs.formatBytes(bytes) })
10465
10465
  ] }, folder)) })
10466
10466
  ] }),
10467
10467
  showWorkspaces && (project.workspaces?.length ?? 0) > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": `${testId}-workspaces`, children: [
@@ -10495,7 +10495,7 @@ function ConnectedStorageProjectCard({
10495
10495
  {
10496
10496
  size: "sm",
10497
10497
  variant: "ghost",
10498
- "aria-label": `Delete ${chunk2SILSQNF_cjs.itemTitle(r)}`,
10498
+ "aria-label": `Delete ${chunk4ZR4O5SP_cjs.itemTitle(r)}`,
10499
10499
  disabled: busy,
10500
10500
  onClick: () => setPending({ kind: "delete", row: r }),
10501
10501
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "size-4" })
@@ -10506,7 +10506,7 @@ function ConnectedStorageProjectCard({
10506
10506
  )
10507
10507
  ] }),
10508
10508
  view === "deleted" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
10509
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE }),
10509
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE }),
10510
10510
  deletedWorkspaces.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "divide-y divide-border rounded-md border border-border", children: deletedWorkspaces.map((w) => /* @__PURE__ */ jsxRuntime.jsxs(
10511
10511
  "li",
10512
10512
  {
@@ -10518,7 +10518,7 @@ function ConnectedStorageProjectCard({
10518
10518
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
10519
10519
  " ",
10520
10520
  "\xB7 deleted workspace \xB7 ",
10521
- chunk2SILSQNF_cjs.formatBytes(w.bytes)
10521
+ chunk4ZR4O5SP_cjs.formatBytes(w.bytes)
10522
10522
  ] })
10523
10523
  ] }),
10524
10524
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10606,7 +10606,7 @@ function confirmTitle(pending) {
10606
10606
  case "empty-mail":
10607
10607
  return "Empty mail Trash?";
10608
10608
  case "delete":
10609
- return `Delete ${chunk2SILSQNF_cjs.itemTitle(pending.row)}?`;
10609
+ return `Delete ${chunk4ZR4O5SP_cjs.itemTitle(pending.row)}?`;
10610
10610
  default:
10611
10611
  return "";
10612
10612
  }
@@ -10618,7 +10618,7 @@ function confirmDescription(pending) {
10618
10618
  case "empty-mail":
10619
10619
  return "Every message in your mail Trash is deleted for good and stops using storage. This cannot be undone.";
10620
10620
  case "delete":
10621
- return `It moves to Recently deleted, where you can restore it. ${chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE}`;
10621
+ return `It moves to Recently deleted, where you can restore it. ${chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE}`;
10622
10622
  default:
10623
10623
  return "";
10624
10624
  }
@@ -11339,7 +11339,7 @@ function ConnectedRecoveryKeyDialog({
11339
11339
  const arbi = react$1.useArbi();
11340
11340
  const { user, isSso: isSsoMode } = react$1.useArbiSession();
11341
11341
  const userEmail = user?.email;
11342
- const sso = chunk6WWYH66F_cjs.useSsoSignIn();
11342
+ const sso = chunkZ3N32LL4_cjs.useSsoSignIn();
11343
11343
  const handleVerify = async () => {
11344
11344
  setError(null);
11345
11345
  if (!password) {
@@ -11500,7 +11500,7 @@ function ConnectedRemoteControlSwitch() {
11500
11500
  }
11501
11501
  function RemoteControlSwitch() {
11502
11502
  const enabled = react$1.useRemoteControl((state) => state.enabled);
11503
- const remote = chunk6WWYH66F_cjs.useRemoteControlActions();
11503
+ const remote = chunkZ3N32LL4_cjs.useRemoteControlActions();
11504
11504
  return /* @__PURE__ */ jsxRuntime.jsx(
11505
11505
  chunkQQMMCXBP_cjs.SettingsRow,
11506
11506
  {
@@ -11681,19 +11681,19 @@ function ConnectedDeploymentStorage() {
11681
11681
  key: "live",
11682
11682
  header: "Stored",
11683
11683
  align: "right",
11684
- render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(p.bytes - p.trash_bytes - (p.archived_bytes ?? 0)) })
11684
+ render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(p.bytes - p.trash_bytes - (p.archived_bytes ?? 0)) })
11685
11685
  },
11686
11686
  {
11687
11687
  key: "archived",
11688
11688
  header: "Archived",
11689
11689
  align: "right",
11690
- render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(p.archived_bytes ?? 0) })
11690
+ render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(p.archived_bytes ?? 0) })
11691
11691
  },
11692
11692
  {
11693
11693
  key: "trash",
11694
11694
  header: "Deleted",
11695
11695
  align: "right",
11696
- render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(p.trash_bytes) })
11696
+ render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(p.trash_bytes) })
11697
11697
  },
11698
11698
  {
11699
11699
  key: "activity",
@@ -11705,7 +11705,7 @@ function ConnectedDeploymentStorage() {
11705
11705
  {
11706
11706
  key: "kind",
11707
11707
  header: "Kind",
11708
- render: ({ item }) => chunk2SILSQNF_cjs.ITEM_LABELS[item.kind] ?? item.kind
11708
+ render: ({ item }) => chunk4ZR4O5SP_cjs.ITEM_LABELS[item.kind] ?? item.kind
11709
11709
  },
11710
11710
  {
11711
11711
  key: "project",
@@ -11716,7 +11716,7 @@ function ConnectedDeploymentStorage() {
11716
11716
  key: "size",
11717
11717
  header: "Size",
11718
11718
  align: "right",
11719
- render: ({ item }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(item.bytes) })
11719
+ render: ({ item }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(item.bytes) })
11720
11720
  },
11721
11721
  {
11722
11722
  key: "state",
@@ -11739,8 +11739,8 @@ function ConnectedDeploymentStorage() {
11739
11739
  chunkNZNBJF3M_cjs.UsageMeter,
11740
11740
  {
11741
11741
  label: "Stored on this deployment",
11742
- value: chunk2SILSQNF_cjs.usedOfLimit(deployment.billable_bytes, deployment.limit_bytes),
11743
- pct: chunk2SILSQNF_cjs.usedPct(deployment.billable_bytes, deployment.limit_bytes),
11742
+ value: chunk4ZR4O5SP_cjs.usedOfLimit(deployment.billable_bytes, deployment.limit_bytes),
11743
+ pct: chunk4ZR4O5SP_cjs.usedPct(deployment.billable_bytes, deployment.limit_bytes),
11744
11744
  details: /* @__PURE__ */ jsxRuntime.jsx(
11745
11745
  StorageTiers,
11746
11746
  {
@@ -11754,11 +11754,11 @@ function ConnectedDeploymentStorage() {
11754
11754
  testId: "deployment-storage-meter"
11755
11755
  }
11756
11756
  ),
11757
- /* @__PURE__ */ jsxRuntime.jsx(StorageBreakdown, { rows: chunk2SILSQNF_cjs.kindRows(deployment.by_kind), total: deployment.bytes }),
11757
+ /* @__PURE__ */ jsxRuntime.jsx(StorageBreakdown, { rows: chunk4ZR4O5SP_cjs.kindRows(deployment.by_kind), total: deployment.bytes }),
11758
11758
  (deployment.orphaned_bytes > 0 || deployment.unattributed_bytes > 0) && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs text-muted-foreground", "data-testid": "deployment-storage-unowned", children: [
11759
- chunk2SILSQNF_cjs.formatBytes(deployment.orphaned_bytes),
11759
+ chunk4ZR4O5SP_cjs.formatBytes(deployment.orphaned_bytes),
11760
11760
  " left behind by deleted items (removed by the next monthly clean-up)",
11761
- deployment.unattributed_bytes > 0 && ` \xB7 ${chunk2SILSQNF_cjs.formatBytes(deployment.unattributed_bytes)} not owned by any ${ui.entityNoun("PROJECT")}`
11761
+ deployment.unattributed_bytes > 0 && ` \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(deployment.unattributed_bytes)} not owned by any ${ui.entityNoun("PROJECT")}`
11762
11762
  ] }),
11763
11763
  trend.dates.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
11764
11764
  chunkDUNXLT63_cjs.UsageLineChart,
@@ -11766,7 +11766,7 @@ function ConnectedDeploymentStorage() {
11766
11766
  dates: trend.dates,
11767
11767
  series: trend.series,
11768
11768
  formatDate: (d) => new Date(d).toLocaleDateString("en-GB", { day: "numeric", month: "short" }),
11769
- formatValue: (gb3) => chunk2SILSQNF_cjs.formatBytes(gb3 * GB)
11769
+ formatValue: (gb3) => chunk4ZR4O5SP_cjs.formatBytes(gb3 * GB)
11770
11770
  }
11771
11771
  ),
11772
11772
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -11783,7 +11783,7 @@ function ConnectedDeploymentStorage() {
11783
11783
  }
11784
11784
  ),
11785
11785
  view === "items" ? /* @__PURE__ */ jsxRuntime.jsx(
11786
- chunk3XCYPWC5_cjs.DataTable,
11786
+ chunk2P7VH2SK_cjs.DataTable,
11787
11787
  {
11788
11788
  columns: itemColumns,
11789
11789
  rows: (items.data?.items ?? []).map((item) => ({ item })),
@@ -11792,7 +11792,7 @@ function ConnectedDeploymentStorage() {
11792
11792
  emptyTitle: "Nothing stored yet"
11793
11793
  }
11794
11794
  ) : /* @__PURE__ */ jsxRuntime.jsx(
11795
- chunk3XCYPWC5_cjs.DataTable,
11795
+ chunk2P7VH2SK_cjs.DataTable,
11796
11796
  {
11797
11797
  columns: projectColumns,
11798
11798
  rows: [...view === "people" ? people : projects].sort(byBytes),
@@ -13752,13 +13752,13 @@ function ConnectedWorkspaceSettings({
13752
13752
  const [membersExpanded, setMembersExpanded] = react.useState(false);
13753
13753
  const [shareOpen, setShareOpen] = react.useState(false);
13754
13754
  if (!workspace) {
13755
- return /* @__PURE__ */ jsxRuntime.jsx(chunkNUFZFWHZ_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
13755
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkNUFZFWHZ_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
13756
13756
  }
13757
13757
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13758
13758
  /* @__PURE__ */ jsxRuntime.jsxs(chunkNUFZFWHZ_cjs.WorkspacePageFrame, { testId, children: [
13759
13759
  /* @__PURE__ */ jsxRuntime.jsxs(chunkNUFZFWHZ_cjs.WorkspaceIdentityPanel, { children: [
13760
13760
  /* @__PURE__ */ jsxRuntime.jsx(
13761
- chunkWPUEGDBE_cjs.EntityIdentityBar,
13761
+ chunkWUM76MJU_cjs.EntityIdentityBar,
13762
13762
  {
13763
13763
  testId: "workspace-identity-bar",
13764
13764
  canEdit: isOwner,
@@ -13775,7 +13775,7 @@ function ConnectedWorkspaceSettings({
13775
13775
  label: "Name",
13776
13776
  value: workspace.name,
13777
13777
  placeholder: "Untitled",
13778
- maxLength: chunkWPUEGDBE_cjs.IDENTITY_NAME_MAX_LENGTH,
13778
+ maxLength: chunkWUM76MJU_cjs.IDENTITY_NAME_MAX_LENGTH,
13779
13779
  valueClassName: "truncate text-base font-semibold",
13780
13780
  testId: "workspace-home-title",
13781
13781
  hideLabel: true,
@@ -15460,36 +15460,36 @@ function ConnectedSharePointAdminConsentPage({
15460
15460
  const result = givenResult === void 0 ? queryResult : givenResult;
15461
15461
  const { apiBaseUrl } = chunk46LX6EQT_cjs.useBlocksEnvironment().runtimeConfig;
15462
15462
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
15463
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentCard, { size: "md", children: [
15463
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentCard, { size: "md", children: [
15464
15464
  /* @__PURE__ */ jsxRuntime.jsx(
15465
- chunkH7AI54V2_cjs.ConsentHeader,
15465
+ chunkCVVQHFLR_cjs.ConsentHeader,
15466
15466
  {
15467
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
15467
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
15468
15468
  title: "Approve ARBI for SharePoint access",
15469
15469
  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."
15470
15470
  }
15471
15471
  ),
15472
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }),
15473
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }),
15474
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentSection, { title: "What you are approving", children: [
15472
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }),
15473
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }),
15474
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentSection, { title: "What you are approving", children: [
15475
15475
  /* @__PURE__ */ jsxRuntime.jsx(
15476
- chunkH7AI54V2_cjs.ConsentBulletList,
15476
+ chunkCVVQHFLR_cjs.ConsentBulletList,
15477
15477
  {
15478
15478
  items: [
15479
15479
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15480
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
15480
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
15481
15481
  " \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."
15482
15482
  ] }),
15483
15483
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15484
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
15484
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
15485
15485
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
15486
15486
  ] })
15487
15487
  ]
15488
15488
  }
15489
15489
  ),
15490
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }),
15490
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }),
15491
15491
  /* @__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" }) }),
15492
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." })
15492
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." })
15493
15493
  ] })
15494
15494
  ] }) });
15495
15495
  }
@@ -17623,10 +17623,10 @@ function ProjectUsagePanels({
17623
17623
  onMetric
17624
17624
  }) {
17625
17625
  const spend = quotaPct > 0 ? { ...panels.spend, description: `${quotaPct}% of quota` } : panels.spend;
17626
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk2SILSQNF_cjs.DashboardGrid, { testId: "project-usage-panels", children: [
17627
- [spend, panels.requests, panels.tokens].map((p) => /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: p.width, children: /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardPanel, { panel: p, testId: `project-usage-${p.id}` }) }, p.id)),
17628
- /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardPanel, { panel: { ...panels.spendByModel, width: 12 } }) }),
17629
- /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17626
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk4ZR4O5SP_cjs.DashboardGrid, { testId: "project-usage-panels", children: [
17627
+ [spend, panels.requests, panels.tokens].map((p) => /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: p.width, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardPanel, { panel: p, testId: `project-usage-${p.id}` }) }, p.id)),
17628
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardPanel, { panel: { ...panels.spendByModel, width: 12 } }) }),
17629
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17630
17630
  chunkDUNXLT63_cjs.UsageToggle,
17631
17631
  {
17632
17632
  ariaLabel: "Breakdown by",
@@ -17636,8 +17636,8 @@ function ProjectUsagePanels({
17636
17636
  options: breakdowns.map((key) => ({ value: key, label: BREAKDOWN_LABELS[key] }))
17637
17637
  }
17638
17638
  ) }),
17639
- /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17640
- chunk2SILSQNF_cjs.DashboardPanel,
17639
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17640
+ chunk4ZR4O5SP_cjs.DashboardPanel,
17641
17641
  {
17642
17642
  panel: panels.breakdown(breakdown, metric, 12),
17643
17643
  testId: "project-usage-breakdown",
@@ -18702,7 +18702,7 @@ function ConnectedWorkspaceList({
18702
18702
  }
18703
18703
  );
18704
18704
  }
18705
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading workspaces..." });
18705
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading workspaces..." });
18706
18706
  if (list.error) {
18707
18707
  return /* @__PURE__ */ jsxRuntime.jsx(
18708
18708
  chunkHNLNRAEU_cjs.HomeLoadError,
@@ -18775,7 +18775,7 @@ function ConnectedWorkspaceList({
18775
18775
  workspaceState
18776
18776
  }
18777
18777
  ) })
18778
- ) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkHNLNRAEU_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
18778
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkHNLNRAEU_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
18779
18779
  WorkspaceTableView,
18780
18780
  {
18781
18781
  list,
@@ -18977,7 +18977,7 @@ function ConnectedProjectsListPage({
18977
18977
  };
18978
18978
  const { openProject } = chunk46LX6EQT_cjs.useBlocksEnvironment();
18979
18979
  const [search, setSearch] = react.useState("");
18980
- const { projects, isLoading } = chunkPJTKXKDS_cjs.useProjectSummaries();
18980
+ const { projects, isLoading } = chunk4I2PCP7O_cjs.useProjectSummaries();
18981
18981
  const rows = react.useMemo(() => {
18982
18982
  const q = search.trim().toLowerCase();
18983
18983
  if (!q) return projects;
@@ -19048,7 +19048,7 @@ function ConnectedProjectsListPage({
19048
19048
  }
19049
19049
  ),
19050
19050
  /* @__PURE__ */ jsxRuntime.jsx(
19051
- chunkWPUEGDBE_cjs.Toolbar,
19051
+ chunkWUM76MJU_cjs.Toolbar,
19052
19052
  {
19053
19053
  search,
19054
19054
  onSearch: setSearch,
@@ -19057,7 +19057,7 @@ function ConnectedProjectsListPage({
19057
19057
  }
19058
19058
  ),
19059
19059
  /* @__PURE__ */ jsxRuntime.jsx(
19060
- chunk3XCYPWC5_cjs.DataTable,
19060
+ chunk2P7VH2SK_cjs.DataTable,
19061
19061
  {
19062
19062
  area: testId,
19063
19063
  columns: shown.map((c) => all[c]),
@@ -19110,7 +19110,7 @@ function ProjectDetailsForm({
19110
19110
  const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
19111
19111
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
19112
19112
  const update = react$1.useUpdateProjectFields();
19113
- const workspace = chunkPJTKXKDS_cjs.primaryProjectWorkspace(project);
19113
+ const workspace = chunk4I2PCP7O_cjs.primaryProjectWorkspace(project);
19114
19114
  const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
19115
19115
  const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
19116
19116
  const currency = project.budget?.currency ?? "GBP";
@@ -19235,7 +19235,7 @@ var COMPACT_BELOW = 132;
19235
19235
  var NO_DOCUMENTS = [];
19236
19236
  function useFilesWorkspace() {
19237
19237
  const { workspaceId, userId, live } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
19238
- const { members, role } = chunkMH7P5FEK_cjs.useConnectedWorkspaceRole();
19238
+ const { members, role } = chunkFCT62ZPE_cjs.useConnectedWorkspaceRole();
19239
19239
  const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
19240
19240
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
19241
19241
  return {
@@ -19299,9 +19299,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19299
19299
  for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
19300
19300
  return map;
19301
19301
  }, [workspaceTags]);
19302
- const pendingFolders = chunkMFZW4FEW_cjs.usePendingFolders(wsId);
19303
- const addPendingFolder = chunkMFZW4FEW_cjs.useFilesStore((state) => state.addPendingFolder);
19304
- const removePendingFolder = chunkMFZW4FEW_cjs.useFilesStore((state) => state.removePendingFolder);
19302
+ const pendingFolders = chunkB5BGVPQ5_cjs.usePendingFolders(wsId);
19303
+ const addPendingFolder = chunkB5BGVPQ5_cjs.useFilesStore((state) => state.addPendingFolder);
19304
+ const removePendingFolder = chunkB5BGVPQ5_cjs.useFilesStore((state) => state.removePendingFolder);
19305
19305
  const [editingFolderPath, setEditingFolderPath] = react.useState(null);
19306
19306
  const isSearching = search.trim().length > 0;
19307
19307
  const selectedSet = react.useMemo(() => new Set(selectedIds), [selectedIds]);
@@ -19310,8 +19310,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19310
19310
  const { folders, files } = react.useMemo(() => {
19311
19311
  const result = isSearching ? {
19312
19312
  folders: [],
19313
- files: chunkAKR4JN6I_cjs.searchExplorerDocuments(documents, search, sort)
19314
- } : chunkAKR4JN6I_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
19313
+ files: chunkJCFXS336_cjs.searchExplorerDocuments(documents, search, sort)
19314
+ } : chunkJCFXS336_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
19315
19315
  if (sortReversed) result.files = [...result.files].reverse();
19316
19316
  return result;
19317
19317
  }, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
@@ -19322,7 +19322,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19322
19322
  const orderedFileIds = react.useMemo(() => files.map((d) => d.external_id), [files]);
19323
19323
  const folderDocs = react.useMemo(() => {
19324
19324
  const map = /* @__PURE__ */ new Map();
19325
- for (const f of folders) map.set(f.path.join("/"), chunkAKR4JN6I_cjs.collectFolderDocs(documents, f.path));
19325
+ for (const f of folders) map.set(f.path.join("/"), chunkJCFXS336_cjs.collectFolderDocs(documents, f.path));
19326
19326
  return map;
19327
19327
  }, [folders, documents]);
19328
19328
  const folderSelection = react.useMemo(() => {
@@ -19470,7 +19470,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19470
19470
  let name = base;
19471
19471
  let i = 2;
19472
19472
  while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
19473
- const path = chunkAKR4JN6I_cjs.joinFolderPath([...currentPath, name]);
19473
+ const path = chunkJCFXS336_cjs.joinFolderPath([...currentPath, name]);
19474
19474
  if (!path) return;
19475
19475
  addPendingFolder(wsId, path);
19476
19476
  setEditingFolderPath(path);
@@ -19506,10 +19506,10 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19506
19506
  notify19(`A folder named "${name}" already exists here.`, "error");
19507
19507
  return;
19508
19508
  }
19509
- const oldPath = chunkAKR4JN6I_cjs.joinFolderPath(folder.path);
19509
+ const oldPath = chunkJCFXS336_cjs.joinFolderPath(folder.path);
19510
19510
  const newPrefix = [...folder.path.slice(0, -1), name];
19511
- const newPath = chunkAKR4JN6I_cjs.joinFolderPath(newPrefix);
19512
- const docs = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path);
19511
+ const newPath = chunkJCFXS336_cjs.joinFolderPath(newPrefix);
19512
+ const docs = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path);
19513
19513
  try {
19514
19514
  if (await renameFolder(docs, folder.path, newPrefix) > 0) {
19515
19515
  notify19(`Renamed folder to "${name}"`, "success");
@@ -19568,7 +19568,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19568
19568
  const handleToggleFolder = react.useCallback(
19569
19569
  (folder, e) => {
19570
19570
  e.stopPropagation();
19571
- const ids = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19571
+ const ids = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19572
19572
  if (ids.length === 0) return;
19573
19573
  if (ids.every((id) => selectedSet.has(id))) {
19574
19574
  const remove = new Set(ids);
@@ -19629,9 +19629,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19629
19629
  );
19630
19630
  const handleDelete = react.useCallback(
19631
19631
  async (doc) => {
19632
- const name = chunkAKR4JN6I_cjs.getExplorerDisplayName(doc);
19632
+ const name = chunkJCFXS336_cjs.getExplorerDisplayName(doc);
19633
19633
  const confirmed = await confirm({
19634
- message: `Delete "${name}"? ${chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT}`,
19634
+ message: `Delete "${name}"? ${chunkJCFXS336_cjs.RECENTLY_DELETED_HINT}`,
19635
19635
  title: "Delete file"
19636
19636
  });
19637
19637
  if (!confirmed) return;
@@ -19651,7 +19651,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19651
19651
  );
19652
19652
  const handleFolderDownload = react.useCallback(
19653
19653
  (folder) => {
19654
- const docs = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path);
19654
+ const docs = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path);
19655
19655
  if (docs.length > 0) void downloadDocuments(docs);
19656
19656
  },
19657
19657
  [documents, downloadDocuments]
@@ -19660,7 +19660,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19660
19660
  if (onFolderMove) return onFolderMove;
19661
19661
  if (!onMoveSelected) return void 0;
19662
19662
  return (folder) => {
19663
- const ids = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19663
+ const ids = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19664
19664
  if (ids.length === 0) return;
19665
19665
  onSelectionChange(ids);
19666
19666
  onMoveSelected();
@@ -19668,14 +19668,14 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19668
19668
  }, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
19669
19669
  const handleFolderDelete = react.useCallback(
19670
19670
  async (folder) => {
19671
- const docs = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path);
19671
+ const docs = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path);
19672
19672
  if (docs.length === 0) {
19673
- const path = chunkAKR4JN6I_cjs.joinFolderPath(folder.path);
19673
+ const path = chunkJCFXS336_cjs.joinFolderPath(folder.path);
19674
19674
  if (wsId && path) removePendingFolder(wsId, path);
19675
19675
  return;
19676
19676
  }
19677
19677
  const confirmed = await confirm({
19678
- message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
19678
+ message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkJCFXS336_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
19679
19679
  title: "Delete folder"
19680
19680
  });
19681
19681
  if (!confirmed) return;
@@ -19692,8 +19692,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19692
19692
  [confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
19693
19693
  );
19694
19694
  const canDeleteFolder = react.useCallback(
19695
- (folder) => canUpload && chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path).every(
19696
- (doc) => chunkAKR4JN6I_cjs.canDeleteDocument(doc, userId, role)
19695
+ (folder) => canUpload && chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path).every(
19696
+ (doc) => chunkJCFXS336_cjs.canDeleteDocument(doc, userId, role)
19697
19697
  ),
19698
19698
  [canUpload, documents, userId, role]
19699
19699
  );
@@ -19752,7 +19752,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19752
19752
  setActiveDragId(null);
19753
19753
  const data = event.over?.data.current;
19754
19754
  if (data?.type === "folder" && data.path) {
19755
- const targetFolder = chunkAKR4JN6I_cjs.joinFolderPath(data.path);
19755
+ const targetFolder = chunkJCFXS336_cjs.joinFolderPath(data.path);
19756
19756
  const moving = dragIdsRef.current.filter((id) => {
19757
19757
  const doc = documents.find((d) => d.external_id === id);
19758
19758
  return doc && (doc.folder ?? null) !== targetFolder;
@@ -19792,7 +19792,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19792
19792
  const dropped = Array.from(e.dataTransfer.files ?? []);
19793
19793
  if (dropped.length > 0) {
19794
19794
  e.preventDefault();
19795
- onUploadFiles(dropped, chunkAKR4JN6I_cjs.joinFolderPath(currentPath));
19795
+ onUploadFiles(dropped, chunkJCFXS336_cjs.joinFolderPath(currentPath));
19796
19796
  }
19797
19797
  },
19798
19798
  [canUpload, currentPath, onUploadFiles]
@@ -19809,9 +19809,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19809
19809
  onDragEnd: handleDragEnd,
19810
19810
  onDragCancel: () => setActiveDragId(null),
19811
19811
  children: [
19812
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ExplorerStage, { children: [
19812
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ExplorerStage, { children: [
19813
19813
  /* @__PURE__ */ jsxRuntime.jsx(
19814
- chunkAKR4JN6I_cjs.ExplorerScroller,
19814
+ chunkJCFXS336_cjs.ExplorerScroller,
19815
19815
  {
19816
19816
  ref: scrollRef,
19817
19817
  onClick: handleBackgroundClick,
@@ -19821,15 +19821,15 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19821
19821
  onDragLeave: handleNativeDragLeave,
19822
19822
  onDrop: handleNativeDrop,
19823
19823
  "data-testid": "explorer-scroll",
19824
- children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
19825
- chunkAKR4JN6I_cjs.ExplorerEmpty,
19824
+ children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
19825
+ chunkJCFXS336_cjs.ExplorerEmpty,
19826
19826
  {
19827
19827
  title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
19828
19828
  description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
19829
19829
  }
19830
19830
  ) : containerWidth === 0 ? (
19831
19831
  // Not measured yet: rendering now would flash one stretched column.
19832
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerLoadingTiles, {})
19832
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerLoadingTiles, {})
19833
19833
  ) : /* @__PURE__ */ jsxRuntime.jsx(
19834
19834
  "div",
19835
19835
  {
@@ -19859,7 +19859,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19859
19859
  if (entry.kind === "folder") {
19860
19860
  const key = entry.path.join("/");
19861
19861
  return /* @__PURE__ */ jsxRuntime.jsx(
19862
- chunkOGJCEWME_cjs.FolderTile,
19862
+ chunk4XNP27N4_cjs.FolderTile,
19863
19863
  {
19864
19864
  folder: entry,
19865
19865
  density,
@@ -19882,7 +19882,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19882
19882
  }
19883
19883
  const doc = entry.doc;
19884
19884
  return /* @__PURE__ */ jsxRuntime.jsx(
19885
- chunkOGJCEWME_cjs.FileTile,
19885
+ chunk4XNP27N4_cjs.FileTile,
19886
19886
  {
19887
19887
  doc,
19888
19888
  density,
@@ -19890,7 +19890,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19890
19890
  dragging: activeDragId === doc.external_id,
19891
19891
  dndActive: activeDragId !== null,
19892
19892
  renaming: renamingId === doc.external_id,
19893
- canDelete: chunkAKR4JN6I_cjs.canDeleteDocument(doc, userId, role),
19893
+ canDelete: chunkJCFXS336_cjs.canDeleteDocument(doc, userId, role),
19894
19894
  thumbnailUrl: thumbnailsById.get(doc.external_id),
19895
19895
  modifiedBy: userById.get(
19896
19896
  doc.updated_by_ext_id ?? doc.created_by_ext_id
@@ -19919,9 +19919,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19919
19919
  )
19920
19920
  }
19921
19921
  ),
19922
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
19922
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
19923
19923
  isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
19924
- chunkAKR4JN6I_cjs.ExplorerDropOverlay,
19924
+ chunkJCFXS336_cjs.ExplorerDropOverlay,
19925
19925
  {
19926
19926
  label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
19927
19927
  }
@@ -19935,7 +19935,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19935
19935
  function DragPreview({ doc, count: count2 }) {
19936
19936
  const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type, folder: doc.folder });
19937
19937
  return /* @__PURE__ */ jsxRuntime.jsx(
19938
- chunkAKR4JN6I_cjs.ExplorerDragPreview,
19938
+ chunkJCFXS336_cjs.ExplorerDragPreview,
19939
19939
  {
19940
19940
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
19941
19941
  title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
@@ -20172,11 +20172,11 @@ function ConnectedProjectPage({
20172
20172
  figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
20173
20173
  threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
20174
20174
  };
20175
- const { project, usage, isLoading } = chunkPJTKXKDS_cjs.useProjectSummary(projectId);
20175
+ const { project, usage, isLoading } = chunk4I2PCP7O_cjs.useProjectSummary(projectId);
20176
20176
  const { workspaceId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
20177
20177
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
20178
- const selectWorkspace = chunkILATBO5Z_cjs.useSelectWorkspace();
20179
- const workspace = project ? chunkPJTKXKDS_cjs.primaryProjectWorkspace(project) : void 0;
20178
+ const selectWorkspace = chunk6ZZWQ3OL_cjs.useSelectWorkspace();
20179
+ const workspace = project ? chunk4I2PCP7O_cjs.primaryProjectWorkspace(project) : void 0;
20180
20180
  const open = !!workspace && workspace.id === workspaceId;
20181
20181
  react.useEffect(() => {
20182
20182
  if (!workspace || workspace.id === workspaceId) return;
@@ -20323,7 +20323,7 @@ function ConnectedProjectPage({
20323
20323
  ),
20324
20324
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4", children: [
20325
20325
  /* @__PURE__ */ jsxRuntime.jsx(
20326
- chunk3XCYPWC5_cjs.MetricCard,
20326
+ chunk2P7VH2SK_cjs.MetricCard,
20327
20327
  {
20328
20328
  label: labels.figures.documents,
20329
20329
  value: project.documentCount.toLocaleString(),
@@ -20332,7 +20332,7 @@ function ConnectedProjectPage({
20332
20332
  }
20333
20333
  ),
20334
20334
  /* @__PURE__ */ jsxRuntime.jsx(
20335
- chunk3XCYPWC5_cjs.MetricCard,
20335
+ chunk2P7VH2SK_cjs.MetricCard,
20336
20336
  {
20337
20337
  label: labels.figures.conversations,
20338
20338
  value: project.conversationCount.toLocaleString(),
@@ -20341,7 +20341,7 @@ function ConnectedProjectPage({
20341
20341
  }
20342
20342
  ),
20343
20343
  /* @__PURE__ */ jsxRuntime.jsx(
20344
- chunk3XCYPWC5_cjs.MetricCard,
20344
+ chunk2P7VH2SK_cjs.MetricCard,
20345
20345
  {
20346
20346
  label: labels.figures.members,
20347
20347
  value: project.memberCount,
@@ -20350,7 +20350,7 @@ function ConnectedProjectPage({
20350
20350
  }
20351
20351
  ),
20352
20352
  /* @__PURE__ */ jsxRuntime.jsx(
20353
- chunk3XCYPWC5_cjs.MetricCard,
20353
+ chunk2P7VH2SK_cjs.MetricCard,
20354
20354
  {
20355
20355
  label: labels.figures.spend,
20356
20356
  value: usage ? react$1.formatGbp(usage.total_spend) : "\u2014",
@@ -23083,10 +23083,10 @@ function ConnectedContactsPanel({
23083
23083
  function ConnectedConfigForm({ availableModels, ...rest }) {
23084
23084
  const hasModels = !!availableModels && availableModels.length > 0;
23085
23085
  const renderModelSelect = react.useCallback(
23086
- ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
23086
+ ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
23087
23087
  []
23088
23088
  );
23089
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
23089
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
23090
23090
  }
23091
23091
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
23092
23092
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
@@ -23203,7 +23203,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23203
23203
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
23204
23204
  if (editAgent) {
23205
23205
  return /* @__PURE__ */ jsxRuntime.jsx(
23206
- chunkH7AI54V2_cjs.AgentEditView,
23206
+ chunkCVVQHFLR_cjs.AgentEditView,
23207
23207
  {
23208
23208
  agentName: editAgent.name,
23209
23209
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -23219,7 +23219,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23219
23219
  }
23220
23220
  if (view === "main") {
23221
23221
  return /* @__PURE__ */ jsxRuntime.jsx(
23222
- chunkH7AI54V2_cjs.AgentMainView,
23222
+ chunkCVVQHFLR_cjs.AgentMainView,
23223
23223
  {
23224
23224
  onConnectExternal: () => setView("connect"),
23225
23225
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -23235,11 +23235,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23235
23235
  }
23236
23236
  if (result) {
23237
23237
  return /* @__PURE__ */ jsxRuntime.jsx(
23238
- chunkH7AI54V2_cjs.AgentCreatedView,
23238
+ chunkCVVQHFLR_cjs.AgentCreatedView,
23239
23239
  {
23240
23240
  email: result.email,
23241
23241
  signingKey: result.signingKey,
23242
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
23242
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
23243
23243
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
23244
23244
  isConfigOpen: configOpen,
23245
23245
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -23248,7 +23248,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23248
23248
  );
23249
23249
  }
23250
23250
  return /* @__PURE__ */ jsxRuntime.jsx(
23251
- chunkH7AI54V2_cjs.AgentCreateView,
23251
+ chunkCVVQHFLR_cjs.AgentCreateView,
23252
23252
  {
23253
23253
  name,
23254
23254
  onNameChange: setName,
@@ -23444,7 +23444,7 @@ function ConnectedNewThreadDialog({
23444
23444
  });
23445
23445
  const parentOptions = react.useMemo(() => {
23446
23446
  const leaf = { external_id: "__new__" };
23447
- return chunkH7AI54V2_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
23447
+ return chunkCVVQHFLR_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
23448
23448
  id: t.external_id,
23449
23449
  name: t.title?.trim() || "Untitled task"
23450
23450
  }));
@@ -23491,7 +23491,7 @@ function ConnectedNewThreadDialog({
23491
23491
  }
23492
23492
  };
23493
23493
  return /* @__PURE__ */ jsxRuntime.jsx(
23494
- chunkH7AI54V2_cjs.NewThreadDialog,
23494
+ chunkCVVQHFLR_cjs.NewThreadDialog,
23495
23495
  {
23496
23496
  open,
23497
23497
  onOpenChange,
@@ -23669,7 +23669,7 @@ function recentConversations(conversations) {
23669
23669
  return [...conversations].sort((a, b) => time2(b.updated_at) - time2(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
23670
23670
  id: c.external_id,
23671
23671
  title: c.title?.trim() || "Untitled thread",
23672
- subtitle: c.status ? [chunkH7AI54V2_cjs.STATUS_LABELS[chunkH7AI54V2_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"}`,
23672
+ subtitle: c.status ? [chunkCVVQHFLR_cjs.STATUS_LABELS[chunkCVVQHFLR_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"}`,
23673
23673
  time: timeAndDate(c.updated_at)
23674
23674
  }));
23675
23675
  }
@@ -23760,7 +23760,7 @@ function DocumentsUploadButton({
23760
23760
  [hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
23761
23761
  );
23762
23762
  return /* @__PURE__ */ jsxRuntime.jsx(
23763
- chunkAKR4JN6I_cjs.FilesAddMenu,
23763
+ chunkJCFXS336_cjs.FilesAddMenu,
23764
23764
  {
23765
23765
  items,
23766
23766
  isCompact,
@@ -23855,7 +23855,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
23855
23855
  addFiles: () => upload(),
23856
23856
  dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
23857
23857
  /* @__PURE__ */ jsxRuntime.jsx(
23858
- chunkAKR4JN6I_cjs.UrlInputDialog,
23858
+ chunkJCFXS336_cjs.UrlInputDialog,
23859
23859
  {
23860
23860
  open: urlDialogOpen,
23861
23861
  onOpenChange: setUrlDialogOpen,
@@ -24114,7 +24114,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
24114
24114
  var canWrite = ({ isMember, role }) => isMember && role !== "guest";
24115
24115
  var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
24116
24116
  function setDocumentSourceFilter(source) {
24117
- const { documentFilters, setDocumentFilters } = chunkMFZW4FEW_cjs.useFilesPrefs.getState();
24117
+ const { documentFilters, setDocumentFilters } = chunkB5BGVPQ5_cjs.useFilesPrefs.getState();
24118
24118
  setDocumentFilters({
24119
24119
  ...documentFilters,
24120
24120
  source_uploaded: source === "uploaded" ? "include" : null,
@@ -24126,9 +24126,9 @@ function createBuiltinActions(environment, session) {
24126
24126
  const startWorkflowOnDocuments = (workflowId) => {
24127
24127
  const { viewingDocument, selectedDocumentIds } = session.getState();
24128
24128
  const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
24129
- chunkH7AI54V2_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
24129
+ chunkCVVQHFLR_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
24130
24130
  };
24131
- const setFilesView = (mode) => () => chunkMFZW4FEW_cjs.useFilesPrefs.getState().setViewMode(mode);
24131
+ const setFilesView = (mode) => () => chunkB5BGVPQ5_cjs.useFilesPrefs.getState().setViewMode(mode);
24132
24132
  const actions = [
24133
24133
  {
24134
24134
  id: "goto-user-settings",
@@ -24193,7 +24193,7 @@ function createBuiltinActions(environment, session) {
24193
24193
  icon: "Files",
24194
24194
  keywords: ["download", "csv", "excel"],
24195
24195
  available: inWorkspace,
24196
- run: () => chunkMFZW4FEW_cjs.useFilesDialogs.getState().setExportOpen(true)
24196
+ run: () => chunkB5BGVPQ5_cjs.useFilesDialogs.getState().setExportOpen(true)
24197
24197
  },
24198
24198
  {
24199
24199
  id: "bulk-tag-documents",
@@ -24202,7 +24202,7 @@ function createBuiltinActions(environment, session) {
24202
24202
  icon: "Tags",
24203
24203
  keywords: ["labels", "categorize", "bulk tag"],
24204
24204
  available: inWorkspace,
24205
- run: () => chunkMFZW4FEW_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
24205
+ run: () => chunkB5BGVPQ5_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
24206
24206
  },
24207
24207
  {
24208
24208
  id: "move-to-folder",
@@ -24211,7 +24211,7 @@ function createBuiltinActions(environment, session) {
24211
24211
  icon: "FolderInput",
24212
24212
  keywords: ["organize", "relocate"],
24213
24213
  available: inWorkspace,
24214
- run: () => chunkMFZW4FEW_cjs.useFilesDialogs.getState().openMove()
24214
+ run: () => chunkB5BGVPQ5_cjs.useFilesDialogs.getState().openMove()
24215
24215
  },
24216
24216
  {
24217
24217
  id: "ai-review-documents",
@@ -24220,7 +24220,7 @@ function createBuiltinActions(environment, session) {
24220
24220
  icon: "Sparkles",
24221
24221
  keywords: ["auto tag", "analyze", "suggest tags"],
24222
24222
  available: inWorkspace,
24223
- run: () => chunkMFZW4FEW_cjs.useAiReviewStore.getState().setOpen(true)
24223
+ run: () => chunkB5BGVPQ5_cjs.useAiReviewStore.getState().setOpen(true)
24224
24224
  },
24225
24225
  {
24226
24226
  id: "docs-grid-view",
@@ -24688,7 +24688,7 @@ function ConnectedRemoteControlConsent() {
24688
24688
  }
24689
24689
  function ConsentPrompt() {
24690
24690
  const pending = react$1.useRemoteControl((s) => s.pending);
24691
- const remote = chunk6WWYH66F_cjs.useRemoteControlActions();
24691
+ const remote = chunkZ3N32LL4_cjs.useRemoteControlActions();
24692
24692
  const onceRef = react.useRef(null);
24693
24693
  chunkNZNBJF3M_cjs.useMountedSurface("consent");
24694
24694
  const handleOpenChange = (next) => {
@@ -24781,7 +24781,7 @@ function Indicator() {
24781
24781
  const enabled = react$1.useRemoteControl((s) => s.enabled);
24782
24782
  const sharing = react$1.useRemoteControl((s) => !!s.sharing);
24783
24783
  const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
24784
- const remote = chunk6WWYH66F_cjs.useRemoteControlActions();
24784
+ const remote = chunkZ3N32LL4_cjs.useRemoteControlActions();
24785
24785
  if (!enabled && !controllingAgent) return null;
24786
24786
  const isActive = controllingAgent !== null;
24787
24787
  const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
@@ -24827,7 +24827,7 @@ function AddFromAccountsButton({
24827
24827
  className: "gap-2",
24828
24828
  "data-testid": dataTestId,
24829
24829
  children: [
24830
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
24830
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
24831
24831
  "Add from accounts"
24832
24832
  ]
24833
24833
  }
@@ -24911,7 +24911,7 @@ function ConnectedUploadDropzone({
24911
24911
  const onFiles = browse(fileInputRef);
24912
24912
  const onFolder = browse(folderInputRef);
24913
24913
  const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
24914
- chunkAKR4JN6I_cjs.UploadDropArea,
24914
+ chunkJCFXS336_cjs.UploadDropArea,
24915
24915
  {
24916
24916
  isActive: dragActive,
24917
24917
  isDisabled: disabled,
@@ -24925,11 +24925,11 @@ function ConnectedUploadDropzone({
24925
24925
  onClick: (e) => {
24926
24926
  if (e.target === e.currentTarget) onFiles();
24927
24927
  },
24928
- actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
24928
+ actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
24929
24929
  }
24930
24930
  );
24931
24931
  const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
24932
- chunkAKR4JN6I_cjs.UrlInputDialog,
24932
+ chunkJCFXS336_cjs.UrlInputDialog,
24933
24933
  {
24934
24934
  onUrlsSubmit,
24935
24935
  processing: disabled,
@@ -24942,12 +24942,12 @@ function ConnectedUploadDropzone({
24942
24942
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
24943
24943
  dropTarget,
24944
24944
  compactLeadingAction,
24945
- onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
24945
+ onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
24946
24946
  ] });
24947
24947
  }
24948
24948
  if (!source) {
24949
24949
  return /* @__PURE__ */ jsxRuntime.jsx(
24950
- chunkAKR4JN6I_cjs.UploadSourcePicker,
24950
+ chunkJCFXS336_cjs.UploadSourcePicker,
24951
24951
  {
24952
24952
  isDisabled: disabled,
24953
24953
  options: [
@@ -24983,14 +24983,14 @@ function ConnectedUploadDropzone({
24983
24983
  }
24984
24984
  if (source === "computer") {
24985
24985
  return /* @__PURE__ */ jsxRuntime.jsxs(
24986
- chunkAKR4JN6I_cjs.UploadSourceSection,
24986
+ chunkJCFXS336_cjs.UploadSourceSection,
24987
24987
  {
24988
24988
  testId: "upload-source-computer",
24989
24989
  className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
24990
24990
  children: [
24991
24991
  dropTarget,
24992
24992
  /* @__PURE__ */ jsxRuntime.jsx(
24993
- chunkAKR4JN6I_cjs.UploadBrowseButtons,
24993
+ chunkJCFXS336_cjs.UploadBrowseButtons,
24994
24994
  {
24995
24995
  layout: "grid",
24996
24996
  onFiles,
@@ -25003,15 +25003,15 @@ function ConnectedUploadDropzone({
25003
25003
  );
25004
25004
  }
25005
25005
  if (source === "internet" && onUrlsSubmit) {
25006
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
25006
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
25007
25007
  }
25008
25008
  if (source === "email" && accounts) {
25009
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
25009
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
25010
25010
  }
25011
25011
  return null;
25012
25012
  })();
25013
25013
  return /* @__PURE__ */ jsxRuntime.jsxs(
25014
- chunkAKR4JN6I_cjs.UploadFrame,
25014
+ chunkJCFXS336_cjs.UploadFrame,
25015
25015
  {
25016
25016
  isCompact: compact,
25017
25017
  isDimmed: disabled || processingMessage !== null,
@@ -25072,7 +25072,7 @@ function EmptyWorkspaceUpload({
25072
25072
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
25073
25073
  }
25074
25074
  ),
25075
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.PrivacyExplainerModal, {})
25075
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.PrivacyExplainerModal, {})
25076
25076
  ] })
25077
25077
  }
25078
25078
  );
@@ -25179,9 +25179,9 @@ function useDocumentFilters({
25179
25179
  const { data: members = [] } = react$1.useWorkspaceUsers();
25180
25180
  const user = members.find((m) => m.user.external_id === currentUserId)?.user;
25181
25181
  const offlineIds = react$1.useOfflineDocumentIds();
25182
- const pendingFolders = chunkMFZW4FEW_cjs.usePendingFolders(selectedWorkspaceId);
25183
- const persistedDocumentFilters = chunkMFZW4FEW_cjs.useFilesPrefs((state) => state.documentFilters);
25184
- const setPersistedDocumentFilters = chunkMFZW4FEW_cjs.useFilesPrefs((state) => state.setDocumentFilters);
25182
+ const pendingFolders = chunkB5BGVPQ5_cjs.usePendingFolders(selectedWorkspaceId);
25183
+ const persistedDocumentFilters = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => state.documentFilters);
25184
+ const setPersistedDocumentFilters = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => state.setDocumentFilters);
25185
25185
  const folderTree = react.useMemo(() => {
25186
25186
  const allPaths = /* @__PURE__ */ new Set();
25187
25187
  let hasUnfiled = false;
@@ -25402,7 +25402,7 @@ function useDocumentFilters({
25402
25402
  {
25403
25403
  id: "uploaded_by_me",
25404
25404
  label: "Uploaded by me",
25405
- icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkOGJCEWME_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
25405
+ icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunk4XNP27N4_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
25406
25406
  count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
25407
25407
  },
25408
25408
  {
@@ -25523,7 +25523,7 @@ function useDocumentFilters({
25523
25523
  const folderPath = react.useMemo(() => {
25524
25524
  for (const [key, state] of documentFilters) {
25525
25525
  if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
25526
- return chunkAKR4JN6I_cjs.parseFolderSegments(key.slice("folder:".length));
25526
+ return chunkJCFXS336_cjs.parseFolderSegments(key.slice("folder:".length));
25527
25527
  }
25528
25528
  }
25529
25529
  return [];
@@ -25532,7 +25532,7 @@ function useDocumentFilters({
25532
25532
  (path) => {
25533
25533
  const next = new Map(documentFilters);
25534
25534
  for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
25535
- const joined = chunkAKR4JN6I_cjs.joinFolderPath(path);
25535
+ const joined = chunkJCFXS336_cjs.joinFolderPath(path);
25536
25536
  if (joined) next.set(`folder:${joined}`, "include");
25537
25537
  setDocumentFilters(next);
25538
25538
  },
@@ -28115,7 +28115,7 @@ function ConnectedMailbox({
28115
28115
  onTabChange: () => {
28116
28116
  },
28117
28117
  compactBreakpoint: 360,
28118
- firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesFilterBar, { children: [
28118
+ firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesFilterBar, { children: [
28119
28119
  /* @__PURE__ */ jsxRuntime.jsx(
28120
28120
  chunk6UZC4XVV_cjs.FilterInput,
28121
28121
  {
@@ -28150,7 +28150,7 @@ function ConnectedMailbox({
28150
28150
  }
28151
28151
  ),
28152
28152
  folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
28153
- chunkAKR4JN6I_cjs.FolderFilterButton,
28153
+ chunkJCFXS336_cjs.FolderFilterButton,
28154
28154
  {
28155
28155
  label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
28156
28156
  isActive: false,
@@ -28158,7 +28158,7 @@ function ConnectedMailbox({
28158
28158
  onOpenChange: setFolderMenuOpen,
28159
28159
  testId: "mail-folder-button",
28160
28160
  children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
28161
- chunkAKR4JN6I_cjs.FolderPickerRow,
28161
+ chunkJCFXS336_cjs.FolderPickerRow,
28162
28162
  {
28163
28163
  label: item.name,
28164
28164
  count: item.unread > 0 ? item.unread : void 0,
@@ -28672,7 +28672,7 @@ function ConnectedSecureMailClaimPage({
28672
28672
  }) {
28673
28673
  const authenticated = react$1.useArbiSession().status === "signed-in";
28674
28674
  const { openMail } = chunk46LX6EQT_cjs.useBlocksEnvironment();
28675
- const { loading } = chunk6WWYH66F_cjs.useAuthPages();
28675
+ const { loading } = chunkZ3N32LL4_cjs.useAuthPages();
28676
28676
  const claim = react$1.useClaimSecureMail();
28677
28677
  const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
28678
28678
  const [failure, setFailure] = react.useState(null);
@@ -28712,7 +28712,7 @@ function ConnectedSecureMailClaimPage({
28712
28712
  }
28713
28713
  })();
28714
28714
  }, [authenticated, claimId, key]);
28715
- if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { variant: "splash" }) });
28715
+ if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { variant: "splash" }) });
28716
28716
  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: [
28717
28717
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
28718
28718
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -31867,7 +31867,7 @@ function ProcessingSettingsFooter({
31867
31867
  [configField]
31868
31868
  );
31869
31869
  return /* @__PURE__ */ jsxRuntime.jsx(
31870
- chunkAKR4JN6I_cjs.UploadFooterBar,
31870
+ chunkJCFXS336_cjs.UploadFooterBar,
31871
31871
  {
31872
31872
  skipDuplicates,
31873
31873
  onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
@@ -31876,7 +31876,7 @@ function ProcessingSettingsFooter({
31876
31876
  autoRenameInstruction,
31877
31877
  onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
31878
31878
  shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
31879
- chunkAKR4JN6I_cjs.ShareToggle,
31879
+ chunkJCFXS336_cjs.ShareToggle,
31880
31880
  {
31881
31881
  isVisible: isShared,
31882
31882
  onToggle: onSharedChange,
@@ -32053,7 +32053,7 @@ ${summary}`,
32053
32053
  }
32054
32054
  );
32055
32055
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
32056
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
32056
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
32057
32057
  files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
32058
32058
  ConnectedUploadDropzone,
32059
32059
  {
@@ -32069,7 +32069,7 @@ ${summary}`,
32069
32069
  }
32070
32070
  ),
32071
32071
  /* @__PURE__ */ jsxRuntime.jsx(
32072
- chunkAKR4JN6I_cjs.SelectedFilesList,
32072
+ chunkJCFXS336_cjs.SelectedFilesList,
32073
32073
  {
32074
32074
  renderFileIcon,
32075
32075
  files,
@@ -32078,10 +32078,10 @@ ${summary}`,
32078
32078
  formatFileSize: formatFileSize4
32079
32079
  }
32080
32080
  ),
32081
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
32082
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadErrorMessage, { message: error })
32083
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
32084
- chunkAKR4JN6I_cjs.UploadProgress,
32081
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
32082
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadErrorMessage, { message: error })
32083
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
32084
+ chunkJCFXS336_cjs.UploadProgress,
32085
32085
  {
32086
32086
  fileCount: count2,
32087
32087
  entityLabel: plural5(count2),
@@ -32243,14 +32243,14 @@ function NativeMailImportSection({
32243
32243
  ),
32244
32244
  onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
32245
32245
  });
32246
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
32247
- chunkAKR4JN6I_cjs.ImportRow,
32246
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
32247
+ chunkJCFXS336_cjs.ImportRow,
32248
32248
  {
32249
32249
  testId: "email-provider-row-native",
32250
32250
  logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
32251
32251
  name: NATIVE_MAILBOX_SOURCE.display_name,
32252
32252
  actions: /* @__PURE__ */ jsxRuntime.jsx(
32253
- chunkAKR4JN6I_cjs.ImportRunActions,
32253
+ chunkJCFXS336_cjs.ImportRunActions,
32254
32254
  {
32255
32255
  isRunning: false,
32256
32256
  isBusy: fileNow.isPending,
@@ -32264,10 +32264,10 @@ function NativeMailImportSection({
32264
32264
  ),
32265
32265
  children: [
32266
32266
  here && /* @__PURE__ */ jsxRuntime.jsxs(
32267
- chunkAKR4JN6I_cjs.ImportSummary,
32267
+ chunkJCFXS336_cjs.ImportSummary,
32268
32268
  {
32269
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32270
- chunkAKR4JN6I_cjs.FolderSummary,
32269
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32270
+ chunkJCFXS336_cjs.FolderSummary,
32271
32271
  {
32272
32272
  names: here.folders.map(
32273
32273
  (id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
@@ -32309,7 +32309,7 @@ var PROVIDER_FAMILIES = [
32309
32309
  { key: "google", label: "Google", vendors: ["gmail"] }
32310
32310
  ];
32311
32311
  function VendorGlyph({ catalog }) {
32312
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
32312
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
32313
32313
  }
32314
32314
  function mailboxProductName(catalog) {
32315
32315
  if (catalog.vendor_key === "microsoft") return "Outlook";
@@ -32377,7 +32377,7 @@ function EmailProviderRow({
32377
32377
  const emailNoun = (n) => n === 1 ? "email" : "emails";
32378
32378
  const syncedCount = thisSync?.synced_count ?? 0;
32379
32379
  return /* @__PURE__ */ jsxRuntime.jsxs(
32380
- chunkAKR4JN6I_cjs.ImportRow,
32380
+ chunkJCFXS336_cjs.ImportRow,
32381
32381
  {
32382
32382
  testId: `email-provider-row-${catalog.vendor_key}`,
32383
32383
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
@@ -32386,7 +32386,7 @@ function EmailProviderRow({
32386
32386
  // Connecting AND reconnecting are owned by the family header, so a
32387
32387
  // not-connected or needs-reconnect row shows no button of its own.
32388
32388
  !isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
32389
- chunkAKR4JN6I_cjs.ImportRunActions,
32389
+ chunkJCFXS336_cjs.ImportRunActions,
32390
32390
  {
32391
32391
  isRunning: running,
32392
32392
  isStopping: cancelSync.isPending,
@@ -32402,10 +32402,10 @@ function EmailProviderRow({
32402
32402
  ),
32403
32403
  children: [
32404
32404
  isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
32405
- chunkAKR4JN6I_cjs.ImportSummary,
32405
+ chunkJCFXS336_cjs.ImportSummary,
32406
32406
  {
32407
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32408
- chunkAKR4JN6I_cjs.FolderSummary,
32407
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32408
+ chunkJCFXS336_cjs.FolderSummary,
32409
32409
  {
32410
32410
  names: thisSync.folders.map(
32411
32411
  (id) => mailboxFolders?.find((f) => f.id === id)?.name
@@ -32429,7 +32429,7 @@ function EmailProviderRow({
32429
32429
  }
32430
32430
  ),
32431
32431
  running && /* @__PURE__ */ jsxRuntime.jsx(
32432
- chunkAKR4JN6I_cjs.ImportProgress,
32432
+ chunkJCFXS336_cjs.ImportProgress,
32433
32433
  {
32434
32434
  processed: progress?.processed ?? 0,
32435
32435
  total: progress?.total,
@@ -32547,11 +32547,11 @@ function EmailImportPanel({
32547
32547
  return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
32548
32548
  }).filter((g) => g.entries.length > 0 || g.extra);
32549
32549
  if (!ownMailbox && groups.length === 0) return null;
32550
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
32550
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
32551
32551
  ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
32552
32552
  groups.map(
32553
32553
  ({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
32554
- chunkAKR4JN6I_cjs.ImportFamilySection,
32554
+ chunkJCFXS336_cjs.ImportFamilySection,
32555
32555
  {
32556
32556
  label: family.label,
32557
32557
  identity,
@@ -32560,7 +32560,7 @@ function EmailImportPanel({
32560
32560
  onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
32561
32561
  testId: `import-family-${family.key}`,
32562
32562
  actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
32563
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportList, { children: [
32563
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportList, { children: [
32564
32564
  entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
32565
32565
  EmailProviderRow,
32566
32566
  {
@@ -32645,7 +32645,7 @@ function driveProduct(vendorKey) {
32645
32645
  }
32646
32646
  function VendorGlyph2({ catalog }) {
32647
32647
  return /* @__PURE__ */ jsxRuntime.jsx(
32648
- chunkAKR4JN6I_cjs.VendorLogo,
32648
+ chunkJCFXS336_cjs.VendorLogo,
32649
32649
  {
32650
32650
  vendorKey: catalog.vendor_key,
32651
32651
  product: driveProduct(catalog.vendor_key).glyph,
@@ -32768,7 +32768,7 @@ function OneDriveProviderRow({
32768
32768
  const driveNoun = (n) => n === 1 ? "document" : "documents";
32769
32769
  const showRunActions = isConnected && !needsReconnect;
32770
32770
  const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
32771
- chunkAKR4JN6I_cjs.ImportActionButton,
32771
+ chunkJCFXS336_cjs.ImportActionButton,
32772
32772
  {
32773
32773
  onClick: () => void reconnectSelf(),
32774
32774
  disabled: reauthPending,
@@ -32777,7 +32777,7 @@ function OneDriveProviderRow({
32777
32777
  }
32778
32778
  ) : null;
32779
32779
  return /* @__PURE__ */ jsxRuntime.jsxs(
32780
- chunkAKR4JN6I_cjs.ImportRow,
32780
+ chunkJCFXS336_cjs.ImportRow,
32781
32781
  {
32782
32782
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
32783
32783
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
@@ -32789,7 +32789,7 @@ function OneDriveProviderRow({
32789
32789
  // Until folders are configured here (or when nothing new is pending), Import now
32790
32790
  // stays disabled; the gear opens the folder picker.
32791
32791
  /* @__PURE__ */ jsxRuntime.jsx(
32792
- chunkAKR4JN6I_cjs.ImportRunActions,
32792
+ chunkJCFXS336_cjs.ImportRunActions,
32793
32793
  {
32794
32794
  isRunning: running,
32795
32795
  isStopping: cancelSync.isPending,
@@ -32808,16 +32808,16 @@ function OneDriveProviderRow({
32808
32808
  ) : reconnectAction
32809
32809
  ),
32810
32810
  children: [
32811
- ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
32811
+ ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
32812
32812
  "Couldn\u2019t reach SharePoint. Click ",
32813
32813
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
32814
32814
  " \u2014 if it keeps happening, log out and back in to refresh the connection."
32815
32815
  ] }),
32816
32816
  configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
32817
- chunkAKR4JN6I_cjs.ImportSummary,
32817
+ chunkJCFXS336_cjs.ImportSummary,
32818
32818
  {
32819
32819
  className: "mt-2",
32820
- aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_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,
32820
+ aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_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,
32821
32821
  children: [
32822
32822
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
32823
32823
  "Syncing ",
@@ -32845,7 +32845,7 @@ function OneDriveProviderRow({
32845
32845
  }
32846
32846
  ),
32847
32847
  running && /* @__PURE__ */ jsxRuntime.jsx(
32848
- chunkAKR4JN6I_cjs.ImportProgress,
32848
+ chunkJCFXS336_cjs.ImportProgress,
32849
32849
  {
32850
32850
  processed: progress?.processed ?? 0,
32851
32851
  total: progress?.total,
@@ -32909,13 +32909,13 @@ function SharePointEnableRow({
32909
32909
  }
32910
32910
  };
32911
32911
  return /* @__PURE__ */ jsxRuntime.jsx(
32912
- chunkAKR4JN6I_cjs.ImportRow,
32912
+ chunkJCFXS336_cjs.ImportRow,
32913
32913
  {
32914
32914
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
32915
- logo: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
32915
+ logo: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
32916
32916
  name: product.name,
32917
32917
  actions: /* @__PURE__ */ jsxRuntime.jsx(
32918
- chunkAKR4JN6I_cjs.ImportActionButton,
32918
+ chunkJCFXS336_cjs.ImportActionButton,
32919
32919
  {
32920
32920
  onClick: () => void enable(),
32921
32921
  disabled: pending,
@@ -32923,7 +32923,7 @@ function SharePointEnableRow({
32923
32923
  children: pending ? "Enabling\u2026" : `Enable ${product.name}`
32924
32924
  }
32925
32925
  ),
32926
- children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportHint, { children: [
32926
+ children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportHint, { children: [
32927
32927
  "Does your organization require admin approval?",
32928
32928
  " ",
32929
32929
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -32972,11 +32972,11 @@ function DriveImportPanel({
32972
32972
  }
32973
32973
  const product = driveProduct(entry.vendor_key);
32974
32974
  return /* @__PURE__ */ jsxRuntime.jsx(
32975
- chunkAKR4JN6I_cjs.ImportRow,
32975
+ chunkJCFXS336_cjs.ImportRow,
32976
32976
  {
32977
32977
  testId: `onedrive-provider-row-${entry.vendor_key}`,
32978
32978
  logo: /* @__PURE__ */ jsxRuntime.jsx(
32979
- chunkAKR4JN6I_cjs.VendorLogo,
32979
+ chunkJCFXS336_cjs.VendorLogo,
32980
32980
  {
32981
32981
  vendorKey: entry.vendor_key,
32982
32982
  product: product.glyph,
@@ -33001,7 +33001,7 @@ function DriveImportPanel({
33001
33001
  );
33002
33002
  }).filter(Boolean);
33003
33003
  if (rows.length === 0) return null;
33004
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
33004
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
33005
33005
  }
33006
33006
  function useHasAccountsImport() {
33007
33007
  const isVendorVisible = react$1.useConnectorVendorVisibility();
@@ -33217,7 +33217,7 @@ function DocumentNameCellRenderer(params) {
33217
33217
  if (!doc) return null;
33218
33218
  const context = params.context;
33219
33219
  return /* @__PURE__ */ jsxRuntime.jsx(
33220
- chunkOGJCEWME_cjs.DocumentNameCell,
33220
+ chunk4XNP27N4_cjs.DocumentNameCell,
33221
33221
  {
33222
33222
  doc,
33223
33223
  canEdit: canEdit(params),
@@ -33235,7 +33235,7 @@ function DocumentNameCellRenderer(params) {
33235
33235
  function SharedCellRenderer(params) {
33236
33236
  if (!params.data) return null;
33237
33237
  return /* @__PURE__ */ jsxRuntime.jsx(
33238
- chunkOGJCEWME_cjs.DocumentSharedCell,
33238
+ chunk4XNP27N4_cjs.DocumentSharedCell,
33239
33239
  {
33240
33240
  document: params.data,
33241
33241
  disabled: !params.canToggle(params),
@@ -33248,7 +33248,7 @@ function StatusCellRenderer(params) {
33248
33248
  if (!params.data) return null;
33249
33249
  const context = params.context;
33250
33250
  return /* @__PURE__ */ jsxRuntime.jsx(
33251
- chunkOGJCEWME_cjs.StatusCell,
33251
+ chunk4XNP27N4_cjs.StatusCell,
33252
33252
  {
33253
33253
  doc: params.data,
33254
33254
  onStatusClick: params.onStatusClick,
@@ -33260,7 +33260,7 @@ function LabelsCellRenderer(params) {
33260
33260
  if (!params.data) return null;
33261
33261
  const context = params.context;
33262
33262
  return /* @__PURE__ */ jsxRuntime.jsx(
33263
- chunkOGJCEWME_cjs.DocumentLabelsCell,
33263
+ chunk4XNP27N4_cjs.DocumentLabelsCell,
33264
33264
  {
33265
33265
  doc: params.data,
33266
33266
  labels: params.labels,
@@ -33280,7 +33280,7 @@ function RelatedDocsCellRenderer(params) {
33280
33280
  if (!related || react$1.getRelatedTotal(related) === 0) return null;
33281
33281
  const { onOpenDocument, onDeleteDocument } = params;
33282
33282
  return /* @__PURE__ */ jsxRuntime.jsx(
33283
- chunkOGJCEWME_cjs.RelatedDocumentsCell,
33283
+ chunk4XNP27N4_cjs.RelatedDocumentsCell,
33284
33284
  {
33285
33285
  currentDoc: params.data,
33286
33286
  related,
@@ -33295,7 +33295,7 @@ function FolderCellRenderer(params) {
33295
33295
  if (!params.data) return null;
33296
33296
  const context = params.context;
33297
33297
  return /* @__PURE__ */ jsxRuntime.jsx(
33298
- chunkOGJCEWME_cjs.DocumentFolderCell,
33298
+ chunk4XNP27N4_cjs.DocumentFolderCell,
33299
33299
  {
33300
33300
  document: params.data,
33301
33301
  isEditable: params.canEdit(params),
@@ -33309,7 +33309,7 @@ function CreatedByCellRenderer(params) {
33309
33309
  const context = params.context;
33310
33310
  const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
33311
33311
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
33312
- chunkOGJCEWME_cjs.UserAvatar,
33312
+ chunk4XNP27N4_cjs.UserAvatar,
33313
33313
  {
33314
33314
  user: creator,
33315
33315
  isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
@@ -33322,7 +33322,7 @@ function CheckboxCellRenderer(params) {
33322
33322
  if (!params.data) return null;
33323
33323
  const isChecked = params.value === true;
33324
33324
  return /* @__PURE__ */ jsxRuntime.jsx(
33325
- chunkAKR4JN6I_cjs.CheckboxCell,
33325
+ chunkJCFXS336_cjs.CheckboxCell,
33326
33326
  {
33327
33327
  isChecked,
33328
33328
  color: tagColor,
@@ -33342,13 +33342,13 @@ function TagHeaderComponent(params) {
33342
33342
  return () => params.column.removeEventListener("sortChanged", updateSort);
33343
33343
  }, [params.column]);
33344
33344
  return /* @__PURE__ */ jsxRuntime.jsx(
33345
- chunkAKR4JN6I_cjs.TagColumnHeader,
33345
+ chunkJCFXS336_cjs.TagColumnHeader,
33346
33346
  {
33347
33347
  isCentered: isCheckbox,
33348
33348
  sort,
33349
33349
  onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
33350
- filter: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilterButton, { params, colId: tag.external_id }),
33351
- label: /* @__PURE__ */ jsxRuntime.jsx(chunkJMBAUHI7_cjs.ConnectedTagEntity, { tag, size: "sm" })
33350
+ filter: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilterButton, { params, colId: tag.external_id }),
33351
+ label: /* @__PURE__ */ jsxRuntime.jsx(chunkZCQXQIBA_cjs.ConnectedTagEntity, { tag, size: "sm" })
33352
33352
  }
33353
33353
  );
33354
33354
  }
@@ -33433,7 +33433,7 @@ function createTagColumn({
33433
33433
  tagColor,
33434
33434
  isMember
33435
33435
  } : void 0,
33436
- cellEditor: isSelect ? chunkAKR4JN6I_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
33436
+ cellEditor: isSelect ? chunkJCFXS336_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
33437
33437
  cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
33438
33438
  cellEditorPopup: isText || isSelect,
33439
33439
  // Text and Select tags use popup editor for better UX
@@ -33553,8 +33553,8 @@ function createDocumentColumns({
33553
33553
  onShareDocument,
33554
33554
  notify: notify19
33555
33555
  }) {
33556
- const isRowEditableByOwner = (params) => chunkAKR4JN6I_cjs.canChangeVisibility(params.data, currentUserExtId);
33557
- const isRowEditableByMember = (params) => chunkAKR4JN6I_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
33556
+ const isRowEditableByOwner = (params) => chunkJCFXS336_cjs.canChangeVisibility(params.data, currentUserExtId);
33557
+ const isRowEditableByMember = (params) => chunkJCFXS336_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
33558
33558
  const checkboxTags = availableTags.filter(browser.isLabelTag);
33559
33559
  const allColumns = [];
33560
33560
  allColumns.push({
@@ -33646,7 +33646,7 @@ function createDocumentColumns({
33646
33646
  cellRenderer: DocumentNameCellRenderer,
33647
33647
  cellRendererParams: {
33648
33648
  canEdit: isRowEditableByMember,
33649
- canDelete: (params) => chunkAKR4JN6I_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
33649
+ canDelete: (params) => chunkJCFXS336_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
33650
33650
  onOpenDocument: handleToggleDocumentViewer,
33651
33651
  onReviewDocument,
33652
33652
  onDocumentChat,
@@ -33678,7 +33678,7 @@ function createDocumentColumns({
33678
33678
  singleClickEdit: true,
33679
33679
  cellEditor: "agSelectCellEditor",
33680
33680
  cellEditorParams: {
33681
- values: [...chunkAKR4JN6I_cjs.DOCUMENT_TYPE_OPTIONS]
33681
+ values: [...chunkJCFXS336_cjs.DOCUMENT_TYPE_OPTIONS]
33682
33682
  },
33683
33683
  context: { icon: lucideReact.Sparkles },
33684
33684
  valueGetter: (params) => ui.getDocumentNature(params.data) || "",
@@ -34216,7 +34216,7 @@ function useDocumentTable({
34216
34216
  }
34217
34217
  const stabilizedTagIds = prevTagIdsRef.current;
34218
34218
  const stabilizedTagNames = prevTagNamesRef.current;
34219
- const defaultVisibleColumns = react.useMemo(() => [...chunkAKR4JN6I_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
34219
+ const defaultVisibleColumns = react.useMemo(() => [...chunkJCFXS336_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
34220
34220
  const confirmRef = react.useRef(confirm);
34221
34221
  confirmRef.current = confirm;
34222
34222
  const shareDocument = react.useCallback(async (docId) => {
@@ -34464,7 +34464,7 @@ function ConnectedFilesBulkActions({
34464
34464
  const actions = react$1.useDocumentHostActions();
34465
34465
  const isOnline = documentTools.useIsOnline();
34466
34466
  const { userId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
34467
- const { role } = chunkMH7P5FEK_cjs.useConnectedWorkspaceRole();
34467
+ const { role } = chunkFCT62ZPE_cjs.useConnectedWorkspaceRole();
34468
34468
  const offlineIds = react$1.useOfflineDocumentIds();
34469
34469
  const keepOffline = react$1.useKeepDocumentsOffline();
34470
34470
  const removeOffline = react$1.useRemoveDocumentsOffline();
@@ -34473,9 +34473,9 @@ function ConnectedFilesBulkActions({
34473
34473
  const bulk = useDocumentBulkActions(selectedDocuments);
34474
34474
  const count2 = selectedDocuments.length;
34475
34475
  const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
34476
- const shareState = chunkAKR4JN6I_cjs.shareStateOf(bulk.freshSelectedDocuments);
34476
+ const shareState = chunkJCFXS336_cjs.shareStateOf(bulk.freshSelectedDocuments);
34477
34477
  const canDelete = bulk.freshSelectedDocuments.every(
34478
- (doc) => chunkAKR4JN6I_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
34478
+ (doc) => chunkJCFXS336_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
34479
34479
  );
34480
34480
  const [confirming, setConfirming] = react.useState(null);
34481
34481
  const allOffline = count2 > 0 && selectedDocuments.every((doc) => offlineIds.has(doc.external_id));
@@ -34487,7 +34487,7 @@ function ConnectedFilesBulkActions({
34487
34487
  const { openDocumentsChat, openFieldsManager } = actions;
34488
34488
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
34489
34489
  /* @__PURE__ */ jsxRuntime.jsx(
34490
- chunkAKR4JN6I_cjs.BulkActionsBar,
34490
+ chunkJCFXS336_cjs.BulkActionsBar,
34491
34491
  {
34492
34492
  count: count2,
34493
34493
  onClear: onClearSelection,
@@ -34512,7 +34512,7 @@ function ConnectedFilesBulkActions({
34512
34512
  isOfflinePending: offlinePending,
34513
34513
  onDelete: canDelete ? () => setConfirming("delete") : void 0,
34514
34514
  shareState,
34515
- shareTooltip: chunkAKR4JN6I_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
34515
+ shareTooltip: chunkJCFXS336_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
34516
34516
  onShare: () => void bulk.share()
34517
34517
  }
34518
34518
  ),
@@ -34527,7 +34527,7 @@ function ConnectedFilesBulkActions({
34527
34527
  onClearSelection();
34528
34528
  },
34529
34529
  title: `Delete ${count2} ${noun}`,
34530
- description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT : chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
34530
+ description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkJCFXS336_cjs.RECENTLY_DELETED_HINT : chunkJCFXS336_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
34531
34531
  confirmText: "Delete",
34532
34532
  variant: "destructive"
34533
34533
  }
@@ -34775,7 +34775,7 @@ function useAiReviewLiveUpdates() {
34775
34775
  if (message.batch_type !== "doctag_generate") return;
34776
34776
  const docIds = message.doc_ext_ids ?? [];
34777
34777
  if (!docIds.length) return;
34778
- void refreshDocuments(docIds).then(() => chunkMFZW4FEW_cjs.useAiReviewStore.getState().markFinished(docIds));
34778
+ void refreshDocuments(docIds).then(() => chunkB5BGVPQ5_cjs.useAiReviewStore.getState().markFinished(docIds));
34779
34779
  dropQueuedRows(docIds);
34780
34780
  });
34781
34781
  }
@@ -34821,7 +34821,7 @@ function useBatchCompleteToasts() {
34821
34821
  timer.current = null;
34822
34822
  const runs = pending.current;
34823
34823
  pending.current = /* @__PURE__ */ new Map();
34824
- const hasReview = !!chunkMFZW4FEW_cjs.useAiReviewStore.getState().run;
34824
+ const hasReview = !!chunkB5BGVPQ5_cjs.useAiReviewStore.getState().run;
34825
34825
  for (const [id, entry] of runs) {
34826
34826
  const n = entry.docIds.size;
34827
34827
  notify19(
@@ -34834,7 +34834,7 @@ function useBatchCompleteToasts() {
34834
34834
  ...hasReview && {
34835
34835
  action: {
34836
34836
  label: "View results",
34837
- onClick: () => chunkMFZW4FEW_cjs.useAiReviewStore.getState().setOpen(true)
34837
+ onClick: () => chunkB5BGVPQ5_cjs.useAiReviewStore.getState().setOpen(true)
34838
34838
  }
34839
34839
  }
34840
34840
  }
@@ -34842,7 +34842,7 @@ function useBatchCompleteToasts() {
34842
34842
  }
34843
34843
  }, AI_FIELDS_NOTICE_WINDOW_MS);
34844
34844
  } else if (message.batch_type === "entity_extract") {
34845
- say(`${chunkWPUEGDBE_cjs.entitiesPhrase()} extracted from ${chunkWPUEGDBE_cjs.documentCount(docIds.length)}`, "success", {
34845
+ say(`${chunkWUM76MJU_cjs.entitiesPhrase()} extracted from ${chunkWUM76MJU_cjs.documentCount(docIds.length)}`, "success", {
34846
34846
  ...openTags && { action: { label: "View", onClick: openTags } }
34847
34847
  });
34848
34848
  } else if (message.batch_type === "upload") {
@@ -34881,12 +34881,12 @@ function ConnectedMoveToFolder({
34881
34881
  setIsSubmitting(true);
34882
34882
  try {
34883
34883
  if (folderToMove) {
34884
- const docsInFolder = chunkAKR4JN6I_cjs.collectFolderDocs(allDocs, folderToMove.path);
34884
+ const docsInFolder = chunkJCFXS336_cjs.collectFolderDocs(allDocs, folderToMove.path);
34885
34885
  if (docsInFolder.length === 0) {
34886
34886
  onClose();
34887
34887
  return;
34888
34888
  }
34889
- const newPrefixSegments = targetFolder ? [...chunkAKR4JN6I_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
34889
+ const newPrefixSegments = targetFolder ? [...chunkJCFXS336_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
34890
34890
  await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
34891
34891
  const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
34892
34892
  notify19(`Moved folder to ${dest}`, "success");
@@ -34911,9 +34911,9 @@ function ConnectedMoveToFolder({
34911
34911
  }
34912
34912
  };
34913
34913
  const isFolderMode = !!folderToMove;
34914
- const folders = chunkOGJCEWME_cjs.useDocumentFolders(allDocs, targetFolder);
34914
+ const folders = chunk4XNP27N4_cjs.useDocumentFolders(allDocs, targetFolder);
34915
34915
  return /* @__PURE__ */ jsxRuntime.jsx(
34916
- chunkAKR4JN6I_cjs.MoveToFolderDialog,
34916
+ chunkJCFXS336_cjs.MoveToFolderDialog,
34917
34917
  {
34918
34918
  open: isOpen,
34919
34919
  onClose,
@@ -34923,7 +34923,7 @@ function ConnectedMoveToFolder({
34923
34923
  isSubmitting,
34924
34924
  onConfirm: handleMove,
34925
34925
  children: /* @__PURE__ */ jsxRuntime.jsx(
34926
- chunkAKR4JN6I_cjs.FolderCommandList,
34926
+ chunkJCFXS336_cjs.FolderCommandList,
34927
34927
  {
34928
34928
  folders,
34929
34929
  value: targetFolder,
@@ -35151,7 +35151,7 @@ function ConnectedBulkTagEditor({
35151
35151
  const isClearing = change?.action === "remove";
35152
35152
  return {
35153
35153
  id: tag.external_id,
35154
- badge: /* @__PURE__ */ jsxRuntime.jsx(chunkJMBAUHI7_cjs.ConnectedTagEntity, { tag, size: "md" }),
35154
+ badge: /* @__PURE__ */ jsxRuntime.jsx(chunkZCQXQIBA_cjs.ConnectedTagEntity, { tag, size: "md" }),
35155
35155
  type: tag.tag_type.type,
35156
35156
  color: ui.getEntityColor(tag.external_id, "medium"),
35157
35157
  options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
@@ -35183,7 +35183,7 @@ function ConnectedBulkTagEditor({
35183
35183
  const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
35184
35184
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
35185
35185
  /* @__PURE__ */ jsxRuntime.jsx(
35186
- chunkAKR4JN6I_cjs.BulkTagEditorDialog,
35186
+ chunkJCFXS336_cjs.BulkTagEditorDialog,
35187
35187
  {
35188
35188
  open,
35189
35189
  onClose,
@@ -35241,7 +35241,7 @@ function ConnectedBulkTagEditor({
35241
35241
  }
35242
35242
  ),
35243
35243
  /* @__PURE__ */ jsxRuntime.jsx(
35244
- chunkAKR4JN6I_cjs.BulkReplaceDialog,
35244
+ chunkJCFXS336_cjs.BulkReplaceDialog,
35245
35245
  {
35246
35246
  open: showGenerateConfirmation,
35247
35247
  onClose: () => setShowGenerateConfirmation(false),
@@ -35337,7 +35337,7 @@ function useTableViews(table) {
35337
35337
  function useViewWrites(savedViews, saveView, deleteView, shareView) {
35338
35338
  const { confirm, notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
35339
35339
  const nameOf = react.useCallback(
35340
- (key) => savedViews.find((v) => chunkAKR4JN6I_cjs.viewKey(v) === key)?.name ?? key,
35340
+ (key) => savedViews.find((v) => chunkJCFXS336_cjs.viewKey(v) === key)?.name ?? key,
35341
35341
  [savedViews]
35342
35342
  );
35343
35343
  const onSaveView = react.useCallback(
@@ -35409,7 +35409,7 @@ function ViewSelector({
35409
35409
  columns: defaultColumns,
35410
35410
  icon: lucideReact.Table,
35411
35411
  // Both built-ins load at the minimal (compact) row height.
35412
- rowHeight: chunkAKR4JN6I_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35412
+ rowHeight: chunkJCFXS336_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35413
35413
  // [] = loading this view unpins everything.
35414
35414
  pinnedLeft: []
35415
35415
  },
@@ -35420,15 +35420,15 @@ function ViewSelector({
35420
35420
  // batch-select checkbox and Title stay fixed left while scrolling.
35421
35421
  columns: defaultColumns,
35422
35422
  icon: lucideReact.Columns3,
35423
- rowHeight: chunkAKR4JN6I_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35423
+ rowHeight: chunkJCFXS336_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35424
35424
  pinnedLeft: DOCUMENT_VIEW_PINNED
35425
35425
  },
35426
35426
  {
35427
35427
  key: "email-default",
35428
35428
  label: "Email view",
35429
- columns: [...chunkAKR4JN6I_cjs.EMAIL_VIEW_COLUMNS],
35429
+ columns: [...chunkJCFXS336_cjs.EMAIL_VIEW_COLUMNS],
35430
35430
  icon: lucideReact.Mail,
35431
- rowHeight: chunkAKR4JN6I_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35431
+ rowHeight: chunkJCFXS336_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35432
35432
  pinnedLeft: []
35433
35433
  }
35434
35434
  ],
@@ -35440,7 +35440,7 @@ function ViewSelector({
35440
35440
  deleteView,
35441
35441
  shareView
35442
35442
  );
35443
- const menu = chunkAKR4JN6I_cjs.useGridViews({
35443
+ const menu = chunkJCFXS336_cjs.useGridViews({
35444
35444
  getGridApi,
35445
35445
  defaultColumns,
35446
35446
  builtins,
@@ -35456,7 +35456,7 @@ function ViewSelector({
35456
35456
  onShareView,
35457
35457
  isSaving
35458
35458
  });
35459
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ViewSelectorMenu, { ...menu });
35459
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ViewSelectorMenu, { ...menu });
35460
35460
  }
35461
35461
  function DocumentsFilterBarActions({
35462
35462
  isModal,
@@ -35496,7 +35496,7 @@ function DocumentsFilterBarActions({
35496
35496
  ),
35497
35497
  documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
35498
35498
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
35499
- chunkAKR4JN6I_cjs.RowDensityControl,
35499
+ chunkJCFXS336_cjs.RowDensityControl,
35500
35500
  {
35501
35501
  rowHeight: documentsRowHeight,
35502
35502
  onRowHeightChange: onDocumentsRowHeightChange
@@ -35593,8 +35593,8 @@ function DocumentsFilterBarActions({
35593
35593
  }
35594
35594
  function PersistedGridView(props) {
35595
35595
  const { persistState, gridId } = props;
35596
- const setGridState = chunkMFZW4FEW_cjs.useFilesGridStates((state) => state.setGridState);
35597
- const gridState = persistState && gridId ? chunkMFZW4FEW_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
35596
+ const setGridState = chunkB5BGVPQ5_cjs.useFilesGridStates((state) => state.setGridState);
35597
+ const gridState = persistState && gridId ? chunkB5BGVPQ5_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
35598
35598
  const onGridStateChange = react.useCallback(
35599
35599
  (state) => {
35600
35600
  if (persistState && gridId) setGridState(gridId, state);
@@ -35696,13 +35696,13 @@ var TABLET_TABLE_BELOW = 860;
35696
35696
  var TABLET_VIEWPORT_BELOW = 1100;
35697
35697
  var NO_CONVERSATION_DOCUMENTS2 = [];
35698
35698
  var DocumentReviewCard = react.lazy(
35699
- () => import('../DocumentReviewCard-USFBTVEL.cjs').then((module) => ({ default: module.DocumentReviewCard }))
35699
+ () => import('../DocumentReviewCard-5W2QQWKA.cjs').then((module) => ({ default: module.DocumentReviewCard }))
35700
35700
  );
35701
35701
  var FilesViewerDialog = react.lazy(
35702
- () => import('../FilesViewerDialog-O4CY7GM3.cjs').then((module) => ({ default: module.FilesViewerDialog }))
35702
+ () => import('../FilesViewerDialog-63QUTG4L.cjs').then((module) => ({ default: module.FilesViewerDialog }))
35703
35703
  );
35704
35704
  function defaultReviewCard(props) {
35705
- return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
35705
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
35706
35706
  }
35707
35707
  function ConnectedFilesPage({
35708
35708
  isModal = false,
@@ -35724,7 +35724,7 @@ function ConnectedFilesPage({
35724
35724
  GridComponent = PersistedGridView,
35725
35725
  gridStateVersion,
35726
35726
  onGridApi,
35727
- prefsKey = chunkMFZW4FEW_cjs.FILES_PREFS_KEY,
35727
+ prefsKey = chunkB5BGVPQ5_cjs.FILES_PREFS_KEY,
35728
35728
  defaultViewMode
35729
35729
  }) {
35730
35730
  const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunk46LX6EQT_cjs.useBlocksEnvironment();
@@ -35745,7 +35745,7 @@ function ConnectedFilesPage({
35745
35745
  const deleteDocuments = react$1.useDeleteDocuments();
35746
35746
  const isDocumentsPending = isLoading && documents.length === 0;
35747
35747
  const { workspaceId, userId, live } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
35748
- const { role, members } = chunkMH7P5FEK_cjs.useConnectedWorkspaceRole();
35748
+ const { role, members } = chunkFCT62ZPE_cjs.useConnectedWorkspaceRole();
35749
35749
  const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
35750
35750
  const workspace = workspaces?.find((w) => w.external_id === workspaceId);
35751
35751
  const workspaceName = workspace?.name;
@@ -35770,8 +35770,8 @@ function ConnectedFilesPage({
35770
35770
  const inConversationDocuments = react$1.useArbiSessionState(
35771
35771
  (s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
35772
35772
  );
35773
- const viewMode = chunkMFZW4FEW_cjs.useFilesPrefs((s) => chunkMFZW4FEW_cjs.filesViewMode(s, prefsKey, defaultViewMode));
35774
- const setPrefsViewMode = chunkMFZW4FEW_cjs.useFilesPrefs((s) => s.setViewMode);
35773
+ const viewMode = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => chunkB5BGVPQ5_cjs.filesViewMode(s, prefsKey, defaultViewMode));
35774
+ const setPrefsViewMode = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => s.setViewMode);
35775
35775
  const setViewMode = react.useCallback(
35776
35776
  (mode) => setPrefsViewMode(mode, prefsKey),
35777
35777
  [setPrefsViewMode, prefsKey]
@@ -35801,7 +35801,7 @@ function ConnectedFilesPage({
35801
35801
  shownPlaceRef.current = null;
35802
35802
  if (session.getState().documentViewer.compareId)
35803
35803
  session.setDocumentViewer({ compareId: null });
35804
- if (chunkMFZW4FEW_cjs.filesViewMode(chunkMFZW4FEW_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
35804
+ if (chunkB5BGVPQ5_cjs.filesViewMode(chunkB5BGVPQ5_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
35805
35805
  session.setViewingDocument(null);
35806
35806
  if (!fromLink) latest.current.onDocumentChange?.(null);
35807
35807
  },
@@ -35890,9 +35890,9 @@ function ConnectedFilesPage({
35890
35890
  else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
35891
35891
  } else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
35892
35892
  }, [linkedPlaceKey]);
35893
- const rowHeight = chunkMFZW4FEW_cjs.useFilesPrefs((s) => s.rowHeight);
35894
- const setRowHeight = chunkMFZW4FEW_cjs.useFilesPrefs((s) => s.setRowHeight);
35895
- const ownGridStates = chunkMFZW4FEW_cjs.useFilesGridStates((s) => s.gridStates);
35893
+ const rowHeight = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => s.rowHeight);
35894
+ const setRowHeight = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => s.setRowHeight);
35895
+ const ownGridStates = chunkB5BGVPQ5_cjs.useFilesGridStates((s) => s.gridStates);
35896
35896
  const stateVersion = gridStateVersion ?? ownGridStates;
35897
35897
  const [pageEl, setPageEl] = react.useState(null);
35898
35898
  const [isTabletWidth, setIsTabletWidth] = react.useState(false);
@@ -35922,15 +35922,15 @@ function ConnectedFilesPage({
35922
35922
  const [explorerSortReversed, setExplorerSortReversed] = react.useState(false);
35923
35923
  const [explorerTileSize, setExplorerTileSize] = react.useState(TILE_DEFAULT);
35924
35924
  const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
35925
- const move = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.move);
35926
- const openMove = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.openMove);
35927
- const closeMove = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.closeMove);
35928
- const bulkTagsOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
35929
- const setBulkTagsOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
35930
- const deleteRequest = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.deleteRequest);
35931
- const requestDelete = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.requestDelete);
35932
- const exportOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.exportOpen);
35933
- const setExportOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.setExportOpen);
35925
+ const move = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.move);
35926
+ const openMove = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.openMove);
35927
+ const closeMove = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.closeMove);
35928
+ const bulkTagsOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
35929
+ const setBulkTagsOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
35930
+ const deleteRequest = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.deleteRequest);
35931
+ const requestDelete = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.requestDelete);
35932
+ const exportOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.exportOpen);
35933
+ const setExportOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.setExportOpen);
35934
35934
  const openOwnExport = react.useCallback(() => setExportOpen(true), [setExportOpen]);
35935
35935
  const exportItems = react.useMemo(
35936
35936
  () => selectedDocuments.map((doc) => ({
@@ -35973,17 +35973,17 @@ function ConnectedFilesPage({
35973
35973
  const relatedDocsMap = useFilesPageSession(documents, workspaceId);
35974
35974
  const defaultVisibleColumns = react.useMemo(
35975
35975
  () => [
35976
- ...chunkAKR4JN6I_cjs.DEFAULT_DOCUMENT_COLUMNS,
35976
+ ...chunkJCFXS336_cjs.DEFAULT_DOCUMENT_COLUMNS,
35977
35977
  ...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
35978
35978
  ],
35979
35979
  [allTags]
35980
35980
  );
35981
35981
  const handleReorderColumns = react.useCallback((ids, gridApi2) => {
35982
- if (gridApi2) chunkAKR4JN6I_cjs.applyColumnLayout(gridApi2, ids);
35982
+ if (gridApi2) chunkJCFXS336_cjs.applyColumnLayout(gridApi2, ids);
35983
35983
  }, []);
35984
35984
  const handleLoadView = react.useCallback(
35985
35985
  (view, gridApi2) => {
35986
- chunkAKR4JN6I_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
35986
+ chunkJCFXS336_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
35987
35987
  if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
35988
35988
  if (typeof view.row_height === "number") setRowHeight(view.row_height);
35989
35989
  },
@@ -36075,7 +36075,7 @@ function ConnectedFilesPage({
36075
36075
  );
36076
36076
  const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
36077
36077
  const navigatorDocuments = react.useMemo(
36078
- () => chunkAKR4JN6I_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
36078
+ () => chunkJCFXS336_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
36079
36079
  [filteredDocuments, explorerSort, explorerSortReversed]
36080
36080
  );
36081
36081
  const navigatorOnNavigate = react.useCallback(
@@ -36145,7 +36145,7 @@ function ConnectedFilesPage({
36145
36145
  },
36146
36146
  rowHeight
36147
36147
  };
36148
- const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesFilterBar, { children: [
36148
+ const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesFilterBar, { children: [
36149
36149
  /* @__PURE__ */ jsxRuntime.jsx(
36150
36150
  chunk6UZC4XVV_cjs.FilterInput,
36151
36151
  {
@@ -36180,7 +36180,7 @@ function ConnectedFilesPage({
36180
36180
  ),
36181
36181
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
36182
36182
  /* @__PURE__ */ jsxRuntime.jsx(
36183
- chunkAKR4JN6I_cjs.DocumentsFolderButton,
36183
+ chunkJCFXS336_cjs.DocumentsFolderButton,
36184
36184
  {
36185
36185
  documents,
36186
36186
  documentFilters,
@@ -36188,7 +36188,7 @@ function ConnectedFilesPage({
36188
36188
  onNewFolder: canUpload ? handleNewFolder : void 0
36189
36189
  }
36190
36190
  ),
36191
- openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesTagsButton, { onClick: openTags }),
36191
+ openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesTagsButton, { onClick: openTags }),
36192
36192
  workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
36193
36193
  ] })
36194
36194
  ] });
@@ -36211,9 +36211,9 @@ function ConnectedFilesPage({
36211
36211
  );
36212
36212
  const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
36213
36213
  const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
36214
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesPage, { isModal, ref: setPageEl, children: [
36214
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesPage, { isModal, ref: setPageEl, children: [
36215
36215
  /* @__PURE__ */ jsxRuntime.jsx(
36216
- chunkAKR4JN6I_cjs.UrlInputDialog,
36216
+ chunkJCFXS336_cjs.UrlInputDialog,
36217
36217
  {
36218
36218
  open: urlDialogOpen,
36219
36219
  onOpenChange: setUrlDialogOpen,
@@ -36222,7 +36222,7 @@ function ConnectedFilesPage({
36222
36222
  titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
36223
36223
  }
36224
36224
  ),
36225
- /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesPageHeader, { children: [
36225
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesPageHeader, { children: [
36226
36226
  /* @__PURE__ */ jsxRuntime.jsx(
36227
36227
  chunkSJSGSHIT_cjs.TabHeader,
36228
36228
  {
@@ -36243,7 +36243,7 @@ function ConnectedFilesPage({
36243
36243
  activeTabId: "documents",
36244
36244
  onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
36245
36245
  firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
36246
- centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
36246
+ centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
36247
36247
  !isNarrowFilterRow && viewToggle,
36248
36248
  /* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
36249
36249
  ] }),
@@ -36273,14 +36273,14 @@ function ConnectedFilesPage({
36273
36273
  }
36274
36274
  ),
36275
36275
  /* @__PURE__ */ jsxRuntime.jsx(
36276
- chunkAKR4JN6I_cjs.FilesToolbar,
36276
+ chunkJCFXS336_cjs.FilesToolbar,
36277
36277
  {
36278
36278
  className: "px-3 pb-2",
36279
36279
  rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
36280
36280
  viewMode === "grid" ? (
36281
36281
  // ‹ n / N › over the table's displayed rows; a step opens the document.
36282
36282
  /* @__PURE__ */ jsxRuntime.jsx(
36283
- chunkWPUEGDBE_cjs.GridRowNavigator,
36283
+ chunkWUM76MJU_cjs.GridRowNavigator,
36284
36284
  {
36285
36285
  gridApi,
36286
36286
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -36295,7 +36295,7 @@ function ConnectedFilesPage({
36295
36295
  ) : viewMode === "explorer" ? (
36296
36296
  // The same over the explorer's tiles.
36297
36297
  /* @__PURE__ */ jsxRuntime.jsx(
36298
- chunkAKR4JN6I_cjs.ExplorerFileNavigator,
36298
+ chunkJCFXS336_cjs.ExplorerFileNavigator,
36299
36299
  {
36300
36300
  fileIds: explorerFileIds,
36301
36301
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -36334,7 +36334,7 @@ function ConnectedFilesPage({
36334
36334
  }
36335
36335
  ),
36336
36336
  viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
36337
- chunkAKR4JN6I_cjs.NavigatorPickerBar,
36337
+ chunkJCFXS336_cjs.NavigatorPickerBar,
36338
36338
  {
36339
36339
  currentDocument,
36340
36340
  documents: navigatorDocuments,
@@ -36361,11 +36361,11 @@ function ConnectedFilesPage({
36361
36361
  }
36362
36362
  }
36363
36363
  ) }),
36364
- /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesPageMain, { children: [
36364
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesPageMain, { children: [
36365
36365
  viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
36366
- chunkAKR4JN6I_cjs.DocumentGrid,
36366
+ chunkJCFXS336_cjs.DocumentGrid,
36367
36367
  {
36368
- layout: chunkAKR4JN6I_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
36368
+ layout: chunkJCFXS336_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
36369
36369
  presets: gridPresets,
36370
36370
  GridComponent,
36371
36371
  showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
@@ -36459,7 +36459,7 @@ function ConnectedFilesPage({
36459
36459
  onProduce: () => openDialog2("productionSet")
36460
36460
  }
36461
36461
  ),
36462
- isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
36462
+ isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
36463
36463
  /* @__PURE__ */ jsxRuntime.jsx(
36464
36464
  chunkK67VMSOX_cjs.ConfirmDialog,
36465
36465
  {
@@ -36470,7 +36470,7 @@ function ConnectedFilesPage({
36470
36470
  requestDelete(null);
36471
36471
  },
36472
36472
  title: "Delete Document",
36473
- description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT}` : "",
36473
+ description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkJCFXS336_cjs.RECENTLY_DELETED_HINT}` : "",
36474
36474
  confirmText: "Delete",
36475
36475
  variant: "destructive"
36476
36476
  }
@@ -36546,8 +36546,8 @@ function ConnectedFilesPage({
36546
36546
  }
36547
36547
  var NO_DOCUMENTS3 = [];
36548
36548
  function ConnectedAiReviewHost(props) {
36549
- const open = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.open);
36550
- const setOpen = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.setOpen);
36549
+ const open = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.open);
36550
+ const setOpen = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.setOpen);
36551
36551
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
36552
36552
  }
36553
36553
  function ConnectedGridView(props) {
@@ -36583,7 +36583,7 @@ function ProcessingSection({
36583
36583
  tasks,
36584
36584
  onDelete
36585
36585
  }) {
36586
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
36586
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
36587
36587
  }
36588
36588
  function ConnectedDocumentProcessingPanel({
36589
36589
  workspaceId,
@@ -36939,7 +36939,7 @@ var MENU_LABELS = {
36939
36939
  };
36940
36940
  function applyDatabaseColumns(columns, api) {
36941
36941
  const kept = (id) => api.getColumn(id) ? [id] : [];
36942
- chunkAKR4JN6I_cjs.applyColumnLayout(api, [...kept(chunkQ25CZLK6_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkQ25CZLK6_cjs.ADD_COLUMN_COL_ID)]);
36942
+ chunkJCFXS336_cjs.applyColumnLayout(api, [...kept(chunkQ25CZLK6_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkQ25CZLK6_cjs.ADD_COLUMN_COL_ID)]);
36943
36943
  }
36944
36944
  function DatabaseViewsMenu({
36945
36945
  databaseId,
@@ -36960,7 +36960,7 @@ function DatabaseViewsMenu({
36960
36960
  );
36961
36961
  const onLoadView = react.useCallback(
36962
36962
  (view, api) => {
36963
- chunkAKR4JN6I_cjs.applyViewColumns(api, view, applyDatabaseColumns);
36963
+ chunkJCFXS336_cjs.applyViewColumns(api, view, applyDatabaseColumns);
36964
36964
  onFiltersChange([...view.filters ?? []]);
36965
36965
  },
36966
36966
  [onFiltersChange]
@@ -36971,7 +36971,7 @@ function DatabaseViewsMenu({
36971
36971
  deleteView,
36972
36972
  shareView
36973
36973
  );
36974
- const menu = chunkAKR4JN6I_cjs.useGridViews({
36974
+ const menu = chunkJCFXS336_cjs.useGridViews({
36975
36975
  getGridApi,
36976
36976
  defaultColumns,
36977
36977
  builtins,
@@ -36986,7 +36986,7 @@ function DatabaseViewsMenu({
36986
36986
  onShareView,
36987
36987
  isSaving
36988
36988
  });
36989
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
36989
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
36990
36990
  }
36991
36991
  function useMoveLocalViews(gridId, ready, importViews) {
36992
36992
  const localViews = react$1.useArbiSessionState((state) => state.grid.savedViews[gridId]);
@@ -38812,10 +38812,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
38812
38812
  var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
38813
38813
  var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
38814
38814
  function GuidedRuns() {
38815
- chunk6WWYH66F_cjs.useRemoteControlSessionReset();
38815
+ chunkZ3N32LL4_cjs.useRemoteControlSessionReset();
38816
38816
  const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
38817
38817
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38818
- /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.GuidedCursor, { markSrc: cursorMark }),
38818
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.GuidedCursor, { markSrc: cursorMark }),
38819
38819
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
38820
38820
  ] });
38821
38821
  }
@@ -38849,7 +38849,7 @@ function ConnectedAppRuntime({
38849
38849
  on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
38850
38850
  on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
38851
38851
  on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
38852
- on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkWPUEGDBE_cjs.KIT_CHUNK_LOADERS] }),
38852
+ on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkWUM76MJU_cjs.KIT_CHUNK_LOADERS] }),
38853
38853
  on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
38854
38854
  ] });
38855
38855
  }
@@ -39314,7 +39314,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
39314
39314
  )
39315
39315
  );
39316
39316
  }
39317
- return chunk6WWYH66F_cjs.canvasToBlob(canvas);
39317
+ return chunkZ3N32LL4_cjs.canvasToBlob(canvas);
39318
39318
  }
39319
39319
  function ReportProblemDialog({
39320
39320
  open,
@@ -39608,7 +39608,7 @@ function ReportProblemDialog({
39608
39608
  hidden: ticketId !== null,
39609
39609
  children: [
39610
39610
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "No screenshot attached." }),
39611
- chunk6WWYH66F_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
39611
+ chunkZ3N32LL4_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
39612
39612
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
39613
39613
  " Take a screenshot"
39614
39614
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
@@ -39672,10 +39672,10 @@ function useReportProblem(options = {}) {
39672
39672
  setPhase("capturing");
39673
39673
  await new Promise((resolve) => window.setTimeout(resolve, 200));
39674
39674
  try {
39675
- setFrame(await chunk6WWYH66F_cjs.captureCurrentTab());
39675
+ setFrame(await chunkZ3N32LL4_cjs.captureCurrentTab());
39676
39676
  setImage(null);
39677
39677
  } catch (error) {
39678
- const code = error instanceof chunk6WWYH66F_cjs.ScreenCaptureError ? error.code : "failed";
39678
+ const code = error instanceof chunkZ3N32LL4_cjs.ScreenCaptureError ? error.code : "failed";
39679
39679
  if (code === "failed") {
39680
39680
  notify19("Couldn't capture the screen. You can still describe the problem.", "error");
39681
39681
  }
@@ -40615,7 +40615,7 @@ function resolveLaunchInputs(workflow, request) {
40615
40615
  function useWorkflowLaunch() {
40616
40616
  const { skills } = chunkV27WLYTG_cjs.useWorkflowDefinitions();
40617
40617
  const launch = react.useCallback(
40618
- (workflowId, options = {}) => chunkH7AI54V2_cjs.openWorkflowLaunch({ workflowId, ...options }),
40618
+ (workflowId, options = {}) => chunkCVVQHFLR_cjs.openWorkflowLaunch({ workflowId, ...options }),
40619
40619
  []
40620
40620
  );
40621
40621
  const itemsFor = react.useCallback(
@@ -40644,8 +40644,8 @@ function useWorkflowLaunch() {
40644
40644
  return { launch, itemsFor, scopeItemsFor };
40645
40645
  }
40646
40646
  function Inner() {
40647
- const request = chunkH7AI54V2_cjs.useWorkflowLaunchRequest();
40648
- const close = chunkH7AI54V2_cjs.closeWorkflowLaunch;
40647
+ const request = chunkCVVQHFLR_cjs.useWorkflowLaunchRequest();
40648
+ const close = chunkCVVQHFLR_cjs.closeWorkflowLaunch;
40649
40649
  const { skills } = chunkV27WLYTG_cjs.useWorkflowDefinitions();
40650
40650
  const run = chunkQKCFV36K_cjs.useLaunchWorkflow({ landing: request?.landing });
40651
40651
  const workflow = skills.find((w) => w.id === request?.workflowId);
@@ -40683,7 +40683,7 @@ function Inner() {
40683
40683
  );
40684
40684
  }
40685
40685
  function WorkflowLaunchHost() {
40686
- return chunkH7AI54V2_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
40686
+ return chunkCVVQHFLR_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
40687
40687
  }
40688
40688
  function isNeedsConfirmationDetail(detail) {
40689
40689
  return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
@@ -40988,7 +40988,7 @@ function ConnectedConversationSettings() {
40988
40988
  /* @__PURE__ */ jsxRuntime.jsx(
40989
40989
  chunkDUNXLT63_cjs.ModelSelectionSection,
40990
40990
  {
40991
- selector: /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedModelSelector, {}),
40991
+ selector: /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedModelSelector, {}),
40992
40992
  onUseDefaults: settings.resetToDefaults
40993
40993
  }
40994
40994
  )
@@ -41094,7 +41094,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
41094
41094
  testId: "workspace-transfer-modal"
41095
41095
  }
41096
41096
  ),
41097
- logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
41097
+ logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
41098
41098
  conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
41099
41099
  unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
41100
41100
  productionSet: ConnectedProductionSetDialog,
@@ -41175,7 +41175,7 @@ function WorkflowRunStatusCell({ conversation }) {
41175
41175
  return person ? ui.getUserDisplayName(person) : void 0;
41176
41176
  };
41177
41177
  return /* @__PURE__ */ jsxRuntime.jsx(
41178
- chunkH7AI54V2_cjs.WorkflowRunStatus,
41178
+ chunkCVVQHFLR_cjs.WorkflowRunStatus,
41179
41179
  {
41180
41180
  steps,
41181
41181
  states,
@@ -41209,7 +41209,7 @@ function ConversationStatusCell({ conversation }) {
41209
41209
  if (conversation.plan?.steps?.length && !isLiveGenerating)
41210
41210
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
41211
41211
  return /* @__PURE__ */ jsxRuntime.jsx(
41212
- chunkH7AI54V2_cjs.ThreadStatusLine,
41212
+ chunkCVVQHFLR_cjs.ThreadStatusLine,
41213
41213
  {
41214
41214
  state: threadStateOf(conversation, isLiveGenerating),
41215
41215
  className: "h-full",
@@ -41478,7 +41478,7 @@ function useThreadLabels(canEditShared) {
41478
41478
  return {
41479
41479
  labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
41480
41480
  renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
41481
- chunkAKR4JN6I_cjs.LabelMultiSelectView,
41481
+ chunkJCFXS336_cjs.LabelMultiSelectView,
41482
41482
  {
41483
41483
  options,
41484
41484
  appliedIds: new Set(row2.label_ext_ids ?? []),
@@ -41497,7 +41497,7 @@ function useThreadLabels(canEditShared) {
41497
41497
  ).map((label) => label.id)
41498
41498
  );
41499
41499
  return /* @__PURE__ */ jsxRuntime.jsx(
41500
- chunkAKR4JN6I_cjs.BulkLabelSelectView,
41500
+ chunkJCFXS336_cjs.BulkLabelSelectView,
41501
41501
  {
41502
41502
  options,
41503
41503
  appliedIds: all,
@@ -41528,7 +41528,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
41528
41528
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkVHD5DZW4_cjs.ComposerDock, { children: [
41529
41529
  slashWorkflows.launcher,
41530
41530
  /* @__PURE__ */ jsxRuntime.jsx(chunkVHD5DZW4_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
41531
- chunk6WWYH66F_cjs.ConversationComposer,
41531
+ chunkZ3N32LL4_cjs.ConversationComposer,
41532
41532
  {
41533
41533
  value: draft,
41534
41534
  onValueChange: setDraft,
@@ -41537,7 +41537,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
41537
41537
  isConversationEmpty: true,
41538
41538
  shouldOfferFollowUp: false,
41539
41539
  skills,
41540
- modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedModelSelector, { variant: "compact" }),
41540
+ modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedModelSelector, { variant: "compact" }),
41541
41541
  rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkVHD5DZW4_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
41542
41542
  }
41543
41543
  ) })
@@ -41668,7 +41668,7 @@ function AgentBarShell({
41668
41668
  }, [isStepsExpanded, steps]);
41669
41669
  const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
41670
41670
  return /* @__PURE__ */ jsxRuntime.jsx(
41671
- chunkH7AI54V2_cjs.AgentBar,
41671
+ chunkCVVQHFLR_cjs.AgentBar,
41672
41672
  {
41673
41673
  className,
41674
41674
  testId,
@@ -41680,7 +41680,7 @@ function AgentBarShell({
41680
41680
  drawerRef: scrollRef,
41681
41681
  onDrawerScroll: handleDrawerScroll,
41682
41682
  drawer: /* @__PURE__ */ jsxRuntime.jsx(
41683
- chunk6WWYH66F_cjs.AgentSteps,
41683
+ chunkZ3N32LL4_cjs.AgentSteps,
41684
41684
  {
41685
41685
  steps: stepList,
41686
41686
  isStreaming,
@@ -41732,7 +41732,7 @@ function AgentControlBar({
41732
41732
  const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
41733
41733
  const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
41734
41734
  const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
41735
- chunk6WWYH66F_cjs.MessageLiveSeconds,
41735
+ chunkZ3N32LL4_cjs.MessageLiveSeconds,
41736
41736
  {
41737
41737
  ...liveTimer,
41738
41738
  offsetSeconds: currentStep?.t ?? 0,
@@ -41741,7 +41741,7 @@ function AgentControlBar({
41741
41741
  }
41742
41742
  );
41743
41743
  const status = /* @__PURE__ */ jsxRuntime.jsx(
41744
- chunkH7AI54V2_cjs.AgentBarStatus,
41744
+ chunkCVVQHFLR_cjs.AgentBarStatus,
41745
41745
  {
41746
41746
  state: showState ? controlState : void 0,
41747
41747
  stateLabel: STATE_LABEL[controlState],
@@ -41783,7 +41783,7 @@ function AgentControlBar({
41783
41783
  ];
41784
41784
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
41785
41785
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
41786
- chunkH7AI54V2_cjs.AgentBarIconButton,
41786
+ chunkCVVQHFLR_cjs.AgentBarIconButton,
41787
41787
  {
41788
41788
  onClick: onStop,
41789
41789
  title: "Stop",
@@ -41792,22 +41792,22 @@ function AgentControlBar({
41792
41792
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
41793
41793
  }
41794
41794
  ),
41795
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentBarMenu, { items: menuItems })
41795
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentBarMenu, { items: menuItems })
41796
41796
  ] });
41797
41797
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
41798
41798
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
41799
41799
  );
41800
41800
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
41801
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.AgentBarNotes, { children: [
41801
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.AgentBarNotes, { children: [
41802
41802
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
41803
- chunkH7AI54V2_cjs.AgentBarQueuedNote,
41803
+ chunkCVVQHFLR_cjs.AgentBarQueuedNote,
41804
41804
  {
41805
41805
  text: message.content ?? "",
41806
41806
  isAcknowledged: message.acknowledged
41807
41807
  },
41808
41808
  index
41809
41809
  )),
41810
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
41810
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
41811
41811
  ] }) : null;
41812
41812
  return /* @__PURE__ */ jsxRuntime.jsx(
41813
41813
  AgentBarShell,
@@ -41957,7 +41957,7 @@ function ConnectedConversationEmpty({
41957
41957
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
41958
41958
  }
41959
41959
  ),
41960
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.PrivacyExplainerModal, {})
41960
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.PrivacyExplainerModal, {})
41961
41961
  ] })
41962
41962
  }
41963
41963
  );
@@ -42922,7 +42922,7 @@ function ConversationThread({
42922
42922
  useStartRequestedDraft();
42923
42923
  const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
42924
42924
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
42925
- /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3GQQUR27_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
42925
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3GQQUR27_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
42926
42926
  meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
42927
42927
  chunkZBP4ZSAJ_cjs.ConversationFilter,
42928
42928
  {
@@ -42940,7 +42940,7 @@ function ConversationThread({
42940
42940
  ]
42941
42941
  }
42942
42942
  ) }),
42943
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
42943
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
42944
42944
  showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkNNZFZYTI_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
42945
42945
  ] }) }) : meetingCallExtId ? (
42946
42946
  // A meeting thread with nothing yet: call-aware, not the upload prompt.
@@ -42948,7 +42948,7 @@ function ConversationThread({
42948
42948
  /* @__PURE__ */ jsxRuntime.jsx(chunkNNZFZYTI_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
42949
42949
  /* @__PURE__ */ jsxRuntime.jsx(chunkNNZFZYTI_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
42950
42950
  ] })
42951
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
42951
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
42952
42952
  ConnectedConversationEmpty,
42953
42953
  {
42954
42954
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -43046,7 +43046,7 @@ function ConversationThread({
43046
43046
  }
43047
43047
  ),
43048
43048
  /* @__PURE__ */ jsxRuntime.jsx(
43049
- chunk6WWYH66F_cjs.ConversationComposer,
43049
+ chunkZ3N32LL4_cjs.ConversationComposer,
43050
43050
  {
43051
43051
  handleSendMessage: handleUserSend,
43052
43052
  placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
@@ -43388,7 +43388,7 @@ function ConnectedThreadsPage({
43388
43388
  };
43389
43389
  const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
43390
43390
  /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
43391
- chunkH7AI54V2_cjs.ConversationListView,
43391
+ chunkCVVQHFLR_cjs.ConversationListView,
43392
43392
  {
43393
43393
  showHeader,
43394
43394
  conversations: tasks,
@@ -43407,7 +43407,7 @@ function ConnectedThreadsPage({
43407
43407
  renderLabels: threadLabels.renderLabels,
43408
43408
  labelText: threadLabels.labelText,
43409
43409
  renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
43410
- chunkH7AI54V2_cjs.ConversationTurnSpeaker,
43410
+ chunkCVVQHFLR_cjs.ConversationTurnSpeaker,
43411
43411
  {
43412
43412
  variant: "icon",
43413
43413
  role: row2.last_message_role,
@@ -43794,7 +43794,7 @@ function ConnectedChatDocumentsTab({
43794
43794
  testId: `document-hover-toggle-${doc.external_id}`
43795
43795
  },
43796
43796
  status: /* @__PURE__ */ jsxRuntime.jsx(
43797
- chunkAKR4JN6I_cjs.DocStatusIcon,
43797
+ chunkJCFXS336_cjs.DocStatusIcon,
43798
43798
  {
43799
43799
  status: doc.status,
43800
43800
  onClick: onStatusClick,
@@ -44288,7 +44288,7 @@ function ConnectedConversationPage({
44288
44288
  );
44289
44289
  const { data: workspaceTags = [] } = react$1.useTags();
44290
44290
  const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
44291
- const historyCount = chunkH7AI54V2_cjs.filterConversationRows(
44291
+ const historyCount = chunkCVVQHFLR_cjs.filterConversationRows(
44292
44292
  threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
44293
44293
  threadFilter,
44294
44294
  (row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
@@ -44370,7 +44370,7 @@ function ConnectedConversationPage({
44370
44370
  ] })
44371
44371
  }
44372
44372
  ),
44373
- isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkPJTKXKDS_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
44373
+ isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk4I2PCP7O_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
44374
44374
  ] }),
44375
44375
  isInChat && /* @__PURE__ */ jsxRuntime.jsx(
44376
44376
  ConversationThread,
@@ -44400,7 +44400,7 @@ function ConnectedConversationPage({
44400
44400
  !isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
44401
44401
  ] }),
44402
44402
  /* @__PURE__ */ jsxRuntime.jsx(
44403
- chunkAKR4JN6I_cjs.UrlInputDialog,
44403
+ chunkJCFXS336_cjs.UrlInputDialog,
44404
44404
  {
44405
44405
  open: urlDialogOpen,
44406
44406
  onOpenChange: setUrlDialogOpen,
@@ -44579,7 +44579,7 @@ function SsoResendVerificationButton({
44579
44579
  onClick: async () => handleResendEmailVerification(),
44580
44580
  disabled: loading || disabled,
44581
44581
  "aria-label": "Resend verification email",
44582
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
44582
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
44583
44583
  "Didn't get a verification email? ",
44584
44584
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
44585
44585
  ] })
@@ -44590,9 +44590,9 @@ function SsoResendVerificationButton({
44590
44590
  }
44591
44591
  var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
44592
44592
  function ConnectedSsoCallback() {
44593
- const sso = chunk6WWYH66F_cjs.useSsoSignIn();
44593
+ const sso = chunkZ3N32LL4_cjs.useSsoSignIn();
44594
44594
  const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
44595
- const auth = chunk6WWYH66F_cjs.useAuthPages();
44595
+ const auth = chunkZ3N32LL4_cjs.useAuthPages();
44596
44596
  const { notify: notify19, navigate } = chunk46LX6EQT_cjs.useBlocksEnvironment();
44597
44597
  const passwordRules = auth.passwordRules;
44598
44598
  const isProcessing = react.useRef(false);
@@ -44600,7 +44600,7 @@ function ConnectedSsoCallback() {
44600
44600
  const [statusAttempt, setStatusAttempt] = react.useState(0);
44601
44601
  const [accessToken, setAccessToken] = react.useState(null);
44602
44602
  const [ssoStatus, setSsoStatus] = react.useState(null);
44603
- const ssoName = react.useMemo(() => chunk6WWYH66F_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
44603
+ const ssoName = react.useMemo(() => chunkZ3N32LL4_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
44604
44604
  const [password, setPassword] = react.useState("");
44605
44605
  const [confirmPassword, setConfirmPassword] = react.useState("");
44606
44606
  const [error, setError] = react.useState(null);
@@ -44778,7 +44778,7 @@ function ConnectedSsoCallback() {
44778
44778
  setIsCheckingStatus(true);
44779
44779
  try {
44780
44780
  console.info("[SSO] Checking user status...");
44781
- const response = await chunk6WWYH66F_cjs.ssoAccountStatus(arbi, accessToken, user);
44781
+ const response = await chunkZ3N32LL4_cjs.ssoAccountStatus(arbi, accessToken, user);
44782
44782
  console.info("[SSO] User status:", response.status);
44783
44783
  setSsoStatus(response);
44784
44784
  } catch (error2) {
@@ -44819,7 +44819,7 @@ function ConnectedSsoCallback() {
44819
44819
  setIsSubmitting(true);
44820
44820
  setError(null);
44821
44821
  try {
44822
- const { login, registered, linked } = await chunk6WWYH66F_cjs.completeSsoSignIn(arbi, {
44822
+ const { login, registered, linked } = await chunkZ3N32LL4_cjs.completeSsoSignIn(arbi, {
44823
44823
  token: accessToken,
44824
44824
  user,
44825
44825
  status: ssoStatus,
@@ -45119,7 +45119,7 @@ function ConnectedSsoCallback() {
45119
45119
  ssoStatus.status !== "new_user" && auth.footer
45120
45120
  ] }),
45121
45121
  /* @__PURE__ */ jsxRuntime.jsx(
45122
- chunk6WWYH66F_cjs.ConnectedForgotPassword,
45122
+ chunkZ3N32LL4_cjs.ConnectedForgotPassword,
45123
45123
  {
45124
45124
  open: showForgotPasswordModal,
45125
45125
  onOpenChange: setShowForgotPasswordModal,
@@ -45127,7 +45127,7 @@ function ConnectedSsoCallback() {
45127
45127
  }
45128
45128
  ),
45129
45129
  /* @__PURE__ */ jsxRuntime.jsx(
45130
- chunk6WWYH66F_cjs.ConnectedPasswordChangeDialog,
45130
+ chunkZ3N32LL4_cjs.ConnectedPasswordChangeDialog,
45131
45131
  {
45132
45132
  open: showChangePasswordModal,
45133
45133
  onClose: () => setShowChangePasswordModal(false),
@@ -45286,27 +45286,27 @@ function ConnectedOAuthConsentPage({
45286
45286
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
45287
45287
  }
45288
45288
  if (error && !params) {
45289
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
45289
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
45290
45290
  }
45291
45291
  if (!params) {
45292
45292
  return null;
45293
45293
  }
45294
45294
  if (clientInfo?.isLocalAgentFlow) {
45295
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }) });
45295
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }) });
45296
45296
  }
45297
45297
  if (!isAuthenticated2) {
45298
45298
  return null;
45299
45299
  }
45300
45300
  if (callbackUrl) {
45301
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentCard, { size: "md", children: [
45302
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
45301
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentCard, { size: "md", children: [
45302
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
45303
45303
  "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",
45304
45304
  " ",
45305
45305
  copied ? "it's already copied to your clipboard." : "copy it first."
45306
45306
  ] }),
45307
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentSection, { title: "Callback URL", children: [
45308
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
45309
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentText, { variant: "hint", children: [
45307
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentSection, { title: "Callback URL", children: [
45308
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
45309
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentText, { variant: "hint", children: [
45310
45310
  "In Claude Code, paste the URL at the prompt that says",
45311
45311
  " ",
45312
45312
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -45315,17 +45315,17 @@ function ConnectedOAuthConsentPage({
45315
45315
  ] })
45316
45316
  ] }) });
45317
45317
  }
45318
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentCard, { children: [
45319
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
45320
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
45318
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentCard, { children: [
45319
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
45320
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
45321
45321
  " is requesting access to your ",
45322
45322
  appName,
45323
45323
  " workspace."
45324
45324
  ] }),
45325
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPermissionList, { items: permissions }) }),
45326
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentNotice, { tone: "error", children: error }),
45327
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
45328
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentFootnote, { children: footnote })
45325
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPermissionList, { items: permissions }) }),
45326
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentNotice, { tone: "error", children: error }),
45327
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
45328
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentFootnote, { children: footnote })
45329
45329
  ] }) });
45330
45330
  }
45331
45331
  function ConnectedSharedFilesPage({
@@ -45852,7 +45852,7 @@ function ShellNavigationProvider({
45852
45852
  );
45853
45853
  }
45854
45854
  var ConnectedPresentation = react.lazy(
45855
- () => import('../ConnectedPresentation-SY42ADRU.cjs').then((m) => ({ default: m.ConnectedPresentation }))
45855
+ () => import('../ConnectedPresentation-JUXIXKYN.cjs').then((m) => ({ default: m.ConnectedPresentation }))
45856
45856
  );
45857
45857
  function PresentationSlot() {
45858
45858
  const session = react$1.useArbiSessionStore();
@@ -46025,7 +46025,7 @@ function ConnectedTipBar({
46025
46025
  className,
46026
46026
  revealOnHover = false
46027
46027
  }) {
46028
- const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunk6WWYH66F_cjs.useContextualHints();
46028
+ const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkZ3N32LL4_cjs.useContextualHints();
46029
46029
  const { dismissed, dismissTip } = react$1.useDismissedTips();
46030
46030
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
46031
46031
  const { data: workspaces } = react$1.useWorkspaces();
@@ -46036,7 +46036,7 @@ function ConnectedTipBar({
46036
46036
  workspaceOpen,
46037
46037
  ...state
46038
46038
  };
46039
- const { tip, index, count: count2, previous, next, onHoverChange } = chunkWPUEGDBE_cjs.useTipsPlacement({
46039
+ const { tip, index, count: count2, previous, next, onHoverChange } = chunkWUM76MJU_cjs.useTipsPlacement({
46040
46040
  registry,
46041
46041
  context,
46042
46042
  state: situation,
@@ -46114,7 +46114,7 @@ function useGettingStarted({
46114
46114
  const { user } = react$1.useArbiSession();
46115
46115
  const userExtId = user?.external_id;
46116
46116
  const temporaryOnly = user?.temporary_access_only === true;
46117
- const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunk6WWYH66F_cjs.useContextualHints();
46117
+ const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkZ3N32LL4_cjs.useContextualHints();
46118
46118
  const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
46119
46119
  const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
46120
46120
  const session = react$1.useArbiSessionStore();
@@ -46336,15 +46336,15 @@ function ChromeInstallDialog({
46336
46336
 
46337
46337
  Object.defineProperty(exports, "ConnectedTagEntity", {
46338
46338
  enumerable: true,
46339
- get: function () { return chunkJMBAUHI7_cjs.ConnectedTagEntity; }
46339
+ get: function () { return chunkZCQXQIBA_cjs.ConnectedTagEntity; }
46340
46340
  });
46341
46341
  Object.defineProperty(exports, "documentFieldContent", {
46342
46342
  enumerable: true,
46343
- get: function () { return chunkJMBAUHI7_cjs.documentFieldContent; }
46343
+ get: function () { return chunkZCQXQIBA_cjs.documentFieldContent; }
46344
46344
  });
46345
46345
  Object.defineProperty(exports, "useMemberLookup", {
46346
46346
  enumerable: true,
46347
- get: function () { return chunkJMBAUHI7_cjs.useMemberLookup; }
46347
+ get: function () { return chunkZCQXQIBA_cjs.useMemberLookup; }
46348
46348
  });
46349
46349
  Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
46350
46350
  enumerable: true,
@@ -46456,279 +46456,279 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
46456
46456
  });
46457
46457
  Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
46458
46458
  enumerable: true,
46459
- get: function () { return chunkPJTKXKDS_cjs.ConnectedTaskActivityDialog; }
46459
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedTaskActivityDialog; }
46460
46460
  });
46461
46461
  Object.defineProperty(exports, "ConnectedTaskComposer", {
46462
46462
  enumerable: true,
46463
- get: function () { return chunkPJTKXKDS_cjs.ConnectedTaskComposer; }
46463
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedTaskComposer; }
46464
46464
  });
46465
46465
  Object.defineProperty(exports, "ConnectedThreadTaskBar", {
46466
46466
  enumerable: true,
46467
- get: function () { return chunkPJTKXKDS_cjs.ConnectedThreadTaskBar; }
46467
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedThreadTaskBar; }
46468
46468
  });
46469
46469
  Object.defineProperty(exports, "ConnectedWorkflowHistory", {
46470
46470
  enumerable: true,
46471
- get: function () { return chunkPJTKXKDS_cjs.ConnectedWorkflowHistory; }
46471
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedWorkflowHistory; }
46472
46472
  });
46473
46473
  Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
46474
46474
  enumerable: true,
46475
- get: function () { return chunkPJTKXKDS_cjs.ConnectedWorkflowRunPage; }
46475
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedWorkflowRunPage; }
46476
46476
  });
46477
46477
  Object.defineProperty(exports, "ConnectedWorkflowRunner", {
46478
46478
  enumerable: true,
46479
- get: function () { return chunkPJTKXKDS_cjs.ConnectedWorkflowRunner; }
46479
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedWorkflowRunner; }
46480
46480
  });
46481
46481
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
46482
46482
  enumerable: true,
46483
- get: function () { return chunkPJTKXKDS_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
46483
+ get: function () { return chunk4I2PCP7O_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
46484
46484
  });
46485
46485
  Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
46486
46486
  enumerable: true,
46487
- get: function () { return chunkPJTKXKDS_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
46487
+ get: function () { return chunk4I2PCP7O_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
46488
46488
  });
46489
46489
  Object.defineProperty(exports, "WorkflowRunThread", {
46490
46490
  enumerable: true,
46491
- get: function () { return chunkPJTKXKDS_cjs.WorkflowRunThread; }
46491
+ get: function () { return chunk4I2PCP7O_cjs.WorkflowRunThread; }
46492
46492
  });
46493
46493
  Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
46494
46494
  enumerable: true,
46495
- get: function () { return chunkPJTKXKDS_cjs.WorkflowRunWorkspaceChangedError; }
46495
+ get: function () { return chunk4I2PCP7O_cjs.WorkflowRunWorkspaceChangedError; }
46496
46496
  });
46497
46497
  Object.defineProperty(exports, "buildProjectSummaries", {
46498
46498
  enumerable: true,
46499
- get: function () { return chunkPJTKXKDS_cjs.buildProjectSummaries; }
46499
+ get: function () { return chunk4I2PCP7O_cjs.buildProjectSummaries; }
46500
46500
  });
46501
46501
  Object.defineProperty(exports, "primaryProjectWorkspace", {
46502
46502
  enumerable: true,
46503
- get: function () { return chunkPJTKXKDS_cjs.primaryProjectWorkspace; }
46503
+ get: function () { return chunk4I2PCP7O_cjs.primaryProjectWorkspace; }
46504
46504
  });
46505
46505
  Object.defineProperty(exports, "useEnsureRequiredLabels", {
46506
46506
  enumerable: true,
46507
- get: function () { return chunkPJTKXKDS_cjs.useEnsureRequiredLabels; }
46507
+ get: function () { return chunk4I2PCP7O_cjs.useEnsureRequiredLabels; }
46508
46508
  });
46509
46509
  Object.defineProperty(exports, "useProjectSummaries", {
46510
46510
  enumerable: true,
46511
- get: function () { return chunkPJTKXKDS_cjs.useProjectSummaries; }
46511
+ get: function () { return chunk4I2PCP7O_cjs.useProjectSummaries; }
46512
46512
  });
46513
46513
  Object.defineProperty(exports, "useProjectSummary", {
46514
46514
  enumerable: true,
46515
- get: function () { return chunkPJTKXKDS_cjs.useProjectSummary; }
46515
+ get: function () { return chunk4I2PCP7O_cjs.useProjectSummary; }
46516
46516
  });
46517
46517
  Object.defineProperty(exports, "useRenderTaskPerson", {
46518
46518
  enumerable: true,
46519
- get: function () { return chunkPJTKXKDS_cjs.useRenderTaskPerson; }
46519
+ get: function () { return chunk4I2PCP7O_cjs.useRenderTaskPerson; }
46520
46520
  });
46521
46521
  Object.defineProperty(exports, "useRequiredLabels", {
46522
46522
  enumerable: true,
46523
- get: function () { return chunkPJTKXKDS_cjs.useRequiredLabels; }
46523
+ get: function () { return chunk4I2PCP7O_cjs.useRequiredLabels; }
46524
46524
  });
46525
46525
  Object.defineProperty(exports, "useTaskPeople", {
46526
46526
  enumerable: true,
46527
- get: function () { return chunkPJTKXKDS_cjs.useTaskPeople; }
46527
+ get: function () { return chunk4I2PCP7O_cjs.useTaskPeople; }
46528
46528
  });
46529
46529
  Object.defineProperty(exports, "useWorkflowsPageState", {
46530
46530
  enumerable: true,
46531
- get: function () { return chunkPJTKXKDS_cjs.useWorkflowsPageState; }
46531
+ get: function () { return chunk4I2PCP7O_cjs.useWorkflowsPageState; }
46532
46532
  });
46533
46533
  Object.defineProperty(exports, "workflowRunView", {
46534
46534
  enumerable: true,
46535
- get: function () { return chunkPJTKXKDS_cjs.workflowRunView; }
46535
+ get: function () { return chunk4I2PCP7O_cjs.workflowRunView; }
46536
46536
  });
46537
46537
  Object.defineProperty(exports, "AgentSteps", {
46538
46538
  enumerable: true,
46539
- get: function () { return chunk6WWYH66F_cjs.AgentSteps; }
46539
+ get: function () { return chunkZ3N32LL4_cjs.AgentSteps; }
46540
46540
  });
46541
46541
  Object.defineProperty(exports, "AnswerTable", {
46542
46542
  enumerable: true,
46543
- get: function () { return chunk6WWYH66F_cjs.AnswerTable; }
46543
+ get: function () { return chunkZ3N32LL4_cjs.AnswerTable; }
46544
46544
  });
46545
46545
  Object.defineProperty(exports, "ArbiChat", {
46546
46546
  enumerable: true,
46547
- get: function () { return chunk6WWYH66F_cjs.ArbiChat; }
46547
+ get: function () { return chunkZ3N32LL4_cjs.ArbiChat; }
46548
46548
  });
46549
46549
  Object.defineProperty(exports, "AskAgainContext", {
46550
46550
  enumerable: true,
46551
- get: function () { return chunk6WWYH66F_cjs.AskAgainContext; }
46551
+ get: function () { return chunkZ3N32LL4_cjs.AskAgainContext; }
46552
46552
  });
46553
46553
  Object.defineProperty(exports, "ConnectedBranchControls", {
46554
46554
  enumerable: true,
46555
- get: function () { return chunk6WWYH66F_cjs.ConnectedBranchControls; }
46555
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedBranchControls; }
46556
46556
  });
46557
46557
  Object.defineProperty(exports, "ConnectedCitationRenderer", {
46558
46558
  enumerable: true,
46559
- get: function () { return chunk6WWYH66F_cjs.ConnectedCitationRenderer; }
46559
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedCitationRenderer; }
46560
46560
  });
46561
46561
  Object.defineProperty(exports, "ConnectedCompactConversation", {
46562
46562
  enumerable: true,
46563
- get: function () { return chunk6WWYH66F_cjs.ConnectedCompactConversation; }
46563
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedCompactConversation; }
46564
46564
  });
46565
46565
  Object.defineProperty(exports, "ConnectedCompactLogin", {
46566
46566
  enumerable: true,
46567
- get: function () { return chunk6WWYH66F_cjs.ConnectedCompactLogin; }
46567
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedCompactLogin; }
46568
46568
  });
46569
46569
  Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
46570
46570
  enumerable: true,
46571
- get: function () { return chunk6WWYH66F_cjs.ConnectedConversationDocumentPicker; }
46571
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedConversationDocumentPicker; }
46572
46572
  });
46573
46573
  Object.defineProperty(exports, "ConnectedDangerZone", {
46574
46574
  enumerable: true,
46575
- get: function () { return chunk6WWYH66F_cjs.ConnectedDangerZone; }
46575
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedDangerZone; }
46576
46576
  });
46577
46577
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
46578
46578
  enumerable: true,
46579
- get: function () { return chunk6WWYH66F_cjs.ConnectedEmbeddedChat; }
46579
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedEmbeddedChat; }
46580
46580
  });
46581
46581
  Object.defineProperty(exports, "ConnectedForgotPassword", {
46582
46582
  enumerable: true,
46583
- get: function () { return chunk6WWYH66F_cjs.ConnectedForgotPassword; }
46583
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedForgotPassword; }
46584
46584
  });
46585
46585
  Object.defineProperty(exports, "ConnectedIdentityVerification", {
46586
46586
  enumerable: true,
46587
- get: function () { return chunk6WWYH66F_cjs.ConnectedIdentityVerification; }
46587
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedIdentityVerification; }
46588
46588
  });
46589
46589
  Object.defineProperty(exports, "ConnectedLoginPage", {
46590
46590
  enumerable: true,
46591
- get: function () { return chunk6WWYH66F_cjs.ConnectedLoginPage; }
46591
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedLoginPage; }
46592
46592
  });
46593
46593
  Object.defineProperty(exports, "ConnectedLogoutDialog", {
46594
46594
  enumerable: true,
46595
- get: function () { return chunk6WWYH66F_cjs.ConnectedLogoutDialog; }
46595
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedLogoutDialog; }
46596
46596
  });
46597
46597
  Object.defineProperty(exports, "ConnectedMessage", {
46598
46598
  enumerable: true,
46599
- get: function () { return chunk6WWYH66F_cjs.ConnectedMessage; }
46599
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedMessage; }
46600
46600
  });
46601
46601
  Object.defineProperty(exports, "ConnectedMessageArea", {
46602
46602
  enumerable: true,
46603
- get: function () { return chunk6WWYH66F_cjs.ConnectedMessageArea; }
46603
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedMessageArea; }
46604
46604
  });
46605
46605
  Object.defineProperty(exports, "ConnectedMessageList", {
46606
46606
  enumerable: true,
46607
- get: function () { return chunk6WWYH66F_cjs.ConnectedMessageList; }
46607
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedMessageList; }
46608
46608
  });
46609
46609
  Object.defineProperty(exports, "ConnectedModelSelector", {
46610
46610
  enumerable: true,
46611
- get: function () { return chunk6WWYH66F_cjs.ConnectedModelSelector; }
46611
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedModelSelector; }
46612
46612
  });
46613
46613
  Object.defineProperty(exports, "ConnectedNotificationPreferences", {
46614
46614
  enumerable: true,
46615
- get: function () { return chunk6WWYH66F_cjs.ConnectedNotificationPreferences; }
46615
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedNotificationPreferences; }
46616
46616
  });
46617
46617
  Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
46618
46618
  enumerable: true,
46619
- get: function () { return chunk6WWYH66F_cjs.ConnectedPasswordChangeDialog; }
46619
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedPasswordChangeDialog; }
46620
46620
  });
46621
46621
  Object.defineProperty(exports, "ConnectedProfileCard", {
46622
46622
  enumerable: true,
46623
- get: function () { return chunk6WWYH66F_cjs.ConnectedProfileCard; }
46623
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedProfileCard; }
46624
46624
  });
46625
46625
  Object.defineProperty(exports, "ConnectedSecuritySection", {
46626
46626
  enumerable: true,
46627
- get: function () { return chunk6WWYH66F_cjs.ConnectedSecuritySection; }
46627
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedSecuritySection; }
46628
46628
  });
46629
46629
  Object.defineProperty(exports, "ConnectedSessionsRow", {
46630
46630
  enumerable: true,
46631
- get: function () { return chunk6WWYH66F_cjs.ConnectedSessionsRow; }
46631
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedSessionsRow; }
46632
46632
  });
46633
46633
  Object.defineProperty(exports, "ConnectedThreadsPreview", {
46634
46634
  enumerable: true,
46635
- get: function () { return chunk6WWYH66F_cjs.ConnectedThreadsPreview; }
46635
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedThreadsPreview; }
46636
46636
  });
46637
46637
  Object.defineProperty(exports, "ConversationComposer", {
46638
46638
  enumerable: true,
46639
- get: function () { return chunk6WWYH66F_cjs.ConversationComposer; }
46639
+ get: function () { return chunkZ3N32LL4_cjs.ConversationComposer; }
46640
46640
  });
46641
46641
  Object.defineProperty(exports, "EmbeddedChatPanel", {
46642
46642
  enumerable: true,
46643
- get: function () { return chunk6WWYH66F_cjs.EmbeddedChatPanel; }
46643
+ get: function () { return chunkZ3N32LL4_cjs.EmbeddedChatPanel; }
46644
46644
  });
46645
46645
  Object.defineProperty(exports, "MessageDetailsModal", {
46646
46646
  enumerable: true,
46647
- get: function () { return chunk6WWYH66F_cjs.MessageDetailsModal; }
46647
+ get: function () { return chunkZ3N32LL4_cjs.MessageDetailsModal; }
46648
46648
  });
46649
46649
  Object.defineProperty(exports, "MessageLiveSeconds", {
46650
46650
  enumerable: true,
46651
- get: function () { return chunk6WWYH66F_cjs.MessageLiveSeconds; }
46651
+ get: function () { return chunkZ3N32LL4_cjs.MessageLiveSeconds; }
46652
46652
  });
46653
46653
  Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
46654
46654
  enumerable: true,
46655
- get: function () { return chunk6WWYH66F_cjs.PENDING_RECOVERY_KEY; }
46655
+ get: function () { return chunkZ3N32LL4_cjs.PENDING_RECOVERY_KEY; }
46656
46656
  });
46657
46657
  Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
46658
46658
  enumerable: true,
46659
- get: function () { return chunk6WWYH66F_cjs.PREMIUM_TIER_TAG; }
46659
+ get: function () { return chunkZ3N32LL4_cjs.PREMIUM_TIER_TAG; }
46660
46660
  });
46661
46661
  Object.defineProperty(exports, "RunningSubagents", {
46662
46662
  enumerable: true,
46663
- get: function () { return chunk6WWYH66F_cjs.RunningSubagents; }
46663
+ get: function () { return chunkZ3N32LL4_cjs.RunningSubagents; }
46664
46664
  });
46665
46665
  Object.defineProperty(exports, "STANDARD_TIER_TAG", {
46666
46666
  enumerable: true,
46667
- get: function () { return chunk6WWYH66F_cjs.STANDARD_TIER_TAG; }
46667
+ get: function () { return chunkZ3N32LL4_cjs.STANDARD_TIER_TAG; }
46668
46668
  });
46669
46669
  Object.defineProperty(exports, "WorkflowStepMessage", {
46670
46670
  enumerable: true,
46671
- get: function () { return chunk6WWYH66F_cjs.WorkflowStepMessage; }
46671
+ get: function () { return chunkZ3N32LL4_cjs.WorkflowStepMessage; }
46672
46672
  });
46673
46673
  Object.defineProperty(exports, "backUpOnSignup", {
46674
46674
  enumerable: true,
46675
- get: function () { return chunk6WWYH66F_cjs.backUpOnSignup; }
46675
+ get: function () { return chunkZ3N32LL4_cjs.backUpOnSignup; }
46676
46676
  });
46677
46677
  Object.defineProperty(exports, "createRemoteControl", {
46678
46678
  enumerable: true,
46679
- get: function () { return chunk6WWYH66F_cjs.createRemoteControl; }
46679
+ get: function () { return chunkZ3N32LL4_cjs.createRemoteControl; }
46680
46680
  });
46681
46681
  Object.defineProperty(exports, "defaultHost", {
46682
46682
  enumerable: true,
46683
- get: function () { return chunk6WWYH66F_cjs.defaultHost; }
46683
+ get: function () { return chunkZ3N32LL4_cjs.defaultHost; }
46684
46684
  });
46685
46685
  Object.defineProperty(exports, "renderConnectedUser", {
46686
46686
  enumerable: true,
46687
- get: function () { return chunk6WWYH66F_cjs.renderConnectedUser; }
46687
+ get: function () { return chunkZ3N32LL4_cjs.renderConnectedUser; }
46688
46688
  });
46689
46689
  Object.defineProperty(exports, "renderSessionStatusIcon", {
46690
46690
  enumerable: true,
46691
- get: function () { return chunk6WWYH66F_cjs.renderSessionStatusIcon; }
46691
+ get: function () { return chunkZ3N32LL4_cjs.renderSessionStatusIcon; }
46692
46692
  });
46693
46693
  Object.defineProperty(exports, "resolveSsoName", {
46694
46694
  enumerable: true,
46695
- get: function () { return chunk6WWYH66F_cjs.resolveSsoName; }
46695
+ get: function () { return chunkZ3N32LL4_cjs.resolveSsoName; }
46696
46696
  });
46697
46697
  Object.defineProperty(exports, "useAuthPages", {
46698
46698
  enumerable: true,
46699
- get: function () { return chunk6WWYH66F_cjs.useAuthPages; }
46699
+ get: function () { return chunkZ3N32LL4_cjs.useAuthPages; }
46700
46700
  });
46701
46701
  Object.defineProperty(exports, "useContextualHints", {
46702
46702
  enumerable: true,
46703
- get: function () { return chunk6WWYH66F_cjs.useContextualHints; }
46703
+ get: function () { return chunkZ3N32LL4_cjs.useContextualHints; }
46704
46704
  });
46705
46705
  Object.defineProperty(exports, "useModelPicker", {
46706
46706
  enumerable: true,
46707
- get: function () { return chunk6WWYH66F_cjs.useModelPicker; }
46707
+ get: function () { return chunkZ3N32LL4_cjs.useModelPicker; }
46708
46708
  });
46709
46709
  Object.defineProperty(exports, "useOpenChunk", {
46710
46710
  enumerable: true,
46711
- get: function () { return chunk6WWYH66F_cjs.useOpenChunk; }
46711
+ get: function () { return chunkZ3N32LL4_cjs.useOpenChunk; }
46712
46712
  });
46713
46713
  Object.defineProperty(exports, "useOpenWorkspaceIcon", {
46714
46714
  enumerable: true,
46715
- get: function () { return chunk6WWYH66F_cjs.useOpenWorkspaceIcon; }
46715
+ get: function () { return chunkZ3N32LL4_cjs.useOpenWorkspaceIcon; }
46716
46716
  });
46717
46717
  Object.defineProperty(exports, "useRemoteControlActions", {
46718
46718
  enumerable: true,
46719
- get: function () { return chunk6WWYH66F_cjs.useRemoteControlActions; }
46719
+ get: function () { return chunkZ3N32LL4_cjs.useRemoteControlActions; }
46720
46720
  });
46721
46721
  Object.defineProperty(exports, "useRemoteControlHandlers", {
46722
46722
  enumerable: true,
46723
- get: function () { return chunk6WWYH66F_cjs.useRemoteControlHandlers; }
46723
+ get: function () { return chunkZ3N32LL4_cjs.useRemoteControlHandlers; }
46724
46724
  });
46725
46725
  Object.defineProperty(exports, "useSsoSignIn", {
46726
46726
  enumerable: true,
46727
- get: function () { return chunk6WWYH66F_cjs.useSsoSignIn; }
46727
+ get: function () { return chunkZ3N32LL4_cjs.useSsoSignIn; }
46728
46728
  });
46729
46729
  Object.defineProperty(exports, "useWorkspaceDocTitles", {
46730
46730
  enumerable: true,
46731
- get: function () { return chunk6WWYH66F_cjs.useWorkspaceDocTitles; }
46731
+ get: function () { return chunkZ3N32LL4_cjs.useWorkspaceDocTitles; }
46732
46732
  });
46733
46733
  Object.defineProperty(exports, "parseTypedSkill", {
46734
46734
  enumerable: true,
@@ -46760,11 +46760,11 @@ Object.defineProperty(exports, "useLaunchWorkflow", {
46760
46760
  });
46761
46761
  Object.defineProperty(exports, "useConnectedThreadActivity", {
46762
46762
  enumerable: true,
46763
- get: function () { return chunkILATBO5Z_cjs.useConnectedThreadActivity; }
46763
+ get: function () { return chunk6ZZWQ3OL_cjs.useConnectedThreadActivity; }
46764
46764
  });
46765
46765
  Object.defineProperty(exports, "DocumentUser", {
46766
46766
  enumerable: true,
46767
- get: function () { return chunkMGGDT6JK_cjs.DocumentUser; }
46767
+ get: function () { return chunkMAKCWF45_cjs.DocumentUser; }
46768
46768
  });
46769
46769
  Object.defineProperty(exports, "useCanBrowseSkills", {
46770
46770
  enumerable: true,
@@ -46816,35 +46816,35 @@ Object.defineProperty(exports, "useViewerStreamingDocument", {
46816
46816
  });
46817
46817
  Object.defineProperty(exports, "FILES_PREFS_KEY", {
46818
46818
  enumerable: true,
46819
- get: function () { return chunkMFZW4FEW_cjs.FILES_PREFS_KEY; }
46819
+ get: function () { return chunkB5BGVPQ5_cjs.FILES_PREFS_KEY; }
46820
46820
  });
46821
46821
  Object.defineProperty(exports, "filesViewMode", {
46822
46822
  enumerable: true,
46823
- get: function () { return chunkMFZW4FEW_cjs.filesViewMode; }
46823
+ get: function () { return chunkB5BGVPQ5_cjs.filesViewMode; }
46824
46824
  });
46825
46825
  Object.defineProperty(exports, "useAiReviewStore", {
46826
46826
  enumerable: true,
46827
- get: function () { return chunkMFZW4FEW_cjs.useAiReviewStore; }
46827
+ get: function () { return chunkB5BGVPQ5_cjs.useAiReviewStore; }
46828
46828
  });
46829
46829
  Object.defineProperty(exports, "useFilesDialogs", {
46830
46830
  enumerable: true,
46831
- get: function () { return chunkMFZW4FEW_cjs.useFilesDialogs; }
46831
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesDialogs; }
46832
46832
  });
46833
46833
  Object.defineProperty(exports, "useFilesGridStates", {
46834
46834
  enumerable: true,
46835
- get: function () { return chunkMFZW4FEW_cjs.useFilesGridStates; }
46835
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesGridStates; }
46836
46836
  });
46837
46837
  Object.defineProperty(exports, "useFilesPrefs", {
46838
46838
  enumerable: true,
46839
- get: function () { return chunkMFZW4FEW_cjs.useFilesPrefs; }
46839
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesPrefs; }
46840
46840
  });
46841
46841
  Object.defineProperty(exports, "useFilesStore", {
46842
46842
  enumerable: true,
46843
- get: function () { return chunkMFZW4FEW_cjs.useFilesStore; }
46843
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesStore; }
46844
46844
  });
46845
46845
  Object.defineProperty(exports, "usePendingFolders", {
46846
46846
  enumerable: true,
46847
- get: function () { return chunkMFZW4FEW_cjs.usePendingFolders; }
46847
+ get: function () { return chunkB5BGVPQ5_cjs.usePendingFolders; }
46848
46848
  });
46849
46849
  Object.defineProperty(exports, "ConnectedMarkdown", {
46850
46850
  enumerable: true,
@@ -46876,67 +46876,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
46876
46876
  });
46877
46877
  Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
46878
46878
  enumerable: true,
46879
- get: function () { return chunkOGJCEWME_cjs.ConnectedPendingSyncDialog; }
46879
+ get: function () { return chunk4XNP27N4_cjs.ConnectedPendingSyncDialog; }
46880
46880
  });
46881
46881
  Object.defineProperty(exports, "DocumentFolderCell", {
46882
46882
  enumerable: true,
46883
- get: function () { return chunkOGJCEWME_cjs.DocumentFolderCell; }
46883
+ get: function () { return chunk4XNP27N4_cjs.DocumentFolderCell; }
46884
46884
  });
46885
46885
  Object.defineProperty(exports, "DocumentLabelsCell", {
46886
46886
  enumerable: true,
46887
- get: function () { return chunkOGJCEWME_cjs.DocumentLabelsCell; }
46887
+ get: function () { return chunk4XNP27N4_cjs.DocumentLabelsCell; }
46888
46888
  });
46889
46889
  Object.defineProperty(exports, "DocumentNameCell", {
46890
46890
  enumerable: true,
46891
- get: function () { return chunkOGJCEWME_cjs.DocumentNameCell; }
46891
+ get: function () { return chunk4XNP27N4_cjs.DocumentNameCell; }
46892
46892
  });
46893
46893
  Object.defineProperty(exports, "DocumentSharedCell", {
46894
46894
  enumerable: true,
46895
- get: function () { return chunkOGJCEWME_cjs.DocumentSharedCell; }
46895
+ get: function () { return chunk4XNP27N4_cjs.DocumentSharedCell; }
46896
46896
  });
46897
46897
  Object.defineProperty(exports, "DocumentStatusGlyph", {
46898
46898
  enumerable: true,
46899
- get: function () { return chunkOGJCEWME_cjs.DocumentStatusGlyph; }
46899
+ get: function () { return chunk4XNP27N4_cjs.DocumentStatusGlyph; }
46900
46900
  });
46901
46901
  Object.defineProperty(exports, "DocumentSyncGlyph", {
46902
46902
  enumerable: true,
46903
- get: function () { return chunkOGJCEWME_cjs.DocumentSyncGlyph; }
46903
+ get: function () { return chunk4XNP27N4_cjs.DocumentSyncGlyph; }
46904
46904
  });
46905
46905
  Object.defineProperty(exports, "FileTooltipContent", {
46906
46906
  enumerable: true,
46907
- get: function () { return chunkOGJCEWME_cjs.FileTooltipContent; }
46907
+ get: function () { return chunk4XNP27N4_cjs.FileTooltipContent; }
46908
46908
  });
46909
46909
  Object.defineProperty(exports, "RelatedDocumentsCell", {
46910
46910
  enumerable: true,
46911
- get: function () { return chunkOGJCEWME_cjs.RelatedDocumentsCell; }
46911
+ get: function () { return chunk4XNP27N4_cjs.RelatedDocumentsCell; }
46912
46912
  });
46913
46913
  Object.defineProperty(exports, "StatusCell", {
46914
46914
  enumerable: true,
46915
- get: function () { return chunkOGJCEWME_cjs.StatusCell; }
46915
+ get: function () { return chunk4XNP27N4_cjs.StatusCell; }
46916
46916
  });
46917
46917
  Object.defineProperty(exports, "UserAvatar", {
46918
46918
  enumerable: true,
46919
- get: function () { return chunkOGJCEWME_cjs.UserAvatar; }
46919
+ get: function () { return chunk4XNP27N4_cjs.UserAvatar; }
46920
46920
  });
46921
46921
  Object.defineProperty(exports, "isActiveDocumentStatus", {
46922
46922
  enumerable: true,
46923
- get: function () { return chunkOGJCEWME_cjs.isActiveDocumentStatus; }
46923
+ get: function () { return chunk4XNP27N4_cjs.isActiveDocumentStatus; }
46924
46924
  });
46925
46925
  Object.defineProperty(exports, "openPendingSyncDialog", {
46926
46926
  enumerable: true,
46927
- get: function () { return chunkOGJCEWME_cjs.openPendingSyncDialog; }
46927
+ get: function () { return chunk4XNP27N4_cjs.openPendingSyncDialog; }
46928
46928
  });
46929
46929
  Object.defineProperty(exports, "parseQuotaError", {
46930
46930
  enumerable: true,
46931
- get: function () { return chunkOGJCEWME_cjs.parseQuotaError; }
46931
+ get: function () { return chunk4XNP27N4_cjs.parseQuotaError; }
46932
46932
  });
46933
46933
  Object.defineProperty(exports, "startMenuItem", {
46934
46934
  enumerable: true,
46935
- get: function () { return chunkOGJCEWME_cjs.startMenuItem; }
46935
+ get: function () { return chunk4XNP27N4_cjs.startMenuItem; }
46936
46936
  });
46937
46937
  Object.defineProperty(exports, "useDocumentFolders", {
46938
46938
  enumerable: true,
46939
- get: function () { return chunkOGJCEWME_cjs.useDocumentFolders; }
46939
+ get: function () { return chunk4XNP27N4_cjs.useDocumentFolders; }
46940
46940
  });
46941
46941
  Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
46942
46942
  enumerable: true,
@@ -46944,23 +46944,23 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
46944
46944
  });
46945
46945
  Object.defineProperty(exports, "ConnectedWorkflowsTable", {
46946
46946
  enumerable: true,
46947
- get: function () { return chunkMH7P5FEK_cjs.ConnectedWorkflowsTable; }
46947
+ get: function () { return chunkFCT62ZPE_cjs.ConnectedWorkflowsTable; }
46948
46948
  });
46949
46949
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
46950
46950
  enumerable: true,
46951
- get: function () { return chunkMH7P5FEK_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
46951
+ get: function () { return chunkFCT62ZPE_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
46952
46952
  });
46953
46953
  Object.defineProperty(exports, "useConnectedWorkspaceRole", {
46954
46954
  enumerable: true,
46955
- get: function () { return chunkMH7P5FEK_cjs.useConnectedWorkspaceRole; }
46955
+ get: function () { return chunkFCT62ZPE_cjs.useConnectedWorkspaceRole; }
46956
46956
  });
46957
46957
  Object.defineProperty(exports, "useDocxCommentTarget", {
46958
46958
  enumerable: true,
46959
- get: function () { return chunkMH7P5FEK_cjs.useDocxCommentTarget; }
46959
+ get: function () { return chunkFCT62ZPE_cjs.useDocxCommentTarget; }
46960
46960
  });
46961
46961
  Object.defineProperty(exports, "useNativeDocxSupport", {
46962
46962
  enumerable: true,
46963
- get: function () { return chunkMH7P5FEK_cjs.useNativeDocxSupport; }
46963
+ get: function () { return chunkFCT62ZPE_cjs.useNativeDocxSupport; }
46964
46964
  });
46965
46965
  Object.defineProperty(exports, "useOpenWorkflow", {
46966
46966
  enumerable: true,