@exulu/frontend 1.3.2 → 1.4.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/dist/.next/BUILD_ID +1 -1
- package/dist/.next/app-build-manifest.json +185 -174
- package/dist/.next/app-path-routes-manifest.json +1 -1
- package/dist/.next/build-manifest.json +2 -2
- package/dist/.next/prerender-manifest.json +1 -1
- package/dist/.next/server/app/(application)/agents/edit/[id]/page.js +1 -1
- package/dist/.next/server/app/(application)/agents/edit/[id]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/agents/edit/[id]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/agents/page.js +1 -2
- package/dist/.next/server/app/(application)/agents/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/agents/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/chat/[agent]/[session]/page.js +1 -1
- package/dist/.next/server/app/(application)/chat/[agent]/[session]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/chat/[agent]/[session]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/chat/[agent]/page.js +1 -1
- package/dist/.next/server/app/(application)/chat/[agent]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/chat/[agent]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/chat/page.js +1 -1
- package/dist/.next/server/app/(application)/chat/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/chat/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/configuration/page.js +1 -1
- package/dist/.next/server/app/(application)/configuration/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/configuration/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/dashboard/page.js +5 -1
- package/dist/.next/server/app/(application)/dashboard/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/dashboard/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/data/[[...query]]/page.js +5 -1
- package/dist/.next/server/app/(application)/data/[[...query]]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/data/[[...query]]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/evals/[id]/page.js +1 -1
- package/dist/.next/server/app/(application)/evals/[id]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/evals/[id]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/evals/[id]/runs/page.js +1 -1
- package/dist/.next/server/app/(application)/evals/[id]/runs/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/evals/[id]/runs/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/evals/cases/page.js +1 -1
- package/dist/.next/server/app/(application)/evals/cases/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/evals/cases/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/evals/page.js +1 -1
- package/dist/.next/server/app/(application)/evals/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/evals/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/explorer/page.js +1 -1
- package/dist/.next/server/app/(application)/explorer/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/explorer/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/jobs/page.js +1 -1
- package/dist/.next/server/app/(application)/jobs/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/jobs/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/keys/page.js +1 -1
- package/dist/.next/server/app/(application)/keys/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/keys/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/page.js +1 -1
- package/dist/.next/server/app/(application)/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/projects/[project]/page.js +1 -1
- package/dist/.next/server/app/(application)/projects/[project]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/projects/[project]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/projects/page.js +1 -1
- package/dist/.next/server/app/(application)/projects/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/projects/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/roles/page.js +1 -1
- package/dist/.next/server/app/(application)/roles/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/roles/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/token/page.js +1 -1
- package/dist/.next/server/app/(application)/token/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/token/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/users/page.js +1 -1
- package/dist/.next/server/app/(application)/users/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/users/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/variables/create/page.js +1 -1
- package/dist/.next/server/app/(application)/variables/create/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/variables/create/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/variables/edit/[variable_id]/page.js +1 -1
- package/dist/.next/server/app/(application)/variables/edit/[variable_id]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/variables/edit/[variable_id]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/variables/page.js +1 -1
- package/dist/.next/server/app/(application)/variables/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/variables/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/variables/usage/[variable_id]/page.js +1 -1
- package/dist/.next/server/app/(application)/variables/usage/[variable_id]/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/variables/usage/[variable_id]/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(application)/workflows/page.js +1 -1
- package/dist/.next/server/app/(application)/workflows/page.js.nft.json +1 -1
- package/dist/.next/server/app/(application)/workflows/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/(authentication)/login/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +1 -1
- package/dist/.next/server/app/api/auth/[...nextauth]/route.js +9 -9
- package/dist/.next/server/app-paths-manifest.json +5 -5
- package/dist/.next/server/chunks/1051.js +16 -16
- package/dist/.next/server/chunks/2270.js +188 -100
- package/dist/.next/server/chunks/{8838.js → 2875.js} +1 -1
- package/dist/.next/server/chunks/2916.js +1 -1
- package/dist/.next/server/chunks/3503.js +1 -0
- package/dist/.next/server/chunks/{7544.js → 4552.js} +1 -1
- package/dist/.next/server/chunks/{3393.js → 4739.js} +1 -1
- package/dist/.next/server/chunks/5192.js +1 -1
- package/dist/.next/server/chunks/5999.js +2 -0
- package/dist/.next/server/chunks/6282.js +1 -0
- package/dist/.next/server/chunks/6623.js +1 -0
- package/dist/.next/server/chunks/7721.js +1 -0
- package/dist/.next/server/chunks/7944.js +2 -2
- package/dist/.next/server/chunks/8050.js +1 -0
- package/dist/.next/server/chunks/8206.js +1 -0
- package/dist/.next/server/chunks/8679.js +5 -0
- package/dist/.next/server/middleware-manifest.json +5 -5
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/server-reference-manifest.json +1 -1
- package/dist/.next/static/chunks/1294-368dc8ec59054da4.js +2 -0
- package/dist/.next/static/chunks/1294-368dc8ec59054da4.js.map +1 -0
- package/dist/.next/static/chunks/{1645-e5fd10236c0183ce.js → 1645-570e014100772437.js} +1 -1
- package/dist/.next/static/chunks/{1645-e5fd10236c0183ce.js.map → 1645-570e014100772437.js.map} +1 -1
- package/dist/.next/static/chunks/1957-5867716304ecd208.js +2 -0
- package/dist/.next/static/chunks/1957-5867716304ecd208.js.map +1 -0
- package/dist/.next/static/chunks/{2293-59b4bbce0c5bd2f2.js → 2293-1681cdef5b8c0c0b.js} +1 -1
- package/dist/.next/static/chunks/{2293-59b4bbce0c5bd2f2.js.map → 2293-1681cdef5b8c0c0b.js.map} +1 -1
- package/dist/.next/static/chunks/3475-28ce4fce960656bd.js +2 -0
- package/dist/.next/static/chunks/3475-28ce4fce960656bd.js.map +1 -0
- package/dist/.next/static/chunks/3832-a5e8fc6647e2be65.js +2 -0
- package/dist/.next/static/chunks/3832-a5e8fc6647e2be65.js.map +1 -0
- package/dist/.next/static/chunks/{4386-a36fe9c65884f025.js → 4386-c7690667749bff6a.js} +1 -1
- package/dist/.next/static/chunks/{4386-a36fe9c65884f025.js.map → 4386-c7690667749bff6a.js.map} +1 -1
- package/dist/.next/static/chunks/4750-4d5c13bbc96bc19b.js +2 -0
- package/dist/.next/static/chunks/4750-4d5c13bbc96bc19b.js.map +1 -0
- package/dist/.next/static/chunks/5243-1aaa41b2cd0ea87c.js +2 -0
- package/dist/.next/static/chunks/5243-1aaa41b2cd0ea87c.js.map +1 -0
- package/dist/.next/static/chunks/5978-814d6900645d2fcc.js +2 -0
- package/dist/.next/static/chunks/5978-814d6900645d2fcc.js.map +1 -0
- package/dist/.next/static/chunks/6373-651cb258c9e2b57b.js +2 -0
- package/dist/.next/static/chunks/6373-651cb258c9e2b57b.js.map +1 -0
- package/dist/.next/static/chunks/{7564-44a20b31206685e1.js → 6545-5a1d7cf4d5ca770e.js} +21 -21
- package/dist/.next/static/chunks/6545-5a1d7cf4d5ca770e.js.map +1 -0
- package/dist/.next/static/chunks/6839-0f4cfb48058a5ab6.js +2 -0
- package/dist/.next/static/chunks/6839-0f4cfb48058a5ab6.js.map +1 -0
- package/dist/.next/static/chunks/723-94e596796cbf911d.js +2 -0
- package/dist/.next/static/chunks/723-94e596796cbf911d.js.map +1 -0
- package/dist/.next/static/chunks/8202-db2cc384c66bc1be.js +2 -0
- package/dist/.next/static/chunks/8202-db2cc384c66bc1be.js.map +1 -0
- package/dist/.next/static/chunks/8269-37dd07515eb44201.js +2 -0
- package/dist/.next/static/chunks/8269-37dd07515eb44201.js.map +1 -0
- package/dist/.next/static/chunks/8469-ba31cbd7acab5f94.js +2 -0
- package/dist/.next/static/chunks/8469-ba31cbd7acab5f94.js.map +1 -0
- package/dist/.next/static/chunks/8824-20030459012376a3.js +2 -0
- package/dist/.next/static/chunks/8824-20030459012376a3.js.map +1 -0
- package/dist/.next/static/chunks/9105-3800f721d38e2b9a.js +2 -0
- package/dist/.next/static/chunks/9105-3800f721d38e2b9a.js.map +1 -0
- package/dist/.next/static/chunks/9183-a51605ff26b92fed.js +41 -0
- package/dist/.next/static/chunks/9183-a51605ff26b92fed.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/agents/edit/[id]/page-511f168123f85285.js +2 -0
- package/dist/.next/static/chunks/app/(application)/agents/edit/[id]/page-511f168123f85285.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/agents/{page-499ac3bd1044306c.js → page-63643deabdaa6b2c.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/agents/{page-499ac3bd1044306c.js.map → page-63643deabdaa6b2c.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/chat/[agent]/[session]/{page-3807a8bc2ae87548.js → page-62c7321ba26632af.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/chat/[agent]/[session]/page-62c7321ba26632af.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/chat/{layout-53796525bd3e2443.js → layout-5eb1d22ddcbc0b55.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/chat/{layout-53796525bd3e2443.js.map → layout-5eb1d22ddcbc0b55.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/configuration/{page-2d8a0e2664ab9a94.js → page-8f92af5318feb84f.js} +1 -1
- package/dist/.next/static/chunks/app/(application)/configuration/{page-2d8a0e2664ab9a94.js.map → page-8f92af5318feb84f.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/dashboard/page-00e425d942e0d769.js +2 -0
- package/dist/.next/static/chunks/app/(application)/dashboard/page-00e425d942e0d769.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/layout-a460a56d3efac658.js +2 -0
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/layout-a460a56d3efac658.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/page-bb06a9553c9ed178.js +2 -0
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/page-bb06a9553c9ed178.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/evals/[id]/{page-2238f1fb73d93328.js → page-ef82e92ca7d0da6c.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/evals/[id]/{page-2238f1fb73d93328.js.map → page-ef82e92ca7d0da6c.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/evals/[id]/runs/page-6622dd1b22a7885d.js +2 -0
- package/dist/.next/static/chunks/app/(application)/evals/[id]/runs/page-6622dd1b22a7885d.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/evals/cases/{page-ea5faf58b368feae.js → page-6246be9d6592d1d3.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/evals/cases/{page-ea5faf58b368feae.js.map → page-6246be9d6592d1d3.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/evals/{page-f79e1a90384ba618.js → page-b1e1fd7dba1e675f.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/evals/{page-f79e1a90384ba618.js.map → page-b1e1fd7dba1e675f.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/jobs/{page-e6f02a338bec4806.js → page-a96441a0bc654d68.js} +1 -1
- package/dist/.next/static/chunks/app/(application)/jobs/{page-e6f02a338bec4806.js.map → page-a96441a0bc654d68.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/keys/{page-59ee4e0281131cbc.js → page-163aadfe9ad0d794.js} +1 -1
- package/dist/.next/static/chunks/app/(application)/keys/{page-59ee4e0281131cbc.js.map → page-163aadfe9ad0d794.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/{layout-73d93420d0c6661c.js → layout-694c53aca85ef437.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/{layout-73d93420d0c6661c.js.map → layout-694c53aca85ef437.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/projects/[project]/page-e69828fde85c50af.js +2 -0
- package/dist/.next/static/chunks/app/(application)/projects/[project]/page-e69828fde85c50af.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/projects/{layout-f73ad7daf4825f1b.js → layout-d7642b25bf6d33b3.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/projects/{layout-f73ad7daf4825f1b.js.map → layout-d7642b25bf6d33b3.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/roles/page-5d5e5142f0997122.js +2 -0
- package/dist/.next/static/chunks/app/(application)/roles/page-5d5e5142f0997122.js.map +1 -0
- package/dist/.next/static/chunks/app/(application)/users/{page-e0a04fda52138aa0.js → page-b862cb199fd72525.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/users/{page-e0a04fda52138aa0.js.map → page-b862cb199fd72525.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/create/{page-6c6076f3f253190d.js → page-d79d5c1c1ecabdb5.js} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/create/{page-6c6076f3f253190d.js.map → page-d79d5c1c1ecabdb5.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/edit/[variable_id]/{page-a3fa477fead5609a.js → page-72cf3aa95776ab96.js} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/edit/[variable_id]/{page-a3fa477fead5609a.js.map → page-72cf3aa95776ab96.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/{page-ddeff54a8b19bdbe.js → page-67864b471b48c950.js} +2 -2
- package/dist/.next/static/chunks/app/(application)/variables/{page-ddeff54a8b19bdbe.js.map → page-67864b471b48c950.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/usage/[variable_id]/{page-ed6d136e7ee3a591.js → page-208b4c9cc64abf2e.js} +1 -1
- package/dist/.next/static/chunks/app/(application)/variables/usage/[variable_id]/{page-ed6d136e7ee3a591.js.map → page-208b4c9cc64abf2e.js.map} +1 -1
- package/dist/.next/static/chunks/app/(application)/workflows/page-5b1ffc7c5012fdf6.js +2 -0
- package/dist/.next/static/chunks/app/(application)/workflows/page-5b1ffc7c5012fdf6.js.map +1 -0
- package/dist/.next/static/css/006966ab2edd0ebc.css +4 -0
- package/dist/.next/static/css/006966ab2edd0ebc.css.map +1 -0
- package/dist/.next/static/css/e3f2a16ab7676b05.css.map +1 -1
- package/dist/package.json +4 -1
- package/package.json +1 -1
- package/dist/.next/server/chunks/3743.js +0 -1
- package/dist/.next/server/chunks/4375.js +0 -1
- package/dist/.next/server/chunks/4680.js +0 -1
- package/dist/.next/server/chunks/7203.js +0 -5
- package/dist/.next/server/chunks/7598.js +0 -5
- package/dist/.next/server/chunks/8806.js +0 -1
- package/dist/.next/static/chunks/1957-670ddf66742d95f2.js +0 -2
- package/dist/.next/static/chunks/1957-670ddf66742d95f2.js.map +0 -1
- package/dist/.next/static/chunks/3397-5a704b2e12e9e883.js +0 -2
- package/dist/.next/static/chunks/3397-5a704b2e12e9e883.js.map +0 -1
- package/dist/.next/static/chunks/3832-10b779e2f89f162f.js +0 -2
- package/dist/.next/static/chunks/3832-10b779e2f89f162f.js.map +0 -1
- package/dist/.next/static/chunks/3998-c1c5bec61ce07357.js +0 -2
- package/dist/.next/static/chunks/3998-c1c5bec61ce07357.js.map +0 -1
- package/dist/.next/static/chunks/428-61741966c36f4f72.js +0 -2
- package/dist/.next/static/chunks/428-61741966c36f4f72.js.map +0 -1
- package/dist/.next/static/chunks/5585-4f0c084850210a82.js +0 -2
- package/dist/.next/static/chunks/5585-4f0c084850210a82.js.map +0 -1
- package/dist/.next/static/chunks/5615-042f927b657e6db1.js +0 -41
- package/dist/.next/static/chunks/5615-042f927b657e6db1.js.map +0 -1
- package/dist/.next/static/chunks/5978-f3b8475a2d9f9299.js +0 -2
- package/dist/.next/static/chunks/5978-f3b8475a2d9f9299.js.map +0 -1
- package/dist/.next/static/chunks/6242-c1c2f1479529e9d4.js +0 -2
- package/dist/.next/static/chunks/6242-c1c2f1479529e9d4.js.map +0 -1
- package/dist/.next/static/chunks/6373-fc4799cc7a13474a.js +0 -2
- package/dist/.next/static/chunks/6373-fc4799cc7a13474a.js.map +0 -1
- package/dist/.next/static/chunks/7398-c6de1642586049cd.js +0 -2
- package/dist/.next/static/chunks/7398-c6de1642586049cd.js.map +0 -1
- package/dist/.next/static/chunks/7564-44a20b31206685e1.js.map +0 -1
- package/dist/.next/static/chunks/79-1d568f3c4cd45bd4.js +0 -2
- package/dist/.next/static/chunks/79-1d568f3c4cd45bd4.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/agents/edit/[id]/page-b66390eb4a95ac1a.js +0 -2
- package/dist/.next/static/chunks/app/(application)/agents/edit/[id]/page-b66390eb4a95ac1a.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/chat/[agent]/[session]/page-3807a8bc2ae87548.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/dashboard/page-85d3f8d2bd28ae4b.js +0 -2
- package/dist/.next/static/chunks/app/(application)/dashboard/page-85d3f8d2bd28ae4b.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/layout-822dad4cb57f62e2.js +0 -2
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/layout-822dad4cb57f62e2.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/page-3efd7701534078ea.js +0 -2
- package/dist/.next/static/chunks/app/(application)/data/[[...query]]/page-3efd7701534078ea.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/evals/[id]/runs/page-b6a3cb8435be3ade.js +0 -2
- package/dist/.next/static/chunks/app/(application)/evals/[id]/runs/page-b6a3cb8435be3ade.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/projects/[project]/page-19382bb263f85fda.js +0 -2
- package/dist/.next/static/chunks/app/(application)/projects/[project]/page-19382bb263f85fda.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/roles/page-acd9ef282bc53557.js +0 -2
- package/dist/.next/static/chunks/app/(application)/roles/page-acd9ef282bc53557.js.map +0 -1
- package/dist/.next/static/chunks/app/(application)/workflows/page-38488c44d89b32f4.js +0 -2
- package/dist/.next/static/chunks/app/(application)/workflows/page-38488c44d89b32f4.js.map +0 -1
- package/dist/.next/static/css/a7092ddec8ffd4fb.css +0 -4
- package/dist/.next/static/css/a7092ddec8ffd4fb.css.map +0 -1
- /package/dist/.next/static/{HHwzgh0RLIMeodnSs4vIv → soJPoIxCmlpJ75t9n-Q9V}/_buildManifest.js +0 -0
- /package/dist/.next/static/{HHwzgh0RLIMeodnSs4vIv → soJPoIxCmlpJ75t9n-Q9V}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={};e.id=4041,e.ids=[4041],e.modules={57343:e=>{"use strict";e.exports=require("graphql")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},27790:e=>{"use strict";e.exports=require("assert")},78893:e=>{"use strict";e.exports=require("buffer")},61282:e=>{"use strict";e.exports=require("child_process")},84770:e=>{"use strict";e.exports=require("crypto")},80665:e=>{"use strict";e.exports=require("dns")},17702:e=>{"use strict";e.exports=require("events")},92048:e=>{"use strict";e.exports=require("fs")},32615:e=>{"use strict";e.exports=require("http")},35240:e=>{"use strict";e.exports=require("https")},98216:e=>{"use strict";e.exports=require("net")},19801:e=>{"use strict";e.exports=require("os")},55315:e=>{"use strict";e.exports=require("path")},86624:e=>{"use strict";e.exports=require("querystring")},76162:e=>{"use strict";e.exports=require("stream")},82452:e=>{"use strict";e.exports=require("tls")},17360:e=>{"use strict";e.exports=require("url")},21764:e=>{"use strict";e.exports=require("util")},71568:e=>{"use strict";e.exports=require("zlib")},8678:e=>{"use strict";e.exports=import("pg")},65818:(e,t,r)=>{"use strict";r.a(e,async(e,s)=>{try{r.r(t),r.d(t,{GlobalError:()=>l.a,__next_app__:()=>h,originalPathname:()=>m,pages:()=>p,routeModule:()=>f,tree:()=>x}),r(25138);var a=r(71197);r(35866);var n=r(23191),i=r(88716),o=r(37922),l=r.n(o),c=r(95231),d={};for(let e in c)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>c[e]);r.d(t,d);var u=e([a]);a=(u.then?(await u)():u)[0];let x=["",{children:["(application)",{children:["token",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,25138)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,71197)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,35866,23)),"next/dist/client/components/not-found-error"]}]},{"not-found":[()=>Promise.resolve().then(r.t.bind(r,35866,23)),"next/dist/client/components/not-found-error"]}],p=["/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx"],m="/(application)/token/page",h={require:r,loadChunk:()=>Promise.resolve()},f=new n.AppPageRouteModule({definition:{kind:i.x.APP_PAGE,page:"/(application)/token/page",pathname:"/token",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:x}});s()}catch(e){s(e)}})},13763:(e,t,r)=>{Promise.resolve().then(r.bind(r,37404))},37404:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var s=r(10326),a=r(77109),n=r(17577);r(59161);var i=r(90772),o=r(33071),l=r(54432),c=r(567),d=r(87888),u=r(54659),x=r(43810),p=r(34789);function m(){let{data:e,status:t}=(0,a.useSession)(),[r,m]=(0,n.useState)(null),[h,f]=(0,n.useState)(!0),[g,y]=(0,n.useState)(!1),{toast:v}=(0,p.pm)(),j=async()=>{if(r)try{await navigator.clipboard.writeText(r),y(!0),v({title:"Token copied!",description:"The token has been copied to your clipboard."}),setTimeout(()=>y(!1),2e3)}catch(e){v({title:"Failed to copy",description:"Could not copy token to clipboard.",variant:"destructive"})}};return"loading"===t||h?s.jsx("div",{className:"container mx-auto p-6",children:s.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:s.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-b-2 border-gray-900"})})}):"unauthenticated"===t?s.jsx("div",{className:"container mx-auto my-auto p-6",children:(0,s.jsxs)(o.Zb,{className:"max-w-md mx-auto",children:[(0,s.jsxs)(o.Ol,{children:[(0,s.jsxs)(o.ll,{className:"flex items-center gap-2",children:[s.jsx(d.Z,{className:"h-5 w-5 text-red-500"}),"Authentication Required"]}),s.jsx(o.SZ,{children:"You must be logged in to access your token."})]}),s.jsx(o.aY,{children:s.jsx("p",{className:"text-sm text-muted-foreground",children:"Please log in to view and copy your authentication token."})})]})}):s.jsx("div",{className:"container mx-auto my-auto p-6",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto",children:[(0,s.jsxs)("div",{className:"mb-6",children:[s.jsx("h1",{className:"text-3xl font-bold",children:"Authentication Token"}),s.jsx("p",{className:"text-muted-foreground mt-2",children:"Your current authentication token for API access."})]}),(0,s.jsxs)(o.Zb,{children:[(0,s.jsxs)(o.Ol,{children:[(0,s.jsxs)(o.ll,{className:"flex items-center justify-between",children:[s.jsx("span",{children:"Current Token"}),s.jsx(c.C,{variant:r?"default":"destructive",children:r?"Active":"Unavailable"})]}),s.jsx(o.SZ,{children:"Use this token to authenticate API requests. Keep it secure and do not share it."})]}),s.jsx(o.aY,{className:"space-y-4",children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"space-y-2",children:[s.jsx("label",{htmlFor:"token",className:"text-sm font-medium",children:"Token Value"}),(0,s.jsxs)("div",{className:"flex gap-2",children:[s.jsx(l.I,{id:"token",type:"text",value:r,readOnly:!0,className:"font-mono text-sm"}),s.jsx(i.z,{onClick:j,variant:"outline",size:"sm",className:"shrink-0",children:g?s.jsx(u.Z,{className:"h-4 w-4"}):s.jsx(x.Z,{className:"h-4 w-4"})})]})]}),s.jsx("div",{className:"text-sm text-muted-foreground space-y-2",children:(0,s.jsxs)("p",{children:[s.jsx("strong",{children:"Security:"})," This token provides access to your account. Keep it private and secure."]})})]}):(0,s.jsxs)("div",{className:"text-center py-8",children:[s.jsx(d.Z,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),s.jsx("p",{className:"text-muted-foreground",children:"No token available. Please try refreshing the page or logging in again."})]})})]})]})})}},567:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var s=r(10326),a=r(79360);r(17577);var n=r(77863);let i=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o({className:e,variant:t,...r}){return s.jsx("div",{className:(0,n.cn)(i({variant:t}),e),...r})}},33071:(e,t,r)=>{"use strict";r.d(t,{Ol:()=>o,SZ:()=>c,Zb:()=>i,aY:()=>d,eW:()=>u,ll:()=>l});var s=r(10326),a=r(17577),n=r(77863);let i=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));i.displayName="Card";let o=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";let l=a.forwardRef(({className:e,...t},r)=>s.jsx("h3",{ref:r,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",e),...t}));l.displayName="CardTitle";let c=a.forwardRef(({className:e,...t},r)=>s.jsx("p",{ref:r,className:(0,n.cn)("text-sm text-muted-foreground",e),...t}));c.displayName="CardDescription";let d=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("p-6 pt-0",e),...t}));d.displayName="CardContent";let u=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("flex items-center p-6 pt-0",e),...t}));u.displayName="CardFooter"},87888:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});let s=(0,r(76557).Z)("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},54659:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});let s=(0,r(76557).Z)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},43810:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});let s=(0,r(76557).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},25138:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(68570).createProxy)(String.raw`/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9276,3543,9049,590,
|
|
1
|
+
(()=>{var e={};e.id=4041,e.ids=[4041],e.modules={57343:e=>{"use strict";e.exports=require("graphql")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},27790:e=>{"use strict";e.exports=require("assert")},78893:e=>{"use strict";e.exports=require("buffer")},61282:e=>{"use strict";e.exports=require("child_process")},84770:e=>{"use strict";e.exports=require("crypto")},80665:e=>{"use strict";e.exports=require("dns")},17702:e=>{"use strict";e.exports=require("events")},92048:e=>{"use strict";e.exports=require("fs")},32615:e=>{"use strict";e.exports=require("http")},35240:e=>{"use strict";e.exports=require("https")},98216:e=>{"use strict";e.exports=require("net")},19801:e=>{"use strict";e.exports=require("os")},55315:e=>{"use strict";e.exports=require("path")},86624:e=>{"use strict";e.exports=require("querystring")},76162:e=>{"use strict";e.exports=require("stream")},82452:e=>{"use strict";e.exports=require("tls")},17360:e=>{"use strict";e.exports=require("url")},21764:e=>{"use strict";e.exports=require("util")},71568:e=>{"use strict";e.exports=require("zlib")},8678:e=>{"use strict";e.exports=import("pg")},65818:(e,t,r)=>{"use strict";r.a(e,async(e,s)=>{try{r.r(t),r.d(t,{GlobalError:()=>l.a,__next_app__:()=>h,originalPathname:()=>m,pages:()=>p,routeModule:()=>f,tree:()=>x}),r(25138);var a=r(71197);r(35866);var n=r(23191),i=r(88716),o=r(37922),l=r.n(o),c=r(95231),d={};for(let e in c)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>c[e]);r.d(t,d);var u=e([a]);a=(u.then?(await u)():u)[0];let x=["",{children:["(application)",{children:["token",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,25138)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,71197)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,35866,23)),"next/dist/client/components/not-found-error"]}]},{"not-found":[()=>Promise.resolve().then(r.t.bind(r,35866,23)),"next/dist/client/components/not-found-error"]}],p=["/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx"],m="/(application)/token/page",h={require:r,loadChunk:()=>Promise.resolve()},f=new n.AppPageRouteModule({definition:{kind:i.x.APP_PAGE,page:"/(application)/token/page",pathname:"/token",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:x}});s()}catch(e){s(e)}})},13763:(e,t,r)=>{Promise.resolve().then(r.bind(r,37404))},37404:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var s=r(10326),a=r(77109),n=r(17577);r(59161);var i=r(90772),o=r(33071),l=r(54432),c=r(567),d=r(87888),u=r(54659),x=r(43810),p=r(34789);function m(){let{data:e,status:t}=(0,a.useSession)(),[r,m]=(0,n.useState)(null),[h,f]=(0,n.useState)(!0),[g,y]=(0,n.useState)(!1),{toast:v}=(0,p.pm)(),j=async()=>{if(r)try{await navigator.clipboard.writeText(r),y(!0),v({title:"Token copied!",description:"The token has been copied to your clipboard."}),setTimeout(()=>y(!1),2e3)}catch(e){v({title:"Failed to copy",description:"Could not copy token to clipboard.",variant:"destructive"})}};return"loading"===t||h?s.jsx("div",{className:"container mx-auto p-6",children:s.jsx("div",{className:"flex items-center justify-center min-h-[400px]",children:s.jsx("div",{className:"animate-spin rounded-full h-32 w-32 border-b-2 border-gray-900"})})}):"unauthenticated"===t?s.jsx("div",{className:"container mx-auto my-auto p-6",children:(0,s.jsxs)(o.Zb,{className:"max-w-md mx-auto",children:[(0,s.jsxs)(o.Ol,{children:[(0,s.jsxs)(o.ll,{className:"flex items-center gap-2",children:[s.jsx(d.Z,{className:"h-5 w-5 text-red-500"}),"Authentication Required"]}),s.jsx(o.SZ,{children:"You must be logged in to access your token."})]}),s.jsx(o.aY,{children:s.jsx("p",{className:"text-sm text-muted-foreground",children:"Please log in to view and copy your authentication token."})})]})}):s.jsx("div",{className:"container mx-auto my-auto p-6",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto",children:[(0,s.jsxs)("div",{className:"mb-6",children:[s.jsx("h1",{className:"text-3xl font-bold",children:"Authentication Token"}),s.jsx("p",{className:"text-muted-foreground mt-2",children:"Your current authentication token for API access."})]}),(0,s.jsxs)(o.Zb,{children:[(0,s.jsxs)(o.Ol,{children:[(0,s.jsxs)(o.ll,{className:"flex items-center justify-between",children:[s.jsx("span",{children:"Current Token"}),s.jsx(c.C,{variant:r?"default":"destructive",children:r?"Active":"Unavailable"})]}),s.jsx(o.SZ,{children:"Use this token to authenticate API requests. Keep it secure and do not share it."})]}),s.jsx(o.aY,{className:"space-y-4",children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"space-y-2",children:[s.jsx("label",{htmlFor:"token",className:"text-sm font-medium",children:"Token Value"}),(0,s.jsxs)("div",{className:"flex gap-2",children:[s.jsx(l.I,{id:"token",type:"text",value:r,readOnly:!0,className:"font-mono text-sm"}),s.jsx(i.z,{onClick:j,variant:"outline",size:"sm",className:"shrink-0",children:g?s.jsx(u.Z,{className:"h-4 w-4"}):s.jsx(x.Z,{className:"h-4 w-4"})})]})]}),s.jsx("div",{className:"text-sm text-muted-foreground space-y-2",children:(0,s.jsxs)("p",{children:[s.jsx("strong",{children:"Security:"})," This token provides access to your account. Keep it private and secure."]})})]}):(0,s.jsxs)("div",{className:"text-center py-8",children:[s.jsx(d.Z,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),s.jsx("p",{className:"text-muted-foreground",children:"No token available. Please try refreshing the page or logging in again."})]})})]})]})})}},567:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var s=r(10326),a=r(79360);r(17577);var n=r(77863);let i=(0,a.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function o({className:e,variant:t,...r}){return s.jsx("div",{className:(0,n.cn)(i({variant:t}),e),...r})}},33071:(e,t,r)=>{"use strict";r.d(t,{Ol:()=>o,SZ:()=>c,Zb:()=>i,aY:()=>d,eW:()=>u,ll:()=>l});var s=r(10326),a=r(17577),n=r(77863);let i=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));i.displayName="Card";let o=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";let l=a.forwardRef(({className:e,...t},r)=>s.jsx("h3",{ref:r,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",e),...t}));l.displayName="CardTitle";let c=a.forwardRef(({className:e,...t},r)=>s.jsx("p",{ref:r,className:(0,n.cn)("text-sm text-muted-foreground",e),...t}));c.displayName="CardDescription";let d=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("p-6 pt-0",e),...t}));d.displayName="CardContent";let u=a.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,n.cn)("flex items-center p-6 pt-0",e),...t}));u.displayName="CardFooter"},87888:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});let s=(0,r(76557).Z)("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},54659:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});let s=(0,r(76557).Z)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},43810:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});let s=(0,r(76557).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},25138:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(68570).createProxy)(String.raw`/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9276,3543,9049,590,8679,1051,7944],()=>r(65818));module.exports=s})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../node_modules/@opentelemetry/api/build/src/api/context.js","../../../../../node_modules/@opentelemetry/api/build/src/api/diag.js","../../../../../node_modules/@opentelemetry/api/build/src/api/metrics.js","../../../../../node_modules/@opentelemetry/api/build/src/api/propagation.js","../../../../../node_modules/@opentelemetry/api/build/src/api/trace.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/context-api.js","../../../../../node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js","../../../../../node_modules/@opentelemetry/api/build/src/context/context.js","../../../../../node_modules/@opentelemetry/api/build/src/diag-api.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/types.js","../../../../../node_modules/@opentelemetry/api/build/src/index.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/global-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/semver.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics-api.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/Metric.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/index.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/index.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation-api.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/trace-api.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/context-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/span_kind.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/status.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.js","../../../../../node_modules/@opentelemetry/api/build/src/version.js","../../../../../node_modules/@opentelemetry/api/package.json","../../../../../node_modules/graphql/error/GraphQLError.js","../../../../../node_modules/graphql/error/index.js","../../../../../node_modules/graphql/error/locatedError.js","../../../../../node_modules/graphql/error/syntaxError.js","../../../../../node_modules/graphql/execution/collectFields.js","../../../../../node_modules/graphql/execution/execute.js","../../../../../node_modules/graphql/execution/index.js","../../../../../node_modules/graphql/execution/mapAsyncIterator.js","../../../../../node_modules/graphql/execution/subscribe.js","../../../../../node_modules/graphql/execution/values.js","../../../../../node_modules/graphql/graphql.js","../../../../../node_modules/graphql/index.js","../../../../../node_modules/graphql/jsutils/Path.js","../../../../../node_modules/graphql/jsutils/devAssert.js","../../../../../node_modules/graphql/jsutils/didYouMean.js","../../../../../node_modules/graphql/jsutils/groupBy.js","../../../../../node_modules/graphql/jsutils/identityFunc.js","../../../../../node_modules/graphql/jsutils/inspect.js","../../../../../node_modules/graphql/jsutils/instanceOf.js","../../../../../node_modules/graphql/jsutils/invariant.js","../../../../../node_modules/graphql/jsutils/isAsyncIterable.js","../../../../../node_modules/graphql/jsutils/isIterableObject.js","../../../../../node_modules/graphql/jsutils/isObjectLike.js","../../../../../node_modules/graphql/jsutils/isPromise.js","../../../../../node_modules/graphql/jsutils/keyMap.js","../../../../../node_modules/graphql/jsutils/keyValMap.js","../../../../../node_modules/graphql/jsutils/mapValue.js","../../../../../node_modules/graphql/jsutils/memoize3.js","../../../../../node_modules/graphql/jsutils/naturalCompare.js","../../../../../node_modules/graphql/jsutils/printPathArray.js","../../../../../node_modules/graphql/jsutils/promiseForObject.js","../../../../../node_modules/graphql/jsutils/promiseReduce.js","../../../../../node_modules/graphql/jsutils/suggestionList.js","../../../../../node_modules/graphql/jsutils/toError.js","../../../../../node_modules/graphql/jsutils/toObjMap.js","../../../../../node_modules/graphql/language/ast.js","../../../../../node_modules/graphql/language/blockString.js","../../../../../node_modules/graphql/language/characterClasses.js","../../../../../node_modules/graphql/language/directiveLocation.js","../../../../../node_modules/graphql/language/index.js","../../../../../node_modules/graphql/language/kinds.js","../../../../../node_modules/graphql/language/lexer.js","../../../../../node_modules/graphql/language/location.js","../../../../../node_modules/graphql/language/parser.js","../../../../../node_modules/graphql/language/predicates.js","../../../../../node_modules/graphql/language/printLocation.js","../../../../../node_modules/graphql/language/printString.js","../../../../../node_modules/graphql/language/printer.js","../../../../../node_modules/graphql/language/source.js","../../../../../node_modules/graphql/language/tokenKind.js","../../../../../node_modules/graphql/language/visitor.js","../../../../../node_modules/graphql/package.json","../../../../../node_modules/graphql/type/assertName.js","../../../../../node_modules/graphql/type/definition.js","../../../../../node_modules/graphql/type/directives.js","../../../../../node_modules/graphql/type/index.js","../../../../../node_modules/graphql/type/introspection.js","../../../../../node_modules/graphql/type/scalars.js","../../../../../node_modules/graphql/type/schema.js","../../../../../node_modules/graphql/type/validate.js","../../../../../node_modules/graphql/utilities/TypeInfo.js","../../../../../node_modules/graphql/utilities/assertValidName.js","../../../../../node_modules/graphql/utilities/astFromValue.js","../../../../../node_modules/graphql/utilities/buildASTSchema.js","../../../../../node_modules/graphql/utilities/buildClientSchema.js","../../../../../node_modules/graphql/utilities/coerceInputValue.js","../../../../../node_modules/graphql/utilities/concatAST.js","../../../../../node_modules/graphql/utilities/extendSchema.js","../../../../../node_modules/graphql/utilities/findBreakingChanges.js","../../../../../node_modules/graphql/utilities/getIntrospectionQuery.js","../../../../../node_modules/graphql/utilities/getOperationAST.js","../../../../../node_modules/graphql/utilities/getOperationRootType.js","../../../../../node_modules/graphql/utilities/index.js","../../../../../node_modules/graphql/utilities/introspectionFromSchema.js","../../../../../node_modules/graphql/utilities/lexicographicSortSchema.js","../../../../../node_modules/graphql/utilities/printSchema.js","../../../../../node_modules/graphql/utilities/separateOperations.js","../../../../../node_modules/graphql/utilities/sortValueNode.js","../../../../../node_modules/graphql/utilities/stripIgnoredCharacters.js","../../../../../node_modules/graphql/utilities/typeComparators.js","../../../../../node_modules/graphql/utilities/typeFromAST.js","../../../../../node_modules/graphql/utilities/valueFromAST.js","../../../../../node_modules/graphql/utilities/valueFromASTUntyped.js","../../../../../node_modules/graphql/validation/ValidationContext.js","../../../../../node_modules/graphql/validation/index.js","../../../../../node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js","../../../../../node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js","../../../../../node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js","../../../../../node_modules/graphql/validation/rules/KnownArgumentNamesRule.js","../../../../../node_modules/graphql/validation/rules/KnownDirectivesRule.js","../../../../../node_modules/graphql/validation/rules/KnownFragmentNamesRule.js","../../../../../node_modules/graphql/validation/rules/KnownTypeNamesRule.js","../../../../../node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js","../../../../../node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js","../../../../../node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js","../../../../../node_modules/graphql/validation/rules/NoFragmentCyclesRule.js","../../../../../node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js","../../../../../node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js","../../../../../node_modules/graphql/validation/rules/NoUnusedVariablesRule.js","../../../../../node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js","../../../../../node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js","../../../../../node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js","../../../../../node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js","../../../../../node_modules/graphql/validation/rules/ScalarLeafsRule.js","../../../../../node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js","../../../../../node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js","../../../../../node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueOperationNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueOperationTypesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueTypeNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueVariableNamesRule.js","../../../../../node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js","../../../../../node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js","../../../../../node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js","../../../../../node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js","../../../../../node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js","../../../../../node_modules/graphql/validation/specifiedRules.js","../../../../../node_modules/graphql/validation/validate.js","../../../../../node_modules/graphql/version.js","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/dist/index.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/node_modules/pg-connection-string/index.js","../../../../../node_modules/pg/node_modules/pg-connection-string/package.json","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/index.js","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1051.js","../../../chunks/3543.js","../../../chunks/590.js","../../../chunks/7598.js","../../../chunks/7944.js","../../../chunks/9049.js","../../../chunks/9276.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../node_modules/@opentelemetry/api/build/src/api/context.js","../../../../../node_modules/@opentelemetry/api/build/src/api/diag.js","../../../../../node_modules/@opentelemetry/api/build/src/api/metrics.js","../../../../../node_modules/@opentelemetry/api/build/src/api/propagation.js","../../../../../node_modules/@opentelemetry/api/build/src/api/trace.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/context-api.js","../../../../../node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js","../../../../../node_modules/@opentelemetry/api/build/src/context/context.js","../../../../../node_modules/@opentelemetry/api/build/src/diag-api.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/types.js","../../../../../node_modules/@opentelemetry/api/build/src/index.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/global-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/semver.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics-api.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/Metric.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/index.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js","../../../../../node_modules/@opentelemetry/api/build/src/platform/node/index.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation-api.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/trace-api.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/context-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/span_kind.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/status.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.js","../../../../../node_modules/@opentelemetry/api/build/src/version.js","../../../../../node_modules/@opentelemetry/api/package.json","../../../../../node_modules/graphql/error/GraphQLError.js","../../../../../node_modules/graphql/error/index.js","../../../../../node_modules/graphql/error/locatedError.js","../../../../../node_modules/graphql/error/syntaxError.js","../../../../../node_modules/graphql/execution/collectFields.js","../../../../../node_modules/graphql/execution/execute.js","../../../../../node_modules/graphql/execution/index.js","../../../../../node_modules/graphql/execution/mapAsyncIterator.js","../../../../../node_modules/graphql/execution/subscribe.js","../../../../../node_modules/graphql/execution/values.js","../../../../../node_modules/graphql/graphql.js","../../../../../node_modules/graphql/index.js","../../../../../node_modules/graphql/jsutils/Path.js","../../../../../node_modules/graphql/jsutils/devAssert.js","../../../../../node_modules/graphql/jsutils/didYouMean.js","../../../../../node_modules/graphql/jsutils/groupBy.js","../../../../../node_modules/graphql/jsutils/identityFunc.js","../../../../../node_modules/graphql/jsutils/inspect.js","../../../../../node_modules/graphql/jsutils/instanceOf.js","../../../../../node_modules/graphql/jsutils/invariant.js","../../../../../node_modules/graphql/jsutils/isAsyncIterable.js","../../../../../node_modules/graphql/jsutils/isIterableObject.js","../../../../../node_modules/graphql/jsutils/isObjectLike.js","../../../../../node_modules/graphql/jsutils/isPromise.js","../../../../../node_modules/graphql/jsutils/keyMap.js","../../../../../node_modules/graphql/jsutils/keyValMap.js","../../../../../node_modules/graphql/jsutils/mapValue.js","../../../../../node_modules/graphql/jsutils/memoize3.js","../../../../../node_modules/graphql/jsutils/naturalCompare.js","../../../../../node_modules/graphql/jsutils/printPathArray.js","../../../../../node_modules/graphql/jsutils/promiseForObject.js","../../../../../node_modules/graphql/jsutils/promiseReduce.js","../../../../../node_modules/graphql/jsutils/suggestionList.js","../../../../../node_modules/graphql/jsutils/toError.js","../../../../../node_modules/graphql/jsutils/toObjMap.js","../../../../../node_modules/graphql/language/ast.js","../../../../../node_modules/graphql/language/blockString.js","../../../../../node_modules/graphql/language/characterClasses.js","../../../../../node_modules/graphql/language/directiveLocation.js","../../../../../node_modules/graphql/language/index.js","../../../../../node_modules/graphql/language/kinds.js","../../../../../node_modules/graphql/language/lexer.js","../../../../../node_modules/graphql/language/location.js","../../../../../node_modules/graphql/language/parser.js","../../../../../node_modules/graphql/language/predicates.js","../../../../../node_modules/graphql/language/printLocation.js","../../../../../node_modules/graphql/language/printString.js","../../../../../node_modules/graphql/language/printer.js","../../../../../node_modules/graphql/language/source.js","../../../../../node_modules/graphql/language/tokenKind.js","../../../../../node_modules/graphql/language/visitor.js","../../../../../node_modules/graphql/package.json","../../../../../node_modules/graphql/type/assertName.js","../../../../../node_modules/graphql/type/definition.js","../../../../../node_modules/graphql/type/directives.js","../../../../../node_modules/graphql/type/index.js","../../../../../node_modules/graphql/type/introspection.js","../../../../../node_modules/graphql/type/scalars.js","../../../../../node_modules/graphql/type/schema.js","../../../../../node_modules/graphql/type/validate.js","../../../../../node_modules/graphql/utilities/TypeInfo.js","../../../../../node_modules/graphql/utilities/assertValidName.js","../../../../../node_modules/graphql/utilities/astFromValue.js","../../../../../node_modules/graphql/utilities/buildASTSchema.js","../../../../../node_modules/graphql/utilities/buildClientSchema.js","../../../../../node_modules/graphql/utilities/coerceInputValue.js","../../../../../node_modules/graphql/utilities/concatAST.js","../../../../../node_modules/graphql/utilities/extendSchema.js","../../../../../node_modules/graphql/utilities/findBreakingChanges.js","../../../../../node_modules/graphql/utilities/getIntrospectionQuery.js","../../../../../node_modules/graphql/utilities/getOperationAST.js","../../../../../node_modules/graphql/utilities/getOperationRootType.js","../../../../../node_modules/graphql/utilities/index.js","../../../../../node_modules/graphql/utilities/introspectionFromSchema.js","../../../../../node_modules/graphql/utilities/lexicographicSortSchema.js","../../../../../node_modules/graphql/utilities/printSchema.js","../../../../../node_modules/graphql/utilities/separateOperations.js","../../../../../node_modules/graphql/utilities/sortValueNode.js","../../../../../node_modules/graphql/utilities/stripIgnoredCharacters.js","../../../../../node_modules/graphql/utilities/typeComparators.js","../../../../../node_modules/graphql/utilities/typeFromAST.js","../../../../../node_modules/graphql/utilities/valueFromAST.js","../../../../../node_modules/graphql/utilities/valueFromASTUntyped.js","../../../../../node_modules/graphql/validation/ValidationContext.js","../../../../../node_modules/graphql/validation/index.js","../../../../../node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js","../../../../../node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js","../../../../../node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js","../../../../../node_modules/graphql/validation/rules/KnownArgumentNamesRule.js","../../../../../node_modules/graphql/validation/rules/KnownDirectivesRule.js","../../../../../node_modules/graphql/validation/rules/KnownFragmentNamesRule.js","../../../../../node_modules/graphql/validation/rules/KnownTypeNamesRule.js","../../../../../node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js","../../../../../node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js","../../../../../node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js","../../../../../node_modules/graphql/validation/rules/NoFragmentCyclesRule.js","../../../../../node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js","../../../../../node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js","../../../../../node_modules/graphql/validation/rules/NoUnusedVariablesRule.js","../../../../../node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js","../../../../../node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js","../../../../../node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js","../../../../../node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js","../../../../../node_modules/graphql/validation/rules/ScalarLeafsRule.js","../../../../../node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js","../../../../../node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js","../../../../../node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueOperationNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueOperationTypesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueTypeNamesRule.js","../../../../../node_modules/graphql/validation/rules/UniqueVariableNamesRule.js","../../../../../node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js","../../../../../node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js","../../../../../node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js","../../../../../node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js","../../../../../node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js","../../../../../node_modules/graphql/validation/specifiedRules.js","../../../../../node_modules/graphql/validation/validate.js","../../../../../node_modules/graphql/version.js","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../node_modules/pg-cloudflare/dist/empty.js","../../../../../node_modules/pg-cloudflare/dist/index.js","../../../../../node_modules/pg-cloudflare/package.json","../../../../../node_modules/pg-int8/index.js","../../../../../node_modules/pg-int8/package.json","../../../../../node_modules/pg-pool/index.js","../../../../../node_modules/pg-pool/package.json","../../../../../node_modules/pg-protocol/dist/buffer-reader.js","../../../../../node_modules/pg-protocol/dist/buffer-writer.js","../../../../../node_modules/pg-protocol/dist/index.js","../../../../../node_modules/pg-protocol/dist/messages.js","../../../../../node_modules/pg-protocol/dist/parser.js","../../../../../node_modules/pg-protocol/dist/serializer.js","../../../../../node_modules/pg-protocol/package.json","../../../../../node_modules/pg-types/index.js","../../../../../node_modules/pg-types/lib/arrayParser.js","../../../../../node_modules/pg-types/lib/binaryParsers.js","../../../../../node_modules/pg-types/lib/builtins.js","../../../../../node_modules/pg-types/lib/textParsers.js","../../../../../node_modules/pg-types/package.json","../../../../../node_modules/pg/esm/index.mjs","../../../../../node_modules/pg/lib/client.js","../../../../../node_modules/pg/lib/connection-parameters.js","../../../../../node_modules/pg/lib/connection.js","../../../../../node_modules/pg/lib/crypto/cert-signatures.js","../../../../../node_modules/pg/lib/crypto/sasl.js","../../../../../node_modules/pg/lib/crypto/utils-legacy.js","../../../../../node_modules/pg/lib/crypto/utils-webcrypto.js","../../../../../node_modules/pg/lib/crypto/utils.js","../../../../../node_modules/pg/lib/defaults.js","../../../../../node_modules/pg/lib/index.js","../../../../../node_modules/pg/lib/native/client.js","../../../../../node_modules/pg/lib/native/index.js","../../../../../node_modules/pg/lib/native/query.js","../../../../../node_modules/pg/lib/query.js","../../../../../node_modules/pg/lib/result.js","../../../../../node_modules/pg/lib/stream.js","../../../../../node_modules/pg/lib/type-overrides.js","../../../../../node_modules/pg/lib/utils.js","../../../../../node_modules/pg/node_modules/pg-connection-string/index.js","../../../../../node_modules/pg/node_modules/pg-connection-string/package.json","../../../../../node_modules/pg/package.json","../../../../../node_modules/pgpass/lib/helper.js","../../../../../node_modules/pgpass/lib/index.js","../../../../../node_modules/pgpass/package.json","../../../../../node_modules/postgres-array/index.js","../../../../../node_modules/postgres-array/package.json","../../../../../node_modules/postgres-bytea/index.js","../../../../../node_modules/postgres-bytea/package.json","../../../../../node_modules/postgres-date/index.js","../../../../../node_modules/postgres-date/package.json","../../../../../node_modules/postgres-interval/index.js","../../../../../node_modules/postgres-interval/package.json","../../../../../node_modules/split2/index.js","../../../../../node_modules/split2/package.json","../../../../../node_modules/xtend/mutable.js","../../../../../node_modules/xtend/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1051.js","../../../chunks/3543.js","../../../chunks/590.js","../../../chunks/7944.js","../../../chunks/8679.js","../../../chunks/9049.js","../../../chunks/9276.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(application)/token/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"80":{"*":{"id":"41868","name":"*","chunks":[],"async":false}},"575":{"*":{"id":"15114","name":"*","chunks":[],"async":false}},"831":{"*":{"id":"23982","name":"*","chunks":[],"async":false}},"3793":{"*":{"id":"37404","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"79671","name":"*","chunks":[],"async":false}},"6231":{"*":{"id":"26533","name":"*","chunks":[],"async":true}},"9402":{"*":{"id":"31586","name":"*","chunks":[],"async":false}},"12846":{"*":{"id":"12994","name":"*","chunks":[],"async":false}},"13832":{"*":{"id":"15211","name":"*","chunks":[],"async":false}},"16120":{"*":{"id":"43490","name":"*","chunks":[],"async":false}},"16719":{"*":{"id":"48760","name":"*","chunks":[],"async":false}},"19107":{"*":{"id":"96114","name":"*","chunks":[],"async":false}},"19774":{"*":{"id":"99954","name":"*","chunks":[],"async":false}},"20442":{"*":{"id":"65765","name":"*","chunks":[],"async":true}},"21391":{"*":{"id":"2424","name":"*","chunks":[],"async":false}},"21654":{"*":{"id":"8078","name":"*","chunks":[],"async":false}},"33354":{"*":{"id":"32108","name":"*","chunks":[],"async":false}},"34984":{"*":{"id":"28718","name":"*","chunks":[],"async":false}},"36423":{"*":{"id":"84759","name":"*","chunks":[],"async":false}},"38165":{"*":{"id":"3317","name":"*","chunks":[],"async":false}},"41587":{"*":{"id":"92214","name":"*","chunks":[],"async":false}},"44045":{"*":{"id":"30463","name":"*","chunks":[],"async":false}},"52323":{"*":{"id":"30574","name":"*","chunks":[],"async":false}},"52489":{"*":{"id":"82886","name":"*","chunks":[],"async":false}},"53806":{"*":{"id":"3966","name":"*","chunks":[],"async":false}},"55459":{"*":{"id":"63978","name":"*","chunks":[],"async":false}},"55623":{"*":{"id":"1520","name":"*","chunks":[],"async":false}},"57614":{"*":{"id":"75983","name":"*","chunks":[],"async":false}},"59556":{"*":{"id":"77083","name":"*","chunks":[],"async":false}},"60617":{"*":{"id":"77373","name":"*","chunks":[],"async":false}},"61060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"63950":{"*":{"id":"37096","name":"*","chunks":[],"async":false}},"64419":{"*":{"id":"97304","name":"*","chunks":[],"async":false}},"67559":{"*":{"id":"38465","name":"*","chunks":[],"async":false}},"68476":{"*":{"id":"61444","name":"*","chunks":[],"async":false}},"70292":{"*":{"id":"50511","name":"*","chunks":[],"async":false}},"72147":{"*":{"id":"59243","name":"*","chunks":[],"async":false}},"76193":{"*":{"id":"26806","name":"*","chunks":[],"async":false}},"77569":{"*":{"id":"59190","name":"*","chunks":[],"async":false}},"82798":{"*":{"id":"15813","name":"*","chunks":[],"async":false}},"92814":{"*":{"id":"3275","name":"*","chunks":[],"async":false}},"96126":{"*":{"id":"46465","name":"*","chunks":[],"async":false}},"99593":{"*":{"id":"95220","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/app-router.js":{"id":12846,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/app-router.js":{"id":12846,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/client-page.js":{"id":19107,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/client-page.js":{"id":19107,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/error-boundary.js":{"id":61060,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":61060,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/render-from-template-context.js":{"id":36423,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":36423,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/configuration/page.tsx":{"id":9402,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/authenticated.tsx":{"id":13832,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","7629","static/chunks/7629-36a80394f5716831.js","6148","static/chunks/6148-ec67c453b9affb6a.js","847","static/chunks/847-7e49f05560c72797.js","7648","static/chunks/7648-be88d7a414ab6394.js","7823","static/chunks/7823-52bfe0a2cad4b916.js","8068","static/chunks/8068-9165bd614a7822c6.js","5799","static/chunks/5799-f292308b71870013.js","4567","static/chunks/4567-b526d1258bc33820.js","605","static/chunks/605-3880e43fef392c84.js","85","static/chunks/85-f0d63cfae716000a.js","4957","static/chunks/4957-da407878e1e8153f.js","7398","static/chunks/7398-c6de1642586049cd.js","6111","static/chunks/6111-5ab0e72a466543ea.js","3832","static/chunks/3832-10b779e2f89f162f.js","1049","static/chunks/app/(application)/layout-73d93420d0c6661c.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/query-client.tsx":{"id":57614,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/globals.css":{"id":47960,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/config-context.tsx":{"id":44045,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/theme-provider.tsx":{"id":82798,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/ui/toaster.tsx":{"id":59556,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/font/local/target.css?{\"path\":\"lib/fonts.ts\",\"import\":\"\",\"arguments\":[{\"src\":[{\"path\":\"../public/fonts/Inter-Light.woff2\",\"weight\":\"300\",\"style\":\"normal\"},{\"path\":\"../public/fonts/Inter-Regular.woff2\",\"weight\":\"400\",\"style\":\"normal\"},{\"path\":\"../public/fonts/Inter-Bold.woff2\",\"weight\":\"700\",\"style\":\"normal\"}],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":59127,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/font/local/target.css?{\"path\":\"lib/fonts.ts\",\"import\":\"\",\"arguments\":[{\"src\":\"../public/fonts/JetBrainsMono-Regular.woff2\",\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":78985,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/font/local/target.css?{\"path\":\"lib/fonts.ts\",\"import\":\"\",\"arguments\":[{\"src\":\"../public/fonts/Merriweather-Regular.woff2\",\"variable\":\"--font-serif\",\"display\":\"swap\"}],\"variableName\":\"merriweather\"}":{"id":38713,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/keys/page.tsx":{"id":63950,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx":{"id":3793,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","605","static/chunks/605-3880e43fef392c84.js","4041","static/chunks/app/(application)/token/page-f86eaf8c51fdbe52.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/roles/page.tsx":{"id":96126,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/agents/edit/[id]/page.tsx":{"id":76193,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/agents/page.tsx":{"id":72147,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/dashboard/page.tsx":{"id":34984,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/cases/page.tsx":{"id":52489,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/page.tsx":{"id":92814,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/jobs/page.tsx":{"id":19774,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/explorer/graphiql.tsx":{"id":77569,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/page.tsx":{"id":575,"name":"*","chunks":["4692","static/chunks/app/(application)/page-16a518c5864e6963.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/[id]/runs/page.tsx":{"id":20442,"name":"*","chunks":[],"async":true},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/[id]/page.tsx":{"id":831,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx":{"id":38165,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/page.tsx":{"id":67559,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/workflows/page.tsx":{"id":16719,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/create/page.tsx":{"id":64419,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(authentication)/login/login.tsx":{"id":53806,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(authentication)/login/error.tsx":{"id":70292,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/logo.tsx":{"id":21391,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/edit/[variable_id]/page.tsx":{"id":55623,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/usage/[variable_id]/page.tsx":{"id":68476,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/layout.tsx":{"id":41587,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/data/[[...query]]/page.tsx":{"id":6231,"name":"*","chunks":[],"async":true},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/data/[[...query]]/layout.tsx":{"id":55459,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/projects/[project]/page.tsx":{"id":33354,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/projects/layout.tsx":{"id":21654,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/projects/page.tsx":{"id":60617,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/[agent]/page.tsx":{"id":16120,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/[agent]/layout.tsx":{"id":52323,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/[agent]/[session]/page.tsx":{"id":99593,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/exulu-frontend/exulu-frontend/":[],"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/layout":["static/css/a7092ddec8ffd4fb.css","static/css/e3f2a16ab7676b05.css"],"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/page":["static/css/0c8b3bd55af472ec.css"],"/home/runner/work/exulu-frontend/exulu-frontend/app/(authentication)/layout":["static/css/a7092ddec8ffd4fb.css","static/css/e3f2a16ab7676b05.css"],"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page":[]}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(application)/token/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"80":{"*":{"id":"41868","name":"*","chunks":[],"async":false}},"575":{"*":{"id":"15114","name":"*","chunks":[],"async":false}},"831":{"*":{"id":"23982","name":"*","chunks":[],"async":false}},"3793":{"*":{"id":"37404","name":"*","chunks":[],"async":false}},"4707":{"*":{"id":"79671","name":"*","chunks":[],"async":false}},"9402":{"*":{"id":"38188","name":"*","chunks":[],"async":false}},"12846":{"*":{"id":"12994","name":"*","chunks":[],"async":false}},"13434":{"*":{"id":"26533","name":"*","chunks":[],"async":true}},"13832":{"*":{"id":"15211","name":"*","chunks":[],"async":false}},"16120":{"*":{"id":"43490","name":"*","chunks":[],"async":false}},"16719":{"*":{"id":"48760","name":"*","chunks":[],"async":false}},"19107":{"*":{"id":"96114","name":"*","chunks":[],"async":false}},"19774":{"*":{"id":"99954","name":"*","chunks":[],"async":false}},"21391":{"*":{"id":"2424","name":"*","chunks":[],"async":false}},"21654":{"*":{"id":"8078","name":"*","chunks":[],"async":false}},"36423":{"*":{"id":"84759","name":"*","chunks":[],"async":false}},"38165":{"*":{"id":"3317","name":"*","chunks":[],"async":false}},"41587":{"*":{"id":"92214","name":"*","chunks":[],"async":false}},"44045":{"*":{"id":"30463","name":"*","chunks":[],"async":false}},"52323":{"*":{"id":"30574","name":"*","chunks":[],"async":false}},"52489":{"*":{"id":"82886","name":"*","chunks":[],"async":false}},"53806":{"*":{"id":"3966","name":"*","chunks":[],"async":false}},"53853":{"*":{"id":"65765","name":"*","chunks":[],"async":true}},"55459":{"*":{"id":"3871","name":"*","chunks":[],"async":false}},"55623":{"*":{"id":"1520","name":"*","chunks":[],"async":false}},"56779":{"*":{"id":"32108","name":"*","chunks":[],"async":false}},"57614":{"*":{"id":"75983","name":"*","chunks":[],"async":false}},"59556":{"*":{"id":"77083","name":"*","chunks":[],"async":false}},"60617":{"*":{"id":"77373","name":"*","chunks":[],"async":false}},"61060":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"63950":{"*":{"id":"37096","name":"*","chunks":[],"async":false}},"64419":{"*":{"id":"97304","name":"*","chunks":[],"async":false}},"67559":{"*":{"id":"38465","name":"*","chunks":[],"async":false}},"67797":{"*":{"id":"53990","name":"*","chunks":[],"async":false}},"68476":{"*":{"id":"61444","name":"*","chunks":[],"async":false}},"70292":{"*":{"id":"50511","name":"*","chunks":[],"async":false}},"72147":{"*":{"id":"66006","name":"*","chunks":[],"async":false}},"76193":{"*":{"id":"26806","name":"*","chunks":[],"async":false}},"77569":{"*":{"id":"59190","name":"*","chunks":[],"async":false}},"82798":{"*":{"id":"15813","name":"*","chunks":[],"async":false}},"92814":{"*":{"id":"3275","name":"*","chunks":[],"async":false}},"96126":{"*":{"id":"46465","name":"*","chunks":[],"async":false}},"99593":{"*":{"id":"95220","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/app-router.js":{"id":12846,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/app-router.js":{"id":12846,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/client-page.js":{"id":19107,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/client-page.js":{"id":19107,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/error-boundary.js":{"id":61060,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":61060,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/layout-router.js":{"id":4707,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":80,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/client/components/render-from-template-context.js":{"id":36423,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":36423,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/configuration/page.tsx":{"id":9402,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/authenticated.tsx":{"id":13832,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","7629","static/chunks/7629-36a80394f5716831.js","6148","static/chunks/6148-ec67c453b9affb6a.js","847","static/chunks/847-7e49f05560c72797.js","7648","static/chunks/7648-be88d7a414ab6394.js","7823","static/chunks/7823-52bfe0a2cad4b916.js","8068","static/chunks/8068-9165bd614a7822c6.js","5799","static/chunks/5799-f292308b71870013.js","4567","static/chunks/4567-b526d1258bc33820.js","605","static/chunks/605-3880e43fef392c84.js","85","static/chunks/85-f0d63cfae716000a.js","4957","static/chunks/4957-da407878e1e8153f.js","5243","static/chunks/5243-1aaa41b2cd0ea87c.js","6111","static/chunks/6111-5ab0e72a466543ea.js","3832","static/chunks/3832-a5e8fc6647e2be65.js","1049","static/chunks/app/(application)/layout-694c53aca85ef437.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/query-client.tsx":{"id":57614,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/globals.css":{"id":47960,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/config-context.tsx":{"id":44045,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/theme-provider.tsx":{"id":82798,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/ui/toaster.tsx":{"id":59556,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/font/local/target.css?{\"path\":\"lib/fonts.ts\",\"import\":\"\",\"arguments\":[{\"src\":[{\"path\":\"../public/fonts/Inter-Light.woff2\",\"weight\":\"300\",\"style\":\"normal\"},{\"path\":\"../public/fonts/Inter-Regular.woff2\",\"weight\":\"400\",\"style\":\"normal\"},{\"path\":\"../public/fonts/Inter-Bold.woff2\",\"weight\":\"700\",\"style\":\"normal\"}],\"variable\":\"--font-sans\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":59127,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/font/local/target.css?{\"path\":\"lib/fonts.ts\",\"import\":\"\",\"arguments\":[{\"src\":\"../public/fonts/JetBrainsMono-Regular.woff2\",\"variable\":\"--font-mono\",\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":78985,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/node_modules/next/font/local/target.css?{\"path\":\"lib/fonts.ts\",\"import\":\"\",\"arguments\":[{\"src\":\"../public/fonts/Merriweather-Regular.woff2\",\"variable\":\"--font-serif\",\"display\":\"swap\"}],\"variableName\":\"merriweather\"}":{"id":38713,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/keys/page.tsx":{"id":63950,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page.tsx":{"id":3793,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","605","static/chunks/605-3880e43fef392c84.js","4041","static/chunks/app/(application)/token/page-f86eaf8c51fdbe52.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/roles/page.tsx":{"id":96126,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/agents/edit/[id]/page.tsx":{"id":76193,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/agents/page.tsx":{"id":72147,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/[id]/runs/page.tsx":{"id":53853,"name":"*","chunks":[],"async":true},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/dashboard/page.tsx":{"id":67797,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/cases/page.tsx":{"id":52489,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/explorer/graphiql.tsx":{"id":77569,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/jobs/page.tsx":{"id":19774,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/page.tsx":{"id":92814,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/page.tsx":{"id":575,"name":"*","chunks":["4692","static/chunks/app/(application)/page-16a518c5864e6963.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx":{"id":38165,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/evals/[id]/page.tsx":{"id":831,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/page.tsx":{"id":67559,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/workflows/page.tsx":{"id":16719,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(authentication)/login/login.tsx":{"id":53806,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(authentication)/login/error.tsx":{"id":70292,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/components/logo.tsx":{"id":21391,"name":"*","chunks":["9851","static/chunks/9851-52f575957c29273b.js","8068","static/chunks/8068-9165bd614a7822c6.js","6111","static/chunks/6111-5ab0e72a466543ea.js","6626","static/chunks/app/(authentication)/layout-858cb7ff10b67612.js"],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/create/page.tsx":{"id":64419,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/edit/[variable_id]/page.tsx":{"id":55623,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/variables/usage/[variable_id]/page.tsx":{"id":68476,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/layout.tsx":{"id":41587,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/data/[[...query]]/page.tsx":{"id":13434,"name":"*","chunks":[],"async":true},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/data/[[...query]]/layout.tsx":{"id":55459,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/projects/[project]/page.tsx":{"id":56779,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/projects/layout.tsx":{"id":21654,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/projects/page.tsx":{"id":60617,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/[agent]/page.tsx":{"id":16120,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/[agent]/layout.tsx":{"id":52323,"name":"*","chunks":[],"async":false},"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/chat/[agent]/[session]/page.tsx":{"id":99593,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/exulu-frontend/exulu-frontend/":[],"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/layout":["static/css/006966ab2edd0ebc.css","static/css/e3f2a16ab7676b05.css"],"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/page":["static/css/0c8b3bd55af472ec.css"],"/home/runner/work/exulu-frontend/exulu-frontend/app/(authentication)/layout":["static/css/006966ab2edd0ebc.css","static/css/e3f2a16ab7676b05.css"],"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/token/page":[]}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={};e.id=8441,e.ids=[8441],e.modules={57343:e=>{"use strict";e.exports=require("graphql")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},27790:e=>{"use strict";e.exports=require("assert")},78893:e=>{"use strict";e.exports=require("buffer")},61282:e=>{"use strict";e.exports=require("child_process")},84770:e=>{"use strict";e.exports=require("crypto")},80665:e=>{"use strict";e.exports=require("dns")},17702:e=>{"use strict";e.exports=require("events")},92048:e=>{"use strict";e.exports=require("fs")},32615:e=>{"use strict";e.exports=require("http")},35240:e=>{"use strict";e.exports=require("https")},98216:e=>{"use strict";e.exports=require("net")},19801:e=>{"use strict";e.exports=require("os")},55315:e=>{"use strict";e.exports=require("path")},86624:e=>{"use strict";e.exports=require("querystring")},76162:e=>{"use strict";e.exports=require("stream")},82452:e=>{"use strict";e.exports=require("tls")},17360:e=>{"use strict";e.exports=require("url")},21764:e=>{"use strict";e.exports=require("util")},71568:e=>{"use strict";e.exports=require("zlib")},8678:e=>{"use strict";e.exports=import("pg")},3168:(e,s,t)=>{"use strict";t.a(e,async(e,r)=>{try{t.r(s),t.d(s,{GlobalError:()=>o.a,__next_app__:()=>x,originalPathname:()=>h,pages:()=>m,routeModule:()=>g,tree:()=>p}),t(7049);var a=t(71197);t(35866);var i=t(23191),n=t(88716),l=t(37922),o=t.n(l),d=t(95231),c={};for(let e in d)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(c[e]=()=>d[e]);t.d(s,c);var u=e([a]);a=(u.then?(await u)():u)[0];let p=["",{children:["(application)",{children:["users",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,7049)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,71197)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,35866,23)),"next/dist/client/components/not-found-error"]}]},{"not-found":[()=>Promise.resolve().then(t.t.bind(t,35866,23)),"next/dist/client/components/not-found-error"]}],m=["/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx"],h="/(application)/users/page",x={require:t,loadChunk:()=>Promise.resolve()},g=new i.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/(application)/users/page",pathname:"/users",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}});r()}catch(e){r(e)}})},95419:(e,s,t)=>{Promise.resolve().then(t.bind(t,3317))},3317:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>O,dynamic:()=>T});var r=t(10326),a=t(17577),i=t(53313),n=t(76812),l=t(90772),o=t(60097),d=t(77863);function c({column:e,title:s,className:t}){return e.getCanSort()?r.jsx("div",{className:(0,d.cn)("flex items-center space-x-2",t),children:(0,r.jsxs)(o.h_,{children:[r.jsx(o.$F,{asChild:!0,children:(0,r.jsxs)(l.z,{variant:"ghost",size:"sm",className:"-ml-3 h-8 data-[state=open]:bg-accent",children:[r.jsx("span",{children:s}),"desc"===e.getIsSorted()?r.jsx(n.veu,{className:"ml-2 size-4"}):"asc"===e.getIsSorted()?r.jsx(n.Hf3,{className:"ml-2 size-4"}):r.jsx(n.jnn,{className:"ml-2 size-4"})]})}),(0,r.jsxs)(o.AW,{align:"start",children:[(0,r.jsxs)(o.Xi,{onClick:()=>e.toggleSorting(!1),children:[r.jsx(n.Hf3,{className:"mr-2 size-3.5 text-muted-foreground/70"}),"Asc"]}),(0,r.jsxs)(o.Xi,{onClick:()=>e.toggleSorting(!0),children:[r.jsx(n.veu,{className:"mr-2 size-3.5 text-muted-foreground/70"}),"Desc"]}),r.jsx(o.VD,{}),(0,r.jsxs)(o.Xi,{onClick:()=>e.toggleVisibility(!1),children:[r.jsx(n.L52,{className:"mr-2 size-3.5 text-muted-foreground/70"}),"Hide"]})]})]})}):r.jsx("div",{className:(0,d.cn)(t),children:s})}var u=t(18753),p=t(42270),m=t(62288),h=t(54432),x=t(31048),g=t(34789),f=t(770);let j=f.Ry({id:f.Rx(),email:f.Z_(),emailVerified:f.Z_().nullable().optional(),roles:f.IX(f.Ry({id:f.Z_(),role:f.Z_()})).nullable().optional()});var v=t(15211),y=t(91216),w=t(12714),b=t(43810);function C({row:e}){let{user:s}=(0,a.useContext)(v.S),t=j.parse(e.original),{toast:i}=(0,g.pm)(),[d,c]=(0,a.useState)(!1),[f,C]=(0,a.useState)(""),[N,k]=(0,a.useState)(!1),[P,S]=(0,a.useState)(!1),[z,R]=(0,u.D)(p.eY,{refetchQueries:[p.fo,"GetUsers"]}),[E]=(0,u.D)(p.ui,{refetchQueries:[p.fo,"GetUsers"]}),M=()=>{let e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*",s="";for(let t=0;t<12;t++)s+=e.charAt(Math.floor(Math.random()*e.length));return s},_=async()=>{S(!0);try{await E({variables:{id:t.id,password:f}}),i({title:"Password reset",description:`Password has been reset for ${t.email}.`}),c(!1),C(""),k(!1)}catch(e){console.error("Error resetting password:",e),i({title:"Error",description:"Failed to reset password. Please try again.",variant:"destructive"})}finally{S(!1)}},q=async e=>{try{await navigator.clipboard.writeText(e),i({title:"Copied",description:"Password copied to clipboard"})}catch(e){i({title:"Error",description:"Failed to copy to clipboard",variant:"destructive"})}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.h_,{children:[r.jsx(o.$F,{asChild:!0,children:(0,r.jsxs)(l.z,{variant:"ghost",className:"flex size-8 p-0 data-[state=open]:bg-muted",children:[r.jsx(n.nWS,{className:"size-4"}),r.jsx("span",{className:"sr-only",children:"Open menu"})]})}),(0,r.jsxs)(o.AW,{align:"end",className:"w-[160px]",children:[r.jsx(o.Xi,{onClick:()=>{C(M()),c(!0)},children:"Reset password"}),r.jsx(o.Xi,{onClick:()=>{if(s.id===t.id){i({title:"Cannot delete your own user",description:"You cannot delete your own user, that would be a bad idea."});return}window.confirm("Are you sure you want to delete this user?")&&(z({variables:{id:t.id}}),i({title:"Deleting user",description:"We deleted the user."}))},children:"Delete user"})]})]}),r.jsx(m.Vq,{open:d,onOpenChange:c,children:(0,r.jsxs)(m.cZ,{className:"max-w-md",children:[(0,r.jsxs)(m.fK,{children:[r.jsx(m.$N,{children:"Reset Password"}),(0,r.jsxs)(m.Be,{children:["A temporary password has been generated for ",t.email,". Copy and send it to the user manually."]})]}),r.jsx("div",{className:"space-y-4",children:(0,r.jsxs)("div",{children:[r.jsx(x._,{htmlFor:"password",children:"Temporary Password"}),(0,r.jsxs)("div",{className:"relative mt-1",children:[r.jsx(h.I,{id:"password",type:N?"text":"password",value:f,readOnly:!0,className:"pr-20"}),(0,r.jsxs)("div",{className:"absolute right-1 top-1/2 -translate-y-1/2 flex gap-1",children:[r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>k(!N),children:N?r.jsx(y.Z,{className:"h-4 w-4"}):r.jsx(w.Z,{className:"h-4 w-4"})}),r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>q(f),children:r.jsx(b.Z,{className:"h-4 w-4"})})]})]}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Please copy this password and send it to ",t.email," manually. The user should change it on their first login."]})]})}),(0,r.jsxs)(m.cN,{children:[r.jsx(l.z,{variant:"outline",onClick:()=>{c(!1),C(""),k(!1)},children:"Cancel"}),r.jsx(l.z,{onClick:_,disabled:P,children:P?"Resetting...":"Reset Password"})]})]})})]})}var N=t(33261),k=t(37202);function P({user:e}){let[s,t]=(0,a.useState)(!1),[i,n]=(0,a.useState)(!1),[o,d]=(0,a.useState)(null),{toast:c}=(0,g.pm)(),{user:h}=(0,a.useContext)(v.S),[x]=(0,u.D)(p.Pe,{refetchQueries:[p.fo,"GetUsers"]}),f=!!e.super_admin,j=h?.id===e.id,y=async()=>{if(null!==o){n(!0);try{await x({variables:{id:e.id,super_admin:o}}),t(!1),d(null),c({title:o?"Super Admin Enabled":"Super Admin Disabled",description:`Super admin access has been ${o?"granted to":"removed from"} ${e.email}.`})}catch(e){c({title:"Error",description:e.message||"Failed to update super admin status.",variant:"destructive"})}finally{n(!1)}}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[r.jsx(N.r,{checked:f,onCheckedChange:e=>{if(j&&f&&!e){c({title:"Cannot Disable Own Super Admin Rights",description:"You cannot disable your own super admin privileges for security reasons.",variant:"destructive"});return}d(e),t(!0)},disabled:i,className:"data-[state=checked]:bg-red-500 data-[state=checked]:border-red-500"}),r.jsx("span",{className:"text-sm text-muted-foreground",children:f?"Yes":"No"})]}),r.jsx(m.Vq,{open:s,onOpenChange:t,children:(0,r.jsxs)(m.cZ,{className:"sm:max-w-[475px]",children:[(0,r.jsxs)(m.fK,{children:[(0,r.jsxs)(m.$N,{children:[o?"Grant":"Remove"," Super Admin Access"]}),(0,r.jsxs)(m.Be,{children:[o?`Are you sure you want to grant super admin access to ${e.email}? This will give them full administrative privileges.`:`Are you sure you want to remove super admin access from ${e.email}? They will lose all administrative privileges.`,!o&&(0,r.jsxs)("div",{className:"mt-3 p-3 bg-amber-50 border border-amber-200 rounded-md flex items-start gap-2",children:[r.jsx(k.Z,{className:"h-4 w-4 text-amber-600 mt-0.5 flex-shrink-0"}),(0,r.jsxs)("p",{className:"text-sm text-amber-800",children:[r.jsx("strong",{children:"Warning:"})," Ensure you are not removing super admin access from the last super administrator. This could prevent anyone from managing users and system settings and requiring a technical support intervention to set the super admin status again via the database."]})]})]})]}),(0,r.jsxs)(m.cN,{children:[r.jsx(l.z,{variant:"outline",onClick:()=>{t(!1),d(null)},children:"Cancel"}),r.jsx(l.z,{onClick:y,disabled:i,variant:o?"destructive":"default",className:o?"bg-red-500 hover:bg-red-600":"",children:i?"Updating...":"Confirm"})]})]})})]})}var S=t(63064);let z=(e,s)=>[{id:"select",header:({table:e})=>r.jsx(i.X,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:s=>e.toggleAllPageRowsSelected(!!s),"aria-label":"Select all",className:"translate-y-[2px]"}),cell:({row:e})=>r.jsx(i.X,{checked:e.getIsSelected(),onCheckedChange:s=>e.toggleSelected(!!s),"aria-label":"Select row",className:"translate-y-[2px]"}),enableSorting:!1,enableHiding:!1},{accessorKey:"email",header:({column:e})=>r.jsx(c,{column:e,title:"Email"}),cell:({row:e})=>r.jsx("div",{className:"flex space-x-2",children:r.jsx("span",{className:"max-w-[300px] truncate font-medium",children:e.original.email})})},{accessorKey:"role",header:({column:e})=>r.jsx(c,{column:e,title:"Role"}),cell:({row:e})=>r.jsx("div",{className:"gap-x-2 flex",children:r.jsx(S.u,{value:e.original.role,onChange:t=>{window.confirm("Are you sure you want to update the role for this user?")&&s(e.original,t)}})}),filterFn:(e,s,t)=>t.includes(e.getValue(s))},{accessorKey:"status",header:({column:e})=>r.jsx(c,{column:e,title:"Status"}),cell:({row:e})=>r.jsx("div",{className:"flex w-[100px] items-center",children:e.original.emailVerified?r.jsx("p",{className:"text-primary",children:"verified"}):r.jsx("p",{className:"text-orange-400",children:"pending"})}),filterFn:(e,s,t)=>t.includes(e.getValue(s))},...e?.super_admin?[{accessorKey:"super_admin",header:({column:e})=>r.jsx(c,{column:e,title:"Super Admin"}),cell:({row:e})=>r.jsx(P,{user:e.original}),enableSorting:!1}]:[],{id:"actions",cell:({row:e})=>r.jsx(C,{row:e})}];var R=t(39167),E=t(86508),M=t(11798),_=t(98091),q=t(35047),A=t(79313);function I({table:e}){return(0,r.jsxs)(o.h_,{children:[r.jsx(A.$F,{asChild:!0,children:(0,r.jsxs)(l.z,{variant:"outline",size:"sm",className:"ml-auto hidden h-8 lg:flex",children:[r.jsx(n.hsZ,{className:"mr-2 size-4"}),"View"]})}),(0,r.jsxs)(o.AW,{align:"end",className:"w-[150px]",children:[r.jsx(o.Ju,{children:"Toggle columns"}),r.jsx(o.VD,{}),e.getAllColumns().filter(e=>void 0!==e.accessorFn&&e.getCanHide()).map(e=>r.jsx(o.bO,{className:"capitalize",checked:e.getIsVisible(),onCheckedChange:s=>e.toggleVisibility(!!s),children:e.id},e.id))]})]})}var Z=t(37859),D=t(15940),F=t(30463);function V({isOpen:e,onClose:s}){let{user:t}=(0,a.useContext)(v.S),i=(0,a.useContext)(F.E),{toast:n}=(0,g.pm)(),[o,d]=(0,a.useState)("email"),[c,f]=(0,a.useState)(""),[j,C]=(0,a.useState)(""),[N,k]=(0,a.useState)(!1),[P,S]=(0,a.useState)(!1),[z]=(0,u.D)(p.qK,{refetchQueries:[p.fo,"GetUsers"]}),R=()=>{let e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*",s="";for(let t=0;t<12;t++)s+=e.charAt(Math.floor(Math.random()*e.length));return s},E=async()=>{if(!c.trim()){n({title:"Error",description:"Please enter an email address",variant:"destructive"});return}if(!c.includes("@")){n({title:"Error",description:"Please enter a valid email address",variant:"destructive"});return}i?.auth_mode==="password"?(C(R()),d("password")):(await z({variables:{email:c.trim(),password:j,type:"user",emailVerified:new Date}}),n({title:"User created",description:`User ${c} has been created successfully.`}),_())},M=async()=>{S(!0);try{await z({variables:{email:c.trim(),password:j}}),n({title:"User created",description:`User ${c} has been created with a temporary password.`}),_()}catch(e){console.error("Error creating user:",e),n({title:"Error",description:"Failed to create user. Please try again.",variant:"destructive"})}finally{S(!1)}},_=()=>{d("email"),f(""),C(""),k(!1),S(!1),s()},q=async e=>{try{await navigator.clipboard.writeText(e),n({title:"Copied",description:"Password copied to clipboard"})}catch(e){n({title:"Error",description:"Failed to copy to clipboard",variant:"destructive"})}};return t?.super_admin?r.jsx(m.Vq,{open:e,onOpenChange:_,children:(0,r.jsxs)(m.cZ,{className:"max-w-md",children:[(0,r.jsxs)(m.fK,{children:[r.jsx(m.$N,{children:"email"===o?"Add New User":"Generated Password"}),r.jsx(m.Be,{children:"email"===o?"Enter the email address for the new user.":"A temporary password has been generated. Copy and send it to the user manually."})]}),"email"===o&&r.jsx("div",{className:"space-y-4",children:(0,r.jsxs)("div",{children:[r.jsx(x._,{htmlFor:"email",children:"Email Address"}),r.jsx(h.I,{id:"email",type:"email",value:c,onChange:e=>f(e.target.value),placeholder:"user@example.com",className:"mt-1",autoFocus:!0})]})}),"password"===o&&r.jsx("div",{className:"space-y-4",children:(0,r.jsxs)("div",{children:[r.jsx(x._,{htmlFor:"password",children:"Temporary Password"}),(0,r.jsxs)("div",{className:"relative mt-1",children:[r.jsx(h.I,{id:"password",type:N?"text":"password",value:j,readOnly:!0,className:"pr-20"}),(0,r.jsxs)("div",{className:"absolute right-1 top-1/2 -translate-y-1/2 flex gap-1",children:[r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>k(!N),children:N?r.jsx(y.Z,{className:"h-4 w-4"}):r.jsx(w.Z,{className:"h-4 w-4"})}),r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>q(j),children:r.jsx(b.Z,{className:"h-4 w-4"})})]})]}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Please copy this password and send it to ",c," manually. The user should change it on their first login."]})]})}),(0,r.jsxs)(m.cN,{children:[r.jsx(l.z,{variant:"outline",onClick:_,children:"Cancel"}),"email"===o&&r.jsx(l.z,{onClick:E,disabled:P,children:i?.auth_mode==="password"?"Continue":"Add User"}),"password"===o&&r.jsx(l.z,{onClick:M,disabled:P,children:P?"Creating...":"Create User"})]})]})}):null}var G=t(83855);function U({columns:e}){let s,t;let{toast:i}=(0,g.pm)(),o=(0,q.useRouter)(),{user:d}=a.useContext(v.S),[c,m]=a.useState({}),[x,f]=a.useState({}),[j,y]=a.useState([]),[w,b]=a.useState(!1),[C,N]=(0,a.useState)([]),[k,P]=(0,a.useState)(1),[S,z]=a.useState([]),{loading:A,error:F,data:U,refetch:T,previousData:O}=(0,R.aM)(p.fo,{fetchPolicy:"no-cache",nextFetchPolicy:"network-only",variables:{page:k,limit:10,sort:{field:"createdAt",direction:"DESC"},filters:[...C,{type:{ne:"api"}}]},pollInterval:3e4}),$=a.useMemo(()=>[],[]),{limit:W,onPaginationChange:X,skip:H,pagination:K}=function(){let[e,s]=(0,a.useState)({pageSize:5,pageIndex:0}),{pageSize:t,pageIndex:r}=e;return{limit:t,onPaginationChange:s,pagination:e,skip:t*r}}(),[L,B]=(0,u.D)(p.eY,{refetchQueries:[p.fo,"GetUsers"]});A&&O?.usersPagination?.items?(s=O?.usersPagination?.items,t=O?.usersPagination?.pageInfo?.pageCount):U?.usersPagination?.items?(s=U?.usersPagination?.items,t=U?.usersPagination?.pageInfo?.pageCount):O?.usersPagination?.items&&(s=O?.usersPagination?.items,t=O?.usersPagination?.pageInfo?.pageCount);let Q=(0,E.b7)({data:s??$,pageCount:t??-1,columns:e,state:{sorting:S,columnVisibility:x,rowSelection:c,columnFilters:j},enableRowSelection:!0,onRowSelectionChange:m,onSortingChange:z,onColumnFiltersChange:y,onColumnVisibilityChange:f,getCoreRowModel:(0,M.sC)(),getFilteredRowModel:(0,M.vL)(),getPaginationRowModel:(0,M.G_)(),getSortedRowModel:(0,M.tj)(),getFacetedRowModel:(0,M.o6)(),getFacetedUniqueValues:(0,M.JG)(),manualPagination:!0,onPaginationChange:X}),Y=e=>{let s=[...C],t=s.find(e=>e.email);t?.email?t.email.contains=e:s.push({email:{contains:e}}),N(s),T()},J=C.length>0;return(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex flex-1 items-center space-x-2",children:[r.jsx(h.I,{placeholder:"Filter users...",value:C?.find(e=>e.email)?.email?.contains??"",onChange:e=>{Y(e.target.value)},className:"w-[150px] lg:w-[250px]"}),r.jsx(l.z,{variant:"outline",onClick:()=>{o.push("/roles")},children:"Manage roles"}),d?.super_admin&&(0,r.jsxs)(l.z,{onClick:()=>b(!0),className:"flex items-center gap-2",children:[r.jsx(G.Z,{className:"size-4"}),"Add User"]}),Q.getIsSomeRowsSelected()||Q.getIsAllRowsSelected()?r.jsx("div",{className:"flex gap-x-2",children:(0,r.jsxs)(l.z,{onClick:()=>{if(!window.confirm("Are you sure you want to remove the selected users?"))return;let e=[];Q.getSelectedRowModel().rows.forEach(s=>{e.push(L({variables:{id:s.original.id}}))}),Promise.all(e).then(()=>{Q.resetRowSelection(),i({title:"Removed users",description:"We removed "+e.length+" users."})})},variant:"secondary",disabled:B.loading,children:[B.loading?r.jsx(Z.g,{}):r.jsx(_.Z,{className:"size-4"}),r.jsx("span",{className:"ml-2",children:"Remove selected"})]})}):null,J&&(0,r.jsxs)(l.z,{variant:"ghost",onClick:()=>{let e=[...C],s=e.find(e=>e.email);s&&e.splice(e.indexOf(s),1),N(e),T()},children:["Reset",r.jsx(n.Pxu,{className:"ml-2 size-4"})]})]}),r.jsx(I,{table:Q})]}),r.jsx("div",{className:"rounded-md border",children:(0,r.jsxs)(D.iA,{children:[r.jsx(D.xD,{children:Q.getHeaderGroups().map(e=>r.jsx(D.SC,{children:e.headers.map(e=>r.jsx(D.ss,{colSpan:e.colSpan,children:e.isPlaceholder?null:(0,E.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),r.jsx(D.RM,{children:Q.getRowModel().rows?.length?Q.getRowModel().rows.map(e=>r.jsx(D.SC,{"data-state":e.getIsSelected()&&"selected",children:e.getVisibleCells().map(e=>r.jsx(D.pj,{children:(0,E.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):r.jsx(D.SC,{children:r.jsx(D.pj,{colSpan:e.length,className:"h-24 text-center",children:"No results."})})})]})}),(0,r.jsxs)("div",{className:"flex items-center justify-between px-2",children:[(0,r.jsxs)("div",{className:"text-muted-foreground flex-1 text-sm",children:[Q.getFilteredSelectedRowModel().rows.length," of"," ",Q.getFilteredRowModel().rows.length," row(s) selected."]}),(0,r.jsxs)("div",{className:"flex items-center space-x-6 lg:space-x-8",children:[(0,r.jsxs)("div",{className:"flex w-[100px] items-center justify-center text-sm font-medium",children:["Page ",k," of ",Q.getPageCount()]}),(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsxs)(l.z,{variant:"outline",className:"hidden size-8 p-0 lg:flex",onClick:()=>{Q.setPageIndex(0),P(1),T()},disabled:!U?.usersPagination?.pageInfo.hasPreviousPage,children:[r.jsx("span",{className:"sr-only",children:"Go to first page"}),r.jsx(n.kRt,{className:"size-4"})]}),(0,r.jsxs)(l.z,{variant:"outline",className:"size-8 p-0",onClick:()=>{Q.previousPage(),P(k-1),T()},disabled:!U?.usersPagination?.pageInfo.hasPreviousPage,children:[r.jsx("span",{className:"sr-only",children:"Go to previous page"}),r.jsx(n.wyc,{className:"size-4"})]}),(0,r.jsxs)(l.z,{variant:"outline",className:"size-8 p-0",onClick:()=>{Q.nextPage(),P(k+1),T()},disabled:!U?.usersPagination?.pageInfo.hasNextPage,children:[r.jsx("span",{className:"sr-only",children:"Go to next page"}),r.jsx(n.XCv,{className:"size-4"})]}),(0,r.jsxs)(l.z,{variant:"outline",className:"hidden size-8 p-0 lg:flex",onClick:()=>{P(Q.getPageCount()),T()},disabled:!U?.usersPagination?.pageInfo.hasNextPage,children:[r.jsx("span",{className:"sr-only",children:"Go to last page"}),r.jsx(n.yr4,{className:"size-4"})]})]})]})]}),r.jsx(V,{isOpen:w,onClose:()=>b(!1)})]})}let T="force-dynamic";function O(){let{user:e}=(0,a.useContext)(v.S),s=z(e,(e,s)=>{console.log("user",e),console.log("role",s),t({variables:{id:e.id,role:s}})}),[t,i]=(0,u.D)(p.Pe,{refetchQueries:[p.fo,"GetUsers"]});return r.jsx(r.Fragment,{children:(0,r.jsxs)("div",{className:"hidden h-full flex-1 flex-col space-y-8 p-8 md:flex",children:[r.jsx("div",{className:"flex items-center justify-between space-y-2",children:(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"text-2xl font-bold tracking-tight",children:"Users"}),r.jsx("p",{className:"text-muted-foreground",children:"Here's a list of all the users."})]})}),r.jsx(U,{columns:s})]})})}},53313:(e,s,t)=>{"use strict";t.d(s,{X:()=>o});var r=t(10326),a=t(13635),i=t(32933),n=t(17577),l=t(77863);let o=n.forwardRef(({className:e,...s},t)=>r.jsx(a.fC,{ref:t,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...s,children:r.jsx(a.z$,{className:(0,l.cn)("flex items-center justify-center text-current"),children:r.jsx(i.Z,{className:"size-4"})})}));o.displayName=a.fC.displayName},31048:(e,s,t)=>{"use strict";t.d(s,{_:()=>d});var r=t(10326),a=t(34478),i=t(79360),n=t(17577),l=t(77863);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef(({className:e,...s},t)=>r.jsx(a.f,{ref:t,className:(0,l.cn)(o(),e),...s}));d.displayName=a.f.displayName},37859:(e,s,t)=>{"use strict";t.d(s,{g:()=>i});var r=t(10326),a=t(77863);let i=({className:e})=>(0,r.jsxs)("svg",{"aria-hidden":"true",role:"status",className:(0,a.cn)("inline w-4 h-4 text-white animate-spin fill-inherit",e),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",className:"fill-inherit opacity-20"}),r.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",className:"fill-inherit"})]})},33261:(e,s,t)=>{"use strict";t.d(s,{r:()=>l});var r=t(10326),a=t(41959),i=t(17577),n=t(77863);let l=i.forwardRef(({className:e,...s},t)=>r.jsx(a.fC,{className:(0,n.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...s,ref:t,children:r.jsx(a.bU,{className:(0,n.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));l.displayName=a.fC.displayName},37202:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(0,t(76557).Z)("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},91216:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(0,t(76557).Z)("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},12714:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(0,t(76557).Z)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},7049:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>i,dynamic:()=>a});var r=t(68570);let a=(0,r.createProxy)(String.raw`/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx#dynamic`),i=(0,r.createProxy)(String.raw`/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx#default`)},13635:(e,s,t)=>{"use strict";t.d(s,{fC:()=>w,z$:()=>C});var r=t(17577),a=t(48051),i=t(93095),n=t(82561),l=t(52067),o=t(53405),d=t(2566),c=t(9815),u=t(45226),p=t(10326),m="Checkbox",[h,x]=(0,i.b)(m),[g,f]=h(m);function j(e){let{__scopeCheckbox:s,checked:t,children:a,defaultChecked:i,disabled:n,form:o,name:d,onCheckedChange:c,required:u,value:h="on",internal_do_not_use_render:x}=e,[f,j]=(0,l.T)({prop:t,defaultProp:i??!1,onChange:c,caller:m}),[v,y]=r.useState(null),[w,b]=r.useState(null),C=r.useRef(!1),N=!v||!!o||!!v.closest("form"),k={checked:f,disabled:n,setChecked:j,control:v,setControl:y,name:d,form:o,value:h,hasConsumerStoppedPropagationRef:C,required:u,defaultChecked:!P(i)&&i,isFormControl:N,bubbleInput:w,setBubbleInput:b};return(0,p.jsx)(g,{scope:s,...k,children:"function"==typeof x?x(k):a})}var v="CheckboxTrigger",y=r.forwardRef(({__scopeCheckbox:e,onKeyDown:s,onClick:t,...i},l)=>{let{control:o,value:d,disabled:c,checked:m,required:h,setControl:x,setChecked:g,hasConsumerStoppedPropagationRef:j,isFormControl:y,bubbleInput:w}=f(v,e),b=(0,a.e)(l,x),C=r.useRef(m);return r.useEffect(()=>{let e=o?.form;if(e){let s=()=>g(C.current);return e.addEventListener("reset",s),()=>e.removeEventListener("reset",s)}},[o,g]),(0,p.jsx)(u.WV.button,{type:"button",role:"checkbox","aria-checked":P(m)?"mixed":m,"aria-required":h,"data-state":S(m),"data-disabled":c?"":void 0,disabled:c,value:d,...i,ref:b,onKeyDown:(0,n.M)(s,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,n.M)(t,e=>{g(e=>!!P(e)||!e),w&&y&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})})});y.displayName=v;var w=r.forwardRef((e,s)=>{let{__scopeCheckbox:t,name:r,checked:a,defaultChecked:i,required:n,disabled:l,value:o,onCheckedChange:d,form:c,...u}=e;return(0,p.jsx)(j,{__scopeCheckbox:t,checked:a,defaultChecked:i,disabled:l,required:n,onCheckedChange:d,name:r,form:c,value:o,internal_do_not_use_render:({isFormControl:e})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{...u,ref:s,__scopeCheckbox:t}),e&&(0,p.jsx)(k,{__scopeCheckbox:t})]})})});w.displayName=m;var b="CheckboxIndicator",C=r.forwardRef((e,s)=>{let{__scopeCheckbox:t,forceMount:r,...a}=e,i=f(b,t);return(0,p.jsx)(c.z,{present:r||P(i.checked)||!0===i.checked,children:(0,p.jsx)(u.WV.span,{"data-state":S(i.checked),"data-disabled":i.disabled?"":void 0,...a,ref:s,style:{pointerEvents:"none",...e.style}})})});C.displayName=b;var N="CheckboxBubbleInput",k=r.forwardRef(({__scopeCheckbox:e,...s},t)=>{let{control:i,hasConsumerStoppedPropagationRef:n,checked:l,defaultChecked:c,required:m,disabled:h,name:x,value:g,form:j,bubbleInput:v,setBubbleInput:y}=f(N,e),w=(0,a.e)(t,y),b=(0,o.D)(l),C=(0,d.t)(i);r.useEffect(()=>{if(!v)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,s=!n.current;if(b!==l&&e){let t=new Event("click",{bubbles:s});v.indeterminate=P(l),e.call(v,!P(l)&&l),v.dispatchEvent(t)}},[v,b,l,n]);let k=r.useRef(!P(l)&&l);return(0,p.jsx)(u.WV.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??k.current,required:m,disabled:h,name:x,value:g,form:j,...s,tabIndex:-1,ref:w,style:{...s.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function P(e){return"indeterminate"===e}function S(e){return P(e)?"indeterminate":e?"checked":"unchecked"}k.displayName=N},34478:(e,s,t)=>{"use strict";t.d(s,{f:()=>l});var r=t(17577),a=t(45226),i=t(10326),n=r.forwardRef((e,s)=>(0,i.jsx)(a.WV.label,{...e,ref:s,onMouseDown:s=>{s.target.closest("button, input, select, textarea")||(e.onMouseDown?.(s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));n.displayName="Label";var l=n},41959:(e,s,t)=>{"use strict";t.d(s,{bU:()=>C,fC:()=>b});var r=t(17577),a=t(82561),i=t(48051),n=t(93095),l=t(52067),o=t(53405),d=t(2566),c=t(45226),u=t(10326),p="Switch",[m,h]=(0,n.b)(p),[x,g]=m(p),f=r.forwardRef((e,s)=>{let{__scopeSwitch:t,name:n,checked:o,defaultChecked:d,required:m,disabled:h,value:g="on",onCheckedChange:f,form:j,...v}=e,[b,C]=r.useState(null),N=(0,i.e)(s,e=>C(e)),k=r.useRef(!1),P=!b||j||!!b.closest("form"),[S,z]=(0,l.T)({prop:o,defaultProp:d??!1,onChange:f,caller:p});return(0,u.jsxs)(x,{scope:t,checked:S,disabled:h,children:[(0,u.jsx)(c.WV.button,{type:"button",role:"switch","aria-checked":S,"aria-required":m,"data-state":w(S),"data-disabled":h?"":void 0,disabled:h,value:g,...v,ref:N,onClick:(0,a.M)(e.onClick,e=>{z(e=>!e),P&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),P&&(0,u.jsx)(y,{control:b,bubbles:!k.current,name:n,value:g,checked:S,required:m,disabled:h,form:j,style:{transform:"translateX(-100%)"}})]})});f.displayName=p;var j="SwitchThumb",v=r.forwardRef((e,s)=>{let{__scopeSwitch:t,...r}=e,a=g(j,t);return(0,u.jsx)(c.WV.span,{"data-state":w(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:s})});v.displayName=j;var y=r.forwardRef(({__scopeSwitch:e,control:s,checked:t,bubbles:a=!0,...n},l)=>{let c=r.useRef(null),p=(0,i.e)(c,l),m=(0,o.D)(t),h=(0,d.t)(s);return r.useEffect(()=>{let e=c.current;if(!e)return;let s=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(m!==t&&s){let r=new Event("click",{bubbles:a});s.call(e,t),e.dispatchEvent(r)}},[m,t,a]),(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...n.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function w(e){return e?"checked":"unchecked"}y.displayName="SwitchBubbleInput";var b=f,C=v},53405:(e,s,t)=>{"use strict";t.d(s,{D:()=>a});var r=t(17577);function a(e){let s=r.useRef({value:e,previous:e});return r.useMemo(()=>(s.current.value!==e&&(s.current.previous=s.current.value,s.current.value=e),s.current.previous),[e])}}};var s=require("../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[9276,3543,9049,590,7598,931,6812,7141,6508,770,1051,7944,2270,9432],()=>t(3168));module.exports=r})();
|
|
1
|
+
(()=>{var e={};e.id=8441,e.ids=[8441],e.modules={57343:e=>{"use strict";e.exports=require("graphql")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},27790:e=>{"use strict";e.exports=require("assert")},78893:e=>{"use strict";e.exports=require("buffer")},61282:e=>{"use strict";e.exports=require("child_process")},84770:e=>{"use strict";e.exports=require("crypto")},80665:e=>{"use strict";e.exports=require("dns")},17702:e=>{"use strict";e.exports=require("events")},92048:e=>{"use strict";e.exports=require("fs")},32615:e=>{"use strict";e.exports=require("http")},35240:e=>{"use strict";e.exports=require("https")},98216:e=>{"use strict";e.exports=require("net")},19801:e=>{"use strict";e.exports=require("os")},55315:e=>{"use strict";e.exports=require("path")},86624:e=>{"use strict";e.exports=require("querystring")},76162:e=>{"use strict";e.exports=require("stream")},82452:e=>{"use strict";e.exports=require("tls")},17360:e=>{"use strict";e.exports=require("url")},21764:e=>{"use strict";e.exports=require("util")},71568:e=>{"use strict";e.exports=require("zlib")},8678:e=>{"use strict";e.exports=import("pg")},3168:(e,s,t)=>{"use strict";t.a(e,async(e,r)=>{try{t.r(s),t.d(s,{GlobalError:()=>o.a,__next_app__:()=>x,originalPathname:()=>h,pages:()=>m,routeModule:()=>g,tree:()=>p}),t(7049);var a=t(71197);t(35866);var i=t(23191),n=t(88716),l=t(37922),o=t.n(l),d=t(95231),c={};for(let e in d)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(c[e]=()=>d[e]);t.d(s,c);var u=e([a]);a=(u.then?(await u)():u)[0];let p=["",{children:["(application)",{children:["users",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,7049)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,71197)),"/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,35866,23)),"next/dist/client/components/not-found-error"]}]},{"not-found":[()=>Promise.resolve().then(t.t.bind(t,35866,23)),"next/dist/client/components/not-found-error"]}],m=["/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx"],h="/(application)/users/page",x={require:t,loadChunk:()=>Promise.resolve()},g=new i.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/(application)/users/page",pathname:"/users",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}});r()}catch(e){r(e)}})},95419:(e,s,t)=>{Promise.resolve().then(t.bind(t,3317))},3317:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>O,dynamic:()=>T});var r=t(10326),a=t(17577),i=t(53313),n=t(76812),l=t(90772),o=t(60097),d=t(77863);function c({column:e,title:s,className:t}){return e.getCanSort()?r.jsx("div",{className:(0,d.cn)("flex items-center space-x-2",t),children:(0,r.jsxs)(o.h_,{children:[r.jsx(o.$F,{asChild:!0,children:(0,r.jsxs)(l.z,{variant:"ghost",size:"sm",className:"-ml-3 h-8 data-[state=open]:bg-accent",children:[r.jsx("span",{children:s}),"desc"===e.getIsSorted()?r.jsx(n.veu,{className:"ml-2 size-4"}):"asc"===e.getIsSorted()?r.jsx(n.Hf3,{className:"ml-2 size-4"}):r.jsx(n.jnn,{className:"ml-2 size-4"})]})}),(0,r.jsxs)(o.AW,{align:"start",children:[(0,r.jsxs)(o.Xi,{onClick:()=>e.toggleSorting(!1),children:[r.jsx(n.Hf3,{className:"mr-2 size-3.5 text-muted-foreground/70"}),"Asc"]}),(0,r.jsxs)(o.Xi,{onClick:()=>e.toggleSorting(!0),children:[r.jsx(n.veu,{className:"mr-2 size-3.5 text-muted-foreground/70"}),"Desc"]}),r.jsx(o.VD,{}),(0,r.jsxs)(o.Xi,{onClick:()=>e.toggleVisibility(!1),children:[r.jsx(n.L52,{className:"mr-2 size-3.5 text-muted-foreground/70"}),"Hide"]})]})]})}):r.jsx("div",{className:(0,d.cn)(t),children:s})}var u=t(18753),p=t(42270),m=t(62288),h=t(54432),x=t(31048),g=t(34789),f=t(770);let j=f.Ry({id:f.Rx(),email:f.Z_(),emailVerified:f.Z_().nullable().optional(),roles:f.IX(f.Ry({id:f.Z_(),role:f.Z_()})).nullable().optional()});var v=t(15211),y=t(91216),w=t(12714),b=t(43810);function C({row:e}){let{user:s}=(0,a.useContext)(v.S),t=j.parse(e.original),{toast:i}=(0,g.pm)(),[d,c]=(0,a.useState)(!1),[f,C]=(0,a.useState)(""),[N,k]=(0,a.useState)(!1),[P,S]=(0,a.useState)(!1),[z,R]=(0,u.D)(p.eY,{refetchQueries:[p.fo,"GetUsers"]}),[E]=(0,u.D)(p.ui,{refetchQueries:[p.fo,"GetUsers"]}),M=()=>{let e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*",s="";for(let t=0;t<12;t++)s+=e.charAt(Math.floor(Math.random()*e.length));return s},_=async()=>{S(!0);try{await E({variables:{id:t.id,password:f}}),i({title:"Password reset",description:`Password has been reset for ${t.email}.`}),c(!1),C(""),k(!1)}catch(e){console.error("Error resetting password:",e),i({title:"Error",description:"Failed to reset password. Please try again.",variant:"destructive"})}finally{S(!1)}},q=async e=>{try{await navigator.clipboard.writeText(e),i({title:"Copied",description:"Password copied to clipboard"})}catch(e){i({title:"Error",description:"Failed to copy to clipboard",variant:"destructive"})}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.h_,{children:[r.jsx(o.$F,{asChild:!0,children:(0,r.jsxs)(l.z,{variant:"ghost",className:"flex size-8 p-0 data-[state=open]:bg-muted",children:[r.jsx(n.nWS,{className:"size-4"}),r.jsx("span",{className:"sr-only",children:"Open menu"})]})}),(0,r.jsxs)(o.AW,{align:"end",className:"w-[160px]",children:[r.jsx(o.Xi,{onClick:()=>{C(M()),c(!0)},children:"Reset password"}),r.jsx(o.Xi,{onClick:()=>{if(s.id===t.id){i({title:"Cannot delete your own user",description:"You cannot delete your own user, that would be a bad idea."});return}window.confirm("Are you sure you want to delete this user?")&&(z({variables:{id:t.id}}),i({title:"Deleting user",description:"We deleted the user."}))},children:"Delete user"})]})]}),r.jsx(m.Vq,{open:d,onOpenChange:c,children:(0,r.jsxs)(m.cZ,{className:"max-w-md",children:[(0,r.jsxs)(m.fK,{children:[r.jsx(m.$N,{children:"Reset Password"}),(0,r.jsxs)(m.Be,{children:["A temporary password has been generated for ",t.email,". Copy and send it to the user manually."]})]}),r.jsx("div",{className:"space-y-4",children:(0,r.jsxs)("div",{children:[r.jsx(x._,{htmlFor:"password",children:"Temporary Password"}),(0,r.jsxs)("div",{className:"relative mt-1",children:[r.jsx(h.I,{id:"password",type:N?"text":"password",value:f,readOnly:!0,className:"pr-20"}),(0,r.jsxs)("div",{className:"absolute right-1 top-1/2 -translate-y-1/2 flex gap-1",children:[r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>k(!N),children:N?r.jsx(y.Z,{className:"h-4 w-4"}):r.jsx(w.Z,{className:"h-4 w-4"})}),r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>q(f),children:r.jsx(b.Z,{className:"h-4 w-4"})})]})]}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Please copy this password and send it to ",t.email," manually. The user should change it on their first login."]})]})}),(0,r.jsxs)(m.cN,{children:[r.jsx(l.z,{variant:"outline",onClick:()=>{c(!1),C(""),k(!1)},children:"Cancel"}),r.jsx(l.z,{onClick:_,disabled:P,children:P?"Resetting...":"Reset Password"})]})]})})]})}var N=t(33261),k=t(37202);function P({user:e}){let[s,t]=(0,a.useState)(!1),[i,n]=(0,a.useState)(!1),[o,d]=(0,a.useState)(null),{toast:c}=(0,g.pm)(),{user:h}=(0,a.useContext)(v.S),[x]=(0,u.D)(p.Pe,{refetchQueries:[p.fo,"GetUsers"]}),f=!!e.super_admin,j=h?.id===e.id,y=async()=>{if(null!==o){n(!0);try{await x({variables:{id:e.id,super_admin:o}}),t(!1),d(null),c({title:o?"Super Admin Enabled":"Super Admin Disabled",description:`Super admin access has been ${o?"granted to":"removed from"} ${e.email}.`})}catch(e){c({title:"Error",description:e.message||"Failed to update super admin status.",variant:"destructive"})}finally{n(!1)}}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[r.jsx(N.r,{checked:f,onCheckedChange:e=>{if(j&&f&&!e){c({title:"Cannot Disable Own Super Admin Rights",description:"You cannot disable your own super admin privileges for security reasons.",variant:"destructive"});return}d(e),t(!0)},disabled:i,className:"data-[state=checked]:bg-red-500 data-[state=checked]:border-red-500"}),r.jsx("span",{className:"text-sm text-muted-foreground",children:f?"Yes":"No"})]}),r.jsx(m.Vq,{open:s,onOpenChange:t,children:(0,r.jsxs)(m.cZ,{className:"sm:max-w-[475px]",children:[(0,r.jsxs)(m.fK,{children:[(0,r.jsxs)(m.$N,{children:[o?"Grant":"Remove"," Super Admin Access"]}),(0,r.jsxs)(m.Be,{children:[o?`Are you sure you want to grant super admin access to ${e.email}? This will give them full administrative privileges.`:`Are you sure you want to remove super admin access from ${e.email}? They will lose all administrative privileges.`,!o&&(0,r.jsxs)("div",{className:"mt-3 p-3 bg-amber-50 border border-amber-200 rounded-md flex items-start gap-2",children:[r.jsx(k.Z,{className:"h-4 w-4 text-amber-600 mt-0.5 flex-shrink-0"}),(0,r.jsxs)("p",{className:"text-sm text-amber-800",children:[r.jsx("strong",{children:"Warning:"})," Ensure you are not removing super admin access from the last super administrator. This could prevent anyone from managing users and system settings and requiring a technical support intervention to set the super admin status again via the database."]})]})]})]}),(0,r.jsxs)(m.cN,{children:[r.jsx(l.z,{variant:"outline",onClick:()=>{t(!1),d(null)},children:"Cancel"}),r.jsx(l.z,{onClick:y,disabled:i,variant:o?"destructive":"default",className:o?"bg-red-500 hover:bg-red-600":"",children:i?"Updating...":"Confirm"})]})]})})]})}var S=t(63064);let z=(e,s)=>[{id:"select",header:({table:e})=>r.jsx(i.X,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:s=>e.toggleAllPageRowsSelected(!!s),"aria-label":"Select all",className:"translate-y-[2px]"}),cell:({row:e})=>r.jsx(i.X,{checked:e.getIsSelected(),onCheckedChange:s=>e.toggleSelected(!!s),"aria-label":"Select row",className:"translate-y-[2px]"}),enableSorting:!1,enableHiding:!1},{accessorKey:"email",header:({column:e})=>r.jsx(c,{column:e,title:"Email"}),cell:({row:e})=>r.jsx("div",{className:"flex space-x-2",children:r.jsx("span",{className:"max-w-[300px] truncate font-medium",children:e.original.email})})},{accessorKey:"role",header:({column:e})=>r.jsx(c,{column:e,title:"Role"}),cell:({row:e})=>r.jsx("div",{className:"gap-x-2 flex",children:r.jsx(S.u,{value:e.original.role,onChange:t=>{window.confirm("Are you sure you want to update the role for this user?")&&s(e.original,t)}})}),filterFn:(e,s,t)=>t.includes(e.getValue(s))},{accessorKey:"status",header:({column:e})=>r.jsx(c,{column:e,title:"Status"}),cell:({row:e})=>r.jsx("div",{className:"flex w-[100px] items-center",children:e.original.emailVerified?r.jsx("p",{className:"text-primary",children:"verified"}):r.jsx("p",{className:"text-orange-400",children:"pending"})}),filterFn:(e,s,t)=>t.includes(e.getValue(s))},...e?.super_admin?[{accessorKey:"super_admin",header:({column:e})=>r.jsx(c,{column:e,title:"Super Admin"}),cell:({row:e})=>r.jsx(P,{user:e.original}),enableSorting:!1}]:[],{id:"actions",cell:({row:e})=>r.jsx(C,{row:e})}];var R=t(39167),E=t(86508),M=t(11798),_=t(98091),q=t(35047),A=t(79313);function I({table:e}){return(0,r.jsxs)(o.h_,{children:[r.jsx(A.$F,{asChild:!0,children:(0,r.jsxs)(l.z,{variant:"outline",size:"sm",className:"ml-auto hidden h-8 lg:flex",children:[r.jsx(n.hsZ,{className:"mr-2 size-4"}),"View"]})}),(0,r.jsxs)(o.AW,{align:"end",className:"w-[150px]",children:[r.jsx(o.Ju,{children:"Toggle columns"}),r.jsx(o.VD,{}),e.getAllColumns().filter(e=>void 0!==e.accessorFn&&e.getCanHide()).map(e=>r.jsx(o.bO,{className:"capitalize",checked:e.getIsVisible(),onCheckedChange:s=>e.toggleVisibility(!!s),children:e.id},e.id))]})]})}var Z=t(37859),D=t(15940),F=t(30463);function V({isOpen:e,onClose:s}){let{user:t}=(0,a.useContext)(v.S),i=(0,a.useContext)(F.E),{toast:n}=(0,g.pm)(),[o,d]=(0,a.useState)("email"),[c,f]=(0,a.useState)(""),[j,C]=(0,a.useState)(""),[N,k]=(0,a.useState)(!1),[P,S]=(0,a.useState)(!1),[z]=(0,u.D)(p.qK,{refetchQueries:[p.fo,"GetUsers"]}),R=()=>{let e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*",s="";for(let t=0;t<12;t++)s+=e.charAt(Math.floor(Math.random()*e.length));return s},E=async()=>{if(!c.trim()){n({title:"Error",description:"Please enter an email address",variant:"destructive"});return}if(!c.includes("@")){n({title:"Error",description:"Please enter a valid email address",variant:"destructive"});return}i?.auth_mode==="password"?(C(R()),d("password")):(await z({variables:{email:c.trim(),password:j,type:"user",emailVerified:new Date}}),n({title:"User created",description:`User ${c} has been created successfully.`}),_())},M=async()=>{S(!0);try{await z({variables:{email:c.trim(),password:j}}),n({title:"User created",description:`User ${c} has been created with a temporary password.`}),_()}catch(e){console.error("Error creating user:",e),n({title:"Error",description:"Failed to create user. Please try again.",variant:"destructive"})}finally{S(!1)}},_=()=>{d("email"),f(""),C(""),k(!1),S(!1),s()},q=async e=>{try{await navigator.clipboard.writeText(e),n({title:"Copied",description:"Password copied to clipboard"})}catch(e){n({title:"Error",description:"Failed to copy to clipboard",variant:"destructive"})}};return t?.super_admin?r.jsx(m.Vq,{open:e,onOpenChange:_,children:(0,r.jsxs)(m.cZ,{className:"max-w-md",children:[(0,r.jsxs)(m.fK,{children:[r.jsx(m.$N,{children:"email"===o?"Add New User":"Generated Password"}),r.jsx(m.Be,{children:"email"===o?"Enter the email address for the new user.":"A temporary password has been generated. Copy and send it to the user manually."})]}),"email"===o&&r.jsx("div",{className:"space-y-4",children:(0,r.jsxs)("div",{children:[r.jsx(x._,{htmlFor:"email",children:"Email Address"}),r.jsx(h.I,{id:"email",type:"email",value:c,onChange:e=>f(e.target.value),placeholder:"user@example.com",className:"mt-1",autoFocus:!0})]})}),"password"===o&&r.jsx("div",{className:"space-y-4",children:(0,r.jsxs)("div",{children:[r.jsx(x._,{htmlFor:"password",children:"Temporary Password"}),(0,r.jsxs)("div",{className:"relative mt-1",children:[r.jsx(h.I,{id:"password",type:N?"text":"password",value:j,readOnly:!0,className:"pr-20"}),(0,r.jsxs)("div",{className:"absolute right-1 top-1/2 -translate-y-1/2 flex gap-1",children:[r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>k(!N),children:N?r.jsx(y.Z,{className:"h-4 w-4"}):r.jsx(w.Z,{className:"h-4 w-4"})}),r.jsx(l.z,{type:"button",variant:"ghost",size:"sm",className:"h-8 w-8 p-0",onClick:()=>q(j),children:r.jsx(b.Z,{className:"h-4 w-4"})})]})]}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground mt-2",children:["Please copy this password and send it to ",c," manually. The user should change it on their first login."]})]})}),(0,r.jsxs)(m.cN,{children:[r.jsx(l.z,{variant:"outline",onClick:_,children:"Cancel"}),"email"===o&&r.jsx(l.z,{onClick:E,disabled:P,children:i?.auth_mode==="password"?"Continue":"Add User"}),"password"===o&&r.jsx(l.z,{onClick:M,disabled:P,children:P?"Creating...":"Create User"})]})]})}):null}var G=t(83855);function U({columns:e}){let s,t;let{toast:i}=(0,g.pm)(),o=(0,q.useRouter)(),{user:d}=a.useContext(v.S),[c,m]=a.useState({}),[x,f]=a.useState({}),[j,y]=a.useState([]),[w,b]=a.useState(!1),[C,N]=(0,a.useState)([]),[k,P]=(0,a.useState)(1),[S,z]=a.useState([]),{loading:A,error:F,data:U,refetch:T,previousData:O}=(0,R.aM)(p.fo,{fetchPolicy:"no-cache",nextFetchPolicy:"network-only",variables:{page:k,limit:10,sort:{field:"createdAt",direction:"DESC"},filters:[...C,{type:{ne:"api"}}]},pollInterval:3e4}),$=a.useMemo(()=>[],[]),{limit:W,onPaginationChange:X,skip:H,pagination:K}=function(){let[e,s]=(0,a.useState)({pageSize:5,pageIndex:0}),{pageSize:t,pageIndex:r}=e;return{limit:t,onPaginationChange:s,pagination:e,skip:t*r}}(),[L,B]=(0,u.D)(p.eY,{refetchQueries:[p.fo,"GetUsers"]});A&&O?.usersPagination?.items?(s=O?.usersPagination?.items,t=O?.usersPagination?.pageInfo?.pageCount):U?.usersPagination?.items?(s=U?.usersPagination?.items,t=U?.usersPagination?.pageInfo?.pageCount):O?.usersPagination?.items&&(s=O?.usersPagination?.items,t=O?.usersPagination?.pageInfo?.pageCount);let Q=(0,E.b7)({data:s??$,pageCount:t??-1,columns:e,state:{sorting:S,columnVisibility:x,rowSelection:c,columnFilters:j},enableRowSelection:!0,onRowSelectionChange:m,onSortingChange:z,onColumnFiltersChange:y,onColumnVisibilityChange:f,getCoreRowModel:(0,M.sC)(),getFilteredRowModel:(0,M.vL)(),getPaginationRowModel:(0,M.G_)(),getSortedRowModel:(0,M.tj)(),getFacetedRowModel:(0,M.o6)(),getFacetedUniqueValues:(0,M.JG)(),manualPagination:!0,onPaginationChange:X}),Y=e=>{let s=[...C],t=s.find(e=>e.email);t?.email?t.email.contains=e:s.push({email:{contains:e}}),N(s),T()},J=C.length>0;return(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex flex-1 items-center space-x-2",children:[r.jsx(h.I,{placeholder:"Filter users...",value:C?.find(e=>e.email)?.email?.contains??"",onChange:e=>{Y(e.target.value)},className:"w-[150px] lg:w-[250px]"}),r.jsx(l.z,{variant:"outline",onClick:()=>{o.push("/roles")},children:"Manage roles"}),d?.super_admin&&(0,r.jsxs)(l.z,{onClick:()=>b(!0),className:"flex items-center gap-2",children:[r.jsx(G.Z,{className:"size-4"}),"Add User"]}),Q.getIsSomeRowsSelected()||Q.getIsAllRowsSelected()?r.jsx("div",{className:"flex gap-x-2",children:(0,r.jsxs)(l.z,{onClick:()=>{if(!window.confirm("Are you sure you want to remove the selected users?"))return;let e=[];Q.getSelectedRowModel().rows.forEach(s=>{e.push(L({variables:{id:s.original.id}}))}),Promise.all(e).then(()=>{Q.resetRowSelection(),i({title:"Removed users",description:"We removed "+e.length+" users."})})},variant:"secondary",disabled:B.loading,children:[B.loading?r.jsx(Z.g,{}):r.jsx(_.Z,{className:"size-4"}),r.jsx("span",{className:"ml-2",children:"Remove selected"})]})}):null,J&&(0,r.jsxs)(l.z,{variant:"ghost",onClick:()=>{let e=[...C],s=e.find(e=>e.email);s&&e.splice(e.indexOf(s),1),N(e),T()},children:["Reset",r.jsx(n.Pxu,{className:"ml-2 size-4"})]})]}),r.jsx(I,{table:Q})]}),r.jsx("div",{className:"rounded-md border",children:(0,r.jsxs)(D.iA,{children:[r.jsx(D.xD,{children:Q.getHeaderGroups().map(e=>r.jsx(D.SC,{children:e.headers.map(e=>r.jsx(D.ss,{colSpan:e.colSpan,children:e.isPlaceholder?null:(0,E.ie)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),r.jsx(D.RM,{children:Q.getRowModel().rows?.length?Q.getRowModel().rows.map(e=>r.jsx(D.SC,{"data-state":e.getIsSelected()&&"selected",children:e.getVisibleCells().map(e=>r.jsx(D.pj,{children:(0,E.ie)(e.column.columnDef.cell,e.getContext())},e.id))},e.id)):r.jsx(D.SC,{children:r.jsx(D.pj,{colSpan:e.length,className:"h-24 text-center",children:"No results."})})})]})}),(0,r.jsxs)("div",{className:"flex items-center justify-between px-2",children:[(0,r.jsxs)("div",{className:"text-muted-foreground flex-1 text-sm",children:[Q.getFilteredSelectedRowModel().rows.length," of"," ",Q.getFilteredRowModel().rows.length," row(s) selected."]}),(0,r.jsxs)("div",{className:"flex items-center space-x-6 lg:space-x-8",children:[(0,r.jsxs)("div",{className:"flex w-[100px] items-center justify-center text-sm font-medium",children:["Page ",k," of ",Q.getPageCount()]}),(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsxs)(l.z,{variant:"outline",className:"hidden size-8 p-0 lg:flex",onClick:()=>{Q.setPageIndex(0),P(1),T()},disabled:!U?.usersPagination?.pageInfo.hasPreviousPage,children:[r.jsx("span",{className:"sr-only",children:"Go to first page"}),r.jsx(n.kRt,{className:"size-4"})]}),(0,r.jsxs)(l.z,{variant:"outline",className:"size-8 p-0",onClick:()=>{Q.previousPage(),P(k-1),T()},disabled:!U?.usersPagination?.pageInfo.hasPreviousPage,children:[r.jsx("span",{className:"sr-only",children:"Go to previous page"}),r.jsx(n.wyc,{className:"size-4"})]}),(0,r.jsxs)(l.z,{variant:"outline",className:"size-8 p-0",onClick:()=>{Q.nextPage(),P(k+1),T()},disabled:!U?.usersPagination?.pageInfo.hasNextPage,children:[r.jsx("span",{className:"sr-only",children:"Go to next page"}),r.jsx(n.XCv,{className:"size-4"})]}),(0,r.jsxs)(l.z,{variant:"outline",className:"hidden size-8 p-0 lg:flex",onClick:()=>{P(Q.getPageCount()),T()},disabled:!U?.usersPagination?.pageInfo.hasNextPage,children:[r.jsx("span",{className:"sr-only",children:"Go to last page"}),r.jsx(n.yr4,{className:"size-4"})]})]})]})]}),r.jsx(V,{isOpen:w,onClose:()=>b(!1)})]})}let T="force-dynamic";function O(){let{user:e}=(0,a.useContext)(v.S),s=z(e,(e,s)=>{console.log("user",e),console.log("role",s),t({variables:{id:e.id,role:s}})}),[t,i]=(0,u.D)(p.Pe,{refetchQueries:[p.fo,"GetUsers"]});return r.jsx(r.Fragment,{children:(0,r.jsxs)("div",{className:"hidden h-full flex-1 flex-col space-y-8 p-8 md:flex",children:[r.jsx("div",{className:"flex items-center justify-between space-y-2",children:(0,r.jsxs)("div",{children:[r.jsx("h2",{className:"text-2xl font-bold tracking-tight",children:"Users"}),r.jsx("p",{className:"text-muted-foreground",children:"Here's a list of all the users."})]})}),r.jsx(U,{columns:s})]})})}},53313:(e,s,t)=>{"use strict";t.d(s,{X:()=>o});var r=t(10326),a=t(13635),i=t(32933),n=t(17577),l=t(77863);let o=n.forwardRef(({className:e,...s},t)=>r.jsx(a.fC,{ref:t,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...s,children:r.jsx(a.z$,{className:(0,l.cn)("flex items-center justify-center text-current"),children:r.jsx(i.Z,{className:"size-4"})})}));o.displayName=a.fC.displayName},31048:(e,s,t)=>{"use strict";t.d(s,{_:()=>d});var r=t(10326),a=t(34478),i=t(79360),n=t(17577),l=t(77863);let o=(0,i.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=n.forwardRef(({className:e,...s},t)=>r.jsx(a.f,{ref:t,className:(0,l.cn)(o(),e),...s}));d.displayName=a.f.displayName},37859:(e,s,t)=>{"use strict";t.d(s,{g:()=>i});var r=t(10326),a=t(77863);let i=({className:e})=>(0,r.jsxs)("svg",{"aria-hidden":"true",role:"status",className:(0,a.cn)("inline w-4 h-4 text-white animate-spin fill-inherit",e),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",className:"fill-inherit opacity-20"}),r.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",className:"fill-inherit"})]})},33261:(e,s,t)=>{"use strict";t.d(s,{r:()=>l});var r=t(10326),a=t(41959),i=t(17577),n=t(77863);let l=i.forwardRef(({className:e,...s},t)=>r.jsx(a.fC,{className:(0,n.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...s,ref:t,children:r.jsx(a.bU,{className:(0,n.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));l.displayName=a.fC.displayName},37202:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(0,t(76557).Z)("AlertTriangle",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"c3ski4"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},91216:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(0,t(76557).Z)("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},12714:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(0,t(76557).Z)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},7049:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>i,dynamic:()=>a});var r=t(68570);let a=(0,r.createProxy)(String.raw`/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx#dynamic`),i=(0,r.createProxy)(String.raw`/home/runner/work/exulu-frontend/exulu-frontend/app/(application)/users/page.tsx#default`)},13635:(e,s,t)=>{"use strict";t.d(s,{fC:()=>w,z$:()=>C});var r=t(17577),a=t(48051),i=t(93095),n=t(82561),l=t(52067),o=t(53405),d=t(2566),c=t(9815),u=t(45226),p=t(10326),m="Checkbox",[h,x]=(0,i.b)(m),[g,f]=h(m);function j(e){let{__scopeCheckbox:s,checked:t,children:a,defaultChecked:i,disabled:n,form:o,name:d,onCheckedChange:c,required:u,value:h="on",internal_do_not_use_render:x}=e,[f,j]=(0,l.T)({prop:t,defaultProp:i??!1,onChange:c,caller:m}),[v,y]=r.useState(null),[w,b]=r.useState(null),C=r.useRef(!1),N=!v||!!o||!!v.closest("form"),k={checked:f,disabled:n,setChecked:j,control:v,setControl:y,name:d,form:o,value:h,hasConsumerStoppedPropagationRef:C,required:u,defaultChecked:!P(i)&&i,isFormControl:N,bubbleInput:w,setBubbleInput:b};return(0,p.jsx)(g,{scope:s,...k,children:"function"==typeof x?x(k):a})}var v="CheckboxTrigger",y=r.forwardRef(({__scopeCheckbox:e,onKeyDown:s,onClick:t,...i},l)=>{let{control:o,value:d,disabled:c,checked:m,required:h,setControl:x,setChecked:g,hasConsumerStoppedPropagationRef:j,isFormControl:y,bubbleInput:w}=f(v,e),b=(0,a.e)(l,x),C=r.useRef(m);return r.useEffect(()=>{let e=o?.form;if(e){let s=()=>g(C.current);return e.addEventListener("reset",s),()=>e.removeEventListener("reset",s)}},[o,g]),(0,p.jsx)(u.WV.button,{type:"button",role:"checkbox","aria-checked":P(m)?"mixed":m,"aria-required":h,"data-state":S(m),"data-disabled":c?"":void 0,disabled:c,value:d,...i,ref:b,onKeyDown:(0,n.M)(s,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,n.M)(t,e=>{g(e=>!!P(e)||!e),w&&y&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})})});y.displayName=v;var w=r.forwardRef((e,s)=>{let{__scopeCheckbox:t,name:r,checked:a,defaultChecked:i,required:n,disabled:l,value:o,onCheckedChange:d,form:c,...u}=e;return(0,p.jsx)(j,{__scopeCheckbox:t,checked:a,defaultChecked:i,disabled:l,required:n,onCheckedChange:d,name:r,form:c,value:o,internal_do_not_use_render:({isFormControl:e})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(y,{...u,ref:s,__scopeCheckbox:t}),e&&(0,p.jsx)(k,{__scopeCheckbox:t})]})})});w.displayName=m;var b="CheckboxIndicator",C=r.forwardRef((e,s)=>{let{__scopeCheckbox:t,forceMount:r,...a}=e,i=f(b,t);return(0,p.jsx)(c.z,{present:r||P(i.checked)||!0===i.checked,children:(0,p.jsx)(u.WV.span,{"data-state":S(i.checked),"data-disabled":i.disabled?"":void 0,...a,ref:s,style:{pointerEvents:"none",...e.style}})})});C.displayName=b;var N="CheckboxBubbleInput",k=r.forwardRef(({__scopeCheckbox:e,...s},t)=>{let{control:i,hasConsumerStoppedPropagationRef:n,checked:l,defaultChecked:c,required:m,disabled:h,name:x,value:g,form:j,bubbleInput:v,setBubbleInput:y}=f(N,e),w=(0,a.e)(t,y),b=(0,o.D)(l),C=(0,d.t)(i);r.useEffect(()=>{if(!v)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,s=!n.current;if(b!==l&&e){let t=new Event("click",{bubbles:s});v.indeterminate=P(l),e.call(v,!P(l)&&l),v.dispatchEvent(t)}},[v,b,l,n]);let k=r.useRef(!P(l)&&l);return(0,p.jsx)(u.WV.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??k.current,required:m,disabled:h,name:x,value:g,form:j,...s,tabIndex:-1,ref:w,style:{...s.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function P(e){return"indeterminate"===e}function S(e){return P(e)?"indeterminate":e?"checked":"unchecked"}k.displayName=N},34478:(e,s,t)=>{"use strict";t.d(s,{f:()=>l});var r=t(17577),a=t(45226),i=t(10326),n=r.forwardRef((e,s)=>(0,i.jsx)(a.WV.label,{...e,ref:s,onMouseDown:s=>{s.target.closest("button, input, select, textarea")||(e.onMouseDown?.(s),!s.defaultPrevented&&s.detail>1&&s.preventDefault())}}));n.displayName="Label";var l=n},41959:(e,s,t)=>{"use strict";t.d(s,{bU:()=>C,fC:()=>b});var r=t(17577),a=t(82561),i=t(48051),n=t(93095),l=t(52067),o=t(53405),d=t(2566),c=t(45226),u=t(10326),p="Switch",[m,h]=(0,n.b)(p),[x,g]=m(p),f=r.forwardRef((e,s)=>{let{__scopeSwitch:t,name:n,checked:o,defaultChecked:d,required:m,disabled:h,value:g="on",onCheckedChange:f,form:j,...v}=e,[b,C]=r.useState(null),N=(0,i.e)(s,e=>C(e)),k=r.useRef(!1),P=!b||j||!!b.closest("form"),[S,z]=(0,l.T)({prop:o,defaultProp:d??!1,onChange:f,caller:p});return(0,u.jsxs)(x,{scope:t,checked:S,disabled:h,children:[(0,u.jsx)(c.WV.button,{type:"button",role:"switch","aria-checked":S,"aria-required":m,"data-state":w(S),"data-disabled":h?"":void 0,disabled:h,value:g,...v,ref:N,onClick:(0,a.M)(e.onClick,e=>{z(e=>!e),P&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),P&&(0,u.jsx)(y,{control:b,bubbles:!k.current,name:n,value:g,checked:S,required:m,disabled:h,form:j,style:{transform:"translateX(-100%)"}})]})});f.displayName=p;var j="SwitchThumb",v=r.forwardRef((e,s)=>{let{__scopeSwitch:t,...r}=e,a=g(j,t);return(0,u.jsx)(c.WV.span,{"data-state":w(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:s})});v.displayName=j;var y=r.forwardRef(({__scopeSwitch:e,control:s,checked:t,bubbles:a=!0,...n},l)=>{let c=r.useRef(null),p=(0,i.e)(c,l),m=(0,o.D)(t),h=(0,d.t)(s);return r.useEffect(()=>{let e=c.current;if(!e)return;let s=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(m!==t&&s){let r=new Event("click",{bubbles:a});s.call(e,t),e.dispatchEvent(r)}},[m,t,a]),(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:p,style:{...n.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function w(e){return e?"checked":"unchecked"}y.displayName="SwitchBubbleInput";var b=f,C=v},53405:(e,s,t)=>{"use strict";t.d(s,{D:()=>a});var r=t(17577);function a(e){let s=r.useRef({value:e,previous:e});return r.useMemo(()=>(s.current.value!==e&&(s.current.previous=s.current.value,s.current.value=e),s.current.previous),[e])}}};var s=require("../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[9276,3543,9049,590,8679,931,6812,7141,6508,770,1051,7944,2270,9432],()=>t(3168));module.exports=r})();
|