flujo-ai 3.10.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +173 -173
- package/.next/app-path-routes-manifest.json +14 -14
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +15 -15
- package/.next/react-loadable-manifest.json +7 -7
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/api/backup/route.js +1 -1
- package/.next/server/app/api/backup/route.js.nft.json +1 -1
- package/.next/server/app/api/backup/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/browse/route.js +1 -2
- package/.next/server/app/api/browse/route.js.nft.json +1 -1
- package/.next/server/app/api/browse/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/cwd/route.js +1 -2
- package/.next/server/app/api/cwd/route.js.nft.json +1 -1
- package/.next/server/app/api/cwd/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/encryption/secure/route.js +1 -1
- package/.next/server/app/api/encryption/secure/route.js.nft.json +1 -1
- package/.next/server/app/api/encryption/secure/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/env/route.js +2 -2
- package/.next/server/app/api/env/route.js.nft.json +1 -1
- package/.next/server/app/api/env/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/flow/[id]/route.js +1 -1
- package/.next/server/app/api/flow/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/flow/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/flow/prompt-renderer/route.js +2 -2
- package/.next/server/app/api/flow/prompt-renderer/route.js.nft.json +1 -1
- package/.next/server/app/api/flow/prompt-renderer/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/flow/route.js +1 -1
- package/.next/server/app/api/flow/route.js.nft.json +1 -1
- package/.next/server/app/api/flow/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/git/route.js +4 -5
- package/.next/server/app/api/git/route.js.nft.json +1 -1
- package/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/init/route.js +1 -1
- package/.next/server/app/api/init/route.js.nft.json +1 -1
- package/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/cancel/route.js +2 -2
- package/.next/server/app/api/mcp/cancel/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/prompts/get/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/prompts/get/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/prompts/get/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/prompts/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/prompts/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/prompts/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/resources/read/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/resources/read/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/resources/read/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/resources/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/resources/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/resources/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/status/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/status/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/status/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/tools/[toolName]/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/tools/[toolName]/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/tools/[toolName]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/tools/route.js +1 -1
- package/.next/server/app/api/mcp/servers/[name]/tools/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/[name]/tools/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/servers/route.js +1 -1
- package/.next/server/app/api/mcp/servers/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/servers/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/test-connection/route.js +1 -1
- package/.next/server/app/api/mcp/test-connection/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/test-connection/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp/test-connection/stream/route.js +1 -1
- package/.next/server/app/api/mcp/test-connection/stream/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/test-connection/stream/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp-registry/route.js +1 -2
- package/.next/server/app/api/mcp-registry/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp-registry/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/mcp-registry/spotlight/route.js +1 -1
- package/.next/server/app/api/mcp-registry/spotlight/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp-registry/spotlight/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/model/[id]/route.js +1 -1
- package/.next/server/app/api/model/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/model/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/model/provider/route.js +2 -2
- package/.next/server/app/api/model/provider/route.js.nft.json +1 -1
- package/.next/server/app/api/model/provider/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/model/route.js +1 -1
- package/.next/server/app/api/model/route.js.nft.json +1 -1
- package/.next/server/app/api/model/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/model/test/route.js +2 -2
- package/.next/server/app/api/model/test/route.js.nft.json +1 -1
- package/.next/server/app/api/model/test/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/oauth/callback/route.js +2 -2
- package/.next/server/app/api/oauth/callback/route.js.nft.json +1 -1
- package/.next/server/app/api/oauth/callback/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/oauth/initiate/route.js +2 -2
- package/.next/server/app/api/oauth/initiate/route.js.nft.json +1 -1
- package/.next/server/app/api/oauth/initiate/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/oauth/reset/route.js +2 -2
- package/.next/server/app/api/oauth/reset/route.js.nft.json +1 -1
- package/.next/server/app/api/oauth/reset/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/planned-executions/[id]/route.js +1 -1
- package/.next/server/app/api/planned-executions/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/planned-executions/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/planned-executions/[id]/run/route.js +1 -1
- package/.next/server/app/api/planned-executions/[id]/run/route.js.nft.json +1 -1
- package/.next/server/app/api/planned-executions/[id]/run/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/planned-executions/[id]/runs/route.js +1 -1
- package/.next/server/app/api/planned-executions/[id]/runs/route.js.nft.json +1 -1
- package/.next/server/app/api/planned-executions/[id]/runs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/planned-executions/preview-schedule/route.js +1 -2
- package/.next/server/app/api/planned-executions/preview-schedule/route.js.nft.json +1 -1
- package/.next/server/app/api/planned-executions/preview-schedule/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/planned-executions/route.js +1 -1
- package/.next/server/app/api/planned-executions/route.js.nft.json +1 -1
- package/.next/server/app/api/planned-executions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/restore/route.js +1 -1
- package/.next/server/app/api/restore/route.js.nft.json +1 -1
- package/.next/server/app/api/restore/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/storage/route.js +1 -1
- package/.next/server/app/api/storage/route.js.nft.json +1 -1
- package/.next/server/app/api/storage/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/update/route.js +1 -2
- package/.next/server/app/api/update/route.js.nft.json +1 -1
- package/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/.next/server/app/api/webhooks/[id]/route.js +1 -1
- package/.next/server/app/api/webhooks/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/webhooks/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/chat/page.js +2 -2
- package/.next/server/app/chat/page.js.nft.json +1 -1
- package/.next/server/app/chat/page_client-reference-manifest.js +1 -1
- package/.next/server/app/chat.html +1 -1
- package/.next/server/app/chat.rsc +2 -2
- package/.next/server/app/docs/page.js +1 -1
- package/.next/server/app/docs/page.js.nft.json +1 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +2 -2
- package/.next/server/app/executions/page.js +3 -3
- package/.next/server/app/executions/page.js.nft.json +1 -1
- package/.next/server/app/executions/page_client-reference-manifest.js +1 -1
- package/.next/server/app/executions.html +1 -1
- package/.next/server/app/executions.rsc +2 -2
- package/.next/server/app/flows/page.js +1 -1
- package/.next/server/app/flows/page.js.nft.json +1 -1
- package/.next/server/app/flows/page_client-reference-manifest.js +1 -1
- package/.next/server/app/flows.html +1 -1
- package/.next/server/app/flows.rsc +2 -2
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +2 -2
- package/.next/server/app/mcp/page.js +10 -10
- package/.next/server/app/mcp/page.js.nft.json +1 -1
- package/.next/server/app/mcp/page_client-reference-manifest.js +1 -1
- package/.next/server/app/mcp-flows/route.js +1 -1
- package/.next/server/app/mcp-flows/route.js.nft.json +1 -1
- package/.next/server/app/mcp-flows/route_client-reference-manifest.js +1 -1
- package/.next/server/app/mcp-proxy/[server]/route.js +1 -1
- package/.next/server/app/mcp-proxy/[server]/route.js.nft.json +1 -1
- package/.next/server/app/mcp-proxy/[server]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/mcp.html +1 -1
- package/.next/server/app/mcp.rsc +2 -2
- package/.next/server/app/models/page.js +3 -3
- package/.next/server/app/models/page.js.nft.json +1 -1
- package/.next/server/app/models/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page.js +3 -3
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.rsc +2 -2
- package/.next/server/app/v1/chat/completions/route.js +2 -2
- package/.next/server/app/v1/chat/completions/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/completions/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/breakpoints/route.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/breakpoints/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/breakpoints/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/cancel/route.js +2 -2
- package/.next/server/app/v1/chat/conversations/[conversationId]/cancel/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/cancel/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/debug/continue/route.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/debug/continue/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/debug/continue/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/debug/step/route.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/debug/step/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/debug/step/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/edit-state/route.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/edit-state/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/edit-state/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/events/route.js +6 -6
- package/.next/server/app/v1/chat/conversations/[conversationId]/events/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/events/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/respond/route.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/respond/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/respond/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/route.js +2 -2
- package/.next/server/app/v1/chat/conversations/[conversationId]/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/[conversationId]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/chat/conversations/route.js +2 -2
- package/.next/server/app/v1/chat/conversations/route.js.nft.json +1 -1
- package/.next/server/app/v1/chat/conversations/route_client-reference-manifest.js +1 -1
- package/.next/server/app/v1/models/route.js +2 -2
- package/.next/server/app/v1/models/route.js.nft.json +1 -1
- package/.next/server/app/v1/models/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +14 -14
- package/.next/server/chunks/1050.js +1 -0
- package/.next/server/chunks/{5873.js → 1331.js} +3 -3
- package/.next/server/chunks/1373.js +1 -1
- package/.next/server/chunks/1403.js +2 -2
- package/.next/server/chunks/1692.js +1 -1
- package/.next/server/chunks/1746.js +1 -0
- package/.next/server/chunks/1905.js +2 -2
- package/.next/server/chunks/{5547.js → 2287.js} +2 -2
- package/.next/server/chunks/2776.js +1 -1
- package/.next/server/chunks/3984.js +4 -4
- package/.next/server/chunks/4706.js +1 -1
- package/.next/server/chunks/4729.js +2 -2
- package/.next/server/chunks/5389.js +10 -10
- package/.next/server/chunks/5504.js +17 -0
- package/.next/server/chunks/5558.js +1 -0
- package/.next/server/chunks/5587.js +1 -0
- package/.next/server/chunks/5734.js +6 -6
- package/.next/server/chunks/{9314.js → 5888.js} +3 -3
- package/.next/server/chunks/6936.js +3 -3
- package/.next/server/chunks/6996.js +3 -3
- package/.next/server/chunks/7214.js +1 -1
- package/.next/server/chunks/724.js +2 -2
- package/.next/server/chunks/7328.js +1 -0
- package/.next/server/chunks/7485.js +1 -0
- package/.next/server/chunks/7506.js +1 -1
- package/.next/server/chunks/{473.js → 7731.js} +2 -2
- package/.next/server/chunks/{4323.js → 8126.js} +1 -1
- package/.next/server/chunks/8434.js +1 -0
- package/.next/server/chunks/8739.js +2 -1
- package/.next/server/chunks/9343.js +1 -1
- package/.next/server/chunks/{120.js → 9387.js} +2 -2
- package/.next/server/chunks/{6637.js → 9688.js} +2 -2
- package/.next/server/chunks/9938.js +1 -1
- package/.next/server/chunks/9989.js +1 -1
- package/.next/server/functions-config-manifest.json +2 -2
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/1226-af62e7a89fa9032e.js +1 -0
- package/.next/static/chunks/1979-e2d922370ecef69f.js +1 -0
- package/.next/static/chunks/2158-0d6bb5a428ed0688.js +1 -0
- package/.next/static/chunks/256-7f4847b6726c866c.js +1 -0
- package/.next/static/chunks/2709-29f91a54eef90221.js +1 -0
- package/.next/static/chunks/3217.1a7e24fd70294370.js +1 -0
- package/.next/static/chunks/3545.d3a512315a9fce3e.js +1 -0
- package/.next/static/chunks/539-8ddf886986877cfc.js +1 -0
- package/.next/static/chunks/6582-6735fdd6b42b5c35.js +1 -0
- package/.next/static/chunks/6902-cba4e59c4295b4a0.js +1 -0
- package/.next/static/chunks/8867-3f7163974605427b.js +1 -0
- package/.next/static/chunks/8989-401559d9f3bc80a0.js +1 -0
- package/.next/static/chunks/9164-36fedeb944fa71e9.js +1 -0
- package/.next/static/chunks/9195.294887f083b1a11b.js +1 -0
- package/.next/static/chunks/9414-3cd5c3976cba66b2.js +1 -0
- package/.next/static/chunks/9984-1ed094ea9f5b1f17.js +1 -0
- package/.next/static/chunks/app/chat/{page-aea8c8cbfa461e7f.js → page-5c838e3ce9d7a27d.js} +1 -1
- package/.next/static/chunks/app/docs/page-d4005b311ead55f2.js +1 -0
- package/.next/static/chunks/app/executions/{page-95fec57bf97ee809.js → page-870931839b84c8d5.js} +1 -1
- package/.next/static/chunks/app/flows/{page-7fe295069ccdb5fe.js → page-303dc4d2542567a6.js} +1 -1
- package/.next/static/chunks/app/mcp/page-5012a7e5b6366207.js +1 -0
- package/.next/static/chunks/app/models/page-4fc4d100a8b1d4b4.js +1 -0
- package/.next/static/chunks/app/page-6e18a8cd78b2050e.js +1 -0
- package/.next/static/chunks/app/settings/page-199cff457723ee57.js +1 -0
- package/.next/static/chunks/{webpack-6f17a022ac16e8bd.js → webpack-4015bd6f241940a1.js} +1 -1
- package/.next/trace +7 -7
- package/README.md +12 -5
- package/package.json +1 -1
- package/scripts/launch-next.mjs +17 -3
- package/.next/server/chunks/1381.js +0 -1
- package/.next/server/chunks/1555.js +0 -1
- package/.next/server/chunks/2181.js +0 -17
- package/.next/server/chunks/2372.js +0 -2
- package/.next/server/chunks/3426.js +0 -1
- package/.next/server/chunks/4379.js +0 -1
- package/.next/server/chunks/4989.js +0 -1
- package/.next/server/chunks/598.js +0 -1
- package/.next/server/chunks/6064.js +0 -1
- package/.next/static/chunks/1374-e084b3c40554288a.js +0 -1
- package/.next/static/chunks/1424-01898260211a09d0.js +0 -1
- package/.next/static/chunks/1811-8ee01cf37161913c.js +0 -1
- package/.next/static/chunks/2160-4d9f132965bc2a89.js +0 -1
- package/.next/static/chunks/2624-b985ab3eac1139c3.js +0 -1
- package/.next/static/chunks/3217.79ca74c918fc772c.js +0 -1
- package/.next/static/chunks/3403-7c5037145e384171.js +0 -1
- package/.next/static/chunks/3545.c3fbe14528517a75.js +0 -1
- package/.next/static/chunks/4205-b9e33afc7e96ecb9.js +0 -1
- package/.next/static/chunks/5648-2c6caf3d55f95e11.js +0 -1
- package/.next/static/chunks/7396-807a034f58b57712.js +0 -1
- package/.next/static/chunks/7458-4445e76668151564.js +0 -1
- package/.next/static/chunks/8215-a966f4c36f1ca174.js +0 -1
- package/.next/static/chunks/9164-81ca1a1bccdc5ed2.js +0 -1
- package/.next/static/chunks/9195.01a57af6d6cdf1a5.js +0 -1
- package/.next/static/chunks/app/docs/page-2a4cff7c40706a48.js +0 -1
- package/.next/static/chunks/app/mcp/page-0f923960004aa437.js +0 -1
- package/.next/static/chunks/app/models/page-f43476ea07d5b501.js +0 -1
- package/.next/static/chunks/app/page-471879d3918aeeb6.js +0 -1
- package/.next/static/chunks/app/settings/page-88f7e1b65a6681ec.js +0 -1
- /package/.next/static/{geAgl8xNIf0s1v2mfu4tE → 07vmuF5x2Bs8Xj1OeV0QV}/_buildManifest.js +0 -0
- /package/.next/static/{geAgl8xNIf0s1v2mfu4tE → 07vmuF5x2Bs8Xj1OeV0QV}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5648],{2319:(e,t,o)=>{o.d(t,{A:()=>a,f:()=>i});var r=o(85795),n=o(95195);function i(e){return(0,n.Ay)("MuiListItemIcon",e)}let a=(0,r.A)("MuiListItemIcon",["root","alignItemsFlexStart"])},3004:(e,t,o)=>{o.d(t,{A:()=>eM});var r=o(46320),n=o(12115),i=o(30365),a=o(89255),p=o(12699);function s(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){var t=s(e).Element;return e instanceof t||e instanceof Element}function c(e){var t=s(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function u(e){if("undefined"==typeof ShadowRoot)return!1;var t=s(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var f=Math.max,d=Math.min,m=Math.round;function h(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function v(){return!/^((?!chrome|android).)*safari/i.test(h())}function g(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var r=e.getBoundingClientRect(),n=1,i=1;t&&c(e)&&(n=e.offsetWidth>0&&m(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&m(r.height)/e.offsetHeight||1);var a=(l(e)?s(e):window).visualViewport,p=!v()&&o,u=(r.left+(p&&a?a.offsetLeft:0))/n,f=(r.top+(p&&a?a.offsetTop:0))/i,d=r.width/n,h=r.height/i;return{width:d,height:h,top:f,right:u+d,bottom:f+h,left:u,x:u,y:f}}function y(e){var t=s(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return g(w(e)).left+y(e).scrollLeft}function A(e){return s(e).getComputedStyle(e)}function O(e){var t=A(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function M(e){var t=g(e),o=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-o)&&(o=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function R(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(u(e)?e.host:null)||w(e)}function T(e,t){void 0===t&&(t=[]);var o,r=function e(t){return["html","body","#document"].indexOf(b(t))>=0?t.ownerDocument.body:c(t)&&O(t)?t:e(R(t))}(e),n=r===(null==(o=e.ownerDocument)?void 0:o.body),i=s(r),a=n?[i].concat(i.visualViewport||[],O(r)?r:[]):r,p=t.concat(a);return n?p:p.concat(T(R(a)))}function E(e){return c(e)&&"fixed"!==A(e).position?e.offsetParent:null}function j(e){for(var t=s(e),o=E(e);o&&["table","td","th"].indexOf(b(o))>=0&&"static"===A(o).position;)o=E(o);return o&&("html"===b(o)||"body"===b(o)&&"static"===A(o).position)?t:o||function(e){var t=/firefox/i.test(h());if(/Trident/i.test(h())&&c(e)&&"fixed"===A(e).position)return null;var o=R(e);for(u(o)&&(o=o.host);c(o)&&0>["html","body"].indexOf(b(o));){var r=A(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||t}var k="bottom",P="right",L="left",C="auto",S=["top",k,P,L],D="start",B="viewport",W="popper",I=S.reduce(function(e,t){return e.concat([t+"-"+D,t+"-end"])},[]),H=[].concat(S,[C]).reduce(function(e,t){return e.concat([t,t+"-"+D,t+"-end"])},[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],N={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var F={passive:!0};function q(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _(e){var t,o=e.reference,r=e.element,n=e.placement,i=n?q(n):null,a=n?U(n):null,p=o.x+o.width/2-r.width/2,s=o.y+o.height/2-r.height/2;switch(i){case"top":t={x:p,y:o.y-r.height};break;case k:t={x:p,y:o.y+o.height};break;case P:t={x:o.x+o.width,y:s};break;case L:t={x:o.x-r.width,y:s};break;default:t={x:o.x,y:o.y}}var l=i?X(i):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case D:t[l]=t[l]-(o[c]/2-r[c]/2);break;case"end":t[l]=t[l]+(o[c]/2-r[c]/2)}}return t}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(e){var t,o,r,n,i,a,p,l=e.popper,c=e.popperRect,u=e.placement,f=e.variation,d=e.offsets,h=e.position,v=e.gpuAcceleration,g=e.adaptive,y=e.roundOffsets,b=e.isFixed,x=d.x,O=void 0===x?0:x,M=d.y,R=void 0===M?0:M,T="function"==typeof y?y({x:O,y:R}):{x:O,y:R};O=T.x,R=T.y;var E=d.hasOwnProperty("x"),C=d.hasOwnProperty("y"),S=L,D="top",B=window;if(g){var W=j(l),I="clientHeight",H="clientWidth";W===s(l)&&"static"!==A(W=w(l)).position&&"absolute"===h&&(I="scrollHeight",H="scrollWidth"),("top"===u||(u===L||u===P)&&"end"===f)&&(D=k,R-=(b&&W===B&&B.visualViewport?B.visualViewport.height:W[I])-c.height,R*=v?1:-1),(u===L||("top"===u||u===k)&&"end"===f)&&(S=P,O-=(b&&W===B&&B.visualViewport?B.visualViewport.width:W[H])-c.width,O*=v?1:-1)}var V=Object.assign({position:h},g&&Y),N=!0===y?(t={x:O,y:R},o=s(l),r=t.x,n=t.y,{x:m(r*(i=o.devicePixelRatio||1))/i||0,y:m(n*i)/i||0}):{x:O,y:R};return(O=N.x,R=N.y,v)?Object.assign({},V,((p={})[D]=C?"0":"",p[S]=E?"0":"",p.transform=1>=(B.devicePixelRatio||1)?"translate("+O+"px, "+R+"px)":"translate3d("+O+"px, "+R+"px, 0)",p)):Object.assign({},V,((a={})[D]=C?R+"px":"",a[S]=E?O+"px":"",a.transform="",a))}var J={left:"right",right:"left",bottom:"top",top:"bottom"};function K(e){return e.replace(/left|right|bottom|top/g,function(e){return J[e]})}var Q={start:"end",end:"start"};function Z(e){return e.replace(/start|end/g,function(e){return Q[e]})}function $(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&u(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function et(e,t,o){var r,n,i,a,p,c,u,d,m,h;return t===B?ee(function(e,t){var o=s(e),r=w(e),n=o.visualViewport,i=r.clientWidth,a=r.clientHeight,p=0,l=0;if(n){i=n.width,a=n.height;var c=v();(c||!c&&"fixed"===t)&&(p=n.offsetLeft,l=n.offsetTop)}return{width:i,height:a,x:p+x(e),y:l}}(e,o)):l(t)?((r=g(t,!1,"fixed"===o)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):ee((n=w(e),a=w(n),p=y(n),c=null==(i=n.ownerDocument)?void 0:i.body,u=f(a.scrollWidth,a.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=f(a.scrollHeight,a.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),m=-p.scrollLeft+x(n),h=-p.scrollTop,"rtl"===A(c||a).direction&&(m+=f(a.clientWidth,c?c.clientWidth:0)-u),{width:u,height:d,x:m,y:h}))}function eo(){return{top:0,right:0,bottom:0,left:0}}function er(e){return Object.assign({},eo(),e)}function en(e,t){return t.reduce(function(t,o){return t[o]=e,t},{})}function ei(e,t){void 0===t&&(t={});var o,r,n,i,a,p,s,u,m=t,h=m.placement,v=void 0===h?e.placement:h,y=m.strategy,x=void 0===y?e.strategy:y,O=m.boundary,M=m.rootBoundary,E=m.elementContext,L=void 0===E?W:E,C=m.altBoundary,D=m.padding,I=void 0===D?0:D,H=er("number"!=typeof I?I:en(I,S)),V=e.rects.popper,N=e.elements[void 0!==C&&C?L===W?"reference":W:L],z=(o=l(N)?N:N.contextElement||w(e.elements.popper),r=void 0===O?"clippingParents":O,n=void 0===M?B:M,s=(p=[].concat("clippingParents"===r?(i=T(R(o)),!l(a=["absolute","fixed"].indexOf(A(o).position)>=0&&c(o)?j(o):o)?[]:i.filter(function(e){return l(e)&&$(e,a)&&"body"!==b(e)})):[].concat(r),[n]))[0],(u=p.reduce(function(e,t){var r=et(o,t,x);return e.top=f(r.top,e.top),e.right=d(r.right,e.right),e.bottom=d(r.bottom,e.bottom),e.left=f(r.left,e.left),e},et(o,s,x))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),F=g(e.elements.reference),q=_({reference:F,element:V,strategy:"absolute",placement:v}),U=ee(Object.assign({},V,q)),X=L===W?U:F,Y={top:z.top-X.top+H.top,bottom:X.bottom-z.bottom+H.bottom,left:z.left-X.left+H.left,right:X.right-z.right+H.right},G=e.modifiersData.offset;if(L===W&&G){var J=G[v];Object.keys(Y).forEach(function(e){var t=[P,k].indexOf(e)>=0?1:-1,o=["top",k].indexOf(e)>=0?"y":"x";Y[e]+=J[o]*t})}return Y}function ea(e,t,o){return f(e,d(t,o))}function ep(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function es(e){return["top",P,k,L].some(function(t){return e[t]>=0})}var el=function(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,r=void 0===o?[]:o,n=t.defaultOptions,i=void 0===n?N:n;return function(e,t,o){void 0===o&&(o=i);var n,a,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},N,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],f=!1,d={state:p,setOptions:function(o){var n,a,s,c,f,m,v="function"==typeof o?o(p.options):o;h(),p.options=Object.assign({},i,p.options,v),p.scrollParents={reference:l(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var g=(a=Object.keys(n=[].concat(r,p.options.modifiers).reduce(function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e},{})).map(function(e){return n[e]}),s=new Map,c=new Set,f=[],a.forEach(function(e){s.set(e.name,e)}),a.forEach(function(e){c.has(e.name)||function e(t){c.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!c.has(t)){var o=s.get(t);o&&e(o)}}),f.push(t)}(e)}),m=f,V.reduce(function(e,t){return e.concat(m.filter(function(e){return e.phase===t}))},[]));return p.orderedModifiers=g.filter(function(e){return e.enabled}),p.orderedModifiers.forEach(function(e){var t=e.name,o=e.options,r=e.effect;if("function"==typeof r){var n=r({state:p,name:t,instance:d,options:void 0===o?{}:o});u.push(n||function(){})}}),d.update()},forceUpdate:function(){if(!f){var e=p.elements,t=e.reference,o=e.popper;if(z(t,o)){p.rects={reference:(r=j(o),n="fixed"===p.options.strategy,i=c(r),h=c(r)&&(l=m((a=r.getBoundingClientRect()).width)/r.offsetWidth||1,u=m(a.height)/r.offsetHeight||1,1!==l||1!==u),v=w(r),A=g(t,h,n),R={scrollLeft:0,scrollTop:0},T={x:0,y:0},(i||!i&&!n)&&(("body"!==b(r)||O(v))&&(R=function(e){return e!==s(e)&&c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:y(e)}(r)),c(r)?(T=g(r,!0),T.x+=r.clientLeft,T.y+=r.clientTop):v&&(T.x=x(v))),{x:A.left+R.scrollLeft-T.x,y:A.top+R.scrollTop-T.y,width:A.width,height:A.height}),popper:M(o)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(e){return p.modifiersData[e.name]=Object.assign({},e.data)});for(var r,n,i,a,l,u,h,v,A,R,T,E=0;E<p.orderedModifiers.length;E++){if(!0===p.reset){p.reset=!1,E=-1;continue}var k=p.orderedModifiers[E],P=k.fn,L=k.options,C=void 0===L?{}:L,S=k.name;"function"==typeof P&&(p=P({state:p,options:C,name:S,instance:d})||p)}}}},update:(n=function(){return new Promise(function(e){d.forceUpdate(),e(p)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(n())})})),a}),destroy:function(){h(),f=!0}};if(!z(e,t))return d;function h(){u.forEach(function(e){return e()}),u=[]}return d.setOptions(o).then(function(e){!f&&o.onFirstUpdate&&o.onFirstUpdate(e)}),d}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,i=void 0===n||n,a=r.resize,p=void 0===a||a,l=s(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",o.update,F)}),p&&l.addEventListener("resize",o.update,F),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",o.update,F)}),p&&l.removeEventListener("resize",o.update,F)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=_({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=o.adaptive,i=o.roundOffsets,a=void 0===i||i,p={placement:q(t.placement),variation:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,G(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===n||n,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,G(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},r=t.attributes[e]||{},n=t.elements[e];c(n)&&b(n)&&(Object.assign(n.style,o),Object.keys(r).forEach(function(e){var t=r[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],n=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce(function(e,t){return e[t]="",e},{});c(r)&&b(r)&&(Object.assign(r.style,i),Object.keys(n).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.offset,i=void 0===n?[0,0]:n,a=H.reduce(function(e,o){var r,n,a,p,s,l;return e[o]=(r=t.rects,a=[L,"top"].indexOf(n=q(o))>=0?-1:1,s=(p="function"==typeof i?i(Object.assign({},r,{placement:o})):i)[0],l=p[1],s=s||0,l=(l||0)*a,[L,P].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}),e},{}),p=a[t.placement],s=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,i=void 0===n||n,a=o.altAxis,p=void 0===a||a,s=o.fallbackPlacements,l=o.padding,c=o.boundary,u=o.rootBoundary,f=o.altBoundary,d=o.flipVariations,m=void 0===d||d,h=o.allowedAutoPlacements,v=t.options.placement,g=q(v)===v,y=s||(g||!m?[K(v)]:function(e){if(q(e)===C)return[];var t=K(e);return[Z(e),t,Z(t)]}(v)),b=[v].concat(y).reduce(function(e,o){var r,n,i,a,p,s,f,d,v,g,y,b;return e.concat(q(o)===C?(n=(r={placement:o,boundary:c,rootBoundary:u,padding:l,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,p=r.padding,s=r.flipVariations,d=void 0===(f=r.allowedAutoPlacements)?H:f,0===(y=(g=(v=U(n))?s?I:I.filter(function(e){return U(e)===v}):S).filter(function(e){return d.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,o){return e[o]=ei(t,{placement:o,boundary:i,rootBoundary:a,padding:p})[q(o)],e},{})).sort(function(e,t){return b[e]-b[t]})):o)},[]),w=t.rects.reference,x=t.rects.popper,A=new Map,O=!0,M=b[0],R=0;R<b.length;R++){var T=b[R],E=q(T),j=U(T)===D,B=["top",k].indexOf(E)>=0,W=B?"width":"height",V=ei(t,{placement:T,boundary:c,rootBoundary:u,altBoundary:f,padding:l}),N=B?j?P:L:j?k:"top";w[W]>x[W]&&(N=K(N));var z=K(N),F=[];if(i&&F.push(V[E]<=0),p&&F.push(V[N]<=0,V[z]<=0),F.every(function(e){return e})){M=T,O=!1;break}A.set(T,F)}if(O)for(var X=m?3:1,_=function(e){var t=b.find(function(t){var o=A.get(t);if(o)return o.slice(0,e).every(function(e){return e})});if(t)return M=t,"break"},Y=X;Y>0&&"break"!==_(Y);Y--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,i=o.altAxis,a=o.boundary,p=o.rootBoundary,s=o.altBoundary,l=o.padding,c=o.tether,u=void 0===c||c,m=o.tetherOffset,h=void 0===m?0:m,v=ei(t,{boundary:a,rootBoundary:p,padding:l,altBoundary:s}),g=q(t.placement),y=U(t.placement),b=!y,w=X(g),x="x"===w?"y":"x",A=t.modifiersData.popperOffsets,O=t.rects.reference,R=t.rects.popper,T="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,E="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(A){if(void 0===n||n){var B,W="y"===w?"top":L,I="y"===w?k:P,H="y"===w?"height":"width",V=A[w],N=V+v[W],z=V-v[I],F=u?-R[H]/2:0,_=y===D?O[H]:R[H],Y=y===D?-R[H]:-O[H],G=t.elements.arrow,J=u&&G?M(G):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eo(),Q=K[W],Z=K[I],$=ea(0,O[H],J[H]),ee=b?O[H]/2-F-$-Q-E.mainAxis:_-$-Q-E.mainAxis,et=b?-O[H]/2+F+$+Z+E.mainAxis:Y+$+Z+E.mainAxis,er=t.elements.arrow&&j(t.elements.arrow),en=er?"y"===w?er.clientTop||0:er.clientLeft||0:0,ep=null!=(B=null==C?void 0:C[w])?B:0,es=ea(u?d(N,V+ee-ep-en):N,V,u?f(z,V+et-ep):z);A[w]=es,S[w]=es-V}if(void 0!==i&&i){var el,ec,eu="x"===w?"top":L,ef="x"===w?k:P,ed=A[x],em="y"===x?"height":"width",eh=ed+v[eu],ev=ed-v[ef],eg=-1!==["top",L].indexOf(g),ey=null!=(ec=null==C?void 0:C[x])?ec:0,eb=eg?eh:ed-O[em]-R[em]-ey+E.altAxis,ew=eg?ed+O[em]+R[em]-ey-E.altAxis:ev,ex=u&&eg?(el=ea(eb,ed,ew))>ew?ew:el:ea(u?eb:eh,ed,u?ew:ev);A[x]=ex,S[x]=ex-ed}t.modifiersData[r]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,r=e.name,n=e.options,i=o.elements.arrow,a=o.modifiersData.popperOffsets,p=q(o.placement),s=X(p),l=[L,P].indexOf(p)>=0?"height":"width";if(i&&a){var c,u=(c=n.padding,er("number"!=typeof(c="function"==typeof c?c(Object.assign({},o.rects,{placement:o.placement})):c)?c:en(c,S))),f=M(i),d="y"===s?"top":L,m="y"===s?k:P,h=o.rects.reference[l]+o.rects.reference[s]-a[s]-o.rects.popper[l],v=a[s]-o.rects.reference[s],g=j(i),y=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=u[d],w=y-f[l]-u[m],x=y/2-f[l]/2+(h/2-v/2),A=ea(b,x,w);o.modifiersData[r]=((t={})[s]=A,t.centerOffset=A-x,t)}},effect:function(e){var t=e.state,o=e.options.element,r=void 0===o?"[data-popper-arrow]":o;if(null!=r)("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&$(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,a=ei(t,{elementContext:"reference"}),p=ei(t,{altBoundary:!0}),s=ep(a,r),l=ep(p,n,i),c=es(s),u=es(l);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}}]}),ec=o(57001),eu=o(26915),ef=o(26281),ed=o(85795),em=o(95195);function eh(e){return(0,em.Ay)("MuiPopper",e)}(0,ed.A)("MuiPopper",["root"]);var ev=o(95155);function eg(e){return"function"==typeof e?e():e}let ey={},eb=n.forwardRef(function(e,t){var o;let{anchorEl:r,children:p,direction:s,disablePortal:l,modifiers:c,open:u,placement:f,popperOptions:d,popperRef:m,slotProps:h={},slots:v={},TransitionProps:g,ownerState:y,...b}=e,w=n.useRef(null),x=(0,i.A)(w,t),A=n.useRef(null),O=(0,i.A)(A,m),M=n.useRef(O);(0,a.A)(()=>{M.current=O},[O]),n.useImperativeHandle(m,()=>A.current,[]);let R=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,s),[T,E]=n.useState(R),[j,k]=n.useState(eg(r));n.useEffect(()=>{A.current&&A.current.forceUpdate()}),n.useEffect(()=>{r&&k(eg(r))},[r]),(0,a.A)(()=>{if(!j||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;E(t.placement)}}];null!=c&&(e=e.concat(c)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));let t=el(j,w.current,{placement:R,...d,modifiers:e});return M.current(t),()=>{t.destroy(),M.current(null)}},[j,l,c,u,d,R]);let P={placement:T};null!==g&&(P.TransitionProps=g);let L=(e=>{let{classes:t}=e;return(0,ec.A)({root:["root"]},eh,t)})(e),C=null!=(o=v.root)?o:"div",S=(0,eu.A)({elementType:C,externalSlotProps:h.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:L.root});return(0,ev.jsx)(C,{...S,children:"function"==typeof p?p(P):p})}),ew=n.forwardRef(function(e,t){let o,{anchorEl:r,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:f,placement:d="bottom",popperOptions:m=ey,popperRef:h,style:v,transition:g=!1,slotProps:y={},slots:b={},...w}=e,[x,A]=n.useState(!0);if(!c&&!f&&(!g||x))return null;if(a)o=a;else if(r){let e=eg(r);o=e&&void 0!==e.nodeType?(0,p.A)(e).body:(0,p.A)(null).body}let O=!f&&c&&(!g||x)?"none":void 0,M=g?{in:f,onEnter:()=>{A(!1)},onExited:()=>{A(!0)}}:void 0;return(0,ev.jsx)(ef.A,{disablePortal:l,container:o,children:(0,ev.jsx)(eb,{anchorEl:r,direction:s,disablePortal:l,modifiers:u,ref:t,open:g?!x:f,placement:d,popperOptions:m,popperRef:h,slotProps:y,slots:b,...w,style:{position:"fixed",top:0,left:0,display:O,...v},TransitionProps:M,children:i})})});var ex=o(48116),eA=o(16625);let eO=(0,ex.Ay)(ew,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eM=n.forwardRef(function(e,t){var o;let n=(0,r.I)(),{anchorEl:i,component:a,components:p,componentsProps:s,container:l,disablePortal:c,keepMounted:u,modifiers:f,open:d,placement:m,popperOptions:h,popperRef:v,transition:g,slots:y,slotProps:b,...w}=(0,eA.b)({props:e,name:"MuiPopper"}),x=null!=(o=null==y?void 0:y.root)?o:null==p?void 0:p.Root,A={anchorEl:i,container:l,disablePortal:c,keepMounted:u,modifiers:f,open:d,placement:m,popperOptions:h,popperRef:v,transition:g,...w};return(0,ev.jsx)(eO,{as:a,direction:n?"rtl":"ltr",slots:{root:x},slotProps:null!=b?b:s,...A,ref:t})})},4484:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(36697),n=o(95155);let i=(0,r.A)((0,n.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},14915:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(36697),n=o(95155);let i=(0,r.A)((0,n.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},36741:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(36697),n=o(95155);let i=(0,r.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},43787:(e,t,o)=>{o.d(t,{A:()=>a,b:()=>i});var r=o(85795),n=o(95195);function i(e){return(0,n.Ay)("MuiListItemText",e)}let a=(0,r.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},78470:(e,t,o)=>{o.d(t,{A:()=>B});var r=o(12115),n=o(2821),i=o(47079),a=o(57001),p=o(8532),s=o(46320),l=o(24809),c=o(12549),u=o(48116),f=o(33567),d=o(66964),m=o(16625),h=o(81852),v=o(22379),g=o(3004),y=o(65276),b=o(69582),w=o(61952),x=o(17576),A=o(77765),O=o(85795),M=o(95195);function R(e){return(0,M.Ay)("MuiTooltip",e)}let T=(0,O.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var E=o(95155);let j=(0,u.Ay)(g.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.popper,!o.disableInteractive&&t.popperInteractive,o.arrow&&t.popperArrow,!o.open&&t.popperClose]}})((0,d.A)(e=>{let{theme:t}=e;return{zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none",variants:[{props:e=>{let{ownerState:t}=e;return!t.disableInteractive},style:{pointerEvents:"auto"}},{props:e=>{let{open:t}=e;return!t},style:{pointerEvents:"none"}},{props:e=>{let{ownerState:t}=e;return t.arrow},style:{['&[data-popper-placement*="bottom"] .'.concat(T.arrow)]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'.concat(T.arrow)]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'.concat(T.arrow)]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},['&[data-popper-placement*="left"] .'.concat(T.arrow)]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!t.isRtl},style:{['&[data-popper-placement*="right"] .'.concat(T.arrow)]:{left:0,marginLeft:"-0.71em"}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!!t.isRtl},style:{['&[data-popper-placement*="right"] .'.concat(T.arrow)]:{right:0,marginRight:"-0.71em"}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!t.isRtl},style:{['&[data-popper-placement*="left"] .'.concat(T.arrow)]:{right:0,marginRight:"-0.71em"}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!!t.isRtl},style:{['&[data-popper-placement*="left"] .'.concat(T.arrow)]:{left:0,marginLeft:"-0.71em"}}}]}})),k=(0,u.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.tooltip,o.touch&&t.touch,o.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,h.A)(o.placement.split("-")[0]))]]}})((0,d.A)(e=>{let{theme:t}=e;return{backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,p.X4)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[".".concat(T.popper,'[data-popper-placement*="left"] &')]:{transformOrigin:"right center"},[".".concat(T.popper,'[data-popper-placement*="right"] &')]:{transformOrigin:"left center"},[".".concat(T.popper,'[data-popper-placement*="top"] &')]:{transformOrigin:"center bottom",marginBottom:"14px"},[".".concat(T.popper,'[data-popper-placement*="bottom"] &')]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:e=>{let{ownerState:t}=e;return t.arrow},style:{position:"relative",margin:0}},{props:e=>{let{ownerState:t}=e;return t.touch},style:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(Math.round(16/14*1e5)/1e5,"em"),fontWeight:t.typography.fontWeightRegular}},{props:e=>{let{ownerState:t}=e;return!t.isRtl},style:{[".".concat(T.popper,'[data-popper-placement*="left"] &')]:{marginRight:"14px"},[".".concat(T.popper,'[data-popper-placement*="right"] &')]:{marginLeft:"14px"}}},{props:e=>{let{ownerState:t}=e;return!t.isRtl&&t.touch},style:{[".".concat(T.popper,'[data-popper-placement*="left"] &')]:{marginRight:"24px"},[".".concat(T.popper,'[data-popper-placement*="right"] &')]:{marginLeft:"24px"}}},{props:e=>{let{ownerState:t}=e;return!!t.isRtl},style:{[".".concat(T.popper,'[data-popper-placement*="left"] &')]:{marginLeft:"14px"},[".".concat(T.popper,'[data-popper-placement*="right"] &')]:{marginRight:"14px"}}},{props:e=>{let{ownerState:t}=e;return!!t.isRtl&&t.touch},style:{[".".concat(T.popper,'[data-popper-placement*="left"] &')]:{marginLeft:"24px"},[".".concat(T.popper,'[data-popper-placement*="right"] &')]:{marginRight:"24px"}}},{props:e=>{let{ownerState:t}=e;return t.touch},style:{[".".concat(T.popper,'[data-popper-placement*="top"] &')]:{marginBottom:"24px"}}},{props:e=>{let{ownerState:t}=e;return t.touch},style:{[".".concat(T.popper,'[data-popper-placement*="bottom"] &')]:{marginTop:"24px"}}}]}})),P=(0,u.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((0,d.A)(e=>{let{theme:t}=e;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,p.X4)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),L=!1,C=new i.E,S={x:0,y:0};function D(e,t){return function(o){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t&&t(o,...n),e(o,...n)}}let B=r.forwardRef(function(e,t){var o,p,u;let d=(0,m.b)({props:e,name:"MuiTooltip"}),{arrow:O=!1,children:M,classes:T,components:B={},componentsProps:W={},describeChild:I=!1,disableFocusListener:H=!1,disableHoverListener:V=!1,disableInteractive:N=!1,disableTouchListener:z=!1,enterDelay:F=100,enterNextDelay:q=0,enterTouchDelay:U=700,followCursor:X=!1,id:_,leaveDelay:Y=0,leaveTouchDelay:G=1500,onClose:J,onOpen:K,open:Q,placement:Z="bottom",PopperComponent:$,PopperProps:ee={},slotProps:et={},slots:eo={},title:er,TransitionComponent:en,TransitionProps:ei,...ea}=d,ep=r.isValidElement(M)?M:(0,E.jsx)("span",{children:M}),es=(0,f.A)(),el=(0,s.I)(),[ec,eu]=r.useState(),[ef,ed]=r.useState(null),em=r.useRef(!1),eh=N||X,ev=(0,i.A)(),eg=(0,i.A)(),ey=(0,i.A)(),eb=(0,i.A)(),[ew,ex]=(0,x.A)({controlled:Q,default:!1,name:"Tooltip",state:"open"}),eA=ew,eO=(0,w.A)(_),eM=r.useRef(),eR=(0,y.A)(()=>{void 0!==eM.current&&(document.body.style.WebkitUserSelect=eM.current,eM.current=void 0),eb.clear()});r.useEffect(()=>eR,[eR]);let eT=e=>{C.clear(),L=!0,ex(!0),K&&!eA&&K(e)},eE=(0,y.A)(e=>{C.start(800+Y,()=>{L=!1}),ex(!1),J&&eA&&J(e),ev.start(es.transitions.duration.shortest,()=>{em.current=!1})}),ej=e=>{em.current&&"touchstart"!==e.type||(ec&&ec.removeAttribute("title"),eg.clear(),ey.clear(),F||L&&q?eg.start(L?q:F,()=>{eT(e)}):eT(e))},ek=e=>{eg.clear(),ey.start(Y,()=>{eE(e)})},[,eP]=r.useState(!1),eL=e=>{(0,l.A)(e.target)||(eP(!1),ek(e))},eC=e=>{ec||eu(e.currentTarget),(0,l.A)(e.target)&&(eP(!0),ej(e))},eS=e=>{em.current=!0;let t=ep.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect(()=>{if(eA)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&eE(e)}},[eE,eA]);let eD=(0,b.A)((0,c.A)(ep),eu,t);er||0===er||(eA=!1);let eB=r.useRef(),eW={},eI="string"==typeof er;I?(eW.title=eA||!eI||V?null:er,eW["aria-describedby"]=eA?eO:null):(eW["aria-label"]=eI?er:null,eW["aria-labelledby"]=eA&&!eI?eO:null);let eH={...eW,...ea,...ep.props,className:(0,n.A)(ea.className,ep.props.className),onTouchStart:eS,ref:eD,...X?{onMouseMove:e=>{let t=ep.props;t.onMouseMove&&t.onMouseMove(e),S={x:e.clientX,y:e.clientY},eB.current&&eB.current.update()}}:{}},eV={};z||(eH.onTouchStart=e=>{eS(e),ey.clear(),ev.clear(),eR(),eM.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",eb.start(U,()=>{document.body.style.WebkitUserSelect=eM.current,ej(e)})},eH.onTouchEnd=e=>{ep.props.onTouchEnd&&ep.props.onTouchEnd(e),eR(),ey.start(G,()=>{eE(e)})}),!V&&(eH.onMouseOver=D(ej,eH.onMouseOver),eH.onMouseLeave=D(ek,eH.onMouseLeave),eh||(eV.onMouseOver=ej,eV.onMouseLeave=ek)),!H&&(eH.onFocus=D(eC,eH.onFocus),eH.onBlur=D(eL,eH.onBlur),eh||(eV.onFocus=eC,eV.onBlur=eL));let eN={...d,isRtl:el,arrow:O,disableInteractive:eh,placement:Z,PopperComponentProp:$,touch:em.current},ez="function"==typeof et.popper?et.popper(eN):et.popper,eF=r.useMemo(()=>{var e,t;let o=[{name:"arrow",enabled:!!ef,options:{element:ef,padding:4}}];return(null==(e=ee.popperOptions)?void 0:e.modifiers)&&(o=o.concat(ee.popperOptions.modifiers)),(null==ez||null==(t=ez.popperOptions)?void 0:t.modifiers)&&(o=o.concat(ez.popperOptions.modifiers)),{...ee.popperOptions,...null==ez?void 0:ez.popperOptions,modifiers:o}},[ef,ee.popperOptions,null==ez?void 0:ez.popperOptions]),eq=(e=>{let{classes:t,disableInteractive:o,arrow:r,touch:n,placement:i}=e,p={popper:["popper",!o&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",n&&"touch","tooltipPlacement".concat((0,h.A)(i.split("-")[0]))],arrow:["arrow"]};return(0,a.A)(p,R,t)})(eN),eU="function"==typeof et.transition?et.transition(eN):et.transition,eX={slots:{popper:B.Popper,transition:null!=(o=B.Transition)?o:en,tooltip:B.Tooltip,arrow:B.Arrow,...eo},slotProps:{arrow:null!=(p=et.arrow)?p:W.arrow,popper:{...ee,...null!=ez?ez:W.popper},tooltip:null!=(u=et.tooltip)?u:W.tooltip,transition:{...ei,...null!=eU?eU:W.transition}}},[e_,eY]=(0,A.A)("popper",{elementType:j,externalForwardedProps:eX,ownerState:eN,className:(0,n.A)(eq.popper,null==ee?void 0:ee.className)}),[eG,eJ]=(0,A.A)("transition",{elementType:v.A,externalForwardedProps:eX,ownerState:eN}),[eK,eQ]=(0,A.A)("tooltip",{elementType:k,className:eq.tooltip,externalForwardedProps:eX,ownerState:eN}),[eZ,e$]=(0,A.A)("arrow",{elementType:P,className:eq.arrow,externalForwardedProps:eX,ownerState:eN,ref:ed});return(0,E.jsxs)(r.Fragment,{children:[r.cloneElement(ep,eH),(0,E.jsx)(e_,{as:null!=$?$:g.A,placement:Z,anchorEl:X?{getBoundingClientRect:()=>({top:S.y,left:S.x,right:S.x,bottom:S.y,width:0,height:0})}:ec,popperRef:eB,open:!!ec&&eA,id:eO,transition:!0,...eV,...eY,popperOptions:eF,children:e=>{let{TransitionProps:t}=e;return(0,E.jsx)(eG,{timeout:es.transitions.duration.shorter,...t,...eJ,children:(0,E.jsxs)(eK,{...eQ,children:[er,O?(0,E.jsx)(eZ,{...e$}):null]})})}})]})})},86946:(e,t,o)=>{o.d(t,{A:()=>i});var r=o(36697),n=o(95155);let i=(0,r.A)((0,n.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},86973:(e,t,o)=>{o.d(t,{A:()=>M});var r=o(12115),n=o(2821),i=o(57001),a=o(8532),p=o(30424),s=o(48116),l=o(66964),c=o(16625),u=o(14028),f=o(95070),d=o(36766),m=o(69582),h=o(12609),v=o(2319),g=o(43787),y=o(85795),b=o(95195);function w(e){return(0,b.Ay)("MuiMenuItem",e)}let x=(0,y.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var A=o(95155);let O=(0,s.Ay)(f.A,{shouldForwardProp:e=>(0,p.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,o.dense&&t.dense,o.divider&&t.divider,!o.disableGutters&&t.gutters]}})((0,l.A)(e=>{let{theme:t}=e;return{...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(x.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(x.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(x.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,a.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(x.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(x.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(h.A.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(h.A.inset)]:{marginLeft:52},["& .".concat(g.A.root)]:{marginTop:0,marginBottom:0},["& .".concat(g.A.inset)]:{paddingLeft:36},["& .".concat(v.A.root)]:{minWidth:36},variants:[{props:e=>{let{ownerState:t}=e;return!t.disableGutters},style:{paddingLeft:16,paddingRight:16}},{props:e=>{let{ownerState:t}=e;return t.divider},style:{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"}},{props:e=>{let{ownerState:t}=e;return!t.dense},style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:e=>{let{ownerState:t}=e;return t.dense},style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,["& .".concat(v.A.root," svg")]:{fontSize:"1.25rem"}}}]}})),M=r.forwardRef(function(e,t){let o,a=(0,c.b)({props:e,name:"MuiMenuItem"}),{autoFocus:p=!1,component:s="li",dense:l=!1,divider:f=!1,disableGutters:h=!1,focusVisibleClassName:v,role:g="menuitem",tabIndex:y,className:b,...x}=a,M=r.useContext(u.A),R=r.useMemo(()=>({dense:l||M.dense||!1,disableGutters:h}),[M.dense,l,h]),T=r.useRef(null);(0,d.A)(()=>{p&&T.current&&T.current.focus()},[p]);let E={...a,dense:R.dense,divider:f,disableGutters:h},j=(e=>{let{disabled:t,dense:o,divider:r,disableGutters:n,selected:a,classes:p}=e,s=(0,i.A)({root:["root",o&&"dense",t&&"disabled",!n&&"gutters",r&&"divider",a&&"selected"]},w,p);return{...p,...s}})(a),k=(0,m.A)(T,t);return a.disabled||(o=void 0!==y?y:-1),(0,A.jsx)(u.A.Provider,{value:R,children:(0,A.jsx)(O,{ref:k,role:g,tabIndex:o,component:s,focusVisibleClassName:(0,n.A)(j.focusVisible,v),className:(0,n.A)(j.root,b),...x,ownerState:E,classes:j})})})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7396],{9957:(e,t,r)=>{r.d(t,{A:()=>k});var a=r(12115),o=r(2821),n=r(57001),i=r(8532),l=r(81852),s=r(74798),c=r(89910),d=r(48116),p=r(66964),u=r(16625),h=r(85795),m=r(95195);function v(e){return(0,m.Ay)("MuiSwitch",e)}let g=(0,h.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var b=r(77765),y=r(95155);let w=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t["edge".concat((0,l.A)(r.edge))],t["size".concat((0,l.A)(r.size))]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,["& .".concat(g.thumb)]:{width:16,height:16},["& .".concat(g.switchBase)]:{padding:4,["&.".concat(g.checked)]:{transform:"translateX(16px)"}}}}]}),A=(0,d.Ay)(c.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{["& .".concat(g.input)]:t.input},"default"!==r.color&&t["color".concat((0,l.A)(r.color))]]}})((0,p.A)(e=>{let{theme:t}=e;return{position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:"".concat("light"===t.palette.mode?t.palette.common.white:t.palette.grey[300]),transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),["&.".concat(g.checked)]:{transform:"translateX(20px)"},["&.".concat(g.disabled)]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:"".concat("light"===t.palette.mode?t.palette.grey[100]:t.palette.grey[600])},["&.".concat(g.checked," + .").concat(g.track)]:{opacity:.5},["&.".concat(g.disabled," + .").concat(g.track)]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:"".concat("light"===t.palette.mode?.12:.2)},["& .".concat(g.input)]:{left:"-100%",width:"300%"}}}),(0,p.A)(e=>{let{theme:t}=e;return{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,i.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter((0,s.A)(["light"])).map(e=>{let[r]=e;return{props:{color:r},style:{["&.".concat(g.checked)]:{color:(t.vars||t).palette[r].main,"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,i.X4)(t.palette[r].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(g.disabled)]:{color:t.vars?t.vars.palette.Switch["".concat(r,"DisabledColor")]:"".concat("light"===t.palette.mode?(0,i.a)(t.palette[r].main,.62):(0,i.e$)(t.palette[r].main,.55))}},["&.".concat(g.checked," + .").concat(g.track)]:{backgroundColor:(t.vars||t).palette[r].main}}}})]}})),f=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,p.A)(e=>{let{theme:t}=e;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:"".concat("light"===t.palette.mode?t.palette.common.black:t.palette.common.white),opacity:t.vars?t.vars.opacity.switchTrack:"".concat("light"===t.palette.mode?.38:.3)}})),x=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,p.A)(e=>{let{theme:t}=e;return{boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),k=a.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiSwitch"}),{className:a,color:i="primary",edge:s=!1,size:c="medium",sx:d,slots:p={},slotProps:h={},...m}=r,g={...r,color:i,edge:s,size:c},k=(e=>{let{classes:t,edge:r,size:a,color:o,checked:i,disabled:s}=e,c={root:["root",r&&"edge".concat((0,l.A)(r)),"size".concat((0,l.A)(a))],switchBase:["switchBase","color".concat((0,l.A)(o)),i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,n.A)(c,v,t);return{...t,...d}})(g),S={slots:p,slotProps:h},[C,R]=(0,b.A)("root",{className:(0,o.A)(k.root,a),elementType:w,externalForwardedProps:S,ownerState:g,additionalProps:{sx:d}}),[z,B]=(0,b.A)("thumb",{className:k.thumb,elementType:x,externalForwardedProps:S,ownerState:g}),P=(0,y.jsx)(z,{...B}),[M,j]=(0,b.A)("track",{className:k.track,elementType:f,externalForwardedProps:S,ownerState:g});return(0,y.jsxs)(C,{...R,children:[(0,y.jsx)(A,{type:"checkbox",icon:P,checkedIcon:P,ref:t,ownerState:g,...m,classes:{...k,root:k.switchBase},slots:{...p.switchBase&&{root:p.switchBase},...p.input&&{input:p.input}},slotProps:{...h.switchBase&&{root:"function"==typeof h.switchBase?h.switchBase(g):h.switchBase},...h.input&&{input:"function"==typeof h.input?h.input(g):h.input}}}),(0,y.jsx)(M,{...j})]})})},50430:(e,t,r)=>{r.d(t,{A:()=>k});var a=r(12115),o=r(2821),n=r(9488),i=r(47079),l=r(57001),s=r(48116),c=r(33567),d=r(66964),p=r(16625),u=r(80813),h=r(47250),m=r(69582),v=r(85795),g=r(95195);function b(e){return(0,g.Ay)("MuiCollapse",e)}(0,v.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var y=r(95155);let w=(0,s.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&t.hidden]}})((0,d.A)(e=>{let{theme:t}=e;return{height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:e=>{let{ownerState:t}=e;return"exited"===t.state&&!t.in&&"0px"===t.collapsedSize},style:{visibility:"hidden"}}]}})),A=(0,s.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),f=(0,s.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),x=a.forwardRef(function(e,t){let r=(0,p.b)({props:e,name:"MuiCollapse"}),{addEndListener:s,children:d,className:v,collapsedSize:g="0px",component:x,easing:k,in:S,onEnter:C,onEntered:R,onEntering:z,onExit:B,onExited:P,onExiting:M,orientation:j="vertical",style:E,timeout:F=u.p0.standard,TransitionComponent:N=n.Ay,...T}=r,I={...r,orientation:j,collapsedSize:g},D=(e=>{let{orientation:t,classes:r}=e;return(0,l.A)({root:["root","".concat(t)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(t)],wrapperInner:["wrapperInner","".concat(t)]},b,r)})(I),L=(0,c.A)(),H=(0,i.A)(),O=a.useRef(null),W=a.useRef(),q="number"==typeof g?"".concat(g,"px"):g,X="horizontal"===j,_=X?"width":"height",$=a.useRef(null),G=(0,m.A)(t,$),J=e=>t=>{if(e){let r=$.current;void 0===t?e(r):e(r,t)}},K=()=>O.current?O.current[X?"clientWidth":"clientHeight"]:0,Q=J((e,t)=>{O.current&&X&&(O.current.style.position="absolute"),e.style[_]=q,C&&C(e,t)}),U=J((e,t)=>{let r=K();O.current&&X&&(O.current.style.position="");let{duration:a,easing:o}=(0,h.c)({style:E,timeout:F,easing:k},{mode:"enter"});if("auto"===F){let t=L.transitions.getAutoHeightDuration(r);e.style.transitionDuration="".concat(t,"ms"),W.current=t}else e.style.transitionDuration="string"==typeof a?a:"".concat(a,"ms");e.style[_]="".concat(r,"px"),e.style.transitionTimingFunction=o,z&&z(e,t)}),V=J((e,t)=>{e.style[_]="auto",R&&R(e,t)}),Y=J(e=>{e.style[_]="".concat(K(),"px"),B&&B(e)}),Z=J(P),ee=J(e=>{let t=K(),{duration:r,easing:a}=(0,h.c)({style:E,timeout:F,easing:k},{mode:"exit"});if("auto"===F){let r=L.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),W.current=r}else e.style.transitionDuration="string"==typeof r?r:"".concat(r,"ms");e.style[_]=q,e.style.transitionTimingFunction=a,M&&M(e)});return(0,y.jsx)(N,{in:S,onEnter:Q,onEntered:V,onEntering:U,onExit:Y,onExited:Z,onExiting:ee,addEndListener:e=>{"auto"===F&&H.start(W.current||0,e),s&&s($.current,e)},nodeRef:$,timeout:"auto"===F?null:F,...T,children:(e,t)=>{let{ownerState:r,...a}=t;return(0,y.jsx)(w,{as:x,className:(0,o.A)(D.root,v,{entered:D.entered,exited:!S&&"0px"===q&&D.hidden}[e]),style:{[X?"minWidth":"minHeight"]:q,...E},ref:G,ownerState:{...I,state:e},...a,children:(0,y.jsx)(A,{ownerState:{...I,state:e},className:D.wrapper,ref:O,children:(0,y.jsx)(f,{ownerState:{...I,state:e},className:D.wrapperInner,children:d})})})}})});x&&(x.muiSupportAuto=!0);let k=x},63186:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(36697),o=r(95155);let n=(0,a.A)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},89910:(e,t,r)=>{r.d(t,{A:()=>y});var a=r(12115),o=r(57001),n=r(81852),i=r(30424),l=r(48116),s=r(17576),c=r(45918),d=r(95070),p=r(85795),u=r(95195);function h(e){return(0,u.Ay)("PrivateSwitchBase",e)}(0,p.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=r(77765),v=r(95155);let g=(0,l.Ay)(d.A,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:e=>{let{edge:t,ownerState:r}=e;return"start"===t&&"small"!==r.size},style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:e=>{let{edge:t,ownerState:r}=e;return"end"===t&&"small"!==r.size},style:{marginRight:-12}}]}),b=(0,l.Ay)("input",{name:"MuiSwitchBase",shouldForwardProp:i.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=a.forwardRef(function(e,t){let{autoFocus:r,checked:a,checkedIcon:i,defaultChecked:l,disabled:d,disableFocusRipple:p=!1,edge:u=!1,icon:y,id:w,inputProps:A,inputRef:f,name:x,onBlur:k,onChange:S,onFocus:C,readOnly:R,required:z=!1,tabIndex:B,type:P,value:M,slots:j={},slotProps:E={},...F}=e,[N,T]=(0,s.A)({controlled:a,default:!!l,name:"SwitchBase",state:"checked"}),I=(0,c.A)(),D=d;I&&void 0===D&&(D=I.disabled);let L="checkbox"===P||"radio"===P,H={...e,checked:N,disabled:D,disableFocusRipple:p,edge:u},O=(e=>{let{classes:t,checked:r,disabled:a,edge:i}=e,l={root:["root",r&&"checked",a&&"disabled",i&&"edge".concat((0,n.A)(i))],input:["input"]};return(0,o.A)(l,h,t)})(H),W={slots:j,slotProps:{input:A,...E}},[q,X]=(0,m.A)("root",{ref:t,elementType:g,className:O.root,shouldForwardComponentProp:!0,externalForwardedProps:{...W,component:"span",...F},getSlotProps:e=>({...e,onFocus:t=>{var r;null==(r=e.onFocus)||r.call(e,t),C&&C(t),I&&I.onFocus&&I.onFocus(t)},onBlur:t=>{var r;null==(r=e.onBlur)||r.call(e,t),k&&k(t),I&&I.onBlur&&I.onBlur(t)}}),ownerState:H,additionalProps:{centerRipple:!0,focusRipple:!p,disabled:D,role:void 0,tabIndex:null}}),[_,$]=(0,m.A)("input",{ref:f,elementType:b,className:O.input,externalForwardedProps:W,getSlotProps:e=>({onChange:t=>{var r;null==(r=e.onChange)||r.call(e,t),(e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;T(t),S&&S(e,t)})(t)}}),ownerState:H,additionalProps:{autoFocus:r,checked:a,defaultChecked:l,disabled:D,id:L?w:void 0,name:x,readOnly:R,required:z,tabIndex:B,type:P,..."checkbox"===P&&void 0===M?{}:{value:M}}});return(0,v.jsxs)(q,{...X,children:[(0,v.jsx)(_,{...$}),N?i:y]})})},99944:(e,t,r)=>{r.d(t,{A:()=>f});var a=r(12115),o=r(2821),n=r(57001),i=r(45918),l=r(48116),s=r(66964),c=r(16625),d=r(25635),p=r(81852),u=r(85795),h=r(95195);function m(e){return(0,h.Ay)("MuiFormControlLabel",e)}let v=(0,u.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=r(75108),b=r(77765),y=r(95155);let w=(0,l.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{["& .".concat(v.label)]:t.label},t.root,t["labelPlacement".concat((0,p.A)(r.labelPlacement))]]}})((0,s.A)(e=>{let{theme:t}=e;return{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,["&.".concat(v.disabled)]:{cursor:"default"},["& .".concat(v.label)]:{["&.".concat(v.disabled)]:{color:(t.vars||t).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:e=>{let{labelPlacement:t}=e;return"start"===t||"top"===t||"bottom"===t},style:{marginLeft:16}}]}})),A=(0,l.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,s.A)(e=>{let{theme:t}=e;return{["&.".concat(v.error)]:{color:(t.vars||t).palette.error.main}}})),f=a.forwardRef(function(e,t){var r;let l=(0,c.b)({props:e,name:"MuiFormControlLabel"}),{checked:s,className:u,componentsProps:h={},control:v,disabled:f,disableTypography:x,inputRef:k,label:S,labelPlacement:C="end",name:R,onChange:z,required:B,slots:P={},slotProps:M={},value:j,...E}=l,F=(0,i.A)(),N=null!=(r=null!=f?f:v.props.disabled)?r:null==F?void 0:F.disabled,T=null!=B?B:v.props.required,I={disabled:N,required:T};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===v.props[e]&&void 0!==l[e]&&(I[e]=l[e])});let D=(0,g.A)({props:l,muiFormControl:F,states:["error"]}),L={...l,disabled:N,labelPlacement:C,required:T,error:D.error},H=(e=>{let{classes:t,disabled:r,labelPlacement:a,error:o,required:i}=e,l={root:["root",r&&"disabled","labelPlacement".concat((0,p.A)(a)),o&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,n.A)(l,m,t)})(L),O={slots:P,slotProps:{...h,...M}},[W,q]=(0,b.A)("typography",{elementType:d.default,externalForwardedProps:O,ownerState:L}),X=S;return null==X||X.type===d.default||x||(X=(0,y.jsx)(W,{component:"span",...q,className:(0,o.A)(H.label,null==q?void 0:q.className),children:X})),(0,y.jsxs)(w,{className:(0,o.A)(H.root,u),ownerState:L,ref:t,...E,children:[a.cloneElement(v,I),T?(0,y.jsxs)("div",{children:[X,(0,y.jsxs)(A,{ownerState:L,"aria-hidden":!0,className:H.asterisk,children:[" ","*"]})]}):X]})})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7458],{9693:(e,t,a)=>{a.d(t,{A:()=>n});var r=a(36697),o=a(95155);let n=(0,r.A)((0,o.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check")},17681:(e,t,a)=>{a.d(t,{A:()=>v});var r=a(12115),o=a(2821),n=a(57001),s=a(42297),i=a(25635),l=a(14028),c=a(48116),d=a(16625),p=a(43787),u=a(77765),m=a(95155);let y=(0,c.Ay)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[{["& .".concat(p.A.primary)]:t.primary},{["& .".concat(p.A.secondary)]:t.secondary},t.root,a.inset&&t.inset,a.primary&&a.secondary&&t.multiline,a.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[".".concat(s.A.root,":where(& .").concat(p.A.primary,")")]:{display:"block"},[".".concat(s.A.root,":where(& .").concat(p.A.secondary,")")]:{display:"block"},variants:[{props:e=>{let{ownerState:t}=e;return t.primary&&t.secondary},style:{marginTop:6,marginBottom:6}},{props:e=>{let{ownerState:t}=e;return t.inset},style:{paddingLeft:56}}]}),v=r.forwardRef(function(e,t){let a=(0,d.b)({props:e,name:"MuiListItemText"}),{children:s,className:c,disableTypography:v=!1,inset:f=!1,primary:A,primaryTypographyProps:g,secondary:b,secondaryTypographyProps:x,slots:h={},slotProps:I={},...C}=a,{dense:k}=r.useContext(l.A),O=null!=A?A:s,w=b,L={...a,disableTypography:v,inset:f,primary:!!O,secondary:!!w,dense:k},M=(e=>{let{classes:t,inset:a,primary:r,secondary:o,dense:s}=e;return(0,n.A)({root:["root",a&&"inset",s&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},p.b,t)})(L),R={slots:h,slotProps:{primary:g,secondary:x,...I}},[j,S]=(0,u.A)("root",{className:(0,o.A)(M.root,c),elementType:y,externalForwardedProps:{...R,...C},ownerState:L,ref:t}),[T,B]=(0,u.A)("primary",{className:M.primary,elementType:i.default,externalForwardedProps:R,ownerState:L}),[N,F]=(0,u.A)("secondary",{className:M.secondary,elementType:i.default,externalForwardedProps:R,ownerState:L});return null==O||O.type===i.default||v||(O=(0,m.jsx)(T,{variant:k?"body2":"body1",component:(null==B?void 0:B.variant)?void 0:"span",...B,children:O})),null==w||w.type===i.default||v||(w=(0,m.jsx)(N,{variant:"body2",color:"textSecondary",...F,children:w})),(0,m.jsxs)(j,{...S,children:[O,w]})})},49501:(e,t,a)=>{a.d(t,{A:()=>m});var r=a(12115),o=a(2821),n=a(57001),s=a(48116),i=a(66964),l=a(16625),c=a(2319),d=a(14028),p=a(95155);let u=(0,s.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,"flex-start"===a.alignItems&&t.alignItemsFlexStart]}})((0,i.A)(e=>{let{theme:t}=e;return{minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}})),m=r.forwardRef(function(e,t){let a=(0,l.b)({props:e,name:"MuiListItemIcon"}),{className:s,...i}=a,m=r.useContext(d.A),y={...a,alignItems:m.alignItems},v=(e=>{let{alignItems:t,classes:a}=e;return(0,n.A)({root:["root","flex-start"===t&&"alignItemsFlexStart"]},c.f,a)})(y);return(0,p.jsx)(u,{className:(0,o.A)(v.root,s),ownerState:y,ref:t,...i})})},58081:(e,t,a)=>{a.d(t,{A:()=>s,Y:()=>n});var r=a(85795),o=a(95195);function n(e){return(0,o.Ay)("MuiListItemButton",e)}let s=(0,r.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},73707:(e,t,a)=>{a.d(t,{A:()=>g});var r=a(12115),o=a(2821),n=a(57001),s=a(8532),i=a(48116),l=a(66964),c=a(16625),d=a(30424),p=a(95070),u=a(36766),m=a(69582),y=a(14028),v=a(58081),f=a(95155);let A=(0,i.Ay)(p.A,{shouldForwardProp:e=>(0,d.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.dense&&t.dense,"flex-start"===a.alignItems&&t.alignItemsFlexStart,a.divider&&t.divider,!a.disableGutters&&t.gutters]}})((0,l.A)(e=>{let{theme:t}=e;return{display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(v.A.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(v.A.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(v.A.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,s.X4)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(v.A.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(v.A.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:e=>{let{ownerState:t}=e;return t.divider},style:{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:e=>{let{ownerState:t}=e;return!t.disableGutters},style:{paddingLeft:16,paddingRight:16}},{props:e=>{let{ownerState:t}=e;return t.dense},style:{paddingTop:4,paddingBottom:4}}]}})),g=r.forwardRef(function(e,t){let a=(0,c.b)({props:e,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:i=!1,component:l="div",children:d,dense:p=!1,disableGutters:g=!1,divider:b=!1,focusVisibleClassName:x,selected:h=!1,className:I,...C}=a,k=r.useContext(y.A),O=r.useMemo(()=>({dense:p||k.dense||!1,alignItems:s,disableGutters:g}),[s,k.dense,p,g]),w=r.useRef(null);(0,u.A)(()=>{i&&w.current&&w.current.focus()},[i]);let L={...a,alignItems:s,dense:O.dense,disableGutters:g,divider:b,selected:h},M=(e=>{let{alignItems:t,classes:a,dense:r,disabled:o,disableGutters:s,divider:i,selected:l}=e,c=(0,n.A)({root:["root",r&&"dense",!s&&"gutters",i&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},v.Y,a);return{...a,...c}})(L),R=(0,m.A)(w,t);return(0,f.jsx)(y.A.Provider,{value:O,children:(0,f.jsx)(A,{ref:R,href:C.href||C.to,component:(C.href||C.to)&&"div"===l?"button":l,focusVisibleClassName:(0,o.A)(M.focusVisible,x),ownerState:L,className:(0,o.A)(M.root,I),...C,classes:M,children:d})})})},76530:(e,t,a)=>{a.d(t,{A:()=>n});var r=a(36697),o=a(95155);let n=(0,r.A)((0,o.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh")},77073:(e,t,a)=>{a.d(t,{A:()=>n});var r=a(36697),o=a(95155);let n=(0,r.A)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8215],{8567:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return o.workAsyncStorageInstance}});let o=n(17828)},17828:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return o}});let o=(0,n(64054).createAsyncLocalStorage)()},20063:(e,t,n)=>{var o=n(47260);n.o(o,"usePathname")&&n.d(t,{usePathname:function(){return o.usePathname}}),n.o(o,"useRouter")&&n.d(t,{useRouter:function(){return o.useRouter}}),n.o(o,"useSearchParams")&&n.d(t,{useSearchParams:function(){return o.useSearchParams}})},24437:(e,t,n)=>{function o(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return o}}),n(24553)},36552:(e,t,n)=>{function o(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return o}}),n(95155),n(47650),n(8567),n(77278)},48363:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(36697),r=n(95155);let a=(0,o.A)((0,r.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},48563:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(36697),r=n(95155);let a=(0,o.A)((0,r.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},63109:(e,t,n)=>{n.d(t,{A:()=>ee});var o,r,a=n(12115),l=n(2821),i=n(57001),c=n(8532),u=n(99347),s=n(69827),p=n(2457),d=n(57421),g=n(65083);function f(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}let h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{ignoreAccents:t=!0,ignoreCase:n=!0,limit:o,matchFrom:r="any",stringify:a,trim:l=!1}=e;return(e,i)=>{let{inputValue:c,getOptionLabel:u}=i,s=l?c.trim():c;n&&(s=s.toLowerCase()),t&&(s=f(s));let p=s?e.filter(e=>{let o=(a||u)(e);return n&&(o=o.toLowerCase()),t&&(o=f(o)),"start"===r?o.startsWith(s):o.includes(s)}):e;return"number"==typeof o?p.slice(0,o):p}}(),m=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))},b=[];function v(e,t,n){if(t||null==e)return"";let o=n(e);return"string"==typeof o?o:""}let y=function(e){let{unstable_isActiveElementInListbox:t=m,unstable_classNamePrefix:n="Mui",autoComplete:o=!1,autoHighlight:r=!1,autoSelect:l=!1,blurOnSelect:i=!1,clearOnBlur:c=!e.freeSolo,clearOnEscape:f=!1,componentName:y="useAutocomplete",defaultValue:A=e.multiple?b:null,disableClearable:x=!1,disableCloseOnSelect:S=!1,disabled:k,disabledItemsFocusable:P=!1,disableListWrap:I=!1,filterOptions:w=h,filterSelectedOptions:R=!1,freeSolo:O=!1,getOptionDisabled:C,getOptionKey:L,getOptionLabel:M=e=>{var t;return null!=(t=e.label)?t:e},groupBy:j,handleHomeEndKeys:T=!e.freeSolo,id:D,includeInputInList:N=!1,inputValue:z,isOptionEqualToValue:E=(e,t)=>e===t,multiple:H=!1,onChange:_,onClose:W,onHighlightChange:V,onInputChange:F,onOpen:B,open:U,openOnFocus:q=!1,options:G,readOnly:K=!1,selectOnFocus:X=!e.freeSolo,value:J}=e,Q=(0,u.A)(D),Y=M;Y=e=>{let t=M(e);return"string"!=typeof t?String(t):t};let Z=a.useRef(!1),$=a.useRef(!0),ee=a.useRef(null),et=a.useRef(null),[en,eo]=a.useState(null),[er,ea]=a.useState(-1),el=r?0:-1,ei=a.useRef(el),ec=a.useRef(v(null!=A?A:J,H,Y)).current,[eu,es]=(0,s.A)({controlled:J,default:A,name:y}),[ep,ed]=(0,s.A)({controlled:z,default:ec,name:y,state:"inputValue"}),[eg,ef]=a.useState(!1),eh=a.useCallback((e,t,n)=>{if(!(H?eu.length<t.length:null!==t)&&!c)return;let o=v(t,H,Y);ep!==o&&(ed(o),F&&F(e,o,n))},[Y,ep,H,F,ed,c,eu]),[em,eb]=(0,s.A)({controlled:U,default:!1,name:y,state:"open"}),[ev,ey]=a.useState(!0),eA=!H&&null!=eu&&ep===Y(eu),ex=em&&!K,eS=ex?w(G.filter(e=>!(R&&(H?eu:[eu]).some(t=>null!==t&&E(e,t)))),{inputValue:eA&&ev?"":ep,getOptionLabel:Y}):[],ek=(0,p.A)({filteredOptions:eS,value:eu,inputValue:ep});a.useEffect(()=>{let e=eu!==ek.value;(!eg||e)&&(!O||e)&&eh(null,eu,"reset")},[eu,eh,eg,ek.value,O]);let eP=em&&eS.length>0&&!K,eI=(0,d.A)(e=>{-1===e?ee.current.focus():en.querySelector('[data-tag-index="'.concat(e,'"]')).focus()});a.useEffect(()=>{H&&er>eu.length-1&&(ea(-1),eI(-1))},[eu,H,er,eI]);let ew=(0,d.A)(e=>{let{event:t,index:o,reason:r}=e;if(ei.current=o,-1===o?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant","".concat(Q,"-option-").concat(o)),V&&["mouse","keyboard","touch"].includes(r)&&V(t,-1===o?null:eS[o],r),!et.current)return;let a=et.current.querySelector('[role="option"].'.concat(n,"-focused"));a&&(a.classList.remove("".concat(n,"-focused")),a.classList.remove("".concat(n,"-focusVisible")));let l=et.current;if("listbox"!==et.current.getAttribute("role")&&(l=et.current.parentElement.querySelector('[role="listbox"]')),!l)return;if(-1===o){l.scrollTop=0;return}let i=et.current.querySelector('[data-option-index="'.concat(o,'"]'));if(i&&(i.classList.add("".concat(n,"-focused")),"keyboard"===r&&i.classList.add("".concat(n,"-focusVisible")),l.scrollHeight>l.clientHeight&&"mouse"!==r&&"touch"!==r)){let e=l.clientHeight+l.scrollTop,t=i.offsetTop+i.offsetHeight;t>e?l.scrollTop=t-l.clientHeight:i.offsetTop-i.offsetHeight*(1.3*!!j)<l.scrollTop&&(l.scrollTop=i.offsetTop-i.offsetHeight*(1.3*!!j))}}),eR=(0,d.A)(e=>{let{event:t,diff:n,direction:r="next",reason:a}=e;if(!ex)return;let l=function(e,t){if(!et.current||e<0||e>=eS.length)return -1;let n=e;for(;;){let o=et.current.querySelector('[data-option-index="'.concat(n,'"]')),r=!P&&(!o||o.disabled||"true"===o.getAttribute("aria-disabled"));if(o&&o.hasAttribute("tabindex")&&!r)return n;if((n="next"===t?(n+1)%eS.length:(n-1+eS.length)%eS.length)===e)return -1}}((()=>{let e=eS.length-1;if("reset"===n)return el;if("start"===n)return 0;if("end"===n)return e;let t=ei.current+n;return t<0?-1===t&&N?-1:I&&-1!==ei.current||Math.abs(n)>1?0:e:t>e?t===e+1&&N?-1:I||Math.abs(n)>1?e:0:t})(),r);if(ew({index:l,reason:a,event:t}),o&&"reset"!==n)if(-1===l)ee.current.value=ep;else{let e=Y(eS[l]);ee.current.value=e,0===e.toLowerCase().indexOf(ep.toLowerCase())&&ep.length>0&&ee.current.setSelectionRange(ep.length,e.length)}}),eO=a.useCallback(()=>{if(!ex)return;let e=(()=>{var e,t;if(-1!==ei.current&&ek.filteredOptions&&ek.filteredOptions.length!==eS.length&&ek.inputValue===ep&&(H?eu.length===ek.value.length&&ek.value.every((e,t)=>Y(eu[t])===Y(e)):(e=ek.value,t=eu,(e?Y(e):"")===(t?Y(t):"")))){let e=ek.filteredOptions[ei.current];if(e)return eS.findIndex(t=>Y(t)===Y(e))}return -1})();if(-1!==e){ei.current=e;return}let t=H?eu[0]:eu;if(0===eS.length||null==t)return void eR({diff:"reset"});if(et.current){if(null!=t){let e=eS[ei.current];if(H&&e&&-1!==eu.findIndex(t=>E(e,t)))return;let n=eS.findIndex(e=>E(e,t));-1===n?eR({diff:"reset"}):ew({index:n});return}if(ei.current>=eS.length-1)return void ew({index:eS.length-1});ew({index:ei.current})}},[eS.length,!H&&eu,R,eR,ew,ex,ep,H]),eC=(0,d.A)(e=>{(0,g.A)(et,e),e&&eO()});a.useEffect(()=>{eO()},[eO]);let eL=e=>{!em&&(eb(!0),ey(!0),B&&B(e))},eM=(e,t)=>{em&&(eb(!1),W&&W(e,t))},ej=(e,t,n,o)=>{if(H){if(eu.length===t.length&&eu.every((e,n)=>e===t[n]))return}else if(eu===t)return;_&&_(e,t,n,o),es(t)},eT=a.useRef(!1),eD=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"selectOption",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",r=n,a=t;if(H){let e=(a=Array.isArray(eu)?eu.slice():[]).findIndex(e=>E(t,e));-1===e?a.push(t):"freeSolo"!==o&&(a.splice(e,1),r="removeOption")}eh(e,a,r),ej(e,a,r,{option:t}),S||e&&(e.ctrlKey||e.metaKey)||eM(e,r),(!0===i||"touch"===i&&eT.current||"mouse"===i&&!eT.current)&&ee.current.blur()},eN=(e,t)=>{if(!H)return;""===ep&&eM(e,"toggleInput");let n=er;-1===er?""===ep&&"previous"===t&&(n=eu.length-1):((n+="next"===t?1:-1)<0&&(n=0),n===eu.length&&(n=-1)),ea(n=function(e,t){if(-1===e)return -1;let n=e;for(;;){if("next"===t&&n===eu.length||"previous"===t&&-1===n)return -1;let e=en.querySelector('[data-tag-index="'.concat(n,'"]'));if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t)),eI(n)},ez=e=>{Z.current=!0,ed(""),F&&F(e,"","clear"),ej(e,H?[]:null,"clear")},eE=e=>{ef(!0),q&&!Z.current&&eL(e)},eH=e=>{if(t(et))return void ee.current.focus();ef(!1),$.current=!0,Z.current=!1,l&&-1!==ei.current&&ex?eD(e,eS[ei.current],"blur"):l&&O&&""!==ep?eD(e,ep,"blur","freeSolo"):c&&eh(e,eu,"blur"),eM(e,"blur")},e_=e=>{let t=e.target.value;ep!==t&&(ed(t),ey(!1),F&&F(e,t,"input")),""===t?x||H||ej(e,null,"clear"):eL(e)},eW=e=>{let t=Number(e.currentTarget.getAttribute("data-option-index"));ei.current!==t&&ew({event:e,index:t,reason:"mouse"})},eV=e=>{ew({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),eT.current=!0},eF=e=>{let t=Number(e.currentTarget.getAttribute("data-option-index"));eD(e,eS[t],"selectOption"),eT.current=!1},eB=e=>{em?eM(e,"toggleInput"):eL(e)},eU=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Q&&e.preventDefault()},eq=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),X&&$.current&&ee.current.selectionEnd-ee.current.selectionStart==0&&ee.current.select(),$.current=!1)},eG=e=>{k||""!==ep&&em||eB(e)},eK=O&&ep.length>0;eK=eK||(H?eu.length>0:null!==eu);let eX=eS;return j&&(eX=eS.reduce((e,t,n)=>{let o=j(t);return e.length>0&&e[e.length-1].group===o?e[e.length-1].options.push(t):e.push({key:n,index:n,group:o,options:[t]}),e},[])),k&&eg&&eH(),{getRootProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,onKeyDown:t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===er||["ArrowLeft","ArrowRight"].includes(t.key)||(ea(-1),eI(-1)),229!==t.which))switch(t.key){case"Home":ex&&T&&(t.preventDefault(),eR({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":ex&&T&&(t.preventDefault(),eR({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),eR({diff:-5,direction:"previous",reason:"keyboard",event:t}),eL(t);break;case"PageDown":t.preventDefault(),eR({diff:5,direction:"next",reason:"keyboard",event:t}),eL(t);break;case"ArrowDown":t.preventDefault(),eR({diff:1,direction:"next",reason:"keyboard",event:t}),eL(t);break;case"ArrowUp":t.preventDefault(),eR({diff:-1,direction:"previous",reason:"keyboard",event:t}),eL(t);break;case"ArrowLeft":eN(t,"previous");break;case"ArrowRight":eN(t,"next");break;case"Enter":if(-1!==ei.current&&ex){let e=eS[ei.current],n=!!C&&C(e);if(t.preventDefault(),n)return;eD(t,e,"selectOption"),o&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else O&&""!==ep&&!1===eA&&(H&&t.preventDefault(),eD(t,ep,"createOption","freeSolo"));break;case"Escape":ex?(t.preventDefault(),t.stopPropagation(),eM(t,"escape")):f&&(""!==ep||H&&eu.length>0)&&(t.preventDefault(),t.stopPropagation(),ez(t));break;case"Backspace":if(H&&!K&&""===ep&&eu.length>0){let e=-1===er?eu.length-1:er,n=eu.slice();n.splice(e,1),ej(t,n,"removeOption",{option:eu[e]})}break;case"Delete":if(H&&!K&&""===ep&&eu.length>0&&-1!==er){let e=eu.slice();e.splice(er,1),ej(t,e,"removeOption",{option:eu[er]})}}},onMouseDown:eU,onClick:eq}},getInputLabelProps:()=>({id:"".concat(Q,"-label"),htmlFor:Q}),getInputProps:()=>({id:Q,value:ep,onBlur:eH,onFocus:eE,onChange:e_,onMouseDown:eG,"aria-activedescendant":ex?"":null,"aria-autocomplete":o?"both":"list","aria-controls":eP?"".concat(Q,"-listbox"):void 0,"aria-expanded":eP,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:k}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:ez}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:eB}),getTagProps:e=>{let{index:t}=e;return{key:t,"data-tag-index":t,tabIndex:-1,...!K&&{onDelete:e=>{let n=eu.slice();n.splice(t,1),ej(e,n,"removeOption",{option:eu[t]})}}}},getListboxProps:()=>({role:"listbox",id:"".concat(Q,"-listbox"),"aria-labelledby":"".concat(Q,"-label"),ref:eC,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:e=>{var t;let{index:n,option:o}=e,r=(H?eu:[eu]).some(e=>null!=e&&E(o,e)),a=!!C&&C(o);return{key:null!=(t=null==L?void 0:L(o))?t:Y(o),tabIndex:-1,role:"option",id:"".concat(Q,"-option-").concat(n),onMouseMove:eW,onClick:eF,onTouchStart:eV,"data-option-index":n,"aria-disabled":a,"aria-selected":r}},id:Q,inputValue:ep,value:eu,dirty:eK,expanded:ex&&en,popupOpen:ex,focused:eg||-1!==er,anchorEl:en,setAnchorEl:eo,focusedTag:er,groupedOptions:eX}};var A=n(3004),x=n(48116),S=n(66964),k=n(16625),P=n(81852),I=n(85795),w=n(95195);function R(e){return(0,w.Ay)("MuiListSubheader",e)}(0,I.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var O=n(95155);let C=(0,x.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color".concat((0,P.A)(n.color))],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((0,S.A)(e=>{let{theme:t}=e;return{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(t.vars||t).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:e=>{let{ownerState:t}=e;return!t.disableGutters},style:{paddingLeft:16,paddingRight:16}},{props:e=>{let{ownerState:t}=e;return t.inset},style:{paddingLeft:72}},{props:e=>{let{ownerState:t}=e;return!t.disableSticky},style:{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper}}]}})),L=a.forwardRef(function(e,t){let n=(0,k.b)({props:e,name:"MuiListSubheader"}),{className:o,color:r="default",component:a="li",disableGutters:c=!1,disableSticky:u=!1,inset:s=!1,...p}=n,d={...n,color:r,component:a,disableGutters:c,disableSticky:u,inset:s},g=(e=>{let{classes:t,color:n,disableGutters:o,inset:r,disableSticky:a}=e,l={root:["root","default"!==n&&"color".concat((0,P.A)(n)),!o&&"gutters",r&&"inset",!a&&"sticky"]};return(0,i.A)(l,R,t)})(d);return(0,O.jsx)(C,{as:a,className:(0,l.A)(g.root,o),ref:t,ownerState:d,...p})});L&&(L.muiSkipListHighlight=!0);var M=n(2300),j=n(41983),T=n(28548),D=n(40353),N=n(13693),z=n(44877),E=n(81781),H=n(57908),_=n(10556);function W(e){return(0,w.Ay)("MuiAutocomplete",e)}let V=(0,I.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var F=n(77765);let B=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e,{fullWidth:o,hasClearIcon:r,hasPopupIcon:a,inputFocused:l,size:i}=n;return[{["& .".concat(V.tag)]:t.tag},{["& .".concat(V.tag)]:t["tagSize".concat((0,P.A)(i))]},{["& .".concat(V.inputRoot)]:t.inputRoot},{["& .".concat(V.input)]:t.input},{["& .".concat(V.input)]:l&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,r&&t.hasClearIcon]}})({["&.".concat(V.focused," .").concat(V.clearIndicator)]:{visibility:"visible"},"@media (pointer: fine)":{["&:hover .".concat(V.clearIndicator)]:{visibility:"visible"}},["& .".concat(V.tag)]:{margin:3,maxWidth:"calc(100% - 6px)"},["& .".concat(V.inputRoot)]:{[".".concat(V.hasPopupIcon,"&, .").concat(V.hasClearIcon,"&")]:{paddingRight:30},[".".concat(V.hasPopupIcon,".").concat(V.hasClearIcon,"&")]:{paddingRight:56},["& .".concat(V.input)]:{width:0,minWidth:30}},["& .".concat(D.A.root)]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},["& .".concat(D.A.root,".").concat(N.A.sizeSmall)]:{["& .".concat(D.A.input)]:{padding:"2px 4px 3px 0"}},["& .".concat(z.A.root)]:{padding:9,[".".concat(V.hasPopupIcon,"&, .").concat(V.hasClearIcon,"&")]:{paddingRight:39},[".".concat(V.hasPopupIcon,".").concat(V.hasClearIcon,"&")]:{paddingRight:65},["& .".concat(V.input)]:{padding:"7.5px 4px 7.5px 5px"},["& .".concat(V.endAdornment)]:{right:9}},["& .".concat(z.A.root,".").concat(N.A.sizeSmall)]:{paddingTop:6,paddingBottom:6,paddingLeft:6,["& .".concat(V.input)]:{padding:"2.5px 4px 2.5px 8px"}},["& .".concat(E.A.root)]:{paddingTop:19,paddingLeft:8,[".".concat(V.hasPopupIcon,"&, .").concat(V.hasClearIcon,"&")]:{paddingRight:39},[".".concat(V.hasPopupIcon,".").concat(V.hasClearIcon,"&")]:{paddingRight:65},["& .".concat(E.A.input)]:{padding:"7px 4px"},["& .".concat(V.endAdornment)]:{right:9}},["& .".concat(E.A.root,".").concat(N.A.sizeSmall)]:{paddingBottom:1,["& .".concat(E.A.input)]:{padding:"2.5px 4px"}},["& .".concat(N.A.hiddenLabel)]:{paddingTop:8},["& .".concat(E.A.root,".").concat(N.A.hiddenLabel)]:{paddingTop:0,paddingBottom:0,["& .".concat(V.input)]:{paddingTop:16,paddingBottom:17}},["& .".concat(E.A.root,".").concat(N.A.hiddenLabel,".").concat(N.A.sizeSmall)]:{["& .".concat(V.input)]:{paddingTop:8,paddingBottom:9}},["& .".concat(V.input)]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{["& .".concat(V.tag)]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{["& .".concat(V.input)]:{opacity:1}}},{props:{multiple:!0},style:{["& .".concat(V.inputRoot)]:{flexWrap:"wrap"}}}]}),U=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),q=(0,x.Ay)(j.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),G=(0,x.Ay)(j.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),K=(0,x.Ay)(A.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{["& .".concat(V.option)]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((0,S.A)(e=>{let{theme:t}=e;return{zIndex:(t.vars||t).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}})),X=(0,x.Ay)(M.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((0,S.A)(e=>{let{theme:t}=e;return{...t.typography.body1,overflow:"auto"}})),J=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((0,S.A)(e=>{let{theme:t}=e;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),Q=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((0,S.A)(e=>{let{theme:t}=e;return{color:(t.vars||t).palette.text.secondary,padding:"14px 16px"}})),Y=(0,x.Ay)("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((0,S.A)(e=>{let{theme:t}=e;return{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",["& .".concat(V.option)]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[t.breakpoints.up("sm")]:{minHeight:"auto"},["&.".concat(V.focused)]:{backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},["&.".concat(V.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(V.focused)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(t.vars||t).palette.action.selected}},["&.".concat(V.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,c.X4)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}}}})),Z=(0,x.Ay)(L,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((0,S.A)(e=>{let{theme:t}=e;return{backgroundColor:(t.vars||t).palette.background.paper,top:-8}})),$=(0,x.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,["& .".concat(V.option)]:{paddingLeft:24}}),ee=a.forwardRef(function(e,t){let n,c=(0,k.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:u=!1,autoHighlight:s=!1,autoSelect:p=!1,blurOnSelect:d=!1,ChipProps:g,className:f,clearIcon:h=o||(o=(0,O.jsx)(H.A,{fontSize:"small"})),clearOnBlur:m=!c.freeSolo,clearOnEscape:b=!1,clearText:v="Clear",closeText:x="Close",componentsProps:S,defaultValue:I=c.multiple?[]:null,disableClearable:w=!1,disableCloseOnSelect:R=!1,disabled:C=!1,disabledItemsFocusable:L=!1,disableListWrap:j=!1,disablePortal:D=!1,filterOptions:N,filterSelectedOptions:z=!1,forcePopupIcon:E="auto",freeSolo:V=!1,fullWidth:ee=!1,getLimitTagsText:et=e=>"+".concat(e),getOptionDisabled:en,getOptionKey:eo,getOptionLabel:er,isOptionEqualToValue:ea,groupBy:el,handleHomeEndKeys:ei=!c.freeSolo,id:ec,includeInputInList:eu=!1,inputValue:es,limitTags:ep=-1,ListboxComponent:ed,ListboxProps:eg,loading:ef=!1,loadingText:eh="Loading…",multiple:em=!1,noOptionsText:eb="No options",onChange:ev,onClose:ey,onHighlightChange:eA,onInputChange:ex,onOpen:eS,open:ek,openOnFocus:eP=!1,openText:eI="Open",options:ew,PaperComponent:eR,PopperComponent:eO,popupIcon:eC=r||(r=(0,O.jsx)(_.A,{})),readOnly:eL=!1,renderGroup:eM,renderInput:ej,renderOption:eT,renderTags:eD,selectOnFocus:eN=!c.freeSolo,size:ez="medium",slots:eE={},slotProps:eH={},value:e_,...eW}=c,{getRootProps:eV,getInputProps:eF,getInputLabelProps:eB,getPopupIndicatorProps:eU,getClearProps:eq,getTagProps:eG,getListboxProps:eK,getOptionProps:eX,value:eJ,dirty:eQ,expanded:eY,id:eZ,popupOpen:e$,focused:e1,focusedTag:e0,anchorEl:e5,setAnchorEl:e4,inputValue:e2,groupedOptions:e6}=y({...c,componentName:"Autocomplete"}),e3=!w&&!C&&eQ&&!eL,e8=(!V||!0===E)&&!1!==E,{onMouseDown:e7}=eF(),{ref:e9,...te}=eK(),tt=er||(e=>{var t;return null!=(t=e.label)?t:e}),tn={...c,disablePortal:D,expanded:eY,focused:e1,fullWidth:ee,getOptionLabel:tt,hasClearIcon:e3,hasPopupIcon:e8,inputFocused:-1===e0,popupOpen:e$,size:ez},to=(e=>{let{classes:t,disablePortal:n,expanded:o,focused:r,fullWidth:a,hasClearIcon:l,hasPopupIcon:c,inputFocused:u,popupOpen:s,size:p}=e,d={root:["root",o&&"expanded",r&&"focused",a&&"fullWidth",l&&"hasClearIcon",c&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",u&&"inputFocused"],tag:["tag","tagSize".concat((0,P.A)(p))],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",s&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,i.A)(d,W,t)})(tn),tr={slots:{paper:eR,popper:eO,...eE},slotProps:{chip:g,listbox:eg,...S,...eH}},[ta,tl]=(0,F.A)("listbox",{elementType:Y,externalForwardedProps:tr,ownerState:tn,className:to.listbox,additionalProps:te,ref:e9}),[ti,tc]=(0,F.A)("paper",{elementType:M.A,externalForwardedProps:tr,ownerState:tn,className:to.paper}),[tu,ts]=(0,F.A)("popper",{elementType:A.A,externalForwardedProps:tr,ownerState:tn,className:to.popper,additionalProps:{disablePortal:D,style:{width:e5?e5.clientWidth:null},role:"presentation",anchorEl:e5,open:e$}});if(em&&eJ.length>0){let e=e=>({className:to.tag,disabled:C,...eG(e)});n=eD?eD(eJ,e,tn):eJ.map((t,n)=>{let{key:o,...r}=e({index:n});return(0,O.jsx)(T.A,{label:tt(t),size:ez,...r,...tr.slotProps.chip},o)})}if(ep>-1&&Array.isArray(n)){let e=n.length-ep;!e1&&e>0&&(n=n.splice(0,ep)).push((0,O.jsx)("span",{className:to.tag,children:et(e)},n.length))}let tp=eM||(e=>(0,O.jsxs)("li",{children:[(0,O.jsx)(Z,{className:to.groupLabel,ownerState:tn,component:"div",children:e.group}),(0,O.jsx)($,{className:to.groupUl,ownerState:tn,children:e.children})]},e.key)),td=eT||((e,t)=>{let{key:n,...o}=e;return(0,O.jsx)("li",{...o,children:tt(t)},n)}),tg=(e,t)=>{let n=eX({option:e,index:t});return td({...n,className:to.option},e,{selected:n["aria-selected"],index:t,inputValue:e2},tn)},tf=tr.slotProps.clearIndicator,th=tr.slotProps.popupIndicator;return(0,O.jsxs)(a.Fragment,{children:[(0,O.jsx)(B,{ref:t,className:(0,l.A)(to.root,f),ownerState:tn,...eV(eW),children:ej({id:eZ,disabled:C,fullWidth:!0,size:"small"===ez?"small":void 0,InputLabelProps:eB(),InputProps:{ref:e4,className:to.inputRoot,startAdornment:n,onMouseDown:e=>{e.target===e.currentTarget&&e7(e)},...(e3||e8)&&{endAdornment:(0,O.jsxs)(U,{className:to.endAdornment,ownerState:tn,children:[e3?(0,O.jsx)(q,{...eq(),"aria-label":v,title:v,ownerState:tn,...tf,className:(0,l.A)(to.clearIndicator,null==tf?void 0:tf.className),children:h}):null,e8?(0,O.jsx)(G,{...eU(),disabled:C,"aria-label":e$?x:eI,title:e$?x:eI,ownerState:tn,...th,className:(0,l.A)(to.popupIndicator,null==th?void 0:th.className),children:eC}):null]})}},inputProps:{className:to.input,disabled:C,readOnly:eL,...eF()}})}),e5?(0,O.jsx)(K,{as:tu,...ts,children:(0,O.jsxs)(X,{as:ti,...tc,children:[ef&&0===e6.length?(0,O.jsx)(J,{className:to.loading,ownerState:tn,children:eh}):null,0!==e6.length||V||ef?null:(0,O.jsx)(Q,{className:to.noOptions,ownerState:tn,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:eb}),e6.length>0?(0,O.jsx)(ta,{as:ed,...tl,children:e6.map((e,t)=>el?tp({key:e.key,group:e.group,children:e.options.map((t,n)=>tg(t,e.index+n))}):tg(e,t))}):null]})}):null]})})},64054:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return i}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class o{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let r="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return r?new r:new o}function l(e){return r?r.bind(e):o.bind(e)}function i(){return r?r.snapshot():function(e,...t){return e(...t)}}},89623:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(36697),r=n(95155);let a=(0,o.A)((0,r.jsx)("path",{d:"M19.8 18.4 14 10.67V6.5l1.35-1.69c.26-.33.03-.81-.39-.81H9.04c-.42 0-.65.48-.39.81L10 6.5v4.17L4.2 18.4c-.49.66-.02 1.6.8 1.6h14c.82 0 1.29-.94.8-1.6"}),"Science")}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9164],{1877:(e,t,a)=>{a.d(t,{xc:()=>r,yo:()=>o});let n=["key","secret","token","password"],r=e=>n.some(t=>e.toLowerCase().includes(t)),o=e=>{if(!e)return e;if(e.includes("_-_-_")){let t=e.split("_-_-_");return 3===t.length?t[2]:e}let t=/^mcp_(.+)_[0-9a-z]+$/.exec(e);if(t&&t[1])return t[1];let a=e.indexOf("__");return a>0&&a+2<e.length?e.slice(a+2):e}},9164:(e,t,a)=>{a.r(t),a.d(t,{StorageProvider:()=>d,default:()=>y,useStorage:()=>l});var n=a(95155),r=a(12115),o=a(29692),i=a(1877);let s=(0,a(87021).h)("frontend/contexts/StorageContext"),c=(0,r.createContext)({setKey:async()=>{},changeKey:async()=>!1,verifyKey:async()=>!1,isEncryptionInitialized:async()=>!1,globalEnvVars:{},setGlobalEnvVars:async()=>{},deleteGlobalEnvVar:async()=>{},encryptValue:async()=>null,decryptValue:async()=>null,isUserEncryptionEnabled:async()=>!1,isLoading:!0,settings:{speech:{enabled:!0},update:{checkOnStartup:!1}},updateSettings:async()=>{}}),l=()=>(0,r.useContext)(c),d=e=>{let{children:t}=e,[a,l]=(0,r.useState)(!1),[d,y]=(0,r.useState)({}),[u,p]=(0,r.useState)({speech:{enabled:!0},update:{checkOnStartup:!1}}),h=(0,r.useCallback)(async()=>{s.debug("isEncryptionInitialized: Entering method");try{let e=await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"check_initialized"})});if(!e.ok)throw Error("Failed to check encryption status");let t=await e.json();return!0===t.initialized}catch(e){return s.warn("isEncryptionInitialized: Failed to check encryption status:",e),!1}},[]),g=(0,r.useCallback)(async e=>{s.debug("setKey: Entering method");try{if(!(await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"initialize",password:e})})).ok)throw Error("Failed to set encryption key")}catch(e){s.warn("setKey: Failed to set encryption key:",e)}},[]),f=(0,r.useCallback)(async(e,t)=>{s.debug("changeKey: Entering method");try{let a=await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"change_password",oldPassword:e,newPassword:t})});if(!a.ok)throw Error("Failed to change encryption key");let n=await a.json();if(n.success&&sessionStorage.getItem("encryption_token")){let e=await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"authenticate",password:t})});if(e.ok){let t=await e.json();t.success&&t.token&&(sessionStorage.setItem("encryption_token",t.token),sessionStorage.setItem("encryption_authenticated","true"),sessionStorage.removeItem("encryption_key"))}}return!0===n.success}catch(e){return s.warn("changeKey: Failed to change encryption key:",e),!1}},[]),E=(0,r.useCallback)(async e=>{s.debug("verifyKey: Entering method");try{let t=await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"verify_password",password:e})});if(!t.ok)throw Error("Failed to verify encryption key");let a=await t.json();return a.valid&&a.token&&(sessionStorage.setItem("encryption_token",a.token),sessionStorage.setItem("encryption_authenticated","true"),sessionStorage.removeItem("encryption_key")),!0===a.valid}catch(e){return s.warn("verifyKey: Failed to verify encryption key:",e),!1}},[]);(0,r.useEffect)(()=>{(async()=>{s.debug("loadData: Entering method");try{s.info("Calling initialization API to verify storage");let e=await fetch("/api/init");if(e.ok)s.info("Storage initialization completed successfully");else{let t=await e.json();s.warn("Storage initialization warning:",t.error)}await h()||await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"initialize_default"})});let t=await fetch("/api/env?includeSecrets=false");if(t.ok){let e=await t.json();s.debug("Loaded environment variables",{count:Object.keys(e.variables||{}).length}),y(e.variables||{})}else s.error("loadData: Failed to load environment variables"),y({});let a=await (0,o.YM)(o.Zg.SPEECH_SETTINGS,{speech:{enabled:!0},update:{checkOnStartup:!1}});s.debug("Loaded settings from storage",{settings:a}),p(a),l(!0)}catch(e){s.error("loadData: Error loading data:",e),l(!0)}})()},[h]);let S=(0,r.useCallback)(async(e,t)=>{s.debug("encryptValue: Entering method");try{let a=sessionStorage.getItem("encryption_token"),n=sessionStorage.getItem("encryption_key"),r={action:"encrypt",data:e};a?r.token=a:t?r.password=t:n&&(r.password=n);let o=await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!o.ok)throw Error("Failed to encrypt value");return(await o.json()).result}catch(e){return s.warn("encryptValue: Failed to encrypt value:",e),null}},[]),b=(0,r.useCallback)(async(e,t)=>(s.debug("decryptValue: Entering method - THIS METHOD IS DEPRECATED"),s.warn("decryptValue: Frontend decryption is deprecated for security reasons"),null),[]),w=(0,r.useCallback)(async()=>{s.debug("isUserEncryptionEnabled: Entering method");try{let e=await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"check_user_encryption"})});if(!e.ok)throw Error("Failed to check user encryption status");let t=await e.json();return!0===t.userEncryption}catch(e){return s.warn("isUserEncryptionEnabled: Failed to check user encryption status:",e),!1}},[]),v=(0,r.useCallback)(async e=>{s.debug("setGlobalEnvVars: Entering method");try{await h()||await fetch("/api/encryption/secure",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"initialize_default"})});let t=await fetch("/api/env",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"setAll",variables:e})});if(!t.ok){let e=await t.json();s.error("setGlobalEnvVars: Failed to set environment variables:",e.error);return}let a={};for(let[t,n]of Object.entries(e)){let e="object"==typeof n&&null!==n&&"value"in n?n.value:n,r="object"==typeof n&&null!==n&&"metadata"in n?n.metadata:{isSecret:(0,i.xc)(t)};r.isSecret?a[t]={value:"********",metadata:r}:a[t]={value:e,metadata:r}}y(a)}catch(e){s.error("setGlobalEnvVars: Error setting environment variables:",e)}},[h]),k=(0,r.useCallback)(async e=>{s.debug("deleteGlobalEnvVar: Deleting environment variable: ".concat(e));try{let t=await fetch("/api/env",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"delete",key:e})});if(!t.ok){let e=await t.json();s.error("deleteGlobalEnvVar: Failed to delete environment variable:",e.error);return}y(t=>{let a={...t};return delete a[e],a})}catch(e){s.error("deleteGlobalEnvVar: Error deleting environment variable:",e)}},[]),m=(0,r.useCallback)(async e=>{s.debug("updateSettings: Updating settings",{newSettings:e});try{await (0,o.VH)(o.Zg.SPEECH_SETTINGS,e),p(e)}catch(e){s.error("updateSettings: Error updating settings:",e)}},[]);return(0,n.jsx)(c.Provider,{value:{setKey:g,changeKey:f,verifyKey:E,isEncryptionInitialized:h,globalEnvVars:d,setGlobalEnvVars:v,deleteGlobalEnvVar:k,encryptValue:S,decryptValue:b,isUserEncryptionEnabled:w,isLoading:!a,settings:u,updateSettings:m},children:t})},y=c},27156:(e,t,a)=>{a.d(t,{Z:()=>n});var n=function(e){return e.MODELS="models",e.FLOWS="flows",e.CHAT_HISTORY="history",e.THEME="theme",e.ENCRYPTION_KEY="encryption_key",e.MCP_SERVERS="mcp_servers",e.GLOBAL_ENV_VARS="global_env_vars",e.CURRENT_CONVERSATION_ID="current_conversation_id",e.SELECTED_FLOW_ID="selected_flow_id",e.SPEECH_SETTINGS="speech_settings",e.SPOTLIGHT_SERVERS="spotlight_servers",e.PLANNED_EXECUTIONS="planned_executions",e}({})},29692:(e,t,a)=>{a.d(t,{Zg:()=>n.Z,YM:()=>c,VH:()=>s,Mj:()=>i});var n=a(27156),r=a(12115);let o=(0,a(87021).h)("utils/storage/frontend.ts");function i(e,t){o.verbose("useLocalStorage: Entering method");let[a,n]=(0,r.useState)(t),[i,s]=(0,r.useState)(!0),c=(0,r.useRef)(a);return(0,r.useEffect)(()=>{c.current=a},[a]),(0,r.useEffect)(()=>{(async()=>{o.verbose("loadValue: Entering method");try{let a=await fetch("/api/storage?key=".concat(encodeURIComponent(e),"&defaultValue=").concat(encodeURIComponent(JSON.stringify(t)))),r=await a.json();a.ok&&n(r.value)}catch(t){o.warn('Error reading storage key "'.concat(e,'":'),t)}finally{s(!1)}})()},[e]),[a,(0,r.useCallback)(async t=>{o.verbose("setValue: Entering method");try{let a=t instanceof Function?t(c.current):t;if(n(a),!(await fetch("/api/storage",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,value:a})})).ok)throw Error("Failed to save value")}catch(t){o.warn('Error setting storage key "'.concat(e,'":'),t)}},[e]),i]}let s=async(e,t)=>{o.verbose("saveItem: Entering method");try{if(!(await fetch("/api/storage",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,value:t})})).ok)throw Error("Failed to save item")}catch(e){throw o.error("Error saving to storage:",e),e}},c=async(e,t)=>{o.verbose("loadItem: Entering method");try{let a=await fetch("/api/storage?key=".concat(encodeURIComponent(e),"&defaultValue=").concat(encodeURIComponent(JSON.stringify(t))));if(!a.ok)throw Error("Failed to load item");return(await a.json()).value}catch(e){return o.error("Error loading from storage:",e),t}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{69195:(e,t,o)=>{o.r(t),o.d(t,{TourProvider:()=>c,useTour:()=>s});var a=o(95155),n=o(12115),r=o(9164),l=o(77326);let d=(0,o(87021).h)("frontend/contexts/TourContext"),i=(0,n.createContext)({isActive:!1,stepIndex:0,startTour:()=>{},next:()=>{},back:()=>{},endTour:()=>{}}),s=()=>(0,n.useContext)(i),c=e=>{var t;let{children:o}=e,{settings:s,updateSettings:c,isLoading:u}=(0,r.useStorage)(),[h,m]=(0,n.useState)(!1),[p,g]=(0,n.useState)(0),b=(0,n.useRef)(!1),f=(0,n.useCallback)(()=>{var e;c({...s,onboarding:{...null!=(e=s.onboarding)?e:{},completed:!0}}).catch(e=>d.warn("Failed to persist onboarding completion",e))},[s,c]),y=(0,n.useCallback)(()=>{d.info("Starting guided tour"),g(0),m(!0)},[]),v=(0,n.useCallback)(()=>{d.info("Ending guided tour"),m(!1),f()},[f]),w=(0,n.useCallback)(()=>{g(e=>e>=l.$.length-1?(m(!1),f(),e):e+1)},[f]),k=(0,n.useCallback)(()=>{g(e=>Math.max(0,e-1))},[]);return(0,n.useEffect)(()=>{var e;u||b.current||(b.current=!0,(null==(e=s.onboarding)?void 0:e.completed)!==!0&&(d.info("First run detected — auto-starting guided tour"),y()))},[u,null==(t=s.onboarding)?void 0:t.completed,y]),(0,a.jsx)(i.Provider,{value:{isActive:h,stepIndex:p,startTour:y,next:w,back:k,endTour:v},children:o})}},77326:(e,t,o)=>{o.d(t,{$:()=>a});let a=[{id:"welcome",path:"/",placement:"center",title:"Welcome to FLUJO \uD83D\uDC4B",body:"This quick tour walks you through going from zero to a running AI flow.\n\nYou'll add a model, connect a tool server, build a flow, and run it in chat. It takes about a minute — you can skip any time."},{id:"add-model",path:"/models",target:'[data-tour="add-model"]',placement:"bottom",title:"1. Add a model",body:'FLUJO needs at least one AI model to think with. Click "Add Model" to configure one.\n\nTip: an OpenRouter API key gives you access to several free models — paste the key, name the model, pick a free one, and add a custom instruction.'},{id:"add-mcp-server",path:"/mcp",target:'[data-tour="add-mcp-server"]',placement:"bottom",title:"2. Connect a tool server (MCP)",body:'MCP servers give your model real tools — file access, image generation, web search, and more.\n\nClick "Add Server" and install the "Everything" reference server to try the full range of capabilities while you learn.'},{id:"new-flow",path:"/flows",target:'[data-tour="new-flow"]',placement:"bottom",title:"3. Build a flow",body:'A flow wires everything together. Click "New Flow" to open the builder.\n\nConnect Start → Process → Finish, attach your model to the Process node, and bind the Everything MCP server so the model can use its tools.'},{id:"chat-input",path:"/chat",target:'[data-tour="chat-input"]',placement:"top",title:"4. Run it in chat",body:"Pick your flow from the selector, then send a message here.\n\nTry asking it to generate an image with the MCP server and tell you a joke — you'll see the flow execute live, step by step."},{id:"docs",path:"/chat",target:'[data-tour="nav-docs"]',placement:"bottom",title:"Need the API?",body:"FLUJO exposes an OpenAI-compatible API and a full REST surface. The Docs page lists every endpoint with its method, parameters, and response shape.\n\nYou can re-run this tour any time from Settings → Onboarding."},{id:"finish",path:"/chat",placement:"center",title:"You're all set \uD83C\uDF89",body:"That's the whole loop: models, tools, flows, and chat.\n\nExplore at your own pace — and remember the Docs page and Settings are there when you need them."}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9040],{11947:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var n=a(19868),s=a(89505);function o(e){let{props:t,name:a,defaultTheme:o,themeId:r}=e,i=(0,s.A)(o);return r&&(i=i[r]||i),(0,n.A)({theme:i,name:a,props:t})}},19868:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var n=a(37821);function s(e){let{theme:t,name:a,props:s}=e;return t&&t.components&&t.components[a]&&t.components[a].defaultProps?(0,n.A)(t.components[a].defaultProps,s):s}},27127:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>E});var n=a(95155),s=a(94049),o=a(12115),r=a(28548),i=a(2300),d=a(25635),l=a(97322),p=a(9562),c=a(56422),m=a(21067),u=a(32683),h=a(51611);let y=[{id:"openai",name:"Chat — OpenAI-compatible",description:'A drop-in OpenAI-compatible surface. In OpenAI-compatible clients (Roo Code, Cline, Cursor, the OpenAI SDK, …) set the Base URL to this instance + "/v1" (e.g. http://localhost:4200/v1) and the model to a flow id (format flow-<NAME>, as listed by /v1/models).',endpoints:[{method:"POST",alsoMethods:["GET","OPTIONS"],path:"/v1/chat/completions",summary:"OpenAI-compatible chat completion. Runs a FLUJO flow as the model. Supports streaming and non-streaming. CORS-enabled; rate-limited (~6000 req/min).",paramsLabel:"Body",params:[{name:"model",type:"string",required:!0,description:"Flow to run, as flow-<NAME>."},{name:"messages",type:"ChatMessage[]",required:!0,description:"Conversation messages (OpenAI shape)."},{name:"stream",type:"boolean",description:"Stream the response as SSE chunks."},{name:"flujo",type:"boolean",description:"Enable FLUJO-specific behavior."},{name:"conversation_id",type:"string",description:"Reuse/continue an existing conversation."},{name:"requireApproval",type:"boolean",description:"Pause for manual tool-call approval."},{name:"flujodebug",type:"boolean",description:"Run in the visual debugger (single-step)."}],response:"OpenAI ChatCompletion object, or an SSE stream of chunks when stream=true."},{method:"GET",path:"/v1/models",summary:"List all flows as OpenAI-style models.",response:'{ object: "list", data: [{ id: "flow-<NAME>", object: "model" }, ...] }'}]},{id:"conversations",name:"Conversations & Execution",description:"Manage conversations and drive flow execution: live event streaming (SSE), tool-call approval, cancellation, and visual-debugger stepping.",endpoints:[{method:"GET",path:"/v1/chat/conversations",summary:"List all conversations (id, title, flowId, createdAt, updatedAt, status), newest first.",response:"Conversation summary array."},{method:"POST",path:"/v1/chat/conversations",summary:"Create a new conversation and initialize its execution state.",paramsLabel:"Body",params:[{name:"id",type:"string",required:!0,description:"Client-generated conversation id."},{name:"title",type:"string",required:!0,description:"Display title."},{name:"flowId",type:"string",required:!0,description:"Flow bound to this conversation."},{name:"createdAt",type:"number",required:!0,description:"Unix ms timestamp."},{name:"updatedAt",type:"number",required:!0,description:"Unix ms timestamp."}]},{method:"GET",alsoMethods:["PATCH","DELETE"],path:"/v1/chat/conversations/{conversationId}",summary:"GET the displayed conversation (messages + metadata); PATCH updates flowId; DELETE removes the conversation and its event log.",paramsLabel:"Body",params:[{name:"flowId",type:"string",description:"New flow id (PATCH only)."}],response:"Conversation with messages, plus usage (token totals, per-node breakdown), status, and contextInfo (latest prompt-token count + the bound model's context window — what the chat token counter and context meter display).",notes:["Messages are a projection of the append-only conversation log when one exists (legacy conversations without a log are served as stored). Node system prompts are never included.","Subflow steps appear inline as depth-tagged, display-only messages (nested in the chat UI); they are never part of the parent's model context."]},{method:"GET",path:"/v1/chat/conversations/{conversationId}/events",summary:"Server-Sent Events stream of execution events (node:enter/exit, message, usage, run:*). Supports Last-Event-ID reconnect.",paramsLabel:"Query",params:[{name:"fromSeq",type:"number",description:"Replay events from this sequence number."}],response:"text/event-stream of ExecutionEvent objects with monotonic seq ids."},{method:"POST",path:"/v1/chat/conversations/{conversationId}/respond",summary:"Approve or reject a pending tool call; resumes execution when all pending calls are handled.",paramsLabel:"Body",params:[{name:"action",type:'"approve" | "reject"',required:!0,description:"Decision for the tool call."},{name:"toolCallId",type:"string",required:!0,description:"Which pending tool call."}]},{method:"POST",path:"/v1/chat/conversations/{conversationId}/cancel",summary:"Request cancellation of an in-progress run (sets the isCancelled flag)."},{method:"PUT",path:"/v1/chat/conversations/{conversationId}/breakpoints",summary:"Set the visual-debugger breakpoint node ids.",paramsLabel:"Body",params:[{name:"breakpoints",type:"string[]",required:!0,description:"Node ids to break on."}]},{method:"POST",path:"/v1/chat/conversations/{conversationId}/debug/step",summary:"Execute exactly one productive step (only when status is paused_debug); pauses after advancing."},{method:"POST",path:"/v1/chat/conversations/{conversationId}/debug/continue",summary:"Resume a debug session — run freely to the next pause, tool approval, or completion."},{method:"PATCH",path:"/v1/chat/conversations/{conversationId}/edit-state",summary:"Edit paused debug state (a message's content, or the next node to run). Only when paused_debug.",paramsLabel:"Body",params:[{name:"messageId",type:"string",description:"Message to edit."},{name:"content",type:"string",description:"New message content."},{name:"currentNodeId",type:"string",description:"Override the next node."}]}]},{id:"model",name:"Models",description:"CRUD for model configurations and provider model discovery. API keys are encrypted at rest and never returned to the browser in clear text.",endpoints:[{method:"GET",alsoMethods:["POST"],path:"/api/model",summary:"GET lists all models; POST creates a model (409 on duplicate name, 201 on success).",paramsLabel:"Body",params:[{name:"model",type:"Model",required:!0,description:"Model config (POST). Secrets are stored encrypted."}],notes:["Stored API keys are masked before reaching the frontend — never expect a clear-text key in a response."]},{method:"GET",alsoMethods:["PUT","DELETE"],path:"/api/model/{id}",summary:"GET / PUT / DELETE a single model. The path id is authoritative on PUT. DELETE returns 204."},{method:"POST",path:"/api/model/provider",summary:"Fetch available models from a provider, using a supplied or stored API key (resolved server-side).",paramsLabel:"Body",params:[{name:"baseUrl",type:"string",required:!0,description:"Provider base URL."},{name:"modelId",type:"string",description:"Existing model whose stored key to reuse."},{name:"searchTerm",type:"string",description:"Filter the returned model list."}],notes:["Accepts an apiKey only inbound to query the provider; keys are never echoed back to the client."]}]},{id:"flow",name:"Flows",description:"CRUD for flow definitions plus prompt rendering for individual nodes.",endpoints:[{method:"GET",alsoMethods:["POST"],path:"/api/flow",summary:"GET lists all flow definitions; POST creates a flow (create-only; 409 if the id exists).",paramsLabel:"Body",params:[{name:"flow",type:"Flow",required:!0,description:"Flow object including id (POST)."}]},{method:"GET",alsoMethods:["PUT","DELETE"],path:"/api/flow/{id}",summary:"GET / PUT / DELETE a single flow. On PUT the path id wins over the body id (404 if missing)."},{method:"POST",path:"/api/flow/prompt-renderer",summary:"Render the assembled prompt for a node within a flow.",paramsLabel:"Body",params:[{name:"flowId",type:"string",required:!0,description:"Flow containing the node."},{name:"nodeId",type:"string",required:!0,description:"Node to render."},{name:"options",type:"object",description:"Render options."}]}]},{id:"planned-executions",name:"Planned Executions",description:"Run flows headlessly on triggers: schedules (cron), inbound webhooks, and more. Managed from the Executions page; each run is recorded in a per-execution run history.",endpoints:[{method:"GET",alsoMethods:["POST","PATCH"],path:"/api/planned-executions",summary:"GET lists all planned executions with live trigger status and last run; POST creates one; PATCH toggles the global pause switch ({ paused: boolean }).",response:"GET: { paused, executions: [{ execution, status, lastRun }] }."},{method:"GET",alsoMethods:["PATCH","DELETE"],path:"/api/planned-executions/{id}",summary:"GET / PATCH / DELETE a single planned execution. PATCH takes a partial config and re-arms the trigger."},{method:"POST",path:"/api/planned-executions/{id}/run",summary:"Run now: fire the execution immediately (even while disabled or paused) and wait for the run.",response:"{ record: RunRecord } with status, output preview, and token usage."},{method:"GET",path:"/api/planned-executions/{id}/runs",summary:"The execution’s run history (newest 100 runs, oldest first)."},{method:"POST",path:"/api/planned-executions/preview-schedule",summary:"Validate a cron pattern and preview its next fire times (editor helper).",paramsLabel:"Body",params:[{name:"cron",type:"string",required:!0,description:"Cron pattern (5 or 6 fields)."},{name:"timezone",type:"string",description:"IANA timezone name."}],response:"{ valid, error?, nextRuns: string[] }."},{method:"POST",path:"/api/webhooks/{id}",summary:"Inbound webhook trigger. Fires the planned execution with the request body as trigger context and responds 202 { runId } immediately (the flow runs in the background). For a synchronous answer use /v1/chat/completions instead.",paramsLabel:"Query",params:[{name:"token",type:"string",required:!0,description:"Per-execution secret (alternatively send the X-Flujo-Token header)."}],notes:["Localhost-only by default; external callers must be explicitly allowed per execution.","The webhook body is untrusted input to the flow — prompts should treat it as data."]}]},{id:"mcp",name:"MCP Servers",description:"Manage MCP server configurations, connection state, tool discovery, and tool invocation.",endpoints:[{method:"GET",alsoMethods:["POST"],path:"/api/mcp/servers",summary:"GET lists all MCP server configs; POST registers a new one (409 on duplicate name).",paramsLabel:"Body",params:[{name:"config",type:"MCPServerConfig",required:!0,description:"Server config (POST)."}]},{method:"GET",alsoMethods:["PUT","DELETE"],path:"/api/mcp/servers/{name}",summary:"GET / PUT / DELETE a server config. PUT merges fields; toggling disabled connects/disconnects; a new name triggers a validated rename."},{method:"GET",path:"/api/mcp/servers/{name}/status",summary:"Live connection status. Always 200, even when the server is down.",response:"{ status, ... }"},{method:"GET",path:"/api/mcp/servers/{name}/tools",summary:"List tools exposed by a connected server.",response:"{ tools, error? } (empty tools + error when disconnected)."},{method:"POST",path:"/api/mcp/servers/{name}/tools/{toolName}",summary:"Invoke a tool on a server. Status may reflect the tool itself (408 on timeout).",paramsLabel:"Body",params:[{name:"args",type:"Record<string, unknown>",required:!0,description:"Tool arguments."},{name:"timeout",type:"number",description:"Optional timeout (ms)."}]},{method:"POST",path:"/api/mcp/test-connection",summary:"Run a real MCP handshake against an unsaved config (tests custom CAs and headers) without registering it.",paramsLabel:"Body",params:[{name:"config",type:"MCPServerConfig",required:!0,description:"Config to test."}]},{method:"POST",path:"/api/mcp/cancel",summary:"Cancel an in-progress tool execution; force-reconnects if no token is supplied.",paramsLabel:"Body",params:[{name:"reason",type:"string",required:!0,description:"Cancellation reason."}]}]},{id:"mcp-proxy",name:"FLUJO as an MCP server (proxy)",description:'Re-expose a configured MCP server to EXTERNAL MCP clients (Claude Desktop, Cursor, Cline, mcp-inspector, …) so you configure the server once in FLUJO and reach it everywhere. Enable per server via the "Expose to external apps" toggle on its card. In your MCP client, add a Streamable-HTTP server with the URL below. One downstream server per endpoint, so tool names are unchanged. Localhost-only for now (no auth token in this version — see the security roadmap).',endpoints:[{method:"POST",alsoMethods:["GET","DELETE"],path:"/mcp-proxy/{server}",summary:'A Streamable-HTTP MCP endpoint that forwards tools/list and tools/call to the named downstream MCP server. {server} is the configured server name; it must have "Expose to external apps" enabled (otherwise 404). Rejects non-localhost requests.',response:"MCP JSON-RPC over Streamable HTTP (handled by your MCP client, not called directly)."}]},{id:"oauth",name:"OAuth (for MCP)",description:"OAuth authorization flow for MCP servers that require it. Tokens are stored server-side and never sent to the browser.",endpoints:[{method:"POST",path:"/api/oauth/initiate",summary:"Begin the OAuth flow for a server; dynamically registers a client and returns an authorization URL.",paramsLabel:"Body",params:[{name:"serverName",type:"string",required:!0,description:"MCP server to authorize."}]},{method:"GET",alsoMethods:["POST"],path:"/api/oauth/callback",summary:"OAuth redirect target; exchanges the code for tokens, updates the config, and redirects to /mcp.",notes:["Tokens are persisted server-side only."]},{method:"POST",path:"/api/oauth/reset",summary:"Clear a server's OAuth tokens and force re-authentication on the next connection.",paramsLabel:"Body",params:[{name:"serverName",type:"string",required:!0,description:"Server to reset."}]}]},{id:"env",name:"Environment & Secrets",description:"Global environment variables and server-side encryption operations. Secret values are encrypted at rest and masked as ******** in responses.",endpoints:[{method:"GET",alsoMethods:["POST"],path:"/api/env",summary:"GET reads env vars (secrets masked); POST sets/deletes vars (secrets encrypted server-side).",paramsLabel:"Body",params:[{name:"action",type:'"set" | "setAll" | "delete"',required:!0,description:"Operation."},{name:"key",type:"string",description:"Variable name (set/delete)."},{name:"value",type:"string",description:"Value; the placeholder ******** is ignored."},{name:"metadata",type:"{ isSecret: boolean }",description:"Marks a value for encryption."}],notes:["GET masks secret values unless an internal includeSecrets flag is set; the browser never receives clear-text secrets."]},{method:"POST",path:"/api/encryption/secure",summary:"Server-side encryption operations: initialize, authenticate, change_password, encrypt, verify_password, check_initialized, and status queries.",paramsLabel:"Body",params:[{name:"action",type:"string",required:!0,description:"One of the encryption actions."}],notes:["Passwords and tokens are handled here and stay server-side — never log or surface them in the UI."]}]},{id:"storage",name:"Storage & Backup",description:"Generic key-value storage plus zip backup/restore of selected data.",endpoints:[{method:"GET",alsoMethods:["POST","DELETE"],path:"/api/storage",summary:"GET loads an item by StorageKey (with optional default); POST saves; DELETE clears.",paramsLabel:"Query",params:[{name:"key",type:"StorageKey",required:!0,description:"Storage key."},{name:"defaultValue",type:"JSON",description:"Returned when the key is missing (GET)."}]},{method:"POST",path:"/api/backup",summary:"Create a zip backup of selected items and download it.",paramsLabel:"Body",params:[{name:"selections",type:"string[]",required:!0,description:"e.g. models, mcpServers, flows, chatHistory, settings."}],notes:["A backup may include the encryption key and secrets — handle the downloaded file carefully."]},{method:"POST",path:"/api/restore",summary:"Restore data from a backup zip.",paramsLabel:"Form data",params:[{name:"file",type:"File (zip)",required:!0,description:"Backup archive."},{name:"selections",type:"JSON string[]",required:!0,description:"Which items to restore."}]}]},{id:"system",name:"System & Updates",description:"App initialization, working-directory info, repository operations, and self-update.",endpoints:[{method:"GET",path:"/api/init",summary:"Server-side initialization: verify storage and start enabled MCP servers."},{method:"GET",path:"/api/cwd",summary:"Return the current working directory and the mcp-servers directory path."},{method:"GET",path:"/api/browse",summary:"List a directory of the machine running FLUJO, for the folder-picker dialogs (file-watch triggers, MCP server paths). Defaults to the home directory; includes available drives on Windows.",paramsLabel:"Query",params:[{name:"path",type:"string",description:"Absolute directory path to list."}],response:"{ path, parent, home, sep, drives, entries: [{ name, path, isDirectory }] }",notes:["Exposes backend filesystem listings — like the rest of the API it assumes a single trusted user."]},{method:"POST",path:"/api/git",summary:"Repository operations for MCP servers: clone, install, build, run, exists, readFile, listDir, list, checkUpdates, checkUpdatesBatch, pullUpdates.",paramsLabel:"Body",params:[{name:"action",type:"string",required:!0,description:"Operation to perform."}]},{method:"GET",alsoMethods:["POST"],path:"/api/update",summary:'GET checks for a newer version (git fetch + behind count); POST { action: "apply" } pulls, rebuilds, and restarts.',response:"{ success, isGitRepo, updateAvailable, behindBy?, branch?, currentVersion }"}]}],f={GET:"#2e7d32",POST:"#1565c0",PUT:"#ed6c02",PATCH:"#9c27b0",DELETE:"#c62828",OPTIONS:"#616161"};function v(e){let{method:t}=e;return(0,n.jsx)(r.A,{label:t,size:"small",sx:{bgcolor:f[t],color:"#fff",fontWeight:700,fontFamily:"var(--font-geist-mono), monospace",fontSize:"0.7rem",height:22}})}function g(e){var t,a,o,r;let{endpoint:l}=e;return(0,n.jsxs)(i.A,{variant:"outlined",sx:{p:2,mb:1.5},children:[(0,n.jsxs)(s.default,{sx:{display:"flex",alignItems:"center",gap:1,flexWrap:"wrap",mb:1},children:[(0,n.jsx)(v,{method:l.method}),null==(t=l.alsoMethods)?void 0:t.map(e=>(0,n.jsx)(v,{method:e},e)),(0,n.jsx)(d.default,{component:"code",sx:{fontFamily:"var(--font-geist-mono), monospace",fontSize:"0.9rem",wordBreak:"break-all"},children:l.path})]}),(0,n.jsx)(d.default,{variant:"body2",color:"text.secondary",sx:{mb:1.5*(null!=(a=l.params)&&!!a.length)},children:l.summary}),l.params&&l.params.length>0&&(0,n.jsxs)(s.default,{sx:{mb:1},children:[(0,n.jsx)(d.default,{variant:"caption",sx:{fontWeight:700,textTransform:"uppercase",color:"text.secondary"},children:null!=(r=l.paramsLabel)?r:"Parameters"}),(0,n.jsx)(s.default,{component:"ul",sx:{m:0,mt:.5,pl:2.5},children:l.params.map(e=>(0,n.jsx)(s.default,{component:"li",sx:{mb:.25},children:(0,n.jsxs)(d.default,{variant:"body2",component:"span",children:[(0,n.jsx)(s.default,{component:"code",sx:{fontFamily:"var(--font-geist-mono), monospace",fontWeight:600},children:e.name}),(0,n.jsxs)(s.default,{component:"span",sx:{color:"text.secondary"},children:[" ",e.type,e.required?" \xb7 required":""," — ",e.description]})]})},e.name))})]}),l.response&&(0,n.jsxs)(d.default,{variant:"body2",sx:{mt:.5},children:[(0,n.jsxs)(s.default,{component:"span",sx:{fontWeight:600},children:["Response:"," "]}),(0,n.jsx)(s.default,{component:"span",sx:{color:"text.secondary"},children:l.response})]}),null==(o=l.notes)?void 0:o.map((e,t)=>(0,n.jsxs)(d.default,{variant:"caption",sx:{display:"block",mt:1,color:"warning.main"},children:["⚠ ",e]},t))]})}function b(){let[e,t]=(0,o.useState)(""),[a,r]=(0,o.useState)("");o.useEffect(()=>{r(window.location.origin)},[]);let f=(0,o.useMemo)(()=>{let t=e.trim().toLowerCase();return t?y.map(e=>{let a=e.endpoints.filter(a=>{var n;return"".concat(a.method," ").concat((null!=(n=a.alsoMethods)?n:[]).join(" ")," ").concat(a.path," ").concat(a.summary).toLowerCase().includes(t)||e.name.toLowerCase().includes(t)});return{...e,endpoints:a}}).filter(e=>e.endpoints.length>0):y},[e]);return(0,n.jsxs)(l.A,{maxWidth:"md",sx:{py:5},children:[(0,n.jsx)(d.default,{variant:"h4",gutterBottom:!0,children:"API Documentation"}),(0,n.jsx)(d.default,{variant:"body1",color:"text.secondary",sx:{mb:2},children:"FLUJO exposes an OpenAI-compatible chat API and a REST surface for managing models, MCP servers, flows, and conversations. All endpoints are served from this instance."}),(0,n.jsxs)(i.A,{variant:"outlined",sx:{p:2,mb:3},children:[(0,n.jsx)(d.default,{variant:"subtitle2",gutterBottom:!0,children:"Base URL"}),(0,n.jsx)(s.default,{component:"code",sx:{fontFamily:"var(--font-geist-mono), monospace",fontSize:"0.9rem"},children:a||"http://localhost:4200"}),(0,n.jsxs)(d.default,{variant:"body2",color:"text.secondary",sx:{mt:1},children:["Point any OpenAI SDK at"," ",(0,n.jsx)(s.default,{component:"code",sx:{fontFamily:"var(--font-geist-mono), monospace"},children:(a||"http://localhost:4200")+"/v1"})," ","and set the model to"," ",(0,n.jsx)(s.default,{component:"code",sx:{fontFamily:"var(--font-geist-mono), monospace"},children:"flow-<NAME>"}),". Any API key value is accepted locally."]})]}),(0,n.jsx)(p.A,{fullWidth:!0,size:"small",placeholder:"Search endpoints (path, method, description)…",value:e,onChange:e=>t(e.target.value),sx:{mb:3},InputProps:{startAdornment:(0,n.jsx)(c.A,{position:"start",children:(0,n.jsx)(h.A,{fontSize:"small"})})}}),0===f.length&&(0,n.jsxs)(d.default,{color:"text.secondary",children:["No endpoints match “",e,"”."]}),f.map(e=>(0,n.jsxs)(s.default,{sx:{mb:4},id:e.id,children:[(0,n.jsx)(d.default,{variant:"h6",gutterBottom:!0,children:e.name}),(0,n.jsx)(d.default,{variant:"body2",color:"text.secondary",sx:{mb:2},children:e.description}),e.endpoints.map(e=>(0,n.jsx)(g,{endpoint:e},"".concat(e.method," ").concat(e.path)))]},e.id)),(0,n.jsx)(m.A,{sx:{my:3}}),(0,n.jsxs)(d.default,{variant:"caption",color:"text.secondary",children:["Secrets (API keys, encryption passwords, OAuth tokens) are encrypted at rest and never returned to the browser in clear text. See the project"," ",(0,n.jsx)(u.A,{href:"https://github.com/mario-andreschak/FLUJO",target:"_blank",rel:"noopener",children:"repository"})," ","for source-level details."]})]})}let x=(0,a(87021).h)("app/docs/page");function E(){return x.debug("Rendering DocsPage"),(0,n.jsx)(s.default,{component:"main",sx:{minHeight:"100vh"},children:(0,n.jsx)(b,{})})}},32651:(e,t,a)=>{Promise.resolve().then(a.bind(a,27127))},78831:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n=(0,a(80271).Ay)()},87021:(e,t,a)=>{"use strict";a.d(t,{h:()=>d});let n={LOG_LEVEL:3},s={VERBOSE:-1,DEBUG:0,INFO:1,WARN:2,ERROR:3},o="number"==typeof n.LOG_LEVEL?n.LOG_LEVEL:s.ERROR;function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t>6)return String(e);if(!(e instanceof Error))return e;let a={name:e.name,message:e.message};for(let n of Object.getOwnPropertyNames(e)){if("name"===n||"message"===n)continue;let s=e[n];"function"!=typeof s&&("stack"===n?a.stack=s:"cause"===n?a.cause=r(s,t+1):"errors"===n&&Array.isArray(s)?a.errors=s.map(e=>r(e,t+1)):a[n]=s)}return a}function i(e,t,a,n,i){if(e>=("number"==typeof i?i:o)){if("function"==typeof n)try{n=n()}catch(e){n="[lazy log data threw]"}let o=new Date().toISOString(),i="[".concat(o,"] [").concat(t,"]"),d="".concat(i," ").concat(a);if(void 0!==n)if(n instanceof Error||"object"==typeof n)try{let e=n instanceof Error?r(n):n,t=JSON.stringify(e,(e,t)=>t instanceof Error?r(t):t,2);d+=":\n".concat(t)}catch(e){d+=": [Object cannot be stringified]"}else d+=": ".concat(n);switch(e){case s.VERBOSE:console.debug("[VERBOSE] ".concat(d));break;case s.DEBUG:console.debug(d);break;case s.INFO:console.info(d);break;case s.WARN:console.warn(d);break;case s.ERROR:console.error(d);break;default:console.log(d)}}}function d(e,t){let a,n=((a=e.replace(/^src\//,"")).startsWith("/")&&(a=a.substring(1)),a);return{verbose:(e,a)=>{i(s.VERBOSE,n,e,a,t)},debug:(e,a)=>{i(s.DEBUG,n,e,a,t)},info:(e,a)=>{i(s.INFO,n,e,a,t)},warn:(e,a)=>{i(s.WARN,n,e,a,t)},error:(e,a)=>{i(s.ERROR,n,e,a,t)}}}},97322:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var n=a(12115),s=a(2821),o=a(95195),r=a(57001),i=a(88133),d=a(11947),l=a(78831),p=a(41934),c=a(95155);let m=(0,p.A)(),u=(0,l.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t["maxWidth".concat((0,i.A)(String(a.maxWidth)))],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),h=e=>(0,d.A)({props:e,name:"MuiContainer",defaultTheme:m});var y=a(81852),f=a(48116),v=a(16625);let g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{createStyledComponent:t=u,useThemeProps:a=h,componentName:d="MuiContainer"}=e,l=t(e=>{let{theme:t,ownerState:a}=e;return{width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!a.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}}},e=>{let{theme:t,ownerState:a}=e;return a.fixed&&Object.keys(t.breakpoints.values).reduce((e,a)=>{let n=t.breakpoints.values[a];return 0!==n&&(e[t.breakpoints.up(a)]={maxWidth:"".concat(n).concat(t.breakpoints.unit)}),e},{})},e=>{let{theme:t,ownerState:a}=e;return{..."xs"===a.maxWidth&&{[t.breakpoints.up("xs")]:{maxWidth:Math.max(t.breakpoints.values.xs,444)}},...a.maxWidth&&"xs"!==a.maxWidth&&{[t.breakpoints.up(a.maxWidth)]:{maxWidth:"".concat(t.breakpoints.values[a.maxWidth]).concat(t.breakpoints.unit)}}}});return n.forwardRef(function(e,t){let n=a(e),{className:p,component:m="div",disableGutters:u=!1,fixed:h=!1,maxWidth:y="lg",classes:f,...v}=n,g={...n,component:m,disableGutters:u,fixed:h,maxWidth:y},b=((e,t)=>{let{classes:a,fixed:n,disableGutters:s,maxWidth:d}=e,l={root:["root",d&&"maxWidth".concat((0,i.A)(String(d))),n&&"fixed",s&&"disableGutters"]};return(0,r.A)(l,e=>(0,o.Ay)(t,e),a)})(g,d);return(0,c.jsx)(l,{as:m,ownerState:g,className:(0,s.A)(b.root,p),ref:t,...v})})}({createStyledComponent:(0,f.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t["maxWidth".concat((0,y.A)(String(a.maxWidth)))],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,v.b)({props:e,name:"MuiContainer"})})}},e=>{e.O(0,[2678,4754,9244,8548,9562,488,1374,8441,1255,7358],()=>e(e.s=32651)),_N_E=e.O()}]);
|