@ixo/editor 7.18.0 → 7.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/dist/{BidConfig-P5CJR43N.js → BidConfig-TQXBUKGD.js} +10 -10
  2. package/dist/{BidFlowDetail-SV33OI2Y.js → BidFlowDetail-3BKTJXXA.js} +16 -16
  3. package/dist/{CalendarEventCreateConfig-4IZ2UHS3.js → CalendarEventCreateConfig-U7NFXBME.js} +11 -11
  4. package/dist/{CalendarEventCreateFlowDetail-CSI6N2PF.js → CalendarEventCreateFlowDetail-ERQXISWY.js} +12 -12
  5. package/dist/{CalendarEventListConfig-N4XXZLUC.js → CalendarEventListConfig-FMZXJEPI.js} +11 -11
  6. package/dist/{CalendarEventListFlowDetail-Y2MQYWXT.js → CalendarEventListFlowDetail-DXOUHADW.js} +5 -5
  7. package/dist/{CalendarEventUpdateConfig-R2IUZZWK.js → CalendarEventUpdateConfig-C43L7PHE.js} +11 -11
  8. package/dist/{CalendarEventUpdateFlowDetail-MAZSAC6G.js → CalendarEventUpdateFlowDetail-M6Z3TM3W.js} +12 -12
  9. package/dist/{ClaimConfig-QJETYD5G.js → ClaimConfig-XLFL3IWC.js} +10 -10
  10. package/dist/{ClaimFlowDetail-UEGNEOLD.js → ClaimFlowDetail-CLEBNXGP.js} +16 -16
  11. package/dist/{CollectionLifecycleConfig-CGZKXQP7.js → CollectionLifecycleConfig-556UBJ2I.js} +4 -4
  12. package/dist/{CollectionLifecycleFlowDetail-HKORLTZM.js → CollectionLifecycleFlowDetail-JYNRCJ5S.js} +15 -15
  13. package/dist/{CollectionUsersConfig-A7ASGD2L.js → CollectionUsersConfig-6P22QEYH.js} +10 -10
  14. package/dist/{CollectionUsersFlowDetail-JUULKPNC.js → CollectionUsersFlowDetail-75KV4MLK.js} +19 -19
  15. package/dist/{CredentialStoreConfig-DAA3ZT24.js → CredentialStoreConfig-G476HYFO.js} +8 -8
  16. package/dist/{CredentialStoreFlowDetail-W3TMZREQ.js → CredentialStoreFlowDetail-PHFJWDQ6.js} +7 -7
  17. package/dist/{DesignPodFlowDetail-HEFNV3J3.js → DesignPodFlowDetail-QE7XKTQ2.js} +5 -5
  18. package/dist/{DomainCardPreviewFlowDetail-OG2SLUYU.js → DomainCardPreviewFlowDetail-YN6CBAIF.js} +7 -7
  19. package/dist/{DomainIndexerLookupFlowDetail-DPPNZNOU.js → DomainIndexerLookupFlowDetail-QGCPCVQU.js} +5 -5
  20. package/dist/{DomainSignFlowDetail-CHJPBXCN.js → DomainSignFlowDetail-DHJPC6PO.js} +8 -8
  21. package/dist/{DomainSingleSelectionConfig-6BU762LL.js → DomainSingleSelectionConfig-EJTQIOGS.js} +4 -4
  22. package/dist/{DomainSingleSelectionFlowDetail-JFFYQC4P.js → DomainSingleSelectionFlowDetail-3FNDUQNQ.js} +5 -5
  23. package/dist/{EmailSendConfig-V2H65UW5.js → EmailSendConfig-ZCXQK3SV.js} +10 -10
  24. package/dist/{EntityCreateOracleFlowDetail-ZL3FDZHV.js → EntityCreateOracleFlowDetail-C6MV65OC.js} +7 -7
  25. package/dist/{EntitySingleSelectionFlowDetail-TL7PATBJ.js → EntitySingleSelectionFlowDetail-55TDSVSD.js} +5 -5
  26. package/dist/{EntityTransferFlowDetail-5JMBBK53.js → EntityTransferFlowDetail-FT4IU4H6.js} +7 -7
  27. package/dist/{EvalEngineConfig-UYKCKNQQ.js → EvalEngineConfig-NATHCR6D.js} +13 -13
  28. package/dist/{EvalEngineFlowDetail-VCLYU5FV.js → EvalEngineFlowDetail-K4UUV3SQ.js} +9 -9
  29. package/dist/{EvaluateBidConfig-T6FZD4KE.js → EvaluateBidConfig-UYCRRF2T.js} +10 -10
  30. package/dist/{EvaluateBidFlowDetail-EKL5NXYX.js → EvaluateBidFlowDetail-FQP74NYF.js} +17 -17
  31. package/dist/{EvaluateClaimConfig-DXPZIL4Q.js → EvaluateClaimConfig-QVBOPMX2.js} +10 -10
  32. package/dist/{EvaluateClaimFlowDetail-EVEA3UXR.js → EvaluateClaimFlowDetail-7UDCX4G5.js} +16 -16
  33. package/dist/{FormSubmitFlowDetail-34DAUMGE.js → FormSubmitFlowDetail-7EGYHASY.js} +7 -7
  34. package/dist/{GovernanceAuthzExecFlowDetail-4ICVRCYV.js → GovernanceAuthzExecFlowDetail-H4E53YQ4.js} +8 -8
  35. package/dist/{GovernanceAuthzGrantFlowDetail-NYU6RBMD.js → GovernanceAuthzGrantFlowDetail-34ZEJMAG.js} +9 -9
  36. package/dist/{GovernanceAuthzRevokeFlowDetail-2NYVNJRY.js → GovernanceAuthzRevokeFlowDetail-OIPUTKBU.js} +9 -9
  37. package/dist/{GovernanceChainVoteFlowDetail-LM3NSV32.js → GovernanceChainVoteFlowDetail-GDYO5YNZ.js} +8 -8
  38. package/dist/{GovernanceConfigFlowDetail-7GPHNALT.js → GovernanceConfigFlowDetail-EAX44S7P.js} +5 -5
  39. package/dist/{GovernanceContractExecuteFlowDetail-U3SOGE5Q.js → GovernanceContractExecuteFlowDetail-JAEBWT5F.js} +9 -9
  40. package/dist/{GovernanceContractInstantiateFlowDetail-5S7MA2TT.js → GovernanceContractInstantiateFlowDetail-TKK2CE3N.js} +9 -9
  41. package/dist/{GovernanceContractManageCw20FlowDetail-WTAYJUC6.js → GovernanceContractManageCw20FlowDetail-PZ4YHU6Z.js} +8 -8
  42. package/dist/{GovernanceContractMigrateFlowDetail-FQLAJC7X.js → GovernanceContractMigrateFlowDetail-EA5BNLXK.js} +9 -9
  43. package/dist/{GovernanceContractUpdateAdminFlowDetail-NGZTF35T.js → GovernanceContractUpdateAdminFlowDetail-QOB2BCB2.js} +8 -8
  44. package/dist/{GovernanceCustomMessageFlowDetail-5M7NRHYN.js → GovernanceCustomMessageFlowDetail-SQJKIYUU.js} +9 -9
  45. package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-DJJWFWS6.js → GovernanceDaoAcceptToMarketplaceFlowDetail-NAGN66IN.js} +9 -9
  46. package/dist/{GovernanceDaoAdminExecFlowDetail-N7NOFQ4Z.js → GovernanceDaoAdminExecFlowDetail-RST73GEG.js} +10 -10
  47. package/dist/{GovernanceDaoCreateEntityFlowDetail-PSWK7BXP.js → GovernanceDaoCreateEntityFlowDetail-3ZU4M6XB.js} +9 -9
  48. package/dist/{GovernanceDaoJoinFlowDetail-Q3WSUZX3.js → GovernanceDaoJoinFlowDetail-P54XEJBK.js} +9 -9
  49. package/dist/{GovernanceDaoManageStorageFlowDetail-QWFCDZMJ.js → GovernanceDaoManageStorageFlowDetail-ATW44N2O.js} +8 -8
  50. package/dist/{GovernanceDaoManageSubDaosFlowDetail-2JITWAYZ.js → GovernanceDaoManageSubDaosFlowDetail-PSZ4L6JS.js} +9 -9
  51. package/dist/{GovernanceDaoUpdateInfoFlowDetail-R5ZK5SNL.js → GovernanceDaoUpdateInfoFlowDetail-JM367SP3.js} +8 -8
  52. package/dist/{GovernanceMemberProposalConfig-DADW2B2Y.js → GovernanceMemberProposalConfig-T6V4XMD5.js} +5 -5
  53. package/dist/{GovernanceMemberProposalFlowDetail-ZHGLGNVK.js → GovernanceMemberProposalFlowDetail-QV4GZGCL.js} +9 -9
  54. package/dist/{GovernanceNftBurnFlowDetail-XNHCP7SW.js → GovernanceNftBurnFlowDetail-LWZXYELU.js} +8 -8
  55. package/dist/{GovernanceNftManageCollectionsFlowDetail-RMVCVWXS.js → GovernanceNftManageCollectionsFlowDetail-SBBJAA3O.js} +8 -8
  56. package/dist/{GovernanceNftTransferFlowDetail-ANUJ3UUE.js → GovernanceNftTransferFlowDetail-M3FZ44DR.js} +9 -9
  57. package/dist/{GovernanceSettingsProposalConfig-WT2XRFJV.js → GovernanceSettingsProposalConfig-LWZSLPOP.js} +5 -5
  58. package/dist/{GovernanceSettingsProposalFlowDetail-IWCYMAIH.js → GovernanceSettingsProposalFlowDetail-XPNZHMRM.js} +8 -8
  59. package/dist/{GovernanceStakingStakeFlowDetail-LM37IMVO.js → GovernanceStakingStakeFlowDetail-YTSU64YA.js} +8 -8
  60. package/dist/{GovernanceStakingStakeToGroupFlowDetail-VNARHVFO.js → GovernanceStakingStakeToGroupFlowDetail-BINBC737.js} +8 -8
  61. package/dist/{GovernanceSubmissionConfigProposalFlowDetail-ZT4LW4CU.js → GovernanceSubmissionConfigProposalFlowDetail-2M2WYVRI.js} +8 -8
  62. package/dist/{GovernanceTransactionMintFlowDetail-MP36YVVV.js → GovernanceTransactionMintFlowDetail-JMRKVSSC.js} +9 -9
  63. package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-ABSKBNLZ.js → GovernanceTransactionPerformTokenSwapFlowDetail-ISJWELXS.js} +8 -8
  64. package/dist/{GovernanceTransactionSendFundsConfig-RLDBUKIT.js → GovernanceTransactionSendFundsConfig-2ZZGBB66.js} +5 -5
  65. package/dist/{GovernanceTransactionSendFundsFlowDetail-OIYTEWTP.js → GovernanceTransactionSendFundsFlowDetail-3JWTIOLT.js} +9 -9
  66. package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-I6ORHQUY.js → GovernanceTransactionSendGroupTokenFlowDetail-6TBIUJLV.js} +9 -9
  67. package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-HIJLXLTD.js → GovernanceTransactionWithdrawTokenSwapFlowDetail-SQH73HL2.js} +8 -8
  68. package/dist/{GovernanceValidatorActionsFlowDetail-ANDTFZ63.js → GovernanceValidatorActionsFlowDetail-VFPEROKQ.js} +8 -8
  69. package/dist/{HarvestConfig-FBA2LMWP.js → HarvestConfig-TUREICJM.js} +9 -9
  70. package/dist/{HarvestFlowDetail-YSW6OEL6.js → HarvestFlowDetail-6VDHMIIR.js} +7 -7
  71. package/dist/{HttpRequestConfig-4OJ4KQGC.js → HttpRequestConfig-NZP4M72G.js} +8 -8
  72. package/dist/{HttpRequestFlowDetail-6JPPTSIZ.js → HttpRequestFlowDetail-VKPVV3EW.js} +5 -5
  73. package/dist/{IdentityCreateFlowDetail-Q2Z7GSMV.js → IdentityCreateFlowDetail-PRX37M4E.js} +13 -13
  74. package/dist/{IidCreateFlowDetail-LKRE5KDH.js → IidCreateFlowDetail-SHBEMN4T.js} +13 -13
  75. package/dist/{KycVerifyConfig-ZZSQPKXU.js → KycVerifyConfig-E5LO2HWP.js} +8 -8
  76. package/dist/{KycVerifyFlowDetail-JEQM5A7R.js → KycVerifyFlowDetail-ECXG4G2V.js} +13 -13
  77. package/dist/{ListDomainFlowsFlowDetail-DK4YPMEJ.js → ListDomainFlowsFlowDetail-R4O5E22G.js} +5 -5
  78. package/dist/{LoadBatchesFlowDetail-A4HDN3OR.js → LoadBatchesFlowDetail-D5A3BXLP.js} +7 -7
  79. package/dist/{MatrixDmConfig-5VO4RJHR.js → MatrixDmConfig-TWT476MT.js} +4 -4
  80. package/dist/{MatrixRegisterFlowDetail-JMPQ6EHL.js → MatrixRegisterFlowDetail-SNEQV5XD.js} +7 -7
  81. package/dist/{MemberMultiSelectFlowDetail-3ZEIOH4X.js → MemberMultiSelectFlowDetail-AFSBDTLU.js} +5 -5
  82. package/dist/{OracleConfig-6I47PA2F.js → OracleConfig-YA235M4B.js} +8 -8
  83. package/dist/{OracleConfigureOracleFlowDetail-BFYUTBHC.js → OracleConfigureOracleFlowDetail-FG7W6KQV.js} +13 -13
  84. package/dist/{OracleContractFlowDetail-MYEJZNCP.js → OracleContractFlowDetail-6WOJ2XM2.js} +7 -7
  85. package/dist/{OracleDeployFlowDetail-YF7XQMZZ.js → OracleDeployFlowDetail-MV46JHSL.js} +7 -7
  86. package/dist/{OracleDeploySetupFlowDetail-QLX7O63W.js → OracleDeploySetupFlowDetail-O4OY5VBH.js} +7 -7
  87. package/dist/{OracleDeployStartFlowDetail-NRPW76XH.js → OracleDeployStartFlowDetail-TLKREH6F.js} +7 -7
  88. package/dist/{OracleFlowDetail-F7AX3GTY.js → OracleFlowDetail-VEH2AEPI.js} +7 -7
  89. package/dist/{OraclePromptFlowDetail-NVHRWHTS.js → OraclePromptFlowDetail-3VVAWBXP.js} +7 -7
  90. package/dist/{OracleStoreConfigFlowDetail-XUBCZZBO.js → OracleStoreConfigFlowDetail-F6BIC2MI.js} +7 -7
  91. package/dist/{OracleStoreSecretsAndConfigFlowDetail-M7OEWUPG.js → OracleStoreSecretsAndConfigFlowDetail-OJL7FBEX.js} +13 -13
  92. package/dist/{OracleStoreSecretsFlowDetail-LHW2JSKX.js → OracleStoreSecretsFlowDetail-Q7BB6VPM.js} +13 -13
  93. package/dist/{ProposalCreateConfig-DAIAJWU4.js → ProposalCreateConfig-PD2HANKW.js} +10 -10
  94. package/dist/{ProposalCreateFlowDetail-I5RX74EW.js → ProposalCreateFlowDetail-H5TB6CRI.js} +14 -14
  95. package/dist/ProposalCreateFlowDetail-H5TB6CRI.js.map +1 -0
  96. package/dist/{ProposalVoteConfig-2FOG2FFP.js → ProposalVoteConfig-CGDNREKQ.js} +10 -10
  97. package/dist/{ProposalVoteFlowDetail-BRHGJXD2.js → ProposalVoteFlowDetail-BNIZNLJ3.js} +8 -8
  98. package/dist/{ProtocolSelectFlowDetail-3RKNFTWF.js → ProtocolSelectFlowDetail-X34GCQXS.js} +4 -4
  99. package/dist/{RetireConfig-IFSJTDMZ.js → RetireConfig-XCYWEMCM.js} +9 -9
  100. package/dist/{RetireFlowDetail-OOGYAODJ.js → RetireFlowDetail-J2VJGNU3.js} +7 -7
  101. package/dist/{SandboxProvisionFlowDetail-LFHRTPLR.js → SandboxProvisionFlowDetail-DTCXKMFO.js} +7 -7
  102. package/dist/{WalletFundConfig-WK7QIPL6.js → WalletFundConfig-MU6JRK2X.js} +5 -5
  103. package/dist/{WalletFundFlowDetail-N2XTMXIG.js → WalletFundFlowDetail-7YJDOYVS.js} +8 -8
  104. package/dist/{WalletGenerateAndFundFlowDetail-5LKRKR4R.js → WalletGenerateAndFundFlowDetail-CME4JE3R.js} +5 -5
  105. package/dist/{WalletGenerateFlowDetail-RXZJMLLP.js → WalletGenerateFlowDetail-3KTVG2V4.js} +5 -5
  106. package/dist/{XeroContactCreateConfig-34JJXNUW.js → XeroContactCreateConfig-4VKYUIJQ.js} +11 -11
  107. package/dist/{XeroContactCreateFlowDetail-4BDRDAXW.js → XeroContactCreateFlowDetail-JRJ5I4CD.js} +12 -12
  108. package/dist/{XeroInvoiceCreateConfig-VI4HQP2Z.js → XeroInvoiceCreateConfig-ULKQXCNS.js} +11 -11
  109. package/dist/{XeroInvoiceCreateFlowDetail-AKS7WN4K.js → XeroInvoiceCreateFlowDetail-DTOFRV4L.js} +14 -14
  110. package/dist/{XeroInvoiceListConfig-6GELQTQK.js → XeroInvoiceListConfig-PPXFYVVK.js} +11 -11
  111. package/dist/{XeroInvoiceListFlowDetail-27GR2BSJ.js → XeroInvoiceListFlowDetail-RPE7NCMF.js} +5 -5
  112. package/dist/{XeroPaymentCreateConfig-7PNHPUGK.js → XeroPaymentCreateConfig-EIYSLLZK.js} +8 -8
  113. package/dist/{XeroPaymentCreateFlowDetail-PDWKG2SR.js → XeroPaymentCreateFlowDetail-MMLHUXLS.js} +13 -13
  114. package/dist/action-manifest.json +3 -3
  115. package/dist/{chunk-D737IBAL.js → chunk-2GIBQPNN.js} +2 -2
  116. package/dist/{chunk-UEIFCJTT.js → chunk-3PUDS5PV.js} +2 -2
  117. package/dist/{chunk-S2TUXPUL.js → chunk-45KKBVIM.js} +2 -2
  118. package/dist/{chunk-LOK5IXGD.js → chunk-6NH4PDTY.js} +18 -1
  119. package/dist/chunk-6NH4PDTY.js.map +1 -0
  120. package/dist/{chunk-SAY4IOQ4.js → chunk-6S4TEGYI.js} +2 -2
  121. package/dist/{chunk-YC6BYZJZ.js → chunk-7C2WFOG2.js} +146 -36
  122. package/dist/chunk-7C2WFOG2.js.map +1 -0
  123. package/dist/{chunk-OHXDPRPB.js → chunk-7UJMOJBH.js} +2 -2
  124. package/dist/{chunk-FSGPZ6UT.js → chunk-A34Z7KJC.js} +2 -2
  125. package/dist/{chunk-LVPX7CAS.js → chunk-AW6YLUSS.js} +2 -2
  126. package/dist/{chunk-NTQKVYLG.js → chunk-B7X6QSZ7.js} +2 -2
  127. package/dist/{chunk-3WIS2UI4.js → chunk-BH5JRBU4.js} +2 -2
  128. package/dist/{chunk-UCO4YJ5L.js → chunk-DRPCLFT2.js} +2 -2
  129. package/dist/{chunk-B464VTTD.js → chunk-IJUGKKMY.js} +2 -2
  130. package/dist/{chunk-RG7Z2VMU.js → chunk-IY7QJKBL.js} +2 -2
  131. package/dist/{chunk-25POTAU5.js → chunk-JD25JVOX.js} +2 -2
  132. package/dist/{chunk-AJF7MIIN.js → chunk-L6ZHO7T4.js} +2 -2
  133. package/dist/{chunk-X7PMVRGS.js → chunk-LUUZ3SG6.js} +3 -3
  134. package/dist/chunk-LUUZ3SG6.js.map +1 -0
  135. package/dist/{chunk-CC7MDRBY.js → chunk-NDD5CJZB.js} +2 -2
  136. package/dist/{chunk-JYNYVFSY.js → chunk-Q2FDVC3Z.js} +3 -3
  137. package/dist/{chunk-3C6YD77I.js → chunk-QUGMNWDO.js} +2 -2
  138. package/dist/{chunk-A35SKJEL.js → chunk-RIHEX7HK.js} +2 -2
  139. package/dist/{chunk-RNKNOEYB.js → chunk-RZXGA5XL.js} +9 -7
  140. package/dist/{chunk-RNKNOEYB.js.map → chunk-RZXGA5XL.js.map} +1 -1
  141. package/dist/{chunk-UIBIZKN4.js → chunk-SUIL2KJT.js} +5 -5
  142. package/dist/{chunk-7WBLDDDN.js → chunk-SXCEELAR.js} +3 -3
  143. package/dist/{chunk-635DLQIO.js → chunk-T3GM5CRM.js} +3 -3
  144. package/dist/{chunk-X7L5XHYY.js → chunk-VSVM2MPJ.js} +2 -2
  145. package/dist/{chunk-SWDPZFJ7.js → chunk-WBTL6EX4.js} +4 -4
  146. package/dist/{chunk-ARLE35FS.js → chunk-WY4JOYIF.js} +2 -2
  147. package/dist/{chunk-75L5M6BB.js → chunk-X6U4GFNS.js} +3 -3
  148. package/dist/chunk-X6U4GFNS.js.map +1 -0
  149. package/dist/{chunk-JRWJLWOY.js → chunk-XGICKRWF.js} +601 -55
  150. package/dist/chunk-XGICKRWF.js.map +1 -0
  151. package/dist/{chunk-VOW7DHXR.js → chunk-XKDMDEUI.js} +564 -506
  152. package/dist/chunk-XKDMDEUI.js.map +1 -0
  153. package/dist/{chunk-BJDQVMYW.js → chunk-YQ2KFBAT.js} +2 -2
  154. package/dist/{chunk-FWXXWWT7.js → chunk-YQWE5CZP.js} +169 -6
  155. package/dist/chunk-YQWE5CZP.js.map +1 -0
  156. package/dist/{chunk-DGALOR3X.js → chunk-YRWVRQXG.js} +2 -2
  157. package/dist/{chunk-EZ424ZXM.js → chunk-Z46UWMKG.js} +2 -2
  158. package/dist/{chunk-B3R2NVUD.js → chunk-ZAZDJGPW.js} +2 -2
  159. package/dist/{chunk-LJCGR4FZ.js → chunk-ZCKNE7BN.js} +2 -2
  160. package/dist/{connections-BJYmPkaj.d.ts → connections-Bb8EVlWA.d.ts} +19 -10
  161. package/dist/core/index.cjs +938 -103
  162. package/dist/core/index.cjs.map +1 -1
  163. package/dist/core/index.d.ts +346 -6
  164. package/dist/core/index.js +44 -10
  165. package/dist/core/index.js.map +1 -1
  166. package/dist/{graphql-client-CdN8lj4D.d.ts → graphql-client-Dukm5Usv.d.ts} +1 -1
  167. package/dist/index.d.ts +3 -3
  168. package/dist/index.js +25 -25
  169. package/dist/mantine/index.d.ts +3 -3
  170. package/dist/mantine/index.js +24 -24
  171. package/dist/{types-DsF-l-4t.d.ts → types-D0TryOYl.d.ts} +141 -2
  172. package/package.json +1 -1
  173. package/dist/ProposalCreateFlowDetail-I5RX74EW.js.map +0 -1
  174. package/dist/chunk-75L5M6BB.js.map +0 -1
  175. package/dist/chunk-FWXXWWT7.js.map +0 -1
  176. package/dist/chunk-JRWJLWOY.js.map +0 -1
  177. package/dist/chunk-LOK5IXGD.js.map +0 -1
  178. package/dist/chunk-VOW7DHXR.js.map +0 -1
  179. package/dist/chunk-X7PMVRGS.js.map +0 -1
  180. package/dist/chunk-YC6BYZJZ.js.map +0 -1
  181. /package/dist/{BidConfig-P5CJR43N.js.map → BidConfig-TQXBUKGD.js.map} +0 -0
  182. /package/dist/{BidFlowDetail-SV33OI2Y.js.map → BidFlowDetail-3BKTJXXA.js.map} +0 -0
  183. /package/dist/{CalendarEventCreateConfig-4IZ2UHS3.js.map → CalendarEventCreateConfig-U7NFXBME.js.map} +0 -0
  184. /package/dist/{CalendarEventCreateFlowDetail-CSI6N2PF.js.map → CalendarEventCreateFlowDetail-ERQXISWY.js.map} +0 -0
  185. /package/dist/{CalendarEventListConfig-N4XXZLUC.js.map → CalendarEventListConfig-FMZXJEPI.js.map} +0 -0
  186. /package/dist/{CalendarEventListFlowDetail-Y2MQYWXT.js.map → CalendarEventListFlowDetail-DXOUHADW.js.map} +0 -0
  187. /package/dist/{CalendarEventUpdateConfig-R2IUZZWK.js.map → CalendarEventUpdateConfig-C43L7PHE.js.map} +0 -0
  188. /package/dist/{CalendarEventUpdateFlowDetail-MAZSAC6G.js.map → CalendarEventUpdateFlowDetail-M6Z3TM3W.js.map} +0 -0
  189. /package/dist/{ClaimConfig-QJETYD5G.js.map → ClaimConfig-XLFL3IWC.js.map} +0 -0
  190. /package/dist/{ClaimFlowDetail-UEGNEOLD.js.map → ClaimFlowDetail-CLEBNXGP.js.map} +0 -0
  191. /package/dist/{CollectionLifecycleConfig-CGZKXQP7.js.map → CollectionLifecycleConfig-556UBJ2I.js.map} +0 -0
  192. /package/dist/{CollectionLifecycleFlowDetail-HKORLTZM.js.map → CollectionLifecycleFlowDetail-JYNRCJ5S.js.map} +0 -0
  193. /package/dist/{CollectionUsersConfig-A7ASGD2L.js.map → CollectionUsersConfig-6P22QEYH.js.map} +0 -0
  194. /package/dist/{CollectionUsersFlowDetail-JUULKPNC.js.map → CollectionUsersFlowDetail-75KV4MLK.js.map} +0 -0
  195. /package/dist/{CredentialStoreConfig-DAA3ZT24.js.map → CredentialStoreConfig-G476HYFO.js.map} +0 -0
  196. /package/dist/{CredentialStoreFlowDetail-W3TMZREQ.js.map → CredentialStoreFlowDetail-PHFJWDQ6.js.map} +0 -0
  197. /package/dist/{DesignPodFlowDetail-HEFNV3J3.js.map → DesignPodFlowDetail-QE7XKTQ2.js.map} +0 -0
  198. /package/dist/{DomainCardPreviewFlowDetail-OG2SLUYU.js.map → DomainCardPreviewFlowDetail-YN6CBAIF.js.map} +0 -0
  199. /package/dist/{DomainIndexerLookupFlowDetail-DPPNZNOU.js.map → DomainIndexerLookupFlowDetail-QGCPCVQU.js.map} +0 -0
  200. /package/dist/{DomainSignFlowDetail-CHJPBXCN.js.map → DomainSignFlowDetail-DHJPC6PO.js.map} +0 -0
  201. /package/dist/{DomainSingleSelectionConfig-6BU762LL.js.map → DomainSingleSelectionConfig-EJTQIOGS.js.map} +0 -0
  202. /package/dist/{DomainSingleSelectionFlowDetail-JFFYQC4P.js.map → DomainSingleSelectionFlowDetail-3FNDUQNQ.js.map} +0 -0
  203. /package/dist/{EmailSendConfig-V2H65UW5.js.map → EmailSendConfig-ZCXQK3SV.js.map} +0 -0
  204. /package/dist/{EntityCreateOracleFlowDetail-ZL3FDZHV.js.map → EntityCreateOracleFlowDetail-C6MV65OC.js.map} +0 -0
  205. /package/dist/{EntitySingleSelectionFlowDetail-TL7PATBJ.js.map → EntitySingleSelectionFlowDetail-55TDSVSD.js.map} +0 -0
  206. /package/dist/{EntityTransferFlowDetail-5JMBBK53.js.map → EntityTransferFlowDetail-FT4IU4H6.js.map} +0 -0
  207. /package/dist/{EvalEngineConfig-UYKCKNQQ.js.map → EvalEngineConfig-NATHCR6D.js.map} +0 -0
  208. /package/dist/{EvalEngineFlowDetail-VCLYU5FV.js.map → EvalEngineFlowDetail-K4UUV3SQ.js.map} +0 -0
  209. /package/dist/{EvaluateBidConfig-T6FZD4KE.js.map → EvaluateBidConfig-UYCRRF2T.js.map} +0 -0
  210. /package/dist/{EvaluateBidFlowDetail-EKL5NXYX.js.map → EvaluateBidFlowDetail-FQP74NYF.js.map} +0 -0
  211. /package/dist/{EvaluateClaimConfig-DXPZIL4Q.js.map → EvaluateClaimConfig-QVBOPMX2.js.map} +0 -0
  212. /package/dist/{EvaluateClaimFlowDetail-EVEA3UXR.js.map → EvaluateClaimFlowDetail-7UDCX4G5.js.map} +0 -0
  213. /package/dist/{FormSubmitFlowDetail-34DAUMGE.js.map → FormSubmitFlowDetail-7EGYHASY.js.map} +0 -0
  214. /package/dist/{GovernanceAuthzExecFlowDetail-4ICVRCYV.js.map → GovernanceAuthzExecFlowDetail-H4E53YQ4.js.map} +0 -0
  215. /package/dist/{GovernanceAuthzGrantFlowDetail-NYU6RBMD.js.map → GovernanceAuthzGrantFlowDetail-34ZEJMAG.js.map} +0 -0
  216. /package/dist/{GovernanceAuthzRevokeFlowDetail-2NYVNJRY.js.map → GovernanceAuthzRevokeFlowDetail-OIPUTKBU.js.map} +0 -0
  217. /package/dist/{GovernanceChainVoteFlowDetail-LM3NSV32.js.map → GovernanceChainVoteFlowDetail-GDYO5YNZ.js.map} +0 -0
  218. /package/dist/{GovernanceConfigFlowDetail-7GPHNALT.js.map → GovernanceConfigFlowDetail-EAX44S7P.js.map} +0 -0
  219. /package/dist/{GovernanceContractExecuteFlowDetail-U3SOGE5Q.js.map → GovernanceContractExecuteFlowDetail-JAEBWT5F.js.map} +0 -0
  220. /package/dist/{GovernanceContractInstantiateFlowDetail-5S7MA2TT.js.map → GovernanceContractInstantiateFlowDetail-TKK2CE3N.js.map} +0 -0
  221. /package/dist/{GovernanceContractManageCw20FlowDetail-WTAYJUC6.js.map → GovernanceContractManageCw20FlowDetail-PZ4YHU6Z.js.map} +0 -0
  222. /package/dist/{GovernanceContractMigrateFlowDetail-FQLAJC7X.js.map → GovernanceContractMigrateFlowDetail-EA5BNLXK.js.map} +0 -0
  223. /package/dist/{GovernanceContractUpdateAdminFlowDetail-NGZTF35T.js.map → GovernanceContractUpdateAdminFlowDetail-QOB2BCB2.js.map} +0 -0
  224. /package/dist/{GovernanceCustomMessageFlowDetail-5M7NRHYN.js.map → GovernanceCustomMessageFlowDetail-SQJKIYUU.js.map} +0 -0
  225. /package/dist/{GovernanceDaoAcceptToMarketplaceFlowDetail-DJJWFWS6.js.map → GovernanceDaoAcceptToMarketplaceFlowDetail-NAGN66IN.js.map} +0 -0
  226. /package/dist/{GovernanceDaoAdminExecFlowDetail-N7NOFQ4Z.js.map → GovernanceDaoAdminExecFlowDetail-RST73GEG.js.map} +0 -0
  227. /package/dist/{GovernanceDaoCreateEntityFlowDetail-PSWK7BXP.js.map → GovernanceDaoCreateEntityFlowDetail-3ZU4M6XB.js.map} +0 -0
  228. /package/dist/{GovernanceDaoJoinFlowDetail-Q3WSUZX3.js.map → GovernanceDaoJoinFlowDetail-P54XEJBK.js.map} +0 -0
  229. /package/dist/{GovernanceDaoManageStorageFlowDetail-QWFCDZMJ.js.map → GovernanceDaoManageStorageFlowDetail-ATW44N2O.js.map} +0 -0
  230. /package/dist/{GovernanceDaoManageSubDaosFlowDetail-2JITWAYZ.js.map → GovernanceDaoManageSubDaosFlowDetail-PSZ4L6JS.js.map} +0 -0
  231. /package/dist/{GovernanceDaoUpdateInfoFlowDetail-R5ZK5SNL.js.map → GovernanceDaoUpdateInfoFlowDetail-JM367SP3.js.map} +0 -0
  232. /package/dist/{GovernanceMemberProposalConfig-DADW2B2Y.js.map → GovernanceMemberProposalConfig-T6V4XMD5.js.map} +0 -0
  233. /package/dist/{GovernanceMemberProposalFlowDetail-ZHGLGNVK.js.map → GovernanceMemberProposalFlowDetail-QV4GZGCL.js.map} +0 -0
  234. /package/dist/{GovernanceNftBurnFlowDetail-XNHCP7SW.js.map → GovernanceNftBurnFlowDetail-LWZXYELU.js.map} +0 -0
  235. /package/dist/{GovernanceNftManageCollectionsFlowDetail-RMVCVWXS.js.map → GovernanceNftManageCollectionsFlowDetail-SBBJAA3O.js.map} +0 -0
  236. /package/dist/{GovernanceNftTransferFlowDetail-ANUJ3UUE.js.map → GovernanceNftTransferFlowDetail-M3FZ44DR.js.map} +0 -0
  237. /package/dist/{GovernanceSettingsProposalConfig-WT2XRFJV.js.map → GovernanceSettingsProposalConfig-LWZSLPOP.js.map} +0 -0
  238. /package/dist/{GovernanceSettingsProposalFlowDetail-IWCYMAIH.js.map → GovernanceSettingsProposalFlowDetail-XPNZHMRM.js.map} +0 -0
  239. /package/dist/{GovernanceStakingStakeFlowDetail-LM37IMVO.js.map → GovernanceStakingStakeFlowDetail-YTSU64YA.js.map} +0 -0
  240. /package/dist/{GovernanceStakingStakeToGroupFlowDetail-VNARHVFO.js.map → GovernanceStakingStakeToGroupFlowDetail-BINBC737.js.map} +0 -0
  241. /package/dist/{GovernanceSubmissionConfigProposalFlowDetail-ZT4LW4CU.js.map → GovernanceSubmissionConfigProposalFlowDetail-2M2WYVRI.js.map} +0 -0
  242. /package/dist/{GovernanceTransactionMintFlowDetail-MP36YVVV.js.map → GovernanceTransactionMintFlowDetail-JMRKVSSC.js.map} +0 -0
  243. /package/dist/{GovernanceTransactionPerformTokenSwapFlowDetail-ABSKBNLZ.js.map → GovernanceTransactionPerformTokenSwapFlowDetail-ISJWELXS.js.map} +0 -0
  244. /package/dist/{GovernanceTransactionSendFundsConfig-RLDBUKIT.js.map → GovernanceTransactionSendFundsConfig-2ZZGBB66.js.map} +0 -0
  245. /package/dist/{GovernanceTransactionSendFundsFlowDetail-OIYTEWTP.js.map → GovernanceTransactionSendFundsFlowDetail-3JWTIOLT.js.map} +0 -0
  246. /package/dist/{GovernanceTransactionSendGroupTokenFlowDetail-I6ORHQUY.js.map → GovernanceTransactionSendGroupTokenFlowDetail-6TBIUJLV.js.map} +0 -0
  247. /package/dist/{GovernanceTransactionWithdrawTokenSwapFlowDetail-HIJLXLTD.js.map → GovernanceTransactionWithdrawTokenSwapFlowDetail-SQH73HL2.js.map} +0 -0
  248. /package/dist/{GovernanceValidatorActionsFlowDetail-ANDTFZ63.js.map → GovernanceValidatorActionsFlowDetail-VFPEROKQ.js.map} +0 -0
  249. /package/dist/{HarvestConfig-FBA2LMWP.js.map → HarvestConfig-TUREICJM.js.map} +0 -0
  250. /package/dist/{HarvestFlowDetail-YSW6OEL6.js.map → HarvestFlowDetail-6VDHMIIR.js.map} +0 -0
  251. /package/dist/{HttpRequestConfig-4OJ4KQGC.js.map → HttpRequestConfig-NZP4M72G.js.map} +0 -0
  252. /package/dist/{HttpRequestFlowDetail-6JPPTSIZ.js.map → HttpRequestFlowDetail-VKPVV3EW.js.map} +0 -0
  253. /package/dist/{IdentityCreateFlowDetail-Q2Z7GSMV.js.map → IdentityCreateFlowDetail-PRX37M4E.js.map} +0 -0
  254. /package/dist/{IidCreateFlowDetail-LKRE5KDH.js.map → IidCreateFlowDetail-SHBEMN4T.js.map} +0 -0
  255. /package/dist/{KycVerifyConfig-ZZSQPKXU.js.map → KycVerifyConfig-E5LO2HWP.js.map} +0 -0
  256. /package/dist/{KycVerifyFlowDetail-JEQM5A7R.js.map → KycVerifyFlowDetail-ECXG4G2V.js.map} +0 -0
  257. /package/dist/{ListDomainFlowsFlowDetail-DK4YPMEJ.js.map → ListDomainFlowsFlowDetail-R4O5E22G.js.map} +0 -0
  258. /package/dist/{LoadBatchesFlowDetail-A4HDN3OR.js.map → LoadBatchesFlowDetail-D5A3BXLP.js.map} +0 -0
  259. /package/dist/{MatrixDmConfig-5VO4RJHR.js.map → MatrixDmConfig-TWT476MT.js.map} +0 -0
  260. /package/dist/{MatrixRegisterFlowDetail-JMPQ6EHL.js.map → MatrixRegisterFlowDetail-SNEQV5XD.js.map} +0 -0
  261. /package/dist/{MemberMultiSelectFlowDetail-3ZEIOH4X.js.map → MemberMultiSelectFlowDetail-AFSBDTLU.js.map} +0 -0
  262. /package/dist/{OracleConfig-6I47PA2F.js.map → OracleConfig-YA235M4B.js.map} +0 -0
  263. /package/dist/{OracleConfigureOracleFlowDetail-BFYUTBHC.js.map → OracleConfigureOracleFlowDetail-FG7W6KQV.js.map} +0 -0
  264. /package/dist/{OracleContractFlowDetail-MYEJZNCP.js.map → OracleContractFlowDetail-6WOJ2XM2.js.map} +0 -0
  265. /package/dist/{OracleDeployFlowDetail-YF7XQMZZ.js.map → OracleDeployFlowDetail-MV46JHSL.js.map} +0 -0
  266. /package/dist/{OracleDeploySetupFlowDetail-QLX7O63W.js.map → OracleDeploySetupFlowDetail-O4OY5VBH.js.map} +0 -0
  267. /package/dist/{OracleDeployStartFlowDetail-NRPW76XH.js.map → OracleDeployStartFlowDetail-TLKREH6F.js.map} +0 -0
  268. /package/dist/{OracleFlowDetail-F7AX3GTY.js.map → OracleFlowDetail-VEH2AEPI.js.map} +0 -0
  269. /package/dist/{OraclePromptFlowDetail-NVHRWHTS.js.map → OraclePromptFlowDetail-3VVAWBXP.js.map} +0 -0
  270. /package/dist/{OracleStoreConfigFlowDetail-XUBCZZBO.js.map → OracleStoreConfigFlowDetail-F6BIC2MI.js.map} +0 -0
  271. /package/dist/{OracleStoreSecretsAndConfigFlowDetail-M7OEWUPG.js.map → OracleStoreSecretsAndConfigFlowDetail-OJL7FBEX.js.map} +0 -0
  272. /package/dist/{OracleStoreSecretsFlowDetail-LHW2JSKX.js.map → OracleStoreSecretsFlowDetail-Q7BB6VPM.js.map} +0 -0
  273. /package/dist/{ProposalCreateConfig-DAIAJWU4.js.map → ProposalCreateConfig-PD2HANKW.js.map} +0 -0
  274. /package/dist/{ProposalVoteConfig-2FOG2FFP.js.map → ProposalVoteConfig-CGDNREKQ.js.map} +0 -0
  275. /package/dist/{ProposalVoteFlowDetail-BRHGJXD2.js.map → ProposalVoteFlowDetail-BNIZNLJ3.js.map} +0 -0
  276. /package/dist/{ProtocolSelectFlowDetail-3RKNFTWF.js.map → ProtocolSelectFlowDetail-X34GCQXS.js.map} +0 -0
  277. /package/dist/{RetireConfig-IFSJTDMZ.js.map → RetireConfig-XCYWEMCM.js.map} +0 -0
  278. /package/dist/{RetireFlowDetail-OOGYAODJ.js.map → RetireFlowDetail-J2VJGNU3.js.map} +0 -0
  279. /package/dist/{SandboxProvisionFlowDetail-LFHRTPLR.js.map → SandboxProvisionFlowDetail-DTCXKMFO.js.map} +0 -0
  280. /package/dist/{WalletFundConfig-WK7QIPL6.js.map → WalletFundConfig-MU6JRK2X.js.map} +0 -0
  281. /package/dist/{WalletFundFlowDetail-N2XTMXIG.js.map → WalletFundFlowDetail-7YJDOYVS.js.map} +0 -0
  282. /package/dist/{WalletGenerateAndFundFlowDetail-5LKRKR4R.js.map → WalletGenerateAndFundFlowDetail-CME4JE3R.js.map} +0 -0
  283. /package/dist/{WalletGenerateFlowDetail-RXZJMLLP.js.map → WalletGenerateFlowDetail-3KTVG2V4.js.map} +0 -0
  284. /package/dist/{XeroContactCreateConfig-34JJXNUW.js.map → XeroContactCreateConfig-4VKYUIJQ.js.map} +0 -0
  285. /package/dist/{XeroContactCreateFlowDetail-4BDRDAXW.js.map → XeroContactCreateFlowDetail-JRJ5I4CD.js.map} +0 -0
  286. /package/dist/{XeroInvoiceCreateConfig-VI4HQP2Z.js.map → XeroInvoiceCreateConfig-ULKQXCNS.js.map} +0 -0
  287. /package/dist/{XeroInvoiceCreateFlowDetail-AKS7WN4K.js.map → XeroInvoiceCreateFlowDetail-DTOFRV4L.js.map} +0 -0
  288. /package/dist/{XeroInvoiceListConfig-6GELQTQK.js.map → XeroInvoiceListConfig-PPXFYVVK.js.map} +0 -0
  289. /package/dist/{XeroInvoiceListFlowDetail-27GR2BSJ.js.map → XeroInvoiceListFlowDetail-RPE7NCMF.js.map} +0 -0
  290. /package/dist/{XeroPaymentCreateConfig-7PNHPUGK.js.map → XeroPaymentCreateConfig-EIYSLLZK.js.map} +0 -0
  291. /package/dist/{XeroPaymentCreateFlowDetail-PDWKG2SR.js.map → XeroPaymentCreateFlowDetail-MMLHUXLS.js.map} +0 -0
  292. /package/dist/{chunk-D737IBAL.js.map → chunk-2GIBQPNN.js.map} +0 -0
  293. /package/dist/{chunk-UEIFCJTT.js.map → chunk-3PUDS5PV.js.map} +0 -0
  294. /package/dist/{chunk-S2TUXPUL.js.map → chunk-45KKBVIM.js.map} +0 -0
  295. /package/dist/{chunk-SAY4IOQ4.js.map → chunk-6S4TEGYI.js.map} +0 -0
  296. /package/dist/{chunk-OHXDPRPB.js.map → chunk-7UJMOJBH.js.map} +0 -0
  297. /package/dist/{chunk-FSGPZ6UT.js.map → chunk-A34Z7KJC.js.map} +0 -0
  298. /package/dist/{chunk-LVPX7CAS.js.map → chunk-AW6YLUSS.js.map} +0 -0
  299. /package/dist/{chunk-NTQKVYLG.js.map → chunk-B7X6QSZ7.js.map} +0 -0
  300. /package/dist/{chunk-3WIS2UI4.js.map → chunk-BH5JRBU4.js.map} +0 -0
  301. /package/dist/{chunk-UCO4YJ5L.js.map → chunk-DRPCLFT2.js.map} +0 -0
  302. /package/dist/{chunk-B464VTTD.js.map → chunk-IJUGKKMY.js.map} +0 -0
  303. /package/dist/{chunk-RG7Z2VMU.js.map → chunk-IY7QJKBL.js.map} +0 -0
  304. /package/dist/{chunk-25POTAU5.js.map → chunk-JD25JVOX.js.map} +0 -0
  305. /package/dist/{chunk-AJF7MIIN.js.map → chunk-L6ZHO7T4.js.map} +0 -0
  306. /package/dist/{chunk-CC7MDRBY.js.map → chunk-NDD5CJZB.js.map} +0 -0
  307. /package/dist/{chunk-JYNYVFSY.js.map → chunk-Q2FDVC3Z.js.map} +0 -0
  308. /package/dist/{chunk-3C6YD77I.js.map → chunk-QUGMNWDO.js.map} +0 -0
  309. /package/dist/{chunk-A35SKJEL.js.map → chunk-RIHEX7HK.js.map} +0 -0
  310. /package/dist/{chunk-UIBIZKN4.js.map → chunk-SUIL2KJT.js.map} +0 -0
  311. /package/dist/{chunk-7WBLDDDN.js.map → chunk-SXCEELAR.js.map} +0 -0
  312. /package/dist/{chunk-635DLQIO.js.map → chunk-T3GM5CRM.js.map} +0 -0
  313. /package/dist/{chunk-X7L5XHYY.js.map → chunk-VSVM2MPJ.js.map} +0 -0
  314. /package/dist/{chunk-SWDPZFJ7.js.map → chunk-WBTL6EX4.js.map} +0 -0
  315. /package/dist/{chunk-ARLE35FS.js.map → chunk-WY4JOYIF.js.map} +0 -0
  316. /package/dist/{chunk-BJDQVMYW.js.map → chunk-YQ2KFBAT.js.map} +0 -0
  317. /package/dist/{chunk-DGALOR3X.js.map → chunk-YRWVRQXG.js.map} +0 -0
  318. /package/dist/{chunk-EZ424ZXM.js.map → chunk-Z46UWMKG.js.map} +0 -0
  319. /package/dist/{chunk-B3R2NVUD.js.map → chunk-ZAZDJGPW.js.map} +0 -0
  320. /package/dist/{chunk-LJCGR4FZ.js.map → chunk-ZCKNE7BN.js.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  useXeroOracleActivity
3
- } from "./chunk-B464VTTD.js";
3
+ } from "./chunk-IJUGKKMY.js";
4
4
  import {
5
5
  ActionDiffView,
6
6
  SlideToSign,
7
7
  useActionDiff
8
- } from "./chunk-JYNYVFSY.js";
8
+ } from "./chunk-Q2FDVC3Z.js";
9
9
  import {
10
10
  BaseAlert,
11
11
  BaseMultiSelect
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-5DHQ62CY.js";
19
19
  import {
20
20
  useSharedProposal
21
- } from "./chunk-D737IBAL.js";
21
+ } from "./chunk-2GIBQPNN.js";
22
22
  import {
23
23
  ActionsCard,
24
24
  ActionsPanel,
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-GMEYEPGZ.js";
27
27
  import {
28
28
  useCollectionUsdcDenom
29
- } from "./chunk-S2TUXPUL.js";
29
+ } from "./chunk-45KKBVIM.js";
30
30
  import {
31
31
  downloadArrayAsCsv
32
32
  } from "./chunk-5NTKDOP6.js";
@@ -47,7 +47,7 @@ import {
47
47
  useActionCardTargetStore,
48
48
  useOpenSurveyStore,
49
49
  useRegisterOpenSurvey
50
- } from "./chunk-B3R2NVUD.js";
50
+ } from "./chunk-ZAZDJGPW.js";
51
51
  import {
52
52
  getSurveyThemeForScheme,
53
53
  palette,
@@ -70,11 +70,11 @@ import {
70
70
  } from "./chunk-76YX5R4L.js";
71
71
  import {
72
72
  GroupProposalStatus
73
- } from "./chunk-UIBIZKN4.js";
73
+ } from "./chunk-SUIL2KJT.js";
74
74
  import {
75
75
  ProposalOverviewCard,
76
76
  describeSubmissionPolicy
77
- } from "./chunk-UEIFCJTT.js";
77
+ } from "./chunk-3PUDS5PV.js";
78
78
  import {
79
79
  PROPOSAL_STATUS_COLOR,
80
80
  PROPOSAL_STATUS_LABEL,
@@ -94,13 +94,13 @@ import {
94
94
  getPropertyByName,
95
95
  parseResponseSchema,
96
96
  validateResponseAgainstSchema
97
- } from "./chunk-7WBLDDDN.js";
97
+ } from "./chunk-SXCEELAR.js";
98
98
  import {
99
99
  DaoGroupField
100
- } from "./chunk-SAY4IOQ4.js";
100
+ } from "./chunk-6S4TEGYI.js";
101
101
  import {
102
102
  GovernanceProposalShell
103
- } from "./chunk-NTQKVYLG.js";
103
+ } from "./chunk-B7X6QSZ7.js";
104
104
  import {
105
105
  BaseSelect
106
106
  } from "./chunk-4NAFQF6V.js";
@@ -113,7 +113,7 @@ import {
113
113
  } from "./chunk-AKRAO7H6.js";
114
114
  import {
115
115
  useGovernanceCoreAddress
116
- } from "./chunk-SWDPZFJ7.js";
116
+ } from "./chunk-WBTL6EX4.js";
117
117
  import {
118
118
  ProposalMetadataFields
119
119
  } from "./chunk-TR4KO3AG.js";
@@ -124,7 +124,7 @@ import {
124
124
  useRunRuntimeReader,
125
125
  useRunSessionId,
126
126
  useRunSessionPreview
127
- } from "./chunk-LVPX7CAS.js";
127
+ } from "./chunk-AW6YLUSS.js";
128
128
  import {
129
129
  EntityAvatar_default
130
130
  } from "./chunk-BKLSSLPZ.js";
@@ -142,7 +142,7 @@ import {
142
142
  setActiveEditor,
143
143
  syncFlowNodePropsFromProjection,
144
144
  writeFlowIdentity
145
- } from "./chunk-RNKNOEYB.js";
145
+ } from "./chunk-RZXGA5XL.js";
146
146
  import {
147
147
  LATEST_VERSION,
148
148
  buildActionRunInputs,
@@ -166,7 +166,7 @@ import {
166
166
  startRun,
167
167
  validateBlockConfig,
168
168
  writeRunRecordAndReconcile
169
- } from "./chunk-JRWJLWOY.js";
169
+ } from "./chunk-XGICKRWF.js";
170
170
  import {
171
171
  COLLECTION_CREATE_ACTION_TYPE,
172
172
  DECISION_REQUEST_ACTION_TYPE,
@@ -196,7 +196,7 @@ import {
196
196
  resolveFormAnswers,
197
197
  retryPendingRunTimelineEvents,
198
198
  serializeDelegatedToolInputs
199
- } from "./chunk-YC6BYZJZ.js";
199
+ } from "./chunk-7C2WFOG2.js";
200
200
  import {
201
201
  buildDomainCardLinkedResource,
202
202
  buildGovernanceGroupLinkedEntities,
@@ -205,7 +205,7 @@ import {
205
205
  parseLinkedEntities,
206
206
  tempDomainCreatorSurvey,
207
207
  transformSurveyToCredentialSubject
208
- } from "./chunk-UCO4YJ5L.js";
208
+ } from "./chunk-DRPCLFT2.js";
209
209
  import {
210
210
  COIN_OPTIONS,
211
211
  CUSTOM_DENOM_OPTION,
@@ -229,16 +229,16 @@ import {
229
229
  import {
230
230
  bindFlowOwnerFromRoom,
231
231
  verifyDesignPodPublishedRun
232
- } from "./chunk-AJF7MIIN.js";
232
+ } from "./chunk-L6ZHO7T4.js";
233
233
  import {
234
234
  resolveReferences
235
- } from "./chunk-EZ424ZXM.js";
235
+ } from "./chunk-Z46UWMKG.js";
236
236
  import {
237
237
  BaseTextArea
238
238
  } from "./chunk-ZDNW6VQG.js";
239
239
  import {
240
240
  DismissibleAlert
241
- } from "./chunk-A35SKJEL.js";
241
+ } from "./chunk-RIHEX7HK.js";
242
242
  import {
243
243
  actionAlertStyles
244
244
  } from "./chunk-6GKJR52N.js";
@@ -261,12 +261,12 @@ import {
261
261
  useBlocknoteHandlers,
262
262
  useHookedActions,
263
263
  useTranslate
264
- } from "./chunk-75L5M6BB.js";
264
+ } from "./chunk-X6U4GFNS.js";
265
265
  import {
266
266
  AUTHORITY_RECHECK_MS,
267
267
  createUcanDelegationStore,
268
268
  lifecycleRequestProof
269
- } from "./chunk-FWXXWWT7.js";
269
+ } from "./chunk-YQWE5CZP.js";
270
270
  import {
271
271
  LEGACY_RUNTIME_MAP_KEY,
272
272
  RUNS_MAP_KEY,
@@ -297,7 +297,7 @@ import {
297
297
  subscribeToActionState,
298
298
  usesLegacyRuntimeCompatibility,
299
299
  writeActionState
300
- } from "./chunk-LOK5IXGD.js";
300
+ } from "./chunk-6NH4PDTY.js";
301
301
 
302
302
  // src/mantine/hooks/usePanel.ts
303
303
  import { useCallback, useMemo, useEffect, useRef } from "react";
@@ -4690,7 +4690,7 @@ var ListTemplateView = ({ editor, block: block2 }) => {
4690
4690
  };
4691
4691
 
4692
4692
  // src/mantine/blocks/list/flow/ListFlowView.tsx
4693
- import React81, { useState as useState38, useEffect as useEffect35, useMemo as useMemo42, useCallback as useCallback33, useRef as useRef13 } from "react";
4693
+ import React81, { useState as useState38, useEffect as useEffect35, useMemo as useMemo42, useCallback as useCallback33, useRef as useRef14 } from "react";
4694
4694
  import { Stack as Stack58, Text as Text58, ActionIcon as ActionIcon15, Loader as Loader16, Center as Center8, Flex as Flex26, Title as Title5, Collapse as Collapse2, Tooltip as Tooltip9 } from "@mantine/core";
4695
4695
 
4696
4696
  // src/mantine/blocks/list/linked_resources/ResourcesList.tsx
@@ -5770,13 +5770,19 @@ import React55 from "react";
5770
5770
  import { useMemo as useMemo18 } from "react";
5771
5771
 
5772
5772
  // src/mantine/components/AssignmentTab.tsx
5773
- import React53, { useMemo as useMemo16, useState as useState19, useEffect as useEffect18, useCallback as useCallback20 } from "react";
5773
+ import React53, { useMemo as useMemo16, useState as useState19, useEffect as useEffect18, useCallback as useCallback20, useRef as useRef6 } from "react";
5774
5774
  import { Stack as Stack36, Flex as Flex18, Text as Text34 } from "@mantine/core";
5775
5775
  var AssignmentTab = ({ editor, block: initialBlock }) => {
5776
5776
  const handlers = useBlocknoteHandlers();
5777
+ const { docType } = useBlocknoteContext();
5778
+ const t = useTranslate();
5777
5779
  const [roomMembers, setRoomMembers] = useState19([]);
5778
5780
  const [searchValue, setSearchValue] = useState19("");
5779
5781
  const [selectedValue, setSelectedValue] = useState19(null);
5782
+ const [access, setAccess] = useState19("none");
5783
+ const [givingAccess, setGivingAccess] = useState19(false);
5784
+ const handlersRef = useRef6(handlers);
5785
+ handlersRef.current = handlers;
5780
5786
  const roomId = editor.getRoomId?.() || null;
5781
5787
  const mx = editor.getMatrixClient?.() || null;
5782
5788
  const currentUserMatrixId = useMemo16(() => {
@@ -5827,6 +5833,43 @@ var AssignmentTab = ({ editor, block: initialBlock }) => {
5827
5833
  const assignedActorData = assignmentState.assignedActor;
5828
5834
  const assignedByData = assignmentState.assignedBy;
5829
5835
  const timestampData = assignmentState.assignedTimestamp;
5836
+ const assignedDid = assignedActorData?.did || "";
5837
+ const readAccess = useCallback20(
5838
+ async (actorDid) => {
5839
+ const read = handlersRef.current.stepAccessForAssignee;
5840
+ if (docType !== "flow" || !actorDid || !read) return setAccess("none");
5841
+ try {
5842
+ setAccess(await read({ editor, blockId: block2.id, actorDid }));
5843
+ } catch {
5844
+ setAccess("none");
5845
+ }
5846
+ },
5847
+ [docType, editor, block2.id]
5848
+ );
5849
+ useEffect18(() => {
5850
+ void readAccess(assignedDid);
5851
+ const grants = editor?._yDelegations;
5852
+ if (!grants?.observe) return;
5853
+ const onGrantsChange = () => void readAccess(assignedDid);
5854
+ grants.observe(onGrantsChange);
5855
+ return () => grants.unobserve(onGrantsChange);
5856
+ }, [assignedDid, editor, readAccess]);
5857
+ const giveAccess = useCallback20(
5858
+ async (actorDid) => {
5859
+ const give = handlersRef.current.stepAccessForAssignee;
5860
+ if (docType !== "flow" || !actorDid || !give) return;
5861
+ setGivingAccess(true);
5862
+ try {
5863
+ setAccess(await give({ editor, blockId: block2.id, actorDid, give: true }));
5864
+ } catch (error) {
5865
+ console.error("Failed to give access to the step:", error);
5866
+ await readAccess(actorDid);
5867
+ } finally {
5868
+ setGivingAccess(false);
5869
+ }
5870
+ },
5871
+ [docType, editor, block2.id, readAccess]
5872
+ );
5830
5873
  const updateBlockState = useCallback20(
5831
5874
  (updates) => {
5832
5875
  const currentBlock = (editor?.document || []).find((b) => b.id === block2.id) || block2;
@@ -5858,7 +5901,7 @@ var AssignmentTab = ({ editor, block: initialBlock }) => {
5858
5901
  [editor, block2.id]
5859
5902
  );
5860
5903
  const addAssignedActor = async (did) => {
5861
- if (!did.trim() || !currentUserMatrixId) return;
5904
+ if (!did.trim() || !currentUserMatrixId) return void 0;
5862
5905
  try {
5863
5906
  const { avatarUrl, did: actorDid, displayname } = await handlers.getMatrixInfoPerDid(did);
5864
5907
  const actorByDid = currentUserMatrixId.split(":")[0].replace("@", "").replace(/-/g, ":");
@@ -5877,8 +5920,10 @@ var AssignmentTab = ({ editor, block: initialBlock }) => {
5877
5920
  assignedTimestamp: (/* @__PURE__ */ new Date()).toISOString()
5878
5921
  });
5879
5922
  forceUpdate({});
5923
+ return actorDid;
5880
5924
  } catch (error) {
5881
5925
  console.error("Failed to add assigned actor:", error);
5926
+ return void 0;
5882
5927
  }
5883
5928
  };
5884
5929
  const removeAssignedActor = async () => {
@@ -5920,7 +5965,8 @@ var AssignmentTab = ({ editor, block: initialBlock }) => {
5920
5965
  const handleSelectChange = async (value) => {
5921
5966
  setSelectedValue(value);
5922
5967
  if (value) {
5923
- await addAssignedActor(value);
5968
+ const actorDid = await addAssignedActor(value);
5969
+ if (actorDid) await giveAccess(actorDid);
5924
5970
  } else {
5925
5971
  await removeAssignedActor();
5926
5972
  }
@@ -5943,7 +5989,9 @@ var AssignmentTab = ({ editor, block: initialBlock }) => {
5943
5989
  clearable: true,
5944
5990
  leftSection: selectedValue && assignedActorData?.did ? /* @__PURE__ */ React53.createElement(BaseAvatar, { src: assignedActorData.avatar, did: assignedActorData.did, size: 20, withCenter: true }) : null
5945
5991
  }
5946
- ), selectedValue && /* @__PURE__ */ React53.createElement(BasePrimaryButton, { onClick: () => removeAssignedActor() }, "Remove assigned actor"), assignedByData?.did && timestampData && /* @__PURE__ */ React53.createElement(React53.Fragment, null, /* @__PURE__ */ React53.createElement(Text34, { fz: 16, fw: 600, mt: "md" }, "Assigned To"), /* @__PURE__ */ React53.createElement(ListItemContainer, { isChecked: false }, /* @__PURE__ */ React53.createElement(Flex18, { align: "center", gap: "sm", style: { flex: 1 } }, /* @__PURE__ */ React53.createElement(BaseAvatar, { src: assignedActorData.avatar, did: assignedActorData.did, size: 32 }), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0 }, /* @__PURE__ */ React53.createElement(Text34, null, assignedActorData.displayName || "Unknown"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, shortStr(assignedActorData.did, 20, 3) || assignedActorData.did))), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0, align: "flex-end" }, /* @__PURE__ */ React53.createElement(Text34, null, "Assigned at"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, formatDate(timestampData)))), /* @__PURE__ */ React53.createElement(Text34, { fz: 16, fw: 600, mt: "md" }, "Assigned By"), /* @__PURE__ */ React53.createElement(ListItemContainer, { isChecked: false }, /* @__PURE__ */ React53.createElement(Flex18, { align: "center", gap: "sm", style: { flex: 1 } }, /* @__PURE__ */ React53.createElement(BaseAvatar, { src: assignedByData.avatar, did: assignedByData.did, size: 32 }), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0 }, /* @__PURE__ */ React53.createElement(Text34, null, assignedByData.displayName || "Unknown"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, shortStr(assignedByData.did, 20, 3) || assignedByData.did))), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0, align: "flex-end" }, /* @__PURE__ */ React53.createElement(Text34, null, "Assigned at"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, formatDate(timestampData))))));
5992
+ ), assignedDid && access === "granted" && /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, t("assignmentTab.access.granted", { defaultValue: "They can carry out this step." })), assignedDid && access === "can-give" && /* @__PURE__ */ React53.createElement(Stack36, { gap: "xs" }, /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, t("assignmentTab.access.canGive", { defaultValue: "They cannot carry out this step yet. Give them access to it." })), /* @__PURE__ */ React53.createElement(BasePrimaryButton, { loading: givingAccess, onClick: () => void giveAccess(assignedDid) }, t("assignmentTab.access.give", { defaultValue: "Give access" }))), assignedDid && access === "needs-owner" && /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, t("assignmentTab.access.needsOwner", {
5993
+ defaultValue: "They cannot carry out this step yet. Only the flow owner can give them access: under Actors, with Give access."
5994
+ })), selectedValue && /* @__PURE__ */ React53.createElement(BasePrimaryButton, { onClick: () => removeAssignedActor() }, "Remove assigned actor"), assignedByData?.did && timestampData && /* @__PURE__ */ React53.createElement(React53.Fragment, null, /* @__PURE__ */ React53.createElement(Text34, { fz: 16, fw: 600, mt: "md" }, "Assigned To"), /* @__PURE__ */ React53.createElement(ListItemContainer, { isChecked: false }, /* @__PURE__ */ React53.createElement(Flex18, { align: "center", gap: "sm", style: { flex: 1 } }, /* @__PURE__ */ React53.createElement(BaseAvatar, { src: assignedActorData.avatar, did: assignedActorData.did, size: 32 }), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0 }, /* @__PURE__ */ React53.createElement(Text34, null, assignedActorData.displayName || "Unknown"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, shortStr(assignedActorData.did, 20, 3) || assignedActorData.did))), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0, align: "flex-end" }, /* @__PURE__ */ React53.createElement(Text34, null, "Assigned at"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, formatDate(timestampData)))), /* @__PURE__ */ React53.createElement(Text34, { fz: 16, fw: 600, mt: "md" }, "Assigned By"), /* @__PURE__ */ React53.createElement(ListItemContainer, { isChecked: false }, /* @__PURE__ */ React53.createElement(Flex18, { align: "center", gap: "sm", style: { flex: 1 } }, /* @__PURE__ */ React53.createElement(BaseAvatar, { src: assignedByData.avatar, did: assignedByData.did, size: 32 }), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0 }, /* @__PURE__ */ React53.createElement(Text34, null, assignedByData.displayName || "Unknown"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, shortStr(assignedByData.did, 20, 3) || assignedByData.did))), /* @__PURE__ */ React53.createElement(Stack36, { gap: 0, align: "flex-end" }, /* @__PURE__ */ React53.createElement(Text34, null, "Assigned at"), /* @__PURE__ */ React53.createElement(Text34, { size: "xs", c: "dimmed" }, formatDate(timestampData))))));
5947
5995
  };
5948
5996
 
5949
5997
  // src/mantine/components/AssignmentDisplay.tsx
@@ -6122,10 +6170,10 @@ import { Stack as Stack51, Text as Text50, Loader as Loader13, Center as Center6
6122
6170
  import { IconAlertCircle as IconAlertCircle7 } from "@tabler/icons-react";
6123
6171
 
6124
6172
  // src/mantine/hooks/useCurrentUser.ts
6125
- import { useState as useState20, useEffect as useEffect19, useRef as useRef6 } from "react";
6173
+ import { useState as useState20, useEffect as useEffect19, useRef as useRef7 } from "react";
6126
6174
  function useCurrentUser() {
6127
6175
  const { getCurrentUser } = useBlocknoteHandlers();
6128
- const getCurrentUserRef = useRef6(getCurrentUser);
6176
+ const getCurrentUserRef = useRef7(getCurrentUser);
6129
6177
  useEffect19(() => {
6130
6178
  getCurrentUserRef.current = getCurrentUser;
6131
6179
  }, [getCurrentUser]);
@@ -6145,17 +6193,17 @@ function useCurrentUser() {
6145
6193
  }
6146
6194
 
6147
6195
  // src/mantine/hooks/useCollections.ts
6148
- import { useState as useState21, useEffect as useEffect20, useCallback as useCallback21, useRef as useRef7, useMemo as useMemo22 } from "react";
6196
+ import { useState as useState21, useEffect as useEffect20, useCallback as useCallback21, useRef as useRef8, useMemo as useMemo22 } from "react";
6149
6197
  function useCollections(did, selectedCollectionIds, block2, editor) {
6150
6198
  const { getClaimCollections } = useBlocknoteHandlers();
6151
- const getClaimCollectionsRef = useRef7(getClaimCollections);
6199
+ const getClaimCollectionsRef = useRef8(getClaimCollections);
6152
6200
  useEffect20(() => {
6153
6201
  getClaimCollectionsRef.current = getClaimCollections;
6154
6202
  }, [getClaimCollections]);
6155
6203
  const [collections, setCollections] = useState21([]);
6156
6204
  const [loading, setLoading] = useState21(false);
6157
6205
  const [error, setError] = useState21(null);
6158
- const adminAddressUpdatedRef = useRef7(false);
6206
+ const adminAddressUpdatedRef = useRef8(false);
6159
6207
  const selectedCollectionIdsStr = useMemo22(() => JSON.stringify(selectedCollectionIds.sort()), [selectedCollectionIds]);
6160
6208
  const fetchCollections = useCallback21(async () => {
6161
6209
  if (!did || selectedCollectionIds.length === 0) {
@@ -6200,7 +6248,7 @@ import React70 from "react";
6200
6248
  import { Stack as Stack50, Text as Text49, Loader as Loader12, Center as Center5 } from "@mantine/core";
6201
6249
 
6202
6250
  // src/mantine/hooks/useUserRoles.ts
6203
- import { useState as useState22, useEffect as useEffect21, useMemo as useMemo23, useRef as useRef8 } from "react";
6251
+ import { useState as useState22, useEffect as useEffect21, useMemo as useMemo23, useRef as useRef9 } from "react";
6204
6252
 
6205
6253
  // src/mantine/hooks/utils.ts
6206
6254
  function isClientFulfillmentError(error) {
@@ -6211,13 +6259,13 @@ function isClientFulfillmentError(error) {
6211
6259
  // src/mantine/hooks/useUserRoles.ts
6212
6260
  function useUserRoles(collections, userAddress, adminAddress, deedId) {
6213
6261
  const { getUserRoles } = useBlocknoteHandlers();
6214
- const getUserRolesRef = useRef8(getUserRoles);
6262
+ const getUserRolesRef = useRef9(getUserRoles);
6215
6263
  useEffect21(() => {
6216
6264
  getUserRolesRef.current = getUserRoles;
6217
6265
  }, [getUserRoles]);
6218
6266
  const [userRoles, setUserRoles] = useState22({});
6219
6267
  const [loading, setLoading] = useState22(true);
6220
- const failedRequestKeyRef = useRef8(null);
6268
+ const failedRequestKeyRef = useRef9(null);
6221
6269
  const collectionIdsKey = useMemo23(
6222
6270
  () => collections.map((c) => c.id).sort().join("|"),
6223
6271
  [collections]
@@ -6286,11 +6334,11 @@ function useUserRoles(collections, userAddress, adminAddress, deedId) {
6286
6334
  }
6287
6335
 
6288
6336
  // src/mantine/blocks/claim/flow/ClaimCollectionItem.tsx
6289
- import React60, { useMemo as useMemo26, useRef as useRef10, useEffect as useEffect23 } from "react";
6337
+ import React60, { useMemo as useMemo26, useRef as useRef11, useEffect as useEffect23 } from "react";
6290
6338
  import { Stack as Stack41, Text as Text39, Group as Group16 } from "@mantine/core";
6291
6339
 
6292
6340
  // src/mantine/blocks/claim/flow/ClaimsListSheet.tsx
6293
- import React59, { useState as useState24, useEffect as useEffect22, useCallback as useCallback23, useMemo as useMemo25, useRef as useRef9 } from "react";
6341
+ import React59, { useState as useState24, useEffect as useEffect22, useCallback as useCallback23, useMemo as useMemo25, useRef as useRef10 } from "react";
6294
6342
  import { Loader as Loader5, Stack as Stack40, Text as Text38, ActionIcon as ActionIcon11, Alert as Alert5, Box as Box20, Group as Group15 } from "@mantine/core";
6295
6343
  import { IconArrowLeft as IconArrowLeft2, IconAlertCircle as IconAlertCircle2 } from "@tabler/icons-react";
6296
6344
  import { Survey as Survey2, SurveyModel as SurveyModel2 } from "@ixo/surveys";
@@ -6563,11 +6611,11 @@ var ClaimsListSheet = ({
6563
6611
  const { executeAction } = useExecuteActionBlock({ editor, block: actionBlock });
6564
6612
  const runId = useRunSessionId();
6565
6613
  const cardKey = claimCardTargetKey({ flowId: execution.flowId || "", runId: runId || "", stepId: execution.flowNode.id, collectionId });
6566
- const submissionInFlight = useRef9(false);
6614
+ const submissionInFlight = useRef10(false);
6567
6615
  const scope = JSON.stringify([execution.flowId, runId, collectionId, deedId, execution.actorDid]);
6568
- const currentScope = useRef9(scope);
6616
+ const currentScope = useRef10(scope);
6569
6617
  currentScope.current = scope;
6570
- const mounted = useRef9(true);
6618
+ const mounted = useRef10(true);
6571
6619
  useEffect22(() => {
6572
6620
  mounted.current = true;
6573
6621
  return () => {
@@ -6796,7 +6844,7 @@ var ClaimsListSheet = ({
6796
6844
  useEffect22(() => {
6797
6845
  if (companionRequested) handleNewClaim();
6798
6846
  }, [companionRequested]);
6799
- const startRef = useRef9(handleNewClaim);
6847
+ const startRef = useRef10(handleNewClaim);
6800
6848
  startRef.current = handleNewClaim;
6801
6849
  useEffect22(
6802
6850
  () => useActionCardTargetStore.getState().registerForm(cardKey, {
@@ -6917,7 +6965,7 @@ var ClaimCollectionItem = ({ collection, block: block2, deedId, editor, adminAdd
6917
6965
  const preview = useRunSessionPreview();
6918
6966
  const eventLog = useRunEventLog();
6919
6967
  const authority = useRunDesignPodAuthority();
6920
- const handle = useRef10(crypto.randomUUID());
6968
+ const handle = useRef11(crypto.randomUUID());
6921
6969
  let currentUser;
6922
6970
  try {
6923
6971
  console.log("[CollectionItem] Calling getCurrentUser...");
@@ -6962,7 +7010,7 @@ var ClaimCollectionItem = ({ collection, block: block2, deedId, editor, adminAdd
6962
7010
  console.log("[CollectionItem] usePanel returned");
6963
7011
  const actorDid = currentUser.did || (currentUser.address ? `did:ixo:${currentUser.address}` : "");
6964
7012
  const roomId = editor.getRoomId?.() || "";
6965
- const cardPanel = useRef10(claimsPanelContent);
7013
+ const cardPanel = useRef11(claimsPanelContent);
6966
7014
  cardPanel.current = claimsPanelContent;
6967
7015
  useEffect23(() => {
6968
7016
  if (!canAccessClaims || !execution?.flowId || !runId || preview || !actorDid || !roomId) return;
@@ -7572,7 +7620,7 @@ var BidRoleSelectPanel = ({ editor, block: block2, collectionId, openEA, openSA,
7572
7620
  };
7573
7621
 
7574
7622
  // src/mantine/blocks/components/bid/components/BidSurveyPanel.tsx
7575
- import React65, { useMemo as useMemo33, useEffect as useEffect30, useRef as useRef11, useCallback as useCallback30 } from "react";
7623
+ import React65, { useMemo as useMemo33, useEffect as useEffect30, useRef as useRef12, useCallback as useCallback30 } from "react";
7576
7624
  import { Loader as Loader9, Stack as Stack45, Text as Text44 } from "@mantine/core";
7577
7625
  import { Survey as Survey4 } from "@ixo/surveys";
7578
7626
 
@@ -7714,7 +7762,7 @@ var BidSurveyPanel = ({ editor, block: block2, deedId, collectionId, role, onSub
7714
7762
  const { closePanel } = usePanelStore();
7715
7763
  const { surveyModel, loading, error, handleSurveyComplete } = useBidSurvey(deedId, collectionId, role, onSubmitComplete, execution, executeHookedActions);
7716
7764
  const roleLabel = role === "service_agent" ? "Contributor" : "Evaluator";
7717
- const handleSurveyCompleteRef = useRef11(handleSurveyComplete);
7765
+ const handleSurveyCompleteRef = useRef12(handleSurveyComplete);
7718
7766
  useEffect30(() => {
7719
7767
  handleSurveyCompleteRef.current = handleSurveyComplete;
7720
7768
  }, [handleSurveyComplete]);
@@ -7902,7 +7950,7 @@ var BidCollectionItem = ({ collection, editor, block: block2, deedId, adminAddre
7902
7950
  };
7903
7951
 
7904
7952
  // src/mantine/blocks/evaluator/flow/EvaluationCollectionItem.tsx
7905
- import React69, { useMemo as useMemo37, useEffect as useEffect32, useRef as useRef12 } from "react";
7953
+ import React69, { useMemo as useMemo37, useEffect as useEffect32, useRef as useRef13 } from "react";
7906
7954
  import { Group as Group22, Stack as Stack49, Text as Text48 } from "@mantine/core";
7907
7955
 
7908
7956
  // src/mantine/blocks/evaluator/flow/ClaimsList.tsx
@@ -8676,7 +8724,7 @@ var ClaimListItem = ({ claim, onViewClaim }) => {
8676
8724
  import { IconFile as IconFile4 } from "@tabler/icons-react";
8677
8725
  var EvaluationCollectionItem = ({ collection, block: block2, deedId, adminAddress, editor, userRole, onRefresh }) => {
8678
8726
  const { getCurrentUser } = useBlocknoteHandlers();
8679
- const getCurrentUserRef = useRef12(getCurrentUser);
8727
+ const getCurrentUserRef = useRef13(getCurrentUser);
8680
8728
  useEffect32(() => {
8681
8729
  getCurrentUserRef.current = getCurrentUser;
8682
8730
  }, [getCurrentUser]);
@@ -9918,10 +9966,10 @@ var ListFlowView = ({ block: block2, editor }) => {
9918
9966
  const handlePanelClose = useCallback33(() => {
9919
9967
  setSelectedIds(/* @__PURE__ */ new Set());
9920
9968
  }, []);
9921
- const fetchDataRef = useRef13(null);
9922
- const handlersRef = useRef13(handlers);
9969
+ const fetchDataRef = useRef14(null);
9970
+ const handlersRef = useRef14(handlers);
9923
9971
  handlersRef.current = handlers;
9924
- const fetchSeqRef = useRef13(0);
9972
+ const fetchSeqRef = useRef14(0);
9925
9973
  const t = useTranslate();
9926
9974
  const storedSnapshot = useMemo42(() => parseListSnapshot(block2.props.snapshot), [block2.props.snapshot]);
9927
9975
  const isDefaultView = page === 1 && !runtimeSearchValue;
@@ -12284,7 +12332,7 @@ import React106 from "react";
12284
12332
  import { createReactBlockSpec as createReactBlockSpec7 } from "@blocknote/react";
12285
12333
 
12286
12334
  // src/mantine/blocks/dynamicList/DynamicListBlock.tsx
12287
- import React105, { useMemo as useMemo49, useState as useState49, useCallback as useCallback39, useEffect as useEffect43, useRef as useRef14 } from "react";
12335
+ import React105, { useMemo as useMemo49, useState as useState49, useCallback as useCallback39, useEffect as useEffect43, useRef as useRef15 } from "react";
12288
12336
  import { Box as Box33, Stack as Stack73, Text as Text71, Paper as Paper10, Group as Group34, Button as Button17, ActionIcon as ActionIcon18, Tooltip as Tooltip11, Code as Code4, Flex as Flex27, Collapse as Collapse5, Title as Title6, Badge as Badge14, TextInput as TextInput5, CloseButton as CloseButton3, Select as Select2, Menu as Menu2 } from "@mantine/core";
12289
12337
  import { useDisclosure as useDisclosure5 } from "@mantine/hooks";
12290
12338
  import {
@@ -12462,7 +12510,7 @@ function DynamicListBlock({ block: block2, editor }) {
12462
12510
  const [sortConfig, setSortConfig] = useState49(null);
12463
12511
  const [showSearch, setShowSearch] = useState49(false);
12464
12512
  const [searchQuery, setSearchQuery] = useState49("");
12465
- const searchInputRef = useRef14(null);
12513
+ const searchInputRef = useRef15(null);
12466
12514
  const [orderByCollapsed, setOrderByCollapsed] = useState49(true);
12467
12515
  const [columnsCollapsed, setColumnsCollapsed] = useState49(true);
12468
12516
  const [showInfo, setShowInfo] = useState49(false);
@@ -14681,7 +14729,7 @@ var ClaimTemplateView = ({ editor, block: block2 }) => {
14681
14729
  };
14682
14730
 
14683
14731
  // src/mantine/blocks/claim/flow/FlowView.tsx
14684
- import React125, { useMemo as useMemo55, useRef as useRef15, useEffect as useEffect49, useCallback as useCallback46 } from "react";
14732
+ import React125, { useMemo as useMemo55, useRef as useRef16, useEffect as useEffect49, useCallback as useCallback46 } from "react";
14685
14733
  import { Stack as Stack86, Text as Text84, Loader as Loader23, Center as Center10, Alert as Alert18 } from "@mantine/core";
14686
14734
  import { IconAlertCircle as IconAlertCircle10 } from "@tabler/icons-react";
14687
14735
  var ClaimFlowView = ({ editor, block: block2 }) => {
@@ -14717,7 +14765,7 @@ var ClaimFlowView = ({ editor, block: block2 }) => {
14717
14765
  }),
14718
14766
  [flowNode, runtime, ucanService, invocationStore, userAddress, flowOwnerDid, flowUri, flowId, schemaVersion]
14719
14767
  );
14720
- const executionRef = useRef15(executionValue);
14768
+ const executionRef = useRef16(executionValue);
14721
14769
  useEffect49(() => {
14722
14770
  executionRef.current = executionValue;
14723
14771
  }, [executionValue]);
@@ -14764,7 +14812,7 @@ var ClaimFlowView = ({ editor, block: block2 }) => {
14764
14812
  const did = block2.props.deedDid;
14765
14813
  const adminAddress = block2.props.adminAddress || "";
14766
14814
  const { collections, loading, error, refetch } = useCollections(did, selectedCollectionIds, block2, editor);
14767
- const refetchRef = useRef15(refetch);
14815
+ const refetchRef = useRef16(refetch);
14768
14816
  useEffect49(() => {
14769
14817
  refetchRef.current = refetch;
14770
14818
  }, [refetch]);
@@ -15205,7 +15253,7 @@ function generateId(prefix) {
15205
15253
  }
15206
15254
 
15207
15255
  // src/mantine/blocks/domainCreator/flow/DomainCreatorSurveyPanel.tsx
15208
- import React134, { useCallback as useCallback49, useEffect as useEffect53, useMemo as useMemo58, useRef as useRef16, useState as useState60 } from "react";
15256
+ import React134, { useCallback as useCallback49, useEffect as useEffect53, useMemo as useMemo58, useRef as useRef17, useState as useState60 } from "react";
15209
15257
  import { Alert as Alert19, Button as Button25, Group as Group47, Loader as Loader24, Stack as Stack89, Text as Text88 } from "@mantine/core";
15210
15258
  import { useDebouncedCallback } from "@mantine/hooks";
15211
15259
  import { IconAlertCircle as IconAlertCircle11, IconCheck as IconCheck7 } from "@tabler/icons-react";
@@ -15237,8 +15285,8 @@ var DomainCreatorSurveyPanel = ({ editor, block: block2, onComplete, entityDid:
15237
15285
  const [error, setError] = useState60(null);
15238
15286
  const [createdEntityDid, setCreatedEntityDid] = useState60(existingBlockEntityDid || null);
15239
15287
  const [createdEntityType, setCreatedEntityType] = useState60(existingBlockEntityType || null);
15240
- const isUpdatingFromProp = useRef16(false);
15241
- const lastSyncedAnswers = useRef16("");
15288
+ const isUpdatingFromProp = useRef17(false);
15289
+ const lastSyncedAnswers = useRef17("");
15242
15290
  const surveyModel = useMemo58(() => {
15243
15291
  const model = new SurveyModel6(tempDomainCreatorSurvey);
15244
15292
  model.applyTheme(surveyTheme);
@@ -15566,7 +15614,7 @@ import React140, { useCallback as useCallback53, useMemo as useMemo61 } from "re
15566
15614
  import { IconSettings as IconSettings13, IconVariable, IconShieldCheck as IconShieldCheck10 } from "@tabler/icons-react";
15567
15615
 
15568
15616
  // src/mantine/blocks/email/template/GeneralTab.tsx
15569
- import React138, { useEffect as useEffect54, useState as useState62, useCallback as useCallback51, useRef as useRef17 } from "react";
15617
+ import React138, { useEffect as useEffect54, useState as useState62, useCallback as useCallback51, useRef as useRef18 } from "react";
15570
15618
  import { Divider as Divider13, Loader as Loader25, Select as Select3, Stack as Stack91, Text as Text90 } from "@mantine/core";
15571
15619
  var GeneralTab9 = ({ editor, blockId, getCurrentBlock, onTitleChange, onTemplateChange, onToChange }) => {
15572
15620
  const handlers = useBlocknoteHandlers();
@@ -15585,7 +15633,7 @@ var GeneralTab9 = ({ editor, blockId, getCurrentBlock, onTitleChange, onTemplate
15585
15633
  setLocalTemplateName(currentBlock.props.templateName || "");
15586
15634
  setLocalTo(currentBlock.props.to || "");
15587
15635
  }, [getCurrentBlock]);
15588
- const hasLoadedTemplates = useRef17(false);
15636
+ const hasLoadedTemplates = useRef18(false);
15589
15637
  useEffect54(() => {
15590
15638
  if (hasLoadedTemplates.current) return;
15591
15639
  async function loadTemplates() {
@@ -16631,7 +16679,7 @@ import { ActionIcon as ActionIcon26, Badge as Badge26, Group as Group56, Stack a
16631
16679
  import { IconChevronRight as IconChevronRight6 } from "@tabler/icons-react";
16632
16680
 
16633
16681
  // src/mantine/blocks/form/flow/FormPanel.tsx
16634
- import React155, { useCallback as useCallback58, useEffect as useEffect59, useMemo as useMemo69, useRef as useRef18 } from "react";
16682
+ import React155, { useCallback as useCallback58, useEffect as useEffect59, useMemo as useMemo69, useRef as useRef19 } from "react";
16635
16683
  import { Alert as Alert22, Text as Text100, useComputedColorScheme as useComputedColorScheme2 } from "@mantine/core";
16636
16684
  import { useDebouncedCallback as useDebouncedCallback2 } from "@mantine/hooks";
16637
16685
  import { IconAlertCircle as IconAlertCircle13 } from "@tabler/icons-react";
@@ -16658,8 +16706,8 @@ var FormPanel = ({ editor, block: block2, onComplete }) => {
16658
16706
  const computedColorScheme = useComputedColorScheme2("dark");
16659
16707
  const { closePanel } = usePanelStore();
16660
16708
  const [runtime, updateRuntime] = useNodeRuntime(editor, block2.id);
16661
- const isUpdatingFromProp = useRef18(false);
16662
- const lastSyncedAnswers = useRef18("");
16709
+ const isUpdatingFromProp = useRef19(false);
16710
+ const lastSyncedAnswers = useRef19("");
16663
16711
  const surveySchema = useMemo69(() => {
16664
16712
  if (!block2.props.surveySchema) return null;
16665
16713
  try {
@@ -18899,12 +18947,12 @@ var GovernanceGroupTemplateView = ({ editor, block: block2 }) => {
18899
18947
  };
18900
18948
 
18901
18949
  // src/mantine/blocks/governanceGroup/flow/FlowView.tsx
18902
- import React178, { useCallback as useCallback67, useEffect as useEffect66, useMemo as useMemo78, useRef as useRef20, useState as useState75 } from "react";
18950
+ import React178, { useCallback as useCallback67, useEffect as useEffect66, useMemo as useMemo78, useRef as useRef21, useState as useState75 } from "react";
18903
18951
  import { ActionIcon as ActionIcon29, Badge as Badge33, Group as Group64, Stack as Stack111, Text as Text112, Tooltip as Tooltip20 } from "@mantine/core";
18904
18952
  import { IconChevronRight as IconChevronRight9 } from "@tabler/icons-react";
18905
18953
 
18906
18954
  // src/mantine/blocks/governanceGroup/flow/GovernanceGroupPanel.tsx
18907
- import React177, { useCallback as useCallback66, useEffect as useEffect65, useMemo as useMemo77, useRef as useRef19, useState as useState74 } from "react";
18955
+ import React177, { useCallback as useCallback66, useEffect as useEffect65, useMemo as useMemo77, useRef as useRef20, useState as useState74 } from "react";
18908
18956
  import { Alert as Alert25, Button as Button30, Card as Card12, Group as Group63, Loader as Loader30, SimpleGrid as SimpleGrid2, Stack as Stack110, Text as Text111, ThemeIcon as ThemeIcon4, useComputedColorScheme as useComputedColorScheme3 } from "@mantine/core";
18909
18957
  import { useDebouncedCallback as useDebouncedCallback3 } from "@mantine/hooks";
18910
18958
  import { IconAlertCircle as IconAlertCircle16, IconCheck as IconCheck13, IconUsers as IconUsers5, IconSignature as IconSignature2, IconPhoto as IconPhoto4, IconCoin as IconCoin2, IconArrowLeft as IconArrowLeft4 } from "@tabler/icons-react";
@@ -18950,8 +18998,8 @@ var GovernanceGroupPanel = ({ editor, block: block2, onComplete }) => {
18950
18998
  const [error, setError] = useState74(null);
18951
18999
  const [createdCoreAddress, setCreatedCoreAddress] = useState74(existingCoreAddress || null);
18952
19000
  const [createdGroupAddress, setCreatedGroupAddress] = useState74(block2.props.groupAddress || null);
18953
- const isUpdatingFromProp = useRef19(false);
18954
- const lastSyncedAnswers = useRef19("");
19001
+ const isUpdatingFromProp = useRef20(false);
19002
+ const lastSyncedAnswers = useRef20("");
18955
19003
  const surveyModel = useMemo77(() => {
18956
19004
  if (!selectedGroupType) return null;
18957
19005
  const surveySchema = getSurveyForGroupType(selectedGroupType);
@@ -19161,8 +19209,8 @@ var GovernanceGroupFlowView = ({ editor, block: block2 }) => {
19161
19209
  const [submissionStatus, setSubmissionStatus] = useState75("idle");
19162
19210
  const lastSubmission = safeParseJSON(block2.props.lastSubmission, null);
19163
19211
  const hasExistingSubmission = lastSubmission?.coreAddress;
19164
- const editorRef = useRef20(editor);
19165
- const blockRef = useRef20(block2);
19212
+ const editorRef = useRef21(editor);
19213
+ const blockRef = useRef21(block2);
19166
19214
  useEffect66(() => {
19167
19215
  editorRef.current = editor;
19168
19216
  blockRef.current = block2;
@@ -19183,7 +19231,7 @@ var GovernanceGroupFlowView = ({ editor, block: block2 }) => {
19183
19231
  }),
19184
19232
  []
19185
19233
  );
19186
- const handleCompleteRef = useRef20();
19234
+ const handleCompleteRef = useRef21();
19187
19235
  const handleComplete = useCallback67((data) => {
19188
19236
  const currentEditor = editorRef.current;
19189
19237
  const currentBlock = blockRef.current;
@@ -19739,7 +19787,7 @@ import React230 from "react";
19739
19787
 
19740
19788
  // src/mantine/blocks/action/template/TemplateView.tsx
19741
19789
  import React194, { useMemo as useMemo86, useState as useState82 } from "react";
19742
- import { Group as Group71, Stack as Stack120, Text as Text120 } from "@mantine/core";
19790
+ import { Text as Text120 } from "@mantine/core";
19743
19791
 
19744
19792
  // src/mantine/blocks/action/template/GeneralTab.tsx
19745
19793
  import React191, { useEffect as useEffect69, useMemo as useMemo83, useState as useState80 } from "react";
@@ -20170,26 +20218,20 @@ var SECTION_CARD_STYLE = {
20170
20218
  border: "1px solid var(--mantine-color-neutralColor-5)",
20171
20219
  background: "var(--mantine-color-neutralColor-4)"
20172
20220
  };
20173
- var ActionInlineSettings = ({ editor, block: blockProp, openSection, onDone }) => {
20221
+ var ActionInlineSettings = ({ editor, block: blockProp, onDone }) => {
20174
20222
  const t = useTranslate();
20175
20223
  const { liveBlock: block2, readLiveBlock } = useLiveBlock(editor, blockProp);
20176
20224
  const actionType = block2.props.actionType || "";
20177
20225
  const actionMeta = getActionMeta(actionType);
20178
20226
  const actionTypeOptions = useMemo84(() => getActionTypeOptions(actionType), [actionType]);
20179
20227
  const labels = useBlockSettingsLabels();
20180
- const [openSections, setOpenSections] = useState81(openSection ? [openSection] : []);
20228
+ const [ttlOpen, setTtlOpen] = useState81(false);
20181
20229
  const updateProp = useCallback69(
20182
20230
  (key, value) => {
20183
20231
  editor.updateBlock(readLiveBlock(), { props: { [key]: value } });
20184
20232
  },
20185
20233
  [editor, readLiveBlock]
20186
20234
  );
20187
- const sections = [
20188
- { value: "authorization", label: t("actionBlock.tabs.authorization", { defaultValue: "Authorization" }), content: /* @__PURE__ */ React192.createElement(AuthorizationTab, { editor, block: block2 }) },
20189
- { value: "assignment", label: t("actionBlock.tabs.assignment", { defaultValue: "Assignment" }), content: /* @__PURE__ */ React192.createElement(AssignmentTab, { editor, block: block2 }) },
20190
- { value: "commitment", label: t("actionBlock.tabs.commitment", { defaultValue: "Commitment" }), content: /* @__PURE__ */ React192.createElement(CommitmentTab, { editor, block: block2 }) },
20191
- { value: "ttl", label: t("actionBlock.tabs.ttl", { defaultValue: "TTL" }), content: /* @__PURE__ */ React192.createElement(TtlTab, { editor, block: block2 }) }
20192
- ];
20193
20235
  return /* @__PURE__ */ React192.createElement(BaseContainer, { blockId: block2.id, style: OPEN_BLOCK_CARD_STYLE }, /* @__PURE__ */ React192.createElement(
20194
20236
  BlockSettingsFrame,
20195
20237
  {
@@ -20243,17 +20285,14 @@ var ActionInlineSettings = ({ editor, block: blockProp, openSection, onDone }) =
20243
20285
  editor,
20244
20286
  blockId: block2.id
20245
20287
  }
20246
- )), /* @__PURE__ */ React192.createElement(Accordion5, { mt: "lg", multiple: true, variant: "contained", radius: "md", value: openSections, onChange: setOpenSections }, sections.map((section) => /* @__PURE__ */ React192.createElement(Accordion5.Item, { key: section.value, value: section.value }, /* @__PURE__ */ React192.createElement(Accordion5.Control, null, /* @__PURE__ */ React192.createElement(Text118, { size: "sm" }, section.label)), /* @__PURE__ */ React192.createElement(Accordion5.Panel, null, openSections.includes(section.value) ? section.content : null)))))
20288
+ )), /* @__PURE__ */ React192.createElement(Accordion5, { mt: "lg", variant: "contained", radius: "md", value: ttlOpen ? "ttl" : null, onChange: (value) => setTtlOpen(value === "ttl") }, /* @__PURE__ */ React192.createElement(Accordion5.Item, { value: "ttl" }, /* @__PURE__ */ React192.createElement(Accordion5.Control, null, /* @__PURE__ */ React192.createElement(Text118, { size: "sm" }, t("actionBlock.tabs.ttl", { defaultValue: "TTL" }))), /* @__PURE__ */ React192.createElement(Accordion5.Panel, null, ttlOpen ? /* @__PURE__ */ React192.createElement(TtlTab, { editor, block: block2 }) : null))))
20247
20289
  ));
20248
20290
  };
20249
20291
 
20250
- // src/mantine/blocks/action/template/TemplateView.tsx
20251
- import { IconUser as IconUser12 } from "@tabler/icons-react";
20252
-
20253
20292
  // src/mantine/blocks/action/template/TemplateConfig.tsx
20254
20293
  import React193, { useCallback as useCallback70, useContext as useContext2, useMemo as useMemo85 } from "react";
20255
20294
  import { Stack as Stack119, Text as Text119 } from "@mantine/core";
20256
- import { IconCheck as IconCheck15, IconClock as IconClock11, IconContract as IconContract4, IconSettings as IconSettings20, IconShieldCheck as IconShieldCheck12, IconUserCheck as IconUserCheck4 } from "@tabler/icons-react";
20295
+ import { IconCheck as IconCheck15, IconClock as IconClock11, IconSettings as IconSettings20 } from "@tabler/icons-react";
20257
20296
  var TemplateConfig16 = ({ editor, block: blockProp }) => {
20258
20297
  const t = useTranslate();
20259
20298
  const { closePanel } = usePanelStore();
@@ -20323,24 +20362,6 @@ var TemplateConfig16 = ({ editor, block: blockProp }) => {
20323
20362
  }
20324
20363
  ), embedded ? /* @__PURE__ */ React193.createElement(Text119, { size: "xs", c: "dimmed", mt: 4 }, t("actionBlock.autoSaved", { defaultValue: "Changes save automatically." })) : /* @__PURE__ */ React193.createElement(BasePrimaryButton, { leftSection: /* @__PURE__ */ React193.createElement(IconCheck15, { size: 20 }), onClick: closePanel, disabled: !isValid, mt: 4, style: { alignSelf: "flex-start" } }, t("actionBlock.save", { defaultValue: "Save" })))
20325
20364
  },
20326
- {
20327
- label: t("actionBlock.tabs.authorization", { defaultValue: "Authorization" }),
20328
- value: "authorization",
20329
- icon: icon(IconShieldCheck12),
20330
- content: /* @__PURE__ */ React193.createElement(AuthorizationTab, { editor, block: block2 })
20331
- },
20332
- {
20333
- label: t("actionBlock.tabs.assignment", { defaultValue: "Assignment" }),
20334
- value: "assignment",
20335
- icon: icon(IconUserCheck4),
20336
- content: /* @__PURE__ */ React193.createElement(AssignmentTab, { editor, block: block2 })
20337
- },
20338
- {
20339
- label: t("actionBlock.tabs.commitment", { defaultValue: "Commitment" }),
20340
- value: "commitment",
20341
- icon: icon(IconContract4),
20342
- content: /* @__PURE__ */ React193.createElement(CommitmentTab, { editor, block: block2 })
20343
- },
20344
20365
  {
20345
20366
  label: t("actionBlock.tabs.ttl", { defaultValue: "TTL" }),
20346
20367
  value: "ttl",
@@ -20358,47 +20379,15 @@ var ActionTemplateView = ({ editor, block: block2 }) => {
20358
20379
  const { editable } = useBlocknoteContext();
20359
20380
  const interactive = !!editable;
20360
20381
  const [expanded, setExpanded] = useState82(false);
20361
- const [openSection, setOpenSection] = useState82();
20362
20382
  const inPage = useIsPageSurface(editor);
20363
- const { closePanel } = usePanelStore();
20364
20383
  const panelContent = useMemo86(() => /* @__PURE__ */ React194.createElement(TemplateConfig16, { editor, block: block2 }), [editor, block2]);
20365
- const assignmentPanelContent = useMemo86(
20366
- () => /* @__PURE__ */ React194.createElement(
20367
- BaseRightPanelLayout,
20368
- {
20369
- tabs: [
20370
- {
20371
- content: /* @__PURE__ */ React194.createElement(AssignmentTab, { editor, block: block2 }),
20372
- label: t("actionBlock.tabs.assignment", { defaultValue: "Assignment" }),
20373
- value: "assignment",
20374
- icon: icon(IconUser12)
20375
- }
20376
- ],
20377
- onClose: closePanel,
20378
- title: t("actionBlock.panels.assignmentTab", { defaultValue: "Assignment Tab" })
20379
- }
20380
- ),
20381
- [editor, block2, closePanel, t]
20382
- );
20383
- const commitmentPanelContent = useMemo86(
20384
- () => /* @__PURE__ */ React194.createElement(BaseRightPanelLayout, { onClose: closePanel, title: t("actionBlock.panels.commitmentTab", { defaultValue: "Commitment Tab" }) }, /* @__PURE__ */ React194.createElement(CommitmentTab, { editor, block: block2 })),
20385
- [editor, block2, closePanel, t]
20386
- );
20387
20384
  const { open: openPanel } = usePanel(`action-template-panel-${block2.id}`, panelContent);
20388
- const { open: openAssignment } = usePanel(`action-template-assignment-panel-${block2.id}`, assignmentPanelContent);
20389
- const { open: openCommitment } = usePanel(`action-template-commitment-panel-${block2.id}`, commitmentPanelContent);
20390
- const expand = (section) => {
20391
- if (!inPage) {
20392
- if (section === "assignment") openAssignment();
20393
- else if (section === "commitment") openCommitment();
20394
- else openPanel();
20395
- return;
20396
- }
20397
- setOpenSection(section);
20398
- setExpanded(true);
20385
+ const expand = () => {
20386
+ if (inPage) setExpanded(true);
20387
+ else openPanel();
20399
20388
  };
20400
20389
  if (expanded && interactive) {
20401
- return /* @__PURE__ */ React194.createElement(ActionInlineSettings, { editor, block: block2, openSection, onDone: () => setExpanded(false) });
20390
+ return /* @__PURE__ */ React194.createElement(ActionInlineSettings, { editor, block: block2, onDone: () => setExpanded(false) });
20402
20391
  }
20403
20392
  const actionType = block2.props.actionType || "";
20404
20393
  const dueDate = block2.props.ttlAbsoluteDueDate;
@@ -20411,17 +20400,15 @@ var ActionTemplateView = ({ editor, block: block2 }) => {
20411
20400
  title: getActionTitle(actionType, block2.props.title),
20412
20401
  summary: getActionSubtitle(actionType, block2.props.description, dueDateDisplay),
20413
20402
  notSetUp: actionType ? void 0 : { message: t("blocks.notSetUp.action", { defaultValue: "This action is not set up" }), hint: labels.hint },
20414
- right: /* @__PURE__ */ React194.createElement(Stack120, { gap: 2, align: "flex-end", style: { flexShrink: 0, minWidth: 100 } }, /* @__PURE__ */ React194.createElement(Text120, { fw: 500, contentEditable: false }, t("actionBlock.status.pending", { defaultValue: "Pending" })), /* @__PURE__ */ React194.createElement(Group71, { gap: 4, justify: "flex-end" }, /* @__PURE__ */ React194.createElement(CommitmentDisplay, { block: block2, onClick: interactive ? () => expand("commitment") : () => {
20415
- } }), /* @__PURE__ */ React194.createElement(AssignmentDisplay, { onClick: interactive ? () => expand("assignment") : () => {
20416
- }, block: block2 })))
20403
+ right: /* @__PURE__ */ React194.createElement(Text120, { fw: 500, contentEditable: false, style: { flexShrink: 0 } }, t("actionBlock.status.pending", { defaultValue: "Pending" }))
20417
20404
  }
20418
20405
  ));
20419
20406
  };
20420
20407
 
20421
20408
  // src/mantine/blocks/action/flow/FlowView.tsx
20422
- import React197, { useCallback as useCallback72, useEffect as useEffect72, useMemo as useMemo89, useRef as useRef23, useState as useState85 } from "react";
20423
- import { Group as Group74, Stack as Stack123, Text as Text123, Code as Code8, Box as Box47, Divider as Divider20, Button as Button34, Loader as Loader32 } from "@mantine/core";
20424
- import { IconAlertTriangle as IconAlertTriangle3, IconUser as IconUser13, IconBolt as IconBolt10, IconShieldCheck as IconShieldCheck13, IconPlayerPlay } from "@tabler/icons-react";
20409
+ import React197, { useCallback as useCallback72, useEffect as useEffect72, useMemo as useMemo89, useRef as useRef24, useState as useState85 } from "react";
20410
+ import { Group as Group73, Stack as Stack122, Text as Text123, Code as Code8, Box as Box47, Divider as Divider20, Button as Button34, Loader as Loader32 } from "@mantine/core";
20411
+ import { IconAlertTriangle as IconAlertTriangle3, IconUser as IconUser12, IconBolt as IconBolt10, IconShieldCheck as IconShieldCheck12, IconPlayerPlay } from "@tabler/icons-react";
20425
20412
 
20426
20413
  // src/mantine/blocks/action/flow/triggerMode.ts
20427
20414
  function resolveTriggerMode(props) {
@@ -20436,10 +20423,10 @@ function resolveTriggerMode(props) {
20436
20423
  }
20437
20424
 
20438
20425
  // src/mantine/hooks/useAutoCommitOnExecute.ts
20439
- import { useEffect as useEffect70, useRef as useRef21 } from "react";
20426
+ import { useEffect as useEffect70, useRef as useRef22 } from "react";
20440
20427
  function useAutoCommitOnExecute(editor, block2, runtimeState) {
20441
20428
  const handlers = useBlocknoteHandlers();
20442
- const prevState = useRef21(runtimeState);
20429
+ const prevState = useRef22(runtimeState);
20443
20430
  useEffect70(() => {
20444
20431
  const wasCompleted = prevState.current === "completed";
20445
20432
  prevState.current = runtimeState;
@@ -20487,8 +20474,8 @@ function useAutoCommitOnExecute(editor, block2, runtimeState) {
20487
20474
  }
20488
20475
 
20489
20476
  // src/mantine/blocks/action/PendingInvocationList.tsx
20490
- import React195, { useEffect as useEffect71, useState as useState83, useMemo as useMemo87, useCallback as useCallback71, useRef as useRef22 } from "react";
20491
- import { Stack as Stack121, Group as Group72, Text as Text121, Box as Box46, Badge as Badge36, Button as Button32, Paper as Paper15, ActionIcon as ActionIcon33, Tooltip as Tooltip23 } from "@mantine/core";
20477
+ import React195, { useEffect as useEffect71, useState as useState83, useMemo as useMemo87, useCallback as useCallback71, useRef as useRef23 } from "react";
20478
+ import { Stack as Stack120, Group as Group71, Text as Text121, Box as Box46, Badge as Badge36, Button as Button32, Paper as Paper15, ActionIcon as ActionIcon33, Tooltip as Tooltip23 } from "@mantine/core";
20492
20479
  import { IconBolt as IconBolt9, IconClock as IconClock12, IconRefresh as IconRefresh5, IconX as IconX12 } from "@tabler/icons-react";
20493
20480
  var PendingInvocationList = ({ editor, blockId, actionType: _actionType, onInvoke, autoResolve }) => {
20494
20481
  const yDoc = editor?._yDoc;
@@ -20512,7 +20499,7 @@ var PendingInvocationList = ({ editor, blockId, actionType: _actionType, onInvok
20512
20499
  },
20513
20500
  [yDoc, blockId]
20514
20501
  );
20515
- const autoBoundIdRef = useRef22(null);
20502
+ const autoBoundIdRef = useRef23(null);
20516
20503
  useEffect71(() => {
20517
20504
  if (!autoResolve) return;
20518
20505
  if (pendings.length === 0) {
@@ -20526,7 +20513,7 @@ var PendingInvocationList = ({ editor, blockId, actionType: _actionType, onInvok
20526
20513
  }, [autoResolve, pendings, onInvoke]);
20527
20514
  if (pendings.length === 0) return /* @__PURE__ */ React195.createElement(WaitingForTrigger, { editor, blockId });
20528
20515
  if (autoResolve) return null;
20529
- return /* @__PURE__ */ React195.createElement(Stack121, { gap: "xs", mb: "sm" }, /* @__PURE__ */ React195.createElement(Group72, { gap: 6, align: "center" }, /* @__PURE__ */ React195.createElement(IconBolt9, { size: 14, color: "var(--mantine-color-accent-5, #2aeab3)" }), /* @__PURE__ */ React195.createElement(Text121, { size: "sm", fw: 600 }, "Pending invocations (", pendings.length, ")")), /* @__PURE__ */ React195.createElement(Stack121, { gap: 6 }, pendings.map((p) => /* @__PURE__ */ React195.createElement(PendingInvocationRow, { key: p.id, invocation: p, editor, onInvoke, onDismiss: () => handleDismiss(p.id) }))));
20516
+ return /* @__PURE__ */ React195.createElement(Stack120, { gap: "xs", mb: "sm" }, /* @__PURE__ */ React195.createElement(Group71, { gap: 6, align: "center" }, /* @__PURE__ */ React195.createElement(IconBolt9, { size: 14, color: "var(--mantine-color-accent-5, #2aeab3)" }), /* @__PURE__ */ React195.createElement(Text121, { size: "sm", fw: 600 }, "Pending invocations (", pendings.length, ")")), /* @__PURE__ */ React195.createElement(Stack120, { gap: 6 }, pendings.map((p) => /* @__PURE__ */ React195.createElement(PendingInvocationRow, { key: p.id, invocation: p, editor, onInvoke, onDismiss: () => handleDismiss(p.id) }))));
20530
20517
  };
20531
20518
  var WaitingForTrigger = ({ editor, blockId }) => {
20532
20519
  const label = useMemo87(() => {
@@ -20551,7 +20538,7 @@ var WaitingForTrigger = ({ editor, blockId }) => {
20551
20538
  return `\u201C${eventLabel}\u201D from ${sourceTitle}`;
20552
20539
  }, [editor, blockId]);
20553
20540
  if (!label) return null;
20554
- return /* @__PURE__ */ React195.createElement(Paper15, { p: "xs", withBorder: true, mb: "sm" }, /* @__PURE__ */ React195.createElement(Group72, { gap: 8, align: "center", wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(IconClock12, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React195.createElement(Text121, { size: "sm", c: "dimmed" }, "Waiting for ", label, ". This block activates automatically when the event fires.")));
20541
+ return /* @__PURE__ */ React195.createElement(Paper15, { p: "xs", withBorder: true, mb: "sm" }, /* @__PURE__ */ React195.createElement(Group71, { gap: 8, align: "center", wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(IconClock12, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React195.createElement(Text121, { size: "sm", c: "dimmed" }, "Waiting for ", label, ". This block activates automatically when the event fires.")));
20555
20542
  };
20556
20543
  var PendingInvocationRow = ({ invocation, editor, onInvoke, onDismiss }) => {
20557
20544
  const previewLabel = useMemo87(() => buildPreview(editor, invocation), [editor, invocation]);
@@ -20559,7 +20546,7 @@ var PendingInvocationRow = ({ invocation, editor, onInvoke, onDismiss }) => {
20559
20546
  if (!invocation.expiresAt) return false;
20560
20547
  return new Date(invocation.expiresAt).getTime() < Date.now();
20561
20548
  }, [invocation.expiresAt]);
20562
- return /* @__PURE__ */ React195.createElement(Paper15, { p: "xs", withBorder: true }, /* @__PURE__ */ React195.createElement(Group72, { justify: "space-between", align: "center", wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(Box46, { style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React195.createElement(Group72, { gap: 6, align: "center", wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(Badge36, { size: "xs", variant: "light", color: isExpired ? "red" : "teal" }, invocation.eventName), /* @__PURE__ */ React195.createElement(Text121, { size: "xs", c: "dimmed", truncate: true }, "from ", invocation.triggeringBlockId)), /* @__PURE__ */ React195.createElement(Text121, { size: "sm", fw: 500, mt: 2, truncate: true }, previewLabel), /* @__PURE__ */ React195.createElement(Text121, { size: "xs", c: "dimmed", mt: 2 }, formatTimestamp2(invocation.emittedAt), isExpired && " \xB7 expired")), /* @__PURE__ */ React195.createElement(Group72, { gap: 4, wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(Tooltip23, { label: "Invoke this listener", withArrow: true }, /* @__PURE__ */ React195.createElement(Button32, { size: "xs", variant: "filled", leftSection: /* @__PURE__ */ React195.createElement(IconRefresh5, { size: 12 }), onClick: () => onInvoke?.(invocation), disabled: isExpired || !onInvoke }, "Invoke")), /* @__PURE__ */ React195.createElement(Tooltip23, { label: "Dismiss without invoking", withArrow: true }, /* @__PURE__ */ React195.createElement(ActionIcon33, { variant: "subtle", color: "gray", onClick: onDismiss, "aria-label": "Dismiss" }, /* @__PURE__ */ React195.createElement(IconX12, { size: 14 }))))));
20549
+ return /* @__PURE__ */ React195.createElement(Paper15, { p: "xs", withBorder: true }, /* @__PURE__ */ React195.createElement(Group71, { justify: "space-between", align: "center", wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(Box46, { style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React195.createElement(Group71, { gap: 6, align: "center", wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(Badge36, { size: "xs", variant: "light", color: isExpired ? "red" : "teal" }, invocation.eventName), /* @__PURE__ */ React195.createElement(Text121, { size: "xs", c: "dimmed", truncate: true }, "from ", invocation.triggeringBlockId)), /* @__PURE__ */ React195.createElement(Text121, { size: "sm", fw: 500, mt: 2, truncate: true }, previewLabel), /* @__PURE__ */ React195.createElement(Text121, { size: "xs", c: "dimmed", mt: 2 }, formatTimestamp2(invocation.emittedAt), isExpired && " \xB7 expired")), /* @__PURE__ */ React195.createElement(Group71, { gap: 4, wrap: "nowrap" }, /* @__PURE__ */ React195.createElement(Tooltip23, { label: "Invoke this listener", withArrow: true }, /* @__PURE__ */ React195.createElement(Button32, { size: "xs", variant: "filled", leftSection: /* @__PURE__ */ React195.createElement(IconRefresh5, { size: 12 }), onClick: () => onInvoke?.(invocation), disabled: isExpired || !onInvoke }, "Invoke")), /* @__PURE__ */ React195.createElement(Tooltip23, { label: "Dismiss without invoking", withArrow: true }, /* @__PURE__ */ React195.createElement(ActionIcon33, { variant: "subtle", color: "gray", onClick: onDismiss, "aria-label": "Dismiss" }, /* @__PURE__ */ React195.createElement(IconX12, { size: 14 }))))));
20563
20550
  };
20564
20551
  function buildPreview(editor, invocation) {
20565
20552
  const sourceBlock = (editor?.document || []).find((b) => b?.id === invocation.triggeringBlockId);
@@ -20612,7 +20599,7 @@ function formatTimestamp2(iso) {
20612
20599
 
20613
20600
  // src/mantine/blocks/action/flow/NeedsVerificationAlert.tsx
20614
20601
  import React196, { useMemo as useMemo88, useState as useState84 } from "react";
20615
- import { Button as Button33, Code as Code7, Group as Group73, Stack as Stack122, Text as Text122 } from "@mantine/core";
20602
+ import { Button as Button33, Code as Code7, Group as Group72, Stack as Stack121, Text as Text122 } from "@mantine/core";
20616
20603
  import { IconHelpHexagon } from "@tabler/icons-react";
20617
20604
 
20618
20605
  // src/mantine/blocks/action/manualVerification.ts
@@ -20700,9 +20687,9 @@ function NeedsVerificationAlert({ editor, block: block2 }) {
20700
20687
  const handleReject = () => {
20701
20688
  updateRuntime({ state: "idle", error: void 0, output: {} });
20702
20689
  };
20703
- return /* @__PURE__ */ React196.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React196.createElement(IconHelpHexagon, { size: 16 }), color: "orange", styles: actionAlertStyles, title: t("actionBlock.needsVerification.title", { defaultValue: "Needs verification" }) }, /* @__PURE__ */ React196.createElement(Stack122, { gap: "xs" }, /* @__PURE__ */ React196.createElement(Text122, { size: "xs" }, t("actionBlock.needsVerification.body", {
20690
+ return /* @__PURE__ */ React196.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React196.createElement(IconHelpHexagon, { size: 16 }), color: "orange", styles: actionAlertStyles, title: t("actionBlock.needsVerification.title", { defaultValue: "Needs verification" }) }, /* @__PURE__ */ React196.createElement(Stack121, { gap: "xs" }, /* @__PURE__ */ React196.createElement(Text122, { size: "xs" }, t("actionBlock.needsVerification.body", {
20704
20691
  defaultValue: "This action ran but could not confirm it succeeded, so it will not retry automatically \u2014 the effect may already have happened. Check the result below, then confirm or reset."
20705
- })), runtime.error?.message && /* @__PURE__ */ React196.createElement(Text122, { size: "xs", c: "dimmed" }, runtime.error.message), payloadJson && /* @__PURE__ */ React196.createElement(Stack122, { gap: 4 }, /* @__PURE__ */ React196.createElement(Text122, { size: "xs", fw: 600, c: "dimmed" }, t("actionBlock.needsVerification.returned", { defaultValue: "What the action returned" })), /* @__PURE__ */ React196.createElement(Code7, { block: true, style: { fontSize: "11px", maxHeight: "240px", overflow: "auto" } }, payloadJson)), signError && /* @__PURE__ */ React196.createElement(Text122, { size: "xs", c: "red" }, signError), /* @__PURE__ */ React196.createElement(Group73, { gap: "xs", mt: 4 }, /* @__PURE__ */ React196.createElement(Button33, { size: "xs", color: "green", loading: signing, disabled: signing, onClick: () => void handleConfirm() }, t("actionBlock.needsVerification.confirm", { defaultValue: "Confirm it succeeded" })), /* @__PURE__ */ React196.createElement(Button33, { size: "xs", variant: "outline", color: "red", onClick: handleReject }, t("actionBlock.needsVerification.reject", { defaultValue: "It didn't happen \u2014 reset" })))));
20692
+ })), runtime.error?.message && /* @__PURE__ */ React196.createElement(Text122, { size: "xs", c: "dimmed" }, runtime.error.message), payloadJson && /* @__PURE__ */ React196.createElement(Stack121, { gap: 4 }, /* @__PURE__ */ React196.createElement(Text122, { size: "xs", fw: 600, c: "dimmed" }, t("actionBlock.needsVerification.returned", { defaultValue: "What the action returned" })), /* @__PURE__ */ React196.createElement(Code7, { block: true, style: { fontSize: "11px", maxHeight: "240px", overflow: "auto" } }, payloadJson)), signError && /* @__PURE__ */ React196.createElement(Text122, { size: "xs", c: "red" }, signError), /* @__PURE__ */ React196.createElement(Group72, { gap: "xs", mt: 4 }, /* @__PURE__ */ React196.createElement(Button33, { size: "xs", color: "green", loading: signing, disabled: signing, onClick: () => void handleConfirm() }, t("actionBlock.needsVerification.confirm", { defaultValue: "Confirm it succeeded" })), /* @__PURE__ */ React196.createElement(Button33, { size: "xs", variant: "outline", color: "red", onClick: handleReject }, t("actionBlock.needsVerification.reject", { defaultValue: "It didn't happen \u2014 reset" })))));
20706
20693
  }
20707
20694
 
20708
20695
  // src/mantine/blocks/action/flow/FlowView.tsx
@@ -20739,6 +20726,8 @@ var getStatusLabel4 = (derived, t) => {
20739
20726
  return t("actionBlock.status.failed", { defaultValue: "Failed" });
20740
20727
  case "needs_verification":
20741
20728
  return t("actionBlock.status.needsVerification", { defaultValue: "Needs verification" });
20729
+ case "completion_unverified":
20730
+ return t("actionBlock.status.needsAttention", { defaultValue: "Needs attention" });
20742
20731
  default:
20743
20732
  return t("actionBlock.status.pending", { defaultValue: "Pending" });
20744
20733
  }
@@ -20759,6 +20748,7 @@ var getStatusColor4 = (derived) => {
20759
20748
  case "failed":
20760
20749
  return "red";
20761
20750
  case "needs_verification":
20751
+ case "completion_unverified":
20762
20752
  case "awaiting_human":
20763
20753
  return "orange";
20764
20754
  default:
@@ -20779,7 +20769,7 @@ function useClaimCardTargetRegistration({ editor, block: block2, isDisabled, ope
20779
20769
  const sessionPreview = useRunSessionPreview();
20780
20770
  const actionType = block2.props.actionType || "";
20781
20771
  const [cardHandle] = useState85(() => crypto.randomUUID());
20782
- const cardPanel = useRef23({ context, runEventLog, designPodAuthority, panelContent });
20772
+ const cardPanel = useRef24({ context, runEventLog, designPodAuthority, panelContent });
20783
20773
  cardPanel.current = { context, runEventLog, designPodAuthority, panelContent };
20784
20774
  const hasPanel = panelContent != null;
20785
20775
  const currentUser = handlers.getCurrentUser?.();
@@ -20891,7 +20881,7 @@ var ActionFlowCard = ({ editor, block: block2, isDisabled }) => {
20891
20881
  transition: "border-color 140ms ease"
20892
20882
  }
20893
20883
  },
20894
- /* @__PURE__ */ React197.createElement(Group74, { wrap: "nowrap", gap: 24, align: "center", style: { width: "100%" } }, /* @__PURE__ */ React197.createElement(Group74, { wrap: "nowrap", gap: 16, align: "center", style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React197.createElement(Box47, { style: { flexShrink: 0, width: 32, height: 32, display: "flex", alignItems: "center", justifyContent: "center" } }, actionMeta.icon), /* @__PURE__ */ React197.createElement(Stack123, { gap: 0, style: { flex: 1, minWidth: 0, overflow: "hidden" } }, /* @__PURE__ */ React197.createElement(Text123, { fw: 500, size: "md", truncate: true, contentEditable: false, style: { letterSpacing: "0.16px", lineHeight: 1.5 } }, getActionTitle(actionType, block2.props.title)), /* @__PURE__ */ React197.createElement(ActionSubtitle, { actionType, authoredDescription: block2.props.description, dueDateDisplay }))), /* @__PURE__ */ React197.createElement(Stack123, { gap: 2, align: "flex-end", style: { flexShrink: 0, minWidth: 100 } }, oracleActivityLabel ? /* @__PURE__ */ React197.createElement(Group74, { gap: 6, wrap: "nowrap", justify: "flex-end", contentEditable: false }, /* @__PURE__ */ React197.createElement(Box47, { component: "span", className: "ixo-oracle-working-pulse", style: { display: "inline-flex", alignItems: "center" } }, /* @__PURE__ */ React197.createElement(IconBolt10, { size: 15, color: "var(--mantine-color-blue-5)" })), /* @__PURE__ */ React197.createElement(Text123, { fw: 500, size: "md", c: "blue", style: { letterSpacing: "0.16px", lineHeight: 1.5, textAlign: "right" } }, oracleActivityLabel), /* @__PURE__ */ React197.createElement("style", null, `
20884
+ /* @__PURE__ */ React197.createElement(Group73, { wrap: "nowrap", gap: 24, align: "center", style: { width: "100%" } }, /* @__PURE__ */ React197.createElement(Group73, { wrap: "nowrap", gap: 16, align: "center", style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React197.createElement(Box47, { style: { flexShrink: 0, width: 32, height: 32, display: "flex", alignItems: "center", justifyContent: "center" } }, actionMeta.icon), /* @__PURE__ */ React197.createElement(Stack122, { gap: 0, style: { flex: 1, minWidth: 0, overflow: "hidden" } }, /* @__PURE__ */ React197.createElement(Text123, { fw: 500, size: "md", truncate: true, contentEditable: false, style: { letterSpacing: "0.16px", lineHeight: 1.5 } }, getActionTitle(actionType, block2.props.title)), /* @__PURE__ */ React197.createElement(ActionSubtitle, { actionType, authoredDescription: block2.props.description, dueDateDisplay }))), /* @__PURE__ */ React197.createElement(Stack122, { gap: 2, align: "flex-end", style: { flexShrink: 0, minWidth: 100 } }, oracleActivityLabel ? /* @__PURE__ */ React197.createElement(Group73, { gap: 6, wrap: "nowrap", justify: "flex-end", contentEditable: false }, /* @__PURE__ */ React197.createElement(Box47, { component: "span", className: "ixo-oracle-working-pulse", style: { display: "inline-flex", alignItems: "center" } }, /* @__PURE__ */ React197.createElement(IconBolt10, { size: 15, color: "var(--mantine-color-blue-5)" })), /* @__PURE__ */ React197.createElement(Text123, { fw: 500, size: "md", c: "blue", style: { letterSpacing: "0.16px", lineHeight: 1.5, textAlign: "right" } }, oracleActivityLabel), /* @__PURE__ */ React197.createElement("style", null, `
20895
20885
  @keyframes ixoOracleWorkingPulse {
20896
20886
  0%, 100% { opacity: 1; }
20897
20887
  50% { opacity: 0.35; }
@@ -20900,7 +20890,7 @@ var ActionFlowCard = ({ editor, block: block2, isDisabled }) => {
20900
20890
  @media (prefers-reduced-motion: reduce) {
20901
20891
  .ixo-oracle-working-pulse { animation: none; }
20902
20892
  }
20903
- `)) : /* @__PURE__ */ React197.createElement(Text123, { fw: 500, size: "md", c: statusColor2, contentEditable: false, style: { letterSpacing: "0.16px", lineHeight: 1.5, textAlign: "right" } }, statusLabel2), /* @__PURE__ */ React197.createElement(Group74, { gap: 4, justify: "flex-end" }, /* @__PURE__ */ React197.createElement(CommitmentDisplay, { block: block2, onClick: openCommitment }), /* @__PURE__ */ React197.createElement(AssignmentDisplay, { block: block2, onClick: open })))),
20893
+ `)) : /* @__PURE__ */ React197.createElement(Text123, { fw: 500, size: "md", c: statusColor2, contentEditable: false, style: { letterSpacing: "0.16px", lineHeight: 1.5, textAlign: "right" } }, statusLabel2), /* @__PURE__ */ React197.createElement(Group73, { gap: 4, justify: "flex-end" }, /* @__PURE__ */ React197.createElement(CommitmentDisplay, { block: block2, onClick: openCommitment }), /* @__PURE__ */ React197.createElement(AssignmentDisplay, { block: block2, onClick: open })))),
20904
20894
  configIssues.length > 0 && /* @__PURE__ */ React197.createElement(
20905
20895
  DismissibleAlert,
20906
20896
  {
@@ -20944,13 +20934,13 @@ function ActionFlowPanel({ editor, block: block2, isDisabled }) {
20944
20934
  {
20945
20935
  label: t("actionBlock.tabs.authorization", { defaultValue: "Authorization" }),
20946
20936
  value: "authorization",
20947
- icon: icon(IconShieldCheck13),
20937
+ icon: icon(IconShieldCheck12),
20948
20938
  content: /* @__PURE__ */ React197.createElement(AuthorizationTab, { editor, block: block2 })
20949
20939
  },
20950
20940
  {
20951
20941
  label: t("actionBlock.tabs.assignment", { defaultValue: "Assignment" }),
20952
20942
  value: "assignment",
20953
- icon: icon(IconUser13),
20943
+ icon: icon(IconUser12),
20954
20944
  content: /* @__PURE__ */ React197.createElement(AssignmentTab, { editor, block: block2 })
20955
20945
  }
20956
20946
  );
@@ -20979,7 +20969,7 @@ function ActionPanelContent({
20979
20969
  const t = useTranslate();
20980
20970
  const [isLoading] = useState85(false);
20981
20971
  const [runtime, updateRuntime] = useNodeRuntime(editor, block2.id);
20982
- const executeFnRef = useRef23(null);
20972
+ const executeFnRef = useRef24(null);
20983
20973
  const [canSign, setCanSign] = useState85(false);
20984
20974
  const [runtimeInputs, setRuntimeInputs] = useState85({});
20985
20975
  const [showFlowDetail, setShowFlowDetail] = useState85(false);
@@ -21047,7 +21037,7 @@ function ActionPanelContent({
21047
21037
  ) : null;
21048
21038
  const hasCompletedResult = !!actionTypeUI?.showsResultWithoutInvocation && runtime.state === "completed" && !!runtime.output && Object.keys(runtime.output).length > 0;
21049
21039
  if (triggerMode === "block.event" || triggerMode === "block.event.all") {
21050
- return /* @__PURE__ */ React197.createElement(Stack123, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(PendingInvocationList, { editor, blockId: block2.id, actionType, onInvoke: handleInvoke, autoResolve: autoResolvePending }), (showFlowDetail || isXeroWorkQueueAction || hasCompletedResult) && FlowDetailComponent && /* @__PURE__ */ React197.createElement(React197.Fragment, null, /* @__PURE__ */ React197.createElement(
21040
+ return /* @__PURE__ */ React197.createElement(Stack122, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(PendingInvocationList, { editor, blockId: block2.id, actionType, onInvoke: handleInvoke, autoResolve: autoResolvePending }), (showFlowDetail || isXeroWorkQueueAction || hasCompletedResult) && FlowDetailComponent && /* @__PURE__ */ React197.createElement(React197.Fragment, null, /* @__PURE__ */ React197.createElement(
21051
21041
  FlowDetailComponent,
21052
21042
  {
21053
21043
  inputs: block2.props.inputs || "{}",
@@ -21079,7 +21069,7 @@ function ActionPanelContent({
21079
21069
  ), /* @__PURE__ */ React197.createElement(NeedsVerificationAlert, { editor, block: block2 }), runtime.error && runtime.state !== "needs_verification" && /* @__PURE__ */ React197.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React197.createElement(IconAlertTriangle3, { size: 16 }), title: t("actionBlock.alerts.executionError", { defaultValue: "Execution Error" }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs" }, runtime.error.message)));
21080
21070
  }
21081
21071
  if (FlowDetailComponent && isSlideToSign) {
21082
- return /* @__PURE__ */ React197.createElement(Stack123, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(
21072
+ return /* @__PURE__ */ React197.createElement(Stack122, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(
21083
21073
  FlowDetailComponent,
21084
21074
  {
21085
21075
  inputs: block2.props.inputs || "{}",
@@ -21096,7 +21086,7 @@ function ActionPanelContent({
21096
21086
  ), diffView, /* @__PURE__ */ React197.createElement(NeedsVerificationAlert, { editor, block: block2 }), runtime.error && runtime.state !== "needs_verification" && /* @__PURE__ */ React197.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React197.createElement(IconAlertTriangle3, { size: 16 }), title: t("actionBlock.alerts.executionError", { defaultValue: "Execution Error" }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs" }, runtime.error.message)));
21097
21087
  }
21098
21088
  if (FlowDetailComponent) {
21099
- return /* @__PURE__ */ React197.createElement(Stack123, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(
21089
+ return /* @__PURE__ */ React197.createElement(Stack122, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(
21100
21090
  FlowDetailComponent,
21101
21091
  {
21102
21092
  inputs: block2.props.inputs || "{}",
@@ -21157,7 +21147,7 @@ function GenericFlowPanel({
21157
21147
  onPendingInvocationCompleted?.(pendingInvocationId);
21158
21148
  }
21159
21149
  };
21160
- return /* @__PURE__ */ React197.createElement(Stack123, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(
21150
+ return /* @__PURE__ */ React197.createElement(Stack122, { gap: "md", py: "md" }, /* @__PURE__ */ React197.createElement(
21161
21151
  Button34,
21162
21152
  {
21163
21153
  fullWidth: true,
@@ -21168,7 +21158,7 @@ function GenericFlowPanel({
21168
21158
  disabled: isDisabled || isExecuting || !actionType
21169
21159
  },
21170
21160
  isExecuting ? t("actionBlock.executing", { defaultValue: "Running..." }) : t("actionBlock.tabs.execute", { defaultValue: "Execute" })
21171
- ), isDisabled && disabledMessage && /* @__PURE__ */ React197.createElement(Text123, { size: "xs", c: "dimmed" }, disabledMessage), /* @__PURE__ */ React197.createElement(NeedsVerificationAlert, { editor, block: block2 }), runtime.error && runtime.state !== "needs_verification" && /* @__PURE__ */ React197.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React197.createElement(IconAlertTriangle3, { size: 16 }), title: "Execution Error", color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs" }, runtime.error.message)), !runtime.error && executionError && /* @__PURE__ */ React197.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React197.createElement(IconAlertTriangle3, { size: 16 }), title: "Execution Error", color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs" }, executionError)), Object.keys(parsedInputs).length > 0 && /* @__PURE__ */ React197.createElement(React197.Fragment, null, /* @__PURE__ */ React197.createElement(Divider20, null), /* @__PURE__ */ React197.createElement(Stack123, { gap: "xs" }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs", fw: 600, c: "dimmed" }, t("actionBlock.inputs", { defaultValue: "Inputs" })), /* @__PURE__ */ React197.createElement(Code8, { block: true, style: { fontSize: "11px" } }, JSON.stringify(parsedInputs, null, 2)))), outputJson && /* @__PURE__ */ React197.createElement(React197.Fragment, null, /* @__PURE__ */ React197.createElement(Divider20, null), /* @__PURE__ */ React197.createElement(Stack123, { gap: "xs" }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs", fw: 600, c: "dimmed" }, t("actionBlock.output", { defaultValue: "Output" })), /* @__PURE__ */ React197.createElement(Code8, { block: true, style: { fontSize: "11px", maxHeight: "300px", overflow: "auto" } }, outputJson))));
21161
+ ), isDisabled && disabledMessage && /* @__PURE__ */ React197.createElement(Text123, { size: "xs", c: "dimmed" }, disabledMessage), /* @__PURE__ */ React197.createElement(NeedsVerificationAlert, { editor, block: block2 }), runtime.error && runtime.state !== "needs_verification" && /* @__PURE__ */ React197.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React197.createElement(IconAlertTriangle3, { size: 16 }), title: "Execution Error", color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs" }, runtime.error.message)), !runtime.error && executionError && /* @__PURE__ */ React197.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React197.createElement(IconAlertTriangle3, { size: 16 }), title: "Execution Error", color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs" }, executionError)), Object.keys(parsedInputs).length > 0 && /* @__PURE__ */ React197.createElement(React197.Fragment, null, /* @__PURE__ */ React197.createElement(Divider20, null), /* @__PURE__ */ React197.createElement(Stack122, { gap: "xs" }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs", fw: 600, c: "dimmed" }, t("actionBlock.inputs", { defaultValue: "Inputs" })), /* @__PURE__ */ React197.createElement(Code8, { block: true, style: { fontSize: "11px" } }, JSON.stringify(parsedInputs, null, 2)))), outputJson && /* @__PURE__ */ React197.createElement(React197.Fragment, null, /* @__PURE__ */ React197.createElement(Divider20, null), /* @__PURE__ */ React197.createElement(Stack122, { gap: "xs" }, /* @__PURE__ */ React197.createElement(Text123, { size: "xs", fw: 600, c: "dimmed" }, t("actionBlock.output", { defaultValue: "Output" })), /* @__PURE__ */ React197.createElement(Code8, { block: true, style: { fontSize: "11px", maxHeight: "300px", overflow: "auto" } }, outputJson))));
21172
21162
  }
21173
21163
 
21174
21164
  // src/mantine/blocks/action/lazyActionComponent.tsx
@@ -21183,7 +21173,7 @@ function lazyActionComponent(load) {
21183
21173
  // src/mantine/blocks/action/actionTypes/pod/domainIndexerLookup/index.ts
21184
21174
  import { IconSearch as IconSearch5 } from "@tabler/icons-react";
21185
21175
  var DomainIndexerLookupConfig = lazyActionComponent(() => import("./DomainIndexerLookupConfig-N4VONQUY.js").then((module) => ({ default: module.DomainIndexerLookupConfig })));
21186
- var DomainIndexerLookupFlowDetail = lazyActionComponent(() => import("./DomainIndexerLookupFlowDetail-DPPNZNOU.js").then((module) => ({ default: module.DomainIndexerLookupFlowDetail })));
21176
+ var DomainIndexerLookupFlowDetail = lazyActionComponent(() => import("./DomainIndexerLookupFlowDetail-QGCPCVQU.js").then((module) => ({ default: module.DomainIndexerLookupFlowDetail })));
21187
21177
  registerActionTypeUI("qi/pod.domain-indexer-lookup", {
21188
21178
  label: "Define Purpose",
21189
21179
  description: "Capture intent and find matching Blueprint candidates",
@@ -21194,9 +21184,9 @@ registerActionTypeUI("qi/pod.domain-indexer-lookup", {
21194
21184
 
21195
21185
  // src/mantine/blocks/action/actionTypes/pod/domainSingleSelection/index.ts
21196
21186
  import { IconLayoutGrid } from "@tabler/icons-react";
21197
- var DomainSingleSelectionConfig = lazyActionComponent(() => import("./DomainSingleSelectionConfig-6BU762LL.js").then((module) => ({ default: module.DomainSingleSelectionConfig })));
21187
+ var DomainSingleSelectionConfig = lazyActionComponent(() => import("./DomainSingleSelectionConfig-EJTQIOGS.js").then((module) => ({ default: module.DomainSingleSelectionConfig })));
21198
21188
  var DomainSingleSelectionFlowDetail = lazyActionComponent(
21199
- () => import("./DomainSingleSelectionFlowDetail-JFFYQC4P.js").then((module) => ({ default: module.DomainSingleSelectionFlowDetail }))
21189
+ () => import("./DomainSingleSelectionFlowDetail-3FNDUQNQ.js").then((module) => ({ default: module.DomainSingleSelectionFlowDetail }))
21200
21190
  );
21201
21191
  registerActionTypeUI("qi/pod.domain-single-selection", {
21202
21192
  label: "Select Blueprint",
@@ -21210,7 +21200,7 @@ registerActionTypeUI("qi/pod.domain-single-selection", {
21210
21200
  import { IconBuildingEstate } from "@tabler/icons-react";
21211
21201
  var EntitySingleSelectionConfig = lazyActionComponent(() => import("./EntitySingleSelectionConfig-DL57KNKM.js").then((module) => ({ default: module.EntitySingleSelectionConfig })));
21212
21202
  var EntitySingleSelectionFlowDetail = lazyActionComponent(
21213
- () => import("./EntitySingleSelectionFlowDetail-TL7PATBJ.js").then((module) => ({ default: module.EntitySingleSelectionFlowDetail }))
21203
+ () => import("./EntitySingleSelectionFlowDetail-55TDSVSD.js").then((module) => ({ default: module.EntitySingleSelectionFlowDetail }))
21214
21204
  );
21215
21205
  registerActionTypeUI("qi/pod.entity-single-selection", {
21216
21206
  label: "Select Parent Organisation",
@@ -21223,7 +21213,7 @@ registerActionTypeUI("qi/pod.entity-single-selection", {
21223
21213
  // src/mantine/blocks/action/actionTypes/pod/memberMultiSelect/index.ts
21224
21214
  import { IconUsers as IconUsers6 } from "@tabler/icons-react";
21225
21215
  var MemberMultiSelectConfig = lazyActionComponent(() => import("./MemberMultiSelectConfig-E7WUB2WD.js").then((module) => ({ default: module.MemberMultiSelectConfig })));
21226
- var MemberMultiSelectFlowDetail = lazyActionComponent(() => import("./MemberMultiSelectFlowDetail-3ZEIOH4X.js").then((module) => ({ default: module.MemberMultiSelectFlowDetail })));
21216
+ var MemberMultiSelectFlowDetail = lazyActionComponent(() => import("./MemberMultiSelectFlowDetail-AFSBDTLU.js").then((module) => ({ default: module.MemberMultiSelectFlowDetail })));
21227
21217
  registerActionTypeUI("qi/pod.member-multi-select", {
21228
21218
  label: "Configure Membership",
21229
21219
  description: "Define POD members, roles, and voting power",
@@ -21235,7 +21225,7 @@ registerActionTypeUI("qi/pod.member-multi-select", {
21235
21225
  // src/mantine/blocks/action/actionTypes/pod/governanceConfig/index.ts
21236
21226
  import { IconGavel as IconGavel2 } from "@tabler/icons-react";
21237
21227
  var GovernanceConfigConfig = lazyActionComponent(() => import("./GovernanceConfigConfig-V3WM4WBP.js").then((module) => ({ default: module.GovernanceConfigConfig })));
21238
- var GovernanceConfigFlowDetail = lazyActionComponent(() => import("./GovernanceConfigFlowDetail-7GPHNALT.js").then((module) => ({ default: module.GovernanceConfigFlowDetail })));
21228
+ var GovernanceConfigFlowDetail = lazyActionComponent(() => import("./GovernanceConfigFlowDetail-EAX44S7P.js").then((module) => ({ default: module.GovernanceConfigFlowDetail })));
21239
21229
  registerActionTypeUI("qi/pod.governance-config", {
21240
21230
  label: "Configure Governance",
21241
21231
  description: "Set the governance group type and decision policy",
@@ -21247,7 +21237,7 @@ registerActionTypeUI("qi/pod.governance-config", {
21247
21237
  // src/mantine/blocks/action/actionTypes/pod/listDomainFlows/index.ts
21248
21238
  import { IconTemplate } from "@tabler/icons-react";
21249
21239
  var ListDomainFlowsConfig = lazyActionComponent(() => import("./ListDomainFlowsConfig-3JZEPTOJ.js").then((module) => ({ default: module.ListDomainFlowsConfig })));
21250
- var ListDomainFlowsFlowDetail = lazyActionComponent(() => import("./ListDomainFlowsFlowDetail-DK4YPMEJ.js").then((module) => ({ default: module.ListDomainFlowsFlowDetail })));
21240
+ var ListDomainFlowsFlowDetail = lazyActionComponent(() => import("./ListDomainFlowsFlowDetail-R4O5E22G.js").then((module) => ({ default: module.ListDomainFlowsFlowDetail })));
21251
21241
  registerActionTypeUI("qi/pod.list-domain-flows", {
21252
21242
  label: "Select Flow Templates",
21253
21243
  description: "Choose protocol flow templates to import",
@@ -21270,7 +21260,7 @@ var ACTIONS = [
21270
21260
  ];
21271
21261
  for (const [actionType, label, description] of ACTIONS) {
21272
21262
  const DesignPodConfig = lazyActionComponent(() => import("./DesignPodConfig-LJ7H2CZ6.js").then((module) => ({ default: module.DesignPodConfig })));
21273
- const DesignPodFlowDetail = lazyActionComponent(() => import("./DesignPodFlowDetail-HEFNV3J3.js").then((module) => ({ default: module.DesignPodFlowDetail })));
21263
+ const DesignPodFlowDetail = lazyActionComponent(() => import("./DesignPodFlowDetail-QE7XKTQ2.js").then((module) => ({ default: module.DesignPodFlowDetail })));
21274
21264
  registerActionTypeUI(actionType, {
21275
21265
  label,
21276
21266
  description,
@@ -21282,9 +21272,9 @@ for (const [actionType, label, description] of ACTIONS) {
21282
21272
 
21283
21273
  // src/mantine/blocks/action/actionTypes/governance/memberProposal/index.ts
21284
21274
  import { IconUsersGroup as IconUsersGroup3 } from "@tabler/icons-react";
21285
- var GovernanceMemberProposalConfig = lazyActionComponent(() => import("./GovernanceMemberProposalConfig-DADW2B2Y.js").then((module) => ({ default: module.GovernanceMemberProposalConfig })));
21275
+ var GovernanceMemberProposalConfig = lazyActionComponent(() => import("./GovernanceMemberProposalConfig-T6V4XMD5.js").then((module) => ({ default: module.GovernanceMemberProposalConfig })));
21286
21276
  var GovernanceMemberProposalFlowDetail = lazyActionComponent(
21287
- () => import("./GovernanceMemberProposalFlowDetail-ZHGLGNVK.js").then((module) => ({ default: module.GovernanceMemberProposalFlowDetail }))
21277
+ () => import("./GovernanceMemberProposalFlowDetail-QV4GZGCL.js").then((module) => ({ default: module.GovernanceMemberProposalFlowDetail }))
21288
21278
  );
21289
21279
  registerActionTypeUI("qi/governance.member-proposal", {
21290
21280
  label: "Membership Proposal",
@@ -21297,10 +21287,10 @@ registerActionTypeUI("qi/governance.member-proposal", {
21297
21287
  // src/mantine/blocks/action/actionTypes/governance/settingsProposal/index.ts
21298
21288
  import { IconScale } from "@tabler/icons-react";
21299
21289
  var GovernanceSettingsProposalConfig = lazyActionComponent(
21300
- () => import("./GovernanceSettingsProposalConfig-WT2XRFJV.js").then((module) => ({ default: module.GovernanceSettingsProposalConfig }))
21290
+ () => import("./GovernanceSettingsProposalConfig-LWZSLPOP.js").then((module) => ({ default: module.GovernanceSettingsProposalConfig }))
21301
21291
  );
21302
21292
  var GovernanceSettingsProposalFlowDetail = lazyActionComponent(
21303
- () => import("./GovernanceSettingsProposalFlowDetail-IWCYMAIH.js").then((module) => ({ default: module.GovernanceSettingsProposalFlowDetail }))
21293
+ () => import("./GovernanceSettingsProposalFlowDetail-XPNZHMRM.js").then((module) => ({ default: module.GovernanceSettingsProposalFlowDetail }))
21304
21294
  );
21305
21295
  registerActionTypeUI("qi/governance.settings-proposal", {
21306
21296
  label: "Governance Settings Proposal",
@@ -21315,7 +21305,7 @@ import { IconGavel as IconGavel3 } from "@tabler/icons-react";
21315
21305
 
21316
21306
  // src/mantine/blocks/action/actionTypes/governance/_shared/createGovernanceProposalConfig.tsx
21317
21307
  import React199, { useCallback as useCallback73, useEffect as useEffect73, useState as useState86 } from "react";
21318
- import { Alert as Alert26, Stack as Stack124, Text as Text124 } from "@mantine/core";
21308
+ import { Alert as Alert26, Stack as Stack123, Text as Text124 } from "@mantine/core";
21319
21309
  function parseGovernanceProposalConfigInputs(json) {
21320
21310
  try {
21321
21311
  const parsed = typeof json === "string" ? JSON.parse(json) : json;
@@ -21340,14 +21330,14 @@ function createGovernanceProposalConfig(options) {
21340
21330
  },
21341
21331
  [onInputsChange]
21342
21332
  );
21343
- return /* @__PURE__ */ React199.createElement(Stack124, { gap: "lg" }, /* @__PURE__ */ React199.createElement(DaoGroupField, { coreAddress: local.coreAddress, onChange: (coreAddress) => update({ coreAddress }), description: options.groupDescription }), options.note && /* @__PURE__ */ React199.createElement(Alert26, { color: "blue", variant: "light" }, /* @__PURE__ */ React199.createElement(Text124, { size: "xs" }, options.note)));
21333
+ return /* @__PURE__ */ React199.createElement(Stack123, { gap: "lg" }, /* @__PURE__ */ React199.createElement(DaoGroupField, { coreAddress: local.coreAddress, onChange: (coreAddress) => update({ coreAddress }), description: options.groupDescription }), options.note && /* @__PURE__ */ React199.createElement(Alert26, { color: "blue", variant: "light" }, /* @__PURE__ */ React199.createElement(Text124, { size: "xs" }, options.note)));
21344
21334
  };
21345
21335
  return GovernanceProposalConfig;
21346
21336
  }
21347
21337
 
21348
21338
  // src/mantine/blocks/action/actionTypes/governance/submissionConfigProposal/index.ts
21349
21339
  var GovernanceSubmissionConfigProposalFlowDetail = lazyActionComponent(
21350
- () => import("./GovernanceSubmissionConfigProposalFlowDetail-ZT4LW4CU.js").then((module) => ({ default: module.GovernanceSubmissionConfigProposalFlowDetail }))
21340
+ () => import("./GovernanceSubmissionConfigProposalFlowDetail-2M2WYVRI.js").then((module) => ({ default: module.GovernanceSubmissionConfigProposalFlowDetail }))
21351
21341
  );
21352
21342
  registerActionTypeUI("qi/governance.submission-config-proposal", {
21353
21343
  label: "Proposal Submission Rules",
@@ -21361,12 +21351,12 @@ registerActionTypeUI("qi/governance.submission-config-proposal", {
21361
21351
  });
21362
21352
 
21363
21353
  // src/mantine/blocks/action/actionTypes/governance/submissionPolicy/index.ts
21364
- import { IconUserCheck as IconUserCheck6 } from "@tabler/icons-react";
21354
+ import { IconUserCheck as IconUserCheck5 } from "@tabler/icons-react";
21365
21355
 
21366
21356
  // src/mantine/blocks/action/actionTypes/governance/submissionPolicy/GovernanceSubmissionPolicyFlowDetail.tsx
21367
21357
  import React200, { useEffect as useEffect74, useMemo as useMemo90, useState as useState87 } from "react";
21368
21358
  import { Alert as Alert27, Text as Text125 } from "@mantine/core";
21369
- import { IconAlertTriangle as IconAlertTriangle4, IconUserCheck as IconUserCheck5 } from "@tabler/icons-react";
21359
+ import { IconAlertTriangle as IconAlertTriangle4, IconUserCheck as IconUserCheck4 } from "@tabler/icons-react";
21370
21360
  var hasEntries = (value) => value.split(/[\s,;]+/).some((v) => v.trim().length > 0);
21371
21361
  var GovernanceSubmissionPolicyFlowDetail = (props) => {
21372
21362
  const { inputs, isDisabled } = props;
@@ -21403,7 +21393,7 @@ var GovernanceSubmissionPolicyFlowDetail = (props) => {
21403
21393
  GovernanceProposalShell,
21404
21394
  {
21405
21395
  flow: props,
21406
- icon: IconUserCheck5,
21396
+ icon: IconUserCheck4,
21407
21397
  headline: "Proposal submission lists",
21408
21398
  defaultBlurb: "Add or remove wallets that may (or may not) submit proposals. The proposal deposit is left exactly as it is.",
21409
21399
  successTitle: "Submission-lists proposal created",
@@ -21487,7 +21477,7 @@ var GovernanceSubmissionPolicyFlowDetail = (props) => {
21487
21477
  registerActionTypeUI("qi/governance.submission-policy", {
21488
21478
  label: "Update Who May Propose",
21489
21479
  description: "Propose changes to the allow and deny lists for proposal submission, without touching the deposit",
21490
- icon: icon(IconUserCheck6, 20),
21480
+ icon: icon(IconUserCheck5, 20),
21491
21481
  configComponent: createGovernanceProposalConfig({
21492
21482
  groupDescription: "The POD whose proposal-submission lists change. Leave blank to resolve it from the current entity when the flow runs.",
21493
21483
  note: "Needs a POD on DAO DAO v2.5 or later. The addresses to add or remove, and the proposal name and description, are composed in the flow panel."
@@ -21498,10 +21488,10 @@ registerActionTypeUI("qi/governance.submission-policy", {
21498
21488
  // src/mantine/blocks/action/actionTypes/governance/transactionSendFunds/index.ts
21499
21489
  import { IconCoin as IconCoin3 } from "@tabler/icons-react";
21500
21490
  var GovernanceTransactionSendFundsConfig = lazyActionComponent(
21501
- () => import("./GovernanceTransactionSendFundsConfig-RLDBUKIT.js").then((module) => ({ default: module.GovernanceTransactionSendFundsConfig }))
21491
+ () => import("./GovernanceTransactionSendFundsConfig-2ZZGBB66.js").then((module) => ({ default: module.GovernanceTransactionSendFundsConfig }))
21502
21492
  );
21503
21493
  var GovernanceTransactionSendFundsFlowDetail = lazyActionComponent(
21504
- () => import("./GovernanceTransactionSendFundsFlowDetail-OIYTEWTP.js").then((module) => ({ default: module.GovernanceTransactionSendFundsFlowDetail }))
21494
+ () => import("./GovernanceTransactionSendFundsFlowDetail-3JWTIOLT.js").then((module) => ({ default: module.GovernanceTransactionSendFundsFlowDetail }))
21505
21495
  );
21506
21496
  registerActionTypeUI("qi/governance.transaction.send-funds", {
21507
21497
  label: "Send Funds",
@@ -21514,7 +21504,7 @@ registerActionTypeUI("qi/governance.transaction.send-funds", {
21514
21504
  // src/mantine/blocks/action/actionTypes/governance/transactionSendGroupToken/index.ts
21515
21505
  import { IconCoins as IconCoins2 } from "@tabler/icons-react";
21516
21506
  var GovernanceTransactionSendGroupTokenFlowDetail = lazyActionComponent(
21517
- () => import("./GovernanceTransactionSendGroupTokenFlowDetail-I6ORHQUY.js").then((module) => ({ default: module.GovernanceTransactionSendGroupTokenFlowDetail }))
21507
+ () => import("./GovernanceTransactionSendGroupTokenFlowDetail-6TBIUJLV.js").then((module) => ({ default: module.GovernanceTransactionSendGroupTokenFlowDetail }))
21518
21508
  );
21519
21509
  registerActionTypeUI("qi/governance.transaction.send-group-token", {
21520
21510
  label: "Send POD Tokens",
@@ -21530,7 +21520,7 @@ registerActionTypeUI("qi/governance.transaction.send-group-token", {
21530
21520
  // src/mantine/blocks/action/actionTypes/governance/transactionMint/index.ts
21531
21521
  import { IconCirclePlus } from "@tabler/icons-react";
21532
21522
  var GovernanceTransactionMintFlowDetail = lazyActionComponent(
21533
- () => import("./GovernanceTransactionMintFlowDetail-MP36YVVV.js").then((module) => ({ default: module.GovernanceTransactionMintFlowDetail }))
21523
+ () => import("./GovernanceTransactionMintFlowDetail-JMRKVSSC.js").then((module) => ({ default: module.GovernanceTransactionMintFlowDetail }))
21534
21524
  );
21535
21525
  registerActionTypeUI("qi/governance.transaction.mint", {
21536
21526
  label: "Mint Governance Tokens",
@@ -21546,7 +21536,7 @@ registerActionTypeUI("qi/governance.transaction.mint", {
21546
21536
  // src/mantine/blocks/action/actionTypes/governance/transactionPerformTokenSwap/index.ts
21547
21537
  import { IconArrowsExchange as IconArrowsExchange3 } from "@tabler/icons-react";
21548
21538
  var GovernanceTransactionPerformTokenSwapFlowDetail = lazyActionComponent(
21549
- () => import("./GovernanceTransactionPerformTokenSwapFlowDetail-ABSKBNLZ.js").then((module) => ({ default: module.GovernanceTransactionPerformTokenSwapFlowDetail }))
21539
+ () => import("./GovernanceTransactionPerformTokenSwapFlowDetail-ISJWELXS.js").then((module) => ({ default: module.GovernanceTransactionPerformTokenSwapFlowDetail }))
21550
21540
  );
21551
21541
  registerActionTypeUI("qi/governance.transaction.perform-token-swap", {
21552
21542
  label: "Fund Token Swap",
@@ -21562,7 +21552,7 @@ registerActionTypeUI("qi/governance.transaction.perform-token-swap", {
21562
21552
  // src/mantine/blocks/action/actionTypes/governance/transactionWithdrawTokenSwap/index.ts
21563
21553
  import { IconArrowBackUp } from "@tabler/icons-react";
21564
21554
  var GovernanceTransactionWithdrawTokenSwapFlowDetail = lazyActionComponent(
21565
- () => import("./GovernanceTransactionWithdrawTokenSwapFlowDetail-HIJLXLTD.js").then((module) => ({ default: module.GovernanceTransactionWithdrawTokenSwapFlowDetail }))
21555
+ () => import("./GovernanceTransactionWithdrawTokenSwapFlowDetail-SQH73HL2.js").then((module) => ({ default: module.GovernanceTransactionWithdrawTokenSwapFlowDetail }))
21566
21556
  );
21567
21557
  registerActionTypeUI("qi/governance.transaction.withdraw-token-swap", {
21568
21558
  label: "Withdraw Token Swap",
@@ -21578,7 +21568,7 @@ registerActionTypeUI("qi/governance.transaction.withdraw-token-swap", {
21578
21568
  // src/mantine/blocks/action/actionTypes/governance/stakingStake/index.ts
21579
21569
  import { IconStack2 } from "@tabler/icons-react";
21580
21570
  var GovernanceStakingStakeFlowDetail = lazyActionComponent(
21581
- () => import("./GovernanceStakingStakeFlowDetail-LM37IMVO.js").then((module) => ({ default: module.GovernanceStakingStakeFlowDetail }))
21571
+ () => import("./GovernanceStakingStakeFlowDetail-YTSU64YA.js").then((module) => ({ default: module.GovernanceStakingStakeFlowDetail }))
21582
21572
  );
21583
21573
  registerActionTypeUI("qi/governance.staking.stake", {
21584
21574
  label: "Stake Treasury Tokens",
@@ -21594,7 +21584,7 @@ registerActionTypeUI("qi/governance.staking.stake", {
21594
21584
  // src/mantine/blocks/action/actionTypes/governance/stakingStakeToGroup/index.ts
21595
21585
  import { IconStack3 } from "@tabler/icons-react";
21596
21586
  var GovernanceStakingStakeToGroupFlowDetail = lazyActionComponent(
21597
- () => import("./GovernanceStakingStakeToGroupFlowDetail-VNARHVFO.js").then((module) => ({ default: module.GovernanceStakingStakeToGroupFlowDetail }))
21587
+ () => import("./GovernanceStakingStakeToGroupFlowDetail-BINBC737.js").then((module) => ({ default: module.GovernanceStakingStakeToGroupFlowDetail }))
21598
21588
  );
21599
21589
  registerActionTypeUI("qi/governance.staking.stake-to-group", {
21600
21590
  label: "Stake to POD",
@@ -21609,7 +21599,7 @@ registerActionTypeUI("qi/governance.staking.stake-to-group", {
21609
21599
 
21610
21600
  // src/mantine/blocks/action/actionTypes/governance/authzGrant/index.ts
21611
21601
  import { IconKey as IconKey3 } from "@tabler/icons-react";
21612
- var GovernanceAuthzGrantFlowDetail = lazyActionComponent(() => import("./GovernanceAuthzGrantFlowDetail-NYU6RBMD.js").then((module) => ({ default: module.GovernanceAuthzGrantFlowDetail })));
21602
+ var GovernanceAuthzGrantFlowDetail = lazyActionComponent(() => import("./GovernanceAuthzGrantFlowDetail-34ZEJMAG.js").then((module) => ({ default: module.GovernanceAuthzGrantFlowDetail })));
21613
21603
  registerActionTypeUI("qi/governance.authz.grant", {
21614
21604
  label: "Grant Authorization",
21615
21605
  description: "Propose granting an address authorization to act for the POD",
@@ -21624,7 +21614,7 @@ registerActionTypeUI("qi/governance.authz.grant", {
21624
21614
  // src/mantine/blocks/action/actionTypes/governance/authzRevoke/index.ts
21625
21615
  import { IconKeyOff } from "@tabler/icons-react";
21626
21616
  var GovernanceAuthzRevokeFlowDetail = lazyActionComponent(
21627
- () => import("./GovernanceAuthzRevokeFlowDetail-2NYVNJRY.js").then((module) => ({ default: module.GovernanceAuthzRevokeFlowDetail }))
21617
+ () => import("./GovernanceAuthzRevokeFlowDetail-OIPUTKBU.js").then((module) => ({ default: module.GovernanceAuthzRevokeFlowDetail }))
21628
21618
  );
21629
21619
  registerActionTypeUI("qi/governance.authz.revoke", {
21630
21620
  label: "Revoke Authorization",
@@ -21639,7 +21629,7 @@ registerActionTypeUI("qi/governance.authz.revoke", {
21639
21629
 
21640
21630
  // src/mantine/blocks/action/actionTypes/governance/authzExec/index.ts
21641
21631
  import { IconPlayerPlay as IconPlayerPlay2 } from "@tabler/icons-react";
21642
- var GovernanceAuthzExecFlowDetail = lazyActionComponent(() => import("./GovernanceAuthzExecFlowDetail-4ICVRCYV.js").then((module) => ({ default: module.GovernanceAuthzExecFlowDetail })));
21632
+ var GovernanceAuthzExecFlowDetail = lazyActionComponent(() => import("./GovernanceAuthzExecFlowDetail-H4E53YQ4.js").then((module) => ({ default: module.GovernanceAuthzExecFlowDetail })));
21643
21633
  registerActionTypeUI("qi/governance.authz.exec", {
21644
21634
  label: "Execute Authorized Action",
21645
21635
  description: "Propose executing a message the POD was authorized to run",
@@ -21653,7 +21643,7 @@ registerActionTypeUI("qi/governance.authz.exec", {
21653
21643
 
21654
21644
  // src/mantine/blocks/action/actionTypes/governance/chainGovernanceVote/index.ts
21655
21645
  import { IconBuildingBank } from "@tabler/icons-react";
21656
- var GovernanceChainVoteFlowDetail = lazyActionComponent(() => import("./GovernanceChainVoteFlowDetail-LM3NSV32.js").then((module) => ({ default: module.GovernanceChainVoteFlowDetail })));
21646
+ var GovernanceChainVoteFlowDetail = lazyActionComponent(() => import("./GovernanceChainVoteFlowDetail-GDYO5YNZ.js").then((module) => ({ default: module.GovernanceChainVoteFlowDetail })));
21657
21647
  registerActionTypeUI("qi/governance.chain-governance-vote", {
21658
21648
  label: "Chain Governance Vote",
21659
21649
  description: "Propose casting the POD's vote on a chain governance proposal",
@@ -21667,7 +21657,7 @@ registerActionTypeUI("qi/governance.chain-governance-vote", {
21667
21657
 
21668
21658
  // src/mantine/blocks/action/actionTypes/governance/daoJoin/index.ts
21669
21659
  import { IconPlugConnected } from "@tabler/icons-react";
21670
- var GovernanceDaoJoinFlowDetail = lazyActionComponent(() => import("./GovernanceDaoJoinFlowDetail-Q3WSUZX3.js").then((module) => ({ default: module.GovernanceDaoJoinFlowDetail })));
21660
+ var GovernanceDaoJoinFlowDetail = lazyActionComponent(() => import("./GovernanceDaoJoinFlowDetail-P54XEJBK.js").then((module) => ({ default: module.GovernanceDaoJoinFlowDetail })));
21671
21661
  registerActionTypeUI("qi/governance.dao.join", {
21672
21662
  label: "Join Entity",
21673
21663
  description: "Propose linking this POD as a member of another entity",
@@ -21682,7 +21672,7 @@ registerActionTypeUI("qi/governance.dao.join", {
21682
21672
  // src/mantine/blocks/action/actionTypes/governance/daoUpdateInfo/index.ts
21683
21673
  import { IconIdBadge2 } from "@tabler/icons-react";
21684
21674
  var GovernanceDaoUpdateInfoFlowDetail = lazyActionComponent(
21685
- () => import("./GovernanceDaoUpdateInfoFlowDetail-R5ZK5SNL.js").then((module) => ({ default: module.GovernanceDaoUpdateInfoFlowDetail }))
21675
+ () => import("./GovernanceDaoUpdateInfoFlowDetail-JM367SP3.js").then((module) => ({ default: module.GovernanceDaoUpdateInfoFlowDetail }))
21686
21676
  );
21687
21677
  registerActionTypeUI("qi/governance.dao.update-info", {
21688
21678
  label: "Update DAO Info",
@@ -21698,7 +21688,7 @@ registerActionTypeUI("qi/governance.dao.update-info", {
21698
21688
  // src/mantine/blocks/action/actionTypes/governance/daoManageSubDaos/index.ts
21699
21689
  import { IconSitemap } from "@tabler/icons-react";
21700
21690
  var GovernanceDaoManageSubDaosFlowDetail = lazyActionComponent(
21701
- () => import("./GovernanceDaoManageSubDaosFlowDetail-2JITWAYZ.js").then((module) => ({ default: module.GovernanceDaoManageSubDaosFlowDetail }))
21691
+ () => import("./GovernanceDaoManageSubDaosFlowDetail-PSZ4L6JS.js").then((module) => ({ default: module.GovernanceDaoManageSubDaosFlowDetail }))
21702
21692
  );
21703
21693
  registerActionTypeUI("qi/governance.dao.manage-subdaos", {
21704
21694
  label: "Manage SubDAOs",
@@ -21714,7 +21704,7 @@ registerActionTypeUI("qi/governance.dao.manage-subdaos", {
21714
21704
  // src/mantine/blocks/action/actionTypes/governance/daoManageStorage/index.ts
21715
21705
  import { IconDatabase as IconDatabase3 } from "@tabler/icons-react";
21716
21706
  var GovernanceDaoManageStorageFlowDetail = lazyActionComponent(
21717
- () => import("./GovernanceDaoManageStorageFlowDetail-QWFCDZMJ.js").then((module) => ({ default: module.GovernanceDaoManageStorageFlowDetail }))
21707
+ () => import("./GovernanceDaoManageStorageFlowDetail-ATW44N2O.js").then((module) => ({ default: module.GovernanceDaoManageStorageFlowDetail }))
21718
21708
  );
21719
21709
  registerActionTypeUI("qi/governance.dao.manage-storage", {
21720
21710
  label: "Manage Storage Items",
@@ -21730,7 +21720,7 @@ registerActionTypeUI("qi/governance.dao.manage-storage", {
21730
21720
  // src/mantine/blocks/action/actionTypes/governance/daoAdminExec/index.ts
21731
21721
  import { IconShieldCog } from "@tabler/icons-react";
21732
21722
  var GovernanceDaoAdminExecFlowDetail = lazyActionComponent(
21733
- () => import("./GovernanceDaoAdminExecFlowDetail-N7NOFQ4Z.js").then((module) => ({ default: module.GovernanceDaoAdminExecFlowDetail }))
21723
+ () => import("./GovernanceDaoAdminExecFlowDetail-RST73GEG.js").then((module) => ({ default: module.GovernanceDaoAdminExecFlowDetail }))
21734
21724
  );
21735
21725
  registerActionTypeUI("qi/governance.dao.admin-exec", {
21736
21726
  label: "DAO Admin Execute",
@@ -21746,7 +21736,7 @@ registerActionTypeUI("qi/governance.dao.admin-exec", {
21746
21736
  // src/mantine/blocks/action/actionTypes/governance/daoAcceptToMarketplace/index.ts
21747
21737
  import { IconRosetteDiscountCheck } from "@tabler/icons-react";
21748
21738
  var GovernanceDaoAcceptToMarketplaceFlowDetail = lazyActionComponent(
21749
- () => import("./GovernanceDaoAcceptToMarketplaceFlowDetail-DJJWFWS6.js").then((module) => ({ default: module.GovernanceDaoAcceptToMarketplaceFlowDetail }))
21739
+ () => import("./GovernanceDaoAcceptToMarketplaceFlowDetail-NAGN66IN.js").then((module) => ({ default: module.GovernanceDaoAcceptToMarketplaceFlowDetail }))
21750
21740
  );
21751
21741
  registerActionTypeUI("qi/governance.dao.accept-to-marketplace", {
21752
21742
  label: "Accept to Marketplace",
@@ -21762,7 +21752,7 @@ registerActionTypeUI("qi/governance.dao.accept-to-marketplace", {
21762
21752
  // src/mantine/blocks/action/actionTypes/governance/daoCreateEntity/index.ts
21763
21753
  import { IconCubePlus } from "@tabler/icons-react";
21764
21754
  var GovernanceDaoCreateEntityFlowDetail = lazyActionComponent(
21765
- () => import("./GovernanceDaoCreateEntityFlowDetail-PSWK7BXP.js").then((module) => ({ default: module.GovernanceDaoCreateEntityFlowDetail }))
21755
+ () => import("./GovernanceDaoCreateEntityFlowDetail-3ZU4M6XB.js").then((module) => ({ default: module.GovernanceDaoCreateEntityFlowDetail }))
21766
21756
  );
21767
21757
  registerActionTypeUI("qi/governance.dao.create-entity", {
21768
21758
  label: "Create Entity",
@@ -21780,8 +21770,8 @@ import { IconArrowUpCircle as IconArrowUpCircle2 } from "@tabler/icons-react";
21780
21770
 
21781
21771
  // src/mantine/blocks/action/actionTypes/governance/daoUpgrade/GovernanceDaoUpgradeFlowDetail.tsx
21782
21772
  import React201, { useCallback as useCallback74, useEffect as useEffect75, useMemo as useMemo91, useState as useState88 } from "react";
21783
- import { Alert as Alert28, Badge as Badge37, Button as Button35, Card as Card15, Checkbox as Checkbox7, Group as Group75, Loader as Loader33, Stack as Stack125, Table, Text as Text126 } from "@mantine/core";
21784
- import { IconAlertCircle as IconAlertCircle17, IconAlertTriangle as IconAlertTriangle5, IconArrowUpCircle, IconInfoCircle as IconInfoCircle5, IconShieldCheck as IconShieldCheck14 } from "@tabler/icons-react";
21773
+ import { Alert as Alert28, Badge as Badge37, Button as Button35, Card as Card15, Checkbox as Checkbox7, Group as Group74, Loader as Loader33, Stack as Stack124, Table, Text as Text126 } from "@mantine/core";
21774
+ import { IconAlertCircle as IconAlertCircle17, IconAlertTriangle as IconAlertTriangle5, IconArrowUpCircle, IconInfoCircle as IconInfoCircle5, IconShieldCheck as IconShieldCheck13 } from "@tabler/icons-react";
21785
21775
  var MODULE_LABELS = {
21786
21776
  core: "DAO core",
21787
21777
  proposal: "Proposal module",
@@ -21811,7 +21801,7 @@ var VersionTable = ({ plan }) => {
21811
21801
  var StepList = ({ plan, skipCoreMigration }) => {
21812
21802
  const { coreStep, proposalStep } = plan.messages;
21813
21803
  let step = 0;
21814
- return /* @__PURE__ */ React201.createElement(Stack125, { gap: "xs" }, coreStep && /* @__PURE__ */ React201.createElement(Card15, { padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm", fw: 600 }, "Step ", ++step, " \u2014 migrate the DAO core (code ", coreStep.fromCodeId ?? "?", " \u2192 ", coreStep.toCodeId, ")"), /* @__PURE__ */ React201.createElement(Text126, { size: "xs", c: "dimmed" }, skipCoreMigration ? "Skipped on request \u2014 the core stays at its current version." : plan.canSignCore ? `Signed directly by your wallet ${shortAddress(plan.walletAddress || "")}, which created this POD and administers its core contract.` : coreStep.adminAddress ? `Must be signed by the core's admin ${coreStep.adminAddress}. Your wallet cannot sign it; this run only proposes the module migrations.` : "The core has no wasm admin, so it can never be migrated. This run only proposes the module migrations.")), proposalStep && /* @__PURE__ */ React201.createElement(Card15, { padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm", fw: 600 }, "Step ", ++step, " \u2014 POD proposal upgrading ", proposalStep.items.filter((item) => item.kind !== "remove-hook").length, " module", proposalStep.items.filter((item) => item.kind !== "remove-hook").length === 1 ? "" : "s"), /* @__PURE__ */ React201.createElement(Text126, { size: "xs", c: "dimmed" }, "You sign the proposal; the POD votes, and the migrations execute as the core once it passes."), /* @__PURE__ */ React201.createElement(Stack125, { gap: 2, mt: 6 }, proposalStep.items.map((item, index) => /* @__PURE__ */ React201.createElement(Text126, { key: `${item.kind}-${item.address}-${index}`, size: "xs" }, index + 1, ".", " ", item.kind === "remove-hook" ? `Remove the legacy voting-module hook from the membership group ${shortAddress(item.address)}` : item.kind === "swap" ? `Replace ${item.contract} ${shortAddress(item.address)} v${item.fromVersion} with a fresh v${item.toVersion} module (code ${item.toCodeId}), keeping its deposit settings and who may propose` : `Migrate ${item.contract} ${shortAddress(item.address)} v${item.fromVersion} \u2192 v${item.toVersion} (code ${item.toCodeId})`)))));
21804
+ return /* @__PURE__ */ React201.createElement(Stack124, { gap: "xs" }, coreStep && /* @__PURE__ */ React201.createElement(Card15, { padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm", fw: 600 }, "Step ", ++step, " \u2014 migrate the DAO core (code ", coreStep.fromCodeId ?? "?", " \u2192 ", coreStep.toCodeId, ")"), /* @__PURE__ */ React201.createElement(Text126, { size: "xs", c: "dimmed" }, skipCoreMigration ? "Skipped on request \u2014 the core stays at its current version." : plan.canSignCore ? `Signed directly by your wallet ${shortAddress(plan.walletAddress || "")}, which created this POD and administers its core contract.` : coreStep.adminAddress ? `Must be signed by the core's admin ${coreStep.adminAddress}. Your wallet cannot sign it; this run only proposes the module migrations.` : "The core has no wasm admin, so it can never be migrated. This run only proposes the module migrations.")), proposalStep && /* @__PURE__ */ React201.createElement(Card15, { padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm", fw: 600 }, "Step ", ++step, " \u2014 POD proposal upgrading ", proposalStep.items.filter((item) => item.kind !== "remove-hook").length, " module", proposalStep.items.filter((item) => item.kind !== "remove-hook").length === 1 ? "" : "s"), /* @__PURE__ */ React201.createElement(Text126, { size: "xs", c: "dimmed" }, "You sign the proposal; the POD votes, and the migrations execute as the core once it passes."), /* @__PURE__ */ React201.createElement(Stack124, { gap: 2, mt: 6 }, proposalStep.items.map((item, index) => /* @__PURE__ */ React201.createElement(Text126, { key: `${item.kind}-${item.address}-${index}`, size: "xs" }, index + 1, ".", " ", item.kind === "remove-hook" ? `Remove the legacy voting-module hook from the membership group ${shortAddress(item.address)}` : item.kind === "swap" ? `Replace ${item.contract} ${shortAddress(item.address)} v${item.fromVersion} with a fresh v${item.toVersion} module (code ${item.toCodeId}), keeping its deposit settings and who may propose` : `Migrate ${item.contract} ${shortAddress(item.address)} v${item.fromVersion} \u2192 v${item.toVersion} (code ${item.toCodeId})`)))));
21815
21805
  };
21816
21806
  var GovernanceDaoUpgradeFlowDetail = (props) => {
21817
21807
  const { inputs, editor, block: block2, runtime, updateRuntime, isDisabled, executeAction } = props;
@@ -21888,18 +21878,18 @@ var GovernanceDaoUpgradeFlowDetail = (props) => {
21888
21878
  }, [executeAction, canRun, submitting, coreAddress, migrateVotingModule, skipCoreMigration, title, description]);
21889
21879
  if (!coreAddress) {
21890
21880
  if (resolvingCore) {
21891
- return /* @__PURE__ */ React201.createElement(Group75, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React201.createElement(Loader33, { size: "xs" }), /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "Detecting this domain's POD\u2026"));
21881
+ return /* @__PURE__ */ React201.createElement(Group74, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React201.createElement(Loader33, { size: "xs" }), /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "Detecting this domain's POD\u2026"));
21892
21882
  }
21893
21883
  return /* @__PURE__ */ React201.createElement(Alert28, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
21894
21884
  }
21895
21885
  if (isAwaitingProposal) {
21896
- return /* @__PURE__ */ React201.createElement(Stack125, { gap: "sm" }, /* @__PURE__ */ React201.createElement(Card15, { padding: "md", radius: "md", withBorder: true }, /* @__PURE__ */ React201.createElement(Text126, { fw: 500, size: "sm" }, "Upgrade proposal #", proposalId, " is open"), /* @__PURE__ */ React201.createElement(Text126, { size: "sm", c: "dimmed" }, runtime.output?.coreMigrated === "true" ? "The DAO core has been migrated. " : "", "The module migrations (", String(runtime.output?.migratedModules || ""), ") execute once the POD approves the proposal.")), /* @__PURE__ */ React201.createElement(GroupProposalStatus, { editor, block: block2, runtime }));
21886
+ return /* @__PURE__ */ React201.createElement(Stack124, { gap: "sm" }, /* @__PURE__ */ React201.createElement(Card15, { padding: "md", radius: "md", withBorder: true }, /* @__PURE__ */ React201.createElement(Text126, { fw: 500, size: "sm" }, "Upgrade proposal #", proposalId, " is open"), /* @__PURE__ */ React201.createElement(Text126, { size: "sm", c: "dimmed" }, runtime.output?.coreMigrated === "true" ? "The DAO core has been migrated. " : "", "The module migrations (", String(runtime.output?.migratedModules || ""), ") execute once the POD approves the proposal.")), /* @__PURE__ */ React201.createElement(GroupProposalStatus, { editor, block: block2, runtime }));
21897
21887
  }
21898
21888
  if (isDone) {
21899
21889
  const copy = runStatus === "up-to-date" ? `Every contract of this POD is already at DAO DAO v${String(runtime.output?.targetVersion || "")}. Nothing to upgrade.` : runStatus === "core-migrated" ? `The DAO core was migrated (tx ${String(runtime.output?.coreTransactionHash || "")}). No module migration was needed.` : `Proposal #${proposalId} executed: ${String(runtime.output?.migratedModules || "the governance modules")} now run DAO DAO v${String(runtime.output?.targetVersion || "")}.${runtime.output?.coreMigrated === "true" ? " The DAO core was migrated in the same run." : ""}`;
21900
21890
  return /* @__PURE__ */ React201.createElement(Card15, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React201.createElement(Text126, { fw: 500, size: "sm", c: "green" }, runStatus === "up-to-date" ? "Already up to date" : "DAO upgrade complete"), /* @__PURE__ */ React201.createElement(Text126, { size: "sm", c: "dimmed" }, copy), runtime.output?.skippedModules ? /* @__PURE__ */ React201.createElement(Text126, { size: "xs", c: "dimmed", mt: 4 }, "Left unchanged: ", String(runtime.output.skippedModules)) : null);
21901
21891
  }
21902
- return /* @__PURE__ */ React201.createElement(Stack125, { gap: "md" }, /* @__PURE__ */ React201.createElement(Stack125, { gap: "sm" }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm", c: "dimmed" }, block2?.props?.description || "Migrate this POD's governance contracts to the current DAO DAO generation. Modules already up to date are left alone."), /* @__PURE__ */ React201.createElement(Group75, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React201.createElement(IconArrowUpCircle, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React201.createElement(Text126, { size: "sm", fw: 600, c: "dimmed" }, "Contract upgrade"))), loadingPlan && /* @__PURE__ */ React201.createElement(Group75, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React201.createElement(Loader33, { size: "xs" }), /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "Checking the POD's contract versions\u2026")), isStale && /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconAlertTriangle5, { size: 16 }), color: "yellow", title: "Inconsistent state", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Stack125, { gap: "xs" }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "This block is marked completed but recorded no upgrade status. Reset it and run the upgrade again."), /* @__PURE__ */ React201.createElement(Group75, null, /* @__PURE__ */ React201.createElement(Button35, { size: "xs", variant: "light", onClick: () => updateRuntime({ state: "idle", error: void 0, output: {} }), disabled: isDisabled }, "Reset")))), planError && /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconAlertCircle17, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, planError)), plan && !loadingPlan && /* @__PURE__ */ React201.createElement(React201.Fragment, null, /* @__PURE__ */ React201.createElement(VersionTable, { plan }), plan.isUpToDate ? /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconInfoCircle5, { size: 16 }), color: "blue", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "Every contract is already at v", plan.targetVersion, ". Running this block records that and does nothing on-chain.")) : /* @__PURE__ */ React201.createElement(StepList, { plan, skipCoreMigration }), plan.issues.map((issue, index) => /* @__PURE__ */ React201.createElement(Alert28, { key: `${issue.code}-${index}`, icon: ISSUE_PRESENTATION[issue.severity].icon, color: ISSUE_PRESENTATION[issue.severity].color, styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, issue.message))), !plan.isUpToDate && /* @__PURE__ */ React201.createElement(Stack125, { gap: "xs" }, plan.version.voting && plan.version.voting.version && plan.version.voting.version !== plan.targetVersion && /* @__PURE__ */ React201.createElement(
21892
+ return /* @__PURE__ */ React201.createElement(Stack124, { gap: "md" }, /* @__PURE__ */ React201.createElement(Stack124, { gap: "sm" }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm", c: "dimmed" }, block2?.props?.description || "Migrate this POD's governance contracts to the current DAO DAO generation. Modules already up to date are left alone."), /* @__PURE__ */ React201.createElement(Group74, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React201.createElement(IconArrowUpCircle, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React201.createElement(Text126, { size: "sm", fw: 600, c: "dimmed" }, "Contract upgrade"))), loadingPlan && /* @__PURE__ */ React201.createElement(Group74, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React201.createElement(Loader33, { size: "xs" }), /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "Checking the POD's contract versions\u2026")), isStale && /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconAlertTriangle5, { size: 16 }), color: "yellow", title: "Inconsistent state", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Stack124, { gap: "xs" }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "This block is marked completed but recorded no upgrade status. Reset it and run the upgrade again."), /* @__PURE__ */ React201.createElement(Group74, null, /* @__PURE__ */ React201.createElement(Button35, { size: "xs", variant: "light", onClick: () => updateRuntime({ state: "idle", error: void 0, output: {} }), disabled: isDisabled }, "Reset")))), planError && /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconAlertCircle17, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, planError)), plan && !loadingPlan && /* @__PURE__ */ React201.createElement(React201.Fragment, null, /* @__PURE__ */ React201.createElement(VersionTable, { plan }), plan.isUpToDate ? /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconInfoCircle5, { size: 16 }), color: "blue", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, "Every contract is already at v", plan.targetVersion, ". Running this block records that and does nothing on-chain.")) : /* @__PURE__ */ React201.createElement(StepList, { plan, skipCoreMigration }), plan.issues.map((issue, index) => /* @__PURE__ */ React201.createElement(Alert28, { key: `${issue.code}-${index}`, icon: ISSUE_PRESENTATION[issue.severity].icon, color: ISSUE_PRESENTATION[issue.severity].color, styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, issue.message))), !plan.isUpToDate && /* @__PURE__ */ React201.createElement(Stack124, { gap: "xs" }, plan.version.voting && plan.version.voting.version && plan.version.voting.version !== plan.targetVersion && /* @__PURE__ */ React201.createElement(
21903
21893
  Checkbox7,
21904
21894
  {
21905
21895
  size: "sm",
@@ -21921,7 +21911,7 @@ var GovernanceDaoUpgradeFlowDetail = (props) => {
21921
21911
  )), willPropose && !plan.isUpToDate && /* @__PURE__ */ React201.createElement(ProposalMetadataFields, { title, description, onTitleChange: setTitle, onDescriptionChange: setDescription, isDisabled })), error && /* @__PURE__ */ React201.createElement(Alert28, { icon: /* @__PURE__ */ React201.createElement(IconAlertCircle17, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, error)), runtime.error?.message && !error && /* @__PURE__ */ React201.createElement(Alert28, { color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React201.createElement(Text126, { size: "sm" }, runtime.error.message)), /* @__PURE__ */ React201.createElement(
21922
21912
  Button35,
21923
21913
  {
21924
- leftSection: submitting ? /* @__PURE__ */ React201.createElement(Loader33, { size: 14 }) : /* @__PURE__ */ React201.createElement(IconShieldCheck14, { size: 14 }),
21914
+ leftSection: submitting ? /* @__PURE__ */ React201.createElement(Loader33, { size: 14 }) : /* @__PURE__ */ React201.createElement(IconShieldCheck13, { size: 14 }),
21925
21915
  onClick: handleRun,
21926
21916
  disabled: isDisabled || !plan || loadingPlan || submitting || !canRun && !plan?.isUpToDate,
21927
21917
  loading: submitting
@@ -21947,7 +21937,7 @@ import { IconShieldX as IconShieldX2 } from "@tabler/icons-react";
21947
21937
 
21948
21938
  // src/mantine/blocks/action/actionTypes/governance/veto/GovernanceVetoFlowDetail.tsx
21949
21939
  import React202, { useCallback as useCallback75, useEffect as useEffect76, useMemo as useMemo92, useState as useState89 } from "react";
21950
- import { Alert as Alert29, Button as Button36, Card as Card16, Group as Group76, Loader as Loader34, NumberInput as NumberInput2, Stack as Stack126, Text as Text127 } from "@mantine/core";
21940
+ import { Alert as Alert29, Button as Button36, Card as Card16, Group as Group75, Loader as Loader34, NumberInput as NumberInput2, Stack as Stack125, Text as Text127 } from "@mantine/core";
21951
21941
  import { IconAlertCircle as IconAlertCircle18, IconShieldX } from "@tabler/icons-react";
21952
21942
  var GovernanceVetoFlowDetail = (props) => {
21953
21943
  const { inputs, editor, block: block2, runtime, isDisabled, executeAction } = props;
@@ -22014,14 +22004,14 @@ var GovernanceVetoFlowDetail = (props) => {
22014
22004
  }, [executeAction, canSign, submitting, coreAddress, proposalId]);
22015
22005
  if (!coreAddress) {
22016
22006
  if (resolvingCore) {
22017
- return /* @__PURE__ */ React202.createElement(Group76, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React202.createElement(Loader34, { size: "xs" }), /* @__PURE__ */ React202.createElement(Text127, { size: "sm" }, "Detecting this domain's POD\u2026"));
22007
+ return /* @__PURE__ */ React202.createElement(Group75, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React202.createElement(Loader34, { size: "xs" }), /* @__PURE__ */ React202.createElement(Text127, { size: "sm" }, "Detecting this domain's POD\u2026"));
22018
22008
  }
22019
22009
  return /* @__PURE__ */ React202.createElement(Alert29, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
22020
22010
  }
22021
22011
  if (isDone) {
22022
22012
  return /* @__PURE__ */ React202.createElement(Card16, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React202.createElement(Text127, { fw: 500, size: "sm", c: "green" }, "Proposal vetoed"), /* @__PURE__ */ React202.createElement(Text127, { size: "sm", c: "dimmed" }, "Proposal #", String(runtime.output?.proposalId || ""), " was vetoed (tx ", transactionHash, ")."));
22023
22013
  }
22024
- return /* @__PURE__ */ React202.createElement(Stack126, { gap: "md" }, /* @__PURE__ */ React202.createElement(Stack126, { gap: "sm" }, /* @__PURE__ */ React202.createElement(Text127, { size: "sm", c: "dimmed" }, block2?.props?.description || "Cancel a passed proposal during its veto window. Only the POD's configured vetoer can sign this."), /* @__PURE__ */ React202.createElement(Group76, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React202.createElement(IconShieldX, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React202.createElement(Text127, { size: "sm", fw: 600, c: "dimmed" }, "Veto"))), governance && !vetoSupported && /* @__PURE__ */ React202.createElement(Alert29, { icon: /* @__PURE__ */ React202.createElement(IconAlertCircle18, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React202.createElement(Text127, { size: "sm" }, "This POD's proposal module runs DAO DAO v", governance.proposalModuleVersion ?? "unknown", "; veto needs v", PROPOSAL_VETO_FROM, " or later. Use the Upgrade DAO Contracts block first.")), governance && vetoSupported && !vetoConfig && /* @__PURE__ */ React202.createElement(Alert29, { icon: /* @__PURE__ */ React202.createElement(IconAlertCircle18, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React202.createElement(Text127, { size: "sm" }, "This POD has no veto configured \u2014 set one with the Governance Settings block.")), vetoConfig && /* @__PURE__ */ React202.createElement(Text127, { size: "xs", c: "dimmed" }, "Vetoer: ", vetoConfig.vetoer, walletAddress && !isVetoer ? " \u2014 not your connected wallet, the contract will reject the veto." : ""), /* @__PURE__ */ React202.createElement(
22014
+ return /* @__PURE__ */ React202.createElement(Stack125, { gap: "md" }, /* @__PURE__ */ React202.createElement(Stack125, { gap: "sm" }, /* @__PURE__ */ React202.createElement(Text127, { size: "sm", c: "dimmed" }, block2?.props?.description || "Cancel a passed proposal during its veto window. Only the POD's configured vetoer can sign this."), /* @__PURE__ */ React202.createElement(Group75, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React202.createElement(IconShieldX, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React202.createElement(Text127, { size: "sm", fw: 600, c: "dimmed" }, "Veto"))), governance && !vetoSupported && /* @__PURE__ */ React202.createElement(Alert29, { icon: /* @__PURE__ */ React202.createElement(IconAlertCircle18, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React202.createElement(Text127, { size: "sm" }, "This POD's proposal module runs DAO DAO v", governance.proposalModuleVersion ?? "unknown", "; veto needs v", PROPOSAL_VETO_FROM, " or later. Use the Upgrade DAO Contracts block first.")), governance && vetoSupported && !vetoConfig && /* @__PURE__ */ React202.createElement(Alert29, { icon: /* @__PURE__ */ React202.createElement(IconAlertCircle18, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React202.createElement(Text127, { size: "sm" }, "This POD has no veto configured \u2014 set one with the Governance Settings block.")), vetoConfig && /* @__PURE__ */ React202.createElement(Text127, { size: "xs", c: "dimmed" }, "Vetoer: ", vetoConfig.vetoer, walletAddress && !isVetoer ? " \u2014 not your connected wallet, the contract will reject the veto." : ""), /* @__PURE__ */ React202.createElement(
22025
22015
  NumberInput2,
22026
22016
  {
22027
22017
  size: "sm",
@@ -22125,7 +22115,7 @@ import { IconPlayerPlay as IconPlayerPlay4 } from "@tabler/icons-react";
22125
22115
 
22126
22116
  // src/mantine/blocks/action/actionTypes/governance/daoUnpause/GovernanceDaoUnpauseFlowDetail.tsx
22127
22117
  import React204, { useCallback as useCallback76, useEffect as useEffect78, useMemo as useMemo94, useState as useState91 } from "react";
22128
- import { Alert as Alert31, Button as Button37, Card as Card17, Group as Group77, Loader as Loader35, Stack as Stack127, Text as Text129 } from "@mantine/core";
22118
+ import { Alert as Alert31, Button as Button37, Card as Card17, Group as Group76, Loader as Loader35, Stack as Stack126, Text as Text129 } from "@mantine/core";
22129
22119
  import { IconAlertCircle as IconAlertCircle19, IconPlayerPlay as IconPlayerPlay3 } from "@tabler/icons-react";
22130
22120
  var expirationText = (expiration) => {
22131
22121
  const e = expiration;
@@ -22185,14 +22175,14 @@ var GovernanceDaoUnpauseFlowDetail = (props) => {
22185
22175
  }, [executeAction, canSign, submitting, coreAddress]);
22186
22176
  if (!coreAddress) {
22187
22177
  if (resolvingCore) {
22188
- return /* @__PURE__ */ React204.createElement(Group77, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React204.createElement(Loader35, { size: "xs" }), /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "Detecting this domain's POD\u2026"));
22178
+ return /* @__PURE__ */ React204.createElement(Group76, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React204.createElement(Loader35, { size: "xs" }), /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "Detecting this domain's POD\u2026"));
22189
22179
  }
22190
22180
  return /* @__PURE__ */ React204.createElement(Alert31, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
22191
22181
  }
22192
22182
  if (isDone) {
22193
22183
  return /* @__PURE__ */ React204.createElement(Card17, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React204.createElement(Text129, { fw: 500, size: "sm", c: "green" }, "Group unpaused"), /* @__PURE__ */ React204.createElement(Text129, { size: "sm", c: "dimmed" }, coreAddress, " is active again (tx ", transactionHash, ")."));
22194
22184
  }
22195
- return /* @__PURE__ */ React204.createElement(Stack127, { gap: "md" }, /* @__PURE__ */ React204.createElement(Stack127, { gap: "sm" }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm", c: "dimmed" }, block2?.props?.description || "End this group's pause early. Only the group's admin can sign this."), /* @__PURE__ */ React204.createElement(Group77, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React204.createElement(IconPlayerPlay3, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React204.createElement(Text129, { size: "sm", fw: 600, c: "dimmed" }, "Unpause"))), governance && !paused && /* @__PURE__ */ React204.createElement(Alert31, { color: "gray", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "This group is not paused.")), governance && paused && /* @__PURE__ */ React204.createElement(Text129, { size: "xs", c: "dimmed" }, "Paused until ", expirationText(governance.pauseInfo && governance.pauseInfo.paused ? governance.pauseInfo.expiration : null), "."), governance && paused && !supported && /* @__PURE__ */ React204.createElement(Alert31, { icon: /* @__PURE__ */ React204.createElement(IconAlertCircle19, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "This core runs DAO DAO v", governance.coreVersion ?? "unknown", "; unpause needs v", CORE_UNPAUSE_FROM, " or later. The pause ends on its own at the time above.")), governance && paused && supported && selfAdministered && /* @__PURE__ */ React204.createElement(Alert31, { icon: /* @__PURE__ */ React204.createElement(IconAlertCircle19, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "This group administers itself, so nobody can unpause it early \u2014 the pause ends on its own at the time above.")), governance?.coreAdmin && !selfAdministered && /* @__PURE__ */ React204.createElement(Text129, { size: "xs", c: "dimmed" }, "Admin: ", governance.coreAdmin, walletAddress && !isAdmin ? " \u2014 not your connected wallet, the contract will reject the unpause." : ""), error && /* @__PURE__ */ React204.createElement(Alert31, { icon: /* @__PURE__ */ React204.createElement(IconAlertCircle19, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, error)), runtime.error?.message && !error && /* @__PURE__ */ React204.createElement(Alert31, { color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, runtime.error.message)), /* @__PURE__ */ React204.createElement(
22185
+ return /* @__PURE__ */ React204.createElement(Stack126, { gap: "md" }, /* @__PURE__ */ React204.createElement(Stack126, { gap: "sm" }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm", c: "dimmed" }, block2?.props?.description || "End this group's pause early. Only the group's admin can sign this."), /* @__PURE__ */ React204.createElement(Group76, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React204.createElement(IconPlayerPlay3, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React204.createElement(Text129, { size: "sm", fw: 600, c: "dimmed" }, "Unpause"))), governance && !paused && /* @__PURE__ */ React204.createElement(Alert31, { color: "gray", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "This group is not paused.")), governance && paused && /* @__PURE__ */ React204.createElement(Text129, { size: "xs", c: "dimmed" }, "Paused until ", expirationText(governance.pauseInfo && governance.pauseInfo.paused ? governance.pauseInfo.expiration : null), "."), governance && paused && !supported && /* @__PURE__ */ React204.createElement(Alert31, { icon: /* @__PURE__ */ React204.createElement(IconAlertCircle19, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "This core runs DAO DAO v", governance.coreVersion ?? "unknown", "; unpause needs v", CORE_UNPAUSE_FROM, " or later. The pause ends on its own at the time above.")), governance && paused && supported && selfAdministered && /* @__PURE__ */ React204.createElement(Alert31, { icon: /* @__PURE__ */ React204.createElement(IconAlertCircle19, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, "This group administers itself, so nobody can unpause it early \u2014 the pause ends on its own at the time above.")), governance?.coreAdmin && !selfAdministered && /* @__PURE__ */ React204.createElement(Text129, { size: "xs", c: "dimmed" }, "Admin: ", governance.coreAdmin, walletAddress && !isAdmin ? " \u2014 not your connected wallet, the contract will reject the unpause." : ""), error && /* @__PURE__ */ React204.createElement(Alert31, { icon: /* @__PURE__ */ React204.createElement(IconAlertCircle19, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, error)), runtime.error?.message && !error && /* @__PURE__ */ React204.createElement(Alert31, { color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React204.createElement(Text129, { size: "sm" }, runtime.error.message)), /* @__PURE__ */ React204.createElement(
22196
22186
  Button37,
22197
22187
  {
22198
22188
  leftSection: submitting ? /* @__PURE__ */ React204.createElement(Loader35, { size: 14 }) : /* @__PURE__ */ React204.createElement(IconPlayerPlay3, { size: 14 }),
@@ -22221,7 +22211,7 @@ import { IconLock as IconLock2 } from "@tabler/icons-react";
22221
22211
 
22222
22212
  // src/mantine/blocks/action/actionTypes/governance/nftActiveThreshold/GovernanceNftActiveThresholdFlowDetail.tsx
22223
22213
  import React205, { useEffect as useEffect79, useMemo as useMemo95, useState as useState92 } from "react";
22224
- import { Alert as Alert32, NumberInput as NumberInput4, SegmentedControl as SegmentedControl6, Stack as Stack128, Text as Text130 } from "@mantine/core";
22214
+ import { Alert as Alert32, NumberInput as NumberInput4, SegmentedControl as SegmentedControl6, Stack as Stack127, Text as Text130 } from "@mantine/core";
22225
22215
  import { IconAlertTriangle as IconAlertTriangle7, IconLock } from "@tabler/icons-react";
22226
22216
  var STAKING_MODULES = /* @__PURE__ */ new Set(["dao_voting_cw721_staked", "dao_voting_cw20_staked", "dao_voting_native_staked"]);
22227
22217
  var describe = (t) => !t ? "none \u2014 always active" : t.absolute_count ? `${t.absolute_count.count} staked` : `${(Number(t.percentage?.percent ?? 0) * 100).toFixed(2).replace(/\.?0+$/, "")}% of the collection staked`;
@@ -22278,7 +22268,7 @@ var GovernanceNftActiveThresholdFlowDetail = (props) => {
22278
22268
  module && !isStaking && /* @__PURE__ */ React205.createElement(Alert32, { icon: /* @__PURE__ */ React205.createElement(IconAlertTriangle7, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React205.createElement(Text130, { size: "sm" }, "This is a member-list group \u2014 it is always active and has no threshold to set.")),
22279
22269
  legacyNft && /* @__PURE__ */ React205.createElement(Alert32, { icon: /* @__PURE__ */ React205.createElement(IconAlertTriangle7, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React205.createElement(Text130, { size: "sm" }, "This group's NFT voting module runs DAO DAO v", module?.version ?? "unknown", "; an active threshold needs v", CW721_ACTIVE_THRESHOLD_FROM, " or later. Use the Upgrade DAO Contracts block first.")),
22280
22270
  module && isStaking && !legacyNft && /* @__PURE__ */ React205.createElement(Text130, { size: "xs", c: "dimmed" }, "Today: ", describe(module.activeThreshold), module.isActive === false ? " \u2014 the group is currently NOT active" : module.isActive === true ? " \u2014 the group is active" : "", module.totalPower ? ` (${module.totalPower} staked now)` : "", "."),
22281
- /* @__PURE__ */ React205.createElement(Stack128, { gap: "xs" }, /* @__PURE__ */ React205.createElement(Text130, { size: "sm", fw: 500 }, "Threshold"), /* @__PURE__ */ React205.createElement(
22271
+ /* @__PURE__ */ React205.createElement(Stack127, { gap: "xs" }, /* @__PURE__ */ React205.createElement(Text130, { size: "sm", fw: 500 }, "Threshold"), /* @__PURE__ */ React205.createElement(
22282
22272
  SegmentedControl6,
22283
22273
  {
22284
22274
  size: "sm",
@@ -22326,7 +22316,7 @@ import { IconUserShare as IconUserShare2, IconUsersGroup as IconUsersGroup5 } fr
22326
22316
 
22327
22317
  // src/mantine/blocks/action/actionTypes/governance/delegation/GovernanceDelegationFlowDetail.tsx
22328
22318
  import React206, { useCallback as useCallback77, useEffect as useEffect80, useMemo as useMemo96, useState as useState93 } from "react";
22329
- import { Alert as Alert33, Button as Button38, Card as Card18, Group as Group78, Loader as Loader36, NumberInput as NumberInput5, Stack as Stack129, Text as Text131 } from "@mantine/core";
22319
+ import { Alert as Alert33, Button as Button38, Card as Card18, Group as Group77, Loader as Loader36, NumberInput as NumberInput5, Stack as Stack128, Text as Text131 } from "@mantine/core";
22330
22320
  import { IconAlertCircle as IconAlertCircle20, IconUserShare } from "@tabler/icons-react";
22331
22321
  var LABELS = {
22332
22322
  "qi/governance.delegation.register": { verb: "Register as delegate", done: "Registered as a delegate" },
@@ -22382,7 +22372,7 @@ var GovernanceDelegationFlowDetail = (props) => {
22382
22372
  }, [executeAction, canSign, submitting, coreAddress, needsDelegate, needsPercent, delegate, percent]);
22383
22373
  if (!coreAddress) {
22384
22374
  if (resolvingCore) {
22385
- return /* @__PURE__ */ React206.createElement(Group78, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React206.createElement(Loader36, { size: "xs" }), /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, "Detecting this domain's POD\u2026"));
22375
+ return /* @__PURE__ */ React206.createElement(Group77, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React206.createElement(Loader36, { size: "xs" }), /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, "Detecting this domain's POD\u2026"));
22386
22376
  }
22387
22377
  return /* @__PURE__ */ React206.createElement(Alert33, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
22388
22378
  }
@@ -22390,7 +22380,17 @@ var GovernanceDelegationFlowDetail = (props) => {
22390
22380
  if (isDone) {
22391
22381
  return /* @__PURE__ */ React206.createElement(Card18, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React206.createElement(Text131, { fw: 500, size: "sm", c: "green" }, labels.done), /* @__PURE__ */ React206.createElement(Text131, { size: "sm", c: "dimmed" }, "tx ", transactionHash));
22392
22382
  }
22393
- return /* @__PURE__ */ React206.createElement(Stack129, { gap: "md" }, /* @__PURE__ */ React206.createElement(Stack129, { gap: "sm" }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm", c: "dimmed" }, block2?.props?.description || "Signed by your connected member wallet."), /* @__PURE__ */ React206.createElement(Group78, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React206.createElement(IconUserShare, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React206.createElement(Text131, { size: "sm", fw: 600, c: "dimmed" }, labels.verb))), noModule && /* @__PURE__ */ React206.createElement(Alert33, { icon: /* @__PURE__ */ React206.createElement(IconAlertCircle20, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, state?.module.reason ?? "This POD has no delegation module yet \u2014 a member must first pass the Enable Vote Delegation proposal.")), state?.myRegistration && /* @__PURE__ */ React206.createElement(Text131, { size: "xs", c: "dimmed" }, "You are ", state.myRegistration.registered ? "a registered delegate" : "not registered as a delegate", Number(state.myRegistration.power) > 0 ? ` with ${state.myRegistration.power} delegated to you` : "", "."), state && state.myDelegations.length > 0 && /* @__PURE__ */ React206.createElement(Text131, { size: "xs", c: "dimmed" }, "Your delegations: ", state.myDelegations.map((d) => `${toPercent(d.percent)} \u2192 ${d.delegate}${d.active ? "" : " (inactive)"}`).join("; ")), needsDelegate && state && state.delegates.length > 0 && /* @__PURE__ */ React206.createElement(Text131, { size: "xs", c: "dimmed" }, "Registered delegates: ", state.delegates.map((d) => `${d.delegate} (${d.power})`).join(", ")), needsDelegate && /* @__PURE__ */ React206.createElement(BaseTextInput, { label: "Delegate", description: "Address or DID of a registered delegate", value: delegate, onChange: (e) => setDelegate(e.currentTarget.value), disabled: isDisabled, size: "sm" }), needsPercent && /* @__PURE__ */ React206.createElement(
22383
+ return /* @__PURE__ */ React206.createElement(Stack128, { gap: "md" }, /* @__PURE__ */ React206.createElement(Stack128, { gap: "sm" }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm", c: "dimmed" }, block2?.props?.description || "Signed by your connected member wallet."), /* @__PURE__ */ React206.createElement(Group77, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React206.createElement(IconUserShare, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React206.createElement(Text131, { size: "sm", fw: 600, c: "dimmed" }, labels.verb))), noModule && /* @__PURE__ */ React206.createElement(Alert33, { icon: /* @__PURE__ */ React206.createElement(IconAlertCircle20, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, state?.module.reason ?? "This POD has no delegation module yet \u2014 a member must first pass the Enable Vote Delegation proposal.")), state?.myRegistration && /* @__PURE__ */ React206.createElement(Text131, { size: "xs", c: "dimmed" }, "You are ", state.myRegistration.registered ? "a registered delegate" : "not registered as a delegate", Number(state.myRegistration.power) > 0 ? ` with ${state.myRegistration.power} delegated to you` : "", "."), state && state.myDelegations.length > 0 && /* @__PURE__ */ React206.createElement(Text131, { size: "xs", c: "dimmed" }, "Your delegations: ", state.myDelegations.map((d) => `${toPercent(d.percent)} \u2192 ${d.delegate}${d.active ? "" : " (inactive)"}`).join("; ")), needsDelegate && state && state.delegates.length > 0 && /* @__PURE__ */ React206.createElement(Text131, { size: "xs", c: "dimmed" }, "Registered delegates: ", state.delegates.map((d) => `${d.delegate} (${d.power})`).join(", ")), needsDelegate && /* @__PURE__ */ React206.createElement(
22384
+ BaseTextInput,
22385
+ {
22386
+ label: "Delegate",
22387
+ description: "Address or DID of a registered delegate",
22388
+ value: delegate,
22389
+ onChange: (e) => setDelegate(e.currentTarget.value),
22390
+ disabled: isDisabled,
22391
+ size: "sm"
22392
+ }
22393
+ ), needsPercent && /* @__PURE__ */ React206.createElement(
22394
22394
  NumberInput5,
22395
22395
  {
22396
22396
  size: "sm",
@@ -22403,7 +22403,17 @@ var GovernanceDelegationFlowDetail = (props) => {
22403
22403
  hideControls: true,
22404
22404
  disabled: isDisabled
22405
22405
  }
22406
- ), error && /* @__PURE__ */ React206.createElement(Alert33, { icon: /* @__PURE__ */ React206.createElement(IconAlertCircle20, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, error)), runtime.error?.message && !error && /* @__PURE__ */ React206.createElement(Alert33, { color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, runtime.error.message)), /* @__PURE__ */ React206.createElement(Button38, { leftSection: submitting ? /* @__PURE__ */ React206.createElement(Loader36, { size: 14 }) : /* @__PURE__ */ React206.createElement(IconUserShare, { size: 14 }), onClick: handleSign, disabled: isDisabled || !canSign || submitting, loading: submitting }, "Sign & ", labels.verb.toLowerCase()));
22406
+ ), error && /* @__PURE__ */ React206.createElement(Alert33, { icon: /* @__PURE__ */ React206.createElement(IconAlertCircle20, { size: 16 }), color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, error)), runtime.error?.message && !error && /* @__PURE__ */ React206.createElement(Alert33, { color: "red", styles: actionAlertStyles }, /* @__PURE__ */ React206.createElement(Text131, { size: "sm" }, runtime.error.message)), /* @__PURE__ */ React206.createElement(
22407
+ Button38,
22408
+ {
22409
+ leftSection: submitting ? /* @__PURE__ */ React206.createElement(Loader36, { size: 14 }) : /* @__PURE__ */ React206.createElement(IconUserShare, { size: 14 }),
22410
+ onClick: handleSign,
22411
+ disabled: isDisabled || !canSign || submitting,
22412
+ loading: submitting
22413
+ },
22414
+ "Sign & ",
22415
+ labels.verb.toLowerCase()
22416
+ ));
22407
22417
  };
22408
22418
 
22409
22419
  // src/mantine/blocks/action/actionTypes/governance/delegation/GovernanceDelegationSetupFlowDetail.tsx
@@ -22509,10 +22519,30 @@ registerActionTypeUI("qi/governance.delegation.setup", {
22509
22519
  flowDetailComponent: GovernanceDelegationSetupFlowDetail
22510
22520
  });
22511
22521
  var DIRECT = [
22512
- { type: "qi/governance.delegation.register", label: "Register as Delegate", description: "Become a delegate other members can delegate voting power to", note: "Signed by the connected member wallet \u2014 not a proposal." },
22513
- { type: "qi/governance.delegation.unregister", label: "Unregister as Delegate", description: "Stop being a delegate", note: "Signed by the connected member wallet \u2014 not a proposal. Existing delegations to you stop counting." },
22514
- { type: "qi/governance.delegation.delegate", label: "Delegate Voting Power", description: "Delegate a share of your voting power to a registered delegate", note: "Signed by the connected member wallet. You can still vote yourself \u2014 your own vote overrides the delegate for that proposal." },
22515
- { type: "qi/governance.delegation.undelegate", label: "Withdraw Delegation", description: "Take back voting power you delegated", note: "Signed by the connected member wallet \u2014 not a proposal." }
22522
+ {
22523
+ type: "qi/governance.delegation.register",
22524
+ label: "Register as Delegate",
22525
+ description: "Become a delegate other members can delegate voting power to",
22526
+ note: "Signed by the connected member wallet \u2014 not a proposal."
22527
+ },
22528
+ {
22529
+ type: "qi/governance.delegation.unregister",
22530
+ label: "Unregister as Delegate",
22531
+ description: "Stop being a delegate",
22532
+ note: "Signed by the connected member wallet \u2014 not a proposal. Existing delegations to you stop counting."
22533
+ },
22534
+ {
22535
+ type: "qi/governance.delegation.delegate",
22536
+ label: "Delegate Voting Power",
22537
+ description: "Delegate a share of your voting power to a registered delegate",
22538
+ note: "Signed by the connected member wallet. You can still vote yourself \u2014 your own vote overrides the delegate for that proposal."
22539
+ },
22540
+ {
22541
+ type: "qi/governance.delegation.undelegate",
22542
+ label: "Withdraw Delegation",
22543
+ description: "Take back voting power you delegated",
22544
+ note: "Signed by the connected member wallet \u2014 not a proposal."
22545
+ }
22516
22546
  ];
22517
22547
  for (const kind of DIRECT) {
22518
22548
  registerActionTypeUI(kind.type, {
@@ -22533,7 +22563,7 @@ import { IconCoins as IconCoins6 } from "@tabler/icons-react";
22533
22563
 
22534
22564
  // src/mantine/blocks/action/actionTypes/governance/rewards/GovernanceRewardsClaimFlowDetail.tsx
22535
22565
  import React209, { useCallback as useCallback78, useMemo as useMemo99, useState as useState96 } from "react";
22536
- import { Alert as Alert35, Button as Button39, Card as Card19, Group as Group79, Loader as Loader37, Stack as Stack130, Text as Text133 } from "@mantine/core";
22566
+ import { Alert as Alert35, Button as Button39, Card as Card19, Group as Group78, Loader as Loader37, Stack as Stack129, Text as Text133 } from "@mantine/core";
22537
22567
  import { IconAlertCircle as IconAlertCircle21, IconCoins as IconCoins3 } from "@tabler/icons-react";
22538
22568
 
22539
22569
  // src/mantine/blocks/action/actionTypes/governance/rewards/useRewardsState.ts
@@ -22597,14 +22627,14 @@ var GovernanceRewardsClaimFlowDetail = (props) => {
22597
22627
  }, [executeAction, canSign, submitting, coreAddress, distributionId]);
22598
22628
  if (!coreAddress) {
22599
22629
  if (resolvingCore) {
22600
- return /* @__PURE__ */ React209.createElement(Group79, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React209.createElement(Loader37, { size: "xs" }), /* @__PURE__ */ React209.createElement(Text133, { size: "sm" }, "Detecting this domain's POD\u2026"));
22630
+ return /* @__PURE__ */ React209.createElement(Group78, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React209.createElement(Loader37, { size: "xs" }), /* @__PURE__ */ React209.createElement(Text133, { size: "sm" }, "Detecting this domain's POD\u2026"));
22601
22631
  }
22602
22632
  return /* @__PURE__ */ React209.createElement(Alert35, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
22603
22633
  }
22604
22634
  if (isDone) {
22605
22635
  return /* @__PURE__ */ React209.createElement(Card19, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React209.createElement(Text133, { fw: 500, size: "sm", c: "green" }, "Rewards claimed"), /* @__PURE__ */ React209.createElement(Text133, { size: "sm", c: "dimmed" }, "Distribution #", String(runtime.output?.distributionId || ""), " (tx ", transactionHash, ")."));
22606
22636
  }
22607
- return /* @__PURE__ */ React209.createElement(Stack130, { gap: "md" }, /* @__PURE__ */ React209.createElement(Stack130, { gap: "sm" }, /* @__PURE__ */ React209.createElement(Text133, { size: "sm", c: "dimmed" }, block2?.props?.description || "Claim the rewards that have accrued to your voting power."), /* @__PURE__ */ React209.createElement(Group79, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React209.createElement(IconCoins3, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React209.createElement(Text133, { size: "sm", fw: 600, c: "dimmed" }, "Claim rewards"))), state && !state.distributorAddress && /* @__PURE__ */ React209.createElement(Alert35, { color: "gray", styles: actionAlertStyles }, /* @__PURE__ */ React209.createElement(Text133, { size: "sm" }, "This POD has no reward distributions.")), state?.distributorAddress && pendingOptions.length === 0 && /* @__PURE__ */ React209.createElement(Text133, { size: "xs", c: "dimmed" }, "Nothing pending for your wallet right now."), /* @__PURE__ */ React209.createElement(
22637
+ return /* @__PURE__ */ React209.createElement(Stack129, { gap: "md" }, /* @__PURE__ */ React209.createElement(Stack129, { gap: "sm" }, /* @__PURE__ */ React209.createElement(Text133, { size: "sm", c: "dimmed" }, block2?.props?.description || "Claim the rewards that have accrued to your voting power."), /* @__PURE__ */ React209.createElement(Group78, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React209.createElement(IconCoins3, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React209.createElement(Text133, { size: "sm", fw: 600, c: "dimmed" }, "Claim rewards"))), state && !state.distributorAddress && /* @__PURE__ */ React209.createElement(Alert35, { color: "gray", styles: actionAlertStyles }, /* @__PURE__ */ React209.createElement(Text133, { size: "sm" }, "This POD has no reward distributions.")), state?.distributorAddress && pendingOptions.length === 0 && /* @__PURE__ */ React209.createElement(Text133, { size: "xs", c: "dimmed" }, "Nothing pending for your wallet right now."), /* @__PURE__ */ React209.createElement(
22608
22638
  BaseSelect,
22609
22639
  {
22610
22640
  label: "Distribution",
@@ -22620,7 +22650,7 @@ var GovernanceRewardsClaimFlowDetail = (props) => {
22620
22650
 
22621
22651
  // src/mantine/blocks/action/actionTypes/governance/rewards/GovernanceRewardsCreateFlowDetail.tsx
22622
22652
  import React210, { useMemo as useMemo100, useState as useState97 } from "react";
22623
- import { NumberInput as NumberInput7, SegmentedControl as SegmentedControl7, Stack as Stack131, Switch as Switch7, Text as Text134 } from "@mantine/core";
22653
+ import { NumberInput as NumberInput7, SegmentedControl as SegmentedControl7, Stack as Stack130, Switch as Switch7, Text as Text134 } from "@mantine/core";
22624
22654
  import { IconCoins as IconCoins4 } from "@tabler/icons-react";
22625
22655
  var GovernanceRewardsCreateFlowDetail = (props) => {
22626
22656
  const { inputs, isDisabled } = props;
@@ -22657,7 +22687,7 @@ var GovernanceRewardsCreateFlowDetail = (props) => {
22657
22687
  })
22658
22688
  },
22659
22689
  state && /* @__PURE__ */ React210.createElement(Text134, { size: "xs", c: "dimmed" }, state.distributorAddress ? `Distributor ${state.distributorAddress} \xB7 ${state.distributions.length} distribution(s): ${state.distributions.map((d) => `#${d.id} ${describeDenom(d.denom)}`).join(", ") || "none"}` : "This POD has no distributor yet \u2014 this proposal also creates it."),
22660
- /* @__PURE__ */ React210.createElement(Stack131, { gap: "xs" }, /* @__PURE__ */ React210.createElement(Text134, { size: "sm", fw: 500 }, "Reward token"), /* @__PURE__ */ React210.createElement(
22690
+ /* @__PURE__ */ React210.createElement(Stack130, { gap: "xs" }, /* @__PURE__ */ React210.createElement(Text134, { size: "sm", fw: 500 }, "Reward token"), /* @__PURE__ */ React210.createElement(
22661
22691
  SegmentedControl7,
22662
22692
  {
22663
22693
  size: "sm",
@@ -22679,7 +22709,7 @@ var GovernanceRewardsCreateFlowDetail = (props) => {
22679
22709
  size: "sm"
22680
22710
  }
22681
22711
  )),
22682
- /* @__PURE__ */ React210.createElement(Stack131, { gap: "xs" }, /* @__PURE__ */ React210.createElement(Text134, { size: "sm", fw: 500 }, "Emission"), /* @__PURE__ */ React210.createElement(
22712
+ /* @__PURE__ */ React210.createElement(Stack130, { gap: "xs" }, /* @__PURE__ */ React210.createElement(Text134, { size: "sm", fw: 500 }, "Emission"), /* @__PURE__ */ React210.createElement(
22683
22713
  SegmentedControl7,
22684
22714
  {
22685
22715
  size: "sm",
@@ -22834,11 +22864,11 @@ registerActionTypeUI("qi/governance.rewards.claim", {
22834
22864
  });
22835
22865
 
22836
22866
  // src/mantine/blocks/action/actionTypes/governance/approval/index.ts
22837
- import { IconChecklist as IconChecklist9, IconListCheck as IconListCheck3, IconShieldCheck as IconShieldCheck16, IconStack2 as IconStack23 } from "@tabler/icons-react";
22867
+ import { IconChecklist as IconChecklist9, IconListCheck as IconListCheck3, IconShieldCheck as IconShieldCheck15, IconStack2 as IconStack23 } from "@tabler/icons-react";
22838
22868
 
22839
22869
  // src/mantine/blocks/action/actionTypes/governance/approval/GovernanceApprovalReviewFlowDetail.tsx
22840
22870
  import React213, { useCallback as useCallback79, useEffect as useEffect83, useMemo as useMemo102, useState as useState99 } from "react";
22841
- import { Alert as Alert37, Button as Button40, Card as Card20, Group as Group80, Loader as Loader38, Stack as Stack132, Text as Text136 } from "@mantine/core";
22871
+ import { Alert as Alert37, Button as Button40, Card as Card20, Group as Group79, Loader as Loader38, Stack as Stack131, Text as Text136 } from "@mantine/core";
22842
22872
  import { IconAlertCircle as IconAlertCircle22, IconCheck as IconCheck16, IconChecklist as IconChecklist8, IconX as IconX13 } from "@tabler/icons-react";
22843
22873
  var GovernanceApprovalReviewFlowDetail = (props) => {
22844
22874
  const { inputs, editor, block: block2, runtime, isDisabled, executeAction } = props;
@@ -22890,7 +22920,7 @@ var GovernanceApprovalReviewFlowDetail = (props) => {
22890
22920
  );
22891
22921
  if (!coreAddress) {
22892
22922
  if (resolvingCore) {
22893
- return /* @__PURE__ */ React213.createElement(Group80, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React213.createElement(Loader38, { size: "xs" }), /* @__PURE__ */ React213.createElement(Text136, { size: "sm" }, "Detecting this domain's POD\u2026"));
22923
+ return /* @__PURE__ */ React213.createElement(Group79, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React213.createElement(Loader38, { size: "xs" }), /* @__PURE__ */ React213.createElement(Text136, { size: "sm" }, "Detecting this domain's POD\u2026"));
22894
22924
  }
22895
22925
  return /* @__PURE__ */ React213.createElement(Alert37, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
22896
22926
  }
@@ -22898,10 +22928,10 @@ var GovernanceApprovalReviewFlowDetail = (props) => {
22898
22928
  return /* @__PURE__ */ React213.createElement(Card20, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React213.createElement(Text136, { fw: 500, size: "sm", c: "green" }, "Submission ", String(runtime.output?.decision || ""), "d"), /* @__PURE__ */ React213.createElement(Text136, { size: "sm", c: "dimmed" }, "Submission #", String(runtime.output?.approvalId || ""), " (tx ", transactionHash, ")."));
22899
22929
  }
22900
22930
  const pending = (queue?.submissions ?? []).filter((s) => s.status === "pending");
22901
- return /* @__PURE__ */ React213.createElement(Stack132, { gap: "md" }, /* @__PURE__ */ React213.createElement(Stack132, { gap: "sm" }, /* @__PURE__ */ React213.createElement(Text136, { size: "sm", c: "dimmed" }, block2?.props?.description || "Submissions held for approval. Only the approver can sign."), /* @__PURE__ */ React213.createElement(Group80, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React213.createElement(IconChecklist8, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React213.createElement(Text136, { size: "sm", fw: 600, c: "dimmed" }, "Review submissions"))), queue && queue.modules.length === 0 && /* @__PURE__ */ React213.createElement(Alert37, { color: "gray", styles: actionAlertStyles }, /* @__PURE__ */ React213.createElement(Text136, { size: "sm" }, "This POD has no approval-gated proposal module.")), queue && queue.modules.length > 0 && pending.length === 0 && /* @__PURE__ */ React213.createElement(Text136, { size: "xs", c: "dimmed" }, "Nothing is waiting for approval."), pending.map((s) => {
22931
+ return /* @__PURE__ */ React213.createElement(Stack131, { gap: "md" }, /* @__PURE__ */ React213.createElement(Stack131, { gap: "sm" }, /* @__PURE__ */ React213.createElement(Text136, { size: "sm", c: "dimmed" }, block2?.props?.description || "Submissions held for approval. Only the approver can sign."), /* @__PURE__ */ React213.createElement(Group79, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React213.createElement(IconChecklist8, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React213.createElement(Text136, { size: "sm", fw: 600, c: "dimmed" }, "Review submissions"))), queue && queue.modules.length === 0 && /* @__PURE__ */ React213.createElement(Alert37, { color: "gray", styles: actionAlertStyles }, /* @__PURE__ */ React213.createElement(Text136, { size: "sm" }, "This POD has no approval-gated proposal module.")), queue && queue.modules.length > 0 && pending.length === 0 && /* @__PURE__ */ React213.createElement(Text136, { size: "xs", c: "dimmed" }, "Nothing is waiting for approval."), pending.map((s) => {
22902
22932
  const isApprover = !walletAddress || !s.approver || s.approver === walletAddress;
22903
22933
  const key = `${s.approvalModule}:${s.approvalId}`;
22904
- return /* @__PURE__ */ React213.createElement(Card20, { key, padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React213.createElement(Stack132, { gap: 4 }, /* @__PURE__ */ React213.createElement(Text136, { size: "sm", fw: 500 }, "#", s.approvalId, " \xB7 ", s.title || "(untitled)", " \xB7 ", s.kind === "multiple" ? "multiple choice" : "yes / no"), s.description && /* @__PURE__ */ React213.createElement(Text136, { size: "xs", c: "dimmed", lineClamp: 3 }, s.description), /* @__PURE__ */ React213.createElement(Text136, { size: "xs", c: "dimmed" }, "By ", s.proposer, s.approver ? ` \xB7 approver ${s.approver}` : "", !isApprover ? " \u2014 not your connected wallet" : ""), /* @__PURE__ */ React213.createElement(Group80, { gap: "xs" }, /* @__PURE__ */ React213.createElement(
22934
+ return /* @__PURE__ */ React213.createElement(Card20, { key, padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React213.createElement(Stack131, { gap: 4 }, /* @__PURE__ */ React213.createElement(Text136, { size: "sm", fw: 500 }, "#", s.approvalId, " \xB7 ", s.title || "(untitled)", " \xB7 ", s.kind === "multiple" ? "multiple choice" : "yes / no"), s.description && /* @__PURE__ */ React213.createElement(Text136, { size: "xs", c: "dimmed", lineClamp: 3 }, s.description), /* @__PURE__ */ React213.createElement(Text136, { size: "xs", c: "dimmed" }, "By ", s.proposer, s.approver ? ` \xB7 approver ${s.approver}` : "", !isApprover ? " \u2014 not your connected wallet" : ""), /* @__PURE__ */ React213.createElement(Group79, { gap: "xs" }, /* @__PURE__ */ React213.createElement(
22905
22935
  Button40,
22906
22936
  {
22907
22937
  size: "xs",
@@ -22929,7 +22959,7 @@ var GovernanceApprovalReviewFlowDetail = (props) => {
22929
22959
  // src/mantine/blocks/action/actionTypes/governance/approval/GovernanceApproverSetupFlowDetail.tsx
22930
22960
  import React214, { useState as useState100 } from "react";
22931
22961
  import { NumberInput as NumberInput8, Text as Text137 } from "@mantine/core";
22932
- import { IconShieldCheck as IconShieldCheck15 } from "@tabler/icons-react";
22962
+ import { IconShieldCheck as IconShieldCheck14 } from "@tabler/icons-react";
22933
22963
  var GovernanceApproverSetupFlowDetail = (props) => {
22934
22964
  const { isDisabled } = props;
22935
22965
  const [approvalModule, setApprovalModule] = useState100("");
@@ -22940,7 +22970,7 @@ var GovernanceApproverSetupFlowDetail = (props) => {
22940
22970
  GovernanceProposalShell,
22941
22971
  {
22942
22972
  flow: props,
22943
- icon: IconShieldCheck15,
22973
+ icon: IconShieldCheck14,
22944
22974
  headline: "Become the approver",
22945
22975
  defaultBlurb: "Adds an approvals module here: every submission on the child POD's approval module becomes an approve/reject proposal for this POD's members.",
22946
22976
  successTitle: "Approver proposal created",
@@ -22995,7 +23025,7 @@ var GovernanceApproverSetupFlowDetail = (props) => {
22995
23025
 
22996
23026
  // src/mantine/blocks/action/actionTypes/governance/approval/GovernanceCreateMultipleFlowDetail.tsx
22997
23027
  import React215, { useCallback as useCallback80, useMemo as useMemo103, useState as useState101 } from "react";
22998
- import { Alert as Alert38, Button as Button41, Card as Card21, Group as Group81, Loader as Loader39, Stack as Stack133, Text as Text138 } from "@mantine/core";
23028
+ import { Alert as Alert38, Button as Button41, Card as Card21, Group as Group80, Loader as Loader39, Stack as Stack132, Text as Text138 } from "@mantine/core";
22999
23029
  import { IconAlertCircle as IconAlertCircle23, IconListCheck as IconListCheck2 } from "@tabler/icons-react";
23000
23030
  var GovernanceCreateMultipleFlowDetail = (props) => {
23001
23031
  const { inputs, editor, block: block2, runtime, isDisabled, executeAction } = props;
@@ -23032,14 +23062,14 @@ var GovernanceCreateMultipleFlowDetail = (props) => {
23032
23062
  }, [executeAction, canSign, submitting, coreAddress, title, description, options]);
23033
23063
  if (!coreAddress) {
23034
23064
  if (resolvingCore) {
23035
- return /* @__PURE__ */ React215.createElement(Group81, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React215.createElement(Loader39, { size: "xs" }), /* @__PURE__ */ React215.createElement(Text138, { size: "sm" }, "Detecting this domain's POD\u2026"));
23065
+ return /* @__PURE__ */ React215.createElement(Group80, { gap: "xs", c: "dimmed" }, /* @__PURE__ */ React215.createElement(Loader39, { size: "xs" }), /* @__PURE__ */ React215.createElement(Text138, { size: "sm" }, "Detecting this domain's POD\u2026"));
23036
23066
  }
23037
23067
  return /* @__PURE__ */ React215.createElement(Alert38, { color: "yellow", styles: actionAlertStyles }, resolutionError ? `${resolutionError} Select a POD in template mode before running this action.` : "Configure the DAO core address in template mode before running this action.");
23038
23068
  }
23039
23069
  if (isDone) {
23040
23070
  return /* @__PURE__ */ React215.createElement(Card21, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React215.createElement(Text138, { fw: 500, size: "sm", c: "green" }, "Multiple-choice proposal submitted"), /* @__PURE__ */ React215.createElement(Text138, { size: "sm", c: "dimmed" }, String(runtime.output?.optionCount || ""), " options (tx ", transactionHash, ")."));
23041
23071
  }
23042
- return /* @__PURE__ */ React215.createElement(Stack133, { gap: "md" }, /* @__PURE__ */ React215.createElement(Stack133, { gap: "sm" }, /* @__PURE__ */ React215.createElement(Text138, { size: "sm", c: "dimmed" }, block2?.props?.description || 'Members pick one option; the contract adds "None of the above".'), /* @__PURE__ */ React215.createElement(Group81, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React215.createElement(IconListCheck2, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React215.createElement(Text138, { size: "sm", fw: 600, c: "dimmed" }, "Multiple-choice proposal"))), /* @__PURE__ */ React215.createElement(BaseTextInput, { label: "Title", value: title, onChange: (e) => setTitle(e.currentTarget.value), disabled: isDisabled, size: "sm" }), /* @__PURE__ */ React215.createElement(BaseTextArea, { label: "Description", value: description, onChange: (e) => setDescription(e.currentTarget.value), minRows: 2, disabled: isDisabled, size: "sm" }), /* @__PURE__ */ React215.createElement(
23072
+ return /* @__PURE__ */ React215.createElement(Stack132, { gap: "md" }, /* @__PURE__ */ React215.createElement(Stack132, { gap: "sm" }, /* @__PURE__ */ React215.createElement(Text138, { size: "sm", c: "dimmed" }, block2?.props?.description || 'Members pick one option; the contract adds "None of the above".'), /* @__PURE__ */ React215.createElement(Group80, { gap: 6, c: "dimmed" }, /* @__PURE__ */ React215.createElement(IconListCheck2, { size: 16, color: "var(--mantine-color-dimmed)" }), /* @__PURE__ */ React215.createElement(Text138, { size: "sm", fw: 600, c: "dimmed" }, "Multiple-choice proposal"))), /* @__PURE__ */ React215.createElement(BaseTextInput, { label: "Title", value: title, onChange: (e) => setTitle(e.currentTarget.value), disabled: isDisabled, size: "sm" }), /* @__PURE__ */ React215.createElement(BaseTextArea, { label: "Description", value: description, onChange: (e) => setDescription(e.currentTarget.value), minRows: 2, disabled: isDisabled, size: "sm" }), /* @__PURE__ */ React215.createElement(
23043
23073
  BaseTextArea,
23044
23074
  {
23045
23075
  label: "Options",
@@ -23064,7 +23094,7 @@ var GovernanceCreateMultipleFlowDetail = (props) => {
23064
23094
 
23065
23095
  // src/mantine/blocks/action/actionTypes/governance/approval/GovernanceProposalModuleAddFlowDetail.tsx
23066
23096
  import React216, { useState as useState102 } from "react";
23067
- import { NumberInput as NumberInput9, SegmentedControl as SegmentedControl8, Stack as Stack134, Switch as Switch8, Text as Text139 } from "@mantine/core";
23097
+ import { NumberInput as NumberInput9, SegmentedControl as SegmentedControl8, Stack as Stack133, Switch as Switch8, Text as Text139 } from "@mantine/core";
23068
23098
  import { IconStack2 as IconStack22 } from "@tabler/icons-react";
23069
23099
  var GovernanceProposalModuleAddFlowDetail = (props) => {
23070
23100
  const { isDisabled } = props;
@@ -23104,7 +23134,7 @@ var GovernanceProposalModuleAddFlowDetail = (props) => {
23104
23134
  label: label.trim()
23105
23135
  })
23106
23136
  },
23107
- /* @__PURE__ */ React216.createElement(Stack134, { gap: "xs" }, /* @__PURE__ */ React216.createElement(Text139, { size: "sm", fw: 500 }, "Kind"), /* @__PURE__ */ React216.createElement(
23137
+ /* @__PURE__ */ React216.createElement(Stack133, { gap: "xs" }, /* @__PURE__ */ React216.createElement(Text139, { size: "sm", fw: 500 }, "Kind"), /* @__PURE__ */ React216.createElement(
23108
23138
  SegmentedControl8,
23109
23139
  {
23110
23140
  size: "sm",
@@ -23244,7 +23274,7 @@ registerActionTypeUI("qi/governance.proposal-module.add", {
23244
23274
  registerActionTypeUI("qi/governance.approver.setup", {
23245
23275
  label: "Become Approver",
23246
23276
  description: "Propose automating this POD's approval of a child POD's submissions",
23247
- icon: icon(IconShieldCheck16, 20),
23277
+ icon: icon(IconShieldCheck15, 20),
23248
23278
  configComponent: createGovernanceProposalConfig({
23249
23279
  groupDescription: "The PARENT POD that will approve. Leave blank to resolve it from the current entity when the flow runs.",
23250
23280
  note: "The child POD's approval module must already name this POD's core as its approver. Each child submission then becomes an approve/reject proposal here."
@@ -23274,7 +23304,7 @@ registerActionTypeUI("qi/governance.proposal.create-multiple", {
23274
23304
 
23275
23305
  // src/mantine/blocks/action/actionTypes/governance/nftBurn/index.ts
23276
23306
  import { IconFlame } from "@tabler/icons-react";
23277
- var GovernanceNftBurnFlowDetail = lazyActionComponent(() => import("./GovernanceNftBurnFlowDetail-XNHCP7SW.js").then((module) => ({ default: module.GovernanceNftBurnFlowDetail })));
23307
+ var GovernanceNftBurnFlowDetail = lazyActionComponent(() => import("./GovernanceNftBurnFlowDetail-LWZXYELU.js").then((module) => ({ default: module.GovernanceNftBurnFlowDetail })));
23278
23308
  registerActionTypeUI("qi/governance.nft.burn", {
23279
23309
  label: "Burn NFT",
23280
23310
  description: "Propose permanently burning an NFT held by the treasury",
@@ -23289,7 +23319,7 @@ registerActionTypeUI("qi/governance.nft.burn", {
23289
23319
  // src/mantine/blocks/action/actionTypes/governance/nftTransfer/index.ts
23290
23320
  import { IconSend as IconSend5 } from "@tabler/icons-react";
23291
23321
  var GovernanceNftTransferFlowDetail = lazyActionComponent(
23292
- () => import("./GovernanceNftTransferFlowDetail-ANUJ3UUE.js").then((module) => ({ default: module.GovernanceNftTransferFlowDetail }))
23322
+ () => import("./GovernanceNftTransferFlowDetail-M3FZ44DR.js").then((module) => ({ default: module.GovernanceNftTransferFlowDetail }))
23293
23323
  );
23294
23324
  registerActionTypeUI("qi/governance.nft.transfer", {
23295
23325
  label: "Transfer NFT",
@@ -23305,7 +23335,7 @@ registerActionTypeUI("qi/governance.nft.transfer", {
23305
23335
  // src/mantine/blocks/action/actionTypes/governance/nftManageCollections/index.ts
23306
23336
  import { IconPhotoCog } from "@tabler/icons-react";
23307
23337
  var GovernanceNftManageCollectionsFlowDetail = lazyActionComponent(
23308
- () => import("./GovernanceNftManageCollectionsFlowDetail-RMVCVWXS.js").then((module) => ({ default: module.GovernanceNftManageCollectionsFlowDetail }))
23338
+ () => import("./GovernanceNftManageCollectionsFlowDetail-SBBJAA3O.js").then((module) => ({ default: module.GovernanceNftManageCollectionsFlowDetail }))
23309
23339
  );
23310
23340
  registerActionTypeUI("qi/governance.nft.manage-collections", {
23311
23341
  label: "Manage NFT Collections",
@@ -23321,7 +23351,7 @@ registerActionTypeUI("qi/governance.nft.manage-collections", {
23321
23351
  // src/mantine/blocks/action/actionTypes/governance/contractExecute/index.ts
23322
23352
  import { IconTerminal2 } from "@tabler/icons-react";
23323
23353
  var GovernanceContractExecuteFlowDetail = lazyActionComponent(
23324
- () => import("./GovernanceContractExecuteFlowDetail-U3SOGE5Q.js").then((module) => ({ default: module.GovernanceContractExecuteFlowDetail }))
23354
+ () => import("./GovernanceContractExecuteFlowDetail-JAEBWT5F.js").then((module) => ({ default: module.GovernanceContractExecuteFlowDetail }))
23325
23355
  );
23326
23356
  registerActionTypeUI("qi/governance.contract.execute", {
23327
23357
  label: "Execute Contract",
@@ -23337,7 +23367,7 @@ registerActionTypeUI("qi/governance.contract.execute", {
23337
23367
  // src/mantine/blocks/action/actionTypes/governance/contractInstantiate/index.ts
23338
23368
  import { IconRocket } from "@tabler/icons-react";
23339
23369
  var GovernanceContractInstantiateFlowDetail = lazyActionComponent(
23340
- () => import("./GovernanceContractInstantiateFlowDetail-5S7MA2TT.js").then((module) => ({ default: module.GovernanceContractInstantiateFlowDetail }))
23370
+ () => import("./GovernanceContractInstantiateFlowDetail-TKK2CE3N.js").then((module) => ({ default: module.GovernanceContractInstantiateFlowDetail }))
23341
23371
  );
23342
23372
  registerActionTypeUI("qi/governance.contract.instantiate", {
23343
23373
  label: "Instantiate Contract",
@@ -23353,7 +23383,7 @@ registerActionTypeUI("qi/governance.contract.instantiate", {
23353
23383
  // src/mantine/blocks/action/actionTypes/governance/contractMigrate/index.ts
23354
23384
  import { IconTransform } from "@tabler/icons-react";
23355
23385
  var GovernanceContractMigrateFlowDetail = lazyActionComponent(
23356
- () => import("./GovernanceContractMigrateFlowDetail-FQLAJC7X.js").then((module) => ({ default: module.GovernanceContractMigrateFlowDetail }))
23386
+ () => import("./GovernanceContractMigrateFlowDetail-EA5BNLXK.js").then((module) => ({ default: module.GovernanceContractMigrateFlowDetail }))
23357
23387
  );
23358
23388
  registerActionTypeUI("qi/governance.contract.migrate", {
23359
23389
  label: "Migrate Contract",
@@ -23369,7 +23399,7 @@ registerActionTypeUI("qi/governance.contract.migrate", {
23369
23399
  // src/mantine/blocks/action/actionTypes/governance/contractUpdateAdmin/index.ts
23370
23400
  import { IconUserShield } from "@tabler/icons-react";
23371
23401
  var GovernanceContractUpdateAdminFlowDetail = lazyActionComponent(
23372
- () => import("./GovernanceContractUpdateAdminFlowDetail-NGZTF35T.js").then((module) => ({ default: module.GovernanceContractUpdateAdminFlowDetail }))
23402
+ () => import("./GovernanceContractUpdateAdminFlowDetail-QOB2BCB2.js").then((module) => ({ default: module.GovernanceContractUpdateAdminFlowDetail }))
23373
23403
  );
23374
23404
  registerActionTypeUI("qi/governance.contract.update-admin", {
23375
23405
  label: "Update Contract Admin",
@@ -23385,7 +23415,7 @@ registerActionTypeUI("qi/governance.contract.update-admin", {
23385
23415
  // src/mantine/blocks/action/actionTypes/governance/contractManageCw20/index.ts
23386
23416
  import { IconCoinBitcoin } from "@tabler/icons-react";
23387
23417
  var GovernanceContractManageCw20FlowDetail = lazyActionComponent(
23388
- () => import("./GovernanceContractManageCw20FlowDetail-WTAYJUC6.js").then((module) => ({ default: module.GovernanceContractManageCw20FlowDetail }))
23418
+ () => import("./GovernanceContractManageCw20FlowDetail-PZ4YHU6Z.js").then((module) => ({ default: module.GovernanceContractManageCw20FlowDetail }))
23389
23419
  );
23390
23420
  registerActionTypeUI("qi/governance.contract.manage-cw20", {
23391
23421
  label: "Manage Token List",
@@ -23401,7 +23431,7 @@ registerActionTypeUI("qi/governance.contract.manage-cw20", {
23401
23431
  // src/mantine/blocks/action/actionTypes/governance/validatorActions/index.ts
23402
23432
  import { IconServerBolt } from "@tabler/icons-react";
23403
23433
  var GovernanceValidatorActionsFlowDetail = lazyActionComponent(
23404
- () => import("./GovernanceValidatorActionsFlowDetail-ANDTFZ63.js").then((module) => ({ default: module.GovernanceValidatorActionsFlowDetail }))
23434
+ () => import("./GovernanceValidatorActionsFlowDetail-VFPEROKQ.js").then((module) => ({ default: module.GovernanceValidatorActionsFlowDetail }))
23405
23435
  );
23406
23436
  registerActionTypeUI("qi/governance.validator.actions", {
23407
23437
  label: "Validator Actions",
@@ -23417,7 +23447,7 @@ registerActionTypeUI("qi/governance.validator.actions", {
23417
23447
  // src/mantine/blocks/action/actionTypes/governance/customMessage/index.ts
23418
23448
  import { IconCode as IconCode4 } from "@tabler/icons-react";
23419
23449
  var GovernanceCustomMessageFlowDetail = lazyActionComponent(
23420
- () => import("./GovernanceCustomMessageFlowDetail-5M7NRHYN.js").then((module) => ({ default: module.GovernanceCustomMessageFlowDetail }))
23450
+ () => import("./GovernanceCustomMessageFlowDetail-SQJKIYUU.js").then((module) => ({ default: module.GovernanceCustomMessageFlowDetail }))
23421
23451
  );
23422
23452
  registerActionTypeUI("qi/governance.custom-message", {
23423
23453
  label: "Custom Message",
@@ -23432,8 +23462,8 @@ registerActionTypeUI("qi/governance.custom-message", {
23432
23462
 
23433
23463
  // src/mantine/blocks/action/actionTypes/httpRequest/index.ts
23434
23464
  import { IconWorld as IconWorld3 } from "@tabler/icons-react";
23435
- var HttpRequestConfig = lazyActionComponent(() => import("./HttpRequestConfig-4OJ4KQGC.js").then((module) => ({ default: module.HttpRequestConfig })));
23436
- var HttpRequestFlowDetail = lazyActionComponent(() => import("./HttpRequestFlowDetail-6JPPTSIZ.js").then((module) => ({ default: module.HttpRequestFlowDetail })));
23465
+ var HttpRequestConfig = lazyActionComponent(() => import("./HttpRequestConfig-NZP4M72G.js").then((module) => ({ default: module.HttpRequestConfig })));
23466
+ var HttpRequestFlowDetail = lazyActionComponent(() => import("./HttpRequestFlowDetail-VKPVV3EW.js").then((module) => ({ default: module.HttpRequestFlowDetail })));
23437
23467
  registerActionTypeUI("qi/http.request", {
23438
23468
  label: "HTTP Request",
23439
23469
  description: "Make an HTTP API request",
@@ -23444,7 +23474,7 @@ registerActionTypeUI("qi/http.request", {
23444
23474
 
23445
23475
  // src/mantine/blocks/action/actionTypes/emailSend/index.ts
23446
23476
  import { IconMail as IconMail6 } from "@tabler/icons-react";
23447
- var EmailSendConfig = lazyActionComponent(() => import("./EmailSendConfig-V2H65UW5.js").then((module) => ({ default: module.EmailSendConfig })));
23477
+ var EmailSendConfig = lazyActionComponent(() => import("./EmailSendConfig-ZCXQK3SV.js").then((module) => ({ default: module.EmailSendConfig })));
23448
23478
  registerActionTypeUI("qi/email.send", {
23449
23479
  label: "Email",
23450
23480
  description: "Send an email to a user",
@@ -23454,8 +23484,8 @@ registerActionTypeUI("qi/email.send", {
23454
23484
 
23455
23485
  // src/mantine/blocks/action/actionTypes/bid/index.ts
23456
23486
  import { IconBriefcase as IconBriefcase2 } from "@tabler/icons-react";
23457
- var BidConfig = lazyActionComponent(() => import("./BidConfig-P5CJR43N.js").then((module) => ({ default: module.BidConfig })));
23458
- var BidFlowDetail = lazyActionComponent(() => import("./BidFlowDetail-SV33OI2Y.js").then((module) => ({ default: module.BidFlowDetail })));
23487
+ var BidConfig = lazyActionComponent(() => import("./BidConfig-TQXBUKGD.js").then((module) => ({ default: module.BidConfig })));
23488
+ var BidFlowDetail = lazyActionComponent(() => import("./BidFlowDetail-3BKTJXXA.js").then((module) => ({ default: module.BidFlowDetail })));
23459
23489
  registerActionTypeUI("qi/bid.submit", {
23460
23490
  label: "Bid",
23461
23491
  description: "Submit a bid application",
@@ -23467,8 +23497,8 @@ registerActionTypeUI("qi/bid.submit", {
23467
23497
 
23468
23498
  // src/mantine/blocks/action/actionTypes/evaluateBid/index.ts
23469
23499
  import { IconScale as IconScale2 } from "@tabler/icons-react";
23470
- var EvaluateBidConfig = lazyActionComponent(() => import("./EvaluateBidConfig-T6FZD4KE.js").then((module) => ({ default: module.EvaluateBidConfig })));
23471
- var EvaluateBidFlowDetail = lazyActionComponent(() => import("./EvaluateBidFlowDetail-EKL5NXYX.js").then((module) => ({ default: module.EvaluateBidFlowDetail })));
23500
+ var EvaluateBidConfig = lazyActionComponent(() => import("./EvaluateBidConfig-UYCRRF2T.js").then((module) => ({ default: module.EvaluateBidConfig })));
23501
+ var EvaluateBidFlowDetail = lazyActionComponent(() => import("./EvaluateBidFlowDetail-FQP74NYF.js").then((module) => ({ default: module.EvaluateBidFlowDetail })));
23472
23502
  registerActionTypeUI("qi/bid.evaluate", {
23473
23503
  label: "Evaluate Bid",
23474
23504
  description: "Approve or reject a bid",
@@ -23480,8 +23510,8 @@ registerActionTypeUI("qi/bid.evaluate", {
23480
23510
 
23481
23511
  // src/mantine/blocks/action/actionTypes/claim/index.ts
23482
23512
  import { IconFileText as IconFileText5 } from "@tabler/icons-react";
23483
- var ClaimConfig = lazyActionComponent(() => import("./ClaimConfig-QJETYD5G.js").then((module) => ({ default: module.ClaimConfig })));
23484
- var ClaimFlowDetail = lazyActionComponent(() => import("./ClaimFlowDetail-UEGNEOLD.js").then((module) => ({ default: module.ClaimFlowDetail })));
23513
+ var ClaimConfig = lazyActionComponent(() => import("./ClaimConfig-XLFL3IWC.js").then((module) => ({ default: module.ClaimConfig })));
23514
+ var ClaimFlowDetail = lazyActionComponent(() => import("./ClaimFlowDetail-CLEBNXGP.js").then((module) => ({ default: module.ClaimFlowDetail })));
23485
23515
  registerActionTypeUI("qi/claim.submit", {
23486
23516
  label: "Claim",
23487
23517
  description: "Submit a claim",
@@ -23493,8 +23523,8 @@ registerActionTypeUI("qi/claim.submit", {
23493
23523
 
23494
23524
  // src/mantine/blocks/action/actionTypes/collection/index.ts
23495
23525
  import { IconFolders } from "@tabler/icons-react";
23496
- var CollectionLifecycleConfig = lazyActionComponent(() => import("./CollectionLifecycleConfig-CGZKXQP7.js").then((module) => ({ default: module.CollectionLifecycleConfig })));
23497
- var CollectionLifecycleFlowDetail = lazyActionComponent(() => import("./CollectionLifecycleFlowDetail-HKORLTZM.js").then((module) => ({ default: module.CollectionLifecycleFlowDetail })));
23526
+ var CollectionLifecycleConfig = lazyActionComponent(() => import("./CollectionLifecycleConfig-556UBJ2I.js").then((module) => ({ default: module.CollectionLifecycleConfig })));
23527
+ var CollectionLifecycleFlowDetail = lazyActionComponent(() => import("./CollectionLifecycleFlowDetail-JYNRCJ5S.js").then((module) => ({ default: module.CollectionLifecycleFlowDetail })));
23498
23528
  registerActionTypeUI("qi/collection.lifecycle", {
23499
23529
  label: "Claim Collection",
23500
23530
  description: "Create and manage a claim collection lifecycle",
@@ -23509,7 +23539,7 @@ import { IconFolderPlus } from "@tabler/icons-react";
23509
23539
 
23510
23540
  // src/mantine/blocks/action/actionTypes/collectionCreate/CollectionCreateConfig.tsx
23511
23541
  import React217, { useCallback as useCallback81, useEffect as useEffect84, useMemo as useMemo104, useState as useState103 } from "react";
23512
- import { Alert as Alert39, Button as Button42, Group as Group82, Loader as Loader40, Stack as Stack135, Text as Text140 } from "@mantine/core";
23542
+ import { Alert as Alert39, Button as Button42, Group as Group81, Loader as Loader40, Stack as Stack134, Text as Text140 } from "@mantine/core";
23513
23543
  import { DateTimePicker as DateTimePicker2 } from "@mantine/dates";
23514
23544
  import { IconInfoCircle as IconInfoCircle6 } from "@tabler/icons-react";
23515
23545
 
@@ -23654,7 +23684,7 @@ var CollectionCreateConfig = ({ inputs, onInputsChange }) => {
23654
23684
  })),
23655
23685
  [protocols]
23656
23686
  );
23657
- return /* @__PURE__ */ React217.createElement(Stack135, { gap: "md" }, /* @__PURE__ */ React217.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Entity (deed) DID"), /* @__PURE__ */ React217.createElement(Text140, { size: "xs", c: "dimmed" }, "The entity the claims are collected for. Its linked claim protocols are fetched below."), /* @__PURE__ */ React217.createElement(
23687
+ return /* @__PURE__ */ React217.createElement(Stack134, { gap: "md" }, /* @__PURE__ */ React217.createElement(Stack134, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Entity (deed) DID"), /* @__PURE__ */ React217.createElement(Text140, { size: "xs", c: "dimmed" }, "The entity the claims are collected for. Its linked claim protocols are fetched below."), /* @__PURE__ */ React217.createElement(
23658
23688
  BaseTextInput,
23659
23689
  {
23660
23690
  placeholder: "did:ixo:entity:...",
@@ -23680,7 +23710,7 @@ var CollectionCreateConfig = ({ inputs, onInputsChange }) => {
23680
23710
  }
23681
23711
  },
23682
23712
  "Use Current Entity"
23683
- )), /* @__PURE__ */ React217.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Claim Protocol"), /* @__PURE__ */ React217.createElement(Text140, { size: "xs", c: "dimmed" }, "The protocol whose form and rules this collection uses. Fetched from the entity's linked claims, so the selected protocol always matches the chosen entity."), /* @__PURE__ */ React217.createElement(BasePrimaryButton, { onClick: fetchProtocols, disabled: !local.deedDid.trim() || loadingProtocols }, loadingProtocols ? /* @__PURE__ */ React217.createElement(Loader40, { size: "xs", color: "dark" }) : "Get Protocols"), protocolError && /* @__PURE__ */ React217.createElement(Alert39, { color: "red", styles: actionAlertStyles }, protocolError), protocolOptions.length > 0 && /* @__PURE__ */ React217.createElement(
23713
+ )), /* @__PURE__ */ React217.createElement(Stack134, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Claim Protocol"), /* @__PURE__ */ React217.createElement(Text140, { size: "xs", c: "dimmed" }, "The protocol whose form and rules this collection uses. Fetched from the entity's linked claims, so the selected protocol always matches the chosen entity."), /* @__PURE__ */ React217.createElement(BasePrimaryButton, { onClick: fetchProtocols, disabled: !local.deedDid.trim() || loadingProtocols }, loadingProtocols ? /* @__PURE__ */ React217.createElement(Loader40, { size: "xs", color: "dark" }) : "Get Protocols"), protocolError && /* @__PURE__ */ React217.createElement(Alert39, { color: "red", styles: actionAlertStyles }, protocolError), protocolOptions.length > 0 && /* @__PURE__ */ React217.createElement(
23684
23714
  BaseSelect,
23685
23715
  {
23686
23716
  label: "Protocol",
@@ -23694,7 +23724,7 @@ var CollectionCreateConfig = ({ inputs, onInputsChange }) => {
23694
23724
  required: true,
23695
23725
  searchable: true
23696
23726
  }
23697
- ), local.protocolDid && protocolOptions.length === 0 && /* @__PURE__ */ React217.createElement(Text140, { size: "xs", c: "dimmed" }, "Currently selected: ", /* @__PURE__ */ React217.createElement("code", null, local.protocolTitle || local.protocolDid), " \u2014 press \u201CGet Protocols\u201D to change it."), local.protocolDid && (!local.protocolDid.startsWith("did:") || local.protocolDid.includes("#")) && /* @__PURE__ */ React217.createElement(Alert39, { color: "red", styles: actionAlertStyles }, "The saved protocol ", /* @__PURE__ */ React217.createElement("code", null, local.protocolDid), " is not a valid DID, so creating a collection will fail. This is usually an unresolved claim-template reference \u2014 press \u201CGet Protocols\u201D and pick the protocol again.")), /* @__PURE__ */ React217.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Payments"), /* @__PURE__ */ React217.createElement(
23727
+ ), local.protocolDid && protocolOptions.length === 0 && /* @__PURE__ */ React217.createElement(Text140, { size: "xs", c: "dimmed" }, "Currently selected: ", /* @__PURE__ */ React217.createElement("code", null, local.protocolTitle || local.protocolDid), " \u2014 press \u201CGet Protocols\u201D to change it."), local.protocolDid && (!local.protocolDid.startsWith("did:") || local.protocolDid.includes("#")) && /* @__PURE__ */ React217.createElement(Alert39, { color: "red", styles: actionAlertStyles }, "The saved protocol ", /* @__PURE__ */ React217.createElement("code", null, local.protocolDid), " is not a valid DID, so creating a collection will fail. This is usually an unresolved claim-template reference \u2014 press \u201CGet Protocols\u201D and pick the protocol again.")), /* @__PURE__ */ React217.createElement(Stack134, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Payments"), /* @__PURE__ */ React217.createElement(
23698
23728
  BaseSelect,
23699
23729
  {
23700
23730
  label: "Denom",
@@ -23725,7 +23755,7 @@ var CollectionCreateConfig = ({ inputs, onInputsChange }) => {
23725
23755
  value: local.evaluationDisplay === "" ? "" : Number(local.evaluationDisplay),
23726
23756
  onChange: (v) => update({ evaluationDisplay: v === "" || v == null ? "" : String(v) })
23727
23757
  }
23728
- )), /* @__PURE__ */ React217.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Quota & window"), /* @__PURE__ */ React217.createElement(
23758
+ )), /* @__PURE__ */ React217.createElement(Stack134, { gap: "xs" }, /* @__PURE__ */ React217.createElement(Text140, { size: "sm", fw: 600 }, "Quota & window"), /* @__PURE__ */ React217.createElement(
23729
23759
  BaseNumberInput,
23730
23760
  {
23731
23761
  label: "Quota (0 = unlimited)",
@@ -23733,7 +23763,7 @@ var CollectionCreateConfig = ({ inputs, onInputsChange }) => {
23733
23763
  value: local.quota === "" ? "" : Number(local.quota),
23734
23764
  onChange: (v) => update({ quota: v === "" || v == null ? "0" : String(v) })
23735
23765
  }
23736
- ), /* @__PURE__ */ React217.createElement(Group82, { grow: true, align: "flex-start" }, /* @__PURE__ */ React217.createElement(
23766
+ ), /* @__PURE__ */ React217.createElement(Group81, { grow: true, align: "flex-start" }, /* @__PURE__ */ React217.createElement(
23737
23767
  DateTimePicker2,
23738
23768
  {
23739
23769
  label: "Start date",
@@ -23759,7 +23789,7 @@ var CollectionCreateConfig = ({ inputs, onInputsChange }) => {
23759
23789
 
23760
23790
  // src/mantine/blocks/action/actionTypes/collectionCreate/CollectionCreateFlowDetail.tsx
23761
23791
  import React218, { useCallback as useCallback82, useEffect as useEffect85, useMemo as useMemo105, useState as useState104 } from "react";
23762
- import { Box as Box48, Button as Button43, Group as Group83, Loader as Loader41, Overlay, Stack as Stack136, Text as Text141 } from "@mantine/core";
23792
+ import { Box as Box48, Button as Button43, Group as Group82, Loader as Loader41, Overlay, Stack as Stack135, Text as Text141 } from "@mantine/core";
23763
23793
  import { IconAlertCircle as IconAlertCircle24, IconCheck as IconCheck17 } from "@tabler/icons-react";
23764
23794
  var LOG = "[collection.create]";
23765
23795
  function formatBaseAmount(base, token) {
@@ -23950,13 +23980,13 @@ var CollectionCreateFlowDetail = ({
23950
23980
  }, [parsed.quota, parsed.approvalAmount, parsed.evaluationAmount, token]);
23951
23981
  const title = block2?.props?.title || "Create Claim Collection";
23952
23982
  const description = block2?.props?.description || "";
23953
- return /* @__PURE__ */ React218.createElement(Stack136, { gap: "md", pos: "relative" }, /* @__PURE__ */ React218.createElement(Stack136, { gap: 2 }, /* @__PURE__ */ React218.createElement(Text141, { fw: 600 }, title), description && /* @__PURE__ */ React218.createElement(Text141, { size: "sm", c: "dimmed" }, description)), (!deedDid || !protocolDid) && !hasProof && /* @__PURE__ */ React218.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, "Configure the entity (deed) DID and claim protocol in template mode before creating a collection."), deedDid && protocolDid && !hasProof && /* @__PURE__ */ React218.createElement(Box48, { style: { border: "1px solid var(--mantine-color-neutralColor-6)", borderRadius: 8, padding: 12, background: "var(--mantine-color-neutralColor-5)" } }, /* @__PURE__ */ React218.createElement(Stack136, { gap: 6 }, /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Protocol", value: parsed.protocolTitle ? `${parsed.protocolTitle} (${protocolDid})` : protocolDid }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Payout per approved claim", value: formatBaseAmount(parsed.approvalAmount, token) }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Evaluation fee", value: formatBaseAmount(parsed.evaluationAmount, token) }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Quota", value: parsed.quota > 0 ? `${parsed.quota} claims` : "Unlimited" }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Window", value: `${parsed.startDate || "Immediately"} \u2192 ${parsed.endDate || "90 days from start"}` }), budgetLine && /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Budget if fully claimed", value: budgetLine }), oracleListing && /* @__PURE__ */ React218.createElement(
23983
+ return /* @__PURE__ */ React218.createElement(Stack135, { gap: "md", pos: "relative" }, /* @__PURE__ */ React218.createElement(Stack135, { gap: 2 }, /* @__PURE__ */ React218.createElement(Text141, { fw: 600 }, title), description && /* @__PURE__ */ React218.createElement(Text141, { size: "sm", c: "dimmed" }, description)), (!deedDid || !protocolDid) && !hasProof && /* @__PURE__ */ React218.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, "Configure the entity (deed) DID and claim protocol in template mode before creating a collection."), deedDid && protocolDid && !hasProof && /* @__PURE__ */ React218.createElement(Box48, { style: { border: "1px solid var(--mantine-color-neutralColor-6)", borderRadius: 8, padding: 12, background: "var(--mantine-color-neutralColor-5)" } }, /* @__PURE__ */ React218.createElement(Stack135, { gap: 6 }, /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Protocol", value: parsed.protocolTitle ? `${parsed.protocolTitle} (${protocolDid})` : protocolDid }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Payout per approved claim", value: formatBaseAmount(parsed.approvalAmount, token) }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Evaluation fee", value: formatBaseAmount(parsed.evaluationAmount, token) }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Quota", value: parsed.quota > 0 ? `${parsed.quota} claims` : "Unlimited" }), /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Window", value: `${parsed.startDate || "Immediately"} \u2192 ${parsed.endDate || "90 days from start"}` }), budgetLine && /* @__PURE__ */ React218.createElement(ReviewRow, { label: "Budget if fully claimed", value: budgetLine }), oracleListing && /* @__PURE__ */ React218.createElement(
23954
23984
  ReviewRow,
23955
23985
  {
23956
23986
  label: "Evaluated by",
23957
23987
  value: `${oracleListing.name || oracleListing.entityDid} \xB7 ${fromBaseUnits2(oracleListing.pricing.evaluation.minAmount)} ${tokenLabel(oracleListing.pricing.evaluation.denom)}/claim`
23958
23988
  }
23959
- ))), validation.ok && noServiceFee && deedDid && protocolDid && !hasProof && /* @__PURE__ */ React218.createElement(DismissibleAlert, { color: "blue", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack136, { gap: "xs" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, "No evaluation fee: ", oracleListing?.name || "the evaluation service", " charges ", fromBaseUnits2(serviceMinAmount), " ", tokenLabel(serviceDenom), " per claim, so it won\u2019t be able to evaluate these claims. That\u2019s fine if people will evaluate them."), adoptableChoice && /* @__PURE__ */ React218.createElement(Group83, null, /* @__PURE__ */ React218.createElement(
23989
+ ))), validation.ok && noServiceFee && deedDid && protocolDid && !hasProof && /* @__PURE__ */ React218.createElement(DismissibleAlert, { color: "blue", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, "No evaluation fee: ", oracleListing?.name || "the evaluation service", " charges ", fromBaseUnits2(serviceMinAmount), " ", tokenLabel(serviceDenom), " per claim, so it won\u2019t be able to evaluate these claims. That\u2019s fine if people will evaluate them."), adoptableChoice && /* @__PURE__ */ React218.createElement(Group82, null, /* @__PURE__ */ React218.createElement(
23960
23990
  Button43,
23961
23991
  {
23962
23992
  variant: "outline",
@@ -23969,9 +23999,9 @@ var CollectionCreateFlowDetail = ({
23969
23999
  " ",
23970
24000
  tokenLabel(serviceDenom),
23971
24001
  " per claim"
23972
- )))), !validation.ok && validation.error && deedDid && protocolDid && !hasProof && /* @__PURE__ */ React218.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack136, { gap: "xs" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, validation.error), fixableBy === "coin" && /* @__PURE__ */ React218.createElement(Group83, null, /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: switchToServiceCoin, disabled: isDisabled || isRunning }, "Pay in ", tokenLabel(serviceDenom))), fixableBy === "fee" && /* @__PURE__ */ React218.createElement(Group83, null, /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: () => writeInputs({ evaluationAmount: serviceMinAmount }), disabled: isDisabled || isRunning }, "Use ", fromBaseUnits2(serviceMinAmount), " ", token, " per claim")))), isStale && /* @__PURE__ */ React218.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React218.createElement(IconAlertCircle24, { size: 16 }), color: "yellow", title: "Inconsistent State", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack136, { gap: "xs" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, "Marked completed but no collection id was recorded. Stale state from a previous run \u2014 reset and re-run."), /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isFailed && /* @__PURE__ */ React218.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React218.createElement(IconAlertCircle24, { size: 16 }), color: "red", title: "Action Failed", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack136, { gap: "xs" }, errorMessage && /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, errorMessage), /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isCompleted && /* @__PURE__ */ React218.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React218.createElement(IconCheck17, { size: 16 }), color: "green", styles: actionAlertStyles }, "Collection ", output?.collectionId, " created."), isDisabled && /* @__PURE__ */ React218.createElement(Text141, { size: "xs", c: "dimmed" }, "This block is currently disabled."), isRunning && /* @__PURE__ */ React218.createElement(Overlay, { color: "var(--mantine-color-body)", backgroundOpacity: 0.6, blur: 1, zIndex: 5, radius: "md" }, /* @__PURE__ */ React218.createElement(Group83, { gap: "xs", justify: "center", h: "100%" }, /* @__PURE__ */ React218.createElement(Loader41, { size: 16 }), /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, "Creating collection\u2026"))));
24002
+ )))), !validation.ok && validation.error && deedDid && protocolDid && !hasProof && /* @__PURE__ */ React218.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, validation.error), fixableBy === "coin" && /* @__PURE__ */ React218.createElement(Group82, null, /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: switchToServiceCoin, disabled: isDisabled || isRunning }, "Pay in ", tokenLabel(serviceDenom))), fixableBy === "fee" && /* @__PURE__ */ React218.createElement(Group82, null, /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: () => writeInputs({ evaluationAmount: serviceMinAmount }), disabled: isDisabled || isRunning }, "Use ", fromBaseUnits2(serviceMinAmount), " ", token, " per claim")))), isStale && /* @__PURE__ */ React218.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React218.createElement(IconAlertCircle24, { size: 16 }), color: "yellow", title: "Inconsistent State", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack135, { gap: "xs" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, "Marked completed but no collection id was recorded. Stale state from a previous run \u2014 reset and re-run."), /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isFailed && /* @__PURE__ */ React218.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React218.createElement(IconAlertCircle24, { size: 16 }), color: "red", title: "Action Failed", styles: actionAlertStyles }, /* @__PURE__ */ React218.createElement(Stack135, { gap: "xs" }, errorMessage && /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, errorMessage), /* @__PURE__ */ React218.createElement(Button43, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isCompleted && /* @__PURE__ */ React218.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React218.createElement(IconCheck17, { size: 16 }), color: "green", styles: actionAlertStyles }, "Collection ", output?.collectionId, " created."), isDisabled && /* @__PURE__ */ React218.createElement(Text141, { size: "xs", c: "dimmed" }, "This block is currently disabled."), isRunning && /* @__PURE__ */ React218.createElement(Overlay, { color: "var(--mantine-color-body)", backgroundOpacity: 0.6, blur: 1, zIndex: 5, radius: "md" }, /* @__PURE__ */ React218.createElement(Group82, { gap: "xs", justify: "center", h: "100%" }, /* @__PURE__ */ React218.createElement(Loader41, { size: 16 }), /* @__PURE__ */ React218.createElement(Text141, { size: "sm" }, "Creating collection\u2026"))));
23973
24003
  };
23974
- var ReviewRow = ({ label, value }) => /* @__PURE__ */ React218.createElement(Group83, { justify: "space-between", wrap: "nowrap", gap: "sm" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm", c: "dimmed" }, label), /* @__PURE__ */ React218.createElement(Text141, { size: "sm", fw: 500, style: { textAlign: "right" } }, value));
24004
+ var ReviewRow = ({ label, value }) => /* @__PURE__ */ React218.createElement(Group82, { justify: "space-between", wrap: "nowrap", gap: "sm" }, /* @__PURE__ */ React218.createElement(Text141, { size: "sm", c: "dimmed" }, label), /* @__PURE__ */ React218.createElement(Text141, { size: "sm", fw: 500, style: { textAlign: "right" } }, value));
23975
24005
 
23976
24006
  // src/mantine/blocks/action/actionTypes/collectionCreate/index.ts
23977
24007
  registerActionTypeUI(COLLECTION_CREATE_ACTION_TYPE, {
@@ -23983,8 +24013,8 @@ registerActionTypeUI(COLLECTION_CREATE_ACTION_TYPE, {
23983
24013
 
23984
24014
  // src/mantine/blocks/action/actionTypes/collectionUsers/index.ts
23985
24015
  import { IconUsers as IconUsers7 } from "@tabler/icons-react";
23986
- var CollectionUsersConfig = lazyActionComponent(() => import("./CollectionUsersConfig-A7ASGD2L.js").then((module) => ({ default: module.CollectionUsersConfig })));
23987
- var CollectionUsersFlowDetail = lazyActionComponent(() => import("./CollectionUsersFlowDetail-JUULKPNC.js").then((module) => ({ default: module.CollectionUsersFlowDetail })));
24016
+ var CollectionUsersConfig = lazyActionComponent(() => import("./CollectionUsersConfig-6P22QEYH.js").then((module) => ({ default: module.CollectionUsersConfig })));
24017
+ var CollectionUsersFlowDetail = lazyActionComponent(() => import("./CollectionUsersFlowDetail-75KV4MLK.js").then((module) => ({ default: module.CollectionUsersFlowDetail })));
23988
24018
  registerActionTypeUI("qi/collection.users", {
23989
24019
  label: "Collection Users",
23990
24020
  description: "Add, list and revoke claim collection contributors & evaluators",
@@ -24006,8 +24036,8 @@ registerActionTypeUI("qi/collection.users", {
24006
24036
 
24007
24037
  // src/mantine/blocks/action/actionTypes/evalEngine/index.ts
24008
24038
  import { IconClipboardCheck as IconClipboardCheck2 } from "@tabler/icons-react";
24009
- var EvalEngineConfig = lazyActionComponent(() => import("./EvalEngineConfig-UYKCKNQQ.js").then((module) => ({ default: module.EvalEngineConfig })));
24010
- var EvalEngineFlowDetail = lazyActionComponent(() => import("./EvalEngineFlowDetail-VCLYU5FV.js").then((module) => ({ default: module.EvalEngineFlowDetail })));
24039
+ var EvalEngineConfig = lazyActionComponent(() => import("./EvalEngineConfig-NATHCR6D.js").then((module) => ({ default: module.EvalEngineConfig })));
24040
+ var EvalEngineFlowDetail = lazyActionComponent(() => import("./EvalEngineFlowDetail-K4UUV3SQ.js").then((module) => ({ default: module.EvalEngineFlowDetail })));
24011
24041
  registerActionTypeUI(EVAL_ENGINE_ACTION_TYPE, {
24012
24042
  label: "Evaluation Engine",
24013
24043
  description: "Enroll a collection and publish its claim-approval rules in one step",
@@ -24024,7 +24054,7 @@ import { IconPlugConnected as IconPlugConnected2 } from "@tabler/icons-react";
24024
24054
 
24025
24055
  // src/mantine/blocks/action/actionTypes/evalConnect/EvalConnectConfig.tsx
24026
24056
  import React219, { useCallback as useCallback83, useEffect as useEffect86, useMemo as useMemo106, useState as useState105 } from "react";
24027
- import { Alert as Alert40, Button as Button44, Group as Group84, Loader as Loader42, Paper as Paper16, Select as Select5, Stack as Stack137, Text as Text142 } from "@mantine/core";
24057
+ import { Alert as Alert40, Button as Button44, Group as Group83, Loader as Loader42, Paper as Paper16, Select as Select5, Stack as Stack136, Text as Text142 } from "@mantine/core";
24028
24058
  import { IconBolt as IconBolt11, IconPencil } from "@tabler/icons-react";
24029
24059
 
24030
24060
  // src/mantine/blocks/action/stepLabel.ts
@@ -24082,9 +24112,9 @@ var ModeCard = ({ active, icon: icon2, title, description, onClick }) => /* @__P
24082
24112
  transition: "border-color 120ms ease, background 120ms ease"
24083
24113
  }
24084
24114
  },
24085
- /* @__PURE__ */ React219.createElement(Stack137, { gap: 4 }, /* @__PURE__ */ React219.createElement(Group84, { gap: 6, align: "center", wrap: "nowrap" }, icon2, /* @__PURE__ */ React219.createElement(Text142, { size: "sm", fw: 600 }, title)), /* @__PURE__ */ React219.createElement(Text142, { size: "xs", c: "dimmed" }, description))
24115
+ /* @__PURE__ */ React219.createElement(Stack136, { gap: 4 }, /* @__PURE__ */ React219.createElement(Group83, { gap: 6, align: "center", wrap: "nowrap" }, icon2, /* @__PURE__ */ React219.createElement(Text142, { size: "sm", fw: 600 }, title)), /* @__PURE__ */ React219.createElement(Text142, { size: "xs", c: "dimmed" }, description))
24086
24116
  );
24087
- var GrantCapInput = ({ title, description, value, onChange, collectionUsdcDenom }) => /* @__PURE__ */ React219.createElement(Stack137, { gap: 4 }, /* @__PURE__ */ React219.createElement(Text142, { size: "sm", fw: 500 }, title), /* @__PURE__ */ React219.createElement(Text142, { size: "xs", c: "dimmed" }, description), /* @__PURE__ */ React219.createElement(Group84, { grow: true, align: "flex-start" }, /* @__PURE__ */ React219.createElement(
24117
+ var GrantCapInput = ({ title, description, value, onChange, collectionUsdcDenom }) => /* @__PURE__ */ React219.createElement(Stack136, { gap: 4 }, /* @__PURE__ */ React219.createElement(Text142, { size: "sm", fw: 500 }, title), /* @__PURE__ */ React219.createElement(Text142, { size: "xs", c: "dimmed" }, description), /* @__PURE__ */ React219.createElement(Group83, { grow: true, align: "flex-start" }, /* @__PURE__ */ React219.createElement(
24088
24118
  BaseNumberInput,
24089
24119
  {
24090
24120
  label: "IXO",
@@ -24218,7 +24248,7 @@ var EvalConnectConfig = ({ inputs, onInputsChange, editor, blockId }) => {
24218
24248
  })),
24219
24249
  [collections]
24220
24250
  );
24221
- return /* @__PURE__ */ React219.createElement(Stack137, { gap: "md" }, /* @__PURE__ */ React219.createElement(Stack137, { gap: 6 }, /* @__PURE__ */ React219.createElement(Text142, { size: "sm", fw: 600 }, "How is the collection chosen?"), /* @__PURE__ */ React219.createElement(Group84, { gap: "sm", align: "stretch", grow: true }, /* @__PURE__ */ React219.createElement(
24251
+ return /* @__PURE__ */ React219.createElement(Stack136, { gap: "md" }, /* @__PURE__ */ React219.createElement(Stack136, { gap: 6 }, /* @__PURE__ */ React219.createElement(Text142, { size: "sm", fw: 600 }, "How is the collection chosen?"), /* @__PURE__ */ React219.createElement(Group83, { gap: "sm", align: "stretch", grow: true }, /* @__PURE__ */ React219.createElement(
24222
24252
  ModeCard,
24223
24253
  {
24224
24254
  active: mode === "trigger",
@@ -24236,7 +24266,7 @@ var EvalConnectConfig = ({ inputs, onInputsChange, editor, blockId }) => {
24236
24266
  description: "Pick the entity and an existing collection yourself.",
24237
24267
  onClick: switchToManual
24238
24268
  }
24239
- ))), mode === "trigger" ? /* @__PURE__ */ React219.createElement(Stack137, { gap: "sm" }, /* @__PURE__ */ React219.createElement(
24269
+ ))), mode === "trigger" ? /* @__PURE__ */ React219.createElement(Stack136, { gap: "sm" }, /* @__PURE__ */ React219.createElement(
24240
24270
  Select5,
24241
24271
  {
24242
24272
  label: "Source collection block",
@@ -24250,7 +24280,7 @@ var EvalConnectConfig = ({ inputs, onInputsChange, editor, blockId }) => {
24250
24280
  disabled: sourceOptions.length === 0,
24251
24281
  searchable: true
24252
24282
  }
24253
- ), selectedSource ? /* @__PURE__ */ React219.createElement(Alert40, { color: "accent", styles: actionAlertStyles }, /* @__PURE__ */ React219.createElement(Text142, { size: "xs" }, "Connects an evaluator the moment ", /* @__PURE__ */ React219.createElement("b", null, selectedSource.label), " creates its collection. The entity and collection are taken from that event \u2014 there's nothing to enter here.")) : /* @__PURE__ */ React219.createElement(Text142, { size: "xs", c: "dimmed" }, "Choose the Claim Collection block whose \u201Ccreated\u201D event should trigger connecting an evaluator. Until it fires, this block waits.")) : /* @__PURE__ */ React219.createElement(Stack137, { gap: "md" }, /* @__PURE__ */ React219.createElement(
24283
+ ), selectedSource ? /* @__PURE__ */ React219.createElement(Alert40, { color: "accent", styles: actionAlertStyles }, /* @__PURE__ */ React219.createElement(Text142, { size: "xs" }, "Connects an evaluator the moment ", /* @__PURE__ */ React219.createElement("b", null, selectedSource.label), " creates its collection. The entity and collection are taken from that event \u2014 there's nothing to enter here.")) : /* @__PURE__ */ React219.createElement(Text142, { size: "xs", c: "dimmed" }, "Choose the Claim Collection block whose \u201Ccreated\u201D event should trigger connecting an evaluator. Until it fires, this block waits.")) : /* @__PURE__ */ React219.createElement(Stack136, { gap: "md" }, /* @__PURE__ */ React219.createElement(
24254
24284
  BaseTextInput,
24255
24285
  {
24256
24286
  label: "Entity (deed) DID",
@@ -24311,9 +24341,9 @@ var EvalConnectConfig = ({ inputs, onInputsChange, editor, blockId }) => {
24311
24341
  };
24312
24342
 
24313
24343
  // src/mantine/blocks/action/actionTypes/evalConnect/EvalConnectFlowDetail.tsx
24314
- import React222, { useCallback as useCallback86, useEffect as useEffect89, useMemo as useMemo108, useRef as useRef26, useState as useState108 } from "react";
24315
- import { Badge as Badge39, Box as Box49, Button as Button47, Group as Group87, Loader as Loader45, Overlay as Overlay2, Radio as Radio3, Stack as Stack140, Text as Text145 } from "@mantine/core";
24316
- import { IconAlertCircle as IconAlertCircle25, IconAlertTriangle as IconAlertTriangle10, IconCheck as IconCheck18, IconCircleCheck as IconCircleCheck2, IconCircleDashed as IconCircleDashed4, IconCircleX, IconShieldCheck as IconShieldCheck17 } from "@tabler/icons-react";
24344
+ import React222, { useCallback as useCallback86, useEffect as useEffect89, useMemo as useMemo108, useRef as useRef27, useState as useState108 } from "react";
24345
+ import { Badge as Badge39, Box as Box49, Button as Button47, Group as Group86, Loader as Loader45, Overlay as Overlay2, Radio as Radio3, Stack as Stack139, Text as Text145 } from "@mantine/core";
24346
+ import { IconAlertCircle as IconAlertCircle25, IconAlertTriangle as IconAlertTriangle10, IconCheck as IconCheck18, IconCircleCheck as IconCircleCheck2, IconCircleDashed as IconCircleDashed4, IconCircleX, IconShieldCheck as IconShieldCheck16 } from "@tabler/icons-react";
24317
24347
 
24318
24348
  // src/mantine/blocks/action/actionTypes/evalConnect/selection.ts
24319
24349
  function resolveEvalConnectSelection(listings, manualSelectionEntityDid) {
@@ -24360,8 +24390,8 @@ function deriveEvalConnectStepStatuses(params) {
24360
24390
  }
24361
24391
 
24362
24392
  // src/mantine/blocks/action/actionTypes/evalConnect/WorkerPaySetting.tsx
24363
- import React220, { useCallback as useCallback84, useEffect as useEffect87, useRef as useRef24, useState as useState106 } from "react";
24364
- import { Button as Button45, Group as Group85, Loader as Loader43, Radio as Radio2, Stack as Stack138, Text as Text143 } from "@mantine/core";
24393
+ import React220, { useCallback as useCallback84, useEffect as useEffect87, useRef as useRef25, useState as useState106 } from "react";
24394
+ import { Button as Button45, Group as Group84, Loader as Loader43, Radio as Radio2, Stack as Stack137, Text as Text143 } from "@mantine/core";
24365
24395
  var LOG2 = "[eval.connect]";
24366
24396
  var REFUSALS = {
24367
24397
  collection_not_found: "The chain hasn\u2019t indexed this collection yet. Try again in a minute.",
@@ -24401,10 +24431,10 @@ function settingsMessage(result) {
24401
24431
  return "The evaluation service couldn\u2019t be reached. Try again in a moment.";
24402
24432
  }
24403
24433
  }
24404
- var HowItWorks = ({ summary, examples = [], warning }) => /* @__PURE__ */ React220.createElement(Stack138, { gap: 4, pl: "lg", pt: 4 }, /* @__PURE__ */ React220.createElement(Text143, { size: "xs", fw: 600 }, "How it\u2019s worked out"), summary.map((line2) => /* @__PURE__ */ React220.createElement(Text143, { key: line2, size: "xs", c: "dimmed" }, line2)), examples.length > 0 && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", fw: 600, pt: 2 }, "For example"), examples.map((line2) => /* @__PURE__ */ React220.createElement(Text143, { key: line2, size: "xs", c: "dimmed" }, line2)), warning && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "var(--mantine-color-red-6)" }, warning));
24434
+ var HowItWorks = ({ summary, examples = [], warning }) => /* @__PURE__ */ React220.createElement(Stack137, { gap: 4, pl: "lg", pt: 4 }, /* @__PURE__ */ React220.createElement(Text143, { size: "xs", fw: 600 }, "How it\u2019s worked out"), summary.map((line2) => /* @__PURE__ */ React220.createElement(Text143, { key: line2, size: "xs", c: "dimmed" }, line2)), examples.length > 0 && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", fw: 600, pt: 2 }, "For example"), examples.map((line2) => /* @__PURE__ */ React220.createElement(Text143, { key: line2, size: "xs", c: "dimmed" }, line2)), warning && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "var(--mantine-color-red-6)" }, warning));
24405
24435
  var WorkerPaySetting = ({ protocolDid, entityDid, collectionId, oracleDid, oracleName, cap }) => {
24406
24436
  const handlers = useBlocknoteHandlers();
24407
- const handlersRef = useRef24(handlers);
24437
+ const handlersRef = useRef25(handlers);
24408
24438
  useEffect87(() => {
24409
24439
  handlersRef.current = handlers;
24410
24440
  }, [handlers]);
@@ -24416,7 +24446,7 @@ var WorkerPaySetting = ({ protocolDid, entityDid, collectionId, oracleDid, oracl
24416
24446
  const [loading, setLoading] = useState106(false);
24417
24447
  const [saving, setSaving] = useState106(null);
24418
24448
  const [error, setError] = useState106(null);
24419
- const requestRef = useRef24(0);
24449
+ const requestRef = useRef25(0);
24420
24450
  const load = useCallback84(
24421
24451
  async (silent) => {
24422
24452
  const h = handlersRef.current;
@@ -24503,7 +24533,7 @@ var WorkerPaySetting = ({ protocolDid, entityDid, collectionId, oracleDid, oracl
24503
24533
  const capText = cap?.length ? `Never more than ${formatCapCoins(cap, "")} per claim, the maximum you set when connecting the service.` : "You didn\u2019t set a maximum when connecting the service, so it can\u2019t pay an amount of its own.";
24504
24534
  const oracleDescription = serviceOffers === false ? mode === "oracle" ? `${service} hasn\u2019t published any pricing of its own, so the collection\u2019s fixed amount is paid. Pick another way.` : `${service} hasn\u2019t published any pricing of its own, so this isn\u2019t offered.` : companyUnknown && mode !== "oracle" ? "Can\u2019t confirm card/USDC payouts are off right now, so this can\u2019t be picked yet." : `Paid on chain. The amount can differ per claim. ${capText}`;
24505
24535
  const companyReason = !companySupported || !entityDid ? "Not available here." : !payouts ? "Checking your payouts account\u2026" : payouts.status === "none" ? "Set up your company\u2019s payouts account first." : payouts.status === "untrusted" ? "Your payouts account couldn\u2019t be verified, so it can\u2019t be used." : payouts.status === "unreadable" ? "Your payouts account couldn\u2019t be checked. Try again in a moment." : company?.access === "forbidden" ? "Only an admin of this company can choose this." : null;
24506
- return /* @__PURE__ */ React220.createElement(Stack138, { gap: 8 }, /* @__PURE__ */ React220.createElement(Text143, { size: "sm", fw: 600 }, "How are workers paid?"), /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "When this evaluation service approves a claim, the worker who sent it gets paid. Pick one way."), !settings && /* @__PURE__ */ React220.createElement(Group85, { gap: "xs" }, /* @__PURE__ */ React220.createElement(Loader43, { size: 14 }), /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "Checking how this collection pays\u2026")), needsCheck && /* @__PURE__ */ React220.createElement(Group85, { gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "Unlock to see how this collection pays workers."), /* @__PURE__ */ React220.createElement(Button45, { variant: "outline", size: "xs", onClick: () => void load(false), loading }, "Check")), settings && settings.status !== "ok" && settings.status !== "unauthorized" && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, settingsMessage(settings)), mode && /* @__PURE__ */ React220.createElement(Radio2.Group, { value: mode, onChange: (value) => void choose(value) }, /* @__PURE__ */ React220.createElement(Stack138, { gap: "sm" }, /* @__PURE__ */ React220.createElement(
24536
+ return /* @__PURE__ */ React220.createElement(Stack137, { gap: 8 }, /* @__PURE__ */ React220.createElement(Text143, { size: "sm", fw: 600 }, "How are workers paid?"), /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "When this evaluation service approves a claim, the worker who sent it gets paid. Pick one way."), !settings && /* @__PURE__ */ React220.createElement(Group84, { gap: "xs" }, /* @__PURE__ */ React220.createElement(Loader43, { size: 14 }), /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "Checking how this collection pays\u2026")), needsCheck && /* @__PURE__ */ React220.createElement(Group84, { gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "Unlock to see how this collection pays workers."), /* @__PURE__ */ React220.createElement(Button45, { variant: "outline", size: "xs", onClick: () => void load(false), loading }, "Check")), settings && settings.status !== "ok" && settings.status !== "unauthorized" && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, settingsMessage(settings)), mode && /* @__PURE__ */ React220.createElement(Radio2.Group, { value: mode, onChange: (value) => void choose(value) }, /* @__PURE__ */ React220.createElement(Stack137, { gap: "sm" }, /* @__PURE__ */ React220.createElement(
24507
24537
  Radio2,
24508
24538
  {
24509
24539
  value: "standard",
@@ -24519,12 +24549,12 @@ var WorkerPaySetting = ({ protocolDid, entityDid, collectionId, oracleDid, oracl
24519
24549
  label: "By card or USDC from your payouts account",
24520
24550
  description: companyReason ?? "The amount comes from the claim form. You choose which answer and the currency in a payout rule."
24521
24551
  }
24522
- ), explainer?.company.status === "ok" && /* @__PURE__ */ React220.createElement(HowItWorks, { summary: explainer.company.summary, examples: explainer.company.examples, warning: explainer.company.warning }), explainer?.company.status === "none" && !companyReason && /* @__PURE__ */ React220.createElement(HowItWorks, { summary: ["No payout rule yet. Pick this, then set the rule: which answer on the form is the amount, the currency and the limits."] }), explainer?.company.status === "invalid" && /* @__PURE__ */ React220.createElement(HowItWorks, { summary: ["Your payout rule is out of date. Set a new rule before anything is paid."] }))), settings?.status === "ok" && settings.settings.operatorAmounts === "allowed" && !settings.settings.effective && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "A previous owner let the evaluation service pick amounts. That stopped when the collection changed owner."), saving && /* @__PURE__ */ React220.createElement(Group85, { gap: "xs" }, /* @__PURE__ */ React220.createElement(Loader43, { size: 14 }), /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "Switching\u2026 confirm with your PIN.")), mode === "company" && company && /* @__PURE__ */ React220.createElement(Stack138, { gap: 6, pl: "lg" }, /* @__PURE__ */ React220.createElement(Text143, { size: "xs" }, company.ruleSet ? "\u2713 Your payout rule is set. Approved claims are paid by it." : "One more step: nothing is paid until you set the payout rule."), company.rulesUrl && /* @__PURE__ */ React220.createElement(Group85, null, /* @__PURE__ */ React220.createElement(Button45, { component: "a", href: company.rulesUrl, target: "_blank", rel: "noopener noreferrer", size: "xs", variant: company.ruleSet ? "outline" : "filled" }, company.ruleSet ? "Edit payout rule" : "Set payout rule"))), error && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "var(--mantine-color-red-6)" }, error));
24552
+ ), explainer?.company.status === "ok" && /* @__PURE__ */ React220.createElement(HowItWorks, { summary: explainer.company.summary, examples: explainer.company.examples, warning: explainer.company.warning }), explainer?.company.status === "none" && !companyReason && /* @__PURE__ */ React220.createElement(HowItWorks, { summary: ["No payout rule yet. Pick this, then set the rule: which answer on the form is the amount, the currency and the limits."] }), explainer?.company.status === "invalid" && /* @__PURE__ */ React220.createElement(HowItWorks, { summary: ["Your payout rule is out of date. Set a new rule before anything is paid."] }))), settings?.status === "ok" && settings.settings.operatorAmounts === "allowed" && !settings.settings.effective && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "A previous owner let the evaluation service pick amounts. That stopped when the collection changed owner."), saving && /* @__PURE__ */ React220.createElement(Group84, { gap: "xs" }, /* @__PURE__ */ React220.createElement(Loader43, { size: 14 }), /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "dimmed" }, "Switching\u2026 confirm with your PIN.")), mode === "company" && company && /* @__PURE__ */ React220.createElement(Stack137, { gap: 6, pl: "lg" }, /* @__PURE__ */ React220.createElement(Text143, { size: "xs" }, company.ruleSet ? "\u2713 Your payout rule is set. Approved claims are paid by it." : "One more step: nothing is paid until you set the payout rule."), company.rulesUrl && /* @__PURE__ */ React220.createElement(Group84, null, /* @__PURE__ */ React220.createElement(Button45, { component: "a", href: company.rulesUrl, target: "_blank", rel: "noopener noreferrer", size: "xs", variant: company.ruleSet ? "outline" : "filled" }, company.ruleSet ? "Edit payout rule" : "Set payout rule"))), error && /* @__PURE__ */ React220.createElement(Text143, { size: "xs", c: "var(--mantine-color-red-6)" }, error));
24523
24553
  };
24524
24554
 
24525
24555
  // src/mantine/blocks/action/actionTypes/evalConnect/ReviewersSetting.tsx
24526
- import React221, { useCallback as useCallback85, useEffect as useEffect88, useMemo as useMemo107, useRef as useRef25, useState as useState107 } from "react";
24527
- import { Badge as Badge38, Button as Button46, Group as Group86, Loader as Loader44, SegmentedControl as SegmentedControl9, Stack as Stack139, Text as Text144, TextInput as TextInput6 } from "@mantine/core";
24556
+ import React221, { useCallback as useCallback85, useEffect as useEffect88, useMemo as useMemo107, useRef as useRef26, useState as useState107 } from "react";
24557
+ import { Badge as Badge38, Button as Button46, Group as Group85, Loader as Loader44, SegmentedControl as SegmentedControl9, Stack as Stack138, Text as Text144, TextInput as TextInput6 } from "@mantine/core";
24528
24558
  var LOG3 = "[eval.connect]";
24529
24559
  var DURATIONS = ["7", "14", "30"];
24530
24560
  function shortDid(did) {
@@ -24555,7 +24585,7 @@ function refusalMessage(result) {
24555
24585
  }
24556
24586
  var ReviewersSetting = ({ protocolDid, collectionId, entityDid }) => {
24557
24587
  const handlers = useBlocknoteHandlers();
24558
- const handlersRef = useRef25(handlers);
24588
+ const handlersRef = useRef26(handlers);
24559
24589
  useEffect88(() => {
24560
24590
  handlersRef.current = handlers;
24561
24591
  }, [handlers]);
@@ -24566,8 +24596,8 @@ var ReviewersSetting = ({ protocolDid, collectionId, entityDid }) => {
24566
24596
  const [actionError, setActionError] = useState107(null);
24567
24597
  const [reviewer, setReviewer] = useState107("");
24568
24598
  const [days, setDays] = useState107("30");
24569
- const requestRef = useRef25(0);
24570
- const actionRef = useRef25(0);
24599
+ const requestRef = useRef26(0);
24600
+ const actionRef = useRef26(0);
24571
24601
  const load = useCallback85(
24572
24602
  async (silent) => {
24573
24603
  const read = handlersRef.current.listCollectionReviewers;
@@ -24631,7 +24661,7 @@ var ReviewersSetting = ({ protocolDid, collectionId, entityDid }) => {
24631
24661
  if (!supported || !protocolDid || !collectionId || !entityDid) return null;
24632
24662
  if (result?.status === "forbidden") return null;
24633
24663
  const message = result && result.status !== "ok" && result.status !== "unauthorized" ? refusalMessage(result) : null;
24634
- return /* @__PURE__ */ React221.createElement(Stack139, { gap: 6 }, /* @__PURE__ */ React221.createElement(Text144, { size: "sm", fw: 600 }, "Reviewers"), !result && loading && /* @__PURE__ */ React221.createElement(Group86, { gap: "xs" }, /* @__PURE__ */ React221.createElement(Loader44, { size: 14 }), /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "Checking who can review\u2026")), result?.status === "unauthorized" && /* @__PURE__ */ React221.createElement(Group86, { gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "See who can answer this collection\u2019s review questions."), /* @__PURE__ */ React221.createElement(Button46, { variant: "outline", size: "xs", onClick: () => void load(false), loading }, "Show reviewers")), result?.status === "ok" && /* @__PURE__ */ React221.createElement(React221.Fragment, null, /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "Reviewers answer the questions the evaluation service can\u2019t decide on its own. Each answer is signed and carries the access you gave them."), rows.length === 0 && /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "No one can review this collection yet."), rows.map((row) => /* @__PURE__ */ React221.createElement(Group86, { key: row.delegationCid, gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React221.createElement(Group86, { gap: 6, wrap: "nowrap", miw: 0 }, /* @__PURE__ */ React221.createElement(Text144, { size: "sm", truncate: true, title: row.memberDid }, shortDid(row.memberDid)), /* @__PURE__ */ React221.createElement(Badge38, { size: "xs", variant: "light", color: "green" }, "Until ", formatDate2(row.expiresAt))), /* @__PURE__ */ React221.createElement(Button46, { variant: "subtle", size: "xs", color: "red", loading: busy === `revoke:${row.delegationCid}`, disabled: !!busy, onClick: () => void revoke(row) }, "Remove"))), /* @__PURE__ */ React221.createElement(Stack139, { gap: 6, mt: 4 }, /* @__PURE__ */ React221.createElement(
24664
+ return /* @__PURE__ */ React221.createElement(Stack138, { gap: 6 }, /* @__PURE__ */ React221.createElement(Text144, { size: "sm", fw: 600 }, "Reviewers"), !result && loading && /* @__PURE__ */ React221.createElement(Group85, { gap: "xs" }, /* @__PURE__ */ React221.createElement(Loader44, { size: 14 }), /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "Checking who can review\u2026")), result?.status === "unauthorized" && /* @__PURE__ */ React221.createElement(Group85, { gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "See who can answer this collection\u2019s review questions."), /* @__PURE__ */ React221.createElement(Button46, { variant: "outline", size: "xs", onClick: () => void load(false), loading }, "Show reviewers")), result?.status === "ok" && /* @__PURE__ */ React221.createElement(React221.Fragment, null, /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "Reviewers answer the questions the evaluation service can\u2019t decide on its own. Each answer is signed and carries the access you gave them."), rows.length === 0 && /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "No one can review this collection yet."), rows.map((row) => /* @__PURE__ */ React221.createElement(Group85, { key: row.delegationCid, gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React221.createElement(Group85, { gap: 6, wrap: "nowrap", miw: 0 }, /* @__PURE__ */ React221.createElement(Text144, { size: "sm", truncate: true, title: row.memberDid }, shortDid(row.memberDid)), /* @__PURE__ */ React221.createElement(Badge38, { size: "xs", variant: "light", color: "green" }, "Until ", formatDate2(row.expiresAt))), /* @__PURE__ */ React221.createElement(Button46, { variant: "subtle", size: "xs", color: "red", loading: busy === `revoke:${row.delegationCid}`, disabled: !!busy, onClick: () => void revoke(row) }, "Remove"))), /* @__PURE__ */ React221.createElement(Stack138, { gap: 6, mt: 4 }, /* @__PURE__ */ React221.createElement(
24635
24665
  TextInput6,
24636
24666
  {
24637
24667
  size: "xs",
@@ -24641,7 +24671,7 @@ var ReviewersSetting = ({ protocolDid, collectionId, entityDid }) => {
24641
24671
  onChange: (e) => setReviewer(e.currentTarget.value),
24642
24672
  disabled: !!busy
24643
24673
  }
24644
- ), /* @__PURE__ */ React221.createElement(Group86, { gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React221.createElement(SegmentedControl9, { size: "xs", data: DURATIONS.map((value) => ({ value, label: `${value} days` })), value: days, onChange: setDays, disabled: !!busy }), /* @__PURE__ */ React221.createElement(Button46, { size: "xs", onClick: () => void grant(), loading: busy === "grant", disabled: !!busy || !reviewer.trim() }, "Give review access")), /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "People who evaluate or own this collection can\u2019t also review it."))), message && /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, message), actionError && /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "var(--mantine-color-red-6)" }, actionError));
24674
+ ), /* @__PURE__ */ React221.createElement(Group85, { gap: "xs", justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React221.createElement(SegmentedControl9, { size: "xs", data: DURATIONS.map((value) => ({ value, label: `${value} days` })), value: days, onChange: setDays, disabled: !!busy }), /* @__PURE__ */ React221.createElement(Button46, { size: "xs", onClick: () => void grant(), loading: busy === "grant", disabled: !!busy || !reviewer.trim() }, "Give review access")), /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, "People who evaluate or own this collection can\u2019t also review it."))), message && /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "dimmed" }, message), actionError && /* @__PURE__ */ React221.createElement(Text144, { size: "xs", c: "var(--mantine-color-red-6)" }, actionError));
24645
24675
  };
24646
24676
 
24647
24677
  // src/mantine/blocks/action/actionTypes/evalConnect/EvalConnectFlowDetail.tsx
@@ -24668,12 +24698,12 @@ var EvalConnectFlowDetail = ({
24668
24698
  executeAction
24669
24699
  }) => {
24670
24700
  const handlers = useBlocknoteHandlers();
24671
- const handlersRef = useRef26(handlers);
24701
+ const handlersRef = useRef27(handlers);
24672
24702
  useEffect89(() => {
24673
24703
  handlersRef.current = handlers;
24674
24704
  }, [handlers]);
24675
24705
  const services = useMemo108(() => buildServicesFromHandlers(handlers), [handlers]);
24676
- const servicesRef = useRef26(services);
24706
+ const servicesRef = useRef27(services);
24677
24707
  useEffect89(() => {
24678
24708
  servicesRef.current = services;
24679
24709
  }, [services]);
@@ -24861,17 +24891,17 @@ var EvalConnectFlowDetail = ({
24861
24891
  }, [updateRuntime]);
24862
24892
  const title = block2?.props?.title || "Connect Evaluation Service";
24863
24893
  const description = block2?.props?.description || "";
24864
- return /* @__PURE__ */ React222.createElement(Stack140, { gap: "md", pos: "relative" }, /* @__PURE__ */ React222.createElement(Stack140, { gap: 2 }, /* @__PURE__ */ React222.createElement(Text145, { fw: 600 }, title), description && /* @__PURE__ */ React222.createElement(Text145, { size: "sm", c: "dimmed" }, description)), (!deedDid || !collectionId) && !hasProof && /* @__PURE__ */ React222.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, "Configure the entity (deed) DID and claim collection in template mode, or wait for the trigger to fire, before connecting an evaluator."), deedDid && collectionId && !hasProof && /* @__PURE__ */ React222.createElement(Stack140, { gap: "sm" }, collectionLookupError && /* @__PURE__ */ React222.createElement(DismissibleAlert, { color: "red", styles: actionAlertStyles }, collectionLookupError), !collectionLookupError && loadingListings && /* @__PURE__ */ React222.createElement(Group87, { gap: "xs" }, /* @__PURE__ */ React222.createElement(Loader45, { size: "xs" }), /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, "Looking up this protocol\u2019s evaluator\u2026")), listingsError && /* @__PURE__ */ React222.createElement(DismissibleAlert, { color: "red", styles: actionAlertStyles }, listingsError), !loadingListings && !listingsError && protocolDid && selectionOutcome.kind === "empty" && /* @__PURE__ */ React222.createElement(Box49, { style: { border: "1px dashed var(--mantine-color-neutralColor-6)", borderRadius: 8, padding: 12 } }, /* @__PURE__ */ React222.createElement(Text145, { size: "sm", c: "dimmed" }, "No evaluator serves this protocol yet. Signing stays locked until one registers.")), !loadingListings && selectionOutcome.kind === "pick" && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertTriangle10, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This protocol declares ", selectionOutcome.listings.length, " evaluators \u2014 the 1:1 owner\u2194protocol convention is violated. Pick which one to connect.")), !loadingListings && selectionOutcome.kind === "pick" && /* @__PURE__ */ React222.createElement(Radio3.Group, { value: manualSelection, onChange: setManualSelection }, /* @__PURE__ */ React222.createElement(Stack140, { gap: "xs" }, selectionOutcome.listings.map((listing) => /* @__PURE__ */ React222.createElement(
24894
+ return /* @__PURE__ */ React222.createElement(Stack139, { gap: "md", pos: "relative" }, /* @__PURE__ */ React222.createElement(Stack139, { gap: 2 }, /* @__PURE__ */ React222.createElement(Text145, { fw: 600 }, title), description && /* @__PURE__ */ React222.createElement(Text145, { size: "sm", c: "dimmed" }, description)), (!deedDid || !collectionId) && !hasProof && /* @__PURE__ */ React222.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, "Configure the entity (deed) DID and claim collection in template mode, or wait for the trigger to fire, before connecting an evaluator."), deedDid && collectionId && !hasProof && /* @__PURE__ */ React222.createElement(Stack139, { gap: "sm" }, collectionLookupError && /* @__PURE__ */ React222.createElement(DismissibleAlert, { color: "red", styles: actionAlertStyles }, collectionLookupError), !collectionLookupError && loadingListings && /* @__PURE__ */ React222.createElement(Group86, { gap: "xs" }, /* @__PURE__ */ React222.createElement(Loader45, { size: "xs" }), /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, "Looking up this protocol\u2019s evaluator\u2026")), listingsError && /* @__PURE__ */ React222.createElement(DismissibleAlert, { color: "red", styles: actionAlertStyles }, listingsError), !loadingListings && !listingsError && protocolDid && selectionOutcome.kind === "empty" && /* @__PURE__ */ React222.createElement(Box49, { style: { border: "1px dashed var(--mantine-color-neutralColor-6)", borderRadius: 8, padding: 12 } }, /* @__PURE__ */ React222.createElement(Text145, { size: "sm", c: "dimmed" }, "No evaluator serves this protocol yet. Signing stays locked until one registers.")), !loadingListings && selectionOutcome.kind === "pick" && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertTriangle10, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This protocol declares ", selectionOutcome.listings.length, " evaluators \u2014 the 1:1 owner\u2194protocol convention is violated. Pick which one to connect.")), !loadingListings && selectionOutcome.kind === "pick" && /* @__PURE__ */ React222.createElement(Radio3.Group, { value: manualSelection, onChange: setManualSelection }, /* @__PURE__ */ React222.createElement(Stack139, { gap: "xs" }, selectionOutcome.listings.map((listing) => /* @__PURE__ */ React222.createElement(
24865
24895
  Radio3,
24866
24896
  {
24867
24897
  key: listing.entityDid,
24868
24898
  value: listing.entityDid,
24869
24899
  label: `${listing.name || listing.entityDid} \u2014 ${fromBaseUnits(listing.pricing.evaluation.minAmount)} ${tokenLabel2(listing.pricing.evaluation.denom)} / claim`
24870
24900
  }
24871
- )))), selected && /* @__PURE__ */ React222.createElement(Box49, { style: { border: "1px solid var(--mantine-color-neutralColor-6)", borderRadius: 8, padding: 12, background: "var(--mantine-color-neutralColor-5)" } }, /* @__PURE__ */ React222.createElement(Stack140, { gap: 8 }, /* @__PURE__ */ React222.createElement(Group87, { justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React222.createElement(Group87, { gap: 6, wrap: "nowrap" }, /* @__PURE__ */ React222.createElement(Text145, { fw: 600 }, selected.name || selected.entityDid), selected.verified && /* @__PURE__ */ React222.createElement(Badge39, { color: "teal", leftSection: /* @__PURE__ */ React222.createElement(IconShieldCheck17, { size: 12 }), size: "sm" }, "Verified")), /* @__PURE__ */ React222.createElement(Text145, { size: "sm", fw: 500 }, fromBaseUnits(selected.pricing.evaluation.minAmount), " ", tokenLabel2(selected.pricing.evaluation.denom), " / claim")), selected.description && /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, selected.description), /* @__PURE__ */ React222.createElement(Group87, { gap: 6 }, /* @__PURE__ */ React222.createElement(Badge39, { variant: "light", color: selected.policies.allowAiChecks ? "accent" : "neutralColor", size: "sm" }, "AI checks ", selected.policies.allowAiChecks ? "on" : "off"), /* @__PURE__ */ React222.createElement(Badge39, { variant: "light", color: selected.policies.allowImageChecks ? "accent" : "neutralColor", size: "sm" }, "Photo screening ", selected.policies.allowImageChecks ? "on" : "off"), /* @__PURE__ */ React222.createElement(Badge39, { variant: "light", color: selected.policies.autoSign ? "accent" : "neutralColor", size: "sm" }, "Auto-sign ", selected.policies.autoSign ? "on" : "off")), selected.stats && /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, selected.stats.decisions, " decisions decided \xB7 ", (selected.stats.decidedShareBps / 100).toFixed(1), "% decided share"), !affordable && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertTriangle10, { size: 16 }), color: "yellow", styles: actionAlertStyles }, evaluationLeg && evaluationLeg.denom !== selected.pricing.evaluation.denom ? /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This evaluator charges in ", tokenLabel2(selected.pricing.evaluation.denom), ", but this collection pays its evaluation fee in ", tokenLabel2(evaluationLeg.denom), ". Change the collection\u2019s evaluation payment to ", tokenLabel2(selected.pricing.evaluation.denom), " before connecting.") : /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This evaluator\u2019s price (", fromBaseUnits(selected.pricing.evaluation.minAmount), " ", tokenLabel2(selected.pricing.evaluation.denom), ") exceeds this collection\u2019s evaluation fee. Raise the collection\u2019s evaluation payment to cover it before connecting.")), !protocolDeclared && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertTriangle10, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This evaluator\u2019s live configuration does not list this protocol. Signing stays locked until the oracle updates its config to support it.")))), selected && /* @__PURE__ */ React222.createElement(Stack140, { gap: 6 }, /* @__PURE__ */ React222.createElement(Text145, { size: "sm", fw: 600 }, "Steps"), CONNECT_STEPS.map((step) => {
24901
+ )))), selected && /* @__PURE__ */ React222.createElement(Box49, { style: { border: "1px solid var(--mantine-color-neutralColor-6)", borderRadius: 8, padding: 12, background: "var(--mantine-color-neutralColor-5)" } }, /* @__PURE__ */ React222.createElement(Stack139, { gap: 8 }, /* @__PURE__ */ React222.createElement(Group86, { justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React222.createElement(Group86, { gap: 6, wrap: "nowrap" }, /* @__PURE__ */ React222.createElement(Text145, { fw: 600 }, selected.name || selected.entityDid), selected.verified && /* @__PURE__ */ React222.createElement(Badge39, { color: "teal", leftSection: /* @__PURE__ */ React222.createElement(IconShieldCheck16, { size: 12 }), size: "sm" }, "Verified")), /* @__PURE__ */ React222.createElement(Text145, { size: "sm", fw: 500 }, fromBaseUnits(selected.pricing.evaluation.minAmount), " ", tokenLabel2(selected.pricing.evaluation.denom), " / claim")), selected.description && /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, selected.description), /* @__PURE__ */ React222.createElement(Group86, { gap: 6 }, /* @__PURE__ */ React222.createElement(Badge39, { variant: "light", color: selected.policies.allowAiChecks ? "accent" : "neutralColor", size: "sm" }, "AI checks ", selected.policies.allowAiChecks ? "on" : "off"), /* @__PURE__ */ React222.createElement(Badge39, { variant: "light", color: selected.policies.allowImageChecks ? "accent" : "neutralColor", size: "sm" }, "Photo screening ", selected.policies.allowImageChecks ? "on" : "off"), /* @__PURE__ */ React222.createElement(Badge39, { variant: "light", color: selected.policies.autoSign ? "accent" : "neutralColor", size: "sm" }, "Auto-sign ", selected.policies.autoSign ? "on" : "off")), selected.stats && /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, selected.stats.decisions, " decisions decided \xB7 ", (selected.stats.decidedShareBps / 100).toFixed(1), "% decided share"), !affordable && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertTriangle10, { size: 16 }), color: "yellow", styles: actionAlertStyles }, evaluationLeg && evaluationLeg.denom !== selected.pricing.evaluation.denom ? /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This evaluator charges in ", tokenLabel2(selected.pricing.evaluation.denom), ", but this collection pays its evaluation fee in ", tokenLabel2(evaluationLeg.denom), ". Change the collection\u2019s evaluation payment to ", tokenLabel2(selected.pricing.evaluation.denom), " before connecting.") : /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This evaluator\u2019s price (", fromBaseUnits(selected.pricing.evaluation.minAmount), " ", tokenLabel2(selected.pricing.evaluation.denom), ") exceeds this collection\u2019s evaluation fee. Raise the collection\u2019s evaluation payment to cover it before connecting.")), !protocolDeclared && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertTriangle10, { size: 16 }), color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Text145, { size: "xs" }, "This evaluator\u2019s live configuration does not list this protocol. Signing stays locked until the oracle updates its config to support it.")))), selected && /* @__PURE__ */ React222.createElement(Stack139, { gap: 6 }, /* @__PURE__ */ React222.createElement(Text145, { size: "sm", fw: 600 }, "Steps"), CONNECT_STEPS.map((step) => {
24872
24902
  const status = stepStatuses[step.key];
24873
- return /* @__PURE__ */ React222.createElement(Group87, { key: step.key, gap: 8, wrap: "nowrap" }, status === "done" && /* @__PURE__ */ React222.createElement(IconCircleCheck2, { size: 16, color: "var(--mantine-color-teal-6)" }), status === "pending" && /* @__PURE__ */ React222.createElement(IconCircleDashed4, { size: 16, color: "var(--mantine-color-neutralColor-7)" }), status === "failed" && /* @__PURE__ */ React222.createElement(IconCircleX, { size: 16, color: "var(--mantine-color-red-6)" }), /* @__PURE__ */ React222.createElement(Text145, { size: "sm", c: status === "pending" ? "dimmed" : void 0 }, step.label));
24874
- }))), isStale && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertCircle25, { size: 16 }), color: "yellow", title: "Inconsistent State", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Stack140, { gap: "xs" }, /* @__PURE__ */ React222.createElement(Text145, { size: "sm" }, "Marked completed but no connection was recorded. Stale state from a previous run \u2014 reset and re-run."), /* @__PURE__ */ React222.createElement(Button47, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isFailed && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertCircle25, { size: 16 }), color: "red", title: "Action Failed", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Stack140, { gap: "xs" }, errorMessage && /* @__PURE__ */ React222.createElement(Text145, { size: "sm" }, errorMessage), /* @__PURE__ */ React222.createElement(Button47, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isCompleted && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconCheck18, { size: 16 }), color: "green", styles: actionAlertStyles }, "Connected to ", output?.oracleDid, " \u2014 ", output?.registrationStatus, "."), isCompleted && /* @__PURE__ */ React222.createElement(
24903
+ return /* @__PURE__ */ React222.createElement(Group86, { key: step.key, gap: 8, wrap: "nowrap" }, status === "done" && /* @__PURE__ */ React222.createElement(IconCircleCheck2, { size: 16, color: "var(--mantine-color-teal-6)" }), status === "pending" && /* @__PURE__ */ React222.createElement(IconCircleDashed4, { size: 16, color: "var(--mantine-color-neutralColor-7)" }), status === "failed" && /* @__PURE__ */ React222.createElement(IconCircleX, { size: 16, color: "var(--mantine-color-red-6)" }), /* @__PURE__ */ React222.createElement(Text145, { size: "sm", c: status === "pending" ? "dimmed" : void 0 }, step.label));
24904
+ }))), isStale && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertCircle25, { size: 16 }), color: "yellow", title: "Inconsistent State", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Stack139, { gap: "xs" }, /* @__PURE__ */ React222.createElement(Text145, { size: "sm" }, "Marked completed but no connection was recorded. Stale state from a previous run \u2014 reset and re-run."), /* @__PURE__ */ React222.createElement(Button47, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isFailed && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconAlertCircle25, { size: 16 }), color: "red", title: "Action Failed", styles: actionAlertStyles }, /* @__PURE__ */ React222.createElement(Stack139, { gap: "xs" }, errorMessage && /* @__PURE__ */ React222.createElement(Text145, { size: "sm" }, errorMessage), /* @__PURE__ */ React222.createElement(Button47, { variant: "outline", size: "xs", onClick: handleReset }, "Reset"))), isCompleted && /* @__PURE__ */ React222.createElement(DismissibleAlert, { icon: /* @__PURE__ */ React222.createElement(IconCheck18, { size: 16 }), color: "green", styles: actionAlertStyles }, "Connected to ", output?.oracleDid, " \u2014 ", output?.registrationStatus, "."), isCompleted && /* @__PURE__ */ React222.createElement(
24875
24905
  WorkerPaySetting,
24876
24906
  {
24877
24907
  protocolDid,
@@ -24881,7 +24911,7 @@ var EvalConnectFlowDetail = ({
24881
24911
  oracleName: selected?.name,
24882
24912
  cap: parsed.evaluateMaxAmount
24883
24913
  }
24884
- ), isCompleted && /* @__PURE__ */ React222.createElement(ReviewersSetting, { protocolDid, collectionId, entityDid: deedDid }), isDisabled && /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, "This block is currently disabled."), isRunning && /* @__PURE__ */ React222.createElement(Overlay2, { color: "var(--mantine-color-body)", backgroundOpacity: 0.6, blur: 1, zIndex: 5, radius: "md" }, /* @__PURE__ */ React222.createElement(Group87, { gap: "xs", justify: "center", h: "100%" }, /* @__PURE__ */ React222.createElement(Loader45, { size: 16 }), /* @__PURE__ */ React222.createElement(Text145, { size: "sm" }, "Connecting evaluator\u2026"))));
24914
+ ), isCompleted && /* @__PURE__ */ React222.createElement(ReviewersSetting, { protocolDid, collectionId, entityDid: deedDid }), isDisabled && /* @__PURE__ */ React222.createElement(Text145, { size: "xs", c: "dimmed" }, "This block is currently disabled."), isRunning && /* @__PURE__ */ React222.createElement(Overlay2, { color: "var(--mantine-color-body)", backgroundOpacity: 0.6, blur: 1, zIndex: 5, radius: "md" }, /* @__PURE__ */ React222.createElement(Group86, { gap: "xs", justify: "center", h: "100%" }, /* @__PURE__ */ React222.createElement(Loader45, { size: 16 }), /* @__PURE__ */ React222.createElement(Text145, { size: "sm" }, "Connecting evaluator\u2026"))));
24885
24915
  };
24886
24916
 
24887
24917
  // src/mantine/blocks/action/actionTypes/evalConnect/index.ts
@@ -24900,8 +24930,8 @@ registerActionTypeUI(EVAL_CONNECT_ACTION_TYPE, {
24900
24930
  import { IconGavel as IconGavel4 } from "@tabler/icons-react";
24901
24931
 
24902
24932
  // src/mantine/blocks/action/actionTypes/decisionRequest/DecisionRequestConfig.tsx
24903
- import React223, { useCallback as useCallback87, useEffect as useEffect90, useMemo as useMemo109, useRef as useRef27, useState as useState109 } from "react";
24904
- import { Alert as Alert41, Button as Button48, Group as Group88, Loader as Loader46, Stack as Stack141, Text as Text146 } from "@mantine/core";
24933
+ import React223, { useCallback as useCallback87, useEffect as useEffect90, useMemo as useMemo109, useRef as useRef28, useState as useState109 } from "react";
24934
+ import { Alert as Alert41, Button as Button48, Group as Group87, Loader as Loader46, Stack as Stack140, Text as Text146 } from "@mantine/core";
24905
24935
  import { IconForms, IconPencil as IconPencil2, IconSearch as IconSearch6, IconWand as IconWand2 } from "@tabler/icons-react";
24906
24936
 
24907
24937
  // src/mantine/blocks/action/actionTypes/decisionRequest/surveyFromProtocol.ts
@@ -25092,10 +25122,10 @@ var DecisionRequestConfig = ({ inputs, onInputsChange, editor, blockId }) => {
25092
25122
  const handlers = useBlocknoteHandlers();
25093
25123
  const t = useTranslate();
25094
25124
  const services = useMemo109(() => buildServicesFromHandlers(handlers), [handlers]);
25095
- const servicesRef = useRef27(services);
25125
+ const servicesRef = useRef28(services);
25096
25126
  servicesRef.current = services;
25097
25127
  const [local, setLocal] = useState109(() => parseDecisionRequestInputs(inputs));
25098
- const localRef = useRef27(local);
25128
+ const localRef = useRef28(local);
25099
25129
  localRef.current = local;
25100
25130
  const [oracles, setOracles] = useState109([]);
25101
25131
  const [loadingOracles, setLoadingOracles] = useState109(false);
@@ -25299,7 +25329,7 @@ var DecisionRequestConfig = ({ inputs, onInputsChange, editor, blockId }) => {
25299
25329
  return true;
25300
25330
  }
25301
25331
  }, [local.answers]);
25302
- return /* @__PURE__ */ React223.createElement(Stack141, { gap: "md" }, /* @__PURE__ */ React223.createElement(Stack141, { gap: 4 }, /* @__PURE__ */ React223.createElement(Group88, { justify: "space-between", align: "flex-end", wrap: "nowrap" }, /* @__PURE__ */ React223.createElement(
25332
+ return /* @__PURE__ */ React223.createElement(Stack140, { gap: "md" }, /* @__PURE__ */ React223.createElement(Stack140, { gap: 4 }, /* @__PURE__ */ React223.createElement(Group87, { justify: "space-between", align: "flex-end", wrap: "nowrap" }, /* @__PURE__ */ React223.createElement(
25303
25333
  BaseSelect,
25304
25334
  {
25305
25335
  style: { flex: 1 },
@@ -25340,7 +25370,7 @@ var DecisionRequestConfig = ({ inputs, onInputsChange, editor, blockId }) => {
25340
25370
  disabled: !local.apiUrl,
25341
25371
  searchable: true
25342
25372
  }
25343
- ), /* @__PURE__ */ React223.createElement(Stack141, { gap: 6 }, /* @__PURE__ */ React223.createElement(Text146, { size: "sm", fw: 600 }, t("actionTypes.decisionRequest.config.answersModeTitle", { defaultValue: "How are the answers provided?" })), /* @__PURE__ */ React223.createElement(Group88, { gap: "sm", align: "stretch", grow: true }, /* @__PURE__ */ React223.createElement(
25373
+ ), /* @__PURE__ */ React223.createElement(Stack140, { gap: 6 }, /* @__PURE__ */ React223.createElement(Text146, { size: "sm", fw: 600 }, t("actionTypes.decisionRequest.config.answersModeTitle", { defaultValue: "How are the answers provided?" })), /* @__PURE__ */ React223.createElement(Group87, { gap: "sm", align: "stretch", grow: true }, /* @__PURE__ */ React223.createElement(
25344
25374
  ModeCard,
25345
25375
  {
25346
25376
  active: !answersSource.formMode,
@@ -25358,7 +25388,7 @@ var DecisionRequestConfig = ({ inputs, onInputsChange, editor, blockId }) => {
25358
25388
  description: t("actionTypes.decisionRequest.config.modeFormHint", { defaultValue: "Use the answers someone submits in a Form step of this flow." }),
25359
25389
  onClick: switchToForm
25360
25390
  }
25361
- ))), answersSource.formMode ? /* @__PURE__ */ React223.createElement(Stack141, { gap: "xs" }, /* @__PURE__ */ React223.createElement(
25391
+ ))), answersSource.formMode ? /* @__PURE__ */ React223.createElement(Stack140, { gap: "xs" }, /* @__PURE__ */ React223.createElement(
25362
25392
  BaseSelect,
25363
25393
  {
25364
25394
  label: t("actionTypes.decisionRequest.config.formSourceLabel", { defaultValue: "Form step" }),
@@ -25383,7 +25413,7 @@ var DecisionRequestConfig = ({ inputs, onInputsChange, editor, blockId }) => {
25383
25413
  style: { alignSelf: "flex-start" }
25384
25414
  },
25385
25415
  answersSource.sourceBlockId ? t("actionTypes.decisionRequest.config.replaceFormQuestions", { defaultValue: "Replace this form\u2019s questions with the protocol\u2019s" }) : t("actionTypes.decisionRequest.config.createFormFromProtocol", { defaultValue: "Create the form from this protocol" })
25386
- ), confirmingReplace && /* @__PURE__ */ React223.createElement(Alert41, { color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React223.createElement(Stack141, { gap: "xs" }, /* @__PURE__ */ React223.createElement(Text146, { size: "sm" }, t("actionTypes.decisionRequest.config.replaceFormConfirm", { defaultValue: "Replace the questions this form step already asks with the protocol\u2019s?" })), /* @__PURE__ */ React223.createElement(Group88, { gap: "xs" }, /* @__PURE__ */ React223.createElement(
25416
+ ), confirmingReplace && /* @__PURE__ */ React223.createElement(Alert41, { color: "yellow", styles: actionAlertStyles }, /* @__PURE__ */ React223.createElement(Stack140, { gap: "xs" }, /* @__PURE__ */ React223.createElement(Text146, { size: "sm" }, t("actionTypes.decisionRequest.config.replaceFormConfirm", { defaultValue: "Replace the questions this form step already asks with the protocol\u2019s?" })), /* @__PURE__ */ React223.createElement(Group87, { gap: "xs" }, /* @__PURE__ */ React223.createElement(
25387
25417
  Button48,
25388
25418
  {
25389
25419
  size: "xs",
@@ -25412,12 +25442,12 @@ var DecisionRequestConfig = ({ inputs, onInputsChange, editor, blockId }) => {
25412
25442
 
25413
25443
  // src/mantine/blocks/action/actionTypes/decisionRequest/DecisionRequestFlowDetail.tsx
25414
25444
  import React225, { useCallback as useCallback88, useEffect as useEffect91, useMemo as useMemo110 } from "react";
25415
- import { Badge as Badge40, Button as Button50, Group as Group90, Loader as Loader47, Overlay as Overlay3, Stack as Stack143, Text as Text148 } from "@mantine/core";
25416
- import { IconAlertCircle as IconAlertCircle26, IconCheck as IconCheck19 } from "@tabler/icons-react";
25445
+ import { Badge as Badge40, Button as Button50, Group as Group89, Loader as Loader47, Overlay as Overlay3, Stack as Stack142, Text as Text148 } from "@mantine/core";
25446
+ import { IconAlertCircle as IconAlertCircle26, IconCheck as IconCheck19, IconHourglass as IconHourglass2 } from "@tabler/icons-react";
25417
25447
 
25418
25448
  // src/mantine/blocks/action/actionTypes/decisionRequest/PaymentApprovalCard.tsx
25419
25449
  import React224, { useState as useState110 } from "react";
25420
- import { Anchor, Button as Button49, Group as Group89, Stack as Stack142, Text as Text147 } from "@mantine/core";
25450
+ import { Anchor, Button as Button49, Group as Group88, Stack as Stack141, Text as Text147 } from "@mantine/core";
25421
25451
  import { IconCoin as IconCoin4 } from "@tabler/icons-react";
25422
25452
  var DEFAULT_ALLOWANCE_PAY = 5;
25423
25453
  var DEFAULT_ALLOWANCE_DAYS = 30;
@@ -25455,7 +25485,7 @@ var PaymentApprovalCard = ({ oracleDid, amountUpay, fundingUrl, refusal, disable
25455
25485
  setApproving(false);
25456
25486
  }
25457
25487
  };
25458
- return /* @__PURE__ */ React224.createElement(Stack142, { gap: "xs" }, refusal && /* @__PURE__ */ React224.createElement(Text147, { size: "sm" }, refusal), amountUpay && /* @__PURE__ */ React224.createElement(Text147, { size: "sm" }, t("actionTypes.decisionRequest.payment.price", { defaultValue: "This decision costs {{amount}} PAY.", amount: payFromUpay(amountUpay) })), /* @__PURE__ */ React224.createElement(Group89, { grow: true, align: "flex-start" }, /* @__PURE__ */ React224.createElement(
25488
+ return /* @__PURE__ */ React224.createElement(Stack141, { gap: "xs" }, refusal && /* @__PURE__ */ React224.createElement(Text147, { size: "sm" }, refusal), amountUpay && /* @__PURE__ */ React224.createElement(Text147, { size: "sm" }, t("actionTypes.decisionRequest.payment.price", { defaultValue: "This decision costs {{amount}} PAY.", amount: payFromUpay(amountUpay) })), /* @__PURE__ */ React224.createElement(Group88, { grow: true, align: "flex-start" }, /* @__PURE__ */ React224.createElement(
25459
25489
  BaseNumberInput,
25460
25490
  {
25461
25491
  label: t("actionTypes.decisionRequest.payment.capLabel", { defaultValue: "Allow up to (PAY)" }),
@@ -25478,7 +25508,7 @@ var PaymentApprovalCard = ({ oracleDid, amountUpay, fundingUrl, refusal, disable
25478
25508
  cap: maxPay,
25479
25509
  oracle: oracleDid,
25480
25510
  date: until
25481
- })), /* @__PURE__ */ React224.createElement(Group89, { gap: "sm" }, /* @__PURE__ */ React224.createElement(Button49, { size: "sm", leftSection: icon(IconCoin4, 16), loading: approving, disabled: disabled || !valid, onClick: () => void approve() }, t("actionTypes.decisionRequest.payment.approve", { defaultValue: "Allow and send" })), fundingUrl && /* @__PURE__ */ React224.createElement(Anchor, { size: "xs", href: fundingUrl, target: "_blank", rel: "noopener noreferrer" }, t("actionTypes.decisionRequest.payment.topUp", { defaultValue: "Top up PAY" }))), error && /* @__PURE__ */ React224.createElement(Text147, { size: "xs", c: "red" }, error));
25511
+ })), /* @__PURE__ */ React224.createElement(Group88, { gap: "sm" }, /* @__PURE__ */ React224.createElement(Button49, { size: "sm", leftSection: icon(IconCoin4, 16), loading: approving, disabled: disabled || !valid, onClick: () => void approve() }, t("actionTypes.decisionRequest.payment.approve", { defaultValue: "Allow and send" })), fundingUrl && /* @__PURE__ */ React224.createElement(Anchor, { size: "xs", href: fundingUrl, target: "_blank", rel: "noopener noreferrer" }, t("actionTypes.decisionRequest.payment.topUp", { defaultValue: "Top up PAY" }))), error && /* @__PURE__ */ React224.createElement(Text147, { size: "xs", c: "red" }, error));
25482
25512
  };
25483
25513
 
25484
25514
  // src/mantine/blocks/action/actionTypes/decisionRequest/DecisionRequestFlowDetail.tsx
@@ -25533,6 +25563,8 @@ var DecisionRequestFlowDetail = ({
25533
25563
  const isFailed = runtime.state === "failed";
25534
25564
  const isCompleted = runtime.state === "completed" && hasProof;
25535
25565
  const isStale = runtime.state === "completed" && !hasProof;
25566
+ const isDeciding = runtime.state === "awaiting_readback" && hasProof;
25567
+ const needsVerification = runtime.state === "needs_verification";
25536
25568
  const errorMessage = runtime.error?.message || null;
25537
25569
  const configured = !!parsed.oracleDid && !!parsed.apiUrl && !!parsed.protocolDid;
25538
25570
  const yDoc = editor?._yDoc;
@@ -25565,6 +25597,10 @@ var DecisionRequestFlowDetail = ({
25565
25597
  try {
25566
25598
  const pendingInvocationId = formMode ? activePendingInvocation?.id : void 0;
25567
25599
  const outcome = await executeAction({ runtimeInputs, pendingInvocationId });
25600
+ if (outcome.completionState === "needs_verification") {
25601
+ console.warn(`${LOG5} execute outcome unknown`, { message: outcome.error });
25602
+ return;
25603
+ }
25568
25604
  if (!outcome.success) throw new Error(outcome.error || "The decision request failed");
25569
25605
  console.log(`${LOG5} execute success`, { claimId: outcome.output?.claimId });
25570
25606
  } catch (err) {
@@ -25669,7 +25705,7 @@ var DecisionRequestFlowDetail = ({
25669
25705
  }, [errorMessage, t]);
25670
25706
  const title = block2?.props?.title || t("actionTypes.decisionRequest.flow.title", { defaultValue: "Ask for a decision" });
25671
25707
  const description = block2?.props?.description || "";
25672
- return /* @__PURE__ */ React225.createElement(Stack143, { gap: "md", pos: "relative" }, /* @__PURE__ */ React225.createElement(Stack143, { gap: 2 }, /* @__PURE__ */ React225.createElement(Text148, { fw: 600 }, title), description && /* @__PURE__ */ React225.createElement(Text148, { size: "sm", c: "dimmed" }, description)), !configured && !hasProof && /* @__PURE__ */ React225.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, t("actionTypes.decisionRequest.flow.notConfigured", { defaultValue: "Pick the oracle and protocol in the block settings before asking for a decision." })), configured && !hasProof && /* @__PURE__ */ React225.createElement(Stack143, { gap: 4 }, /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.oracle", { defaultValue: "Oracle" }), ": ", parsed.oracleDid), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.protocol", { defaultValue: "Protocol" }), ": ", parsed.protocolName || parsed.protocolDid), formMode && !formAnswers && /* @__PURE__ */ React225.createElement(Group90, { gap: 6, wrap: "nowrap" }, /* @__PURE__ */ React225.createElement(Loader47, { size: 12 }), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.waitingForForm", { defaultValue: "Waiting for {{step}} to be submitted", step: formSourceTitle }))), !formMode && answers === null && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "red" }, t("actionTypes.decisionRequest.flow.answersInvalid", {
25708
+ return /* @__PURE__ */ React225.createElement(Stack142, { gap: "md", pos: "relative" }, /* @__PURE__ */ React225.createElement(Stack142, { gap: 2 }, /* @__PURE__ */ React225.createElement(Text148, { fw: 600 }, title), description && /* @__PURE__ */ React225.createElement(Text148, { size: "sm", c: "dimmed" }, description)), !configured && !hasProof && /* @__PURE__ */ React225.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, t("actionTypes.decisionRequest.flow.notConfigured", { defaultValue: "Pick the oracle and protocol in the block settings before asking for a decision." })), configured && !hasProof && /* @__PURE__ */ React225.createElement(Stack142, { gap: 4 }, /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.oracle", { defaultValue: "Oracle" }), ": ", parsed.oracleDid), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.protocol", { defaultValue: "Protocol" }), ": ", parsed.protocolName || parsed.protocolDid), formMode && !formAnswers && /* @__PURE__ */ React225.createElement(Group89, { gap: 6, wrap: "nowrap" }, /* @__PURE__ */ React225.createElement(Loader47, { size: 12 }), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.waitingForForm", { defaultValue: "Waiting for {{step}} to be submitted", step: formSourceTitle }))), !formMode && answers === null && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "red" }, t("actionTypes.decisionRequest.flow.answersInvalid", {
25673
25709
  defaultValue: "The answers are not a JSON object yet \u2014 check the block settings or wait for earlier steps."
25674
25710
  }))), isStale && /* @__PURE__ */ React225.createElement(
25675
25711
  DismissibleAlert,
@@ -25679,7 +25715,7 @@ var DecisionRequestFlowDetail = ({
25679
25715
  title: t("actionTypes.decisionRequest.flow.staleTitle", { defaultValue: "Inconsistent state" }),
25680
25716
  styles: actionAlertStyles
25681
25717
  },
25682
- /* @__PURE__ */ React225.createElement(Stack143, { gap: "xs" }, /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.staleBody", { defaultValue: "Marked completed but no claim was recorded. Reset and run again." })), /* @__PURE__ */ React225.createElement(Button50, { variant: "outline", size: "xs", onClick: handleReset }, t("actionTypes.decisionRequest.flow.reset", { defaultValue: "Reset" })))
25718
+ /* @__PURE__ */ React225.createElement(Stack142, { gap: "xs" }, /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.staleBody", { defaultValue: "Marked completed but no claim was recorded. Reset and run again." })), /* @__PURE__ */ React225.createElement(Button50, { variant: "outline", size: "xs", onClick: handleReset }, t("actionTypes.decisionRequest.flow.reset", { defaultValue: "Reset" })))
25683
25719
  ), isFailed && /* @__PURE__ */ React225.createElement(
25684
25720
  DismissibleAlert,
25685
25721
  {
@@ -25688,7 +25724,7 @@ var DecisionRequestFlowDetail = ({
25688
25724
  title: t("actionTypes.decisionRequest.flow.failedTitle", { defaultValue: "No decision yet" }),
25689
25725
  styles: actionAlertStyles
25690
25726
  },
25691
- /* @__PURE__ */ React225.createElement(Stack143, { gap: "xs" }, paymentError ? /* @__PURE__ */ React225.createElement(
25727
+ /* @__PURE__ */ React225.createElement(Stack142, { gap: "xs" }, paymentError ? /* @__PURE__ */ React225.createElement(
25692
25728
  PaymentApprovalCard,
25693
25729
  {
25694
25730
  oracleDid: parsed.oracleDid,
@@ -25699,7 +25735,29 @@ var DecisionRequestFlowDetail = ({
25699
25735
  onApprove: approvePayments
25700
25736
  }
25701
25737
  ) : failureCopy && /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, failureCopy), /* @__PURE__ */ React225.createElement(Button50, { variant: "outline", size: "xs", onClick: handleReset }, t("actionTypes.decisionRequest.flow.reset", { defaultValue: "Reset" })))
25702
- ), isCompleted && /* @__PURE__ */ React225.createElement(DismissibleAlert, { icon: icon(IconCheck19, 16), color: "green", styles: actionAlertStyles }, /* @__PURE__ */ React225.createElement(Stack143, { gap: 4 }, /* @__PURE__ */ React225.createElement(Group90, { gap: 6 }, /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.verdict", { defaultValue: "Verdict" }), ":"), /* @__PURE__ */ React225.createElement(Badge40, { size: "sm", variant: "light", color: VERDICT_COLOR[output?.verdict || ""] || "gray" }, output?.verdict || output?.status)), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.claimId", { defaultValue: "Claim" }), ": ", output?.claimId), output?.paidAmount && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed", style: { wordBreak: "break-all" } }, output.paymentTx ? t("actionTypes.decisionRequest.payment.paidTx", { defaultValue: "Paid {{amount}} PAY \xB7 {{tx}}", amount: payFromUpay(output.paidAmount), tx: output.paymentTx }) : t("actionTypes.decisionRequest.payment.paidPending", { defaultValue: "Paid {{amount}} PAY \xB7 settling", amount: payFromUpay(output.paidAmount) })), output?.receiptCid && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed", style: { wordBreak: "break-all" } }, t("actionTypes.decisionRequest.flow.receipt", { defaultValue: "Receipt" }), ": ", output.receiptCid))), isRunning && /* @__PURE__ */ React225.createElement(Overlay3, { color: "var(--mantine-color-body)", backgroundOpacity: 0.6, blur: 1, zIndex: 5, radius: "md" }, /* @__PURE__ */ React225.createElement(Group90, { gap: "xs", justify: "center", h: "100%" }, /* @__PURE__ */ React225.createElement(Loader47, { size: 16 }), /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.waiting", { defaultValue: "Waiting for the oracle\u2019s decision\u2026" })))));
25738
+ ), isDeciding && /* @__PURE__ */ React225.createElement(
25739
+ DismissibleAlert,
25740
+ {
25741
+ icon: icon(IconHourglass2, 16),
25742
+ color: "blue",
25743
+ title: t("actionTypes.decisionRequest.flow.decidingTitle", { defaultValue: "Checking results" }),
25744
+ styles: actionAlertStyles
25745
+ },
25746
+ /* @__PURE__ */ React225.createElement(Stack142, { gap: 4 }, /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.decidingBody", {
25747
+ defaultValue: "The oracle has the claim and is still deciding. Run this step again to check for the decision on the same claim."
25748
+ })), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.claimId", { defaultValue: "Claim" }), ": ", output?.claimId), output?.paidAmount && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.payment.paidPending", { defaultValue: "Paid {{amount}} PAY \xB7 settling", amount: payFromUpay(output.paidAmount) })))
25749
+ ), needsVerification && /* @__PURE__ */ React225.createElement(
25750
+ DismissibleAlert,
25751
+ {
25752
+ icon: icon(IconAlertCircle26, 16),
25753
+ color: "yellow",
25754
+ title: t("actionTypes.decisionRequest.flow.unknownTitle", { defaultValue: "Not sure the claim was sent" }),
25755
+ styles: actionAlertStyles
25756
+ },
25757
+ /* @__PURE__ */ React225.createElement(Stack142, { gap: "xs" }, /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.unknownBody", {
25758
+ defaultValue: "Something went wrong while sending the claim, so it may have reached the oracle. Running this step again picks up the same claim rather than sending a new one."
25759
+ })), failureCopy && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, failureCopy))
25760
+ ), isCompleted && /* @__PURE__ */ React225.createElement(DismissibleAlert, { icon: icon(IconCheck19, 16), color: "green", styles: actionAlertStyles }, /* @__PURE__ */ React225.createElement(Stack142, { gap: 4 }, /* @__PURE__ */ React225.createElement(Group89, { gap: 6 }, /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.verdict", { defaultValue: "Verdict" }), ":"), /* @__PURE__ */ React225.createElement(Badge40, { size: "sm", variant: "light", color: VERDICT_COLOR[output?.verdict || ""] || "gray" }, output?.verdict || output?.status)), /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed" }, t("actionTypes.decisionRequest.flow.claimId", { defaultValue: "Claim" }), ": ", output?.claimId), output?.paidAmount && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed", style: { wordBreak: "break-all" } }, output.paymentTx ? t("actionTypes.decisionRequest.payment.paidTx", { defaultValue: "Paid {{amount}} PAY \xB7 {{tx}}", amount: payFromUpay(output.paidAmount), tx: output.paymentTx }) : t("actionTypes.decisionRequest.payment.paidPending", { defaultValue: "Paid {{amount}} PAY \xB7 settling", amount: payFromUpay(output.paidAmount) })), output?.receiptCid && /* @__PURE__ */ React225.createElement(Text148, { size: "xs", c: "dimmed", style: { wordBreak: "break-all" } }, t("actionTypes.decisionRequest.flow.receipt", { defaultValue: "Receipt" }), ": ", output.receiptCid))), isRunning && /* @__PURE__ */ React225.createElement(Overlay3, { color: "var(--mantine-color-body)", backgroundOpacity: 0.6, blur: 1, zIndex: 5, radius: "md" }, /* @__PURE__ */ React225.createElement(Group89, { gap: "xs", justify: "center", h: "100%" }, /* @__PURE__ */ React225.createElement(Loader47, { size: 16 }), /* @__PURE__ */ React225.createElement(Text148, { size: "sm" }, t("actionTypes.decisionRequest.flow.waiting", { defaultValue: "Waiting for the oracle\u2019s decision\u2026" })))));
25703
25761
  };
25704
25762
 
25705
25763
  // src/mantine/blocks/action/actionTypes/decisionRequest/index.ts
@@ -25714,8 +25772,8 @@ registerActionTypeUI(DECISION_REQUEST_ACTION_TYPE, {
25714
25772
 
25715
25773
  // src/mantine/blocks/action/actionTypes/evaluateClaim/index.ts
25716
25774
  import { IconChecks as IconChecks4 } from "@tabler/icons-react";
25717
- var EvaluateClaimConfig = lazyActionComponent(() => import("./EvaluateClaimConfig-DXPZIL4Q.js").then((module) => ({ default: module.EvaluateClaimConfig })));
25718
- var EvaluateClaimFlowDetail = lazyActionComponent(() => import("./EvaluateClaimFlowDetail-EVEA3UXR.js").then((module) => ({ default: module.EvaluateClaimFlowDetail })));
25775
+ var EvaluateClaimConfig = lazyActionComponent(() => import("./EvaluateClaimConfig-QVBOPMX2.js").then((module) => ({ default: module.EvaluateClaimConfig })));
25776
+ var EvaluateClaimFlowDetail = lazyActionComponent(() => import("./EvaluateClaimFlowDetail-7UDCX4G5.js").then((module) => ({ default: module.EvaluateClaimFlowDetail })));
25719
25777
  registerActionTypeUI("qi/claim.evaluate", {
25720
25778
  label: "Evaluate Claim",
25721
25779
  description: "Approve or reject a claim",
@@ -25727,8 +25785,8 @@ registerActionTypeUI("qi/claim.evaluate", {
25727
25785
 
25728
25786
  // src/mantine/blocks/action/actionTypes/proposalCreate/index.ts
25729
25787
  import { IconFileText as IconFileText6 } from "@tabler/icons-react";
25730
- var ProposalCreateConfig = lazyActionComponent(() => import("./ProposalCreateConfig-DAIAJWU4.js").then((module) => ({ default: module.ProposalCreateConfig })));
25731
- var ProposalCreateFlowDetail = lazyActionComponent(() => import("./ProposalCreateFlowDetail-I5RX74EW.js").then((module) => ({ default: module.ProposalCreateFlowDetail })));
25788
+ var ProposalCreateConfig = lazyActionComponent(() => import("./ProposalCreateConfig-PD2HANKW.js").then((module) => ({ default: module.ProposalCreateConfig })));
25789
+ var ProposalCreateFlowDetail = lazyActionComponent(() => import("./ProposalCreateFlowDetail-H5TB6CRI.js").then((module) => ({ default: module.ProposalCreateFlowDetail })));
25732
25790
  registerActionTypeUI("qi/proposal.create", {
25733
25791
  label: "Create Proposal",
25734
25792
  description: "Create an on-chain governance proposal",
@@ -25739,8 +25797,8 @@ registerActionTypeUI("qi/proposal.create", {
25739
25797
 
25740
25798
  // src/mantine/blocks/action/actionTypes/proposalVote/index.ts
25741
25799
  import { IconThumbUp as IconThumbUp2 } from "@tabler/icons-react";
25742
- var ProposalVoteConfig = lazyActionComponent(() => import("./ProposalVoteConfig-2FOG2FFP.js").then((module) => ({ default: module.ProposalVoteConfig })));
25743
- var ProposalVoteFlowDetail = lazyActionComponent(() => import("./ProposalVoteFlowDetail-BRHGJXD2.js").then((module) => ({ default: module.ProposalVoteFlowDetail })));
25800
+ var ProposalVoteConfig = lazyActionComponent(() => import("./ProposalVoteConfig-CGDNREKQ.js").then((module) => ({ default: module.ProposalVoteConfig })));
25801
+ var ProposalVoteFlowDetail = lazyActionComponent(() => import("./ProposalVoteFlowDetail-BNIZNLJ3.js").then((module) => ({ default: module.ProposalVoteFlowDetail })));
25744
25802
  registerActionTypeUI("qi/proposal.vote", {
25745
25803
  label: "Vote on Proposal",
25746
25804
  description: "Cast a vote on a governance proposal",
@@ -25752,7 +25810,7 @@ registerActionTypeUI("qi/proposal.vote", {
25752
25810
  // src/mantine/blocks/action/actionTypes/protocolSelect/index.ts
25753
25811
  import { IconBolt as IconBolt12 } from "@tabler/icons-react";
25754
25812
  var ProtocolSelectConfig = lazyActionComponent(() => import("./ProtocolSelectConfig-S5U3P6K7.js").then((module) => ({ default: module.ProtocolSelectConfig })));
25755
- var ProtocolSelectFlowDetail = lazyActionComponent(() => import("./ProtocolSelectFlowDetail-3RKNFTWF.js").then((module) => ({ default: module.ProtocolSelectFlowDetail })));
25813
+ var ProtocolSelectFlowDetail = lazyActionComponent(() => import("./ProtocolSelectFlowDetail-X34GCQXS.js").then((module) => ({ default: module.ProtocolSelectFlowDetail })));
25756
25814
  registerActionTypeUI("qi/protocol.select", {
25757
25815
  label: "Select Protocol",
25758
25816
  description: "Select a protocol from a configured list",
@@ -25764,7 +25822,7 @@ registerActionTypeUI("qi/protocol.select", {
25764
25822
  // src/mantine/blocks/action/actionTypes/domainSign/index.ts
25765
25823
  import { IconSignature as IconSignature3 } from "@tabler/icons-react";
25766
25824
  var DomainSignConfig = lazyActionComponent(() => import("./DomainSignConfig-XFIXROVK.js").then((module) => ({ default: module.DomainSignConfig })));
25767
- var DomainSignFlowDetail = lazyActionComponent(() => import("./DomainSignFlowDetail-CHJPBXCN.js").then((module) => ({ default: module.DomainSignFlowDetail })));
25825
+ var DomainSignFlowDetail = lazyActionComponent(() => import("./DomainSignFlowDetail-DHJPC6PO.js").then((module) => ({ default: module.DomainSignFlowDetail })));
25768
25826
  registerActionTypeUI("qi/domain.sign", {
25769
25827
  label: "Sign Domain",
25770
25828
  description: "Sign the domain card credential and create the entity on-chain",
@@ -25776,7 +25834,7 @@ registerActionTypeUI("qi/domain.sign", {
25776
25834
  // src/mantine/blocks/action/actionTypes/domainCardPreview/index.ts
25777
25835
  import { IconBuildingEstate as IconBuildingEstate2 } from "@tabler/icons-react";
25778
25836
  var DomainCardPreviewConfig = lazyActionComponent(() => import("./DomainCardPreviewConfig-Q3X5M4WF.js").then((module) => ({ default: module.DomainCardPreviewConfig })));
25779
- var DomainCardPreviewFlowDetail = lazyActionComponent(() => import("./DomainCardPreviewFlowDetail-OG2SLUYU.js").then((module) => ({ default: module.DomainCardPreviewFlowDetail })));
25837
+ var DomainCardPreviewFlowDetail = lazyActionComponent(() => import("./DomainCardPreviewFlowDetail-YN6CBAIF.js").then((module) => ({ default: module.DomainCardPreviewFlowDetail })));
25780
25838
  registerActionTypeUI("qi/domain.card-preview", {
25781
25839
  label: "Preview Domain Card",
25782
25840
  description: "Review an oracle-enriched domain card and approve it before signing",
@@ -25787,8 +25845,8 @@ registerActionTypeUI("qi/domain.card-preview", {
25787
25845
 
25788
25846
  // src/mantine/blocks/action/actionTypes/oracle/index.ts
25789
25847
  import { IconSparkles as IconSparkles6 } from "@tabler/icons-react";
25790
- var OracleConfig = lazyActionComponent(() => import("./OracleConfig-6I47PA2F.js").then((module) => ({ default: module.OracleConfig })));
25791
- var OracleFlowDetail = lazyActionComponent(() => import("./OracleFlowDetail-F7AX3GTY.js").then((module) => ({ default: module.OracleFlowDetail })));
25848
+ var OracleConfig = lazyActionComponent(() => import("./OracleConfig-YA235M4B.js").then((module) => ({ default: module.OracleConfig })));
25849
+ var OracleFlowDetail = lazyActionComponent(() => import("./OracleFlowDetail-VEH2AEPI.js").then((module) => ({ default: module.OracleFlowDetail })));
25792
25850
  registerActionTypeUI("oracle", {
25793
25851
  label: "Ask your Agent",
25794
25852
  description: "Send a prompt to the Personal Agent",
@@ -25800,7 +25858,7 @@ registerActionTypeUI("oracle", {
25800
25858
  // src/mantine/blocks/action/actionTypes/oraclePrompt/index.ts
25801
25859
  import { IconMessage } from "@tabler/icons-react";
25802
25860
  var OraclePromptConfig = lazyActionComponent(() => import("./OraclePromptConfig-YBRESISH.js").then((module) => ({ default: module.OraclePromptConfig })));
25803
- var OraclePromptFlowDetail = lazyActionComponent(() => import("./OraclePromptFlowDetail-NVHRWHTS.js").then((module) => ({ default: module.OraclePromptFlowDetail })));
25861
+ var OraclePromptFlowDetail = lazyActionComponent(() => import("./OraclePromptFlowDetail-3VVAWBXP.js").then((module) => ({ default: module.OraclePromptFlowDetail })));
25804
25862
  registerActionTypeUI("oracle.prompt", {
25805
25863
  label: "Oracle Prompt",
25806
25864
  description: "Send a prompt to the Personal Agent",
@@ -25812,7 +25870,7 @@ registerActionTypeUI("oracle.prompt", {
25812
25870
  // src/mantine/blocks/action/actionTypes/formSubmit/index.ts
25813
25871
  import { IconClipboard, IconClipboardCheck as IconClipboardCheck3 } from "@tabler/icons-react";
25814
25872
  var FormSubmitConfig = lazyActionComponent(() => import("./FormSubmitConfig-UFZYMLUN.js").then((module) => ({ default: module.FormSubmitConfig })));
25815
- var FormSubmitFlowDetail = lazyActionComponent(() => import("./FormSubmitFlowDetail-34DAUMGE.js").then((module) => ({ default: module.FormSubmitFlowDetail })));
25873
+ var FormSubmitFlowDetail = lazyActionComponent(() => import("./FormSubmitFlowDetail-7EGYHASY.js").then((module) => ({ default: module.FormSubmitFlowDetail })));
25816
25874
  registerActionTypeUI("qi/form.submit", {
25817
25875
  label: "Form Submit",
25818
25876
  description: "Submit a form response",
@@ -25829,20 +25887,20 @@ registerActionTypeUI("qi/human.form.submit", {
25829
25887
  });
25830
25888
 
25831
25889
  // src/mantine/blocks/action/actionTypes/credentialStore/index.ts
25832
- import { IconShieldCheck as IconShieldCheck18 } from "@tabler/icons-react";
25833
- var CredentialStoreConfig = lazyActionComponent(() => import("./CredentialStoreConfig-DAA3ZT24.js").then((module) => ({ default: module.CredentialStoreConfig })));
25834
- var CredentialStoreFlowDetail = lazyActionComponent(() => import("./CredentialStoreFlowDetail-W3TMZREQ.js").then((module) => ({ default: module.CredentialStoreFlowDetail })));
25890
+ import { IconShieldCheck as IconShieldCheck17 } from "@tabler/icons-react";
25891
+ var CredentialStoreConfig = lazyActionComponent(() => import("./CredentialStoreConfig-G476HYFO.js").then((module) => ({ default: module.CredentialStoreConfig })));
25892
+ var CredentialStoreFlowDetail = lazyActionComponent(() => import("./CredentialStoreFlowDetail-PHFJWDQ6.js").then((module) => ({ default: module.CredentialStoreFlowDetail })));
25835
25893
  registerActionTypeUI("qi/credential.store", {
25836
25894
  label: "Store Credential",
25837
25895
  description: "Store a verifiable credential in Matrix room state",
25838
- icon: icon(IconShieldCheck18, 20),
25896
+ icon: icon(IconShieldCheck17, 20),
25839
25897
  configComponent: CredentialStoreConfig,
25840
25898
  flowDetailComponent: CredentialStoreFlowDetail
25841
25899
  });
25842
25900
 
25843
25901
  // src/mantine/blocks/action/actionTypes/matrixDm/index.ts
25844
25902
  import { IconMessageCircle } from "@tabler/icons-react";
25845
- var MatrixDmConfig = lazyActionComponent(() => import("./MatrixDmConfig-5VO4RJHR.js").then((module) => ({ default: module.MatrixDmConfig })));
25903
+ var MatrixDmConfig = lazyActionComponent(() => import("./MatrixDmConfig-TWT476MT.js").then((module) => ({ default: module.MatrixDmConfig })));
25846
25904
  registerActionTypeUI("qi/matrix.dm", {
25847
25905
  label: "Matrix DM",
25848
25906
  description: "Send a direct message via Matrix",
@@ -25852,8 +25910,8 @@ registerActionTypeUI("qi/matrix.dm", {
25852
25910
 
25853
25911
  // src/mantine/blocks/action/actionTypes/calendar/eventCreate/index.ts
25854
25912
  import { IconCalendarPlus } from "@tabler/icons-react";
25855
- var CalendarEventCreateConfig = lazyActionComponent(() => import("./CalendarEventCreateConfig-4IZ2UHS3.js").then((module) => ({ default: module.CalendarEventCreateConfig })));
25856
- var CalendarEventCreateFlowDetail = lazyActionComponent(() => import("./CalendarEventCreateFlowDetail-CSI6N2PF.js").then((module) => ({ default: module.CalendarEventCreateFlowDetail })));
25913
+ var CalendarEventCreateConfig = lazyActionComponent(() => import("./CalendarEventCreateConfig-U7NFXBME.js").then((module) => ({ default: module.CalendarEventCreateConfig })));
25914
+ var CalendarEventCreateFlowDetail = lazyActionComponent(() => import("./CalendarEventCreateFlowDetail-ERQXISWY.js").then((module) => ({ default: module.CalendarEventCreateFlowDetail })));
25857
25915
  registerActionTypeUI("qi/googlecalendar.event.create-self", {
25858
25916
  label: "Create Calendar event",
25859
25917
  description: "Create an event on a connected Calendar",
@@ -25865,8 +25923,8 @@ registerActionTypeUI("qi/googlecalendar.event.create-self", {
25865
25923
 
25866
25924
  // src/mantine/blocks/action/actionTypes/calendar/eventUpdate/index.ts
25867
25925
  import { IconCalendarEvent } from "@tabler/icons-react";
25868
- var CalendarEventUpdateConfig = lazyActionComponent(() => import("./CalendarEventUpdateConfig-R2IUZZWK.js").then((module) => ({ default: module.CalendarEventUpdateConfig })));
25869
- var CalendarEventUpdateFlowDetail = lazyActionComponent(() => import("./CalendarEventUpdateFlowDetail-MAZSAC6G.js").then((module) => ({ default: module.CalendarEventUpdateFlowDetail })));
25926
+ var CalendarEventUpdateConfig = lazyActionComponent(() => import("./CalendarEventUpdateConfig-C43L7PHE.js").then((module) => ({ default: module.CalendarEventUpdateConfig })));
25927
+ var CalendarEventUpdateFlowDetail = lazyActionComponent(() => import("./CalendarEventUpdateFlowDetail-M6Z3TM3W.js").then((module) => ({ default: module.CalendarEventUpdateFlowDetail })));
25870
25928
  registerActionTypeUI("qi/googlecalendar.event.update-self", {
25871
25929
  label: "Update Calendar event",
25872
25930
  description: "Replace an existing Calendar event",
@@ -25878,8 +25936,8 @@ registerActionTypeUI("qi/googlecalendar.event.update-self", {
25878
25936
 
25879
25937
  // src/mantine/blocks/action/actionTypes/calendar/eventList/index.ts
25880
25938
  import { IconCalendarStats } from "@tabler/icons-react";
25881
- var CalendarEventListConfig = lazyActionComponent(() => import("./CalendarEventListConfig-N4XXZLUC.js").then((module) => ({ default: module.CalendarEventListConfig })));
25882
- var CalendarEventListFlowDetail = lazyActionComponent(() => import("./CalendarEventListFlowDetail-Y2MQYWXT.js").then((module) => ({ default: module.CalendarEventListFlowDetail })));
25939
+ var CalendarEventListConfig = lazyActionComponent(() => import("./CalendarEventListConfig-FMZXJEPI.js").then((module) => ({ default: module.CalendarEventListConfig })));
25940
+ var CalendarEventListFlowDetail = lazyActionComponent(() => import("./CalendarEventListFlowDetail-DXOUHADW.js").then((module) => ({ default: module.CalendarEventListFlowDetail })));
25883
25941
  registerActionTypeUI("qi/googlecalendar.event.list-self", {
25884
25942
  label: "List Calendar events",
25885
25943
  description: "Fetch events from a connected Calendar",
@@ -25891,8 +25949,8 @@ registerActionTypeUI("qi/googlecalendar.event.list-self", {
25891
25949
 
25892
25950
  // src/mantine/blocks/action/actionTypes/xero/contactCreate/index.ts
25893
25951
  import { IconUserPlus as IconUserPlus3 } from "@tabler/icons-react";
25894
- var XeroContactCreateConfig = lazyActionComponent(() => import("./XeroContactCreateConfig-34JJXNUW.js").then((module) => ({ default: module.XeroContactCreateConfig })));
25895
- var XeroContactCreateFlowDetail = lazyActionComponent(() => import("./XeroContactCreateFlowDetail-4BDRDAXW.js").then((module) => ({ default: module.XeroContactCreateFlowDetail })));
25952
+ var XeroContactCreateConfig = lazyActionComponent(() => import("./XeroContactCreateConfig-4VKYUIJQ.js").then((module) => ({ default: module.XeroContactCreateConfig })));
25953
+ var XeroContactCreateFlowDetail = lazyActionComponent(() => import("./XeroContactCreateFlowDetail-JRJ5I4CD.js").then((module) => ({ default: module.XeroContactCreateFlowDetail })));
25896
25954
  registerActionTypeUI("qi/xero.contact.create", {
25897
25955
  label: "Create Xero contact",
25898
25956
  description: "Add a customer or supplier in Xero",
@@ -25904,8 +25962,8 @@ registerActionTypeUI("qi/xero.contact.create", {
25904
25962
 
25905
25963
  // src/mantine/blocks/action/actionTypes/xero/invoiceCreate/index.ts
25906
25964
  import { IconReceipt } from "@tabler/icons-react";
25907
- var XeroInvoiceCreateConfig = lazyActionComponent(() => import("./XeroInvoiceCreateConfig-VI4HQP2Z.js").then((module) => ({ default: module.XeroInvoiceCreateConfig })));
25908
- var XeroInvoiceCreateFlowDetail = lazyActionComponent(() => import("./XeroInvoiceCreateFlowDetail-AKS7WN4K.js").then((module) => ({ default: module.XeroInvoiceCreateFlowDetail })));
25965
+ var XeroInvoiceCreateConfig = lazyActionComponent(() => import("./XeroInvoiceCreateConfig-ULKQXCNS.js").then((module) => ({ default: module.XeroInvoiceCreateConfig })));
25966
+ var XeroInvoiceCreateFlowDetail = lazyActionComponent(() => import("./XeroInvoiceCreateFlowDetail-DTOFRV4L.js").then((module) => ({ default: module.XeroInvoiceCreateFlowDetail })));
25909
25967
  registerActionTypeUI("qi/xero.invoice.create", {
25910
25968
  label: "Create Xero invoice",
25911
25969
  description: "Draft a new Xero invoice",
@@ -25917,8 +25975,8 @@ registerActionTypeUI("qi/xero.invoice.create", {
25917
25975
 
25918
25976
  // src/mantine/blocks/action/actionTypes/xero/invoiceList/index.ts
25919
25977
  import { IconListDetails } from "@tabler/icons-react";
25920
- var XeroInvoiceListConfig = lazyActionComponent(() => import("./XeroInvoiceListConfig-6GELQTQK.js").then((module) => ({ default: module.XeroInvoiceListConfig })));
25921
- var XeroInvoiceListFlowDetail = lazyActionComponent(() => import("./XeroInvoiceListFlowDetail-27GR2BSJ.js").then((module) => ({ default: module.XeroInvoiceListFlowDetail })));
25978
+ var XeroInvoiceListConfig = lazyActionComponent(() => import("./XeroInvoiceListConfig-PPXFYVVK.js").then((module) => ({ default: module.XeroInvoiceListConfig })));
25979
+ var XeroInvoiceListFlowDetail = lazyActionComponent(() => import("./XeroInvoiceListFlowDetail-RPE7NCMF.js").then((module) => ({ default: module.XeroInvoiceListFlowDetail })));
25922
25980
  registerActionTypeUI("qi/xero.invoice.list", {
25923
25981
  label: "List Xero invoices",
25924
25982
  description: "Fetch invoices from Xero",
@@ -25930,8 +25988,8 @@ registerActionTypeUI("qi/xero.invoice.list", {
25930
25988
 
25931
25989
  // src/mantine/blocks/action/actionTypes/xero/paymentCreate/index.ts
25932
25990
  import { IconReceipt as IconReceipt2 } from "@tabler/icons-react";
25933
- var XeroPaymentCreateConfig = lazyActionComponent(() => import("./XeroPaymentCreateConfig-7PNHPUGK.js").then((module) => ({ default: module.XeroPaymentCreateConfig })));
25934
- var XeroPaymentCreateFlowDetail = lazyActionComponent(() => import("./XeroPaymentCreateFlowDetail-PDWKG2SR.js").then((module) => ({ default: module.XeroPaymentCreateFlowDetail })));
25991
+ var XeroPaymentCreateConfig = lazyActionComponent(() => import("./XeroPaymentCreateConfig-EIYSLLZK.js").then((module) => ({ default: module.XeroPaymentCreateConfig })));
25992
+ var XeroPaymentCreateFlowDetail = lazyActionComponent(() => import("./XeroPaymentCreateFlowDetail-MMLHUXLS.js").then((module) => ({ default: module.XeroPaymentCreateFlowDetail })));
25935
25993
  registerActionTypeUI("qi/xero.payment.create", {
25936
25994
  label: "Record Xero payment",
25937
25995
  description: "Settle a Xero bill \u2014 typically wired to capture an on-chain tx hash as the reference",
@@ -25947,11 +26005,11 @@ import { createElement } from "react";
25947
26005
 
25948
26006
  // src/mantine/blocks/action/actionTypes/_shared/DelegatedActionConfig.tsx
25949
26007
  import React228, { useCallback as useCallback90, useEffect as useEffect93, useState as useState113 } from "react";
25950
- import { Divider as Divider21, Stack as Stack146 } from "@mantine/core";
26008
+ import { Divider as Divider21, Stack as Stack145 } from "@mantine/core";
25951
26009
 
25952
26010
  // src/mantine/blocks/action/actionTypes/_shared/BoundConnectionSelector.tsx
25953
- import React226, { useCallback as useCallback89, useEffect as useEffect92, useRef as useRef28, useState as useState111 } from "react";
25954
- import { Alert as Alert42, Badge as Badge41, Button as Button51, Group as Group91, Loader as Loader48, Stack as Stack144, Text as Text149 } from "@mantine/core";
26011
+ import React226, { useCallback as useCallback89, useEffect as useEffect92, useRef as useRef29, useState as useState111 } from "react";
26012
+ import { Alert as Alert42, Badge as Badge41, Button as Button51, Group as Group90, Loader as Loader48, Stack as Stack143, Text as Text149 } from "@mantine/core";
25955
26013
  import { IconCheck as IconCheck20, IconPlug, IconRefresh as IconRefresh6, IconTrash as IconTrash9 } from "@tabler/icons-react";
25956
26014
  var POLL_INTERVAL_MS = 2e3;
25957
26015
  var CONNECT_TIMEOUT_MS = 12e4;
@@ -25962,7 +26020,7 @@ var BoundConnectionSelector = ({ toolkit, toolkitLabel, templateId, connection,
25962
26020
  const [connecting, setConnecting] = useState111(false);
25963
26021
  const [binding, setBinding] = useState111(false);
25964
26022
  const [error, setError] = useState111(null);
25965
- const cleanupRef = useRef28(null);
26023
+ const cleanupRef = useRef29(null);
25966
26024
  const loadManifest = useCallback89(async () => {
25967
26025
  if (mode !== "template") return;
25968
26026
  if (!handlers?.integrations?.getIntegration) {
@@ -26111,9 +26169,9 @@ var BoundConnectionSelector = ({ toolkit, toolkitLabel, templateId, connection,
26111
26169
  const isConnected = manifest?.connection.status === "ACTIVE" && !!activeAccountId;
26112
26170
  const label = connection?.label ?? manifest?.connection.label ?? null;
26113
26171
  if (mode === "flow") {
26114
- return /* @__PURE__ */ React226.createElement(Group91, { gap: "xs" }, /* @__PURE__ */ React226.createElement(Text149, { size: "sm", fw: 600 }, toolkitLabel, ":"), isBound ? /* @__PURE__ */ React226.createElement(Badge41, { color: "teal", variant: "light", leftSection: /* @__PURE__ */ React226.createElement(IconCheck20, { size: 12 }) }, label || "Connected account") : /* @__PURE__ */ React226.createElement(Badge41, { color: "gray", variant: "light" }, "Not connected"));
26172
+ return /* @__PURE__ */ React226.createElement(Group90, { gap: "xs" }, /* @__PURE__ */ React226.createElement(Text149, { size: "sm", fw: 600 }, toolkitLabel, ":"), isBound ? /* @__PURE__ */ React226.createElement(Badge41, { color: "teal", variant: "light", leftSection: /* @__PURE__ */ React226.createElement(IconCheck20, { size: 12 }) }, label || "Connected account") : /* @__PURE__ */ React226.createElement(Badge41, { color: "gray", variant: "light" }, "Not connected"));
26115
26173
  }
26116
- return /* @__PURE__ */ React226.createElement(Stack144, { gap: "xs" }, /* @__PURE__ */ React226.createElement(Group91, { justify: "space-between", align: "flex-end" }, /* @__PURE__ */ React226.createElement(Text149, { size: "sm", fw: 600 }, toolkitLabel, " account"), /* @__PURE__ */ React226.createElement(Button51, { size: "xs", variant: "subtle", leftSection: /* @__PURE__ */ React226.createElement(IconRefresh6, { size: 14 }), onClick: loadManifest, disabled: loading || disabled }, "Refresh")), isBound ? /* @__PURE__ */ React226.createElement(Alert42, { color: "teal", styles: actionAlertStyles }, /* @__PURE__ */ React226.createElement(Group91, { justify: "space-between", align: "center" }, /* @__PURE__ */ React226.createElement(Text149, { size: "sm" }, "Bound to ", /* @__PURE__ */ React226.createElement("strong", null, label || "connected account"), ". Anyone running this flow sends as this account.")), /* @__PURE__ */ React226.createElement(Group91, { gap: "xs", mt: "xs" }, /* @__PURE__ */ React226.createElement(Button51, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ React226.createElement(IconPlug, { size: 14 }), onClick: handleConnect, disabled: connecting || disabled }, connecting ? "Reconnecting\u2026" : "Reconnect"), /* @__PURE__ */ React226.createElement(Button51, { size: "xs", variant: "subtle", color: "red", leftSection: /* @__PURE__ */ React226.createElement(IconTrash9, { size: 14 }), onClick: handleRemove, disabled }, "Remove binding"))) : isConnected ? /* @__PURE__ */ React226.createElement(Stack144, { gap: "xs" }, /* @__PURE__ */ React226.createElement(Alert42, { color: "blue", styles: actionAlertStyles }, "Connected as ", /* @__PURE__ */ React226.createElement("strong", null, label || activeAccountId), ". Bind it so runners can send on your behalf."), /* @__PURE__ */ React226.createElement(BasePrimaryButton, { leftSection: binding ? /* @__PURE__ */ React226.createElement(Loader48, { size: 14, color: "dark" }) : /* @__PURE__ */ React226.createElement(IconCheck20, { size: 14 }), onClick: handleBind, disabled: binding || disabled }, binding ? "Binding\u2026" : `Bind to template`)) : /* @__PURE__ */ React226.createElement(
26174
+ return /* @__PURE__ */ React226.createElement(Stack143, { gap: "xs" }, /* @__PURE__ */ React226.createElement(Group90, { justify: "space-between", align: "flex-end" }, /* @__PURE__ */ React226.createElement(Text149, { size: "sm", fw: 600 }, toolkitLabel, " account"), /* @__PURE__ */ React226.createElement(Button51, { size: "xs", variant: "subtle", leftSection: /* @__PURE__ */ React226.createElement(IconRefresh6, { size: 14 }), onClick: loadManifest, disabled: loading || disabled }, "Refresh")), isBound ? /* @__PURE__ */ React226.createElement(Alert42, { color: "teal", styles: actionAlertStyles }, /* @__PURE__ */ React226.createElement(Group90, { justify: "space-between", align: "center" }, /* @__PURE__ */ React226.createElement(Text149, { size: "sm" }, "Bound to ", /* @__PURE__ */ React226.createElement("strong", null, label || "connected account"), ". Anyone running this flow sends as this account.")), /* @__PURE__ */ React226.createElement(Group90, { gap: "xs", mt: "xs" }, /* @__PURE__ */ React226.createElement(Button51, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ React226.createElement(IconPlug, { size: 14 }), onClick: handleConnect, disabled: connecting || disabled }, connecting ? "Reconnecting\u2026" : "Reconnect"), /* @__PURE__ */ React226.createElement(Button51, { size: "xs", variant: "subtle", color: "red", leftSection: /* @__PURE__ */ React226.createElement(IconTrash9, { size: 14 }), onClick: handleRemove, disabled }, "Remove binding"))) : isConnected ? /* @__PURE__ */ React226.createElement(Stack143, { gap: "xs" }, /* @__PURE__ */ React226.createElement(Alert42, { color: "blue", styles: actionAlertStyles }, "Connected as ", /* @__PURE__ */ React226.createElement("strong", null, label || activeAccountId), ". Bind it so runners can send on your behalf."), /* @__PURE__ */ React226.createElement(BasePrimaryButton, { leftSection: binding ? /* @__PURE__ */ React226.createElement(Loader48, { size: 14, color: "dark" }) : /* @__PURE__ */ React226.createElement(IconCheck20, { size: 14 }), onClick: handleBind, disabled: binding || disabled }, binding ? "Binding\u2026" : `Bind to template`)) : /* @__PURE__ */ React226.createElement(
26117
26175
  BasePrimaryButton,
26118
26176
  {
26119
26177
  leftSection: connecting ? /* @__PURE__ */ React226.createElement(Loader48, { size: 14, color: "dark" }) : /* @__PURE__ */ React226.createElement(IconPlug, { size: 14 }),
@@ -26126,7 +26184,7 @@ var BoundConnectionSelector = ({ toolkit, toolkitLabel, templateId, connection,
26126
26184
 
26127
26185
  // src/mantine/blocks/action/actionTypes/_shared/DynamicToolForm.tsx
26128
26186
  import React227, { useMemo as useMemo111, useState as useState112 } from "react";
26129
- import { Button as Button52, Collapse as Collapse7, Stack as Stack145 } from "@mantine/core";
26187
+ import { Button as Button52, Collapse as Collapse7, Stack as Stack144 } from "@mantine/core";
26130
26188
  import { IconChevronDown as IconChevronDown7, IconChevronRight as IconChevronRight10 } from "@tabler/icons-react";
26131
26189
  var ALWAYS_EXCLUDE = /* @__PURE__ */ new Set(["user_id", "connected_account_id"]);
26132
26190
  function prettify(name) {
@@ -26189,7 +26247,7 @@ var DynamicToolForm = ({ schema, values, onChange, editorDocument, blockId, read
26189
26247
  }
26190
26248
  );
26191
26249
  };
26192
- return /* @__PURE__ */ React227.createElement(Stack145, { gap: "sm" }, required.map(renderField), optional.length > 0 && /* @__PURE__ */ React227.createElement(React227.Fragment, null, /* @__PURE__ */ React227.createElement(
26250
+ return /* @__PURE__ */ React227.createElement(Stack144, { gap: "sm" }, required.map(renderField), optional.length > 0 && /* @__PURE__ */ React227.createElement(React227.Fragment, null, /* @__PURE__ */ React227.createElement(
26193
26251
  Button52,
26194
26252
  {
26195
26253
  variant: "subtle",
@@ -26203,7 +26261,7 @@ var DynamicToolForm = ({ schema, values, onChange, editorDocument, blockId, read
26203
26261
  " optional fields (",
26204
26262
  optional.length,
26205
26263
  ")"
26206
- ), /* @__PURE__ */ React227.createElement(Collapse7, { in: showOptional }, /* @__PURE__ */ React227.createElement(Stack145, { gap: "sm" }, optional.map(renderField)))));
26264
+ ), /* @__PURE__ */ React227.createElement(Collapse7, { in: showOptional }, /* @__PURE__ */ React227.createElement(Stack144, { gap: "sm" }, optional.map(renderField)))));
26207
26265
  };
26208
26266
 
26209
26267
  // src/mantine/blocks/action/actionTypes/_shared/DelegatedActionConfig.tsx
@@ -26222,7 +26280,7 @@ var DelegatedActionConfig = ({ inputs, onInputsChange, editor, blockId, toolkit,
26222
26280
  );
26223
26281
  const templateId = editor?.getFlowMetadata?.()?.doc_id || editor?.getRoomId?.() || "";
26224
26282
  const editorDocument = editor?.document || [];
26225
- return /* @__PURE__ */ React228.createElement(Stack146, { gap: "lg" }, /* @__PURE__ */ React228.createElement(
26283
+ return /* @__PURE__ */ React228.createElement(Stack145, { gap: "lg" }, /* @__PURE__ */ React228.createElement(
26226
26284
  BoundConnectionSelector,
26227
26285
  {
26228
26286
  toolkit,
@@ -26236,8 +26294,8 @@ var DelegatedActionConfig = ({ inputs, onInputsChange, editor, blockId, toolkit,
26236
26294
  };
26237
26295
 
26238
26296
  // src/mantine/blocks/action/actionTypes/_shared/DelegatedActionFlowDetail.tsx
26239
- import React229, { useCallback as useCallback91, useEffect as useEffect94, useMemo as useMemo112, useRef as useRef29, useState as useState114 } from "react";
26240
- import { Button as Button53, Loader as Loader49, Stack as Stack147, Text as Text150 } from "@mantine/core";
26297
+ import React229, { useCallback as useCallback91, useEffect as useEffect94, useMemo as useMemo112, useRef as useRef30, useState as useState114 } from "react";
26298
+ import { Button as Button53, Loader as Loader49, Stack as Stack146, Text as Text150 } from "@mantine/core";
26241
26299
  import { IconSend as IconSend6 } from "@tabler/icons-react";
26242
26300
  var DelegatedActionFlowDetail = ({
26243
26301
  inputs,
@@ -26317,7 +26375,7 @@ var DelegatedActionFlowDetail = ({
26317
26375
  },
26318
26376
  [executeAction, hasBinding, local, toolkitLabel, onPendingInvocationCompleted]
26319
26377
  );
26320
- const autoRanRef = useRef29(null);
26378
+ const autoRanRef = useRef30(null);
26321
26379
  useEffect94(() => {
26322
26380
  const pendingId = activePendingInvocation?.id;
26323
26381
  if (!pendingId) return;
@@ -26327,7 +26385,7 @@ var DelegatedActionFlowDetail = ({
26327
26385
  void run(pendingId);
26328
26386
  }, [activePendingInvocation, canRun, submitting, run]);
26329
26387
  const isEventTriggered = !!activePendingInvocation;
26330
- return /* @__PURE__ */ React229.createElement(Stack147, { gap: "md" }, /* @__PURE__ */ React229.createElement(BoundConnectionSelector, { toolkit, toolkitLabel, connection, onConnectionChange: () => {
26388
+ return /* @__PURE__ */ React229.createElement(Stack146, { gap: "md" }, /* @__PURE__ */ React229.createElement(BoundConnectionSelector, { toolkit, toolkitLabel, connection, onConnectionChange: () => {
26331
26389
  }, mode: "flow", disabled: true }), !hasBinding && /* @__PURE__ */ React229.createElement(DismissibleAlert, { color: "yellow", styles: actionAlertStyles }, "The template author hasn\u2019t connected a ", toolkitLabel, " account, so this block can\u2019t run yet."), !isCompleted && hasBinding && /* @__PURE__ */ React229.createElement(DynamicToolForm, { schema, values: local, onChange: update, editorDocument, blockId: block2.id, readOnly: isEventTriggered }), !isCompleted && hasBinding && !isEventTriggered && /* @__PURE__ */ React229.createElement(Button53, { leftSection: submitting ? /* @__PURE__ */ React229.createElement(Loader49, { size: 14, color: "white" }) : /* @__PURE__ */ React229.createElement(IconSend6, { size: 14 }), onClick: () => void run(), disabled: !canRun || submitting }, submitting ? "Running\u2026" : submitLabel || `Run ${toolkitLabel}`), !isCompleted && hasBinding && isEventTriggered && /* @__PURE__ */ React229.createElement(Text150, { size: "xs", c: "dimmed" }, "Runs automatically when triggered", submitting ? " \u2014 running\u2026" : "."), isCompleted && /* @__PURE__ */ React229.createElement(DismissibleAlert, { color: "green", styles: actionAlertStyles }, "Sent via ", toolkitLabel, connection?.label ? ` (${connection.label})` : "", "."), error && /* @__PURE__ */ React229.createElement(DismissibleAlert, { color: "red", styles: actionAlertStyles }, error), isDisabled && !isCompleted && /* @__PURE__ */ React229.createElement(Text150, { size: "xs", c: "dimmed" }, "This block is currently disabled."));
26332
26390
  };
26333
26391
 
@@ -26386,7 +26444,7 @@ registerActionTypeUI("qi/googlecalendar.event.create", {
26386
26444
  // src/mantine/blocks/action/actionTypes/carbon/loadBatches/index.ts
26387
26445
  import { IconLeaf as IconLeaf3 } from "@tabler/icons-react";
26388
26446
  var LoadBatchesConfig = lazyActionComponent(() => import("./LoadBatchesConfig-IMODIWRT.js").then((module) => ({ default: module.LoadBatchesConfig })));
26389
- var LoadBatchesFlowDetail = lazyActionComponent(() => import("./LoadBatchesFlowDetail-A4HDN3OR.js").then((module) => ({ default: module.LoadBatchesFlowDetail })));
26447
+ var LoadBatchesFlowDetail = lazyActionComponent(() => import("./LoadBatchesFlowDetail-D5A3BXLP.js").then((module) => ({ default: module.LoadBatchesFlowDetail })));
26390
26448
  registerActionTypeUI("qi/carbon.loadBatches", {
26391
26449
  label: "Load Carbon Batches",
26392
26450
  description: "Reconcile harvestable and retireable CARBON credits",
@@ -26397,8 +26455,8 @@ registerActionTypeUI("qi/carbon.loadBatches", {
26397
26455
 
26398
26456
  // src/mantine/blocks/action/actionTypes/carbon/harvest/index.ts
26399
26457
  import { IconLeaf as IconLeaf4 } from "@tabler/icons-react";
26400
- var HarvestConfig = lazyActionComponent(() => import("./HarvestConfig-FBA2LMWP.js").then((module) => ({ default: module.HarvestConfig })));
26401
- var HarvestFlowDetail = lazyActionComponent(() => import("./HarvestFlowDetail-YSW6OEL6.js").then((module) => ({ default: module.HarvestFlowDetail })));
26458
+ var HarvestConfig = lazyActionComponent(() => import("./HarvestConfig-TUREICJM.js").then((module) => ({ default: module.HarvestConfig })));
26459
+ var HarvestFlowDetail = lazyActionComponent(() => import("./HarvestFlowDetail-6VDHMIIR.js").then((module) => ({ default: module.HarvestFlowDetail })));
26402
26460
  registerActionTypeUI("qi/carbon.harvest", {
26403
26461
  label: "Harvest Carbon",
26404
26462
  description: "Claim carbon credits into your wallet",
@@ -26410,8 +26468,8 @@ registerActionTypeUI("qi/carbon.harvest", {
26410
26468
 
26411
26469
  // src/mantine/blocks/action/actionTypes/carbon/retire/index.ts
26412
26470
  import { IconFlame as IconFlame2 } from "@tabler/icons-react";
26413
- var RetireConfig = lazyActionComponent(() => import("./RetireConfig-IFSJTDMZ.js").then((module) => ({ default: module.RetireConfig })));
26414
- var RetireFlowDetail = lazyActionComponent(() => import("./RetireFlowDetail-OOGYAODJ.js").then((module) => ({ default: module.RetireFlowDetail })));
26471
+ var RetireConfig = lazyActionComponent(() => import("./RetireConfig-XCYWEMCM.js").then((module) => ({ default: module.RetireConfig })));
26472
+ var RetireFlowDetail = lazyActionComponent(() => import("./RetireFlowDetail-J2VJGNU3.js").then((module) => ({ default: module.RetireFlowDetail })));
26415
26473
  registerActionTypeUI("qi/carbon.retire", {
26416
26474
  label: "Retire Carbon",
26417
26475
  description: "Permanently retire carbon credits to offset impact",
@@ -26424,7 +26482,7 @@ registerActionTypeUI("qi/carbon.retire", {
26424
26482
  // src/mantine/blocks/action/actionTypes/entityTransfer/index.ts
26425
26483
  import { IconTransfer } from "@tabler/icons-react";
26426
26484
  var EntityTransferConfig = lazyActionComponent(() => import("./EntityTransferConfig-JVZ3H35B.js").then((module) => ({ default: module.EntityTransferConfig })));
26427
- var EntityTransferFlowDetail = lazyActionComponent(() => import("./EntityTransferFlowDetail-5JMBBK53.js").then((module) => ({ default: module.EntityTransferFlowDetail })));
26485
+ var EntityTransferFlowDetail = lazyActionComponent(() => import("./EntityTransferFlowDetail-FT4IU4H6.js").then((module) => ({ default: module.EntityTransferFlowDetail })));
26428
26486
  registerActionTypeUI("qi/entity.transfer", {
26429
26487
  label: "Transfer Entity",
26430
26488
  description: "Transfer ownership of an entity to a new owner",
@@ -26436,8 +26494,8 @@ registerActionTypeUI("qi/entity.transfer", {
26436
26494
 
26437
26495
  // src/mantine/blocks/action/actionTypes/kycVerify/index.ts
26438
26496
  import { IconId as IconId2 } from "@tabler/icons-react";
26439
- var KycVerifyConfig = lazyActionComponent(() => import("./KycVerifyConfig-ZZSQPKXU.js").then((module) => ({ default: module.KycVerifyConfig })));
26440
- var KycVerifyFlowDetail = lazyActionComponent(() => import("./KycVerifyFlowDetail-JEQM5A7R.js").then((module) => ({ default: module.KycVerifyFlowDetail })));
26497
+ var KycVerifyConfig = lazyActionComponent(() => import("./KycVerifyConfig-E5LO2HWP.js").then((module) => ({ default: module.KycVerifyConfig })));
26498
+ var KycVerifyFlowDetail = lazyActionComponent(() => import("./KycVerifyFlowDetail-ECXG4G2V.js").then((module) => ({ default: module.KycVerifyFlowDetail })));
26441
26499
  registerActionTypeUI("qi/kyc.verify", {
26442
26500
  label: "Identity Verification (KYC)",
26443
26501
  description: "Verify your identity and save the issued credential to your Vault",
@@ -26450,7 +26508,7 @@ registerActionTypeUI("qi/kyc.verify", {
26450
26508
  // src/mantine/blocks/action/actionTypes/walletGenerate/index.ts
26451
26509
  import { IconWallet } from "@tabler/icons-react";
26452
26510
  var WalletGenerateConfig = lazyActionComponent(() => import("./WalletGenerateConfig-YYLCS65G.js").then((module) => ({ default: module.WalletGenerateConfig })));
26453
- var WalletGenerateFlowDetail = lazyActionComponent(() => import("./WalletGenerateFlowDetail-RXZJMLLP.js").then((module) => ({ default: module.WalletGenerateFlowDetail })));
26511
+ var WalletGenerateFlowDetail = lazyActionComponent(() => import("./WalletGenerateFlowDetail-3KTVG2V4.js").then((module) => ({ default: module.WalletGenerateFlowDetail })));
26454
26512
  registerActionTypeUI("qi/wallet.generate", {
26455
26513
  label: "Generate Wallet",
26456
26514
  description: "Generate an IXO wallet and DID",
@@ -26461,8 +26519,8 @@ registerActionTypeUI("qi/wallet.generate", {
26461
26519
 
26462
26520
  // src/mantine/blocks/action/actionTypes/walletFund/index.ts
26463
26521
  import { IconCoin as IconCoin5 } from "@tabler/icons-react";
26464
- var WalletFundConfig = lazyActionComponent(() => import("./WalletFundConfig-WK7QIPL6.js").then((module) => ({ default: module.WalletFundConfig })));
26465
- var WalletFundFlowDetail = lazyActionComponent(() => import("./WalletFundFlowDetail-N2XTMXIG.js").then((module) => ({ default: module.WalletFundFlowDetail })));
26522
+ var WalletFundConfig = lazyActionComponent(() => import("./WalletFundConfig-MU6JRK2X.js").then((module) => ({ default: module.WalletFundConfig })));
26523
+ var WalletFundFlowDetail = lazyActionComponent(() => import("./WalletFundFlowDetail-7YJDOYVS.js").then((module) => ({ default: module.WalletFundFlowDetail })));
26466
26524
  registerActionTypeUI("qi/wallet.fund", {
26467
26525
  label: "Fund Wallet",
26468
26526
  description: "Fund a wallet with an on-chain transfer",
@@ -26476,7 +26534,7 @@ registerActionTypeUI("qi/wallet.fund", {
26476
26534
  import { IconWallet as IconWallet2 } from "@tabler/icons-react";
26477
26535
  var WalletGenerateAndFundConfig = lazyActionComponent(() => import("./WalletGenerateAndFundConfig-364RSEND.js").then((module) => ({ default: module.WalletGenerateAndFundConfig })));
26478
26536
  var WalletGenerateAndFundFlowDetail = lazyActionComponent(
26479
- () => import("./WalletGenerateAndFundFlowDetail-5LKRKR4R.js").then((module) => ({ default: module.WalletGenerateAndFundFlowDetail }))
26537
+ () => import("./WalletGenerateAndFundFlowDetail-CME4JE3R.js").then((module) => ({ default: module.WalletGenerateAndFundFlowDetail }))
26480
26538
  );
26481
26539
  registerActionTypeUI("qi/wallet.generateAndFund", {
26482
26540
  label: "Generate & Fund Wallet",
@@ -26489,7 +26547,7 @@ registerActionTypeUI("qi/wallet.generateAndFund", {
26489
26547
  // src/mantine/blocks/action/actionTypes/iidCreate/index.ts
26490
26548
  import { IconFingerprint } from "@tabler/icons-react";
26491
26549
  var IidCreateConfig = lazyActionComponent(() => import("./IidCreateConfig-RRV2DYXI.js").then((module) => ({ default: module.IidCreateConfig })));
26492
- var IidCreateFlowDetail = lazyActionComponent(() => import("./IidCreateFlowDetail-LKRE5KDH.js").then((module) => ({ default: module.IidCreateFlowDetail })));
26550
+ var IidCreateFlowDetail = lazyActionComponent(() => import("./IidCreateFlowDetail-SHBEMN4T.js").then((module) => ({ default: module.IidCreateFlowDetail })));
26493
26551
  registerActionTypeUI("qi/iid.create", {
26494
26552
  label: "Create IID",
26495
26553
  description: "Create an IID document on-chain",
@@ -26501,7 +26559,7 @@ registerActionTypeUI("qi/iid.create", {
26501
26559
  // src/mantine/blocks/action/actionTypes/matrixRegister/index.ts
26502
26560
  import { IconUserPlus as IconUserPlus4 } from "@tabler/icons-react";
26503
26561
  var MatrixRegisterConfig = lazyActionComponent(() => import("./MatrixRegisterConfig-N2U4FBYF.js").then((module) => ({ default: module.MatrixRegisterConfig })));
26504
- var MatrixRegisterFlowDetail = lazyActionComponent(() => import("./MatrixRegisterFlowDetail-JMPQ6EHL.js").then((module) => ({ default: module.MatrixRegisterFlowDetail })));
26562
+ var MatrixRegisterFlowDetail = lazyActionComponent(() => import("./MatrixRegisterFlowDetail-SNEQV5XD.js").then((module) => ({ default: module.MatrixRegisterFlowDetail })));
26505
26563
  registerActionTypeUI("qi/matrix.register", {
26506
26564
  label: "Register Matrix Account",
26507
26565
  description: "Create a Matrix account and access token",
@@ -26513,7 +26571,7 @@ registerActionTypeUI("qi/matrix.register", {
26513
26571
  // src/mantine/blocks/action/actionTypes/identityCreate/index.ts
26514
26572
  import { IconId as IconId3 } from "@tabler/icons-react";
26515
26573
  var IdentityCreateConfig = lazyActionComponent(() => import("./IdentityCreateConfig-ZBUOJ6AL.js").then((module) => ({ default: module.IdentityCreateConfig })));
26516
- var IdentityCreateFlowDetail = lazyActionComponent(() => import("./IdentityCreateFlowDetail-Q2Z7GSMV.js").then((module) => ({ default: module.IdentityCreateFlowDetail })));
26574
+ var IdentityCreateFlowDetail = lazyActionComponent(() => import("./IdentityCreateFlowDetail-PRX37M4E.js").then((module) => ({ default: module.IdentityCreateFlowDetail })));
26517
26575
  registerActionTypeUI("qi/identity.create", {
26518
26576
  label: "Create Identity",
26519
26577
  description: "Create an IID document and Matrix account for a user",
@@ -26525,7 +26583,7 @@ registerActionTypeUI("qi/identity.create", {
26525
26583
  // src/mantine/blocks/action/actionTypes/entityCreateOracle/index.ts
26526
26584
  import { IconInnerShadowBottomRight as IconInnerShadowBottomRight4 } from "@tabler/icons-react";
26527
26585
  var EntityCreateOracleConfig = lazyActionComponent(() => import("./EntityCreateOracleConfig-UZ6ZIMP5.js").then((module) => ({ default: module.EntityCreateOracleConfig })));
26528
- var EntityCreateOracleFlowDetail = lazyActionComponent(() => import("./EntityCreateOracleFlowDetail-ZL3FDZHV.js").then((module) => ({ default: module.EntityCreateOracleFlowDetail })));
26586
+ var EntityCreateOracleFlowDetail = lazyActionComponent(() => import("./EntityCreateOracleFlowDetail-C6MV65OC.js").then((module) => ({ default: module.EntityCreateOracleFlowDetail })));
26529
26587
  registerActionTypeUI("qi/entity.createOracle", {
26530
26588
  label: "Create Oracle Entity",
26531
26589
  description: "Create the oracle entity on-chain",
@@ -26537,7 +26595,7 @@ registerActionTypeUI("qi/entity.createOracle", {
26537
26595
  // src/mantine/blocks/action/actionTypes/sandboxProvision/index.ts
26538
26596
  import { IconBox } from "@tabler/icons-react";
26539
26597
  var SandboxProvisionConfig = lazyActionComponent(() => import("./SandboxProvisionConfig-ZGG4IRHM.js").then((module) => ({ default: module.SandboxProvisionConfig })));
26540
- var SandboxProvisionFlowDetail = lazyActionComponent(() => import("./SandboxProvisionFlowDetail-LFHRTPLR.js").then((module) => ({ default: module.SandboxProvisionFlowDetail })));
26598
+ var SandboxProvisionFlowDetail = lazyActionComponent(() => import("./SandboxProvisionFlowDetail-DTCXKMFO.js").then((module) => ({ default: module.SandboxProvisionFlowDetail })));
26541
26599
  registerActionTypeUI("qi/sandbox.provision", {
26542
26600
  label: "Provision Sandbox",
26543
26601
  description: "Provision a sandbox environment for the oracle",
@@ -26549,7 +26607,7 @@ registerActionTypeUI("qi/sandbox.provision", {
26549
26607
  // src/mantine/blocks/action/actionTypes/oracleContract/index.ts
26550
26608
  import { IconLicense } from "@tabler/icons-react";
26551
26609
  var OracleContractConfig = lazyActionComponent(() => import("./OracleContractConfig-PHY5L7W2.js").then((module) => ({ default: module.OracleContractConfig })));
26552
- var OracleContractFlowDetail = lazyActionComponent(() => import("./OracleContractFlowDetail-MYEJZNCP.js").then((module) => ({ default: module.OracleContractFlowDetail })));
26610
+ var OracleContractFlowDetail = lazyActionComponent(() => import("./OracleContractFlowDetail-6WOJ2XM2.js").then((module) => ({ default: module.OracleContractFlowDetail })));
26553
26611
  registerActionTypeUI("qi/oracle.contract", {
26554
26612
  label: "Create Oracle Contract",
26555
26613
  description: "Establish the user-oracle Matrix DM room",
@@ -26561,7 +26619,7 @@ registerActionTypeUI("qi/oracle.contract", {
26561
26619
  // src/mantine/blocks/action/actionTypes/oracleStoreSecrets/index.ts
26562
26620
  import { IconKey as IconKey4 } from "@tabler/icons-react";
26563
26621
  var OracleStoreSecretsConfig = lazyActionComponent(() => import("./OracleStoreSecretsConfig-PQMF7LFT.js").then((module) => ({ default: module.OracleStoreSecretsConfig })));
26564
- var OracleStoreSecretsFlowDetail = lazyActionComponent(() => import("./OracleStoreSecretsFlowDetail-LHW2JSKX.js").then((module) => ({ default: module.OracleStoreSecretsFlowDetail })));
26622
+ var OracleStoreSecretsFlowDetail = lazyActionComponent(() => import("./OracleStoreSecretsFlowDetail-Q7BB6VPM.js").then((module) => ({ default: module.OracleStoreSecretsFlowDetail })));
26565
26623
  registerActionTypeUI("qi/oracle.storeSecrets", {
26566
26624
  label: "Store Oracle Secrets",
26567
26625
  description: "Store oracle secrets in Matrix room state",
@@ -26573,7 +26631,7 @@ registerActionTypeUI("qi/oracle.storeSecrets", {
26573
26631
  // src/mantine/blocks/action/actionTypes/oracleStoreConfig/index.ts
26574
26632
  import { IconSettings as IconSettings21 } from "@tabler/icons-react";
26575
26633
  var OracleStoreConfigConfig = lazyActionComponent(() => import("./OracleStoreConfigConfig-TUZWTJMA.js").then((module) => ({ default: module.OracleStoreConfigConfig })));
26576
- var OracleStoreConfigFlowDetail = lazyActionComponent(() => import("./OracleStoreConfigFlowDetail-XUBCZZBO.js").then((module) => ({ default: module.OracleStoreConfigFlowDetail })));
26634
+ var OracleStoreConfigFlowDetail = lazyActionComponent(() => import("./OracleStoreConfigFlowDetail-F6BIC2MI.js").then((module) => ({ default: module.OracleStoreConfigFlowDetail })));
26577
26635
  registerActionTypeUI("qi/oracle.storeConfig", {
26578
26636
  label: "Store Oracle Config",
26579
26637
  description: "Store the oracle configuration in Matrix room state",
@@ -26588,7 +26646,7 @@ var OracleStoreSecretsAndConfigConfig = lazyActionComponent(
26588
26646
  () => import("./OracleStoreSecretsAndConfigConfig-SZPYEK7U.js").then((module) => ({ default: module.OracleStoreSecretsAndConfigConfig }))
26589
26647
  );
26590
26648
  var OracleStoreSecretsAndConfigFlowDetail = lazyActionComponent(
26591
- () => import("./OracleStoreSecretsAndConfigFlowDetail-M7OEWUPG.js").then((module) => ({ default: module.OracleStoreSecretsAndConfigFlowDetail }))
26649
+ () => import("./OracleStoreSecretsAndConfigFlowDetail-OJL7FBEX.js").then((module) => ({ default: module.OracleStoreSecretsAndConfigFlowDetail }))
26592
26650
  );
26593
26651
  registerActionTypeUI("qi/oracle.storeSecretsAndConfig", {
26594
26652
  label: "Store Oracle Secrets & Config",
@@ -26602,7 +26660,7 @@ registerActionTypeUI("qi/oracle.storeSecretsAndConfig", {
26602
26660
  import { IconAdjustments as IconAdjustments2 } from "@tabler/icons-react";
26603
26661
  var OracleConfigureOracleConfig = lazyActionComponent(() => import("./OracleConfigureOracleConfig-QFF74X3N.js").then((module) => ({ default: module.OracleConfigureOracleConfig })));
26604
26662
  var OracleConfigureOracleFlowDetail = lazyActionComponent(
26605
- () => import("./OracleConfigureOracleFlowDetail-BFYUTBHC.js").then((module) => ({ default: module.OracleConfigureOracleFlowDetail }))
26663
+ () => import("./OracleConfigureOracleFlowDetail-FG7W6KQV.js").then((module) => ({ default: module.OracleConfigureOracleFlowDetail }))
26606
26664
  );
26607
26665
  registerActionTypeUI("qi/oracle.configureOracle", {
26608
26666
  label: "Configure Oracle",
@@ -26615,7 +26673,7 @@ registerActionTypeUI("qi/oracle.configureOracle", {
26615
26673
  // src/mantine/blocks/action/actionTypes/oracleDeploySetup/index.ts
26616
26674
  import { IconTool } from "@tabler/icons-react";
26617
26675
  var OracleDeploySetupConfig = lazyActionComponent(() => import("./OracleDeploySetupConfig-75XPGFJQ.js").then((module) => ({ default: module.OracleDeploySetupConfig })));
26618
- var OracleDeploySetupFlowDetail = lazyActionComponent(() => import("./OracleDeploySetupFlowDetail-QLX7O63W.js").then((module) => ({ default: module.OracleDeploySetupFlowDetail })));
26676
+ var OracleDeploySetupFlowDetail = lazyActionComponent(() => import("./OracleDeploySetupFlowDetail-O4OY5VBH.js").then((module) => ({ default: module.OracleDeploySetupFlowDetail })));
26619
26677
  registerActionTypeUI("qi/oracle.deploySetup", {
26620
26678
  label: "Set Up Oracle Deployment",
26621
26679
  description: "Build and prepare the oracle for deployment",
@@ -26627,7 +26685,7 @@ registerActionTypeUI("qi/oracle.deploySetup", {
26627
26685
  // src/mantine/blocks/action/actionTypes/oracleDeployStart/index.ts
26628
26686
  import { IconPlayerPlay as IconPlayerPlay5 } from "@tabler/icons-react";
26629
26687
  var OracleDeployStartConfig = lazyActionComponent(() => import("./OracleDeployStartConfig-NA6GZ4VQ.js").then((module) => ({ default: module.OracleDeployStartConfig })));
26630
- var OracleDeployStartFlowDetail = lazyActionComponent(() => import("./OracleDeployStartFlowDetail-NRPW76XH.js").then((module) => ({ default: module.OracleDeployStartFlowDetail })));
26688
+ var OracleDeployStartFlowDetail = lazyActionComponent(() => import("./OracleDeployStartFlowDetail-TLKREH6F.js").then((module) => ({ default: module.OracleDeployStartFlowDetail })));
26631
26689
  registerActionTypeUI("qi/oracle.deployStart", {
26632
26690
  label: "Start Oracle Deployment",
26633
26691
  description: "Start the oracle deployment process",
@@ -26639,7 +26697,7 @@ registerActionTypeUI("qi/oracle.deployStart", {
26639
26697
  // src/mantine/blocks/action/actionTypes/oracleDeploy/index.ts
26640
26698
  import { IconRocket as IconRocket2 } from "@tabler/icons-react";
26641
26699
  var OracleDeployConfig = lazyActionComponent(() => import("./OracleDeployConfig-QBG76ATZ.js").then((module) => ({ default: module.OracleDeployConfig })));
26642
- var OracleDeployFlowDetail = lazyActionComponent(() => import("./OracleDeployFlowDetail-YF7XQMZZ.js").then((module) => ({ default: module.OracleDeployFlowDetail })));
26700
+ var OracleDeployFlowDetail = lazyActionComponent(() => import("./OracleDeployFlowDetail-MV46JHSL.js").then((module) => ({ default: module.OracleDeployFlowDetail })));
26643
26701
  registerActionTypeUI("qi/oracle.deploy", {
26644
26702
  label: "Deploy Oracle",
26645
26703
  description: "Build, deploy, and start the oracle",
@@ -26760,8 +26818,8 @@ import React234, { useCallback as useCallback93 } from "react";
26760
26818
  import { IconMapPin as IconMapPin2 } from "@tabler/icons-react";
26761
26819
 
26762
26820
  // src/mantine/blocks/location/template/GeneralTab.tsx
26763
- import React233, { useEffect as useEffect96, useRef as useRef30, useState as useState117 } from "react";
26764
- import { Box as Box50, Divider as Divider22, Stack as Stack148, Text as Text151 } from "@mantine/core";
26821
+ import React233, { useEffect as useEffect96, useRef as useRef31, useState as useState117 } from "react";
26822
+ import { Box as Box50, Divider as Divider22, Stack as Stack147, Text as Text151 } from "@mantine/core";
26765
26823
 
26766
26824
  // src/core/hooks/useUnlMap.ts
26767
26825
  import { useEffect as useEffect95, useState as useState115 } from "react";
@@ -26823,7 +26881,7 @@ function useUnlMap() {
26823
26881
 
26824
26882
  // src/mantine/blocks/location/components/TileSelector.tsx
26825
26883
  import React232, { useState as useState116, useCallback as useCallback92 } from "react";
26826
- import { ActionIcon as ActionIcon34, Group as Group92, Tooltip as Tooltip24 } from "@mantine/core";
26884
+ import { ActionIcon as ActionIcon34, Group as Group91, Tooltip as Tooltip24 } from "@mantine/core";
26827
26885
  import { IconMap, IconMoon, IconSatellite, IconMountain } from "@tabler/icons-react";
26828
26886
  var TILE_LAYERS = {
26829
26887
  dark: {
@@ -26898,7 +26956,7 @@ var TileSelector = ({ mapRef }) => {
26898
26956
  ...OVERLAY_KEYS.map((key) => ({ type: key, label: TILE_LAYERS[key].label, icon: TILE_LAYERS[key].icon }))
26899
26957
  ];
26900
26958
  return /* @__PURE__ */ React232.createElement(
26901
- Group92,
26959
+ Group91,
26902
26960
  {
26903
26961
  gap: 2,
26904
26962
  style: {
@@ -26946,10 +27004,10 @@ var GeneralTab17 = ({
26946
27004
  const [mapError, setMapError] = useState117(null);
26947
27005
  const { status, UnlSdk } = useUnlMap();
26948
27006
  const { mapConfig } = useBlocknoteContext();
26949
- const markerRef = useRef30(null);
26950
- const mapRef = useRef30(null);
26951
- const wrapperRef = useRef30(null);
26952
- const containerRef = useRef30(null);
27007
+ const markerRef = useRef31(null);
27008
+ const mapRef = useRef31(null);
27009
+ const wrapperRef = useRef31(null);
27010
+ const containerRef = useRef31(null);
26953
27011
  useEffect96(() => {
26954
27012
  setLocalTitle(title);
26955
27013
  }, [title]);
@@ -27006,7 +27064,7 @@ var GeneralTab17 = ({
27006
27064
  markerRef.current = null;
27007
27065
  };
27008
27066
  }, [status, UnlSdk]);
27009
- return /* @__PURE__ */ React233.createElement(Stack148, { gap: "lg" }, !hideNameFields && /* @__PURE__ */ React233.createElement(React233.Fragment, null, /* @__PURE__ */ React233.createElement(Stack148, { gap: "xs" }, /* @__PURE__ */ React233.createElement(Text151, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React233.createElement(
27067
+ return /* @__PURE__ */ React233.createElement(Stack147, { gap: "lg" }, !hideNameFields && /* @__PURE__ */ React233.createElement(React233.Fragment, null, /* @__PURE__ */ React233.createElement(Stack147, { gap: "xs" }, /* @__PURE__ */ React233.createElement(Text151, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React233.createElement(
27010
27068
  BaseTextInput,
27011
27069
  {
27012
27070
  placeholder: "e.g. Project Location",
@@ -27017,7 +27075,7 @@ var GeneralTab17 = ({
27017
27075
  onTitleChange(v);
27018
27076
  }
27019
27077
  }
27020
- )), /* @__PURE__ */ React233.createElement(Stack148, { gap: "xs" }, /* @__PURE__ */ React233.createElement(Text151, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React233.createElement(
27078
+ )), /* @__PURE__ */ React233.createElement(Stack147, { gap: "xs" }, /* @__PURE__ */ React233.createElement(Text151, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React233.createElement(
27021
27079
  BaseTextInput,
27022
27080
  {
27023
27081
  placeholder: "e.g. Main project site coordinates",
@@ -27028,7 +27086,7 @@ var GeneralTab17 = ({
27028
27086
  onDescriptionChange(v);
27029
27087
  }
27030
27088
  }
27031
- )), /* @__PURE__ */ React233.createElement(Divider22, { variant: "dashed" })), /* @__PURE__ */ React233.createElement(Stack148, { gap: "xs" }, /* @__PURE__ */ React233.createElement(Text151, { size: "sm", fw: 600 }, "Location"), /* @__PURE__ */ React233.createElement(Text151, { size: "xs", c: "dimmed" }, "Click on the map to set the location."), mapError ? /* @__PURE__ */ React233.createElement(Text151, { size: "sm", c: "red" }, mapError) : /* @__PURE__ */ React233.createElement(Box50, { ref: wrapperRef, mx: "auto", w: "100%", miw: 280, h: 300, style: { borderRadius: 12, position: "relative", overflow: "hidden" } }, /* @__PURE__ */ React233.createElement(
27089
+ )), /* @__PURE__ */ React233.createElement(Divider22, { variant: "dashed" })), /* @__PURE__ */ React233.createElement(Stack147, { gap: "xs" }, /* @__PURE__ */ React233.createElement(Text151, { size: "sm", fw: 600 }, "Location"), /* @__PURE__ */ React233.createElement(Text151, { size: "xs", c: "dimmed" }, "Click on the map to set the location."), mapError ? /* @__PURE__ */ React233.createElement(Text151, { size: "sm", c: "red" }, mapError) : /* @__PURE__ */ React233.createElement(Box50, { ref: wrapperRef, mx: "auto", w: "100%", miw: 280, h: 300, style: { borderRadius: 12, position: "relative", overflow: "hidden" } }, /* @__PURE__ */ React233.createElement(
27032
27090
  Box50,
27033
27091
  {
27034
27092
  ref: containerRef,
@@ -27041,7 +27099,7 @@ var GeneralTab17 = ({
27041
27099
  height: "600px"
27042
27100
  }
27043
27101
  }
27044
- ), /* @__PURE__ */ React233.createElement(TileSelector, { mapRef }))), /* @__PURE__ */ React233.createElement(Stack148, { gap: "xs" }, /* @__PURE__ */ React233.createElement(BaseTextInput, { label: "Latitude", value: latitude, readOnly: true, placeholder: "Not set" }), /* @__PURE__ */ React233.createElement(BaseTextInput, { label: "Longitude", value: longitude, readOnly: true, placeholder: "Not set" })));
27102
+ ), /* @__PURE__ */ React233.createElement(TileSelector, { mapRef }))), /* @__PURE__ */ React233.createElement(Stack147, { gap: "xs" }, /* @__PURE__ */ React233.createElement(BaseTextInput, { label: "Latitude", value: latitude, readOnly: true, placeholder: "Not set" }), /* @__PURE__ */ React233.createElement(BaseTextInput, { label: "Longitude", value: longitude, readOnly: true, placeholder: "Not set" })));
27045
27103
  };
27046
27104
 
27047
27105
  // src/mantine/blocks/location/template/InlineSettings.tsx
@@ -27145,15 +27203,15 @@ var TemplateConfig17 = ({ editor, block: blockProp }) => {
27145
27203
  };
27146
27204
 
27147
27205
  // src/mantine/blocks/location/components/LocationMap.tsx
27148
- import React236, { useEffect as useEffect97, useRef as useRef31, useState as useState118 } from "react";
27206
+ import React236, { useEffect as useEffect97, useRef as useRef32, useState as useState118 } from "react";
27149
27207
  import { Box as Box51, Flex as Flex31, Loader as Loader50, Text as Text152 } from "@mantine/core";
27150
27208
  var UnlMap = ({ w = "100%", h = 200, latitude, longitude, zoom = 5, showMarker = true, showTilesControl = false }) => {
27151
27209
  const [mapError, setMapError] = useState118(null);
27152
27210
  const { mapConfig } = useBlocknoteContext();
27153
- const wrapperRef = useRef31(null);
27154
- const containerRef = useRef31(null);
27155
- const mapRef = useRef31(null);
27156
- const markerRef = useRef31(null);
27211
+ const wrapperRef = useRef32(null);
27212
+ const containerRef = useRef32(null);
27213
+ const mapRef = useRef32(null);
27214
+ const markerRef = useRef32(null);
27157
27215
  const { status, UnlSdk } = useUnlMap();
27158
27216
  useEffect97(() => {
27159
27217
  if (status !== "ready" || !UnlSdk || mapRef.current || !containerRef.current || !wrapperRef.current) return;
@@ -27274,7 +27332,7 @@ var LocationTemplateView = ({ editor, block: block2 }) => {
27274
27332
 
27275
27333
  // src/mantine/blocks/location/flow/FlowView.tsx
27276
27334
  import React239, { useMemo as useMemo114 } from "react";
27277
- import { Center as Center12, Group as Group93, Stack as Stack149, Text as Text153 } from "@mantine/core";
27335
+ import { Center as Center12, Group as Group92, Stack as Stack148, Text as Text153 } from "@mantine/core";
27278
27336
  import { IconMapPin as IconMapPin4 } from "@tabler/icons-react";
27279
27337
 
27280
27338
  // src/mantine/blocks/location/flow/FlowConfig.tsx
@@ -27292,7 +27350,7 @@ var LocationFlowView = ({ editor, block: block2 }) => {
27292
27350
  const panelContent = useMemo114(() => /* @__PURE__ */ React239.createElement(FlowConfig3, { editor, block: block2 }), [editor, block2]);
27293
27351
  const { open } = usePanel(panelId, panelContent);
27294
27352
  const hasLocation = block2.props.latitude && block2.props.longitude;
27295
- return /* @__PURE__ */ React239.createElement(BaseContainer, { blockId: block2.id, onClick: open, style: { minHeight: 90, justifyContent: "center" } }, /* @__PURE__ */ React239.createElement(Stack149, { gap: "xs", justify: "center" }, /* @__PURE__ */ React239.createElement(Group93, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React239.createElement(IconMapPin4, { color: "currentColor", size: 26, stroke: 1.5 }), /* @__PURE__ */ React239.createElement(Stack149, { gap: 2 }, /* @__PURE__ */ React239.createElement(Text153, { fw: 500, size: "sm", contentEditable: false }, block2.props.title || "Location"), block2.props.description && /* @__PURE__ */ React239.createElement(Text153, { size: "xs", c: "dimmed", contentEditable: false }, block2.props.description))), hasLocation ? /* @__PURE__ */ React239.createElement(LocationMap, { latitude: block2.props.latitude, longitude: block2.props.longitude, mapId: `location-flow-map-${block2.id}`, zoom: 14, showMarker: true, showTilesControl: true }) : /* @__PURE__ */ React239.createElement(Center12, { py: "md" }, /* @__PURE__ */ React239.createElement(Text153, { size: "sm", c: "dimmed" }, "Location not configured"))));
27353
+ return /* @__PURE__ */ React239.createElement(BaseContainer, { blockId: block2.id, onClick: open, style: { minHeight: 90, justifyContent: "center" } }, /* @__PURE__ */ React239.createElement(Stack148, { gap: "xs", justify: "center" }, /* @__PURE__ */ React239.createElement(Group92, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React239.createElement(IconMapPin4, { color: "currentColor", size: 26, stroke: 1.5 }), /* @__PURE__ */ React239.createElement(Stack148, { gap: 2 }, /* @__PURE__ */ React239.createElement(Text153, { fw: 500, size: "sm", contentEditable: false }, block2.props.title || "Location"), block2.props.description && /* @__PURE__ */ React239.createElement(Text153, { size: "xs", c: "dimmed", contentEditable: false }, block2.props.description))), hasLocation ? /* @__PURE__ */ React239.createElement(LocationMap, { latitude: block2.props.latitude, longitude: block2.props.longitude, mapId: `location-flow-map-${block2.id}`, zoom: 14, showMarker: true, showTilesControl: true }) : /* @__PURE__ */ React239.createElement(Center12, { py: "md" }, /* @__PURE__ */ React239.createElement(Text153, { size: "sm", c: "dimmed" }, "Location not configured"))));
27296
27354
  };
27297
27355
 
27298
27356
  // src/mantine/blocks/location/LocationBlock.tsx
@@ -27342,7 +27400,7 @@ import React243, { useCallback as useCallback95 } from "react";
27342
27400
 
27343
27401
  // src/mantine/blocks/embed/template/GeneralTab.tsx
27344
27402
  import React242, { useEffect as useEffect98, useState as useState120 } from "react";
27345
- import { Stack as Stack150, Switch as Switch9, Text as Text154 } from "@mantine/core";
27403
+ import { Stack as Stack149, Switch as Switch9, Text as Text154 } from "@mantine/core";
27346
27404
  var GeneralTab18 = ({
27347
27405
  url,
27348
27406
  title,
@@ -27370,7 +27428,7 @@ var GeneralTab18 = ({
27370
27428
  useEffect98(() => {
27371
27429
  setLocalHeight(height);
27372
27430
  }, [height]);
27373
- return /* @__PURE__ */ React242.createElement(Stack150, { gap: "md" }, /* @__PURE__ */ React242.createElement(Stack150, { gap: "xs" }, /* @__PURE__ */ React242.createElement(Text154, { size: "sm", fw: 600 }, "URL"), /* @__PURE__ */ React242.createElement(
27431
+ return /* @__PURE__ */ React242.createElement(Stack149, { gap: "md" }, /* @__PURE__ */ React242.createElement(Stack149, { gap: "xs" }, /* @__PURE__ */ React242.createElement(Text154, { size: "sm", fw: 600 }, "URL"), /* @__PURE__ */ React242.createElement(
27374
27432
  BaseTextInput,
27375
27433
  {
27376
27434
  placeholder: "https://example.com",
@@ -27394,7 +27452,7 @@ var GeneralTab18 = ({
27394
27452
  onHeightChange(v);
27395
27453
  }
27396
27454
  }
27397
- ), /* @__PURE__ */ React242.createElement(Stack150, { gap: "xs" }, /* @__PURE__ */ React242.createElement(Switch9, { label: "Allow authenticated embeds", checked: allowAuth, onChange: (event) => onAllowAuthChange(event.currentTarget.checked) }), /* @__PURE__ */ React242.createElement(Text154, { size: "xs", c: "dimmed" }, "Enable for services like Google Calendar that require cookie access. Only use with trusted URLs. Origins your workspace administrator has marked as trusted are granted this automatically.")));
27455
+ ), /* @__PURE__ */ React242.createElement(Stack149, { gap: "xs" }, /* @__PURE__ */ React242.createElement(Switch9, { label: "Allow authenticated embeds", checked: allowAuth, onChange: (event) => onAllowAuthChange(event.currentTarget.checked) }), /* @__PURE__ */ React242.createElement(Text154, { size: "xs", c: "dimmed" }, "Enable for services like Google Calendar that require cookie access. Only use with trusted URLs. Origins your workspace administrator has marked as trusted are granted this automatically.")));
27398
27456
  };
27399
27457
 
27400
27458
  // src/mantine/blocks/embed/template/InlineSettings.tsx
@@ -27590,7 +27648,7 @@ var EmbedTemplateView = ({ editor, block: block2 }) => {
27590
27648
 
27591
27649
  // src/mantine/blocks/embed/flow/FlowView.tsx
27592
27650
  import React247, { useMemo as useMemo116 } from "react";
27593
- import { Box as Box53, Group as Group94, Stack as Stack151, Text as Text155 } from "@mantine/core";
27651
+ import { Box as Box53, Group as Group93, Stack as Stack150, Text as Text155 } from "@mantine/core";
27594
27652
 
27595
27653
  // src/mantine/blocks/embed/flow/FlowConfig.tsx
27596
27654
  import React246, { useCallback as useCallback97 } from "react";
@@ -27640,7 +27698,7 @@ var EmbedFlowView = ({ editor, block: block2 }) => {
27640
27698
  const safeUrl = sanitizeEmbedUrl(block2.props.url);
27641
27699
  const height = Number(block2.props.height) || 400;
27642
27700
  const sandbox = buildEmbedSandbox(safeUrl ?? "", block2.props.allowAuth === "true", handlers?.getTrustedEmbedOrigins?.() ?? []);
27643
- return /* @__PURE__ */ React247.createElement(BaseContainer, { blockId: block2.id, onClick: open, style: { minHeight: 90, justifyContent: "center" } }, /* @__PURE__ */ React247.createElement(Stack151, { gap: "xs", justify: "center" }, /* @__PURE__ */ React247.createElement(Group94, { wrap: "nowrap", align: "center" }, getIcon("code", block2.props.icon), /* @__PURE__ */ React247.createElement(Stack151, { gap: 2 }, /* @__PURE__ */ React247.createElement(Text155, { fw: 500, size: "sm", contentEditable: false }, block2.props.title || "Embed"), /* @__PURE__ */ React247.createElement(Text155, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, block2.props.description || safeUrl || "No URL configured"))), safeUrl && /* @__PURE__ */ React247.createElement(Box53, { style: { borderRadius: 8, overflow: "hidden" } }, /* @__PURE__ */ React247.createElement(
27701
+ return /* @__PURE__ */ React247.createElement(BaseContainer, { blockId: block2.id, onClick: open, style: { minHeight: 90, justifyContent: "center" } }, /* @__PURE__ */ React247.createElement(Stack150, { gap: "xs", justify: "center" }, /* @__PURE__ */ React247.createElement(Group93, { wrap: "nowrap", align: "center" }, getIcon("code", block2.props.icon), /* @__PURE__ */ React247.createElement(Stack150, { gap: 2 }, /* @__PURE__ */ React247.createElement(Text155, { fw: 500, size: "sm", contentEditable: false }, block2.props.title || "Embed"), /* @__PURE__ */ React247.createElement(Text155, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, block2.props.description || safeUrl || "No URL configured"))), safeUrl && /* @__PURE__ */ React247.createElement(Box53, { style: { borderRadius: 8, overflow: "hidden" } }, /* @__PURE__ */ React247.createElement(
27644
27702
  "iframe",
27645
27703
  {
27646
27704
  ...isImageUrl(safeUrl) ? { srcDoc: buildImageSrcdoc(safeUrl) } : { src: safeUrl },
@@ -27694,7 +27752,7 @@ import { createReactBlockSpec as createReactBlockSpec23 } from "@blocknote/react
27694
27752
 
27695
27753
  // src/mantine/blocks/secrets/SecretsBlock.tsx
27696
27754
  import React250, { useCallback as useCallback98, useMemo as useMemo117, useState as useState122 } from "react";
27697
- import { Anchor as Anchor2, ActionIcon as ActionIcon35, Button as Button54, Collapse as Collapse8, CopyButton as CopyButton2, Group as Group95, Paper as Paper17, Stack as Stack152, Text as Text156, Tooltip as Tooltip25 } from "@mantine/core";
27755
+ import { Anchor as Anchor2, ActionIcon as ActionIcon35, Button as Button54, Collapse as Collapse8, CopyButton as CopyButton2, Group as Group94, Paper as Paper17, Stack as Stack151, Text as Text156, Tooltip as Tooltip25 } from "@mantine/core";
27698
27756
  import { IconCheck as IconCheck21, IconCopy as IconCopy2, IconDownload as IconDownload4, IconEye, IconEyeOff, IconKey as IconKey5 } from "@tabler/icons-react";
27699
27757
  var SENSITIVE_KEYS = /* @__PURE__ */ new Set(["mnemonic", "matrixPassword", "matrixRecoveryPhrase", "matrixAccessToken", "pin", "openRouterApiKeyJwe", "authToken"]);
27700
27758
  var BLOCK_LABELS = {
@@ -27799,12 +27857,12 @@ function MaskedValue({ value, isSensitive }) {
27799
27857
  if (!isSensitive) {
27800
27858
  return /* @__PURE__ */ React250.createElement(Text156, { size: "xs", ff: "monospace", style: { wordBreak: "break-all" } }, String(value));
27801
27859
  }
27802
- return /* @__PURE__ */ React250.createElement(Group95, { gap: 4, align: "center", wrap: "nowrap" }, /* @__PURE__ */ React250.createElement(Text156, { size: "xs", ff: "monospace", style: { wordBreak: "break-all" } }, visible ? String(value) : "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"), /* @__PURE__ */ React250.createElement(ActionIcon35, { variant: "subtle", size: "xs", onClick: () => setVisible((v) => !v) }, visible ? /* @__PURE__ */ React250.createElement(IconEyeOff, { size: 12 }) : /* @__PURE__ */ React250.createElement(IconEye, { size: 12 })));
27860
+ return /* @__PURE__ */ React250.createElement(Group94, { gap: 4, align: "center", wrap: "nowrap" }, /* @__PURE__ */ React250.createElement(Text156, { size: "xs", ff: "monospace", style: { wordBreak: "break-all" } }, visible ? String(value) : "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"), /* @__PURE__ */ React250.createElement(ActionIcon35, { variant: "subtle", size: "xs", onClick: () => setVisible((v) => !v) }, visible ? /* @__PURE__ */ React250.createElement(IconEyeOff, { size: 12 }) : /* @__PURE__ */ React250.createElement(IconEye, { size: 12 })));
27803
27861
  }
27804
27862
  function OutputEntry({ label, value, isSensitive }) {
27805
27863
  const displayValue = typeof value === "object" ? JSON.stringify(value, null, 2) : String(value ?? "");
27806
27864
  const desc = FIELD_DESCRIPTIONS[label];
27807
- return /* @__PURE__ */ React250.createElement(Stack152, { gap: 0 }, /* @__PURE__ */ React250.createElement(Group95, { gap: "xs", align: "flex-start", wrap: "nowrap", style: { minHeight: 24 } }, /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed", style: { minWidth: 140, flexShrink: 0 } }, label), /* @__PURE__ */ React250.createElement(MaskedValue, { value: displayValue, isSensitive })), desc && /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed", fs: "italic", pl: 140 }, desc));
27865
+ return /* @__PURE__ */ React250.createElement(Stack151, { gap: 0 }, /* @__PURE__ */ React250.createElement(Group94, { gap: "xs", align: "flex-start", wrap: "nowrap", style: { minHeight: 24 } }, /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed", style: { minWidth: 140, flexShrink: 0 } }, label), /* @__PURE__ */ React250.createElement(MaskedValue, { value: displayValue, isSensitive })), desc && /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed", fs: "italic", pl: 140 }, desc));
27808
27866
  }
27809
27867
  function SecretsBlock({ editor, block: block2 }) {
27810
27868
  const sessionRunId = useRunSessionId();
@@ -27829,9 +27887,9 @@ function SecretsBlock({ editor, block: block2 }) {
27829
27887
  URL.revokeObjectURL(url);
27830
27888
  }, [outputs]);
27831
27889
  if (docType === "template") {
27832
- return /* @__PURE__ */ React250.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React250.createElement(Stack152, { gap: "xs" }, /* @__PURE__ */ React250.createElement(Group95, { gap: "xs", align: "center" }, /* @__PURE__ */ React250.createElement(IconKey5, { size: 18 }), /* @__PURE__ */ React250.createElement(Text156, { fw: 600, size: "sm" }, block2.props.title || "Flow Output")), /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed" }, "Displays all flow outputs and allows downloading them in flow mode.")));
27890
+ return /* @__PURE__ */ React250.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React250.createElement(Stack151, { gap: "xs" }, /* @__PURE__ */ React250.createElement(Group94, { gap: "xs", align: "center" }, /* @__PURE__ */ React250.createElement(IconKey5, { size: 18 }), /* @__PURE__ */ React250.createElement(Text156, { fw: 600, size: "sm" }, block2.props.title || "Flow Output")), /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed" }, "Displays all flow outputs and allows downloading them in flow mode.")));
27833
27891
  }
27834
- return /* @__PURE__ */ React250.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React250.createElement(Stack152, { gap: "md" }, /* @__PURE__ */ React250.createElement(Group95, { gap: "xs", align: "center" }, /* @__PURE__ */ React250.createElement(IconKey5, { size: 18 }), /* @__PURE__ */ React250.createElement(Text156, { fw: 600, size: "sm" }, block2.props.title || "Flow Output")), /* @__PURE__ */ React250.createElement(Text156, { size: "sm", c: "dimmed" }, "Everything produced by this flow. You can view it here or download as JSON."), connectUrl && /* @__PURE__ */ React250.createElement(Stack152, { gap: "xs" }, /* @__PURE__ */ React250.createElement(Text156, { size: "sm", fw: 500 }, "Oracle Connect Link"), /* @__PURE__ */ React250.createElement(Group95, { gap: "xs", align: "center" }, /* @__PURE__ */ React250.createElement(Anchor2, { href: connectUrl, target: "_blank", size: "sm", style: { wordBreak: "break-all" } }, connectUrl), /* @__PURE__ */ React250.createElement(CopyButton2, { value: connectUrl, timeout: 2e3 }, ({ copied, copy }) => /* @__PURE__ */ React250.createElement(Tooltip25, { label: copied ? "Copied" : "Copy link", withArrow: true, position: "right" }, /* @__PURE__ */ React250.createElement(ActionIcon35, { color: copied ? "teal" : "gray", variant: "subtle", onClick: copy, size: "sm" }, copied ? /* @__PURE__ */ React250.createElement(IconCheck21, { size: 14 }) : /* @__PURE__ */ React250.createElement(IconCopy2, { size: 14 })))))), /* @__PURE__ */ React250.createElement(Group95, { gap: "xs" }, /* @__PURE__ */ React250.createElement(Button54, { variant: "light", size: "xs", leftSection: /* @__PURE__ */ React250.createElement(IconEye, { size: 14 }), onClick: () => setShowOutput((v) => !v) }, showOutput ? "Hide Output" : "View Output"), /* @__PURE__ */ React250.createElement(Button54, { variant: "filled", size: "sm", leftSection: /* @__PURE__ */ React250.createElement(IconDownload4, { size: 14 }), onClick: handleDownload, disabled: outputs.length === 0 }, "Download JSON")), /* @__PURE__ */ React250.createElement(Collapse8, { in: showOutput }, /* @__PURE__ */ React250.createElement(Stack152, { gap: "sm" }, outputs.length === 0 && /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed", fs: "italic" }, "No outputs yet."), outputs.map(({ id, label, output }) => /* @__PURE__ */ React250.createElement(Paper17, { key: id, p: "xs", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React250.createElement(Stack152, { gap: 4 }, /* @__PURE__ */ React250.createElement(Text156, { size: "xs", fw: 600 }, label), Object.entries(output).map(([key, value]) => /* @__PURE__ */ React250.createElement(OutputEntry, { key, label: key, value, isSensitive: SENSITIVE_KEYS.has(key) })))))))));
27892
+ return /* @__PURE__ */ React250.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React250.createElement(Stack151, { gap: "md" }, /* @__PURE__ */ React250.createElement(Group94, { gap: "xs", align: "center" }, /* @__PURE__ */ React250.createElement(IconKey5, { size: 18 }), /* @__PURE__ */ React250.createElement(Text156, { fw: 600, size: "sm" }, block2.props.title || "Flow Output")), /* @__PURE__ */ React250.createElement(Text156, { size: "sm", c: "dimmed" }, "Everything produced by this flow. You can view it here or download as JSON."), connectUrl && /* @__PURE__ */ React250.createElement(Stack151, { gap: "xs" }, /* @__PURE__ */ React250.createElement(Text156, { size: "sm", fw: 500 }, "Oracle Connect Link"), /* @__PURE__ */ React250.createElement(Group94, { gap: "xs", align: "center" }, /* @__PURE__ */ React250.createElement(Anchor2, { href: connectUrl, target: "_blank", size: "sm", style: { wordBreak: "break-all" } }, connectUrl), /* @__PURE__ */ React250.createElement(CopyButton2, { value: connectUrl, timeout: 2e3 }, ({ copied, copy }) => /* @__PURE__ */ React250.createElement(Tooltip25, { label: copied ? "Copied" : "Copy link", withArrow: true, position: "right" }, /* @__PURE__ */ React250.createElement(ActionIcon35, { color: copied ? "teal" : "gray", variant: "subtle", onClick: copy, size: "sm" }, copied ? /* @__PURE__ */ React250.createElement(IconCheck21, { size: 14 }) : /* @__PURE__ */ React250.createElement(IconCopy2, { size: 14 })))))), /* @__PURE__ */ React250.createElement(Group94, { gap: "xs" }, /* @__PURE__ */ React250.createElement(Button54, { variant: "light", size: "xs", leftSection: /* @__PURE__ */ React250.createElement(IconEye, { size: 14 }), onClick: () => setShowOutput((v) => !v) }, showOutput ? "Hide Output" : "View Output"), /* @__PURE__ */ React250.createElement(Button54, { variant: "filled", size: "sm", leftSection: /* @__PURE__ */ React250.createElement(IconDownload4, { size: 14 }), onClick: handleDownload, disabled: outputs.length === 0 }, "Download JSON")), /* @__PURE__ */ React250.createElement(Collapse8, { in: showOutput }, /* @__PURE__ */ React250.createElement(Stack151, { gap: "sm" }, outputs.length === 0 && /* @__PURE__ */ React250.createElement(Text156, { size: "xs", c: "dimmed", fs: "italic" }, "No outputs yet."), outputs.map(({ id, label, output }) => /* @__PURE__ */ React250.createElement(Paper17, { key: id, p: "xs", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React250.createElement(Stack151, { gap: 4 }, /* @__PURE__ */ React250.createElement(Text156, { size: "xs", fw: 600 }, label), Object.entries(output).map(([key, value]) => /* @__PURE__ */ React250.createElement(OutputEntry, { key, label: key, value, isSensitive: SENSITIVE_KEYS.has(key) })))))))));
27835
27893
  }
27836
27894
 
27837
27895
  // src/mantine/blocks/secrets/SecretsBlockSpec.tsx
@@ -27877,7 +27935,7 @@ import React256 from "react";
27877
27935
 
27878
27936
  // src/mantine/blocks/skills/template/SkillsTemplateView.tsx
27879
27937
  import React254, { useMemo as useMemo118 } from "react";
27880
- import { Badge as Badge42, Group as Group96, Stack as Stack153, Text as Text157 } from "@mantine/core";
27938
+ import { Badge as Badge42, Group as Group95, Stack as Stack152, Text as Text157 } from "@mantine/core";
27881
27939
  var SkillsTemplateView = ({ editor: _editor, block: block2 }) => {
27882
27940
  const skillCount = useMemo118(() => {
27883
27941
  try {
@@ -27895,13 +27953,13 @@ var SkillsTemplateView = ({ editor: _editor, block: block2 }) => {
27895
27953
  return 0;
27896
27954
  }
27897
27955
  }, [block2.props.mcpServers]);
27898
- return /* @__PURE__ */ React254.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React254.createElement(Badge42, { size: "xs", variant: "light", color: "gray", style: { position: "absolute", top: 8, right: 8 } }, "Template"), /* @__PURE__ */ React254.createElement(Group96, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React254.createElement(Group96, { wrap: "nowrap", align: "center" }, getIcon("tools", block2.props.icon), /* @__PURE__ */ React254.createElement(Stack153, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React254.createElement(Text157, { fw: 500, size: "sm" }, block2.props.title || "Skills"), /* @__PURE__ */ React254.createElement(Text157, { size: "xs", c: "dimmed" }, skillCount > 0 || serverCount > 0 ? `${skillCount} skill(s), ${serverCount} MCP server(s) configured` : "Skills and MCP servers will be configured by the agent")))));
27956
+ return /* @__PURE__ */ React254.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React254.createElement(Badge42, { size: "xs", variant: "light", color: "gray", style: { position: "absolute", top: 8, right: 8 } }, "Template"), /* @__PURE__ */ React254.createElement(Group95, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React254.createElement(Group95, { wrap: "nowrap", align: "center" }, getIcon("tools", block2.props.icon), /* @__PURE__ */ React254.createElement(Stack152, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React254.createElement(Text157, { fw: 500, size: "sm" }, block2.props.title || "Skills"), /* @__PURE__ */ React254.createElement(Text157, { size: "xs", c: "dimmed" }, skillCount > 0 || serverCount > 0 ? `${skillCount} skill(s), ${serverCount} MCP server(s) configured` : "Skills and MCP servers will be configured by the agent")))));
27899
27957
  };
27900
27958
 
27901
27959
  // src/mantine/blocks/skills/flow/SkillsFlowView.tsx
27902
- import { ActionIcon as ActionIcon36, Badge as Badge43, Button as Button55, Collapse as Collapse9, Group as Group97, Loader as Loader51, Paper as Paper18, Stack as Stack154, Text as Text158, Tooltip as Tooltip26 } from "@mantine/core";
27960
+ import { ActionIcon as ActionIcon36, Badge as Badge43, Button as Button55, Collapse as Collapse9, Group as Group96, Loader as Loader51, Paper as Paper18, Stack as Stack153, Text as Text158, Tooltip as Tooltip26 } from "@mantine/core";
27903
27961
  import { IconBrain as IconBrain3, IconCheck as IconCheck22, IconPencil as IconPencil3, IconPlus as IconPlus9, IconTrash as IconTrash10, IconX as IconX14 } from "@tabler/icons-react";
27904
- import React255, { useCallback as useCallback99, useEffect as useEffect99, useMemo as useMemo119, useRef as useRef32, useState as useState123 } from "react";
27962
+ import React255, { useCallback as useCallback99, useEffect as useEffect99, useMemo as useMemo119, useRef as useRef33, useState as useState123 } from "react";
27905
27963
  function parseSkills2(raw) {
27906
27964
  try {
27907
27965
  const parsed = JSON.parse(raw || "[]");
@@ -27933,7 +27991,7 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
27933
27991
  const [validatingUrls, setValidatingUrls] = useState123({});
27934
27992
  const [capsules, setCapsules] = useState123([]);
27935
27993
  const [loadingCapsules, setLoadingCapsules] = useState123(false);
27936
- const capsulesFetchedRef = useRef32(false);
27994
+ const capsulesFetchedRef = useRef33(false);
27937
27995
  useEffect99(() => {
27938
27996
  if (capsulesFetchedRef.current || !handlers.getSkills) return;
27939
27997
  capsulesFetchedRef.current = true;
@@ -27941,7 +27999,7 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
27941
27999
  handlers.getSkills().then((r) => setCapsules(r.capsules || [])).catch((err) => console.error("[skills] Failed to fetch capsules:", err)).finally(() => setLoadingCapsules(false));
27942
28000
  }, [handlers.getSkills]);
27943
28001
  const [network, setNetwork] = useState123("");
27944
- const networkFetchedRef = useRef32(false);
28002
+ const networkFetchedRef = useRef33(false);
27945
28003
  useEffect99(() => {
27946
28004
  if (networkFetchedRef.current || !handlers.getNetwork) return;
27947
28005
  networkFetchedRef.current = true;
@@ -28086,7 +28144,7 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
28086
28144
  setSavingMcp(false);
28087
28145
  resetMcpForm();
28088
28146
  }, [mcpName, mcpUrl, mcpDescription, editingMcpIndex, mcpServers, updateMcpServers, resetMcpForm, handleValidateMcp]);
28089
- return /* @__PURE__ */ React255.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React255.createElement(Stack154, { gap: "md" }, /* @__PURE__ */ React255.createElement(Group97, { justify: "space-between", align: "center" }, /* @__PURE__ */ React255.createElement(Group97, { gap: "xs", align: "center" }, /* @__PURE__ */ React255.createElement(IconBrain3, { size: 20 }), /* @__PURE__ */ React255.createElement(Text158, { fw: 600, size: "sm" }, block2.props.title || "Skills & MCP Servers")), isCompleted && /* @__PURE__ */ React255.createElement(Badge43, { color: "green", variant: "light", size: "sm" }, "Configured")), block2.props.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed" }, block2.props.description), /* @__PURE__ */ React255.createElement(Stack154, { gap: "xs" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, "Skills"), loadingCapsules ? /* @__PURE__ */ React255.createElement(Group97, { gap: "xs" }, /* @__PURE__ */ React255.createElement(Loader51, { size: "xs" }), /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed" }, "Loading skills...")) : !isCompleted ? /* @__PURE__ */ React255.createElement(
28147
+ return /* @__PURE__ */ React255.createElement(BaseContainer, { blockId: block2.id }, /* @__PURE__ */ React255.createElement(Stack153, { gap: "md" }, /* @__PURE__ */ React255.createElement(Group96, { justify: "space-between", align: "center" }, /* @__PURE__ */ React255.createElement(Group96, { gap: "xs", align: "center" }, /* @__PURE__ */ React255.createElement(IconBrain3, { size: 20 }), /* @__PURE__ */ React255.createElement(Text158, { fw: 600, size: "sm" }, block2.props.title || "Skills & MCP Servers")), isCompleted && /* @__PURE__ */ React255.createElement(Badge43, { color: "green", variant: "light", size: "sm" }, "Configured")), block2.props.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed" }, block2.props.description), /* @__PURE__ */ React255.createElement(Stack153, { gap: "xs" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, "Skills"), loadingCapsules ? /* @__PURE__ */ React255.createElement(Group96, { gap: "xs" }, /* @__PURE__ */ React255.createElement(Loader51, { size: "xs" }), /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed" }, "Loading skills...")) : !isCompleted ? /* @__PURE__ */ React255.createElement(
28090
28148
  BaseMultiSelect,
28091
28149
  {
28092
28150
  placeholder: "Search and select skills...",
@@ -28106,14 +28164,14 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
28106
28164
  },
28107
28165
  renderOption: ({ option }) => {
28108
28166
  const cap = capsules.find((c) => c.cid === option.value);
28109
- return /* @__PURE__ */ React255.createElement(Stack154, { gap: 0 }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, option.label), cap?.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", lineClamp: 1 }, cap.description));
28167
+ return /* @__PURE__ */ React255.createElement(Stack153, { gap: 0 }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, option.label), cap?.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", lineClamp: 1 }, cap.description));
28110
28168
  },
28111
28169
  styles: {
28112
28170
  pillsList: { gap: 4 },
28113
28171
  option: { padding: "8px 12px" }
28114
28172
  }
28115
28173
  }
28116
- ) : null, skills.map((skill) => /* @__PURE__ */ React255.createElement(Paper18, { key: skill.cid, p: "xs", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React255.createElement(Group97, { justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React255.createElement(Stack154, { gap: 2, style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React255.createElement(Group97, { gap: "xs", align: "center" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, skill.name), /* @__PURE__ */ React255.createElement(Badge43, { size: "xs", variant: "light", color: "blue" }, "CID")), skill.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", lineClamp: 2 }, skill.description), /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", ff: "monospace", lineClamp: 1 }, skill.cid)), !isCompleted && /* @__PURE__ */ React255.createElement(ActionIcon36, { variant: "subtle", color: "red", size: "sm", onClick: () => updateSkills(skills.filter((s) => s.cid !== skill.cid)) }, /* @__PURE__ */ React255.createElement(IconX14, { size: 14 }))))), skills.length === 0 && !loadingCapsules && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", fs: "italic" }, "No skills selected yet.")), /* @__PURE__ */ React255.createElement(Stack154, { gap: "xs" }, /* @__PURE__ */ React255.createElement(Group97, { justify: "space-between", align: "center" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, "MCP Servers")), !isCompleted && mcpPresets.length > 0 && /* @__PURE__ */ React255.createElement(
28174
+ ) : null, skills.map((skill) => /* @__PURE__ */ React255.createElement(Paper18, { key: skill.cid, p: "xs", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React255.createElement(Group96, { justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React255.createElement(Stack153, { gap: 2, style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React255.createElement(Group96, { gap: "xs", align: "center" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, skill.name), /* @__PURE__ */ React255.createElement(Badge43, { size: "xs", variant: "light", color: "blue" }, "CID")), skill.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", lineClamp: 2 }, skill.description), /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", ff: "monospace", lineClamp: 1 }, skill.cid)), !isCompleted && /* @__PURE__ */ React255.createElement(ActionIcon36, { variant: "subtle", color: "red", size: "sm", onClick: () => updateSkills(skills.filter((s) => s.cid !== skill.cid)) }, /* @__PURE__ */ React255.createElement(IconX14, { size: 14 }))))), skills.length === 0 && !loadingCapsules && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", fs: "italic" }, "No skills selected yet.")), /* @__PURE__ */ React255.createElement(Stack153, { gap: "xs" }, /* @__PURE__ */ React255.createElement(Group96, { justify: "space-between", align: "center" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, "MCP Servers")), !isCompleted && mcpPresets.length > 0 && /* @__PURE__ */ React255.createElement(
28117
28175
  BaseSelect,
28118
28176
  {
28119
28177
  placeholder: "Add from presets...",
@@ -28132,7 +28190,7 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
28132
28190
  ), mcpServers.map((server, i) => {
28133
28191
  const validation = validationResults[server.url];
28134
28192
  const isValidating = validatingUrls[server.url];
28135
- return /* @__PURE__ */ React255.createElement(Paper18, { key: i, p: "xs", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React255.createElement(Group97, { justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React255.createElement(Stack154, { gap: 2, style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React255.createElement(Group97, { gap: "xs", align: "center" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, server.name), validation && validation.success && /* @__PURE__ */ React255.createElement(Badge43, { size: "xs", variant: "light", color: "green", leftSection: /* @__PURE__ */ React255.createElement(IconCheck22, { size: 10 }) }, validation.toolCount, " tools")), server.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", lineClamp: 1 }, server.description), /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", ff: "monospace", lineClamp: 1 }, server.url), validation && !validation.success && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "red" }, validation.error)), !isCompleted && /* @__PURE__ */ React255.createElement(Group97, { gap: 4 }, !server.isPreset && /* @__PURE__ */ React255.createElement(Tooltip26, { label: "Test connection" }, /* @__PURE__ */ React255.createElement(Button55, { variant: "subtle", size: "compact-xs", onClick: () => handleValidateMcp(server.url), disabled: isValidating }, isValidating ? /* @__PURE__ */ React255.createElement(Loader51, { size: 12 }) : "Test")), /* @__PURE__ */ React255.createElement(
28193
+ return /* @__PURE__ */ React255.createElement(Paper18, { key: i, p: "xs", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React255.createElement(Group96, { justify: "space-between", wrap: "nowrap" }, /* @__PURE__ */ React255.createElement(Stack153, { gap: 2, style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React255.createElement(Group96, { gap: "xs", align: "center" }, /* @__PURE__ */ React255.createElement(Text158, { size: "xs", fw: 500 }, server.name), validation && validation.success && /* @__PURE__ */ React255.createElement(Badge43, { size: "xs", variant: "light", color: "green", leftSection: /* @__PURE__ */ React255.createElement(IconCheck22, { size: 10 }) }, validation.toolCount, " tools")), server.description && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", lineClamp: 1 }, server.description), /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "dimmed", ff: "monospace", lineClamp: 1 }, server.url), validation && !validation.success && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "red" }, validation.error)), !isCompleted && /* @__PURE__ */ React255.createElement(Group96, { gap: 4 }, !server.isPreset && /* @__PURE__ */ React255.createElement(Tooltip26, { label: "Test connection" }, /* @__PURE__ */ React255.createElement(Button55, { variant: "subtle", size: "compact-xs", onClick: () => handleValidateMcp(server.url), disabled: isValidating }, isValidating ? /* @__PURE__ */ React255.createElement(Loader51, { size: 12 }) : "Test")), /* @__PURE__ */ React255.createElement(
28136
28194
  ActionIcon36,
28137
28195
  {
28138
28196
  variant: "subtle",
@@ -28147,7 +28205,7 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
28147
28205
  },
28148
28206
  /* @__PURE__ */ React255.createElement(IconPencil3, { size: 14 })
28149
28207
  ), /* @__PURE__ */ React255.createElement(ActionIcon36, { variant: "subtle", color: "red", size: "sm", onClick: () => updateMcpServers(mcpServers.filter((_, idx) => idx !== i)) }, /* @__PURE__ */ React255.createElement(IconTrash10, { size: 14 })))));
28150
- }), !isCompleted && !showAddMcp && /* @__PURE__ */ React255.createElement(Button55, { variant: "light", size: "xs", leftSection: /* @__PURE__ */ React255.createElement(IconPlus9, { size: 14 }), onClick: () => setShowAddMcp(true) }, "Add MCP Server"), /* @__PURE__ */ React255.createElement(Collapse9, { in: showAddMcp }, /* @__PURE__ */ React255.createElement(Paper18, { p: "sm", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React255.createElement(Stack154, { gap: "xs" }, /* @__PURE__ */ React255.createElement(BaseTextInput, { size: "xs", label: "Name", placeholder: "Server name", value: mcpName, onChange: (e) => setMcpName(e.currentTarget.value) }), /* @__PURE__ */ React255.createElement(BaseTextInput, { size: "xs", label: "URL", placeholder: "https://...", value: mcpUrl, onChange: (e) => setMcpUrl(e.currentTarget.value) }), /* @__PURE__ */ React255.createElement(
28208
+ }), !isCompleted && !showAddMcp && /* @__PURE__ */ React255.createElement(Button55, { variant: "light", size: "xs", leftSection: /* @__PURE__ */ React255.createElement(IconPlus9, { size: 14 }), onClick: () => setShowAddMcp(true) }, "Add MCP Server"), /* @__PURE__ */ React255.createElement(Collapse9, { in: showAddMcp }, /* @__PURE__ */ React255.createElement(Paper18, { p: "sm", withBorder: true, style: { borderColor: "var(--mantine-color-neutralColor-6)" } }, /* @__PURE__ */ React255.createElement(Stack153, { gap: "xs" }, /* @__PURE__ */ React255.createElement(BaseTextInput, { size: "xs", label: "Name", placeholder: "Server name", value: mcpName, onChange: (e) => setMcpName(e.currentTarget.value) }), /* @__PURE__ */ React255.createElement(BaseTextInput, { size: "xs", label: "URL", placeholder: "https://...", value: mcpUrl, onChange: (e) => setMcpUrl(e.currentTarget.value) }), /* @__PURE__ */ React255.createElement(
28151
28209
  BaseTextInput,
28152
28210
  {
28153
28211
  size: "xs",
@@ -28156,7 +28214,7 @@ var SkillsFlowView = ({ editor, block: block2 }) => {
28156
28214
  value: mcpDescription,
28157
28215
  onChange: (e) => setMcpDescription(e.currentTarget.value)
28158
28216
  }
28159
- ), mcpSaveError && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "red" }, mcpSaveError), /* @__PURE__ */ React255.createElement(Group97, { gap: "xs", justify: "flex-end" }, /* @__PURE__ */ React255.createElement(
28217
+ ), mcpSaveError && /* @__PURE__ */ React255.createElement(Text158, { size: "xs", c: "red" }, mcpSaveError), /* @__PURE__ */ React255.createElement(Group96, { gap: "xs", justify: "flex-end" }, /* @__PURE__ */ React255.createElement(
28160
28218
  Button55,
28161
28219
  {
28162
28220
  size: "xs",
@@ -28970,7 +29028,7 @@ import { BlockNoteSchema as BlockNoteSchema2, createPageBreakBlockSpec as create
28970
29028
  import { withCollaboration } from "@blocknote/core/yjs";
28971
29029
 
28972
29030
  // src/core/hooks/useMatrixProvider.ts
28973
- import { useEffect as useEffect102, useState as useState126, useRef as useRef33, useCallback as useCallback101, useMemo as useMemo122, useReducer } from "react";
29031
+ import { useEffect as useEffect102, useState as useState126, useRef as useRef34, useCallback as useCallback101, useMemo as useMemo122, useReducer } from "react";
28974
29032
  import { MatrixProvider } from "@ixo/matrix-crdt";
28975
29033
  var FLUSH_TIMEOUT_MS = 3e3;
28976
29034
  var RETRY_BASE_MS = 5e3;
@@ -29045,10 +29103,10 @@ function useDedicatedMatrixProvider({
29045
29103
  }) {
29046
29104
  const [matrixProvider, setProvider] = useState126(null);
29047
29105
  const [status, setStatus] = useState126("disconnected");
29048
- const isMountedRef = useRef33(true);
29049
- const providerRef = useRef33(null);
29050
- const retryTimeoutRef = useRef33(null);
29051
- const retryAttemptRef = useRef33(0);
29106
+ const isMountedRef = useRef34(true);
29107
+ const providerRef = useRef34(null);
29108
+ const retryTimeoutRef = useRef34(null);
29109
+ const retryAttemptRef = useRef34(0);
29052
29110
  const providerClient = useMemo122(() => matrixClientWithEventFilter(matrixClient, eventFilter, eventMetadata), [eventFilter, eventMetadata, matrixClient]);
29053
29111
  const providerOptions = useMemo122(
29054
29112
  () => ({
@@ -29183,7 +29241,7 @@ function useCollaborativeYDoc(options) {
29183
29241
  }
29184
29242
 
29185
29243
  // src/mantine/hooks/useCollaborativeIxoEditor.ts
29186
- import { useMemo as useMemo124, useEffect as useEffect104, useState as useState127, useRef as useRef35 } from "react";
29244
+ import { useMemo as useMemo124, useEffect as useEffect104, useState as useState127, useRef as useRef36 } from "react";
29187
29245
 
29188
29246
  // src/core/lib/matrixMetadata.ts
29189
29247
  var COVER_IMAGE_EVENT_TYPE = "ixo.page.cover_image";
@@ -29437,7 +29495,7 @@ function logInvocation(matrixClient, roomId, invocation) {
29437
29495
  }
29438
29496
 
29439
29497
  // src/mantine/hooks/useFlowLifecycle.ts
29440
- import { useEffect as useEffect103, useCallback as useCallback102, useRef as useRef34 } from "react";
29498
+ import { useEffect as useEffect103, useCallback as useCallback102, useRef as useRef35 } from "react";
29441
29499
 
29442
29500
  // src/mantine/hooks/useFlowTTLCleanup.ts
29443
29501
  function performTTLCleanup(editor, sessionRunId) {
@@ -29634,8 +29692,8 @@ function isBlockEnabledInFlow(block2, editorDocument, yDoc, sessionRunId) {
29634
29692
  // src/mantine/hooks/useFlowLifecycle.ts
29635
29693
  var DEFAULT_INTERVAL_MS = 3e4;
29636
29694
  function useFlowLifecycle({ editor, connectionStatus, sessionRunId, enabled = true }) {
29637
- const hasRunInitialRef = useRef34(false);
29638
- const runningRef = useRef34(false);
29695
+ const hasRunInitialRef = useRef35(false);
29696
+ const runningRef = useRef35(false);
29639
29697
  const runPipeline = useCallback102(async () => {
29640
29698
  if (!editor || runningRef.current) return;
29641
29699
  runningRef.current = true;
@@ -30154,7 +30212,7 @@ function useCreateCollaborativeIxoEditor(options) {
30154
30212
  collectPhantomLegacyRun(yDoc);
30155
30213
  }, [connectionStatus, permissions.write, yDoc]);
30156
30214
  const [connectedUsers, setConnectedUsers] = useState127([]);
30157
- const activeBlockIdRef = useRef35(null);
30215
+ const activeBlockIdRef = useRef36(null);
30158
30216
  const awarenessInstance = matrixProvider?.awarenessInstance ?? null;
30159
30217
  useEffect104(() => {
30160
30218
  if (!awarenessInstance || connectionStatus !== "connected") {
@@ -30227,12 +30285,12 @@ function useCreateCollaborativeIxoEditor(options) {
30227
30285
 
30228
30286
  // src/mantine/components/Base/BaseIconPicker.tsx
30229
30287
  import React260, { useState as useState129, useMemo as useMemo125, useEffect as useEffect105 } from "react";
30230
- import { TextInput as TextInput7, Tabs as Tabs3, Box as Box54, Stack as Stack155, UnstyledButton as UnstyledButton3, Text as Text160, Center as Center13, ScrollArea as ScrollArea4, Group as Group99, Popover as Popover4 } from "@mantine/core";
30288
+ import { TextInput as TextInput7, Tabs as Tabs3, Box as Box54, Stack as Stack154, UnstyledButton as UnstyledButton3, Text as Text160, Center as Center13, ScrollArea as ScrollArea4, Group as Group98, Popover as Popover4 } from "@mantine/core";
30231
30289
  import { IconSearch as IconSearch7, IconX as IconX15, IconChevronLeft, IconChevronRight as IconChevronRight11 } from "@tabler/icons-react";
30232
30290
 
30233
30291
  // src/mantine/components/Base/CoverImageButton.tsx
30234
30292
  import React259, { forwardRef, useState as useState128 } from "react";
30235
- import { UnstyledButton as UnstyledButton2, Group as Group98, Text as Text159 } from "@mantine/core";
30293
+ import { UnstyledButton as UnstyledButton2, Group as Group97, Text as Text159 } from "@mantine/core";
30236
30294
  var CoverImageButton = forwardRef(function CoverImageButton2({ isActive = false, onClick, icon: icon2, children, style }, ref) {
30237
30295
  const [hovered, setHovered] = useState128(false);
30238
30296
  return /* @__PURE__ */ React259.createElement(
@@ -30251,7 +30309,7 @@ var CoverImageButton = forwardRef(function CoverImageButton2({ isActive = false,
30251
30309
  ...style
30252
30310
  }
30253
30311
  },
30254
- /* @__PURE__ */ React259.createElement(Group98, { gap: 4, wrap: "nowrap" }, icon2 && /* @__PURE__ */ React259.createElement(
30312
+ /* @__PURE__ */ React259.createElement(Group97, { gap: 4, wrap: "nowrap" }, icon2 && /* @__PURE__ */ React259.createElement(
30255
30313
  "span",
30256
30314
  {
30257
30315
  style: {
@@ -30419,9 +30477,9 @@ function BaseIconPicker({ opened, onClose, onSelectIcon, onUploadClick, onRemove
30419
30477
  transition: "background 0.15s ease"
30420
30478
  }
30421
30479
  },
30422
- /* @__PURE__ */ React260.createElement(Group99, { gap: 4, wrap: "nowrap" }, /* @__PURE__ */ React260.createElement(IconX15, { size: 14 }), /* @__PURE__ */ React260.createElement(Text160, { fz: 12, c: "dimmed", style: { whiteSpace: "nowrap" } }, "Remove"))
30480
+ /* @__PURE__ */ React260.createElement(Group98, { gap: 4, wrap: "nowrap" }, /* @__PURE__ */ React260.createElement(IconX15, { size: 14 }), /* @__PURE__ */ React260.createElement(Text160, { fz: 12, c: "dimmed", style: { whiteSpace: "nowrap" } }, "Remove"))
30423
30481
  ),
30424
- /* @__PURE__ */ React260.createElement(Stack155, { gap: "md", p: "md" }, /* @__PURE__ */ React260.createElement(Tabs3, { value: activeTab, onChange: setActiveTab, variant: "pills" }, /* @__PURE__ */ React260.createElement(Tabs3.List, null, /* @__PURE__ */ React260.createElement(Tabs3.Tab, { value: "icons" }, "Icons"), /* @__PURE__ */ React260.createElement(Tabs3.Tab, { value: "upload" }, "Upload")), /* @__PURE__ */ React260.createElement(Tabs3.Panel, { value: "icons", pt: "md" }, /* @__PURE__ */ React260.createElement(
30482
+ /* @__PURE__ */ React260.createElement(Stack154, { gap: "md", p: "md" }, /* @__PURE__ */ React260.createElement(Tabs3, { value: activeTab, onChange: setActiveTab, variant: "pills" }, /* @__PURE__ */ React260.createElement(Tabs3.List, null, /* @__PURE__ */ React260.createElement(Tabs3.Tab, { value: "icons" }, "Icons"), /* @__PURE__ */ React260.createElement(Tabs3.Tab, { value: "upload" }, "Upload")), /* @__PURE__ */ React260.createElement(Tabs3.Panel, { value: "icons", pt: "md" }, /* @__PURE__ */ React260.createElement(
30425
30483
  TextInput7,
30426
30484
  {
30427
30485
  mb: "md",
@@ -30439,7 +30497,7 @@ function BaseIconPicker({ opened, onClose, onSelectIcon, onUploadClick, onRemove
30439
30497
  }
30440
30498
  }
30441
30499
  }
30442
- ), !searchQuery && /* @__PURE__ */ React260.createElement(Box54, { mb: "md" }, /* @__PURE__ */ React260.createElement(Text160, { size: "sm", fw: 500, mb: "xs", px: "xs" }, "Recent"), /* @__PURE__ */ React260.createElement(ScrollArea4.Autosize, { scrollbarSize: 0, mah: 60 }, renderIconGrid(recentIcons))), /* @__PURE__ */ React260.createElement(Box54, null, /* @__PURE__ */ React260.createElement(Group99, { justify: "space-between", mb: "xs", px: "xs" }, /* @__PURE__ */ React260.createElement(Text160, { size: "sm", fw: 500 }, searchQuery ? "Results" : "Icons"), totalPages > 1 && /* @__PURE__ */ React260.createElement(Group99, { gap: "xs" }, /* @__PURE__ */ React260.createElement(Text160, { size: "xs", c: "dimmed" }, "Page ", currentPage, " of ", totalPages, " (", filteredIcons.length, " total)"), /* @__PURE__ */ React260.createElement(BaseButton, { size: "xs", onClick: () => setCurrentPage((p) => Math.max(1, p - 1)), disabled: currentPage === 1, leftSection: /* @__PURE__ */ React260.createElement(IconChevronLeft, { size: 14 }) }, "Prev"), /* @__PURE__ */ React260.createElement(
30500
+ ), !searchQuery && /* @__PURE__ */ React260.createElement(Box54, { mb: "md" }, /* @__PURE__ */ React260.createElement(Text160, { size: "sm", fw: 500, mb: "xs", px: "xs" }, "Recent"), /* @__PURE__ */ React260.createElement(ScrollArea4.Autosize, { scrollbarSize: 0, mah: 60 }, renderIconGrid(recentIcons))), /* @__PURE__ */ React260.createElement(Box54, null, /* @__PURE__ */ React260.createElement(Group98, { justify: "space-between", mb: "xs", px: "xs" }, /* @__PURE__ */ React260.createElement(Text160, { size: "sm", fw: 500 }, searchQuery ? "Results" : "Icons"), totalPages > 1 && /* @__PURE__ */ React260.createElement(Group98, { gap: "xs" }, /* @__PURE__ */ React260.createElement(Text160, { size: "xs", c: "dimmed" }, "Page ", currentPage, " of ", totalPages, " (", filteredIcons.length, " total)"), /* @__PURE__ */ React260.createElement(BaseButton, { size: "xs", onClick: () => setCurrentPage((p) => Math.max(1, p - 1)), disabled: currentPage === 1, leftSection: /* @__PURE__ */ React260.createElement(IconChevronLeft, { size: 14 }) }, "Prev"), /* @__PURE__ */ React260.createElement(
30443
30501
  BaseButton,
30444
30502
  {
30445
30503
  size: "xs",
@@ -30448,13 +30506,13 @@ function BaseIconPicker({ opened, onClose, onSelectIcon, onUploadClick, onRemove
30448
30506
  leftSection: /* @__PURE__ */ React260.createElement(IconChevronRight11, { size: 14 })
30449
30507
  },
30450
30508
  "Next"
30451
- ))), /* @__PURE__ */ React260.createElement(ScrollArea4.Autosize, { scrollbarSize: 0, mah: 200 }, renderIconGrid(paginatedIcons)))), /* @__PURE__ */ React260.createElement(Tabs3.Panel, { value: "upload", pt: "md" }, /* @__PURE__ */ React260.createElement(Center13, { py: "xl" }, /* @__PURE__ */ React260.createElement(Stack155, { align: "center", gap: "md" }, /* @__PURE__ */ React260.createElement(Text160, { size: "sm", c: "dimmed", ta: "center" }, "Upload a custom icon image", /* @__PURE__ */ React260.createElement("br", null), "(PNG, JPG, SVG)"), /* @__PURE__ */ React260.createElement(CoverImageButton, { onClick: onUploadClick }, "Choose File"))))))
30509
+ ))), /* @__PURE__ */ React260.createElement(ScrollArea4.Autosize, { scrollbarSize: 0, mah: 200 }, renderIconGrid(paginatedIcons)))), /* @__PURE__ */ React260.createElement(Tabs3.Panel, { value: "upload", pt: "md" }, /* @__PURE__ */ React260.createElement(Center13, { py: "xl" }, /* @__PURE__ */ React260.createElement(Stack154, { align: "center", gap: "md" }, /* @__PURE__ */ React260.createElement(Text160, { size: "sm", c: "dimmed", ta: "center" }, "Upload a custom icon image", /* @__PURE__ */ React260.createElement("br", null), "(PNG, JPG, SVG)"), /* @__PURE__ */ React260.createElement(CoverImageButton, { onClick: onUploadClick }, "Choose File"))))))
30452
30510
  ));
30453
30511
  }
30454
30512
 
30455
30513
  // src/mantine/components/CoverImage.tsx
30456
- import React263, { useState as useState132, useRef as useRef36, useEffect as useEffect108, useMemo as useMemo126 } from "react";
30457
- import { Box as Box57, Group as Group101 } from "@mantine/core";
30514
+ import React263, { useState as useState132, useRef as useRef37, useEffect as useEffect108, useMemo as useMemo126 } from "react";
30515
+ import { Box as Box57, Group as Group100 } from "@mantine/core";
30458
30516
  import { IconMoodSmile as IconMoodSmile2, IconPhoto as IconPhoto5, IconSettings as IconSettings25, IconArrowsMove, IconTrash as IconTrash12, IconRefresh as IconRefresh7 } from "@tabler/icons-react";
30459
30517
 
30460
30518
  // src/core/lib/imageTransform.ts
@@ -30651,7 +30709,7 @@ import { useDisclosure as useDisclosure6 } from "@mantine/hooks";
30651
30709
 
30652
30710
  // src/mantine/components/FlowSettingsPanel.tsx
30653
30711
  import React262, { useState as useState131, useEffect as useEffect107, useCallback as useCallback103 } from "react";
30654
- import { Stack as Stack156, Group as Group100, Button as Button56, ActionIcon as ActionIcon37, Text as Text161, Box as Box56 } from "@mantine/core";
30712
+ import { Stack as Stack155, Group as Group99, Button as Button56, ActionIcon as ActionIcon37, Text as Text161, Box as Box56 } from "@mantine/core";
30655
30713
  import { IconPlus as IconPlus10, IconTrash as IconTrash11 } from "@tabler/icons-react";
30656
30714
  var SYSTEM_KEYS = /* @__PURE__ */ new Set(["@context", "_type", "schema_version", "doc_id", "title", "createdAt", "createdBy", "flowOwnerDid"]);
30657
30715
  var FlowSettingsPanel = ({ editor }) => {
@@ -30718,7 +30776,7 @@ var FlowSettingsPanel = ({ editor }) => {
30718
30776
  [editor]
30719
30777
  );
30720
30778
  const subtitle = /* @__PURE__ */ React262.createElement(Box56, { px: 40, mb: "md" }, /* @__PURE__ */ React262.createElement(Text161, { size: "sm", c: "dimmed" }, "Add key-value settings for this flow. These are available to oracles and action blocks at runtime."));
30721
- return /* @__PURE__ */ React262.createElement(BaseRightPanelLayout, { title: "Flow Details", onClose: closePanel, isTemplate: true, captionContent: subtitle }, /* @__PURE__ */ React262.createElement(Stack156, { gap: "lg" }, rows.map((row, index) => /* @__PURE__ */ React262.createElement(Stack156, { key: index, gap: "xs" }, /* @__PURE__ */ React262.createElement(Group100, { gap: "xs", align: "center", wrap: "nowrap" }, /* @__PURE__ */ React262.createElement(BaseTextInput, { placeholder: "Key (e.g. protocolDid)", value: row.key, onChange: (e) => handleKeyChange(index, e.currentTarget.value), style: { flex: 1 } }), /* @__PURE__ */ React262.createElement(ActionIcon37, { variant: "subtle", color: "red", onClick: () => handleDelete(index), size: "lg" }, /* @__PURE__ */ React262.createElement(IconTrash11, { size: 16 }))), /* @__PURE__ */ React262.createElement(BaseTextArea, { placeholder: "Value", value: row.value, onChange: (e) => handleValueChange(index, e.currentTarget.value), minRows: 1, maxRows: 8 }))), /* @__PURE__ */ React262.createElement(Button56, { variant: "subtle", leftSection: /* @__PURE__ */ React262.createElement(IconPlus10, { size: 16 }), onClick: handleAdd, size: "sm" }, "Add detail")));
30779
+ return /* @__PURE__ */ React262.createElement(BaseRightPanelLayout, { title: "Flow Details", onClose: closePanel, isTemplate: true, captionContent: subtitle }, /* @__PURE__ */ React262.createElement(Stack155, { gap: "lg" }, rows.map((row, index) => /* @__PURE__ */ React262.createElement(Stack155, { key: index, gap: "xs" }, /* @__PURE__ */ React262.createElement(Group99, { gap: "xs", align: "center", wrap: "nowrap" }, /* @__PURE__ */ React262.createElement(BaseTextInput, { placeholder: "Key (e.g. protocolDid)", value: row.key, onChange: (e) => handleKeyChange(index, e.currentTarget.value), style: { flex: 1 } }), /* @__PURE__ */ React262.createElement(ActionIcon37, { variant: "subtle", color: "red", onClick: () => handleDelete(index), size: "lg" }, /* @__PURE__ */ React262.createElement(IconTrash11, { size: 16 }))), /* @__PURE__ */ React262.createElement(BaseTextArea, { placeholder: "Value", value: row.value, onChange: (e) => handleValueChange(index, e.currentTarget.value), minRows: 1, maxRows: 8 }))), /* @__PURE__ */ React262.createElement(Button56, { variant: "subtle", leftSection: /* @__PURE__ */ React262.createElement(IconPlus10, { size: 16 }), onClick: handleAdd, size: "sm" }, "Add detail")));
30722
30780
  };
30723
30781
 
30724
30782
  // src/mantine/components/CoverImage.tsx
@@ -30727,8 +30785,8 @@ function CoverImage({ coverImageUrl, logoUrl }) {
30727
30785
  const [isHovering, setIsHovering] = useState132(false);
30728
30786
  const [isRepositioning, setIsRepositioning] = useState132(false);
30729
30787
  const [coverPosition, setCoverPosition] = useState132(() => editor?.getPageMetadata?.()?.coverPosition ?? 50);
30730
- const coverFileInputRef = useRef36(null);
30731
- const logoFileInputRef = useRef36(null);
30788
+ const coverFileInputRef = useRef37(null);
30789
+ const logoFileInputRef = useRef37(null);
30732
30790
  const [opened, { open, close }] = useDisclosure6(false);
30733
30791
  const [metadata, setMetadata] = useState132(() => editor?.getPageMetadata?.() || null);
30734
30792
  const settingsPanelContent = useMemo126(() => editor ? /* @__PURE__ */ React263.createElement(FlowSettingsPanel, { editor }) : null, [editor]);
@@ -30871,7 +30929,7 @@ function CoverImage({ coverImageUrl, logoUrl }) {
30871
30929
  }
30872
30930
  )
30873
30931
  )
30874
- ), editable && (isHovering || opened) && /* @__PURE__ */ React263.createElement(Group101, { gap: 4, style: { position: "absolute", bottom: hasLogo ? -18 : 0, left: "var(--ixo-editor-gutter, 32px)", zIndex: 10 } }, !logoSrc && /* @__PURE__ */ React263.createElement(
30932
+ ), editable && (isHovering || opened) && /* @__PURE__ */ React263.createElement(Group100, { gap: 4, style: { position: "absolute", bottom: hasLogo ? -18 : 0, left: "var(--ixo-editor-gutter, 32px)", zIndex: 10 } }, !logoSrc && /* @__PURE__ */ React263.createElement(
30875
30933
  BaseIconPicker,
30876
30934
  {
30877
30935
  opened,
@@ -30931,7 +30989,7 @@ function CoverImage({ coverImageUrl, logoUrl }) {
30931
30989
  }
30932
30990
  ),
30933
30991
  editable && isHovering && /* @__PURE__ */ React263.createElement(
30934
- Group101,
30992
+ Group100,
30935
30993
  {
30936
30994
  gap: "xs",
30937
30995
  style: {
@@ -31025,7 +31083,7 @@ function CoverImage({ coverImageUrl, logoUrl }) {
31025
31083
  }
31026
31084
 
31027
31085
  // src/mantine/components/PageTitle.tsx
31028
- import React264, { useState as useState133, useEffect as useEffect109, useRef as useRef37, useCallback as useCallback104 } from "react";
31086
+ import React264, { useState as useState133, useEffect as useEffect109, useRef as useRef38, useCallback as useCallback104 } from "react";
31029
31087
  import { Box as Box58 } from "@mantine/core";
31030
31088
  var DEFAULT_TITLE = "New page";
31031
31089
  function isUserTitle(name) {
@@ -31072,8 +31130,8 @@ function PageTitle({ editor, editable }) {
31072
31130
  const t = useTranslate();
31073
31131
  const [title, setTitle] = useState133("");
31074
31132
  const [hasIcon, setHasIcon] = useState133(false);
31075
- const titleRef = useRef37(null);
31076
- const isComposing = useRef37(false);
31133
+ const titleRef = useRef38(null);
31134
+ const isComposing = useRef38(false);
31077
31135
  useEffect109(() => {
31078
31136
  if (!editor?._metadataManager) return;
31079
31137
  const metadata = editor._metadataManager.getMetadata();
@@ -31228,7 +31286,7 @@ if (typeof document !== "undefined") {
31228
31286
  }
31229
31287
 
31230
31288
  // src/mantine/components/ExternalDropZone.tsx
31231
- import React265, { useCallback as useCallback105, useEffect as useEffect110, useRef as useRef38, useState as useState134 } from "react";
31289
+ import React265, { useCallback as useCallback105, useEffect as useEffect110, useRef as useRef39, useState as useState134 } from "react";
31232
31290
  import { Box as Box59 } from "@mantine/core";
31233
31291
  var SCROLL_ZONE_SIZE = 80;
31234
31292
  var SCROLL_SPEED = 12;
@@ -31241,14 +31299,14 @@ var ExternalDropZone = ({
31241
31299
  onPlacementCancel,
31242
31300
  children
31243
31301
  }) => {
31244
- const containerRef = useRef38(null);
31302
+ const containerRef = useRef39(null);
31245
31303
  const [isValidDrag, setIsValidDrag] = useState134(false);
31246
31304
  const [isHoveringInPlacementMode, setIsHoveringInPlacementMode] = useState134(false);
31247
31305
  const [indicatorStyle, setIndicatorStyle] = useState134({});
31248
- const dropPositionRef = useRef38(null);
31249
- const scrollAnimationRef = useRef38(null);
31250
- const scrollDirectionRef = useRef38(null);
31251
- const scrollContainerRef = useRef38(null);
31306
+ const dropPositionRef = useRef39(null);
31307
+ const scrollAnimationRef = useRef39(null);
31308
+ const scrollDirectionRef = useRef39(null);
31309
+ const scrollContainerRef = useRef39(null);
31252
31310
  const getBlockElements = useCallback105(() => {
31253
31311
  if (!containerRef.current) return [];
31254
31312
  const blocks = containerRef.current.querySelectorAll('[data-node-type="blockContainer"]');
@@ -31601,7 +31659,7 @@ function sanitizeThemeForMantine7(theme) {
31601
31659
  }
31602
31660
 
31603
31661
  // src/mantine/components/CommandPalette.tsx
31604
- import React266, { useCallback as useCallback106, useEffect as useEffect111, useMemo as useMemo127, useRef as useRef39 } from "react";
31662
+ import React266, { useCallback as useCallback106, useEffect as useEffect111, useMemo as useMemo127, useRef as useRef40 } from "react";
31605
31663
  import { Box as Box60 } from "@mantine/core";
31606
31664
  var GROUP_LABELS = {
31607
31665
  emoji: "Emoji",
@@ -31619,7 +31677,7 @@ function groupLabel(group, t) {
31619
31677
  return defaultValue ? t(`palette.groups.${group}`, { defaultValue }) : group;
31620
31678
  }
31621
31679
  function PaletteItem({ item, isSelected, onClick, id }) {
31622
- const ref = useRef39(null);
31680
+ const ref = useRef40(null);
31623
31681
  useEffect111(() => {
31624
31682
  if (isSelected && ref.current) {
31625
31683
  ref.current.scrollIntoView({ block: "nearest" });
@@ -31664,7 +31722,7 @@ function CommandPalette({ items, onItemClick, loadingState, selectedIndex }) {
31664
31722
  }
31665
31723
 
31666
31724
  // src/mantine/components/InsertToolbar/InsertToolbar.tsx
31667
- import React267, { useEffect as useEffect112, useMemo as useMemo128, useRef as useRef40, useState as useState135 } from "react";
31725
+ import React267, { useEffect as useEffect112, useMemo as useMemo128, useRef as useRef41, useState as useState135 } from "react";
31668
31726
  import { ActionIcon as ActionIcon38, Box as Box61, Menu as Menu4, Text as Text162, Tooltip as Tooltip27 } from "@mantine/core";
31669
31727
  import { IconChevronDown as IconChevronDown8, IconFileText as IconFileText7, IconSquarePlus } from "@tabler/icons-react";
31670
31728
  var PROFILE_LABELS = {
@@ -31700,7 +31758,7 @@ function InsertToolbar({ editor, title, leading, trailing, titleMenu, embedded }
31700
31758
  }
31701
31759
  return groupOrder.filter((group) => byGroup.has(group)).map((group) => ({ group, entries: byGroup.get(group) }));
31702
31760
  }, [entries]);
31703
- const hasSelection = useRef40(false);
31761
+ const hasSelection = useRef41(false);
31704
31762
  useEffect112(() => {
31705
31763
  hasSelection.current = false;
31706
31764
  const unsubscribe = editor.onSelectionChange?.(() => {
@@ -31963,7 +32021,7 @@ function isInsideSuggestionMenu(target) {
31963
32021
  }
31964
32022
 
31965
32023
  // src/mantine/inline/StepRefSuggestionMenu.tsx
31966
- import React270, { useCallback as useCallback108, useEffect as useEffect113, useRef as useRef41 } from "react";
32024
+ import React270, { useCallback as useCallback108, useEffect as useEffect113, useRef as useRef42 } from "react";
31967
32025
  import { Box as Box63 } from "@mantine/core";
31968
32026
  import { filterSuggestionItems } from "@blocknote/core";
31969
32027
  import { SuggestionMenuController, useBlockNoteEditor as useBlockNoteEditor2 } from "@blocknote/react";
@@ -31981,7 +32039,7 @@ function getStepRefItems(editor, t) {
31981
32039
  });
31982
32040
  }
31983
32041
  function StepRefItem({ item, isSelected, onClick, id }) {
31984
- const ref = useRef41(null);
32042
+ const ref = useRef42(null);
31985
32043
  useEffect113(() => {
31986
32044
  if (isSelected) ref.current?.scrollIntoView?.({ block: "nearest" });
31987
32045
  }, [isSelected]);
@@ -32259,7 +32317,7 @@ function IxoEditor({
32259
32317
 
32260
32318
  // src/mantine/components/DevUcanGrantButton.tsx
32261
32319
  import React272, { useEffect as useEffect115, useMemo as useMemo130, useState as useState136 } from "react";
32262
- import { Alert as Alert43, Badge as Badge44, Button as Button57, Checkbox as Checkbox8, Divider as Divider23, Group as Group102, Loader as Loader52, Modal as Modal3, Paper as Paper19, Select as Select6, Stack as Stack157, Text as Text163 } from "@mantine/core";
32320
+ import { Alert as Alert43, Badge as Badge44, Button as Button57, Checkbox as Checkbox8, Divider as Divider23, Group as Group101, Loader as Loader52, Modal as Modal3, Paper as Paper19, Select as Select6, Stack as Stack156, Text as Text163 } from "@mantine/core";
32263
32321
  import { IconKey as IconKey6, IconShieldPlus as IconShieldPlus4 } from "@tabler/icons-react";
32264
32322
  var FLOW_AGENT_COMMAND_TYPES = [
32265
32323
  "diagnose_blocker",
@@ -32519,7 +32577,7 @@ function DevUcanGrantButton({
32519
32577
  title: "Dev: grant Flow Agent and block action UCANs to room members"
32520
32578
  },
32521
32579
  "Grant UCANs"
32522
- ), /* @__PURE__ */ React272.createElement(Modal3, { opened, onClose: () => setOpened(false), title: "Grant Dev UCANs", size: "xl", centered: true }, /* @__PURE__ */ React272.createElement(Stack157, { gap: "md" }, /* @__PURE__ */ React272.createElement(Alert43, { color: "yellow", variant: "light", icon: /* @__PURE__ */ React272.createElement(IconKey6, { size: 16 }) }, /* @__PURE__ */ React272.createElement(Text163, { size: "sm" }, "Dev tool for granting Flow Agent command UCANs and block action UCANs to members of the current Matrix room.")), /* @__PURE__ */ React272.createElement(
32580
+ ), /* @__PURE__ */ React272.createElement(Modal3, { opened, onClose: () => setOpened(false), title: "Grant Dev UCANs", size: "xl", centered: true }, /* @__PURE__ */ React272.createElement(Stack156, { gap: "md" }, /* @__PURE__ */ React272.createElement(Alert43, { color: "yellow", variant: "light", icon: /* @__PURE__ */ React272.createElement(IconKey6, { size: 16 }) }, /* @__PURE__ */ React272.createElement(Text163, { size: "sm" }, "Dev tool for granting Flow Agent command UCANs and block action UCANs to members of the current Matrix room.")), /* @__PURE__ */ React272.createElement(
32523
32581
  Select6,
32524
32582
  {
32525
32583
  label: "Room member",
@@ -32531,7 +32589,7 @@ function DevUcanGrantButton({
32531
32589
  disabled: loadingMembers || signing,
32532
32590
  rightSection: loadingMembers ? /* @__PURE__ */ React272.createElement(Loader52, { size: 14 }) : null
32533
32591
  }
32534
- ), /* @__PURE__ */ React272.createElement(Divider23, null), /* @__PURE__ */ React272.createElement(Stack157, { gap: "xs" }, /* @__PURE__ */ React272.createElement(Group102, { justify: "space-between" }, /* @__PURE__ */ React272.createElement(Text163, { size: "sm", fw: 600 }, "UCAN capabilities"), /* @__PURE__ */ React272.createElement(Group102, { gap: "xs" }, /* @__PURE__ */ React272.createElement(Button57, { size: "compact-xs", variant: "subtle", onClick: () => setSelectedCapabilities(capabilityOptions.map((option) => option.id)) }, "All"), /* @__PURE__ */ React272.createElement(Button57, { size: "compact-xs", variant: "subtle", onClick: () => setSelectedCapabilities([]) }, "None"))), /* @__PURE__ */ React272.createElement(Paper19, { withBorder: true, p: "sm", style: { maxHeight: 360, overflow: "auto" } }, /* @__PURE__ */ React272.createElement(Stack157, { gap: "xs" }, capabilityOptions.map((option) => /* @__PURE__ */ React272.createElement(
32592
+ ), /* @__PURE__ */ React272.createElement(Divider23, null), /* @__PURE__ */ React272.createElement(Stack156, { gap: "xs" }, /* @__PURE__ */ React272.createElement(Group101, { justify: "space-between" }, /* @__PURE__ */ React272.createElement(Text163, { size: "sm", fw: 600 }, "UCAN capabilities"), /* @__PURE__ */ React272.createElement(Group101, { gap: "xs" }, /* @__PURE__ */ React272.createElement(Button57, { size: "compact-xs", variant: "subtle", onClick: () => setSelectedCapabilities(capabilityOptions.map((option) => option.id)) }, "All"), /* @__PURE__ */ React272.createElement(Button57, { size: "compact-xs", variant: "subtle", onClick: () => setSelectedCapabilities([]) }, "None"))), /* @__PURE__ */ React272.createElement(Paper19, { withBorder: true, p: "sm", style: { maxHeight: 360, overflow: "auto" } }, /* @__PURE__ */ React272.createElement(Stack156, { gap: "xs" }, capabilityOptions.map((option) => /* @__PURE__ */ React272.createElement(
32535
32593
  Checkbox8,
32536
32594
  {
32537
32595
  key: option.id,
@@ -32539,15 +32597,15 @@ function DevUcanGrantButton({
32539
32597
  onChange: (event) => {
32540
32598
  setSelectedCapabilities((current) => event.currentTarget.checked ? [...current, option.id] : current.filter((id) => id !== option.id));
32541
32599
  },
32542
- label: /* @__PURE__ */ React272.createElement(Group102, { gap: "xs" }, /* @__PURE__ */ React272.createElement(Text163, { size: "sm" }, option.label), /* @__PURE__ */ React272.createElement(Badge44, { size: "xs", variant: "light" }, option.capability.can)),
32600
+ label: /* @__PURE__ */ React272.createElement(Group101, { gap: "xs" }, /* @__PURE__ */ React272.createElement(Text163, { size: "sm" }, option.label), /* @__PURE__ */ React272.createElement(Badge44, { size: "xs", variant: "light" }, option.capability.can)),
32543
32601
  description: `${option.description} on ${option.capability.with}`
32544
32602
  }
32545
- ))))), message && /* @__PURE__ */ React272.createElement(Alert43, { color: message.color }, message.text), /* @__PURE__ */ React272.createElement(Group102, { justify: "flex-end" }, /* @__PURE__ */ React272.createElement(Button57, { variant: "subtle", onClick: () => setOpened(false), disabled: signing }, "Close"), /* @__PURE__ */ React272.createElement(Button57, { variant: "light", color: "gray", onClick: logAvailableHandlers, disabled: signing }, "Log handlers"), /* @__PURE__ */ React272.createElement(Button57, { leftSection: /* @__PURE__ */ React272.createElement(IconShieldPlus4, { size: 16 }), onClick: handleSign, loading: signing, disabled: !hasSigningHandler }, "Sign UCAN")))));
32603
+ ))))), message && /* @__PURE__ */ React272.createElement(Alert43, { color: message.color }, message.text), /* @__PURE__ */ React272.createElement(Group101, { justify: "flex-end" }, /* @__PURE__ */ React272.createElement(Button57, { variant: "subtle", onClick: () => setOpened(false), disabled: signing }, "Close"), /* @__PURE__ */ React272.createElement(Button57, { variant: "light", color: "gray", onClick: logAvailableHandlers, disabled: signing }, "Log handlers"), /* @__PURE__ */ React272.createElement(Button57, { leftSection: /* @__PURE__ */ React272.createElement(IconShieldPlus4, { size: 16 }), onClick: handleSign, loading: signing, disabled: !hasSigningHandler }, "Sign UCAN")))));
32546
32604
  }
32547
32605
 
32548
32606
  // src/mantine/components/EntitySigningSetup.tsx
32549
32607
  import React273, { useState as useState137 } from "react";
32550
- import { Modal as Modal4, Stack as Stack158, Text as Text164, TextInput as TextInput8, Button as Button58, Alert as Alert44, Group as Group103 } from "@mantine/core";
32608
+ import { Modal as Modal4, Stack as Stack157, Text as Text164, TextInput as TextInput8, Button as Button58, Alert as Alert44, Group as Group102 } from "@mantine/core";
32551
32609
  import { IconAlertCircle as IconAlertCircle27, IconCheck as IconCheck24, IconKey as IconKey7 } from "@tabler/icons-react";
32552
32610
  var EntitySigningSetup = ({ opened, onClose, entityDid, entityName, onSetup }) => {
32553
32611
  const [pin, setPin] = useState137("");
@@ -32599,10 +32657,10 @@ var EntitySigningSetup = ({ opened, onClose, entityDid, entityName, onSetup }) =
32599
32657
  {
32600
32658
  opened,
32601
32659
  onClose: handleClose,
32602
- title: /* @__PURE__ */ React273.createElement(Group103, { gap: "xs" }, /* @__PURE__ */ React273.createElement(IconKey7, { size: 20 }), /* @__PURE__ */ React273.createElement(Text164, { fw: 600 }, "Entity Signing Setup")),
32660
+ title: /* @__PURE__ */ React273.createElement(Group102, { gap: "xs" }, /* @__PURE__ */ React273.createElement(IconKey7, { size: 20 }), /* @__PURE__ */ React273.createElement(Text164, { fw: 600 }, "Entity Signing Setup")),
32603
32661
  size: "md"
32604
32662
  },
32605
- /* @__PURE__ */ React273.createElement(Stack158, { gap: "md" }, success ? /* @__PURE__ */ React273.createElement(Alert44, { color: "green", icon: /* @__PURE__ */ React273.createElement(IconCheck24, { size: 16 }) }, "Entity signing key set up successfully!") : /* @__PURE__ */ React273.createElement(React273.Fragment, null, /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "Flow authorization requires a signing key for", " ", /* @__PURE__ */ React273.createElement(Text164, { span: true, fw: 500 }, entityName || entityDid), "."), /* @__PURE__ */ React273.createElement(Alert44, { color: "blue", variant: "light" }, /* @__PURE__ */ React273.createElement(Text164, { size: "sm" }, "This is a ", /* @__PURE__ */ React273.createElement("strong", null, "one-time setup"), " that allows flows to grant permissions without requiring wallet signatures for each delegation.")), /* @__PURE__ */ React273.createElement(Stack158, { gap: "xs" }, /* @__PURE__ */ React273.createElement(Text164, { size: "sm", fw: 500 }, "What happens:"), /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "1. A new signing key is generated"), /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "2. Key is registered on the entity's DID document (requires wallet)"), /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "3. Key is stored encrypted in the entity's Matrix room")), /* @__PURE__ */ React273.createElement(
32663
+ /* @__PURE__ */ React273.createElement(Stack157, { gap: "md" }, success ? /* @__PURE__ */ React273.createElement(Alert44, { color: "green", icon: /* @__PURE__ */ React273.createElement(IconCheck24, { size: 16 }) }, "Entity signing key set up successfully!") : /* @__PURE__ */ React273.createElement(React273.Fragment, null, /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "Flow authorization requires a signing key for", " ", /* @__PURE__ */ React273.createElement(Text164, { span: true, fw: 500 }, entityName || entityDid), "."), /* @__PURE__ */ React273.createElement(Alert44, { color: "blue", variant: "light" }, /* @__PURE__ */ React273.createElement(Text164, { size: "sm" }, "This is a ", /* @__PURE__ */ React273.createElement("strong", null, "one-time setup"), " that allows flows to grant permissions without requiring wallet signatures for each delegation.")), /* @__PURE__ */ React273.createElement(Stack157, { gap: "xs" }, /* @__PURE__ */ React273.createElement(Text164, { size: "sm", fw: 500 }, "What happens:"), /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "1. A new signing key is generated"), /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "2. Key is registered on the entity's DID document (requires wallet)"), /* @__PURE__ */ React273.createElement(Text164, { size: "sm", c: "dimmed" }, "3. Key is stored encrypted in the entity's Matrix room")), /* @__PURE__ */ React273.createElement(
32606
32664
  TextInput8,
32607
32665
  {
32608
32666
  label: "Enter PIN to encrypt signing key",
@@ -32613,14 +32671,14 @@ var EntitySigningSetup = ({ opened, onClose, entityDid, entityName, onSetup }) =
32613
32671
  onChange: (e) => setPin(e.currentTarget.value),
32614
32672
  disabled: loading
32615
32673
  }
32616
- ), /* @__PURE__ */ React273.createElement(TextInput8, { label: "Confirm PIN", type: "password", placeholder: "Confirm PIN", value: confirmPin, onChange: (e) => setConfirmPin(e.currentTarget.value), disabled: loading }), error && /* @__PURE__ */ React273.createElement(Alert44, { color: "red", icon: /* @__PURE__ */ React273.createElement(IconAlertCircle27, { size: 16 }) }, error), /* @__PURE__ */ React273.createElement(Group103, { justify: "flex-end", mt: "md" }, /* @__PURE__ */ React273.createElement(Button58, { variant: "subtle", onClick: handleClose, disabled: loading }, "Cancel"), /* @__PURE__ */ React273.createElement(Button58, { onClick: handleSetup, loading, leftSection: /* @__PURE__ */ React273.createElement(IconKey7, { size: 16 }) }, "Setup Entity Signing"))))
32674
+ ), /* @__PURE__ */ React273.createElement(TextInput8, { label: "Confirm PIN", type: "password", placeholder: "Confirm PIN", value: confirmPin, onChange: (e) => setConfirmPin(e.currentTarget.value), disabled: loading }), error && /* @__PURE__ */ React273.createElement(Alert44, { color: "red", icon: /* @__PURE__ */ React273.createElement(IconAlertCircle27, { size: 16 }) }, error), /* @__PURE__ */ React273.createElement(Group102, { justify: "flex-end", mt: "md" }, /* @__PURE__ */ React273.createElement(Button58, { variant: "subtle", onClick: handleClose, disabled: loading }, "Cancel"), /* @__PURE__ */ React273.createElement(Button58, { onClick: handleSetup, loading, leftSection: /* @__PURE__ */ React273.createElement(IconKey7, { size: 16 }) }, "Setup Entity Signing"))))
32617
32675
  );
32618
32676
  };
32619
32677
 
32620
32678
  // src/mantine/components/FlowPermissionsPanel.tsx
32621
32679
  import React274, { useState as useState138, useEffect as useEffect116, useMemo as useMemo131 } from "react";
32622
- import { Stack as Stack159, Text as Text165, Paper as Paper20, Group as Group104, Badge as Badge45, Button as Button59, ActionIcon as ActionIcon39, Loader as Loader53, Alert as Alert45, Divider as Divider24 } from "@mantine/core";
32623
- import { IconPlus as IconPlus11, IconTrash as IconTrash13, IconShieldCheck as IconShieldCheck19, IconUser as IconUser14, IconInnerShadowBottomRight as IconInnerShadowBottomRight5, IconBuilding as IconBuilding2 } from "@tabler/icons-react";
32680
+ import { Stack as Stack158, Text as Text165, Paper as Paper20, Group as Group103, Badge as Badge45, Button as Button59, ActionIcon as ActionIcon39, Loader as Loader53, Alert as Alert45, Divider as Divider24 } from "@mantine/core";
32681
+ import { IconPlus as IconPlus11, IconTrash as IconTrash13, IconShieldCheck as IconShieldCheck18, IconUser as IconUser13, IconInnerShadowBottomRight as IconInnerShadowBottomRight5, IconBuilding as IconBuilding2 } from "@tabler/icons-react";
32624
32682
  var FlowPermissionsPanel = ({ editor, entityDid, entityName, onGrantPermission, onRevokePermission, getUserDisplayName }) => {
32625
32683
  const [delegations, setDelegations] = useState138([]);
32626
32684
  const [loading, setLoading] = useState138(true);
@@ -32677,7 +32735,7 @@ var FlowPermissionsPanel = ({ editor, entityDid, entityName, onGrantPermission,
32677
32735
  case "entity":
32678
32736
  return /* @__PURE__ */ React274.createElement(IconBuilding2, { size: 16 });
32679
32737
  default:
32680
- return /* @__PURE__ */ React274.createElement(IconUser14, { size: 16 });
32738
+ return /* @__PURE__ */ React274.createElement(IconUser13, { size: 16 });
32681
32739
  }
32682
32740
  };
32683
32741
  const isCustomCapability = (caps) => {
@@ -32701,13 +32759,13 @@ var FlowPermissionsPanel = ({ editor, entityDid, entityName, onGrantPermission,
32701
32759
  if (date < /* @__PURE__ */ new Date()) return "Expired";
32702
32760
  return date.toLocaleDateString();
32703
32761
  };
32704
- return /* @__PURE__ */ React274.createElement(Stack159, { gap: "md" }, /* @__PURE__ */ React274.createElement(Stack159, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { fw: 600, size: "sm" }, "Root Authority"), /* @__PURE__ */ React274.createElement(Paper20, { p: "sm", withBorder: true }, /* @__PURE__ */ React274.createElement(Group104, { gap: "xs" }, /* @__PURE__ */ React274.createElement(IconShieldCheck19, { size: 20, color: "var(--mantine-color-green-6)" }), /* @__PURE__ */ React274.createElement(Stack159, { gap: 2, style: { flex: 1 } }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm", fw: 500 }, entityName || entityDid), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, rootDelegation ? `Granted: ${new Date(rootDelegation.createdAt).toLocaleDateString()}` : "Root capability not set up")), /* @__PURE__ */ React274.createElement(Badge45, { color: "green", variant: "light" }, "Entity")))), /* @__PURE__ */ React274.createElement(Divider24, { label: "Flow Permissions", labelPosition: "center" }), loading ? /* @__PURE__ */ React274.createElement(Group104, { justify: "center", py: "xl" }, /* @__PURE__ */ React274.createElement(Loader53, { size: "sm" })) : flowDelegations.length === 0 ? /* @__PURE__ */ React274.createElement(Alert45, { color: "gray", variant: "light" }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm" }, "No flow permissions have been granted yet.")) : /* @__PURE__ */ React274.createElement(Stack159, { gap: "xs" }, flowDelegations.map(({ delegation, displayName, type }) => /* @__PURE__ */ React274.createElement(Paper20, { key: delegation.cid, p: "sm", withBorder: true }, /* @__PURE__ */ React274.createElement(Group104, { justify: "space-between" }, /* @__PURE__ */ React274.createElement(Group104, { gap: "xs" }, getIcon2(type), /* @__PURE__ */ React274.createElement(Stack159, { gap: 2 }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm", fw: 500 }, displayName), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, formatCapabilities(delegation.capabilities)), /* @__PURE__ */ React274.createElement(Group104, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Expires: ", formatExpiration(delegation.expiration)), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "\u2022"), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Granted by: ", delegation.issuerDid === entityDid ? "Entity" : delegation.issuerDid.slice(-8))))), /* @__PURE__ */ React274.createElement(ActionIcon39, { color: "red", variant: "subtle", onClick: () => handleRevoke(delegation.cid), loading: revoking === delegation.cid, disabled: !!revoking }, /* @__PURE__ */ React274.createElement(IconTrash13, { size: 16 })))))), /* @__PURE__ */ React274.createElement(Divider24, { label: "Custom Capabilities", labelPosition: "center" }), !loading && customDelegations.length === 0 ? /* @__PURE__ */ React274.createElement(Alert45, { color: "gray", variant: "light" }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm" }, "No custom capabilities have been created yet.")) : /* @__PURE__ */ React274.createElement(Stack159, { gap: "xs" }, customDelegations.map(({ delegation, displayName, type }) => /* @__PURE__ */ React274.createElement(Paper20, { key: delegation.cid, p: "sm", withBorder: true, style: { borderColor: "var(--mantine-color-violet-4)" } }, /* @__PURE__ */ React274.createElement(Group104, { justify: "space-between" }, /* @__PURE__ */ React274.createElement(Group104, { gap: "xs" }, getIcon2(type), /* @__PURE__ */ React274.createElement(Stack159, { gap: 2 }, /* @__PURE__ */ React274.createElement(Group104, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm", fw: 500 }, displayName), /* @__PURE__ */ React274.createElement(Badge45, { size: "xs", variant: "light", color: "violet" }, "custom")), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, formatCapabilities(delegation.capabilities)), /* @__PURE__ */ React274.createElement(Group104, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Expires: ", formatExpiration(delegation.expiration)), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "\u2022"), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Issued by: ", delegation.issuerDid.slice(-12))))), /* @__PURE__ */ React274.createElement(ActionIcon39, { color: "red", variant: "subtle", onClick: () => handleRevoke(delegation.cid), loading: revoking === delegation.cid, disabled: !!revoking }, /* @__PURE__ */ React274.createElement(IconTrash13, { size: 16 })))))), /* @__PURE__ */ React274.createElement(Button59, { leftSection: /* @__PURE__ */ React274.createElement(IconPlus11, { size: 16 }), variant: "light", onClick: onGrantPermission }, "Grant Permission"));
32762
+ return /* @__PURE__ */ React274.createElement(Stack158, { gap: "md" }, /* @__PURE__ */ React274.createElement(Stack158, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { fw: 600, size: "sm" }, "Root Authority"), /* @__PURE__ */ React274.createElement(Paper20, { p: "sm", withBorder: true }, /* @__PURE__ */ React274.createElement(Group103, { gap: "xs" }, /* @__PURE__ */ React274.createElement(IconShieldCheck18, { size: 20, color: "var(--mantine-color-green-6)" }), /* @__PURE__ */ React274.createElement(Stack158, { gap: 2, style: { flex: 1 } }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm", fw: 500 }, entityName || entityDid), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, rootDelegation ? `Granted: ${new Date(rootDelegation.createdAt).toLocaleDateString()}` : "Root capability not set up")), /* @__PURE__ */ React274.createElement(Badge45, { color: "green", variant: "light" }, "Entity")))), /* @__PURE__ */ React274.createElement(Divider24, { label: "Flow Permissions", labelPosition: "center" }), loading ? /* @__PURE__ */ React274.createElement(Group103, { justify: "center", py: "xl" }, /* @__PURE__ */ React274.createElement(Loader53, { size: "sm" })) : flowDelegations.length === 0 ? /* @__PURE__ */ React274.createElement(Alert45, { color: "gray", variant: "light" }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm" }, "No flow permissions have been granted yet.")) : /* @__PURE__ */ React274.createElement(Stack158, { gap: "xs" }, flowDelegations.map(({ delegation, displayName, type }) => /* @__PURE__ */ React274.createElement(Paper20, { key: delegation.cid, p: "sm", withBorder: true }, /* @__PURE__ */ React274.createElement(Group103, { justify: "space-between" }, /* @__PURE__ */ React274.createElement(Group103, { gap: "xs" }, getIcon2(type), /* @__PURE__ */ React274.createElement(Stack158, { gap: 2 }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm", fw: 500 }, displayName), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, formatCapabilities(delegation.capabilities)), /* @__PURE__ */ React274.createElement(Group103, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Expires: ", formatExpiration(delegation.expiration)), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "\u2022"), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Granted by: ", delegation.issuerDid === entityDid ? "Entity" : delegation.issuerDid.slice(-8))))), /* @__PURE__ */ React274.createElement(ActionIcon39, { color: "red", variant: "subtle", onClick: () => handleRevoke(delegation.cid), loading: revoking === delegation.cid, disabled: !!revoking }, /* @__PURE__ */ React274.createElement(IconTrash13, { size: 16 })))))), /* @__PURE__ */ React274.createElement(Divider24, { label: "Custom Capabilities", labelPosition: "center" }), !loading && customDelegations.length === 0 ? /* @__PURE__ */ React274.createElement(Alert45, { color: "gray", variant: "light" }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm" }, "No custom capabilities have been created yet.")) : /* @__PURE__ */ React274.createElement(Stack158, { gap: "xs" }, customDelegations.map(({ delegation, displayName, type }) => /* @__PURE__ */ React274.createElement(Paper20, { key: delegation.cid, p: "sm", withBorder: true, style: { borderColor: "var(--mantine-color-violet-4)" } }, /* @__PURE__ */ React274.createElement(Group103, { justify: "space-between" }, /* @__PURE__ */ React274.createElement(Group103, { gap: "xs" }, getIcon2(type), /* @__PURE__ */ React274.createElement(Stack158, { gap: 2 }, /* @__PURE__ */ React274.createElement(Group103, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { size: "sm", fw: 500 }, displayName), /* @__PURE__ */ React274.createElement(Badge45, { size: "xs", variant: "light", color: "violet" }, "custom")), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, formatCapabilities(delegation.capabilities)), /* @__PURE__ */ React274.createElement(Group103, { gap: "xs" }, /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Expires: ", formatExpiration(delegation.expiration)), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "\u2022"), /* @__PURE__ */ React274.createElement(Text165, { size: "xs", c: "dimmed" }, "Issued by: ", delegation.issuerDid.slice(-12))))), /* @__PURE__ */ React274.createElement(ActionIcon39, { color: "red", variant: "subtle", onClick: () => handleRevoke(delegation.cid), loading: revoking === delegation.cid, disabled: !!revoking }, /* @__PURE__ */ React274.createElement(IconTrash13, { size: 16 })))))), /* @__PURE__ */ React274.createElement(Button59, { leftSection: /* @__PURE__ */ React274.createElement(IconPlus11, { size: 16 }), variant: "light", onClick: onGrantPermission }, "Grant Permission"));
32705
32763
  };
32706
32764
 
32707
32765
  // src/mantine/components/GrantPermissionModal.tsx
32708
32766
  import React275, { useState as useState139, useCallback as useCallback109 } from "react";
32709
- import { Modal as Modal5, Stack as Stack160, Text as Text166, TextInput as TextInput9, Button as Button60, Group as Group105, Radio as Radio4, Checkbox as Checkbox9, Alert as Alert46, Paper as Paper21, Loader as Loader54, Badge as Badge46, ActionIcon as ActionIcon40, Divider as Divider25, NumberInput as NumberInput10 } from "@mantine/core";
32710
- import { IconSearch as IconSearch8, IconUser as IconUser15, IconInnerShadowBottomRight as IconInnerShadowBottomRight6, IconX as IconX16, IconShieldPlus as IconShieldPlus5 } from "@tabler/icons-react";
32767
+ import { Modal as Modal5, Stack as Stack159, Text as Text166, TextInput as TextInput9, Button as Button60, Group as Group104, Radio as Radio4, Checkbox as Checkbox9, Alert as Alert46, Paper as Paper21, Loader as Loader54, Badge as Badge46, ActionIcon as ActionIcon40, Divider as Divider25, NumberInput as NumberInput10 } from "@mantine/core";
32768
+ import { IconSearch as IconSearch8, IconUser as IconUser14, IconInnerShadowBottomRight as IconInnerShadowBottomRight6, IconX as IconX16, IconShieldPlus as IconShieldPlus5 } from "@tabler/icons-react";
32711
32769
  var MAX_GRANT_DAYS2 = 30;
32712
32770
  var GrantPermissionModal = ({ opened, onClose, flowUri, blocks, targetBlockId, searchUsers, getOracles, onGrant }) => {
32713
32771
  const singleBlockMode = !!targetBlockId || blocks.length === 1;
@@ -32819,10 +32877,10 @@ var GrantPermissionModal = ({ opened, onClose, flowUri, blocks, targetBlockId, s
32819
32877
  {
32820
32878
  opened,
32821
32879
  onClose: handleClose,
32822
- title: /* @__PURE__ */ React275.createElement(Group105, { gap: "xs" }, /* @__PURE__ */ React275.createElement(IconShieldPlus5, { size: 20 }), /* @__PURE__ */ React275.createElement(Text166, { fw: 600 }, "Grant Permission")),
32880
+ title: /* @__PURE__ */ React275.createElement(Group104, { gap: "xs" }, /* @__PURE__ */ React275.createElement(IconShieldPlus5, { size: 20 }), /* @__PURE__ */ React275.createElement(Text166, { fw: 600 }, "Grant Permission")),
32823
32881
  size: "lg"
32824
32882
  },
32825
- /* @__PURE__ */ React275.createElement(Stack160, { gap: "md" }, /* @__PURE__ */ React275.createElement(Stack160, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Text166, { size: "sm", fw: 500 }, "Recipient Type"), /* @__PURE__ */ React275.createElement(
32883
+ /* @__PURE__ */ React275.createElement(Stack159, { gap: "md" }, /* @__PURE__ */ React275.createElement(Stack159, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Text166, { size: "sm", fw: 500 }, "Recipient Type"), /* @__PURE__ */ React275.createElement(
32826
32884
  Radio4.Group,
32827
32885
  {
32828
32886
  value: recipientType,
@@ -32832,8 +32890,8 @@ var GrantPermissionModal = ({ opened, onClose, flowUri, blocks, targetBlockId, s
32832
32890
  setSearchResults([]);
32833
32891
  }
32834
32892
  },
32835
- /* @__PURE__ */ React275.createElement(Group105, null, /* @__PURE__ */ React275.createElement(Radio4, { value: "user", label: "User" }), /* @__PURE__ */ React275.createElement(Radio4, { value: "oracle", label: "Oracle" }), /* @__PURE__ */ React275.createElement(Radio4, { value: "manual", label: "Enter DID" }))
32836
- )), recipientType !== "manual" ? /* @__PURE__ */ React275.createElement(Stack160, { gap: "xs" }, /* @__PURE__ */ React275.createElement(
32893
+ /* @__PURE__ */ React275.createElement(Group104, null, /* @__PURE__ */ React275.createElement(Radio4, { value: "user", label: "User" }), /* @__PURE__ */ React275.createElement(Radio4, { value: "oracle", label: "Oracle" }), /* @__PURE__ */ React275.createElement(Radio4, { value: "manual", label: "Enter DID" }))
32894
+ )), recipientType !== "manual" ? /* @__PURE__ */ React275.createElement(Stack159, { gap: "xs" }, /* @__PURE__ */ React275.createElement(
32837
32895
  TextInput9,
32838
32896
  {
32839
32897
  placeholder: recipientType === "oracle" ? "Search oracles..." : "Search users...",
@@ -32843,12 +32901,12 @@ var GrantPermissionModal = ({ opened, onClose, flowUri, blocks, targetBlockId, s
32843
32901
  onChange: (e) => setSearchQuery(e.currentTarget.value),
32844
32902
  onKeyDown: (e) => e.key === "Enter" && handleSearch()
32845
32903
  }
32846
- ), selectedRecipient ? /* @__PURE__ */ React275.createElement(Paper21, { p: "sm", withBorder: true }, /* @__PURE__ */ React275.createElement(Group105, { justify: "space-between" }, /* @__PURE__ */ React275.createElement(Group105, { gap: "xs" }, recipientType === "oracle" ? /* @__PURE__ */ React275.createElement(IconInnerShadowBottomRight6, { size: 16 }) : /* @__PURE__ */ React275.createElement(IconUser15, { size: 16 }), /* @__PURE__ */ React275.createElement(Text166, { size: "sm" }, selectedRecipient.displayName), /* @__PURE__ */ React275.createElement(Badge46, { size: "xs", variant: "light" }, selectedRecipient.did.slice(-12))), /* @__PURE__ */ React275.createElement(ActionIcon40, { size: "sm", variant: "subtle", onClick: () => setSelectedRecipient(null) }, /* @__PURE__ */ React275.createElement(IconX16, { size: 14 })))) : searchResults.length > 0 ? /* @__PURE__ */ React275.createElement(Paper21, { p: "xs", withBorder: true, style: { maxHeight: 150, overflow: "auto" } }, /* @__PURE__ */ React275.createElement(Stack160, { gap: 4 }, searchResults.map((result) => /* @__PURE__ */ React275.createElement(Button60, { key: result.did, variant: "subtle", size: "sm", justify: "flex-start", onClick: () => setSelectedRecipient(result) }, result.displayName)))) : null) : /* @__PURE__ */ React275.createElement(TextInput9, { label: "Recipient DID", placeholder: "did:ixo:...", value: manualDid, onChange: (e) => setManualDid(e.currentTarget.value) }), /* @__PURE__ */ React275.createElement(Divider25, null), /* @__PURE__ */ React275.createElement(Stack160, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Text166, { size: "sm", fw: 500 }, "Permission Scope"), singleBlockMode && fixedBlock ? (
32904
+ ), selectedRecipient ? /* @__PURE__ */ React275.createElement(Paper21, { p: "sm", withBorder: true }, /* @__PURE__ */ React275.createElement(Group104, { justify: "space-between" }, /* @__PURE__ */ React275.createElement(Group104, { gap: "xs" }, recipientType === "oracle" ? /* @__PURE__ */ React275.createElement(IconInnerShadowBottomRight6, { size: 16 }) : /* @__PURE__ */ React275.createElement(IconUser14, { size: 16 }), /* @__PURE__ */ React275.createElement(Text166, { size: "sm" }, selectedRecipient.displayName), /* @__PURE__ */ React275.createElement(Badge46, { size: "xs", variant: "light" }, selectedRecipient.did.slice(-12))), /* @__PURE__ */ React275.createElement(ActionIcon40, { size: "sm", variant: "subtle", onClick: () => setSelectedRecipient(null) }, /* @__PURE__ */ React275.createElement(IconX16, { size: 14 })))) : searchResults.length > 0 ? /* @__PURE__ */ React275.createElement(Paper21, { p: "xs", withBorder: true, style: { maxHeight: 150, overflow: "auto" } }, /* @__PURE__ */ React275.createElement(Stack159, { gap: 4 }, searchResults.map((result) => /* @__PURE__ */ React275.createElement(Button60, { key: result.did, variant: "subtle", size: "sm", justify: "flex-start", onClick: () => setSelectedRecipient(result) }, result.displayName)))) : null) : /* @__PURE__ */ React275.createElement(TextInput9, { label: "Recipient DID", placeholder: "did:ixo:...", value: manualDid, onChange: (e) => setManualDid(e.currentTarget.value) }), /* @__PURE__ */ React275.createElement(Divider25, null), /* @__PURE__ */ React275.createElement(Stack159, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Text166, { size: "sm", fw: 500 }, "Permission Scope"), singleBlockMode && fixedBlock ? (
32847
32905
  // Single block mode: show fixed block info
32848
- /* @__PURE__ */ React275.createElement(Paper21, { p: "sm", withBorder: true }, /* @__PURE__ */ React275.createElement(Group105, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Badge46, { variant: "light", color: "blue" }, fixedBlock.type), /* @__PURE__ */ React275.createElement(Text166, { size: "sm" }, fixedBlock.name || `Block ${fixedBlock.id.slice(-8)}`)), /* @__PURE__ */ React275.createElement(Text166, { size: "xs", c: "dimmed", mt: "xs" }, "Permission will be granted to execute this specific block."))
32906
+ /* @__PURE__ */ React275.createElement(Paper21, { p: "sm", withBorder: true }, /* @__PURE__ */ React275.createElement(Group104, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Badge46, { variant: "light", color: "blue" }, fixedBlock.type), /* @__PURE__ */ React275.createElement(Text166, { size: "sm" }, fixedBlock.name || `Block ${fixedBlock.id.slice(-8)}`)), /* @__PURE__ */ React275.createElement(Text166, { size: "xs", c: "dimmed", mt: "xs" }, "Permission will be granted to execute this specific block."))
32849
32907
  ) : (
32850
32908
  // Multi-block mode: show scope selection
32851
- /* @__PURE__ */ React275.createElement(React275.Fragment, null, /* @__PURE__ */ React275.createElement(Radio4.Group, { value: scopeType, onChange: (v) => setScopeType(v) }, /* @__PURE__ */ React275.createElement(Stack160, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Radio4, { value: "full", label: "Full flow access (can execute any block)" }), /* @__PURE__ */ React275.createElement(Radio4, { value: "blocks", label: "Specific blocks only" }))), scopeType === "blocks" && /* @__PURE__ */ React275.createElement(Paper21, { p: "sm", withBorder: true, style: { maxHeight: 150, overflow: "auto" } }, /* @__PURE__ */ React275.createElement(Stack160, { gap: "xs" }, blocks.map((block2) => /* @__PURE__ */ React275.createElement(
32909
+ /* @__PURE__ */ React275.createElement(React275.Fragment, null, /* @__PURE__ */ React275.createElement(Radio4.Group, { value: scopeType, onChange: (v) => setScopeType(v) }, /* @__PURE__ */ React275.createElement(Stack159, { gap: "xs" }, /* @__PURE__ */ React275.createElement(Radio4, { value: "full", label: "Full flow access (can execute any block)" }), /* @__PURE__ */ React275.createElement(Radio4, { value: "blocks", label: "Specific blocks only" }))), scopeType === "blocks" && /* @__PURE__ */ React275.createElement(Paper21, { p: "sm", withBorder: true, style: { maxHeight: 150, overflow: "auto" } }, /* @__PURE__ */ React275.createElement(Stack159, { gap: "xs" }, blocks.map((block2) => /* @__PURE__ */ React275.createElement(
32852
32910
  Checkbox9,
32853
32911
  {
32854
32912
  key: block2.id,
@@ -32863,7 +32921,7 @@ var GrantPermissionModal = ({ opened, onClose, flowUri, blocks, targetBlockId, s
32863
32921
  }
32864
32922
  }
32865
32923
  )))))
32866
- )), /* @__PURE__ */ React275.createElement(Divider25, null), /* @__PURE__ */ React275.createElement(Stack160, { gap: "xs" }, /* @__PURE__ */ React275.createElement(
32924
+ )), /* @__PURE__ */ React275.createElement(Divider25, null), /* @__PURE__ */ React275.createElement(Stack159, { gap: "xs" }, /* @__PURE__ */ React275.createElement(
32867
32925
  NumberInput10,
32868
32926
  {
32869
32927
  label: "Expires in (days)",
@@ -32875,7 +32933,7 @@ var GrantPermissionModal = ({ opened, onClose, flowUri, blocks, targetBlockId, s
32875
32933
  max: MAX_GRANT_DAYS2,
32876
32934
  allowDecimal: false
32877
32935
  }
32878
- )), /* @__PURE__ */ React275.createElement(Divider25, null), /* @__PURE__ */ React275.createElement(TextInput9, { label: "Enter your PIN to sign this delegation", type: "password", placeholder: "PIN", value: pin, onChange: (e) => setPin(e.currentTarget.value) }), error && /* @__PURE__ */ React275.createElement(Alert46, { color: "red" }, error), /* @__PURE__ */ React275.createElement(Group105, { justify: "flex-end" }, /* @__PURE__ */ React275.createElement(Button60, { variant: "subtle", onClick: handleClose, disabled: loading }, "Cancel"), /* @__PURE__ */ React275.createElement(Button60, { onClick: handleGrant, loading }, "Grant Permission")))
32936
+ )), /* @__PURE__ */ React275.createElement(Divider25, null), /* @__PURE__ */ React275.createElement(TextInput9, { label: "Enter your PIN to sign this delegation", type: "password", placeholder: "PIN", value: pin, onChange: (e) => setPin(e.currentTarget.value) }), error && /* @__PURE__ */ React275.createElement(Alert46, { color: "red" }, error), /* @__PURE__ */ React275.createElement(Group104, { justify: "flex-end" }, /* @__PURE__ */ React275.createElement(Button60, { variant: "subtle", onClick: handleClose, disabled: loading }, "Cancel"), /* @__PURE__ */ React275.createElement(Button60, { onClick: handleGrant, loading }, "Grant Permission")))
32879
32937
  );
32880
32938
  };
32881
32939
 
@@ -33012,4 +33070,4 @@ export {
33012
33070
  ixoGraphQLClient,
33013
33071
  getEntity
33014
33072
  };
33015
- //# sourceMappingURL=chunk-VOW7DHXR.js.map
33073
+ //# sourceMappingURL=chunk-XKDMDEUI.js.map