flujo-ai 3.45.1 → 3.45.2

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 (192) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +37 -37
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/react-loadable-manifest.json +2 -2
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/.next/server/app/_not-found.html +1 -1
  14. package/.next/server/app/_not-found.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  21. package/.next/server/app/api/telemetry/daily-active/route.js +1 -1
  22. package/.next/server/app/automation/triggers.html +1 -1
  23. package/.next/server/app/automation/triggers.rsc +1 -1
  24. package/.next/server/app/automation/triggers.segments/_full.segment.rsc +1 -1
  25. package/.next/server/app/automation/triggers.segments/_head.segment.rsc +1 -1
  26. package/.next/server/app/automation/triggers.segments/_index.segment.rsc +1 -1
  27. package/.next/server/app/automation/triggers.segments/_tree.segment.rsc +1 -1
  28. package/.next/server/app/automation/triggers.segments/automation/triggers/__PAGE__.segment.rsc +1 -1
  29. package/.next/server/app/automation/triggers.segments/automation/triggers.segment.rsc +1 -1
  30. package/.next/server/app/automation/triggers.segments/automation.segment.rsc +1 -1
  31. package/.next/server/app/automation/waves.html +1 -1
  32. package/.next/server/app/automation/waves.rsc +1 -1
  33. package/.next/server/app/automation/waves.segments/_full.segment.rsc +1 -1
  34. package/.next/server/app/automation/waves.segments/_head.segment.rsc +1 -1
  35. package/.next/server/app/automation/waves.segments/_index.segment.rsc +1 -1
  36. package/.next/server/app/automation/waves.segments/_tree.segment.rsc +1 -1
  37. package/.next/server/app/automation/waves.segments/automation/waves/__PAGE__.segment.rsc +1 -1
  38. package/.next/server/app/automation/waves.segments/automation/waves.segment.rsc +1 -1
  39. package/.next/server/app/automation/waves.segments/automation.segment.rsc +1 -1
  40. package/.next/server/app/chain-chat.html +1 -1
  41. package/.next/server/app/chain-chat.rsc +1 -1
  42. package/.next/server/app/chain-chat.segments/_full.segment.rsc +1 -1
  43. package/.next/server/app/chain-chat.segments/_head.segment.rsc +1 -1
  44. package/.next/server/app/chain-chat.segments/_index.segment.rsc +1 -1
  45. package/.next/server/app/chain-chat.segments/_tree.segment.rsc +1 -1
  46. package/.next/server/app/chain-chat.segments/chain-chat/__PAGE__.segment.rsc +1 -1
  47. package/.next/server/app/chain-chat.segments/chain-chat.segment.rsc +1 -1
  48. package/.next/server/app/chat/page_client-reference-manifest.js +1 -1
  49. package/.next/server/app/chat.html +1 -1
  50. package/.next/server/app/chat.rsc +2 -2
  51. package/.next/server/app/chat.segments/_full.segment.rsc +2 -2
  52. package/.next/server/app/chat.segments/_head.segment.rsc +1 -1
  53. package/.next/server/app/chat.segments/_index.segment.rsc +1 -1
  54. package/.next/server/app/chat.segments/_tree.segment.rsc +1 -1
  55. package/.next/server/app/chat.segments/chat/__PAGE__.segment.rsc +2 -2
  56. package/.next/server/app/chat.segments/chat.segment.rsc +1 -1
  57. package/.next/server/app/docs.html +1 -1
  58. package/.next/server/app/docs.rsc +1 -1
  59. package/.next/server/app/docs.segments/_full.segment.rsc +1 -1
  60. package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
  61. package/.next/server/app/docs.segments/_index.segment.rsc +1 -1
  62. package/.next/server/app/docs.segments/_tree.segment.rsc +1 -1
  63. package/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
  64. package/.next/server/app/docs.segments/docs.segment.rsc +1 -1
  65. package/.next/server/app/executions.html +1 -1
  66. package/.next/server/app/executions.rsc +1 -1
  67. package/.next/server/app/executions.segments/_full.segment.rsc +1 -1
  68. package/.next/server/app/executions.segments/_head.segment.rsc +1 -1
  69. package/.next/server/app/executions.segments/_index.segment.rsc +1 -1
  70. package/.next/server/app/executions.segments/_tree.segment.rsc +1 -1
  71. package/.next/server/app/executions.segments/executions/__PAGE__.segment.rsc +1 -1
  72. package/.next/server/app/executions.segments/executions.segment.rsc +1 -1
  73. package/.next/server/app/flows/page_client-reference-manifest.js +1 -1
  74. package/.next/server/app/flows.html +1 -1
  75. package/.next/server/app/flows.rsc +2 -2
  76. package/.next/server/app/flows.segments/_full.segment.rsc +2 -2
  77. package/.next/server/app/flows.segments/_head.segment.rsc +1 -1
  78. package/.next/server/app/flows.segments/_index.segment.rsc +1 -1
  79. package/.next/server/app/flows.segments/_tree.segment.rsc +1 -1
  80. package/.next/server/app/flows.segments/flows/__PAGE__.segment.rsc +2 -2
  81. package/.next/server/app/flows.segments/flows.segment.rsc +1 -1
  82. package/.next/server/app/index.html +1 -1
  83. package/.next/server/app/index.rsc +1 -1
  84. package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  85. package/.next/server/app/index.segments/_full.segment.rsc +1 -1
  86. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  87. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  88. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  89. package/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
  90. package/.next/server/app/mcp-flows/route.js +1 -1
  91. package/.next/server/app/mcp-proxy/[server]/route.js +1 -1
  92. package/.next/server/app/mcp.html +1 -1
  93. package/.next/server/app/mcp.rsc +2 -2
  94. package/.next/server/app/mcp.segments/_full.segment.rsc +2 -2
  95. package/.next/server/app/mcp.segments/_head.segment.rsc +1 -1
  96. package/.next/server/app/mcp.segments/_index.segment.rsc +1 -1
  97. package/.next/server/app/mcp.segments/_tree.segment.rsc +1 -1
  98. package/.next/server/app/mcp.segments/mcp/__PAGE__.segment.rsc +2 -2
  99. package/.next/server/app/mcp.segments/mcp.segment.rsc +1 -1
  100. package/.next/server/app/meetings.html +1 -1
  101. package/.next/server/app/meetings.rsc +1 -1
  102. package/.next/server/app/meetings.segments/_full.segment.rsc +1 -1
  103. package/.next/server/app/meetings.segments/_head.segment.rsc +1 -1
  104. package/.next/server/app/meetings.segments/_index.segment.rsc +1 -1
  105. package/.next/server/app/meetings.segments/_tree.segment.rsc +1 -1
  106. package/.next/server/app/meetings.segments/meetings/__PAGE__.segment.rsc +1 -1
  107. package/.next/server/app/meetings.segments/meetings.segment.rsc +1 -1
  108. package/.next/server/app/packages.html +1 -1
  109. package/.next/server/app/packages.rsc +1 -1
  110. package/.next/server/app/packages.segments/_full.segment.rsc +1 -1
  111. package/.next/server/app/packages.segments/_head.segment.rsc +1 -1
  112. package/.next/server/app/packages.segments/_index.segment.rsc +1 -1
  113. package/.next/server/app/packages.segments/_tree.segment.rsc +1 -1
  114. package/.next/server/app/packages.segments/packages/__PAGE__.segment.rsc +1 -1
  115. package/.next/server/app/packages.segments/packages.segment.rsc +1 -1
  116. package/.next/server/app/personas.html +1 -1
  117. package/.next/server/app/personas.rsc +1 -1
  118. package/.next/server/app/personas.segments/_full.segment.rsc +1 -1
  119. package/.next/server/app/personas.segments/_head.segment.rsc +1 -1
  120. package/.next/server/app/personas.segments/_index.segment.rsc +1 -1
  121. package/.next/server/app/personas.segments/_tree.segment.rsc +1 -1
  122. package/.next/server/app/personas.segments/personas/__PAGE__.segment.rsc +1 -1
  123. package/.next/server/app/personas.segments/personas.segment.rsc +1 -1
  124. package/.next/server/app/roles/new.html +1 -1
  125. package/.next/server/app/roles/new.rsc +1 -1
  126. package/.next/server/app/roles/new.segments/_full.segment.rsc +1 -1
  127. package/.next/server/app/roles/new.segments/_head.segment.rsc +1 -1
  128. package/.next/server/app/roles/new.segments/_index.segment.rsc +1 -1
  129. package/.next/server/app/roles/new.segments/_tree.segment.rsc +1 -1
  130. package/.next/server/app/roles/new.segments/roles/new/__PAGE__.segment.rsc +1 -1
  131. package/.next/server/app/roles/new.segments/roles/new.segment.rsc +1 -1
  132. package/.next/server/app/roles/new.segments/roles.segment.rsc +1 -1
  133. package/.next/server/app/roles.html +1 -1
  134. package/.next/server/app/roles.rsc +1 -1
  135. package/.next/server/app/roles.segments/_full.segment.rsc +1 -1
  136. package/.next/server/app/roles.segments/_head.segment.rsc +1 -1
  137. package/.next/server/app/roles.segments/_index.segment.rsc +1 -1
  138. package/.next/server/app/roles.segments/_tree.segment.rsc +1 -1
  139. package/.next/server/app/roles.segments/roles/__PAGE__.segment.rsc +1 -1
  140. package/.next/server/app/roles.segments/roles.segment.rsc +1 -1
  141. package/.next/server/app/settings.html +1 -1
  142. package/.next/server/app/settings.rsc +1 -1
  143. package/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  144. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  145. package/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  146. package/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  147. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +1 -1
  148. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  149. package/.next/server/app/statistics.html +1 -1
  150. package/.next/server/app/statistics.rsc +1 -1
  151. package/.next/server/app/statistics.segments/_full.segment.rsc +1 -1
  152. package/.next/server/app/statistics.segments/_head.segment.rsc +1 -1
  153. package/.next/server/app/statistics.segments/_index.segment.rsc +1 -1
  154. package/.next/server/app/statistics.segments/_tree.segment.rsc +1 -1
  155. package/.next/server/app/statistics.segments/statistics/__PAGE__.segment.rsc +1 -1
  156. package/.next/server/app/statistics.segments/statistics.segment.rsc +1 -1
  157. package/.next/server/app/waves.html +1 -1
  158. package/.next/server/app/waves.rsc +1 -1
  159. package/.next/server/app/waves.segments/_full.segment.rsc +1 -1
  160. package/.next/server/app/waves.segments/_head.segment.rsc +1 -1
  161. package/.next/server/app/waves.segments/_index.segment.rsc +1 -1
  162. package/.next/server/app/waves.segments/_tree.segment.rsc +1 -1
  163. package/.next/server/app/waves.segments/waves/__PAGE__.segment.rsc +1 -1
  164. package/.next/server/app/waves.segments/waves.segment.rsc +1 -1
  165. package/.next/server/app-paths-manifest.json +37 -37
  166. package/.next/server/chunks/1475.js +1 -1
  167. package/.next/server/chunks/1914.js +1 -1
  168. package/.next/server/chunks/2887.js +1 -1
  169. package/.next/server/chunks/3686.js +1 -1
  170. package/.next/server/chunks/5189.js +1 -1
  171. package/.next/server/chunks/5399.js +1 -1
  172. package/.next/server/chunks/5560.js +2 -2
  173. package/.next/server/chunks/7570.js +1 -1
  174. package/.next/server/middleware-build-manifest.js +1 -1
  175. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  176. package/.next/server/pages/404.html +1 -1
  177. package/.next/server/pages/500.html +1 -1
  178. package/.next/server/server-reference-manifest.js +1 -1
  179. package/.next/server/server-reference-manifest.json +1 -1
  180. package/.next/static/chunks/{7208-5af7190dbc0e142b.js → 7208-714230aba8f0df89.js} +1 -1
  181. package/.next/static/chunks/webpack-f1c3062d7039f0c7.js +1 -0
  182. package/.next/trace +118 -118
  183. package/.next/trace-build +1 -1
  184. package/README.md +1 -1
  185. package/mcp-servers/bash/package.json +1 -1
  186. package/mcp-servers/browser/package.json +1 -1
  187. package/mcp-servers/filesystem/package.json +1 -1
  188. package/mcp-servers/flujo/package.json +1 -1
  189. package/package.json +5 -5
  190. package/.next/static/chunks/webpack-489c70bebf5a4745.js +0 -1
  191. /package/.next/static/{PEARC3s6DHN81nwlN8qpZ → 21CjEbc0FIa9X6No7R5M-}/_buildManifest.js +0 -0
  192. /package/.next/static/{PEARC3s6DHN81nwlN8qpZ → 21CjEbc0FIa9X6No7R5M-}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- {"node":{"40685a5470d6d1ad3288c4af4bc55ac3602d509706":{"workers":{"app/api/approvals/route":{"moduleId":"4843","async":false},"app/api/automation-map/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/tools/route":{"moduleId":"4843","async":false},"app/api/planned-executions/reconcile/route":{"moduleId":"4843","async":false},"app/api/runs/active/route":{"moduleId":"4843","async":false},"app/api/waves/route":{"moduleId":"4843","async":false},"app/api/workspaces/route":{"moduleId":"4843","async":false},"app/v1/models/route":{"moduleId":"4843","async":false},"app/api/approvals/[id]/route":{"moduleId":"4843","async":false},"app/api/encryption/secure/route":{"moduleId":"4843","async":false},"app/api/env/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/convert-process-to-subflow/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/[versionId]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/route":{"moduleId":"4843","async":false},"app/api/flow/assist/route":{"moduleId":"4843","async":false},"app/api/flow/compile/route":{"moduleId":"4843","async":false},"app/api/flow/generate/route":{"moduleId":"4843","async":false},"app/api/flow/generate/visual/route":{"moduleId":"4843","async":false},"app/api/flow/generator/route":{"moduleId":"4843","async":false},"app/api/flow/improve/route":{"moduleId":"4843","async":false},"app/api/flow/model-agent/route":{"moduleId":"4843","async":false},"app/api/flow/prompt-renderer/route":{"moduleId":"4843","async":false},"app/api/flow/quick-chat/route":{"moduleId":"4843","async":false},"app/api/flow/repair/route":{"moduleId":"4843","async":false},"app/api/flow/route":{"moduleId":"4843","async":false},"app/api/init/route":{"moduleId":"4843","async":false},"app/api/mcp-registry/route":{"moduleId":"4843","async":false},"app/api/mcp/app-consent/route":{"moduleId":"4843","async":false},"app/api/mcp/app-sandbox/route":{"moduleId":"4843","async":false},"app/api/mcp/assistant/route":{"moduleId":"4843","async":false},"app/api/mcp/cancel/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/authoring/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/automation/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/flows/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/state/route":{"moduleId":"4843","async":false},"app/api/mcp/oauth-capability/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/approve/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/load/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/status/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/confirm/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/start/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/[toolName]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/stream/route":{"moduleId":"4843","async":false},"app/api/model/provider/route":{"moduleId":"4843","async":false},"app/api/backup/route":{"moduleId":"4843","async":false},"app/api/model/test/route":{"moduleId":"4843","async":false},"app/api/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/oauth/reset/route":{"moduleId":"4843","async":false},"app/api/packages/derive-secrets/route":{"moduleId":"4843","async":false},"app/api/packages/install/route":{"moduleId":"4843","async":false},"app/api/packages/install/status/route":{"moduleId":"4843","async":false},"app/api/packages/installed/route":{"moduleId":"4843","async":false},"app/api/packages/resolve/route":{"moduleId":"4843","async":false},"app/api/packages/scan-targets/route":{"moduleId":"4843","async":false},"app/api/packages/uninstall/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/run/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/runs/route":{"moduleId":"4843","async":false},"app/api/planned-executions/route":{"moduleId":"4843","async":false},"app/api/reference-search/files/route":{"moduleId":"4843","async":false},"app/api/registry/auth/resend/route":{"moduleId":"4843","async":false},"app/api/registry/auth/reset/route":{"moduleId":"4843","async":false},"app/api/registry/auth/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/registry/packages/route":{"moduleId":"4843","async":false},"app/api/registry/publish/route":{"moduleId":"4843","async":false},"app/api/registry/settings/route":{"moduleId":"4843","async":false},"app/api/bugs/enhance/route":{"moduleId":"4843","async":false},"app/api/restore/route":{"moduleId":"4843","async":false},"app/api/snapshot/abort/route":{"moduleId":"4843","async":false},"app/api/snapshot/begin/route":{"moduleId":"4843","async":false},"app/api/snapshot/download/route":{"moduleId":"4843","async":false},"app/api/snapshot/finalize/route":{"moduleId":"4843","async":false},"app/api/snapshot/info/route":{"moduleId":"4843","async":false},"app/api/snapshot/status/route":{"moduleId":"4843","async":false},"app/api/tickets/[id]/route":{"moduleId":"4843","async":false},"app/api/tickets/route":{"moduleId":"4843","async":false},"app/api/webhooks/[id]/route":{"moduleId":"4843","async":false},"app/mcp-proxy/[server]/route":{"moduleId":"4843","async":false},"app/mcp-flows/route":{"moduleId":"4843","async":false},"app/v1/chat/completions/route":{"moduleId":"4843","async":false},"app/v1/chat/conversation-chains/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/breakpoints/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/attach/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/continue/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/state/route":{"moduleId":"4843","async":false},"app/api/model/route":{"moduleId":"4843","async":false},"app/api/model/[id]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/step/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/edit-state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/events/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/inject/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/media/[mediaId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/recovery/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/[resourceId]/content/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/respond/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/revert/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/wire-preview/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/route":{"moduleId":"4843","async":false},"app/v1/chat/events/route":{"moduleId":"4843","async":false},"app/v1/flows/[flowRef]/readiness/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/interventions/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/resume/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/start/route":{"moduleId":"4843","async":false},"app/v1/meetings/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/[draftId]/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/launch/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/behaviors/[behaviorId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/copy/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/deletion-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/execution-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/apply/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/promote/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/reject/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/undo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/correct/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/pin/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/resolve-conflict/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/runtime-recovery/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/storage-stats/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/assign/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/control/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/promote-todo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/route":{"moduleId":"4843","async":false},"app/v1/personas/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/duplicate/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/impact/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/restore/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/rollback/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/versions/route":{"moduleId":"4843","async":false},"app/v1/roles/route":{"moduleId":"4843","async":false},"app/mcp/page":{"moduleId":"56469","async":false},"app/settings/page":{"moduleId":"56469","async":false}},"filename":"../C:\\Users\\Moe\\Documents\\GitHub\\FLUJO-npm-release-3.45.1\\src\\backend\\utils\\resolveGlobalVars.ts","exportedName":"resolveNonSecretGlobalVars"},"608b897c1f6172b43690fa2907052fb4b580817958":{"workers":{"app/api/approvals/route":{"moduleId":"4843","async":false},"app/api/automation-map/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/tools/route":{"moduleId":"4843","async":false},"app/api/planned-executions/reconcile/route":{"moduleId":"4843","async":false},"app/api/runs/active/route":{"moduleId":"4843","async":false},"app/api/waves/route":{"moduleId":"4843","async":false},"app/api/workspaces/route":{"moduleId":"4843","async":false},"app/v1/models/route":{"moduleId":"4843","async":false},"app/api/approvals/[id]/route":{"moduleId":"4843","async":false},"app/api/encryption/secure/route":{"moduleId":"4843","async":false},"app/api/env/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/convert-process-to-subflow/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/[versionId]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/route":{"moduleId":"4843","async":false},"app/api/flow/assist/route":{"moduleId":"4843","async":false},"app/api/flow/compile/route":{"moduleId":"4843","async":false},"app/api/flow/generate/route":{"moduleId":"4843","async":false},"app/api/flow/generate/visual/route":{"moduleId":"4843","async":false},"app/api/flow/generator/route":{"moduleId":"4843","async":false},"app/api/flow/improve/route":{"moduleId":"4843","async":false},"app/api/flow/model-agent/route":{"moduleId":"4843","async":false},"app/api/flow/prompt-renderer/route":{"moduleId":"4843","async":false},"app/api/flow/quick-chat/route":{"moduleId":"4843","async":false},"app/api/flow/repair/route":{"moduleId":"4843","async":false},"app/api/flow/route":{"moduleId":"4843","async":false},"app/api/init/route":{"moduleId":"4843","async":false},"app/api/mcp-registry/route":{"moduleId":"4843","async":false},"app/api/mcp/app-consent/route":{"moduleId":"4843","async":false},"app/api/mcp/app-sandbox/route":{"moduleId":"4843","async":false},"app/api/mcp/assistant/route":{"moduleId":"4843","async":false},"app/api/mcp/cancel/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/authoring/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/automation/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/flows/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/state/route":{"moduleId":"4843","async":false},"app/api/mcp/oauth-capability/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/approve/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/load/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/status/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/confirm/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/start/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/[toolName]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/stream/route":{"moduleId":"4843","async":false},"app/api/model/provider/route":{"moduleId":"4843","async":false},"app/api/backup/route":{"moduleId":"4843","async":false},"app/api/model/test/route":{"moduleId":"4843","async":false},"app/api/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/oauth/reset/route":{"moduleId":"4843","async":false},"app/api/packages/derive-secrets/route":{"moduleId":"4843","async":false},"app/api/packages/install/route":{"moduleId":"4843","async":false},"app/api/packages/install/status/route":{"moduleId":"4843","async":false},"app/api/packages/installed/route":{"moduleId":"4843","async":false},"app/api/packages/resolve/route":{"moduleId":"4843","async":false},"app/api/packages/scan-targets/route":{"moduleId":"4843","async":false},"app/api/packages/uninstall/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/run/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/runs/route":{"moduleId":"4843","async":false},"app/api/planned-executions/route":{"moduleId":"4843","async":false},"app/api/reference-search/files/route":{"moduleId":"4843","async":false},"app/api/registry/auth/resend/route":{"moduleId":"4843","async":false},"app/api/registry/auth/reset/route":{"moduleId":"4843","async":false},"app/api/registry/auth/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/registry/packages/route":{"moduleId":"4843","async":false},"app/api/registry/publish/route":{"moduleId":"4843","async":false},"app/api/registry/settings/route":{"moduleId":"4843","async":false},"app/api/bugs/enhance/route":{"moduleId":"4843","async":false},"app/api/restore/route":{"moduleId":"4843","async":false},"app/api/snapshot/abort/route":{"moduleId":"4843","async":false},"app/api/snapshot/begin/route":{"moduleId":"4843","async":false},"app/api/snapshot/download/route":{"moduleId":"4843","async":false},"app/api/snapshot/finalize/route":{"moduleId":"4843","async":false},"app/api/snapshot/info/route":{"moduleId":"4843","async":false},"app/api/snapshot/status/route":{"moduleId":"4843","async":false},"app/api/tickets/[id]/route":{"moduleId":"4843","async":false},"app/api/tickets/route":{"moduleId":"4843","async":false},"app/api/webhooks/[id]/route":{"moduleId":"4843","async":false},"app/mcp-proxy/[server]/route":{"moduleId":"4843","async":false},"app/mcp-flows/route":{"moduleId":"4843","async":false},"app/v1/chat/completions/route":{"moduleId":"4843","async":false},"app/v1/chat/conversation-chains/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/breakpoints/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/attach/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/continue/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/state/route":{"moduleId":"4843","async":false},"app/api/model/route":{"moduleId":"4843","async":false},"app/api/model/[id]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/step/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/edit-state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/events/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/inject/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/media/[mediaId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/recovery/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/[resourceId]/content/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/respond/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/revert/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/wire-preview/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/route":{"moduleId":"4843","async":false},"app/v1/chat/events/route":{"moduleId":"4843","async":false},"app/v1/flows/[flowRef]/readiness/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/interventions/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/resume/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/start/route":{"moduleId":"4843","async":false},"app/v1/meetings/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/[draftId]/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/launch/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/behaviors/[behaviorId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/copy/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/deletion-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/execution-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/apply/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/promote/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/reject/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/undo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/correct/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/pin/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/resolve-conflict/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/runtime-recovery/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/storage-stats/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/assign/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/control/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/promote-todo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/route":{"moduleId":"4843","async":false},"app/v1/personas/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/duplicate/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/impact/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/restore/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/rollback/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/versions/route":{"moduleId":"4843","async":false},"app/v1/roles/route":{"moduleId":"4843","async":false},"app/mcp/page":{"moduleId":"56469","async":false},"app/settings/page":{"moduleId":"56469","async":false}},"filename":"../C:\\Users\\Moe\\Documents\\GitHub\\FLUJO-npm-release-3.45.1\\src\\backend\\utils\\resolveGlobalVars.ts","exportedName":"resolveGlobalVars"},"60fb6cb6e715c63b4e003ce1a1493a04b2c16e467b":{"workers":{"app/api/approvals/route":{"moduleId":"4843","async":false},"app/api/automation-map/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/tools/route":{"moduleId":"4843","async":false},"app/api/planned-executions/reconcile/route":{"moduleId":"4843","async":false},"app/api/runs/active/route":{"moduleId":"4843","async":false},"app/api/waves/route":{"moduleId":"4843","async":false},"app/api/workspaces/route":{"moduleId":"4843","async":false},"app/v1/models/route":{"moduleId":"4843","async":false},"app/api/approvals/[id]/route":{"moduleId":"4843","async":false},"app/api/encryption/secure/route":{"moduleId":"4843","async":false},"app/api/env/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/convert-process-to-subflow/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/[versionId]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/route":{"moduleId":"4843","async":false},"app/api/flow/assist/route":{"moduleId":"4843","async":false},"app/api/flow/compile/route":{"moduleId":"4843","async":false},"app/api/flow/generate/route":{"moduleId":"4843","async":false},"app/api/flow/generate/visual/route":{"moduleId":"4843","async":false},"app/api/flow/generator/route":{"moduleId":"4843","async":false},"app/api/flow/improve/route":{"moduleId":"4843","async":false},"app/api/flow/model-agent/route":{"moduleId":"4843","async":false},"app/api/flow/prompt-renderer/route":{"moduleId":"4843","async":false},"app/api/flow/quick-chat/route":{"moduleId":"4843","async":false},"app/api/flow/repair/route":{"moduleId":"4843","async":false},"app/api/flow/route":{"moduleId":"4843","async":false},"app/api/init/route":{"moduleId":"4843","async":false},"app/api/mcp-registry/route":{"moduleId":"4843","async":false},"app/api/mcp/app-consent/route":{"moduleId":"4843","async":false},"app/api/mcp/app-sandbox/route":{"moduleId":"4843","async":false},"app/api/mcp/assistant/route":{"moduleId":"4843","async":false},"app/api/mcp/cancel/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/authoring/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/automation/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/flows/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/state/route":{"moduleId":"4843","async":false},"app/api/mcp/oauth-capability/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/approve/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/load/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/status/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/confirm/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/start/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/[toolName]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/stream/route":{"moduleId":"4843","async":false},"app/api/model/provider/route":{"moduleId":"4843","async":false},"app/api/backup/route":{"moduleId":"4843","async":false},"app/api/model/test/route":{"moduleId":"4843","async":false},"app/api/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/oauth/reset/route":{"moduleId":"4843","async":false},"app/api/packages/derive-secrets/route":{"moduleId":"4843","async":false},"app/api/packages/install/route":{"moduleId":"4843","async":false},"app/api/packages/install/status/route":{"moduleId":"4843","async":false},"app/api/packages/installed/route":{"moduleId":"4843","async":false},"app/api/packages/resolve/route":{"moduleId":"4843","async":false},"app/api/packages/scan-targets/route":{"moduleId":"4843","async":false},"app/api/packages/uninstall/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/run/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/runs/route":{"moduleId":"4843","async":false},"app/api/planned-executions/route":{"moduleId":"4843","async":false},"app/api/reference-search/files/route":{"moduleId":"4843","async":false},"app/api/registry/auth/resend/route":{"moduleId":"4843","async":false},"app/api/registry/auth/reset/route":{"moduleId":"4843","async":false},"app/api/registry/auth/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/registry/packages/route":{"moduleId":"4843","async":false},"app/api/registry/publish/route":{"moduleId":"4843","async":false},"app/api/registry/settings/route":{"moduleId":"4843","async":false},"app/api/bugs/enhance/route":{"moduleId":"4843","async":false},"app/api/restore/route":{"moduleId":"4843","async":false},"app/api/snapshot/abort/route":{"moduleId":"4843","async":false},"app/api/snapshot/begin/route":{"moduleId":"4843","async":false},"app/api/snapshot/download/route":{"moduleId":"4843","async":false},"app/api/snapshot/finalize/route":{"moduleId":"4843","async":false},"app/api/snapshot/info/route":{"moduleId":"4843","async":false},"app/api/snapshot/status/route":{"moduleId":"4843","async":false},"app/api/tickets/[id]/route":{"moduleId":"4843","async":false},"app/api/tickets/route":{"moduleId":"4843","async":false},"app/api/webhooks/[id]/route":{"moduleId":"4843","async":false},"app/mcp-proxy/[server]/route":{"moduleId":"4843","async":false},"app/mcp-flows/route":{"moduleId":"4843","async":false},"app/v1/chat/completions/route":{"moduleId":"4843","async":false},"app/v1/chat/conversation-chains/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/breakpoints/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/attach/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/continue/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/state/route":{"moduleId":"4843","async":false},"app/api/model/route":{"moduleId":"4843","async":false},"app/api/model/[id]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/step/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/edit-state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/events/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/inject/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/media/[mediaId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/recovery/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/[resourceId]/content/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/respond/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/revert/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/wire-preview/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/route":{"moduleId":"4843","async":false},"app/v1/chat/events/route":{"moduleId":"4843","async":false},"app/v1/flows/[flowRef]/readiness/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/interventions/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/resume/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/start/route":{"moduleId":"4843","async":false},"app/v1/meetings/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/[draftId]/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/launch/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/behaviors/[behaviorId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/copy/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/deletion-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/execution-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/apply/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/promote/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/reject/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/undo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/correct/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/pin/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/resolve-conflict/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/runtime-recovery/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/storage-stats/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/assign/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/control/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/promote-todo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/route":{"moduleId":"4843","async":false},"app/v1/personas/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/duplicate/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/impact/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/restore/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/rollback/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/versions/route":{"moduleId":"4843","async":false},"app/v1/roles/route":{"moduleId":"4843","async":false},"app/mcp/page":{"moduleId":"56469","async":false},"app/settings/page":{"moduleId":"56469","async":false}},"filename":"../C:\\Users\\Moe\\Documents\\GitHub\\FLUJO-npm-release-3.45.1\\src\\backend\\utils\\resolveGlobalVars.ts","exportedName":"resolveAndDecryptApiKey"}},"edge":{},"encryptionKey":"gSqm290HqHZEBvFQDXQGPpOBMotRFOfwzd8wJd7Hq70="}
1
+ {"node":{"40685a5470d6d1ad3288c4af4bc55ac3602d509706":{"workers":{"app/api/approvals/route":{"moduleId":"4843","async":false},"app/api/automation-map/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/tools/route":{"moduleId":"4843","async":false},"app/api/planned-executions/reconcile/route":{"moduleId":"4843","async":false},"app/api/runs/active/route":{"moduleId":"4843","async":false},"app/api/waves/route":{"moduleId":"4843","async":false},"app/api/workspaces/route":{"moduleId":"4843","async":false},"app/v1/models/route":{"moduleId":"4843","async":false},"app/api/backup/route":{"moduleId":"4843","async":false},"app/api/bugs/enhance/route":{"moduleId":"4843","async":false},"app/api/approvals/[id]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/convert-process-to-subflow/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/[versionId]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/route":{"moduleId":"4843","async":false},"app/api/encryption/secure/route":{"moduleId":"4843","async":false},"app/api/flow/compile/route":{"moduleId":"4843","async":false},"app/api/flow/generate/visual/route":{"moduleId":"4843","async":false},"app/api/flow/generate/route":{"moduleId":"4843","async":false},"app/api/flow/generator/route":{"moduleId":"4843","async":false},"app/api/flow/assist/route":{"moduleId":"4843","async":false},"app/api/env/route":{"moduleId":"4843","async":false},"app/api/flow/improve/route":{"moduleId":"4843","async":false},"app/api/flow/prompt-renderer/route":{"moduleId":"4843","async":false},"app/api/flow/quick-chat/route":{"moduleId":"4843","async":false},"app/api/flow/repair/route":{"moduleId":"4843","async":false},"app/api/flow/model-agent/route":{"moduleId":"4843","async":false},"app/api/flow/route":{"moduleId":"4843","async":false},"app/api/init/route":{"moduleId":"4843","async":false},"app/api/mcp-registry/route":{"moduleId":"4843","async":false},"app/api/mcp/app-consent/route":{"moduleId":"4843","async":false},"app/api/mcp/cancel/route":{"moduleId":"4843","async":false},"app/api/mcp/assistant/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/authoring/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/automation/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/flows/route":{"moduleId":"4843","async":false},"app/api/mcp/app-sandbox/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/state/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/oauth-capability/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/approve/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/load/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/status/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/confirm/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/[toolName]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/start/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/stream/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/route":{"moduleId":"4843","async":false},"app/api/model/provider/route":{"moduleId":"4843","async":false},"app/api/model/test/route":{"moduleId":"4843","async":false},"app/api/model/route":{"moduleId":"4843","async":false},"app/api/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/model/[id]/route":{"moduleId":"4843","async":false},"app/api/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/packages/derive-secrets/route":{"moduleId":"4843","async":false},"app/api/oauth/reset/route":{"moduleId":"4843","async":false},"app/api/packages/installed/route":{"moduleId":"4843","async":false},"app/api/packages/install/status/route":{"moduleId":"4843","async":false},"app/api/packages/resolve/route":{"moduleId":"4843","async":false},"app/api/packages/scan-targets/route":{"moduleId":"4843","async":false},"app/api/packages/uninstall/route":{"moduleId":"4843","async":false},"app/api/packages/install/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/run/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/runs/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/route":{"moduleId":"4843","async":false},"app/api/registry/auth/resend/route":{"moduleId":"4843","async":false},"app/api/registry/auth/reset/route":{"moduleId":"4843","async":false},"app/api/planned-executions/route":{"moduleId":"4843","async":false},"app/api/reference-search/files/route":{"moduleId":"4843","async":false},"app/api/registry/auth/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/registry/publish/route":{"moduleId":"4843","async":false},"app/api/registry/packages/route":{"moduleId":"4843","async":false},"app/api/registry/settings/route":{"moduleId":"4843","async":false},"app/api/snapshot/abort/route":{"moduleId":"4843","async":false},"app/api/snapshot/begin/route":{"moduleId":"4843","async":false},"app/api/restore/route":{"moduleId":"4843","async":false},"app/api/snapshot/download/route":{"moduleId":"4843","async":false},"app/api/snapshot/finalize/route":{"moduleId":"4843","async":false},"app/api/snapshot/info/route":{"moduleId":"4843","async":false},"app/api/snapshot/status/route":{"moduleId":"4843","async":false},"app/api/tickets/[id]/route":{"moduleId":"4843","async":false},"app/api/tickets/route":{"moduleId":"4843","async":false},"app/api/webhooks/[id]/route":{"moduleId":"4843","async":false},"app/mcp-flows/route":{"moduleId":"4843","async":false},"app/mcp-proxy/[server]/route":{"moduleId":"4843","async":false},"app/v1/chat/completions/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/breakpoints/route":{"moduleId":"4843","async":false},"app/v1/chat/conversation-chains/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/attach/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/continue/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/step/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/edit-state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/events/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/inject/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/media/[mediaId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/recovery/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/[resourceId]/content/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/respond/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/revert/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/wire-preview/route":{"moduleId":"4843","async":false},"app/v1/chat/events/route":{"moduleId":"4843","async":false},"app/v1/flows/[flowRef]/readiness/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/interventions/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/resume/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/start/route":{"moduleId":"4843","async":false},"app/v1/meetings/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/[draftId]/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/launch/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/behaviors/[behaviorId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/copy/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/deletion-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/execution-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/apply/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/promote/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/reject/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/undo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/correct/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/pin/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/resolve-conflict/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/runtime-recovery/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/storage-stats/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/assign/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/control/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/promote-todo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/route":{"moduleId":"4843","async":false},"app/v1/personas/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/duplicate/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/impact/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/restore/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/rollback/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/versions/route":{"moduleId":"4843","async":false},"app/v1/roles/route":{"moduleId":"4843","async":false},"app/mcp/page":{"moduleId":"56469","async":false},"app/settings/page":{"moduleId":"56469","async":false}},"filename":"../C:\\Users\\Moe\\Documents\\GitHub\\FLUJO-npm-release-3.45.1\\src\\backend\\utils\\resolveGlobalVars.ts","exportedName":"resolveNonSecretGlobalVars"},"608b897c1f6172b43690fa2907052fb4b580817958":{"workers":{"app/api/approvals/route":{"moduleId":"4843","async":false},"app/api/automation-map/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/tools/route":{"moduleId":"4843","async":false},"app/api/planned-executions/reconcile/route":{"moduleId":"4843","async":false},"app/api/runs/active/route":{"moduleId":"4843","async":false},"app/api/waves/route":{"moduleId":"4843","async":false},"app/api/workspaces/route":{"moduleId":"4843","async":false},"app/v1/models/route":{"moduleId":"4843","async":false},"app/api/backup/route":{"moduleId":"4843","async":false},"app/api/bugs/enhance/route":{"moduleId":"4843","async":false},"app/api/approvals/[id]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/convert-process-to-subflow/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/[versionId]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/route":{"moduleId":"4843","async":false},"app/api/encryption/secure/route":{"moduleId":"4843","async":false},"app/api/flow/compile/route":{"moduleId":"4843","async":false},"app/api/flow/generate/visual/route":{"moduleId":"4843","async":false},"app/api/flow/generate/route":{"moduleId":"4843","async":false},"app/api/flow/generator/route":{"moduleId":"4843","async":false},"app/api/flow/assist/route":{"moduleId":"4843","async":false},"app/api/env/route":{"moduleId":"4843","async":false},"app/api/flow/improve/route":{"moduleId":"4843","async":false},"app/api/flow/prompt-renderer/route":{"moduleId":"4843","async":false},"app/api/flow/quick-chat/route":{"moduleId":"4843","async":false},"app/api/flow/repair/route":{"moduleId":"4843","async":false},"app/api/flow/model-agent/route":{"moduleId":"4843","async":false},"app/api/flow/route":{"moduleId":"4843","async":false},"app/api/init/route":{"moduleId":"4843","async":false},"app/api/mcp-registry/route":{"moduleId":"4843","async":false},"app/api/mcp/app-consent/route":{"moduleId":"4843","async":false},"app/api/mcp/cancel/route":{"moduleId":"4843","async":false},"app/api/mcp/assistant/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/authoring/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/automation/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/flows/route":{"moduleId":"4843","async":false},"app/api/mcp/app-sandbox/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/state/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/oauth-capability/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/approve/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/load/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/status/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/confirm/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/[toolName]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/start/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/stream/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/route":{"moduleId":"4843","async":false},"app/api/model/provider/route":{"moduleId":"4843","async":false},"app/api/model/test/route":{"moduleId":"4843","async":false},"app/api/model/route":{"moduleId":"4843","async":false},"app/api/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/model/[id]/route":{"moduleId":"4843","async":false},"app/api/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/packages/derive-secrets/route":{"moduleId":"4843","async":false},"app/api/oauth/reset/route":{"moduleId":"4843","async":false},"app/api/packages/installed/route":{"moduleId":"4843","async":false},"app/api/packages/install/status/route":{"moduleId":"4843","async":false},"app/api/packages/resolve/route":{"moduleId":"4843","async":false},"app/api/packages/scan-targets/route":{"moduleId":"4843","async":false},"app/api/packages/uninstall/route":{"moduleId":"4843","async":false},"app/api/packages/install/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/run/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/runs/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/route":{"moduleId":"4843","async":false},"app/api/registry/auth/resend/route":{"moduleId":"4843","async":false},"app/api/registry/auth/reset/route":{"moduleId":"4843","async":false},"app/api/planned-executions/route":{"moduleId":"4843","async":false},"app/api/reference-search/files/route":{"moduleId":"4843","async":false},"app/api/registry/auth/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/registry/publish/route":{"moduleId":"4843","async":false},"app/api/registry/packages/route":{"moduleId":"4843","async":false},"app/api/registry/settings/route":{"moduleId":"4843","async":false},"app/api/snapshot/abort/route":{"moduleId":"4843","async":false},"app/api/snapshot/begin/route":{"moduleId":"4843","async":false},"app/api/restore/route":{"moduleId":"4843","async":false},"app/api/snapshot/download/route":{"moduleId":"4843","async":false},"app/api/snapshot/finalize/route":{"moduleId":"4843","async":false},"app/api/snapshot/info/route":{"moduleId":"4843","async":false},"app/api/snapshot/status/route":{"moduleId":"4843","async":false},"app/api/tickets/[id]/route":{"moduleId":"4843","async":false},"app/api/tickets/route":{"moduleId":"4843","async":false},"app/api/webhooks/[id]/route":{"moduleId":"4843","async":false},"app/mcp-flows/route":{"moduleId":"4843","async":false},"app/mcp-proxy/[server]/route":{"moduleId":"4843","async":false},"app/v1/chat/completions/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/breakpoints/route":{"moduleId":"4843","async":false},"app/v1/chat/conversation-chains/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/attach/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/continue/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/step/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/edit-state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/events/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/inject/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/media/[mediaId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/recovery/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/[resourceId]/content/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/respond/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/revert/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/wire-preview/route":{"moduleId":"4843","async":false},"app/v1/chat/events/route":{"moduleId":"4843","async":false},"app/v1/flows/[flowRef]/readiness/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/interventions/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/resume/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/start/route":{"moduleId":"4843","async":false},"app/v1/meetings/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/[draftId]/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/launch/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/behaviors/[behaviorId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/copy/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/deletion-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/execution-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/apply/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/promote/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/reject/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/undo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/correct/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/pin/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/resolve-conflict/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/runtime-recovery/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/storage-stats/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/assign/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/control/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/promote-todo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/route":{"moduleId":"4843","async":false},"app/v1/personas/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/duplicate/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/impact/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/restore/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/rollback/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/versions/route":{"moduleId":"4843","async":false},"app/v1/roles/route":{"moduleId":"4843","async":false},"app/mcp/page":{"moduleId":"56469","async":false},"app/settings/page":{"moduleId":"56469","async":false}},"filename":"../C:\\Users\\Moe\\Documents\\GitHub\\FLUJO-npm-release-3.45.1\\src\\backend\\utils\\resolveGlobalVars.ts","exportedName":"resolveGlobalVars"},"60fb6cb6e715c63b4e003ce1a1493a04b2c16e467b":{"workers":{"app/api/approvals/route":{"moduleId":"4843","async":false},"app/api/automation-map/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/tools/route":{"moduleId":"4843","async":false},"app/api/planned-executions/reconcile/route":{"moduleId":"4843","async":false},"app/api/runs/active/route":{"moduleId":"4843","async":false},"app/api/waves/route":{"moduleId":"4843","async":false},"app/api/workspaces/route":{"moduleId":"4843","async":false},"app/v1/models/route":{"moduleId":"4843","async":false},"app/api/backup/route":{"moduleId":"4843","async":false},"app/api/bugs/enhance/route":{"moduleId":"4843","async":false},"app/api/approvals/[id]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/convert-process-to-subflow/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/[versionId]/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/versions/route":{"moduleId":"4843","async":false},"app/api/flow/[id]/route":{"moduleId":"4843","async":false},"app/api/encryption/secure/route":{"moduleId":"4843","async":false},"app/api/flow/compile/route":{"moduleId":"4843","async":false},"app/api/flow/generate/visual/route":{"moduleId":"4843","async":false},"app/api/flow/generate/route":{"moduleId":"4843","async":false},"app/api/flow/generator/route":{"moduleId":"4843","async":false},"app/api/flow/assist/route":{"moduleId":"4843","async":false},"app/api/env/route":{"moduleId":"4843","async":false},"app/api/flow/improve/route":{"moduleId":"4843","async":false},"app/api/flow/prompt-renderer/route":{"moduleId":"4843","async":false},"app/api/flow/quick-chat/route":{"moduleId":"4843","async":false},"app/api/flow/repair/route":{"moduleId":"4843","async":false},"app/api/flow/model-agent/route":{"moduleId":"4843","async":false},"app/api/flow/route":{"moduleId":"4843","async":false},"app/api/init/route":{"moduleId":"4843","async":false},"app/api/mcp-registry/route":{"moduleId":"4843","async":false},"app/api/mcp/app-consent/route":{"moduleId":"4843","async":false},"app/api/mcp/cancel/route":{"moduleId":"4843","async":false},"app/api/mcp/assistant/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/authoring/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/automation/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/flows/route":{"moduleId":"4843","async":false},"app/api/mcp/app-sandbox/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/servers/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/state/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/oauth-capability/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/prompts/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/read/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/resources/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/approve/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/get/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/load/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/status/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/confirm/route":{"moduleId":"4843","async":false},"app/api/mcp/flujo/skills/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/tools/[toolName]/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/[name]/stdio-oauth/start/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/route":{"moduleId":"4843","async":false},"app/api/mcp/test-connection/stream/route":{"moduleId":"4843","async":false},"app/api/mcp/servers/route":{"moduleId":"4843","async":false},"app/api/model/provider/route":{"moduleId":"4843","async":false},"app/api/model/test/route":{"moduleId":"4843","async":false},"app/api/model/route":{"moduleId":"4843","async":false},"app/api/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/model/[id]/route":{"moduleId":"4843","async":false},"app/api/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/packages/derive-secrets/route":{"moduleId":"4843","async":false},"app/api/oauth/reset/route":{"moduleId":"4843","async":false},"app/api/packages/installed/route":{"moduleId":"4843","async":false},"app/api/packages/install/status/route":{"moduleId":"4843","async":false},"app/api/packages/resolve/route":{"moduleId":"4843","async":false},"app/api/packages/scan-targets/route":{"moduleId":"4843","async":false},"app/api/packages/uninstall/route":{"moduleId":"4843","async":false},"app/api/packages/install/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/run/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/runs/route":{"moduleId":"4843","async":false},"app/api/planned-executions/[id]/route":{"moduleId":"4843","async":false},"app/api/registry/auth/resend/route":{"moduleId":"4843","async":false},"app/api/registry/auth/reset/route":{"moduleId":"4843","async":false},"app/api/planned-executions/route":{"moduleId":"4843","async":false},"app/api/reference-search/files/route":{"moduleId":"4843","async":false},"app/api/registry/auth/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/callback/route":{"moduleId":"4843","async":false},"app/api/registry/oauth/initiate/route":{"moduleId":"4843","async":false},"app/api/registry/publish/route":{"moduleId":"4843","async":false},"app/api/registry/packages/route":{"moduleId":"4843","async":false},"app/api/registry/settings/route":{"moduleId":"4843","async":false},"app/api/snapshot/abort/route":{"moduleId":"4843","async":false},"app/api/snapshot/begin/route":{"moduleId":"4843","async":false},"app/api/restore/route":{"moduleId":"4843","async":false},"app/api/snapshot/download/route":{"moduleId":"4843","async":false},"app/api/snapshot/finalize/route":{"moduleId":"4843","async":false},"app/api/snapshot/info/route":{"moduleId":"4843","async":false},"app/api/snapshot/status/route":{"moduleId":"4843","async":false},"app/api/tickets/[id]/route":{"moduleId":"4843","async":false},"app/api/tickets/route":{"moduleId":"4843","async":false},"app/api/webhooks/[id]/route":{"moduleId":"4843","async":false},"app/mcp-flows/route":{"moduleId":"4843","async":false},"app/mcp-proxy/[server]/route":{"moduleId":"4843","async":false},"app/v1/chat/completions/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/breakpoints/route":{"moduleId":"4843","async":false},"app/v1/chat/conversation-chains/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/attach/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/continue/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/debug/step/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/edit-state/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/events/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/inject/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/media/[mediaId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/[dispatchId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/model-turns/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/recovery/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/[resourceId]/content/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/resources/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/respond/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/revert/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/[conversationId]/wire-preview/route":{"moduleId":"4843","async":false},"app/v1/chat/events/route":{"moduleId":"4843","async":false},"app/v1/flows/[flowRef]/readiness/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/cancel/route":{"moduleId":"4843","async":false},"app/v1/chat/conversations/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/interventions/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/resume/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/route":{"moduleId":"4843","async":false},"app/v1/meetings/[meetingId]/start/route":{"moduleId":"4843","async":false},"app/v1/meetings/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/[draftId]/route":{"moduleId":"4843","async":false},"app/v1/persona-drafts/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/launch/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/[grantId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/app-grants/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/behaviors/[behaviorId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/copy/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/composition/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/deletion-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/execution-preview/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/apply/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/promote/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/reject/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/[proposalId]/undo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/improvements/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/activate/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/correct/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/pin/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/resolve-conflict/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/[memoryId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/memories/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/runtime-recovery/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/storage-stats/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/assign/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/control/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/[workItemId]/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/promote-todo/route":{"moduleId":"4843","async":false},"app/v1/personas/[personaId]/work-items/route":{"moduleId":"4843","async":false},"app/v1/personas/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/duplicate/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/impact/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/restore/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/rollback/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/route":{"moduleId":"4843","async":false},"app/v1/roles/[roleId]/versions/route":{"moduleId":"4843","async":false},"app/v1/roles/route":{"moduleId":"4843","async":false},"app/mcp/page":{"moduleId":"56469","async":false},"app/settings/page":{"moduleId":"56469","async":false}},"filename":"../C:\\Users\\Moe\\Documents\\GitHub\\FLUJO-npm-release-3.45.1\\src\\backend\\utils\\resolveGlobalVars.ts","exportedName":"resolveAndDecryptApiKey"}},"edge":{},"encryptionKey":"gSqm290HqHZEBvFQDXQGPpOBMotRFOfwzd8wJd7Hq70="}
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7208],{77586:(e,t,r)=>{r.d(t,{Fy:()=>p,LI:()=>h,RA:()=>a,eH:()=>u,hU:()=>c,ri:()=>d,y1:()=>w});var n=r(95155),i=r(12115),o=r(76010);let s=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r)),l={x:0,y:0};function a(e,t,r){return{x:s(e.x,0,Math.max(0,r.width-t.width)),y:s(e.y,0,Math.max(0,r.height-t.height))}}function c(e,t,r,n,i,o){let l=t.includes("left"),a=t.includes("right"),c=t.includes("top"),u=t.includes("bottom"),d=e.x+e.width,h=e.y+e.height,p=e.x,f=e.y,m=e.width,w=e.height;return l?(p=s(e.x+r,0,d-o.width),m=d-p):a&&(m=s(e.width+r,o.width,i.width-e.x)),c?(f=s(e.y+n,0,h-o.height),w=h-f):u&&(w=s(e.height+n,o.height,i.height-e.y)),{x:p,y:f,width:m,height:w}}function u(e,t,r){let n=s(e.width,r.width,t.width),i=s(e.height,r.height,t.height);return{x:s(e.x,0,t.width-n),y:s(e.y,0,t.height-i),width:n,height:i}}function d(e,t){let[r,n]=(0,i.useState)(l);return(0,i.useEffect)(()=>{if(!t)return void n(e=>0===e.x&&0===e.y?e:l);let r=()=>{let t=function(e){if(!e||"function"!=typeof window.getComputedStyle)return l;let t=window.getComputedStyle(e);if("fixed"!==t.position)return l;let r=Number.parseFloat(t.left),n=Number.parseFloat(t.top);if(!Number.isFinite(r)||!Number.isFinite(n))return l;let i=e.getBoundingClientRect(),o=Math.round(i.left-r),s=Math.round(i.top-n);return{x:1>Math.abs(o)?0:o,y:1>Math.abs(s)?0:s}}(e.current);n(e=>e.x===t.x&&e.y===t.y?e:t)};return r(),window.addEventListener("resize",r),window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0)}},[t,e]),r}function h(){let[e,t]=(0,i.useState)(null),r=(0,i.useRef)(null),n=(0,i.useRef)(!0);return(0,i.useEffect)(()=>(n.current=!0,()=>{n.current=!1,r.current?.(!1),r.current=null}),[]),{activeCursor:e,startPointerDrag:(0,i.useCallback)((e,i,o)=>{r.current?.(),e.preventDefault(),e.stopPropagation();let s=e.currentTarget,l=e.pointerId,a=s.ownerDocument,c=a.defaultView??window,u=a.body.style.userSelect,d=a.body.style.cursor;try{s.setPointerCapture?.(l)}catch{}a.body.style.userSelect="none",a.body.style.cursor=i??"",t(i);let h=e=>{e.pointerId===l&&(e.preventDefault(),o(e))},p=(e=!0)=>{c.removeEventListener("pointermove",h,!0),c.removeEventListener("pointerup",f,!0),c.removeEventListener("pointercancel",f,!0);try{s.hasPointerCapture?.(l)&&s.releasePointerCapture(l)}catch{}a.body.style.userSelect=u,a.body.style.cursor=d,e&&n.current&&t(null),r.current===p&&(r.current=null)},f=e=>{e.pointerId===l&&p()};r.current=p,c.addEventListener("pointermove",h,!0),c.addEventListener("pointerup",f,!0),c.addEventListener("pointercancel",f,!0)},[])}}let p=({cursor:e})=>e?(0,n.jsx)(o.default,{"aria-hidden":!0,"data-testid":"pointer-drag-shield",sx:{position:"fixed",inset:0,zIndex:0x7ffffffe,cursor:e,touchAction:"none"}}):null,f={top:{top:-3,left:10,right:10,height:8},right:{right:-3,top:10,bottom:10,width:8},bottom:{bottom:-3,left:10,right:10,height:8},left:{left:-3,top:10,bottom:10,width:8},"top-left":{top:-3,left:-3,width:14,height:14},"top-right":{top:-3,right:-3,width:14,height:14},"bottom-left":{bottom:-3,left:-3,width:14,height:14},"bottom-right":{bottom:-3,right:-3,width:14,height:14}},m=Object.keys(f),w=({label:e,onResizeStart:t})=>(0,n.jsx)(n.Fragment,{children:m.map(r=>{let i="top"===r||"bottom"===r?"ns-resize":"left"===r||"right"===r?"ew-resize":"top-left"===r||"bottom-right"===r?"nwse-resize":"nesw-resize";return(0,n.jsx)(o.default,{component:"span",role:"separator","aria-label":`${e} (${r})`,onPointerDown:e=>t(e,r,i),sx:{position:"absolute",zIndex:8,cursor:i,touchAction:"none",...f[r],..."bottom-right"===r?{"&::after":{content:'""',position:"absolute",right:3,bottom:3,width:7,height:7,borderRight:2,borderBottom:2,borderColor:"text.secondary",opacity:.7}}:{}}},r)})})},97208:(e,t,r)=>{r.d(t,{uJ:()=>H,Ay:()=>V,Yw:()=>D});var n=r(95155),i=r(12115),o=r(37156),s=r(76010),l=r(64924),a=r(89852),c=r(72636),u=r(93385),d=r(40323),h=r(61775),p=r(60851),f=r(35081),m=r(47863),w=r(78487),g=r(82183),y=r(32391),x=r(87783),b=r(23825),v=r(6310),A=r(80967),E=r(60756),C=r(16803);let R=e=>null===e||"object"!=typeof e||Array.isArray(e)?void 0:e;function j(e){return"string"==typeof e&&e.length>0&&e.length<=512&&e.trim()===e}var S=r(16007),M=r(49103),k=r(77586);let P=(0,M.h)("frontend/components/Chat/McpAppFrame"),T={name:"FLUJO",version:"3.45.1"},$=new Set(["https:","http:"]),L=["inline","fullscreen","pip"],z=new Set(["text"]),H=262144,U=e=>null===e||"object"!=typeof e||Array.isArray(e)?void 0:e,I=e=>{let t=U(e);return t?.type==="text"&&"string"==typeof t.text};function D(e){try{return new TextEncoder().encode(JSON.stringify(e)).length}catch{return 1/0}}let F=new Map;async function N(e,t,r){let n=(0,S.dJ)(),i=JSON.stringify([n,e,t,r??null]);if(!F.has(i)){let o=new URLSearchParams;o.set("serverName",e),o.set("uri",t),r&&o.set("conversationId",r);let s=fetch((0,S.TA)(`/api/mcp/app-sandbox${o.toString()?`?${o}`:""}`,n)).then(async e=>{if(!e.ok){let t="";try{let r=await e.json();"string"==typeof r.error&&r.error.trim()&&(t=`: ${r.error.trim()}`)}catch{}throw Error(`Sandbox endpoint discovery failed (${e.status})${t}`)}return await e.json()}).catch(e=>{throw F.delete(i),e});F.set(i,s)}let o=await F.get(i);return{href:function(e,t){let r;if("boolean"!=typeof e.shared)throw Error("Sandbox endpoint discovery did not describe its origin mode");if(!function(e){if("string"!=typeof e)return!1;let t=e.trim();if(0===t.length||t.length>253||t!==e||t!==t.toLowerCase()||/[^\w.-]|[^\x00-\x7f]/i.test(t)||/^\d+(\.\d+)*$/.test(t)||t.includes(":")||/[/?#@]/.test(t))return!1;let r=t.split(".");return!(0===r.length||r.some(e=>0===e.length))&&r.every(e=>e.length<=63&&/^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/.test(e))}(e.originKey))throw Error("Sandbox endpoint discovery returned an invalid origin key");if("string"!=typeof e.token||0===e.token.length)throw Error("Sandbox endpoint discovery returned invalid credentials");if("string"!=typeof e.url)throw Error("Sandbox endpoint discovery did not return an isolated app URL");try{r=new URL(e.url)}catch{throw Error("Sandbox endpoint discovery returned an invalid public URL")}if("http:"!==r.protocol&&"https:"!==r.protocol||r.username||r.password)throw Error("Sandbox public URL must be an absolute HTTP(S) URL without credentials");if("https:"===t.protocol&&"https:"!==r.protocol)throw Error("HTTPS FLUJO deployments require an HTTPS MCP Apps sandbox URL");if(e.shared){if(r.searchParams.get("originKey")!==e.originKey)throw Error("Shared sandbox URL is not bound to the verified app origin key")}else if(!r.hostname.split(".").includes(e.originKey))throw Error("Sandbox URL is not bound to the verified app origin key");if(r.origin===t.origin)throw Error("MCP Apps sandbox must use a distinct origin from FLUJO");return r.searchParams.set("token",e.token),r.href}(o,window.location),allowAll:!0===o.allowAll}}function O(e,t,r=!1,n=!1){let i=e=>{let r=/^(https|wss):\/\/(\*\.)?([^/:?#]+)(?::(\d{1,5}))?$/i.exec(e);if(!r||!t.includes(r[1].toLowerCase()))return!1;let n=r[3].split(".");if(r[3].length>253||n.some(e=>0===e.length||e.length>63||!/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e)))return!1;let i=r[4]?Number(r[4]):void 0;return void 0===i||Number.isInteger(i)&&i>=1&&i<=65535},o=[],s=new Set;for(let l of e??[]){if(0===l.length||l.length>2048||/[^\x21-\x7e]/.test(l))continue;if("*"===l){if(n)return["*"];continue}let e=r?(0,C._w)(l,t.includes("wss")?["http","ws"]:["http"]):void 0;if(!e&&!i(l))continue;let a=e??l,c=a.toLowerCase();if(!s.has(c)&&(s.add(c),o.push(a),o.length>=64))break}return o}function W(e=window.location){return!!e&&"http:"===e.protocol}function B(e,t=W(),r=!1){return{connectDomains:O(e.connectDomains,["https","wss"],t,r),resourceDomains:O(e.resourceDomains,["https"],t,r),frameDomains:O(e.frameDomains,["https"],t,r),baseUriDomains:O(e.baseUriDomains,["https"],t,r)}}function J(e){if(e)try{return JSON.parse(e)}catch{return}}async function _(e,t,r,n,i){let o;if(await e.sendToolInput({arguments:(o=J(t))&&"object"==typeof o&&!Array.isArray(o)?o:{}}),void 0!==n)return void await e.sendToolCancelled({reason:n});let s=function(e,t){if(void 0===e)return!0===t?{content:[],isError:!0}:null;let r=b.TF.safeParse(J(e));return r.success?{...r.data,...!0===t?{isError:!0}:{}}:{content:[{type:"text",text:e}],...!0===t?{isError:!0}:{}}}(r,i);s&&await e.sendToolResult(s)}function q(e,t,r){return t.includes(e)&&r.includes(e)}function K(e,t,r,n,i,o){let s=void 0===t?`${r??""}\u0000${n??""}\u0000${i??""}\u0000${o??""}`:`${typeof t}:${String(t)}`;return`${e??""}\u0000${s}`}function Y(e,t){let r=e.getBoundingClientRect(),n=Math.max(1,Math.round(r.width||e.clientWidth||1));return t?{width:n,height:Math.max(1,Math.round(r.height||e.clientHeight||1))}:{width:n,maxHeight:6e3}}async function X(e,t,r){try{let n=await E.S.listServerTools(e),i=Array.isArray(n.tools)?n.tools:[],o=r?i.find(e=>e?.name===r):i.find(e=>(0,C.Gt)(e?._meta)===t);if(o?.name&&o?.inputSchema&&(0,C.Gt)(o._meta)===t)return{tool:o}}catch(e){P.debug("Could not resolve the full MCP App tool definition",e)}}let V=({conversationId:e,ownerScopeId:t,serverName:r,uri:b,toolName:S,toolArgs:M,toolResultContent:F,toolOwnerScope:O,toolUpdateId:J,toolCancelledReason:V,toolIsError:G,onAppMessage:Z,onUpdateModelContext:Q,onRequestDock:ee,onDockable:et,onAvailableDisplayModes:er,hostDisplayMode:en,onRequestDisplayMode:ei,onRequestClose:eo,onRegisterTeardown:es,teardownRegistrationKey:el,docked:ea=!1,visible:ec=!0,defaultExpanded:eu=!1,autoDock:ed=!1,linkedToolCallCount:eh=1,onUserOpen:ep})=>{let{t:ef}=(0,v.s9)(),{settings:em,settingsHydrated:ew}=(0,A.useStorage)(),eg=!1!==ew,ey=em?.experimental?.requireMcpAppLaunchClick===!0,ex=(0,o.A)(),eb=(0,i.useId)(),ev=(0,i.useMemo)(()=>{var n;let i;return(i=j((n={toolOwnerScope:O,toolResultContent:F,conversationId:e,ownerScopeId:t,serverName:r,uri:b,frameInstanceId:eb}).toolOwnerScope)?n.toolOwnerScope:function(e){if(void 0!==e)try{let t="string"==typeof e?JSON.parse(e):e,r=R(R(t)?._meta),n=r?.["io.flujo/host-owner-scope"];return j(n)?n:void 0}catch{return}}(n.toolResultContent))||(n.conversationId?`conversation:${n.conversationId}`:n.ownerScopeId?.trim()?`app:${n.ownerScopeId.trim().slice(0,500)}`:`app:${n.serverName}:${n.uri}:${n.frameInstanceId}`)},[e,eb,t,r,O,F,b]),[eA,eE]=(0,i.useState)(eu),[eC,eR]=(0,i.useState)(!1),[ej,eS]=(0,i.useState)(null),[eM,ek]=(0,i.useState)(eg&&!ey?"granted":"loading"),[eP,eT]=(0,i.useState)(!1),[e$,eL]=(0,i.useState)(null),ez=(0,i.useRef)(null);(0,i.useEffect)(()=>{ez.current=ej},[ej]),(0,i.useEffect)(()=>{if(!eg)return void ek("loading");if(!ey){ek("granted"),eL(null);return}let t=!0;ek("loading");let n=new URLSearchParams({serverName:r,uri:b});return e&&n.set("conversationId",e),fetch(`/api/mcp/app-consent?${n}`).then(async e=>e.ok?e.json():Promise.reject(Error("Consent lookup failed"))).then(e=>{t&&["internal","granted","prompt","denied"].includes(e.status??"")&&ek(e.status)}).catch(()=>{t&&ek("denied")}),()=>{t=!1}},[eg,ey,e,r,b]);let eH=(0,i.useCallback)(async t=>{eT(!0),eL(null);try{let n=await fetch("/api/mcp/app-consent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({serverName:r,uri:b,conversationId:e,decision:t})});if(!n.ok)throw Error("Unable to save MCP App consent");let i=await n.json();ek("granted"===i.status?"granted":"denied")}catch{eL(ef("chat.app.consentSaveFailed"))}finally{eT(!1)}},[e,r,ef,b]),eU=(0,i.useCallback)(async()=>{eT(!0),eL(null);try{let e=new URLSearchParams({serverName:r,uri:b});if(!(await fetch(`/api/mcp/app-consent?${e}`,{method:"DELETE"})).ok)throw Error("Unable to reset MCP App consent");ek("prompt")}catch{eL(ef("chat.app.consentSaveFailed"))}finally{eT(!1)}},[r,ef,b]),[eI,eD]=(0,i.useState)(ea?"pip":"inline"),[eF,eN]=(0,i.useState)(null),[eO,eW]=(0,i.useState)([]),[eB,eJ]=(0,i.useState)(!1),e_=(0,i.useRef)(eu),{activeCursor:eq,startPointerDrag:eK}=(0,k.LI)(),eY=en??eI,eX=(0,i.useMemo)(()=>ea?["pip","fullscreen"]:["inline","fullscreen",...ee?["pip"]:[]],[ea,ee]),eV=(0,i.useRef)(null),eG=(0,i.useRef)(null),eZ=(0,i.useRef)(null),eQ=(0,i.useRef)(200),e0=(0,i.useRef)(null),e1=(0,i.useRef)(!1),e3=(0,i.useRef)(0),e2=(0,i.useRef)(!1),e4=(0,i.useRef)(null),e6=(0,i.useRef)(null),e8=(0,i.useRef)(!1),e5=(0,i.useRef)(!0),e7=(0,i.useRef)([]),e9=(0,i.useRef)(eY),te=(0,i.useRef)(eX),tt=(0,i.useRef)(S),tr=(0,i.useRef)(S),tn=(0,i.useRef)(ev),ti=(0,i.useRef)(ev);tn.current=ev;let to=(0,i.useRef)(Promise.resolve()),ts=(0,i.useRef)(void 0),tl=(0,i.useRef)({toolName:S,args:M,resultContent:F,cancelledReason:V,isError:G,updateId:J});(0,i.useEffect)(()=>{ea||"fullscreen"!==eY||eN(e=>{if(e)return e;let t=Math.min(Math.max(520,Math.round(.86*window.innerWidth)),window.innerWidth-24),r=Math.min(Math.max(360,Math.round(.84*window.innerHeight)),window.innerHeight-24);return{x:Math.round((window.innerWidth-t)/2),y:Math.round((window.innerHeight-r)/2),width:t,height:r}})},[ea,eY]),(0,i.useEffect)(()=>{if(ea||"fullscreen"!==eY)return;let e=()=>{let e={width:Math.min(480,window.innerWidth),height:Math.min(320,window.innerHeight)};eN(t=>t?(0,k.eH)(t,{width:window.innerWidth,height:window.innerHeight},e):t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[ea,eY]);let ta=(0,i.useCallback)(e=>{if("fullscreen"!==eY||!eG.current||e.target.closest('button,[role="button"]'))return;e.preventDefault();let t=eG.current.getBoundingClientRect(),r=e.clientX,n=e.clientY;eK(e,"move",e=>{eN({...(0,k.RA)({x:t.left+e.clientX-r,y:t.top+e.clientY-n},{width:t.width,height:t.height},{width:window.innerWidth,height:window.innerHeight}),width:t.width,height:t.height})})},[eY,eK]),tc=(0,i.useCallback)((e,t,r)=>{if("fullscreen"!==eY||!eG.current)return;let n=eG.current.getBoundingClientRect(),i={x:n.left,y:n.top,width:n.width,height:n.height},o=e.clientX,s=e.clientY;eK(e,r,e=>{eN((0,k.hU)(i,t,e.clientX-o,e.clientY-s,{width:window.innerWidth,height:window.innerHeight},{width:Math.min(480,window.innerWidth),height:Math.min(320,window.innerHeight)}))})},[eY,eK]),tu=(0,k.ri)(eG,"fullscreen"===eI&&!ea);tl.current={toolName:S,args:M,resultContent:F,cancelledReason:V,isError:G,updateId:J},tt.current=S;let td=(0,i.useRef)(Z);(0,i.useEffect)(()=>{td.current=Z},[Z]);let th=(0,i.useRef)(Q);(0,i.useEffect)(()=>{th.current=Q},[Q]);let tp=(0,i.useRef)(ee);(0,i.useEffect)(()=>{tp.current=ee},[ee]);let tf=(0,i.useRef)(ed);(0,i.useEffect)(()=>{ed&&(tf.current=!0)},[ed]);let tm=(0,i.useRef)(et);(0,i.useEffect)(()=>{tm.current=et},[et]);let tw=(0,i.useRef)(er);(0,i.useEffect)(()=>{tw.current=er},[er]);let tg=(0,i.useRef)(ei);(0,i.useEffect)(()=>{tg.current=ei},[ei]);let ty=(0,i.useRef)(eo);(0,i.useEffect)(()=>{ty.current=eo},[eo]);let tx=(0,i.useRef)(ea);(0,i.useEffect)(()=>{tx.current=ea},[ea]),(0,i.useEffect)(()=>{e9.current=eY},[eY]),(0,i.useEffect)(()=>{te.current=eX},[eX]);let tb=(0,i.useCallback)(()=>{if(e6.current)return e6.current;e3.current+=1;let e=e0.current,t=eZ.current,r=e2.current;e0.current=null,eZ.current=null,e2.current=!1,e1.current=!1,e7.current=[],e4.current?.disconnect(),e4.current=null;let n=(async()=>{if(e&&r){let t;try{await Promise.race([e.teardownResource({},{timeout:1e3}),new Promise(e=>{t=setTimeout(e,1e3)})])}catch(e){P.debug("MCP App did not acknowledge resource teardown",e)}finally{t&&clearTimeout(t)}}try{await e?.close()}catch{}t?.remove()})();return e6.current=n,n.finally(()=>{e6.current===n&&(e6.current=null)}),n},[]),tv=(0,i.useCallback)(()=>{e8.current||!tp.current||ez.current||(e8.current=!0,tb().then(()=>{e5.current&&(tp.current?.(),eE(!1))}).finally(()=>{e8.current=!1}))},[tb]),tA=(0,i.useCallback)((e,t,r,n,i)=>{to.current=to.current.catch(()=>void 0).then(async()=>{e0.current===e&&e2.current&&await _(e,t,r,n,i)}).catch(e=>{P.warn("MCP App tool delivery failed",e)})},[]),tE=(0,i.useCallback)(async()=>{if(e6.current&&await e6.current,e1.current||!eV.current)return;let t=e3.current+1;e3.current=t;let n=()=>e3.current===t&&e1.current;e1.current=!0,eW([]),eR(!0),eS(null);try{var i,o,s,l;let a,c,[u,d]=await Promise.all([E.S.readResourceFromApp(r,b),X(r,b,tt.current)]);if(!n())return;if(u?.httpStatus===403)throw Error(u?.error||ef("chat.app.accessDisabled"));if(!u||!1===u.success)throw Error(u?.error||ef("chat.app.readFailed"));let h=function(e,t){let r,n=e?.contents;if(!Array.isArray(n)||0===n.length)throw Error("Resource has no contents");let i=n.find(e=>e.uri===t&&"string"==typeof e.mimeType&&(0,C.q$)(e.mimeType)&&("string"==typeof e.text||"string"==typeof e.blob));if(!i)throw Error(`Resource ${t} did not return MCP App HTML`);try{if("string"==typeof i.text)r=i.text;else if("string"==typeof i.blob){var o;let e;o=i.blob,e=Uint8Array.from(atob(o),e=>e.charCodeAt(0)),r=new TextDecoder("utf-8",{fatal:!0}).decode(e)}else throw Error("Missing app resource body")}catch{throw Error(`Resource ${t} contains invalid base64 UTF-8 HTML`)}if(new TextEncoder().encode(r).length>C.Pt)throw Error(`Resource exceeds the ${Math.round(C.Pt/1024)} KiB size cap`);let s=U(i._meta??i.meta),l=U(s?.ui),a=x.c0.safeParse(l?.csp);if(l?.csp!==void 0&&!a.success)throw Error(`Resource ${t} declares an invalid CSP policy`);let c=x.Ml.safeParse(l?.permissions);if(l?.permissions!==void 0&&!c.success)throw Error(`Resource ${t} declares invalid sandbox permissions`);return{html:r,csp:a.success?B(a.data):void 0,rawCsp:a.success?a.data:void 0,permissions:c.success&&c.data.clipboardWrite?{clipboardWrite:{}}:void 0,prefersBorder:"boolean"==typeof l?.prefersBorder?l.prefersBorder:void 0}}(u.data,b);eJ(!1===h.prefersBorder);let p=await N(r,b,e);if(!n()||!eV.current)return;p.allowAll&&h.rawCsp&&(h.csp=B(h.rawCsp,W(),!0));let f=document.createElement("iframe");f.title=ef("chat.app.frameTitle",{uri:b}),f.setAttribute("sandbox","allow-scripts allow-same-origin"),f.referrerPolicy="origin";let m=(0,x.Sy)(h.permissions);m&&f.setAttribute("allow",m);let w=!1===h.prefersBorder?"transparent":"#fff";f.style.cssText=tx.current||"fullscreen"===e9.current?`width:100%;height:100%;border:none;background:${w};`:`width:100%;min-height:120px;height:200px;border:none;background:${w};`+(!1===h.prefersBorder?"":"border-radius:4px;"),eV.current.appendChild(f),eZ.current=f;let g=new URL(p.href);h.csp&&g.searchParams.set("csp",JSON.stringify(h.csp));let y=g.origin,v=new Promise((e,t)=>{let r=setTimeout(()=>{window.removeEventListener("message",n),t(Error(ef("chat.app.proxyTimeout")))},1e4),n=t=>{t.source===f.contentWindow&&t.origin===y&&t.data?.jsonrpc==="2.0"&&t.data?.method==="ui/notifications/sandbox-proxy-ready"&&(clearTimeout(r),window.removeEventListener("message",n),e())};window.addEventListener("message",n)});if(f.src=g.href,await v,!n()||eZ.current!==f)return;let A=e9.current,R="inline";e9.current=R;let j=new x.T1((i=tn.current,o=e=>{e3.current===t&&e0.current===j&&(eS(e),eR(!1),tb().finally(()=>{tx.current&&ty.current?.()}))},{getServerCapabilities:()=>({tools:{},resources:{}}),setNotificationHandler:()=>{},request:async(e,t,n)=>{let{method:s,params:l}=e;if("tools/call"===s){let e=U(l),t="string"==typeof e?.name?e.name:void 0;if(!t)throw Error("MCP App tool call is missing a tool name");P.info(`MCP App tools/call: ${r}/${t}`);let s=await E.S.callToolFromApp(r,t,U(e?.arguments)??{},void 0,n?.signal,i);if(s?.httpStatus===403){let e=s?.error||"MCP Apps access was disabled for this server";throw o(e),Error(e)}if(!s||!1===s.success)throw Error(s?.error||`Tool call failed: ${t}`);return s.data}if("resources/read"===s){let e=U(l),t="string"==typeof e?.uri?e.uri:void 0;if(!t)throw Error("MCP App resource read is missing a URI");let n=await E.S.readResourceFromApp(r,t);if(n?.httpStatus===403){let e=n?.error||"MCP Apps access was disabled for this server";throw o(e),Error(e)}if(!n||!1===n.success)throw Error(n?.error||`Resource read failed: ${t}`);return n.data}if("resources/list"===s)return{resources:[]};if("resources/templates/list"===s)return{resourceTemplates:[]};throw Error(`MCP App requested unsupported method: ${s}`)}}),T,{openLinks:{},serverTools:{},serverResources:{},logging:{},...td.current?{message:{text:{}}}:{},...th.current?{updateModelContext:{text:{},structuredContent:{}}}:{},sandbox:{csp:h.csp,permissions:h.permissions}},{hostContext:{...d?{toolInfo:d}:{},theme:"dark"===ex.palette.mode?"dark":"light",platform:"web",displayMode:R,availableDisplayModes:te.current,containerDimensions:Y(eV.current,tx.current),locale:navigator.language,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userAgent:navigator.userAgent,deviceCapabilities:{touch:navigator.maxTouchPoints>0,hover:window.matchMedia?.("(hover: hover)").matches??!1}}});e0.current=j;let S=()=>n()&&e0.current===j;if(j.onopenlink=async({url:e})=>{if(!S())return{isError:!0};let t=function(e){try{let t=new URL(e);if(!$.has(t.protocol)||t.username||t.password)return null;return t.href}catch{return null}}(e);if(!t)return P.warn("MCP App open-link rejected by URL policy",{serverName:r,uri:b}),{isError:!0};let n=window.open(t,"_blank","noopener,noreferrer");return n?(n.opener=null,{}):{isError:!0}},j.ondownloadfile=async({contents:e})=>{if(!S())return{isError:!0};try{for(let t of e??[]){let e,r=U(U(t)?.resource);if(!r)continue;let n=("string"==typeof r.uri?r.uri.split("/").pop():"")||"download",i="string"==typeof r.mimeType?r.mimeType:"application/octet-stream";if("string"==typeof r.blob){let t=Uint8Array.from(atob(r.blob),e=>e.charCodeAt(0));e=new Blob([t],{type:i})}else e=new Blob([String(r.text??"")],{type:i});let o=URL.createObjectURL(e),s=document.createElement("a");s.href=o,s.download=n,document.body.appendChild(s),s.click(),s.remove(),setTimeout(()=>URL.revokeObjectURL(o),4e3)}return{}}catch(e){return P.warn("MCP App download failed",e),{isError:!0}}},j.onloggingmessage=e=>{S()&&P.debug("MCP App log",e?.data)},j.onmessage=async e=>{if(!S())return{};if(!td.current)throw Error("This host cannot deliver ui/message in this surface");let t=function(e){let t=U(e);if(t?.role!=="user")throw Error('This host accepts ui/message only with role "user"');let r=t.content,n=Array.isArray(r)?r:r&&"object"==typeof r?[r]:[];if(0===n.length||!n.every(I))throw Error("This host accepts text-only ui/message content");let i=n.map(e=>e.text).join("\n").trim();if(!i)throw Error("ui/message text must not be empty");return i}(e);if(!await td.current(t))throw Error("ui/message was not delivered");return{}},j.onupdatemodelcontext=async e=>{if(!S())return{};let t=function(e){if(!e||"object"!=typeof e||Array.isArray(e))return"ui/update-model-context params must be an object";if(void 0!==e.content){if(!Array.isArray(e.content))return"Model context content must be an array";for(let t of e.content)if(!t||"object"!=typeof t||Array.isArray(t)||!z.has(t.type))return"Model context contains a modality this host did not advertise"}return void 0!==e.structuredContent&&(!e.structuredContent||"object"!=typeof e.structuredContent||Array.isArray(e.structuredContent))?"Model structuredContent must be an object":D(e)>H?`Model context exceeds ${H} bytes`:null}(e);if(t)throw Error(t);let n=`${r}::${b}`;if(!th.current)throw Error("This host cannot preserve model context in this surface");if(!await th.current(n,e))throw Error("MCP App model context was not stored");return{}},j.onsizechange=async({width:e,height:t})=>{if(!S()||tx.current)return;let r=eV.current?.getBoundingClientRect().width||eV.current?.clientWidth||0,n=function(e,t){let r={};if(Number.isFinite(e.width)&&e.width>0){let n=Number.isFinite(t)&&t>0?t:6e3;r.width=Math.min(e.width,n,6e3)}return Number.isFinite(e.height)&&e.height>0&&(r.height=Math.min(e.height,6e3)),r}({width:e,height:t},r);void 0!==n.height&&(eQ.current=n.height,"fullscreen"!==e9.current&&(f.style.height=`${n.height}px`)),void 0!==n.width&&(f.style.width=`${n.width}px`,f.style.maxWidth="100%")},j.onrequestdisplaymode=async({mode:e})=>{if(!S())return{mode:e9.current};let t=e9.current,r=e7.current;if(!q(e,te.current,r))return{mode:t};if("pip"===e&&!tx.current&&tp.current)return setTimeout(tv,0),{mode:t};let n=t;return(n=tg.current?await tg.current(e,[...r]):e)===t||q(n,te.current,r)||(n=t),n!==t&&(e9.current=n,eD(n),await j.sendHostContextChange({displayMode:n})),{mode:n}},j.onrequestteardown=()=>{S()&&tb().finally(()=>{ty.current?ty.current():(e9.current="inline",eD("inline"),eE(!1))})},j.oninitialized=()=>{var e,t,r,n;if(!S())return;let i=j.getAppCapabilities()?.availableDisplayModes,o=Array.isArray(i)?[...new Set(i.filter(e=>L.includes(e)))]:[];e7.current=o,eW(o),tm.current?.(o.includes("pip")),tw.current?.([...o]),e2.current=!0;let s=(e=A,t=tx.current,r=te.current,n=o,t?q("pip",r,n)?"fullscreen"===e&&q("fullscreen",r,n)?"fullscreen":"pip":null:"fullscreen"===e&&q("fullscreen",r,n)?"fullscreen":"inline");if(null===s){eS(ef("chat.app.canvasUnsupported")),eR(!1),tb();return}tf.current&&o.includes("pip")&&!tx.current&&tp.current&&setTimeout(tv,0),e9.current=s,eD(s),s!==R&&j.sendHostContextChange({displayMode:s});let l=eV.current;if(l&&"u">typeof ResizeObserver){let e=()=>{if(!S()||!e2.current)return;let e=l.getBoundingClientRect();e.width<=0||tx.current&&e.height<=0||j.sendHostContextChange({containerDimensions:Y(l,tx.current)})};e4.current?.disconnect(),e4.current=new ResizeObserver(e),e4.current.observe(l),e()}let a=tl.current;ts.current=K(a.toolName,a.updateId,a.args,a.resultContent,a.cancelledReason,a.isError),(void 0!==a.args||void 0!==a.resultContent||void 0!==a.cancelledReason||!0===a.isError)&&tA(j,a.args,a.resultContent,a.cancelledReason,a.isError),eR(!1)},await j.connect((s=f.contentWindow,l=f.contentWindow,a=new x.hJ(s,l),c={start:async()=>{a.onmessage=(e,t)=>{c.onmessage?.("ui/message"!==e.method||!e.params||Array.isArray(e.params.content)||!e.params.content||"object"!=typeof e.params.content?e:{...e,params:{...e.params,content:[e.params.content]}},t)},a.onerror=e=>c.onerror?.(e),a.onclose=()=>c.onclose?.(),await a.start()},send:(e,t)=>a.send(e,t),close:()=>a.close(),setProtocolVersion:e=>a.setProtocolVersion?.(e)})),!S())return;await j.sendSandboxResourceReady({html:h.html,csp:h.csp,permissions:h.permissions})}catch(e){if(!n())return;P.warn(`Failed to mount MCP App ${b} from ${r}`,e),eS(e instanceof Error?e.message:ef("chat.app.loadFailed")),eR(!1),tb()}},[tv,ev,tA,r,tb,ex.palette.mode,b,ef]),tC=(0,i.useCallback)(()=>{let e=!eA;e||"fullscreen"!==e9.current||(e9.current="inline",eD("inline"),e0.current?.sendHostContextChange({displayMode:"inline"})),e&&ep?.(),eE(e),e&&("internal"===eM||"granted"===eM)&&setTimeout(()=>{tE()},0)},[eM,eA,tE,ep]);if((0,i.useEffect)(()=>{let e=e_.current;e_.current=eu,ea||!eu||e||eA||eE(!0)},[eu,ea,eA]),(0,i.useEffect)(()=>{ea&&("internal"===eM||"granted"===eM)&&!e1.current&&tE()},[eM,ea,tE]),(0,i.useEffect)(()=>{if(!ea&&("internal"===eM||"granted"===eM)&&eA&&!e1.current){let e=window.setTimeout(()=>{tE()},0);return()=>window.clearTimeout(e)}},[eM,eu,ea,eA,tE]),(0,i.useEffect)(()=>{let e=eZ.current;if(e){if(ea||"fullscreen"===eY){e.style.width="100%",e.style.height="100%",e.style.minHeight="0",e.style.borderRadius="0";return}e.style.width="100%",e.style.height=`${eQ.current}px`,e.style.minHeight="120px",e.style.borderRadius=eB?"0":"4px"}},[eB,ea,eY]),(0,i.useEffect)(()=>{tr.current===S&&ti.current===ev||(tr.current=S,ti.current=ev,(e1.current||e6.current)&&tb().then(()=>{e5.current&&(tx.current||eA)&&tE()}))},[eA,tE,ev,tb,S]),(0,i.useEffect)(()=>{let e=K(S,J,M,F,V,G);e2.current&&e0.current&&e!==ts.current&&(ts.current=e,tb().then(()=>{e5.current&&(tx.current||eA)&&tE()}))},[eA,tE,tb,M,V,G,S,F,J]),(0,i.useEffect)(()=>{en&&e2.current&&e0.current&&e9.current!==en&&q(en,te.current,e7.current)&&(e9.current=en,eD(en),e0.current.sendHostContextChange({displayMode:en}))},[en]),(0,i.useEffect)(()=>{e2.current&&e0.current&&e0.current?.sendHostContextChange({theme:"dark"===ex.palette.mode?"dark":"light"})},[ex.palette.mode]),(0,i.useEffect)(()=>{let e=el??`${r}::${b}`;return es?.(e,tb),()=>es?.(e,null)},[es,r,tb,el,b]),(0,i.useEffect)(()=>{let e=e=>{let t=e.detail;t?.serverName===r&&(t.config?.enableMcpApps===!1||t.config?.disabled===!0)&&(eS(ef("chat.app.accessDisabled")),eR(!1),tb().finally(()=>{tx.current&&ty.current?.()}))};return window.addEventListener("flujo:mcp-server-config-changed",e),()=>{window.removeEventListener("flujo:mcp-server-config-changed",e)}},[r,tb,ef]),(0,i.useEffect)(()=>(e5.current=!0,()=>{e5.current=!1,tb()}),[tb]),ea)return(0,n.jsxs)(s.default,{sx:{height:"100%",width:"100%",minHeight:0,display:"flex",visibility:ec?"visible":"hidden",pointerEvents:ec?"auto":"none",flexDirection:"column"},children:[eg&&ey&&"loading"===eM&&(0,n.jsx)(l.A,{variant:"body2",sx:{p:2},children:ef("chat.app.consentChecking")}),"prompt"===eM&&(0,n.jsxs)(s.default,{sx:{p:2},children:[(0,n.jsx)(l.A,{variant:"body2",sx:{mb:1},children:ef("chat.app.consentPrompt")}),(0,n.jsxs)(l.A,{variant:"caption",color:"text.secondary",display:"block",sx:{mb:1},children:[r," — ",b]}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-once")},children:ef("chat.app.consentAllowOnce")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eH("deny-always")},children:ef("chat.app.consentNeverAllow")})]}),"denied"===eM&&(0,n.jsxs)(s.default,{sx:{p:2},children:[(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",sx:{mb:1},children:ef("chat.app.consentBlocked")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eU()},children:ef("chat.app.consentAskAgain")})]}),e$&&(0,n.jsx)(c.A,{severity:"error",sx:{m:1},children:e$}),("internal"===eM||"granted"===eM)&&eC&&(0,n.jsxs)(s.default,{sx:{display:"flex",alignItems:"center",gap:1,py:2,justifyContent:"center"},children:[(0,n.jsx)(u.default,{size:16,thickness:6}),(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",children:ef("chat.app.loading")})]}),ej&&(0,n.jsx)(c.A,{severity:"error",sx:{m:1},children:ej}),(0,n.jsx)(s.default,{ref:eV,sx:{flex:1,minHeight:0,width:"100%",display:ej?"none":"block"}})]});let tR=eO.includes("inline")&&eO.includes("fullscreen")&&eX.includes("fullscreen"),tj=eO.includes("inline")&&eO.includes("pip")&&eX.includes("pip")&&!!ee;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.default,{ref:eG,sx:{mt:1,...eB?{border:0,borderRadius:0}:{border:"1px solid",borderColor:"divider",borderRadius:1},overflow:"hidden",..."fullscreen"===eI?{position:"fixed",left:(eF?.x??16)-tu.x,top:(eF?.y??16)-tu.y,width:eF?.width??"calc(100vw - 32px)",height:eF?.height??"calc(100vh - 32px)",minWidth:"min(480px, 100vw)",minHeight:"min(320px, 100vh)",maxWidth:"100vw",maxHeight:"100vh",zIndex:1300,bgcolor:"background.paper",boxShadow:6,display:"flex",flexDirection:"column"}:{}},children:["fullscreen"===eI&&(0,n.jsx)(k.y1,{label:ef("chat.canvas.resize"),onResizeStart:tc}),(0,n.jsxs)(s.default,{onPointerDown:ta,sx:{display:"flex",alignItems:"center",gap:1,px:1,py:.5,bgcolor:"action.hover",cursor:"fullscreen"===eI?"move":"default",userSelect:"none",flexShrink:0},children:[(0,n.jsx)(p.A,{fontSize:"small",color:"primary"}),(0,n.jsx)(l.A,{variant:"body2",sx:{fontWeight:500},children:ef("chat.app.fromServer",{server:r})}),eh>1&&(0,n.jsxs)(l.A,{variant:"caption",color:"text.secondary",children:["\xd7",eh]}),(0,n.jsx)(d.A,{title:ef("chat.app.sandboxHelp"),children:(0,n.jsx)(f.A,{fontSize:"small",color:"action"})}),(0,n.jsx)(s.default,{sx:{flex:1}}),eA&&tj&&(0,n.jsx)(a.A,{size:"small",onClick:tv,children:ef("chat.app.canvas")}),eA&&(0,n.jsx)(d.A,{title:tR?"fullscreen"===eI?ef("chat.app.exitFullscreen"):ef("chat.app.fullscreen"):ef("chat.app.fullscreenUnsupported"),children:(0,n.jsx)("span",{children:(0,n.jsx)(a.A,{size:"small",disabled:!tR,onClick:()=>{let e="fullscreen"===eI?"inline":"fullscreen";q(e,eX,eO)&&(e9.current=e,eD(e),e0.current?.sendHostContextChange({displayMode:e}))},sx:{minWidth:0},children:"fullscreen"===eI?(0,n.jsx)(y.A,{fontSize:"small"}):(0,n.jsx)(g.A,{fontSize:"small"})})})}),(0,n.jsx)(a.A,{size:"small",onClick:tC,startIcon:eA?(0,n.jsx)(w.A,{}):(0,n.jsx)(m.A,{}),children:eA?ef("chat.app.hide"):ef("chat.app.open")})]}),eA&&"prompt"===eM&&(0,n.jsxs)(s.default,{sx:{p:1},children:[(0,n.jsx)(l.A,{variant:"body2",sx:{mb:1},children:ef("chat.app.consentPrompt")}),(0,n.jsx)(l.A,{variant:"caption",color:"text.secondary",display:"block",sx:{mb:1},children:b}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-once")},children:ef("chat.app.consentAllowOnce")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eH("deny-always")},children:ef("chat.app.consentNeverAllow")})]}),eA&&"denied"===eM&&(0,n.jsxs)(s.default,{sx:{p:1},children:[(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",sx:{mb:1},children:ef("chat.app.consentBlocked")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eU()},children:ef("chat.app.consentAskAgain")})]}),eA&&e$&&(0,n.jsx)(c.A,{severity:"error",sx:{m:1},children:e$}),(0,n.jsx)(h.A,{in:eA&&("internal"===eM||"granted"===eM),onExited:()=>{tb()},sx:"fullscreen"===eI?{flex:1,minHeight:0,display:"flex",flexDirection:"column","& .MuiCollapse-wrapper, & .MuiCollapse-wrapperInner":{height:"100%",minHeight:0,display:"flex",flexDirection:"column"}}:void 0,children:(0,n.jsxs)(s.default,{sx:{p:1,height:"fullscreen"===eI?"100%":"auto",minHeight:0,display:"flex",flexDirection:"column"},children:[eC&&(0,n.jsxs)(s.default,{sx:{display:"flex",alignItems:"center",gap:1,py:2,justifyContent:"center"},children:[(0,n.jsx)(u.default,{size:16,thickness:6}),(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",children:ef("chat.app.loading")})]}),ej&&(0,n.jsx)(c.A,{severity:"error",sx:{my:1},children:ej}),(0,n.jsx)(s.default,{ref:eV,sx:{width:"100%",flex:"fullscreen"===eI?1:void 0,minHeight:0,height:"fullscreen"===eI?"100%":"auto",display:ej?"none":"block"}})]})})]}),(0,n.jsx)(k.Fy,{cursor:eq})]})}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7208],{77586:(e,t,r)=>{r.d(t,{Fy:()=>p,LI:()=>h,RA:()=>a,eH:()=>u,hU:()=>c,ri:()=>d,y1:()=>w});var n=r(95155),i=r(12115),o=r(76010);let s=(e,t,r)=>Math.min(Math.max(e,t),Math.max(t,r)),l={x:0,y:0};function a(e,t,r){return{x:s(e.x,0,Math.max(0,r.width-t.width)),y:s(e.y,0,Math.max(0,r.height-t.height))}}function c(e,t,r,n,i,o){let l=t.includes("left"),a=t.includes("right"),c=t.includes("top"),u=t.includes("bottom"),d=e.x+e.width,h=e.y+e.height,p=e.x,f=e.y,m=e.width,w=e.height;return l?(p=s(e.x+r,0,d-o.width),m=d-p):a&&(m=s(e.width+r,o.width,i.width-e.x)),c?(f=s(e.y+n,0,h-o.height),w=h-f):u&&(w=s(e.height+n,o.height,i.height-e.y)),{x:p,y:f,width:m,height:w}}function u(e,t,r){let n=s(e.width,r.width,t.width),i=s(e.height,r.height,t.height);return{x:s(e.x,0,t.width-n),y:s(e.y,0,t.height-i),width:n,height:i}}function d(e,t){let[r,n]=(0,i.useState)(l);return(0,i.useEffect)(()=>{if(!t)return void n(e=>0===e.x&&0===e.y?e:l);let r=()=>{let t=function(e){if(!e||"function"!=typeof window.getComputedStyle)return l;let t=window.getComputedStyle(e);if("fixed"!==t.position)return l;let r=Number.parseFloat(t.left),n=Number.parseFloat(t.top);if(!Number.isFinite(r)||!Number.isFinite(n))return l;let i=e.getBoundingClientRect(),o=Math.round(i.left-r),s=Math.round(i.top-n);return{x:1>Math.abs(o)?0:o,y:1>Math.abs(s)?0:s}}(e.current);n(e=>e.x===t.x&&e.y===t.y?e:t)};return r(),window.addEventListener("resize",r),window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0)}},[t,e]),r}function h(){let[e,t]=(0,i.useState)(null),r=(0,i.useRef)(null),n=(0,i.useRef)(!0);return(0,i.useEffect)(()=>(n.current=!0,()=>{n.current=!1,r.current?.(!1),r.current=null}),[]),{activeCursor:e,startPointerDrag:(0,i.useCallback)((e,i,o)=>{r.current?.(),e.preventDefault(),e.stopPropagation();let s=e.currentTarget,l=e.pointerId,a=s.ownerDocument,c=a.defaultView??window,u=a.body.style.userSelect,d=a.body.style.cursor;try{s.setPointerCapture?.(l)}catch{}a.body.style.userSelect="none",a.body.style.cursor=i??"",t(i);let h=e=>{e.pointerId===l&&(e.preventDefault(),o(e))},p=(e=!0)=>{c.removeEventListener("pointermove",h,!0),c.removeEventListener("pointerup",f,!0),c.removeEventListener("pointercancel",f,!0);try{s.hasPointerCapture?.(l)&&s.releasePointerCapture(l)}catch{}a.body.style.userSelect=u,a.body.style.cursor=d,e&&n.current&&t(null),r.current===p&&(r.current=null)},f=e=>{e.pointerId===l&&p()};r.current=p,c.addEventListener("pointermove",h,!0),c.addEventListener("pointerup",f,!0),c.addEventListener("pointercancel",f,!0)},[])}}let p=({cursor:e})=>e?(0,n.jsx)(o.default,{"aria-hidden":!0,"data-testid":"pointer-drag-shield",sx:{position:"fixed",inset:0,zIndex:0x7ffffffe,cursor:e,touchAction:"none"}}):null,f={top:{top:-3,left:10,right:10,height:8},right:{right:-3,top:10,bottom:10,width:8},bottom:{bottom:-3,left:10,right:10,height:8},left:{left:-3,top:10,bottom:10,width:8},"top-left":{top:-3,left:-3,width:14,height:14},"top-right":{top:-3,right:-3,width:14,height:14},"bottom-left":{bottom:-3,left:-3,width:14,height:14},"bottom-right":{bottom:-3,right:-3,width:14,height:14}},m=Object.keys(f),w=({label:e,onResizeStart:t})=>(0,n.jsx)(n.Fragment,{children:m.map(r=>{let i="top"===r||"bottom"===r?"ns-resize":"left"===r||"right"===r?"ew-resize":"top-left"===r||"bottom-right"===r?"nwse-resize":"nesw-resize";return(0,n.jsx)(o.default,{component:"span",role:"separator","aria-label":`${e} (${r})`,onPointerDown:e=>t(e,r,i),sx:{position:"absolute",zIndex:8,cursor:i,touchAction:"none",...f[r],..."bottom-right"===r?{"&::after":{content:'""',position:"absolute",right:3,bottom:3,width:7,height:7,borderRight:2,borderBottom:2,borderColor:"text.secondary",opacity:.7}}:{}}},r)})})},97208:(e,t,r)=>{r.d(t,{uJ:()=>H,Ay:()=>V,Yw:()=>D});var n=r(95155),i=r(12115),o=r(37156),s=r(76010),l=r(64924),a=r(89852),c=r(72636),u=r(93385),d=r(40323),h=r(61775),p=r(60851),f=r(35081),m=r(47863),w=r(78487),g=r(82183),y=r(32391),x=r(87783),b=r(23825),v=r(6310),A=r(80967),E=r(60756),C=r(16803);let R=e=>null===e||"object"!=typeof e||Array.isArray(e)?void 0:e;function j(e){return"string"==typeof e&&e.length>0&&e.length<=512&&e.trim()===e}var S=r(16007),M=r(49103),k=r(77586);let P=(0,M.h)("frontend/components/Chat/McpAppFrame"),T={name:"FLUJO",version:"3.45.2"},$=new Set(["https:","http:"]),L=["inline","fullscreen","pip"],z=new Set(["text"]),H=262144,U=e=>null===e||"object"!=typeof e||Array.isArray(e)?void 0:e,I=e=>{let t=U(e);return t?.type==="text"&&"string"==typeof t.text};function D(e){try{return new TextEncoder().encode(JSON.stringify(e)).length}catch{return 1/0}}let F=new Map;async function N(e,t,r){let n=(0,S.dJ)(),i=JSON.stringify([n,e,t,r??null]);if(!F.has(i)){let o=new URLSearchParams;o.set("serverName",e),o.set("uri",t),r&&o.set("conversationId",r);let s=fetch((0,S.TA)(`/api/mcp/app-sandbox${o.toString()?`?${o}`:""}`,n)).then(async e=>{if(!e.ok){let t="";try{let r=await e.json();"string"==typeof r.error&&r.error.trim()&&(t=`: ${r.error.trim()}`)}catch{}throw Error(`Sandbox endpoint discovery failed (${e.status})${t}`)}return await e.json()}).catch(e=>{throw F.delete(i),e});F.set(i,s)}let o=await F.get(i);return{href:function(e,t){let r;if("boolean"!=typeof e.shared)throw Error("Sandbox endpoint discovery did not describe its origin mode");if(!function(e){if("string"!=typeof e)return!1;let t=e.trim();if(0===t.length||t.length>253||t!==e||t!==t.toLowerCase()||/[^\w.-]|[^\x00-\x7f]/i.test(t)||/^\d+(\.\d+)*$/.test(t)||t.includes(":")||/[/?#@]/.test(t))return!1;let r=t.split(".");return!(0===r.length||r.some(e=>0===e.length))&&r.every(e=>e.length<=63&&/^[a-z0-9]([a-z0-9-]*[a-z0-9])?$/.test(e))}(e.originKey))throw Error("Sandbox endpoint discovery returned an invalid origin key");if("string"!=typeof e.token||0===e.token.length)throw Error("Sandbox endpoint discovery returned invalid credentials");if("string"!=typeof e.url)throw Error("Sandbox endpoint discovery did not return an isolated app URL");try{r=new URL(e.url)}catch{throw Error("Sandbox endpoint discovery returned an invalid public URL")}if("http:"!==r.protocol&&"https:"!==r.protocol||r.username||r.password)throw Error("Sandbox public URL must be an absolute HTTP(S) URL without credentials");if("https:"===t.protocol&&"https:"!==r.protocol)throw Error("HTTPS FLUJO deployments require an HTTPS MCP Apps sandbox URL");if(e.shared){if(r.searchParams.get("originKey")!==e.originKey)throw Error("Shared sandbox URL is not bound to the verified app origin key")}else if(!r.hostname.split(".").includes(e.originKey))throw Error("Sandbox URL is not bound to the verified app origin key");if(r.origin===t.origin)throw Error("MCP Apps sandbox must use a distinct origin from FLUJO");return r.searchParams.set("token",e.token),r.href}(o,window.location),allowAll:!0===o.allowAll}}function O(e,t,r=!1,n=!1){let i=e=>{let r=/^(https|wss):\/\/(\*\.)?([^/:?#]+)(?::(\d{1,5}))?$/i.exec(e);if(!r||!t.includes(r[1].toLowerCase()))return!1;let n=r[3].split(".");if(r[3].length>253||n.some(e=>0===e.length||e.length>63||!/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(e)))return!1;let i=r[4]?Number(r[4]):void 0;return void 0===i||Number.isInteger(i)&&i>=1&&i<=65535},o=[],s=new Set;for(let l of e??[]){if(0===l.length||l.length>2048||/[^\x21-\x7e]/.test(l))continue;if("*"===l){if(n)return["*"];continue}let e=r?(0,C._w)(l,t.includes("wss")?["http","ws"]:["http"]):void 0;if(!e&&!i(l))continue;let a=e??l,c=a.toLowerCase();if(!s.has(c)&&(s.add(c),o.push(a),o.length>=64))break}return o}function W(e=window.location){return!!e&&"http:"===e.protocol}function B(e,t=W(),r=!1){return{connectDomains:O(e.connectDomains,["https","wss"],t,r),resourceDomains:O(e.resourceDomains,["https"],t,r),frameDomains:O(e.frameDomains,["https"],t,r),baseUriDomains:O(e.baseUriDomains,["https"],t,r)}}function J(e){if(e)try{return JSON.parse(e)}catch{return}}async function _(e,t,r,n,i){let o;if(await e.sendToolInput({arguments:(o=J(t))&&"object"==typeof o&&!Array.isArray(o)?o:{}}),void 0!==n)return void await e.sendToolCancelled({reason:n});let s=function(e,t){if(void 0===e)return!0===t?{content:[],isError:!0}:null;let r=b.TF.safeParse(J(e));return r.success?{...r.data,...!0===t?{isError:!0}:{}}:{content:[{type:"text",text:e}],...!0===t?{isError:!0}:{}}}(r,i);s&&await e.sendToolResult(s)}function q(e,t,r){return t.includes(e)&&r.includes(e)}function K(e,t,r,n,i,o){let s=void 0===t?`${r??""}\u0000${n??""}\u0000${i??""}\u0000${o??""}`:`${typeof t}:${String(t)}`;return`${e??""}\u0000${s}`}function Y(e,t){let r=e.getBoundingClientRect(),n=Math.max(1,Math.round(r.width||e.clientWidth||1));return t?{width:n,height:Math.max(1,Math.round(r.height||e.clientHeight||1))}:{width:n,maxHeight:6e3}}async function X(e,t,r){try{let n=await E.S.listServerTools(e),i=Array.isArray(n.tools)?n.tools:[],o=r?i.find(e=>e?.name===r):i.find(e=>(0,C.Gt)(e?._meta)===t);if(o?.name&&o?.inputSchema&&(0,C.Gt)(o._meta)===t)return{tool:o}}catch(e){P.debug("Could not resolve the full MCP App tool definition",e)}}let V=({conversationId:e,ownerScopeId:t,serverName:r,uri:b,toolName:S,toolArgs:M,toolResultContent:F,toolOwnerScope:O,toolUpdateId:J,toolCancelledReason:V,toolIsError:G,onAppMessage:Z,onUpdateModelContext:Q,onRequestDock:ee,onDockable:et,onAvailableDisplayModes:er,hostDisplayMode:en,onRequestDisplayMode:ei,onRequestClose:eo,onRegisterTeardown:es,teardownRegistrationKey:el,docked:ea=!1,visible:ec=!0,defaultExpanded:eu=!1,autoDock:ed=!1,linkedToolCallCount:eh=1,onUserOpen:ep})=>{let{t:ef}=(0,v.s9)(),{settings:em,settingsHydrated:ew}=(0,A.useStorage)(),eg=!1!==ew,ey=em?.experimental?.requireMcpAppLaunchClick===!0,ex=(0,o.A)(),eb=(0,i.useId)(),ev=(0,i.useMemo)(()=>{var n;let i;return(i=j((n={toolOwnerScope:O,toolResultContent:F,conversationId:e,ownerScopeId:t,serverName:r,uri:b,frameInstanceId:eb}).toolOwnerScope)?n.toolOwnerScope:function(e){if(void 0!==e)try{let t="string"==typeof e?JSON.parse(e):e,r=R(R(t)?._meta),n=r?.["io.flujo/host-owner-scope"];return j(n)?n:void 0}catch{return}}(n.toolResultContent))||(n.conversationId?`conversation:${n.conversationId}`:n.ownerScopeId?.trim()?`app:${n.ownerScopeId.trim().slice(0,500)}`:`app:${n.serverName}:${n.uri}:${n.frameInstanceId}`)},[e,eb,t,r,O,F,b]),[eA,eE]=(0,i.useState)(eu),[eC,eR]=(0,i.useState)(!1),[ej,eS]=(0,i.useState)(null),[eM,ek]=(0,i.useState)(eg&&!ey?"granted":"loading"),[eP,eT]=(0,i.useState)(!1),[e$,eL]=(0,i.useState)(null),ez=(0,i.useRef)(null);(0,i.useEffect)(()=>{ez.current=ej},[ej]),(0,i.useEffect)(()=>{if(!eg)return void ek("loading");if(!ey){ek("granted"),eL(null);return}let t=!0;ek("loading");let n=new URLSearchParams({serverName:r,uri:b});return e&&n.set("conversationId",e),fetch(`/api/mcp/app-consent?${n}`).then(async e=>e.ok?e.json():Promise.reject(Error("Consent lookup failed"))).then(e=>{t&&["internal","granted","prompt","denied"].includes(e.status??"")&&ek(e.status)}).catch(()=>{t&&ek("denied")}),()=>{t=!1}},[eg,ey,e,r,b]);let eH=(0,i.useCallback)(async t=>{eT(!0),eL(null);try{let n=await fetch("/api/mcp/app-consent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({serverName:r,uri:b,conversationId:e,decision:t})});if(!n.ok)throw Error("Unable to save MCP App consent");let i=await n.json();ek("granted"===i.status?"granted":"denied")}catch{eL(ef("chat.app.consentSaveFailed"))}finally{eT(!1)}},[e,r,ef,b]),eU=(0,i.useCallback)(async()=>{eT(!0),eL(null);try{let e=new URLSearchParams({serverName:r,uri:b});if(!(await fetch(`/api/mcp/app-consent?${e}`,{method:"DELETE"})).ok)throw Error("Unable to reset MCP App consent");ek("prompt")}catch{eL(ef("chat.app.consentSaveFailed"))}finally{eT(!1)}},[r,ef,b]),[eI,eD]=(0,i.useState)(ea?"pip":"inline"),[eF,eN]=(0,i.useState)(null),[eO,eW]=(0,i.useState)([]),[eB,eJ]=(0,i.useState)(!1),e_=(0,i.useRef)(eu),{activeCursor:eq,startPointerDrag:eK}=(0,k.LI)(),eY=en??eI,eX=(0,i.useMemo)(()=>ea?["pip","fullscreen"]:["inline","fullscreen",...ee?["pip"]:[]],[ea,ee]),eV=(0,i.useRef)(null),eG=(0,i.useRef)(null),eZ=(0,i.useRef)(null),eQ=(0,i.useRef)(200),e0=(0,i.useRef)(null),e1=(0,i.useRef)(!1),e3=(0,i.useRef)(0),e2=(0,i.useRef)(!1),e4=(0,i.useRef)(null),e6=(0,i.useRef)(null),e8=(0,i.useRef)(!1),e5=(0,i.useRef)(!0),e7=(0,i.useRef)([]),e9=(0,i.useRef)(eY),te=(0,i.useRef)(eX),tt=(0,i.useRef)(S),tr=(0,i.useRef)(S),tn=(0,i.useRef)(ev),ti=(0,i.useRef)(ev);tn.current=ev;let to=(0,i.useRef)(Promise.resolve()),ts=(0,i.useRef)(void 0),tl=(0,i.useRef)({toolName:S,args:M,resultContent:F,cancelledReason:V,isError:G,updateId:J});(0,i.useEffect)(()=>{ea||"fullscreen"!==eY||eN(e=>{if(e)return e;let t=Math.min(Math.max(520,Math.round(.86*window.innerWidth)),window.innerWidth-24),r=Math.min(Math.max(360,Math.round(.84*window.innerHeight)),window.innerHeight-24);return{x:Math.round((window.innerWidth-t)/2),y:Math.round((window.innerHeight-r)/2),width:t,height:r}})},[ea,eY]),(0,i.useEffect)(()=>{if(ea||"fullscreen"!==eY)return;let e=()=>{let e={width:Math.min(480,window.innerWidth),height:Math.min(320,window.innerHeight)};eN(t=>t?(0,k.eH)(t,{width:window.innerWidth,height:window.innerHeight},e):t)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[ea,eY]);let ta=(0,i.useCallback)(e=>{if("fullscreen"!==eY||!eG.current||e.target.closest('button,[role="button"]'))return;e.preventDefault();let t=eG.current.getBoundingClientRect(),r=e.clientX,n=e.clientY;eK(e,"move",e=>{eN({...(0,k.RA)({x:t.left+e.clientX-r,y:t.top+e.clientY-n},{width:t.width,height:t.height},{width:window.innerWidth,height:window.innerHeight}),width:t.width,height:t.height})})},[eY,eK]),tc=(0,i.useCallback)((e,t,r)=>{if("fullscreen"!==eY||!eG.current)return;let n=eG.current.getBoundingClientRect(),i={x:n.left,y:n.top,width:n.width,height:n.height},o=e.clientX,s=e.clientY;eK(e,r,e=>{eN((0,k.hU)(i,t,e.clientX-o,e.clientY-s,{width:window.innerWidth,height:window.innerHeight},{width:Math.min(480,window.innerWidth),height:Math.min(320,window.innerHeight)}))})},[eY,eK]),tu=(0,k.ri)(eG,"fullscreen"===eI&&!ea);tl.current={toolName:S,args:M,resultContent:F,cancelledReason:V,isError:G,updateId:J},tt.current=S;let td=(0,i.useRef)(Z);(0,i.useEffect)(()=>{td.current=Z},[Z]);let th=(0,i.useRef)(Q);(0,i.useEffect)(()=>{th.current=Q},[Q]);let tp=(0,i.useRef)(ee);(0,i.useEffect)(()=>{tp.current=ee},[ee]);let tf=(0,i.useRef)(ed);(0,i.useEffect)(()=>{ed&&(tf.current=!0)},[ed]);let tm=(0,i.useRef)(et);(0,i.useEffect)(()=>{tm.current=et},[et]);let tw=(0,i.useRef)(er);(0,i.useEffect)(()=>{tw.current=er},[er]);let tg=(0,i.useRef)(ei);(0,i.useEffect)(()=>{tg.current=ei},[ei]);let ty=(0,i.useRef)(eo);(0,i.useEffect)(()=>{ty.current=eo},[eo]);let tx=(0,i.useRef)(ea);(0,i.useEffect)(()=>{tx.current=ea},[ea]),(0,i.useEffect)(()=>{e9.current=eY},[eY]),(0,i.useEffect)(()=>{te.current=eX},[eX]);let tb=(0,i.useCallback)(()=>{if(e6.current)return e6.current;e3.current+=1;let e=e0.current,t=eZ.current,r=e2.current;e0.current=null,eZ.current=null,e2.current=!1,e1.current=!1,e7.current=[],e4.current?.disconnect(),e4.current=null;let n=(async()=>{if(e&&r){let t;try{await Promise.race([e.teardownResource({},{timeout:1e3}),new Promise(e=>{t=setTimeout(e,1e3)})])}catch(e){P.debug("MCP App did not acknowledge resource teardown",e)}finally{t&&clearTimeout(t)}}try{await e?.close()}catch{}t?.remove()})();return e6.current=n,n.finally(()=>{e6.current===n&&(e6.current=null)}),n},[]),tv=(0,i.useCallback)(()=>{e8.current||!tp.current||ez.current||(e8.current=!0,tb().then(()=>{e5.current&&(tp.current?.(),eE(!1))}).finally(()=>{e8.current=!1}))},[tb]),tA=(0,i.useCallback)((e,t,r,n,i)=>{to.current=to.current.catch(()=>void 0).then(async()=>{e0.current===e&&e2.current&&await _(e,t,r,n,i)}).catch(e=>{P.warn("MCP App tool delivery failed",e)})},[]),tE=(0,i.useCallback)(async()=>{if(e6.current&&await e6.current,e1.current||!eV.current)return;let t=e3.current+1;e3.current=t;let n=()=>e3.current===t&&e1.current;e1.current=!0,eW([]),eR(!0),eS(null);try{var i,o,s,l;let a,c,[u,d]=await Promise.all([E.S.readResourceFromApp(r,b),X(r,b,tt.current)]);if(!n())return;if(u?.httpStatus===403)throw Error(u?.error||ef("chat.app.accessDisabled"));if(!u||!1===u.success)throw Error(u?.error||ef("chat.app.readFailed"));let h=function(e,t){let r,n=e?.contents;if(!Array.isArray(n)||0===n.length)throw Error("Resource has no contents");let i=n.find(e=>e.uri===t&&"string"==typeof e.mimeType&&(0,C.q$)(e.mimeType)&&("string"==typeof e.text||"string"==typeof e.blob));if(!i)throw Error(`Resource ${t} did not return MCP App HTML`);try{if("string"==typeof i.text)r=i.text;else if("string"==typeof i.blob){var o;let e;o=i.blob,e=Uint8Array.from(atob(o),e=>e.charCodeAt(0)),r=new TextDecoder("utf-8",{fatal:!0}).decode(e)}else throw Error("Missing app resource body")}catch{throw Error(`Resource ${t} contains invalid base64 UTF-8 HTML`)}if(new TextEncoder().encode(r).length>C.Pt)throw Error(`Resource exceeds the ${Math.round(C.Pt/1024)} KiB size cap`);let s=U(i._meta??i.meta),l=U(s?.ui),a=x.c0.safeParse(l?.csp);if(l?.csp!==void 0&&!a.success)throw Error(`Resource ${t} declares an invalid CSP policy`);let c=x.Ml.safeParse(l?.permissions);if(l?.permissions!==void 0&&!c.success)throw Error(`Resource ${t} declares invalid sandbox permissions`);return{html:r,csp:a.success?B(a.data):void 0,rawCsp:a.success?a.data:void 0,permissions:c.success&&c.data.clipboardWrite?{clipboardWrite:{}}:void 0,prefersBorder:"boolean"==typeof l?.prefersBorder?l.prefersBorder:void 0}}(u.data,b);eJ(!1===h.prefersBorder);let p=await N(r,b,e);if(!n()||!eV.current)return;p.allowAll&&h.rawCsp&&(h.csp=B(h.rawCsp,W(),!0));let f=document.createElement("iframe");f.title=ef("chat.app.frameTitle",{uri:b}),f.setAttribute("sandbox","allow-scripts allow-same-origin"),f.referrerPolicy="origin";let m=(0,x.Sy)(h.permissions);m&&f.setAttribute("allow",m);let w=!1===h.prefersBorder?"transparent":"#fff";f.style.cssText=tx.current||"fullscreen"===e9.current?`width:100%;height:100%;border:none;background:${w};`:`width:100%;min-height:120px;height:200px;border:none;background:${w};`+(!1===h.prefersBorder?"":"border-radius:4px;"),eV.current.appendChild(f),eZ.current=f;let g=new URL(p.href);h.csp&&g.searchParams.set("csp",JSON.stringify(h.csp));let y=g.origin,v=new Promise((e,t)=>{let r=setTimeout(()=>{window.removeEventListener("message",n),t(Error(ef("chat.app.proxyTimeout")))},1e4),n=t=>{t.source===f.contentWindow&&t.origin===y&&t.data?.jsonrpc==="2.0"&&t.data?.method==="ui/notifications/sandbox-proxy-ready"&&(clearTimeout(r),window.removeEventListener("message",n),e())};window.addEventListener("message",n)});if(f.src=g.href,await v,!n()||eZ.current!==f)return;let A=e9.current,R="inline";e9.current=R;let j=new x.T1((i=tn.current,o=e=>{e3.current===t&&e0.current===j&&(eS(e),eR(!1),tb().finally(()=>{tx.current&&ty.current?.()}))},{getServerCapabilities:()=>({tools:{},resources:{}}),setNotificationHandler:()=>{},request:async(e,t,n)=>{let{method:s,params:l}=e;if("tools/call"===s){let e=U(l),t="string"==typeof e?.name?e.name:void 0;if(!t)throw Error("MCP App tool call is missing a tool name");P.info(`MCP App tools/call: ${r}/${t}`);let s=await E.S.callToolFromApp(r,t,U(e?.arguments)??{},void 0,n?.signal,i);if(s?.httpStatus===403){let e=s?.error||"MCP Apps access was disabled for this server";throw o(e),Error(e)}if(!s||!1===s.success)throw Error(s?.error||`Tool call failed: ${t}`);return s.data}if("resources/read"===s){let e=U(l),t="string"==typeof e?.uri?e.uri:void 0;if(!t)throw Error("MCP App resource read is missing a URI");let n=await E.S.readResourceFromApp(r,t);if(n?.httpStatus===403){let e=n?.error||"MCP Apps access was disabled for this server";throw o(e),Error(e)}if(!n||!1===n.success)throw Error(n?.error||`Resource read failed: ${t}`);return n.data}if("resources/list"===s)return{resources:[]};if("resources/templates/list"===s)return{resourceTemplates:[]};throw Error(`MCP App requested unsupported method: ${s}`)}}),T,{openLinks:{},serverTools:{},serverResources:{},logging:{},...td.current?{message:{text:{}}}:{},...th.current?{updateModelContext:{text:{},structuredContent:{}}}:{},sandbox:{csp:h.csp,permissions:h.permissions}},{hostContext:{...d?{toolInfo:d}:{},theme:"dark"===ex.palette.mode?"dark":"light",platform:"web",displayMode:R,availableDisplayModes:te.current,containerDimensions:Y(eV.current,tx.current),locale:navigator.language,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,userAgent:navigator.userAgent,deviceCapabilities:{touch:navigator.maxTouchPoints>0,hover:window.matchMedia?.("(hover: hover)").matches??!1}}});e0.current=j;let S=()=>n()&&e0.current===j;if(j.onopenlink=async({url:e})=>{if(!S())return{isError:!0};let t=function(e){try{let t=new URL(e);if(!$.has(t.protocol)||t.username||t.password)return null;return t.href}catch{return null}}(e);if(!t)return P.warn("MCP App open-link rejected by URL policy",{serverName:r,uri:b}),{isError:!0};let n=window.open(t,"_blank","noopener,noreferrer");return n?(n.opener=null,{}):{isError:!0}},j.ondownloadfile=async({contents:e})=>{if(!S())return{isError:!0};try{for(let t of e??[]){let e,r=U(U(t)?.resource);if(!r)continue;let n=("string"==typeof r.uri?r.uri.split("/").pop():"")||"download",i="string"==typeof r.mimeType?r.mimeType:"application/octet-stream";if("string"==typeof r.blob){let t=Uint8Array.from(atob(r.blob),e=>e.charCodeAt(0));e=new Blob([t],{type:i})}else e=new Blob([String(r.text??"")],{type:i});let o=URL.createObjectURL(e),s=document.createElement("a");s.href=o,s.download=n,document.body.appendChild(s),s.click(),s.remove(),setTimeout(()=>URL.revokeObjectURL(o),4e3)}return{}}catch(e){return P.warn("MCP App download failed",e),{isError:!0}}},j.onloggingmessage=e=>{S()&&P.debug("MCP App log",e?.data)},j.onmessage=async e=>{if(!S())return{};if(!td.current)throw Error("This host cannot deliver ui/message in this surface");let t=function(e){let t=U(e);if(t?.role!=="user")throw Error('This host accepts ui/message only with role "user"');let r=t.content,n=Array.isArray(r)?r:r&&"object"==typeof r?[r]:[];if(0===n.length||!n.every(I))throw Error("This host accepts text-only ui/message content");let i=n.map(e=>e.text).join("\n").trim();if(!i)throw Error("ui/message text must not be empty");return i}(e);if(!await td.current(t))throw Error("ui/message was not delivered");return{}},j.onupdatemodelcontext=async e=>{if(!S())return{};let t=function(e){if(!e||"object"!=typeof e||Array.isArray(e))return"ui/update-model-context params must be an object";if(void 0!==e.content){if(!Array.isArray(e.content))return"Model context content must be an array";for(let t of e.content)if(!t||"object"!=typeof t||Array.isArray(t)||!z.has(t.type))return"Model context contains a modality this host did not advertise"}return void 0!==e.structuredContent&&(!e.structuredContent||"object"!=typeof e.structuredContent||Array.isArray(e.structuredContent))?"Model structuredContent must be an object":D(e)>H?`Model context exceeds ${H} bytes`:null}(e);if(t)throw Error(t);let n=`${r}::${b}`;if(!th.current)throw Error("This host cannot preserve model context in this surface");if(!await th.current(n,e))throw Error("MCP App model context was not stored");return{}},j.onsizechange=async({width:e,height:t})=>{if(!S()||tx.current)return;let r=eV.current?.getBoundingClientRect().width||eV.current?.clientWidth||0,n=function(e,t){let r={};if(Number.isFinite(e.width)&&e.width>0){let n=Number.isFinite(t)&&t>0?t:6e3;r.width=Math.min(e.width,n,6e3)}return Number.isFinite(e.height)&&e.height>0&&(r.height=Math.min(e.height,6e3)),r}({width:e,height:t},r);void 0!==n.height&&(eQ.current=n.height,"fullscreen"!==e9.current&&(f.style.height=`${n.height}px`)),void 0!==n.width&&(f.style.width=`${n.width}px`,f.style.maxWidth="100%")},j.onrequestdisplaymode=async({mode:e})=>{if(!S())return{mode:e9.current};let t=e9.current,r=e7.current;if(!q(e,te.current,r))return{mode:t};if("pip"===e&&!tx.current&&tp.current)return setTimeout(tv,0),{mode:t};let n=t;return(n=tg.current?await tg.current(e,[...r]):e)===t||q(n,te.current,r)||(n=t),n!==t&&(e9.current=n,eD(n),await j.sendHostContextChange({displayMode:n})),{mode:n}},j.onrequestteardown=()=>{S()&&tb().finally(()=>{ty.current?ty.current():(e9.current="inline",eD("inline"),eE(!1))})},j.oninitialized=()=>{var e,t,r,n;if(!S())return;let i=j.getAppCapabilities()?.availableDisplayModes,o=Array.isArray(i)?[...new Set(i.filter(e=>L.includes(e)))]:[];e7.current=o,eW(o),tm.current?.(o.includes("pip")),tw.current?.([...o]),e2.current=!0;let s=(e=A,t=tx.current,r=te.current,n=o,t?q("pip",r,n)?"fullscreen"===e&&q("fullscreen",r,n)?"fullscreen":"pip":null:"fullscreen"===e&&q("fullscreen",r,n)?"fullscreen":"inline");if(null===s){eS(ef("chat.app.canvasUnsupported")),eR(!1),tb();return}tf.current&&o.includes("pip")&&!tx.current&&tp.current&&setTimeout(tv,0),e9.current=s,eD(s),s!==R&&j.sendHostContextChange({displayMode:s});let l=eV.current;if(l&&"u">typeof ResizeObserver){let e=()=>{if(!S()||!e2.current)return;let e=l.getBoundingClientRect();e.width<=0||tx.current&&e.height<=0||j.sendHostContextChange({containerDimensions:Y(l,tx.current)})};e4.current?.disconnect(),e4.current=new ResizeObserver(e),e4.current.observe(l),e()}let a=tl.current;ts.current=K(a.toolName,a.updateId,a.args,a.resultContent,a.cancelledReason,a.isError),(void 0!==a.args||void 0!==a.resultContent||void 0!==a.cancelledReason||!0===a.isError)&&tA(j,a.args,a.resultContent,a.cancelledReason,a.isError),eR(!1)},await j.connect((s=f.contentWindow,l=f.contentWindow,a=new x.hJ(s,l),c={start:async()=>{a.onmessage=(e,t)=>{c.onmessage?.("ui/message"!==e.method||!e.params||Array.isArray(e.params.content)||!e.params.content||"object"!=typeof e.params.content?e:{...e,params:{...e.params,content:[e.params.content]}},t)},a.onerror=e=>c.onerror?.(e),a.onclose=()=>c.onclose?.(),await a.start()},send:(e,t)=>a.send(e,t),close:()=>a.close(),setProtocolVersion:e=>a.setProtocolVersion?.(e)})),!S())return;await j.sendSandboxResourceReady({html:h.html,csp:h.csp,permissions:h.permissions})}catch(e){if(!n())return;P.warn(`Failed to mount MCP App ${b} from ${r}`,e),eS(e instanceof Error?e.message:ef("chat.app.loadFailed")),eR(!1),tb()}},[tv,ev,tA,r,tb,ex.palette.mode,b,ef]),tC=(0,i.useCallback)(()=>{let e=!eA;e||"fullscreen"!==e9.current||(e9.current="inline",eD("inline"),e0.current?.sendHostContextChange({displayMode:"inline"})),e&&ep?.(),eE(e),e&&("internal"===eM||"granted"===eM)&&setTimeout(()=>{tE()},0)},[eM,eA,tE,ep]);if((0,i.useEffect)(()=>{let e=e_.current;e_.current=eu,ea||!eu||e||eA||eE(!0)},[eu,ea,eA]),(0,i.useEffect)(()=>{ea&&("internal"===eM||"granted"===eM)&&!e1.current&&tE()},[eM,ea,tE]),(0,i.useEffect)(()=>{if(!ea&&("internal"===eM||"granted"===eM)&&eA&&!e1.current){let e=window.setTimeout(()=>{tE()},0);return()=>window.clearTimeout(e)}},[eM,eu,ea,eA,tE]),(0,i.useEffect)(()=>{let e=eZ.current;if(e){if(ea||"fullscreen"===eY){e.style.width="100%",e.style.height="100%",e.style.minHeight="0",e.style.borderRadius="0";return}e.style.width="100%",e.style.height=`${eQ.current}px`,e.style.minHeight="120px",e.style.borderRadius=eB?"0":"4px"}},[eB,ea,eY]),(0,i.useEffect)(()=>{tr.current===S&&ti.current===ev||(tr.current=S,ti.current=ev,(e1.current||e6.current)&&tb().then(()=>{e5.current&&(tx.current||eA)&&tE()}))},[eA,tE,ev,tb,S]),(0,i.useEffect)(()=>{let e=K(S,J,M,F,V,G);e2.current&&e0.current&&e!==ts.current&&(ts.current=e,tb().then(()=>{e5.current&&(tx.current||eA)&&tE()}))},[eA,tE,tb,M,V,G,S,F,J]),(0,i.useEffect)(()=>{en&&e2.current&&e0.current&&e9.current!==en&&q(en,te.current,e7.current)&&(e9.current=en,eD(en),e0.current.sendHostContextChange({displayMode:en}))},[en]),(0,i.useEffect)(()=>{e2.current&&e0.current&&e0.current?.sendHostContextChange({theme:"dark"===ex.palette.mode?"dark":"light"})},[ex.palette.mode]),(0,i.useEffect)(()=>{let e=el??`${r}::${b}`;return es?.(e,tb),()=>es?.(e,null)},[es,r,tb,el,b]),(0,i.useEffect)(()=>{let e=e=>{let t=e.detail;t?.serverName===r&&(t.config?.enableMcpApps===!1||t.config?.disabled===!0)&&(eS(ef("chat.app.accessDisabled")),eR(!1),tb().finally(()=>{tx.current&&ty.current?.()}))};return window.addEventListener("flujo:mcp-server-config-changed",e),()=>{window.removeEventListener("flujo:mcp-server-config-changed",e)}},[r,tb,ef]),(0,i.useEffect)(()=>(e5.current=!0,()=>{e5.current=!1,tb()}),[tb]),ea)return(0,n.jsxs)(s.default,{sx:{height:"100%",width:"100%",minHeight:0,display:"flex",visibility:ec?"visible":"hidden",pointerEvents:ec?"auto":"none",flexDirection:"column"},children:[eg&&ey&&"loading"===eM&&(0,n.jsx)(l.A,{variant:"body2",sx:{p:2},children:ef("chat.app.consentChecking")}),"prompt"===eM&&(0,n.jsxs)(s.default,{sx:{p:2},children:[(0,n.jsx)(l.A,{variant:"body2",sx:{mb:1},children:ef("chat.app.consentPrompt")}),(0,n.jsxs)(l.A,{variant:"caption",color:"text.secondary",display:"block",sx:{mb:1},children:[r," — ",b]}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-once")},children:ef("chat.app.consentAllowOnce")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eH("deny-always")},children:ef("chat.app.consentNeverAllow")})]}),"denied"===eM&&(0,n.jsxs)(s.default,{sx:{p:2},children:[(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",sx:{mb:1},children:ef("chat.app.consentBlocked")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eU()},children:ef("chat.app.consentAskAgain")})]}),e$&&(0,n.jsx)(c.A,{severity:"error",sx:{m:1},children:e$}),("internal"===eM||"granted"===eM)&&eC&&(0,n.jsxs)(s.default,{sx:{display:"flex",alignItems:"center",gap:1,py:2,justifyContent:"center"},children:[(0,n.jsx)(u.default,{size:16,thickness:6}),(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",children:ef("chat.app.loading")})]}),ej&&(0,n.jsx)(c.A,{severity:"error",sx:{m:1},children:ej}),(0,n.jsx)(s.default,{ref:eV,sx:{flex:1,minHeight:0,width:"100%",display:ej?"none":"block"}})]});let tR=eO.includes("inline")&&eO.includes("fullscreen")&&eX.includes("fullscreen"),tj=eO.includes("inline")&&eO.includes("pip")&&eX.includes("pip")&&!!ee;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.default,{ref:eG,sx:{mt:1,...eB?{border:0,borderRadius:0}:{border:"1px solid",borderColor:"divider",borderRadius:1},overflow:"hidden",..."fullscreen"===eI?{position:"fixed",left:(eF?.x??16)-tu.x,top:(eF?.y??16)-tu.y,width:eF?.width??"calc(100vw - 32px)",height:eF?.height??"calc(100vh - 32px)",minWidth:"min(480px, 100vw)",minHeight:"min(320px, 100vh)",maxWidth:"100vw",maxHeight:"100vh",zIndex:1300,bgcolor:"background.paper",boxShadow:6,display:"flex",flexDirection:"column"}:{}},children:["fullscreen"===eI&&(0,n.jsx)(k.y1,{label:ef("chat.canvas.resize"),onResizeStart:tc}),(0,n.jsxs)(s.default,{onPointerDown:ta,sx:{display:"flex",alignItems:"center",gap:1,px:1,py:.5,bgcolor:"action.hover",cursor:"fullscreen"===eI?"move":"default",userSelect:"none",flexShrink:0},children:[(0,n.jsx)(p.A,{fontSize:"small",color:"primary"}),(0,n.jsx)(l.A,{variant:"body2",sx:{fontWeight:500},children:ef("chat.app.fromServer",{server:r})}),eh>1&&(0,n.jsxs)(l.A,{variant:"caption",color:"text.secondary",children:["\xd7",eh]}),(0,n.jsx)(d.A,{title:ef("chat.app.sandboxHelp"),children:(0,n.jsx)(f.A,{fontSize:"small",color:"action"})}),(0,n.jsx)(s.default,{sx:{flex:1}}),eA&&tj&&(0,n.jsx)(a.A,{size:"small",onClick:tv,children:ef("chat.app.canvas")}),eA&&(0,n.jsx)(d.A,{title:tR?"fullscreen"===eI?ef("chat.app.exitFullscreen"):ef("chat.app.fullscreen"):ef("chat.app.fullscreenUnsupported"),children:(0,n.jsx)("span",{children:(0,n.jsx)(a.A,{size:"small",disabled:!tR,onClick:()=>{let e="fullscreen"===eI?"inline":"fullscreen";q(e,eX,eO)&&(e9.current=e,eD(e),e0.current?.sendHostContextChange({displayMode:e}))},sx:{minWidth:0},children:"fullscreen"===eI?(0,n.jsx)(y.A,{fontSize:"small"}):(0,n.jsx)(g.A,{fontSize:"small"})})})}),(0,n.jsx)(a.A,{size:"small",onClick:tC,startIcon:eA?(0,n.jsx)(w.A,{}):(0,n.jsx)(m.A,{}),children:eA?ef("chat.app.hide"):ef("chat.app.open")})]}),eA&&"prompt"===eM&&(0,n.jsxs)(s.default,{sx:{p:1},children:[(0,n.jsx)(l.A,{variant:"body2",sx:{mb:1},children:ef("chat.app.consentPrompt")}),(0,n.jsx)(l.A,{variant:"caption",color:"text.secondary",display:"block",sx:{mb:1},children:b}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-once")},children:ef("chat.app.consentAllowOnce")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eH("deny-always")},children:ef("chat.app.consentNeverAllow")})]}),eA&&"denied"===eM&&(0,n.jsxs)(s.default,{sx:{p:1},children:[(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",sx:{mb:1},children:ef("chat.app.consentBlocked")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,onClick:()=>{eH("allow-always")},children:ef("chat.app.consentAllowAlways")}),(0,n.jsx)(a.A,{size:"small",disabled:eP,color:"inherit",onClick:()=>{eU()},children:ef("chat.app.consentAskAgain")})]}),eA&&e$&&(0,n.jsx)(c.A,{severity:"error",sx:{m:1},children:e$}),(0,n.jsx)(h.A,{in:eA&&("internal"===eM||"granted"===eM),onExited:()=>{tb()},sx:"fullscreen"===eI?{flex:1,minHeight:0,display:"flex",flexDirection:"column","& .MuiCollapse-wrapper, & .MuiCollapse-wrapperInner":{height:"100%",minHeight:0,display:"flex",flexDirection:"column"}}:void 0,children:(0,n.jsxs)(s.default,{sx:{p:1,height:"fullscreen"===eI?"100%":"auto",minHeight:0,display:"flex",flexDirection:"column"},children:[eC&&(0,n.jsxs)(s.default,{sx:{display:"flex",alignItems:"center",gap:1,py:2,justifyContent:"center"},children:[(0,n.jsx)(u.default,{size:16,thickness:6}),(0,n.jsx)(l.A,{variant:"body2",color:"text.secondary",children:ef("chat.app.loading")})]}),ej&&(0,n.jsx)(c.A,{severity:"error",sx:{my:1},children:ej}),(0,n.jsx)(s.default,{ref:eV,sx:{width:"100%",flex:"fullscreen"===eI?1:void 0,minHeight:0,height:"fullscreen"===eI?"100%":"auto",display:ej?"none":"block"}})]})})]}),(0,n.jsx)(k.Fy,{cursor:eq})]})}}}]);
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e,t,r,a,c,s,n,f,o={},i={};function u(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},a=!0;try{o[e].call(r.exports,r,r.exports,u),a=!1}finally{a&&delete i[e]}return r.exports}u.m=o,e=[],u.O=(t,r,a,c)=>{if(r){c=c||0;for(var s=e.length;s>0&&e[s-1][2]>c;s--)e[s]=e[s-1];e[s]=[r,a,c];return}for(var n=1/0,s=0;s<e.length;s++){for(var[r,a,c]=e[s],f=!0,o=0;o<r.length;o++)(!1&c||n>=c)&&Object.keys(u.O).every(e=>u.O[e](r[o]))?r.splice(o--,1):(f=!1,c<n&&(n=c));if(f){e.splice(s--,1);var i=a();void 0!==i&&(t=i)}}return t},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(e,a){if(1&a&&(e=this(e)),8&a||"object"==typeof e&&e&&(4&a&&e.__esModule||16&a&&"function"==typeof e.then))return e;var c=Object.create(null);u.r(c);var s={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach(t=>s[t]=()=>e[t]);return s.default=()=>e,u.d(c,s),c},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce((t,r)=>(u.f[r](e,t),t),[])),u.u=e=>3899===e?"static/chunks/3899.3f761f7e3a944e8c.js":1966===e?"static/chunks/1966.b8f83f7ba376c962.js":3532===e?"static/chunks/3532.f2ce9f3f2d99bbef.js":8830===e?"static/chunks/8830.c94ca9df9b1a7add.js":7944===e?"static/chunks/7944.4ede50f43b44e2ba.js":8641===e?"static/chunks/8641.ee1dc4d9a9aabb29.js":7940===e?"static/chunks/7940.62af51403eebabaf.js":9173===e?"static/chunks/9173.8d2a2ba49db5b844.js":3817===e?"static/chunks/3817.356ad7c17c25bad2.js":8562===e?"static/chunks/8562.e19ec9c7ad22244f.js":5559===e?"static/chunks/5559.893915be26e9752b.js":788===e?"static/chunks/788.9ece7219871f219f.js":1476===e?"static/chunks/1476.20664d662556ed7a.js":6530===e?"static/chunks/6530.e5f6a1f8dec6b365.js":2060===e?"static/chunks/2060.1c66e831dbd3b7f4.js":7582===e?"static/chunks/7582.bec00bea634e0165.js":5353===e?"static/chunks/5353.7ebbc3e7f7501b1c.js":7904===e?"static/chunks/7904.48d9f28b247cb77f.js":"static/chunks/"+e+"-"+({108:"e663525e5af880e0",323:"b53a75672a87d62d",357:"7381c9d4ce5c1079",1212:"0832c0676fb97f2a",1216:"bb175dec003d036e",1566:"bfeb02ebf6b2b3d5",2454:"df04767ffd7c7e25",2457:"6aee43c03314b6e6",2636:"c979d3932b1ee7aa",3408:"5e809b8aa2b0e0c8",3420:"e68648b921dcdeba",3439:"e0ec92656572334f",3664:"13f69679c0b1eda1",3791:"3777bdfc37754979",3999:"854bc27a6f9c0fd2",4328:"0bb08982d0d57706",4699:"3e48d060799db505",5156:"5d43f11d5ccd11c9",5830:"36b5797693666932",6636:"4d4b360c3da79a50",6843:"0415a1c0470ff697",6939:"f6f9b85d84f32f6e",7208:"714230aba8f0df89",7570:"844d411076417b01",7629:"65fd18a22039b979",8111:"55ff10e1dbdcc048",8454:"9ca0b4d5a8ff2f98",8500:"f62a38ff68ab7f42",8554:"7021169fd000047d",9304:"1f940d490ea5c972",9580:"5b508749442dd5fb",9852:"d412d73372303a74"})[e]+".js",u.miniCssF=e=>{},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},u.l=(e,t,r,c)=>{if(a[e])return void a[e].push(t);if(void 0!==r)for(var s,n,f=document.getElementsByTagName("script"),o=0;o<f.length;o++){var i=f[o];if(i.getAttribute("src")==e||i.getAttribute("data-webpack")=="_N_E:"+r){s=i;break}}s||(n=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,u.nc&&s.setAttribute("nonce",u.nc),s.setAttribute("data-webpack","_N_E:"+r),s.src=u.tu(e)),a[e]=[t];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(b);var c=a[e];if(delete a[e],s.parentNode&&s.parentNode.removeChild(s),c&&c.forEach(e=>e(r)),t)return t(r)},b=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),n&&document.head.appendChild(s)},u.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.tt=()=>(void 0===c&&(c={createScriptURL:e=>e},"u">typeof trustedTypes&&trustedTypes.createPolicy&&(c=trustedTypes.createPolicy("nextjs#bundler",c))),c),u.tu=e=>u.tt().createScriptURL(e),u.p="/_next/",s={5687:0,6432:0,1950:0,6373:0},u.f.j=(e,t)=>{var r=u.o(s,e)?s[e]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(1950|5687|6373|6432)$/.test(e))s[e]=0;else{var a=new Promise((t,a)=>r=s[e]=[t,a]);t.push(r[2]=a);var c=u.p+u.u(e),n=Error();u.l(c,t=>{if(u.o(s,e)&&(0!==(r=s[e])&&(s[e]=void 0),r)){var a=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+a+": "+c+")",n.name="ChunkLoadError",n.type=a,n.request=c,r[1](n)}},"chunk-"+e,e)}},u.O.j=e=>0===s[e],n=(e,t)=>{var r,a,[c,n,f]=t,o=0;if(c.some(e=>0!==s[e])){for(r in n)u.o(n,r)&&(u.m[r]=n[r]);if(f)var i=f(u)}for(e&&e(t);o<c.length;o++)a=c[o],u.o(s,a)&&s[a]&&s[a][0](),s[a]=0;return u.O(i)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(n.bind(null,0)),f.push=n.bind(null,f.push.bind(f))})();